reactos.git
12 years ago[DISKPART]
Eric Kohl [Mon, 26 Sep 2011 09:21:11 +0000 (09:21 +0000)]
[DISKPART]
Install diskpart.

svn path=/trunk/; revision=53860

12 years ago[NTOSKRNL]
Pierre Schweitzer [Mon, 26 Sep 2011 05:58:13 +0000 (05:58 +0000)]
[NTOSKRNL]
Fix FsRtlIs*InExpression() by (finally) implementing backtracking.
No regressions noticed regarding kmtest.
Also commented code.

svn path=/trunk/; revision=53859

12 years ago[KMTEST]
Pierre Schweitzer [Mon, 26 Sep 2011 05:51:39 +0000 (05:51 +0000)]
[KMTEST]
Add more tests for FsRtlIs*InExpression()
Those are currently failing on ReactOS

svn path=/trunk/; revision=53858

12 years ago[FREELDR]
Timo Kreuzer [Sun, 25 Sep 2011 19:19:50 +0000 (19:19 +0000)]
[FREELDR]
- Get rid of MmAllocateMemory, freeing about 1MB of low physical memory for the kernel
- verify that MmMarkPagesInLookupTable is not called with invalid page regions
- add maximum allocation to heap statistics

<long explanation>
There was a function called MmAllocateMemory, what was commented as "// Temporary forwarder..." since January 2008. This function allocated one page of memory and marked it as LoaderOsLoaderHeap. This function was used by the fat filesystem code (and linuxboot.c) which allocated and freed memory in small chunks all the time. Since MmFreeMemory() is not implemented at all (obviously someone removed it) we were allocating one full page for allocations as small as 8 bytes and never free them. This accumulated to a total of 240 pages, almost 1MB, split into into 14 chunks. This memory was never freed by the kernel (the kernel keeps the loader heap memory for some reason) and fragmented the low memory region.
Remove MmAllocateMemory completely and replace references in the fat code with MmHeapAlloc. The maximum heap usage after this was 184 KB, heap size is 4MB.
</long explanation>

svn path=/trunk/; revision=53857

12 years ago[ACTPRXY]
Amine Khaldi [Sun, 25 Sep 2011 16:28:58 +0000 (16:28 +0000)]
[ACTPRXY]
* Enclose midl-incompatible declarations as widl-only. Fixes actxprxy MSVC build.

svn path=/trunk/; revision=53856

12 years ago[user32_apitest]
Giannis Adamopoulos [Sun, 25 Sep 2011 16:05:09 +0000 (16:05 +0000)]
[user32_apitest]
- In TrackMouseEvent tests, use mouse_event function to move the mouse cause this causes low level hooks to be called and SetCursorPos doesn't
- Test low level mouse hooks for TrackMouseEvent
- Test ways to block WM_MOUSEHOVER and WM_MOUSELEAVE. This is useful to detect where each message is generated
- clean up the code a bit by adding FLUSH_MESSAGES macro that checks for expected message queue status and flushes the message queue

svn path=/trunk/; revision=53855

12 years ago[Explorer]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:02:29 +0000 (16:02 +0000)]
[Explorer]
Link with libmingw32.

svn path=/trunk/; revision=53854

12 years ago[NTOSKRNL]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:02:14 +0000 (16:02 +0000)]
[NTOSKRNL]
Disable mouse when reading from keyboard port.

svn path=/trunk/; revision=53853

12 years ago[PSDK]
Dmitry Gorbachev [Sun, 25 Sep 2011 16:01:44 +0000 (16:01 +0000)]
[PSDK]
Remove duplicate lines, noticed by sharpsighted forum people.

svn path=/trunk/; revision=53852

12 years ago[SYSDM] - Improve polish translation of virtual memory dialog
Rafal Harabien [Sun, 25 Sep 2011 12:15:01 +0000 (12:15 +0000)]
[SYSDM] - Improve polish translation of virtual memory dialog

svn path=/trunk/; revision=53851

12 years ago[SERVICES]
Eric Kohl [Sun, 25 Sep 2011 12:07:52 +0000 (12:07 +0000)]
[SERVICES]
- Silence debug messages.
- Fix typos.
- Add missing database locks.
- RControlService: Return ERROR_INVALID_PARAMETER on illegal control code.

svn path=/trunk/; revision=53850

12 years ago[SYSDM]
Rafal Harabien [Sun, 25 Sep 2011 11:29:45 +0000 (11:29 +0000)]
[SYSDM]
- Don't give UINT to printf if %I64u is used
- Minor improvements
See issue #6501 for more details.

svn path=/trunk/; revision=53849

12 years ago[FREELDR]
Rafal Harabien [Sun, 25 Sep 2011 11:07:27 +0000 (11:07 +0000)]
[FREELDR]
- Improve tracing
- Fix memory corruption caused by marking pages outside of page lookup table (when table is allocated only free pages was counted but MmMarkPagesInLookupTable was used for all types of memory like firmware). Fixes bugcheck in ACPI HAL which happened for me

svn path=/trunk/; revision=53848

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Sep 2011 09:16:10 +0000 (09:16 +0000)]
[NTOSKRNL]
- also disable "MTRR support detected but not yet taken advantage of"

svn path=/trunk/; revision=53847

12 years ago[NTOSKRNL]
Timo Kreuzer [Sun, 25 Sep 2011 09:12:26 +0000 (09:12 +0000)]
[NTOSKRNL]
- Undo disabling of systemcalls, which was disabled in r53646 for testing purpose.
- Sillence "Support for SYSENTER detected." debug print, since its the normal case, only keep the disabled and not present cases.
- Silence "xxx support detected but not yet taken advantage of" debug prints. CPU features are already reported and there is no point in printing every single feature we do not support.
- Invert if/else in KiRestoreFastSyscallReturnState

svn path=/trunk/; revision=53846

12 years ago- Commit forgotten file...
Rafal Harabien [Sat, 24 Sep 2011 20:01:04 +0000 (20:01 +0000)]
- Commit forgotten file...

svn path=/trunk/; revision=53845

12 years ago[MKHIVE] - Get all INF files from command line instead of using hardcoded names
Rafal Harabien [Sat, 24 Sep 2011 19:59:56 +0000 (19:59 +0000)]
[MKHIVE] - Get all INF files from command line instead of using hardcoded names
[CMAKE] - Use new mkhive syntax and fix livecd hives dependences
[RBUILD] - Use new mkhive syntax

svn path=/trunk/; revision=53844

12 years ago[BUGCODES]
Dmitry Gorbachev [Sat, 24 Sep 2011 18:13:57 +0000 (18:13 +0000)]
[BUGCODES]
Bug check code 0x5d is UNSUPPORTED_PROCESSOR.

[NTOSKRNL]
Use it.

svn path=/trunk/; revision=53843

12 years ago[BUGCODES]
Aleksey Bragin [Sat, 24 Sep 2011 17:33:54 +0000 (17:33 +0000)]
[BUGCODES]
- Add SPECIAL_POOL_DETECTED_MEMORY_CORRUPTION definition.

svn path=/trunk/; revision=53842

12 years ago[FREELDR]
Dmitry Gorbachev [Sat, 24 Sep 2011 17:25:29 +0000 (17:25 +0000)]
[FREELDR]
Add FREELDR_MEMORY_DESCRIPTOR structure using TYPE_OF_MEMORY instead of
MEMORY_TYPE. Use it in place of MEMORY_DESCRIPTOR. Undo r53837 changes.

svn path=/trunk/; revision=53841

12 years ago[FREELDR/SETUPLDR]
Amine Khaldi [Sat, 24 Sep 2011 16:08:37 +0000 (16:08 +0000)]
[FREELDR/SETUPLDR]
* Add _dbg versions of freeldr_pe and setupldr_pe per Dmitry's request. They retain debug info, and they're compiled on-demand (not included in the normal build).

svn path=/trunk/; revision=53840

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