#
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.
|
#
e621fc31 |
|
20-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* minor formatting cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42651 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45f2f22b |
|
18-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff for message formatting * adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer use a version specific namespace * adjust LocaleKit to general API changes in ICU 4.8 Note: all software using ICU (like WebPositive) needs to be rebuilt! Note: the ICU package for PPC needs to be updated before it can be used! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1d8fda6 |
|
19-Oct-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Next step of Locale Kit refactoring: * BLocale now keeps language and country completely separate and mixes the formatting conventions into the current language's locale when formatting dates and times (needs to be done for number- and currency-formatting, too, since the digits may not be in the preferred language) * optimized fetching of the flag icons such that they are all loaded in one go (by the locale roster) - this alone speeds up the Locale preflet considerably * worked on fixing the language confusion in the Locale preflet * fixed a couple of bugs in the Locale preflet that would lead to illegal characters being displayed in the date-subpart menus git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39013 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e30c4b8 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* rename BTimeZone::Accessor to BTimeZone::Private to match the other private accessor classes * adjust style in BTimeZone::Private implementation to match other classes of this kind git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38449 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
279125fb |
|
29-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added BTimeZone::Accessor class, which allows other LocaleKit classes to access a BTimeZone's ICU-timeZone git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38427 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aa8372c4 |
|
24-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* changed BTimeZone to use BLanguage instead of BLocale, as that what represents the locale of messages (timezone names in this case) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3bdedcf3 |
|
24-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for getting the names of a timezone for a specific locale (not currently used anywhere, but should be part of the BTimeZone interface) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38333 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
750e57b8 |
|
23-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Optimized Time preflet: * use upon-demand initialization in BTimeZone to avoid unnecessary work * renamed BTimeZone::Code() to BTimeZone::ID() and adjusted all callers * avoid using BCountry in the Time preflet for the time being, this means the icon-flags are gone for now (but they could be re-added if the demand is pressing ;-) * group the timezones by regions and then by country instead The performance improvement is considerable and I personally think the new grouping is an improvement, too. Please share your thoughts! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e4da3d66 |
|
05-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for all the different names (std/dst, long/short) and daylight support to BTimeZone git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
99d2aa98 |
|
29-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Improved the Time preflet (still not working properly, though) * basically rewrote TimeZone to sport a nicer to use interface * adjusted all users of TimeZone accordingly * changed TZDisplay to show the Date next to the label, in order to avoid that long timezone names draw all over it * the timezone listview is now properly sorted according to the current language (using BCollator) * fixed a couple of bugs (overflows, etc.) that caused incorrect GMT offsets to be used during computations git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ae5a452 |
|
26-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData. * Not completely working yet, hte POSIX API isn't very happy about ICU timezone names. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37758 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
282582c0 |
|
23-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Bcountry : private methods start with underscore. The timezone list isnow actually a list of BTimeZone objects, that holdsall the needed info, not only the code. Also tweak the listing code to remove duplicatesfromthe list generated by ICU. * BTimeZone : remove Code, rename Name to GetName. The class is likely to change again for further optimization. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2774e142 |
|
23-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Add a BTimeZone class for handling time zones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37718 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.
|
#
e621fc319855c67873e3179329a3c7730e6202ba |
|
20-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* minor formatting cleanup git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42651 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
45f2f22b5250a7be9cdb0a82dee2ca91aaa8398d |
|
18-Aug-2011 |
Oliver Tappe <zooey@hirschkaefer.de> |
* update (not-so-)optional package ICU to 4.8.1, which contains interesting stuff for message formatting * adjust LocaleKit to use namespace 'icu', as ICU has been configured to no longer use a version specific namespace * adjust LocaleKit to general API changes in ICU 4.8 Note: all software using ICU (like WebPositive) needs to be rebuilt! Note: the ICU package for PPC needs to be updated before it can be used! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42638 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d1d8fda63745350804d76b4ed160732086fa9655 |
|
19-Oct-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Next step of Locale Kit refactoring: * BLocale now keeps language and country completely separate and mixes the formatting conventions into the current language's locale when formatting dates and times (needs to be done for number- and currency-formatting, too, since the digits may not be in the preferred language) * optimized fetching of the flag icons such that they are all loaded in one go (by the locale roster) - this alone speeds up the Locale preflet considerably * worked on fixing the language confusion in the Locale preflet * fixed a couple of bugs in the Locale preflet that would lead to illegal characters being displayed in the date-subpart menus git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39013 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6e30c4b8af7bf3b91d49f7fb53d820d02fe4f765 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* rename BTimeZone::Accessor to BTimeZone::Private to match the other private accessor classes * adjust style in BTimeZone::Private implementation to match other classes of this kind git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38449 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
279125fbd9daa72ad94bf43ce64c22ed12a48416 |
|
29-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added BTimeZone::Accessor class, which allows other LocaleKit classes to access a BTimeZone's ICU-timeZone git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38427 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
aa8372c4865555519ceda8f355c49b231df81ae2 |
|
24-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* changed BTimeZone to use BLanguage instead of BLocale, as that what represents the locale of messages (timezone names in this case) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38340 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3bdedcf3f1140e2f512b8a9304649f5dd32bb07d |
|
24-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for getting the names of a timezone for a specific locale (not currently used anywhere, but should be part of the BTimeZone interface) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38333 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
750e57b842a77d99005e07ee04b504c5e816d610 |
|
23-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Optimized Time preflet: * use upon-demand initialization in BTimeZone to avoid unnecessary work * renamed BTimeZone::Code() to BTimeZone::ID() and adjusted all callers * avoid using BCountry in the Time preflet for the time being, this means the icon-flags are gone for now (but they could be re-added if the demand is pressing ;-) * group the timezones by regions and then by country instead The performance improvement is considerable and I personally think the new grouping is an improvement, too. Please share your thoughts! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e4da3d6691be85eba69bfbce7fb01743457ea735 |
|
05-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* added support for all the different names (std/dst, long/short) and daylight support to BTimeZone git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37933 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
99d2aa985b7e24d8e11ab008236b819fb895b61a |
|
29-Jul-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Improved the Time preflet (still not working properly, though) * basically rewrote TimeZone to sport a nicer to use interface * adjusted all users of TimeZone accordingly * changed TZDisplay to show the Date next to the label, in order to avoid that long timezone names draw all over it * the timezone listview is now properly sorted according to the current language (using BCollator) * fixed a couple of bugs (overflows, etc.) that caused incorrect GMT offsets to be used during computations git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37813 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4ae5a4522056245eaf4a6340d8f21d7617bd9ad8 |
|
26-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Rewrote the timezone selection part of the time preflet to make use of ICU instead of our custom TZData. * Not completely working yet, hte POSIX API isn't very happy about ICU timezone names. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37758 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
282582c0059d82c9b3a87b20f63e16cbdfa446d3 |
|
23-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Bcountry : private methods start with underscore. The timezone list isnow actually a list of BTimeZone objects, that holdsall the needed info, not only the code. Also tweak the listing code to remove duplicatesfromthe list generated by ICU. * BTimeZone : remove Code, rename Name to GetName. The class is likely to change again for further optimization. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37719 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2774e142e1081c4b4225a281b7348235d54ef354 |
|
23-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Add a BTimeZone class for handling time zones. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37718 a95241bf-73f2-0310-859d-f6bbb57e9c96
|