#
534f2203 |
|
15-Oct-2016 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Catalog stub: fix undefinied initiamization order. As investigated by korli in #13001.
|
#
fed5e612 |
|
18-Jan-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
LocaleRoster: race condition on catalog loading. Using a vint32 isn't enough to safely decide if the catalog is initialized or not. Use init_once features instead.
|
#
5dbb457c |
|
03-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Allow ReadOnlyBootPrompt to change languages at runtime again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37862 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
|
#
fe8d7c02 |
|
20-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove the CatalogStub class and put the Gatcatalog function directly in BLocaleRoster, * Adjust the B_TRANSLATE macros to take this into account * Adjust collectkatkeys to take it into account too Thanks to Ingo for explaining me all the technical details about hiding things in shared objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0e23b87f |
|
19-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Style fixes as pointed out by Ingo. Sorry ! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37603 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
30478150 |
|
19-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix \x parsing in collectcatkeys again (thanks to Kaliber) * Hide the CatalogStub::GetCatalog method so that if liblocalestub.a is missing from a localized image, it will not try to steal the catalog of another one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37602 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be8fa2fb |
|
02-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Update all applications in tree to use the new localizing system * Remove the old one from the locale librairy, with some cleanup Known regressions : * readonlybootprompt will no longer update the locale settings : the method used messed with internal undocumented things * external localized apps (webpositive for example) will not run anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a4353b |
|
01-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Add a new way of using the locale kit with static accessors instead of global variables. This has the following consequences : * Applications don't have to declare BCatalog fCatalog themselves, it's now done automatically * Libs and add-ons can be localized just the same way (except static libraries) For now this new system is yet disabled as I'm looking for some peer review before going on. To enable it you have to define B_TRANSLATE_USE_NEW_MACROS in each file doing catalog access. This will not stay, I'll update the other apps to use it. The linking in jamfiles must be not only with liblocale.so, but also liblocalestub.a. Not sure how to handle this for user-side applications. Libraries are also required to provide a MIME signature to use any catalog. The locale preflet is updated to the new system (as a test). Othe rapps will follow if everyone is ok with this approach. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fed5e6126b1340b5f40dee2570f12c0c651f71da |
|
18-Jan-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
LocaleRoster: race condition on catalog loading. Using a vint32 isn't enough to safely decide if the catalog is initialized or not. Use init_once features instead.
|
#
5dbb457c095b56fa85c269b40ecaa43a31a1f735 |
|
03-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Allow ReadOnlyBootPrompt to change languages at runtime again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37862 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
|
#
fe8d7c0225bd8e782b0a9b281d895bde6bbcc15e |
|
20-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Remove the CatalogStub class and put the Gatcatalog function directly in BLocaleRoster, * Adjust the B_TRANSLATE macros to take this into account * Adjust collectkatkeys to take it into account too Thanks to Ingo for explaining me all the technical details about hiding things in shared objects. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37616 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0e23b87fe46ea4f36ce3fcbadc7e7503e3b0c184 |
|
19-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Style fixes as pointed out by Ingo. Sorry ! git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37603 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
30478150363e7644bda967c71f941218d3a3b58e |
|
19-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Fix \x parsing in collectcatkeys again (thanks to Kaliber) * Hide the CatalogStub::GetCatalog method so that if liblocalestub.a is missing from a localized image, it will not try to steal the catalog of another one. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37602 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
be8fa2fb3088ab1921612b60f352dd9334b40b3d |
|
02-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Update all applications in tree to use the new localizing system * Remove the old one from the locale librairy, with some cleanup Known regressions : * readonlybootprompt will no longer update the locale settings : the method used messed with internal undocumented things * external localized apps (webpositive for example) will not run anymore. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76a4353b79418ab1d9050821a5578bef0d40df0c |
|
01-Jul-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Add a new way of using the locale kit with static accessors instead of global variables. This has the following consequences : * Applications don't have to declare BCatalog fCatalog themselves, it's now done automatically * Libs and add-ons can be localized just the same way (except static libraries) For now this new system is yet disabled as I'm looking for some peer review before going on. To enable it you have to define B_TRANSLATE_USE_NEW_MACROS in each file doing catalog access. This will not stay, I'll update the other apps to use it. The linking in jamfiles must be not only with liblocale.so, but also liblocalestub.a. Not sure how to handle this for user-side applications. Libraries are also required to provide a MIME signature to use any catalog. The locale preflet is updated to the new system (as a test). Othe rapps will follow if everyone is ok with this approach. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37323 a95241bf-73f2-0310-859d-f6bbb57e9c96
|