summaryrefslogtreecommitdiff
path: root/i18npool/qa
AgeCommit message (Collapse)AuthorFilesLines
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann4-8/+8
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-09-03Related: tdf#52020 Disable ICU Breakiterator for KhmerNathan Wells1-7/+6
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-18i18npool: tdf#88206 replace cppu::WeakImplHelper*Takeshi Abe3-3/+0
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-06-25loplugin:stringconstant: Flag more inefficienciesStephan Bergmann1-2/+2
Change-Id: I7ef1dc1d42237ef101731b363359801d9e1e9db6
2015-06-02loplugin:cstylecast: deal with those that are (technically) const_castStephan Bergmann1-4/+4
Change-Id: I5bad1428e96c76f7d295f69e10beea4397d560ff
2015-05-29Bring test function lists in syncStephan Bergmann1-5/+6
Change-Id: Ic91ddc695e9f3c7d8ba4d2bb67c8c84de2a22d5c
2015-05-29Fix execution of testLaoStephan Bergmann1-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
2015-05-28sal_Int32 as long strikes againCaolán McNamara1-1/+1
Change-Id: I26abf6d0e102712f76977e0763c4a672434a1325
2015-05-28Activate unit test for Lao breakiterator supportDavid Ostrovsky1-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
2015-05-19Update Apache Bugzilla’s URLAdolfo Jayme Barrientos2-18/+18
Change-Id: I6ef4ae530b7fb4e615100803ae6e3972d9b4545f
2014-12-18i18npool: Use appropriate OUString functions on string constantsStephan Bergmann1-1/+1
Change-Id: I6f2fabd9248b1b385439ff5c074342029fb660e0
2014-05-12Resolves: fdo#55707 Word count incorrect if language is set to FinnishCaolán McNamara1-4/+10
Change-Id: I283dddaa4bd8baf05b90ce5f81d43b785021a3c4
2014-05-12Avoid expensive dlopen thrash for break iterators.Michael Meeks1-4/+16
Change-Id: I770c1b3e5164cb486b5a5c2b1259f713914a1bae
2014-03-26First batch of adding SAL_OVERRRIDE to overriding function declarationsStephan Bergmann4-8/+8
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: I71fa20213e86be10de332ece0aa273239df7b61a
2014-01-08fdo#72219: Fix for corruption of symbols in docxRohit Deshmukh1-1/+18
Issue: OUString uses UTF-16, so for a Unicode surrogate character there are 2 values stored, not just 1. So we are getting assert failure in "rtl_uString_iterateCodePoints" method. erAck: Underlying cause was that the dictionary breakiterator misused UTF-16 positions as Unicode code point positions. Change-Id: I923485f56c2d879b63687adaea2b489a3479991c Reviewed-on: https://gerrit.libreoffice.org/6955 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-28Remove UTF-8 comment.Tomofumi Yagi1-1/+1
This breaks windows build with localized versions of MSVC. Change-Id: I23c46830f96ae661eced88352476e7ae61fbcc2a Reviewed-on: https://gerrit.libreoffice.org/6847 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-11-20remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin1-4/+4
Convert code like: aOStringBuf.append( RTL_CONSTASCII_STRINGPARAM( " is missing )") ); to: aOStringBuf.append( " is missing )" ); which compiles down to the same code. Change-Id: I3d8ed0cbf96a881686524a167412d5f303c06b71
2013-11-19remove unnecessary use of OUString constructor when assigningNoel Grandin1-2/+2
change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
2013-11-17bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar2-8/+8
Change-Id: I56c1190c93333636981acf2dd271515170a8a904
2013-11-13Add Lao breakiterator support for selecting and counting Lao words.Robert M Campbell1-0/+25
Change-Id: I6da721dc25394dfee12e3028aefbf0546d1be984 Reviewed-on: https://gerrit.libreoffice.org/6669 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-11remove unnecessary use of OUString constructorNoel Grandin2-50/+48
Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
2013-11-07fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza1-11/+10
And use some templates inside include/com/sun/star/uno/Sequence.hxx Change-Id: I48875fa1517751fc4cb0cf2b6c08b88975a29b47 Reviewed-on: https://gerrit.libreoffice.org/6599 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin1-2/+2
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-28Related: fdo#69641 add a regression testCaolán McNamara1-0/+26
Change-Id: Icf3324a224d02425acd679a286f3c4a0b7e3ed1c
2013-08-30enable building against RHEL-6 system icuCaolán McNamara1-2/+6
Change-Id: I56f08d58d8d8a0e397412580451c90f9605bcb46
2013-07-26targetted clean of redundant header piece from 62badf3828Michael Meeks2-6/+0
Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
2013-06-03Fix icu version checks.Mark Wielaard1-1/+3
commit 30c303 "Make charmap.cxx compile with icu >= 4.4." was incomplete and had wrong version checks. After ICU 4.8 (4.8.1.1) the next version of ICU was 49 (49.1) so U_ICU_VERSION_MAJOR_NUM contains two digets (49), earlier that it was just one digit (4). The correct header to include to do version checks is unicode/uversion.h. USCRIPT_MANDAEAN is the old alias of USCRIPT_MANDAIC (same numeric value). U_JG_FARSI_YEH is only available since ICU 4.4. Note that on older icu versions (4.2.1) the 200B (ZWSP) Zero Width Space breakiterator testcase fails (others succeed). Change-Id: If73c1402239a28546077437e9382f0bd38642bad Reviewed-on: https://gerrit.libreoffice.org/4139 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-06remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák1-1/+1
Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-40/+10
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2-90/+90
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-05new module i18nlangtagEike Rathke1-353/+0
Moved portions from module i18npool, all of former i18nisolang1 library that now is i18nlangtag. Included are languagetag, isolang and mslangid. This i18nlangtag code is now even used by module comphelper, so disentangling i18npool and making this an own module was needed to not create circular module dependencies. Change-Id: Ib887c3d6dde667403fd22d382310ba5f1a9b0015
2013-04-05added the dreaded jolly jokerEike Rathke1-0/+20
Change-Id: I1bd840391496daab2cfe32af6ac00e98de3ed72e
2013-04-03test IsoLangEntry table LanguageTag conversionsEike Rathke1-0/+50
Change-Id: Ie56e68459f655a66bf33368cee5e9a99b9dd0141
2013-03-27unit test for x-... privateuseEike Rathke1-0/+24
Change-Id: I46062bcece6ccbcebf421bc4334c1af05f27a8fb
2013-03-19removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold1-2/+2
s/(OUString\s+[a-zA-Z_][A-Za-z0-9_]*\s*)\(\s*RTL_CONSTASCII_USTRINGPARAM\s*\((\s*"[^")]*?"\s*)\)\s*\)/$1\($2\)/gms Change-Id: Iad20f242c80c4bdc69df17e2d7a69d58ea53654b Reviewed-on: https://gerrit.libreoffice.org/2835 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-03-19automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2-30/+30
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-18avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák1-3/+3
Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
2013-03-07i#121482# fix backwards regexp search for matches overlapping search startHerbert Dürr1-1/+1
(cherry picked from commit 854f4ad6c57be62bd922df08f603d8bfb7b918a5) Additionally fixed unit test, searching backward shall not produce a different result from searching forward. (erAck) Change-Id: I952509276875441005e6a4036e6c3089be627dd9
2013-02-24loplugin: unused variablesThomas Arnhold1-1/+0
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-22s/the the/the/Tor Lillqvist1-3/+3
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-01-02partly revert 92a9b7780c6e13a4da3b12794342edbc4c09ef51 for ICU < 49Eike Rathke1-0/+7
Re-enable build with ICU 4.6 and 4.8 ICU versions prior to 49 don't know Conditional_Japanese_Starter and Hebrew_Letter Also, the change in i18npool/CustomTarget_breakiterator.mk - -e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#" \ with i18npool/source/breakiterator/data/line.txt -$CL = [:LineBreak = Close_Punctuation:] ; +$CL = [:LineBreak = Close_Parenthesis:]; did not produce equivalent results. Instead use $CP = [:LineBreak = Close_Parenthesis:]; $CL = [[:LineBreak = Close_Punctuation:] $CP]; Change-Id: I14fc14319ea34f23393264560452a79bb49fc3a7
2012-12-29follow logical consequences of a minimum icu version of 4.6Caolán McNamara1-7/+1
since commit f20ed8959bc0a984177377a734d34f767653625b Change-Id: I4f2fc5d9eb7a581b9ed707a3c3f96be817141846
2012-12-11avoid liblangtag processing for known locales, and know 'qtz'Eike Rathke1-1/+41
For "simple" known (to us) locales avoid the overhead of liblangtag, also in preparation of not having to initialize its database during startup. This also enables recognition of the 'qtz' pseudolocale for key ID resources again, see fdo#57413 Change-Id: Id52a1ddc37b42063e3bf68a6dbeaeacfbfa704ef
2012-11-19Stop a memory leak in text_textsearch.cxxZolnai Tamás1-0/+1
Change-Id: I4dad05dbbe668ac7d7058cb43989f6a9f8e488a6 Reviewed-on: https://gerrit.libreoffice.org/1118 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2012-11-16added LanguageTag::reset() methodsEike Rathke1-0/+30
Change-Id: Id78a989ab981d658dd8f331b030e00ce201c8bc9
2012-11-12add native XTextSearch / cppunit test framework.Michael Meeks1-0/+144
ported from the broken java ver. adds a native ICU regex sanity test.
2012-09-19Related: #112623# add regression test for japanese word break rulesCaolán McNamara1-5/+23
Change-Id: I05baf163cc00d3770b9a8b25b099ffcbd9623a2f
2012-09-07Related: #i50172# add regression test for Tamil cursoringCaolán McNamara1-0/+16
Change-Id: I8f6c3814aa3630f5f640f611fb51ce72641715c6
2012-09-07Related: #i80412# add regression test for Indic language cursoringCaolán McNamara1-1/+20
Change-Id: Ia1cc6ade8d2122abf5469ec521b2883961121a04
2012-09-07Related: #i107843# add regression test for em-dash/en-dash spell checkingCaolán McNamara1-1/+22
Change-Id: I8d9aad9ac648aefdd1f31e09fe2ea84a698c0013