summaryrefslogtreecommitdiff
path: root/scripting/java
AgeCommit message (Collapse)Author
2016-03-04Parcel.getByName apparently wants to return ScriptMetaDataStephan Bergmann
Change-Id: I4a710384ec3a0d719f2ad1fbbe7b43b0be1fa1d9
2016-02-25coverity#1354272 SS: Unread field should be staticCaolán McNamara
Change-Id: Ie9480265be8053805cb48cefe189e65a47ce0908
2016-02-22tdf#98004 Added toolbar to beanshell editor with undo/redo buttonsChirag Manwani
Change-Id: I1d553473f34622e1cb1dab3ffe74ec0c5fa05605 Reviewed-on: https://gerrit.libreoffice.org/22612 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-21tdf#97636 Added Undo/Redo functionality to Beanshell EditorChirag Manwani
Change-Id: Ie24f7bb5e59cd78ba2d06a4ed1b6a0bcaf1a3736 Reviewed-on: https://gerrit.libreoffice.org/22500 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-02-18coverity#1326437 Dereference null return valueCaolán McNamara
Change-Id: I9fe5f799b7b47d8dc1fd34893c392fcecef5b5a4
2016-02-18tdf#97637 Fixed Tab size of beanshell editor to 4Chirag Manwani
Change-Id: Ifeb73ab210d9d955e502fab3e3ec993081625945 Reviewed-on: https://gerrit.libreoffice.org/22473 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-18tdf#97642 Use native theming for swing controls in Beanshell EditorChirag Manwani
Change-Id: Ifb2f3cfe5132e9b6f7d5d2df5868b09b39c5ec47 Reviewed-on: https://gerrit.libreoffice.org/22429 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Chris Sherlock <chris.sherlock79@gmail.com>
2016-02-17tdf#97640 Fixed-Width Font for Beanshell EditorChirag Manwani
Change-Id: I809253a4f0481c825368d9c608cac77e64376aa0 Reviewed-on: https://gerrit.libreoffice.org/22404 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-02-16coverity#1326200 Explicit null dereferencedCaolán McNamara
Change-Id: I39ed18b55657e375b1c22f97c49a0e43aedce4f5
2016-02-16coverity#1326199 Explicit null dereferencedCaolán McNamara
extensionDb is always the same Change-Id: I57b59f09b3f55757844a6aab6c6698857da2e15b
2016-02-05Fix typosAndrea Gelmini
Change-Id: Ice72f8d9971e15dd6ef365e64cd567b8581a92d3 Reviewed-on: https://gerrit.libreoffice.org/21797 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-02-04coverity#1326399 Dereference null return valueCaolán McNamara
Change-Id: I7828cdfcda5d4065fc3dafee744757292753abb5
2016-02-04coverity#1326631 DE: Dropped or ignored exceptionCaolán McNamara
Change-Id: If1f4f46ba51360eff3537f6804286adfe16c4a0e
2016-02-04coverity#1326630 DE: Dropped or ignored exceptionCaolán McNamara
Change-Id: I495c1b5d9d0e03a92330fe6b9371183471aee7bb
2016-02-04coverity#1326629 DE: Dropped or ignored exceptionCaolán McNamara
Change-Id: Ifb82c92eb0eaa019a19deee3dce375204576e2ee
2016-01-10Fix typosAndrea Gelmini
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86 Reviewed-on: https://gerrit.libreoffice.org/21209 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2015-11-09java: add some @Override annotationsNoel Grandin
Change-Id: I291db1dff5ab3ce40fda6f822a0e3ff1e6ef36c1 Reviewed-on: https://gerrit.libreoffice.org/19855 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-05java: combine nested if statementsNoel Grandin
Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
2015-10-25cid#1326721 to cid#1326726 Dm: Dubious method usedCaolán McNamara
Change-Id: I5578dc3885945c013064cecf2ca86e7ca734368f
2015-10-25coverity#1326446 Dereference null return valueCaolán McNamara
Change-Id: I18b3e0cc30e05e9a53a0f7ae9997b9f190f192f4
2015-10-22coverity#1326446 Dereference null return valueCaolán McNamara
Change-Id: Ief00b565147bd4a08c4fd6de9df71d9126dc1f75
2015-10-22coverity#1326429 Dereference null return valueCaolán McNamara
Change-Id: Ib047f6cb255610422afb423006b58e0da7eacead
2015-10-20coverity#1326553 Dereference before null checkCaolán McNamara
Change-Id: I1fe2e0477f136f31b854672878d0544d9492d51b
2015-10-20coverity#1326552 Dereference before null checkCaolán McNamara
Change-Id: I5a3fb6b5e9966a8e0c5dd0175e4f4f3292025a2c
2015-10-20Revert "coverity#1327168 see if stock SuppressWarnings is sufficient to"Caolán McNamara
that didn't work This reverts commit 04a7df738aae3b255c1faa80fa79262602eaead7. Change-Id: I5e4dfc28c03668eebb0fe8056beede7ef0b05ee5
2015-10-16cid#1326721 to cid#1326726 Dm: Dubious method usedNoel Grandin
Change-Id: I98e5590f61434ed1b1081b5b592622f9bcf037ec
2015-10-15coverity#1327168 see if stock SuppressWarnings is sufficient toCaolán McNamara
silence UrF: Unread field, some sources online suggest that it might be the case Change-Id: I2287da343e97bec93e0aaf7a82a408c18ab76d9b Reviewed-on: https://gerrit.libreoffice.org/19396 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-10-15coverity#1326240 Explicit null dereferencedCaolán McNamara
Change-Id: Ic84b5fbff0fbd7b8a750a7e40f2dffafe868b5d5
2015-10-15coverity#1326238 Explicit null dereferencedCaolán McNamara
Change-Id: Id02dcf1a1fac22eae0a2e01596521eefee9ecbf3
2015-10-15coverity#1326236 Explicit null dereferencedCaolán McNamara
Change-Id: Ic89c9b39f5f9c260581130da528bc0f514d4ef06
2015-10-15coverity#1326899 HE: Equal objects must have equal hashcodesCaolán McNamara
and... coverity#1326898 HE: Equal objects must have equal hashcodes coverity#1326897 HE: Equal objects must have equal hashcodes coverity#1326896 HE: Equal objects must have equal hashcodes coverity#1326895 HE: Equal objects must have equal hashcodes Change-Id: Ic9cb7542c1bf0608a97e5b4756b737cdf1bb4bd8
2015-10-15cid#1326116 Unchecked return valueNoel Grandin
Change-Id: If33ea9c4e4388cc1b7d15847f32dd2228b047363
2015-10-15cid#1327023 to cid#1327077 SIC: Inner class could be made staticNoel Grandin
Change-Id: I41f89c4feefe4e012d72c663ebb9bbcb4aa7f163
2015-10-14java:using "this" with a static field makes no senseNoel Grandin
Change-Id: I79a38ff2ec50d3a3687cac7ed7688bbbcaf2208c
2015-10-14coverity#1326568 Unused valueCaolán McNamara
Change-Id: Idf1efef484d3a89bd56ba9a6807d4191ef95cb41
2015-10-14coverity#1327113 UrF: Unread fieldCaolán McNamara
Change-Id: I4cc7faaf0ac74c4e1baa2e978d8dea9bc8d7b6d0
2015-10-14coverity#1327178 UuF: Unused fieldCaolán McNamara
Change-Id: Ie9ed1f86a3a51d766987d631605dc561e9748f99
2015-10-14cid#1326361 Data race conditionNoel Grandin
Change-Id: Ia61737232d816bb05f3aedbe76e7905262906a79
2015-10-14cid#1326674 DLS: Dead local storeNoel Grandin
Change-Id: I8168d3703022c9a1baed6e82c43a04ffa0ca52c0
2015-10-14cid#1326345 Check of thread-shared field evades lock acquisitionNoel Grandin
Change-Id: I11fc66358c13c6bb1b6f109980384131b38ef18b
2015-09-30Fix typosAndrea Gelmini
Change-Id: Idd4b0f7b6c422abd6790185b5d48082b294bae64 Reviewed-on: https://gerrit.libreoffice.org/18968 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-06-28Fix typosAndrea Gelmini
Change-Id: I80995af6459af9f647e66d1c85da2eedad2647b9 Reviewed-on: https://gerrit.libreoffice.org/16523 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-06-15java: 'final static' to 'static final'Noel Grandin
this is the canonical order, and it makes the code easier to read Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470 Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org>
2015-06-11java:regulatize the order of 'final' and public/privateNoel Grandin
Make the order be 'public static' or 'private static' Just makes the code nicer to read. Change-Id: I182424bda45a2d68642e5d04c6091d268ace1fe2 Reviewed-on: https://gerrit.libreoffice.org/16202 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-03-17Fix various XServiceInfo implementationsStephan Bergmann
...to match what is recorded in the .component files Change-Id: Ie548cd37872d3b8540222201afaac73040e65c8f
2015-02-21Typo: deleteing->deletingJulien Nabet
Change-Id: I2bdde7524a97039c94a8da5ac5d2eba38c91d71a
2015-02-16Make LogUtils.getTrace actually workStephan Bergmann
Change-Id: I59e2b93ed1142bac22ead08cc101e27cfa3e02df
2015-02-16rhbz#1192732: Revert "From the context of the code, this field should...Stephan Bergmann
...not be static." This reverts commit 6d4c1f0d4a623bf7f3b3a0af2ece5c969d5aec77. Whatever made the author of that commit think rhinoWindow shouldn't be static, it clearly needs to be, as in edit()'s Runnable.run(), the usage of rhinoWindow at the end relies on rhinoWindow being set via the new ScriptEditorForJavaScript(context, url) call to initUI() (or else rhinoWindow already being set from a previous such call if already editor != null).
2015-01-23typo: langugage -> languageAndras Timar
Change-Id: Ifabd5a7851946b3e4109e22e6e9a1ff34575c1e5
2015-01-13fdo#88256 fix crash when running javascript macroNoel Grandin
caused by my commit 8583da1e934a49791ef8d86668f3d5c3c5dae1d7 "java: remove unused fields" Change-Id: Ibcd6462e8229a0a6cb98ebfd16ce5d2ea45ca931