summaryrefslogtreecommitdiff
path: root/i18nutil
AgeCommit message (Collapse)Author
2016-03-31use SAL_N_ELEMENTS more widelyNoel Grandin
found using git grep -n 'sizeof.*/.*sizeof.*[0]' Change-Id: Icd4a6cc1ca8ec8ebd68e1701a02789c74cf0eb2a
2016-02-15Rename rtl::isValidCodePoint -> rtl::isUnicodeCodePointStephan Bergmann
...and fix its documentation, and use it throughout the code base. Change-Id: I349bc2009b1b0aa7115ea90bc6ecd0a812f63698
2015-12-19coverity#1343620 Unchecked return valueCaolán McNamara
Change-Id: I5ac69ef416a1317644b451442a51531806d9cf0d
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: I55089fde808e9f564f424adc30717dfd8d141c37
2015-11-05related tdf#73691 - prevent AltX creating control charactersJustin Luth
Do nothing for numbers 0x00 - 0x1f. Change-Id: Idda596e735c464b97dc3624253ebbea86933ff2c Reviewed-on: https://gerrit.libreoffice.org/19654 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-28tdf#95354 - pad AltX to 4 charactersJustin Luth
Change-Id: I552f305e78427bdbd37e48013f5cc4b78024e8ff Reviewed-on: https://gerrit.libreoffice.org/19631 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-10-20com::sun::star->css in i18nutilNoel Grandin
Change-Id: I3148a1a08302fa9b21b0e5459f04ecee6ec30a18 Reviewed-on: https://gerrit.libreoffice.org/19455 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-29Updated URLAndrea Gelmini
Change-Id: I20656a78d25bcb767340057c259e9b2d83ec152a Reviewed-on: https://gerrit.libreoffice.org/18933 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-09-18boost->stdCaolán McNamara
Change-Id: Ie490bf2c6921f393bdeed96b1a8815996b701bf0 Reviewed-on: https://gerrit.libreoffice.org/18670 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-21loplugin:defaultparamsNoel Grandin
Change-Id: Iaf6415d3b33a4ce195a00913a0df69f1fb794217
2015-08-19for testing allow disabling configmgr for time critical pathsCaolán McNamara
Change-Id: I08021f18d53e1748927f8847649994f95252bbc2 Reviewed-on: https://gerrit.libreoffice.org/17844 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-08-12tdf#73691 Implement MSWord's Alt-X: toggle unicode notationJustin Luth
-toggles between characters and their unicode notation -sets Alt-X as a global keyboard accelerator -handles all of the unicode planes -intelligently handles combining characters -if text is selected, limits the input to that text -implemented in Writer, Draw, Impress Change-Id: Idcd8e7f0a4f1b81fa7f5f3200c76be19472ffa37 Reviewed-on: https://gerrit.libreoffice.org/17535 Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: I5afe7f9f5caa1f5e55c6218bdb3771571ff0dafa
2015-04-22Various #include <sal/log.hxx> fixupsStephan Bergmann
rtl/string.hxx and rtl/ustring.hxx both unnecessarily #include <sal/log.hxx> (and don't make use of it themselves), but many other files happen to depend on it. Cleaned up some, but something like grep -FwL sal/log.hxx $(git grep -Elw \ 'SAL_INFO|SAL_INFO_IF|SAL_WARN|SAL_WARN_IF') -- \*.cxx) shows lots more files that potentially need fixing before the include can be removed from rtl/string.hxx and rtl/ustring.hxx. Change-Id: Ibf033363e83d37851776f392dc0b077381cd8b90
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2014-12-27coverity#984097 Uninitialized pointer fieldCaolán McNamara
Change-Id: I3098e446f0a2a4cd82785d7dcaf101575ed0b476
2014-12-19upgrade to icu 54Caolán McNamara
Change-Id: I4d32ac386ff8b69bee4319e673769917045d9450 Reviewed-on: https://gerrit.libreoffice.org/13547 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2014-12-18fdo#39440 reduce scope of local variablesMichael Weghorn
This addresses some cppcheck warnings. Change-Id: I7e85aca5a86f993a9906525edffbd44a179dc245 Reviewed-on: https://gerrit.libreoffice.org/13510 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2014-12-12i18nutil: Use appropriate OUString functions on string constantsStephan Bergmann
Change-Id: I09f6c1d793c6d4f61c25649cfb463a41d88b23df
2014-05-28Avoid undefined left shift of negative valueStephan Bergmann
Change-Id: If4e7f6fca3f6afbbeaa79e00706be08d674e2aeb
2014-05-15Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2014-02-18i18nutil: sal_Bool -> boolStephan Bergmann
Change-Id: Ic4a198d737692734ae3fbc096f370a3aa0667c5b
2014-01-22CLDR Version 24 doesn't know about es and sl using space before %Caolán McNamara
Change-Id: I1c3e7dc28e389a9580239165d04b171e06f5618e
2014-01-21use a narrow no-break space instead of (normal) no-break space for deCaolán McNamara
Change-Id: Iae0c70ab713a0d95fa7bc447f8a79e244c5a4258
2014-01-20Related: #i56998# use locale rules to format percentageCaolán McNamara
Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
2014-01-20Related: #i56998# provide a way to format % per-locale rulesCaolán McNamara
Change-Id: Ic27b230cc9dce366f281ff720ded5873e94f6191
2014-01-09Set PAPER_SCREEN_4_3 values back and use it as it wasZolnai Tamás
It breaks things. Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269
2014-01-09Startcenter: use SCREEN_4_3 as default paper for presentationsZolnai Tamás
Remove static to able to construct items with different paper info. Fix SCREEN_4_3 width and height values and use it for presentations. Change-Id: Ifba44675f6126ebfccf26f53f226214bed92352c
2013-12-20typo fixesAndras Timar
Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
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-14-Werror,-Wshift-sign-overflowStephan Bergmann
Change-Id: I8a7974baab4e32aa7fc53c4220ec4cb79e7b3074
2013-11-11convert OUString !compareToAscii to equalsAsciiNoel Grandin
Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
2013-10-21Exempler->ExemplarCaolán McNamara
Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
2013-10-21i18nutil: Add new enumeration values from ICU 52Thomas Arnhold
WaE: enumeration values 'USCRIPT_CAUCASIAN_ALBANIAN' and 'USCRIPT_MAHAJANI' not handled in switch [-Wswitch] With ICU 4.9 there is no major/minor anymore, it's only ICU 49 or ICU 52. So adapt the previous check, too. Change-Id: Id938937b305165d407ced473ea1725e97efe9124 See: http://icu-project.org/apiref/icu4c-latest/uscript_8h.html Reviewed-on: https://gerrit.libreoffice.org/6365 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-09-07s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar
Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
2013-08-11Mark as constTakeshi Abe
Change-Id: I220204cc5ebec15402ae175aef110abad8b00267
2013-08-09Mark as const/staticTakeshi Abe
Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
2013-07-29Mark as constTakeshi Abe
Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
2013-06-03Fix icu version checks.Mark Wielaard
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-07officecfg: remove Package_cppheaderMichael Stahl
Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
2013-04-24gbuild: drop uses of removed packagesDavid Tardon
Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-04-23execute move of global headersBjoern Michaelsen
see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
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-03-27-Wunused-macrosStephan Bergmann
Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
2013-03-14remove legacy build.pl prj/build.lst files.Michael Meeks
2013-02-28remove all d.lstMichael Stahl
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-23Remove unused preprocessor defined functions in the unicode utilsMartin Brown
Also remove corresponding unusedcode.easy entries and an unusedcode.easy entry that I could not find in the master branch Change-Id: If329fe1226bd40f86cc0fd8d912876bf7a7984b2
2013-02-19make it possible to build with system icu 4.2 (RHEL-6)Caolán McNamara
Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
2013-01-26gbuild: do not copy boost headers aroundMichael Stahl
- do not use gb_UnpackedTarball_copy_header_files for boost - adapt the optimization in concat-deps.c for new path - use boost_headers in all LinkTargets that require it - add explicit include paths to mysqlc, mysqlcppconn, libvisio, liborcus Change-Id: I0c43e73ed43cc9d2e6bce8faf55e992d655a0bb9
2012-12-27convert icu to gbuild and add to tail_buildPeter Foley
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>