Commit graph

7930 commits

Author SHA1 Message Date
Rafal Harabien 99b2e3df40 [SHELL32]
- Improve code readability in defcontextmenu.cpp
- Fix few leaks
- Properly handle reference count when creating objects

svn path=/trunk/; revision=54979
2012-01-15 19:45:02 +00:00
Rafal Harabien 8f70e43420 [SHELL32]
- Don't load shell extensions from * key for background context menu. Fixes #6668 (background context menu not working after installing Notepad++)
- Properly set pidlFolder argument in extensions Initialize function call
- Fix openwithmenu.rgs file creating two keys instead of one

svn path=/trunk/; revision=54977
2012-01-15 16:45:36 +00:00
Alex Ionescu a633ce1b38 Note, none of this code is being used/called yet.
[KERNEL32]: Implement BasepSxsCloseHandles, BasepReplaceProcessThreadTokens, BasepIsProcessAllowed, BasepCheckWebBladeHashes, BasepIsImageVersionOk which will be needed for the future CreateProcess re-implementation. These functions partly support SxS, Safer (Authz) and Application Certification features added in XP/2003. We also emulate support for Computer Server, Web Blade Server and Embedded ReactOS. The last function does correct image version checks to prevent invalid binaries from running.
[KERNEL32]: Implement BaseUpdateVDMEntry and BaseCheckForVDM using the new CSRSS messages (not implemented on the server-side yet). Stubplement BaseCheckVDM. These will be needed for future VDM-stub-support (primarly so we can run 16-bit installers).
[KERNEL32]: Implement BasepFreeAppCompatData, BasepCheckBadapp, and IsShimInfrastructureDisabled (exported as BaseIsAppcompatInfrastructureDisabled). These stub most of the required/exported application compatibility APIs, as long as someone sets DisableAppCompat in \\Registry\\MACHINE\\System\\CurrentControlSet\\Control\\Session Manager\\AppCompatibility.

svn path=/trunk/; revision=54975
2012-01-15 14:49:49 +00:00
Rafal Harabien d98246b122 [SHELL32]
- Add New menu to context menu handlers. Fixes regression introduced by r54959.
- Remove unwanted files
See issue #6823 for more details.

svn path=/trunk/; revision=54974
2012-01-15 14:25:11 +00:00
Rafal Harabien e09723d6ba [SHELL32]
- Revert r54967. Test bots should already work.

svn path=/trunk/; revision=54973
2012-01-15 13:38:59 +00:00
Rafal Harabien fedd178564 [INTL]
- Add DPRINTs to track possible unattended setup timeouts

svn path=/trunk/; revision=54972
2012-01-15 13:37:25 +00:00
Rafal Harabien cb74343620 [SYSSETUP]
- Fix GetRosInstallCD - GetLogicalDriveStringsW returns drive paths, not letters.
- When building intl.cpl command line for unattended setup don't use %S - swprint interprets it as multi-byte string. Use "%s" instead. This bug caused yesterdays KVM problems.

svn path=/trunk/; revision=54971
2012-01-15 13:24:26 +00:00
Alex Ionescu 4a76b4fbe8 [NTDLL]: Add, export, and stubplement RtlComputeImportTableHash and document in NDK.
[NTDLL]: Use HANDLE instead of Win32 HKEY.
[NDK]: Add missing NtCreateProcessEx flags and some missing Ldr functions + missing RtlGetFullPathName_UstrEx.
[CSRSS]: Define two new CSRSS messages (not implemented): UpdateVdmEntry and GetVdmExitCode.

svn path=/trunk/; revision=54968
2012-01-15 03:16:00 +00:00
Rafal Harabien 4902210307 - Try to fix KVM
svn path=/trunk/; revision=54967
2012-01-15 00:59:29 +00:00
Cameron Gutman f679ffe173 - Merge 54929, 54930, 54932, 54933, 54934, 54939, 54941, 54942, 54944, 54945, 54946, and 54947
- The DHCP service now recognizes adapter configuration and media state changes without manual intervention
- Multiple bugs with a static IP configuration are fixed
- IpRenewAddress (ipconfig /renew) and IpReleaseAddress (ipconfig /release) no longer corrupt internal DHCP state
- Routes that cannot currently be resolved by ARP no longer become corrupted by the neighbor timeout

svn path=/trunk/; revision=54966
2012-01-14 19:42:58 +00:00
Rafal Harabien fa989547b6 [SHELL32]
- If there is no default menu item, make Open With menu item the default, rename it to Open and disallow it to be submenu.
See issue #6801 for more details.

svn path=/trunk/; revision=54964
2012-01-14 17:50:33 +00:00
Rafal Harabien c254d1b61b [SHELL32]
- Rewrite Control_DoLaunch. Now if cpl has only one applet, applet name/id is ignored
- When launching control panel applets always execute rundll32 instead of using static handlers from registry

svn path=/trunk/; revision=54960
2012-01-14 17:14:54 +00:00
Amine Khaldi 6b49e8c209 [SHELL32]
* Remove the loading new item service hack.
* Implement proper loading of dynamic background item context.

svn path=/trunk/; revision=54959
2012-01-14 17:03:40 +00:00
Amine Khaldi 654ebc6892 [SETUPAPI]
* Apply a default date of 00/00/0000 when DriverVer is missing. Should fix installation of drivers which do not provide a DriverVer directive.
See issue #6676 for more details.

svn path=/trunk/; revision=54958
2012-01-14 15:47:59 +00:00
Rafal Harabien 35da3cbf00 [SHELL32]
- Fix exception in shortcut properties dialog

svn path=/trunk/; revision=54957
2012-01-14 13:46:33 +00:00
Rafal Harabien d55ddcd563 [SHELL32]
- Implement changing filename in file properties dialog
- Fix changing volume label in drive properties dialog
- Remove WS_TABSTOP style from some read-only controls

svn path=/trunk/; revision=54956
2012-01-14 13:20:38 +00:00
Rafal Harabien e33ae91647 [SHELL32]
- Move folder properties to CFileDefExt class and share as much code as possible. Now changing file attributes is implemented.
- Fix a warning (patch by EDIJS - #6821)
- Load property sheet handlers from "Directory" key

svn path=/trunk/; revision=54948
2012-01-13 23:41:09 +00:00
Rafal Harabien 6041e7f0e9 [SHELL32]
- Display free and used space and capacity in bytes and gigabytes for all drives in drive properties dialog
- Format date and time in file properties according to system locale
- Initialize checkboxes in file properties dialog
- Improve polish translation

svn path=/trunk/; revision=54936
2012-01-13 17:42:27 +00:00
Rafal Harabien 1888ec14b8 [SHELL32]
- Update file icon after rename operation
See issue #6815 for more details.

svn path=/trunk/; revision=54928
2012-01-12 22:26:50 +00:00
Rafal Harabien 4715b94b0c [SHELL32]
- Add "Description" string to resources. Don't show application file extension in Description field (for applications without version info). Patch by Edijs Kolesnikovis (#6819)
- Implement associated application icon loading in File Properties dialog
- Implement "Change" button in File Properties dialog

svn path=/trunk/; revision=54927
2012-01-12 21:43:46 +00:00
Rafal Harabien 665fe8fcb7 [SHELL32]
- Show drive icon in properties dialog
- Show nice pie chart for space usage

svn path=/trunk/; revision=54926
2012-01-12 20:10:35 +00:00
Rafal Harabien a55d842965 [SHELL32]
- Fix first chance exception if application has no strings in version info
- If Lang is not set use US English version info. Fixes WinRAR version info.
- Applications has Description filed instead of Opens With
- Load language in file version info

svn path=/trunk/; revision=54925
2012-01-12 16:32:02 +00:00
Rafal Harabien 41a8364f1c [SHELL32]
- Fix copying files in New menu. Fixes WinRAR new items.
- Don't show message if copying file failed because empty file is already created

svn path=/trunk/; revision=54923
2012-01-12 14:47:26 +00:00
Cameron Gutman 3a504014d4 - Merge 54895, 54896, 54899, 54912, 54913, 54915, and 54916 from wlan-bringup
svn path=/trunk/; revision=54917
2012-01-12 03:12:49 +00:00
Rafal Harabien b56fc432c1 [SHELL32]
- Register CDrvDefExt
- Add application icon and "Change..." button to file properties dialog. Patch by EDIJS (#6817)

svn path=/trunk/; revision=54911
2012-01-11 22:08:04 +00:00
Rafal Harabien 87f7c2cb47 [SHELL32]
- Move drive default property sheet pages to CDrvDefExt shell extension
- Read cleanup mgr path from registry
- Fix default extension being released in wrong moment

svn path=/trunk/; revision=54910
2012-01-11 21:58:47 +00:00
Rafal Harabien bc92eceb86 [SHELL32]
- Add CLSID_ShellFileDefExt, CLSID_ShellDrvDefExt, CLSID_ShellNetDefExt GUIDs
- Move File Properties default pages to CFileDefExt

svn path=/trunk/; revision=54908
2012-01-11 20:20:01 +00:00
Rafal Harabien d0b26386cd [SHELL32]
- Display application description in Opens With field of File Properties dialog
- Minor improvements

svn path=/trunk/; revision=54907
2012-01-11 14:13:14 +00:00
Rafal Harabien 64760a47a1 [SHELL32]
- Don't check exe files for Open With application
- If application is invalid display proper text
- Properly handle application parameters and quotes when parsing application command. Patch by EDIJS, improved by me.
See issue #6770 for more details.

svn path=/trunk/; revision=54906
2012-01-10 19:57:53 +00:00
Rafal Harabien d8433417af [SHELL32]
- Simplify and fix getting file type description and icon in File Properties dialog
- Apply EDIJS's patch for scrolling text in location field on File Properties dialog (#6807)

svn path=/trunk/; revision=54905
2012-01-10 17:56:43 +00:00
Rafal Harabien 822e0f32da [SHELL32]
- Make File Properties code safer and better
- Change version information when it user selects item in listbox (in previous version user had to double click)
- Show filename only in Open With dialog. Part of patch by EDIJS (#6772)

svn path=/trunk/; revision=54904
2012-01-10 16:53:46 +00:00
Rafal Harabien 95da52581a [SHELL32]
- Formatting + changed few declarations.

svn path=/trunk/; revision=54903
2012-01-10 16:01:13 +00:00
Rafal Harabien 0c953875b4 [SHELL32]
- Add item icons to New menu
- Fix some leaks in New menu
- Properly handle New Folder and New Link items

svn path=/trunk/; revision=54894
2012-01-09 23:01:01 +00:00
Eric Kohl c7021c5563 [ADVAPI32]
Pass an NT path to ElfrOpenBELW.

svn path=/trunk/; revision=54878
2012-01-08 10:08:33 +00:00
Thomas Faber 900f2cecbe [LSASRV] - Correctly set return values in LsapGetObjectAttribute
[CDMAKE] - Handle out-of-memory condition
- Patch by Samuel Serapion

svn path=/trunk/; revision=54866
2012-01-07 17:45:26 +00:00
Timo Kreuzer d70e186df5 [CMAKE]
Add inetcpl to msvc build

svn path=/trunk/; revision=54864
2012-01-07 16:31:13 +00:00
Johannes Anderwald 0ff1f7b6ae [SHELL32]
- Check if querying  shell details failed

svn path=/trunk/; revision=54860
2012-01-07 15:40:27 +00:00
Rafal Harabien e33649d62d [SHELL32]
- Fix few leaks and possible buffer overflows in New menu code
- Add icons of folder and shortcut to New menu
- Display message if file can't be created

svn path=/trunk/; revision=54848
2012-01-05 23:04:06 +00:00
Eric Kohl 262ece40e1 [ADVAPI32]
Pass nt paths to ElfrBackupELFW and ElfrClearELFW.

svn path=/trunk/; revision=54846
2012-01-05 22:07:33 +00:00
Rafal Harabien 61e7814932 [SHELL32]
- Formatting. No code changes.

svn path=/trunk/; revision=54845
2012-01-05 18:34:35 +00:00
Rafal Harabien 898071bb08 [SHELL32]
- Rewrite Open With menu and dialog
- Load all applications
- Use treeview with Recommended and Other programs
- Don't allow duplicates
- Load registry keys in proper way

svn path=/trunk/; revision=54844
2012-01-05 18:31:18 +00:00
Pierre Schweitzer 612b04ffe2 [WININET]
Fix handle leak
Already sent & committed upstream: 85e2b4d7df

svn path=/trunk/; revision=54830
2012-01-03 20:45:28 +00:00
Pierre Schweitzer 1bb43abd3a [DPLAYX]
Fix handle leak
Already sent & committed upstream: 2d14f89fea

svn path=/trunk/; revision=54829
2012-01-03 20:44:42 +00:00
Jérôme Gardou bc74a80807 [CMAKE]
- add module module type, which is basically a DLL without entry point and use it for typelibs
- get rid of custom targets for generating .tlb files and use source file dependencies instead

svn path=/trunk/; revision=54813
2012-01-03 00:17:18 +00:00
Pierre Schweitzer 443af3cd0f [KERNEL32]
Esthetical fixes.

svn path=/trunk/; revision=54807
2012-01-02 10:02:50 +00:00
Pierre Schweitzer 1fbb5c18f9 [KERNEL32]
Reimplement CreateDirectoryA, CreateDirectoryExA, CreateDirectoryW, CreateDirectoryExW, RemoveDirectoryA, RemoveDirectoryW.
This reimplementation now matches the w2k3 one, properly handles reparse points (especially mount points) and also brings several fixes.

svn path=/trunk/; revision=54804
2012-01-01 17:22:35 +00:00
Pierre Schweitzer 206722861c [KERNEL32]
Implement BaseMarkFileForDelete. This will be used later.

svn path=/trunk/; revision=54803
2012-01-01 17:19:31 +00:00
Pierre Schweitzer f6149178f5 [NTDLL]
Export RtlReleaseRelativeName

svn path=/trunk/; revision=54802
2012-01-01 17:18:13 +00:00
Pierre Schweitzer 10ce3354a3 [KERNEL32]
CreateDirectory: handle the case when the FS doesn't support EAs.
This should fix VBox and is mandatory if we want to support MS FSD with FAT32

svn path=/trunk/; revision=54789
2011-12-31 02:01:34 +00:00
Pierre Schweitzer b604379064 [SYSDM]
Fix the fix of the fix

svn path=/trunk/; revision=54780
2011-12-29 13:25:08 +00:00