reactos.git
9 years ago[FASTFAT]
Pierre Schweitzer [Mon, 22 Dec 2014 23:00:22 +0000 (23:00 +0000)]
[FASTFAT]
So far, totally disable VPB swapout on dismount. It appears to have brought more issues than it actually solves.
A more accurate implementation will be required.

CORE-8928 #comment Can you please retry with r65801

svn path=/trunk/; revision=65801

9 years ago[SHELL32]
Pierre Schweitzer [Mon, 22 Dec 2014 22:55:07 +0000 (22:55 +0000)]
[SHELL32]
Update French translation

svn path=/trunk/; revision=65800

9 years agoIn absence of patchbot, let's test patch directly on... trunk!! Yeah!! Let's break...
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

9 years ago[USERSRV]
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

9 years ago[GDI32]
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

9 years ago[SNDREC32] Update Chinese (zh-CN) translation. By Henry Tang Ih. CORE-8933
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

9 years ago[TRANSLATIONS] Russian translation update by Kudratov Olimjon. CORE-8947
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

9 years ago[NOTEPAD] Uzbek translation by Kudratov Olimjon. CORE-8948
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

9 years ago[MPLAY32] Fix some entries in the Chinese (zh-CN) translation. Spotted by Alexander...
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

9 years ago[SHELL32] Sync translations to the English one. Translators, you're on!
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

9 years ago[SHELL32] Update Russian translation by Petr Akhlamov. CORE-8942
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

9 years ago[WHOAMI]
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

9 years ago[WHOAMI]
Daniel Reimer [Mon, 22 Dec 2014 11:40:58 +0000 (11:40 +0000)]
[WHOAMI]
German translation

svn path=/trunk/; revision=65789

9 years ago[WHOAMI]
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

9 years ago[WHOAMI] Add preliminary version of whoami utility by Ismael Ferreras Morezuelas...
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

9 years ago[TREE] Attempt to fix some style & formatting crimes. Improve header inclusions....
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

9 years ago[NTDLL_WINETEST] Properly enable back the LdrAddRefDll tests. CORE-8102
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

9 years ago[NTDLL_WINETEST] Temporarily enable LdrAddRefDll tests in light of CORE-8102.
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

9 years ago[SHELL32]
Pierre Schweitzer [Sun, 21 Dec 2014 13:26:31 +0000 (13:26 +0000)]
[SHELL32]
Update French translation

svn path=/trunk/; revision=65783

9 years ago[CMD]
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

9 years ago[MSPAINT]
Pierre Schweitzer [Sun, 21 Dec 2014 10:04:55 +0000 (10:04 +0000)]
[MSPAINT]
Update French translation

svn path=/trunk/; revision=65781

9 years ago[EXPLORER]
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

9 years ago[TRANSLATION]
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

9 years ago[USETUP]
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

9 years ago[TASKMGR]
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

9 years ago[TASKMGR]
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

9 years ago[BROWSEUI]
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

9 years ago[BROWSEUI]
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

9 years ago[INF]
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

9 years ago[BROWSEUI]
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

9 years ago[SHELL32]
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

9 years ago[RPCSS]
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

9 years ago[RSHELL]
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

9 years ago[EXPLORER]
Pierre Schweitzer [Sat, 20 Dec 2014 17:28:03 +0000 (17:28 +0000)]
[EXPLORER]
Complete the French translation

svn path=/trunk/; revision=65768

9 years ago[COMCTL32] Properly highlight r65766.
Amine Khaldi [Sat, 20 Dec 2014 16:55:10 +0000 (16:55 +0000)]
[COMCTL32] Properly highlight r65766.

svn path=/trunk/; revision=65767

9 years ago[COMCTL32]
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

9 years ago[SHELL32]
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

9 years ago[TREE]
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

9 years ago[TREE]
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

9 years ago[PSDK] Define rpcndr.h DECLSPEC_UUID in consistency with the one in winnt.h. Fixes...
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

9 years ago[RSHELL] Silence some MSVC linker warnings.
Amine Khaldi [Sat, 20 Dec 2014 16:24:21 +0000 (16:24 +0000)]
[RSHELL] Silence some MSVC linker warnings.

svn path=/trunk/; revision=65761

9 years ago[SHELL32] Mark the halfplementation as such.
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

9 years ago[SHELL32]
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

9 years ago[NETSHELL]
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

9 years ago[RSHELL]
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

9 years ago[BROWSEUI] Reorder some exports.
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

9 years ago[SHELL32] Add export 007.. I mean 44. Mark some exports for inspection.
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

9 years ago[SHLWAPI] Stub some exports. Stubplement SHGetAllAccessSA. Based on a patch by Gianni...
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

9 years ago[SERVICES]: Do not use GetSystemMetrics to retrieve SafeBoot option value, but instea...
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

9 years ago[UXTHEME]
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

9 years ago[UXTHEME] Remove some exports that do not exist in native. Reorder some exports....
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

9 years ago[SHLWAPI_WINETEST] Addendum to r65749.
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

9 years ago[SHLWAPI] Import Wine commit 4b33a33 by Sebastian Lackner: Add implementation for...
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

9 years ago[WIN32K]
Timo Kreuzer [Fri, 19 Dec 2014 12:53:50 +0000 (12:53 +0000)]
[WIN32K]
Handle coordinate translation in NtGdiOffsetClipRgn

svn path=/trunk/; revision=65748

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[Win32k]
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

9 years ago- Fix a crash while moving minimized MDI window in ConTEXT.
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

9 years ago[RSHELL]
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

9 years ago[BOOTDATA]
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

9 years ago[RSHELL]
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

9 years ago[GDI32]
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

9 years ago[GDI32]
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

9 years ago[WIN32K]
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

9 years ago[USER32]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
Timo Kreuzer [Thu, 18 Dec 2014 08:12:34 +0000 (08:12 +0000)]
[WIN32K]
- Rename IntGdiOffsetRgn to REGION_iOffsetRgn

svn path=/trunk/; revision=65732

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
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

9 years ago[WIN32K]
Timo Kreuzer [Thu, 18 Dec 2014 08:11:36 +0000 (08:11 +0000)]
[WIN32K]
Move NtGdiInvertRgn to bitblt.c

svn path=/trunk/; revision=65723

9 years ago[WIN32K]
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

9 years ago[WIN32K]
Timo Kreuzer [Thu, 18 Dec 2014 08:11:25 +0000 (08:11 +0000)]
[WIN32K]
Fix MSVC warnings

svn path=/trunk/; revision=65721

9 years ago[WIN32K]
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

9 years ago[WIN32K/FORMATTING]
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

9 years ago[GDI32]
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

9 years ago[GDI32]
Timo Kreuzer [Thu, 18 Dec 2014 08:11:04 +0000 (08:11 +0000)]
[GDI32]
Implement GdiGetRgnAttr

svn path=/trunk/; revision=65717

9 years ago[USER32][USERSRV]
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

9 years ago[CONSRV]: Explicitely use UNICODE SetWindowText API.
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

9 years ago[WIN32K]
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

9 years ago[NtUser]
James Tabor [Thu, 18 Dec 2014 00:19:33 +0000 (00:19 +0000)]
[NtUser]
- Cleanup status and update header.

svn path=/trunk/; revision=65713

9 years ago[USERSRV]
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

9 years ago[USERSRV]: usersrv needs static-link to basesrv because it'll use an API in the next...
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

9 years ago[HEADERS]
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

9 years ago[KERNEL32]: Minor code formatting.
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

9 years agoDelete unuseful file...
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

9 years ago[SHELL32]
Daniel Reimer [Wed, 17 Dec 2014 21:09:30 +0000 (21:09 +0000)]
[SHELL32]
German translation update

svn path=/trunk/; revision=65707

9 years ago[USRMGR] Italian translation update by Nicolò Altamura. CORE-8857
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

9 years ago[MPLAY32] Update Chinese (zh-CN) translation. By Henry Tang Ih.
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

9 years ago[SYSDM] Minor changes to the Startup and Recovery options dialog resource. Brought...
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

9 years ago[EXPLORER]
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

9 years ago[RSHELL]
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