Commit graph

56472 commits

Author SHA1 Message Date
Timo Kreuzer de561c683e [PSDK]
winternl.h: Fix RtlLookupAtomInAtomTable prototype (should be sent to wine? not sure)

svn path=/trunk/; revision=62480
2014-03-11 22:48:04 +00:00
Timo Kreuzer c82b3ee66d [PSDK]
intsafe.h: fix a comment and 2 benign "typos"

svn path=/trunk/; revision=62479
2014-03-11 22:46:49 +00:00
Eric Kohl 15d43e5a94 [MSGINA]
Do not close the logon dialog if the user failed to log on.

svn path=/trunk/; revision=62478
2014-03-11 20:33:25 +00:00
Aleksey Bragin e6fb12f8ca [NTOS]
- Remove unneeded macro by David Welch in 2002 and me in 2003.

svn path=/trunk/; revision=62477
2014-03-11 18:46:32 +00:00
David Quintana 905eb2bdce [RSHELL]
* Workaround for the exec issue. Ros currently seems to send a bogus WM_ACTIVATE message when clicking while the window is already active. Proper fix may come later if I can figure out why this happens.

CORE-7586

svn path=/branches/shell-experiments/; revision=62475
2014-03-11 17:40:18 +00:00
Amine Khaldi 2c26c653a9 [SHELL32_APITEST]
* Plug some leaks. CIDs 1106362, 1106363 and 1106364.
CORE-7975

svn path=/trunk/; revision=62474
2014-03-11 13:06:09 +00:00
Ged Murphy 3bce7d16d7 [NTOSKRNL]
- Fix the buffer size check / set

svn path=/trunk/; revision=62473
2014-03-11 10:53:06 +00:00
David Quintana 683375abdb [RSHELL]
* Fix reusing the same toolbar when SetMenu is called multiple times.
* Avoid some null dereferences.

[BROWSEUI]
* Temporarily (?) disable the logo band.

The browser window's "coolbar" and menubar now display and work properly in both Windows and ReactOS.

CORE-7586

svn path=/branches/shell-experiments/; revision=62472
2014-03-11 10:42:25 +00:00
Pierre Schweitzer cb87e96df6 [FASTFAT]
Add support for more notifications on file modification.

CORE-2582

svn path=/trunk/; revision=62471
2014-03-11 07:22:28 +00:00
Christoph von Wittich 32cd2f8ced [comctl32]
rename TBSTYLE_EX_UNDOC1 to TBSTYLE_EX_VERTICAL

svn path=/trunk/; revision=62470
2014-03-11 05:09:14 +00:00
David Quintana 6f06c27374 [RSHELL]
* Give TrackPopupMenuEx the top-level window. Need to figure out how Windows does this, it probably does not simply use the top-level window that way.
* Give TrackPopupMenuEx better flags and a better exclude rect.
CORE-7586

svn path=/branches/shell-experiments/; revision=62469
2014-03-10 12:01:37 +00:00
Eric Kohl 0e9938326d [MSGINA]
Display warning messages if a user tries to log on using a non-existing account name, a wrong password or if the account was disabled.

svn path=/trunk/; revision=62468
2014-03-09 17:48:42 +00:00
Christoph von Wittich d9eab6f7d4 [usetup]
exit when no usable disks are found

svn path=/trunk/; revision=62467
2014-03-09 14:19:56 +00:00
Timo Kreuzer 7165a7c35b [PSEH3]
- Add AllocaFrame field to the exception registration record. It is required for Clang and C++ handlers.
- Fix the way how "nested functions" are emulated on Clang and C++, respecting the fact that the compiler can and will use a temporary esp-based stack frame below any alloca-allocations for function invocation. This uses the AllocaFrame field to calculate and setup a new temp stack frame for the "nested functions".
- Make use of the HandlerType field in the exception registration record to use different methods for invoking filters / finally functions.
- Write @_SEH3$_CallRtlUnwind@4 in raw asm instead of inline, because Clang cannot deal with stdcall decorations in inline asm (see http://llvm.org/bugs/show_bug.cgi?id=19027)
- Make sure ExceptionPointers are properly initialized in _SEH3$_except_handler

svn path=/trunk/; revision=62466
2014-03-09 13:55:26 +00:00
Timo Kreuzer 1ff93cb52e [WINE/TEST.H]
Add explicit casts, so that the header can be used from C++

svn path=/trunk/; revision=62465
2014-03-09 12:48:25 +00:00
Eric Kohl 88a9cdffba [MSGINA]
- Split DoLoginTasks into DoLoginTasks and CreateProfile, and fix all callers of DoLoginTasks accordingly.
- Make DoLoginTasks pass the SubStatus from MyLogonUser to its caller.
- Move the logon code from LoggedOutWindowProc to a new function DoLogon and add some experimental code to report logon errors to the user (still WIP).

svn path=/trunk/; revision=62464
2014-03-08 22:13:19 +00:00
Eric Kohl e4fbb93e96 [LSALIB]
LsaLogonUser: Pass the SubStatus to the caller before leaving the function in case of an error.

svn path=/trunk/; revision=62463
2014-03-08 21:12:07 +00:00
Timo Kreuzer 315180ba07 [PSEH3]
Add a bit more code to support Clang and C++.

svn path=/trunk/; revision=62462
2014-03-08 18:57:45 +00:00
Hermès Bélusca-Maïto 9602dba13e [CONSRV]: Fix menu ids for not clashing with user-defined ones.
svn path=/trunk/; revision=62461
2014-03-08 16:44:04 +00:00
Hermès Bélusca-Maïto a0c9db7610 [KERNEL32][CONSRV]
Make kernel32 / winsrv console CSR structures Win2k3-compliant.
The aim is to be able to put our kernel32.dll or winsrv.dll on win2k3, and vice-versa.

Most of the changes consist in:
- adding a HANDLE ConsoleHandle; to the structures, representing the console handle of the current application;
- reorganizing the order of the members in the different structures;
- few structures need to hold a event handle because it appears that some APIs create a event handle to perform some sort of synchronization with the console server (this is totally unused at the moment).
- Since CsrClientCallServer returns the value of ApiMessage.Status, then just use ApiMessage.Status instead of declaring another Status variable for querying the return value of CsrClientCallServer.

Part 1/X

Aside:
The VerifyConsoleIoHandle winetest problem is solved here (see CORE-7941 for more details).
CORE-7941 #resolved #comment Fixed in revision 62460, thanks :)

CORE-7931

svn path=/trunk/; revision=62460
2014-03-08 15:31:05 +00:00
Timo Kreuzer 7647ccfb92 [PSEH3]
Move the generation of the nested filter function to a different location 

svn path=/trunk/; revision=62459
2014-03-08 12:38:12 +00:00
Timo Kreuzer c2f825a0fe [PSEH3]
Enforce the use of a frame pointer in all functions that use PSEH, even when -fomit-frame-pointer option was specified. This way we don't need to explicitly tell PSEH with a global define, whether we have a frame pointer or not, which would also probably not have worked together with alloca().

svn path=/trunk/; revision=62458
2014-03-08 11:51:51 +00:00
Timo Kreuzer dc64b5bd63 [NPFS/NTOSKRNL]
Silence 2 more debug prints that are not so useful.

svn path=/trunk/; revision=62457
2014-03-08 11:37:03 +00:00
Timo Kreuzer 4ff9f64d52 [ACPI]
Silence some debug prints

svn path=/trunk/; revision=62456
2014-03-08 11:28:21 +00:00
Pierre Schweitzer b4a3df8d3f [NTOSKRNL]
Integrate Timo's review:
- Fix pointer arithmetic
- Remove unless variable

CORE-2582

svn path=/trunk/; revision=62455
2014-03-08 09:03:59 +00:00
Pierre Schweitzer ed057abe86 [VGAFONTEDIT]
- Fix CMake script (for PCH)

[IMAGESOFT]
- Fix CMake script (for PCH)

[GREEN]
- Add header guard
- Fix CMake script (for PCH)

This fixes rosapps build with RosBE 2.1.1

CORE-7716

svn path=/trunk/; revision=62454
2014-03-08 08:47:03 +00:00
David Quintana 2b06cdd40e [FILEBROWSER]
* Svn glitched out when applying a patch

svn path=/branches/shell-experiments/; revision=62450
2014-03-07 23:17:23 +00:00
David Quintana 51b0371f34 [EXPLORER]
* Rename the output to explorer_old

[EXPLORER-NEW]
* Rename the output to explorer
* Launch a browseui window when explorer is run with an existing shell process.

Shell-experiments will now be running the new shell by default.
This allows me to test the shell classes under more accurate conditions, so I was using it locally for a while.
I decided to commit because of two reasons:
1. It was making me temporarily revert some changes done to some files when I wanted to commit, and
2. It lets everyone see the results of the shell-experiments project without having to mess with the task manager.

Keep in mind that, as the branch name implies, it STILL is an experiment.

CORE-7586

svn path=/branches/shell-experiments/; revision=62449
2014-03-07 22:39:49 +00:00
David Quintana 2ca6b95aeb [BROWSEUI]
* Load and use rshell for the menubar.
* Properly forward WM_NOTIFY and WM_COMMAND messages to the toolbars.

[RSHELL]
* Improve behaviour of horizontal menubands.
* Clicking on submenu items does not work yet.

CORE-7586

svn path=/branches/shell-experiments/; revision=62448
2014-03-07 22:28:55 +00:00
Pierre Schweitzer 70dc7b586e [NOTSKRNL]
Fix Frenchism, spotted by Christoph

svn path=/trunk/; revision=62447
2014-03-07 21:51:11 +00:00
Pierre Schweitzer a101d80ab6 [FASTFAT]
Properly handle directories when notifying the kernel about creation.

This makes the MS test application fully passing on ReactOS.
You can find it at: http://msdn.microsoft.com/en-us/library/windows/desktop/aa365261%28v=vs.85%29.aspx

CORE-2582

svn path=/trunk/; revision=62446
2014-03-07 20:30:29 +00:00
Pierre Schweitzer 3d38a13543 [FASTFAT]
Add really limited support for file system notifications.
In case of file creation, we report this.

More cases are missing, such as: dir creation, attributes change, size change, last write change.
See: http://msdn.microsoft.com/en-us/library/windows/desktop/aa364417%28v=vs.85%29.aspx as a reference

CORE-2582

svn path=/trunk/; revision=62445
2014-03-07 19:46:37 +00:00
Pierre Schweitzer d315b7bb39 [FASTFAT]
- Implement VfatNotifyChangeDirectory which handles file system notifications registration
- Also add support to dispatch routine for not queuing IRPs when pending and not required
CORE-2582

svn path=/trunk/; revision=62444
2014-03-07 19:42:54 +00:00
Pierre Schweitzer 0ef03fcf25 [FASTFAT]
Add required fields to handle file system notifications to device extension/VCB and properly initialize them on volume mount

svn path=/trunk/; revision=62443
2014-03-07 19:38:35 +00:00
Pierre Schweitzer 623048035a [NTOSKRNL]
- Implement FsRtlNotifyFilterReportChange
- Implement FsRtlNotifyUpdateBuffer
- Implement FsRtlCancelNotify
- Implement FsRtlNotifyGetLastPartOffset
- Fix implementation of FsRtlNotifyFilterChangeDirectory

This finishes the implementation of file system notifications inside the kernel.
Data are properly returned to the caller on changes.

CORE-2582

svn path=/trunk/; revision=62442
2014-03-07 19:33:38 +00:00
David Quintana a8919a7a3b [NTUSER]
* Revert a change that removed too much. Unbreaks the "New..." menu, and anywhere else that required this, although the code feels like a workaround for a bug elsewhere.

svn path=/branches/shell-experiments/; revision=62436
2014-03-06 03:04:50 +00:00
Amine Khaldi ce66ff5056 [XINPUT1_3]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62434
2014-03-05 14:31:26 +00:00
David Quintana f3964379b1 [EXPLORER-NEW]
* I don't know what this may fix, but it was wrong. On the upside, now there's less spam in the log.

svn path=/branches/shell-experiments/; revision=62433
2014-03-05 13:57:02 +00:00
David Quintana 64c34d24fd [RSHELL]
* CMenuSite: Reworked the code to avoid SHIsSameObject, since newer versions of windows do not implement that function. The code should be equivalent, and does less unnecessary calls to QueryInterface.
CORE-7879

svn path=/branches/shell-experiments/; revision=62432
2014-03-05 13:14:51 +00:00
Amine Khaldi eb5a260b2e [WINMM]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62431
2014-03-05 12:46:34 +00:00
Amine Khaldi ec1dcd341e [USER32]
* Mark some APIs as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62430
2014-03-05 12:36:04 +00:00
David Quintana 7529c9897c [RSHELL]
* CMenuSFToolbar: Keep the m_shellFolder pointer in a CComPtr, so that it doesn't get deleted and possibly reused for something else.
CORE-7586

svn path=/branches/shell-experiments/; revision=62429
2014-03-05 12:34:30 +00:00
Amine Khaldi 1116c00fa2 [SHELL32]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62428
2014-03-05 12:12:05 +00:00
Amine Khaldi 19962054f9 [NTDLL]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62427
2014-03-05 12:06:28 +00:00
David Quintana 42bdf3b30f [COMCTL32]
* Make horizontal separators of vertical toolbars draw.
* Apply the same padding to separators as the rest of the buttons.
* Fixup some tabs into spaces, for consistency.
* Needs to be sent to wine.

svn path=/branches/shell-experiments/; revision=62426
2014-03-05 11:48:55 +00:00
Amine Khaldi 4e25055d91 [KERNEL32]
* Mark as hotpatchable.
CORE-7959

svn path=/trunk/; revision=62425
2014-03-05 11:45:39 +00:00
Amine Khaldi 41202d274f [CMAKE]
* User the proper target var name.
CORE-7959

svn path=/trunk/; revision=62424
2014-03-05 11:39:15 +00:00
Amine Khaldi 47ce544479 [WIN-ICONV]
* Import a library that provides iconv implementation using Win32 API.
[LIBXML2][LIBXSLT][MSXML3]
* Make use of this library to support Windows-1252 encoding.
* Fixes some failed msxml:domdoc tests.
CORE-6697

svn path=/trunk/; revision=62423
2014-03-05 10:42:27 +00:00
David Quintana 1cfa05918e [SHLWAPI]
* Fix the fix... better. Needs to be sent to Wine. Thanks Thomas.

svn path=/branches/shell-experiments/; revision=62422
2014-03-05 10:20:06 +00:00
David Quintana d77fcfc8c8 [SHLWAPI]
* Fix the right thing.

svn path=/branches/shell-experiments/; revision=62421
2014-03-05 09:48:32 +00:00