Guido van Rossum
5e2486b159
Issue #24452 : Make webbrowser support Chrome on Mac OS X (backport to 2.7)
2016-10-13 13:29:55 -07:00
Serhiy Storchaka
e0ed2d75c8
Issue #19936 : Added executable bits or shebang lines to Python scripts which
...
requires them. Disable executable bits and shebang lines in test and
benchmark files in order to prevent using a random system python, and in
source files of modules which don't provide command line interface.
2014-01-16 18:59:17 +02:00
doko@ubuntu.com
66da7c573b
- Issue #17536 : Add to webbrowser's browser list: xdg-open, gvfs-open,
...
www-browser, x-www-browser, chromium browsers, iceweasel, iceape.
2013-04-13 17:05:11 +02:00
Ezio Melotti
56b2665904
#12601 : fix typo.
2011-07-21 11:18:18 +03:00
Terry Reedy
0df73674e5
Issue 10738: Fix webbrowser.Opera.raise_opts value.
2010-12-28 19:53:32 +00:00
Ronald Oussoren
934f4e1f39
Fix for issue8446:
...
* Don't import 'ic' in webbrowser, that module is no longer used
* Remove 'MacOS' from the list of modules that should emit a Py3kWarning on import.
This is needed because one of the earlier tests triggers and import of this
extension, and that causes a failure in test_py3kwarn (running test_py3kwarn
separately worked fine)
With these changes 'make tests' no longer says that test_py3kwarn fails.
2010-06-22 09:18:28 +00:00
Ronald Oussoren
b0153cf7ac
Small update to r80698 to ensure that webbrowser.open
...
uses the default browser.
2010-05-02 09:55:57 +00:00
Ronald Oussoren
4ef1c7e7ef
For for issue #7192 : with this patch webbrowser.get("firefox")
...
works on OSX
2010-05-02 09:48:21 +00:00
Antoine Pitrou
b9d4963a98
Issue #7092 : Fix the DeprecationWarnings emitted by the standard library
...
when using the -3 flag. Patch by Florent Xicluna.
2010-01-04 23:22:44 +00:00
Georg Brandl
2e1308f520
Issue #2666 : Handle BROWSER environment variable properly for unknown browser names in the webbrowser module.
2009-09-04 06:59:20 +00:00
Benjamin Peterson
39186bcda0
use bools for autoraise
2009-07-23 14:19:08 +00:00
Georg Brandl
ee250301b7
Fix a few webbrowser.py problems.
2007-07-01 08:11:35 +00:00
Georg Brandl
972ca507aa
Fix #1684254 : split BROWSER contents with shlex to avoid displaying 'URL'.
2007-03-21 11:51:25 +00:00
Georg Brandl
8f06d02935
Bug #1681228 : the webbrowser module now correctly uses the default
...
GNOME or KDE browser, depending on whether there is a session of one
of those present. Also, it tries the Windows default browser before
trying Mozilla variants.
(backport)
2007-03-16 07:55:09 +00:00
Georg Brandl
8c6674511b
Bug #1565661 : in webbrowser, split() the command for the default
...
GNOME browser in case it is a command with args.
2006-09-30 07:31:57 +00:00
Georg Brandl
2c94bf7d41
Fix webbrowser.BackgroundBrowser on Windows.
2006-09-24 10:36:01 +00:00
Georg Brandl
f3321b5e76
webbrowser: Silence stderr output if no gconftool or gnome browser found
2006-08-08 11:52:34 +00:00
Georg Brandl
b2afe855e5
Make use of new str.startswith/endswith semantics.
...
Occurences in email and compiler were ignored due to backwards compat requirements.
2006-06-09 20:43:48 +00:00
Georg Brandl
7377ad2ecd
Add seamonkey to list of Windows browsers too.
2006-05-03 17:46:13 +00:00
Georg Brandl
314acacb52
Add SeaMonkey to the list of Mozilla browsers.
2006-04-28 16:31:17 +00:00
Tim Peters
887c080a80
Whitespace normalization.
2006-01-20 23:40:56 +00:00
Georg Brandl
23929f2828
Try to resolve the remaining webbrowser issues (backgrounding, local urls)
2006-01-20 21:03:35 +00:00
Tim Peters
536cf99536
Whitespace normalization.
2005-12-25 23:18:31 +00:00
Georg Brandl
4a5a91838b
Prefer GNOME browser over mozilla.
2005-11-22 19:18:01 +00:00
Georg Brandl
1cb179e93f
Bug #1338995 : fix problem with new webbrowser.py.
2005-11-09 21:42:48 +00:00
Georg Brandl
b980113a8d
Fix errors in _synthesize because of missing basename attribute of
...
browser controller classes.
2005-10-08 20:47:38 +00:00
Neal Norwitz
196f733d93
Fix pychecker warnings
2005-10-04 03:17:49 +00:00
Georg Brandl
e8f244305e
Patch #754022 : Greatly enhanced webbrowser.py.
2005-10-03 14:16:44 +00:00
Andrew M. Kuchling
9a2a1cb031
[Patch #981794 ] Add support for Firefox/Firebird
2004-07-10 22:07:02 +00:00
Raymond Hettinger
bac788a3cd
Replace str.find()!=1 with the more readable "in" operator.
2004-05-04 09:21:43 +00:00
Gustavo Niemeyer
1456fde6a0
Fixed bug
...
[#495695 ] webbrowser.py: selection of browser
* Lib/webbrowser.py
Only include graphic browsers in _tryorder if DISPLAY is set. Also,
included skipstone support, as suggested by Fred in the mentioned bug.
* Misc/NEWS
Mention fix and skipstone inclusion.
2002-11-25 17:25:04 +00:00
Neal Norwitz
520cdf733a
SF # 539360, webbrowser.py and konqueror, by Andy McKay
...
Fix Konqueror so it can start when calling open().
The assert needed to be on the raw URL, not openURL 'url...'
Will backport.
2002-10-11 22:04:22 +00:00
Neal Norwitz
8dd28eb973
SF # 585913, Adds Galeon support to webbrowser.py
2002-10-10 22:49:29 +00:00
Raymond Hettinger
10ff706e27
Replaced boolean tests with is None.
2002-06-02 03:04:52 +00:00
Raymond Hettinger
54f0222547
SF 563203. Replaced 'has_key()' with 'in'.
2002-06-01 14:18:47 +00:00
Tim Peters
bc0e910826
Convert a pile of obvious "yes/no" functions to return bool.
2002-04-04 22:55:58 +00:00
Jack Jansen
ff0a7b8ca2
If no webbrowsers were found _tryorder would be empty, cmd would never be set and the "del cmd" would fail. Fixed.
...
2.2.1 candidate.
2002-03-15 13:47:32 +00:00
Neal Norwitz
f963b45dfd
SF #515026 , delete global variable that was apparently used only
...
in a for loop.
2002-02-11 18:11:09 +00:00
Fred Drake
925f144274
Fix webbrowser.py security bug: be more careful about what we pass to
...
os.system().
This closes Python bug #500401 , Debian bug #127507 .
2002-01-07 15:29:01 +00:00
Guido van Rossum
4b402f2074
Address SF patch #485789 (Stefan Schwarzer).
...
$BROWSER should be split on os.pathsep, not on ":".
2001-12-04 17:43:22 +00:00
Guido van Rossum
cb33165ca2
_tryorder should always be a list, then the problem Jack had to fix in
...
1.24 wouldn't have occurred in the first place.
Remove a debug print command accidentally inserted by Martin in 1.23.
2001-12-03 15:51:31 +00:00
Jack Jansen
55c5abb52f
Missing comma in tuple initializer caused webbrowser.open() not to work at
...
all in MacPython. (why did noone ever notice this?)
2001-12-03 15:44:17 +00:00
Martin v. Löwis
3a89b2b131
Patch #484847 : Default to netscape.exe on OS/2.
2001-11-25 14:35:58 +00:00
Fred Drake
16623fe3e6
_os should be os; reported by Neal Norwitz.
2001-10-13 16:00:52 +00:00
Andrew M. Kuchling
118aa5337c
Fix malformed line (PyChecker)
2001-08-13 14:37:23 +00:00
Fred Drake
3f8f1643c8
Remove some false comments.
...
Reorganize so the initialization sequences does not bite us in the foot.
(There is no good reason to discard classes that clients may want to
subclass.)
2001-07-19 03:46:26 +00:00
Skip Montanaro
cdab3bf7eb
If the user's environment has set the BROWSER environment variable (as Gnome
...
seems to do), the user may not be aware of its contents. Attempt to add any
to _browsers.
closes bug #429136
2001-07-18 20:03:32 +00:00
Fred Drake
f4e5bd9df5
_synthesize(): Helper function: when the users passes a specific
...
value for the 'using' parameter of the get() function
or the BROWSER environment variable, if the thing
passed in is a path (as seems to be the case with KDE)
instead of a short name, examine the available
controllers to see if we can synthesize one based on a
pre-registered controller that shares the same base
name.
get(): If the user specifies a browser we don't know about, use
_synthesize() to attempt to create a usable controller.
Some small adjustments were needed in some of the browser classes to
support this.
2001-04-12 22:07:27 +00:00
Eric S. Raymond
f7eb4faf38
Fixes a fatal bug when the module has computed alternatives containing %s.
2001-03-31 01:50:52 +00:00
Fred Drake
fc31f2692f
Update auto-detection for Konqueror to include KDE 2 -- the kfm command is
...
gone; "konqueror" is the new name, and the command-line args are different.
kfmclient has not changed, though.
2001-03-26 15:06:15 +00:00