summaryrefslogtreecommitdiff
path: root/i18npool/source
AgeCommit message (Collapse)Author
2014-03-18convert sal_Char* to OUStringNoel Grandin
I can see no reason to store sBulletName as an sal_Char* instead of converting backwards and forwards from OUString Change-Id: Ib16b9f04c5738aa2346c9b5b4f28461fc8b60c4f Reviewed-on: https://gerrit.libreoffice.org/8641 Tested-by: Michael Stahl <mstahl@redhat.com> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2014-03-18Find places where OUString and OString are passed by value.Noel Grandin
It's not very efficient, because we generally end up copying it twice - once into the parameter and again into the destination OUString. So I create a clang plugin that finds such places and generates a warning so that we can convert them to pass-by-reference. Change-Id: I5341a6ea9e3190f4b4c05c42c85595e3dcd83361
2014-03-11coverity#704236 Logically dead codeCaolán McNamara
the nStartPos > 0 check is inside a nStartPos == 0 block so it can't happen so we'll return immediately, and so there's no point changing numberOfChange in that case either there Change-Id: Id6d7fc31033de5c6f3bb0a9ed03234b58c0d509e
2014-03-08coverity#707923 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ie1610a9e3df8e2844f4cc6b529d50db57ef8dc0e
2014-03-08coverity#707922 Uninitialized scalar fieldCaolán McNamara
Change-Id: I48f74be18664f8bf82e7b3f8576fef05b0e95630
2014-02-28remove unused code in i18npool/OFileWriterNoel Grandin
Specifically: OFileWriter::flush() OFileWriter::writeDefaultParameter(char const*, rtl::OUString const&) OFileWriter::writeParameter(char const*, char const*, rtl::OUString const&) Change-Id: Ie359be257b3c7493e31fcf4201818c29c9c3df53
2014-02-26added M-D abbreviated DateAcceptancePattern to [lgr-SB], fdo#72512Eike Rathke
Change-Id: Ia42f4a112a240ed38a9e8e53e4e92b48e9cacc10
2014-02-26added Lengo [lgr-SB] locale data, fdo#72512Eike Rathke
Change-Id: I1aa5e635448e2076f60c749e2640d9689a63f829
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from i18npoolAlexander Wilms
Change-Id: I1cd4254713ce9c1bc7c232414c24e926f1f8a653 Reviewed-on: https://gerrit.libreoffice.org/8269 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-23Remove unneccessary commentsAlexander Wilms
Change-Id: I939160ae72fecbe3d4a60ce755730bd4c38497fb Reviewed-on: https://gerrit.libreoffice.org/8182 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-02-18coverity#984096 Uninitialized scalar fieldNorbert Thiebaud
Change-Id: If67e1c48fba43fabcaffef92d96bc1377b4d1dd8
2014-02-17Resolves: fdo#45841 fix autocorrect of single quotes in MalteseCaolán McNamara
Change-Id: Id37ad55b8994b7ed40cdd569a016a68c7386b551
2014-02-12corrected Estonian [et-EE] quote charactersMihkel Tõnnov
Namely: Estonian has several sets of correct quote mark glyphs for double quotes („”, „“, «» are all common), however the Institute of Estonian Language [1] recommends using the first of these, i.e. „” (99 low, 99 high) [2]. As for single quotes, Estonian texts rarely use them, except in a few fields such as linguistics and biology -- and both ‘’ (9-9) and ’’ (6-9) are considered correct [2, 3]. However, apostrophe in the beginning of a word (which is effectively the same as a starting single quote) can also be used to indicate omitted character(s) -- but there, only ’ (9) is correct [3]. [1] Eesti Keele Instituut, the main official body which maintains and studies the usage of Estonian language; http://en.eki.ee/index.php [2] The last page of https://docs.google.com/viewer?url=http://keeleabi.eki.ee/pdf/164.pdf (in Estonian) [3] Handbook of Estonian Language, http://www.eki.ee/books/ekk09/index.php?p=2&p1=11&id=86 (in Estonian) Change-Id: If88e6e03e3e4aa1919a25dbe2fa2ffc8c9a04f4a
2014-02-11i18npool: Ctor feature for com.sun.star.i18n.InputSequenceCheckerMatúš Kukan
Change-Id: I7937b5ba09c00448678e71c1786f775998f0f6fa
2014-02-11coverity#707927 Uninitialized pointer fieldCaolán McNamara
Change-Id: I5011c4dfea02c8fab8ca3ee08bbed7f31396e3ec
2014-02-11coverity#707926 Uninitialized scalar fieldCaolán McNamara
Change-Id: Ib6dc7e409d89e4824b373db2cd7a13449c3c18ed
2014-02-11coverity#707925 Uninitialized pointer fieldCaolán McNamara
Change-Id: I0e1034a2ef064f9a3a05a0b8837efdff767ea715
2014-02-08coverity#705400 Argument cannot be negativeCaolán McNamara
Change-Id: Idfd95810f929d6485263c0a4fb1e24bfa31c48f8
2014-02-07Avoid generation of unused replaceFrom* variablesStephan Bergmann
Change-Id: I2a65485b8dcaa7b6ed4a049f97d460878b8bb17d
2014-02-07No need for virtual functions in OFileWriterStephan Bergmann
Change-Id: Ifd18bf16213a1c4b746eab16e563f0322fbc3690
2014-01-28bool improvementsStephan Bergmann
Change-Id: I64b038ad3b8d423dad6707fb0b2fd2127b2050a3
2014-01-27i18npool: Constructor feature for few more implementations.Matúš Kukan
Change-Id: I018bbe39a30582f51cdd620b3bf3240456b7bd65
2014-01-27i18npool: Ctor feature for css.i18n.CharacterClassification(_Unicode).Matúš Kukan
Change-Id: I5a0498a3871e2b90629af8ed6b725ff22f242fba
2014-01-27i18npool: Ctor feature for another services.Matúš Kukan
Change-Id: Id2346686ac2f6c537825d70cac1a537d09e351d5
2014-01-27i18npool: Ctor feature for few general services.Matúš Kukan
Change-Id: I1d489cacaf4717ab395b22a92e6dd6645cb92b1c
2014-01-21Fix bogus mass-conversion equalsAsciiL -> startsWithStephan Bergmann
3af99e4d59d89c343965a928681a30f36b1007d2 "convert equalsAsciiL calls to startsWith calls" should rather have converted to oprator ==. Change-Id: Id4a8836c5d6d570e54661c40be7214632e202b21
2014-01-10Use boolStephan Bergmann
Change-Id: I5b372ce78268d16fc629a47228875d31a298e189
2014-01-10Use proper bool operationsStephan Bergmann
Change-Id: I674ee59803fa5a1987787cf98f369dee63729adf
2014-01-08fdo#72219: Fix for corruption of symbols in docxRohit Deshmukh
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>
2014-01-08Fix LocaleDataImpl::getImplementationNameStephan Bergmann
Change-Id: I36dd015635c30f63e2085c250e159fbd536da611
2014-01-02added EUR as default currency to Latvia [*-LV] locale data, fdo#73239Eike Rathke
Change-Id: Iee8da90c70589b8053c8c5b696afb4968072f47e
2013-12-18fdo#54938: Convert i18npool to use cppu::supportsServiceMarcos Paulo de Souza
Change-Id: I9acc496cd95c8362972fa0c41d35b77fc0715aba Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-12-17Adapt all (non-extension, SharedLibrary) .components to environment="..."Stephan Bergmann
Change-Id: I56f38bd786f3a026cb2908f28540dc9c4003af83
2013-12-12remove unnecessary castsNoel Grandin
It is no longer necessary to cast to sal_Unicode when calling OUStringBuffer::append Change-Id: Iab3d1e12eef472cfe11f1d0d1969ca404091dd7d
2013-12-12simplify - use OUString::startsWith where possibleNoel Grandin
Convert code like if( !aStr.isEmpty() && aStr[0] == 'x' ) to if( aStr.startsWith("x") ) Change-Id: Iabc3a44ed3be2d29eed876e0eeef212ccd271edf
2013-12-11Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara
Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
2013-11-26encapsulate pRegexMatcher->find() to be able to monitor UErrorCodeEike Rathke
Change-Id: I73359a4e2c36ffeca71210971ba9be670e0a12ae
2013-11-26set a 23 enigma timeout at RegexMatcher, fdo#70627Eike Rathke
Change-Id: I390bfec0d36dcc9529785e97994dad2b0704dc80
2013-11-22remove unnecessary RTL_CONSTASCII_STRINGPARAMNoel Grandin
A final pass through the code, converting code to use the new OUString and OString methods that can detect string literals. Change-Id: Ifa6382335e5650a1c67e52006b26354e0692c710
2013-11-20added D/M DateAcceptancePattern, fdo#71836Eike Rathke
Change-Id: Ic31811c287e2dc2908243a228a340c3005077297
2013-11-20use Puinave_Colombia [pui-CO] locale data, fdo#71836Eike Rathke
Change-Id: I59d553f7b70955de18562046f1d7aa5fae6e9fb1
2013-11-20added Puinave_Colombia [pui-CO] locale data, fdo#71836Michael Bauer
Change-Id: I82b093f7778a9d85016903cad1e39fc97f696cf2
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19added date acceptance patterns to Canadian locales, fdo#71664Eike Rathke
Complete set is now Y-M-D;M-D;M/D/Y;M/D Change-Id: I42ed59fb325b391943608a10ded7ce74c80656e1
2013-11-19added [ar-AE] and [ar-KW] locale data referrers, fdo#71140Eike Rathke
for AED and KWD currencies, simply referring [ar-SA] in all other aspects Change-Id: I2ca19d1f7d2e807406bf207babe76cae967eea81
2013-11-18renamed ku* to kmr-Latn*, fdo#63460Eike Rathke
Change-Id: I8069657d8829a0315c704e884a1cf15b26e02eb8
2013-11-14remove unnecessary sal_Unicode casts in various placesNoel Grandin
Change-Id: Ibf04062ca86ed866202d748c3b62a210d30ed6ec
2013-11-14i18npool, forms: remove warnings_guard_unicode*.hMichael Stahl
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
2013-11-13Add Lao breakiterator support for selecting and counting Lao words.Robert M Campbell
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>