reactos.git
12 years ago[SMSS]
Eric Kohl [Sat, 24 Sep 2011 15:12:52 +0000 (15:12 +0000)]
[SMSS]
Fix wrong behavior of the "native applications startup at boot time" feature in SMSS.

Modifications:
- Added missing buffer allocation checks.
- Check for presence of default path.
- Minor clean-ups.
- Fix bad indentation/coding style.

Original patch by Hermès BÉLUSCA.
See issue #6180 for more details.

svn path=/trunk/; revision=53839

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 14:22:13 +0000 (14:22 +0000)]
[NTOSKRNL]
- Cleanup amd64 mm.h header
- Call MiScanMemoryDescriptors earlier, since it doesn't depend on anything except the loader block.
- MiComputeColorInformation() and the calculation of the pfn database size are portable, so move them out of MiInitMachineDependent

svn path=/trunk/; revision=53838

12 years ago[FREELDR]
Dmitry Gorbachev [Sat, 24 Sep 2011 13:39:14 +0000 (13:39 +0000)]
[FREELDR]
Compare with constants of right type.

svn path=/trunk/; revision=53837

12 years ago[User32]
Dmitry Gorbachev [Sat, 24 Sep 2011 13:37:24 +0000 (13:37 +0000)]
[User32]
Check return value of DIB_GetBitmapInfo.

svn path=/trunk/; revision=53836

12 years ago[user32_apitest]
Giannis Adamopoulos [Sat, 24 Sep 2011 12:22:21 +0000 (12:22 +0000)]
[user32_apitest]
- Add one more small test for WM_SYSTIMER

svn path=/trunk/; revision=53835

12 years agoanother try to fix cmake build
Kamil Hornicek [Sat, 24 Sep 2011 12:16:04 +0000 (12:16 +0000)]
another try to fix cmake build

svn path=/trunk/; revision=53834

12 years ago[ACPI]
Cameron Gutman [Sat, 24 Sep 2011 12:05:43 +0000 (12:05 +0000)]
[ACPI]
- Reduce debug spam
- Report critical initialization failure

svn path=/trunk/; revision=53833

12 years ago[user32_apitest.exe]
Giannis Adamopoulos [Sat, 24 Sep 2011 12:05:14 +0000 (12:05 +0000)]
[user32_apitest.exe]
- Fix gcc build

svn path=/trunk/; revision=53832

12 years ago[HAL]
Cameron Gutman [Sat, 24 Sep 2011 12:01:48 +0000 (12:01 +0000)]
[HAL]
- Report table lookup failures
- Report supported ACPI version

svn path=/trunk/; revision=53831

12 years ago[user32_apitest]
Giannis Adamopoulos [Sat, 24 Sep 2011 11:55:19 +0000 (11:55 +0000)]
[user32_apitest]
- Implement logging post messages or winevents
- For SetActiveWindow test, also test the parameters of WM_WINDOWPOSCHANGING and WM_WINDOWPOSCHANGED messages
- For TrackMouseEvent test, also test the WM_SYSTIMER that is possible to be logged now

svn path=/trunk/; revision=53830

12 years ago[undocuser.h]
Giannis Adamopoulos [Sat, 24 Sep 2011 11:51:45 +0000 (11:51 +0000)]
[undocuser.h]
- Add a definition for TrackMouseEvent timer

svn path=/trunk/; revision=53829

12 years agofix the cmake build?
Kamil Hornicek [Sat, 24 Sep 2011 11:47:17 +0000 (11:47 +0000)]
fix the cmake build?

svn path=/trunk/; revision=53828

12 years ago[NTOSKRNL/AMD64]
Timo Kreuzer [Sat, 24 Sep 2011 11:46:20 +0000 (11:46 +0000)]
[NTOSKRNL/AMD64]
Cleanup amd64 specific code

svn path=/trunk/; revision=53827

12 years agoAdd the Diskpart utility by Lee Schroeder (milawynsrealm).
Eric Kohl [Sat, 24 Sep 2011 10:33:33 +0000 (10:33 +0000)]
Add the Diskpart utility by Lee Schroeder (milawynsrealm).
The following modifications were made:
- Removed the help texts because they were copied from Windows Diskpart.
- Used a single string resource per help text.
- Used only Unicode strings and Unicode string functions.
- Replaced the giant if-statement in the command dispatcher in interpreter.c by a command-table and a little loop.
- Improved the command-line parser. Argument count and argument vector are passed to the command and help functions for easy evaluation.
- Moved the help function for commands into the command specific file.

TODO:
- Implement all commands as the utility is only an empty frame.
- Add help texts.
- Translate help texts.
See issue #6402 for more details.

svn path=/trunk/; revision=53826

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 08:52:26 +0000 (08:52 +0000)]
[NTOSKRNL]
- Session space address layout is architecture specific, move its initialization into MiInitializeSesseionSpaceLayout() in architecture specific file
- Use dedicated constants for setting MmSystemRangeStart, MmUserProbeAddress and MmHighestUserAddress isnetad of making assumptions.

svn path=/trunk/; revision=53825

12 years ago[WPP]
Rafal Harabien [Sat, 24 Sep 2011 07:58:49 +0000 (07:58 +0000)]
[WPP]
- Sync to Wine 1.3.29 to fix a warning

svn path=/trunk/; revision=53824

12 years ago[KERNEL32]
Pierre Schweitzer [Sat, 24 Sep 2011 07:51:21 +0000 (07:51 +0000)]
[KERNEL32]
Simplify overcomplicated function CreateHardlinkW(), and SEHify it.

svn path=/trunk/; revision=53823

12 years ago[NTOSKRNL]
Timo Kreuzer [Sat, 24 Sep 2011 00:12:58 +0000 (00:12 +0000)]
[NTOSKRNL]
Add MiScanMemoryDescriptors, that combines the work of MiPagesInLoaderBlock, the loop in MmInitializeMemoryLimits and the loop in MiInitMachineDependent.

svn path=/trunk/; revision=53822

12 years ago[SHELL32_WINETEST]
Amine Khaldi [Fri, 23 Sep 2011 23:14:50 +0000 (23:14 +0000)]
[SHELL32_WINETEST]
* Sync to Wine 1.3.29.

svn path=/trunk/; revision=53821

12 years ago[PSDK]
Amine Khaldi [Fri, 23 Sep 2011 23:12:53 +0000 (23:12 +0000)]
[PSDK]
* Bring-in some idl changes from Wine. These changes (and the related changes below) are to allow us to sync shell32 tests to Wine 1.3.29.
[UUID]
* CLSID_TaskbarList is no longer needed in here.
[ACTXPRXY]
* Sync with Wine 1.3.29.

svn path=/trunk/; revision=53820

12 years ago[NTOSKRNL]
Timo Kreuzer [Fri, 23 Sep 2011 22:24:11 +0000 (22:24 +0000)]
[NTOSKRNL]
Converting MmLargeStackSize from registry setting to byte value is portable code, move it out of MiInitMachineDependent

svn path=/trunk/; revision=53819

12 years ago[FREELDR]
Timo Kreuzer [Fri, 23 Sep 2011 20:09:54 +0000 (20:09 +0000)]
[FREELDR]
- Use TYPE_OF_MEMORY from the beginning instead of MEMORY_TYPE and later converting it.
- Disable tracing, accidentally comitted in previous revision

svn path=/trunk/; revision=53818

12 years ago[LSASRV]
Eric Kohl [Fri, 23 Sep 2011 18:24:33 +0000 (18:24 +0000)]
[LSASRV]
Initialize required policy attributes when the LSA database is created. This fixes the hanging lsa winetest.

svn path=/trunk/; revision=53817

12 years ago[FREELDR]
Timo Kreuzer [Fri, 23 Sep 2011 17:35:45 +0000 (17:35 +0000)]
[FREELDR]
Fix some bugs in the code that deals with memory descriptors:
ArcGetMemoryDescriptor was enumerating the bios generated entries first and then the static entries. The latter were conflicting with the former and took precedence when initializing the page lookup table. The problem was, that MmFindLocationForPageLookupTable would use the highest range of pages available. If that range would be conflicting with a following static descriptor, the static would have been ignored. It only worked because on x86 the highest bios descriptor has enough free pages, before it conflicts with a static entry (page 0xfff, marked as unusable), so that the page lookup table could be created.

MmGetAddressablePageCountIncludingHoles enumerated all memory descriptors to find MmLowestPhysicalPage, but it was only counting FreeMemory, thus skipping all other memory ranges. This only worked, due to the previous bug, so that the bios pages shown first took precedence over the following static descriptors. Without the former bug MmLowestPhysicalPage would be 0x100 which would tigger in the next bug:
MmAreMemoryPagesAvailable took the passed address range and looked up all pages in the lookup table to see whether all are free. Now the function didn't check, whether the passed address was below MmLowestPhysicalPage and in case it was, happily accessed the memory below the lookup table. This would result in hal being loaded at 0x40000 overwriting the loader itself.

This is all fixe by implementing a new way of creating the memory map. First there is a static memory map, which has enough free entries to add dynamic ranges. Then AddMemoryDescriptor will allow you to add a new range,
while the already existing ranges will take precedence and the new ranges will be properly split and inserted, so that the resulting map does not contain any overlapping regions and is sorted from low to high pages. The static memory descriptor exists in the architecture specific file.
The code that enumerates the bios information now uses this function to add the ranges on top of the static descriptor.
More cleanup work to follow.

svn path=/trunk/; revision=53816

12 years ago[user32_apitest]
Giannis Adamopoulos [Fri, 23 Sep 2011 16:04:17 +0000 (16:04 +0000)]
[user32_apitest]
- add back showing the index of the message when comparing massage logs

svn path=/trunk/; revision=53815

12 years ago[user32_apitest]
Giannis Adamopoulos [Fri, 23 Sep 2011 14:19:40 +0000 (14:19 +0000)]
[user32_apitest]
- Fix build with gcc

svn path=/trunk/; revision=53814

12 years ago[user32_apitest]
Giannis Adamopoulos [Fri, 23 Sep 2011 14:09:30 +0000 (14:09 +0000)]
[user32_apitest]
- Simplify compare_cache and make it show more meaningful results

svn path=/trunk/; revision=53813

12 years ago[user32_apitest.rbuild]
Giannis Adamopoulos [Fri, 23 Sep 2011 12:05:40 +0000 (12:05 +0000)]
[user32_apitest.rbuild]
- Move shared code used to log window messages in helper.c
- Implement logging hooks
- Fix comparing the logged messages to show the correct line of the test
- Add tests for hooks in TrackMouseEvent test

svn path=/trunk/; revision=53812

12 years ago[user32_apitest]
Giannis Adamopoulos [Fri, 23 Sep 2011 11:45:44 +0000 (11:45 +0000)]
[user32_apitest]
- Fix white spaces

svn path=/trunk/; revision=53811

12 years ago[KMTESTS/MM]
Thomas Faber [Fri, 23 Sep 2011 11:43:02 +0000 (11:43 +0000)]
[KMTESTS/MM]
- Extend MmSection test to include passing different files and mapping a view

svn path=/trunk/; revision=53810

12 years ago[DDK/PSDK]
Thomas Faber [Fri, 23 Sep 2011 11:24:15 +0000 (11:24 +0000)]
[DDK/PSDK]
- Fix several typos. Patch by Elton Chung (elton328 at gmail dot com). Slight compatibility fix by me
- Add missing NTSYSAPI to some externs
- remove Se*DefaultDacl externs from ntifs, as they don't belong there, and are already correctly found in ndk/setypes.h

svn path=/trunk/; revision=53809

12 years ago[LSASRV]
Eric Kohl [Fri, 23 Sep 2011 10:01:22 +0000 (10:01 +0000)]
[LSASRV]
Implement the PolicyPrimaryDomainInformation and PolicyAccountDomainInformation cases of LsarQueryInformationPolicy.

svn path=/trunk/; revision=53808

12 years ago[LSASRV]
Timo Kreuzer [Fri, 23 Sep 2011 09:44:25 +0000 (09:44 +0000)]
[LSASRV]
Change some stubs to real exports in the spec file, since the functions exist. Fixes MSVC build

svn path=/trunk/; revision=53807

12 years ago[HAL]
Cameron Gutman [Thu, 22 Sep 2011 21:23:09 +0000 (21:23 +0000)]
[HAL]
- Revert part of r53788 (MAXIMUM_IDTVECTOR is a valid vector number)
- The buffer overrun in the IDT code was already fixed by r53420

svn path=/trunk/; revision=53806

12 years ago[TRANSLATION]
Olaf Siejka [Thu, 22 Sep 2011 19:06:29 +0000 (19:06 +0000)]
[TRANSLATION]
- Multimodule translation and UTF-8 conversion to Portugese Brazilian. Patch by mkbu95. Minor fixes by me;
See issue #6467 for more details.

svn path=/trunk/; revision=53805

12 years agoCzech localization (base/applications): UTF-8 conversion cleanup, fixed typos, transl...
Kamil Hornicek [Thu, 22 Sep 2011 17:18:26 +0000 (17:18 +0000)]
Czech localization (base/applications): UTF-8 conversion cleanup, fixed typos, translated some more English strings.

svn path=/trunk/; revision=53804

12 years ago[FREELDR]
Timo Kreuzer [Thu, 22 Sep 2011 16:38:54 +0000 (16:38 +0000)]
[FREELDR]
- Fix a bug, where the bios memory map could have a bogus entry: according to R.B.'s Interrupt list, in some bioses the function for enumerating the memory can return ebx != 0 for the last descriptor, and fail in the following call returning CF = 1. In that case we were previously counting that last descriptor as well, but its content wouldn't describe a valid memory region.
- Use a static buffer for the bios memory map, stored in the achitecture specific file and return a pointer to that variable from PcMemGetMemoryMap. Reuse the static map from DetectAcpiBios instead of enumerating again. On arm, we don't even need a buffer, we return the pointer from the arm block.

svn path=/trunk/; revision=53803

12 years ago[NTDLL]
Aleksey Bragin [Thu, 22 Sep 2011 08:45:05 +0000 (08:45 +0000)]
[NTDLL]
- Remove useless code. Spotted by Pierre.

svn path=/trunk/; revision=53802

12 years ago[FREELDR]
Timo Kreuzer [Thu, 22 Sep 2011 07:52:51 +0000 (07:52 +0000)]
[FREELDR]
- Move heap code out of mm.c into a seperate file mm/heap.c
- Move code from arcemul/mm.c into mm/mminit.c

svn path=/trunk/; revision=53801

12 years ago[Desk|User32|UXTheme]
Dmitry Gorbachev [Thu, 22 Sep 2011 06:09:11 +0000 (06:09 +0000)]
[Desk|User32|UXTheme]
Silence GCC 4.6 "variable 'foo' set but not used [-Werror=unused-but-set-variable]" warnings/errors.

svn path=/trunk/; revision=53800

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Thu, 22 Sep 2011 06:08:35 +0000 (06:08 +0000)]
[NTOSKRNL]
Do not fail with unknown CPUs. Bug #6493.

svn path=/trunk/; revision=53799

12 years ago[FREELDR]
Dmitry Gorbachev [Thu, 22 Sep 2011 06:06:51 +0000 (06:06 +0000)]
[FREELDR]
Put uninitialized/zero-initialized data into .bss. Fill it with 0s at startup.

svn path=/trunk/; revision=53798

12 years ago[FREELDR]
Timo Kreuzer [Wed, 21 Sep 2011 23:02:24 +0000 (23:02 +0000)]
[FREELDR]
Patch by Brian Palmer:
Fix problems that could occur, when the BIOS returns memory regions that are not page aligned, by fixing up the bios memory map before using it.

svn path=/trunk/; revision=53797

12 years ago[FREELDR]
Timo Kreuzer [Wed, 21 Sep 2011 21:48:44 +0000 (21:48 +0000)]
[FREELDR]
Patch by Brian Palmer:
Properly handle a memory hole below 16MB, which some machines have.

svn path=/trunk/; revision=53796

12 years ago[SYSSETUP]
Pierre Schweitzer [Wed, 21 Sep 2011 21:17:15 +0000 (21:17 +0000)]
[SYSSETUP]
Fix build

svn path=/trunk/; revision=53795

12 years ago[SYSSETUP]
Eric Kohl [Wed, 21 Sep 2011 20:53:46 +0000 (20:53 +0000)]
[SYSSETUP]
Set the account domain name.

svn path=/trunk/; revision=53794

12 years ago[NTDLL]
Pierre Schweitzer [Wed, 21 Sep 2011 19:37:15 +0000 (19:37 +0000)]
[NTDLL]
Fix broken if condition

svn path=/trunk/; revision=53793

12 years ago[EVENTLOG]
Pierre Schweitzer [Wed, 21 Sep 2011 19:26:57 +0000 (19:26 +0000)]
[EVENTLOG]
Fix broken if condition

svn path=/trunk/; revision=53792

12 years ago[KERNEL32]
Pierre Schweitzer [Wed, 21 Sep 2011 17:13:28 +0000 (17:13 +0000)]
[KERNEL32]
Fix buffer overrun

svn path=/trunk/; revision=53791

12 years ago[DHCPSVC]
Jérôme Gardou [Wed, 21 Sep 2011 17:11:00 +0000 (17:11 +0000)]
[DHCPSVC]
- fix const usage

svn path=/trunk/; revision=53790

12 years ago[HAL/x86]
Pierre Schweitzer [Wed, 21 Sep 2011 16:15:16 +0000 (16:15 +0000)]
[HAL/x86]
Completely fix one of the overruns

svn path=/trunk/; revision=53789

12 years ago[HAL/x86]
Pierre Schweitzer [Wed, 21 Sep 2011 16:10:32 +0000 (16:10 +0000)]
[HAL/x86]
Fix buffer overruns

svn path=/trunk/; revision=53788

12 years ago[user32_apitest]
Giannis Adamopoulos [Wed, 21 Sep 2011 12:30:22 +0000 (12:30 +0000)]
[user32_apitest]
- Add some tests for TrackMouseEvent

svn path=/trunk/; revision=53787

12 years ago[DHCPCSVC]
Pierre Schweitzer [Wed, 21 Sep 2011 11:26:55 +0000 (11:26 +0000)]
[DHCPCSVC]
Fix passing a 860B struct by value

svn path=/trunk/; revision=53786

12 years ago[KMTESTS/MM]
Thomas Faber [Wed, 21 Sep 2011 10:35:33 +0000 (10:35 +0000)]
[KMTESTS/MM]
- Add some tests for MmCreateSection involving file objects

svn path=/trunk/; revision=53785

12 years ago[NTOSKRNL]
Pierre Schweitzer [Wed, 21 Sep 2011 09:11:42 +0000 (09:11 +0000)]
[NTOSKRNL]
Fix FstubFixupEfiPartition()
Add helper macro SET_PARTITION_LENGTH()

svn path=/trunk/; revision=53784

12 years ago[LSA]
Eric Kohl [Tue, 20 Sep 2011 23:15:51 +0000 (23:15 +0000)]
[LSA]
- Implement the LSA object database.
- Implement the information classes PolicyPrimaryDomainInformation and PolicyAccountDomainInformation of LsarSetInformationPolicy().

svn path=/trunk/; revision=53783

12 years ago[CRT]
Pierre Schweitzer [Tue, 20 Sep 2011 21:44:22 +0000 (21:44 +0000)]
[CRT]
Rewritten _tfullpath(). This:
- Fixes memory leak
- Fixes null pointer use
- Adds missing features
- Sets errno

svn path=/trunk/; revision=53782

12 years ago[NTDLL/LDR]
Aleksey Bragin [Tue, 20 Sep 2011 21:04:33 +0000 (21:04 +0000)]
[NTDLL/LDR]
- Properly wrap potentially unsafe buffer usage into SEH. Spotted by Pierre.

svn path=/trunk/; revision=53781

12 years ago[TRANSLATION]
Olaf Siejka [Tue, 20 Sep 2011 20:45:31 +0000 (20:45 +0000)]
[TRANSLATION]
- Massive Romanian translation patch by Stefan Fulea. See bugs 6468 and 6478;

svn path=/trunk/; revision=53780

12 years agoSync the recent changes from the themes merge to all languages, sync all the settings...
Daniel Reimer [Tue, 20 Sep 2011 20:43:42 +0000 (20:43 +0000)]
Sync the recent changes from the themes merge to all languages, sync all the settings from the english rc file to all other languages. Fix some sizes and lengths

svn path=/trunk/; revision=53779

12 years ago[win32k]
Giannis Adamopoulos [Tue, 20 Sep 2011 19:41:33 +0000 (19:41 +0000)]
[win32k]
- Replace long file headers with short headers
- Minor cleanup

svn path=/trunk/; revision=53778

12 years ago[win32k]
Giannis Adamopoulos [Tue, 20 Sep 2011 18:04:14 +0000 (18:04 +0000)]
[win32k]
- move function definitions from c files to headers

svn path=/trunk/; revision=53777

12 years ago[RTL]
Timo Kreuzer [Tue, 20 Sep 2011 17:33:51 +0000 (17:33 +0000)]
[RTL]
- Remove qsort, its already in crt.
- Fix a number of MSVC/64 bit issues

svn path=/trunk/; revision=53776

12 years ago[win32k]
Giannis Adamopoulos [Tue, 20 Sep 2011 15:21:29 +0000 (15:21 +0000)]
[win32k]
- Remove a defined but not used definition of POINT_IN_RECT

svn path=/trunk/; revision=53775

12 years ago[SYSSETUP]
Pierre Schweitzer [Tue, 20 Sep 2011 14:21:21 +0000 (14:21 +0000)]
[SYSSETUP]
Fix broken logic in CreateShortcut() and add an explicit overall

svn path=/trunk/; revision=53774

12 years ago[uxtheme]
Giannis Adamopoulos [Tue, 20 Sep 2011 13:55:35 +0000 (13:55 +0000)]
[uxtheme]
- Fix double includes

svn path=/trunk/; revision=53773

12 years ago[KERNEL32]
Pierre Schweitzer [Tue, 20 Sep 2011 13:53:25 +0000 (13:53 +0000)]
[KERNEL32]
Fix wrong sizeof usage

svn path=/trunk/; revision=53772

12 years ago[uxtheme]
Giannis Adamopoulos [Tue, 20 Sep 2011 13:08:36 +0000 (13:08 +0000)]
[uxtheme]
- Use precompiled headers

svn path=/trunk/; revision=53771

12 years ago[OBJ2BIN]
Pierre Schweitzer [Tue, 20 Sep 2011 12:29:47 +0000 (12:29 +0000)]
[OBJ2BIN]
- Fix memory leaks
- Fix resources leaks
- Fix wrong if statement

svn path=/trunk/; revision=53770

12 years ago[MKHIVE]
Pierre Schweitzer [Tue, 20 Sep 2011 12:28:23 +0000 (12:28 +0000)]
[MKHIVE]
Fix memory leak

svn path=/trunk/; revision=53769

12 years ago[LOG2LINES]
Pierre Schweitzer [Tue, 20 Sep 2011 12:27:50 +0000 (12:27 +0000)]
[LOG2LINES]
Fix memory leak

svn path=/trunk/; revision=53768

12 years ago[GENINC]
Pierre Schweitzer [Tue, 20 Sep 2011 12:24:57 +0000 (12:24 +0000)]
[GENINC]
Fix resources leak

svn path=/trunk/; revision=53767

12 years ago[PEFIXUP]
Pierre Schweitzer [Tue, 20 Sep 2011 12:10:28 +0000 (12:10 +0000)]
[PEFIXUP]
Fix resources leak

svn path=/trunk/; revision=53766

12 years ago[FREELDR]
Dmitry Gorbachev [Tue, 20 Sep 2011 08:50:38 +0000 (08:50 +0000)]
[FREELDR]
Fix loading with GRUB (CMake builds).

svn path=/trunk/; revision=53765

12 years ago[RTL]
Timo Kreuzer [Mon, 19 Sep 2011 19:31:21 +0000 (19:31 +0000)]
[RTL]
- Fix a number of MSVC/64 bit warnings/problems
- Fix return type of RtlpInitializeHeapSegment (by Roel)

svn path=/trunk/; revision=53764

12 years ago[RGENSTAT]
Pierre Schweitzer [Mon, 19 Sep 2011 17:24:27 +0000 (17:24 +0000)]
[RGENSTAT]
Fix memory leaks

svn path=/trunk/; revision=53763

12 years ago[REGTESTS2XML]
Pierre Schweitzer [Mon, 19 Sep 2011 17:24:01 +0000 (17:24 +0000)]
[REGTESTS2XML]
Fix memory leaks

svn path=/trunk/; revision=53762

12 years ago[NTOSKRNL]
Roel Messiant [Mon, 19 Sep 2011 16:52:37 +0000 (16:52 +0000)]
[NTOSKRNL]
- Keep APC delivery disabled while holding a Heap Lock, not just while acquiring/releasing it (Dedicated to Timo and Ged).
- Store the Heap Lock in non-paged pool, the only place where executive resources belong (Dedicated to patient people).
[RTL]
- Restructure/simplify/correct Heap and Heap Segment initialization (partially to cope with the changed Heap Lock interface).
- Restrict the location of Heap Segment headers to the base address of the Heap Segment (which frees up a whopping 60 bytes per Heap!).
- Cater for acquiring the Heap Lock exclusively or shared (the latter is only available in kernel-mode); only exclusive locking is used for now.
- Use a plain critical section to guard the Process Heap list, no reason to disguise it as a Heap Lock (saves us a handful more bytes).

svn path=/trunk/; revision=53761

12 years ago[NTDLL]
Timo Kreuzer [Mon, 19 Sep 2011 16:24:18 +0000 (16:24 +0000)]
[NTDLL]
Fix CsrProbeForRead and CsrProbeForWrite to actually access the memory, by using volatile. The compiler optimized the access away previously.

svn path=/trunk/; revision=53760

12 years agoFix more unused-but-set warnings.
Dmitry Gorbachev [Mon, 19 Sep 2011 14:41:04 +0000 (14:41 +0000)]
Fix more unused-but-set warnings.

svn path=/trunk/; revision=53759

12 years agoadd the themes service to boot cd
Giannis Adamopoulos [Mon, 19 Sep 2011 14:05:44 +0000 (14:05 +0000)]
add the themes service to boot cd

svn path=/trunk/; revision=53758

12 years ago[thmsvc]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:45:22 +0000 (13:45 +0000)]
[thmsvc]
- Attempt to fix cmake build

svn path=/trunk/; revision=53757

12 years ago[desk.cpl]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:39:05 +0000 (13:39 +0000)]
[desk.cpl]
- try to fix cmake build

svn path=/trunk/; revision=53756

12 years ago[thmsvc]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:31:39 +0000 (13:31 +0000)]
[thmsvc]
- Add the themes service from the themes branch

svn path=/trunk/; revision=53755

12 years ago[uxundoc.h]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:29:10 +0000 (13:29 +0000)]
[uxundoc.h]
- Add a couple of definitions that I forgot to add

svn path=/trunk/; revision=53754

12 years ago[desk.cpl]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:24:48 +0000 (13:24 +0000)]
[desk.cpl]
- revert unintended change

svn path=/trunk/; revision=53753

12 years ago[desk.cpl]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:18:33 +0000 (13:18 +0000)]
[desk.cpl]
- Merge from themes branch

svn path=/trunk/; revision=53752

12 years ago[comctl32]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:11:35 +0000 (13:11 +0000)]
[comctl32]
- Merge from the themes branch
- Partly sync themed button handling with wine

svn path=/trunk/; revision=53751

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 19 Sep 2011 13:07:03 +0000 (13:07 +0000)]
[uxtheme]
- Fix a warning

svn path=/trunk/; revision=53750

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 19 Sep 2011 12:58:24 +0000 (12:58 +0000)]
[uxtheme]
- Try to fix build on linux

svn path=/trunk/; revision=53749

12 years ago[uxtheme]
Giannis Adamopoulos [Mon, 19 Sep 2011 12:51:42 +0000 (12:51 +0000)]
[uxtheme]
- Merge from the themes branch

svn path=/trunk/; revision=53748

12 years ago[user32]
Giannis Adamopoulos [Mon, 19 Sep 2011 12:43:44 +0000 (12:43 +0000)]
[user32]
- Merge from the themes branch

svn path=/trunk/; revision=53747

12 years ago[RTL]
Timo Kreuzer [Mon, 19 Sep 2011 11:09:09 +0000 (11:09 +0000)]
[RTL]
- Fix a number of MSVC/amd64 warnings/problems
- Remove code duplication in RtlCharToInteger and RtlUnicodeStringToInteger
- Fixup too large string length in RtlInitAnsiString, RtlInitUnicodeString
- Use symbolic constants instead of hardcoded values
- Fix overflow check in RtlInitUnicodeStringEx

svn path=/trunk/; revision=53746

12 years ago[win32k]
Giannis Adamopoulos [Mon, 19 Sep 2011 08:32:38 +0000 (08:32 +0000)]
[win32k]
- Merge changes from the themes branch. These changes will introduce test regressions for class functions and for TrackMouseEvent. The changes in the class functions are needed in order to let comctl32 register its own versions of built in controls. This is a hack and will be removed when we properly support class versions. The second change that causes test regressions is in TrackMouseEvent and it is needed in order to fix WM_MOUSELEAVE messages that were completely broken and not tested at all by wine's test suite.

svn path=/trunk/; revision=53745

12 years ago[ROUTE]
Pierre Schweitzer [Mon, 19 Sep 2011 07:55:26 +0000 (07:55 +0000)]
[ROUTE]
Fix memory leaks

svn path=/trunk/; revision=53744

12 years ago[HPP]
Pierre Schweitzer [Mon, 19 Sep 2011 07:30:02 +0000 (07:30 +0000)]
[HPP]
Fix memory leak

svn path=/trunk/; revision=53743

12 years ago[SPEC2DEF]
Pierre Schweitzer [Mon, 19 Sep 2011 07:29:36 +0000 (07:29 +0000)]
[SPEC2DEF]
Fix resources leak

svn path=/trunk/; revision=53742

12 years ago[STUBGEN]
Pierre Schweitzer [Mon, 19 Sep 2011 07:28:51 +0000 (07:28 +0000)]
[STUBGEN]
Fix resources leak

svn path=/trunk/; revision=53741

12 years ago[NDK]
Eric Kohl [Sun, 18 Sep 2011 23:59:06 +0000 (23:59 +0000)]
[NDK]
Add the missing RtlpNt-Registry functions and move RtlpNtOpenKey into the NTOS_MODE_USER section.

svn path=/trunk/; revision=53740