Commit Graph

1491 Commits

Author SHA1 Message Date
Michael Stefaniuc 32b1a24501 janitorial: Move the storage specifier to the beginning of the declaration. 2006-07-07 14:30:35 +02:00
Mikołaj Zalewski 89b458dac7 shell32: Add an icon for delete confirmation. 2006-07-03 11:36:52 +02:00
Mikołaj Zalewski cb0c81ae8c shell32: Allow for custom icons in confirmation messages. 2006-07-03 11:35:29 +02:00
Mikołaj Zalewski e5b9a79cbc shell32: Pass the correct parent hwnd to confirmation dialogs. 2006-07-03 11:35:14 +02:00
Mikołaj Zalewski 9078c6af45 shell32: Remove the now unused SHELL_DeleteFileW. 2006-07-03 11:33:51 +02:00
Paul Vriens 8f143f190c Use the return value of register_key_guid. 2006-06-30 21:08:07 +02:00
Mikołaj Zalewski 86fe1a0d5f shell32: Use SHFileOperationW to delete files. 2006-06-30 20:42:58 +02:00
Ivan Leo 48374cf630 shell32/tests: Comment out a test that crashes on windows nt 4.0. 2006-06-30 20:42:43 +02:00
Juan Lang bf680011d7 shell32: Add a stub for InvalidateDriveType. 2006-06-28 16:53:20 +02:00
Mikołaj Zalewski ce9471f18e shell32: If needed show a confirmation dialog when deleting with SHFileOperation.
Show a confirmation dialog in SHFileOperationW for the FO_DELETE
operation when called without FOF_NOCONFIRMATION or with
FOF_WANTNUKEWARNING. That way the user's files won't be deleted
without a warning.
2006-06-28 15:39:45 +02:00
Hans Leidekker ca9f266ac0 shell32: Add a stub implementation for SHIsFileAvailableOffline. 2006-06-27 11:50:01 +02:00
Francois Gouget 9bfbfcbeb4 Assorted spelling, case and grammar fixes. 2006-06-26 13:06:11 +02:00
Francois Gouget 9607151e38 shell32: Fix computation of default verb.
Compute the default verb as documented on MSDN instead of blindly
assuming it is 'open'. This fixes the WordViewer association in some
cases.
2006-06-26 13:05:12 +02:00
James Hawkins f921fa544a shell32: Add missing multiply by sizeof(WCHAR)l 2006-06-26 12:36:26 +02:00
Alexandre Julliard 13574d919d Updated the AUTHORS list and converted it to utf-8. 2006-06-21 14:59:02 +02:00
Mikołaj Zalewski 5de24f0320 shell32: Fix the nBufferMax param of LoadStringW calls from SHELL_ConfirmDialogW. 2006-06-21 11:13:27 +02:00
Mikołaj Zalewski 6352734eae shell32: Remove the now unused SHELL_ConfirmDialog. 2006-06-20 11:06:13 +02:00
Mikołaj Zalewski 529346e8f4 shell32: Use SHELL_ConfirmDialogW when deleting multiple files. 2006-06-20 11:06:02 +02:00
Mikołaj Zalewski cc6eb8dfe1 shell32: Update the Polish translation. 2006-06-20 11:05:38 +02:00
Robert Shearman 6c4c4e3515 shell32: Convert ISF_Desktop_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:28 +02:00
Robert Shearman db8169b828 shell32: Convert ISF_MyComputer_fnGetDisplayNameOf to Unicode. 2006-06-19 23:04:23 +02:00
Francois Gouget 2d7ef72cf0 shell32: Remove dead code in SHELL_FindExecutable(). 2006-06-16 11:32:11 +02:00
Alexandre Julliard 7a0396afd1 shell32: Make some variables static and/or const. 2006-06-12 13:44:21 +02:00
Alexandre Julliard b4629addbd shell32: Use the standard DEFINE_GUID macro to define GUIDs. 2006-06-09 21:10:25 +02:00
Phil Lodwick 6fc50ff378 shell32/tests: Test to make sure we can create a non-nested directory. 2006-06-08 11:12:02 +02:00
Phil Lodwick 5a13cba8b6 shell32: SHCreateDirectoryEx can create a non-nested directory. 2006-06-08 11:11:43 +02:00
Mikołaj Zalewski 276bbb9f97 shell32: Remove the now unused SHELL_DeleteFileA and SHELL_DeleteDirectoryA. 2006-06-02 20:43:27 +02:00
Mikołaj Zalewski b84f3093d5 shell32: Avoid Unicode->ANSI conversion when deleting a file. 2006-06-02 20:43:08 +02:00
Vitaliy Margolen a3aa7cf033 shell32: Add Fonts to user's shell folders list. 2006-06-02 10:52:33 +02:00
Alexandre Julliard 23f9e358ad Tests should not use wine/unicode.h. 2006-05-24 18:05:09 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Robert Shearman 74407105d2 Check the return value from register_key_guid in all the DLL registering code. 2006-05-10 19:38:04 +02:00
Michael Jung b3e6faa784 shell32: Support BFFM_SETSELECTION[AW] and BFFM_SETEXPANDED for SHBrowseForFolder. 2006-05-10 11:19:46 +02:00
Mikołaj Zalewski 379460f6da shell32: Don't use uninitialized item.mask in shlview. 2006-05-08 14:48:36 +02:00
Alexandre Julliard 9686acb46c shell32: Fixed ordinals of SHDefExtractIconA/W. 2006-04-19 14:24:17 +02:00
Mikołaj Zalewski 89ed90f3e5 shell32: Use LVCOLUMW instead of LVCOLUMNA in LVM_INSERTCOLUMNW listview message. 2006-04-18 11:16:14 +02:00
Louis Lenders 3d29c5ad77 shell32: Define 2 more avi resources. 2006-04-18 11:09:08 +02:00
Jacek Caban 150bd5442c shell32: Don't crash in SHELL_ExecuteW if psei->lpDirectory is NULL. 2006-04-14 19:37:02 +02:00
Anssi Hannula eb1c4fff93 shell32: Fix common files directory location in shell32_Fi.rc. 2006-04-14 19:35:21 +02:00
Antonio Codazzi b758ea053c shell32: Italian resources update. 2006-04-14 10:51:02 +02:00
Jacek Caban 4b5125a79c shell32: Allocate wszApplicationName on the heap as it may be longer than MAX_PATH. 2006-04-12 20:56:57 +02:00
Robert Shearman e8fe7004c7 shell32: Adding a systray item with an invalid icon handle is allowed. 2006-03-27 21:41:30 +02:00
Louis. Lenders 5094cfa6eb shell32: Add an uncompressed AVI displaying the word searching. 2006-03-27 12:18:45 +02:00
Antonio Codazzi 77405a786d shell32: Updated Esperanto translation. 2006-03-27 11:55:31 +02:00
Francois Gouget 6bddeb1cf7 Assorted spelling fixes. 2006-03-21 20:10:39 +01:00
András Kovács 8ab92e8a06 shell32: Added Hungarian translation. 2006-03-15 11:33:45 +01:00
Dmitry Timoshkov 52645e1144 shell32: Add parameter formatting rule to the command line if there isn't any. 2006-03-14 18:49:43 +01:00
Mike McCormack 6f9dd397d2 shell32: Fix some gcc 4.1 warnings caused by casts in macros. 2006-03-13 14:19:20 +01:00
Alexandre Julliard 576e3b7062 explorer: Merged systray support with the desktop window main loop.
Systray is now always available as part of the desktop and doesn't
need to be started from shell32.
2006-03-07 11:50:05 +01:00
Alexandre Julliard 1110d62752 shell32: Grow the file list dynamically in SHFileOperation.
This avoids searching the same directories twice, once to count the
files and then once for real.
2006-03-06 17:47:57 +01:00
Alexandre Julliard 23cb632be2 shell32: Store only the file attributes in the file list for SHFileOperation.
We don't need the rest of the WIN32_FIND_DATA structure.
2006-03-06 16:44:31 +01:00
Alexandre Julliard b222001def shell32: Fixed handling of null-terminated file list in SHFileOperation. 2006-03-06 16:42:34 +01:00
Aric Stewart c29b7c3524 shell32: Skip dot directories in SHFileOperation.
In ShFileOperation when generating a file list with * wildcards, for
example for deletion, do not include the dot directories (. and ..) in
the list, because that cause the operation to spiral out of control.
2006-03-06 15:57:22 +01:00
Michael Jung cc15fcc4b0 shell32: Unicode'ify ISFHelper interface. 2006-03-06 11:43:16 +01:00
Mike McCormack 959edd5cc4 shell32: Fix some gcc 4.1 warnings caused by casts in macros. 2006-03-03 13:19:04 +01:00
Alexandre Julliard c9cc7e33ff Fixed some compiler warnings on old gcc versions. 2006-03-02 18:03:32 +01:00
Jon Parshall b84c9d41e4 shell32: New icons for Desktop and My Computer. 2006-03-01 12:39:13 +01:00
Michael Jung 50f3eaef77 shell32/tests: Added test for Desktop::ParseDisplayName(SHGetFolderPath(CSIDL_PERSONAL))
Test if the Desktop Folder's ParseDisplayName recognizes MyDocument's
path.  Removed some HRESULT tests on IUnknown_Release calls, which
returns ULONG.
2006-02-27 12:18:28 +01:00
Robert Shearman f689e3fca4 shell32: Move systray handling to the explorer process. 2006-02-22 16:33:33 +01:00
Eric Pouech 1be2e1edef shell32: Fixes for bugs found by valgrind on shell32 tests harness.
- read strings from left to right (PathGetDriveNumberW)
- don't access buffers before they are filled (SHGetPathFromIDListW)
- fill buffers & variables on all paths (SHELL_FindExecutable)
- handle error condition (unix_fs)
- don't shoot in the blind for AW APIs (tests/shelllink.c)
2006-02-22 12:04:02 +01:00
Stefan Leichter f7b678e887 shell32: Export PathResolve by name. 2006-02-22 11:32:24 +01:00
Alexandre Julliard 39a1a94221 shell32: Use more reasonable timeouts in shlexec test. 2006-02-21 19:30:29 +01:00
Martin Fuchs 8167c415ab shell32: Avoid recursing SHELL32_GetItemAttributes() calls. 2006-02-20 11:50:56 +01:00
Michael Jung d7326ca7e5 shell32: Return a GUID pidl for CSIDL_PERSONAL in SHGetFolderLocation.
The tests (shellpath.c/testPersonal) already show that it can be either 
PT_FOLDER or PT_GUID. It's PT_GUID on WinXP.
2006-02-14 11:35:12 +01:00
Michael Jung bbca134a3c shell32: Register 'LocalizedString' values for shellfolder classes. 2006-02-14 10:41:33 +01:00
Michael Jung bbeeb4b5ad shell32: Query for localized string in HCR_GetClassName. 2006-02-14 10:41:29 +01:00
Petr Tesarik a7e9edfa57 shell32: Czech language resources encoding fix. 2006-02-13 13:28:17 +01:00
Andrey Turkin 06188b6d34 shell32: IShellView list's control id should be 1, not 2000. 2006-02-11 18:41:34 +01:00
Martin Fuchs c362d7c35b shell32: SHELL32_GetItemAttributes()
- correct documentation which incorrectly claimed not to set any
  attribute bits
- retrieve file attributes using SHGetPathFromIDListW() when they are
  not already present in the internal PIDL structures
- add test case to show the previously wrong folder attributes when
  using absolute PIDLs
- fix some memory leaks in the tests
2006-02-11 12:16:56 +01:00
Francois Gouget d3aa2313b8 shell32: Update DllGetClassObject documentation. 2006-02-07 21:18:12 +01:00
Fatih Aşıcı 3b04615b55 shell32: Turkish translation. 2006-02-06 13:06:10 +01:00
Kasper Sandberg 4526997960 Danish language update. 2006-02-04 17:01:25 +01:00
Michael Jung 77474f8a14 shell32: Create $HOME targeted symbolic links during SHELL_RegisterFolders. 2006-02-02 13:28:29 +01:00
Michael Jung 32aed7c93e shell32: Move 'My Pictures', 'My Videos' and 'My Music' folders
directly to %USERPROFILE% (instead of %USERPROFILE%\\My Documents), to
allow for reasonable symbolic linking to $HOME based directories.
2006-02-02 13:28:05 +01:00
Michael Jung 7a893cbe7a shell32: Get rid of the magic MyDocuments->$HOME mapping code. 2006-02-02 13:27:42 +01:00
Michael Jung dc9789fbdd unixfs: Use realpath instead of canonicalize_file_name for portability
reasons.
2006-02-02 13:20:49 +01:00
Dmitry Timoshkov 22204c2c80 shell32: execute_from_key should fallback to a DDE exec only if the
command to execute from is not found in the registry.
Pass already found executable name to dde_connect.
2006-02-01 12:29:39 +01:00
Michael Jung e2d1c1038a unixfs: Only append '/' to base path if not already present in
UNIXFS_get_unix_path.
2006-01-31 18:03:45 +01:00
Michael Jung 48ca838873 unixfs: Only resolve the 'dosdevices' based symbol links in
UNIXFS_get_unix_path, but leave all others alone.
2006-01-31 12:20:58 +01:00
Alexandre Julliard d37a119ee6 shell32: Fixed a couple of FindFirstFile handle leaks. 2006-01-27 15:48:29 +01:00
Mike McCormack 4b17a9faae shell32: Export DllGetClassObject by ordinal as grpconv.exe requires it. 2006-01-23 11:23:33 +01:00
James Hawkins 1be970d485 shell32: Reimplement a factored SHFileOperation. 2006-01-23 11:22:59 +01:00
Huw Davies 51fd750707 shell: Fix incorrect usage of the return value of StrRetToStrNW. 2006-01-20 20:17:07 +01:00
Aric Stewart 265c8a5d73 shell32: Update shellpaths My Pictures, My Video, My Music to be under
$HOME, with a number of fallbacks.
2006-01-19 12:43:14 +01:00
Michael Jung db7a3a352e shell32: Support for CLSID_ShellFSFolder in unixfs. 2006-01-17 15:58:52 +01:00
Robert Shearman d9d9d7e897 shell: GetDetailsOf fix.
Initialise hr and psd->str.uType before the call to
IShellFolder_GetDisplayNameOf so that whatever it returns is
preserved.
2006-01-16 21:32:06 +01:00
Robert Shearman f8782733f3 shell: Convert the filesystem shell folder to Unicode. 2006-01-16 21:31:48 +01:00
Robert Shearman 50c1e46d18 shell: Convert SHELL32_GetDisplayNameOfChild to unicode. 2006-01-16 21:31:10 +01:00
Michael Jung f87efbd14e unixfs: Fix SetNameOf.
Ensure that pidls passed to SHNotify are absolute SetNameOf should
fail on absolute path names.
Some tests to show this.
2006-01-16 20:37:51 +01:00
Michael Jung b52146d95f unixfs: Fix ParseDisplayName.
Build an absolute pidl to query attributes in
UnixFolder::ParseDisplayName.
2006-01-14 17:10:53 +01:00
Vitaliy Margolen a5074584a8 shell32: Fix cut & paste error. 2006-01-14 17:06:03 +01:00
Ge van Geldorp a8d1e6e068 shell32: Fix directory execution.
Only use the Folder class handler if we're actually executing a
folder.
2006-01-12 13:31:45 +01:00
Martin Fuchs 73096db501 shell32: MSVC compatibility fix in dump_pidl_hex(). 2006-01-12 13:29:21 +01:00
Robert Shearman d11069f8bb shell: Fix view window Z order.
After creating the Shell View window we should call SetWindowPos to
move the window on top of other child windows in the parent window.
Also delay the showing of the window so that we can do more
initialisation after window creation without it causing visual
artifacts.
2006-01-12 11:54:03 +01:00
Martin Fuchs 7114f8c3bd shell32: Fix folder icon index when read from registry.
Change "DWORD dwNr" into "int icon_idx" at several places.
2006-01-11 12:33:24 +01:00
Troy Rollo e80a85a33b shell32: Fix bug in renaming files in the file dialogs when UNIX paths
are being used.
2006-01-10 12:08:28 +01:00
YunSong Hwang dc8c6bb90b shell32: Update the Korean translation. 2006-01-09 17:17:20 +01:00
Alexander N. Sørnes 22ce9a6653 shell32: Updated Norwegian Bokmål resources. 2006-01-09 17:17:09 +01:00
Anssi Hannula 17f0fcc776 shell32: Spelling fixes for the Finnish resource. 2006-01-06 12:16:22 +01:00
Vitaliy Margolen c99880d955 shell32: Create Local AppData for user profile.
Move history and internet tmp files to Local Settings.
2006-01-04 14:48:59 +01:00