Commit graph

49176 commits

Author SHA1 Message Date
Sylvain Petreolle 838328b1ed [MKSHELLLINK]
Fix MSVC build.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54650
2011-12-14 21:58:53 +00:00
Cameron Gutman 73252334c4 [NTOSKRNL]
- Quiet down the paging path

svn path=/trunk/; revision=54649
2011-12-14 18:39:21 +00:00
Cameron Gutman c6b88aa125 [NTOSKRNL]
- Don't page out locked pages
- Fixes random failed assertions in MmUnlockPages

svn path=/trunk/; revision=54648
2011-12-14 17:53:15 +00:00
Dmitry Gorbachev f4065b5b2a [WIN32K]
Fix indentation, comments, debug messages. Lioncash (mathew1800\AT/gmail\DOT/com), bug #6762.

svn path=/trunk/; revision=54647
2011-12-14 04:07:06 +00:00
Alex Ionescu b5381f1fd7 [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
2011-12-14 03:55:54 +00:00
Dmitry Gorbachev 24c26cc161 [TRANSLATION]
Add Romanian translation for BrowseUI, update many older translations.
Patch by Stefan Fulea. Bug #6765.

svn path=/trunk/; revision=54645
2011-12-14 00:53:58 +00:00
Dmitry Gorbachev b49067f626 [TRANSLATION]
Sync translated files with English files.

svn path=/trunk/; revision=54644
2011-12-13 13:37:08 +00:00
Aleksey Bragin f27f17fb97 [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
2011-12-12 22:31:09 +00:00
Eric Kohl 2116571788 [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
2011-12-12 21:54:20 +00:00
Rafal Harabien afac3095f0 [WIN32K] - Formatting. No code changes.
svn path=/trunk/; revision=54641
2011-12-11 20:09:53 +00:00
Johannes Anderwald be38b5da3b [PORTCLS]
- Add support for IDrmPort, IDrmPort2
- more debug traces 

svn path=/trunk/; revision=54640
2011-12-11 10:51:37 +00:00
Sylvain Petreolle df57cb5880 [WIN32K]
Fix MSVC build.

svn path=/trunk/; revision=54639
2011-12-10 21:30:17 +00:00
James Tabor 388f6d13c8 - missed this file.
svn path=/trunk/; revision=54638
2011-12-10 07:46:10 +00:00
James Tabor 527f83f57d [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
2011-12-10 07:41:56 +00:00
James Tabor e1207737c2 - Fix dialog themes support for get text.
svn path=/trunk/; revision=54636
2011-12-10 07:03:33 +00:00
James Tabor 64e13bde73 - Fix make window active so to restore window.
svn path=/trunk/; revision=54635
2011-12-10 07:00:09 +00:00
James Tabor 9adebc4bec [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
2011-12-10 06:08:29 +00:00
James Tabor 3c7096002a [Win32k]
- Get FlashWindow working, pass all but 2 tests. Add more win32k atoms.

svn path=/trunk/; revision=54633
2011-12-10 06:00:38 +00:00
Cameron Gutman 13adb6230a [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
2011-12-10 04:20:39 +00:00
Cameron Gutman 80e8caa0b9 [NTOSKRNL]
- Print trimmed consumers during text-mode setup too

svn path=/trunk/; revision=54631
2011-12-10 04:11:19 +00:00
Roel Messiant 2e113743c9 [WIN32K]
Probe the whole GAMMARAMP struct before reading/writing from it. CID 14114 & 14115.

svn path=/trunk/; revision=54630
2011-12-10 00:14:31 +00:00
Aleksey Bragin f9533e5eba [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
2011-12-09 21:43:03 +00:00
Pierre Schweitzer a21d3b9a41 [USP10]
Fix memory leak.
Already sent & committed upstream: 06f65740b2

svn path=/trunk/; revision=54628
2011-12-09 20:51:43 +00:00
Aleksey Bragin 8dd55da5d6 [ACTCTX]
- One more leftover from 54623. Remove actctx_init() from the activation context stack allocation.

svn path=/trunk/; revision=54627
2011-12-09 16:47:50 +00:00
Pierre Schweitzer 9f956fd752 [NTDLL]
Include ReactOS internal headers first

svn path=/trunk/; revision=54626
2011-12-09 16:29:06 +00:00
Cameron Gutman c18313aa3c [ACTCTX]
- Add a missing assignment
- Try #1 to fix KVM

svn path=/trunk/; revision=54625
2011-12-09 16:04:14 +00:00
Cameron Gutman ffcd78f426 [USETUP]
- Optimize cabinet file processing by finding files sequentially instead of starting from the beginning each time

svn path=/trunk/; revision=54624
2011-12-09 14:51:57 +00:00
Aleksey Bragin 417b739dbe [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
2011-12-09 10:33:09 +00:00
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