summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)Author
2015-09-29Jewish Calendar: updated URL of borrowed codeAndrea Gelmini
Change-Id: Id937e0b1192ad0bf4ba4ecc38e69c55d024fe3c0 Reviewed-on: https://gerrit.libreoffice.org/18930 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-29remove unused #include <sal/alloca.h>Michael Stahl
Change-Id: I490841fd2c526e4ca6d6c94cc7b9dba318c932a1
2015-09-18boost->stdCaolán McNamara
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>
2015-09-14add English Botswana [en-BW] locale data, tdf#94207Eike Rathke
Change-Id: I01a235c020e4e94290a551f404db8850cc9a5089
2015-09-03Related: tdf#52020 Disable ICU Breakiterator for KhmerNathan Wells
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
2015-08-31loplugin:stringconstant: OUStringBuffer: appendAscii -> appendStephan Bergmann
Change-Id: Iff961fccfa7b60e788b538569bb724e806e99408
2015-08-27Actually process the escaped characterStephan Bergmann
...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
2015-08-26Clean up aEmptyStrStephan Bergmann
Change-Id: I5befe9deac917a28e80ed193b67ff29b5ba35149
2015-08-26remove unused calculation for hyphenationLászló Németh
Introduced by the commit 968f4d72a23bb28d097a7694d66f0b866b3b33f0, problem found by Stephan Bergmann. Change-Id: If735185c34a0ba69a5cd753ef76032b1b6a4a0cf
2015-08-22disentangle the Dzongkha mess a littleEike Rathke
As per [MS-LCID] rev. 7.0 2015-06-30 Change-Id: If4980d2b1149d93b39e5b57f5741bbdfb5680516
2015-08-18i18npool: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe
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>
2015-08-14loplugin: defaultparamsNoel Grandin
Change-Id: I320eb6149793689c496b14090e8e0243397d01ba
2015-08-11new loplugin: defaultparamsNoel Grandin
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
2015-08-03remove some unused definesNoel Grandin
Change-Id: I85a9a2bc12681e13fc482374165ff9bd6858dc93
2015-08-03new loplugin: refcountingNoel Grandin
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>
2015-07-23inline a handful of use-once #definesNoel Grandin
Change-Id: Id2654555c4042f8c0bdbd6bab6507e705f08326b
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
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>
2015-07-10-fsanitize=functionStephan Bergmann
...similar to 22935ed0a47bfc143303a8084cefd35eae94e6a9 "-fsanitize=function" Change-Id: I9000389d648ef918d9639a9d8ca99d82f3684445
2015-07-08Fix typosAndrea Gelmini
Change-Id: I70b03c152f63e48341dc5629a99b0eeab7b497c0 Reviewed-on: https://gerrit.libreoffice.org/16834 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Julien Nabet <serval2412@yahoo.fr>
2015-07-07-fsanitize=functionStephan Bergmann
...calling getOutlineNumberingLevels_en_US (workdir/CustomTarget/i18npool/localedata/localedata_en_US.cxx) Change-Id: Icf22a29ffa7c6309a5e10f9d9d7bd60f8e8a51b1
2015-07-06loplugin:unusedmethods hwpfilter,i18npoolNoel Grandin
Change-Id: Ied85d93019d0f6c01c14045758b405f2ac316676 Reviewed-on: https://gerrit.libreoffice.org/16783 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-03Fix typosAndrea Gelmini
Change-Id: Ie2bbe020fc6e3a4a4f913208c245f395849bb9ee Reviewed-on: https://gerrit.libreoffice.org/16708 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-30Fix typosAndrea Gelmini
Change-Id: I1c5e4970d4e90bdea68a901294594104de5e189e Reviewed-on: https://gerrit.libreoffice.org/16582 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-06-30add English (Gambia) [en-GM] locale data, tdf#92442Eike Rathke
All derived from en-GB with currency GMD symbol D Change-Id: I33d8688f73342322c816f4cfe8923bf3a2db85be
2015-06-27coverity#1308466 Uncaught exceptionCaolán McNamara
Change-Id: I8b8c67ae0a6a14998852754ae938c137063b4851
2015-06-25loplugin:stringconstant: Flag more inefficienciesStephan Bergmann
Change-Id: I7ef1dc1d42237ef101731b363359801d9e1e9db6
2015-06-22Fix typosAndrea Gelmini
Change-Id: I60ed5eb658d50cbc7dc572facb5463b7527b4d9b Reviewed-on: https://gerrit.libreoffice.org/16408 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-06-19Don't truncate a UTF-32 code point to a UTF-16 code unitStephan Bergmann
Change-Id: Ie332b3d088547f6bcc676471182420766ecfedca
2015-06-17Replace boost::scoped_array<T> with std::unique_ptr<T[]>Takeshi Abe
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>
2015-06-15remove unnecessary check for null when calling deleteNoel Grandin
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
2015-06-08loplugin:cstylecast: deal with remaining pointer castsStephan Bergmann
Change-Id: Ifdfb96f77ee23a2aaa7200ecee01f957050a6700
2015-06-05ensure engineering notation format is presentEike Rathke
We could generate that in the number formatter, but as long as we don't ... Change-Id: Icbbad4215fdf7f3a94f652c27cb2f9b04205b519
2015-06-05tdf#91849 add Tigrigna (Ethiopia) [ti-ET] locale dataEike Rathke
Change-Id: Ib54e48070a6d08722d18259dac2447d3200f84d1
2015-06-03reflect requirement of one abbreviated DateAcceptancePattern in documentationEike Rathke
Change-Id: I2593606f3c82eeb9e04be469c20ffb4132cc4f2c
2015-06-03ensure that at least one abbreviated DateAcceptancePattern is presentEike Rathke
Change-Id: I30619fc9f894dda89cd1c84153abcb21214a5fbc
2015-06-03add missing DateAcceptancePattern for abbreviated date inputEike Rathke
Change-Id: I5ac712604204c4cbbce4d1ec3a591fb9f158c6f8
2015-06-03Revert "make saxparser deps order-only"Eike Rathke
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
2015-06-03tdf#91199 add Venetian [vec-IT] locale dataEike Rathke
Corrected the usual pitfalls; added DateAcceptancePattern and ScientificFormatskey3 engineering format. Change-Id: Icecb2e84b6c454378fb5e6d478e1113317e9f3bc
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann
Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
2015-06-01loplugin:loopvartoosmallNoel Grandin
Change-Id: I86ff38a90018a2ddfb2db3babf67168b0e6257a5
2015-05-29Bring test function lists in syncStephan Bergmann
Change-Id: Ic91ddc695e9f3c7d8ba4d2bb67c8c84de2a22d5c
2015-05-29Fix execution of testLaoStephan Bergmann
...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
2015-05-29loplugin:loopvartoosmallNoel Grandin
Change-Id: I5518e40a30bdad53470cc52b59eff04ab6d873d4
2015-05-28sal_Int32 as long strikes againCaolán McNamara
Change-Id: I26abf6d0e102712f76977e0763c4a672434a1325
2015-05-28Activate unit test for Lao breakiterator supportDavid Ostrovsky
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
2015-05-23i18npool: missing includeMiklos Vajna
Change-Id: I04b2e2aa5fffd570f33b69d8df99b9a88481a3a2
2015-05-22tdf#90809: i18npool: fix crash in Thai break iteratorMichael Stahl
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
2015-05-21i18npool: ASAN: fix off-by-one in gendict's index2 arrayMichael Stahl
The charArray always contains the size of lenArray *before* it is extended, i.e., the last valid index. Change-Id: Id1f4e1f2cb55a88ef5339e9d962a3adf4cde91f9
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2015-05-08Also mention exception typeStephan Bergmann
Change-Id: I3ba60fd0ff8f4ed0a2683986cec7bdb25a837c18