reactos.git
12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 19 Dec 2011 09:33:40 +0000 (09:33 +0000)]
[NTOSKRNL]
- Lock the registry before flushing hives to avoid, among other things, use of an ERESOURCE without being inside a critical region

svn path=/trunk/; revision=54694

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 19 Dec 2011 08:49:42 +0000 (08:49 +0000)]
[NTOSKRNL]
- Tweak the balancer a bit to favor RosMm allocations in low memory scenarios
- Fix the balancer out of memory warning

svn path=/trunk/; revision=54693

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 19 Dec 2011 08:22:16 +0000 (08:22 +0000)]
[NTOSKRNL]
- Always use push locks within a critical region

svn path=/trunk/; revision=54692

12 years ago[User32]
James Tabor [Mon, 19 Dec 2011 06:45:37 +0000 (06:45 +0000)]
[User32]
- Add back hack for CMD scroll bar tracking. Miscellaneous cosmetic changes. Still working on scroll regressions.

svn path=/trunk/; revision=54691

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 19 Dec 2011 02:56:58 +0000 (02:56 +0000)]
[NTOSKRNL]
- Only unmap pages if they were mapped
- Make sure the page reference counts are sane when freeing the cache memory area

svn path=/trunk/; revision=54690

12 years ago[NTOSKRNL]
Cameron Gutman [Mon, 19 Dec 2011 01:22:37 +0000 (01:22 +0000)]
[NTOSKRNL]
- Fix a page reference leak when reading or writing pages to the swap file

svn path=/trunk/; revision=54689

12 years ago[SHELL32]
Rafal Harabien [Sun, 18 Dec 2011 23:41:49 +0000 (23:41 +0000)]
[SHELL32]
- Fix getting name for context menu item. Fixes two "find" items in My Computer context menu.
- Minor code and comments improvements

svn path=/trunk/; revision=54688

12 years ago[SHELL32]
Rafal Harabien [Sun, 18 Dec 2011 22:56:13 +0000 (22:56 +0000)]
[SHELL32]
- Fix Recycle Bin attributes. Context menu does not have "Delete" option anymore.
- Minor code improvements

svn path=/trunk/; revision=54687

12 years ago[ATL]
Rafal Harabien [Sun, 18 Dec 2011 22:37:47 +0000 (22:37 +0000)]
[ATL]
- Fix processing of binary data in registrar scripts

svn path=/trunk/; revision=54686

12 years ago[SHELL32]
Rafal Harabien [Sun, 18 Dec 2011 21:54:59 +0000 (21:54 +0000)]
[SHELL32]
- Add back "Empty Recycle Bin" context menu item

svn path=/trunk/; revision=54685

12 years ago[SHELL32]
Rafal Harabien [Sun, 18 Dec 2011 21:54:04 +0000 (21:54 +0000)]
[SHELL32]
- Formatting + some minor changes

svn path=/trunk/; revision=54684

12 years ago[SHELL32]
Rafal Harabien [Sun, 18 Dec 2011 15:47:41 +0000 (15:47 +0000)]
[SHELL32]
- Remove unused/empty files
- Improve directory layout

svn path=/trunk/; revision=54683

12 years ago[NTOSKRNL]
Cameron Gutman [Sun, 18 Dec 2011 04:55:11 +0000 (04:55 +0000)]
[NTOSKRNL]
- Fix COW file mappings (modifications to the mappings no longer change the file on disk)
- Fixes bug #4308

svn path=/trunk/; revision=54682

12 years ago[NTOSKRNL]: An old patch that implements most of the Query/Set classes for processes...
Alex Ionescu [Sun, 18 Dec 2011 04:27:20 +0000 (04:27 +0000)]
[NTOSKRNL]: An old patch that implements most of the Query/Set classes for processes, and cleans up those that aren't yet implemented. Adds support for KeBoostPriorityThread, KeSetDisableBoostProcess, KeSetAutoAlignmentProcess, KeSetAffinityProcess and the scheduling impact of these APIs. Also fixes some bugs in existing classes.

svn path=/trunk/; revision=54681

12 years ago[NDK/RTL]: Implement, define, fix, and comment RtlSetUnhandledExceptionFilter.
Alex Ionescu [Sun, 18 Dec 2011 01:50:11 +0000 (01:50 +0000)]
[NDK/RTL]: Implement, define, fix, and comment RtlSetUnhandledExceptionFilter.

svn path=/trunk/; revision=54680

12 years ago[WIN32K]
Rafal Harabien [Sun, 18 Dec 2011 00:22:50 +0000 (00:22 +0000)]
[WIN32K]
- Fail if display name device is given to EnumerateDisplayDevices and index is not set to 0. Fixes hang in Display Settings -> Advanced -> Monitor.

svn path=/trunk/; revision=54679

12 years ago[ADVAPI33/EVENTLOG]
Eric Kohl [Sat, 17 Dec 2011 23:47:28 +0000 (23:47 +0000)]
[ADVAPI33/EVENTLOG]
- Determine the event generation time in ReportEventA/W and use it.
- Replace magic values by proper type size.

svn path=/trunk/; revision=54678

12 years ago- Try to fix build
Rafal Harabien [Sat, 17 Dec 2011 23:11:54 +0000 (23:11 +0000)]
- Try to fix build

svn path=/trunk/; revision=54677

12 years ago[SHELL32]
Rafal Harabien [Sat, 17 Dec 2011 22:57:01 +0000 (22:57 +0000)]
[SHELL32]
- Fix a typo from previous commit

svn path=/trunk/; revision=54676

12 years ago[NDK]
Rafal Harabien [Sat, 17 Dec 2011 22:55:05 +0000 (22:55 +0000)]
[NDK]
- Fix ASSERT macro

svn path=/trunk/; revision=54675

12 years ago[SHELL32]
Rafal Harabien [Sat, 17 Dec 2011 22:53:44 +0000 (22:53 +0000)]
[SHELL32]
- Formatting. No code changes
- Remove not used shfldr_unixfs.cpp

svn path=/trunk/; revision=54674

12 years ago[SHELL32]
Rafal Harabien [Sat, 17 Dec 2011 22:48:16 +0000 (22:48 +0000)]
[SHELL32]
- Revert 54075 hack (registration from old shell32 based on WINE), so things does not get registered twice. Two Control Panels in MyComputer are no longer visible
- Fix all regressions, which was hack-fixed before.
- Add more debug output in case of errors

svn path=/trunk/; revision=54673

12 years ago[EVENTLOG]
Eric Kohl [Sat, 17 Dec 2011 13:22:10 +0000 (13:22 +0000)]
[EVENTLOG]
- Implement ElfrReadELA.
- Improve LogfReadEvent in such a way that it can return ANSI and UNICODE log entries.
- Add a hack to ElfrReadELW in order to return a proper status code in case of an end-of-file situation.

svn path=/trunk/; revision=54672

12 years ago[NTOSKRNL]
Cameron Gutman [Sat, 17 Dec 2011 12:59:01 +0000 (12:59 +0000)]
[NTOSKRNL]
 - Fix bad indentation

svn path=/trunk/; revision=54671

12 years ago[VIDEOPRT]
Cameron Gutman [Sat, 17 Dec 2011 09:18:24 +0000 (09:18 +0000)]
[VIDEOPRT]
- "RegionSize must be zero" doesn't mean literally pass 0 for the region size...

svn path=/trunk/; revision=54670

12 years ago[WIN32K]
Cameron Gutman [Sat, 17 Dec 2011 08:35:31 +0000 (08:35 +0000)]
[WIN32K]
EngAllocMem:
 - Respect the FL_NONPAGED_MEMORY flag (actually allocate the memory from non-paged pool)
 - Fix an improper flag comparison that caused memory allocated with both FL_NONPAGED_MEMORY and FL_ZERO_MEMORY set to not be zeroed as requested

svn path=/trunk/; revision=54669

12 years ago[RTL]
Cameron Gutman [Sat, 17 Dec 2011 08:30:48 +0000 (08:30 +0000)]
[RTL]
- Pass size 0 when calling NtFreeVirtualMemory for MEM_RELEASE

svn path=/trunk/; revision=54668

12 years ago[RTL]
Cameron Gutman [Sat, 17 Dec 2011 08:22:04 +0000 (08:22 +0000)]
[RTL]
- Don't pass stack garbage to ZwFreeVirtualMemory

svn path=/trunk/; revision=54667

12 years ago[RTL]
Cameron Gutman [Fri, 16 Dec 2011 20:12:28 +0000 (20:12 +0000)]
[RTL]
- Revert r54660 and properly fix NtAllocateVirtualMemory/NtFreeVirtualMemory usage

svn path=/trunk/; revision=54666

12 years ago[POWRPROF]
Rafal Harabien [Fri, 16 Dec 2011 19:22:07 +0000 (19:22 +0000)]
[POWRPROF]
- Fix few resource leaks, possible buffer overflows and simplify code

svn path=/trunk/; revision=54665

12 years ago[EVENTLOG]
Eric Kohl [Fri, 16 Dec 2011 18:18:20 +0000 (18:18 +0000)]
[EVENTLOG]
Implement ElfrBackupELFA and ElfrReportEventA.

svn path=/trunk/; revision=54664

12 years ago[TRANSLATIONS]
Dmitry Gorbachev [Fri, 16 Dec 2011 17:18:05 +0000 (17:18 +0000)]
[TRANSLATIONS]
- Sync translated resource files (DeskADP and most of CPL) with English files.
- Small Czech update of DXDiag and TaskMgr translations by Radek Liska (bug #6774).

svn path=/trunk/; revision=54663

12 years ago[REFORMATTING]
Aleksey Bragin [Fri, 16 Dec 2011 15:45:09 +0000 (15:45 +0000)]
[REFORMATTING]
- Reindent the dbgbuffer.c code to the ReactOS Standard Indentation.

svn path=/trunk/; revision=54662

12 years ago[CRT/MSVCRT]
Sylvain Petreolle [Fri, 16 Dec 2011 15:44:37 +0000 (15:44 +0000)]
[CRT/MSVCRT]
Follow original design/style of printf module
Always use dosmaperr to convert win32 errors to sane crt errors
Enable forgotten _get_doserrno, get_errno, set_doserrno and _gmtime32_s
Small fixes to pass more wine tests.

Patch by Samuel SerapiĆ³n.

svn path=/trunk/; revision=54661

12 years ago[RTL/QDB]
Aleksey Bragin [Fri, 16 Dec 2011 15:36:38 +0000 (15:36 +0000)]
[RTL/QDB]
- Fix a massive memory leak when running Opera 9.64 (because created QDBs were never freed).

svn path=/trunk/; revision=54660

12 years ago[NTDLL/LDR]
Aleksey Bragin [Fri, 16 Dec 2011 13:39:48 +0000 (13:39 +0000)]
[NTDLL/LDR]
- Fix SxS path calculation, now it returns proper full path to the DLL instead of just "C:\ReactOS\winsxs". Spotted by AbiWord 2.9.2.

svn path=/trunk/; revision=54659

12 years ago- Fix arrage iconic windows. Set the minimized window position.
James Tabor [Fri, 16 Dec 2011 01:49:10 +0000 (01:49 +0000)]
- Fix arrage iconic windows. Set the minimized window position.

svn path=/trunk/; revision=54658

12 years ago[TRANSLATION]
Olaf Siejka [Thu, 15 Dec 2011 23:59:54 +0000 (23:59 +0000)]
[TRANSLATION]
- inetcpl romanian translation update, resource file update for all languages by Stefan Fulea (bug no. 6766);
- polish translation update of inetcpl and resources changed by revision 54644;

svn path=/trunk/; revision=54657

12 years ago[EVENTLOG]
Eric Kohl [Thu, 15 Dec 2011 21:33:46 +0000 (21:33 +0000)]
[EVENTLOG]
- Implement ElfrClearELFA and ElfrClearELFW.
- Fix the module name conversion in ElfrOpenELA and ElfrRegisterEventSourceA.

svn path=/trunk/; revision=54656

12 years ago- Fix putty 0.62 dialog.
James Tabor [Thu, 15 Dec 2011 00:42:14 +0000 (00:42 +0000)]
- Fix putty 0.62 dialog.

svn path=/trunk/; revision=54655

12 years ago- Sync wine Imm32.
James Tabor [Thu, 15 Dec 2011 00:40:35 +0000 (00:40 +0000)]
- Sync wine Imm32.

svn path=/trunk/; revision=54654

12 years ago- Sync wine Imm32 tests.
James Tabor [Thu, 15 Dec 2011 00:39:37 +0000 (00:39 +0000)]
- Sync wine Imm32 tests.

svn path=/trunk/; revision=54653

12 years agoFix amd64 build.
Sylvain Petreolle [Wed, 14 Dec 2011 23:46:23 +0000 (23:46 +0000)]
Fix amd64 build.

svn path=/trunk/; revision=54652

12 years ago[CRT]
Sylvain Petreolle [Wed, 14 Dec 2011 22:09:24 +0000 (22:09 +0000)]
[CRT]
- Update file.c to recent wine. (now with locking!)
- implement/enable __wcserror, __wcserror_s, _access_s, _ctime32_s, _ctime64_s,
_cwprintf, _fseeki64, _ftelli64, _get_osplatform, _get_output_format,
_get_pgmptr, _get_wpgmptr, _get_terminate, _get_tzname, _get_unexpected,
_gmtime64_s, _i64toa_s, _i64tow_s, _initterm_e, _itoa_s, _itow_s,
_localtime32_s, _localtime64_s, _ltoa_s, _ltow_s, _putwch, _searchenv_s,
_sopen_s, _ui64toa_s, _ui64tow_s, _vcwprintf, _vsprintf_p, _waccess_s,
_wcserror, _wcserror_s, _wfopen_s, _wsopen_s, fopen_s, fprintf_s, fwprintf_s,
printf_s, strerror_s, strncpy_s, strtok_s, vfprintf_s, vfwprintf_s, vprintf_s,
vwprintf_s, wcscat_s, wcsncat_s, wcstok_s, wprintf_s. Most code comes from
wine.
- Fix __set_errno -> _set_errno and export it.
- Remove unneeded files.
[CRT_HEADERS]
- add threadmbcinfo struct.
- update some sec_api headers from mingw64 due to missing or incorrect
functions.

Patch by Samuel Serapion.
Changes to msvcrt spec by me due to winebuild.
CRLF/LF fixes.

svn path=/trunk/; revision=54651

12 years ago[MKSHELLLINK]
Sylvain Petreolle [Wed, 14 Dec 2011 21:58:53 +0000 (21:58 +0000)]
[MKSHELLLINK]
Fix MSVC build.

Patch by Samuel Serapion.

svn path=/trunk/; revision=54650

12 years ago[NTOSKRNL]
Cameron Gutman [Wed, 14 Dec 2011 18:39:21 +0000 (18:39 +0000)]
[NTOSKRNL]
- Quiet down the paging path

svn path=/trunk/; revision=54649

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