Commit graph

56445 commits

Author SHA1 Message Date
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
David Quintana 11e4273379 [SHLWAPI]
* SHInvokeDefaultCommand is supposed to invoke the DEFAULT command, so why was bInvokeDefault given FALSE?!

[RSHELL]
* A couple of trivial fixes.

[NTUSER/USER32]
* I missed two bits. See CORE-7966 for more info on the menu issue.

CORE-7586

svn path=/branches/shell-experiments/; revision=62420
2014-03-05 09:12:40 +00:00
Hermès Bélusca-Maïto 61d834485b [APITESTS:kernel32]
Be more specific about which last error we expect.

svn path=/trunk/; revision=62419
2014-03-05 01:53:46 +00:00
Jérôme Gardou 73100dd557 [VFATLIB]
- remove useless dependency to psdk

svn path=/trunk/; revision=62418
2014-03-04 21:28:25 +00:00
Amine Khaldi 2b1527a421 [FREETYPE]
* Update to version 2.5.2. Thanks to Robert Naumann for providing a patch that I used as a base for this.
[WIN32K]
* Update the FreeType header inclusions.
CORE-7719

svn path=/trunk/; revision=62417
2014-03-03 20:41:39 +00:00
David Quintana d1e5c6a2b9 [RSHELL]
* I was telling AddButton that all the items were the last, except the last. Now the submenus display properly. Some of them at least. Others get an exception, it seems.
CORE-7881

svn path=/branches/shell-experiments/; revision=62416
2014-03-03 17:55:43 +00:00
David Quintana d21bce9206 [NTUSER]
[USER32]
* Fix what I think is a wrong behaviour of storing MF_POPUP in the fType of the menu. Now it relies on hSubMenu being != NULL as an indicator of the presence of a submenu.
* Resource submenus are not supposed to get the hSubMenu as a wID, as far as I can tell.
* From the user point of view, it matches Windows better. Needs review and testing, as I don't know if I updated everything correctly.

svn path=/branches/shell-experiments/; revision=62415
2014-03-03 16:12:39 +00:00
David Quintana 7fe9315c7e [RSHELL]
* Improve logging in case of unexpected failures, and trace the creation of toolbar (menu) items.
CORE-7586

svn path=/branches/shell-experiments/; revision=62414
2014-03-03 16:11:47 +00:00
Eric Kohl 50c9a384f4 [ADVAPI32]
Implement the ANSI part of ion's half done patch from r59843. Fixes two more service bugs.

svn path=/trunk/; revision=62413
2014-03-03 15:44:44 +00:00
David Quintana 612d72cb58 [RSHELL]
* Move the copying back where it belongs. CMake may generate the dependencies the wrong way around (explorer-new should depend on rshell), but at least the copying works as expected, even if I always have to "build solution".
* Allow toggling between TBSTYLE_EX_VERTICAL and the manual TBSTATE_WRAP setting by (un)definiting TBSTYLE_EX_VERTICAL.
CORE-7881

svn path=/branches/shell-experiments/; revision=62412
2014-03-03 11:14:04 +00:00
David Quintana 9304a4e45f [RSHELL]
* Improve encapsulation of the CMenuToolbarBase by avoiding unnecessary usages of the window handle from the derived classes.
CORE-7881

svn path=/branches/shell-experiments/; revision=62411
2014-03-03 10:19:35 +00:00
James Tabor 6334f63dbc [WinSS]
- Fix activate modal dialog when clicking on a disabled window (part 2) without zorder support. Other than clicking the tool bar, it will help activate the popup and bring it to the top. Panic mode support.
- Adapt window from point to ignore disabled windows. Attempting to fill a code hole. See CORE-6651.

svn path=/trunk/; revision=62410
2014-03-03 06:38:45 +00:00
Eric Kohl 6e275a78d2 [SERVICES]
RSetServiceStatus:  Set the wait hint and check point only if the service is in a pending state, otherwise they should be 0.

svn path=/trunk/; revision=62408
2014-03-02 23:39:20 +00:00
James Tabor d0ba06e7f2 - Move code, this relates to CORE-6651.
svn path=/trunk/; revision=62405
2014-03-02 22:42:00 +00:00
James Tabor 53b9cb60dc - Code cleanup and update. Change trace to error for tracking.
svn path=/trunk/; revision=62404
2014-03-02 22:39:02 +00:00
Amine Khaldi 35bcabdf00 [CMAKE]
* Don't treat warnings like errors in the Clang build just yet.

svn path=/trunk/; revision=62403
2014-03-02 22:11:49 +00:00
Timo Kreuzer a12d2d5e6c [PSEH3]
Start factoring out compiler support for nested functions (neither CLANG not C++ support it, so we will add some other crazy hacks later ;-))

svn path=/trunk/; revision=62402
2014-03-02 22:04:15 +00:00
Amine Khaldi 2948ed43c5 [SHELL32]
* Comment out some unused variables.
* Remove some unused default debug channel declarations.

svn path=/trunk/; revision=62401
2014-03-02 21:45:44 +00:00
Amine Khaldi 665aba875f [PSDK]
* Fix a FIXME.. Actually, the LLVM/Clang folks did this ;)

svn path=/trunk/; revision=62400
2014-03-02 21:42:19 +00:00
Amine Khaldi cdcdc82cda [LIB/ATL]
* Who came up with this _declspec thing ? Was it you Arch ?

svn path=/trunk/; revision=62399
2014-03-02 21:40:58 +00:00
Amine Khaldi a82fcfc024 [SHELL32]
* Remove accidentally added line (you'll get this Drag and Drop fun later ;) ).

svn path=/trunk/; revision=62398
2014-03-02 21:35:18 +00:00
Amine Khaldi 4d03b99484 [PSDK][SHELL32]
* Fix ShellMessageBox{A,W} calling convention. Spotted by Clang.

svn path=/trunk/; revision=62397
2014-03-02 21:23:04 +00:00
Amine Khaldi 257374c12b [PSDK]
* Don't warn about ignored attributes in Clang build.

svn path=/trunk/; revision=62396
2014-03-02 21:18:32 +00:00
Amine Khaldi 0dd2f479dc [SHELL32]
* Remove what seems to be a useless source file. This variable is defined and used in shell32_main.cpp.

svn path=/trunk/; revision=62395
2014-03-02 21:04:20 +00:00
Amine Khaldi d4a5969c22 [CMAKE]
* Remove some unsupported warning from the Clang build.

svn path=/trunk/; revision=62394
2014-03-02 20:57:57 +00:00
Timo Kreuzer 9e835893d0 [PSEH3]
- Switch parameters in _SEH3$_RegisterFrame and _SEH3$_RegisterTryLevel (just for consistency)
- rename _SEH3$_RegisterTryLevel macro to _SEH3$_RegisterTryLevel_
- Add TryLevel and HandlerType fields to the scope table, since we'll need these later
- Start factoring out some Clang specific macros

svn path=/trunk/; revision=62393
2014-03-02 20:54:04 +00:00
Amine Khaldi cb992793ac [CMAKE]
* Add a Clang toolchain file. Only Windows build is tested ATM.

svn path=/trunk/; revision=62392
2014-03-02 20:51:42 +00:00
Amine Khaldi 4916e626c0 [CMAKE]
* Disable PCH in Clang builds. We'll inspect this later.

svn path=/trunk/; revision=62391
2014-03-02 20:47:34 +00:00