summaryrefslogtreecommitdiff
path: root/swext
AgeCommit message (Collapse)Author
2021-04-11Get rid of apache-commons-loggingStephan Bergmann
...using Java 1.4 java.util.logging.Logger instead also for the last remaining uses in reportbuilder. (The mention in swext/mediawiki/src/THIRDPARTYLICENSEREADME.html was presumably a leftover from 4b6ceed4a4a9b152905a8b1712ffb9bd61373c16 "swext: Wiki Publisher does not use those apache-commons libraries".) Change-Id: Ia0bc598fe5844ced11cae497548ec7d09453a99d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113939 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-11Apache Commons Codec/HttpClient/Lang are no longer bundledStephan Bergmann
...ever since a41a4a22f1a7e82ab64f28b71f5ce6acc1c04921 "remove now unneeded apache-commons libs" Change-Id: I197063d6a2f34d4800383ead1f55da47054e67af Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113831 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2021-04-07Updated README.md files to represent current code / use Markdown formatHossein
Previously, all of the README files have been renamed to README.md and now, the contents of these files were changed to use Markdown format. Other than format inconsistency, some README.md files lacked information about modules, or were out of date. By using LibreOffice / OpenOffice wiki and other documentation websites, these files were updated. Now every README.md file has a title, and some description. The top-level README.md file is changed to add links to the modules. The result of processing the Markdown format README.md files can be seen at: https://docs.libreoffice.org/ Change-Id: Ic3b0c3c064a2498d6a435253b041df010cd7797a Reviewed-on: https://gerrit.libreoffice.org/c/core/+/113424 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2021-03-24Using .md extension/Markdown syntax for modules READMEHossein
Renaming all README files for all top level modules to README.md, applying no content change at this stage to be able to track history of the files. These files should be edited to use correct Markdown syntax later. Change-Id: I542fa3f3d32072156f16eaad2211a397cc212665 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112977 Tested-by: Jenkins Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
2021-03-22cid#1473816 Dereference null return valueCaolán McNamara
Change-Id: Iebafaa477670041d184a5d01221355fca61a5e62 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112878 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2021-03-22cid#1473739 Resource leak on an exceptional pathCaolán McNamara
and cid#1474111 Resource leak on an exceptional path Change-Id: Iea50865f975b9b8281da78b2dc63ff43bcb07c2d Reviewed-on: https://gerrit.libreoffice.org/c/core/+/112876 Tested-by: Jenkins Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2020-05-06Move all public Java classes to libreoffice.jarSamuel Mehrbrodt
This moves the classes from juh.jar and ridl.jar to libreoffice.jar The goal is to have one single jar (and Java module, will be added later) which developers can include to work with LO. juh.jar and ridl.jar are kept as basically empty jars with libreoffice.jar on its classpath to keep backwards compatibility. This is a continuation of ae855bf48163ff64d94cfc34aff8e37abdb5518d and a preparation to have Java 9 module support. Change-Id: Ifbbfb97f60373d14256e62ae3122913bd17d5bbb Reviewed-on: https://gerrit.libreoffice.org/c/core/+/91930 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2020-02-04tdf#117331 Merge jurt and unoil into ridlSamuel Mehrbrodt
jurt.jar and unoil.jar are kept as effectively empty jars, each with a Class-Path: ridl.jar in their meta-inf/manifest.mf, so that 3rd-party code loading them (with or without also loading ridl.jar) will still have access to their content. Conceptually, the UNOIDL entities in unoil.jar (corresponding to module offapi) are not part of the URE, but are now made available by URE's ridl.jar. This should probably not cause problems in practice. At least for now, we seal exactly those packages in ridl.jar that were originally sealed in jurt.jar. Ideally, all of ridl.jar could be sealed now, but that would be mildly incompatible, as it would prevent 3rd-party code from introducing additional UNOIDL entities in the relevant namespaces (even if that is something we do not want 3rd-party code to do anyway). However, some JunitTest_jurt_* define classes in those sealed packages. In the past they got away with that by using gb_JunitTest_use_jar_classset,*,jurt. Instead they now need to gb_JunitTest_use_jar_classset,*,ridl and drop the gb_JunitTest_use_jar,*,ridl. But the former only makes available the classes that are specified in ridljar/Jar_ridl.mk with gb_Jar_add_sourcefiles, not the UNOIDL entities specified via gb_Jar_add_packagedirs. But the tests need the udkapi UNOIDL entities, so introduce gb_JunitTest_add_classpath to let the tests get them explicitly. (Curiously, JunitTest_jurt_uno and JnitTest_jurt_util use gb_JunitTest_use_jar_classset,*,jurt but don't seem to acutally need it; lets leave that for a follow-up clean up.) As a follow-up clean up, relevant files could be moved from jurt/ to ridljar/. Change-Id: I836f4e7bb47fb41f1306e3f223da90dba988eb9a Co-authored-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/c/core/+/84946 Tested-by: Jenkins Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2019-08-12Fix typosAndrea Gelmini
Change-Id: I4a334f1f40c829ddffb93cd8a41f0a9c8e65d5d8 Reviewed-on: https://gerrit.libreoffice.org/77279 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-26Fix typoAndrea Gelmini
"noncommited" Change-Id: Ia22431edf221d3824d84512f0e77dbb1758f35cd Reviewed-on: https://gerrit.libreoffice.org/75982 Tested-by: Jenkins Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2018-11-15Help files: http -> httpsSophia Schröder
+ some more conservative changes Change-Id: I28ca18b962ffe42ca8b2938de606b30d2692855c Reviewed-on: https://gerrit.libreoffice.org/63194 Reviewed-by: Sophie Gautier <gautier.sophie@gmail.com> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2018-11-09Related: tdf#121134: Changing http to https where possibleSophia Schröder
Change-Id: I6d99873416d9679f330a471b1f836f084bd5d0c9 Reviewed-on: https://gerrit.libreoffice.org/63092 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-09Related: tdf#121134: Changing http to https where possibleSophia Schröder
Change-Id: I3a8d66f97a9e33c9415a469c2c6e7a6b5df89248 Reviewed-on: https://gerrit.libreoffice.org/63091 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-03-24remove notice about cite.phpdennisroczek
The extension Cite is distributed with MediaWiki 1.21 (released May 2013) and is integrated in core since MediaWiki 1.25. No need to keep that notice any longer. Change-Id: I8a91fbb45bc6f410b551c206177d63c584349c37 Reviewed-on: https://gerrit.libreoffice.org/51795 Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org> Tested-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2017-09-26tdf#39468: Translate some random German comments and termsJens Carl
Change-Id: I5499676506a7570482388eb153f4667785b016ed Reviewed-on: https://gerrit.libreoffice.org/42770 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2017-09-20Clean up xsl filesSamuel Mehrbrodt
* Remove trailing spaces * Use 4 spaces for indentation everywhere See discussion at https://lists.freedesktop.org/archives/libreoffice/2017-September/078433.html Change-Id: I0bb9a0b9b0502cdf0870529cea37ee9c4d1ffdf4 Reviewed-on: https://gerrit.libreoffice.org/41009 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2017-06-11tdf#80671: mediawiki, no superscript tags allowed in footnotesJulien Nabet
Change-Id: I54c2cc0fc6b2a9c631fc83f59c2204dd5e374d2c Reviewed-on: https://gerrit.libreoffice.org/38666 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-10tdf#97743: mediawiki accountJulien Nabet
To find main url in header section, search link containing: - load.php - or opensearch_desc.php In Wikipedia or wiki.documentfoundation.org, I haven't seen any link with index.php Change-Id: Iccb27aa8aaaf936faf8ec3b3f67eaa98d0426f19 Reviewed-on: https://gerrit.libreoffice.org/38631 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-10Typo in mediawiki: height and width mixedJulien Nabet
It'll change nothing since InsertThrobber function (which contains these args) are called with value=10 for both vars Just for sanity sake then Change-Id: Ie084a5a3cb15a121574aa0d06b43f1a6d34c0d09 Reviewed-on: https://gerrit.libreoffice.org/38639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2017-06-07tdf#98888: mediawiki inserts redundant emptylines in <ref>Julien Nabet
There's a newline in case of heading, table or bibliography following text:p ok but only if we're not in text:note node Change-Id: I71172751a51e29abdd770e758d27b1bc8f15cb0d Reviewed-on: https://gerrit.libreoffice.org/38470 Reviewed-by: Julien Nabet <serval2412@yahoo.fr> Tested-by: Julien Nabet <serval2412@yahoo.fr>
2017-05-29tdf#33831 swext: mention images by name in the mediawiki exportArianna Masciolini
odt files with pictures exported in mediawiki format now contain references to each image Change-Id: Idd73da997e2fe983899dd4514d3c393b3607a52d Reviewed-on: https://gerrit.libreoffice.org/38160 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2016-09-27MediaWiki export help: “WikiMedia” → “MediaWiki”; minor copyeditingAdolfo Jayme Barrientos
Why is “wiki” always capitalized? It’s not a proper name. Change-Id: I55941f192e149dc93a6576e5ca21edac78299cb4
2016-06-06remove unused imports in java codeNoel Grandin
Change-Id: I95041f49dd22ba9a15da3598b04a010eecf761a8
2016-03-14remove some unused Java codeNoel Grandin
found by UCDetector Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-02setListenerState does nothingCaolán McNamara
and thus callStatusListener does nothing so there seems no reason to have a m_statusListeners which is filled by addStatusListener but not emptied by removeStatusListener Change-Id: I7efdf7ccfd123bf7c2aa6add4f8db969a0019089
2016-02-23cid#1326858 Eq: Problems with implementation of equals()Noel Grandin
Change-Id: If87666e6e4ac9397ac44bed805fc7c83ad357105
2016-02-23cid#1327459 BC: Bad casts of object referencesNoel Grandin
Change-Id: Ibf80ea0a0f1afbd8269c79d7a7f6f0703567df94
2016-02-23cid#1327465 Eq: Problems with implementation of equals()Noel Grandin
Change-Id: I63921f5a84adcb3d1e562327fd1f47282efe6fbd
2016-02-06coverity#1326198 Dereference after null checkCaolán McNamara
Change-Id: I3db353d04094ba47fe915ea5dc4d96fc4612cc68
2016-02-06coverity#1326498 Resource leak on an exceptional pathCaolán McNamara
Change-Id: I28b848ef94039e4c79242599b2031b8789857a46
2016-01-23cid#1326434, 1326446, 1326248, 1326254jan iversen
null pointer dereferencing, added null check Change-Id: I78f3ee1eb5d5bd4ebe7b3a6775db4884859dbcf6 Reviewed-on: https://gerrit.libreoffice.org/21712 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-01-15coverity#1326413 Dereference null return valueCaolán McNamara
Change-Id: Icd3728ca151ede50ab41ad7fbb150a3054df6739
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-12Killed the 'lastedited' element, it's useless, we have git.Jan Holesovsky
Change-Id: I61a7f92843ef888f64eb5b97267ba30227d64d73
2015-11-05java: combine nested if statementsNoel Grandin
Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
2015-10-20coverity#1326963 RV: Bad use of return valueCaolán McNamara
Change-Id: I86aaa7904b3d6e551dcaf0e8d207bea2f2f134c3
2015-10-20coverity#1327463 Dm: Dubious method usedCaolán McNamara
Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
2015-10-20coverity#1327464 Dm: Dubious method usedCaolán McNamara
Change-Id: I7fb3182f181909a289f4253370904215518c1f23
2015-10-15coverity#1326241 Dereference after null checkCaolán McNamara
Change-Id: I54c00e1d4e5ebccf141293cd97d99efeebda1083
2015-10-14java:remove unused importsNoel Grandin
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-09swext: increment the extension version number to 1.2.0Michael Stahl
... and also set the User-Agent header so the servers know who's messing with them. Change-Id: I0173db05868c5fcd0f85435adf78884ca562596d
2015-10-09swext: add a logging out stream to help debugging TLS connectionsMichael Stahl
Change-Id: Idbabae3edad5e95a37fa9834d24a72ebd13087ae
2015-10-09swext: Wiki Publisher does not use those apache-commons librariesMichael Stahl
... itself, they were apparently just dependencies of commons-httpclient, so remove them. Change-Id: I8fd5c85db058c4aa14c4f5fea20fd17ba361b0b2
2015-10-09swext: remove commons-httpclient dependency from Wiki PublisherMichael Stahl
JRE 6 has sufficient HttpURLConnection etc. stuff to make this work without bundling external libraries. Change-Id: I6c71980c718169024006f02a96c442a71d798d55
2015-09-30Fix typosAndrea Gelmini
Change-Id: I92f9eda138c387dde3095e1a6281bdcec3a2adde Reviewed-on: https://gerrit.libreoffice.org/18982 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
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-05-20odt2mediawiki.xsl: ensure the node selectionRobert Antoni Buj Gelonch
Change-Id: I78d773feaa1766904d455bd9ff5f9ea79c7b6dce Reviewed-on: https://gerrit.libreoffice.org/15801 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-19odt2mediawiki.xsl: hide table of contents if there is a customized tocRobert Antoni Buj Gelonch
Change-Id: I3be7f0929db94658ac1eabb0996364f53b52034c Reviewed-on: https://gerrit.libreoffice.org/15795 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-05-18odt2mediawiki.xsl: tabulation in toc entriesRobert Antoni Buj Gelonch
Change-Id: I596bd1c8814efcf2070d3e6d2ff126c03c0ec168 Reviewed-on: https://gerrit.libreoffice.org/15785 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>