reactos.git
11 years ago[CRT]
Jérôme Gardou [Sat, 21 Jul 2012 19:59:47 +0000 (19:59 +0000)]
[CRT]
- Implement _vsc(w)printf for msvcrt

svn path=/trunk/; revision=56927

11 years ago[NTOSKRNL]: Add more support for session space, including mapping and unmapping views...
Alex Ionescu [Sat, 21 Jul 2012 19:07:11 +0000 (19:07 +0000)]
[NTOSKRNL]: Add more support for session space, including mapping and unmapping views into it, as well as putting in the correct checks in the page fault handler for future work.
[NTOSKRNL]: Cleanup the page fault handler to help with debugging, fix a few bugs and missing perf counters. There's a lot of cut corners that need some love, will be slowly adding more asserts/sanity code to make sure things are working right.

svn path=/trunk/; revision=56926

11 years ago[APITESTS]
Jérôme Gardou [Sat, 21 Jul 2012 17:15:08 +0000 (17:15 +0000)]
[APITESTS]
- Move _vsnprintf to crt tests, where it belongs, and make it pass for crtdll

svn path=/trunk/; revision=56925

11 years ago[MSVCRT_APITEST]
Jérôme Gardou [Sat, 21 Jul 2012 16:31:03 +0000 (16:31 +0000)]
[MSVCRT_APITEST]
- add basic test for _vsnprintf
This is mostly to verify if WINE's implementation of _vcsprintf is correct

svn path=/trunk/; revision=56924

11 years ago[REGEDIT]
Amine Khaldi [Sat, 21 Jul 2012 15:01:13 +0000 (15:01 +0000)]
[REGEDIT]
* Don't include these two headers twice for the resources.

svn path=/trunk/; revision=56923

11 years ago[WINE/CONFIG.H]
Amine Khaldi [Sat, 21 Jul 2012 15:00:35 +0000 (15:00 +0000)]
[WINE/CONFIG.H]
* Don't automatically include buildno.h.

svn path=/trunk/; revision=56922

11 years ago[LIBXSLT]
Amine Khaldi [Sat, 21 Jul 2012 13:53:29 +0000 (13:53 +0000)]
[LIBXSLT]
* Add to the MSVC build.

svn path=/trunk/; revision=56921

11 years ago[LIBTIFF]
Amine Khaldi [Sat, 21 Jul 2012 13:22:01 +0000 (13:22 +0000)]
[LIBTIFF]
* Fix MSVC build.

svn path=/trunk/; revision=56920

11 years ago[LIBPNG]
Amine Khaldi [Sat, 21 Jul 2012 13:09:28 +0000 (13:09 +0000)]
[LIBPNG]
* Fix MSVC build.

svn path=/trunk/; revision=56919

11 years agoUpdate zlib to version 1.2.7.
Sylvain Petreolle [Sat, 21 Jul 2012 12:53:16 +0000 (12:53 +0000)]
Update zlib to version 1.2.7.
Enable zlib into wininet.

Patch by Vincenzo Cotugno.
See bug 7197 for details.

svn path=/trunk/; revision=56918

11 years ago[SAMSRV]
Eric Kohl [Fri, 20 Jul 2012 20:42:53 +0000 (20:42 +0000)]
[SAMSRV]
Check if the name of a new account (alias, group or user) is used before the account is created. This check is needed because account names must be unique.

svn path=/trunk/; revision=56917

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 19 Jul 2012 21:55:56 +0000 (21:55 +0000)]
[OPENGL32]
 * use MakeCurrent(NULL, NULL) to unset the current context.

svn path=/trunk/; revision=56916

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 19 Jul 2012 21:54:27 +0000 (21:54 +0000)]
[OPENGL32]
 * Stub-plement glDebugEntry
Taken from the WINE project

svn path=/trunk/; revision=56915

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 19 Jul 2012 21:40:17 +0000 (21:40 +0000)]
[OPENGL32]
- update spec file

svn path=/trunk/; revision=56914

11 years ago[ZLIB]
Sylvain Petreolle [Thu, 19 Jul 2012 10:10:58 +0000 (10:10 +0000)]
[ZLIB]
Remove svn:keywords properties.

svn path=/trunk/; revision=56913

11 years ago[LIBPNG]
Thomas Faber [Wed, 18 Jul 2012 22:41:51 +0000 (22:41 +0000)]
[LIBPNG]
- Do not duplicate headers. Update out-of-sync public headers. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=56912

11 years ago[CALC][CHARMAP][MPLAY32][DEVMGMT][SERVMAN][REGEDIT][SNDREC32][SNDVOL32][TASKMGR]
Pierre Schweitzer [Wed, 18 Jul 2012 18:22:02 +0000 (18:22 +0000)]
[CALC][CHARMAP][MPLAY32][DEVMGMT][SERVMAN][REGEDIT][SNDREC32][SNDVOL32][TASKMGR]
Update French translation.
Patch by Hermès Belusca - Maito
See issue #7196 for more details.

svn path=/trunk/; revision=56911

11 years ago[ZLIB]
Thomas Faber [Wed, 18 Jul 2012 17:13:22 +0000 (17:13 +0000)]
[ZLIB]
- Do not duplicate header files. Patch by Vincenzo Cotugno.

svn path=/trunk/; revision=56910

11 years ago[HAL]
Amine Khaldi [Tue, 17 Jul 2012 14:11:49 +0000 (14:11 +0000)]
[HAL]
* Leverage the object library option provided by CMake 2.8.8+ which will speed up the build even further.
* Compared strings using STREQUAL.
* These wrapping conditions will go away as soon as we ship the new BE.

svn path=/trunk/; revision=56909

11 years ago[CMAKE]
Amine Khaldi [Tue, 17 Jul 2012 14:08:18 +0000 (14:08 +0000)]
[CMAKE]
* Make use of the TARGET_PDB variable to consistently group the separate debug files into a symbols folder.

svn path=/trunk/; revision=56908

11 years ago[SCSIPORT]
Aleksey Bragin [Tue, 17 Jul 2012 10:31:03 +0000 (10:31 +0000)]
[SCSIPORT]
- Fix a regression from r56863. New logic is: the requested data size is sizeof(ULONG), so if the result read is less than that - continue to the next slot. Thanks to SomeGuy for pointing out the problem.
See issue #7147 for more details.

svn path=/trunk/; revision=56907

11 years ago[NTOSKRNL]: Implement support for session pool (not yet enabled) and session space...
Alex Ionescu [Sun, 15 Jul 2012 23:42:27 +0000 (23:42 +0000)]
[NTOSKRNL]: Implement support for session pool (not yet enabled) and session space (implemented and enabled, but nobody is calling the APIs yet).
[NTOSKRNL]: Implement MmMapViewOInSessionSpace, MmUnmapViewInSessionSpace. Win32k needs to use these to we can test them.

svn path=/trunk/; revision=56906

11 years ago[CMAKE]
Amine Khaldi [Sun, 15 Jul 2012 22:16:44 +0000 (22:16 +0000)]
[CMAKE]
* Generate the dbg files next to the binary files.

svn path=/trunk/; revision=56905

11 years ago[USERENV]
Eric Kohl [Sun, 15 Jul 2012 21:23:22 +0000 (21:23 +0000)]
[USERENV]
Implement stubs for userenv.dll.
Patch by Hermes Belusca.

See issue #7184 for more details.

svn path=/trunk/; revision=56904

11 years ago[FREELDR]
Timo Kreuzer [Sun, 15 Jul 2012 21:18:43 +0000 (21:18 +0000)]
[FREELDR]
Don't set the ebp register when doing INTs. We only need the output after the int and since the REGS structure is usually not fully initialized before calling Int386, we would load random values. This can cause crashes on VPC.
Thanks to hbelusca fo testing.

svn path=/trunk/; revision=56903

11 years agoSAMLIB: Implement SamQueryInformatioGroup and SamSetInformationGroup.
Eric Kohl [Sun, 15 Jul 2012 19:17:19 +0000 (19:17 +0000)]
SAMLIB: Implement SamQueryInformatioGroup and SamSetInformationGroup.
SAMSRV: Implement SamrQueryInformatioGroup and SamrSetInformationGroup.

svn path=/trunk/; revision=56901

11 years ago[SERVICES]
Eric Kohl [Sun, 15 Jul 2012 18:27:29 +0000 (18:27 +0000)]
[SERVICES]
Implement check for SERVICE_WIN32_OWN_PROCESS or SERVICE_WIN32_SHARE_PROCESS type.
Patch by Hermes Belusca.

See issue #7179 for more details.

svn path=/trunk/; revision=56900

11 years ago[FONTVIEW]
Pierre Schweitzer [Sun, 15 Jul 2012 15:13:19 +0000 (15:13 +0000)]
[FONTVIEW]
Update French translation.
Patch by Hermès Belusca - Maito

See issue #6803 for more details.

svn path=/trunk/; revision=56899

11 years ago[FONTVIEW]
Timo Kreuzer [Sun, 15 Jul 2012 14:25:19 +0000 (14:25 +0000)]
[FONTVIEW]
- When no file name is passed on the command line, open a file-open-dialog
- Halfplement printing
- Replace Quit button with install button
- Patch by milawynsrealm <spaceseel at gmail got com>
See issue #6803 for more details.

svn path=/trunk/; revision=56898

11 years ago[COMDLG32]
Timo Kreuzer [Sun, 15 Jul 2012 14:16:52 +0000 (14:16 +0000)]
[COMDLG32]
- Don't modify a dialog template resource directly, instead make a copy of it.
- Should be sent to wine (bug #7189)

[BROWSEUI]
- Remove useless diff file.

svn path=/trunk/; revision=56897

11 years agoSAMLIB: Implement SamCreateGroupInDoamin and SamOpenGroup.
Eric Kohl [Sun, 15 Jul 2012 13:35:40 +0000 (13:35 +0000)]
SAMLIB: Implement SamCreateGroupInDoamin and SamOpenGroup.
SAMSRV: Implement SamrCreateGroupInDomain and SamrOpenGroup.

svn path=/trunk/; revision=56896

11 years ago[NTOSKRNL]: Kill deprecated code.
Alex Ionescu [Sun, 15 Jul 2012 13:09:20 +0000 (13:09 +0000)]
[NTOSKRNL]: Kill deprecated code.

svn path=/trunk/; revision=56895

11 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 15 Jul 2012 12:39:46 +0000 (12:39 +0000)]
[NTOSKRNL]
Add amd64 version of MmIsDisabledPage

svn path=/trunk/; revision=56894

11 years ago[CMLIB]
Aleksey Bragin [Sat, 14 Jul 2012 20:38:38 +0000 (20:38 +0000)]
[CMLIB]
- Revert 56884, as Timo says 3 is a correct value for this structure.

svn path=/trunk/; revision=56893

11 years ago[CMAKE]
Amine Khaldi [Sat, 14 Jul 2012 16:15:59 +0000 (16:15 +0000)]
[CMAKE]
* Don't make the cab generation in the default build.

svn path=/trunk/; revision=56892

11 years ago[WINHTTP]
Thomas Faber [Sat, 14 Jul 2012 16:13:51 +0000 (16:13 +0000)]
[WINHTTP]
- Sync to Wine 1.5.4
- Fïx warnings
See issue #7186 for more details.

svn path=/trunk/; revision=56891

11 years ago[WINHTTP_WINETEST]
Thomas Faber [Sat, 14 Jul 2012 16:03:58 +0000 (16:03 +0000)]
[WINHTTP_WINETEST]
- Sync to Wine 1.5.4

svn path=/trunk/; revision=56890

11 years ago[BOOTCD]
Amine Khaldi [Sat, 14 Jul 2012 14:08:37 +0000 (14:08 +0000)]
[BOOTCD]
* Convert the cab generation into a custom command + custom target.

svn path=/trunk/; revision=56889

11 years ago[EXPLORER_NEW]
Aleksey Bragin [Sat, 14 Jul 2012 12:02:19 +0000 (12:02 +0000)]
[EXPLORER_NEW]
- Fix possible buffer overflow: ExpandEnvironmentStrings wants character count size of a buffer, not byte sized. Spotted by Thomas Faber.
See issue #6053 for more details.

svn path=/trunk/; revision=56888

11 years ago[EXPLORER_NEW]
Aleksey Bragin [Sat, 14 Jul 2012 11:54:07 +0000 (11:54 +0000)]
[EXPLORER_NEW]
- Revert r56865, it duplicates same action (expanding the var), spotted by Thomas Faber.
See issue #6053 for more details.

svn path=/trunk/; revision=56887

11 years ago[WS2_32_NEW]
Aleksey Bragin [Sat, 14 Jul 2012 11:44:26 +0000 (11:44 +0000)]
[WS2_32_NEW]
- Fix uninitialized variable usage warning, based on a patch by Edijs Kolesnikovics.
See issue #6828 for more details.

svn path=/trunk/; revision=56886

11 years ago[WUAPI]
Thomas Faber [Sat, 14 Jul 2012 11:30:50 +0000 (11:30 +0000)]
[WUAPI]
- Add missing interface registration

svn path=/trunk/; revision=56885

11 years ago[CMLIB]
Aleksey Bragin [Sat, 14 Jul 2012 10:57:16 +0000 (10:57 +0000)]
[CMLIB]
- Hermes Belusca: Fix wrong definition of CMHIVE structure (defined only 3 FileHandles when 4 is needed).
See issue #7162 for more details.

svn path=/trunk/; revision=56884

11 years ago[WIN32SS]
Amine Khaldi [Sat, 14 Jul 2012 09:31:24 +0000 (09:31 +0000)]
[WIN32SS]
* Remove some unused-but-set variables.

svn path=/trunk/; revision=56883

11 years ago[UNIATA]
Amine Khaldi [Sat, 14 Jul 2012 09:21:40 +0000 (09:21 +0000)]
[UNIATA]
* Improve the way DDKAPI, DDKCDECLAPI and DDKFASTAPI are defined. With that we don't need ReactOS specific defines anymore.
* Already sent upstream.

svn path=/trunk/; revision=56882

11 years ago[GCC-INTRINSICS]
Jérôme Gardou [Fri, 13 Jul 2012 14:51:46 +0000 (14:51 +0000)]
[GCC-INTRINSICS]
 * Use GCC intrinsics for InterlockedIncrement/Decrement functions

svn path=/trunk/; revision=56881

11 years ago[WINTRUST]
Thomas Faber [Fri, 13 Jul 2012 09:27:45 +0000 (09:27 +0000)]
[WINTRUST]
- Do not delay-import imagehlp. Fixes crash in wintrust:crypt
See issue #7171 for more details.

svn path=/trunk/; revision=56880

11 years ago[WINTRUST]
Thomas Faber [Fri, 13 Jul 2012 08:19:36 +0000 (08:19 +0000)]
[WINTRUST]
- Sync to Wine 1.5.4

svn path=/trunk/; revision=56879

11 years ago[WINTRUST_WINETEST]
Thomas Faber [Fri, 13 Jul 2012 07:43:41 +0000 (07:43 +0000)]
[WINTRUST_WINETEST]
- Sync to Wine 1.5.4
- Fix MSVC build. Already applied upstream.

svn path=/trunk/; revision=56878

11 years ago[ADVAPI32][USER32][ROSSYM_NEW]
Thomas Faber [Thu, 12 Jul 2012 19:48:30 +0000 (19:48 +0000)]
[ADVAPI32][USER32][ROSSYM_NEW]
- Fix misuse of RtlCreateUnicodeStringFromAsciiz

svn path=/trunk/; revision=56877

11 years ago[REGEDIT]
Thomas Faber [Thu, 12 Jul 2012 19:10:48 +0000 (19:10 +0000)]
[REGEDIT]
- Use COUNT_OF where appropriate. Miscellaneous code cleanup. Patch by Hermès Bélusca
See issue #7182 for more details.

svn path=/trunk/; revision=56876

11 years ago[WIN32K]
Jérôme Gardou [Thu, 12 Jul 2012 17:00:39 +0000 (17:00 +0000)]
[WIN32K]
 * When cleaning DC, also "clean" the associated brushes
Fixes some asserts hit with Baldur's Gate launcher

svn path=/trunk/; revision=56875

11 years ago[NTDLL]
Jérôme Gardou [Thu, 12 Jul 2012 14:55:53 +0000 (14:55 +0000)]
[NTDLL]
 * Fix Cookie for loader locking generation
Silences "LdrUnlockLoaderLock() called with an invalid cookie!" debug messages

svn path=/trunk/; revision=56874

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 12 Jul 2012 14:06:34 +0000 (14:06 +0000)]
[OPENGL32]
 * Track pixel format with window handle for device contexts
 * Fix SetPixelFormat in case pixel format were already set

svn path=/trunk/; revision=56873

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 12 Jul 2012 11:39:23 +0000 (11:39 +0000)]
[OPENGL32]
 * Use the TEB instead of TLS to store the thread curent context

svn path=/trunk/; revision=56872

11 years ago[OPENGL32]
Jérôme Gardou [Thu, 12 Jul 2012 00:34:09 +0000 (00:34 +0000)]
[OPENGL32]
- fix wine tests a bit

svn path=/trunk/; revision=56871

11 years ago[UNIATA]
Aleksey Bragin [Wed, 11 Jul 2012 23:34:55 +0000 (23:34 +0000)]
[UNIATA]
- Update Uniata to 41b5. Thanks to Alter for the great driver and Olaf Siejka for preparing the patch, getting our changes upstream and testing the updated version.
See issue #7148 for more details.

svn path=/trunk/; revision=56870

11 years ago[REGEDIT]
Thomas Faber [Wed, 11 Jul 2012 23:04:41 +0000 (23:04 +0000)]
[REGEDIT]
- Implement Import/Export of hive files. Patch by Hermes Belusca (German translation by me)
See issue #7180 for more details.

svn path=/trunk/; revision=56869

11 years ago[REGEDIT]
Thomas Faber [Wed, 11 Jul 2012 21:49:43 +0000 (21:49 +0000)]
[REGEDIT]
- Apply the "Refresh" command to the ListView in addition to the TreeView
- Use COUNT_OF where applicable; miscellaneous readability and consistency fixes
- Space fixes in resource files; French translation fixes
- Patch by Hermes Belusca
See issue #7180 for more details.

svn path=/trunk/; revision=56868

11 years ago[NTDLL_WINETEST]
Thomas Faber [Wed, 11 Jul 2012 07:38:36 +0000 (07:38 +0000)]
[NTDLL_WINETEST]
- Add test for RtlIpv4StringToAddress. Already applied upstream.

svn path=/trunk/; revision=56867

11 years ago[NTDLL_WINETEST]
Thomas Faber [Wed, 11 Jul 2012 07:04:50 +0000 (07:04 +0000)]
[NTDLL_WINETEST]
- Sync to Wine 1.5.4
- Reverts r55730 (Skip an obviously nonsensical test of trying to sprintf into NULL)

svn path=/trunk/; revision=56866

11 years ago[EXPLORER]
Aleksey Bragin [Tue, 10 Jul 2012 22:48:23 +0000 (22:48 +0000)]
[EXPLORER]
- Edijs Kolesnikovics: Expand environment strings during processing startup items in HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Run.
See issue #6053 for more details.

svn path=/trunk/; revision=56865

11 years ago[User32]
James Tabor [Tue, 10 Jul 2012 22:40:59 +0000 (22:40 +0000)]
[User32]
- Fixing graphics glitches when clicking the arrow button. See bug 4251.

svn path=/trunk/; revision=56864

11 years ago[SCSIPORT]
Aleksey Bragin [Tue, 10 Jul 2012 20:58:34 +0000 (20:58 +0000)]
[SCSIPORT]
- Don't stop enumerating functions of a PCI device if current function returned invalid vendor id. Also add a check for returned data size. This fixes detection of some storage controllers, e.g. Intel ICH8, ICH9, ICH10 chipsets.
Thanks to Alter (UniATA author) for finding the problem and providing solution.
See issue #7147 for more details.

svn path=/trunk/; revision=56863

11 years ago[USER32_APITEST]
Thomas Faber [Tue, 10 Jul 2012 08:07:44 +0000 (08:07 +0000)]
[USER32_APITEST]
- Handle some wsprintf-specific cases in the CRT sprintf test

svn path=/trunk/; revision=56862

11 years ago[SERVICES]
Eric Kohl [Sun, 8 Jul 2012 23:08:19 +0000 (23:08 +0000)]
[SERVICES]
Correct comments and code error introduced in rev 56844.
Patch by Hermes Belusca.

I used a helper variable to determine whether or not ScmDeleteNamedPipeCriticalSection must be called. Changing the order in which functions are called could cause a deadlock.

See issue #7172 for more details.

svn path=/trunk/; revision=56861

11 years ago[FREELDR]
Timo Kreuzer [Sun, 8 Jul 2012 22:06:23 +0000 (22:06 +0000)]
[FREELDR]
Allocate the ARC_DISK_SIGNATURE structures from the heap instead of putting them into the initial loader block allocation, since the number of disks changes later. Fixes memory corrruption and boot breakage when 3 hdds are connected.

[NTOSKRNL]
Remove a hack that disabled unloading drivers, which didn't work because of memory corruption from freeldr. This works now, too.

See issue #7139 for more details.

svn path=/trunk/; revision=56860

11 years ago[CMAKE]
Timo Kreuzer [Sun, 8 Jul 2012 19:59:33 +0000 (19:59 +0000)]
[CMAKE]
Globally disable SSE when compiling with VS 11 or newer.

See issue #7174 for more details.

svn path=/trunk/; revision=56859

11 years ago[CMD]
Aleksey Bragin [Sun, 8 Jul 2012 19:43:25 +0000 (19:43 +0000)]
[CMD]
- Fix missing new line in the timer command results. Spotted by Mikael Lyngvig.
See issue #7140 for more details.

svn path=/trunk/; revision=56858

11 years ago[FREELDR]
Timo Kreuzer [Sun, 8 Jul 2012 18:45:34 +0000 (18:45 +0000)]
[FREELDR]
- Make sure freeldr is not compiled with SSE instructions (default for VS 11+)
- Print trap number and instruction stream on bugcheck
- Fix assembly code for ML

svn path=/trunk/; revision=56857

11 years ago[CMAKE]
Timo Kreuzer [Sun, 8 Jul 2012 18:40:24 +0000 (18:40 +0000)]
[CMAKE]
Fix MSVC+Ninja support, sync some stuff from the original cmake file

svn path=/trunk/; revision=56856

11 years ago[CMD]
Timo Kreuzer [Sun, 8 Jul 2012 16:16:53 +0000 (16:16 +0000)]
[CMD]
Fix typos

svn path=/trunk/; revision=56855

11 years ago[CMD]
Timo Kreuzer [Sun, 8 Jul 2012 16:06:24 +0000 (16:06 +0000)]
[CMD]
Fix build with VS 2012

svn path=/trunk/; revision=56854

11 years ago[SMSS]
Thomas Faber [Sun, 8 Jul 2012 16:04:39 +0000 (16:04 +0000)]
[SMSS]
- Fix an NTSTATUS vs boolean issue
- Fix an MSVC warning

svn path=/trunk/; revision=56853

11 years ago[SERVICES]
Eric Kohl [Sun, 8 Jul 2012 15:39:14 +0000 (15:39 +0000)]
[SERVICES]
Implement LoadUserProfileA and DeleteProfileA.
Patch by Hermes Belusca.

See issue #7163 for more details.

svn path=/trunk/; revision=56852

11 years ago[FREELDR]
Timo Kreuzer [Sun, 8 Jul 2012 15:33:53 +0000 (15:33 +0000)]
[FREELDR]
Add code to dump amd64 cpu state. Add a bugcheck function.

svn path=/trunk/; revision=56851

11 years ago[SAMSRV]
Eric Kohl [Sun, 8 Jul 2012 09:33:35 +0000 (09:33 +0000)]
[SAMSRV]
- Implement SampGetObjectAttributeString to retrieve the size of a string, allocate a buffer and retrieve the string from the registry.
- Use SampGetObjectAttributeString to retrieve string attributes in SamrQueryInformationXxx functions.
- Add most missing cases to SamrQueryInformationUser.
- Fix a type mismatch in ntsam.h.

svn path=/trunk/; revision=56850

11 years ago[KERNEL32]
Aleksey Bragin [Sat, 7 Jul 2012 23:02:14 +0000 (23:02 +0000)]
[KERNEL32]
- Wine doesn't prepend \registry\ to any registry path, which is wrong. Fix that.
- Bring back previous implementation of GetGeoInfo & co.
- Fix GEO_OFFICIALLANGUAGES in the headers.
- Thanks to Kamil Hornicek and Samuel Serapion for finding the problem and creating patches.
See issue #6595 for more details.

svn path=/trunk/; revision=56849

11 years ago[SERVICES]
Eric Kohl [Sat, 7 Jul 2012 18:17:59 +0000 (18:17 +0000)]
[SERVICES]
First step to support control sets.

svn path=/trunk/; revision=56848

11 years ago[SERVICES]
Eric Kohl [Sat, 7 Jul 2012 17:47:25 +0000 (17:47 +0000)]
[SERVICES]
Use Unicode functions instead of generic ones and replace all TEXT macros too.

svn path=/trunk/; revision=56847

11 years ago[SERVICES]
Eric Kohl [Sat, 7 Jul 2012 15:45:37 +0000 (15:45 +0000)]
[SERVICES]
Fix the copyright message.
Hermès Bélusca is the owner of this file!

svn path=/trunk/; revision=56846

11 years ago[SERVICES]
Eric Kohl [Sat, 7 Jul 2012 15:39:34 +0000 (15:39 +0000)]
[SERVICES]
Fix the build.

svn path=/trunk/; revision=56845

11 years ago[SERVICES]
Eric Kohl [Sat, 7 Jul 2012 15:35:40 +0000 (15:35 +0000)]
[SERVICES]
Implement service database locking via RLockServiceDatabase / RUnlockServiceDatabase etc... and use this functionality.
Patch by Hermès Bélusca.

I did not rename the database lock functions because the functions names RLockServiceDatabase and RUnlockServiceDatabase are misleading. They do not lock any database but lock the service start function. The existing functions ScmLockDatabaseExclusive, ScmLockDatabaseShared and ScmUnlockDatabase do protect (lock) the service database (service, group and image lists) form concurrent access. That is also the reason for renaming the SC_LOCK_STRUCT to START_LOCK.

See issue #7131 for more details.

svn path=/trunk/; revision=56844

11 years ago[USERENV]
Thomas Faber [Sat, 7 Jul 2012 10:11:21 +0000 (10:11 +0000)]
[USERENV]
- Simplify AcquireRemoveRestorePrivilege. Improve clean-up & acquire privilege before unloading hive in CreateUserProfileW. Patch by Hermes Belusca
See issue #7160 for more details.

svn path=/trunk/; revision=56843

11 years ago- Fix MSC build.
James Tabor [Thu, 5 Jul 2012 22:35:06 +0000 (22:35 +0000)]
- Fix MSC build.

svn path=/trunk/; revision=56842

11 years ago[User32]
James Tabor [Thu, 5 Jul 2012 22:17:32 +0000 (22:17 +0000)]
[User32]
- Use zap command when ending dialogs. Check keyboard perfs and cues before sending change GUI states.

svn path=/trunk/; revision=56841

11 years ago- Fix build.
James Tabor [Thu, 5 Jul 2012 22:10:03 +0000 (22:10 +0000)]
- Fix build.

svn path=/trunk/; revision=56840

11 years ago[Win32SS]
James Tabor [Thu, 5 Jul 2012 22:04:47 +0000 (22:04 +0000)]
[Win32SS]
- Paint updates and signaling flags.
- WIP: Implement WM_SYNCPAINT support, for synchronize painting to the top-level windows of other threads.
- Tested with wine tests and passes,
  http://www.winehq.org/pipermail/wine-patches/2012-June/114714.html
  http://www.winehq.org/pipermail/wine-patches/2012-June/114715.html

svn path=/trunk/; revision=56839

11 years ago[User32]
James Tabor [Thu, 5 Jul 2012 21:39:21 +0000 (21:39 +0000)]
[User32]
- Sync up with wine NCActivate.

svn path=/trunk/; revision=56838

11 years ago[User32]
James Tabor [Thu, 5 Jul 2012 21:34:16 +0000 (21:34 +0000)]
[User32]
- Add support for LB_GETLISTBOXINFO and LBS_NODATA. Fix unknown wide char in draw.c.

svn path=/trunk/; revision=56837

11 years ago[Win32k]
James Tabor [Thu, 5 Jul 2012 21:30:23 +0000 (21:30 +0000)]
[Win32k]
- Move window check to the API interface.

svn path=/trunk/; revision=56836

11 years ago[REGEDIT]
Thomas Faber [Thu, 5 Jul 2012 20:47:18 +0000 (20:47 +0000)]
[REGEDIT]
- Improve permission acquirement for loading/unloading hives. Patch by Hermes Belusca
See issue #7159 for more details.

svn path=/trunk/; revision=56835

11 years ago[Win32k]
James Tabor [Thu, 5 Jul 2012 19:14:21 +0000 (19:14 +0000)]
[Win32k]
- Add keyboard cue and combo list box signing.

svn path=/trunk/; revision=56834

11 years ago[Win32SS]
James Tabor [Wed, 4 Jul 2012 23:16:17 +0000 (23:16 +0000)]
[Win32SS]
- Add callback to find character set information.

svn path=/trunk/; revision=56833

11 years ago[Win32k]
James Tabor [Wed, 4 Jul 2012 22:59:27 +0000 (22:59 +0000)]
[Win32k]
- Fix assert with WinSnap. Added support functions to be used later.

svn path=/trunk/; revision=56832

11 years ago[Win32k]
James Tabor [Wed, 4 Jul 2012 22:51:16 +0000 (22:51 +0000)]
[Win32k]
- Add zap active and focus call. Fix comments.

svn path=/trunk/; revision=56831

11 years ago[Win32k]
James Tabor [Wed, 4 Jul 2012 22:47:55 +0000 (22:47 +0000)]
[Win32k]
- Fix debug and a spurious error during WinPos related tests.

svn path=/trunk/; revision=56830

11 years ago[Gdi32]
James Tabor [Wed, 4 Jul 2012 22:44:52 +0000 (22:44 +0000)]
[Gdi32]
- Implement support for TCI_SRCLOCALE.

svn path=/trunk/; revision=56829

11 years ago[WS2_32_APITEST]
Thomas Faber [Wed, 4 Jul 2012 20:05:43 +0000 (20:05 +0000)]
[WS2_32_APITEST]
- Gracefully handle uninitialized data in WSAStartup test

svn path=/trunk/; revision=56828

11 years ago[CRT]
Timo Kreuzer [Wed, 4 Jul 2012 18:58:09 +0000 (18:58 +0000)]
[CRT]
Fix a bug in streamout() causing "%.*s" to crash when the buffer was not zero terminaed. Found by Thomas Faber.

svn path=/trunk/; revision=56827