summaryrefslogtreecommitdiffstats
path: root/i18npool
Commit message (Collapse)AuthorAgeFilesLines
* Use boolStephan Bergmann2014-01-101-1/+1
| | | | Change-Id: I5b372ce78268d16fc629a47228875d31a298e189
* Use proper bool operationsStephan Bergmann2014-01-101-3/+3
| | | | Change-Id: I674ee59803fa5a1987787cf98f369dee63729adf
* fdo#72219: Fix for corruption of symbols in docxRohit Deshmukh2014-01-082-3/+22
| | | | | | | | | | | | | | 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>
* Fix LocaleDataImpl::getImplementationNameStephan Bergmann2014-01-081-4/+2
| | | | Change-Id: I36dd015635c30f63e2085c250e159fbd536da611
* added EUR as default currency to Latvia [*-LV] locale data, fdo#73239Eike Rathke2014-01-022-2/+16
| | | | Change-Id: Iee8da90c70589b8053c8c5b696afb4968072f47e
* fdo#54938: Convert i18npool to use cppu::supportsServiceMarcos Paulo de Souza2013-12-1825-75/+63
| | | | | Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
* No need for implbase1.hxx to include XComponentContext.hppStephan Bergmann2013-12-171-0/+4
| | | | | | | ...which it did unlike all the other implbaseN.hxx. Required lots of downstream clean-up, of course. Change-Id: Ib720e7a0a43410dcd7e6338b84a3973dfbb20866
* Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann2013-12-172-4/+4
| | | | Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
* cclass_Unicode failed to actually implement XServiceInfoStephan Bergmann2013-12-131-2/+2
| | | | Change-Id: I823c112bca495eb8997f2dc098e712cd745759c5
* remove unnecessary castsNoel Grandin2013-12-121-7/+7
| | | | | | | It is no longer necessary to cast to sal_Unicode when calling OUStringBuffer::append Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
* simplify - use OUString::startsWith where possibleNoel Grandin2013-12-122-2/+2
| | | | | | | | | Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
* Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2013-12-114-13/+13
| | | | | | | Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
* Remove UTF-8 comment.Tomofumi Yagi2013-11-281-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>
* encapsulate pRegexMatcher->find() to be able to monitor UErrorCodeEike Rathke2013-11-261-4/+20
| | | | Change-Id: I73359a4e2c36ffeca71210971ba9be670e0a12ae
* set a 23 enigma timeout at RegexMatcher, fdo#70627Eike Rathke2013-11-261-2/+24
| | | | Change-Id: I390bfec0d36dcc9529785e97994dad2b0704dc80
* remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin2013-11-221-2/+2
| | | | | | | A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
* added D/M DateAcceptancePattern, fdo#71836Eike Rathke2013-11-201-0/+1
| | | | Change-Id: Ic31811c287e2dc2908243a228a340c3005077297
* use Puinave_Colombia [pui-CO] locale data, fdo#71836Eike Rathke2013-11-202-1/+3
| | | | Change-Id: I59d553f7b70955de18562046f1d7aa5fae6e9fb1
* added Puinave_Colombia [pui-CO] locale data, fdo#71836Michael Bauer2013-11-201-0/+360
| | | | Change-Id: I82b093f7778a9d85016903cad1e39fc97f696cf2
* remove unnecessary RTL_CONSTASCII_STRINGPARAM in OString::appendNoel Grandin2013-11-201-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
* convert equalsAsciiL calls to startsWith callsNoel Grandin2013-11-201-2/+2
| | | | | | | | | | Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
* added date acceptance patterns to Canadian locales, fdo#71664Eike Rathke2013-11-193-0/+9
| | | | | | Complete set is now Y-M-D;M-D;M/D/Y;M/D Change-Id: I42ed59fb325b391943608a10ded7ce74c80656e1
* remove unnecessary use of OUString constructor when assigningNoel Grandin2013-11-191-2/+2
| | | | | | | | | change code like aStr = OUString("xxxx"); to aStr = "xxxx"; Change-Id: Ib981a5cc735677ec5dba76ef9279a107d22e99d4
* added [ar-AE] and [ar-KW] locale data referrers, fdo#71140Eike Rathke2013-11-194-0/+86
| | | | | | | for AED and KWD currencies, simply referring [ar-SA] in all other aspects Change-Id: I2ca19d1f7d2e807406bf207babe76cae967eea81
* renamed ku* to kmr-Latn*, fdo#63460Eike Rathke2013-11-183-3/+4
| | | | Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
* bugs.freedesktop.org -> bugs.libreoffice.orgAndras Timar2013-11-172-8/+8
| | | | Change-Id: I56c1190c93333636981acf2dd271515170a8a904
* remove unnecessary sal_Unicode casts in various placesNoel Grandin2013-11-145-13/+13
| | | | Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
* i18npool, forms: remove warnings_guard_unicode*.hMichael Stahl2013-11-147-130/+4
| | | | | | | | These horrible headers use "#pragma GCC system_header" and thereby prevent generated Makefile dependencies, which is what broke incremental builds after the ICU upgrade today. Change-Id: Ife983b3c4de86968da8a0187a1acb1bbb2b5c81f
* Add Lao breakiterator support for selecting and counting Lao words.Robert M Campbell2013-11-132-1/+26
| | | | | | | 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>
* Revert "Guard CharacterClassificationImpl with mutex."Kohei Yoshida2013-11-112-19/+5
| | | | This reverts commit fc04b55f7f96a4f70f31c145dafd44c1d9276a41.
* Guard CharacterClassificationImpl with mutex.Kohei Yoshida2013-11-112-5/+19
| | | | | | They are accessed from multiple threads frequently. Change-Id: I3f9720ede076109efe0b7eaa4a05dd50f2e38102
* convert OUString compareToAscii == 0 to equalsAsciiNoel Grandin2013-11-117-13/+13
| | | | | | | | | | Convert code like aStr.compareToAscii("XXX") == 0 to aStr.equalsAscii("XXX") which is both easier to read and faster. Change-Id: I448abf58f2fa0e7715dba53f8e8825ca0587c83f
* convert OUString !compareToAscii to equalsAsciiNoel Grandin2013-11-1112-12/+12
| | | | | | | | | | Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
* remove unnecessary use of OUString constructorNoel Grandin2013-11-113-59/+57
| | | | Change-Id: Ifb220af71857ddacd64e8204fb6d3e4aad8eef71
* added Bamanankan/Bambara_Mali [bm-ML] locale data, fdo#71361Eike Rathke2013-11-083-1/+369
| | | | Change-Id: Ie1e8c4beb3d2e17d311a5363d82feddfdff8e958
* remove INPATH and PROEXTMichael Stahl2013-11-071-1/+1
| | | | | | | | | | | | | | - WORKDIR path is just workdir - INSTDIR path is just instdir - WORKDIR_FOR_BUILD is workdir_for_build - INSTDIR_FOR_BUILD is instdir_for_build - replace other usage of INPATH by combination of OS and CPUNAME Change-Id: Ie398387ebd82a968ec2605f2103c55b43a231482 Reviewed-on: https://gerrit.libreoffice.org/6601 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
* fdo#63020: Replace ::comphelper::stl_begin()...Marcos Paulo de Souza2013-11-071-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>
* corrected Time100SecSeparator and quotation marks, fdo#71243Eike Rathke2013-11-061-7/+7
| | | | Change-Id: I86fc8a6e7a1b09f54a20db55b6079d945fdb7338
* don't access string out of boundsCaolán McNamara2013-11-061-1/+1
| | | | Change-Id: I562fbdb9eec3af297ea95a0d161721ec345e6a19
* added French (Burkina Faso) [fr-BF] locale data, fdo#71243Eike Rathke2013-11-053-0/+371
| | | | Change-Id: I788d1d1c54cc0a30cbbdc07066bf133c2814304a
* Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin2013-11-043-7/+7
| | | | | | This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
* Convert indexOf->startsWith and lastIndexOf->endsWithNoel Grandin2013-10-311-1/+1
| | | | | | | | | | | | | | | | | | | | | | This is both an optimisation and a cleanup. This converts code like aStr.indexOf("XX") == 0 to aStr.startsWith("XX") and converts code like aStr.lastIndexOf("XXX") == aStr.getLength() - 3 to aStr.endsWith("XXX") Note that in general aStr.lastIndexOf("X") == aStr.getLength() - 1 converts to aStr.isEmpty() || aStr.endsWith("X") so I used the surrounding context to determine if aStr could be empty when modifying the code. Change-Id: I22cb8ca7c2a4d0288b001f72adb27fd63af87669
* lets be super sure in the face of falling between surrogatesCaolán McNamara2013-10-291-1/+1
| | | | Change-Id: I6d8259df3d4f2e73f9236b7c0547f87c89801082
* cppcheck: Array index is used before limits checkJulien Nabet2013-10-291-4/+4
| | | | Change-Id: I51f7408a81a10e2c586cb05b863f20b13bb7b263
* iterateCodePoints() on empty string is no good anymoreEike Rathke2013-10-291-10/+14
| | | | Change-Id: Id2ddbbff90f3cd32c03c7623af6d458717c7e8a8
* Fix indentationKhaled Hosny2013-10-281-5/+5
| | | | Change-Id: I2bef2334392dba63f86b24917a50bf1eb0df98dc
* Do not access nextCellIndex (nor Text) past the endStephan Bergmann2013-10-281-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
* ha-GH is now ha-Latn-GHEike Rathke2013-10-283-3/+4
| | | | Change-Id: I9d7d2a0c4a6029e983689884d3daec3e9cab291b
* Related: fdo#69641 add a regression testCaolán McNamara2013-10-281-0/+26
| | | | Change-Id: Icf3324a224d02425acd679a286f3c4a0b7e3ed1c
* Related: fdo#69641 double iterateCodePoints doesn't make sense to meCaolán McNamara2013-10-281-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