Commit Graph

213 Commits

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