Commit Graph

43 Commits

Author SHA1 Message Date
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 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
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 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
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
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
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
Hans Leidekker 46e018ad37 Also handle mailto: urls. 2005-11-24 19:27:41 +01:00
Mike McCormack 257c337c19 gcc 4.0 -Wpointer-sign fixes (Reg* functions). 2005-07-07 12:08:42 +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 5f409c7d5b Fix more warnings. 2005-06-10 19:32:24 +00:00
Huw Davies 95c90f771b Fix usage printf. 2005-03-21 12:32:24 +00:00
Hans Leidekker 77da3d2d39 Prevent crash when no URL is specified. 2005-03-21 11:22:55 +00:00
Rein Klazes 5d30310035 If the argument is a local file, pass its Unix name to the browser. 2005-01-10 16:08:08 +00:00
Alexandre Julliard adc7a91152 We should no longer need to unset TMP and TEMP. 2004-03-11 03:52:07 +00:00
Tom Wickline e961edd306 Add dillo as a browser to search for. 2004-01-13 22:48:29 +00:00
Chris Morgan d888d36e1d Added winebrowser app that launches a Unix browser. 2004-01-06 20:49:58 +00:00