Alexandre Julliard
63bff91a7f
winemenubuilder: Use the standard va_list instead of __ms_va_list.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-25 11:02:26 +02:00
Alex Henrie
5d8aac9cb0
winemenubuilder: Introduce a reg_enum_keyW helper function.
...
The helper function reduces code duplication and makes the 'done'
variable in the cleanup_associations function unnecessary.
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-13 21:57:11 +02:00
Alexandre Julliard
ca03420142
winemenubuilder: Remove dead code.
...
__APPLE__ is never defined in the PE build.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-12 17:36:18 +02:00
Alex Henrie
38eb26f047
winemenubuilder: Return pointer from freedesktop_mime_type_for_extension.
...
Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-11 21:33:38 +02:00
Alexandre Julliard
4adb160635
winemenubuilder: Use wide character string literals.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:52 +02:00
Alexandre Julliard
f1d4dd7cc8
winemenubuilder: Build with msvcrt.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:37:33 +02:00
Alexandre Julliard
2f89d63bb9
winemenubuilder: Use DOS path names to create associations.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
0428292fc7
winemenubuilder: Use DOS path names to create icon files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
1377be60ba
winemenubuilder: Use DOS path names to create desktop and menu files.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
d4a773a1d7
winemenubuilder: Use Unicode strings to write desktop entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
41881ff625
winemenubuilder: Use Unicode strings to process association entries.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 11:36:09 +02:00
Alexandre Julliard
542d67342d
winemenubuilder: Launch .lnk files directly through the Wine loader.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:20:15 +02:00
Alexandre Julliard
56701db474
winemenubuilder: Store the paths of .lnk files as DOS paths.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 10:19:32 +02:00
Alexandre Julliard
e14f3c40cd
winemenubuilder: Use PathMatchSpec() instead of fnmatch().
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:36:17 +02:00
Alexandre Julliard
982a712c4d
winemenubuilder: Abort on memory allocation failures.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-10-01 09:35:48 +02:00
Alexandre Julliard
6ba7773121
makefiles: Add a -mcygwin flag to specify the inverse of -mno-cygwin.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-20 22:45:48 +02:00
Jacek Caban
536de62cc6
winemenubuilder: Use nameless unions.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-23 09:32:40 +01:00
Jacek Caban
b39b9eea39
include: Don't default to WINE_NO_NAMELESS_EXTENSION for Wine build.
...
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-03-22 21:48:38 +01:00
Alexandre Julliard
981d69ada6
winemenubuilder: Silence out of bounds compiler warning.
...
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-26 23:25:38 +01:00
Rémi Bernon
3603478b1b
winemenubuilder: Only extract icons when association changed.
...
Signed-off-by: Rémi Bernon <rbernon@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-13 13:14:53 +01:00
André Hentschel
d0a24609fe
winemenubuilder: Change blacklist to a more neutral word.
...
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-06-17 20:13:47 +02:00
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