Commit Graph

19 Commits

Author SHA1 Message Date
Luis Quesada 0e1b392058 Modified browser launchers in Linux Sys.openURL method.
Added `sensible-browser' as the first browser launcher option, even before `xdg-open'.
`sensible-browser' tries to open an URL using the preferred web browser, while `xdg-open' just to open a resource (not just an URL) with the preferred application.
Since the method is called openURL and a URL (Uniform Resource Locator) is a web address, `sensible-browser' fits the functionality better.
A notable difference would be calling Sys.openURL('localhost').
Since `localhost' has no leading `http://', `xdg-open' would try to open a `localhost' file and fail, while `sensible-browser' would launch the appropriate browser.

While `sensible-browser' is particular of Debian-based systems and is not as common as xdg-open, this does not negatively affect systems that do not have `sensible-browser':
Were it not present in the system, the rest of the browser launchers would be tried, starting by `xdg-open'.

Added `iceweasel' after `firefox'. `iceweasel' is the Debian fork of Firefox.

Added `google-chrome' and `chromium'. `chromium' is provided in Debian instead of `google-chrome'.
Since the stats in http://www.w3schools.com/browsers/browsers_stats.asp show that Google Chrome is used by more users than Firefox, I put both Google Chrome and Chromium before Firefox in the list.
This change will not affect most of the users, as they will have a preferred browser set up with either `sensible-browser' or `xdg-open'.
2013-05-26 18:20:33 +02:00
kappa1 059983c6c6 Fix issue with Linux and Java 7 where libjawt.so was failing to load. 2011-08-06 13:18:49 +00:00
Ioannis Tsakpinis a8bcb7fd25 Ported codebase to Java 1.5.
Misc OpenCL fixes and API improvements.
Changed fractal demo to use events/sync objects instead of cl/glFinish for synchronization. (untested)
2010-09-28 21:11:35 +00:00
Brian Matzon 0738e6985c bumping native version 2010-07-27 19:18:58 +00:00
Brian Matzon bd6ac573d5 bumping native version 2010-03-28 23:11:17 +00:00
Elias Naur 2aadd34297 Bumped all jni versions 2008-09-07 08:21:28 +00:00
Elias Naur 8b0b1b8b63 Added platform specific getJNIVersion implementations 2008-04-30 14:58:47 +00:00
Elias Naur 100dfa86a6 Moved Sys.JNI_VERSION to SysImplementation.getRequiredJNIVersion() to enable platform specific native library versions. 2008-04-30 14:34:54 +00:00
Brian Matzon bb16ec7492 updated and added license where needed 2008-04-07 18:36:09 +00:00
Brian Matzon 21b2cc0c21 cleaning imports 2007-10-20 21:31:52 +00:00
Elias Naur 45517e96c2 Merge Windows and Linux privileged Runtime.exec usage into a method in LWJGLUtil. Linux: Added the recent freedesktop.org standard xdg-open script to the list of possible URL handlers. 2007-06-29 22:11:31 +00:00
Elias Naur e2bbb739aa Linux: added support for 64 bit JVMs 2006-07-11 20:30:19 +00:00
Brian Matzon 8a3bee6b1c applied patch to move ID tag 2006-03-23 19:32:21 +00:00
Caspian Rychlik-Prince 64f58414b4 *** empty log message *** 2006-01-16 21:04:49 +00:00
Elias Naur f1705b7fde Added AccessController.doPrivileged where needed 2005-05-30 16:21:05 +00:00
Elias Naur f84e2ceb26 Linux: Make sure libjawt.so can be loaded 2005-02-23 11:22:14 +00:00
Elias Naur 9849345f55 Linux: Added firefox to list of browsers 2005-02-03 13:51:45 +00:00
Caspian Rychlik-Prince a8fcd3edde Fixed AWT dependency. 2005-01-20 22:51:28 +00:00
Elias Naur 66181d1486 Delegate Sys platform dependent methods into SysImplementation instances 2005-01-18 20:23:05 +00:00
Renamed from src/native/macosx/org_lwjgl_Sys.c (Browse further)