summaryrefslogtreecommitdiffstats
path: root/i18nutil
Commit message (Collapse)AuthorAgeFilesLines
* remove unnecessary use of void in function declarationsNoel Grandin2015-04-151-2/+2
| | | | | | | | | | | | | | | | 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
* coverity#984097 Uninitialized pointer fieldCaolán McNamara2014-12-271-7/+8
| | | | Change-Id: I3098e446f0a2a4cd82785d7dcaf101575ed0b476
* upgrade to icu 54Caolán McNamara2014-12-191-0/+20
| | | | | | | 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>
* fdo#39440 reduce scope of local variablesMichael Weghorn2014-12-182-13/+11
| | | | | | | | | 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>
* i18nutil: Use appropriate OUString functions on string constantsStephan Bergmann2014-12-121-14/+14
| | | | Change-Id: I09f6c1d793c6d4f61c25649cfb463a41d88b23df
* Avoid undefined left shift of negative valueStephan Bergmann2014-05-281-5/+8
| | | | Change-Id: If4e7f6fca3f6afbbeaa79e00706be08d674e2aeb
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-153-6/+6
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* i18nutil: sal_Bool -> boolStephan Bergmann2014-02-183-8/+8
| | | | Change-Id: Ic4a198d737692734ae3fbc096f370a3aa0667c5b
* CLDR Version 24 doesn't know about es and sl using space before %Caolán McNamara2014-01-221-1/+12
| | | | Change-Id: I1c3e7dc28e389a9580239165d04b171e06f5618e
* use a narrow no-break space instead of (normal) no-break space for deCaolán McNamara2014-01-211-1/+7
| | | | Change-Id: Iae0c70ab713a0d95fa7bc447f8a79e244c5a4258
* Related: #i56998# use locale rules to format percentageCaolán McNamara2014-01-201-1/+1
| | | | Change-Id: I2cdeefc5a5a1ee970ee3da5191ceae28b58340a1
* Related: #i56998# provide a way to format % per-locale rulesCaolán McNamara2014-01-202-0/+29
| | | | Change-Id: Ic27b230cc9dce366f281ff720ded5873e94f6191
* Set PAPER_SCREEN_4_3 values back and use it as it wasZolnai Tamás2014-01-091-1/+1
| | | | | | It breaks things. Change-Id: Ia28391aed27051e5f6a7e0996f30b23c46eb8269
* Startcenter: use SCREEN_4_3 as default paper for presentationsZolnai Tamás2014-01-091-1/+1
| | | | | | | | | 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
* typo fixesAndras Timar2013-12-201-1/+1
| | | | Change-Id: Ia5f104bfd707bcf4e159c78ca2764c861fb0b6d9
* Related: rhbz#1040291 Change language name from 'Oriya' to 'Odia'Caolán McNamara2013-12-111-1/+1
| | | | | | | Except for our external api where the Oriya is stuck (and similar for the vba implementation) Change-Id: I8288c930567385eea49a4c303727b13ef8b8a89f
* -Werror,-Wshift-sign-overflowStephan Bergmann2013-11-141-1/+1
| | | | Change-Id: I8a7974baab4e32aa7fc53c4220ec4cb79e7b3074
* convert OUString !compareToAscii to equalsAsciiNoel Grandin2013-11-111-14/+14
| | | | | | | | | | Convert code like if( ! aStr.compareToAscii("XXX") ) to if( aStr.equalsAscii("XXX") ) which is both clearer and faster. Change-Id: I267511bccab52f5225b291acbfa4e388b5a5302b
* Exempler->ExemplarCaolán McNamara2013-10-211-1/+1
| | | | Change-Id: Id7e67d7e7bd4be6600a296a846512e9076c9df23
* i18nutil: Add new enumeration values from ICU 52Thomas Arnhold2013-10-211-1/+9
| | | | | | | | | | | | | | 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>
* s/wiki.services.openoffice.org/wiki.openoffice.org/gAndras Timar2013-09-072-3/+3
| | | | Change-Id: I059fbee385a109069c70f3869021c8e2ee48fee1
* Mark as constTakeshi Abe2013-08-113-10/+10
| | | | Change-Id: I220204cc5ebec15402ae175aef110abad8b00267
* Mark as const/staticTakeshi Abe2013-08-092-4/+4
| | | | Change-Id: I5d51d7e01913ac9917578f8c9789312af9be3638
* Mark as constTakeshi Abe2013-07-292-2/+2
| | | | Change-Id: Ib78b25641ae20a3eb23545649f08b963e34c74ff
* Fix icu version checks.Mark Wielaard2013-06-031-3/+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>
* officecfg: remove Package_cppheaderMichael Stahl2013-05-071-0/+4
| | | | | | Instead include generated headers directly from workdir. Change-Id: I9d2bcc07175d2bbc16d3cc548c2245e7a4fb0c65
* gbuild: drop uses of removed packagesDavid Tardon2013-04-241-2/+0
| | | | | | | Change-Id: I400fad08c0ae7b6b34bad63693f54856867e4dac Reviewed-on: https://gerrit.libreoffice.org/3502 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
* execute move of global headersBjoern Michaelsen2013-04-239-521/+0
| | | | | | | see https://gerrit.libreoffice.org/#/c/3367/ and Change-Id: I00c96fa77d04b33a6f8c8cd3490dfcd9bdc9e84a for details Change-Id: I199a75bc4042af20817265d5ef85b1134a96ff5a
* mass removal of rtl:: prefixes for O(U)String*Luboš Luňák2013-04-076-23/+22
| | | | | | | | 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
* -Wunused-macrosStephan Bergmann2013-03-271-22/+0
| | | | Change-Id: Ifaa1637122d6f9cae1e29b77ac36ca5d1f220aed
* remove legacy build.pl prj/build.lst files.Michael Meeks2013-03-141-2/+0
|
* remove all d.lstMichael Stahl2013-02-281-0/+0
| | | | Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
* Remove unused preprocessor defined functions in the unicode utilsMartin Brown2013-02-231-5/+0
| | | | | | | Also remove corresponding unusedcode.easy entries and an unusedcode.easy entry that I could not find in the master branch Change-Id: If329fe1226bd40f86cc0fd8d912876bf7a7984b2
* make it possible to build with system icu 4.2 (RHEL-6)Caolán McNamara2013-02-191-9/+11
| | | | Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
* gbuild: do not copy boost headers aroundMichael Stahl2013-01-261-1/+4
| | | | | | | | | - 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
* convert icu to gbuild and add to tail_buildPeter Foley2012-12-271-0/+2
| | | | | | | Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6 Reviewed-on: https://gerrit.libreoffice.org/1488 Reviewed-by: Tor Lillqvist <tml@iki.fi> Tested-by: Tor Lillqvist <tml@iki.fi>
* mvoe rtl_(u)string_alloc to salLuboš Luňák2012-12-061-2/+2
| | | | | | No point in hidding something useful like this in some helper lib. Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
* sal_Bool->bool in i18nutilNoel Grandin2012-10-042-3/+3
| | | | Change-Id: Iafb0095a1320ad785e1d0ccbaeac9f26cc4dd02f
* gbuild: invert handling of standard system libraries:Michael Stahl2012-09-281-2/+0
| | | | | | | Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
* gbuild: replace direct gb_STDLIBS use with ...Michael Stahl2012-09-281-1/+2
| | | | | | ... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
* gbuild: split uwinapi out of gb_STDLIBSMichael Stahl2012-09-281-0/+1
| | | | Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
* these 9 scripts are in icu >= 4.8, but not in 4.6.1Caolán McNamara2012-09-031-4/+9
| | | | Change-Id: I418968e0a8959730e5ef0c20769fd07ca1f8f23c
* Add a way to get a sample language for a given scriptcodeCaolán McNamara2012-09-032-0/+476
| | | | Change-Id: I3a0f561aa2838870c7fc35b2a976f133f3667104
* re-base on ALv2 code. Includes:Michael Meeks2012-07-1315-306/+194
| | | | | | | | | 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
* fdo#42986 - UI wide screen format (16:10): Add Page sizeRob Snelders2012-07-062-3/+5
| | | | Change-Id: Ie769c9a65e85f91395b3495fadb6f5e688cbe9af
* targetted improvement of UNO API includes / usageMichael Meeks2012-07-021-4/+1
|
* re-base on ALv2 code.Michael Meeks2012-06-215-115/+70
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* use new configmgr api and devomit visible codeCaolán McNamara2012-06-152-53/+8
| | | | Change-Id: I386725e07c34336249dfc935b1e9f9624d1d3be8
* reduce a gadzillion make_pairs executions to simple array of podCaolán McNamara2012-05-161-14/+11
| | | | Change-Id: I38249d12d0c4e7a732b505cf90e1e8806c718229
* Fix fdo#49720: Dropped unnecessary "sh -c" from popen callStephan Bergmann2012-05-101-1/+1
| | | | Change-Id: I5de4ce4e26d995c447c99c8558f621dba6cdf110