Commit graph

48479 commits

Author SHA1 Message Date
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
Thomas Faber 2fca6b111a [KMTESTS]
- MmSection: properly clean up on failure
- Some more x64 build fixing

svn path=/trunk/; revision=53712
2011-09-15 16:49:22 +00:00
Timo Kreuzer 8f6cfb2651 [HAL/APIC]
- Fix some stuff that gcc complains about. It doesn't like to use static data in non-static inline functions for some unknown reason.
- Implement support for level triggered interrupts, when using lazy irql

svn path=/trunk/; revision=53711
2011-09-15 11:34:21 +00:00
Timo Kreuzer b7e45abc51 [FREELDR]
- Improve List_PaToVa, making the code cleaner
- Dereference LoaderBlock->Extension only after WinLdrSetProcessorContext, since its in kernel address space

svn path=/trunk/; revision=53710
2011-09-15 11:27:27 +00:00
Timo Kreuzer 00502b9642 [FREELDR/HAL/NDK]
- Move some shared constants (HYPERSPACE_BASE, MM_HAL_VA_START, APIC_BASE) to NDK to avoid duplicating them, also fix wrong values for amd64
- Map the hal address space in amd64 freeldr
- Fix use of uninitialized variable (HighPart of PHYSICAL_ADDRESS) in HalpAcpiCopyBiosTable
- Fix some MSVC and amd64 warnings

svn path=/trunk/; revision=53709
2011-09-15 10:46:02 +00:00
Timo Kreuzer 679d1e828c [GDI32]
Improve GdiAllocBatchCommand formatting and fix MSVC warnings

svn path=/trunk/; revision=53708
2011-09-15 10:12:20 +00:00
Timo Kreuzer 19b8dfac16 [NTOSKRNL]
- Fix MSVC warning about signed/unsigned comparison.

svn path=/trunk/; revision=53707
2011-09-14 14:01:41 +00:00
Timo Kreuzer 16c957463f [SHELL32]
A DialogProc returns INT_PTR, not BOOL

svn path=/trunk/; revision=53706
2011-09-14 06:28:11 +00:00
Timo Kreuzer 57b01f1a06 [PSDK]
Use CHAR instead of char in STRRET structure (as documented in MSDN). Fixes compilation of shell32 with MSVC.

svn path=/trunk/; revision=53705
2011-09-13 21:20:46 +00:00
Timo Kreuzer a6a01dd912 [HAL]
Fix amd64 build

svn path=/trunk/; revision=53704
2011-09-13 14:44:47 +00:00
Timo Kreuzer ca9e3a9c67 [NTOSKRNL]
Fix a DPRINT

svn path=/trunk/; revision=53703
2011-09-13 13:28:49 +00:00
Amine Khaldi 3a93089ba7 [SHELL32]
* Merge r53700. Point 3 in bug 6481 was fixed by fixing the parser (at line 414) to use only ',' as the delimiter, to match Windows behavior.

svn path=/trunk/; revision=53702
2011-09-13 13:13:35 +00:00
Timo Kreuzer 744be47dde [NTOSKRNL]
Cleanup amd64/ke.h a bit, add KiUserTrap()

svn path=/trunk/; revision=53701
2011-09-13 13:12:38 +00:00
Timo Kreuzer 611d62ecb0 [NTOSKRNL]
Move x86 specific file trap_x.h into include/internal/i386

svn path=/trunk/; revision=53699
2011-09-13 12:53:50 +00:00