Commit graph

49148 commits

Author SHA1 Message Date
Rafal Harabien c3ae29cc85 - Revert a revert - KVM is broken
svn path=/trunk/; revision=54622
2011-12-08 23:14:54 +00:00
Roel Messiant fac5897ff1 [SYSSETUP]
- When writing a newline, write just a newline. Prevents garbage in setuplog.txt. CID 14128.


svn path=/trunk/; revision=54621
2011-12-08 21:23:17 +00:00
Cameron Gutman dfcc357969 [TCPIP]
- Fix IPPacket double free in IPSendDatagram failure case

svn path=/trunk/; revision=54620
2011-12-08 21:21:25 +00:00
Rafal Harabien 798a3cfa96 - Partially revert r54613 to fix test bot
svn path=/trunk/; revision=54619
2011-12-08 20:28:06 +00:00
Aleksey Bragin 470eb66aff [KERNEL32]
- Zero-initialize ActivationContextStack pointer before calling RtlAllocateActivationContextStack(). This allows to get rid of some hacks in the existing ActCtx support in the ntdll loader and actual implementation.

svn path=/trunk/; revision=54618
2011-12-08 19:40:25 +00:00
Roel Messiant bf06b2113d [WIN32K]
- Probe the whole SIZE struct arguments, not a pointer size. LPSIZE -> SIZE. CID 14119, 14120.

svn path=/trunk/; revision=54617
2011-12-08 19:38:58 +00:00
Cameron Gutman de4cb19466 [WS2_32]
- Store WSAPROTOCOL_INFOW struct on the stack

svn path=/trunk/; revision=54616
2011-12-08 19:29:20 +00:00
Rafal Harabien 1805dc67b0 [WS2_32] - Use size of struct instead of size of pointer. Don't copy szProtocol, because it's set later. CID 14129 and 54.
svn path=/trunk/; revision=54615
2011-12-08 19:21:01 +00:00
Cameron Gutman 5eb7f4cb10 [WS2_32]
- Allocate enough memory for the WSAPROTOCOL_INFOW struct

svn path=/trunk/; revision=54614
2011-12-08 19:16:24 +00:00
Rafal Harabien 5ef42e9838 [RSYM]
- Don't strip relocations for some sections. Linker knows better if they are needed. Fixes removed relocations for delayed imports in idata section. Bug traced by me, Timo and Amine.
See issue #6618 for more details.

svn path=/trunk/; revision=54613
2011-12-08 19:02:04 +00:00
Pierre Schweitzer 65b1bedcb3 [USP10]
Fix memory leaks.
Already sent & committed upstream: 783683be2d

svn path=/trunk/; revision=54612
2011-12-08 18:10:36 +00:00
James Tabor af39483cdf [User32]
- Add more debugging prints for message types in WndProc callback.

svn path=/trunk/; revision=54611
2011-12-08 17:00:59 +00:00
Pierre Schweitzer 4a177f6424 [MSACM32]
Check allocation success.
Prevent buffer double free.
Already sent & committed upstream: 1ac7096728

svn path=/trunk/; revision=54610
2011-12-07 22:16:00 +00:00
Pierre Schweitzer 7da8d18879 [MSCTF]
Fix memory leaks.
Already sent & committed upstream: f566f38e2f

svn path=/trunk/; revision=54609
2011-12-07 22:12:17 +00:00
Sylvain Petreolle f8a5a5e7ba [MSVCRT]
Spec fixes, spotted by Samuel Serapion.

svn path=/trunk/; revision=54608
2011-12-07 21:52:13 +00:00
Pierre Schweitzer ed16e04814 [RAPPS]
Update all rapps applications.
There are no dead links any longer.

svn path=/trunk/; revision=54607
2011-12-07 21:26:02 +00:00
Aleksey Bragin 9a63c24e07 [NTDLL/LDR]
- Improve LdrpCheckForKnownDll by adding parameters validation, return status value, better failure paths handling.

svn path=/trunk/; revision=54606
2011-12-07 17:51:18 +00:00
Cameron Gutman eb919ba888 [NTOSKRNL]
- Optimize the LRU segment selection a bit

svn path=/trunk/; revision=54605
2011-12-07 09:49:49 +00:00
James Tabor 0f285fa795 [User32]
- Sync up with wine controls. See http://www.winehq.org/pipermail/wine-cvs/ for log data.

svn path=/trunk/; revision=54604
2011-12-07 09:23:04 +00:00
James Tabor b069e5d538 [Usp10]
- Sync up to wine head. This will be needed for edit controls. Waiting for Pierres patched to be added!

svn path=/trunk/; revision=54603
2011-12-07 05:16:30 +00:00
Dmitry Gorbachev 783d0965a3 [FREELDR]
HACK: Fix booting with Armenian and other "exotic" languages. Bug #6727.

svn path=/trunk/; revision=54602
2011-12-06 17:38:06 +00:00
Cameron Gutman bf94fe34bc [NDIS]
- Call MiniportReturnPacket at DISPATCH_LEVEL

svn path=/trunk/; revision=54601
2011-12-05 23:38:14 +00:00
Cameron Gutman a4be799408 [TCPIP]
- Make interface octets in/out stats more accurate

svn path=/trunk/; revision=54600
2011-12-05 18:42:21 +00:00
James Tabor 5c7cd6fe68 - Fix return properties from atom.
svn path=/trunk/; revision=54599
2011-12-05 07:43:29 +00:00
Cameron Gutman b8680bd686 [TCPIP]
- Fix the overflow fix

svn path=/trunk/; revision=54598
2011-12-05 03:51:01 +00:00
Cameron Gutman b855c23983 [TCPIP]
- Massive IPPacket usage overhaul (fix missing frees, initializations, and double frees)
- Make IP receive completely agnostic of the buffers and data location (part 2 of 2)
- Use paged pool for the majority of allocations during receive and assembly
- Implement ProtocolReceivePacket for faster performance with 3rd party NIC drivers
- Fix a buffer overflow if an IPv4 packet is received with a header larger than 20 bytes
- Many more improvements and bug fixes

svn path=/trunk/; revision=54597
2011-12-05 03:14:50 +00:00
James Tabor fc99fd13d2 [Win32k]
- Fix more set active window API tests. The window postion change message with fixed lparam is erroneous. How can the address be the same since it originates from kernel space?

svn path=/trunk/; revision=54596
2011-12-05 01:09:25 +00:00
James Tabor 89a93a892d [Win32k]
- Fix crash in shutdown, see bug 6714.

svn path=/trunk/; revision=54595
2011-12-04 22:35:18 +00:00
Jérôme Gardou 07619e65c7 [ACPI]
- return correct status in case of unknown GUID passed for IRP_MN_QUERY_INTERFACE

svn path=/trunk/; revision=54594
2011-12-04 22:34:55 +00:00
Cameron Gutman 3b2e97595e [TCPIP]
- Avoid an extra copy operation when receiving packets
- Optimize loopback code a bit
- Make IP receive independent of the location of the data and continuity of buffers in the NDIS packet for ProtocolReceivePacket support (part 1 of x)

svn path=/trunk/; revision=54593
2011-12-04 22:31:49 +00:00
Alex Ionescu 37dc00b136 [KERNEL32]: Implement BasepComputeProcessPath.
[KERNEL32]: Replace BasepGetDllPath with BasepComputeProcessDllPath. Paths now work right. This is step 1. SearchPatchW is next (BasepComputeProcessPath), followed by CreateProcessInternalW (BasepComputeProcessExePath). Then all paths will work right.

svn path=/trunk/; revision=54592
2011-12-04 19:30:12 +00:00
Cameron Gutman 6764aa97c8 [NTOSKRNL]
- Fix a logic error
- Signal the balancer in the !CanWait case if we're too low on pages since it runs asynchronously as of recently

svn path=/trunk/; revision=54591
2011-12-04 19:22:51 +00:00
Roel Messiant c42d4ae0f0 [REGEDIT]
- Prevent buffer overflow when creating the display value for a value of type REG_MULTI_SZ.
- Prevent processing excess data when preparing a value of type REG_MULTI_SZ for editing.

svn path=/trunk/; revision=54590
2011-12-04 19:19:33 +00:00
Cameron Gutman 768046255e [NTOSKRNL]
- Print a warning and signal RosMm to trim pages if we drop below MmMinimumFreePages in MiRemovePageByColor and MiUnlinkFreeOrZeroedPage

svn path=/trunk/; revision=54589
2011-12-04 19:06:40 +00:00
Alex Ionescu ca193ad4a7 [RTL]: Clarify a comment.
svn path=/trunk/; revision=54588
2011-12-04 17:25:15 +00:00
Alex Ionescu 5bfc64af01 [KERNEL32]: Fix many bugs in BasepInitailizeEnvironment (and rename to BasePushProcessParameters):
- Depending on how big the full path is, either the application path or the full path should be used. Size the buffers correctly, too.
    - If the caller did not specify a window title, should use the app path as title.
    - Clear the current directory handle if InheritHandles is false.
    - Correctly handle CREATE_NEW_PROCESS_GROUP and CREATE_NEW_CONSOLE.
    - Check the failure codes of many APIs that we just assumed returned success.
    - STARTF_USEHOTKEY | STARTF_SHELLPRIVATE should be checked when inheriting console handles.
    - Handle 1MB and 16MB reservation requests.
    - Bugs remain: ImageSubsystem not written, and failure will leak. To be fixed later.

svn path=/trunk/; revision=54587
2011-12-04 16:34:58 +00:00
Alex Ionescu 778d8cec8a [RTL]: Fix a bug in RtlGetCurrentDirectory_U.
svn path=/trunk/; revision=54586
2011-12-04 16:27:32 +00:00
Alex Ionescu aa165b016c [NDK]: Add missing define.
svn path=/trunk/; revision=54585
2011-12-04 16:27:14 +00:00
Johannes Anderwald b77ebc4fd0 - add more debug traces
- see bug 6556

svn path=/trunk/; revision=54584
2011-12-04 16:20:07 +00:00
Olaf Siejka a0fce830ee [TRANSLATION]
- Romanian translation update (bug no. 6704) by Stefan Fulea;
- Lithuanian UTF-8 translation fixes (bug no. 6716) by Edijs Kolesnikovics;
- sysdm translation update by myself;



svn path=/trunk/; revision=54583
2011-12-04 14:53:17 +00:00
Olaf Siejka 03a54ff941 [SSSTARS]
- Convert the remainder of PL strings to UTF-8 to fix build, since that RC is declared as Unicode. Convert italian resources to UTF-8 and place all rc in a single section;

svn path=/trunk/; revision=54582
2011-12-04 14:46:04 +00:00
Eric Kohl fd7cf60b6b [BOOTDATA]
Log service control manager events in the system log.

svn path=/trunk/; revision=54581
2011-12-04 14:23:52 +00:00
Eric Kohl ebf5940723 [EVENTLOG]
- Open the application log if the desired log does not exist.
- Log eventlog service stop and shutdown.

svn path=/trunk/; revision=54580
2011-12-04 10:53:43 +00:00
Cameron Gutman 4ce4744000 [NTOSKRNL]
- Release the address space lock before entering SEH because an exception would result in recursive acquisition of the address space lock when the fault handler tries to grab it

svn path=/trunk/; revision=54579
2011-12-04 08:25:35 +00:00
Cameron Gutman 16d77664e7 [NTOSKRNL]
- Fix usage of SEH

svn path=/trunk/; revision=54578
2011-12-04 06:11:47 +00:00
Cameron Gutman a4479b14cd [NTOSKRNL]
- Gracefully fail when there is no more pool space left
- Mm already prints plenty of warnings in this case

svn path=/trunk/; revision=54577
2011-12-03 22:46:15 +00:00
Cameron Gutman 621c5a5680 [AFD]
- Fix the allocation size for AFD_ACTIVE_POLL to fix a 1 byte non-paged pool overrun

svn path=/trunk/; revision=54576
2011-12-03 21:34:49 +00:00
Eric Kohl 17954a4f65 [BOOTDATA]
Remove class2 and scsiport service keys from the registry because these drivers are loaded automatically when they are needed.

svn path=/trunk/; revision=54575
2011-12-03 21:17:11 +00:00
Kamil Hornicek b388ffbe70 [TRANSLATION]
Improved Czech resources.

svn path=/trunk/; revision=54574
2011-12-03 18:39:11 +00:00
Johannes Anderwald 6903aa1ae1 [PORTCLS]
- Use parameters which have been already probed by ks
- re-enable traces for property handler bug
- see bug 6662 6663 

svn path=/trunk/; revision=54573
2011-12-03 17:39:19 +00:00