Commit graph

17 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 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 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 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
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 6f7115b541 [SHELL32]
- Display file size in bytes in file properties dialog
- Don't use ULONGLONG if ULONG is enough
- Change LARGE_INTEGER to ULARGE_INTEGER where it makes sense
- Fix calculation of file size in CountFolderAndFiles
- WM_GETTEXT receives size in bytes (not characters count)
- Use Get(Set)DlgItemTextW instead of SendDlgItemMessageW
Patch by Carlo Bramix. Improvements by me.
See issue #6294 for more details.

svn path=/trunk/; revision=54529
2011-11-28 21:54:45 +00:00
Johannes Anderwald 2387a1229b [SHELL32]
- Remove unwanted change

svn path=/trunk/; revision=54183
2011-10-17 16:53:16 +00:00
Johannes Anderwald 3768a08bef [SHELL32]
- Check first it the path is a drive path
- Fixes launching drive property dialog when clicked in the shell view area

svn path=/trunk/; revision=54182
2011-10-17 16:51:46 +00:00
Johannes Anderwald 2ada141a03 [SHELL32]
- Remove unused code
- Display file extension based on Edijus patch
See issue #6310 for more details.

svn path=/trunk/; revision=54177
2011-10-17 14:42:47 +00:00
Johannes Anderwald fc4054d9e9 - Fix launching of properties dialog in the detail view
- Based on Edijus patch (terminedijsatyahoodotcom)
See issue #6571 for more details.

svn path=/trunk/; revision=54176
2011-10-17 13:22:20 +00:00
Amine Khaldi 3bb734fcf3 [SHELL32]
* Reintegrate the c++ shell32 branch. Exemplary team-work.. kudos !
* Better code quality, more tests run with less failures... and more.
* Dedicated to everyone who helped ;)

svn path=/trunk/; revision=53653
2011-09-09 10:55:09 +00:00