Commit Graph

1662 Commits

Author SHA1 Message Date
Thomas Weidenmueller fb5c516dfd shell32: Implement the property sheet extension array functions.
Implement the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray functions
that are used to extend/replace property sheets by shell extensions.
2007-01-23 13:06:09 +01:00
Francois Gouget aa3165fca6 shell32: Add proper support for SHGetFileInfo(SHGFI_ICONLOCATION | SHGFI_USEFILEATTRIBUTES). 2007-01-19 12:28:57 +01:00
Francois Gouget 5c5933f699 shell32/tests: Add some more SHGetFileInfo() tests. 2007-01-19 12:28:57 +01:00
Thomas Weidenmueller e06345db52 shell32: Fix prototypes.
Fix the SHAddFromPropSheetExtArray, SHCreatePropSheetExtArray,
SHReplaceFromPropSheetExtArray and SHDestroyPropSheetExtArray function
prototypes because they're now documented. Also add them to shlobj.h.
2007-01-19 12:28:57 +01:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Francois Gouget 4abebb8eb5 shell32: There is no need to check strings for NULL when using debugstr_w().
Also don't put single quotes around '%s' in that case.
2007-01-18 12:55:40 +01:00
Andrew Talbot 670cf778aa shell32: Remove unused variable. 2007-01-16 11:19:18 +01:00
Francois Gouget d2daa384e9 shell32/tests: Hack SHGetFileInfo() so it does not crash and add a test for it. 2007-01-08 12:06:21 +01:00
Francois Gouget 947b71aeb0 shell32/tests: Print GetLastError() in decimal with '%u'. 2007-01-06 11:40:43 +01:00
Alexandre Julliard d56b3c10c4 shell32: Don't hardcode the system32 directory in registered classes. 2006-12-20 17:05:02 +01:00
Francois Gouget df299b7305 shell32: Replace numeric literals with the proper constant. 2006-12-14 20:24:31 +01:00
Francois Gouget df9715b1b0 shell32: Fix FindExecutableW() to not check if lpResult after using it. It's supposed to cause a segfault anyway.
Use SE_ERR_FNF rather than a numeric literal.
2006-12-14 12:45:27 +01:00
Francois Gouget 2538fa319a shell32: Add some documentation for FindExecutableW(). 2006-12-14 12:45:21 +01:00
Francois Gouget 71e5f3c116 shell32: Fix FindExecutable() to return the executable path, not the whole command. 2006-12-14 12:45:15 +01:00
Francois Gouget 65b81bebaa shell32/tests: Add FindExecutable() tests. 2006-12-14 12:45:04 +01:00
Francois Gouget 2fa16067f6 shell32/tests: MSDN says ShellExecute() == 32 indicates an error. So fix the tests. 2006-12-14 12:44:56 +01:00
Hans Leidekker 3558cdb8d5 shell32: Add a stub implementation for SHLoadNonloadedIconOverlayIdentifiers. 2006-12-11 17:05:38 +01:00
Alexandre Julliard a051487d3b shell32: Avoid using garbage data in wildcard expansion. 2006-12-11 15:37:35 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +01:00
Louis Lenders c231fd6872 shell32: Define AVI resource 152. 2006-12-08 11:39:45 +01:00
Francois Gouget c66628b73f Consistently use SUBLANG_NEUTRAL for Italian resources. 2006-12-05 11:28:38 +01:00
Francois Gouget bb8e625b5b Assorted spelling fixes. 2006-12-05 10:31:47 +01:00
James Hawkins 44b0b462cb shell32: Move a NULL pointer check before the place where we dereference the pointer. 2006-12-04 12:22:46 +01:00
Dmitry Timoshkov e4c0748c21 shell32: Make some data static and const. 2006-11-28 12:36:12 +01:00
Francois Gouget 1da359b498 shell32: Add a Portuguese translation (contributed by Americo Jose Melo). 2006-11-28 12:13:32 +01:00
Francois Gouget b5f104d05b Replace SUBLANG_DEFAULT with the specific SUBLANG_XXX constant for languages that have multiple sublanguages. 2006-11-24 11:49:32 +01:00
Francois Gouget 144995b5a5 shell32/tests: Don't use the NONAMELESS* macros in the tests. 2006-11-24 11:48:56 +01:00
Francois Gouget 9fefaa87a9 shell32: Remove unused parameters from SHELL_FindExecutableByOperation(). 2006-11-24 11:48:35 +01:00
Marcus Meissner 267e660bd6 shell32: Pass number of wide chars, not bytes as last argument to MBtoWC(). 2006-11-22 11:38:46 +01:00
Detlef Riekenberg 7c70f7f9b2 shell32: Fix a function name in a comment. 2006-11-16 22:09:19 +01:00
Louis Lenders d14d772f80 shell32: Define a few more icon resources. 2006-11-16 12:45:25 +01:00
Andrew Talbot fdd9a4e2a7 shell32: Cast-qual warnings fix. 2006-11-15 11:32:38 +01:00
Andrew Talbot 2f4bb7b78d shell32: Cast-qual warnings fix. 2006-11-15 11:32:32 +01:00
Alexandre Julliard dc0c3677cd shell32: Don't use the short path name to delete files in SHFileOperation. 2006-11-14 12:00:23 +01:00
Francois Gouget c35b6b9223 shell32: Fix inclusion of conditional headers (spotted by winapi_check). 2006-11-13 12:59:18 +01:00
Francois Gouget 138e12b3d2 shell32: Add missing '\n' to Wine trace. 2006-11-08 12:10:39 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Aric Stewart 3f9a168f47 shell32: Have SHELL_ArgifyW respect the length of the buffer passed in and report a needed buffer size. 2006-11-06 14:11:57 +01:00
Aric Stewart 3490cb81ed shell32: Create dynamic buffers for expanded enviroment strings to allow for parameters and such longer than MAX_PATH.
With help from Michael Moss.
2006-11-06 14:10:55 +01:00
Aric Stewart 418d093325 shell32: ABM_NEW was using parameters that are not set. 2006-10-30 20:09:24 +01:00
Paul Vriens 1af1ead894 shell32: Cast-qual warnings fix. 2006-10-30 11:26:30 +01:00
Alexandre Julliard ff068c088b shell32: Properly handle negative coordinates for mouse events. 2006-10-25 17:42:11 +02:00
Mikołaj Zalewski 58bd35c8c5 resources: Change Dutch sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 17:45:51 +02:00
Mikołaj Zalewski e32aa55703 resources: Change German sublanguage code to SUBLANG_NEUTRAL. 2006-10-24 11:45:12 +02:00
Byeong-Sik Jeon e1fd734c97 Korean: Use SUBLANG_NEUTRAL in Korean resources. 2006-10-20 13:49:39 +02:00
Francois Gouget 22288de732 Fix compilation with gcc 2.95. 2006-10-19 13:35:19 +02:00
Francois Gouget ef998ea6cb Assorted spelling fixes. 2006-10-16 11:33:38 +02:00
Michael Stefaniuc 15765dd953 The Data1 member of the GUID struct needs to be an unsigned int too for Win64 compatibility. 2006-10-16 10:53:04 +02:00
Detlef Riekenberg 1f2219d521 shell32: Fix typo in Run dialog. 2006-10-13 11:04:08 +02:00
Detlef Riekenberg 449dfadf51 shell32: Implement SHRegQueryValueA with RegQueryValueA. 2006-10-12 20:41:04 +02:00
Ge van Geldorp d642e11438 winapi_test: Regenerate tests.
Remove structs from test list which have preprocessor directives in
their definitions (winapi_test can't handle that).
2006-10-11 12:12:21 +02:00
Hans Leidekker e5c1a014df shell32/tests: Win64 printf format warning fixes. 2006-10-09 12:53:26 +02: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
Francois Gouget 4e00d7940d shell32: Don't forget to set stateMask when calling LVM_GETITEM/LVIF_STATE.
Remove ZeroMemory() calls and instead set iSubItem = 0 manually.
2006-10-05 17:44:37 +02:00
Francois Gouget c22eb7e3a3 shell32: Microsoft's EXP_DARWIN_LINK structure does not have a dbh
field so cast it to DATABLOCK_HEADER to access the dwSignature
field. Fixes the compilation with Visual C++ on Windows.
2006-10-03 15:56:32 +02:00
Andrew Talbot 19e85ca5a9 shell32: Another cast-qual warning fix. 2006-10-02 11:55:32 +02:00
Andrew Talbot 30806fc00c shell32: Cast-qual warnings fix. 2006-10-02 11:55:26 +02:00
Francois Gouget 87045eb0c5 Fix rpcndr.h so it takes CONST_VTABLE into account.
Define CONST_VTABLE in the tests that need it. This fixes many Visual C++ warnings.
2006-09-29 17:52:27 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00
Andrew Talbot 29ce6b37b5 shell32: Cast-qual warnings fix. 2006-09-29 15:00:03 +02:00
Andrew Talbot 27a06a5d75 shell32: Cast-qual warnings fix. 2006-09-29 14:59:55 +02:00
Andrew Talbot dcd5e173f8 shell32: Cast-qual warnings fix. 2006-09-29 14:59:45 +02:00
Andrew Talbot 699f4cc703 shell32: Cast-qual warnings fix. 2006-09-29 14:59:36 +02:00
Fatih Aşıcı 8d3a4759d7 shell32: Update Turkish resources. 2006-09-26 11:39:50 +02:00
Jonathan Ernst 8fc83b1f46 dlls: Assorted French translation improvements. 2006-09-25 18:32:33 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
Alexandre Julliard 0a0f4cd835 shell32: Don't build authors.c for make depend, it has no dependencies anyway. 2006-09-11 14:47:39 +02:00
Mikołaj Zalewski 455991a7a8 shell32: Remove the unused shell allocator. 2006-09-10 10:19:21 +02:00
Mikołaj Zalewski 8fcc0bdf78 shell32: Document the shell32 "mini-COM" functions. 2006-09-10 10:19:14 +02:00
Francois Gouget 3c336ab0cf shell32: Fix spelling of a local variable. 2006-09-08 11:03:04 +02:00
Alexandre Julliard 5cf75e615a makefiles: Only run test and documentation targets in directories that need them. 2006-08-28 13:37:44 +02:00
Mikołaj Zalewski c1ca35d051 shell32: Fix a bug in SHELL_ConfirmW.
Fix a bug introduced while changing the OK/Cancel to Yes/No.
2006-08-26 18:54:47 +02:00
Mike McCormack e5d9b2f189 shell32: Use kernel functions in preference to libwine ones. 2006-08-24 12:42:42 +02:00
Mike McCormack 9949a3a463 shell32: Fix compilation of test on MSVC6. 2006-08-24 12:42:35 +02:00
Mikołaj Zalewski 0721dd254d shell32: Pl.rc: Fix a backslash. 2006-08-23 11:59:34 +02:00
Mikołaj Zalewski 6cc378cc67 shell32: Show file size in the details view in kilobytes. 2006-08-22 12:00:22 +02:00
Mike McCormack 000eddbc8c shell32: Don't add the directory name twice when recursing into subdirectories. 2006-08-22 12:00:14 +02:00
Stefan Huehner 998e256c82 Fix some -Wstrict-prototype warnings () -> (void). 2006-08-21 12:06:26 +02:00
Mikołaj Zalewski 47b40c5879 shell32: Show the original file name and deletion date in the Trash folder. 2006-08-18 11:42:00 +02:00
Mikołaj Zalewski 589aeba979 shell32: Add desktop entries parsing code. 2006-08-18 11:41:44 +02:00
Mikołaj Zalewski 961881836e shell32: Use Yes/No instead of OK/Cancel in confirm dialogs. 2006-08-18 11:36:52 +02:00
Hwang YunSong(황윤성) a17d253c5d shell32: Updated Korean resource. 2006-08-11 11:56:42 +02:00
Alexander Nicolaysen Sørnes 5d72acf70b shell32: Updated Norwegian Bokmål resources. 2006-08-10 10:55:47 +02:00
Francois Gouget ebd9c84ea0 shell32: Register CLSID_NetworkPlaces, CLSID_ShellFSFolder and CLSID_ShellFolderViewOC. 2006-08-09 20:36:55 +02:00
Frank Richter 7216363e86 shell32: Tweak and update German translation. 2006-08-09 20:35:37 +02:00
Mike McCormack 4fa9f63761 shell32: IShellLink::SetPath removes quotes from the path. 2006-08-09 17:10:32 +02:00
Mike McCormack 1cc186ba81 shell32: Fix test compilation with MSVC6. 2006-08-09 17:10:27 +02:00
Mikołaj Zalewski 64c5142ae9 shell32: Add recyclebin.c file missing in previous commit. 2006-08-09 13:05:58 +02:00
Mikołaj Zalewski a0f696bbfc shell32: Update Polish translation. 2006-08-09 12:49:15 +02:00
Mikołaj Zalewski 4bb595e4c6 shell32: Add a custom icon for the trash folder. 2006-08-09 12:49:07 +02:00
Mikołaj Zalewski 76a20d38f3 shell32: Add trash items enumeration. 2006-08-09 12:47:57 +02:00
Mikołaj Zalewski 289e469e7c shell32: Add a Trash virtual folder. 2006-08-09 12:47:39 +02:00
Mike McCormack 5678ec4db6 shell32: Use case insensitive comparisons when comparing paths. 2006-08-08 19:34:40 +02:00
Hwang YunSong(황윤성) 8f6de4af74 shell32: Updated Korean resource. 2006-08-08 11:22:11 +02:00
Andrew Talbot 5d0e4ba0eb shell32: Write-strings warnings fix. 2006-08-08 11:14:36 +02:00
Francois Gouget ce9b4baad8 Assorted spelling fixes. 2006-08-07 13:52:55 +02:00
Stefan Leichter 999b48d8b5 shell32: Fix the file version string of the version resource. 2006-08-02 11:41:19 +02:00
Mikołaj Zalewski 718a9d6df5 shell32: Send directories and non-regular files to the trash. 2006-08-01 18:35:03 +02:00
Mikołaj Zalewski 28c010cecb shell32: Update the Polish translation. 2006-07-31 12:55:50 +02:00
Mikołaj Zalewski 034c1c4f18 shell32: Call the trashing code from SHFileOperationW. 2006-07-31 12:55:41 +02:00
Mikołaj Zalewski f2686c7ce9 shell32: Add trashing support functions. 2006-07-31 12:55:12 +02:00
Mikołaj Zalewski ca7de052b2 shell32: Add trashing confirmations. 2006-07-31 12:38:54 +02:00
Louis. Lenders e41cd2ff14 shell32: Define one more avi resource. 2006-07-24 12:57:32 +02:00
Andrew Talbot bbd8008b55 shell32/tests: Write-strings warnings fix. 2006-07-24 12:57:32 +02:00
Milko Krachounov 604f60183c shell32: Update Bulgarian translation. 2006-07-17 13:45:51 +02:00
András Kovács 38c8950e17 shell32: Stub for SHSetLocalizedName. 2006-07-14 13:32:39 +02:00
Alexandre Julliard 669780c24f shell32: Avoid using macros that cause gcc warnings. 2006-07-13 15:50:20 +02:00
Alexandre Julliard eb8a40c368 libs: Merged libwine_unicode into libwine.
Most dlls use libwine_unicode at this point, so there's nothing to
gain by having two separate libraries.
2006-07-11 19:33:22 +02:00
Juan Lang 961193bc5d shell32: Always NULL-terminate path in SHGetPathFromIDList. 2006-07-11 17:37:13 +02:00
Andrew Talbot 414c333652 shell32: Write-strings warning fix. 2006-07-11 12:37:40 +02:00
Alexandre Julliard 77dc0d9be5 .gitignore: Added wildcards to ignore generated resource files. 2006-07-10 21:39:00 +02:00
Alexandre Julliard 0fa8baafcb make_dlls: Recursively ignore .ok files in all tests directories. 2006-07-10 21:26:50 +02:00
Alexandre Julliard edd100b899 make_dlls: Recursively ignore testlist.c in all tests directories. 2006-07-10 21:19:42 +02:00
Alexandre Julliard 5258e061dc make_dlls: Ignore generated import libraries from the top-level .gitignore. 2006-07-10 20:55:58 +02:00
Alexandre Julliard cc2b3b48e6 Take advantage of the recursive nature of .gitignore for Makefile entries.
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Hwang YunSong(황윤성) 1ba6f15153 shell32: Updated Korean resource. 2006-07-10 11:49:51 +02:00
Mikołaj Zalewski ea0a102d55 shell32: Show a confirmation before deleting files with syscalls. 2006-07-07 17:28:10 +02:00
Mikołaj Zalewski 4485bf0b61 shell32: If possible use SHFileOperationW to delete in unixfs.
This gives confirmation dialogs, recursive directory removal etc.
2006-07-07 17:27:42 +02:00
Pierre d'Herbemont 0eb07db3b6 shell: Move SHIsFileAvailableOffline from shell.c to shlfileop.c to
ensure the 16/32 bits separation.
2006-07-07 16:57:28 +02:00
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