Eric Kohl [Sat, 17 Sep 2011 00:55:02 +0000 (00:55 +0000)]
[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
Eric Kohl [Fri, 16 Sep 2011 20:53:16 +0000 (20:53 +0000)]
[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
Timo Kreuzer [Fri, 16 Sep 2011 18:39:55 +0000 (18:39 +0000)]
[NTOSKRNL/AMD64]
- Implement KiApcInterrupt, KiDpcInterrupt and KiIpiInterrupt stubs
- Improve and cleanup stubs.c
svn path=/trunk/; revision=53724
Timo Kreuzer [Fri, 16 Sep 2011 17:47:32 +0000 (17:47 +0000)]
[NTOSKRNL/AMD64]
- Update the trap code to use the new macros and cleanup a little
svn path=/trunk/; revision=53723
Aleksey Bragin [Fri, 16 Sep 2011 13:42:04 +0000 (13:42 +0000)]
[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
Jérôme Gardou [Fri, 16 Sep 2011 13:18:40 +0000 (13:18 +0000)]
[WIN32K]
- syscalls are stdcall
svn path=/trunk/; revision=53721
Timo Kreuzer [Fri, 16 Sep 2011 09:46:08 +0000 (09:46 +0000)]
[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
Timo Kreuzer [Fri, 16 Sep 2011 09:39:41 +0000 (09:39 +0000)]
[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
Jérôme Gardou [Thu, 15 Sep 2011 21:46:59 +0000 (21:46 +0000)]
[SHELL32]
- it's right there, use quotes to include it
svn path=/trunk/; revision=53718
Jérôme Gardou [Thu, 15 Sep 2011 21:26:32 +0000 (21:26 +0000)]
[REACTOS]
- wait patiently for rbuild going to Valhalla
svn path=/trunk/; revision=53717
Jérôme Gardou [Thu, 15 Sep 2011 21:03:39 +0000 (21:03 +0000)]
[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
Jérôme Gardou [Thu, 15 Sep 2011 20:14:34 +0000 (20:14 +0000)]
[CMAKE]
- start documenting reactos specific stuff.
Feel free to complete it :-)
svn path=/trunk/; revision=53715
Timo Kreuzer [Thu, 15 Sep 2011 19:32:13 +0000 (19:32 +0000)]
[NTOSKRNL/AMD64]
- Add portable kernel initialization code for amd64 only.
- Modify amd64 init code accordingly
svn path=/trunk/; revision=53714
Timo Kreuzer [Thu, 15 Sep 2011 17:11:53 +0000 (17:11 +0000)]
[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
Thomas Faber [Thu, 15 Sep 2011 16:49:22 +0000 (16:49 +0000)]
[KMTESTS]
- MmSection: properly clean up on failure
- Some more x64 build fixing
svn path=/trunk/; revision=53712
Timo Kreuzer [Thu, 15 Sep 2011 11:34:21 +0000 (11:34 +0000)]
[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
Timo Kreuzer [Thu, 15 Sep 2011 11:27:27 +0000 (11:27 +0000)]
[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
Timo Kreuzer [Thu, 15 Sep 2011 10:46:02 +0000 (10:46 +0000)]
[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
Timo Kreuzer [Thu, 15 Sep 2011 10:12:20 +0000 (10:12 +0000)]
[GDI32]
Improve GdiAllocBatchCommand formatting and fix MSVC warnings
svn path=/trunk/; revision=53708
Timo Kreuzer [Wed, 14 Sep 2011 14:01:41 +0000 (14:01 +0000)]
[NTOSKRNL]
- Fix MSVC warning about signed/unsigned comparison.
svn path=/trunk/; revision=53707
Timo Kreuzer [Wed, 14 Sep 2011 06:28:11 +0000 (06:28 +0000)]
[SHELL32]
A DialogProc returns INT_PTR, not BOOL
svn path=/trunk/; revision=53706
Timo Kreuzer [Tue, 13 Sep 2011 21:20:46 +0000 (21:20 +0000)]
[PSDK]
Use CHAR instead of char in STRRET structure (as documented in MSDN). Fixes compilation of shell32 with MSVC.
svn path=/trunk/; revision=53705
Timo Kreuzer [Tue, 13 Sep 2011 14:44:47 +0000 (14:44 +0000)]
[HAL]
Fix amd64 build
svn path=/trunk/; revision=53704
Timo Kreuzer [Tue, 13 Sep 2011 13:28:49 +0000 (13:28 +0000)]
[NTOSKRNL]
Fix a DPRINT
svn path=/trunk/; revision=53703
Amine Khaldi [Tue, 13 Sep 2011 13:13:35 +0000 (13:13 +0000)]
[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
Timo Kreuzer [Tue, 13 Sep 2011 13:12:38 +0000 (13:12 +0000)]
[NTOSKRNL]
Cleanup amd64/ke.h a bit, add KiUserTrap()
svn path=/trunk/; revision=53701
Timo Kreuzer [Tue, 13 Sep 2011 12:53:50 +0000 (12:53 +0000)]
[NTOSKRNL]
Move x86 specific file trap_x.h into include/internal/i386
svn path=/trunk/; revision=53699
Eric Kohl [Tue, 13 Sep 2011 09:42:25 +0000 (09:42 +0000)]
[MSGINA]
- Call NotifyBootConfigStatus after a user has been logged-on successfully.
- Implement WlxIsLogoffOk.
svn path=/trunk/; revision=53698
Eric Kohl [Tue, 13 Sep 2011 09:30:22 +0000 (09:30 +0000)]
[MSPORTS]
Implement device removal.
svn path=/trunk/; revision=53697
Eric Kohl [Mon, 12 Sep 2011 14:24:24 +0000 (14:24 +0000)]
[MSPORTS]
Implement ComDBResizeDatabase.
svn path=/trunk/; revision=53696
Timo Kreuzer [Mon, 12 Sep 2011 09:46:20 +0000 (09:46 +0000)]
[HAL]
Implement lazy irql for APIC. This is useful for VMs, since APIC usually has high overhead due to the need of invoking the hypervisor on every irql raise and lower. With lazy irql we avoid that until absolutely neccessary. Note that we misuse the PCR's IRR field to save the current hardware irql. Its a huge performance boost (some parts take half the time), making APIC performance close to PIC performance on VBox. This is something that Windows doesn't have :)
svn path=/trunk/; revision=53695
Cameron Gutman [Sun, 11 Sep 2011 17:26:01 +0000 (17:26 +0000)]
[NTOSKRNL]
- Create a volatile device tree during 1st stage so the new HAL that's loaded in 2nd stage can do proper enumeration without phantom devices from the old HAL
svn path=/trunk/; revision=53694
Amine Khaldi [Sun, 11 Sep 2011 16:56:56 +0000 (16:56 +0000)]
* Comment out some unused but set variables, remove some others.
* Allow warnings for some 3rd party code.
svn path=/trunk/; revision=53693
Cameron Gutman [Sun, 11 Sep 2011 15:40:01 +0000 (15:40 +0000)]
[SCSIPORT]
- Remove a duplicate assignment
svn path=/trunk/; revision=53692
Amine Khaldi [Sun, 11 Sep 2011 15:39:19 +0000 (15:39 +0000)]
* Comment out some unused but set variables, remove some others.
* Allow warnings for some 3rd party code.
svn path=/trunk/; revision=53691
Cameron Gutman [Sun, 11 Sep 2011 15:32:15 +0000 (15:32 +0000)]
[FREELOADER]
- Use a larger data type to iterate through the disk buffer to avoid an infinite loop with broken BIOSes
svn path=/trunk/; revision=53690
Cameron Gutman [Sun, 11 Sep 2011 15:17:48 +0000 (15:17 +0000)]
[WS2_32_NEW]
- Fix an error found by PVS Studio
[RAMDISK]
- Fix an error found by PVS Studio
svn path=/trunk/; revision=53689
Thomas Faber [Sun, 11 Sep 2011 11:47:28 +0000 (11:47 +0000)]
[NTOSKRNL][RTL][DOC]
- Fix incorrect loop boundaries in the ARM version of MmCreateProcessAddressSpace. Spotted by Vincenzo Cotugno and cppcheck
- Correct outdated wineimport.cmd URL in README.WINE
- Assorted spelling and readability fixes
svn path=/trunk/; revision=53688
Thomas Faber [Sun, 11 Sep 2011 11:22:00 +0000 (11:22 +0000)]
[KMTESTS]
- Add support for guarded allocations, that can be used to detect buffer overruns
- Add GuardedMemory example test
- Add MmSection test with some basic parameter checks for MmCreateSection
- Fix some x64 build problems
- Update readme
svn path=/trunk/; revision=53687
Eric Kohl [Sun, 11 Sep 2011 11:17:25 +0000 (11:17 +0000)]
[SERVICES]
- Add optional asynchronous io code for service control pipes. This is disabled by default due to bugs in NPFS.
- Read service pipe timeout value from the registry.
svn path=/trunk/; revision=53686
Timo Kreuzer [Sun, 11 Sep 2011 09:34:50 +0000 (09:34 +0000)]
[HAL]
- End the interrupt in HalpApcInterruptHandler and HalpDispatchInterruptHandler before calling the kernel, otherwise we would be stuck at high processor irql
- Improve HalEnableSystemInterrupt
- disable interrupts in HalpInitializeClock
=> APIC hal boots to desktop!
svn path=/trunk/; revision=53685
Timo Kreuzer [Sun, 11 Sep 2011 08:56:38 +0000 (08:56 +0000)]
[KDCOM]
Improve a debug print
svn path=/trunk/; revision=53684
Eric Kohl [Sun, 11 Sep 2011 08:52:59 +0000 (08:52 +0000)]
[MUP]
Disable debug output.
svn path=/trunk/; revision=53683
Amine Khaldi [Sun, 11 Sep 2011 00:44:13 +0000 (00:44 +0000)]
* Missed some assignments in debug.c.
* Add a dummy allow_warnings() for msvc build.
svn path=/trunk/; revision=53682
Amine Khaldi [Sun, 11 Sep 2011 00:40:20 +0000 (00:40 +0000)]
* Comment out some unused but set variables, remove some others.
svn path=/trunk/; revision=53681
Amine Khaldi [Sat, 10 Sep 2011 23:54:02 +0000 (23:54 +0000)]
* Fix some more unused but set variables.
* Allow warnings for some 3rd party code.
svn path=/trunk/; revision=53680
Timo Kreuzer [Sat, 10 Sep 2011 23:05:10 +0000 (23:05 +0000)]
[NTOSKRNL]
The handlers for unexpected interrupts that we generate from asm macros use a push instruction with an 8 bit operand to push the interrupt number on the stack. Now the 8 bit push has the unfortunate behaviour of sign extending to 32 bit. But since the assembler is smart (or at least thinks so) it will not generate such a push instruction for values larger than 0x7f. This resulted in 7 bytes long stubs in the range of 0x30 .. 0x7f and 10 bytes long stubs after that. To fix this 128 is substracted from the value and later readded in the common code path. A second issue arose, because the assembler would start to use 8 bit relative short jumps as soon as the target was less than 127 bytes away, which happened for some of the higher interrupts, which then had a smaller stub then the others. Fix this by moving the stubs up in the code further away from the target label, so that always 32bit relative jumps will be used. These problems didn't show up so far, since we used the PIC and interrupts in the range of 0x30 .. 0x40 and the code that relied on the stubs all having the same length was working well. This changes with an APIC based hal, where interrupts of much higher number are likely to be used.
svn path=/trunk/; revision=53679
Timo Kreuzer [Sat, 10 Sep 2011 21:56:07 +0000 (21:56 +0000)]
Fix build (oh how I hate this mini_hal thing)
svn path=/trunk/; revision=53677
Amine Khaldi [Sat, 10 Sep 2011 21:31:09 +0000 (21:31 +0000)]
* Fix some unused but set variables. Brought to you by gcc 4.6.1.
* Allow warnings for some 3rd party code.
svn path=/trunk/; revision=53676
Timo Kreuzer [Sat, 10 Sep 2011 18:58:01 +0000 (18:58 +0000)]
[HAL]
- Use a global variable HalpBuildType instead of a define when checking the BUILD (we don't recompile this code for SMP hal)
- Move registering IRQ2 out of the generic init code into HalInitializePICs
- Modify legacy HalpGetRootInterruptVector to use HalpIrqToVector and HalpVectorToIrql so it works with APIC, too
svn path=/trunk/; revision=53675
Thomas Faber [Sat, 10 Sep 2011 16:12:19 +0000 (16:12 +0000)]
[RBUILD]
- Add kmtests to the CD
svn path=/trunk/; revision=53674
Timo Kreuzer [Sat, 10 Sep 2011 15:55:15 +0000 (15:55 +0000)]
[HAL/APIC]
- Implement HalpApcInterruptHandler, fix HalpDispatchInterruptHandler
- Insert a read to the APIC version register in ApicGetCurrentIrql(). This fixes inconsistencies between the internal APIC state and register reads/writes.
- Remove old hacks in ApicGetCurrentIrql() and ApicSetCurrentIrql
- Fix HalpVectorToIrql()
- read/write cr8 for the value of the TPR on amd64 builds
- Fix amd64 build
svn path=/trunk/; revision=53673
Thomas Faber [Sat, 10 Sep 2011 14:45:47 +0000 (14:45 +0000)]
[KMTEST]
- Load the driver from the application directory, not the current directory
svn path=/trunk/; revision=53672
Thomas Faber [Sat, 10 Sep 2011 11:41:33 +0000 (11:41 +0000)]
[ROSTESTS]
- Merge the Kernel Mode Test Suite Google Summer of Code project
- Happy testing, everyone ;)
svn path=/trunk/; revision=53671
Thomas Faber [Sat, 10 Sep 2011 11:19:50 +0000 (11:19 +0000)]
[KMTESTS]
- Fix kmtest_.exe file naming in CMake
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53670
Thomas Faber [Sat, 10 Sep 2011 10:48:07 +0000 (10:48 +0000)]
[KMTESTS]
- Skip the remaining tests that result in assertions
- Hide KeProcessor test, as it takes very long
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53669
Thomas Faber [Sat, 10 Sep 2011 10:41:57 +0000 (10:41 +0000)]
[NTOSKRNL/OB]
- Do not bugcheck in ObpCloseHandle if the handle is -1. Powered by kmtests
svn path=/trunk/; revision=53668
Thomas Faber [Sat, 10 Sep 2011 10:38:43 +0000 (10:38 +0000)]
[KMTESTS/OB]
- ObReference: add better tests for closing invalid handles
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53667
Timo Kreuzer [Fri, 9 Sep 2011 21:10:07 +0000 (21:10 +0000)]
[HAL]
Add a hack to work around a bug in VBox: The APIC emulation requires an iret instruction following closely after writing the EOI register. Since we return from kernel mode traps with a jmp (yes you can return from an interrupt with a jmp!) the EOI is never triggered, making VBox believe we are still serving the interrupt and keeping the PPR on high level, preventing following interrupts. A small asm stub now does the work of both writing the EOI and doing an iret.
svn path=/trunk/; revision=53665
Ged Murphy [Fri, 9 Sep 2011 19:10:11 +0000 (19:10 +0000)]
[DEVMGMT]
Add the treeview and resize data. It now somewhat resembles an app.
svn path=/trunk/; revision=53664
Ged Murphy [Fri, 9 Sep 2011 18:52:52 +0000 (18:52 +0000)]
[DEVMGMT]
Some main window work.
svn path=/trunk/; revision=53663
Amine Khaldi [Fri, 9 Sep 2011 16:55:59 +0000 (16:55 +0000)]
[SHELL32]
* Merge r53661.
svn path=/trunk/; revision=53662
Rafal Harabien [Fri, 9 Sep 2011 16:17:02 +0000 (16:17 +0000)]
[WIN32K]
- Improve formating of input.c and keyboard.c
svn path=/trunk/; revision=53660
Rafal Harabien [Fri, 9 Sep 2011 16:08:09 +0000 (16:08 +0000)]
[WIN32K]
- Don't use magic type values for IntMapVirtualKeyEx calls
- Fix a typo in ERR
svn path=/trunk/; revision=53659
Timo Kreuzer [Fri, 9 Sep 2011 15:42:59 +0000 (15:42 +0000)]
[HAL]
- Add a hack to ApicGetCurrentIrql and ApicSetCurrentIrql to work around a VBox bug
- call KeSetTimeIncrement after initializing the rtc clock
- calculate TSC frequency from the samples
- Fix a bug in KeStallExecutionProcessor
svn path=/trunk/; revision=53658
Rafal Harabien [Fri, 9 Sep 2011 15:24:14 +0000 (15:24 +0000)]
[USER32]
- Fix ole32:clipboard winetest regression
svn path=/trunk/; revision=53657
Giannis Adamopoulos [Fri, 9 Sep 2011 14:13:04 +0000 (14:13 +0000)]
[undocuser.h]
- Move definition of UpdatePerUserSystemParameters to undocuser.h
svn path=/trunk/; revision=53656
Rafal Harabien [Fri, 9 Sep 2011 13:11:44 +0000 (13:11 +0000)]
[WIN32K]
- Rename gQueueKeyStateTable to gKeyStateTable as it has nothing to do with msg queues. They have their own table
- Use KS_*_BIT defines instead of magic values
svn path=/trunk/; revision=53655
Rafal Harabien [Fri, 9 Sep 2011 13:09:28 +0000 (13:09 +0000)]
[WIN32K]
- Rewrite co_IntTranslateAccelerator to make it readable
- Add back support for 0x80 flag as an accelerator table end
svn path=/trunk/; revision=53654
Amine Khaldi [Fri, 9 Sep 2011 10:55:09 +0000 (10:55 +0000)]
[SHELL32]
* Reintegrate the c++ shell32 branch. Exemplary team-work.. kudos !
* Better code quality, more tests run with less failures... and more.
* Dedicated to everyone who helped ;)
svn path=/trunk/; revision=53653
Claudiu Mihail [Thu, 8 Sep 2011 22:43:43 +0000 (22:43 +0000)]
[shell32.dll]
[FORMATTING]
- Second wave of formatting. At least now we won't have any tabs and spaces mixed in.
svn path=/branches/shell32_new-bringup/; revision=53651
Claudiu Mihail [Thu, 8 Sep 2011 22:42:01 +0000 (22:42 +0000)]
[shell32.dll]
- Fix bug 6336 of shell32_new. The bug was caused by not properly verifying the return value of ShellExecuteExW.
[FORMATTING]
- First wave of accidental formatting (sorry again about mixing code and formatting heh).
svn path=/branches/shell32_new-bringup/; revision=53650
Ged Murphy [Thu, 8 Sep 2011 22:04:51 +0000 (22:04 +0000)]
[DEVMGMT]
Add the resources
svn path=/trunk/; revision=53649
Ged Murphy [Thu, 8 Sep 2011 22:03:08 +0000 (22:03 +0000)]
[DEVMGMT]
- Start a new device manager to test the reactos ATL code.
- Also, the old one sucks big time and was quickly hacked together.
svn path=/trunk/; revision=53648
Dmitry Gorbachev [Thu, 8 Sep 2011 21:00:37 +0000 (21:00 +0000)]
[Telnet]
Fix build with GCC 4.7.
svn path=/trunk/; revision=53647
Jérôme Gardou [Thu, 8 Sep 2011 19:51:06 +0000 (19:51 +0000)]
[NTOSKRNL]
- disable fast system calls for testing purpose.
See issue #5857 for more details.
svn path=/trunk/; revision=53646
Rafal Harabien [Thu, 8 Sep 2011 16:38:38 +0000 (16:38 +0000)]
[WIN32K]
- Fix possible buffer overrun
- Use KEY_VALUE_PARTIAL_INFORMATION field instead of magic offset to data
svn path=/trunk/; revision=53645
Rafal Harabien [Thu, 8 Sep 2011 16:32:54 +0000 (16:32 +0000)]
[WIN32K]
- Rewrite clipboard to match Windows implementation
- Clipboard uses window stations instead of global variables
- Data is saved in clipboard data user objects
- Memory is no longer leaked when winsta is destroyed
- Data is synthesized on demand
- Make internal functions static
- Fix possible memory corruption in IntGetAtomName
- More winetests are passed
svn path=/trunk/; revision=53644
Giannis Adamopoulos [Thu, 8 Sep 2011 15:53:38 +0000 (15:53 +0000)]
[user32]
- Add some more tests for the messages that are sent by SetActiveWindow
svn path=/trunk/; revision=53643
Rafal Harabien [Thu, 8 Sep 2011 14:13:19 +0000 (14:13 +0000)]
[WIN32K]
- Simplify accelerators code a bit
- Set last error in NtUserCopyAcceleratorTable
- Fix user32:resource winetest regression
svn path=/trunk/; revision=53642
Claudiu Mihail [Thu, 8 Sep 2011 14:07:02 +0000 (14:07 +0000)]
[shell32.dll]
- Make sure the ParseDisplayName functions make the ppidle parameter NULL whenever that's possible. Scores a wine test. Spotted by Victor Martinez.
svn path=/branches/shell32_new-bringup/; revision=53641
Giannis Adamopoulos [Thu, 8 Sep 2011 11:31:31 +0000 (11:31 +0000)]
[user32_apitest]
- Add more tests for SetActiveWindow
svn path=/trunk/; revision=53640
Thomas Faber [Thu, 8 Sep 2011 10:44:26 +0000 (10:44 +0000)]
[KMTEST_OLD]
- Remove kmtest_old and kmtloader as all their functionality is included in the new test suite
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53639
Thomas Faber [Thu, 8 Sep 2011 10:28:02 +0000 (10:28 +0000)]
[KMTestSuite]
- Sync to rostests r53632
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53638
Thomas Faber [Thu, 8 Sep 2011 10:25:40 +0000 (10:25 +0000)]
[KMTESTS]
- Use new CMake macros in separate drivers, too
- Use kmtest_.exe filename for rbuild too
svn path=/branches/GSoC_2011/KMTestSuite/; revision=53637
Rafal Harabien [Thu, 8 Sep 2011 09:55:28 +0000 (09:55 +0000)]
[WIN32K]
- Fix user32:monitor winetest failures (ClipCursor bugs)
- Protect functions in accelerator.c with SEH
svn path=/trunk/; revision=53636
Aleksey Bragin [Thu, 8 Sep 2011 08:28:41 +0000 (08:28 +0000)]
- Downgrade some DPRINT1s to DPRINTs.
svn path=/trunk/; revision=53635
Timo Kreuzer [Thu, 8 Sep 2011 08:15:39 +0000 (08:15 +0000)]
[HAL]
- Fix I/O APIC register access
- set APIC logical id based on Cpu (currently flat model with up to 8 cpus supported)
- In HalpInitializeTsc, setup the RTC clock, since the timer is initialized later
- in the TSC calibration ISR, send EOI and read RTC register C to get the next interrupt
svn path=/trunk/; revision=53634
Claudiu Mihail [Wed, 7 Sep 2011 23:21:02 +0000 (23:21 +0000)]
[shell32.dll]
- Initialize uninitialized variables.
- Add code to guard against potential NULL pointer dereferencing.
Thanks to Amine Khaldi for pointing out all these.
svn path=/branches/shell32_new-bringup/; revision=53633
Giannis Adamopoulos [Wed, 7 Sep 2011 23:08:14 +0000 (23:08 +0000)]
[user32_apitest]
- Add some more tests hoping that SetActiveWindow will reveal its secrets
svn path=/trunk/; revision=53632
Timo Kreuzer [Wed, 7 Sep 2011 21:41:50 +0000 (21:41 +0000)]
[HAL]
- Don't use debug prints before the debugger is even initialized
- acquire cmos spinlock when accessing the cmos registers
- Fix amd64 build
svn path=/trunk/; revision=53631
Eric Kohl [Wed, 7 Sep 2011 20:11:19 +0000 (20:11 +0000)]
[RPCTR4]
- Take NetworkAddr into account when a named pipe client is opened.
- Return RPC_S_SERVER_UNAVAILABLE when an attempt to create a named pipe client fails with an ERROR_BAD_NETPATH error.
This fixes the first test failure in the advapi32 service winetest.
svn path=/trunk/; revision=53630
Claudiu Mihail [Wed, 7 Sep 2011 20:00:32 +0000 (20:00 +0000)]
[shell32.dll]
- More uninitialized value fixing. Again Amine Khaldi spotting them with his magical powers.
- I took the liberty to convert tabs I found to spaces. Normally I shouldn't mix formatting with coding changes but I forgot. Sorry.
svn path=/branches/shell32_new-bringup/; revision=53629
Claudiu Mihail [Wed, 7 Sep 2011 19:00:26 +0000 (19:00 +0000)]
[shell32.dll]
- Attempt at fixing bug 6315 (it doesn't completely work yet). Original patch by Edijs Kolesnikovics.
svn path=/branches/shell32_new-bringup/; revision=53628
Timo Kreuzer [Wed, 7 Sep 2011 18:39:20 +0000 (18:39 +0000)]
[HAL_XBOX]
Fix build
svn path=/trunk/; revision=53627
Timo Kreuzer [Wed, 7 Sep 2011 18:30:38 +0000 (18:30 +0000)]
[HAL]
Fix buld. I swear it worked here!
svn path=/trunk/; revision=53626
Timo Kreuzer [Wed, 7 Sep 2011 18:25:43 +0000 (18:25 +0000)]
[HAL]
- give apic hal its own halinit_apic
- give minihal an own halinit_mini.c containing function stubs
- move HalInitializeProcessor to halinit.c and add hal specific function HalpInitProcessor
- get rid of all the #ifndef _MINIHAL_ in halinit.c and move the file to lib_hal_generic
- improve the hal version/build check
- Update spec file for amd64
svn path=/trunk/; revision=53625
Claudiu Mihail [Wed, 7 Sep 2011 17:41:56 +0000 (17:41 +0000)]
[shell32.dll]
- Fix bug 6317. Patch by Edijs Kolesnikovics.
svn path=/branches/shell32_new-bringup/; revision=53624
Claudiu Mihail [Wed, 7 Sep 2011 17:10:45 +0000 (17:10 +0000)]
[shell32.dll]
- Fix bug 6316. Patch by Edijs Kolesnikovics.
svn path=/branches/shell32_new-bringup/; revision=53623
Claudiu Mihail [Wed, 7 Sep 2011 16:58:22 +0000 (16:58 +0000)]
[shell32.dll]
- Fix bug #6301 . Patch by Edijs Kolesnikovics.
svn path=/branches/shell32_new-bringup/; revision=53622