summaryrefslogtreecommitdiff
path: root/l10ntools
AgeCommit message (Collapse)AuthorFilesLines
2015-06-02Add translation support for short names of Emoji and other symbolsLászló Németh1-1/+2
Cherry picked from 4a91d5ee95c9b6ee22053f466e2483035885a032 (Add translation support for short names of Emoji and other symbols) and 851b3afb28a87934b933184af2ebb8f8144815ab. (l10ntools: support x-comments in ulf format). See also https://wiki.documentfoundation.org/Emoji Change-Id: I3d7ec13d381160d63d535ccbdcd0b3209799d3d5 Reviewed-on: https://gerrit.libreoffice.org/16014 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-11loplugin:cstylecast: nop between pointer types of exactly same spellingStephan Bergmann1-1/+1
Change-Id: Ia2d6f3e05398395af5e12ce9c1b35484f06a13b4
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann1-1/+1
Change-Id: I8fc20c94ba0233a91b63ff35f91dc9c8b51a2aba
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann1-5/+5
Change-Id: Id9c24eea7b52fa28e0fdde39f28dc625aa82ffc2
2015-03-27loplugin:staticfunctionNoel Grandin5-16/+16
Change-Id: I10c30ef28e7321882a720d1e7869a75a89febfc5
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann1-1/+1
Change-Id: I0f8379517d8e97c24b32ca58749f1c0f2c7e8f49
2015-01-26new loplugin: change virtual methods to non-virtualNoel Grandin2-21/+16
Where we can prove that the virtual method is never overriden. In the case of pure-virtual methods, we remove the method entirely. Sometimes this leads to entire methods and fields being eliminated. Change-Id: I138ef81c95f115dbd8c023a83cfc7e9d5d6d14ae
2015-01-25add Guarani (gug) languageAndras Timar1-3/+4
Change-Id: Icf1612f88447e9ae348ef9ad333607a3f6dc8d32
2015-01-20Some more loplugin:cstylecast: l10ntoolsStephan Bergmann2-16/+16
Change-Id: Ifa1c715b5569cb7481a6f1ecaa98306ca7e2d7d8
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-2/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2015-01-02attempt to compare a singular iterator to a singular iteratorCaolán McNamara1-3/+12
falls over during build with debug stl Change-Id: Id7241e1275067f827e4a663eb901c41e4c9873f5
2015-01-02boost::unordered_map->std::unordered_mapCaolán McNamara4-11/+11
you can get debug stl this way Change-Id: Ia70a3e7c7c452390e8bee34975d296c9318e4a19
2014-12-28fdo#87754: duplicated strings in an ItemList are not translatedZolnai Tamás1-8/+11
Change-Id: I72c6e234ff999a6dbed48cc62fe7d39aeb798f35
2014-12-18fdo#39440 reduce scope of local variablesMichael Weghorn2-20/+11
This addresses some cppcheck warnings. Change-Id: Ib16e4ecc0e0c43b2c1fb527eb0668a960ae9756e Reviewed-on: https://gerrit.libreoffice.org/13513 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-05fdo#38835 strip out OString globalsNoel Grandin3-4/+4
Change-Id: Id2eb27132fd6c1734e50c02617ce1bbb75e294a0
2014-11-28Fold URE: Linux ure/lib/* -> program/Stephan Bergmann1-1/+1
The ../../../program/ links in the URE jar Class-Paths are a temporary kludge (and juh.jar had lacked adaption for Mac OS X). Change-Id: I2542d8a582866485dd61c05df3fc6b4b39a8403d
2014-11-14fdo#86023 - O[U]String needs a 'clear' methodBrij Mohan Lal Srivastava1-2/+2
Added clear() method to OString and OUString class, Updated appropriate call-sites. Change-Id: I0ba97fa6dc7af3e31b605953089a4e8e9c3e61ac Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-11-06Revert "use the new OUString::fromUtf8 method"Stephan Bergmann5-10/+13
This reverts commit 05050cdb23de586870bf479a9df5ced06828d498, not all places that use e.g. OStringToOUString to convert potential UTF-8 are guaranteed to fulfil the prerequisites necessary to use fromUtf8 (and some places like e.g. in codemaker are happy with the best-effort effect of OStringToOUString's OSTRING_TO_OUSTRING_CVTFLAGS).
2014-11-06use the new OUString::fromUtf8 methodNoel Grandin5-13/+10
Change-Id: I771004b7ccab3344a67e827e45bc34c22ffa5f77
2014-11-05markup with event type not checker typeCaolán McNamara2-0/+2
Change-Id: I14c0c5d90b67000cb4fe9e6be647854abfe784da
2014-10-02remove checks of __GCC_MINOR__ that are always true in GCC 4.6 or laterMichael Stahl3-6/+0
Change-Id: I4412a0c1e4dee94cd717f24b8df5e257d895f721
2014-10-02remove HAVE_GCC_PRAGMA_DIAGNOSTIC_MODIFY check and macroMichael Stahl3-3/+3
This has been supported by GCC and clang for a very long time. Change-Id: I410a2b39004c932003f8cbefe935aedb109b1163
2014-09-30l10ntools: std::auto_ptr -> std::unique_ptrStephan Bergmann1-1/+1
Change-Id: I595506b8c6d127abaa8d86bd0ed263edba210bb5
2014-09-19l10ntools/source/export.cxx: be more std::Douglas Mencken1-7/+8
Change-Id: Ia5f96f7d2bf366a6156d198e73e7987a471f28da Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-14fdo#80650 src transl. merge must be case sensitiveDavid Tardon1-4/+4
This makes the desired changes in workdir/SrsPartMergeTarget/starmath/source/symbol.src. The only other merged file that is changed is workdir/SrsPartMergeTarget/sw/source/ui/misc/numberingtypelistbox.src, with changes like < "1, 2, 3, ..." ; 4/*SVX_NUM_ARABIC - < "a, b, c, ..." ; 0/*SVX_NUM_CHARS_UPPER_LETTER */; > ; + < "A, B, C, ..." ; 0/*SVX_NUM_CHARS_UPPER_LETTER */; > ; < "a, b, c, ..." ; 1/*SVX_NUM_CHARS_LOWER_LETTER */; > ; This looks okay to me too :-) Change-Id: I729075209027ed1f3fec311c05b631c0f681708b
2014-09-09l10ntools/source/export.cxx: add sanity check to aOutput.mSimpleDouglas Mencken1-0/+5
Change-Id: I05074760f189dfc00ce14ec33002609a56797a6d Reviewed-on: https://gerrit.libreoffice.org/11321 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-09-08l10ntools/source/export.cxx: improve style of codeDouglas Mencken1-11/+6
Change-Id: Ieef44da0ab8f2d33faaf8c32970bb9d33df6750b Reviewed-on: https://gerrit.libreoffice.org/11318 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-08l10ntools/inc/helper.hxx: bin unused header <cassert>Douglas Mencken1-2/+0
Change-Id: Ib2c43d9b158423c023a5bfd4da324554aa04902e Reviewed-on: https://gerrit.libreoffice.org/11316 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-08l10ntools-transex3: make pParseQueue field privateDouglas Mencken2-5/+7
Change-Id: Ieefed6e939e12b668a635eb8d7e70def2d52a85d Reviewed-on: https://gerrit.libreoffice.org/11315 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-07create clang plugin to warn about C-style castsNoel Grandin1-6/+6
We don't like C-style casts in our nice C++ code Change-Id: I94e7ec90de9275cd6e20c4146d4f3a74bed93c9d Reviewed-on: https://gerrit.libreoffice.org/10367 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-08-15remove AutoControls_tmpl from localizeThomas Arnhold1-2/+0
Change-Id: I81b77599590410da2bd93fe538b143f934917e8e
2014-08-13l10ntools: suppress warning C4245 from boost/crc.hppMichael Stahl1-0/+8
Change-Id: I2ed53b4f902ae694fc064375e8a9cfeba32f9d1c
2014-07-10coverity#1224977 integer overflowNorbert Thiebaud1-1/+1
Change-Id: Ic212489319ef06486323877227bc8f43cc9190cc
2014-07-10coverity#1224978 integer overflowNorbert Thiebaud1-1/+1
Change-Id: Ie7dd90e6e395fb84802758e7d90ffac010dcced0
2014-07-01New loplugin:stringconcatStephan Bergmann8-49/+66
Change-Id: Id7c517fb37bc28797c45fc0dde83e866f2aa4aac
2014-06-22fdo#80324 fix path of redline_tmpl.hrcAndras Timar1-1/+1
Change-Id: Ie1684fe456ea6f9cd4b93481aa73f5b51a20ba1b
2014-06-19coverity#1019333 Explicit null dereferencedCaolán McNamara1-1/+1
Change-Id: I3ac21f8613558cb0413f405287cdd394f3facf02
2014-06-16update usage instructions of pocheck toolAndras Timar1-1/+1
Change-Id: Ibc1c5051a601a83a6616e6a22c45b05394c54e88
2014-06-13loplugin:staticcallStephan Bergmann2-2/+2
Change-Id: I6f18ab4dc082e30e51b4c0020dff4ff098275b60
2014-06-11Fix XMLFile::SearchL10NElements signatureStephan Bergmann2-4/+4
Change-Id: I34134f75ac5571a635256d349bf5a2f67ef8ef06
2014-06-09loplugin: inlinesimplememberfunctionsNoel Grandin2-5/+1
Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
2014-06-01fdo#68849: Add header guards to all include filesJens Carl1-0/+5
Added header guards to files in directories l10ntools/, lotuswordpro/, and rsc/ Change-Id: I9c034d4bb5c92d78378bda4658d43a8b603d5281 Reviewed-on: https://gerrit.libreoffice.org/9581 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-27Remove unnecessary semicolonsPeter Senna Tschudin1-1/+1
A simplified version of the semantic match that finds this problem is follows: (http://coccinelle.lip6.fr/) // <smpl> @r1@ statement S; position p,p1; @@ S@p1;@p @script:python r2@ p << r1.p; p1 << r1.p1; @@ if p[0].line != p1[0].line_end: cocci.include_match(False) @@ position r1.p; @@ -;@p // </smpl> Change-Id: Ib9708d37fbb4c6060f88d5dae3814a2d37b2091e Reviewed-on: https://gerrit.libreoffice.org/9493 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-05-22Fix memory leak in xrmex toolStephan Bergmann3-10/+5
Change-Id: I102566a95b5b34daf60730ffef290913caf28eb2
2014-05-22Fix memory leak in cfgex toolStephan Bergmann1-6/+6
Change-Id: Ic8c410a805fa06777c1a85de646df2dcd5b6506a
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold1-2/+2
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-05-05simplify ternary conditions "xxx ? yyy : false"Noel Grandin1-1/+1
Look for code like: xxx ? yyy : false; Which can be simplified to: xxx && yyy Change-Id: Ia33c0e452aa28af3f0658a5382895aaad0246b4d
2014-04-28prefer makefile-gmake-modeTakeshi Abe1-1/+1
Change-Id: I9cc9bfbddd3a90e00eee3e674994e5d6207f9034
2014-04-23some more hrc cleanupThomas Arnhold1-5/+0
Change-Id: Ic1a99ef971168093835207dd084e50a4f02b5e5f Reviewed-on: https://gerrit.libreoffice.org/9141 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-21Avoid possible memory leaks in case of exceptionsTakeshi Abe1-4/+4
Change-Id: I4b2b439615db0ff4598f405d1e339eebbff7ae91