Commit Graph

61 Commits

Author SHA1 Message Date
Alexandre Julliard 2e56906008 winebrowser: Try xdg-open before /usr/bin/open.
/usr/bin/open may be something different on Linux.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52206
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-12-14 21:28:58 +01:00
Alexandre Julliard 72449b76e8 winebrowser: Build with msvcrt.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2021-09-27 17:40:14 +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
Alexandre Julliard 2e115ab442 Revert "winecrt0: Make the main() and wmain() entry points cdecl."
This reverts commit f2a7405a09.
We now have separate entry points for msvcrt builds.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-12-04 11:01:41 +01:00
Brendan Shanks a688cb6971 winebrowser: Prefix an invalid URL with 'http://' before opening with a browser.
Fixes usage like 'winebrowser winehq.org' when xdg-open or macOS 'open' is used.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=50094
Signed-off-by: Brendan Shanks <bshanks@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2020-11-25 10:18:29 +01:00
Alexandre Julliard f2a7405a09 winecrt0: Make the main() and wmain() entry points cdecl.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2019-05-30 15:04:06 +02:00
Michael Stefaniuc d4f1d510aa winebrowser: 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
Huw Davies f4e75d780b winebrowser: Fix calling convention for wine_get_unix_file_name().
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-01-18 18:45:27 +01:00
André Hentschel 1c1c99ff23 winebrowser: Fix allocation count (Coverity).
Signed-off-by: André Hentschel <nerv@dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-16 22:02:27 +01:00
Alexandre Julliard e27e733f69 winebrowser: Support browser and mailer commands with arguments.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 14:53:00 +09:00
Alexandre Julliard 01cc315b91 winebrowser: Support MULTI_SZ strings for browsers and mailers configuration.
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-28 14:42:36 +09:00
Vincent Povirk 5af3b8c97e winebrowser: Don't use IUriBuilder with unix file: uri's. 2014-07-02 20:00:38 +02:00
Vincent Povirk c5f000632f winebrowser: Add traces for file uri conversion steps. 2014-07-02 20:00:28 +02:00
Vincent Povirk ee17213f37 winebrowser: Manually percent-encode file: paths for unix filenames. 2014-07-02 20:00:23 +02:00
Alexandre Julliard 86b1f94d28 makefiles: Get rid of the MAKE_PROG_RULES variable. 2014-01-02 12:12:57 +01:00
Alexandre Julliard 43ac582d7d libport: Rename spawnvp to _spawnvp to avoid the deprecated name. 2013-04-09 15:26:10 +02:00
Alexandre Julliard c9eee73450 makefiles: Define __WINESRC__ when building programs. 2012-01-23 16:07:37 +01:00
Alexandre Julliard da35622b83 makefiles: Disable use of Unicode macros globally for all the programs. 2012-01-20 13:14:16 +01:00
Jacek Caban dd7c38d044 winebrowser: Use IUri API for URL-related logic. 2011-12-08 19:35:58 +01:00
Frédéric Delanoy 1b6eed8a99 programs: Assorted spelling fixes. 2011-07-27 17:48:10 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Alexandre Julliard 6fb39dfe4a programs: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:37 +02:00
Alexandre Julliard 6f2aa56ce6 Revert "winebrowser: Convert URL obtained through DdeGetData to Unicode."
This reverts commit 3dcf22e03f. The
conversion is now properly handled in DDEML.
2010-06-24 23:58:37 +02:00
Alexandre Julliard bef5645eb1 makefiles: Remove the no longer needed explicit separators for dependencies. 2010-03-16 13:28:19 +01:00
Hans Leidekker dff300c04b winebrowser: Support file URLs with a query or an anchor. 2009-07-02 11:30:46 +02:00
Anders Jonsson ec479ebdb6 winebrowser: Fix typo. 2009-01-12 13:05:00 +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
Hans Leidekker 3dcf22e03f winebrowser: Convert URL obtained through DdeGetData to Unicode. 2008-06-09 12:39:17 +02:00
Jeremy White d392e0e097 winebrowser: Route default url handlers to /usr/bin/open on Mac OS X. 2008-05-21 20:15:30 +02:00
Hans Leidekker e547cf7043 winebrowser: Convert to Unicode. 2008-04-07 12:05:22 +02:00
Misha Koshelev 70edf2d223 winebrowser: Add support for XTYP_REQUEST in DDE callback. 2007-08-14 12:25:21 +02:00
Misha Koshelev 07ad5c4c8a winebrowser: Add DDE support. 2007-06-07 20:23:08 +02:00
Alexandre Julliard 103249ecab winebrowser: Don't output debug traces by default. 2007-05-01 14:00:43 +02:00
Ken Thomases 8dc41cf5f7 winebrowser: Don't put the default mailers or browsers into the registry. 2007-04-30 12:25:46 +02:00
Kevin Krammer 9635e9415a winebrowser: Support for Portland Initiative scripts. 2006-10-27 12:27:43 +02:00
Andrew Talbot 50e649087a winebrowser: Cast-qual warnings fix. 2006-10-07 18:05:01 +02:00
Alexandre Julliard 32ab895e46 makefiles: Generate the dependencies line to avoid some code duplication. 2006-09-14 09:38:16 +02:00
Stefan Siebert f439f21641 winebrowser: Pass any given argument that is not a mailto URL to the browser. 2006-07-28 12:32:36 +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
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Dmitry Timoshkov 182a66c0db winebrowser: Use CP_UNIXCP when translating URL passed on command line
to unicode.
2006-03-04 16:13:04 +01:00
Hans Leidekker 68d41b41b7 winebrowser: Handle file URLs. 2006-02-18 15:50:06 +01:00
Mike McCormack 002e143981 programs: Use WIN32_LEAN_AND_MEAN. 2006-01-18 14:23:11 +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
Hans Leidekker 46e018ad37 Also handle mailto: urls. 2005-11-24 19:27:41 +01:00
Hans Leidekker 46c5b5bc2f No need to link against shell32 or user32. 2005-11-22 14:53:36 +00:00
Alexandre Julliard 7e22be4d84 We are no longer generating .dbg.c files. 2005-09-29 10:35:58 +00:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +00:00