Commit Graph

102 Commits

Author SHA1 Message Date
Huw Davies d6ce0b10c4 shell32: Always clone the return pidl to avoid a double free if the selection is changed during teardown. 2011-05-03 19:34:24 +02:00
André Hentschel e556b45f43 shell32: Don't crash if selection is NULL. 2011-04-29 14:21:40 +02:00
Nikolay Sivov b907b7d6bf shell32: Fix a parent PIDL leak (Valgrind). 2011-01-24 12:35:02 +01:00
Nikolay Sivov 2d542fa752 shell32: Free cloned PIDL after tree initialization (Valgrind). 2011-01-20 12:21:27 +01:00
Nikolay Sivov 99f0c0a16d shell32: Fix interface leak while adding tree items. 2011-01-20 12:21:23 +01:00
David Hedberg a690db9f1e shell32: Replace some checks with calls to _ILIsEmpty(). 2010-08-02 15:56:48 +02:00
David Hedberg be2259dce9 shell32: Shell_GetImageLists should be declared in shlobj.h and exported by name. 2010-07-20 12:35:17 +02:00
Michael Stefaniuc 6f36945f2b shell32: Remove some superfluous LPARAM/WPARAM casts. 2009-12-28 12:27:15 +01:00
Eric Pouech 35d6217def Remove a couple of superfluous casts. 2009-08-29 17:11:26 +02:00
Nikolay Sivov 89da35b1d9 comctl32/treeview: Fix TreeView_* macros. 2009-05-14 14:26:44 +02:00
Michael Stefaniuc 6c54ad3dba shell32: Remove superfluous pointer casts. 2009-02-19 12:52:02 +01:00
Diaa Sami 72a7aed5b6 shell32: Fix a mem leak in SHBrowseForFolder. 2009-01-30 13:53:13 +01:00
Diaa Sami cdb0497d7a shell32: Include the text control when resizing ShBrowseForFolder dialog. 2009-01-29 15:06:00 +01:00
Michael Stefaniuc b7de266082 shell32: Remove superfluous casts; mostly of void pointers. 2008-11-06 11:09:51 +01:00
Michael Stefaniuc f6baf97629 shell32: Use FAILED instead of !SUCCEEDED. 2008-10-08 13:41:52 +02:00
Daniel Remenak 806385248a shell32: Fix crash regression in browse for folder dialog. 2008-07-09 11:45:12 +02:00
Mikołaj Zalewski abe87675a8 shell32: Make new style Browse For Folders dialog resizable. 2008-07-08 11:19:20 +02:00
Andrew Talbot 52db721a69 shell32: Remove unneeded casts. 2008-01-21 11:38:59 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
Andrew Talbot c333402b7f shell32: Constify some variables. 2007-09-11 12:37:48 +02:00
Lei Zhang 7318ae2411 shell32: Start implementing BIF_USENEWUI. 2007-06-08 11:57:47 +02:00
Dmitry Timoshkov 3c9e7a7f33 wine: Switch to using 'long' for INT_PTR type for 64-bit compatibility. 2007-05-25 20:37:56 +02:00
Andrew Talbot 0ad8ef0772 shell32: Exclude unused headers. 2007-05-21 12:31:23 +02:00
Mikołaj Zalewski 474bf4fc4b shell32: Make sure BrowseForFolder doesn't return NULL for the Desktop folder as this means a cancel. 2007-02-12 12:38:33 +01:00
Hans Leidekker 89e1d29482 shell32: Win64 printf format warning fixes. 2006-10-09 12:45:02 +02:00
James Hawkins 7b89ff88e8 janitorial: Remove redundant NULL checks before SHFree. 2006-10-07 17:52:59 +02:00
Andrew Talbot 699f4cc703 shell32: Cast-qual warnings fix. 2006-09-29 14:59:36 +02:00
Alexandre Julliard 669780c24f shell32: Avoid using macros that cause gcc warnings. 2006-07-13 15:50:20 +02:00
James Hawkins f921fa544a shell32: Add missing multiply by sizeof(WCHAR)l 2006-06-26 12:36:26 +02:00
Alexandre Julliard 7a0396afd1 shell32: Make some variables static and/or const. 2006-06-12 13:44:21 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Michael Jung b3e6faa784 shell32: Support BFFM_SETSELECTION[AW] and BFFM_SETEXPANDED for SHBrowseForFolder. 2006-05-10 11:19:46 +02:00
Mike McCormack 959edd5cc4 shell32: Fix some gcc 4.1 warnings caused by casts in macros. 2006-03-03 13:19:04 +01:00
Huw Davies 51fd750707 shell: Fix incorrect usage of the return value of StrRetToStrNW. 2006-01-20 20:17:07 +01:00
Michael Jung ae8a912605 Initialize OLE instead of just COM, in order to enable Drag & Drop. 2005-11-23 15:15:16 +01:00
Markus Amsler 671738d5c1 Improve c2man Documented-Total count. Changes:
- add missing description
- add missing returns section
- complete missing A/W pairs
- reformate comments, to match c2man requirements
2005-11-10 11:15:22 +00:00
Michael Jung 0acf88651d Initialize COM prior to displaying the SHBrowseForFolder dialog. 2005-11-09 10:30:28 +00:00
Michael Jung 14d9eec51a More robust code for querying ShellFolder attributes (some
ShellFolders ignore the flag mask in GetAttributesOf).
2005-11-07 20:11:27 +00:00
Aric Stewart 5a8d76749a MSDN states that the pszDisplayName member of BROWSEINFO is assumed to
be MAX_PATH in length. So when doing the A->W conversion in
BrowseForFolderA do not set that member to be the size of the
incoming string, instead make it MAX_PATH.
2005-10-17 08:54:53 +00:00
Kevin Koltzau 95a173a52b Fix warnings in 64bit. 2005-09-02 11:32:17 +00:00
Aric Stewart b152076d3b Fix the BrowseForFolder dialog so that when it does the callbacks it
uses the correct message instead of always sending BEFM_INITIALIZED.
2005-06-27 18:46:47 +00:00
Michael Jung 38f2ee9d04 Let BindToObject fail, if called with empty relative pidl.
Tests to show that it should do so.
Fix SHBrowseForFolder to not pass an empty pidl to BindToObject.
2005-06-06 10:04:15 +00:00
Michael Jung 15934680f7 Return a cloned PIDL by SHBrowseForFolder to avoid heap corruption. 2005-05-06 19:33:06 +00:00
Mike McCormack 2b2c6f2fba Remove static variables in SHBrowseForFolder implementation. 2005-05-04 09:48:15 +00:00
Mike McCormack 95a58eba7d Split up the window procedure. 2005-04-28 18:26:58 +00:00
Michael Jung 2a788026a3 Fixed incorrect IShellFolder::EnumOjects API usage. 2005-04-22 19:07:00 +00:00
Michael Jung 6bc9999e08 Fixed parsing of ITEMIDLIST in InitializeTreeView.
Added some documentation.
Fixed a crash occuring when the user double-clicks a leaf item.
2005-03-01 11:45:32 +00:00
Robert Shearman 3dad1f9043 Don't sort the children of My Computer in shell browse for folder
dialog.
2005-01-11 10:40:14 +00:00
Michael Stefaniuc 5ad7d858e0 Do not check for non NULL pointer before HeapFree'ing it. It's
redundant.
2004-12-23 17:06:43 +00:00
Francois Gouget 486d020c1b Don't define COBJMACROS in objbase.h.
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00