Commit Graph
342 Commits
Author SHA1 Message Date
Andras Timar 1afd59ece7 Remove notice/license info about Apache Tomcat
Apache Tomcat was removed from the project in 2013.
cf. 2c92030ff0 Kill servlet-api and tomcat

Change-Id: Iaaeeda26fe983721cec74da3761fe55740f1e957
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182221
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
2025-02-27 13:59:18 +01:00
Christian Lohmaier 875a1bf2e1 makefile simplification: replace $(call gb_UnpackedTarball_get_dir,foo)
…by a simple/static $(gb_UnpackedTarball_workdir)/foo
see also 0c4c84a14b

Change-Id: I8e6aa55c85534c4446556548910c950ddbe7c6fc
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/167163
Reviewed-by: Christian Lohmaier <lohmaier+LibreOffice@googlemail.com>
Tested-by: Jenkins
2024-05-06 11:40:45 +02:00
Michael Stahl 8b0b453ecb swext: MediaWiki: implement AllowInsecureProtocols
Change-Id: I0406431f2f923db5ae0c2c6bb889e7058096ca5d
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/159080
Tested-by: Jenkins
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
2023-11-09 16:53:55 +01:00
Andrea Gelmini 985ac59356 Fix typo
Change-Id: I4c55e4a263a01fd4fa1d84feb49ac97bed793a59
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/153710
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2023-06-28 21:44:39 +02:00
Michael Stahl 03552ba854 cid#1500542 swext: Wiki Publisher: "Insecure TLS version"
Change-Id: I4b481cae6c1e13d34ea5a6dc3ff35a3b03ee281a
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/131005
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Tested-by: Jenkins
2022-03-07 11:01:32 +01:00
Stephan Bergmann 6de0b1710a Get rid of apache-commons-logging
...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 4b6ceed4a4 "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-11 10:35:04 +02:00
Stephan Bergmann bdf296526b Apache Commons Codec/HttpClient/Lang are no longer bundled
...ever since a41a4a22f1 "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-11 09:18:49 +02:00
Hossein ea5641baee Updated README.md files to represent current code / use Markdown format
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-04-07 17:47:16 +02:00
Hossein c16158772d Using .md extension/Markdown syntax for modules README
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-24 11:46:14 +01:00
Caolán McNamara 1534c12544 cid#1473816 Dereference null return value
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-22 15:05:32 +01:00
Caolán McNamara 3f837a8519 cid#1473739 Resource leak on an exceptional path
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>
2021-03-22 14:43:22 +01:00
Samuel Mehrbrodt 35518c9236 Move all public Java classes to libreoffice.jar
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 ae855bf481
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-05-06 14:48:21 +02:00
Samuel MehrbrodtandStephan Bergmann ae855bf481 tdf#117331 Merge jurt and unoil into ridl
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>
2020-02-04 22:03:54 +01:00
Andrea Gelmini 325ef6cc36 Fix typos
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-08-12 15:03:11 +02:00
Andrea Gelmini 3e7badd775 Fix typo
"noncommited"

Change-Id: Ia22431edf221d3824d84512f0e77dbb1758f35cd
Reviewed-on: https://gerrit.libreoffice.org/75982
Tested-by: Jenkins
Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2019-07-26 16:00:12 +02:00
Sophia Schröder 8057e37abd Help files: http -> https
+ 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-15 04:50:23 +01:00
Sophia Schröder 6bfbd08794 Related: tdf#121134: Changing http to https where possible
Change-Id: I6d99873416d9679f330a471b1f836f084bd5d0c9
Reviewed-on: https://gerrit.libreoffice.org/63092
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-09 11:48:10 +01:00
Sophia Schröder 91a3c3c179 Related: tdf#121134: Changing http to https where possible
Change-Id: I3a8d66f97a9e33c9415a469c2c6e7a6b5df89248
Reviewed-on: https://gerrit.libreoffice.org/63091
Tested-by: Jenkins
Reviewed-by: Olivier Hallot <olivier.hallot@libreoffice.org>
2018-11-09 11:46:32 +01:00
dennisroczek fe1c13d4ba remove notice about cite.php
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>
2018-03-24 14:05:45 +01:00
Jens Carl 3d0c0abea7 tdf#39468: Translate some random German comments and terms
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-26 11:57:30 +02:00
Samuel Mehrbrodt 28dff3780f Clean up xsl files
* 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-09-20 16:11:23 +02:00
Julien Nabet 6a24160894 tdf#80671: mediawiki, no superscript tags allowed in footnotes
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-11 23:05:32 +02:00
Julien Nabet e34b02834b tdf#97743: mediawiki account
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-10 23:02:15 +02:00
Julien Nabet c7874d890d Typo in mediawiki: height and width mixed
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-10 22:12:48 +02:00
Julien Nabet 8a400cfa46 tdf#98888: mediawiki inserts redundant emptylines in <ref>
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-06-07 07:13:54 +02:00
Arianna Masciolini a8124c2eaf tdf#33831 swext: mention images by name in the mediawiki export
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>
2017-05-29 23:40:37 +02:00
Adolfo Jayme Barrientos b65c618f2d MediaWiki export help: “WikiMedia” → “MediaWiki”; minor copyediting
Why is “wiki” always capitalized? It’s not a proper name.

Change-Id: I55941f192e149dc93a6576e5ca21edac78299cb4
2016-09-27 15:05:45 -05:00
Noel Grandin 5f42a268c3 remove unused imports in java code
Change-Id: I95041f49dd22ba9a15da3598b04a010eecf761a8
2016-06-06 14:28:41 +02:00
Noel Grandin b9d63d49be remove some unused Java code
found by UCDetector

Change-Id: Ic0295a24b26e206eb53eda2da540755477df86df
2016-03-14 13:44:39 +02:00
Caolán McNamara 57d85c0e8d setListenerState does nothing
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-03-02 11:41:40 +00:00
Noel Grandin b4203f530c cid#1326858 Eq: Problems with implementation of equals()
Change-Id: If87666e6e4ac9397ac44bed805fc7c83ad357105
2016-02-23 09:31:05 +02:00
Noel Grandin f126d7fb8f cid#1327459 BC: Bad casts of object references
Change-Id: Ibf80ea0a0f1afbd8269c79d7a7f6f0703567df94
2016-02-23 09:31:05 +02:00
Noel Grandin c39a9240c5 cid#1327465 Eq: Problems with implementation of equals()
Change-Id: I63921f5a84adcb3d1e562327fd1f47282efe6fbd
2016-02-23 09:31:05 +02:00
Caolán McNamara f0b3d21433 coverity#1326198 Dereference after null check
Change-Id: I3db353d04094ba47fe915ea5dc4d96fc4612cc68
2016-02-06 21:09:13 +00:00
Caolán McNamara 2b198c3380 coverity#1326498 Resource leak on an exceptional path
Change-Id: I28b848ef94039e4c79242599b2031b8789857a46
2016-02-06 20:58:44 +00:00
jan iversen 77031644f1 cid#1326434, 1326446, 1326248, 1326254
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-23 08:31:46 +00:00
Caolán McNamara 65abc5e301 coverity#1326413 Dereference null return value
Change-Id: Icd3728ca151ede50ab41ad7fbb150a3054df6739
2016-01-15 20:24:47 +00:00
Andrea Gelmini 64d624b651 Fix typos
Change-Id: I9a5940027423ff0791fa7da0b79b617412ce6b86
Reviewed-on: https://gerrit.libreoffice.org/21209
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Ashod Nakashian <ashnakash@gmail.com>
2016-01-10 14:17:20 +00:00
Jan Holesovsky eb95283d98 Killed the 'lastedited' element, it's useless, we have git.
Change-Id: I61a7f92843ef888f64eb5b97267ba30227d64d73
2015-11-12 09:54:45 +01:00
Noel Grandin b73db446ac java: combine nested if statements
Change-Id: I0457b81668e9427a3c8d6a4af93438b7fb2bb7ba
2015-11-05 14:55:15 +02:00
Caolán McNamara b1e949ed10 coverity#1326963 RV: Bad use of return value
Change-Id: I86aaa7904b3d6e551dcaf0e8d207bea2f2f134c3
2015-10-20 21:18:34 +01:00
Caolán McNamara b23deda0bb coverity#1327463 Dm: Dubious method used
Change-Id: I452603d75aa2e96d4c5e7fc00d730c98a265c186
2015-10-20 21:18:32 +01:00
Caolán McNamara 8da886989b coverity#1327464 Dm: Dubious method used
Change-Id: I7fb3182f181909a289f4253370904215518c1f23
2015-10-20 21:18:32 +01:00
Caolán McNamara eacf46e60b coverity#1326241 Dereference after null check
Change-Id: I54c00e1d4e5ebccf141293cd97d99efeebda1083
2015-10-15 14:26:07 +01:00
Noel Grandin ee3ebedbae java:remove unused imports
Change-Id: I9529bf81dcfcd6761485af5d66789c1a9a83eeec
2015-10-14 16:07:49 +02:00
Michael Stahl 18b934af99 swext: increment the extension version number to 1.2.0
... and also set the User-Agent header so the servers know who's messing
with them.

Change-Id: I0173db05868c5fcd0f85435adf78884ca562596d
2015-10-09 10:14:21 +02:00
Michael Stahl 2ccef1c93d swext: add a logging out stream to help debugging TLS connections
Change-Id: Idbabae3edad5e95a37fa9834d24a72ebd13087ae
2015-10-09 10:14:20 +02:00
Michael Stahl 4b6ceed4a4 swext: Wiki Publisher does not use those apache-commons libraries
... itself, they were apparently just dependencies of
commons-httpclient, so remove them.

Change-Id: I8fd5c85db058c4aa14c4f5fea20fd17ba361b0b2
2015-10-09 10:14:20 +02:00
Michael Stahl f7d149a731 swext: remove commons-httpclient dependency from Wiki Publisher
JRE 6 has sufficient HttpURLConnection etc. stuff to make this work
without bundling external libraries.

Change-Id: I6c71980c718169024006f02a96c442a71d798d55
2015-10-09 10:14:19 +02:00
Andrea Gelmini 2de378ecac Fix typos
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-09-30 06:15:39 +00:00