Commit graph

56288 commits

Author SHA1 Message Date
David Quintana 905ab8ebba [RSHELL]
* Take "DbgPrint" function from explorer-new.
* CMenuBand: Show placeholder if the band gets an empty IShellFolder. Added what I guess is a hack, to allow CMenuDeskBar to get the submenu popup from the band.
* CMenuDeskBar: Use WM_ACTIVATE and WM_ACTIVATEAPP to detect when the menu should be closed. Uses the hack above for the exception of showing a submenu.
CORE-7886

svn path=/branches/shell-experiments/; revision=62295
2014-02-22 22:59:28 +00:00
Amine Khaldi ddb3d908c9 * Sync up to trunk HEAD (r62285). Branch guys deserve the significant speedups too ;)
svn path=/branches/shell-experiments/; revision=62286
2014-02-22 10:31:26 +00:00
Hermès Bélusca-Maïto f71a826f2c [FONTVIEW]
Unescaped use of percent character in a format string causes percent glyph not to be displayed.
Patch by André Guibert de Bruet.
CORE-7934 #resolve #comment Fixed in revision 62281, thanks ;)

svn path=/trunk/; revision=62281
2014-02-21 15:49:06 +00:00
David Quintana 07467c9e06 [RSHELL]
* CMenuBand, CMenuDeskBar: Improve the SubMenu hierarchy and OnSelect flow. Now the menu will spread a FullCancel or Execute upwards and close the whole start menu.
CORE-7881

svn path=/branches/shell-experiments/; revision=62280
2014-02-21 10:00:00 +00:00
Timo Kreuzer d996e6a34d [NTOSKRNL]
Improve some DPRINTs

svn path=/trunk/; revision=62276
2014-02-20 23:05:06 +00:00
Timo Kreuzer 9b07458c4d [NTOSKRNL]
Implement MmAdjustWorkingSetSize

svn path=/trunk/; revision=62275
2014-02-20 23:03:04 +00:00
Eric Kohl feedae2fff [MSGINA]
CORE-7559
Implement the shutdown dialog. Based on a patch by Lee Schroeder. Thank you very much!

svn path=/trunk/; revision=62274
2014-02-20 22:00:30 +00:00
Timo Kreuzer 9e44277466 [AFD]
Fix potentially uninitialized variable.

svn path=/trunk/; revision=62273
2014-02-20 21:47:02 +00:00
Timo Kreuzer ca142ab065 [AfD]
In AfdBindSocket, open a usermode handle and return that to the caller, instead of returning the kernel mode handle.

svn path=/trunk/; revision=62272
2014-02-20 21:41:33 +00:00
Timo Kreuzer 130b0bd77f [HOST_TOOLS]
Move pecoff.h from the tools roto dir to the include/host

svn path=/trunk/; revision=62271
2014-02-20 21:20:47 +00:00
Timo Kreuzer 6b2e326be9 [NTDLL_APITEST]
Add a few more tests for NtAllocateVirtualMemory

svn path=/trunk/; revision=62270
2014-02-20 21:19:16 +00:00
Timo Kreuzer 86d2e8f543 [DLLEXPORT_TEST]
Add a test that checks the ability to link to function and data exports with cdecl, stdcall and c++ mangled names, including forwarders. It just prints "done". Feel free to convert it into a proper rostests, if you think it's required.

svn path=/trunk/; revision=62269
2014-02-20 20:29:51 +00:00
Timo Kreuzer fe029c9c69 [PSEH2_TEST]
Add another test for non-volatile values. Note that PSEH does NOT work like real SEH here, but this is expected and can not be fixed without special compiler support. Do NEVER DO this kind of stuff inside SEH blocks! Use volatile variables in this case.

svn path=/trunk/; revision=62268
2014-02-20 20:20:26 +00:00
Hermès Bélusca-Maïto 6ca8f89b8b [KERNEL32]
Revert r62264.
Reason: all APIs set the last error when a CSR* call doesn't return STATUS_SUCCESS. If some winetests fail because of this, this is because we do not correctly do what's needed here (normally the TRUE or FALSE value is returned by the console server, and is not retrieved by a success or failure of a CSR call contrary to what's done here).

svn path=/trunk/; revision=62267
2014-02-20 20:17:53 +00:00
Thomas Faber 76d29a732a [CRT]
- Force the use of memory operands in bit test intrinsics. Bit offsets above 31 (or 63) can't behave correctly with registers (the constant case is fine because it ensures low offsets). Thanks to Timo Kreuzer and Alex Radocea.

svn path=/trunk/; revision=62266
2014-02-20 19:28:27 +00:00
Thomas Faber ef678077bf [KMTESTS]
- Disable Example test since it has intentional failures. Dedicated to Christoph

svn path=/trunk/; revision=62265
2014-02-20 19:26:24 +00:00
Christoph von Wittich 2dd48fec56 [kernel32]
don't set LastError in VerifyConsoleIoHandle

svn path=/trunk/; revision=62264
2014-02-20 19:15:54 +00:00
David Quintana 9f9be3f9bb [RSHELL]
* Improve the layout of the class definitions to make the important details easier to find.
* Rename private (non-COM) class methods to more appropriate names, including a prefix.
* CMenuBand: Make one submenu close before showing another one. This may not be happening in the same exact way windows does it.
CORE-7881

svn path=/branches/shell-experiments/; revision=62263
2014-02-20 16:18:49 +00:00
David Quintana b1290e6ab0 [RSHELL]
* CMenuBand: Implement rudimentary support for changing the hot item with the keyboard (up/down). The code can probable be simpler, and some corner cases need to be fixed, but it works.
* CMenuDeskBar: Attempt to redesign OnSelect to better match the windows behaviour, which is still mostly unknown.
* Make the log results more readable.
CORE-7881

svn path=/branches/shell-experiments/; revision=62262
2014-02-20 12:12:42 +00:00
Amine Khaldi 39d63d1624 [GETUNAME][TAPIUI]
* Add Albanian translation. By Ardit Dani, corrected by me.
CORE-7924 #resolve #comment Committed in r62261. Thanks !

svn path=/trunk/; revision=62261
2014-02-20 11:05:27 +00:00
Christoph von Wittich db6ca1c353 [kernel32]
sync TIME_CompTimeZoneID with wine 1.7.11

svn path=/trunk/; revision=62260
2014-02-19 21:01:25 +00:00
David Quintana e0d383ebd4 [RSHELL]
* CMenuDeskBar: Use the submenu pointer to pass on the cancel events. Windows appears to call this with code=2 (cancellevel).
* CMenuBand: Begin implementing a focus manager for the menu windows. This class will take care of handling mouse and keyboard interactions, including closing the start menu and submenus when the user clicks outside the menu window.
CORE-7881

svn path=/branches/shell-experiments/; revision=62259
2014-02-19 20:35:50 +00:00
Christoph von Wittich 1f1804bc91 [kernel32]
fix crash in kernel32_winetest volume

svn path=/trunk/; revision=62257
2014-02-19 19:44:05 +00:00
David Quintana b6207043c9 [RSHELL]
* Reduce a few more log differences with windows.
CORE-7586

svn path=/branches/shell-experiments/; revision=62254
2014-02-19 13:58:28 +00:00
David Quintana 3b21639530 [RSHELL]
* Improve the logging system to allow using the same logger for both windows classes and rshell classes.
* Add a wrapper for CMenuSite.
* CMenuDeskBar: Reduce the log differences by keeping a cached copy of the client HWND.
* CMenuBand: Reduce the log differences by keeping a copy of the top level HWND. Will be used later.
CORE-7586

svn path=/branches/shell-experiments/; revision=62253
2014-02-19 12:19:50 +00:00
David Quintana ea49280564 [RSHELL]
* Separate logger wrappers from the actual implementations.
* Fix some warnings.
CORE-7586

svn path=/branches/shell-experiments/; revision=62252
2014-02-19 00:20:45 +00:00
Jérôme Gardou 804255bd55 [HIVECLS]
- Add default application (iexplore) for html files.

svn path=/trunk/; revision=62251
2014-02-18 20:11:10 +00:00
Timo Kreuzer ab51c09946 [SPEC2DEF]
Don't make exports by ordinal NONAME automatically. Fixes a bunch of tests. Thanks to Amine for finding the problem in the first place.

svn path=/trunk/; revision=62250
2014-02-18 20:06:50 +00:00
Timo Kreuzer 7792a6513b [NTOSKRNL]
Fix returned symbolic links in IoGetDeviceInterfaces.

svn path=/trunk/; revision=62249
2014-02-18 19:53:48 +00:00
David Quintana f1281f1369 [RSHELL]
* Fix some more C-style casts, and misc coding style changes.
* CMenuBand: Create a skeleton of the functions that would handle SMIF_TRACKPOPUP submenus.
* CMenuDeskBar: Fix the redraw issue that prevented submenus from working as expected.
CORE-7886

svn path=/branches/shell-experiments/; revision=62248
2014-02-18 18:18:08 +00:00
Timo Kreuzer 9339f52e68 [NTOSKRNL]
Implement PspSetQuotaLimits and use it in NtSetInformationProcess

svn path=/trunk/; revision=62247
2014-02-18 18:12:30 +00:00
Timo Kreuzer 6a9cca1ef8 [NTOSKRNL]
Implement TokenOrigin case in NtSetInformationToken

svn path=/trunk/; revision=62246
2014-02-18 17:57:47 +00:00
Timo Kreuzer 5ebaa3c3dd [NTOSKRNL]
- Implement SeCheckAuditPrivilege and use it instead of SeSinglePrivilegeCheck, because the latter uses the effective token and we want the primary token
- Implement SePrivilegedServiceAuditAlarm
- Add and initialize missing SeLocalServiceSid and SeNetworkServiceSid

svn path=/trunk/; revision=62245
2014-02-18 17:51:45 +00:00
Timo Kreuzer ea1508451e [INTSAFE]
Fix a typo.

svn path=/trunk/; revision=62244
2014-02-18 16:58:18 +00:00
David Quintana 7c921822b4 [RSHELL]
* CMenuBand: Improve wrapper logging to get a better picture. Handle more SIDs on QueryService. Send selection messages on hot item changed and on execute.
* CMenuDeskBar: Improve wrapper logging to get a better picture. Handle more SIDs on QueryService. Begin handling more cases in OnSelect.
CORE-7881

svn path=/branches/shell-experiments/; revision=62243
2014-02-18 13:55:57 +00:00
David Quintana edfdf34624 [RSHELL]
* CMenuBand: Fix display of icons for the static toolbar.
* CMenuDeskBar: Fix positioning of the window not to cross the top edge.
CORE-7881

svn path=/branches/shell-experiments/; revision=62242
2014-02-18 11:17:37 +00:00
Amine Khaldi 8bc446901a [CMAKE]
* Set the default PCH value only if it's not already set.

svn path=/trunk/; revision=62241
2014-02-18 11:12:26 +00:00
David Quintana 662d8363c3 [RSHELL]
* CMenuBand: Fix submenu creation for shell folder menus.
CORE-7881

svn path=/branches/shell-experiments/; revision=62240
2014-02-18 11:05:20 +00:00
David Quintana 2b63295fea [RSHELL]
* Change C-style casts to static_cast where possible, and reinterpret_cast elsewhere.
* Make coding style and formatting more consistent.

svn path=/branches/shell-experiments/; revision=62239
2014-02-18 10:26:50 +00:00
Giannis Adamopoulos 46e9b4d1e3 [rshell]
- CStartMenu: add a test flag that makes the start menu show its submenus using SMIF_TRACKPOPUP in order to show how CMenuBand can use TrackPopupMenu 

svn path=/branches/shell-experiments/; revision=62238
2014-02-18 09:18:16 +00:00
Christoph von Wittich 9a2dc33fb5 [kernel32]
sync format_msg.c with wine 1.7.11

svn path=/trunk/; revision=62234
2014-02-17 21:51:48 +00:00
Christoph von Wittich d76955a546 [comctl32]
sync rebar to wine 1.7.11

svn path=/trunk/; revision=62233
2014-02-17 20:09:46 +00:00
David Quintana b42655951c [RSHELL]
* CMenuBand: Begin implementing submenus for shell items.
* CMenuBand: Begin implementing context menus.
CORE-7881

svn path=/branches/shell-experiments/; revision=62232
2014-02-17 18:38:31 +00:00
David Quintana d5f6a80f41 [RSHELL]
* CMenuBand: Improve the code structure.
 * Make the class selection better managed.
Thanks Giannis.
CORE-7881

svn path=/branches/shell-experiments/; revision=62231
2014-02-17 17:16:55 +00:00
Thomas Faber bb1fa1fd3c [SHELL32]
- Fix more casts and stack corruption

svn path=/trunk/; revision=62230
2014-02-17 17:01:37 +00:00
Thomas Faber ed736d630e [SHELL32]
- Fix some broken casts & stack corruption

svn path=/trunk/; revision=62229
2014-02-17 16:53:41 +00:00
David Quintana 3aaf437172 [RSHELL]
* CMenuBand: Implement PopupItem for static menus.
 * CMenuDeskBar: Initialize m_Banner.
 * CStartMenu: Create CSubMenu_Constructor function that creates submenus (needs a better name/location).
 * Misc. code style changes.
CORE-7881

svn path=/branches/shell-experiments/; revision=62228
2014-02-17 16:41:10 +00:00
David Quintana d28d1bb1df [RSHELL]
* CMenuDeskBar: Use the proper value for style in AdjustWindowRect.
* CMenuBand: Implement submenu hot-tracking timer. Not functional yet (submenu creation not implemented).
CORE-7881

svn path=/branches/shell-experiments/; revision=62227
2014-02-17 15:38:55 +00:00
David Quintana b71085bcc2 [RSHELL]
* CMenuBand: Handle WM_COMMAND and run SMC_EXEC for static menu items (Run, Shutdown).
CORE-7881

svn path=/branches/shell-experiments/; revision=62226
2014-02-17 11:20:35 +00:00
Giannis Adamopoulos d29f9dcfef [RSHELL]
- CMenuDeskBar: Implement showing a shadow. Implement closing the menu when it loses focus (this only works with the stock menu band for now)

svn path=/branches/shell-experiments/; revision=62225
2014-02-17 10:42:52 +00:00