Commit Graph

187 Commits

Author SHA1 Message Date
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
Damjan Jovanovic 83b081f73c winemenubuilder: Improve icon generation. 2008-12-27 20:23:08 +01:00
Damjan Jovanovic 2fde3c0f7b winemenubuilder: Create xdg_config_dir if it does not exist. 2008-12-17 11:38:21 +01:00
Damjan Jovanovic 9ff230dcaa shdocvw, winemenubuilder: Generate fd.o entries for .url files. 2008-11-14 13:30:25 +01:00
Damjan Jovanovic 4e2cec5aba winemenubuilder: Moved all wineshelllink functionality to winemenubuilder and removed wineshelllink. 2008-11-12 11:49:12 +01:00
Damjan Jovanovic f5b8bad2aa winemenubuilder: Generate desktop files instead of wineshelllink. 2008-11-10 11:06:40 +01:00
Alexandre Julliard 394e97feea winemenubuilder: Move the xdg global variables out of the libpng ifdef block. 2008-11-03 20:19:30 +01:00
Damjan Jovanovic 26fcfb4b24 winemenubuilder: Generate icons in winemenubuilder instead of wineshelllink. 2008-11-03 15:05:18 +01:00
Alexandre Julliard b66685cdd8 programs: Build the programs that support it with -DWINE_NO_UNICODE_MACROS. 2008-09-03 14:21:41 +02:00
Alexandre Julliard b3ec2e5f95 makefiles: Recurse into all directories for install-lib and install-dev too. 2008-08-25 14:27:03 +02:00
Alexandre Julliard 520d1bc5e4 winemenubuilder: Copy the icon data before modifying it, resources are read-only. 2008-05-13 20:26:57 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
Alexandre Julliard de139bf028 winemenubuilder: Process messages while waiting for the semaphore or the parent process. 2008-04-21 20:34:30 +02:00
Vitaliy Margolen fbdf05aad1 winemenubuilder: Add support for 24 and 32 bit icons using png format. 2008-03-24 13:39:29 +01:00
Francois Gouget 5819b90f95 winemenubuilder: Expand environment variable references in the shortcut's WorkDir, Description and IconPath fields. 2008-01-23 20:45:22 +01:00
Francois Gouget 4dc91b7ba1 winemenubuilder: EnumResourceNamesW() returns false when we find the icon. So fix the corresponding misfiring trace. 2008-01-11 12:25:52 +01:00
Dan Kegel 59b69a7236 winemenubuilder: Expand short paths, else menu items aren't created for CSLU Toolkit. 2008-01-07 18:19:45 +01:00
Misha Koshelev a5a049da5a winemenubuilder: Do not WINE_ERR in InvokeShellLinker if we are going to try again. 2007-06-29 12:33:33 +02:00
Misha Koshelev 5e28f7ad92 winemenubuilder: Wait for parent process to finish instead of creating RunOnce entry that may never run. 2007-06-28 12:16:13 +02:00
Misha Koshelev e340cafe74 winemenubuilder: Create/release semaphore only around call to wineshelllink. 2007-06-28 12:16:13 +02:00
Francois Gouget aab5e5856e Don't put single quotes around '%s' when using the debugstr_*() functions. 2007-01-18 12:55:50 +01:00
Vitaliy Margolen 47a2e96acc winemenubuilder: Look for supported color depths icons only. 2006-11-30 16:34:34 +01:00
Vitaliy Margolen ada881cee6 winemenubuilder: Downgrade some ERR to WARN. 2006-11-27 17:20:40 +01:00
Vitaliy Margolen 6a6f1f48d6 winemenubuilder: Use 'start.exe' to launch non .exe files. 2006-11-22 12:07:25 +01:00
Michael Stefaniuc 8c2cdf7b6f winemenubuilder: Win64 printf format warning fixes. 2006-10-03 11:16:07 +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
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Alexandre Julliard 2886e9b0e8 makefiles: Use make dependencies to create installation directories.
This avoids a lot of redundant calls to mkinstalldirs.
2006-08-07 17:48:18 +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
Alexandre Julliard 028ab92bf7 make_progs: Generate the .gitignore file.
Ignore generated programs from the top-level .gitignore.
2006-07-10 20:59:06 +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
Alexandre Julliard 9ca8a86914 Link against libwine_unicode everywhere we use Unicode functions. 2006-05-24 18:05:40 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike Frysinger 5392844392 Add support for 'make install DESTDIR'. 2006-02-14 13:51:38 +01:00
Vitaliy Margolen b52874e56d winemenubuilder: Report a few more errors.
Use Heap[Alloc|Free] instead of malloc|free.
2006-01-17 13:34:31 +01:00
Francois Gouget 629889b267 winemenubuilder: Improve traces.
Report the EnumResourceNamesW() and failure to find an icon 
separately so traces are less misleading.
2006-01-11 12:09:53 +01:00
Francois Gouget 6f0ff14966 winemenubuilder: Improve traces.
Add some traces to make it easier to debug icon generation problems.
2006-01-03 12:09:47 +01:00
Bill Medland d5739ed88f winemenubuilder: Provide depth to the menus created. 2005-12-19 21:25:52 +01:00
Alexandre Julliard ec34a66612 Ignore symlink files too (needed for git). 2005-11-26 13:12:57 +01:00
Alexandre Julliard 0ec7e1a591 Renamed all .cvsignore files to .gitignore. 2005-11-26 13:10:33 +01:00
Francois Gouget d927c81bca Parse the command line returned by CommandLineFromMsiDescriptor() to
extract the application path. Otherwise winemenubuilder ignores the
.lnk file entirely.
2005-11-10 11:36:26 +00:00
Mike McCormack 66775b90e3 Extract the executable name for msi advertised shortcuts. 2005-11-08 10:55:25 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Mike McCormack c818a4e662 Fix "empty body in an if/else-statement" warnings. 2005-09-21 09:46:28 +00:00
Marcus Meissner bd7ec9aca5 The last argument to MultiByteToWideChar is wide character count and
not the buffer size in bytes. Fixed all places where it was wrong.
2005-09-12 22:07:53 +00:00