summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)AuthorFilesLines
2013-03-28Half-assed attempt at enforcing operator [] preconditionsStephan Bergmann1-2/+4
...inspired by comments to <https://gerrit.libreoffice.org/#/c/3068/> "String::AppendAscii cleanup in dbaccess," but it quickly becomes apparent that lots of code rely on s[s.getLength()] == 0, so live with a weakened precondition check for now. Change-Id: Ifad96c706b14433df4a084ab8054b32433b8b5b6
2013-03-27Fix build: typo and not needZolnai Tamás1-1/+0
Change-Id: I7bc1ee815e6ac333fb0c5b9a2c3135db2f81235e
2013-03-27-Werror,-Wunused-private-fieldStephan Bergmann2-5/+0
Change-Id: I42235ca7cd25c07af7daaf51f56a6deb60e4108e
2013-03-27l10ntools/inc/helper.hxx includes libxml/parser.hStephan Bergmann1-0/+1
Change-Id: I44512a132cdc428b5ab157f19107690b781af823
2013-03-27Refactor l10ntoolsZolnai Tamás28-948/+714
Delete unused functions. Make Export class more encapsulated. Move to local that functions which are used only in one file. Common contans method which are used by all executables. Helper contains methods belong to xml parsing. Change-Id: I28773a2c7eea90da7df7f32720fd38de2cb661ac
2013-03-27-Wunused-macrosStephan Bergmann2-3/+0
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-26Typo __SINPRO_CC -> __SUNPRO_CCStephan Bergmann3-3/+3
Change-Id: I831abe80f9b4b160f4af10a16f4d45cc68fa3bb6
2013-03-25Remove unneeded project and projectroot parametersZolnai Tamás18-232/+153
Plus avoid use of Export::sLanguages member outside of the class. Change-Id: I33702816fdb4980d690cfe8fcd8cc3fbd0df1dd8
2013-03-25Introduce HAVE_GCC_PRAGMA_DIAGNOSTIC_{MODIFY,SCOPE}Stephan Bergmann3-9/+9
...replacing hard-coded GCC version checks. Those checks that guard #pragma GCC diagnostic ignored "-Wnon-virtual-dtor" appear relevant only for GCC itself, not Clang (which used to fail the old guards because it typically announces itself with a rather low __GNUC__/__GNUC_MINOR__ version), see 6e67c03dc0225fc66343546b14e902b9d238b1a3 "Enable -Wnon-virtual-dtor for GCC 4.6" Change-Id: I6bfa4d5caa6192e7a203ce829682bf6bb8d61a1b
2013-03-24qtz length changed, use this length dynamicallyZolnai Tamás1-2/+2
Change-Id: I2935ff0c1114f1b3e690fd6f86441a180566fd32
2013-03-22Check return value of system()Zolnai Tamás1-1/+7
Change-Id: I1b9e31b8c64ed8bf7eb073f036a7fdda39a15392
2013-03-19These classes are not usedZolnai Tamás6-415/+0
Classes with same function: osl::Directory, osl::File Change-Id: I0e8d18bab6ee244da274c733b8f1f646897afc7d
2013-03-19Localize files of a directory in lexical orderZolnai Tamás1-40/+69
To avoid big diffs, stem from platform dependent order. Change-Id: I848a14de2c4e7af2f3a2d9a0fdb005c289cfead2
2013-03-19Simplify equalsIgnoreAsciiCaseAscii[L] callsStephan Bergmann1-1/+1
Change-Id: If5201bd772aed245e8f7f8b900d76ffe4ca57b49
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold1-2/+2
Done with a perl regex: s/OUString\s*\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/OUString\($1\)/gms Change-Id: Idf28320817cdcbea6d0f7ec06a9bf51bd2c3b3ec Reviewed-on: https://gerrit.libreoffice.org/2832 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-18coverity#982269 Copy-paste errorJulien Nabet1-1/+1
Change-Id: I8d900e83543d3914b215451ebbd77f823835643b Reviewed-on: https://gerrit.libreoffice.org/2801 Reviewed-by: Joren De Cuyper <joren.libreoffice@telenet.be> Reviewed-by: Tomáš Chvátal <tchvatal@suse.cz> Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2013-03-16Get rid of generating temporary sdf fileZolnai Tamás27-704/+495
Working: 1. Localize add header to po files. 2. Executables append po entries to po files. 3. Localize delete entryless po files and empty directories Plus a bunch of clean up. Change-Id: I58e300eaee4cee948203cc9d3e642ca9462d0d26
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-13more subtle dependencies for cross-compilationMatúš Kukan1-1/+4
Now we build only what we really need for 'build' platform - there is new build-tools make target. The list of tools is in solenv/gbuild/extensions/pre_BuildTools.mk. Also similar is done to some extent for 'host' platform using gb_Module_add_targets_for_build which is ignored for 'host'. Change-Id: I6acd1762b16aca366aac1a0688500f27869cfca2
2013-03-12l10ntools: these are not public headersMatúš Kukan7-38/+4
Change-Id: Ia9630c1ff60a00cd8286e99f61aacd27891f65e0
2013-03-12fdo#59867 set correct LCID for Catalan Valencian in Windows installerAndras Timar1-1/+1
Change-Id: Ie50adaf4f90bd39c1f1f07dc1c7076038473064f
2013-03-11filter: use python version of FCFGMergeMatúš Kukan14-5423/+0
Change-Id: I23124b919359c1217529724338b8d4906e051306
2013-03-09Use simpler keyid with 5 digitsZolnai Tamás1-7/+7
Change-Id: Iac743d4f298b43067fe5db9199eb39c3301f827e
2013-03-09not stop localize, just ignore invalid po entriesZolnai Tamás1-1/+0
Change-Id: I8bd987ec0f2bd4a886a14d38d7b7ba354abd2f06
2013-03-09Delete PoHeader constructor used by renewpoZolnai Tamás2-37/+0
Change-Id: I360a9c96eacf9b7b8bd80214a3fc4c9faa01e631
2013-03-06fdo#60148 Clean up warnings from the Clang compiler pluginnccuong1-2/+1
Change-Id: I08d755677c46c476710ecbd067ed9f7e2f54a671 loplugin: clean warnings: unused variables, incorrect indentation and log area. Reviewed-on: https://gerrit.libreoffice.org/2544 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-05remove obsoleted ulfconv utilityAndras Timar3-374/+0
Change-Id: Id627136d25a40b5d573e274cc6ad78418b8ffdb9
2013-03-04remove obsolete po2lo scriptAndras Timar3-265/+0
Change-Id: If014e70066f4d103b7b01c69c928471ba298b6cd
2013-03-04doubled includesThomas Arnhold2-2/+0
Change-Id: I70ec796188e2388e1e4d699126f7ae817f5ff86e
2013-03-04This condition is uneeded and cause localize not to workZolnai Tamás1-8/+6
See also: 73b7792f716064db0815ad0f86846093edcd2f78 Change-Id: I9ea5e77cf84ce9ac6b247b97e579373831ab9ab9
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold3-4/+4
Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
2013-03-02Typo fix: informations -> information and a few other adjacent typos.Gregg King2-2/+2
FDO:60724 Change-Id: I73ad9f1c37cbbcf28d996ed73c75cf09553e499b Reviewed-on: https://gerrit.libreoffice.org/2479 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-03-01coverity#705109: use of invalid iteratorMarkus Mohrhard1-1/+1
Change-Id: I9c16071a4182801ef5fed8b3d3661accce596716
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-28renewpo was needed one time only, 3.6->4.0 conversion. DroppedAndras Timar3-291/+0
Change-Id: I8ad66eb5e664590f596ffb9e76b50b5a95aab456
2013-02-28excludeDirectory became obsolete, because dmake was killedAndras Timar1-27/+1
Change-Id: Id9f3d2435530ff9c797eca5e86aa568f921017b1
2013-02-27fdo#39446 - Bloat Removal. Removing uncallable code with callcatcherJean-Noël Rouvignac2-8/+0
Removed several unused methods. Could not remove ScVbaFormat<ooo::vba::excel::XStyle>::getAddIndent() and ScVbaFormat<ooo::vba::excel::XStyle>::setAddIndent(com::sun::star::uno::Any const&) because it breaks compilation (they are implementing pure virtual methods). Should Test::test1Table1Page() really be removed? (test class) Conflicts: unusedcode.easy Change-Id: I98a761f66f28e3a82661c10a5fa1dc7e109fff2f
2013-02-27sal: new ZipPackage_sal_odk_headers for public ODK headersMichael Stahl1-1/+1
Change-Id: I76cb00121d7b4c21137be70ab7a5bd5389037302
2013-02-25loplugin: unused variablesThomas Arnhold2-3/+1
Change-Id: I63553a09eec81e5ae28aa79ee1d3281053b23d06
2013-02-22s/the the/the/Tor Lillqvist1-1/+1
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22s/pathes/paths/Tor Lillqvist1-1/+1
Change-Id: Id832119cc6da885372e56c2119e3bc3b31a7b825
2013-02-18Fix fdo#60754 - no translations for langs sorting after qtzThorsten Behrens2-4/+5
Adjust check to not rely on lexicographical order. This amends 8ae3ddca7e99d2bdbaadd5e0c82de2f0fbd30f91. Change-Id: I5023b07af819eb09ea9dc569bdbac806f936485f
2013-02-17spelling: otherwhise -> otherwiseIvan Timofeev2-2/+2
Change-Id: I2d89edbb2574b4e677c9a0682bc829d9476b54db
2013-02-15Only escape double-quotes for ulf files.Thorsten Behrens1-2/+2
On second thought, this was needlessly overbroad. Missed the fact that the code is strictly for ulf. Change-Id: I96773d6e2a9af473e8c8309421b4900c0b76667f
2013-02-15Proper escaping of quotes for android xml resource files.Thorsten Behrens1-1/+1
Change-Id: I9f76986465af5798f1451d44af6765f4e5d1bb09
2013-02-14Get Labels.xcu out of configuration data.Matúš Kukan1-2/+0
Modify the file format, install separately into share/labels, and parse it using xmlreader when needed. Saves time on startup and reduces pointless configurarion size.
2013-02-13Reduce scope xrmmerge.cxxJulien Nabet1-4/+2
Change-Id: I70018ce13dc5dc45d59fdb339e9d0a14348a4195
2013-02-13Some cppcheck cleaningJulien Nabet1-4/+2
Change-Id: I3d515fabc272e5c14f2e2779da1c43f92514f290
2013-02-11More quote escaping on translated strings.Thorsten Behrens2-2/+3
Also escape single quotes for ulf, escape both double and single quotes for stringex. Change-Id: I4c9b8ea88c0172e0d2fdbc79c68bce34668a64f7
2013-02-06remove obsolete hidother.src filesAndras Timar1-1/+0
Change-Id: Ieb30afd81d16d184e0276ce7699b848f26a00013