reactos.git
10 years agoMerge trunk head (r43756)
Timo Kreuzer [Sun, 25 Oct 2009 22:13:11 +0000 (22:13 +0000)]
Merge trunk head (r43756)

svn path=/branches/ros-amd64-bringup/; revision=43759

10 years ago- Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea
Timo Kreuzer [Sun, 25 Oct 2009 21:47:53 +0000 (21:47 +0000)]
- Pass pointer to debugprint function to the kernel in LoaderBlock->u.I386.CommonDataArea
- comment out __lldt

svn path=/branches/ros-amd64-bringup/; revision=43757

10 years ago-sync rsaenh_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:33 +0000 (21:16 +0000)]
-sync rsaenh_winetest with wine 1.1.32

svn path=/trunk/; revision=43756

10 years ago-sync rsaenh with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:16:15 +0000 (21:16 +0000)]
-sync rsaenh with wine 1.1.32

svn path=/trunk/; revision=43755

10 years agopartial kernel32 GetLocaleInfo sync to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 21:02:58 +0000 (21:02 +0000)]
partial kernel32 GetLocaleInfo sync to wine 1.1.32

svn path=/trunk/; revision=43754

10 years ago-sync user32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:32:13 +0000 (20:32 +0000)]
-sync user32_winetest with wine 1.1.32

svn path=/trunk/; revision=43752

10 years ago-sync msxml3 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 20:21:51 +0000 (20:21 +0000)]
-sync msxml3 with wine 1.1.32

svn path=/trunk/; revision=43751

10 years ago-sync netapi32 with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 19:24:08 +0000 (19:24 +0000)]
-sync netapi32 with wine 1.1.32

svn path=/trunk/; revision=43750

10 years ago[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping...
Gregor Schneider [Sun, 25 Oct 2009 18:49:08 +0000 (18:49 +0000)]
[win32k] Stub out page to device space conversion, fixes three more gdi32 mapping winetests

svn path=/trunk/; revision=43749

10 years ago- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently...
Johannes Anderwald [Sun, 25 Oct 2009 18:22:03 +0000 (18:22 +0000)]
- Make sure that no duplicate wdmaud.drv audio drivers exists as winmm currently not recognizes duplicate audio driver entries

svn path=/trunk/; revision=43748

10 years ago- Partially sync winmm
Johannes Anderwald [Sun, 25 Oct 2009 17:54:50 +0000 (17:54 +0000)]
- Partially sync winmm
- Remove unused code
- Fix function headers

svn path=/trunk/; revision=43747

10 years agopartially sync kernel32 profile to wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 17:28:35 +0000 (17:28 +0000)]
partially sync kernel32 profile to wine 1.1.32

svn path=/trunk/; revision=43746

10 years ago[win32k] GetTransform:
Gregor Schneider [Sun, 25 Oct 2009 17:23:19 +0000 (17:23 +0000)]
[win32k] GetTransform:
- Add support for more transforms
- Fix return value for invalid/unsupported transform types
- Fixes 10 gdi32 mapping winetests

svn path=/trunk/; revision=43745

10 years ago-sync kernel32_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 16:21:40 +0000 (16:21 +0000)]
-sync kernel32_winetest with wine 1.1.32

svn path=/trunk/; revision=43744

10 years agoadd define for LOCALE_RETURN_GENITIVE_NAMES
Christoph von Wittich [Sun, 25 Oct 2009 16:20:45 +0000 (16:20 +0000)]
add define for LOCALE_RETURN_GENITIVE_NAMES

svn path=/trunk/; revision=43743

10 years agobetter stub for RtlQueryHeapInformation (taken from wine)
Christoph von Wittich [Sun, 25 Oct 2009 16:20:00 +0000 (16:20 +0000)]
better stub for RtlQueryHeapInformation (taken from wine)

svn path=/trunk/; revision=43742

10 years ago- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Proto...
Stefan Ginsberg [Sun, 25 Oct 2009 15:56:38 +0000 (15:56 +0000)]
- DBGKD_WAIT_STATE_CHANGE64 is used in KD protocol 5, not number 6 that we use. Protocol 6 uses the DBGKD_ANY_WAIT_STATE_CHANGE structure which is sized according to the largest control-report structure (AMD64_DBGKD_CONTROL_REPORT currently), and is larger than DBGKD_WAIT_STATE_CHANGE64 on x86. This worked because our DBGKD_WAIT_STATE_CHANGE32/64 structures contained incorrect DBGKD_CONTROL_REPORT (used) and CONTEXT (unused) members that sized up the wait-state structure to pass WinDbg's length verification! It actually becomes larger than DBGKD_ANY_WAIT_STATE_CHANGE, but WinDbg only seems bail out only if the structure is too small. Remove the incorrect members from the protocol 5 structures and change to DBGKD_ANY_WAIT_STATE_CHANGE everywhere.
- Correct the value of SIZE_OF_FX_REGISTERS -- it was 4 times too low which resulted in KeContextToTrapFrame not properly clearing out the XMM register area. Correct the define and move it out from ke.h to x86's ketypes.h and use it in the FXSAVE format structure. Also remove the IOPM definitions from ke.h as they have been in the NDK for a while.
- KD uses STRINGs, not ANSI_STRINGs -- they are the same thing, but let's be consistent.
- ExceptionRecord32To64 should be available for both 32 and 64 bit builds (and it shouldn't be a forceinline). Get rid of CopyExceptionRecord and determine if we need to convert or can just copy it directly instead.
- Use _WIN64 instead of _M_AMD64 when determining if we need to set the DBGKD_VERS_FLAG_PTR64 flag.
- Don't check Nt/DbgQueryDebugFilterState for zero or nonzero -- it actually returns TRUE, FALSE or STATUS_INVALID_PARAMETER_1! Check for != TRUE in preparation for proper implementation of NtSet/QueryDebugFilterState.
- Fix Format parameter of DbgPrintReturnControlC -- it is const like the other DbgPrint* routines.
- Be consistent with the types used in debug.c and don't set local variables to zero if we are going to return to caller -- this doesn't seem to be required anymore.
- Fix DebugService and DebugService2: DebugService should take a ULONG followed by 4 pointers and DebugService2 doesn't return anything.
- Use ZwCurrentProcess() instead of -1 or 0xFFFFFFFF (which is incorrect for 64-bit) for the ProcessId parameter of DbgLoad/UnloadImageSymbols to clarify what is being passed. Don't use ZwCurrentProcess() in KeBugCheckWithTf for the pointer parameter of DbgUnLoadImageSymbols either. Use MAXULONG_PTR casted to PVOID instead.
- Use better named and sized variables in KdpTrap for setting the "return register" in the caller's CONTEXT.
- Correct and clarify the comment documenting under what conditions we pass user mode exceptions to the kernel debugger.

svn path=/trunk/; revision=43741

10 years ago-sync cabinet with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 13:45:15 +0000 (13:45 +0000)]
-sync cabinet with wine 1.1.32

svn path=/trunk/; revision=43740

10 years ago[KDCOM]
Timo Kreuzer [Sun, 25 Oct 2009 11:55:04 +0000 (11:55 +0000)]
[KDCOM]
- Compare checksum after retreiving the full packet
- simplify code

svn path=/branches/ros-amd64-bringup/; revision=43739

10 years ago[KDCOM]
Timo Kreuzer [Sun, 25 Oct 2009 11:37:17 +0000 (11:37 +0000)]
[KDCOM]
- Check the PacketType only after the whole message was received and just skip the message and restart when it's not what we wanted.

svn path=/branches/ros-amd64-bringup/; revision=43738

10 years agodon't crash in msi install winetest
Christoph von Wittich [Sun, 25 Oct 2009 11:14:03 +0000 (11:14 +0000)]
don't crash in msi install winetest

svn path=/trunk/; revision=43737

10 years ago-sync msi_winetest with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 11:06:38 +0000 (11:06 +0000)]
-sync msi_winetest with wine 1.1.32

svn path=/trunk/; revision=43736

10 years ago-sync msi with wine 1.1.32
Christoph von Wittich [Sun, 25 Oct 2009 11:06:09 +0000 (11:06 +0000)]
-sync msi with wine 1.1.32

svn path=/trunk/; revision=43735

10 years agoSync DrawText funtions with wine 1.1.32
Giannis Adamopoulos [Sun, 25 Oct 2009 09:32:01 +0000 (09:32 +0000)]
Sync DrawText funtions with wine 1.1.32
Fixes all user32 text tests

svn path=/trunk/; revision=43734

10 years agopartial wine sync to 1.1.32:
Christoph von Wittich [Sun, 25 Oct 2009 08:52:54 +0000 (08:52 +0000)]
partial wine sync to 1.1.32:
 wininet: Avoid accessing uninitialized memory.

svn path=/trunk/; revision=43733

10 years ago - Fix sending malformed ICMP packets because we read the wrong length from the wrong...
Cameron Gutman [Sun, 25 Oct 2009 04:30:28 +0000 (04:30 +0000)]
 - Fix sending malformed ICMP packets because we read the wrong length from the wrong address in the buffer
 - Fix the sequence number stored in the packet
 - Fix potential null pointer freeing
 - tracert partially works now (Setting TTL isn't implemented yet)

svn path=/trunk/; revision=43732

10 years ago - Start the sequence number at 1 instead of 0
Cameron Gutman [Sun, 25 Oct 2009 03:48:15 +0000 (03:48 +0000)]
 - Start the sequence number at 1 instead of 0

svn path=/trunk/; revision=43731

10 years ago[fastfat_new]
Aleksey Bragin [Sat, 24 Oct 2009 21:05:42 +0000 (21:05 +0000)]
[fastfat_new]
- Fix FF_Free warning.

svn path=/trunk/; revision=43725

10 years ago- Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don...
Stefan Ginsberg [Sat, 24 Oct 2009 20:44:43 +0000 (20:44 +0000)]
- Fix a sneaky breakage of MSVC built kernels. "i386" is a gcc define and we don't define it in the makefiles.

svn path=/trunk/; revision=43724

10 years ago - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
Cameron Gutman [Sat, 24 Oct 2009 20:39:41 +0000 (20:39 +0000)]
 - Implement SetIpNetEntry in iphlpapi and InfoTdiSetArptableMIB in tcpip
 - Added buffer size checks for InfoTdiSetRoute
 - "arp -s" works now

svn path=/trunk/; revision=43723

10 years ago- Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very...
Stefan Ginsberg [Sat, 24 Oct 2009 20:35:10 +0000 (20:35 +0000)]
- Don't put PAGED_CODE() before variable declarations -- this makes MSVC very, very sad. Reformat and clean up the code a bit too.

svn path=/trunk/; revision=43722

10 years agochinese Translations by Elton Chung.
Daniel Reimer [Sat, 24 Oct 2009 19:27:51 +0000 (19:27 +0000)]
chinese Translations by Elton Chung.

svn path=/trunk/; revision=43721

10 years agoSync wordpad and winhlp32 to Wine 1.1.31
Daniel Reimer [Sat, 24 Oct 2009 17:23:52 +0000 (17:23 +0000)]
Sync wordpad and winhlp32 to Wine 1.1.31
Update 3rd Party Files.txt

svn path=/trunk/; revision=43719

10 years ago- Add reg.exe from Wine 1.1.31
Sylvain Petreolle [Sat, 24 Oct 2009 15:23:45 +0000 (15:23 +0000)]
- Add reg.exe from Wine 1.1.31

svn path=/trunk/; revision=43718

10 years agoadd missing checks
Sylvain Petreolle [Sat, 24 Oct 2009 15:13:30 +0000 (15:13 +0000)]
add missing checks
fixes winmm:mixer crash

svn path=/trunk/; revision=43717

10 years ago- Fix Russian translation
Dmitry Chapyshev [Sat, 24 Oct 2009 14:34:11 +0000 (14:34 +0000)]
- Fix Russian translation

svn path=/trunk/; revision=43716

10 years ago- merge some of the more meaningful stuff from the reactx branch
Kamil Hornicek [Sat, 24 Oct 2009 14:09:48 +0000 (14:09 +0000)]
- merge some of the more meaningful stuff from the reactx branch

svn path=/trunk/; revision=43715

10 years ago- Add reg.exe from Wine 1.1.31
Dmitry Chapyshev [Sat, 24 Oct 2009 13:32:45 +0000 (13:32 +0000)]
- Add reg.exe from Wine 1.1.31

svn path=/trunk/; revision=43714

10 years ago- Add runonce.exe to bootcd
Dmitry Chapyshev [Sat, 24 Oct 2009 13:15:38 +0000 (13:15 +0000)]
- Add runonce.exe to bootcd

svn path=/trunk/; revision=43712

10 years ago- Add some registry keys (like in Windows)
Dmitry Chapyshev [Sat, 24 Oct 2009 13:13:20 +0000 (13:13 +0000)]
- Add some registry keys (like in Windows)

svn path=/trunk/; revision=43711

10 years ago- Add samplify runonce.exe utility
Dmitry Chapyshev [Sat, 24 Oct 2009 12:58:07 +0000 (12:58 +0000)]
- Add samplify runonce.exe utility

svn path=/trunk/; revision=43710

10 years ago[kernel32] Check for valid atom, fixes the remaining eight kernel32 atom winetests
Gregor Schneider [Sat, 24 Oct 2009 11:51:33 +0000 (11:51 +0000)]
[kernel32] Check for valid atom, fixes the remaining eight kernel32 atom winetests

svn path=/trunk/; revision=43709

10 years ago"<@Christoph_vW> please commit something" -- aye sir
Sylvain Petreolle [Sat, 24 Oct 2009 09:57:37 +0000 (09:57 +0000)]
"<@Christoph_vW> please commit something" -- aye sir

svn path=/trunk/; revision=43707

10 years ago"<@Christoph_vW> please commit something" -- aye sir
Stefan Ginsberg [Fri, 23 Oct 2009 23:29:49 +0000 (23:29 +0000)]
"<@Christoph_vW> please commit something" -- aye sir

svn path=/trunk/; revision=43706

10 years ago- Replace RtlpGetExceptionAddress by the _ReturnAddress intrinsic and add it to ARM...
Stefan Ginsberg [Fri, 23 Oct 2009 22:51:39 +0000 (22:51 +0000)]
- Replace RtlpGetExceptionAddress by the _ReturnAddress intrinsic and add it to ARM intrin.h as it was missing.
- Simplify RtlpCheckForActiveDebugger: Remove the BOOLEAN parameter as we would always pass it FALSE. Always return FALSE false from kernel mode for simplicity.
- Fix a critical flaw in our exception support: RtlRaiseException and RtlRaiseStatus were implemented in C on x86. This lead to unpredictable register corruption because the compiler could not know that it had to preserve non-volatile registers before calling RtlCaptureContext as the saved context is later used to restore the caller in case the exception is handled and execution is continued. This made the functions unsafe to return from as any non-volatile register could be corrupted. Implement them in assembly for x86 to safely capture the context using only EBP and ESP. The C versions of those routines are still used and shared for the other architectures we support -- needs to be determined if this is safe and correct for those architectures.
- The ntdll exception Wine exposed this issue, and all tests now pass. The remaining failures on the build server are caused by missing or incomplete debug register support in KVM/QEMU. Run the test in another VM or on real hardware and all the tests will pass.
- Implement Debug Prompt (DbgPrompt) support for KD and KDBG. The KDBG implementation reads the prompt from keyboard or serial depending on the mode so that sysreg and rosdbg can support it too.
- Properly implement RtlAssert using DbgPrompt to prompt for the action to take instead of always doing a breakpoint. The new implementation is disabled until sysreg can support this. Also move RtlAssert to its own file as it has nothing to do with the error routines (nor does it belong in exception.c).
- Note that DbgPrompt was already used in PspCatchCriticalBreak, and this would have resulted in a silent hang as BREAKPOINT_PROMPT wasn't handled at all by KDBG.
- Implement KiRaiseAssertion (10 lines of code with the trap macros) and thus support NT_ASSERT. Add partial support for it to KDBG to print out a warning and the address of the failure, but don't do anything else. Also add NT_ASSERT to the DDK headers so that we can use it, but don't use it yet as the ARM method of performing this has not been decided nor implemented.
- KiTrap3 doesn't set STATUS_SUCCESS but BREAKPOINT_BREAK. They have the same numerical value but very different meaning -- BREAKPOINT_BREAK means that the exception is a software breakpoint and not a debug service call. Fix some comments to document that this is what is checked for.
- Fix inverted and broken logic in KdpReport. It would never pass second chance exceptions to the debugger, didn't respect the stop-on-exception flag properly and would always fail to handle some special exceptions in both first and second chance instead of just failing to handle it in first chance. Clean up, reformat and document what is going on.
- The DebugPrint and DebugPrompt support routines only perform a 2D interrupt on x86; use more portable comments.
- Add Alex to the programmer section of x86's kdsup.c -- he wrote KdpGetStateChange, KdpSetContextState and the code that was previously in KdpRead/WriteControlSpace.
- Add my name to the parts of KD where I have made significant work on getting KD/WinDbg support up and running.
- KD debugging is now quite functional and stable. Some bugs and stubs remain to be flushed out, but overall KD is now much better and easier to use than KDBG.

svn path=/trunk/; revision=43705

10 years ago- Fix build
Johannes Anderwald [Fri, 23 Oct 2009 22:21:03 +0000 (22:21 +0000)]
- Fix build
- Found by Christoph

svn path=/trunk/; revision=43704

10 years ago- Make sure string is null terminated
Johannes Anderwald [Fri, 23 Oct 2009 21:53:25 +0000 (21:53 +0000)]
- Make sure string is null terminated
- Copy all required fields for WaveIn devices
- Use double of the reported FrameSize to increase audio playback performance

svn path=/trunk/; revision=43703

10 years agoFix and simplify KdpSysReadControlSpace, hint by Stefan
Timo Kreuzer [Fri, 23 Oct 2009 21:46:49 +0000 (21:46 +0000)]
Fix and simplify KdpSysReadControlSpace, hint by Stefan

svn path=/branches/ros-amd64-bringup/; revision=43702

10 years agoupdate kvm virtio driver filenames
Christoph von Wittich [Fri, 23 Oct 2009 21:15:55 +0000 (21:15 +0000)]
update kvm virtio driver filenames

svn path=/trunk/; revision=43701

10 years agoFirst push of nslookup implementation.
Lucas Suggs [Fri, 23 Oct 2009 17:25:05 +0000 (17:25 +0000)]
First push of nslookup implementation.

svn path=/trunk/; revision=43700

10 years ago[rtl]
Aleksey Bragin [Fri, 23 Oct 2009 13:19:36 +0000 (13:19 +0000)]
[rtl]
- Fix incorrect leap year days checking condition, spotted by Gabriel Iliardi.
See issue #4917 for more details.

svn path=/trunk/; revision=43698

10 years agocomment out svchost.exe, fixes make bootcd.
Sylvain Petreolle [Fri, 23 Oct 2009 09:02:21 +0000 (09:02 +0000)]
comment out svchost.exe, fixes make bootcd.

svn path=/branches/ros-amd64-bringup/; revision=43695

10 years agofix build
Sylvain Petreolle [Fri, 23 Oct 2009 08:25:26 +0000 (08:25 +0000)]
fix build

svn path=/branches/ros-amd64-bringup/; revision=43694

10 years ago - Limit the number of interrupts that are handled per call to MiniportHandleInterrup...
Cameron Gutman [Fri, 23 Oct 2009 00:27:00 +0000 (00:27 +0000)]
 - Limit the number of interrupts that are handled per call to MiniportHandleInterrupt to prevent us from staying at DISPATCH_LEVEL for too long

svn path=/trunk/; revision=43693

10 years ago - Move the DstAddress check above the NCE modification code so we don't use ARP...
Cameron Gutman [Thu, 22 Oct 2009 19:08:02 +0000 (19:08 +0000)]
 - Move the DstAddress check above the NCE modification code so we don't use ARP requests that aren't addressed to us
 - Fixes bug 4879

svn path=/trunk/; revision=43692

10 years ago- Fix 43192 -- MAXUINT and MAXULONGLONG are only defined for Vista and later.
Stefan Ginsberg [Thu, 22 Oct 2009 18:27:17 +0000 (18:27 +0000)]
- Fix 43192 -- MAXUINT and MAXULONGLONG are only defined for Vista and later.
- Add some leftover MAXULONG.

svn path=/trunk/; revision=43691

10 years agorevert the KD_CONTEXT change
Timo Kreuzer [Thu, 22 Oct 2009 15:25:37 +0000 (15:25 +0000)]
revert the KD_CONTEXT change

svn path=/trunk/; revision=43690

10 years agofix build
Timo Kreuzer [Thu, 22 Oct 2009 15:15:07 +0000 (15:15 +0000)]
fix build

svn path=/trunk/; revision=43689

10 years ago[KDCOM]
Timo Kreuzer [Thu, 22 Oct 2009 14:58:33 +0000 (14:58 +0000)]
[KDCOM]
- Merge r43682
- Copy new kdcom from amd64 branch. It's only built when _WINKD_ is set to 1 in the config file.
Happy testing.

svn path=/trunk/; revision=43688

10 years ago[KDCOM]
Timo Kreuzer [Thu, 22 Oct 2009 14:55:26 +0000 (14:55 +0000)]
[KDCOM]
- only build it when _WINKD_ is set to 1 in the config file
- remove DriverEntry

svn path=/branches/ros-amd64-bringup/; revision=43687

10 years agoDon't truncate Processid to ULONG, spotted by Stefan.
Timo Kreuzer [Thu, 22 Oct 2009 14:08:11 +0000 (14:08 +0000)]
Don't truncate Processid to ULONG, spotted by Stefan.

svn path=/branches/ros-amd64-bringup/; revision=43686

10 years ago[KDCOM]
Timo Kreuzer [Thu, 22 Oct 2009 13:37:01 +0000 (13:37 +0000)]
[KDCOM]
- replace KdpDbgPrint with a macro
- remove COM port hack

svn path=/branches/ros-amd64-bringup/; revision=43685

10 years agouse COM2 as DEBUGPORT, COM1 is for plain text debuglog
Timo Kreuzer [Thu, 22 Oct 2009 13:21:50 +0000 (13:21 +0000)]
use COM2 as DEBUGPORT, COM1 is for plain text debuglog

svn path=/branches/ros-amd64-bringup/; revision=43684

10 years ago[KDCOM]
Timo Kreuzer [Thu, 22 Oct 2009 11:49:52 +0000 (11:49 +0000)]
[KDCOM]
Better handling for breakin packets

svn path=/branches/ros-amd64-bringup/; revision=43683

10 years agoFix KD_CONTEXT member names.
Timo Kreuzer [Thu, 22 Oct 2009 11:45:49 +0000 (11:45 +0000)]
Fix KD_CONTEXT member names.

svn path=/branches/ros-amd64-bringup/; revision=43682

10 years ago[shell32]
Andrew Hill [Thu, 22 Oct 2009 02:29:01 +0000 (02:29 +0000)]
[shell32]
- hKey is already properly closed, don't close it again.

svn path=/trunk/; revision=43679

10 years ago - Send DHCP discover after loading the configuration so we have valid options
Cameron Gutman [Thu, 22 Oct 2009 00:55:45 +0000 (00:55 +0000)]
 - Send DHCP discover after loading the configuration so we have valid options
 - Fixes erratic behavior with certain DHCP servers

svn path=/trunk/; revision=43678

10 years ago[NTOSKRNL]
Timo Kreuzer [Wed, 21 Oct 2009 23:22:46 +0000 (23:22 +0000)]
[NTOSKRNL]
- Comment out some instructions in KiRestoreProcessorControlState for now
- move the FreeLdr debugprint hack
- Don't increment RIP on an int3
- improve debugprint for KiInvalidOpcodeFault

svn path=/branches/ros-amd64-bringup/; revision=43677

10 years ago[KDCOM]
Timo Kreuzer [Wed, 21 Oct 2009 21:58:30 +0000 (21:58 +0000)]
[KDCOM]
- send a PACKET_TYPE_KD_RESEND in some more failure cases
- return DataLength in KdReceivePacket
- check the trailing byte
- move some code out of the loop in KdSendPacket
- add a few debugprints, remove some others

svn path=/branches/ros-amd64-bringup/; revision=43676

10 years agoRework kdcom, try to make it "portable", now in kddll folder, where other versions...
Timo Kreuzer [Wed, 21 Oct 2009 20:03:27 +0000 (20:03 +0000)]
Rework kdcom, try to make it "portable", now in kddll folder, where other versions like kdusb and kd1394 can have a warm place, too. It still has issues.

svn path=/branches/ros-amd64-bringup/; revision=43674

10 years ago- Don't use KeBugCheck(0) -- 0 is an invalid bugcode. Use a proper bugcode, DbgBreakP...
Stefan Ginsberg [Wed, 21 Oct 2009 17:52:11 +0000 (17:52 +0000)]
- Don't use KeBugCheck(0) -- 0 is an invalid bugcode. Use a proper bugcode, DbgBreakPoint or UNIMPLEMENTED instead depending on how the old call was used.
- Remove some unused and deprecated macros from the network stack that did this.
- fastfat_new: Use FAT_FILE_SYSTEM instead of magic 0x23.

svn path=/trunk/; revision=43673

10 years ago[PAINT] cleanup:
Benedikt Freisen [Wed, 21 Oct 2009 15:44:31 +0000 (15:44 +0000)]
[PAINT] cleanup:
- formatting for enhanced readability
- removal of superfluous variables/assignments
- corrected or added header comment in all files
- change if ... else ... to ?-operator where sensible and readable
- small bugfix in mouse.c concerning rectangle drawing
- fixed some possible string buffer overruns

svn path=/trunk/; revision=43671

10 years ago- Fix download path as file system doesnt support '?' and rapps isnt checking for...
Johannes Anderwald [Wed, 21 Oct 2009 10:25:28 +0000 (10:25 +0000)]
- Fix download path as file system doesnt support '?' and rapps isnt checking for this

svn path=/trunk/; revision=43670

10 years ago- Fix downloard url
Johannes Anderwald [Wed, 21 Oct 2009 10:13:23 +0000 (10:13 +0000)]
- Fix downloard url

svn path=/trunk/; revision=43669

10 years ago[NTOSKNRL]
Johannes Anderwald [Wed, 21 Oct 2009 09:11:36 +0000 (09:11 +0000)]
[NTOSKNRL]
- Enhance DebugPrint by Stefan Ginsberg

svn path=/trunk/; revision=43668

10 years ago- Fix building on linux
Johannes Anderwald [Wed, 21 Oct 2009 07:55:11 +0000 (07:55 +0000)]
- Fix building on linux
- Patch by Filip Navara

svn path=/trunk/; revision=43667

10 years ago- Fix a lock release leak
Johannes Anderwald [Wed, 21 Oct 2009 07:45:33 +0000 (07:45 +0000)]
- Fix a lock release leak
- By Russel Rice (IRC: Russel) rtc _ marine /@\ hotmail -dot- -com-

svn path=/trunk/; revision=43666

10 years ago[PORTCLS]
Johannes Anderwald [Wed, 21 Oct 2009 06:34:24 +0000 (06:34 +0000)]
[PORTCLS]
- Implement support for submitting multiple stream headers at once
- Return correct status code on error
[WDMAUD_KERNEL]
- Save correct length

svn path=/trunk/; revision=43665

10 years ago - Don't allocate a buffer if we don't have any neighbors
Cameron Gutman [Wed, 21 Oct 2009 03:49:44 +0000 (03:49 +0000)]
 - Don't allocate a buffer if we don't have any neighbors

svn path=/trunk/; revision=43664

10 years ago - Fix an issue that broke ARP replies because we compared the source address with...
Cameron Gutman [Wed, 21 Oct 2009 02:16:03 +0000 (02:16 +0000)]
 - Fix an issue that broke ARP replies because we compared the source address with our address instead of the destination address with our address
 - What ended up happening was the router saved our gratuitous ARP hw address which allowed communication until it sent an ARP request which we would discard instead of replying to it, so the network connection would drop unexpectedly. "ipconfig /renew" was a temporary fix because it caused another gratuitous ARP packet to be sent and readded our hw address to the router's cache
 - This should be the last major issue with running in bridged mode

svn path=/trunk/; revision=43663

10 years ago- [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.
James Tabor [Wed, 21 Oct 2009 00:20:00 +0000 (00:20 +0000)]
- [User32] Rein Klazes : Handle MN_GETHMENU in PopupMenuWndProc.
- [PSDK] Add MN_GETHMENU.

svn path=/trunk/; revision=43661

10 years ago-sync mapi32 with wine 1.1.31
Christoph von Wittich [Tue, 20 Oct 2009 21:40:47 +0000 (21:40 +0000)]
-sync mapi32 with wine 1.1.31

svn path=/trunk/; revision=43660

10 years ago-sync mapi32_winetest with wine 1.1.31
Christoph von Wittich [Tue, 20 Oct 2009 21:40:20 +0000 (21:40 +0000)]
-sync mapi32_winetest with wine 1.1.31

svn path=/trunk/; revision=43659

10 years agoChange base address of User32 DLL to avoid bug #4908.
Dmitry Gorbachev [Tue, 20 Oct 2009 21:03:47 +0000 (21:03 +0000)]
Change base address of User32 DLL to avoid bug #4908.

svn path=/trunk/; revision=43658

10 years ago-sync mshtml_winetest with wine 1.1.31
Christoph von Wittich [Tue, 20 Oct 2009 19:28:26 +0000 (19:28 +0000)]
-sync mshtml_winetest with wine 1.1.31

svn path=/trunk/; revision=43657

10 years ago-sync mshtml with wine 1.1.31
Christoph von Wittich [Tue, 20 Oct 2009 19:28:02 +0000 (19:28 +0000)]
-sync mshtml with wine 1.1.31

svn path=/trunk/; revision=43656

10 years ago[gdi32] Prevent possible buffer overrun in TranslateCharsetInfo, see wine bug 19819...
Gregor Schneider [Tue, 20 Oct 2009 18:34:22 +0000 (18:34 +0000)]
[gdi32] Prevent possible buffer overrun in TranslateCharsetInfo, see wine bug 19819 for more info

svn path=/trunk/; revision=43655

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 17:45:59 +0000 (17:45 +0000)]
[fastfat_new]
- Increase FCB's OpenCount when opening existing FCB too.
- Properly compare prefixes in FatInsertName.
- Fix a copypaste bug which resulted in an infinite loop while traversing a splay tree of FCB names.
- Implement FatiQueryFsSizeInfo.

svn path=/trunk/; revision=43654

10 years ago- Add several missing assertions documented on the MSDN page "Checked Build ASSERTs"
Stefan Ginsberg [Tue, 20 Oct 2009 16:47:01 +0000 (16:47 +0000)]
- Add several missing assertions documented on the MSDN page "Checked Build ASSERTs"
- Fix a typo in MmProbeAndLockPages; assignment within an ASSERT isn't such a good idea! (was harmless though)

svn path=/trunk/; revision=43653

10 years agoFix deprecated conversion from string constant to 'wchar_t*'
Dmitry Gorbachev [Tue, 20 Oct 2009 16:37:51 +0000 (16:37 +0000)]
Fix deprecated conversion from string constant to 'wchar_t*'

svn path=/trunk/; revision=43652

10 years agoMove the sacred texts of (L)GPL to the proper place.
Dmitry Gorbachev [Tue, 20 Oct 2009 15:19:34 +0000 (15:19 +0000)]
Move the sacred texts of (L)GPL to the proper place.

svn path=/trunk/; revision=43650

10 years ago- Fix dgorbachev's copypasta.
Aleksey Bragin [Tue, 20 Oct 2009 14:46:02 +0000 (14:46 +0000)]
- Fix dgorbachev's copypasta.

svn path=/trunk/; revision=43649

10 years agoFix two user32 resource tests
Giannis Adamopoulos [Tue, 20 Oct 2009 14:42:08 +0000 (14:42 +0000)]
Fix two user32 resource tests

svn path=/trunk/; revision=43648

10 years agoFix build.
Dmitry Gorbachev [Tue, 20 Oct 2009 14:33:31 +0000 (14:33 +0000)]
Fix build.

svn path=/trunk/; revision=43647

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 12:51:13 +0000 (12:51 +0000)]
[fastfat_new]
- Implement root directory open operation.
- Add OpenCount counter to FCB.

svn path=/trunk/; revision=43646

10 years ago[atlnew]
Andrew Hill [Tue, 20 Oct 2009 12:26:51 +0000 (12:26 +0000)]
[atlnew]
- Initial checkin of minimal atl library
- To prevent conflicts with wine atl dll, this library is named atlnew

svn path=/trunk/; revision=43645

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 12:03:51 +0000 (12:03 +0000)]
[fastfat_new]
- Fix an incorrectly placed closing bracket which resulted in ignoring almost all actions when performing relative open. This results in a massive reformatting of FatiCreate.

svn path=/trunk/; revision=43644

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 10:32:37 +0000 (10:32 +0000)]
[fastfat_new]
- When creating a DCB with a known file handle, always build a full file name, because FullFAT opening code always needs a full name.
- Fix debug prints (%Z -> %wZ).

svn path=/trunk/; revision=43643

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 10:12:49 +0000 (10:12 +0000)]
[fastfat_new]
- From the moment of statically linking to FullFAT library this driver is infected by GPLv3. Fix headers accordingly.

svn path=/trunk/; revision=43642

10 years ago[fastfat_new]
Aleksey Bragin [Tue, 20 Oct 2009 10:02:27 +0000 (10:02 +0000)]
[fastfat_new]
- Cleanup the source code from parts which aren't needed anymore (after switching to FullFAT library usage). About 40kb of source code removed.

svn path=/trunk/; revision=43641