James Tabor [Mon, 11 Jan 2010 07:36:48 +0000 (07:36 +0000)]
[Win32k]
- More movement to WND with updates to related files. Added new scroll and get/post message routines. In the mix we did moved to the MONITOR structure.
svn path=/trunk/; revision=45042
Sir Richard [Mon, 11 Jan 2010 06:41:19 +0000 (06:41 +0000)]
[NTOS]: Put ASM macros back since the HAL also uses them.
svn path=/trunk/; revision=45041
Sir Richard [Mon, 11 Jan 2010 06:08:11 +0000 (06:08 +0000)]
Trap Handlers in C Patch 8 of X:
[NTOS]: Implement KiCoprocessorError in C.
[NTOS]: Make NMI handler fully C, now that the other parts are C too.
[NTOS]: Delete more ASM macros and code that are now unused.
svn path=/trunk/; revision=45040
Steven Edwards [Mon, 11 Jan 2010 05:58:59 +0000 (05:58 +0000)]
my once a year commit, update email address
svn path=/trunk/; revision=45039
Sir Richard [Mon, 11 Jan 2010 05:53:57 +0000 (05:53 +0000)]
Trap handlers in C patch 7 of X:
[NTOS]: Implement GPF handler (trap 13) in C. This was by far the most complex one of them, since it also servces two complex purposes: to handle V86 emulation since the real-mode code will generate GPFs during privileged instructions, and it will detect an illegal IRET, check if it's the known V8086 Exit IRET, and then jump to V86 exit code.
[NTOS]: Get rid of even more V8086 assembly since the GPF handler is now C. Deleted the entire V8086 assembly file.
[NTOS]: Get rid of a bunch of helper ASM functions that nobody is using anymore since almost all the trap handlers are in C.
svn path=/trunk/; revision=45038
Sir Richard [Mon, 11 Jan 2010 03:47:17 +0000 (03:47 +0000)]
[NTOS]: Rewrite BIOS Call (V8086) Entry/Exit routines in C. Only 4 lines of ASM stub remain. This wasn't fun... the stack dancing alone gives you headaches. Who ever thought of dynamically sized trap frames!
svn path=/trunk/; revision=45037
Matthias Kupfer [Sun, 10 Jan 2010 23:22:01 +0000 (23:22 +0000)]
- fixes issue with cancel button
- fixes problems with unattended mode
- temporarily enable device listing (setupapi)
svn path=/trunk/; revision=45036
Matthias Kupfer [Sun, 10 Jan 2010 20:43:27 +0000 (20:43 +0000)]
-set fix line endings to preserve windows line endings
svn path=/trunk/; revision=45035
James Tabor [Sun, 10 Jan 2010 19:06:07 +0000 (19:06 +0000)]
[Win32k]
- When locking and unlocking regions, no need to use probe to check attribute space first before read or write access. The exception handling is a feature.
svn path=/trunk/; revision=45034
James Tabor [Sun, 10 Jan 2010 18:52:17 +0000 (18:52 +0000)]
- Update credits.
svn path=/trunk/; revision=45033
Sylvain Petreolle [Sun, 10 Jan 2010 17:50:50 +0000 (17:50 +0000)]
unbreak build
svn path=/trunk/; revision=45032
Sir Richard [Sun, 10 Jan 2010 15:40:00 +0000 (15:40 +0000)]
[NTOS]: Implement all V8086 Opcode emulation in C instead of ASM.
svn path=/trunk/; revision=45029
Sir Richard [Sun, 10 Jan 2010 15:00:44 +0000 (15:00 +0000)]
[NTOS]: Simplify trap exit code.
[NTOS]: Move some stuff in appropriate headers.
[NTOS]: Write V86 fast entry/exit traps, needed for later.
svn path=/trunk/; revision=45028
Sir Richard [Sun, 10 Jan 2010 14:32:19 +0000 (14:32 +0000)]
[NTOS]: Implement KiAdjustEsp0 in C.
[NTOS]: Temporarily remove FPU save/restore instructions since they seem to be smashing the stack and breaking boot.
svn path=/trunk/; revision=45027
Matthias Kupfer [Sun, 10 Jan 2010 13:54:14 +0000 (13:54 +0000)]
- fixes damaged format of comment
svn path=/trunk/; revision=45026
Matthias Kupfer [Sun, 10 Jan 2010 13:38:46 +0000 (13:38 +0000)]
- Fixes a hidden pointer/reference problem with LoadGenentry function, which causes the crash at this point
svn path=/trunk/; revision=45025
Michael Martin [Sun, 10 Jan 2010 12:24:01 +0000 (12:24 +0000)]
[usb/usbehci]
- Fix WorkItem Context to pass in Device Extension and the IoWorkItem so it may be freed.
svn path=/trunk/; revision=45024
Michael Martin [Sun, 10 Jan 2010 11:08:51 +0000 (11:08 +0000)]
[usb/usbehci]
- DeviceArrivalWorkItem: Check the device object returned from IoGetAttachedDeviceReference. if its the PDO, deref and return.
- Pass upper attached device object pointer to the completion routine.
- ArrivalNotificationCompletion: Dereference the upper attached device object before returning.
svn path=/trunk/; revision=45023
Michael Martin [Sun, 10 Jan 2010 09:03:53 +0000 (09:03 +0000)]
[usb/usbehci]
- StartDevice: Remove ASSERT for unhanded resource types.
- Add case for CmResourceTypeDevicePrivate, and do nothing for it for now, will fix later if needed.
- Fixes crash on windows.
svn path=/trunk/; revision=45022
James Tabor [Sun, 10 Jan 2010 07:50:57 +0000 (07:50 +0000)]
[Win32k]
- Removed NtUserGetScrollInfo and replaced it, move more type names in window object to WND.
svn path=/trunk/; revision=45021
Eric Kohl [Sat, 9 Jan 2010 22:43:16 +0000 (22:43 +0000)]
Removed outdated email addresses.
svn path=/trunk/; revision=45020
Eric Kohl [Sat, 9 Jan 2010 21:57:00 +0000 (21:57 +0000)]
Reverted some coding-style changes as per Alekseys request.
svn path=/trunk/; revision=45019
Eric Kohl [Sat, 9 Jan 2010 20:51:33 +0000 (20:51 +0000)]
Fix indentation and coding style. No code changes.
svn path=/trunk/; revision=45018
Michael Martin [Sat, 9 Jan 2010 19:28:29 +0000 (19:28 +0000)]
[usb/usbehci]
- Added numerous structures required for Asynchronous Lists used to communicate with controller. Needs much more work.
- Implement initial retrieving Device and String Descriptors from USB devices.
- Fixed improper handling of Queued IRPs that was causing crashes.
- For now, always queue the Irp if the request is a Urb of type Get Descriptor.
- Reorganized code to trim down source files.
svn path=/trunk/; revision=45017
Cameron Gutman [Sat, 9 Jan 2010 16:25:11 +0000 (16:25 +0000)]
- Unlock the address file before calling IPSendDatagram
- We don't need to be locked anymore at that point and it also causes problems with loopback packets
- Use the TTL value stored in the address file for ICMP packets
svn path=/branches/aicom-network-branch/; revision=45016
Cameron Gutman [Sat, 9 Jan 2010 15:49:39 +0000 (15:49 +0000)]
- Store the address file handle in the IOSB
- MSAFD relies on this behavior to store the address file handle
svn path=/branches/aicom-network-branch/; revision=45015
Sir Richard [Sat, 9 Jan 2010 15:07:44 +0000 (15:07 +0000)]
Trap handlers in C patch 6 of X:
[NTOS]: Implement Trap 7 and 16 in C. These are the last two FPU/NPX traps. Not really good with x86 FPU stuff, so there might be some mistakes to look over later.
[NTOS]: Fixed a bug in Trap 19 handler (forgot to write CR0 back).
svn path=/trunk/; revision=45014
James Tabor [Sat, 9 Jan 2010 06:16:51 +0000 (06:16 +0000)]
[User32]
- Add corrected behavior for SetWindowRgn, delete region object after setting windows region. See bug 4980.
- After a successful call to SetWindowRgn, the system owns the region specified by the region handle hRgn. The system does not make a copy of the region. Thus, you should not make any further function calls with this region handle. In particular, do not delete this region handle. The system deletes the region handle when it no longer needed.
- References : http://msdn.microsoft.com/en-us/library/
dd145102(VS.85).aspx
svn path=/trunk/; revision=45013
Martin Fuchs [Fri, 8 Jan 2010 21:51:43 +0000 (21:51 +0000)]
avoid warning messages on Explorer startup when missing configuration files
svn path=/trunk/; revision=45011
Sir Richard [Fri, 8 Jan 2010 19:24:10 +0000 (19:24 +0000)]
Trap handlers in C Patch 5 of X:
[NDK]: Add FSW defines for FPU exception bits.
[NTOS]: Convert trap 19 (XMMI exception) to C.
svn path=/trunk/; revision=45010
Cameron Gutman [Fri, 8 Jan 2010 19:15:03 +0000 (19:15 +0000)]
- Rewrite request queuing
- We now use the documented members of NDIS_MINIPORT_BLOCK
- It also fixes the issue of determining if the miniport is currently processing a request
- Remove unneeded IRQL raises
- Half-plement MiniSendResourcesAvailable (NdisMSendResourcesAvailable)
- Comment out the code inside ProSendPackets (only used by protocols, not miniports)
svn path=/branches/aicom-network-branch/; revision=45009
Sir Richard [Fri, 8 Jan 2010 18:45:04 +0000 (18:45 +0000)]
Trap handlers in C Patch 4 of X:
[NTOS]: Implement trap 6 (invalid opcode) in C.
svn path=/trunk/; revision=45008
Cameron Gutman [Fri, 8 Jan 2010 18:36:59 +0000 (18:36 +0000)]
- Remove some incorrect IRQL checks (needed for the NDIS fixes coming soon)
- Change some NdisDprAcquireSpinLock/NdisDprReleaseSpinLock calls to NdisAcquireSpinLock/NdisReleaseSpinLock
svn path=/branches/aicom-network-branch/; revision=45007
Cameron Gutman [Fri, 8 Jan 2010 18:21:52 +0000 (18:21 +0000)]
- Use a spin lock to protect the port bitmap instead of a fast mutex
svn path=/branches/aicom-network-branch/; revision=45006
Sir Richard [Fri, 8 Jan 2010 18:21:47 +0000 (18:21 +0000)]
Trap Handlers in C Patch 3 of X (Patch by Sir_Richard <ros.arm@reactos.org>):
[NTOS]: Fix a bug in the assertion handler.
[NTOS]: Implement page fault trap (14) in C instead of ASM.
[NTOS]: Implement V8086 trap entry/exit, we were hitting these during page faults in Ke386CallBios for video reset during GUI boot.
svn path=/trunk/; revision=45005
Cameron Gutman [Fri, 8 Jan 2010 18:10:05 +0000 (18:10 +0000)]
- Add locking to ICMPSendDatagram
svn path=/branches/aicom-network-branch/; revision=45004
Kamil Hornicek [Fri, 8 Jan 2010 16:06:33 +0000 (16:06 +0000)]
- fix build, spotted by Stefan
svn path=/trunk/; revision=45003
ReactOS Portable Systems Group [Fri, 8 Jan 2010 15:16:00 +0000 (15:16 +0000)]
Trap Handlers in C Patch 2 of X (Patch by Sir_Richard <ros.arm@reactos.org>):
[NTOS]: Convert Trap 0, 1, 3, 4, 5, 8, 10, 11, 12, 15, 17, 2C (Assertion) and 2D (Debug) to C. Tested INT3 and still works as expected, and obviously DbgPrint is still functionning (0x2D). The other traps are mainly programming errors such as bound overflow or integer overflow, so we need some test cases, but they should work. Note the 3-4 lines of C for what used to be dozens of ASM lines.
[NTOS]: Fix infinite loop in KiCheckForApcDelivery.
Stefan Ginsberg: Could you please implement the relevant Extended GCC ASM into MSVC?
svn path=/trunk/; revision=45002
Martin Fuchs [Fri, 8 Jan 2010 15:10:50 +0000 (15:10 +0000)]
define _tcscpy_s and _tsplitpath_s again for native VC++ builds
svn path=/trunk/; revision=45001
ReactOS Portable Systems Group [Fri, 8 Jan 2010 15:04:19 +0000 (15:04 +0000)]
Trap Handlers in C Patch 1 of X (Patch by Sir_Richard <ros.arm@reactos.org>):
[NTOS]: The kernel normally does not save FPU state during Ring 0 transitions since the FPU should not be used. The one exception is when a kernel debugger is attached. Unfortunately, the latter check in ReactOS results in even "print on the serial line" to count as "debugger attached", and thus FPU state was almost always saved, slowing down traps significantly.
[NTOS]: The kernel also does not typically save DRx (debug) registers unless they were in use. During an exception dispatch, they are zeroed out, and later during trap exit, if any debug register is set, DR7 is updated to enable that hardware breakpoint. Unfortunately, the code to clear the debug registers had a bug: DR2 was never cleared. Because DR2 ended up being a random stack value during trap frame generation, this caused a bogus address to be added to DR2, and DR7 would then enable the 2nd hardware breakpoint. This caused the kernel to always save DRx state, which is slow, and worse, could cause random hardware breakpoints to fire.
[NTOS]: Start implementing trap handling in C. ASM trap handlers will now only be 5 lines of assembly including a function call to a C handler. All C handling code uses maximum two arguments and is all FASTCALL for efficiency.
[NTOS]: Implement C versions of TRAP_PROLOG and TRAP_EPILOG. Implement C version of Ki386EoiHelper. Implement C version of CommonDispatchException (and helper) and KiFatalSystemException. Implement C version of CHECK_FOR_APC_DELIVER. Implement trap debugging checks as a separate entity instead of always doing them.
[NTOS]: Add missing intrinsics for DS/ES/GS segment query.
The kernel is now ready for some trap handling to be done in C. Due to the FPU/Debug fixes and relaxation of paranoid debug checks, the C code will likely be faster than the original assembly.
svn path=/trunk/; revision=45000
Martin Fuchs [Fri, 8 Jan 2010 14:48:22 +0000 (14:48 +0000)]
temporarily revert to query "defined(__STDC_WANT_SECURE_LIB__) && defined(_MS_VER)"
svn path=/trunk/; revision=44999
Martin Fuchs [Fri, 8 Jan 2010 13:59:15 +0000 (13:59 +0000)]
update XMLStorage to 2010 version
svn path=/trunk/; revision=44998
Martin Fuchs [Fri, 8 Jan 2010 13:19:48 +0000 (13:19 +0000)]
fix TCHAR array initialization
svn path=/trunk/; revision=44996
Michael Martin [Fri, 8 Jan 2010 09:55:18 +0000 (09:55 +0000)]
[usb/usbehci]
- CompletePendingRequest: Release the spinlock before and reacquire it after calling IoCallDriver
svn path=/trunk/; revision=44994
Michael Martin [Fri, 8 Jan 2010 09:34:36 +0000 (09:34 +0000)]
[usb/usbehci]
- Initial implementation of usbehci, aka USB 2.0.
- Implement AddDevice, StartDevice, InterruptService and DPC Routines.
- Implement basic IRP queuing and handling.
- Implement starting, stopping of EHCI controller and querying port capabilities.
- Implement PNP for Query Relations, Query ID, Query BusInfo.
- Implement finding the active ports when USB devices are attached and releasing control to companion controller if devices is not a high speed devices.
- Implement reporting devices connects to upper Pdo (hub) driver.
- Hub driver attaches successfully and sends URBs to query descriptors from USB devices on Windows.
- Currently not build enabled as it will cause problems with current UsbDriver in trunk.
- Code heavily based on current PCI drivers and UsbDriver from trunk.
svn path=/trunk/; revision=44993
Michael Martin [Fri, 8 Jan 2010 09:00:53 +0000 (09:00 +0000)]
[include/usb200.h]
- Fix two unions, make text after last #endif a comment as it should be, and add newline at end of file.
svn path=/trunk/; revision=44992
ReactOS Portable Systems Group [Fri, 8 Jan 2010 04:31:19 +0000 (04:31 +0000)]
- Document and define Timer and System Control Ports (0x43, 0x61) as defined in ISA System Architecture 3rd Edition and The Undocumented PC.
- Document PIT access modes, channels and operating modes.
- Rewrite HalHandleNMI to use the System Control Port definitions instead of magic values that were never explained.
- Rewrite HalMakeBeep not to program the PIT with magic hexadecimal values that were not explained anywhere and seem dubious.
- Fix the PIT frequency to match its correct value of ~1.19318MHz which is what every x86 book states and what Linux and all other operating systems use. This is equivalent to one third of the NTSC color burst (subcarrier frequency) used on CGA computers for video output. Previously, the HAL used 1.193167MHz, which is only used by NT and isn't documented anywhere, and in fact appears to be a typo in the NT sources (a less accurate way of dividing the NTSC color burst gives 1.19318167MHz). Somehow, the ReactOS developer of this function must have made the same "typo", by complete coincidence, of course.
- Rewrite part of HalpInitializeClock to use the new definitions. This function was at least somewhat documenting the magic values.
svn path=/trunk/; revision=44991
ReactOS Portable Systems Group [Thu, 7 Jan 2010 19:08:11 +0000 (19:08 +0000)]
- Restore PROGRAMMER's field correctly.
svn path=/trunk/; revision=44990
James Tabor [Thu, 7 Jan 2010 19:05:57 +0000 (19:05 +0000)]
[User32]
- Patch by James Hawkins : Don't try to free a handle with a value of 1, which is the dde handle value for asynchronous operations.
- Will sync to wine after a review of new WOW implementation.
svn path=/trunk/; revision=44989
James Tabor [Thu, 7 Jan 2010 18:59:13 +0000 (18:59 +0000)]
[User32]
- Patch by Marcus Meissner : Remove useless NULL check (Coverity).
- Will sync to wine after a review of new WOW implementation.
svn path=/trunk/; revision=44988
James Tabor [Thu, 7 Jan 2010 18:55:24 +0000 (18:55 +0000)]
[User32]
- Patch by Marcus Meissner : EM_REPLACESEL Handle OOM error.
- Will sync to wine after a review of new WOW implementation.
svn path=/trunk/; revision=44987
Eric Kohl [Wed, 6 Jan 2010 21:14:13 +0000 (21:14 +0000)]
[umpnpmgr]
Silence device arrival debug messages.
svn path=/trunk/; revision=44981
Eric Kohl [Wed, 6 Jan 2010 18:58:10 +0000 (18:58 +0000)]
Fix PNP_DeviceInstanceAction prototype.
svn path=/trunk/; revision=44980
Kamil Hornicek [Wed, 6 Jan 2010 15:05:25 +0000 (15:05 +0000)]
- missed this one, sorry
svn path=/trunk/; revision=44979
Kamil Hornicek [Wed, 6 Jan 2010 14:59:04 +0000 (14:59 +0000)]
- sync wined3d, ddraw, d3d8 and d3d9 with Wine 1.1.35
svn path=/trunk/; revision=44978
Kamil Hornicek [Wed, 6 Jan 2010 14:19:58 +0000 (14:19 +0000)]
- fix definition of ComposeRects
svn path=/trunk/; revision=44977
Ged Murphy [Wed, 6 Jan 2010 13:10:09 +0000 (13:10 +0000)]
Fix pause / resume code. The buttons need fixing yet so it still won't work, although the menu items probably will.
svn path=/trunk/; revision=44976
Giannis Adamopoulos [Wed, 6 Jan 2010 12:44:31 +0000 (12:44 +0000)]
[win32k]
- Rewrite SetCursorPos and ShowCursror
- Store coursor show count in SYSTEM_CURSORINFO and not in GDIPOINTER
- Fix broken behaviour in ClipCursor
svn path=/trunk/; revision=44975
Dmitry Gorbachev [Wed, 6 Jan 2010 11:44:54 +0000 (11:44 +0000)]
[freeldr]
- Do not use GetSystemMemorySize(), which truncates size to 32 bit.
- Other minor changes.
svn path=/trunk/; revision=44974
Dmitry Gorbachev [Wed, 6 Jan 2010 01:28:23 +0000 (01:28 +0000)]
Check if MmHeapAlloc() failed.
svn path=/trunk/; revision=44972
ReactOS Portable Systems Group [Wed, 6 Jan 2010 00:40:07 +0000 (00:40 +0000)]
- Implement NMI handler in C instead of ASM.
- Tested with the "nmi 0" command in QEMU and NmiDbg.sys.
svn path=/trunk/; revision=44971
Timo Kreuzer [Wed, 6 Jan 2010 00:39:07 +0000 (00:39 +0000)]
[RTL]
Merge from amd64 branch
35738,37004,37308,37324,37330,37331,37332,37370,37419,37424,37425,37428,37473,37492,37844,37911,37987,40604,41006,43686,43951,43953,43980,43993,44001,44289,44295,44296,44428,44966,44967,44968
- Implement amd64 specific RTL functions: RtlLookupFunctionTable, RtlLookupFunctionEntry, RtlCaptureContext, RtlVirtualUnwind, RtlWalkFrameChain, RtlGetCallersAddress, RtlRaiseException (Timo Kreuzer)
- Implement amd64 asm functions: RtlCompareMemory, DebugService, RtlInterlockedPopEntrySList, RtlInterlockedPushEntrySList and RtlInterlockedFlushSList (Timo Kreuzer)
- Don't use double in rtl's sprintf / swprintf, use double_t union instead. (Stefan Ginsberg)
svn path=/trunk/; revision=44970
Dmitry Gorbachev [Tue, 5 Jan 2010 23:28:16 +0000 (23:28 +0000)]
Fix memory leak in CreateToolhelp32Snapshot(). Bug #5096.
svn path=/trunk/; revision=44969
Ged Murphy [Tue, 5 Jan 2010 21:43:00 +0000 (21:43 +0000)]
Clean up the pause and resume code and a few other bits and bobs
svn path=/trunk/; revision=44965
Ged Murphy [Tue, 5 Jan 2010 21:14:10 +0000 (21:14 +0000)]
Clean up the start code
svn path=/trunk/; revision=44963
Ged Murphy [Tue, 5 Jan 2010 20:41:14 +0000 (20:41 +0000)]
[SERVMAN]
- Fully implement stopping all dependent services
- When stopping a service, only list other running services which require stopping
- Use the same progress dialog for stopping multiple services and make it smoother
svn path=/trunk/; revision=44961
Eric Kohl [Tue, 5 Jan 2010 20:32:02 +0000 (20:32 +0000)]
[spoolsv]
- Switch to wine debug macros. Add new debug channel spoolsv.
- Update service status when the service receives a control message.
svn path=/trunk/; revision=44960
Eric Kohl [Tue, 5 Jan 2010 20:26:31 +0000 (20:26 +0000)]
[umpnpmgr]
PNP_DeviceInstanceAction: Call a separate function for each action.
svn path=/trunk/; revision=44959
Timo Kreuzer [Tue, 5 Jan 2010 20:06:33 +0000 (20:06 +0000)]
[WIN32k]
Fix some 64 bit issues.
svn path=/trunk/; revision=44958
Ged Murphy [Tue, 5 Jan 2010 19:27:14 +0000 (19:27 +0000)]
Make the logic easier to read
svn path=/trunk/; revision=44957
Timo Kreuzer [Tue, 5 Jan 2010 19:26:32 +0000 (19:26 +0000)]
[win32k] / [user32]
Merge from amd64 branch:
34780 some DWORD -> DWORD_PTR (Timo Kreuzer)
34781 fix usage of InterlockedCompareExchangePointer (Timo Kreuzer)
34782 fix usage of InterlockedCompareExchangePointer (Timo Kreuzer)
34908 some 64 bit fixes in win32k (Timo Kreuzer)
34909 some more win32k 64 bit fixes (Timo Kreuzer)
34965 Fix typos. (Samuel Serapión)
41479 Remove usage of RETURN() macro (Timo Kreuzer)
41540 Make parameters for NtUserCallOneParam and NtUserCallTwoParam DWORD_PTR instead of DWORD (Timo Kreuzer)
41546 Add _FLOATOBJ_GetFix for non-x86 (Timo Kreuzer)
41547 Only export FLOATOBJ_* api on x86 (Timo Kreuzer)
44238 Fix some 64 bit isues. (Timo Kreuzer)
43969 undefine i386 in the pspec file (Timo Kreuzer)
svn path=/trunk/; revision=44956
Ged Murphy [Tue, 5 Jan 2010 19:19:06 +0000 (19:19 +0000)]
Display all service dependants which need stopping
svn path=/trunk/; revision=44955
Ged Murphy [Tue, 5 Jan 2010 18:39:47 +0000 (18:39 +0000)]
Switch to crt string safe functions. Remove some commented code
svn path=/trunk/; revision=44954
Ged Murphy [Tue, 5 Jan 2010 18:16:43 +0000 (18:16 +0000)]
Forgot the comments in this file
svn path=/trunk/; revision=44953
Timo Kreuzer [Tue, 5 Jan 2010 18:13:00 +0000 (18:13 +0000)]
[CSRSS]
Merge from ams64 branch:
35805 remove unneeded msvcrt dependency (all win32 projects already depend on it) (Samuel Serapión)
36992 - Fix csrss compilation (treat handles as pointer sized, use SIZE_T where appropriate) (Stefan Ginsberg)
41485 Fix 64bit issues. (Timo Kreuzer)
41531 fix pointer <-> DWORD casts (Timo Kreuzer)
41536 win32csr: convert to spec (Timo Kreuzer)
43838 Fix csrss build. (Samuel Serapión)
svn path=/trunk/; revision=44952
Ged Murphy [Tue, 5 Jan 2010 18:08:41 +0000 (18:08 +0000)]
- Reimplement service stop routines.
- Stopping single services should now work again, full dependency trees won't yet.
svn path=/trunk/; revision=44951
Timo Kreuzer [Tue, 5 Jan 2010 17:38:03 +0000 (17:38 +0000)]
[ATL]
Merged from amd64 branch:
- add amd64 specific thunkCode
- get rid of a cast
svn path=/trunk/; revision=44950
Ged Murphy [Tue, 5 Jan 2010 17:14:08 +0000 (17:14 +0000)]
More code towards getting servman to stop services again, etc...
(clearly not a message for the changelog)
svn path=/trunk/; revision=44949
Aleksey Bragin [Tue, 5 Jan 2010 16:37:32 +0000 (16:37 +0000)]
Daniel Zimmermann <netzimme@aim.com>
- Implement RtlDnsHostNameToComputerName.
See issue #5092 for more details.
svn path=/trunk/; revision=44948
Aleksey Bragin [Tue, 5 Jan 2010 16:28:47 +0000 (16:28 +0000)]
- Implement SystemException and SystemContextSwitch information cases in NtQuerySystemInformation by Samuel Serapion, modified by me (comments, coding style).
See issue #5054 for more details.
svn path=/trunk/; revision=44947
Aleksey Bragin [Tue, 5 Jan 2010 16:18:35 +0000 (16:18 +0000)]
Marcus Boillat <ka6602-280@online.de>
- ipconfig should also parse parameters starting with "-" (undocumented feature, tested on Windows XP, Vista and Windows 7).
See issue #5067 for more details.
svn path=/trunk/; revision=44946
James Tabor [Tue, 5 Jan 2010 03:05:50 +0000 (03:05 +0000)]
[gdi32]
- Run full Attribute and GdiBatch for Region support. Leaving Enh/Meta and mirroring support for regions.
svn path=/trunk/; revision=44943
James Tabor [Mon, 4 Jan 2010 20:48:31 +0000 (20:48 +0000)]
- Revert changes in font.
svn path=/trunk/; revision=44933
James Tabor [Mon, 4 Jan 2010 20:44:48 +0000 (20:44 +0000)]
- Sorry I thought I turn the debug off.region.c
svn path=/trunk/; revision=44932
Sylvain Petreolle [Mon, 4 Jan 2010 18:07:27 +0000 (18:07 +0000)]
Hackfix wdmaud.drv for now (Johannes Anderwald)
svn path=/trunk/; revision=44931
Dmitry Gorbachev [Mon, 4 Jan 2010 16:39:38 +0000 (16:39 +0000)]
Chinese translations of NTVDM by Samuel Lee. Bug #5087.
svn path=/trunk/; revision=44930
Ged Murphy [Mon, 4 Jan 2010 16:10:33 +0000 (16:10 +0000)]
Rehack the explorer hack for secure CRT usage.
This should fix the build, unless there are any more oddities in our tree.
svn path=/trunk/; revision=44929
Ged Murphy [Mon, 4 Jan 2010 14:02:49 +0000 (14:02 +0000)]
Fix __STDC_WANT_SECURE_LIB__ redefinition
svn path=/trunk/; revision=44928
Ged Murphy [Mon, 4 Jan 2010 13:47:19 +0000 (13:47 +0000)]
Add wcsncat back, it was removed accidentally
svn path=/trunk/; revision=44927
Ged Murphy [Mon, 4 Jan 2010 13:36:59 +0000 (13:36 +0000)]
Add some of the string safe stuff to the headers.
svn path=/trunk/; revision=44926
Aleksey Bragin [Mon, 4 Jan 2010 11:17:57 +0000 (11:17 +0000)]
- Remove unnecessary line from FreeEnvironmentStringsW.
See issue #5073 for more details.
svn path=/trunk/; revision=44925
Aleksey Bragin [Mon, 4 Jan 2010 11:03:23 +0000 (11:03 +0000)]
Daniel Zimmermann <netzimme@aim.com>
- Fix missing arguments for the call KdbpPrint() in
differents places in kdbg_cli.c.
See issue #5089 for more details.
svn path=/trunk/; revision=44924
James Tabor [Mon, 4 Jan 2010 01:36:24 +0000 (01:36 +0000)]
- Another attempt to fix RGNOBJAPI_Un/Lock SEH issue. Resort code.
svn path=/trunk/; revision=44923
Eric Kohl [Sun, 3 Jan 2010 22:44:10 +0000 (22:44 +0000)]
Coding-style fixes. No code changes.
svn path=/trunk/; revision=44922
Eric Kohl [Sun, 3 Jan 2010 22:41:13 +0000 (22:41 +0000)]
[devmgr]
- Display the 'Enumerator' property.
svn path=/trunk/; revision=44921
Dmitry Gorbachev [Sun, 3 Jan 2010 20:12:56 +0000 (20:12 +0000)]
- Remove duplicate definitions of context flags (which are already present in NDK);
- combine them using bitwise or (as in CreateFiberEx and ConvertThreadToFiberEx).
svn path=/trunk/; revision=44920
Dmitry Gorbachev [Sun, 3 Jan 2010 20:12:43 +0000 (20:12 +0000)]
Fix GCC 4.5.0 "operation may be undefined" warning.
svn path=/trunk/; revision=44919
Aleksey Bragin [Sun, 3 Jan 2010 18:29:30 +0000 (18:29 +0000)]
Samuel Serapion
- Implement ExSetTimerResolution, tested with a VirtualBox driver.
- Rewrite comments in TimeRefresh lock/unlock functions.
svn path=/trunk/; revision=44918
Aleksey Bragin [Sun, 3 Jan 2010 18:17:21 +0000 (18:17 +0000)]
[NDK]
- Add forgotten HalSetTimeIncrement prototype to NDK.
svn path=/trunk/; revision=44917
Aleksey Bragin [Sun, 3 Jan 2010 18:14:34 +0000 (18:14 +0000)]
[ntoskrnl/cm]
- advapi32 winetest registry tries to create a non-volatile child of a volatile parent. Comment out the warning ASSERT to let testman pass through this condition.
svn path=/trunk/; revision=44916