summaryrefslogtreecommitdiffstats
path: root/i18npool
Commit message (Collapse)AuthorAgeFilesLines
* boost->stdCaolán McNamara2015-09-181-2/+2
| | | | | | | | Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* add English Botswana [en-BW] locale data, tdf#94207Eike Rathke2015-09-143-0/+52
| | | | Change-Id: I01a235c020e4e94290a551f404db8850cc9a5089
* Related: tdf#52020 Disable ICU Breakiterator for KhmerNathan Wells2015-09-032-9/+8
| | | | | | | | | | Enabling the ICU Breakiterator causes Khmer spelling checkers to be worthless as well as wrecks havoc on various minority languages that use the Khmer script. See this https://bugs.documentfoundation.org/show_bug.cgi?id=52020 this: https://bugs.freedesktop.org/show_bug.cgi?id=59448 and this: https://bugs.documentfoundation.org/show_bug.cgi?id=59447&redirected_from=fdo Change-Id: I84529db9cca72ffe1108d2e12c1885f63a48f89d
* loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann2015-08-317-13/+13
| | | | Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
* Actually process the escaped characterStephan Bergmann2015-08-271-1/+2
| | | | | | | | ...was like this ever since it got introduced in b75958473503f7eca096b8843e57a031bbabe0ab "implemented date acceptance patterns API." Found with clang-tidy's clang-analyzer-deadcode.DeadStores. Change-Id: Ib1572ca9f254e3e835dbbe088f6a48c24dbd8235
* Clean up aEmptyStrStephan Bergmann2015-08-261-6/+4
| | | | Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
* remove unused calculation for hyphenationLászló Németh2015-08-261-1/+0
| | | | | | | Introduced by the commit 968f4d72a23bb28d097a7694d66f0b866b3b33f0, problem found by Stephan Bergmann. Change-Id: If735185c34a0ba69a5cd753ef76032b1b6a4a0cf
* disentangle the Dzongkha mess a littleEike Rathke2015-08-221-1/+1
| | | | | | As per [MS-LCID] rev. 7.0 2015-06-30 Change-Id: If4980d2b1149d93b39e5b57f5741bbdfb5680516
* i18npool: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe2015-08-1826-52/+45
| | | | | | | | | with the variadic variants. Change-Id: I0381de7fde198df74556355984bdaba2ecdedd4b Reviewed-on: https://gerrit.libreoffice.org/17768 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin: defaultparamsNoel Grandin2015-08-145-16/+16
| | | | Change-Id: I320eb6149793689c496b14090e8e0243397d01ba
* new loplugin: defaultparamsNoel Grandin2015-08-111-1/+1
| | | | | | | | find places where we do not need to be passing a parameter to a function, because that function has a default value which matches the value we are passing. Change-Id: I04d1fd6275204dd4925e6563282464f461123632
* remove some unused definesNoel Grandin2015-08-032-2/+0
| | | | Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
* new loplugin: refcountingNoel Grandin2015-08-0311-46/+48
| | | | | | | | | | | | | | This was a feature requested by mmeeks, as a result of tdf#92611. It validates that things that extend XInterface are not directly heap/stack-allocated, but have their lifecycle managed via css::uno::Reference or rtl::Reference. Change-Id: I28e3b8b236f6a4a56d0a6d6f26ad54e44b36e692 Reviewed-on: https://gerrit.libreoffice.org/16924 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* inline a handful of use-once #definesNoel Grandin2015-07-231-2/+1
| | | | Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
* formatting of public/private/protected section qualifiersNoel Grandin2015-07-177-9/+9
| | | | | | | | | | make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* -fsanitize=functionStephan Bergmann2015-07-101-5/+5
| | | | | | ...similar to 22935ed0a47bfc143303a8084cefd35eae94e6a9 "-fsanitize=function" Change-Id: I9000389d648ef918d9639a9d8ca99d82f3684445
* Fix typosAndrea Gelmini2015-07-082-2/+2
| | | | | | | Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
* -fsanitize=functionStephan Bergmann2015-07-071-5/+5
| | | | | | | ...calling getOutlineNumberingLevels_en_US (workdir/CustomTarget/i18npool/localedata/localedata_en_US.cxx) Change-Id: Icf22a29ffa7c6309a5e10f9d9d7bd60f8e8a51b1
* loplugin:unusedmethods hwpfilter,i18npoolNoel Grandin2015-07-061-47/+0
| | | | | | | Change-Id: Ied85d93019d0f6c01c14045758b405f2ac316676 Reviewed-on: https://gerrit.libreoffice.org/16783 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Fix typosAndrea Gelmini2015-07-034-4/+4
| | | | | | | Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Fix typosAndrea Gelmini2015-06-301-1/+1
| | | | | | | Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
* add English (Gambia) [en-GM] locale data, tdf#92442Eike Rathke2015-06-303-0/+52
| | | | | | All derived from en-GB with currency GMD symbol D Change-Id: I33d8688f73342322c816f4cfe8923bf3a2db85be
* coverity#1308466 Uncaught exceptionCaolán McNamara2015-06-272-2/+2
| | | | Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
* loplugin:stringconstant: Flag more inefficienciesStephan Bergmann2015-06-251-2/+2
| | | | Change-Id: I7ef1dc1d42237ef101731b363359801d9e1e9db6
* Fix typosAndrea Gelmini2015-06-221-1/+1
| | | | | | | Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
* Don't truncate a UTF-32 code point to a UTF-16 code unitStephan Bergmann2015-06-191-3/+3
| | | | Change-Id: Ie332b3d088547f6bcc676471182420766ecfedca
* Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe2015-06-174-10/+10
| | | | | | | | | | | | | | | | | | | | | | This may reduce some degree of dependency on boost. Done by running a script like: git grep -l '#include *.boost/scoped_array.hpp.' \ | xargs sed -i -e 's@#include *.boost/scoped_array.hpp.@#include <memory>@' git grep -l '\(boost::\)\?scoped_array<\([^<>]*\)>' \ | xargs sed -i -e 's/\(boost::\)\?scoped_array<\([^<>]*\)>/std::unique_ptr<\2[]>/' ... and then killing duplicate or unnecessary includes, while changing manually m_xOutlineStylesCandidates in xmloff/source/text/txtimp.cxx, extensions/source/ole/unoconversionutilities.hxx, and extensions/source/ole/oleobjw.cxx. Change-Id: I3955ed3ad99b94499a7bd0e6e3a09078771f9bfd Reviewed-on: https://gerrit.libreoffice.org/16289 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
* remove unnecessary check for null when calling deleteNoel Grandin2015-06-151-2/+2
| | | | | | | | Idea originally from caolan. Found using the following command: find . -name *.cxx | xargs /opt/local/bin/grep -zlP '(?m)if\s*\(\s*\w+\s*\)\s*delete\s+\w+\;' Change-Id: I3338f4e22193a6dfd6219c8c75835224a3392763
* loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann2015-06-0815-25/+25
| | | | Change-Id: Ifdfb96f77ee23a2aaa7200ecee01f957050a6700
* ensure engineering notation format is presentEike Rathke2015-06-051-0/+18
| | | | | | We could generate that in the number formatter, but as long as we don't ... Change-Id: Icbbad4215fdf7f3a94f652c27cb2f9b04205b519
* tdf#91849 add Tigrigna (Ethiopia) [ti-ET] locale dataEike Rathke2015-06-053-1/+364
| | | | Change-Id: Ib54e48070a6d08722d18259dac2447d3200f84d1
* reflect requirement of one abbreviated DateAcceptancePattern in documentationEike Rathke2015-06-031-2/+4
| | | | Change-Id: I2593606f3c82eeb9e04be469c20ffb4132cc4f2c
* ensure that at least one abbreviated DateAcceptancePattern is presentEike Rathke2015-06-031-0/+16
| | | | Change-Id: I30619fc9f894dda89cd1c84153abcb21214a5fbc
* add missing DateAcceptancePattern for abbreviated date inputEike Rathke2015-06-032-0/+2
| | | | Change-Id: I5ac712604204c4cbbce4d1ec3a591fb9f158c6f8
* Revert "make saxparser deps order-only"Eike Rathke2015-06-031-1/+1
| | | | | | | | | | | | | This reverts commit 49d8bc1dcce4c662d85d894567501205f94f678d. If saxparser changed, specifically if i18npool/source/localedata/LocaleNode.cxx was modified, we actually want all .cxx regenerated from locale data and not silently skip all. Conflicts: i18npool/CustomTarget_localedata.mk Change-Id: I3a1b0ed0dab12148ee34653cdfac593001d2ecf7
* tdf#91199 add Venetian [vec-IT] locale dataEike Rathke2015-06-033-0/+364
| | | | | | | Corrected the usual pitfalls; added DateAcceptancePattern and ScientificFormatskey3 engineering format. Change-Id: Icecb2e84b6c454378fb5e6d478e1113317e9f3bc
* loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann2015-06-026-13/+13
| | | | Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
* loplugin:loopvartoosmallNoel Grandin2015-06-013-4/+4
| | | | Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
* Bring test function lists in syncStephan Bergmann2015-05-291-5/+6
| | | | Change-Id: Ic91ddc695e9f3c7d8ba4d2bb67c8c84de2a22d5c
* Fix execution of testLaoStephan Bergmann2015-05-291-8/+8
| | | | | | | | | | ...which had already been conditional on U_ICU_VERSION_MAJOR_NUM > 51, so 452a06b70578eb83067c6c744cd97eebafc4003c "Activate unit test for Lao breakiterator support" should merely have extended that #if to the function declaration/definition in response to loplugin:unreffun, not unconditionally enabled it. Change-Id: Ia1ce4e99b4a960b1e70cae0a61b0d526b0353d9a
* loplugin:loopvartoosmallNoel Grandin2015-05-292-2/+2
| | | | Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
* sal_Int32 as long strikes againCaolán McNamara2015-05-281-1/+1
| | | | Change-Id: I26abf6d0e102712f76977e0763c4a672434a1325
* Activate unit test for Lao breakiterator supportDavid Ostrovsky2015-05-281-3/+8
| | | | | | | | In f24fa8efad247bdc296e4724b914f73f01ef2d0b added unit test wasn't activated. Activating it now reveals that the test is failing. Add TODOs for the failing asserts. Change-Id: I6c9f36be3aa84a5d5092d2a3f576af39a15b935e
* i18npool: missing includeMiklos Vajna2015-05-231-0/+1
| | | | Change-Id: I04b2e2aa5fffd570f33b69d8df99b9a88481a3a2
* tdf#90809: i18npool: fix crash in Thai break iteratorMichael Stahl2015-05-221-4/+6
| | | | | | | | | | | | endPos = nStartPos + 1 may be past the end index invalid write of size 4 at 0x1CBBA959: com::sun::star::i18n::BreakIterator_th::makeIndex(rtl::OUString const&, int) (breakiterator_th.cxx:139) by 0x1CBB4AA2: com::sun::star::i18n::BreakIterator_CTL::previousCharacters(rtl::OUString const&, int, com::sun::star::lang::Locale const&, short, int, int&) (breakiterator_ctl.cxx:61) by 0x1CBB544F: com::sun::star::i18n::BreakIteratorImpl::previousCharacters(rtl::OUString const&, int, com::sun::star::lang::Locale const&, short, int, int&) (breakiteratorImpl.cxx:64) by 0xA29D29A: ServerFontLayout::setNeedFallback(ImplLayoutArgs&, int, bool) (gcach_layout.cxx:99) Change-Id: I201f24cb6773b5aa1a81dea90ea906d3d4355053
* i18npool: ASAN: fix off-by-one in gendict's index2 arrayMichael Stahl2015-05-211-1/+1
| | | | | | | The charArray always contains the size of lenArray *before* it is extended, i.e., the last valid index. Change-Id: Id1f4e1f2cb55a88ef5339e9d962a3adf4cde91f9
* Update Apache Bugzilla’s URLAdolfo Jayme Barrientos2015-05-192-18/+18
| | | | Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
* Also mention exception typeStephan Bergmann2015-05-081-1/+1
| | | | Change-Id: I3ba60fd0ff8f4ed0a2683986cec7bdb25a837c18
* Resolves: tdf#91057 transliterateChar2Char throws MultipleCharsOutputExceptionCaolán McNamara2015-05-071-20/+36
| | | | | | | for ß, but toTitle only allows RuntimeException, which is our usual awesomeness Change-Id: Ib5618a55a369fa5cd1d323f657f0798776828386
* Related tdf#91009: Correct thousands separator character for locale es_CRJulien Nabet2015-05-051-10/+32
| | | | | | | Change-Id: Icf080bb9f21ef75487d43d8a582625be512968c4 Reviewed-on: https://gerrit.libreoffice.org/15630 Tested-by: Eike Rathke <erack@redhat.com> Reviewed-by: Eike Rathke <erack@redhat.com>