Commit graph

49334 commits

Author SHA1 Message Date
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
Johannes Anderwald 755f485b8e [KS]
- store property item when there are custom specific properties
- Fix bug where the property handle routine received an invalid pointer to the data

svn path=/trunk/; revision=54572
2011-12-03 16:59:47 +00:00
Johannes Anderwald 8ee7ad7bcb - debug code for bug 6663
svn path=/trunk/; revision=54571
2011-12-03 13:55:07 +00:00
Cameron Gutman 75bfaddc5e [LIBWINE]
- Try to fix build

svn path=/trunk/; revision=54570
2011-12-03 11:36:30 +00:00
Cameron Gutman 5c0462dfe2 [NTOSKRNL]
- Use SEH when copying values back to the caller from NtFreeVirtualMemory

svn path=/trunk/; revision=54569
2011-12-03 11:18:18 +00:00
Christoph von Wittich 5ab217133c [psdk]
add missing files

svn path=/trunk/; revision=54568
2011-12-03 11:08:05 +00:00
Christoph von Wittich 7a4e87f841 [libwine]
add register.c to CMakeLists.txt as well

svn path=/trunk/; revision=54567
2011-12-03 11:03:45 +00:00
Christoph von Wittich adc5bbe1ae [libwine]
add wine dll registration functions to libwine (taken from winecrt0)

TODO: support for linking multiple res files
      rbuild/cmake: generating .rgs files from typelibs

svn path=/trunk/; revision=54566
2011-12-03 10:45:26 +00:00
Cameron Gutman b3c3a8b9ea [NTOSKRNL]
NtFreeVirtualMemory:
- Handle the case where a region size of 0 is passed in
- Return the correct error status for failure
- Copy back the rounded values
- Add checks and prints to catch callers doing nasty things  (one is commented out because csrsrv triggers it trying to release the first 1 MB of RAM during video init, not sure what to do there)

- There is a heap bug where calling RtlReAllocateHeap on a large block allocation (HEAP_ENTRY_VIRTUAL_ALLOC is set) will cause a call to NtFreeVirtualMemory with an offset base (illegal) and a length smaller than the total pages reserved in the VM region (also illegal). This bug is exposed by setupapi when it parses large INF files (like the PRO/1000 driver INF).

svn path=/trunk/; revision=54565
2011-12-03 10:30:02 +00:00
Sylvain Petreolle 164b6995a0 Fix typo.
svn path=/trunk/; revision=54564
2011-12-02 21:28:10 +00:00
Sylvain Petreolle ca78c02783 [CRT]
Normalize all crt dll entry points to be identical.
Implement a single per thread data structure, instead of ancient and incomplete
"wine port" hack and use it everywhere.
Remove completely unused HeapCreate calls that just wasted memory.
Update cpp.c and cppexcept.c to wine 1.3.33
Fix up strtok, wcstok, rand, and _beginthread_trampoline according to wine.
Add place holders for future locale stuff.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54563
2011-12-02 21:18:42 +00:00
Johannes Anderwald 38734d95d1 - add debug code for handling bug 6663
svn path=/trunk/; revision=54562
2011-12-02 17:35:53 +00:00
Cameron Gutman 9bcecdfc3c [LWIP]
- Save a bit of memory by changing the way pbufs are allocated for transmission

svn path=/trunk/; revision=54561
2011-12-02 06:55:05 +00:00
Cameron Gutman 857e528264 [NDIS]
- Print miniport attribute flags

svn path=/trunk/; revision=54560
2011-12-02 03:21:21 +00:00
Cameron Gutman 77ed514f64 [NDIS]
- Implement NdisReturnPackets and do proper reference tracking of packets sent to ProtocolReceivePacket
- Plug a massive memory leak that resulted in leaking every packet descriptor that any deserialized miniport indicated to TCP/IP

svn path=/trunk/; revision=54559
2011-12-02 01:56:10 +00:00