reactos.git
12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 14 Dec 2011 17:53:15 +0000 (17:53 +0000)]
[NTOSKRNL]
- Don't page out locked pages
- Fixes random failed assertions in MmUnlockPages

svn path=/trunk/; revision=54648

12 years ago[WIN32K]
Dmitry Gorbachev [Wed, 14 Dec 2011 04:07:06 +0000 (04:07 +0000)]
[WIN32K]
Fix indentation, comments, debug messages. Lioncash (mathew1800\AT/gmail\DOT/com), bug #6762.

svn path=/trunk/; revision=54647

12 years ago[RTL]: Implement, and export, RtlDosSearchPath_Ustr as well as RtlGetFullPathName_Ust...
Alex Ionescu [Wed, 14 Dec 2011 03:55:54 +0000 (03:55 +0000)]
[RTL]: Implement, and export, RtlDosSearchPath_Ustr as well as RtlGetFullPathName_UstrEx. RtlGetFullPathName_U is still old code but it seems good enough for now, and isn't the next target.
Nothing calls this code yet (SearchPathW soon will), this is just an implementation commit. Code was tested to boot to 3rd stage after SearchPath modification, which is the next target (step 2).
After which, the only code in the loader paths that uses legacy path APIs will be the create process path, the third and final step.

svn path=/trunk/; revision=54646

12 years ago[TRANSLATION]
Dmitry Gorbachev [Wed, 14 Dec 2011 00:53:58 +0000 (00:53 +0000)]
[TRANSLATION]
Add Romanian translation for BrowseUI, update many older translations.
Patch by Stefan Fulea. Bug #6765.

svn path=/trunk/; revision=54645

12 years ago[TRANSLATION]
Dmitry Gorbachev [Tue, 13 Dec 2011 13:37:08 +0000 (13:37 +0000)]
[TRANSLATION]
Sync translated files with English files.

svn path=/trunk/; revision=54644

12 years ago[MSAFD]
Aleksey Bragin [Mon, 12 Dec 2011 22:31:09 +0000 (22:31 +0000)]
[MSAFD]
- Handle SO_SNDBUF in WSPSetSockOpt so that it doesn't fall through to wshtcpip and result in "unknown level: 65536".
- Added more trace messages.
See issue #5477 for more details.

svn path=/trunk/; revision=54643

12 years ago[ADVAPI32]
Eric Kohl [Mon, 12 Dec 2011 21:54:20 +0000 (21:54 +0000)]
[ADVAPI32]
ReportEventA/W: Strings must be passed to ElfrReportEventA/W as a pointer to an array of PANSI_STRINGs instead of a pointer to an array of ANSI_STRINGs. Now, strings appear in the event viewer.

svn path=/trunk/; revision=54642

12 years ago[WIN32K] - Formatting. No code changes.
Rafal Harabien [Sun, 11 Dec 2011 20:09:53 +0000 (20:09 +0000)]
[WIN32K] - Formatting. No code changes.

svn path=/trunk/; revision=54641

12 years ago[PORTCLS]
Johannes Anderwald [Sun, 11 Dec 2011 10:51:37 +0000 (10:51 +0000)]
[PORTCLS]
- Add support for IDrmPort, IDrmPort2
- more debug traces

svn path=/trunk/; revision=54640

12 years ago[WIN32K]
Sylvain Petreolle [Sat, 10 Dec 2011 21:30:17 +0000 (21:30 +0000)]
[WIN32K]
Fix MSVC build.

svn path=/trunk/; revision=54639

12 years ago- missed this file.
James Tabor [Sat, 10 Dec 2011 07:46:10 +0000 (07:46 +0000)]
- missed this file.

svn path=/trunk/; revision=54638

12 years ago[Win32k|User32]
James Tabor [Sat, 10 Dec 2011 07:41:56 +0000 (07:41 +0000)]
[Win32k|User32]
- Fix Get/SetWindowPlacement and everything related. Which exposed the scroll bar over write issue, it's not refreshing the client window when it is maximized. Next thing to fix.
- Fix ShowWindowAsync, now restore and minimize all works. This is based on wine but in reality it's based on Windows queuing event messages used in server side internal calls. Also this patch includes the server side hooking points.
- Removed one ugly API.
- Fixes bug 6239, 6739 and client window restore from maximize and the incremental crawling down issue when parent window is minimized then restored.

svn path=/trunk/; revision=54637

12 years ago- Fix dialog themes support for get text.
James Tabor [Sat, 10 Dec 2011 07:03:33 +0000 (07:03 +0000)]
- Fix dialog themes support for get text.

svn path=/trunk/; revision=54636

12 years ago- Fix make window active so to restore window.
James Tabor [Sat, 10 Dec 2011 07:00:09 +0000 (07:00 +0000)]
- Fix make window active so to restore window.

svn path=/trunk/; revision=54635

12 years ago[Win32k]
James Tabor [Sat, 10 Dec 2011 06:08:29 +0000 (06:08 +0000)]
[Win32k]
- Fixups to set focus and show window support, added notes. Add is window visible. Fix a binary bit return, 1 is TRUE. Fix get client rectangle. Minor fixups.

svn path=/trunk/; revision=54634

12 years ago[Win32k]
James Tabor [Sat, 10 Dec 2011 06:00:38 +0000 (06:00 +0000)]
[Win32k]
- Get FlashWindow working, pass all but 2 tests. Add more win32k atoms.

svn path=/trunk/; revision=54633

12 years ago[USETUP]
Cameron Gutman [Sat, 10 Dec 2011 04:20:39 +0000 (04:20 +0000)]
[USETUP]
- Cache the last data block and offset so we don't have to search from the start each time
- This avoids needless swapping of cabinet data in and out of RAM
- File copy in text-mode setup on 32 MB RAM is down from 8 minutes to 20 seconds (in my testing)

svn path=/trunk/; revision=54632

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 10 Dec 2011 04:11:19 +0000 (04:11 +0000)]
[NTOSKRNL]
- Print trimmed consumers during text-mode setup too

svn path=/trunk/; revision=54631

12 years ago[WIN32K]
Roel Messiant [Sat, 10 Dec 2011 00:14:31 +0000 (00:14 +0000)]
[WIN32K]
Probe the whole GAMMARAMP struct before reading/writing from it. CID 14114 & 14115.

svn path=/trunk/; revision=54630

12 years ago[LDR]
Aleksey Bragin [Fri, 9 Dec 2011 21:43:03 +0000 (21:43 +0000)]
[LDR]
- Fix invalid errors about "system DLL kernel32.dll was relocated in memory". This reverts my previous fix suggested by rafalh and puts a better explanation there in comments.

svn path=/trunk/; revision=54629

12 years ago[USP10]
Pierre Schweitzer [Fri, 9 Dec 2011 20:51:43 +0000 (20:51 +0000)]
[USP10]
Fix memory leak.
Already sent & committed upstream: http://source.winehq.org/git/wine.git/commit/06f65740b2efc23ff6520cef44ea73fc79409e0a

svn path=/trunk/; revision=54628

12 years ago[ACTCTX]
Aleksey Bragin [Fri, 9 Dec 2011 16:47:50 +0000 (16:47 +0000)]
[ACTCTX]
- One more leftover from 54623. Remove actctx_init() from the activation context stack allocation.

svn path=/trunk/; revision=54627

12 years ago[NTDLL]
Pierre Schweitzer [Fri, 9 Dec 2011 16:29:06 +0000 (16:29 +0000)]
[NTDLL]
Include ReactOS internal headers first

svn path=/trunk/; revision=54626

12 years ago[ACTCTX]
Cameron Gutman [Fri, 9 Dec 2011 16:04:14 +0000 (16:04 +0000)]
[ACTCTX]
- Add a missing assignment
- Try #1 to fix KVM

svn path=/trunk/; revision=54625

12 years ago[USETUP]
Cameron Gutman [Fri, 9 Dec 2011 14:51:57 +0000 (14:51 +0000)]
[USETUP]
 - Optimize cabinet file processing by finding files sequentially instead of starting from the beginning each time

svn path=/trunk/; revision=54624

12 years ago[ACTCTX]
Aleksey Bragin [Fri, 9 Dec 2011 10:33:09 +0000 (10:33 +0000)]
[ACTCTX]
- Improve and rewrite a few active context support functions in RTL, making them more close to their real functionality and throwing away wineisms.
- Uncomment a line in RtlAllocateActivationContextStack() which was causing it to always allocate a new activation context stack even if there was one. Thanks to my previous commit in kernel32 counterpart, this hack is not needed anymore and memory won't be wasted.
- Since we have mostly Wine's code in our activation context implementation, it makes sense to use it properly until it's rewritten, so first of all:
- Properly initialize current process's activation context support by calling actctx_init() from LdrpInitializeProcess instead of calling it all the time when a new context is created.
- Bring in create_module_activation_context and find_actctx_dll (newer version from Wine which supports manifests/assmeblies in local directories) and use it. Every place where it's used is marked as a HACK so it will be easy to detach it later.
- Remove actctx-related hack LdrpInitializeThread, now it works properly.
- Fix a typo in LdrpMapDll found by rafalh. Now the error-detection condition will be correctly evaluated.
See issue #6611 for more details.

svn path=/trunk/; revision=54623

12 years ago- Revert a revert - KVM is broken
Rafal Harabien [Thu, 8 Dec 2011 23:14:54 +0000 (23:14 +0000)]
- Revert a revert - KVM is broken

svn path=/trunk/; revision=54622

12 years ago[SYSSETUP]
Roel Messiant [Thu, 8 Dec 2011 21:23:17 +0000 (21:23 +0000)]
[SYSSETUP]
- When writing a newline, write just a newline. Prevents garbage in setuplog.txt. CID 14128.

svn path=/trunk/; revision=54621

12 years ago[TCPIP]
Cameron Gutman [Thu, 8 Dec 2011 21:21:25 +0000 (21:21 +0000)]
[TCPIP]
- Fix IPPacket double free in IPSendDatagram failure case

svn path=/trunk/; revision=54620

12 years ago- Partially revert r54613 to fix test bot
Rafal Harabien [Thu, 8 Dec 2011 20:28:06 +0000 (20:28 +0000)]
- Partially revert r54613 to fix test bot

svn path=/trunk/; revision=54619

12 years ago[KERNEL32]
Aleksey Bragin [Thu, 8 Dec 2011 19:40:25 +0000 (19:40 +0000)]
[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

12 years ago[WIN32K]
Roel Messiant [Thu, 8 Dec 2011 19:38:58 +0000 (19:38 +0000)]
[WIN32K]
- Probe the whole SIZE struct arguments, not a pointer size. LPSIZE -> SIZE. CID 14119, 14120.

svn path=/trunk/; revision=54617

12 years ago[WS2_32]
Cameron Gutman [Thu, 8 Dec 2011 19:29:20 +0000 (19:29 +0000)]
[WS2_32]
- Store WSAPROTOCOL_INFOW struct on the stack

svn path=/trunk/; revision=54616

12 years ago[WS2_32] - Use size of struct instead of size of pointer. Don't copy szProtocol,...
Rafal Harabien [Thu, 8 Dec 2011 19:21:01 +0000 (19:21 +0000)]
[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

12 years ago[WS2_32]
Cameron Gutman [Thu, 8 Dec 2011 19:16:24 +0000 (19:16 +0000)]
[WS2_32]
- Allocate enough memory for the WSAPROTOCOL_INFOW struct

svn path=/trunk/; revision=54614

12 years ago[RSYM]
Rafal Harabien [Thu, 8 Dec 2011 19:02:04 +0000 (19:02 +0000)]
[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

12 years ago[USP10]
Pierre Schweitzer [Thu, 8 Dec 2011 18:10:36 +0000 (18:10 +0000)]
[USP10]
Fix memory leaks.
Already sent & committed upstream: http://source.winehq.org/git/wine.git/commit/783683be2decd90079e484e6d12eee958da29754

svn path=/trunk/; revision=54612

12 years ago[User32]
James Tabor [Thu, 8 Dec 2011 17:00:59 +0000 (17:00 +0000)]
[User32]
- Add more debugging prints for message types in WndProc callback.

svn path=/trunk/; revision=54611

12 years ago[MSACM32]
Pierre Schweitzer [Wed, 7 Dec 2011 22:16:00 +0000 (22:16 +0000)]
[MSACM32]
Check allocation success.
Prevent buffer double free.
Already sent & committed upstream: http://source.winehq.org/git/wine.git/commit/1ac7096728dbb46a56f84fa0d25fdc3cc5282519

svn path=/trunk/; revision=54610

12 years ago[MSCTF]
Pierre Schweitzer [Wed, 7 Dec 2011 22:12:17 +0000 (22:12 +0000)]
[MSCTF]
Fix memory leaks.
Already sent & committed upstream: http://source.winehq.org/git/wine.git/commit/f566f38e2fd85f05f1291d7b6154440887c15a70

svn path=/trunk/; revision=54609

12 years ago[MSVCRT]
Sylvain Petreolle [Wed, 7 Dec 2011 21:52:13 +0000 (21:52 +0000)]
[MSVCRT]
Spec fixes, spotted by Samuel Serapion.

svn path=/trunk/; revision=54608

12 years ago[RAPPS]
Pierre Schweitzer [Wed, 7 Dec 2011 21:26:02 +0000 (21:26 +0000)]
[RAPPS]
Update all rapps applications.
There are no dead links any longer.

svn path=/trunk/; revision=54607

12 years ago[NTDLL/LDR]
Aleksey Bragin [Wed, 7 Dec 2011 17:51:18 +0000 (17:51 +0000)]
[NTDLL/LDR]
- Improve LdrpCheckForKnownDll by adding parameters validation, return status value, better failure paths handling.

svn path=/trunk/; revision=54606

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 7 Dec 2011 09:49:49 +0000 (09:49 +0000)]
[NTOSKRNL]
- Optimize the LRU segment selection a bit

svn path=/trunk/; revision=54605

12 years ago[User32]
James Tabor [Wed, 7 Dec 2011 09:23:04 +0000 (09:23 +0000)]
[User32]
- Sync up with wine controls. See http://www.winehq.org/pipermail/wine-cvs/ for log data.

svn path=/trunk/; revision=54604

12 years ago[Usp10]
James Tabor [Wed, 7 Dec 2011 05:16:30 +0000 (05:16 +0000)]
[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

12 years ago[FREELDR]
Dmitry Gorbachev [Tue, 6 Dec 2011 17:38:06 +0000 (17:38 +0000)]
[FREELDR]
HACK: Fix booting with Armenian and other "exotic" languages. Bug #6727.

svn path=/trunk/; revision=54602

12 years ago[NDIS]
Cameron Gutman [Mon, 5 Dec 2011 23:38:14 +0000 (23:38 +0000)]
[NDIS]
- Call MiniportReturnPacket at DISPATCH_LEVEL

svn path=/trunk/; revision=54601

12 years ago[TCPIP]
Cameron Gutman [Mon, 5 Dec 2011 18:42:21 +0000 (18:42 +0000)]
[TCPIP]
- Make interface octets in/out stats more accurate

svn path=/trunk/; revision=54600

12 years ago- Fix return properties from atom.
James Tabor [Mon, 5 Dec 2011 07:43:29 +0000 (07:43 +0000)]
- Fix return properties from atom.

svn path=/trunk/; revision=54599

12 years ago[TCPIP]
Cameron Gutman [Mon, 5 Dec 2011 03:51:01 +0000 (03:51 +0000)]
[TCPIP]
- Fix the overflow fix

svn path=/trunk/; revision=54598

12 years ago[TCPIP]
Cameron Gutman [Mon, 5 Dec 2011 03:14:50 +0000 (03:14 +0000)]
[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

12 years ago[Win32k]
James Tabor [Mon, 5 Dec 2011 01:09:25 +0000 (01:09 +0000)]
[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

12 years ago[Win32k]
James Tabor [Sun, 4 Dec 2011 22:35:18 +0000 (22:35 +0000)]
[Win32k]
- Fix crash in shutdown, see bug 6714.

svn path=/trunk/; revision=54595

12 years ago[ACPI]
Jérôme Gardou [Sun, 4 Dec 2011 22:34:55 +0000 (22:34 +0000)]
[ACPI]
- return correct status in case of unknown GUID passed for IRP_MN_QUERY_INTERFACE

svn path=/trunk/; revision=54594

12 years ago[TCPIP]
Cameron Gutman [Sun, 4 Dec 2011 22:31:49 +0000 (22:31 +0000)]
[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

12 years ago[KERNEL32]: Implement BasepComputeProcessPath.
Alex Ionescu [Sun, 4 Dec 2011 19:30:12 +0000 (19:30 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Dec 2011 19:22:51 +0000 (19:22 +0000)]
[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

12 years ago[REGEDIT]
Roel Messiant [Sun, 4 Dec 2011 19:19:33 +0000 (19:19 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Dec 2011 19:06:40 +0000 (19:06 +0000)]
[NTOSKRNL]
- Print a warning and signal RosMm to trim pages if we drop below MmMinimumFreePages in MiRemovePageByColor and MiUnlinkFreeOrZeroedPage

svn path=/trunk/; revision=54589

12 years ago[RTL]: Clarify a comment.
Alex Ionescu [Sun, 4 Dec 2011 17:25:15 +0000 (17:25 +0000)]
[RTL]: Clarify a comment.

svn path=/trunk/; revision=54588

12 years ago[KERNEL32]: Fix many bugs in BasepInitailizeEnvironment (and rename to BasePushProces...
Alex Ionescu [Sun, 4 Dec 2011 16:34:58 +0000 (16:34 +0000)]
[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

12 years ago[RTL]: Fix a bug in RtlGetCurrentDirectory_U.
Alex Ionescu [Sun, 4 Dec 2011 16:27:32 +0000 (16:27 +0000)]
[RTL]: Fix a bug in RtlGetCurrentDirectory_U.

svn path=/trunk/; revision=54586

12 years ago[NDK]: Add missing define.
Alex Ionescu [Sun, 4 Dec 2011 16:27:14 +0000 (16:27 +0000)]
[NDK]: Add missing define.

svn path=/trunk/; revision=54585

12 years ago- add more debug traces
Johannes Anderwald [Sun, 4 Dec 2011 16:20:07 +0000 (16:20 +0000)]
- add more debug traces
- see bug 6556

svn path=/trunk/; revision=54584

12 years ago[TRANSLATION]
Olaf Siejka [Sun, 4 Dec 2011 14:53:17 +0000 (14:53 +0000)]
[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

12 years ago[SSSTARS]
Olaf Siejka [Sun, 4 Dec 2011 14:46:04 +0000 (14:46 +0000)]
[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

12 years ago[BOOTDATA]
Eric Kohl [Sun, 4 Dec 2011 14:23:52 +0000 (14:23 +0000)]
[BOOTDATA]
Log service control manager events in the system log.

svn path=/trunk/; revision=54581

12 years ago[EVENTLOG]
Eric Kohl [Sun, 4 Dec 2011 10:53:43 +0000 (10:53 +0000)]
[EVENTLOG]
- Open the application log if the desired log does not exist.
- Log eventlog service stop and shutdown.

svn path=/trunk/; revision=54580

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Dec 2011 08:25:35 +0000 (08:25 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 4 Dec 2011 06:11:47 +0000 (06:11 +0000)]
[NTOSKRNL]
- Fix usage of SEH

svn path=/trunk/; revision=54578

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 3 Dec 2011 22:46:15 +0000 (22:46 +0000)]
[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

12 years ago[AFD]
Cameron Gutman [Sat, 3 Dec 2011 21:34:49 +0000 (21:34 +0000)]
[AFD]
- Fix the allocation size for AFD_ACTIVE_POLL to fix a 1 byte non-paged pool overrun

svn path=/trunk/; revision=54576

12 years ago[BOOTDATA]
Eric Kohl [Sat, 3 Dec 2011 21:17:11 +0000 (21:17 +0000)]
[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

12 years ago[TRANSLATION]
Kamil Hornicek [Sat, 3 Dec 2011 18:39:11 +0000 (18:39 +0000)]
[TRANSLATION]
Improved Czech resources.

svn path=/trunk/; revision=54574

12 years ago[PORTCLS]
Johannes Anderwald [Sat, 3 Dec 2011 17:39:19 +0000 (17:39 +0000)]
[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

12 years ago[KS]
Johannes Anderwald [Sat, 3 Dec 2011 16:59:47 +0000 (16:59 +0000)]
[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

12 years ago- debug code for bug 6663
Johannes Anderwald [Sat, 3 Dec 2011 13:55:07 +0000 (13:55 +0000)]
- debug code for bug 6663

svn path=/trunk/; revision=54571

12 years ago[LIBWINE]
Cameron Gutman [Sat, 3 Dec 2011 11:36:30 +0000 (11:36 +0000)]
[LIBWINE]
- Try to fix build

svn path=/trunk/; revision=54570

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 3 Dec 2011 11:18:18 +0000 (11:18 +0000)]
[NTOSKRNL]
- Use SEH when copying values back to the caller from NtFreeVirtualMemory

svn path=/trunk/; revision=54569

12 years ago[psdk]
Christoph von Wittich [Sat, 3 Dec 2011 11:08:05 +0000 (11:08 +0000)]
[psdk]
add missing files

svn path=/trunk/; revision=54568

12 years ago[libwine]
Christoph von Wittich [Sat, 3 Dec 2011 11:03:45 +0000 (11:03 +0000)]
[libwine]
add register.c to CMakeLists.txt as well

svn path=/trunk/; revision=54567

12 years ago[libwine]
Christoph von Wittich [Sat, 3 Dec 2011 10:45:26 +0000 (10:45 +0000)]
[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

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 3 Dec 2011 10:30:02 +0000 (10:30 +0000)]
[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

12 years agoFix typo.
Sylvain Petreolle [Fri, 2 Dec 2011 21:28:10 +0000 (21:28 +0000)]
Fix  typo.

svn path=/trunk/; revision=54564

12 years ago[CRT]
Sylvain Petreolle [Fri, 2 Dec 2011 21:18:42 +0000 (21:18 +0000)]
[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

12 years ago- add debug code for handling bug 6663
Johannes Anderwald [Fri, 2 Dec 2011 17:35:53 +0000 (17:35 +0000)]
- add debug code for handling bug 6663

svn path=/trunk/; revision=54562

12 years ago[LWIP]
Cameron Gutman [Fri, 2 Dec 2011 06:55:05 +0000 (06:55 +0000)]
[LWIP]
- Save a bit of memory by changing the way pbufs are allocated for transmission

svn path=/trunk/; revision=54561

12 years ago[NDIS]
Cameron Gutman [Fri, 2 Dec 2011 03:21:21 +0000 (03:21 +0000)]
[NDIS]
- Print miniport attribute flags

svn path=/trunk/; revision=54560

12 years ago[NDIS]
Cameron Gutman [Fri, 2 Dec 2011 01:56:10 +0000 (01:56 +0000)]
[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

12 years ago[NDIS]
Cameron Gutman [Thu, 1 Dec 2011 23:04:22 +0000 (23:04 +0000)]
[NDIS]
- Call FreeCommonBuffer() synchronously if we're running at PASSIVE_LEVEL to avoid cases where the miniport could be freed before the work item runs

svn path=/trunk/; revision=54558

12 years ago[NDIS]
Cameron Gutman [Thu, 1 Dec 2011 22:31:54 +0000 (22:31 +0000)]
[NDIS]
- Make NdisMAllocateSharedMemoryAsync and NdisMFreeSharedMemory safe to call at IRQL <= DISPATCH_LEVEL

svn path=/trunk/; revision=54557

12 years ago[Win32k|User32]
James Tabor [Thu, 1 Dec 2011 12:42:05 +0000 (12:42 +0000)]
[Win32k|User32]
- Fix regressions, running RegEdit. Adding more support for scroll bar controls. Pass all but 7 tests including the two wine todos.

svn path=/trunk/; revision=54556

12 years ago[Win32k|User32]
James Tabor [Thu, 1 Dec 2011 03:20:02 +0000 (03:20 +0000)]
[Win32k|User32]
- Fix scrollbar class support. Sync ports from wine. Added the window scroll structure to the class. Pass all but 15 tests, two are wine todos lines 304 and 343.

svn path=/trunk/; revision=54555

12 years ago[MSVCRT_APITEST]
Pierre Schweitzer [Wed, 30 Nov 2011 23:47:41 +0000 (23:47 +0000)]
[MSVCRT_APITEST]
Add MSDN example

svn path=/trunk/; revision=54554

12 years ago[NDIS]
Cameron Gutman [Wed, 30 Nov 2011 22:27:14 +0000 (22:27 +0000)]
[NDIS]
- Fix parsing of hex strings

svn path=/trunk/; revision=54553

12 years ago[CRT]
Pierre Schweitzer [Wed, 30 Nov 2011 22:04:54 +0000 (22:04 +0000)]
[CRT]
Fix error handling for j0, j1, y0, y1 Bessel functions.
Remove useless defines

svn path=/trunk/; revision=54552

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 30 Nov 2011 21:58:46 +0000 (21:58 +0000)]
[NTOSKRNL]
- Only flush pages if we can't satisfy Mm's target without using dirty pages

svn path=/trunk/; revision=54551

12 years ago[MSVCRT_APITEST]
Pierre Schweitzer [Wed, 30 Nov 2011 21:03:35 +0000 (21:03 +0000)]
[MSVCRT_APITEST]
Add more tests

svn path=/trunk/; revision=54550

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 30 Nov 2011 17:10:43 +0000 (17:10 +0000)]
[NTOSKRNL]
- Optimize CcRosTrimCache by eliminating an extra loop of all segments
- Allow swapping of dirty segments by flushing them first

svn path=/trunk/; revision=54549