Commit graph

2995 commits

Author SHA1 Message Date
Thomas Arnhold
d5caf6898b loplugin: unused variables
Change-Id: I7fc203900256839e679bf73b717d121fedc42087
2013-02-24 17:44:31 +01:00
Julien Nabet
3a014901fd Fix typo seperated/separated
Change-Id: I133423de994b1befe246b6c921802428a3528202
2013-02-23 17:20:45 +01:00
Tor Lillqvist
616c6924f1 s/the the/the/
Change-Id: Iadacffaad832c6ff06757e8567e24f929f24a4c3
2013-02-22 09:58:19 +02:00
Caolán McNamara
138e5a0518 make it possible to build with system icu 4.2 (RHEL-6)
Change-Id: I69bf7bc33a619c4aa9483e2dc3d5540e4dfa7458
2013-02-19 15:42:14 +00:00
Eike Rathke
555d88d003 added reset(rtl_Locale)
Change-Id: I1bc83dd4e5286f7102513d8a4c7d5624952eb830
2013-02-19 00:45:26 +01:00
Eike Rathke
2c36a832b8 for now convert using MsLangId::convertUnxByteStringToLanguage()
Change-Id: Iaedd4bd6eda1db293fa3dc6222c7353ce466ec04
2013-02-19 00:27:56 +01:00
Eike Rathke
6c89f2e74a prepare LanguageTag(rtl_Locale) for handling variant/modifier
Change-Id: Ic500bb2eecd090d5568703740c3700c6d50635ae
2013-02-18 23:23:09 +01:00
Eike Rathke
8d23b47454 added LanguageTag::getFallbackStrings()
Change-Id: Ia597cb184e0402e776cde50967541f008e22d4c9
2013-02-18 17:51:20 +01:00
Eike Rathke
ca04dec8b9 added LanguageTag::hasScript()
Change-Id: If9eaca46ef8daa544ee208444f79423122b10739
2013-02-18 17:51:20 +01:00
Eike Rathke
5918c7c84c use LanguageTag(rtl_Locale) ctor
Change-Id: Ie668d40b815ae1cbcdb321649d8e52513cad1aec
2013-02-15 13:57:26 +01:00
Noel Grandin
e2ab5539a4 fdo#46808, convert i18n::InputSequenceChecker to new-style
Change-Id: I29678d74ae3c6dc38d3d09e2cf4a0d4f28f789a1
2013-02-12 10:14:41 +02:00
Noel Grandin
c4d051c5db fdo#46808, Adapt ConversionDictionaryList UNO service to new style
Change-Id: I16efc7466a2dbcccb4dddefdccada8549e7252f8
2013-02-11 08:02:11 +02:00
Jean-Noël Rouvignac
97eb8a6e0e Removed several useless macros: A2OU, A2S, C2U, C2S, OUSTR, OUSTRING
Change-Id: Ie859cb2dfdc7103c379fce56be88eef8fe390afd
Reviewed-on: https://gerrit.libreoffice.org/1924
Tested-by: Luboš Luňák <l.lunak@suse.cz>
Reviewed-by: Luboš Luňák <l.lunak@suse.cz>
2013-01-30 12:54:40 +00:00
Michael Stahl
fc81393c7f gbuild: remove various pointless calls that don't add anything
Change-Id: I7eccac4fa8890c2873c6bbd7f8f5bf5b0dd006d2
2013-01-26 22:20:07 +01:00
Michael Stahl
a53586f4ef gbuild: do not copy boost headers around
- 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
2013-01-26 22:20:06 +01:00
Andras Timar
828dfdd4fb unify the spelling of 'Kazakh' language name
While 'Kazakh' can be written as 'Kazak' or 'Qazaq', the 'Kazakh' form
is the most widespread according to online sources (Wikipedia,
LCID list from Microsoft). Also the 'Kazakh' form is preferred by a
Kazakh contributor, see http://listarchives.libreoffice.org/global/l10n/msg05444.html
In LibreOffice both 'Kazak' and 'Kazakh' was used at different places.

Change-Id: Ief83eb05e92af16cb5b795f2bbb1e3d6f7c9659a
2013-01-26 11:36:53 +01:00
Stephan Bergmann
556f948812 Do not hide information about UNO bootstrap failures
Change-Id: I42ce84a00c4de60d30093f58214f76647ff03097
2013-01-16 11:39:02 +01:00
Tadele Assefa
4cb248cfae fdo#59197 added Sidama_Ethiopia [sid-ET] locale data
Change-Id: Id40a5f1d726b9d2b4cf78fbbf51d980517c743a1
2013-01-15 12:56:09 +01:00
Noel Grandin
549578a4ea fdo#46808, Convert services in i18npool to XComponentContext
Change-Id: I3aeaca995bc9a3d865b6955aa47cee4d9eb07750
2013-01-15 09:56:02 +02:00
Eike Rathke
79a3c9b186 partly revert 92a9b7780c for ICU < 49
Re-enable build with ICU 4.6 and 4.8
ICU versions prior to 49 don't know Conditional_Japanese_Starter and
Hebrew_Letter

Also, the change in i18npool/CustomTarget_breakiterator.mk

- -e "s#\[:LineBreak = Close_Punctuation:\]#\[& \[:LineBreak = Close_Parenthesis:\]\]#" \

with i18npool/source/breakiterator/data/line.txt

-$CL = [:LineBreak = Close_Punctuation:] ;
+$CL = [:LineBreak = Close_Parenthesis:];

did not produce equivalent results. Instead use

$CP = [:LineBreak =  Close_Parenthesis:];
$CL = [[:LineBreak =  Close_Punctuation:] $CP];

Change-Id: I14fc14319ea34f23393264560452a79bb49fc3a7
2013-01-02 19:23:03 +01:00
Tor Lillqvist
993c3bff01 We don't use these when DISABLE_DYNLOADING
Change-Id: I3be187cf7e87697e37a6dafbcdf8d0a4b924639e
2013-01-01 11:39:50 +02:00
Tor Lillqvist
5275fabcb0 WaE: private field 'hModule' is not used
Change-Id: If3fc6937e66e9261255a9b197f995d923cc31132
2013-01-01 11:32:50 +02:00
David Tardon
edf6730fd5 add runtime deps for custom targets
Change-Id: I49272003ea72c84c9e81bc826820b0ac5f9d5008
2012-12-30 17:15:48 +01:00
Caolán McNamara
92a9b7780c follow logical consequences of a minimum icu version of 4.6
since commit f20ed8959b

Change-Id: I4f2fc5d9eb7a581b9ed707a3c3f96be817141846
2012-12-29 18:02:25 +00:00
David Tardon
27a66ce174 gendict is internal tool, not part of ICU
Change-Id: Ica89dc89663ed3fa611e36245732b296386b5bf7
2012-12-29 14:29:29 +01:00
David Tardon
6306926e03 register ICU tools as external executables
Change-Id: Ia6c96d3db5c232cb393832c1dd4e33295827bb99
2012-12-29 13:03:48 +01:00
David Tardon
bbf2f41395 rethink external executable setup
Change-Id: I5293fea9b5404b82e72761407d325c408a2e45ca
2012-12-29 12:57:50 +01:00
Peter Foley
c4f444dc40 fix icu deps again
Change-Id: Iecc35559cf77e844a84e1f058cb57c02d53493a2
2012-12-28 13:04:42 -05:00
Peter Foley
38c57836ba fix icu deps
Change-Id: I1763b73e80a19244d0fd788580c825c284347a35
2012-12-28 12:30:34 -05:00
Peter Foley
b92a0d9208 convert icu to gbuild and add to tail_build
Change-Id: Id7d8bc05b1393cc2bae4a531c8a47f62df24b1d6
Reviewed-on: https://gerrit.libreoffice.org/1488
Reviewed-by: Tor Lillqvist <tml@iki.fi>
Tested-by: Tor Lillqvist <tml@iki.fi>
2012-12-27 15:53:39 +00:00
Michael Meeks
896e326ace getFunctionSymbolByName: make fall-back locale actually work
Change-Id: I7313cca3335e1b41df2a70fe968bc1e6386a1e36
2012-12-21 20:03:44 +01:00
Stephan Bergmann
b1959dbfad Remove unused cppuhelper/servicefactory.hxx includes
Change-Id: I27fd4d1f1dfafccaa7936defb5cd687d6266e0a2
2012-12-21 15:56:44 +01:00
Stephan Bergmann
373734a1e2 Adapt i18npool saxparser to defaultBootstrap_InitialComponentContext
...instead of deprecated cppu::createRegistryServiceFactory.

Change-Id: I64431f3d404e24267953de3fb94e3e5241db30a8
2012-12-21 15:56:44 +01:00
Michael Meeks
9c6006b961 fdo#58590 - cleanup and accelerate break-iterators.
Doing word-count by switching per-word between two different
kinds of word iterator was insanely slow. This preserves an
ICU break-iterator for each type of word-breaking.
2012-12-21 11:40:02 +00:00
Tomáš Chvátal
f20ed8959b Require icu 4.6 or later with system icu
Change-Id: I8c0da25a000e10d65479665a61be054fdb2486a5
Reviewed-on: https://gerrit.libreoffice.org/1453
Reviewed-by: David Tardon <dtardon@redhat.com>
Tested-by: Tomáš Chvátal <tchvatal@suse.cz>
2012-12-20 22:52:19 +00:00
Eike Rathke
fff4d12086 added [hr-HR] D.M.Y. date acceptance pattern (dot after year)
Change-Id: Ie212f2e91b3ef262997bcd125817769ae24c16c3
2012-12-19 12:54:30 +01:00
Eike Rathke
09bc1464ec introduced [mul] multiple and [und] undetermined language codes
Various places use an empty locale or string to indicate different
meanings and/or variants of "this is not a real locale but I didn't know
what to use else" or abuse LANGUAGE_DONTKNOW in one or the other way. In
preparation of changing that awkward situation now offer the ISO 639
codes for multiple languages [mul] and language undetermined [und],
mapping to LANGUAGE_MULTIPLE and LANGUAGE_UNDETERMINED.

Change-Id: I687de23ffc00a9a056f2837b024e0a62658e3df2
2012-12-13 13:53:31 +01:00
Eike Rathke
4d24507451 avoid liblangtag processing for known locales, and know 'qtz'
For "simple" known (to us) locales avoid the overhead of liblangtag,
also in preparation of not having to initialize its database during
startup.

This also enables recognition of the 'qtz' pseudolocale for key ID
resources again, see fdo#57413

Change-Id: Id52a1ddc37b42063e3bf68a6dbeaeacfbfa704ef
2012-12-11 13:00:31 +01:00
Eike Rathke
b1184f8a4e fdo#52240 added [hr-HR] date acceptance patterns D/M/Y;D/M
As per https://bugs.freedesktop.org/show_bug.cgi?id=52240#c59

Change-Id: I9f5ba81c5fd6732ca7e90e0480fcc02ed2709674
2012-12-10 15:03:31 +01:00
Eike Rathke
638993d9b8 fdo#52240 added [no-NO] date acceptance patterns D.M;D/M/Y;D/M;D/M Y
Also referenced by nb-NO and ny-NO
Changes as per http://erack.org/blog/archives/18-comments.html#c351

Change-Id: I9e07f4307800e99fdff21bccde91af4178b244f3
2012-12-10 15:03:31 +01:00
Luboš Luňák
81e16cea9a mvoe rtl_(u)string_alloc to sal
No point in hidding something useful like this in some helper lib.

Change-Id: I7332d7f6bd428378cd19e7e95ad130771a541140
2012-12-06 13:35:18 +01:00
Luboš Luňák
ce90f99a2d fixes for where fast string operator+ is not perfectly source compatible
Change-Id: I80af0399037e4f68113338139e7f2ad2400e65ab
2012-12-03 18:04:24 +01:00
Michael Stahl
1658e4efac RepositoryExternal.mk: clean up awful icudata/icui18n duplication
Change-Id: Ic4794d9a908b60220a4a849ff263eaa08776550c
2012-12-02 20:58:32 +01:00
David Tardon
c2eca359af move setting up of ext. executables out of gbuild.mk
Change-Id: Icacd44abfa5bf5f75f0ee719b39fba6821976a8a
2012-12-02 10:56:48 +01:00
Paula Mannes
a14cc23318 Removed useless method from languagetag
Change-Id: I683c54ed278d5a6ba12eaefb8040c3753a24f119
Signed-off-by: Paula Mannes <paulamannes@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1204
Reviewed-by: Olivier Hallot <olivier.hallot@alta.org.br>
Tested-by: Olivier Hallot <olivier.hallot@alta.org.br>
2012-11-30 16:58:06 +00:00
Eike Rathke
84f24288ee added rtl_Locale convenience ctor
Change-Id: I195506b32a5cbf751ac90ad1ab13680097c8c428
2012-11-30 17:27:07 +01:00
Andras Timar
14569b316a add Sidama (sid) language
Change-Id: I7c7fb38d7df5aecda8e81443aa7045479e0efceb
2012-11-30 15:23:15 +01:00
Eike Rathke
c506650b21 resolved fdo#57668 additional date formats using '/' separator
Change-Id: I0736670512dd54e67fc08b65b9fad56ab904c92d
2012-11-29 17:11:30 +01:00
Eike Rathke
66308dd049 changes to Congolese locales
Changes to commit a81a9109ed43e0b3880c9bd88e58f2b21065226b

The ..._CONGO identifier and "... (Congo)" resource string changes are
only to match the current convention that if a locale is not of the
default country of a language we mention the country. This helps in case
we later add the other locale of a language. Having two Lang-IDs then
with different sublanguage and adding the ISO locales is good practice.

For axk-CG it should be LANGUAGE_USER_YAKA_CONGO instead of
LANGUAGE_USER_AKA and the resource string should be "Aka (Congo)",
because it is not the default axk-CF (Central African Republic), see
http://www.ethnologue.com/show_language.asp?code=axk

For kng-CG it should be LANGUAGE_USER_KIKONGO_CONGO instead of
LANGUAGE_USER_KIKONGO and the resource string should be "Kikongo
(Congo)", because it is not the default kng-CD (Democratic Republic of
the Congo), see http://www.ethnologue.com/show_language.asp?code=kng

However, changed name to Koongo instead of Kikongo because that is the
default name even for Congo, see
http://www.ethnologue.com/show_language.asp?code=kng, and used
LANGUAGE_USER_KOONGO_CONGO instead.

For njy-CG it should be LANGUAGE_USER_NJYEM_CONGO instead of
LANGUAGE_USER_NJYEM and the resource string should be "Njyem (Congo)",
because it is not the default njy-CM (Cameroon), see
http://www.ethnologue.com/show_language.asp?code=njy

For puu-CG it should be LANGUAGE_USER_PUNU_CONGO instead of
LANGUAGE_USER_PUNU and the resource string should be "Punu (Congo)",
because it is not the default puu-GA (Gabon), see
http://www.ethnologue.com/show_language.asp?code=puu

For yom-CG it should be LANGUAGE_USER_YOMBE_CONGO instead of
LANGUAGE_USER_YOMBE and the resource string should be "Yombe (Congo)",
because it is not the default yom-CD (Democratic Republic of the Congo),
see http://www.ethnologue.com/show_language.asp?code=yom

For each of these ..._CONGO lang-IDs introduced the default ID and made
the ..._CONGO ID with sublanguage 0x20, adapted corresponding IDs in
*.xml files.

All IDs in those *_CG.xml files needed to be corrected anyway as they
all had a replaceTo="[$CFA-63A]" copied from sg_CF.xml, the ID needs to
match that of the LangID instead.

As all LC_FORMAT element section were identical, made them refer to
kng_CG instead of having duplicated copies, same for LC_CURRENCY.

Removed the executable permission bits from *_CG.xml files.

Change-Id: Iae06af5fbf19e3a3c83a4f4b4dcb857213df629e
2012-11-28 18:34:41 +01:00
Jeremy Brown
c69221a2f1 Add/modify locales & language list entries for Congolese languages
Change-Id: I9f65022cee5dc0201ab45192b3731115ba50f27d
2012-11-28 18:34:41 +01:00