Commit graph

49221 commits

Author SHA1 Message Date
Sylvain Petreolle 0eecf78205 [SSSTARS]
Fix include paths casing.

svn path=/trunk/; revision=54695
2011-12-19 10:22:06 +00:00
Cameron Gutman e873fe63ce [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
2011-12-19 09:33:40 +00:00
Cameron Gutman b3677f395e [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
2011-12-19 08:49:42 +00:00
Cameron Gutman 85ba8df340 [NTOSKRNL]
- Always use push locks within a critical region

svn path=/trunk/; revision=54692
2011-12-19 08:22:16 +00:00
James Tabor 26f43d7060 [User32]
- Add back hack for CMD scroll bar tracking. Miscellaneous cosmetic changes. Still working on scroll regressions.

svn path=/trunk/; revision=54691
2011-12-19 06:45:37 +00:00
Cameron Gutman 4be8d4740d [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
2011-12-19 02:56:58 +00:00
Cameron Gutman 35c9fc7ae8 [NTOSKRNL]
- Fix a page reference leak when reading or writing pages to the swap file

svn path=/trunk/; revision=54689
2011-12-19 01:22:37 +00:00
Rafal Harabien 6146fd09b2 [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
2011-12-18 23:41:49 +00:00
Rafal Harabien 9286dc7ef8 [SHELL32]
- Fix Recycle Bin attributes. Context menu does not have "Delete" option anymore.
- Minor code improvements

svn path=/trunk/; revision=54687
2011-12-18 22:56:13 +00:00
Rafal Harabien 0edd7dacb4 [ATL]
- Fix processing of binary data in registrar scripts

svn path=/trunk/; revision=54686
2011-12-18 22:37:47 +00:00
Rafal Harabien 9a7346e654 [SHELL32]
- Add back "Empty Recycle Bin" context menu item

svn path=/trunk/; revision=54685
2011-12-18 21:54:59 +00:00
Rafal Harabien d3a1887d23 [SHELL32]
- Formatting + some minor changes

svn path=/trunk/; revision=54684
2011-12-18 21:54:04 +00:00
Rafal Harabien a5ec468fe0 [SHELL32]
- Remove unused/empty files
- Improve directory layout

svn path=/trunk/; revision=54683
2011-12-18 15:47:41 +00:00
Cameron Gutman af11491f7c [NTOSKRNL]
- Fix COW file mappings (modifications to the mappings no longer change the file on disk)
- Fixes bug #4308

svn path=/trunk/; revision=54682
2011-12-18 04:55:11 +00:00
Alex Ionescu 58e95a8607 [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
2011-12-18 04:27:20 +00:00
Alex Ionescu 48b3130f83 [NDK/RTL]: Implement, define, fix, and comment RtlSetUnhandledExceptionFilter.
svn path=/trunk/; revision=54680
2011-12-18 01:50:11 +00:00
Rafal Harabien 1b0eb4aad4 [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
2011-12-18 00:22:50 +00:00
Eric Kohl 8da34d541e [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
2011-12-17 23:47:28 +00:00
Rafal Harabien d8322663ed - Try to fix build
svn path=/trunk/; revision=54677
2011-12-17 23:11:54 +00:00
Rafal Harabien ceb51c901c [SHELL32]
- Fix a typo from previous commit

svn path=/trunk/; revision=54676
2011-12-17 22:57:01 +00:00
Rafal Harabien e8e0af66e7 [NDK]
- Fix ASSERT macro

svn path=/trunk/; revision=54675
2011-12-17 22:55:05 +00:00
Rafal Harabien 60239d4e4c [SHELL32]
- Formatting. No code changes
- Remove not used shfldr_unixfs.cpp

svn path=/trunk/; revision=54674
2011-12-17 22:53:44 +00:00
Rafal Harabien 7a0ad93bff [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
2011-12-17 22:48:16 +00:00
Eric Kohl 4e9b968c96 [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
2011-12-17 13:22:10 +00:00
Cameron Gutman 7f9124d391 [NTOSKRNL]
- Fix bad indentation

svn path=/trunk/; revision=54671
2011-12-17 12:59:01 +00:00
Cameron Gutman 9dc72d09dc [VIDEOPRT]
- "RegionSize must be zero" doesn't mean literally pass 0 for the region size...

svn path=/trunk/; revision=54670
2011-12-17 09:18:24 +00:00
Cameron Gutman 94322ba2cb [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
2011-12-17 08:35:31 +00:00
Cameron Gutman 70bb5d0a00 [RTL]
- Pass size 0 when calling NtFreeVirtualMemory for MEM_RELEASE

svn path=/trunk/; revision=54668
2011-12-17 08:30:48 +00:00
Cameron Gutman 76f66ed7a2 [RTL]
- Don't pass stack garbage to ZwFreeVirtualMemory

svn path=/trunk/; revision=54667
2011-12-17 08:22:04 +00:00
Cameron Gutman 80ecdce6cc [RTL]
- Revert r54660 and properly fix NtAllocateVirtualMemory/NtFreeVirtualMemory usage

svn path=/trunk/; revision=54666
2011-12-16 20:12:28 +00:00
Rafal Harabien 6b5f6de9b9 [POWRPROF]
- Fix few resource leaks, possible buffer overflows and simplify code

svn path=/trunk/; revision=54665
2011-12-16 19:22:07 +00:00
Eric Kohl a94be71456 [EVENTLOG]
Implement ElfrBackupELFA and ElfrReportEventA.

svn path=/trunk/; revision=54664
2011-12-16 18:18:20 +00:00
Dmitry Gorbachev c36e04fa83 [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
2011-12-16 17:18:05 +00:00
Aleksey Bragin b8928d9e26 [REFORMATTING]
- Reindent the dbgbuffer.c code to the ReactOS Standard Indentation.

svn path=/trunk/; revision=54662
2011-12-16 15:45:09 +00:00
Sylvain Petreolle ce424af08c [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
2011-12-16 15:44:37 +00:00
Aleksey Bragin 5bf403a592 [RTL/QDB]
- Fix a massive memory leak when running Opera 9.64 (because created QDBs were never freed).

svn path=/trunk/; revision=54660
2011-12-16 15:36:38 +00:00
Aleksey Bragin 82c522f2ea [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
2011-12-16 13:39:48 +00:00
James Tabor 94367a3205 - Fix arrage iconic windows. Set the minimized window position.
svn path=/trunk/; revision=54658
2011-12-16 01:49:10 +00:00
Olaf Siejka f6c62c272e [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
2011-12-15 23:59:54 +00:00
Eric Kohl ab618427e0 [EVENTLOG]
- Implement ElfrClearELFA and ElfrClearELFW.
- Fix the module name conversion in ElfrOpenELA and ElfrRegisterEventSourceA.

svn path=/trunk/; revision=54656
2011-12-15 21:33:46 +00:00
James Tabor ca6eeb6640 - Fix putty 0.62 dialog.
svn path=/trunk/; revision=54655
2011-12-15 00:42:14 +00:00
James Tabor b3740c4b79 - Sync wine Imm32.
svn path=/trunk/; revision=54654
2011-12-15 00:40:35 +00:00
James Tabor cb01664625 - Sync wine Imm32 tests.
svn path=/trunk/; revision=54653
2011-12-15 00:39:37 +00:00
Sylvain Petreolle 965b4e276c Fix amd64 build.
svn path=/trunk/; revision=54652
2011-12-14 23:46:23 +00:00
Sylvain Petreolle b30bf6de31 [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
2011-12-14 22:09:24 +00:00
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