summaryrefslogtreecommitdiffstats
path: root/i18npool/qa
Commit message (Collapse)AuthorAgeFilesLines
* enable building against RHEL-6 system icuCaolán McNamara2013-08-301-2/+6
| | | | Change-Id: I56f08d58d8d8a0e397412580451c90f9605bcb46
* targetted clean of redundant header piece from 62badf3828Michael Meeks2013-07-262-6/+0
| | | | Change-Id: Ic1240114d667fb7797afae4847427cc889f3cb48
* Fix icu version checks.Mark Wielaard2013-06-031-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>
* remove usage of RTL_CONSTASCII_USTRINGPARAMLuboš Luňák2013-05-061-1/+1
| | | | | | | Mechanical removal of usage together with OUString ctor, done by compiler plugin. Change-Id: I554227f76df0dac620b1b46fca32516f78b462c5
* Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2013-04-222-40/+10
|
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-072-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
* new module i18nlangtagEike Rathke2013-04-051-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
* added the dreaded jolly jokerEike Rathke2013-04-051-0/+20
| | | | Change-Id: I1bd840391496daab2cfe32af6ac00e98de3ed72e
* test IsoLangEntry table LanguageTag conversionsEike Rathke2013-04-031-0/+50
| | | | Change-Id: Ie56e68459f655a66bf33368cee5e9a99b9dd0141
* unit test for x-... privateuseEike Rathke2013-03-271-0/+24
| | | | Change-Id: I46062bcece6ccbcebf421bc4334c1af05f27a8fb
* removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStrings declarationsThomas Arnhold2013-03-191-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>
* automated removal of RTL_CONSTASCII_USTRINGPARAM for quoted OUStringsThomas Arnhold2013-03-192-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>
* avoid Wundef for various FIXME, FEATURE_NOT_DONE_YET and what notLuboš Luňák2013-03-181-3/+3
| | | | Change-Id: I8e409ba63d32dca9a1c7f09d143165d1d702d642
* i#121482# fix backwards regexp search for matches overlapping search startHerbert Dürr2013-03-071-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
* loplugin: unused variablesThomas Arnhold2013-02-241-1/+0
| | | | Change-Id: I7fc203900256839e679bf73b717d121fedc42087
* s/the the/the/Tor Lillqvist2013-02-221-3/+3
| | | | Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
* partly revert 92a9b7780c6e13a4da3b12794342edbc4c09ef51 for ICU < 49Eike Rathke2013-01-021-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
* follow logical consequences of a minimum icu version of 4.6Caolán McNamara2012-12-291-7/+1
| | | | | | since commit f20ed8959bc0a984177377a734d34f767653625b Change-Id: I4f2fc5d9eb7a581b9ed707a3c3f96be817141846
* avoid liblangtag processing for known locales, and know 'qtz'Eike Rathke2012-12-111-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
* Stop a memory leak in text_textsearch.cxxZolnai Tamás2012-11-191-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>
* added LanguageTag::reset() methodsEike Rathke2012-11-161-0/+30
| | | | Change-Id: Id78a989ab981d658dd8f331b030e00ce201c8bc9
* add native XTextSearch / cppunit test framework.Michael Meeks2012-11-121-0/+144
| | | | | ported from the broken java ver. adds a native ICU regex sanity test.
* Related: #112623# add regression test for japanese word break rulesCaolán McNamara2012-09-191-5/+23
| | | | Change-Id: I05baf163cc00d3770b9a8b25b099ffcbd9623a2f
* Related: #i50172# add regression test for Tamil cursoringCaolán McNamara2012-09-071-0/+16
| | | | Change-Id: I8f6c3814aa3630f5f640f611fb51ce72641715c6
* Related: #i80412# add regression test for Indic language cursoringCaolán McNamara2012-09-071-1/+20
| | | | Change-Id: Ia1cc6ade8d2122abf5469ec521b2883961121a04
* Related: #i107843# add regression test for em-dash/en-dash spell checkingCaolán McNamara2012-09-071-1/+22
| | | | Change-Id: I8d9aad9ac648aefdd1f31e09fe2ea84a698c0013
* Related: fdo#54486 add some regression tests for ordinal suffixesCaolán McNamara2012-09-062-1/+103
| | | | Change-Id: Iea51d777c3cc1fdc58fa7fccfe01e4e8394e79b2
* testInit() with overrideDataPath() is obsolete nowEike Rathke2012-08-311-23/+0
| | | | Change-Id: Ic59da3ff8f86af3e74cc526b2f4c490bd144686d
* Related: #i103552# add regression test for シャットダウンCaolán McNamara2012-08-311-2/+19
| | | | Change-Id: I30117fdf70036f6df8dc494fe33a8a56d5544635
* Related: #i113785# add regression test for ligaturesCaolán McNamara2012-08-291-2/+20
| | | | Change-Id: I46fca6dc8e77571afda5ceb230dc6c93f730703d
* Related: #i58513# add regression test for Finnish break iterator rulesCaolán McNamara2012-08-281-0/+40
| | | | Change-Id: I5b8c1190db08f781143fd8d12b007dc05a4d6046
* langtag: use ENABLE_LIBLANGTAG in unit testEike Rathke2012-08-111-1/+5
|
* langtag: pass system path as data path instead of file URLEike Rathke2012-08-111-2/+4
|
* added LanguageTag unit testEike Rathke2012-08-101-0/+206
|
* Bin no longer used iOS cppunit stuff that even breaks the buildTor Lillqvist2012-08-022-149/+0
| | | | Change-Id: I459f7fd097a81ef5977974f52b0cc2c2f155a810
* stray fprintfCaolán McNamara2012-07-271-1/+0
| | | | Change-Id: Icd10968e886be1d534e8037db6225e83712384ee
* add regression test for #i19716#Caolán McNamara2012-07-271-0/+16
| | | | Change-Id: I11440667bdf73ed09ebc83771acf33e2d3e61f6c
* add regression test for #i21290Caolán McNamara2012-07-271-0/+41
| | | | Change-Id: Ic60f440f8dc8fcfa76a023557e76fcf8e3c52476
* Related: #i85411# catalan word breaking rules out of sync with ZWNJCaolán McNamara2012-07-251-0/+38
| | | | | | | I can see no reason to have specific catalan rules, old examples work fine with default rules Change-Id: Ifacb7b46204d8aed543ab0c77fe80d1d5c5de738
* Related: #i17155# regression test for slash part of word for line breakCaolán McNamara2012-07-251-0/+15
| | | | Change-Id: I5b457531fb94f66dd7f5fdcc4636c5a202a036f1
* Related: #i13451# regression test for Catalan dictionary word breakiteratorCaolán McNamara2012-07-251-45/+62
| | | | Change-Id: I7785746b2cf4e5e054ced5b728dc69e6b1a966f2
* Related: #i29548# Thai word breakiterator regression testCaolán McNamara2012-07-251-7/+46
| | | | Change-Id: Ie47dfe6ab5e308c0353d557fe7530a983622db96
* Disable testWordBoundaries test with old icu.Jan Holesovsky2012-07-241-0/+2
| | | | Change-Id: I8d75eeb2eee43e1338a6f54c4b8ed633631bac0d
* Related: #i13494# regression tests for word iteratorCaolán McNamara2012-07-231-0/+80
| | | | Change-Id: Ifad0a8ae01386db80a5eca9dfba8ee6841980139
* 0xFFF9 is a better choice for CH_TXTATR_INWORD than 0x0002.Caolán McNamara2012-07-181-1/+1
| | | | | | | | | | | | | | | | | | | a) the default properties for the code point make it not split a word it appears in into two different words in any break mode we have. Which is what we want from a CH_TXTATR_INWORD b) unicode TR#20 gives for the interlinear annotation anchor: "What to do if detected: In a proxy context or browser context, remove U+FFF9", so when we need to strip it from text to run that text through e.g. the spellchecker or word counting then there's a solid precedent for stripping it In addition I *do* want the footnote placeholder to break the word it appears in, that gives the desired wordcount and cursor travelling behaviour The BREAKWORD and other *random* selection of CH_TXTATR are still odd choices, and there's way too many of them. Change-Id: I930ff8ff806af448829bc1a1ae6cb92053e9a284
* beef up the join and break testsCaolán McNamara2012-07-181-5/+32
| | | | Change-Id: Ia34c2f18cfa84447578604ff27a9145d17bf354a
* move test to right categoryCaolán McNamara2012-07-181-33/+34
| | | | Change-Id: If2cb8da2a24331cc01fed85750747fff3d2fc8e0
* Resolves: fdo49629 GotoEndOfWord fails with footnote at word endCaolán McNamara2012-07-171-0/+33
| | | | | | | | | | | | | | a) remove special handling of 0x0002 in our custom icu rules. Which brings us a step closer to getting rid of at least some of them in favour of the defaults b) expand the 0x02 in SwTxtNode::BuildConversionMap like we do for fields so Good side effect is our word count and character count now take into account the actual footnote indicator text, as does our cursor travelling. Both of which are more word-alike. Change-Id: I3b0024ac4b10934bee7a9e83b0fce08a18556c7b
* re-base on ALv2 code. Includes:Michael Meeks2012-07-131-26/+17
| | | | | | | | | cws mba34issues01: #i117709#: make sure that parent of error message box is visible Patch contributed by Mathias Bauer http://svn.apache.org/viewvc?view=revision&revision=1172346 i#119036 - improve user experience of certification dialog - only shown once Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1299727
* Related: fdo#49629 add test case for #i14904#Caolán McNamara2012-07-131-0/+37
| | | | Change-Id: I2bed0272eade44ab988f2cd9becb1f8ef0f232a9