Commit graph

48292 commits

Author SHA1 Message Date
Pierre Schweitzer 0d3839a28a [REGTESTS2XML]
Fix memory leaks

svn path=/trunk/; revision=53762
2011-09-19 17:24:01 +00:00
Roel Messiant 2e6e9dd622 [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
2011-09-19 16:52:37 +00:00
Timo Kreuzer cf0a380afd [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
2011-09-19 16:24:18 +00:00
Dmitry Gorbachev a60242cfe7 Fix more unused-but-set warnings.
svn path=/trunk/; revision=53759
2011-09-19 14:41:04 +00:00
Giannis Adamopoulos 5732c93800 add the themes service to boot cd
svn path=/trunk/; revision=53758
2011-09-19 14:05:44 +00:00
Giannis Adamopoulos 851efd63da [thmsvc]
- Attempt to fix cmake build

svn path=/trunk/; revision=53757
2011-09-19 13:45:22 +00:00
Giannis Adamopoulos e11b55a338 [desk.cpl]
- try to fix cmake build

svn path=/trunk/; revision=53756
2011-09-19 13:39:05 +00:00
Giannis Adamopoulos f4dc6b4ddc [thmsvc]
- Add the themes service from the themes branch

svn path=/trunk/; revision=53755
2011-09-19 13:31:39 +00:00
Giannis Adamopoulos a46518c7b9 [uxundoc.h]
- Add a couple of definitions that I forgot to add

svn path=/trunk/; revision=53754
2011-09-19 13:29:10 +00:00
Giannis Adamopoulos e11560bf1b [desk.cpl]
- revert unintended change

svn path=/trunk/; revision=53753
2011-09-19 13:24:48 +00:00
Giannis Adamopoulos 22cbaa54ac [desk.cpl]
- Merge from themes branch

svn path=/trunk/; revision=53752
2011-09-19 13:18:33 +00:00
Giannis Adamopoulos 7af68227cb [comctl32]
- Merge from the themes branch
- Partly sync themed button handling with wine

svn path=/trunk/; revision=53751
2011-09-19 13:11:35 +00:00
Giannis Adamopoulos e3ee8d26e9 [uxtheme]
- Fix a warning

svn path=/trunk/; revision=53750
2011-09-19 13:07:03 +00:00
Giannis Adamopoulos 9bb964caeb [uxtheme]
- Try to fix build on linux

svn path=/trunk/; revision=53749
2011-09-19 12:58:24 +00:00
Giannis Adamopoulos 84ffa0b5f9 [uxtheme]
- Merge from the themes branch

svn path=/trunk/; revision=53748
2011-09-19 12:51:42 +00:00
Giannis Adamopoulos 2b6c22f611 [user32]
- Merge from the themes branch

svn path=/trunk/; revision=53747
2011-09-19 12:43:44 +00:00
Timo Kreuzer 080da6ec72 [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
2011-09-19 11:09:09 +00:00
Giannis Adamopoulos 06631cf0ea [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
2011-09-19 08:32:38 +00:00
Pierre Schweitzer b880e23623 [ROUTE]
Fix memory leaks

svn path=/trunk/; revision=53744
2011-09-19 07:55:26 +00:00
Pierre Schweitzer a92159c8ff [HPP]
Fix memory leak

svn path=/trunk/; revision=53743
2011-09-19 07:30:02 +00:00
Pierre Schweitzer a728acae67 [SPEC2DEF]
Fix resources leak

svn path=/trunk/; revision=53742
2011-09-19 07:29:36 +00:00
Pierre Schweitzer 0d50ae47fc [STUBGEN]
Fix resources leak

svn path=/trunk/; revision=53741
2011-09-19 07:28:51 +00:00
Eric Kohl a638c81564 [NDK]
Add the missing RtlpNt-Registry functions and move RtlpNtOpenKey into the NTOS_MODE_USER section.

svn path=/trunk/; revision=53740
2011-09-18 23:59:06 +00:00
Timo Kreuzer dcfe88feea [RTL]
Improve formatting, no code change

svn path=/trunk/; revision=53739
2011-09-18 22:15:37 +00:00
Timo Kreuzer b1ea943eac [NTOSKRNL]
Fix an accidental change. Fixes boot.

svn path=/trunk/; revision=53738
2011-09-18 20:56:44 +00:00
Giannis Adamopoulos 384a6e4299 [wingdi.h]
- merge one last header change from the themes branch

svn path=/trunk/; revision=53737
2011-09-18 16:51:28 +00:00
Timo Kreuzer ba2b3c872a [RTL]
Improve formatting, no code change

svn path=/trunk/; revision=53736
2011-09-18 15:10:05 +00:00
Giannis Adamopoulos ba37ccaf01 [headers]
- Begin merging from themes branch

svn path=/trunk/; revision=53735
2011-09-18 13:12:44 +00:00
Timo Kreuzer 87779aa572 [HAL/NDK]
- Make Vector parameter in HalEnableSystemInterrupt, HalDisableSystemInterrupt and HalBeginSystemInterrupt an ULONG, not an UCHAR
[NDK]
- 64bit fixes for HANDLE_TABLE, KPROCESS, SECTION_IMAGE_INFORMATION, MMADDRESS_LIST, MMVAD_FLAGS, MMVAD, MMVAD_LONG, MMVAD_SHORT, MEMORY_DESCRIPTOR, MEMORY_ALLOCATION_DESCRIPTOR, LdrVerifyMappedImageMatchesChecksum
- KDPC_DATA::DpcQueueDepth is signed on amd64, unsigned on x86
[NTOSKRNL]
- Fix hundreds of MSVC and amd64 warnings
- add a pragma message to FstubFixupEfiPartition, since it looks broken
- Move portable Ke constants from <arch>/cpu.c to krnlinit.c
- Fixed a bug in amd64 KiGeneralProtectionFaultHandler

svn path=/trunk/; revision=53734
2011-09-18 13:11:45 +00:00
Timo Kreuzer be62192d9e [NTOSKRNL]
- replace some AlignUp with ALIGN_UP_BY
- Fix several MSVC / amd64 warnings

svn path=/trunk/; revision=53733
2011-09-18 12:51:40 +00:00
Giannis Adamopoulos 922f076616 [win32k]
- Fix several issues detected by static code analysis

svn path=/trunk/; revision=53732
2011-09-18 12:33:38 +00:00
Pierre Schweitzer 81495a4e8f [CABMAN]
Leak less resources

svn path=/trunk/; revision=53731
2011-09-18 11:00:12 +00:00
Dmitry Gorbachev fef1e2d451 [CMAKE]
Allow to specify prefix/suffix for GCC and Binutils.

svn path=/trunk/; revision=53730
2011-09-18 00:57:17 +00:00
Roel Messiant 1a7296bb39 [NTOSKRNL]
Disable normal APC delivery while acquiring/releasing a heap lock. Also, BOOLEAN != NTSTATUS.


svn path=/trunk/; revision=53729
2011-09-17 20:26:31 +00:00
Timo Kreuzer 2a158fc63b [NTOSKRNL]
Fix formatting, no code change

svn path=/trunk/; revision=53728
2011-09-17 20:01:55 +00:00
Daniel Reimer 0dfa657dea Update rapps Database
svn path=/trunk/; revision=53727
2011-09-17 13:58:45 +00:00
Eric Kohl dd81be1f25 [RTL]
Fix the overly complicated and buggy implementation of RtlIsDosDeviceName_Ustr based on the simple pre-r52687 implementation of RtlIsDosDeviceName_U. This fixes 14(!) wine tests.

svn path=/trunk/; revision=53726
2011-09-17 00:55:02 +00:00
Eric Kohl b2908d6d6f [RTL]
RtlGenerate8dot3Name: Ignore spaces in long file names instead of converting them to underscores.
See issue #6385 for more details.

svn path=/trunk/; revision=53725
2011-09-16 20:53:16 +00:00
Timo Kreuzer 826d8dedae [NTOSKRNL/AMD64]
- Implement KiApcInterrupt, KiDpcInterrupt and KiIpiInterrupt stubs
- Improve and cleanup stubs.c

svn path=/trunk/; revision=53724
2011-09-16 18:39:55 +00:00
Timo Kreuzer 6c8a335788 [NTOSKRNL/AMD64]
- Update the trap code to use the new macros and cleanup a little

svn path=/trunk/; revision=53723
2011-09-16 17:47:32 +00:00
Aleksey Bragin b4b9d26324 [FASTFAT]
- Don't check for leading "." char in a filename, because it's valid in case of LFN. The driver is already quite broken, so it can't get more broken if this assert is commented out.
Fixes assertion in "kernel32_winetest module".

svn path=/trunk/; revision=53722
2011-09-16 13:42:04 +00:00
Jérôme Gardou 606aa872f2 [WIN32K]
- syscalls are stdcall

svn path=/trunk/; revision=53721
2011-09-16 13:18:40 +00:00
Timo Kreuzer 331009e07d [NTOSKRNL/AMD64]
- Fix KiGeneralProtectionFault
- Don't bugcheck in KiUnexpectedInterrupt
- Remove debugprint in KiEndInterrupt, and instead assert, its called from the clock interrupt, since thats the only instance we handle right now

svn path=/trunk/; revision=53720
2011-09-16 09:46:08 +00:00
Timo Kreuzer 4dfa3c52a3 [HAL/APIC/AMD64]
- add common amd64 asm trap macros
- fix amd64 version of HackEoi
- send EOI in amd64 trap exit code, so we avoid using HackEoi
- modify HalpClockInterruptHandler for better portability
- fix amd64 TscCalibrationISR

svn path=/trunk/; revision=53719
2011-09-16 09:39:41 +00:00
Jérôme Gardou 52d89c3b87 [SHELL32]
- it's right there, use quotes to include it

svn path=/trunk/; revision=53718
2011-09-15 21:46:59 +00:00
Jérôme Gardou d8452f344b [REACTOS]
- wait patiently for rbuild going to Valhalla

svn path=/trunk/; revision=53717
2011-09-15 21:26:32 +00:00
Jérôme Gardou 757ab6e8d4 [REACTOS]
- get version.h and buildno.h out of precompiled headers, to avoid rebuilding the whole module each time we reconfigure the build

svn path=/trunk/; revision=53716
2011-09-15 21:03:39 +00:00
Jérôme Gardou b434a6b048 [CMAKE]
- start documenting reactos specific stuff.
Feel free to complete it :-)

svn path=/trunk/; revision=53715
2011-09-15 20:14:34 +00:00
Timo Kreuzer 89b75ad8b7 [NTOSKRNL/AMD64]
- Add portable kernel initialization code for amd64 only.
- Modify amd64 init code accordingly

svn path=/trunk/; revision=53714
2011-09-15 19:32:13 +00:00
Timo Kreuzer 3e2fddbe19 [CRT]
- Implement MSVC versions of call_copy_ctor, call_dtor, continue_after_catch, __CxxFrameHandler
- Fix amd64 versions of _control87 and _statusfp
- Fix MSVC and amd64 warnings

svn path=/trunk/; revision=53713
2011-09-15 17:11:53 +00:00