Age | Commit message (Collapse) | Author | Files | Lines |
|
TransliterationImpl::transliterate() has a slow-path for the case when
more than one trasliteration module is cascaded which swaps 2
uno::Sequence. This is unbelievably slow because non-const
Sequence::operator[] does a function call into cppu to check whether COW
has to be done.
This speeds up transliterate() from 344 billion to 101 billion callgrind
cycles when built with GCC 4.9.2 -m32 -Os.
Commit d2771b63b94a8aae3c25c83e9dae9f83242f46c1 added a second
transliteration module that is enabled by default, making the problem
visible, especially with long paragraphs in Writer.
Change-Id: I2799df9173ac73aab8c4eb4cc6f592976b06c8da
(cherry picked from commit 88d4b2fb08b983531b1e0abc71b07f4bdecdc925)
Reviewed-on: https://gerrit.libreoffice.org/14644
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 5e28588770fa27eb210d004aec2f56e28fe01252)
|
|
In the locale data xml file, formatindex 47 is used for date-and-time
editing. If the format code does not match the defined date/time
separators, it will cause the cell value to be treated as string text
(rather than a date time value).
Change-Id: I75a59d943d832f28a0a6153a17e6f671e5328abd
Reviewed-on: https://gerrit.libreoffice.org/13306
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit d00a3722b46314c927ba392a31fe4ff5ebc5c0b5)
Reviewed-on: https://gerrit.libreoffice.org/13313
|
|
As could be seen when running in dbgutil build or with environment
variable OOO_ENABLE_LOCALE_DATA_CHECKS=1
Change-Id: Iaf3b4cbe58acea9fa8aed0b1793e0ff28c089de6
(cherry picked from commit 68290fec9a8b9b8e8c73408c8b9cd80097b273fb)
Reviewed-on: https://gerrit.libreoffice.org/12293
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I08c82639da2acd5830fa69044b252217b69c5e62
Reviewed-on: https://gerrit.libreoffice.org/11089
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
(cherry picked from commit a150d06bc5cda4f18364256af859fd3e1ee70b4b)
Signed-off-by: Andras Timar <andras.timar@collabora.com>
|
|
aa33dd16b0e3075f28c56656678c0f5cb7642222 changed the currency symbol
from ¢ to ₡ but changed only the symbol. Actually changing the number
format codes wasn't necessary at all, but changing only the symbol is
wrong, see also the ATTLIST Currency legacyOnly description in
i18npool/source/localedata/data/locale.dtd
Hopefully nothing relies on the actual symbol used in the number format
codes ...
Change-Id: I92e79403fbb80f18c44dc3ecf5a3830a52fd2ff8
(cherry picked from commit aa1c549e65d103910904a75d19672240da10cc54)
Reviewed-on: https://gerrit.libreoffice.org/11849
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I569d203178668a2d63f4a53baca51ac16bf2361a
Reviewed-on: https://gerrit.libreoffice.org/11776
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 99fa3b7df7c97b7adc97092baf3f147e165d8576)
|
|
Found while trying to reproduce fdo#83141, but not related to
that - it just happened to trigger the relevant assert on a dbgutil
build.
The change to TextSearch::NSrchFrwrd() fixes the crash triggered
by reproducing the above bug.
The change to TextSearch::NSrchBkwrd() is by analogy but seems an
equally good idea.
Change-Id: I68c2c87b632dd53453f92394519a06f62e41bbad
Reviewed-on: https://gerrit.libreoffice.org/11830
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
(cherry picked from commit 555a7a601b33c18472be7e99b0f9c8acb05a82d7)
Reviewed-on: https://gerrit.libreoffice.org/11846
|
|
See https://en.wikipedia.org/wiki/Costa_Rican_col%C3%B3n
Cherry-picked from aa33dd16b0e3075f28c56656678c0f5cb7642222
Change-Id: I6c30b2bd244f2ea40d56c812673922f27f5d53c8
Reviewed-on: https://gerrit.libreoffice.org/11635
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
The "ParentNumbering" property is not a string.
(regression from 97eb8a6e0eb830f37dcba64a51d725aab4c5ff53)
Change-Id: Ib33e95847b388bb1126a63812e128c96a0c00730
(cherry picked from commit 4d3c9ed257e51af55f358d2b44d5fc2e341c7202)
Reviewed-on: https://gerrit.libreoffice.org/10874
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: I4bbcff7963520426d4c04e15d2239431aff65b56
(cherry picked from commit 414540aecae90774e12390cfcf8f0a37e10684b4)
Reviewed-on: https://gerrit.libreoffice.org/10044
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Change-Id: Iacf84d023d3b4795892bc444299a29bfc663345e
Reviewed-on: https://gerrit.libreoffice.org/10001
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
This reverts commit 259d3421d4cf7788d9099daa40fc181c661783ee.
Change-Id: I59564fb26111891f01ef062a598e2d61b29b41fe
Reviewed-on: https://gerrit.libreoffice.org/10000
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
|
|
Change-Id: I1d8af400810b9ffd4586320c706a1f00ef1c1369
(cherry picked from commit 90b418b759433042f9c0e6647ddef96579640ab6)
|
|
Currently seconds in Japanese date/datetime cells can't be edited.
But i18npool/source/localedata/data/locale.dtd and
offapi/com/sun/star/i18n/NumberFormatIndex.idl say that seconds in
time/datetime cells should be editable. And Japanese users
reported that current behavior is inconvenient.
Also to retain relativity against @formatindex='40', each
[@usage='TIME']/@type are shorten.
For better backward compatibility, @formatindex='55' should be
default format. But since there is implementation limit of
SvNumberFormatter::ImpGenerateFormats, @formatindex>=50 can't
be default one.
These changes are discussed in Japanese ML:
http://listarchives.libreoffice.org/ja/discuss/msg03044.html
Change-Id: Id65125d14183d0e6e61ddb29682e16c2b4cb1f83
Reviewed-on: https://gerrit.libreoffice.org/9705
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
... as it is in all other fr-* locales.
Change-Id: I7eec17984428b026ccc48198b0acd7e2eafd959e
(cherry picked from commit 05eccdfc3464839ebc1d283b648588be671d65b9)
|
|
Change-Id: Ia0f648f4ca601d8ecfb57386ca94942a928907e3
(cherry picked from commit 483c20b148a1e71074897a709136868e694d5d21)
|
|
Change-Id: Ia9faa9cd23367e2d379a5aa5daaeb49394db7e40
(cherry picked from commit 22959db96eee94faedd5822b5c3169e0fcda7ff4)
|
|
Change-Id: Ieae9482da1b3a78e97fb9eac9001dc98867577e7
(cherry picked from commit 29146a6791afcbe4c934dfd1be2c84630d3fb342)
|
|
Change-Id: I908c5ad633f8030cab67cf110de76ba28731078b
(cherry picked from commit 944abfc9fb2b24725766632c3a1b0841f3a6d64e)
|
|
Change-Id: I1f74229521a353402790946aa1e6e4b92d0d2cde
(cherry picked from commit bc24aa3796451e2d58d28d1d5d6e5244b5540ad0)
|
|
Change-Id: Ia4f807b4479db9e90c2bb639958742360deb0680
(cherry picked from commit 818406fdef33efafbea0d167594d467b755fb2a8)
|
|
Change-Id: Ie6b27d25541c96f3fd148f57b70163cae5ab8d3e
(cherry picked from commit 15387a731ddb115addcce88c1098bbe2196640c3)
|
|
Change-Id: I7d171f70878a90b8bae26c852ab032da23fca197
(cherry picked from commit 8930b37fb212c77433e2dad17b035921fc2d3bd8)
|
|
Change-Id: Ie663b6f91f858451f79a1247f9ba5ba863123125
(cherry picked from commit a7eee33dc5467fc73eb1be351474dd61e5ebb0fd)
|
|
Change-Id: I0491b43e45b2e36745735317fc87c5de0d78ebd6
(cherry picked from commit fc6ea08d66b1e381079e9c33121fb364f94965b6)
|
|
Change-Id: I62542d36b582b71b1d4a208bd191097bb6b06b8f
(cherry picked from commit ff6070b25e55a19b0aeebd6bfa0a7f9c0d9bcffb)
|
|
Change-Id: Ie1edff7a586b8e74c98e7f3b9277fca14f487e94
(cherry picked from commit 8b4511e5d06da6e82645d6f77c95cd37369ce967)
|
|
Change-Id: I452b23d21c158b92d3ea5a4bdac07654317e43d6
(cherry picked from commit bfa932dc42105f743ec4ff850110baab8a2ff377)
|
|
Change-Id: I66194c0604d842f5fcce3da9cdf23f56932ede41
(cherry picked from commit b2713a4023a1c4671090e53a44d264fb2368ec49)
|
|
Using ref=... spares all the data duplication.
Change-Id: Ibb8339f766e27350d7f0466842590ada63f784c2
(cherry picked from commit f8408481819795517b2fae82b644f82b93ffd963)
|
|
Change-Id: I694057f4f9d62b5274da2cd82d52db9e1fade5e5
(cherry picked from commit 61b3df6b4c706231f9960f61bc149b31c180d042)
|
|
Change-Id: I5e9846c50783cf4944675bd568fa5b837cb200f0
(cherry picked from commit 529c3234567540f4d3e5dddc19bbbf946d086770)
|
|
Change-Id: I5ff8279051d822a2c6932a81b5179a88ed5453cc
Edited: added license header and indentation.
(cherry picked from commit 03ee242870502c41b1db8af50a580bf24bdb3d1f)
|
|
This is a prerequisite to use ref='fr_BF' later on other yet to be added
fr_*.xml locale data files from fdo#[79348-79353]
Doubts lined out in
https://bugs.freedesktop.org/show_bug.cgi?id=79347#c3
can be addressed later.
Change-Id: I5cd5a199d0fc2e833227997d5c353e17a7fbbbff
(cherry picked from commit dd17adc5920519ff6ce6556579dc2fe4c9c05de8)
|
|
Change-Id: Ia2f482fb7737e61cfc42966dbc7af6e1cdb3b41d
|
|
Change-Id: I42787db31769e8bde984c5f4f0aa90335e889b1c
Reviewed-on: https://gerrit.libreoffice.org/9356
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org>
|
|
Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5
Reviewed-on: https://gerrit.libreoffice.org/9360
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
|
|
Change-Id: I2c02ca45ed12ed571a175fb82bc2478eeb02f31f
|
|
Change-Id: I79af7fdd7bc6b4c95f4b018a373d8a4685226abd
|
|
Change-Id: If6f3134b74c0ef6ca3caf3c508bbcc163d6196fa
|
|
Change-Id: Ice37ec78078e078d9b2f530b0ebfe53f12c6aed8
|
|
Change-Id: I283dddaa4bd8baf05b90ce5f81d43b785021a3c4
|
|
Presumably helps for iOS, too.
Change-Id: Idadfa9c70b8206c6820f6c13374909f8d26ffd04
|
|
Change-Id: I770c1b3e5164cb486b5a5c2b1259f713914a1bae
|
|
Change-Id: I9465943a7e3c0d485e8692e3e1ea0b258d67d120
|
|
Change-Id: I1a52b9ce7b590e8cf274a2daaa1c55cfc1efe48b
|
|
Change-Id: Id257bd38bbfab0a433b404116e2d7e9b430c3c6f
|
|
ICU 53.1 changed API behavior:
https://ssl.icu-project.org/apiref/icu4c/classicu_1_1RuleBasedCollator.html#a2f4c7eeaf020ad68e3bd9722dd272357
isn't correct anymore:
length: size of the image. If negative, the API will try to figure out the
length of the image
NO, IT WILL NOT! It bails out with an error instead.
Introduced a function to obtain the length for each collator data.
base: collator, usually root. The base is required to be present through the
lifetime of the collator. Currently it cannot be NULL.
NOT "usually root"! There's a check now that bails out if
if(base->tailoring != CollationRoot::getRoot(errorCode))
So using an instance created with icu::Locale::getRoot()
Change-Id: Ia9c4e27d5ef4f8083bbe57e4e2f4b3ff63bb42ed
|
|
plus further work in i18npool to make that build
adapt i18npool to ICU 53 upgrade, fdo#77071
Korean charset collator can't be built from ko_charset.txt because of
"The runtime code decomposes Hangul syllables on the fly, with recursive
processing but without making the Jamo pieces visible for matching. It
does not work with certain types of contextual mappings."
"While handling a Hangul syllable, contractions starting with Jamo L or
V would not see the following Jamo of that syllable." (this is where we
bail out already with the first syllable of ko_charset.txt)
Another condition to fail is described as "A contraction ending with
Jamo L or L+V would require generating Hangul syllables in
addTailComposites() (588 for a Jamo L), or decomposing a following
Hangul syllable on the fly, during contraction matching."
Excluded the file from the build for ICU >=53 and hope that ICU in the
mean time handles Korean collation correctly.
Additionally, ICU 53 took ages (if it would had finished at all) to
build the collator from zh_TW_charset.txt because of the \u#### escaped
notation. Converted the file's content to characters using
http://www.rishida.net/tools/conversion/
Change-Id: I64213214b4870e7077f72b95fee1ddc9782c2b21
Reviewed-on: https://gerrit.libreoffice.org/9204
Reviewed-by: Eike Rathke <erack@redhat.com>
Tested-by: Eike Rathke <erack@redhat.com>
|
|
Avoid linking in various functions and potentially largish data
objects if the corresponding locale is deliberatedly skipped by using
the --with-locales configure option.
Change-Id: I8ec8c2b6176972d048a3c0e180ac0e6e805f2378
|