Commit Graph

187 Commits

Author SHA1 Message Date
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
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
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