Hermès Bélusca-Maïto [Mon, 22 Dec 2014 21:23:00 +0000 (21:23 +0000)]
In absence of patchbot, let's test patch directly on... trunk!! Yeah!! Let's break trunk! (or not, we'll see...)
[USER32][USERSRV][WIN32K]
- Flag CSRSS threads as such.
- Each time a win32 thread is "created" (or a win32k system call is done) a PsConvertToGuiThread call is done, that makes a Win32ThreadCallout which calls UserCreateThreadInfo. We should call back ClientThreadSetup to set client-side info.
- Introduce a ClientThreadSetupHelper function to try to understand what happens when doing direct calls to ClientThreadSetup and via win32k callbacks.
- Reenable CSR call in user32::DllMain but add shame hacks in Init(..) to force NtUserProcessConnect callbacks (yet they should not be done there): see the code comment associated for more details.
- Temporarily disable ClientThreadSetupHelper call in ClientThreadSetup because it makes things fail, like console input thread failing and so on...
- ... and in ClientThreadSetupHelper, some correct code is commented out because it currently breaks other things (like menu initialization etc...), and HACKS ARE ADDED!! (see especially the "if (gpsi)" one, that should not exist, but if removed we fail sometimes in MenuInit because gpsi becomes NULL for some reason, if some other code that makes redundant calls to NtUserProcessConnect, is uncommented).
To sum up I tried to scaffold the thing as it should be, but with disabled code to not break everything.
CORE-8949 #comment Revision 65799 committed the patch v1.
svn path=/trunk/; revision=65799
Hermès Bélusca-Maïto [Mon, 22 Dec 2014 19:50:00 +0000 (19:50 +0000)]
[USERSRV]
- Reenable UserClientConnect callback, it's not the problematic code that made bots to fail at 3rd stage and caused r65716 to be committed.
- Put the system threads hack *after* having called NtUserInitialize (that really initializes user-kernel interface with win32k), and not before.
svn path=/trunk/; revision=65798
Hermès Bélusca-Maïto [Mon, 22 Dec 2014 19:44:59 +0000 (19:44 +0000)]
[GDI32]
- Call NtGdiInit before initializing ourselves (ok, in ROS NtGdiInit does nothing interesting, but still do it to be call-compatible with win2k3 so everything initializes as it should).
- Do some cleanup on process detach.
svn path=/trunk/; revision=65797
Amine Khaldi [Mon, 22 Dec 2014 19:29:44 +0000 (19:29 +0000)]
[SNDREC32] Update Chinese (zh-CN) translation. By Henry Tang Ih. CORE-8933
svn path=/trunk/; revision=65796
Amine Khaldi [Mon, 22 Dec 2014 19:10:42 +0000 (19:10 +0000)]
[TRANSLATIONS] Russian translation update by Kudratov Olimjon. CORE-8947
svn path=/trunk/; revision=65795
Amine Khaldi [Mon, 22 Dec 2014 19:01:03 +0000 (19:01 +0000)]
[NOTEPAD] Uzbek translation by Kudratov Olimjon. CORE-8948
svn path=/trunk/; revision=65794
Amine Khaldi [Mon, 22 Dec 2014 18:52:25 +0000 (18:52 +0000)]
[MPLAY32] Fix some entries in the Chinese (zh-CN) translation. Spotted by Alexander Misel and fixed by Henry Tang Ih. CORE-8918
svn path=/trunk/; revision=65793
Amine Khaldi [Mon, 22 Dec 2014 18:48:47 +0000 (18:48 +0000)]
[SHELL32] Sync translations to the English one. Translators, you're on!
svn path=/trunk/; revision=65792
Amine Khaldi [Mon, 22 Dec 2014 18:38:27 +0000 (18:38 +0000)]
[SHELL32] Update Russian translation by Petr Akhlamov. CORE-8942
svn path=/trunk/; revision=65791
Hermès Bélusca-Maïto [Mon, 22 Dec 2014 12:28:05 +0000 (12:28 +0000)]
[WHOAMI]
- In German translation, replace erroneous \" to "" for putting quotes inside strings. Fixes resource compilation in GCC/MSVC.
- Make proper help string indentation in resource files. NOTE FOR TRANSLATORS: Please keep the identation correct!
svn path=/trunk/; revision=65790
Daniel Reimer [Mon, 22 Dec 2014 11:40:58 +0000 (11:40 +0000)]
[WHOAMI]
German translation
svn path=/trunk/; revision=65789
Pierre Schweitzer [Mon, 22 Dec 2014 09:53:24 +0000 (09:53 +0000)]
[WHOAMI]
Fix invalid memory usage, memory leaks, partial zeroes, big if blocks, ...
Would be nice also to check all the allocations which are not checked yet
CORE-8533
svn path=/trunk/; revision=65788
Amine Khaldi [Sun, 21 Dec 2014 23:10:46 +0000 (23:10 +0000)]
[WHOAMI] Add preliminary version of whoami utility by Ismael Ferreras Morezuelas (with some changes by me). CORE-8533
svn path=/trunk/; revision=65787
Amine Khaldi [Sun, 21 Dec 2014 18:48:33 +0000 (18:48 +0000)]
[TREE] Attempt to fix some style & formatting crimes. Improve header inclusions. CORE-8529
svn path=/trunk/; revision=65786
Amine Khaldi [Sun, 21 Dec 2014 18:00:03 +0000 (18:00 +0000)]
[NTDLL_WINETEST] Properly enable back the LdrAddRefDll tests. CORE-8102
svn path=/trunk/; revision=65785
Amine Khaldi [Sun, 21 Dec 2014 17:16:15 +0000 (17:16 +0000)]
[NTDLL_WINETEST] Temporarily enable LdrAddRefDll tests in light of CORE-8102.
svn path=/trunk/; revision=65784
Pierre Schweitzer [Sun, 21 Dec 2014 13:26:31 +0000 (13:26 +0000)]
[SHELL32]
Update French translation
svn path=/trunk/; revision=65783
Eric Kohl [Sun, 21 Dec 2014 12:36:24 +0000 (12:36 +0000)]
[CMD]
Implement CTRL+Left (jump to previous word) and CRTL+Right (jump to next word) edit keys.
CORE-5626 #resolve
svn path=/trunk/; revision=65782
Pierre Schweitzer [Sun, 21 Dec 2014 10:04:55 +0000 (10:04 +0000)]
[MSPAINT]
Update French translation
svn path=/trunk/; revision=65781
Giannis Adamopoulos [Sat, 20 Dec 2014 22:11:35 +0000 (22:11 +0000)]
[EXPLORER]
* Fix the fallback case when BCM_GETIDEALSIZE doesn't work.
* Take into account the size of the borders of the start button twice. Now the caption has enough space and doesn't hide part of the border and more importantly the button is vertically aligned to the tasks buttons.
svn path=/trunk/; revision=65780
Daniel Reimer [Sat, 20 Dec 2014 22:02:26 +0000 (22:02 +0000)]
[TRANSLATION]
Turkish Translation Update by Erdem Ersoy
CORE-7861 #resolve #comment Committed, thx for helping ^^
svn path=/trunk/; revision=65779
Eric Kohl [Sat, 20 Dec 2014 21:58:22 +0000 (21:58 +0000)]
[USETUP]
Start implementing the recovery console: CLS, EXIT and HELP have been implemented. I also added a DUMPSECTOR command that enables us to dump disk sectors to the screen. For example "DUMPSECTOR 0 63" dumps disk 0 sector 63 to the screen.
svn path=/trunk/; revision=65778
Daniel Reimer [Sat, 20 Dec 2014 21:44:24 +0000 (21:44 +0000)]
[TASKMGR]
Fix even some more translations to get this one fixed: CORE-5790
Sidenote: http://rammichael.com/resource-hacker-fx
svn path=/trunk/; revision=65777
Daniel Reimer [Sat, 20 Dec 2014 20:51:54 +0000 (20:51 +0000)]
[TASKMGR]
Fix some translations as preparation to get this one fixed: CORE-5790
At least most languages now look sort of nicely. Next: apply the patch and check the non ResHacker compatible languages
svn path=/trunk/; revision=65776
Giannis Adamopoulos [Sat, 20 Dec 2014 20:32:32 +0000 (20:32 +0000)]
[BROWSEUI]
* Forward focus to the defview window when the shell browser gets the focus.
* We can now navigate to the opened window with the keyboard right after it opens. That means that after opening from the desktop a window with the keyboard, we can navigate right away without any additional mouse clicks.
svn path=/trunk/; revision=65775
Daniel Reimer [Sat, 20 Dec 2014 19:31:44 +0000 (19:31 +0000)]
[BROWSEUI]
update Russian Translation by Akhlamov Petr
CORE-7981 #resolve #comment Committed, thx for help ^^
svn path=/trunk/; revision=65774
Daniel Reimer [Sat, 20 Dec 2014 19:03:13 +0000 (19:03 +0000)]
[INF]
"No shortcut to the On Screen Keyboard in the start menu" by Jared
CORE-8883 #resolve #comment Committed with minor fix in German translation, thx for help.
svn path=/trunk/; revision=65773
David Quintana [Sat, 20 Dec 2014 18:10:02 +0000 (18:10 +0000)]
[BROWSEUI]
* Do not enable the CExplorerBand wrapper by default. Avoids crashing due to a stack overflow.
CORE-8930 #resolve #comment Oops. Fixed in r65772. Thanks.
svn path=/trunk/; revision=65772
Giannis Adamopoulos [Sat, 20 Dec 2014 18:06:42 +0000 (18:06 +0000)]
[SHELL32]
* Properly stub CheckStagingArea which is used by native explorer
svn path=/trunk/; revision=65771
Giannis Adamopoulos [Sat, 20 Dec 2014 17:56:00 +0000 (17:56 +0000)]
[RPCSS]
* Create ScmCreatedEvent when we are done initializing.
svn path=/trunk/; revision=65770
David Quintana [Sat, 20 Dec 2014 17:45:45 +0000 (17:45 +0000)]
[RSHELL]
* Make the shell menus focus the parent before displaying themselves. Fixes keyboard focus when opening the start menu with the windows key.
NOTE: I put this in the focus manager for lack of a better place, but it may not be how Windows does it.
svn path=/trunk/; revision=65769
Pierre Schweitzer [Sat, 20 Dec 2014 17:28:03 +0000 (17:28 +0000)]
[EXPLORER]
Complete the French translation
svn path=/trunk/; revision=65768
Amine Khaldi [Sat, 20 Dec 2014 16:55:10 +0000 (16:55 +0000)]
[COMCTL32] Properly highlight r65766.
svn path=/trunk/; revision=65767
Giannis Adamopoulos [Sat, 20 Dec 2014 16:49:31 +0000 (16:49 +0000)]
[COMCTL32]
* Do not add two additional pixels at the top margin of the toolbar. This is the behaviour of comctl32 v6 and our explorer depends on that to appear properly. We don't have a proper solution for these differences in behavior and since we already opt to use the v6 behavior I think it is fine.
CORE-5483 #resolve #comment Committed a slightly different version of the patch, thanks.
svn path=/trunk/; revision=65766
David Quintana [Sat, 20 Dec 2014 16:47:35 +0000 (16:47 +0000)]
[SHELL32]
* Remove a leftover from when this file was C++.
CORE-8846 #resolve #comment Should be fixed in trunk r65765, thanks.
svn path=/trunk/; revision=65765
Pierre Schweitzer [Sat, 20 Dec 2014 16:41:23 +0000 (16:41 +0000)]
[TREE]
- Fix tree internal name
- Add tree French translation
svn path=/trunk/; revision=65764
Pierre Schweitzer [Sat, 20 Dec 2014 16:40:57 +0000 (16:40 +0000)]
[TREE]
Convert resources strings to OEM before printing them on console.
Fixes broken displays with special chars
svn path=/trunk/; revision=65763
Amine Khaldi [Sat, 20 Dec 2014 16:26:03 +0000 (16:26 +0000)]
[PSDK] Define rpcndr.h DECLSPEC_UUID in consistency with the one in winnt.h. Fixes some redefinition warnings.
svn path=/trunk/; revision=65762
Amine Khaldi [Sat, 20 Dec 2014 16:24:21 +0000 (16:24 +0000)]
[RSHELL] Silence some MSVC linker warnings.
svn path=/trunk/; revision=65761
David Quintana [Sat, 20 Dec 2014 16:22:43 +0000 (16:22 +0000)]
[SHELL32] Mark the halfplementation as such.
CORE-3938
svn path=/trunk/; revision=65760
David Quintana [Sat, 20 Dec 2014 16:20:32 +0000 (16:20 +0000)]
[SHELL32]
* Halfplement IExtractIconAW support into the recycle bin. This is not fully correct as it always uses the fallback file icon, but it's better than nothing at all.
CORE-3938
svn path=/trunk/; revision=65759
David Quintana [Sat, 20 Dec 2014 16:12:35 +0000 (16:12 +0000)]
[NETSHELL]
* Move to shellext folder.
* Do not initialize the notification SSO, stobject will do so (like in Windows).
* Move some GUIDs to a shared header.
[STOBJECT]
* Initialize netshell's SSO the way Windows does it. Fixes network icon inconsistency.
* Move some GUIDs to a shared header.
CORE-8818 #resolve Fixed in trunk r65758.
svn path=/trunk/; revision=65758
David Quintana [Sat, 20 Dec 2014 16:04:45 +0000 (16:04 +0000)]
[RSHELL]
* Make rshell.dll able to register its classes and support CoCreateInstance.
svn path=/trunk/; revision=65757
Amine Khaldi [Sat, 20 Dec 2014 15:16:18 +0000 (15:16 +0000)]
[BROWSEUI] Reorder some exports.
CORE-8936 CORE-8174
svn path=/trunk/; revision=65756
Amine Khaldi [Sat, 20 Dec 2014 15:10:45 +0000 (15:10 +0000)]
[SHELL32] Add export 007.. I mean 44. Mark some exports for inspection.
CORE-8936 CORE-8174
svn path=/trunk/; revision=65755
Amine Khaldi [Sat, 20 Dec 2014 14:54:04 +0000 (14:54 +0000)]
[SHLWAPI] Stub some exports. Stubplement SHGetAllAccessSA. Based on a patch by Giannis Adamopoulos.
CORE-8936 CORE-8174
svn path=/trunk/; revision=65754
Hermès Bélusca-Maïto [Sat, 20 Dec 2014 03:12:23 +0000 (03:12 +0000)]
[SERVICES]: Do not use GetSystemMetrics to retrieve SafeBoot option value, but instead use directly the registry (as it is done just after...).
svn path=/trunk/; revision=65753
Giannis Adamopoulos [Fri, 19 Dec 2014 14:21:18 +0000 (14:21 +0000)]
[UXTHEME]
* Implement a few functions needed by windows themeui.dll
svn path=/trunk/; revision=65752
Amine Khaldi [Fri, 19 Dec 2014 14:00:09 +0000 (14:00 +0000)]
[UXTHEME] Remove some exports that do not exist in native. Reorder some exports. Add some missing exports. Mark OpenThemeDataEx as noname.
CORE-8174
svn path=/trunk/; revision=65751
Amine Khaldi [Fri, 19 Dec 2014 13:22:15 +0000 (13:22 +0000)]
[SHLWAPI_WINETEST] Addendum to r65749.
CORE-7556
svn path=/trunk/; revision=65750
Amine Khaldi [Fri, 19 Dec 2014 13:20:42 +0000 (13:20 +0000)]
[SHLWAPI] Import Wine commit
4b33a33 by Sebastian Lackner: Add implementation for StrCatChainW. Based on a patch by Huw Campbell.
CORE-7556
svn path=/trunk/; revision=65749
Timo Kreuzer [Fri, 19 Dec 2014 12:53:50 +0000 (12:53 +0000)]
[WIN32K]
Handle coordinate translation in NtGdiOffsetClipRgn
svn path=/trunk/; revision=65748
Timo Kreuzer [Fri, 19 Dec 2014 11:12:40 +0000 (11:12 +0000)]
[WIN32K]
Dump object event log, when trying to dereference an object with 0 references.
svn path=/trunk/; revision=65747
Timo Kreuzer [Fri, 19 Dec 2014 10:34:52 +0000 (10:34 +0000)]
[WIN32K]
Rename RGNOBJAPI_Lock to REGION_LockRgn and remove the 2nd argument, rename RGNOBJAPI_Unlock to REGION_UnlockRgn, remove the old inline lock/unlock functions. Do proper locking using GDIOBJ_bLockMultipleObjects in NtGdiEqualRgn.
svn path=/trunk/; revision=65746
Timo Kreuzer [Fri, 19 Dec 2014 09:26:50 +0000 (09:26 +0000)]
[WIN32K]
Make sure to respect GDI object lock order in (Nt)UserScrollDC
svn path=/trunk/; revision=65745
James Tabor [Thu, 18 Dec 2014 23:45:11 +0000 (23:45 +0000)]
[Win32k]
- Crash is due to receiving an APC for the current sending thread. Prematurely freeing the data block and while the receiving thread did not have a chance to process it. Interception and calling back to user mode will allow thread to go away. What about the memory block, is it still allocated? A cleaver Hack can fix this, but still the application crashed leaving issues and trash laying about. See CORE-8779.
Reference:
http://msdn.microsoft.com/en-us/library/windows/hardware/
ff565592(v=vs.85).aspx
"Yes, for thread termination. No, for user APCs."
svn path=/trunk/; revision=65744
James Tabor [Thu, 18 Dec 2014 22:38:40 +0000 (22:38 +0000)]
- Fix a crash while moving minimized MDI window in ConTEXT.
svn path=/trunk/; revision=65743
Giannis Adamopoulos [Thu, 18 Dec 2014 18:24:01 +0000 (18:24 +0000)]
[RSHELL]
* Implement using a thin border for the start menu when themes are enabled
CORE-8925
svn path=/trunk/; revision=65742
Pierre Schweitzer [Thu, 18 Dec 2014 18:15:15 +0000 (18:15 +0000)]
[BOOTDATA]
Add the NtfsMftZoneReservation registry key on installation
See http://support.microsoft.com/kb/174619 for more information
svn path=/trunk/; revision=65741
David Quintana [Thu, 18 Dec 2014 17:34:46 +0000 (17:34 +0000)]
[RSHELL]
* Fix the focus manager to properly close the shell menus when clicking outside the menu area.
* Close the shell menus when activating a context menu action.
* Open the shell menus without activating. Fixes titlebar color changing to inactive for the Favorites menu.
[RSHELL]
[SHELL32]
[BROWSEUI]
* Remove a few DbgPrints and downgrade some others into TRACEs.
CORE-8836 #resolve
svn path=/trunk/; revision=65740
Timo Kreuzer [Thu, 18 Dec 2014 08:13:14 +0000 (08:13 +0000)]
[GDI32]
- Rename SetRectRgnEx to IntSetRectRgn and make it usermode only
- Implement IntSetNullRgn
- Improve SetRectRgn code and enable the usermode part
svn path=/trunk/; revision=65739
Timo Kreuzer [Thu, 18 Dec 2014 08:13:10 +0000 (08:13 +0000)]
[GDI32]
Rewrite CombineRgn, enabling full handling in usermode if the resulting region is either a rectangular or a NULL region.
svn path=/trunk/; revision=65738
Timo Kreuzer [Thu, 18 Dec 2014 08:13:06 +0000 (08:13 +0000)]
[WIN32K]
Fix REGION_vSyncRegion and RGNOBJAPI_Unlock to actually make sense
svn path=/trunk/; revision=65737
Timo Kreuzer [Thu, 18 Dec 2014 08:13:01 +0000 (08:13 +0000)]
[USER32]
Fix copy-paste-bug in SubtractRect
svn path=/trunk/; revision=65736
Timo Kreuzer [Thu, 18 Dec 2014 08:12:55 +0000 (08:12 +0000)]
[WIN32K]
- Rename xmemcheck to REGION_bGrowBufferSize
- Implement REGION_bEnsureBufferSize and REGION_vAddRect helper functions
- Replace MERGERECT macro with REGION_bMergeRect inline function
svn path=/trunk/; revision=65735
Timo Kreuzer [Thu, 18 Dec 2014 08:12:51 +0000 (08:12 +0000)]
[WIN32K]
Improve REGION_bMakeFrameRegion and REGION_bMakeSimpleFrameRgn
svn path=/trunk/; revision=65734
Timo Kreuzer [Thu, 18 Dec 2014 08:12:41 +0000 (08:12 +0000)]
[WIN32K]
- Make REGION_iOffsetRgn check the region for coordinate space overflow and fail, if the region cannot be moved
- Rename REGION_iOffsetRgn to REGION_bOffsetRgn and make it return BOOL instead of the complexity, since the majority of callers are not interested in the complexity. It's also more obvious that we need to check for an error.
svn path=/trunk/; revision=65733
Timo Kreuzer [Thu, 18 Dec 2014 08:12:34 +0000 (08:12 +0000)]
[WIN32K]
- Rename IntGdiOffsetRgn to REGION_iOffsetRgn
svn path=/trunk/; revision=65732
Timo Kreuzer [Thu, 18 Dec 2014 08:12:28 +0000 (08:12 +0000)]
[WIN32K]
Implement exclusive lock order checks for GDI objects in debug builds
svn path=/trunk/; revision=65731
Timo Kreuzer [Thu, 18 Dec 2014 08:12:23 +0000 (08:12 +0000)]
[WIN32K]
- Rewrite NtGdiFillRgn and IntGdiPaintRgn
We now properly support painting regions on DCs with arbitrary world transforms, with pattern brushes and we respect the foreground ROP and mode of the DC. And we don't run into deadlocks due to having an exclusive region lock while trying to lock a DC. LOCKING MUST BE DONE IN PROPER ORDER!
svn path=/trunk/; revision=65730
Timo Kreuzer [Thu, 18 Dec 2014 08:12:19 +0000 (08:12 +0000)]
[WIN32K]
Properly implement EngPaint, calling IntEngBitBlt, instead of doing a manual single color fill.
svn path=/trunk/; revision=65729
Timo Kreuzer [Thu, 18 Dec 2014 08:12:06 +0000 (08:12 +0000)]
[WIN32K]
- Implement REGION_bXformRgn
- Move IntGdiPaintRgn ro bitblt.c
svn path=/trunk/; revision=65728
Timo Kreuzer [Thu, 18 Dec 2014 08:12:01 +0000 (08:12 +0000)]
[WIN32K]
- Move IntGdiReleaseRaoRgn and IntGdiReleaseVisRgn to cliprgn.c
- Remove unused IntUpdateVisRectRgn
svn path=/trunk/; revision=65727
Timo Kreuzer [Thu, 18 Dec 2014 08:11:56 +0000 (08:11 +0000)]
[WIN32K]
- Rename IntSetPolyPolygonRgn to REGION_SetPolyPolygonRgn
- Implement GreCreatePolyPolygonRgn wrapper around it
- Fix iMode usage in NtGdiPolyPolyDraw
- Improve some variable naming
svn path=/trunk/; revision=65726
Timo Kreuzer [Thu, 18 Dec 2014 08:11:50 +0000 (08:11 +0000)]
[WIN32K]
Rework GreCreateFrameRgn to return the new region. Implement the internal function REGION_bMakeFrameRegion doing the actual work. Fix frame calculation by moving the source region diagonal instead of only horizontal and vertical, use IntGdiOffsetRgn instead of manually fiddling with the rectangles.
svn path=/trunk/; revision=65725
Timo Kreuzer [Thu, 18 Dec 2014 08:11:42 +0000 (08:11 +0000)]
[WIN32K]
- Move NtGdiFillRgn and NtGdiFrameRgn to bitblt.c
- Remove unused NtGdiUnionRectWithRgn
- Rename REGION_CreateFrameRgn to GreCreateFrameRgn
svn path=/trunk/; revision=65724
Timo Kreuzer [Thu, 18 Dec 2014 08:11:36 +0000 (08:11 +0000)]
[WIN32K]
Move NtGdiInvertRgn to bitblt.c
svn path=/trunk/; revision=65723
Timo Kreuzer [Thu, 18 Dec 2014 08:11:31 +0000 (08:11 +0000)]
[WIN32K]
- Remove useless offset part in REGION_CropAndOffsetRegion
svn path=/trunk/; revision=65722
Timo Kreuzer [Thu, 18 Dec 2014 08:11:25 +0000 (08:11 +0000)]
[WIN32K]
Fix MSVC warnings
svn path=/trunk/; revision=65721
Timo Kreuzer [Thu, 18 Dec 2014 08:11:19 +0000 (08:11 +0000)]
[WIN32K]
More improvements to region.c:
- PROSRGNDATA -> REGION, void -> VOID, int -> INT, uppercase struct names
- do not put assignments into if statements
- !x -> x == NULL for pointers
- Add additional parentheses / curly braces
- rename RGN_ATTR::Flags to iComplexity
svn path=/trunk/; revision=65720
Timo Kreuzer [Thu, 18 Dec 2014 08:11:13 +0000 (08:11 +0000)]
[WIN32K/FORMATTING]
- Tabs -> spaces
- Fix indentation
- Improve comment formating
- No code change
svn path=/trunk/; revision=65719
Timo Kreuzer [Thu, 18 Dec 2014 08:11:09 +0000 (08:11 +0000)]
[GDI32]
Avoid casting RECT and POINT to RECTL and POINTL by adding a define
svn path=/trunk/; revision=65718
Timo Kreuzer [Thu, 18 Dec 2014 08:11:04 +0000 (08:11 +0000)]
[GDI32]
Implement GdiGetRgnAttr
svn path=/trunk/; revision=65717
Hermès Bélusca-Maïto [Thu, 18 Dec 2014 01:53:08 +0000 (01:53 +0000)]
[USER32][USERSRV]
Temporarily disable UserClientConnect (in server side) and CSR client to server call (in client side), always set gfServerProcess to FALSE (that is normally almost true but when CSR itself does USER32 operations...), and comment again GetConnect() call in ClientThreadSetup, in an attempt to "fix" 3rd stage for bots (so that we don't assert in DesktopPtrToUser because some pdi is NULL...)
svn path=/trunk/; revision=65716
Hermès Bélusca-Maïto [Thu, 18 Dec 2014 01:35:55 +0000 (01:35 +0000)]
[CONSRV]: Explicitely use UNICODE SetWindowText API.
svn path=/trunk/; revision=65715
Hermès Bélusca-Maïto [Thu, 18 Dec 2014 00:30:27 +0000 (00:30 +0000)]
[WIN32K]
- Code formatting for NtUserProcessConnect.
[USER32]
- Hack a call to GetConnected in ClientThreadSetup in an attempt to temporarily "fix" a bug that makes the bots fail. Now we really need to fix user32 init!
svn path=/trunk/; revision=65714
James Tabor [Thu, 18 Dec 2014 00:19:33 +0000 (00:19 +0000)]
[NtUser]
- Cleanup status and update header.
svn path=/trunk/; revision=65713
Hermès Bélusca-Maïto [Wed, 17 Dec 2014 23:03:36 +0000 (23:03 +0000)]
[USERSRV]
- Set the process creation notify routine for BASE that needs to be called when a process is created.
Patch by Timo, see CORE-7505.
[BASESRV]
- Implement BaseSetProcessCreateNotify that just saves internally the notification function to be called when a process is created.
- Call the notification function where it should be.
CORE-7505
svn path=/trunk/; revision=65712
Hermès Bélusca-Maïto [Wed, 17 Dec 2014 22:34:13 +0000 (22:34 +0000)]
[USERSRV]: usersrv needs static-link to basesrv because it'll use an API in the next commit :p (hint: process creation notification). For Timo's patch CORE-7505
svn path=/trunk/; revision=65711
Hermès Bélusca-Maïto [Wed, 17 Dec 2014 22:22:05 +0000 (22:22 +0000)]
[HEADERS]
- Play around and declare USERSRV_API_CONNECTINFO (CSR-style-name connect info structure type) as an alias to USERCONNECT (win32k-style-name) structure that is used to perform... "connections" between user32 and winsrv/win32k subsystem.
[WIN32K]
- Make UserThreadCsrApiPort case of NtUserSetInformationThread return success to make usersrv happy (while saving CSR port handle in win32k is still not implemented).
[USER32]
- Clean up "a bit" DllMain, call CsrClientConnectToServer to connect to usersrv (copy-paste of what we do in kernel32 for base and console connection) and now determine properly whether we are doing server-to-server calls (i.e. properly set gfServerProcess).
- Reorganize GdiDllInitialize calls and put them all to the end of DllMain instead.
- No need to support DLL_THREAD_ATTACH/DETACH so call the magic DisableThreadLibraryCalls function.
[USERSRV]
- Implement UserClientConnect with the patch of Timo CORE-7505: it gives a CSR port handle to win32k (if not already done), then do process connection.
CORE-7505
svn path=/trunk/; revision=65710
Hermès Bélusca-Maïto [Wed, 17 Dec 2014 22:07:41 +0000 (22:07 +0000)]
[KERNEL32]: Minor code formatting.
svn path=/trunk/; revision=65709
Hermès Bélusca-Maïto [Wed, 17 Dec 2014 22:06:36 +0000 (22:06 +0000)]
Delete unuseful file...
svn path=/trunk/; revision=65708
Daniel Reimer [Wed, 17 Dec 2014 21:09:30 +0000 (21:09 +0000)]
[SHELL32]
German translation update
svn path=/trunk/; revision=65707
Amine Khaldi [Wed, 17 Dec 2014 17:59:02 +0000 (17:59 +0000)]
[USRMGR] Italian translation update by Nicolò Altamura. CORE-8857
svn path=/trunk/; revision=65706
Amine Khaldi [Wed, 17 Dec 2014 17:51:10 +0000 (17:51 +0000)]
[MPLAY32] Update Chinese (zh-CN) translation. By Henry Tang Ih.
CORE-8918
svn path=/trunk/; revision=65705
Amine Khaldi [Wed, 17 Dec 2014 17:47:54 +0000 (17:47 +0000)]
[SYSDM] Minor changes to the Startup and Recovery options dialog resource. Brought to you by Ricardo Hanke.
CORE-8924
svn path=/trunk/; revision=65704
Giannis Adamopoulos [Wed, 17 Dec 2014 12:44:58 +0000 (12:44 +0000)]
[EXPLORER]
* Remove internal IStartMenuSite interface that didn't serve any purpose.
* Stop using global instances of some core classes.
svn path=/trunk/; revision=65703
Giannis Adamopoulos [Wed, 17 Dec 2014 12:38:19 +0000 (12:38 +0000)]
[RSHELL]
* Disable themes for the toolbars used for shell menus
* See issue CORE-8922 for details
svn path=/trunk/; revision=65702
Giannis Adamopoulos [Wed, 17 Dec 2014 12:28:35 +0000 (12:28 +0000)]
[RSHELL]
- Remove definition for an undocumented function that already exists in our headers
- See issue CORE-8920
svn path=/trunk/; revision=65701
Giannis Adamopoulos [Wed, 17 Dec 2014 12:11:31 +0000 (12:11 +0000)]
[RSHELL]
- Simplify some code by using shlwapi helpers
- See issue CORE-8919
svn path=/trunk/; revision=65700