Commit graph

49248 commits

Author SHA1 Message Date
Rafal Harabien ec80415b49 [SHELL32]
- Fix broken code in drive.cpp. Spotted by r3ddr4g0n.
- General code improvements
- Don't try to create static open handler in registry when file properties are opened. Fixes two "Open" items in shortcuts context menu after opening properties window.
See issue #6746 for more details.

svn path=/trunk/; revision=54722
2011-12-20 22:30:55 +00:00
Pierre Schweitzer 1aeee458ae [UNIATA]
Add missing '}'

svn path=/trunk/; revision=54721
2011-12-20 21:28:34 +00:00
Pierre Schweitzer 93ff89b522 [GLU32]
Add missing '('

svn path=/trunk/; revision=54720
2011-12-20 21:05:04 +00:00
Pierre Schweitzer e0ce4bc8f0 [KERNEL32]
Colon end SEH lines to allow proper static analysis

svn path=/trunk/; revision=54719
2011-12-20 21:02:53 +00:00
Pierre Schweitzer d49404aad0 [KERNEL32]
Colon end SEH lines to allow proper static analysis

svn path=/trunk/; revision=54718
2011-12-20 21:01:30 +00:00
Pierre Schweitzer d15e9684e8 [WIN32K]
Colon end SEH lines to allow proper static analysis

svn path=/trunk/; revision=54717
2011-12-20 21:00:19 +00:00
Pierre Schweitzer 3c8d98ab5a [STLPORT]
Fix misplaced #endif
Brought to you by aggro from cppcheck team

svn path=/trunk/; revision=54716
2011-12-20 20:52:09 +00:00
Rafal Harabien ed0656f56f [SHELL32]
- Fix SHCreateSessionKey
[EXPLORER]
- Don't run startup applications if StartupHasBeenRun key exists. If it doesn't, create new key.
- Make startup code readable
See issue #1801 for more details.

svn path=/trunk/; revision=54715
2011-12-20 20:47:48 +00:00
Rafal Harabien 673f93ef3b [SHELL32]
- Implement SHCreateSessionKey
- Formatting of shlview.cpp

svn path=/trunk/; revision=54714
2011-12-20 19:56:46 +00:00
Alex Ionescu f714427f9a [KERNEL32] Part 2 of the Path patch: rewrite SearchPathW to use the RtlDosSearchPath_UStr function implemented last week. No (visible) regressions seen... let's see what Testbot says.
svn path=/trunk/; revision=54713
2011-12-20 19:09:13 +00:00
Rafal Harabien 2397b92402 [SYSSETUP]
- Create shortcuts after shell32 registration. Fixes shortcuts not being created during installation.

svn path=/trunk/; revision=54712
2011-12-20 18:55:09 +00:00
Aleksey Bragin 8fa9f7b979 [NTOS]
- A number of fixes to CmpQueryKeyName():
 * Properly check the provided buffer size against needed size.
 * Don't overwrite user provided buffer.
 * Write as much data as could fit into the buffer (this is normal behaviour for any query function in the kernel), returning STATUS_INFO_LENGTH_MISMATCH if not all data were written.

Thanks to r3ddr4g0n for identifying the problem, testing with DPH and testing this patch.

svn path=/trunk/; revision=54711
2011-12-20 18:16:14 +00:00
Alex Ionescu f10a6e4cc9 [KERNEL32]: Implement some VDM code that will be needed for future CreateProcessInternalW work. Not called yet.
svn path=/trunk/; revision=54710
2011-12-20 16:53:11 +00:00
Pierre Schweitzer a16e45a07d [TELNETD]
Fix handle leaks

svn path=/trunk/; revision=54709
2011-12-20 16:37:21 +00:00
Pierre Schweitzer 0f0ba6a559 [TELNETD]
Fix handle leak
Fix memory leak

svn path=/trunk/; revision=54708
2011-12-20 16:19:58 +00:00
Pierre Schweitzer 8a5c8f4eac [SYSSETUP]
Fix memory leak

svn path=/trunk/; revision=54707
2011-12-20 14:56:22 +00:00
Rafal Harabien 4fde7b04ce [SHELL32]
- Simplify a bit
- Display 0% instead of 00% for empty drive space

svn path=/trunk/; revision=54706
2011-12-19 21:34:22 +00:00
Rafal Harabien e72a2141d1 - Fix build
svn path=/trunk/; revision=54705
2011-12-19 21:21:34 +00:00
Rafal Harabien bd0fcbb5b6 [SHELL32]
- General code improvements

svn path=/trunk/; revision=54704
2011-12-19 21:20:24 +00:00
Rafal Harabien 3559384588 [SHELL32]
- Fix exceptions when starting drive properties dialog

svn path=/trunk/; revision=54703
2011-12-19 20:08:33 +00:00
Rafal Harabien 2c53cb44ab [SHELL32]
- Formatting. No code changes.

svn path=/trunk/; revision=54702
2011-12-19 19:31:12 +00:00
Rafal Harabien 13b53b78ab [SHELL32]
- Properly close Open With dialog window (EndDialog works only for modal dialogs, modeless dialogs should be destroyed with DestroyWindow instead). Fixes folder window hang if Open With windows was opened twice (and also a window leak).

svn path=/trunk/; revision=54701
2011-12-19 19:28:38 +00:00
Cameron Gutman 235496f021 [NTOSKRNL]
- "Hyperspace is local!": OK, system PTE space isn't…
- Change the function name to reflect the real location of the mapping and match its partner MiUnmapPagesInZeroSpace()

svn path=/trunk/; revision=54700
2011-12-19 18:44:47 +00:00
Rafal Harabien c073996652 [SHELL32/BOOTDATA]
- Move more shell32 registration to proper place

svn path=/trunk/; revision=54699
2011-12-19 12:45:58 +00:00
Rafal Harabien 4a02e70375 [SHELL32]
- Rename few classes
[BOOTDATA]
- Don't register classes from shell32

svn path=/trunk/; revision=54698
2011-12-19 12:01:22 +00:00
Rafal Harabien 36ff012625 [SHELL32]
- Properly check if PIDL is folder. Folders doesn't has "Open With" context menu item anymore.

svn path=/trunk/; revision=54697
2011-12-19 11:47:30 +00:00
Rafal Harabien e145474ee5 [SHELL32]
- Move "Open With" context menu handler registration to shell32
- Improve Polish translation

svn path=/trunk/; revision=54696
2011-12-19 11:37:46 +00:00
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