Commit graph

767 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
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 4902210307 - Try to fix KVM
svn path=/trunk/; revision=54967
2012-01-15 00:59:29 +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
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
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
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
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
Rafal Harabien f8e647e8a2 [SHELL32]
- Use file description in version block instead of filename for application name in Open With menu

svn path=/trunk/; revision=54770
2011-12-27 21:58:55 +00:00
Rafal Harabien c969ec94e4 [SHELL32]
- Fix memory leak in Open With menu
- Show icons in Open With menu
- General code improvements

svn path=/trunk/; revision=54769
2011-12-27 15:25:32 +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 2dc4238d90 [SHELL32]
- Fix a typo in a registry path

svn path=/trunk/; revision=54724
2011-12-21 02:43:36 +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
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
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
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
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