Commit Graph

210 Commits

Author SHA1 Message Date
Alexandre Julliard 43e80d235e winemenubuilder: Avoid using wine_get_config_dir().
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-04-17 13:57:35 +02:00
Michael Stefaniuc 6d82b2f1ad winemenubuilder: Remove useless cast to self.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-03-09 02:10:28 +01:00
Nikolay Sivov 1056684aeb winemenubuilder: Fix encoder method argument.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-11-09 21:08:07 +01:00
Francois Gouget f18d35753a winemenubuilder: Avoid unneeded lstrlenA() calls.
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-10-23 16:34:53 +02:00
Dmitry Timoshkov 186ae9ed31 winecfg: Allow to disable MIME-type associations.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-16 18:38:51 +02:00
Michael Stefaniuc c33c75fc77 winemenubuilder: Use the ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-08-14 10:16:03 +02:00
Vincent Povirk 917e86dd7a winemenubuilder: Set StartupWMClass for shortcuts to exe files.
Signed-off-by: Vincent Povirk <vincent@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-09-08 18:54:57 +02:00
Jacek Caban fe6a1d8991 winemenubuilder: Use static initalizer for mimeProgidTree and nativeMimeTypes.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-31 22:22:46 +09:00
Marcus Meissner 2e32c0c657 winemenubuilder: Avoid double free (Coverity).
Signed-off-by: Marcus Meissner <marcus@jet.franken.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-08-22 23:05:21 +09:00
Nikolay Sivov f2538c6e26 winemenubuilder: Simplify MIME types list management.
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-12-22 10:42:34 +01:00
Michael Stefaniuc 915bdcbdca winemenubuilder: Simplify an if-condition (PVS-Studio).
Signed-off-by: Michael Stefaniuc <mstefani@redhat.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-14 12:51:01 +09:00
Qian Hong 2b6573ac3f winemenubuilder: Fix copy and paste error. 2015-06-17 15:45:05 +09:00
Ken Thomases 0815dc223e winemenubuilder: Fix compiling on OS X. 2015-03-18 23:54:54 +09:00
Francois Gouget 520dcb4c23 winemenubuilder: Handle icons disguised as executables and better validate icon streams.
For some applications the shortcut's icon points to a .exe file which in
fact contains a .ico file. This means open_icon() cannot rely on the
file extension.  Also reject icon streams that don't actually contain a
valid icon and use the next source as a fallback.
2015-03-17 14:17:16 +09:00
Francois Gouget d4b9ac46a0 winemenubuilder: Avoid a couple of forward declarations. 2015-03-17 14:15:45 +09:00
Drew Ronneberg cbc8f3c811 winemenubuilder: Eliminate an unused variable. 2014-12-18 11:30:12 +01:00
Drew Ronneberg e6a558ad82 winemenubuilder: Prevent recursion by calling open_module_icon() instead of open_icon() 2014-12-17 18:04:05 +01:00
André Hentschel b5eec81315 winemenubuilder: Respect TMPDIR environment variable. 2014-09-24 11:04:56 +02:00
Indrek Altpere c205e6800a winemenubuilder: Fix crash on invalid icon entries. 2014-09-05 15:31:34 +02:00
Indrek Altpere 7b8624649a winemenubuilder: Fix resource leak (Valgrind). 2014-08-27 11:02:15 +02:00
André Hentschel aa831198c2 winemenubuilder: Return FALSE on error when processing links and URLs. 2014-04-29 11:21:04 +02:00
André Hentschel aa7185a098 winemenubuilder: Use boolean return values in boolean functions. 2014-04-23 11:12:51 +02:00
Frédéric Delanoy e5a26f6fdf winemenubuilder: Use BOOL type where appropriate. 2014-03-03 17:02:28 +01:00
André Hentschel 87c7c961f2 Assorted spelling fixes. 2014-01-06 17:33:24 +01:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Austin English a0b8d304b7 winemenubuilder: Initialize a variable. 2013-05-30 19:33:09 +02:00
Alexandre Julliard 43ac582d7d libport: Rename spawnvp to _spawnvp to avoid the deprecated name. 2013-04-09 15:26:10 +02:00
Sergey Guralnik 79808429c1 winemenubuilder: Try to wait for creating icon files. 2013-01-30 20:10:51 +01:00
Francois Gouget ed04a730f9 winemenubuilder: Return the icon identifier instead of the full path on Mac OS X too. 2012-11-02 10:59:30 +01:00
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