Commit graph

27 commits

Author SHA1 Message Date
Rafal Harabien fcd25281d9 [SHELL32]
Sync RunFileDlg to wine. It was crashing for one char input.
Add "All files (*.*)" filter to RunDlg and OpenWith dialogs. 
Improved polish translation.
Translators: please localize rest...

svn path=/trunk/; revision=51127
2011-03-23 16:22:38 +00:00
Johannes Anderwald 9f699ffaca [SHELL32]
- Check the correct pidl instead of the free one
- Found by the amazing DPH!

svn path=/trunk/; revision=50899
2011-02-25 15:11:51 +00:00
Gregor Schneider 7759232bf5 [SHELL32] Handle WM_CLOSE instead of WM_DESTROY to close the dialog
See issue #4226 for more details.

svn path=/trunk/; revision=46814
2010-04-10 14:58:31 +00:00
Gregor Schneider 2d3b57377f [SHELL32]
- Change "open with" dialog type to allow aborting, add code to handle WM_DESTROY messages
- Change full blue selection color to standard background blue, set selection background non white correctly
- Adjust German resource fields to make texts fit
See issue #4226 for more details.

svn path=/trunk/; revision=46766
2010-04-07 19:11:56 +00:00
Aleksey Bragin f5a35ee9b2 [PSDK]
- Update all IDLs to Wine-1.1.40. If you feel some of your change was lost, it wasn't needed for building. Please recommit if you still think it's of a high value.

svn path=/trunk/; revision=46005
2010-03-08 20:51:33 +00:00
Timo Kreuzer 6bba9dc9a1 Merge from amd64 branch:
[SPIDER]
44002 Fix 64 bit build. (Samuel Serapión)

[PAINT]
43858 Fix 64 bit warnings. (Samuel Serapión)

[RAPPS]
43906 Fix 64 bit build. (Samuel Serapión)

[SNDREC32]
44389 Fix 64 bit build. (Samuel Serapión)

[TFTP]
41097 Fix pointer to DWORD cast. (Timo Kreuzer)

[COMCTL32]
36172 Build as unicode. (Samuel Serapión)

[USERMGR]
41098 Fix 2 POINTER<->DWORD casts. (Timo Kreuzer)

[d3d9]
38149 Fix pointer<->ULONG cast. (Timo Kreuzer)
43839 Fix 64 bit Build. (Samuel Serapión)

[DSOUND]
40753 Make DSDRIVERDESC.dnDevNode a DWORD_PTR and DSPROPERTY.InstanceId a ULONG_PTR. (Timo Kreuzer)

[LSASRV]
44037 Fix 64 bit Build. (Samuel Serapión)

[MMDRV]
40125 Fix 64bit build. (Samuel Serapión)

[MSGINA]
40993 fix 64bit build (Timo Kreuzer)

[NETSHELL]
41001 Don't cast the 1st parameter of InterlockedExchange to volatile void **, but to void ** (Timo Kreuzer)

[OPENGL32]
36502 No need to assert an offset thats only used in i386 specific code. (Samuel Serapión)

[POWRPROF]
41044 Don't cast NULL to DWORD. (Timo Kreuzer)
43860 Don't cast NULL to an integer type. (Samuel Serapión)

[PSAPI]
38150 Fix a cast (Timo Kreuzer)

[SHELL32]
38355 Use Get/SetWindowLongPtr (Samuel Serapión)
41047 Get rid of deprecated LargeInteger functions and use native int64 math instead. (Timo Kreuzer)
41048 DialogProc returns INT_PTR and not BOOL. Don't cast a pointer to LONG. Use INT_PTR instead of int for pointer math. (Timo Kreuzer)
41049 Change return type of OpenMRUListW and CreateMRUListW to HANDLE, add a comment that CREATEMRULISTW is already defined differently in explorer_new/undoc.h (Timo Kreuzer)
44601 Fix a prototype. Convert RtlLargeInteger to native int64. Fixes 64bit built. (Timo Kreuzer)

[WDMAUD.DRV]
41101 Don't cast DWORD to PVOID, use UlongToPtr instead. (Timo Kreuzer)

[WS2_32]
35777 fix ws2_32 spec file (Timo kreuzer)
44044 Fix ws2_32 64bit build (1 of 2) (Samuel Serapión)
44045 Fix ws2_32 64bit build (2 of 2) (Samuel Serapión)

[WS2_32_NEW]
44389 Fix 64 bit built. (Samuel Serapión)

svn path=/trunk/; revision=44602
2009-12-15 15:16:01 +00:00
Andrew Hill 8266299b0e [browseui, shell32, explorer_new, include]
- Convert browseui to C++/ATL. As part of this, classes in browseui and now registered with .rgs files.
- Add AddressBand, AddressEditBox, BandProxy, BaseBar, BaseBarSite, BrandBand, InternetToolbar, ShellBrowser, ToolsBand, and TravelLog.
- Add stub implementations of commonbrowser, globalfoldersettings, and regtreeoptions.
- Clean up some msvc compile problems in a few files.
- Reorganize some headers to make them better match the Platform SDK.
- Move InlineIsEqualGUID to guiddef.h.
- Create new header files shlguid_undoc.h, shlobj_undoc.h, and shlwapi_undoc.h to hold undocumented types, functions, and GUIDs.
- Move some undocumented definitions declared in explorer_new/todo.h and undoc.h to new headers.
- Rename a few interfaces in explorer_new to the correct name
- Add definition of RBSTR_CHANGERECT to commctrl.h
- IDeskBarClient inherits from IOleWindow, not IUnknown
- HMONITOR was declared in both dxsdk/axextend.idl and wine/wined3d.idl, but not in wtypes.idl where it belongs
- Added Init and Term to CComModule
- Thanks to encoded for solving the browseui linking problem!

svn path=/trunk/; revision=43872
2009-10-31 14:25:45 +00:00
Dmitry Chapyshev f99fbc6c02 - SetWindowLong -> SetWindowLongPtr, GetWindowLong -> GetWindowLongPtr (for 64-bit compatible, see note in MSDN)
Part 4/x

svn path=/trunk/; revision=40864
2009-05-09 12:27:40 +00:00
Johannes Anderwald e42ce04145 - Fix executing item which was broken in last revision
svn path=/trunk/; revision=35676
2008-08-26 16:27:40 +00:00
Johannes Anderwald 07d2758056 shell32 update (1/2)
- Use precompiled headers for shell32
- Use __inline for MSVC compability
- Fix api definitions of SHCreateStdEnumFmtEtc, GetFileNameFromBrowse, SHCreateDirectory, SHCreateDirectoryExA, SHCreateDirectoryExW, Dad_AutoScroll, CDefFolderMenu_Create2, SHChangeNotifyRegister
- msvc now compiles nearly all of shell32 (with WDK headers)

svn path=/trunk/; revision=35674
2008-08-26 15:50:23 +00:00
Johannes Anderwald e577021a2b - Do not pass SHGDN_INFOLDER flag
- Implement IPersistFolder2 for control panel shell folder 
- Replace _InsertMenuItem with unicode 
- Pass the pidl of shellfolder and selected drive to SH_ShowDriveProperties to construct a valid IDataObject which is passed to drive PropertySheet handlers
- Release HPSX array only if it was constructed
- Optimize AddShellPropSheetExCallback for file property dialog
- Pass the pidl of the parent shell folder and selected item to SH_ShowPropertiesDialog and construct a IDataObject from it
- Check for success for created IDataObject and HPSX array
- Add a lot of  buffer checks for the OpenNew shell extension
- Pass the full filename of the item from Admin Tools shellfolder when IShellFolder_GetDisplayNameOf is called with SHGDN_FORPARSING
- Implement initializing the AdminTools folder 
- Implement IShellFolder_SetNameOf for the desktop shell folder to support renaming desktop items and sub folders
- Implement ISFHelper interface for desktop shell folder to support deleting with backspace key and fixes the new item shell service for items and directories
- Implement hiding (deleting) shell extensions from desktop
- Display a messagebox if shell extensions should be really deleted
- Fix the IShellFolder_GetAttributesOf for the Mycomputer shell folder
- Implement changing drive name with rename verb using IShellFolder_SetNameOf (MyComputer)
- Implement Initializing the MyComputer shell folder properly
- Fix Shellfolder attributes for MyDocuments shell folder
- Fix Shellfolder attributes for Netplaces shell folder
- Implement Initializing the Netplaces shell folder properly
- Remove the 'properties' and 'open' verb from recycle bin shell folder, these verbs are statically generated
- Directories cannot have the link attribute
- Implement IShellExtInit interface for the new item shell service
- Implement the default context menu based on the existing item context menu and background context menu and delete old implementation
- Implement copy&paste of files and directories
- Implement creating links to files
- Check if a dynamic shell extension has already been loaded
- Free static / dynamic shell extensions on release

svn path=/trunk/; revision=35476
2008-08-20 13:47:47 +00:00
Johannes Anderwald ad14fa367a - implement _ILIsNetHood
- don't show OpenWith dialog on network neighbourhoud shell folder
- use translatable "open" verb for shelllink's context menu
- deactivate shelllink property dialog, it should be implemented using IShellPropSheetExt interface
- enumerate context menu handlers also in the progid key
- shortcut items now show again the "open" item

svn path=/trunk/; revision=34320
2008-07-06 08:29:28 +00:00
Johannes Anderwald cd17529941 - don't load OpenWith shell extension on desktop, mydocuments, controlpanel, recyclebin, drive, control panel and folder items
svn path=/trunk/; revision=34318
2008-07-06 05:26:34 +00:00
Johannes Anderwald 9601e9d478 - use a list box for the OpenWithDialog
- implement SHOpenWithDialog api
- refactor item loading code
- display app icon and description for each entry
- use comctl32 mru apis for handling OpenWithList entries
- highlight selected entry on focus

svn path=/trunk/; revision=32905
2008-04-10 12:29:08 +00:00
Johannes Anderwald f4edca4243 - show nice display name when full path for executable is available
- enumerate default open verb too
- look in HKCR progid for default verbs/file associations
- fix a bug in SHEOW_LoadOpenWithItems

svn path=/trunk/; revision=30992
2007-12-03 23:33:36 +00:00
Johannes Anderwald f076b05fed - display recently used programs
- append %1 to allow executing in default command
- store prog id as default key in new file ext
- assign default file association when requested

svn path=/trunk/; revision=30990
2007-12-03 22:52:27 +00:00
Johannes Anderwald 98f79299bd - implemented adding programs to new open list
- implemented assigning default file association
- options still if'0

svn path=/trunk/; revision=30934
2007-12-01 17:58:01 +00:00
Johannes Anderwald e611490600 - break out when required (fixes a bug when checkbox is clicked)
svn path=/trunk/; revision=30787
2007-11-26 20:21:11 +00:00
Johannes Anderwald 4ff1aa5fac - update resources
- partially implement open with dialog (stored are not yet stored or retrieved)

svn path=/trunk/; revision=30784
2007-11-26 20:15:29 +00:00
Johannes Anderwald ceafa9d259 - check for NoOpen key (not yet used)
- recurse into persistent handler when required
- fix position for open with shell extension
- add notes for internet search for file type

svn path=/trunk/; revision=30763
2007-11-25 22:06:25 +00:00
Hervé Poussineau 0777353232 Remove YDEBUG define support, replaced by DEBUGCHANNEL environment variable
Syntax: set DEBUGCHANNEL = [[fixme|err|warn|trace]+|-{channel}|all]*

svn path=/trunk/; revision=30722
2007-11-24 15:31:50 +00:00
Johannes Anderwald dc1e031efd - silence debug
svn path=/trunk/; revision=30038
2007-11-01 13:35:30 +00:00
Johannes Anderwald a2e44a6af1 - dont show Open With shell extension when a selected item is a folder or a shortcut
- add the "explore" verb only if folder has a subfolder
- always add open verb

svn path=/trunk/; revision=30037
2007-11-01 13:33:18 +00:00
Hervé Poussineau 8d1924094f Implement SHEmptyRecycleBinA/W
Implement SHQueryRecycleBinA

svn path=/trunk/; revision=29999
2007-10-31 08:57:48 +00:00
Johannes Anderwald 3b7c69f9c9 - populate Open With with found entries
- see http://windowsxp.mvps.org/OpenWith.htm
- silence debug messages
- invoke shell extension's InvokeCommand on a event

svn path=/trunk/; revision=29981
2007-10-30 18:35:02 +00:00
Johannes Anderwald 2d59682aa4 - fix a bug
svn path=/trunk/; revision=29923
2007-10-27 20:48:45 +00:00
Johannes Anderwald 2a3cd64f08 - start implementing "Open With" shell extension
- see http://windowsxp.mvps.org/OpenWith.htm

svn path=/trunk/; revision=29921
2007-10-27 20:09:38 +00:00