Commit graph

2604 commits

Author SHA1 Message Date
Norbert Thiebaud
2d16b82e09 remove include of pch header from i18npool 2011-11-27 13:12:24 -06:00
Norbert Thiebaud
992757cc5e remove pre-compiled header support in gbuild and gbuildified module 2011-11-27 11:49:38 -06:00
Eike Rathke
4e34d8fd5b added check if locale data's usedInCompatibleFormatCodes currency is really used there
and fixed the cases discovered by the check ...
2011-11-25 19:38:15 +01:00
Eike Rathke
0e0b3dfc9a added [pt-PT] legacyOnly currency to cope with change from Esc. to $ 2011-11-25 18:21:44 +01:00
Sérgio Marques
06b6e220b5 updated Portuguese [pt-PT] locale data 2011-11-25 18:21:43 +01:00
Bjoern Michaelsen
f2f0dbd273 make gbuild makefiles run independant of pwd again 2011-11-25 12:04:40 +01:00
Roman Eisele
0b00165c30 updated Latin [la-VA] locale data 2011-11-23 21:47:26 +01:00
Olivier Hallot
d3951ad050 i18n corrections for pt-PT (dates) 2011-11-23 13:54:21 +01:00
Xuacu Saturio
cc2ec946ef added Asturian [ast-ES] genitive case month names 2011-11-23 12:57:55 +01:00
Michael Bauer
d197a4d99c added Gaelic (Scotland) [gd-GB] genitive case month names 2011-11-23 12:47:40 +01:00
Yury Tarasievich
75a49370e6 added Belarusian [be-BY] genitive case month names 2011-11-23 12:29:57 +01:00
Eike Rathke
3b5ee26d2c added partitive case month names
* Locale data:
  * nominative (nouns) month names always given in <MonthsOfYear>
    element
  * optional genitive case month names in <GenitiveMonths> element,
    following the <MonthsOfYear> element; if not given take nominative
    names
  * optional partitive case month names in <PartitiveMonths> element,
    following the <GenitiveMonths> element, or following the
    <MonthsOfYear> element if the <GenitiveMonths> element is not
    present; if not given take genitive case names, or nominative if
    genitive names aren't defined
    * currently known partitive case matters in Finnish locales

* Rules for use of nominative / genitive / partitive case month names in
  number formatter:
  * no day of month (D or DD) present in format code => MMM or MMMM
    display nominative month name (noun)
  * day of month (D or DD) after MMM or MMMM => genitive name
    * no genitive names defined => nominative names
  * day of month (D or DD) before MMM or MMMM => partitive name
    * no partitive names defined => genitive names
      * no genitive names defined => nominative names
2011-11-22 14:52:41 +01:00
Eike Rathke
5e429334a9 remove obsolete linkermapfile-check.awk 2011-11-21 20:49:21 +01:00
Modestas Rimkus
a422892eee added Lithuanian [lt-LT] nominative / genitive case month names 2011-11-21 20:18:41 +01:00
Eike Rathke
3739278cef still cygwin is not unix 2011-11-21 14:13:26 +01:00
Fridrich Štrba
6b7f706958 i18npool depends on offapi 2011-11-21 09:50:57 +01:00
Eike Rathke
63d29ac431 hopefully gb_Executable_EXT_for_build does it 2011-11-20 03:14:34 +01:00
Eike Rathke
ef23848eb2 change OUTDIR to OUTDIR_FOR_BUILD for cross-compilation 2011-11-20 01:06:02 +01:00
Caolán McNamara
1777dfacf2 clocaledata is a char array, so can use RTL_CONSTASCII_foo 2011-11-19 21:11:03 +00:00
Eike Rathke
4b030331f7 add narrow (one letter) month names
While introducing Calendar2 and the XCalendar3 interface anyway, as well the
"one letter" narrow month names sometimes needed in calendaring can be added.
These are not always the first capitalized letters of the months in all
locales, and might even not necessarily be just one character.

Introduces a new struct css::i18n::Calendar2 that is not derived from
css::i18n::Calendar because it uses a new struct css::i18n::CalendarItem2 to
hold the NarrowName elements.

In locale data the elements DaysOfMonth, MonthsOfYear and GenitiveMonths now
have an optional element DefaultNarrowName. If not specified, the first
character of DefaultFullName is taken.

LocaleDataWrapper and CalendarWrapper use and return the new Calendar2 and
sequences of CalendarItem2 structs. Application code adapted.

The number formatter now displays narrow month names (genitive if applicable)
for the MMMMM code, previously it displayed the first 16 bit code point of the
full name (not even utf-16 aware).

Narrow day names currently are not used, except in svtools' Calendar control.
2011-11-19 16:15:22 +01:00
Eike Rathke
a7dbdbf820 implement possessive genitive case month names locale data API 2011-11-19 16:15:21 +01:00
Eike Rathke
19f607d783 let's have some sensible indentation 2011-11-19 16:15:20 +01:00
Eike Rathke
f8a352c746 squeeze some duplicated code 2011-11-19 16:15:20 +01:00
Eike Rathke
74ec768623 implement possessive genitive case month names locale data
New optional element GenitiveMonths within the Calendar element, after
MonthsOfYear. If not specified, the MonthsOfYear elements are taken.
2011-11-19 16:15:20 +01:00
Eike Rathke
8eb050cbd6 generated locale data .cxx depends on saxparser generator 2011-11-19 16:15:19 +01:00
Eike Rathke
33f591aa6d adapt doctype url to reality 2011-11-19 16:15:18 +01:00
Tor Lillqvist
c81bdf3bcd Do build cpputools also for non-DESKTOP OSes, needed for bridgetest 2011-11-17 17:57:23 +02:00
Norbert Thiebaud
0ea8c014ef tweak gbuild standart Makefile to allow partial build in unsourced env
This allow to run make in a module wihtout the need to source
Env.Host.sh.
2011-11-16 06:18:54 -06:00
Stephan Bergmann
f66ac29343 Make .component files directly usable within UNO_SERVICES.
* solenv/bin/createcomponent.xslt simply surrounds it output by <components>.
* solenv/gbuild/CppunitTest.mk got new functions
gb_CppunitTest_add[_old]_component[s] (like their gb_RdbTarget_ predecessors).
* This obsoleted current uses of solenv/gbuild/RdbTarget.mk, which also does not
work currently, as it catenates the input component files instead of passing
them through packcomponents.xslt (which now takes care about the surrounding
<components> in the input).  In the future, it will likely be combined with the
recently added solenv/gbuild/ComponentsTarget.mk.
2011-11-11 10:53:23 +01:00
Stephan Bergmann
c1bd2a254b New LO_{LIB,JAVA}_DIR make special inbuild component handling superfluous. 2011-11-10 13:36:20 +01:00
Caolán McNamara
12db5315fc Follow UAX-29 and present user-perceived character counts
Not a count of code-units, nor a count of code-points, but try and follow
http://unicode.org/reports/tr29/ and present the grapheme count.

Add a few representative tests to try and avoid gotchas.
2011-11-03 12:18:17 +00:00
Matúš Kukan
c77a9254dd no need for SRCDIR parameter here 2011-10-23 13:20:29 +02:00
Caolán McNamara
41c083a7ad expose an API to map from UScriptCode to i18n::ScriptType 2011-10-21 11:27:38 +01:00
Andras Timar
003973f5d4 add Pali language (Latin script) - fdo#41599 2011-10-10 11:48:29 +02:00
Bjoern Michaelsen
e94a19f3e0 simplfy dmake to gbuild bridgefile 2011-10-05 00:31:50 +02:00
Bjoern Michaelsen
266598b810 adapt i18npool unittests to separate RdbTarget makefile requirement 2011-10-04 18:34:24 +02:00
Jan Holesovsky
28a9c86ffa Fix typo (SYSTEM_GENCODE, instead of SYSTEM_GENCCODE). 2011-10-04 09:43:17 +02:00
Tor Lillqvist
e0c40b71a9 WaE: possible loss of data, assignment within conditional expression 2011-10-04 07:59:36 +03:00
Jan Holesovsky
b08a764af9 Fix the build / host confusion around icu tools. 2011-10-03 14:10:57 +02:00
David Tardon
e2fdfea605 WaE: suggest braces around empty body in an 'else' statement 2011-10-03 09:10:33 +02:00
Michael Meeks
d0edcf0a55 split 'test' into 'unotest' and 'test' to help dependencies 2011-09-28 17:55:26 +01:00
Michael Meeks
90a5396242 disable use of test's unoexceptionprotector for now, to break dep loop 2011-09-28 15:16:48 +01:00
Stephan Bergmann
6671fa81db Removed uses of rtl::O[U]String[Buffer]::operator sal_{char|Unicode} const *(). 2011-09-27 20:22:03 +02:00
Andras Timar
a705aec511 add KeyID option to Language dropdown box 2011-09-17 10:18:18 +02:00
Stephan Bergmann
a30a9f5e18 Added dependency on test so that unoexceptionprotector works in i18npool after all.
Sorry for the noise...
2011-09-16 11:01:33 +02:00
Stephan Bergmann
4893f96ea3 Removed unoexceptionprotector stuff from last commit again; appears not to work here. 2011-09-16 10:50:33 +02:00
Stephan Bergmann
0c0c31e183 Removed leftover makefile.mk after gbuildization. 2011-09-16 10:42:51 +02:00
Stephan Bergmann
7d1bb036e1 Simplified setting headless mode for smoke-/subsequenttetss.
Both C++ and Java OfficeConnection code now always pass --headless, so no
need for SAL_USE_VCLPLUGIN=svp etc. any more.  Only some C++ unit tests that
link against vcl still need an explicit --headless.
2011-09-16 10:38:06 +02:00
Stephan Bergmann
d996328cd5 sb140: #i113503# mixing system CppUnit and OOo STLport does not work, backed out a6913c9677c2
For LibO, that just means replacing sal/cppunit.h with sal/precppunit.hxx.
2011-09-12 22:47:50 +02:00
Tor Lillqvist
81ad165213 Get the file: URIs right 2011-09-07 18:04:02 +03:00