#
1bad1ff3 |
|
02-Aug-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Prepare for ICU update - libicule and libiculx do not exist anymore in newer ICU versions (harfbuzz replaces them), but we didn't actually use them, so remove them from the build feature and from the package dependencies - Add namespace usage marcos since the newer ICU packages put ICU things in a namespace, making it easier to have multiple versions of ICU used side by side. No functional change intended, but this makes it possible to build the code with either ICU 57 (for gcc2) or 66 (for other architectures).
|
#
7db28d38 |
|
30-Jan-2019 |
Murai Takashi <tmurai01@gmail.com> |
kits/locale: Fix PVS 495 Fix memory leak when realloc() fails. Change-Id: I9062bb177919805e9973c5afd6bc01f8fbb753b6 Reviewed-on: https://review.haiku-os.org/c/1016 Reviewed-by: Barrett17 <b.vitruvio@gmail.com>
|
#
a19a18f5 |
|
28-May-2017 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Rework BCollator API - Strength is now set once, instead of at each comparison, to improve performance and fix potential locking issues - Add a way to enable "numeric" collation (aka "natural order")
|
#
73de5837 |
|
10-May-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
Update icu x86_64 package with namespace renaming enabled. "Renaming" means the icu namespace is suffixed with the version number, atm icu_55. Using "renaming" allows to use two different versions of ICU, thus easing upgrades. For instance haikuwebkit uses a current version of ICU, while the system uses a newer one after an upgrade. * Replace all uses of the icu namespace in our public headers, with a macro defaulting to icu. As the namespace is only used for private fields pointers, there should be no impact. * Locale kit *.cpp have to import the macro from <unicode/uversion.h> *before* including any locale headers. Ditto for a Time preferences cpp file. This way, the correct current icu namespace is referenced. * Fixes bug #12057.
|
#
517050ad |
|
13-Jul-2013 |
Murai Takashi <tmurai01@gmail.com> |
BCollator::Archive(), use free() instead of delete Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
|
#
38ac8def |
|
01-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Largish cleanup sweep concerning the Locale Kit (sorry it got so big): * refactored private/mutable stuff out of LocaleRoster into MutableLocaleRoster * moved management of Locale/Time settings file and broadcasting of any changes out of preflets and into MutableLocaleRoster * added proper sorting to the listviews of the Locale preflet * the Time preflet no longer overlaps long timezone names into the actual time * several fixes with respect to leaking ICU objects, esp. in BCountry * the locale roster no longer passes out references to its own BCountry object, but uses copies, instead - this makes locking superfluous, as the clients' BCountry objects can no longer be changed by the setting a new default country in the locale roster * removed pretty useless POSIX-style symbol fetching from BCountry - if we need that at all, it should live in the dedicated formatter classes * adjusted readonlybootprompt, dstcheck and Deskbar to the changed Locale API * refactored existing Time-formatter into TimeUnitFormat and DurationFormat (the latter of which is now used by AboutSystem) * added stubs for Date, DateTime and Time formatters * lots of coding style fixes throughout the Locale Kit and the Locale and Time preflets This will probably break most external apps making use of the Locale Kit - it does break WebPositive. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37831 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1c990309 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Style fixes pointed out by Axel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37789 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e88fbde6 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix some issues in collators archiving and key computation * The test now pass. But unarchiving still isn't working and restores the default collator instead of the archved one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c6ebfaa |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix collator text * Fix archiving/unarchiving to provide at least a valid object. However, ICU archiving system doesn't look like it's working well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
110649a1 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Collator API now actually uses ICU. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37783 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cee04e80 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f15221 |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c3ac87e8 |
|
01-May-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* Copied imported OpenTracker Locale Kit files from the vendor branch into their new homes (at least for now, might need some adjustment). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
73de58376ac8f983ae64a643e01ec5bf047208d2 |
|
10-May-2015 |
Jérôme Duval <jerome.duval@gmail.com> |
Update icu x86_64 package with namespace renaming enabled. "Renaming" means the icu namespace is suffixed with the version number, atm icu_55. Using "renaming" allows to use two different versions of ICU, thus easing upgrades. For instance haikuwebkit uses a current version of ICU, while the system uses a newer one after an upgrade. * Replace all uses of the icu namespace in our public headers, with a macro defaulting to icu. As the namespace is only used for private fields pointers, there should be no impact. * Locale kit *.cpp have to import the macro from <unicode/uversion.h> *before* including any locale headers. Ditto for a Time preferences cpp file. This way, the correct current icu namespace is referenced. * Fixes bug #12057.
|
#
517050adb5b4c5ed7caccc7c599668c060c525c7 |
|
13-Jul-2013 |
Murai Takashi <tmurai01@gmail.com> |
BCollator::Archive(), use free() instead of delete Signed-off-by: Oliver Tappe <zooey@hirschkaefer.de>
|
#
38ac8def5a72de58d6ae4e82d8c4a6be1021e67e |
|
01-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Largish cleanup sweep concerning the Locale Kit (sorry it got so big): * refactored private/mutable stuff out of LocaleRoster into MutableLocaleRoster * moved management of Locale/Time settings file and broadcasting of any changes out of preflets and into MutableLocaleRoster * added proper sorting to the listviews of the Locale preflet * the Time preflet no longer overlaps long timezone names into the actual time * several fixes with respect to leaking ICU objects, esp. in BCountry * the locale roster no longer passes out references to its own BCountry object, but uses copies, instead - this makes locking superfluous, as the clients' BCountry objects can no longer be changed by the setting a new default country in the locale roster * removed pretty useless POSIX-style symbol fetching from BCountry - if we need that at all, it should live in the dedicated formatter classes * adjusted readonlybootprompt, dstcheck and Deskbar to the changed Locale API * refactored existing Time-formatter into TimeUnitFormat and DurationFormat (the latter of which is now used by AboutSystem) * added stubs for Date, DateTime and Time formatters * lots of coding style fixes throughout the Locale Kit and the Locale and Time preflets This will probably break most external apps making use of the Locale Kit - it does break WebPositive. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37831 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1c9903093523953f29315630de64ff86c27166b5 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Style fixes pointed out by Axel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37789 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e88fbde60bd3c51f5b06c62dcd5ae09d61431e37 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix some issues in collators archiving and key computation * The test now pass. But unarchiving still isn't working and restores the default collator instead of the archved one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37787 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2c6ebfaaea582c6d51ee99e7cefb1afa22158301 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix collator text * Fix archiving/unarchiving to provide at least a valid object. However, ICU archiving system doesn't look like it's working well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37784 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
110649a1a4d72f1ce49e32bbb1474df965f35bd6 |
|
28-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Collator API now actually uses ICU. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37783 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cee04e8074ec61fd8c6dac3539c5b821c3618888 |
|
08-Feb-2010 |
Artur Wyszynski <aljen-mlists@o2.pl> |
Fixed various errors/warnings reported by cppcheck: * memory leaks * resource leaks * added const's to getters * removed a few reundant conditions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35433 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75f152215517c2af1a93938f46d3156503329a5e |
|
18-Sep-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* reintegrated gsoc-locale-kit branch into trunk - there's more work to do, but it's about time to give this code more exposure. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33176 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c3ac87e8fc6f81023c44faed6cf00c8a916f4e31 |
|
01-May-2009 |
Oliver Tappe <zooey@hirschkaefer.de> |
* Copied imported OpenTracker Locale Kit files from the vendor branch into their new homes (at least for now, might need some adjustment). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|