Commit Graph

231 Commits

Author SHA1 Message Date
Francois Gouget 712b3571be winemenubuilder: Use the same icon name on Mac OS X as on Unix. 2012-11-02 10:59:26 +01:00
Ken Thomases 2600705695 winemenubuilder: Use proper marker (negative index) for unused icon slot. 2012-10-22 11:34:02 +02:00
Aric Stewart baf2ac6fbe winemenubuilder: Scale 64x64 classic icons to 128x128 for Icns format. 2012-10-19 11:44:03 +02:00
Per Johansson 113b090f5e winemenubuilder: Correct InvokeShellLinkerForURL return value. 2012-09-20 19:53:10 +02:00
Per Johansson b8ee44581e winemenubuilder: Don't treat empty string as a valid icon file name. 2012-09-20 19:53:05 +02:00
Francois Gouget fac36c55e9 Assorted typo, spelling, wording and case fixes. 2012-05-15 16:26:43 +02:00
Nikolay Sivov 4db6d184b3 menubuilder: Use va_start/va_end around vsnprintf() on every call. 2012-02-16 11:46:34 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Ken Thomases 31141a3bea winemenubuilder: Use _P_DETACH instead of _P_NOWAIT with spawnvp() to avoid zombies. 2011-12-01 10:46:56 +01:00
Charles Davis db7383d969 winemenubuilder: Don't define crc16() on Mac OS. 2011-10-10 13:30:31 +02:00
Francois Gouget bd7b345b26 Assorted spelling fixes & co. 2011-09-27 11:00:13 +02:00
Damjan Jovanovic 01d5a0f53b winemenubuilder: Do case-insensitive glob comparisons. 2011-08-29 12:08:20 +02:00
Damjan Jovanovic 3c7b08be27 winemenubuilder: Use the command from the "open" verb. 2011-08-24 14:04:08 +02:00
Per Johansson 1a3b85a5bd winemenubuilder: Use start.exe to open URLs to respect URL handlers in registry. 2011-08-23 16:53:49 +02:00
Detlef Riekenberg 2497a91f6b winemenubuilder: Show filename on failure. 2011-06-27 17:32:15 -05:00
Damjan Jovanovic 87e9f32f6d winemenubuilder: Extract icons from NE binaries too. 2011-05-24 13:24:50 +02:00
Lauri Kenttä c2705081ac winemenubuilder: Avoid warning about uninitialized value (clang). 2011-05-18 10:52:26 +02:00
Damjan Jovanovic 299d84bf2c winemenubuilder: Do not skip entries when cleaning up file open associations. 2011-03-30 18:23:37 +02:00
Dan Kegel 94462664c5 winemenubuilder: File associations should set wineprefix. 2011-03-28 17:08:53 +02:00
Damjan Jovanovic 7c8f5feba0 winemenubuilder: FriendlyDocName isn't part of the association. 2011-02-25 16:33:40 +01:00
Jerome Leclanche 44527f57b2 winemenubuilder: Make sure extension-based mimetypes are always lowercase. 2011-02-21 12:46:31 +01:00
Damjan Jovanovic bf07eb926e winemenubuilder: Extract all icon sizes on freedesktop too. 2011-01-17 12:50:14 +01:00
Ken Thomases e72a37e960 winemenubuilder: On Mac, size is implicit in ICNS slot; don't search for best. 2011-01-12 11:32:19 +01:00
Ken Thomases eb40939092 winemenubuilder: On Mac, ignore non-square icon entries. 2011-01-12 11:32:19 +01:00
Ken Thomases 3a5e6c4357 winemenubuilder: On Mac, understand and keep 256x256 Vista-style icons. 2011-01-12 11:32:18 +01:00
Andrew Bogott a901983fe3 winemenubuilder: Avoid passing a null pointer (or a non-pointer) to extract_icon in InvokeShellLinkerForURL. 2011-01-11 16:05:46 +01:00
Ken Thomases 53ba89c967 winemenubuilder: On Mac OS X, keep multiple icon sizes.
ICNS files can store multiple sizes, like ICOs.
2011-01-06 11:43:18 +01:00
Francois Gouget 7b28ae53e1 winemenubuilder: Fix compilation on systems that don't support nameless unions. 2011-01-04 16:03:21 +01:00
Jerome Leclanche 33c7105ecf winemenubuilder: Add a trailing semicolon to MimeType in desktop files. 2010-12-14 11:38:51 +01:00
Andrew Bogott 4c386998b0 winemenubuilder: In InvokeShellLinkerForURL, better replicate the deferral behavior in InvokeShellLinker.
This gives us a second chance, if the icon file doesn't exist yet
during the first call.
2010-12-13 12:43:29 +01:00
Andrew Bogott 3b00ef9ebd winemenubuilder: Release property variants. Plugs a one-string memory leak. 2010-12-09 12:16:38 +01:00
Andrew Bogott 6197866dc0 winemenubuilder: Include icons in .url menus. 2010-12-07 11:38:45 +01:00
Damjan Jovanovic eaf4307cd7 winemenubuilder: Deduplicate some file open associations. 2010-11-18 12:37:04 +01:00
Damjan Jovanovic 7b7893d3aa winemenubuilder: Update TODO. 2010-11-18 12:37:04 +01:00
Damjan Jovanovic b5416b0292 winemenubuilder: Generate icons for the fd.o "Open with" menu. 2010-11-17 14:01:13 +01:00
Damjan Jovanovic 921fe42ed8 winemenubuilder: Start shared desktop shortcuts through their .lnk files. 2010-10-04 15:00:08 +02:00
Damjan Jovanovic aa7cc13154 winemenubuilder: Generate ICNS icons on MacOS. 2010-09-23 17:50:10 +02:00
Damjan Jovanovic e502fafd69 winemenubuilder: Isolate the platform-specific icon generation code. 2010-09-23 17:50:10 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Damjan Jovanovic 6b39897765 winemenubuilder: Parse ICO headers in a separate function. 2010-08-25 12:35:54 +02:00
Damjan Jovanovic 85d8c1da1e winemenubuilder: Write all frames, in the given format, to the native icon. 2010-08-25 12:35:51 +02:00
Damjan Jovanovic 5f87fa5370 winemenubuilder: Move utility functions to the top of the file. 2010-08-25 12:35:47 +02:00
Damjan Jovanovic d58f2680d1 winemenubuilder: Defer best icon selection to when we generate the native icons. 2010-08-23 12:03:18 +02:00
Damjan Jovanovic bc5a205097 winemenubuilder: Decouple opening a Windows icon from generating the native icon. 2010-08-23 12:02:41 +02:00
Alexandre Julliard e446a7c7bf winemenubuilder: Rename some variables to reflect the fact that we no longer use XPM format. 2010-08-02 20:28:58 +02:00
Damjan Jovanovic dcb2ebee78 winemenubuilder: Add an option for thumbnailing .lnk files. 2010-07-26 18:38:30 +02:00
Damjan Jovanovic 1a1ef6e091 winemenubuilder: Remove legacy PNG and XPM conversion code. 2010-07-23 13:05:32 +02:00
Damjan Jovanovic 74a2d8e351 winemenubuilder: Use windowscodecs for all ICO to PNG conversion. 2010-07-23 13:05:32 +02:00
Damjan Jovanovic 8404a3d64a winemenubuilder: Use windowscodecs for some ICO to PNG conversion. 2010-07-23 13:05:32 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Damjan Jovanovic 187dec992f winemenubuilder: Always initialize COM. 2010-07-21 09:33:31 +02:00
Alexandre Julliard db68b1e602 winemenubuilder: Use the new wine glass icon from user32 as default icon. 2010-06-28 16:58:40 +02:00
Alexandre Julliard 67bdd633b2 winemenubuilder: Load only low bit count icons if we are going to save to XPM format. 2010-06-28 16:58:40 +02:00
Francois Gouget 4a9b52549e winemenubuilder: Add a trailing '\n' to a FIXME() call. 2010-06-22 20:04:24 +02:00
Damjan Jovanovic 9954735e43 winemenubuilder: Also extract .lnk icons from file types's open handler. 2010-06-09 10:57:33 +02:00
Damjan Jovanovic f26b663172 winemenubuilder: Also extract .lnk icons from file types. 2010-06-08 16:35:22 +02:00
André Hentschel d6001be348 winemenubuilder: Simplify switch cases. 2010-06-01 11:03:44 +02:00
Damjan Jovanovic dfdb349cdc winemenubuilder: Use the full path to start.exe. 2010-05-25 12:54:38 +02:00
Damjan Jovanovic a83a9c1da1 winemenubuilder: Generate .png even for paletted icons. 2010-05-21 18:58:04 +02:00
Damjan Jovanovic 0666c0da00 winemenubuilder: associate .lnk files with wine. 2010-05-19 13:16:34 +02:00
Hans Leidekker 3c31a373d3 winemenubuilder: Expand environment strings in the shortcut path. 2010-05-14 18:03:02 +02:00
Hans Leidekker df260d14a6 winemenubuilder: Lower case the content type. 2010-05-14 18:03:02 +02:00
Damjan Jovanovic a432a7fbdb winemenubuilder: Fix a char/widechar typo in association .desktop paths. 2010-05-12 13:45:26 +02:00
Damjan Jovanovic 745747688d winemenubuilder: Escape freedesktop exec keys properly. 2010-05-11 11:40:07 +02:00
Damjan Jovanovic 55e4eba2ec winemenubuilder: Launch .lnk files directly from menus.
The arguments of a .lnk file are complex, with quoting and escaping
rules and %windir%-style variable expansion, so winemenubuilder cannot
always convert them accurately to a .desktop file. But start.exe and
shell32 on the other hand can parse the .lnk file and run it
themselves, so use them instead.
2010-05-07 12:48:12 +02:00
Damjan Jovanovic ac7a24ba35 winemenubuilder: Make desktop files executable. 2010-05-06 14:20:58 +02:00
Damjan Jovanovic e04422a2b3 winemenubuilder: Use only widechar functions when dealing with registered associations. 2010-05-05 10:41:17 +02:00
Damjan Jovanovic bc526034e0 winemenubuilder: Use a unicode WinMain. 2010-05-05 10:41:05 +02:00
Damjan Jovanovic 228e5f1ac3 winemenubuilder: Read the registry in the unix codepage when cleaning up menus. 2010-05-04 13:14:58 +02:00
Damjan Jovanovic 21f75386ec winemenubuilder: Store menu paths in Unicode. 2010-05-03 13:56:27 +02:00
Mikhail Maroukhine 93d9d8a3af programs: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:18:48 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Vincent Povirk 7f8279e127 winemenubuilder: Use a custom error function. 2010-02-08 17:14:43 +01:00
Damjan Jovanovic 03e9fbb515 winemenubuilder: Escape XML special characters in menus. 2009-11-16 11:35:38 +01:00
Damjan Jovanovic e1e07b40ba winemenubuilder: Escape XML special characters in MIME types. 2009-11-13 12:19:23 +01:00
Damjan Jovanovic df4b68b772 winemenubuilder: Ignore Windows MIME types without a slash. 2009-10-23 11:59:41 +02:00
Marcus Meissner b123102ae5 winemenubuilder: Check for NULL allocation (Coverity). 2009-08-11 12:37:05 +02:00
Alexandre Julliard f428813ce2 winemenubuilder: Reduce memory usage for string copies. 2009-07-24 10:41:25 +02:00
Peter Oberndorfer 08a8f935c4 winemenubuilder: Use heap_printf to allocate the right amount of memory and not cause heap corruption. 2009-07-08 20:13:09 +02:00
Damjan Jovanovic fe8d913358 winemenubuilder: Distinguish menu icons from association icons. 2009-07-01 14:42:44 +02:00
Alexandre Julliard afe626fb99 winemenubuilder: Use spawnvp() instead of system() to launch the xdg update scripts. 2009-06-30 14:27:35 +02:00
Damjan Jovanovic b3f967a022 winemenubuilder: Only generate associations for the "open" verb. 2009-06-29 12:27:04 +02:00
Damjan Jovanovic 420d642918 winemenubuilder: Allow multiple options. 2009-06-26 12:00:07 +02:00
Damjan Jovanovic d3bf447f1b winemenubuilder: Generate new menus in the right directory. 2009-06-25 11:46:07 +02:00
Damjan Jovanovic 267858b4c2 winemenubuilder: Log where freedesktop menu files are created, and provide an option to clean them up. 2009-06-18 15:17:28 +02:00
Damjan Jovanovic 4540d74f49 winemenubuilder: Generate icons for Wine's MIME types. 2009-06-08 15:27:20 +02:00
Joris Huizer 12c237056e winemenubuilder: reg_get_val[AW]: Fix memory leak. 2009-06-08 12:42:06 +02:00
Damjan Jovanovic 4af750a578 winemenubuilder: Track, update and clean up file open associations. 2009-06-05 15:19:56 +02:00
Damjan Jovanovic 7287023647 winemenubuilder: Associate file open applications with freedesktop. 2009-06-04 12:42:54 +02:00
Damjan Jovanovic 77e0ee9013 winemenubuilder: Ignore wine.desktop managed file types. 2009-06-03 11:25:52 +02:00
Alexandre Julliard 7d5e565b5a configure: Add checks for fnmatch support. 2009-06-01 16:16:02 +02:00
Damjan Jovanovic fbb43c42a7 winemenubuilder: Only add mime types that aren't already in freedesktop. 2009-05-29 15:48:01 +02:00
Joerg-Cyril.Hoehle@t-systems.com 85b6189c3f configure: Find libpng in /usr/X11 on MacOS. 2009-05-25 16:39:27 +02:00
Damjan Jovanovic c1fa150ceb winemenubuilder: Add MIME types to freedesktop. 2009-05-25 14:21:43 +02:00
Damjan Jovanovic 0b4499cdcd winemenubuilder: Build freedesktop MIME type list for later use. 2009-04-21 17:45:06 +02:00
Damjan Jovanovic 448ca846cf winemenubuilder: Make initial directories for fd.o MIME type handling. 2009-04-06 15:29:30 +02:00
Damjan Jovanovic 612d47d3b5 winemenubuilder: Use the user-dirs desktop directory instead of hardcoding ~/Desktop. 2009-03-31 12:41:26 +02:00
Francois Gouget dfd09c310c winemenubuilder: Print an error message if we are unable to load an lnk file. 2009-03-12 13:09:53 +01:00
Francois Gouget 9b6d3676a0 winemenubuilder: Fix an off-by-one check that resulted in erroneous error messages. 2009-03-12 13:09:53 +01:00
Damjan Jovanovic 3613b15785 winex11: Support the startup notification fd.o spec. 2009-01-07 14:17:46 +01:00