Commit Graph

137 Commits

Author SHA1 Message Date
Michael Pfaff 229a1da41b
Added build script and update minimum versions to Java 1.8 2022-01-05 13:50:35 -05:00
Ioannis Tsakpinis 8cdaf59905 Replace .jnilib with .dylib on OS X with JDK 6. Resolve #100 2014-11-28 13:26:26 +02:00
Ioannis Tsakpinis 76867b161f Merge pull request #54 from qbit/master
enable build on OpenBSD
2014-09-29 20:33:14 +03:00
Philip Whitehouse fd726e545f Fix some straightforward Javadoc problems 2014-05-20 00:05:53 +01:00
Brian Matzon e7f46b99e2 changed default behavior to not use SecureClassLoader, as it was causing issues since the latest security update 2013-12-02 20:50:04 +01:00
Aaron Bieber 27d444ed74 enable build on OpenBSD 2013-10-22 08:00:50 -06:00
kappa1 43426ac8d8 AppletLoader: Fix NumberFormatException when parsing version string on an EA or beta JVM, thx to UltraMoogleMan for spotting and reporting 2012-09-05 22:37:11 +00:00
kappa1 afaf86df66 AppletLoader: fixed issue with applets on linux with Java 7 where the natives where LWJGL natives were failing to load. 2012-05-13 13:50:52 +00:00
kappa1 22e0831d8a AppletLoader: fix to ensure a jar file download is attempted 3 times even if it throws some download exception. 2012-05-08 19:38:17 +00:00
kappa1 89a3558e3b AppletLoader: add further checks to prevent Java default caching 2012-04-26 13:19:18 +00:00
kappa1 15d4e8af94 AppletLoader: set all streams that are open to use try/finally blocks to close the streams 2012-04-22 23:05:10 +00:00
kappa1 f575c37815 AppletLoader: add try/finally block to ensure file is closed on exception in the downloadJars(), thx to MatthiasM for pointing it out. 2012-04-22 22:51:47 +00:00
kappa1 f965ff8f83 AppletLoader: add extra urlconnections.setUseCaches(false) as an extra precaution to make sure caching is disabled. 2012-04-22 22:21:41 +00:00
kappa1 6e6f5a4ff0 prod nightly server to rebuild LWJGL. 2012-01-17 21:05:13 +00:00
kappa1 54664ef8cb AppletLoader: fix uncaught null pointer exception 2011-11-17 21:41:24 +00:00
kappa1 1762fa36b8 AppletLoader: minor tweak to show better update message when checking cache files for changes 2011-11-12 21:31:00 +00:00
kappa1 faefad816c AppletLoader: minor change to provided more information for some error messages. 2011-10-20 10:36:42 +00:00
kappa1 67c3452bb4 AppletLoader: create MediaTracker before requesting image in an attempt to fix a logo loading issue. 2011-10-12 22:31:12 +00:00
kappa1 8bc92abf82 AppletLoader: provide a more meaningful error message when certificates do not match. 2011-10-12 22:15:32 +00:00
kappa1 f6b567c5ad AppletLoader: don't output needless lzma.jar is missing message on console unless a lzma file actually being loaded. 2011-10-12 22:07:36 +00:00
kappa1 a1563394c6 AppletLoader: add missing JavaDoc for al_lookup_threads, clean up natives if validation on them fails. 2011-10-08 20:33:43 +00:00
kappa1 08eb7c60d9 AppletLoader: apply arielsan's concurrent HTTP requests patch 2011-10-08 18:33:44 +00:00
kappa1 dae790d54f AppletLoader: apply fix/workaround for the double security dialogs issue on OS X 2011-10-06 23:05:06 +00:00
kappa1 0e6da07d54 Minor tweak to appletloader as an attempt to get nightly build server to build natives again. 2011-09-07 18:28:19 +00:00
kappa1 b49eb9db3f update credits 2011-09-03 14:47:11 +00:00
kappa1 085f221fad AppletLoader: somehow removed patch 3559 with last appletloader patch, readded removed code. 2011-08-29 00:54:54 +00:00
kappa1 31305a9410 AppletLoader: implement al_min_jre parameter, various small refactoring, update comments and javadoc. 2011-08-29 00:40:28 +00:00
kappa1 873fed0613 AppletLoader: al_version tag now uses a case insensitive String (instead of float), much nicer for specifying application versions (e.g. "10.3.3.1 Beta"), still backwards compatible too :) 2011-08-14 17:07:23 +00:00
kappa1 2cbae6efc8 minor update to comments and add missing JavaDoc 2011-07-10 00:31:16 +00:00
kappa1 6e15f0b781 AppletLoader: revert native file certificate validation to after extraction as it was failing if done before. 2011-06-26 02:18:53 +00:00
kappa1 e2fe8155f8 Add "Unix" as a linux platform to allow LWJGL to work on Slackware Linux, thx to kruno73 for pointing this out. 2011-06-23 11:26:42 +00:00
kappa1 96648a6fad AppletLoader: validate certificate for native files before attempting to extract them. 2011-06-15 21:15:58 +00:00
kappa1 1929c3be5d AppletLoader: fix problem with file extension trimming code, added warning when lzma support is missing 'lzma.jar' and lzma files are being loaded. 2011-06-12 23:51:44 +00:00
kappa1 5e318ef834 AppletLoader: fix some comments, code clean up and refactoring 2011-06-12 21:22:50 +00:00
kappa1 8f6dcd3a6d AppletLoader: small fix to also include "ppc64" on macs. 2011-05-13 19:16:34 +00:00
kappa1 4e872f8c2c AppletLoader: add support for optional mac arch specific natives, al_mac32, al_mac64, al_macppc, if they are not specified AppletLoader will fall back to the usual al_mac parameter. 2011-05-13 16:24:10 +00:00
kappa1 d8ef76f3fe AppletLoader: remove the last dependency on the sun.* package. 2011-05-07 16:29:13 +00:00
kappa1 ed6bdc0f7f AppletLoader: fix String replace bug on file names, full credits to Riven for spotting it and assisting with the fix. 2011-05-04 23:11:11 +00:00
kappa1 4015ae10a7 AppletLoader: remove unneeded debug code 2011-05-01 00:09:43 +00:00
kappa1 555ac07fd4 2011-05-01 00:03:26 +00:00
kappa1 d635a22014 AppletLoader: minor tweak on comments 2011-04-30 23:56:24 +00:00
kappa1 f11b5ac0b1 AppletLoader: added jar validation to detect corruption and ensures that the cache system doesn't mark corrupt files as successfully downloads. Thx to Riven and MatthiasM for assisting with the implementation. 2011-04-30 23:54:24 +00:00
kappa1 d100475d95 AppletLoader: close fileoutputstream properly when extracting pack files. Minor clean up of extract lzma and gzip methods. 2011-04-26 11:04:12 +00:00
kappa1 8b1e7293ca AppletLoader: minor javadoc credits update. 2011-03-26 15:58:21 +00:00
kappa1 46c69be952 AppletLoader: fix bug with al_version (should work correctly now). Thx to pjohnsen for spotting it. 2011-03-26 15:54:52 +00:00
kappa1 7023a35bac AppletLoader: fix JVM bug where '!' is not escaped on the URL, thanks to NateS for spotting it and special thanks to MatthiasM for the fix. 2011-03-13 14:54:36 +00:00
kappa1 b3fdb66a3f AppletLoader: implemented headless mode. Use the "al_headless" parameter to enable it. Use liveconnect to access the getStatus() and getMessages() methods to obtain the progress of the AppletLoader. 2011-03-12 21:16:22 +00:00
kappa1 6de9cc9871 AppletLoader: clean up and simplify code relating to reading and writing cache/version files. 2011-03-10 21:49:01 +00:00
kappa1 258d447736 AppletLoader: Add better checks/protection to reading cache/version files in case of corruption. Close resources properly when writing cache/version files. Add preliminary list of contributors. Thx to Arielsan for finding issue and providing patch. 2011-03-07 22:22:08 +00:00
kappa1 31dad59c9f AppletLoader: "al_logo" and "al_progress" are now optional parameters, they default to "appletlogo.gif" and "appletprogress.gif". Credit to arielsan for patch. 2011-03-06 01:34:06 +00:00
kappa1 f80155efce AppletLoader: add missing javadoc for the "lwjgl_arguments" parameter. 2011-02-17 19:43:33 +00:00
kappa1 f4f6401efd AppletLoader Fix: set correct context classloader for the applet loaded by the AppletLoader. Credit to arielsan for finding the issue and supplying a fix/patch. 2011-02-17 19:09:59 +00:00
kappa1 26f22532eb AppletLoader - another attempt to fix the logo. Thx again to arielsan for spotting issues. 2011-02-03 22:12:41 +00:00
kappa1 48650a6e02 AppletLoader - added small bit of missing code (doh), thx to arielsan for spotting it 2011-02-03 09:35:00 +00:00
kappa1 9e26e3ef59 AppletLoader - tweak image loading to fix cases where it doesn't work 2011-02-02 22:29:18 +00:00
kappa1 f8fbb34f22 AppletLoader - added support for gzip files 2011-01-28 23:06:06 +00:00
Brian Matzon c97cede9a1 propagate darwin check to applet loader too 2011-01-25 06:43:28 +00:00
kappa1 b64c908ae6 AppletLoader - fix progress bar when extracting from multiple native jars 2011-01-25 01:29:22 +00:00
kappa1 9e50e475f6 AppletLoader: add support for using multiple native jars 2011-01-24 22:35:11 +00:00
kappa1 de3d22e230 AppletLoader - Fix for a crash on some platforms before the permissions dialog appears, this is because the relevant part of the code needed to be run on the EDT. 2011-01-22 18:08:21 +00:00
kappa1 2e25b096b7 AppletLoader: make debug mode a little more useful to debug issues with, it'll output the AppletLoader state to the java console. 2011-01-22 13:26:07 +00:00
kappa1 4fe9b04bd4 AppletLoader - Fix a threading issue where the cleanUp() method could fail to be called. 2011-01-13 10:54:04 +00:00
kappa1 62f8a9608a add missing final 2011-01-12 20:29:06 +00:00
kappa1 5592301984 AppletLoader fix, allow non lwjgl natives to be found in the cache directory. Again thx to NateS for finding and providing a fix. 2011-01-12 20:18:38 +00:00
kappa1 0d075075bd Fixed null pointer exception in AppletLoader caused by cleaning up resources in the middle of a paint call. Thx to NateS for point this out and suggesting the fix. 2011-01-12 20:01:12 +00:00
Brian Matzon d16efbcea9 fixed issue with empty java_arguments by switching to lwjgl_arguments param name instead 2011-01-11 20:54:26 +00:00
Brian Matzon 99cb0f9451 add support for passing in lwjgl specific properties via java_arguments applet parameter 2011-01-10 21:50:21 +00:00
kappa1 ea5f8518ee fix minor typo in javadoc/comments 2010-12-15 18:48:56 +00:00
kappa1 8d37d1bdee AppletLoader: use the tmp directory on Windows to store cache. 2010-10-08 20:57:23 +00:00
kappa1 8c79dfb363 AppletLoader: move cache directory to a better location, as the current location is periodically purged on mac and linux. 2010-10-07 20:33:01 +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
kappa1 94fa701973 AppletLoader: slight tweak to the behaviour of al_version 2010-08-28 13:47:18 +00:00
kappa1 bca5e48ea7 AppletLoader: set java.library.path to the folder containing natives, this should make it easier when using extra custom native files. 2010-08-28 12:04:55 +00:00
kappa1 020a55d74f AppletLoader: slight tweak to use classloader the way Oracle recommend. 2010-08-23 18:12:06 +00:00
kappa1 4d59d460d0 AppletLoader: fix mixed mode message when using custom logo images. 2010-08-23 18:02:17 +00:00
kappa1 19b501fc46 AppletLoader: slight tweak to make code more readable 2010-07-25 14:22:09 +00:00
kappa1 6f398ac850 AppletLoader: removed dead code. 2010-07-25 13:35:00 +00:00
kappa1 c05cc0b695 AppletLoader: addded ability to use appletloader with no images, just the logo, just the progressbar or both. To set no image for either image you must set the parameter value to "". Both images are now centred independently allowing variable size logo and progressbar images. Resized appletprogress.gif to match appletlogo.png size. 2010-07-25 13:31:49 +00:00
kappa1 12a37c264e AppletLoader: actually fail with error message if logo images are not found or an error occurs when they are loaded, added missing MediaTracker step. Also prevent paint thread from null pointer exception when this happens. 2010-07-25 12:18:17 +00:00
kappa1 bf68b287da AppletLoader: fix error message so that it actually uses the error message string. 2010-07-25 11:40:58 +00:00
kappa1 a7b892b7ab AppletLoader: clean up resources (images) when switching to the LWJGL Applet as opposed to when applet is destroyed 2010-07-24 20:00:58 +00:00
kappa1 3656b80763 AppletLoader: fix bug with LWJGL 2.5 where appletloader crashed if the al_version parameter was used. 2010-07-21 18:53:41 +00:00
kappa1 f96a4bd228 AppletLoader - slight tweak to make AppletLoader looks a bit better 2010-07-15 20:00:41 +00:00
kappa1 be84d03799 AppletLoader: slightly more meaningful and friendly error message. 2010-07-12 20:19:21 +00:00
kappa1 7b9dcd5a18 AppletLoader: Remove the boxerrorcolor parameter, there is not much advantage in having different color error message font, its better to have a nice consistent error message then to try scare the user. Also simplifies the AppletLoader api by reducing the number of parameters. 2010-07-12 20:01:56 +00:00
kappa1 77306f770a AppletLoader: fix issue with caching and lzma/pack200 files 2010-07-11 15:26:33 +00:00
kappa1 1ba3f0197b Appletloader: fix caching issue with native jars 2010-07-11 13:54:52 +00:00
kappa1 f5eae9c5ca AppletLoader: fix code to compile on java 1.4 2010-07-11 13:03:16 +00:00
kappa1 2769e06be2 Appletloader: Initial implementation of a proper caching system. Files will only be downloaded if lastModified time is different from when files were downloaded previously. al_cache parameter is used to disable and enable this caching (default: true). This caching will not be used if al_version parameter is used. 2010-07-11 12:13:34 +00:00
kappa1 d9a64e18a1 AppletLoader: fixed flicker on animated gifs using ImageObserver. When image is ready to be drawn it is copied into a buffer image ready to be drawn. Also now supports variable time animated gifs and not limited to drawing only every 100ms. 2010-07-10 11:56:55 +00:00
kappa1 d251a322e6 AppletLoader: auto centre logo if applet is resized. 2010-07-08 21:12:20 +00:00
kappa1 4c1fe5d21f AppletLoader: Parameters boxbgcolor, boxfgcolor and boxerrorcolor have been added. Previous parameters al_bgcolor, al_fgcolor and al_errorcolor have been removed. Unlike the previous color support now you can specify the color as a string name of any AWT Color ("red", "blue", "yellow", etc), RGB format (0-255, e.g. "255,0,0") or html HEX color (must use leading #, previous didn't need to have the # e.g. "#FF0000"). This is to match the color support of boxbgcolor and boxfgcolor of the java plugin, so now the color is set and appears before the appletloader is even loaded. 2010-07-04 14:35:41 +00:00
kappa1 d6d2c91546 Appletloader: Added parameter support for al_windows32, al_windows64, al_linux32 and al_linux64 for those that would like to split their 32/64 bit natives files to provide a smaller download. 2010-07-04 11:03:20 +00:00
kappa1 69dcdd170d small cleanup. 2010-05-21 22:55:11 +00:00
kappa1 6a8992c2ed Allow LWJGL applets to work when seperate_jvm parameter is not supported (i.e. java plugin1). 2010-04-01 21:01:51 +00:00
kappa1 65806087cf Added better support for FreeBSD to appletloader. Thx to monty_hall for the patch. 2010-04-01 18:27:51 +00:00
Brian Matzon 8d89b6353e cleanup imports 2009-11-20 23:28:37 +00:00
Brian Matzon c75b6a9f05 use HEAD request when determening file size 2009-11-20 23:26:26 +00:00
Brian Matzon 9dcf59dab5 workaround for missing certificate for AppletLoader if cached 2009-11-20 23:06:24 +00:00
kappa1 3abb46dd58 Stop AppletLoader on download failure, instead of displaying error and continuing download of files. 2009-10-12 11:56:46 +00:00