Commit graph

49272 commits

Author SHA1 Message Date
Eric Kohl 846be7ac13 [EVENTLOG]
Partially revert r54678.

svn path=/trunk/; revision=54751
2011-12-25 00:57:16 +00:00
Cameron Gutman eec24f8325 [CDFS]
- Fix infinite loop of verification and read attempts when a disc change occurs on VMware while ROS is running

svn path=/trunk/; revision=54750
2011-12-25 00:14:01 +00:00
Thomas Faber aa885e24d7 [RTL]
- ASSERT on damaged heap data structures instead of producing an infinite loop
See issue #5857 for more details.

svn path=/trunk/; revision=54749
2011-12-24 22:45:26 +00:00
Thomas Faber 42942c9fbe [NTDLL_APITEST]
- NtAllocateVirtualMemory: fix handling of an error condition; check that newly-committed memory is zeroed

svn path=/trunk/; revision=54748
2011-12-24 10:26:04 +00:00
Cameron Gutman 835bf4292b [NTOSKRNL]
- Fix a reference count check in the flush path (broken by r54745)

svn path=/trunk/; revision=54747
2011-12-24 05:43:36 +00:00
Cameron Gutman 6ababb3a3f [NTOSKRNL]
- Fix inconsistent locking

svn path=/trunk/; revision=54746
2011-12-24 03:57:10 +00:00
Cameron Gutman ed15dc5d11 [NTOSKRNL]
- Reference the cache segment when flushing to avoid a race between deleting the file cache and the balancer flushing pages to disk which causes random cache segments to be freed while we're holding a lock on it
- Fixes a crash in KeReleaseMutex (used to be a crash in ExReleasePushLock) during periods of high memory load

svn path=/trunk/; revision=54745
2011-12-23 23:20:09 +00:00
Aleksey Bragin eaa88b7445 [RAPPS]
- Bump putty version to 0.62.
See issue #6775 for more details.

svn path=/trunk/; revision=54744
2011-12-23 21:30:40 +00:00
Aleksey Bragin 79b3a82e81 [DNSAPI]
- Change file description in the resources.
See issue #6653 for more details.

svn path=/trunk/; revision=54743
2011-12-23 21:25:25 +00:00
Aleksey Bragin b89657be3a [RTL]
- Samuel Serapion: Implement RtlIpv4AddressToStringEx A/W and minor enhancements RtlIpv4AddressToStringA/W. Fixes some ntdll:rtl winetests.
See issue #6779 for more details.

svn path=/trunk/; revision=54742
2011-12-23 20:40:02 +00:00
Cameron Gutman 4d1949f841 [FASTFAT]
- Revert r54731

svn path=/trunk/; revision=54738
2011-12-23 15:56:25 +00:00
Rafal Harabien 3a31942276 [CRT]
- Fix splitpath when called with filename without path

svn path=/trunk/; revision=54735
2011-12-22 23:52:51 +00:00
Thomas Faber 5f1afc0280 [EXPLORER][ADVAPI32][SETUPAPI][SYSSETUP]
- Fix some issues found by cppcheck. Patch by Vincenzo Cotugno

svn path=/trunk/; revision=54734
2011-12-21 21:49:22 +00:00
Sylvain Petreolle 47d022adac [KERNEL32]
Silence BaseComputeProcessSearchPath.

svn path=/trunk/; revision=54733
2011-12-21 20:54:14 +00:00
Cameron Gutman b658cc77df [NTOSKRNL]
- Don't wait to flush dirty pages during shutdown
- This is a hack to fix KVM

svn path=/trunk/; revision=54732
2011-12-21 20:19:20 +00:00
Cameron Gutman c0ce0f1558 [FASTFAT]
- Remove the old page file hack

svn path=/trunk/; revision=54731
2011-12-21 19:58:42 +00:00
Cameron Gutman 274217e861 [NTOSKRNL]
- Add a wait parameter to CcRosFlushDirtyPages and only block on the segment locks of it is safe

svn path=/trunk/; revision=54730
2011-12-21 19:46:07 +00:00
Cameron Gutman 80ee75c141 [NTOSKRNL]
- Change the method of segment locking from a push lock to a mutex
- Fixes the 'OldValue.Locked' assertion failure

svn path=/trunk/; revision=54729
2011-12-21 19:08:59 +00:00
Rafal Harabien 45c965ea82 [SHELL32] - Try to fix MSVC build
svn path=/trunk/; revision=54728
2011-12-21 15:47:17 +00:00
Dmitry Gorbachev 3d2e890820 [Translation]
Romanian changes by Fulea Stefan (bug #6782).

svn path=/trunk/; revision=54727
2011-12-21 15:09:46 +00:00
Rafal Harabien 25368bb1da [SHELL32]
- Fix opening properties in background context menu
- Fix broken ASSERT in Open With menu

svn path=/trunk/; revision=54726
2011-12-21 13:53:49 +00:00
Cameron Gutman 3afbe4b511 [NTOSKRNL]
- Wait to acquire locks in CcRosFlushDirtyPages
- This is needed because this path is used during critical times like shutdown and very low memory situations when flushes cannot fail

svn path=/trunk/; revision=54725
2011-12-21 05:30:16 +00:00
Cameron Gutman 2dc4238d90 [SHELL32]
- Fix a typo in a registry path

svn path=/trunk/; revision=54724
2011-12-21 02:43:36 +00:00
Rafal Harabien bff7c0a637 [BOOTDATA]
- Remove "Explore from here" from context menu. It's useless, does not exist in Windows and can't be translated in current form.

svn path=/trunk/; revision=54723
2011-12-20 22:55:42 +00:00
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