summaryrefslogtreecommitdiff
path: root/i18npool
AgeCommit message (Collapse)AuthorFilesLines
2013-10-29lets be super sure in the face of falling between surrogatesCaolán McNamara1-1/+1
Change-Id: I6d8259df3d4f2e73f9236b7c0547f87c89801082
2013-10-29cppcheck: Array index is used before limits checkJulien Nabet1-4/+4
Change-Id: I51f7408a81a10e2c586cb05b863f20b13bb7b263
2013-10-29iterateCodePoints() on empty string is no good anymoreEike Rathke1-10/+14
Change-Id: Id2ddbbff90f3cd32c03c7623af6d458717c7e8a8
2013-10-28Fix indentationKhaled Hosny1-5/+5
Change-Id: I2bef2334392dba63f86b24917a50bf1eb0df98dc
2013-10-28Do not access nextCellIndex (nor Text) past the endStephan Bergmann1-1/+2
At least for Winfried CppunitTest_sd_import_tests aborts with triggering the assert in OUString::operator[] at (presumably past-the-end) index 18 from com::sun::star::i18n::BreakIterator_th::makeIndex (this=0x2b775adf9440, Text=..., nStartPos=18) at i18npool/source/breakiterator/breakiterator_th.cxx:122 com::sun::star::i18n::BreakIterator_CTL::previousCharacters (this=0x2b775adf9440, Text=..., nStartPos=18, rLocale=..., nCharacterIteratorMode=1, nCount=1, nDone=@0x7fff9a84a8fc: 0) at i18npool/source/breakiterator/breakiterator_ctl.cxx:62 com::sun::star::i18n::BreakIteratorImpl::previousCharacters (this=0x2b775ae00a98, Text=..., nStartPos=18, rLocale=..., nCharacterIteratorMode=1, nCount=1, nDone=@0x7fff9a84a8fc: 0) at i18npool/source/breakiterator/breakiteratorImpl.cxx:65 ServerFontLayout::setNeedFallback (this=0xfba5d0, rArgs=..., nCharPos=17, bRightToLeft=false) at vcl/generic/glyphs/gcach_layout.cxx:114 HbLayoutEngine::layout (this=0xfba670, rLayout=..., rArgs=...) at vcl/generic/glyphs/gcach_layout.cxx:437 ... and from the preceding if block in BreakIterator_th::makeIndex it indeed looks like the invariant is that nextCellIndex need not be larger than cellIndexSize which needs not be larger than Text (ake cachedText) getLength(). Change-Id: Ib92a76020b2bb3902c5e58aa2e6c4e679e51b94a
2013-10-28ha-GH is now ha-Latn-GHEike Rathke3-3/+4
Change-Id: I9d7d2a0c4a6029e983689884d3daec3e9cab291b
2013-10-28Related: fdo#69641 add a regression testCaolán McNamara1-0/+26
Change-Id: Icf3324a224d02425acd679a286f3c4a0b7e3ed1c
2013-10-28Related: fdo#69641 double iterateCodePoints doesn't make sense to meCaolán McNamara1-3/+9
This came in with 04212c3015cd4ab118a0aec2bb04bc153a64af41 but the bug number of #i86439# appears to be the wrong id. It doesn't make sense to me. Rework cclass_Unicode::getStringType to iterate safely over the codepoints of the requested range. Perhaps that was the reason for the original commit. Change-Id: Ice4287eb6f9fc6a9705845c0cf995263815de2e7
2013-10-25more flexible language tag override mechanismEike Rathke1-5/+5
* allow overriding higher level lll-Ssss-CC with lower level lll-CC for known MS-LangID mappings that use tags with suppress-script * internal override "canonicalization", e.g. ca-XV => ca-ES-valencia Change-Id: I067d7515fb9144a896697617ad1b079e294f1ced
2013-10-22Bin comments that claim to say why some header is includedTor Lillqvist19-19/+19
They are practically always useless, often misleading or obsolete. Change-Id: I2d32182a31349c9fb3b982498fd22d93e84c0c0c
2013-10-18added Ladin_Italy [lld-IT] locale data, fdo#70530Eike Rathke3-0/+378
Change-Id: I7c0e88ee9d01eec3df471d84f122123dfb24f4fe
2013-09-26fdo#56392 fix hyph. of words with single punctuation marksLászló Németh1-2/+2
Change-Id: I0a24fb53c2ff48c26b1c97b9a4768c3a725cd686
2013-09-26fdo#56392 fix hyphenation of words with punctuationLászló Németh1-3/+26
Change-Id: I17e094fa93a7ba6a554f4bc2dfd353f718f1a500 Reviewed-on: https://gerrit.libreoffice.org/6040 Reviewed-by: Németh László <nemeth@numbertext.org> Tested-by: Németh László <nemeth@numbertext.org>
2013-09-25Start hacking --enable-canonical-installation-tree-structure back into shapeTor Lillqvist1-1/+1
Had been totaly broken by the recent changes. (Which is fine, it is just an experimental hack anyway, I am not sure whether it will ever be used in anger. Just a pet peeve of mine, I dislike seeing libraries, configuration files, resources etc mixed together in one "program" folder, especially on OS X, where the convention is to have app-specific dylibs and frameworks in "Frameworks", and resource files in "Resources". But this is not any requirement as such; there are apps in the Mac App Store that blatantly "break" this convention.) Basically, replace uses of gb_PROGRAMDIRNAME and gb_Package_PROGRAMDIRNAME with more specific LIBO_FOO_FOLDER, which for normal builds all expand to the same "program" anyway. Change-Id: I16c2b3351caa00e251e229aafbccb8346042d3c1
2013-09-25i18npool: fix cross-compilation; use INSTROOT_FOR_BUILDMatúš Kukan1-1/+1
Change-Id: If292f9b27ce3d3882ab541564dc0f1de200283af
2013-09-23Try to fix cross-compilationTor Lillqvist1-1/+1
Add more FOO_FOR_BUILD variables and some gb_Foo_for_build functions. Get rid of gb_INSTROOT and gb_DEVINSTALLROOT, just use INSTROOT. Change-Id: Iee531b02d14fae41edb68ad589a5dec829a60255
2013-09-22gbuild: remove libraries from OUTDIR and WORKDIRMichael Stahl1-1/+1
Refactor everything to find and link libraries directly in INSTDIR. - add gb_LinkTarget_get_linksearchpath_for_layer, and use it to set up -L paths for T_LDFLAGS in such a way that only allowed libraries can be linked against; i.e. it's not possible to link URE linktargets against OOO or not-installed libraries - gb_Library_get_target is now same as the gb_LinkTarget_get_target (TODO: this needs cleanup) - since a pattern rule won't work for linking libraries in INSTDIR, add a separate per-file rule for every INSTDIR lib - pattern rule can't find link target in the clean target any more so add a LINKTARGET variable - disable gb_Library_add_auxtarget, no auxtargets need to be copied - tweak the call to gb_Library_Library_platform to pass in a path in sdk/lib for the versioned URE libs - fix the Library clean target - add LAYER parameter to gb_LinkTarget_LinkTarget - adjust platform link commands - MSVC link command now uses explicit -manifestfile and -pdb parameters to keep misc. files out of INSTDIR - remove gb_Helper_OUTDIR_FOR_BUILDLIBDIR - adjust Extension, CppunitTest, JunitTest, PythonTest, Gallery, various CustomTargets to search INSTDIR - remove SDK library symlinks and import libs from odk/Package_lib - on Mac OS X, put .dylib symlinks into sdk/lib even though those are not packaged and would be created by the SDK configury; we need these to be somewhere for linking anyway - add a (unfortunately cyclic) dependency on Package ure_install to sal Change-Id: I70d88742f8c8232ad7b9521416275c67b64fe6cf
2013-09-20missing .mk for renamed 'mn-MN' to 'mn-Cyrl-MN'Eike Rathke1-1/+1
Change-Id: I77e457b27b083c7149e3696f978b1e85a6fe1e21
2013-09-20rename 'sr*YU' to 'sr*CS'Eike Rathke4-7/+7
Change-Id: Ibbe7b29e5eea22d0e2169f641d677fc4726fe6a7
2013-09-20renamed 'mn-MN' to 'mn-Cyrl-MN'Eike Rathke2-3/+4
Change-Id: Ice5fa332ff5308aa801099a9aff52ffea60ac622
2013-09-12Resolves: fdo#61754 allow midletters in field name tokensCaolán McNamara1-0/+13
Change-Id: I77cea3c1d2210435109ca0b6f762b6aea478e91b
2013-09-10changed all 'sh' language to 'sr-Latn'Eike Rathke5-29/+32
Change-Id: Iafadaea87501bc3675eaf2856b5050a7e3ecaa37
2013-09-10more annoying indentationEike Rathke1-180/+180
Change-Id: I1f0af259614909e6310a521a4db4d6e3caac8772
2013-09-10accept also '-' as '_' in 'ref' attributeEike Rathke1-0/+17
Change-Id: Ibdd59bc92df0318829e7bca098f0e9ce2dfce695
2013-09-10corrected check of Variant '-'Eike Rathke1-1/+1
Change-Id: Ic134fe541e21c905590294ffb1ed4fed34aabd63
2013-09-10gbuild: use xml .rdb files directly from workdirMatúš Kukan1-1/+1
Change-Id: I876a41dc77a59841c39b2c1fa43f22c20940dbf2
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar1-1/+1
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-09-05-Werror,-Wunused-variable 'empStr'Eike Rathke1-1/+0
Change-Id: I12fc51ad42fde050dffda42c511c6334abd8d310
2013-09-05implementation is com.sun.star.i18n.LocaleDataImplEike Rathke1-1/+1
Change-Id: I9009763225f92ad2b1cca2a042e11942b8e4e6dc
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke1-2/+1
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05use sensible indentationEike Rathke26-2000/+2004
that always annoyed me Change-Id: I0c439ddb00d78590b465cd47db6e60d1939bd9f7
2013-09-05use get*LocaleServiceNameEike Rathke1-12/+14
Change-Id: I24e10da4b511d0413268fe31ed02afe5f3b3734e
2013-09-05unused 'under'Eike Rathke1-2/+0
Change-Id: Ie924cf6d3ba3b95832b1176582765284acd9d5ea
2013-09-05use get*LocaleServiceNameEike Rathke1-30/+31
Change-Id: I976d6d565c7970858a5a259199fe14075e4f5d2e
2013-09-05use get*LocaleServiceNameEike Rathke1-34/+33
Change-Id: I57e388fcc730b0d5939cf85bcb14cbd5a41ee93e
2013-09-05renamed LocaleData to LocaleDataImpl to prevent confusionEike Rathke15-89/+89
... between com::sun::star::i18n::LocaleData of com/sun/star/i18n/LocaleData.hpp and i18npool/inc/localedata.hxx Change-Id: Id23f67c1e3a654fd4f2886029ee45fcc1f466879
2013-09-05use get*LocaleServiceNameEike Rathke1-25/+19
Change-Id: I4cd6a9a502b4bad11265ac5e42dc338b56b90598
2013-09-05handle language tagsEike Rathke1-5/+12
Change-Id: I7367fd5f48f4b2733f515ff63238072f21579d35
2013-09-05cUnder, cHyphenEike Rathke1-11/+12
Change-Id: I6c295f887d90809b63c5b13fee466a584d1f6404
2013-09-05use replace with sal_Unicode instead of replaceAll with OUStringEike Rathke1-3/+3
Change-Id: I69eda64c3604f4a38fade5dbc912879937b95e0a
2013-09-05use LanguageTag::convertToLocale()Eike Rathke1-8/+1
Change-Id: Id2cf7f550883f291d181d68d9dd91a7173b55310
2013-09-05use get*LocaleServiceNameEike Rathke1-38/+12
Change-Id: Ieb286027644446c1109ab4fc637445c3582e316e
2013-09-05added getFirstLocaleServiceName() and getFallbackLocaleServiceNames()Eike Rathke2-0/+40
Change-Id: I35d3c5baeb5501feacdfa146f5b7f4e4f1bba876
2013-09-04better error-checking for Language,Country,VariantEike Rathke1-5/+17
Change-Id: I4e4f896ca9af8be7118fc868d57f9e2fa6102d74
2013-09-04removed unused Platform elementEike Rathke25-75/+0
Change-Id: If1bb51a69e099e112cce32b8219688b17befa3a3
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer1-9/+0
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-30enable building against RHEL-6 system icuCaolán McNamara1-2/+6
Change-Id: I56f08d58d8d8a0e397412580451c90f9605bcb46
2013-08-21WaE: comparison of integers of different signsTor Lillqvist1-1/+1
'sal_Int32' (aka 'int') and 'com::sun::star::i18n::TransliterationModules' (which apparently then is unsigned, thanks to the TransliterationModules_IGNORE_MASK = 4294967040). Change-Id: I28aeb136d5a9889d6e95a080a77dfd0118c33285
2013-08-21finish deprecation of O(U)String::valueOf()Luboš Luňák2-12/+12
Compiler plugin to replace with matching number(), boolean() or OUString ctor, ran it, few manual tweaks, mark as really deprecated. Change-Id: I4a79bdbcf4c460d21e73b635d2bd3725c22876b2
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks1-3/+3
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>