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
Maxime Bellengé
0876700949
Make the icon choice algorithm really choose the best icon.
2005-08-22 09:17:25 +00:00
Alexandre Julliard
690115aab9
Moved the configuration key to HKCU\Software\Wine\WineMenuBuilder.
2005-07-06 15:47:48 +00:00
Sven Paschukat
b3415b0311
Repaired extraction of icons when config file is missing.
2005-06-30 10:17:57 +00:00
Alexandre Julliard
2e4bca9db5
Added magic comments to all Wine-specific registry accesses to make
...
them easier to grep.
2005-06-13 18:56:00 +00:00
Mike McCormack
ae51135ed9
Fixes for -Wmissing-declarations and -Wwrite-strings warnings.
2005-06-02 15:11:32 +00:00
Francois Gouget
0ae9be862e
winemenubuilder.c is the only Wine source file checking for
...
HAVE_STRING_H. Remove that check for consistency.
2005-05-07 14:50:40 +00:00
Francois Gouget
86d5520c5b
If winemenubuilder is given a list of menus to recreate, it should not
...
give up on the first menu that fails.
2005-04-15 16:10:53 +00:00
Mike McCormack
3563511ad2
When running a second time, don't fail if we can't extract an icon.
2005-02-22 19:31:19 +00:00
Mike McCormack
553dd72315
Small indentation fixes.
2005-02-18 12:52:33 +00:00
Dmitry Timoshkov
9074f257e0
Convert winemenubuilder to unicode.
2005-02-17 11:51:44 +00:00
Mike McCormack
dc524986f2
Small fixes, indentation and comments.
2005-02-16 16:04:05 +00:00
Michael Stefaniuc
5ad7d858e0
Do not check for non NULL pointer before HeapFree'ing it. It's
...
redundant.
2004-12-23 17:06:43 +00:00
Eric Pouech
0a258964c2
Const correctness fixes.
2004-11-30 21:38:57 +00:00
Francois Gouget
486d020c1b
Don't define COBJMACROS in objbase.h.
...
Update the Wine sources accordingly.
2004-10-07 03:06:48 +00:00
Hans Leidekker
719a789792
Fix signed/unsigned comparison warnings.
2004-09-22 02:46:38 +00:00
Francois Gouget
e745b3804d
Add support for the CSIDL_COMMON_* locations.
2004-09-21 20:08:10 +00:00
Marcus Meissner
904b1fbb89
If we do not have an IconsDir, use the temp directory.
2004-09-14 00:43:19 +00:00
Francois Gouget
8fa7ee2632
Fix a memory leak.
...
Improve the GetFullPathName() error checks.
Stricter match check in GetLinkLocation().
Clarify the 'Unknown link location' message.
2004-08-30 19:28:59 +00:00
Vincent Béron
8f7003bb7f
Don't hardcode C:\windows\system\start.exe.
2004-08-18 23:40:15 +00:00
Chris Morgan
435623df6f
Hardcode "wineshelllink" in winemenubuilder, remove it from the config
...
file.
2004-06-18 22:29:56 +00:00
Eric Pouech
df93f2eeee
GetModuleFileName[AW] doesn't terminate the string if the buffer is
...
too small.
2004-05-19 03:22:55 +00:00
Francois Gouget
6a6c85c6d8
Make Unicode const strings static so they are not copied to the stack
...
each time we enter the function.
2004-04-19 20:12:14 +00:00
Alexandre Julliard
1cb0cf4ced
Moved wine_get_unix_file_name implementation to ntdll, and changed it
...
to return an allocated buffer instead of a fixed size one.
2004-04-14 19:40:53 +00:00
Alexandre Julliard
6be39b60f5
Take advantage of the new winegcc -B support.
2004-03-09 04:54:07 +00:00
Alexandre Julliard
589e115233
We no longer use the .exe.spec.c files.
2004-03-02 21:16:37 +00:00
Alexandre Julliard
6621b2d213
Build all the programs with winegcc.
2004-03-02 21:00:00 +00:00
Alexandre Julliard
20b4585e3c
Only link against libdxguid where necessary.
2004-01-27 00:11:16 +00:00
Francois Gouget
826ff13385
Improve error reporting.
2004-01-06 20:39:17 +00:00
Eric Pouech
5bf3a2669b
Made wine_get_unix_file_name take a Unicode string pointer.
2004-01-05 23:42:09 +00:00
Dimitrie O. Paun
573b389053
Move include/bitmaps/*.xpm where they belong.
2003-12-08 21:44:24 +00:00
Daniel Marmier
f95be92d24
Fixed warnings with gcc option "-Wwrite-strings".
2003-10-15 03:35:54 +00:00
Alexandre Julliard
cf52644a1c
Removed the A/W constants for builtin cursors, icons and resource
...
types since they don't exist on Windows, and added typecasts
everywhere instead.
2003-09-10 03:56:47 +00:00
Francois Gouget
ae50013017
Fix the case of product and company names.
2003-09-08 19:38:45 +00:00
Richard Cohen
c17ad75ae6
Remove no longer necessary includes <signal.h>, <wait.h>.
2003-08-13 19:37:32 +00:00
Francois Gouget
5054045f6b
Remove some unnecessary casts when assigning NULL to handles.
2003-07-02 04:30:55 +00:00
Francois Gouget
9591836ffb
'sizeof type' is best avoided as it won't always compile (e.g. 'int
...
main() {return sizeof int;}'). Use 'sizeof(type)' instead.
2003-06-18 19:45:22 +00:00
Mike McCormack
88090b47a6
Remove code that starts wineshelllink, instead create a windows
...
compatible shortcut (*.lnk) file. After creating that file, start a
link processor (winemenubuilder) on it, which reads it back then calls
wineshelllink.
Rework CreateStreamFromFile to create an IStream object that is
writeable.
2003-05-21 18:50:53 +00:00