summaryrefslogtreecommitdiff
path: root/swext
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15swext: remove unused importAndras Timar1-1/+0
Change-Id: I6d9296ef4dc01d6ea0fb591582831693200f0f7b
2015-10-15swext: increment the extension version number to 1.2.0Michael Stahl2-1/+3
... and also set the User-Agent header so the servers know who's messing with them. Change-Id: I0173db05868c5fcd0f85435adf78884ca562596d (cherry picked from commit 18b934af9979522c8cff1ff76504ce19c3e6916d)
2015-10-15swext: add a logging out stream to help debugging TLS connectionsMichael Stahl2-0/+167
Change-Id: Idbabae3edad5e95a37fa9834d24a72ebd13087ae (cherry picked from commit 2ccef1c93d4c1a478fbdd8a49caf0735f68ba141)
2015-10-15swext: Wiki Publisher does not use those apache-commons librariesMichael Stahl2-19/+0
... itself, they were apparently just dependencies of commons-httpclient, so remove them. Change-Id: I8fd5c85db058c4aa14c4f5fea20fd17ba361b0b2 (cherry picked from commit 4b6ceed4a4a9b152905a8b1712ffb9bd61373c16)
2015-10-15swext: remove commons-httpclient dependency from Wiki PublisherMichael Stahl6-212/+213
JRE 6 has sufficient HttpURLConnection etc. stuff to make this work without bundling external libraries. Change-Id: I6c71980c718169024006f02a96c442a71d798d55 (cherry picked from commit f7d149a731a0284d3d7b7b1c26c736654e0712fd)
2015-10-15java: 'final static' to 'static final'Noel Grandin1-35/+35
this is the canonical order, and it makes the code easier to read Reviewed-on: https://gerrit.libreoffice.org/16242 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Ostrovsky <david@ostrovsky.org> (cherry picked from commit 0c18bedb7328493040c1a20822b345e624d6041f) Change-Id: I272e7f1e140296e582702b6dbf77a03eefb65470
2015-10-15swext: regularize the order of 'final' and public/privateAndras Timar2-9/+9
Change-Id: I9caf08575eddf711215a5eaa18866904f30e1529
2015-05-20odt2mediawiki.xsl: ensure the node selectionRobert Antoni Buj Gelonch1-24/+6
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> Signed-off-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-05-19odt2mediawiki.xsl: hide table of contents if there is a customized tocRobert Antoni Buj Gelonch1-0/+2
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 Gelonch1-0/+31
Change-Id: I596bd1c8814efcf2070d3e6d2ff126c03c0ec168 Reviewed-on: https://gerrit.libreoffice.org/15785 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-27tdf#75360 tdf#90474 line breaks in exporting to mediawikiRobert Antoni Buj Gelonch1-4/+7
Change-Id: Icb44653a9286c8bfbe912f391f0492fe49498f58 Reviewed-on: https://gerrit.libreoffice.org/15449 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27odt2mediawiki.xsl: vertical & horizontal align of a imageRobert Antoni Buj Gelonch1-43/+126
Change-Id: I45cdffe132a796ccf06023f4465a2633df1926f3 Reviewed-on: https://gerrit.libreoffice.org/15544 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27tdf#75531 failed to convert the marginsRobert Antoni Buj Gelonch1-0/+8
Change-Id: I025c4c14bcae9c925809f44425fabb6bc3d66806 Reviewed-on: https://gerrit.libreoffice.org/15451 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-27tdf#75019 bookmarks in exporting to mediawikiRobert Antoni Buj Gelonch1-7/+51
Add support for exporting common bookmarks Add support for going to a specific bookmark (including TOC) Change-Id: I2775d8b03a5bd986ffcbdf7c95a1fbed755e3bd6 Reviewed-on: https://gerrit.libreoffice.org/15486 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2015-04-20odt2mediawiki.xsl: table cell color in cell attributesRobert Antoni Buj Gelonch1-20/+41
Change-Id: I44f1969a227a811cdb740b387e30cf10994360b9 Reviewed-on: https://gerrit.libreoffice.org/15445 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-20odt2mediawiki.xsl: reuse table cell code, check USE_DEFAULT_TABLE_CLASS, use ↵Robert Antoni Buj Gelonch1-155/+78
current vbles Change-Id: Iedaddf11604b13c7db1d2b588a5f205f691ea2b4 Reviewed-on: https://gerrit.libreoffice.org/15440 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-04-20odt2mediawiki.xsl: improve export filterRobert Antoni Buj Gelonch1-67/+356
Replace <text>&#10;</text> with <value-of select="$NL"/> Image + Add the alternative text in a image + Add support for image align with wrap='none' Paragraph + Replace <center></center> tags + Add support for background-color and font-color Table: * Cell: + Use align element + Add support for background-color and font-color + If all cells have the same style then specify that in the row section * Table: + Add support for table align and table width * Row: + Fix new line at the end of the row * Header + Treat the header like the row Text: + Add support for background-color and font-color Change-Id: Icd7196006b6d06d6c0c030d967686ed8f8a5e454 Reviewed-on: https://gerrit.libreoffice.org/15391 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-25Typo: formated->formattedJulien Nabet1-1/+1
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-01-05java: remove more dead codeNoel Grandin2-5/+0
found by looking for unused parameters (in Eclipse) Change-Id: I03cf9bc8312e59747b2d0ac153ee2fc8d76be893
2015-01-05java: remove dead codeNoel Grandin1-17/+0
found by UCDetector Change-Id: I6b0f49529379072da566e927b86815f173e7a90b
2014-12-10java: unused importsNoel Grandin1-1/+0
Change-Id: I05824a6f19a5f3048a52101b96f6bf3d3099df08 Reviewed-on: https://gerrit.libreoffice.org/13403 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05java: remove some unused local variablesNoel Grandin2-9/+1
Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965
2014-12-05java: remove some unused fieldsNoel Grandin1-3/+0
Change-Id: I1b6fb6b47439c448ac31983702772e2115c70d56
2014-11-18java: make fields final where possibleNoel Grandin6-13/+13
found by PMD Change-Id: I87780366119c141cd2dafe6ca1bf2d9798b10aec
2014-11-12java: reduce excessive code indentation levelsNoel Grandin3-86/+86
by using early return in some methods Change-Id: I3611c8c89b3a94ef7e1772d178acf065fd7fcdc7 Reviewed-on: https://gerrit.libreoffice.org/12374 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-10-17java: final fields that can be staticNoel Grandin2-5/+5
Change-Id: I8c06be7bc0b8a38c662209f0de72a00550e25447
2014-10-16java: when rethrowing, store the original exceptionNoel Grandin1-1/+1
Change-Id: I34ce000c48d2d79bfec854c8dd55d12f2bee29c7
2014-10-16java: reduce the depth of some deeply nested if blocksNoel Grandin1-25/+25
Change-Id: I3c0c7f08d4d8ea594e72fc0d9b93d085d4ab4bf5
2014-09-11mediawiki: use String.length()==0 instead of String.equals(empty string)rbuj1-2/+2
Change-Id: I849da46aee801686cf6a581d65276ab60575c078 Reviewed-on: https://gerrit.libreoffice.org/11372 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-10mediawiki: use a character literalrbuj2-2/+2
Change-Id: I1dadf4f905fcf06aee616cc0cfea3d77a145a3a1 Reviewed-on: https://gerrit.libreoffice.org/11371 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-08swext: use proper syntax for accessing outer class thisMichael Stahl2-7/+7
Change-Id: Ie2d466b4e1a567d204b109208fce84842bea2a19
2014-09-08missing importsCaolán McNamara1-0/+2
Change-Id: Id569f55097cf513825b62225ec8861319b0a93cf
2014-09-08mediawiki options went missingCaolán McNamara1-0/+11
regression from 34bcf9b498bccb5c924f4cec850ff15d88df6f07 Change-Id: Ibd0645bd218c81da110b3704a530e3849b761fb4 Date: Wed Aug 13 10:08:31 2014 +0200 java: remove dead methods found by UCDetector
2014-09-08mediawiki: improve storeConfiguration & loadConfiguration methodsrbuj1-53/+48
* Use enhanced for-loops (storeConfiguration & loadConfiguration) * Use curly braces to reduce the variable scope and, to reuse variable names (storeConfiguration) * Avoid map.get(key) in iterations over each map's entry (storeConfiguration): for (Map.Entry<String, Object> entry : ht.entrySet()) Change-Id: I678d5a9f205efb2c89ab868b59e1b654419381d8 Reviewed-on: https://gerrit.libreoffice.org/11331 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-06mediawiki: if...else if...else Statementrbuj1-1/+1
Change-Id: I3722aef2064e0878ac9a1b1f835d20f507f178af Reviewed-on: https://gerrit.libreoffice.org/11299 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-06mediawiki: use contains to check if a string contains a substringrbuj1-1/+1
Change-Id: Ic98d295bb56c5466a388930b6cea403d6307b850 Reviewed-on: https://gerrit.libreoffice.org/11298 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-09-06mediawiki: the assigned value is never usedrbuj1-5/+3
Change-Id: Icb2c4477b96c6bab9004b9c7ead2272b86e78dfb Reviewed-on: https://gerrit.libreoffice.org/11297 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-08-20Use COMMONS_LOGGING_VERSION vblerbuj1-1/+1
Change-Id: I0c76ec7e3f9b95166b4005dd1ad5349b3889c3e4 Reviewed-on: https://gerrit.libreoffice.org/10993 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-20java: remove unnecessary constructor declarationsNoel Grandin2-10/+0
in the absence of any other constructors, the compiler will automatically generate a public no-arg constructor Change-Id: I70eca507cd8e16e33580b3398d41d70690bc2909
2014-08-20java: don't catch and then just rethrow an exceptionNoel Grandin1-25/+18
without doing anything else useful Change-Id: I5803d84d46e0a70e1759f2202e2c2273087f8723
2014-08-19java: use 'Short.valueOf' instead of 'new Short'Noel Grandin2-2/+2
Change-Id: Icef19ef61ee0af2dd3bda527263934006271f219
2014-08-19java: use 'Integer.valueOf' instead of 'new Integer'Noel Grandin1-4/+4
Change-Id: Ia8befb8d69914ce971174fc5f2ffc0e2f506a940
2014-08-19java: use Boolean.valueOf instead of instantiating Boolean objectsNoel Grandin5-14/+14
Change-Id: Ie41d6b0170a035a694dd270c311a137fd1810e74
2014-08-19java: remove unused methodsNoel Grandin1-26/+0
Change-Id: Ibb905e6f3e7d92a0e558f1f6562e5b472cd2717b
2014-08-16upgrade to apache-commons-1.2Thomas Arnhold1-1/+1
Change-Id: Ic356c6a23f42b5fe37be1075e8508bb168eac9a1 Reviewed-on: https://gerrit.libreoffice.org/10927 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-08-14java: remove unused importsNoel Grandin2-6/+0
Change-Id: Ic60b30141fd1dc61acfb97b811aec680a2ab9c22
2014-08-14java: remove commented out codeNoel Grandin2-5/+0
Change-Id: I05c907a38b562231e968c17f14e09ef80e0a6ed1
2014-08-13java: remove dead methodsNoel Grandin5-135/+4
found by UCDetector Change-Id: I219caa8e680dba5a395541a778df6144841c4dde
2014-08-13java: remove unused fieldsNoel Grandin2-6/+5
found by UCDetector Change-Id: I4a7c56a9918054c23469de5680658e7b501f0165
2014-08-13java: reduce scope, make some methods privateNoel Grandin9-22/+22
found by UCDetector Change-Id: Ib1425edde146193a65c242dc159b7e3fbf0e4a2e