summaryrefslogtreecommitdiff
path: root/external/beanshell
AgeCommit message (Collapse)Author
2020-09-11cross-build: fix Java NI linkingJan-Marek Glogowski
LibreOffice has a JNI component on Windows and Linux, the officebean. Therefore we need a host JDK for linkage to the jawt, and a build JDK to compile the Java code. Change-Id: I4138628ab3ea2ef5900a5b4e9281050ae84e4eb5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/102483 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de>
2020-02-16GBUILD_TRACE, support for finding out where the build time is spentLuboš Luňák
See instructions in solenv/gbuild/Trace.mk . This generates a file than can be viewed e.g. in the Chromium tracing view. Change-Id: I5f90647c58ca729375525b6daed2d4918adc8188 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/88754 Tested-by: Jenkins Reviewed-by: Luboš Luňák <l.lunak@collabora.com>
2017-09-20beanshell: don't remove the getPeer call, access it by reflectionFridrich Štrba
Change-Id: I031580c6edd0d80727d940b4fd300308a905a383
2017-08-31Adapt external/beanshell to Java 9Stephan Bergmann
For one, drop a spurious target="1.5" so that ant instead uses the passed-in JAVA_TARGET_VER (which needs to be 1.6 for Java 9). For another, the deprecated java.awt.Component.getPeer method finally got removed, so bsh.util.AWTConsole would no longer compile. But it looks like that class is not used by us anyway, so just remove the problematic code. (workdir/UnpackedTarball/beanshell/docs/manual/bshmanual.html: "Web Browser Access: After starting the server you can connect your web browser to the port you specified. BeanShell will respond by sending an HTML page offering you a choice of the Swing based JConsole or the older AWTConsole. You may choose whichever is appropriate for your web browser. [...] The bsh.util.AWTConsole is a legacy implementation of the GUI Console using AWT instead of Swing. This console does work, but it is not as slick or pretty as the JConsole. The primary reason it is still here is to support remote access from generic web browsers using only Java 1.1.") Change-Id: I9f1112caebae9a55e4eec7f9baa0114b2254ccda
2017-08-30Pass "verbose" flag into antStephan Bergmann
Change-Id: I76d7c8a41d64baae3591dd188a2d2e46f17622bb Reviewed-on: https://gerrit.libreoffice.org/41735 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-26Remove gcj support from build system.Thorsten Behrens
Change-Id: I79fe046ff8c932c5f6a9a5f70970168e42d23702 Reviewed-on: https://gerrit.libreoffice.org/28406 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2016-03-15beanshell: improve compatibility for script engineDouglas Mencken
javax.script.Invocable may contain either • two `invoke' methods or • `invokeMethod' and `invokeFunction' so let's support any variant Change-Id: I47196af79cc2de75725ded29992ab1f6f4cd623e Reviewed-on: https://gerrit.libreoffice.org/23163 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-02-23upgrade beanshell to 2.0b5Caolán McNamara
Change-Id: I2081af13b9d77d58d5086db9e167c37b78b199db
2015-01-12bsh-2.0b1->bsh-2.0b5Caolán McNamara
Change-Id: I250a683faf7d201b9fea8eb0fffd9cd49da7f79f
2014-07-23beanshell: encode(String) in URLEncoder has been deprecatedrbuj
http://docs.oracle.com/javase/1.5.0/docs/api/java/net/URLEncoder.html Change-Id: Ie21fdd12206c7954e99761826f98686c4567aa64 Reviewed-on: https://gerrit.libreoffice.org/10482 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2014-07-23beanshell: [deprecation] show() in Window has been deprecatedrbuj
http://docs.oracle.com/javase/1.5.0/docs/api/java/awt/Window.html#show() Change-Id: Id02e622f3335315747e7c66724f5a3f37992e85d Reviewed-on: https://gerrit.libreoffice.org/10481 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-07-23beanshell: [deprecation] toURL() in File has been deprecatedrbuj
http://docs.oracle.com/javase/6/docs/api/java/io/File.html#toURL() Change-Id: I7f5ee6ad89ce73fa3b217396669fa42ea6e75c8a Reviewed-on: https://gerrit.libreoffice.org/10473 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-10-28gbuild: set Package default target to INSTDIRMichael Stahl
Change-Id: I2bc45e4ba63f5faaee7389bcd9d7b3f563503186
2013-10-25gbuild: remove gb_ExternalPackage_add_jar_for_installMichael Stahl
Deliver all external jar files to INSTDIR directly. Change-Id: Ibfaabf713da01e752517dc400200a6918d82db6d
2013-10-18Fix building from inside modules moved to externalKhaled Hosny
Change-Id: Id6023dc3751fe70984f489682be17d1ab1855f71
2013-10-17fdo#70393: move beanshell to a subdir of externalKhaled Hosny
Change-Id: I7e8324fd366a25db59becedfb3f00a10723f45be Reviewed-on: https://gerrit.libreoffice.org/6283 Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com> Tested-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>