#
e523bfeb |
|
04-Feb-2024 |
Emir SARI <bitigchi@me.com> |
NumberFormat: add floating-point precision support - Simplify code in AboutSystem - Make error string translatable in Locale preflet Change-Id: I3b967ee04d764ec1bcf0fa40e40dae8da4a35c20 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7373 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
98e5fab3 |
|
18-Jul-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Locale: move "translate application names" checkbox to formatting tab Part of #15511
|
#
f0650dc9 |
|
09-Dec-2015 |
looncraz <looncraz@looncraz.net> |
preferences: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0023-0037 from looncraz, unmodified.
|
#
ad926b25 |
|
07-Nov-2015 |
Humdinger <humdingerb@gmail.com> |
Improve/fix tab view layout as discussed See http://www.freelists.org/post/haiku-development/Unifying-visuals-of-BTabView-usage Besides the tab bar going the full width of the window, also some layouting tweaks to several apps and prefs. Still missing: the first (and last) tabs in the tab bar should be inset by B_USE_WINDOW_SPACING so the controls in the tab view line up nicely. I think I remember stippi wanting to look into it... :)
|
#
e3857211 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move DateTimeFormat and NumberFormat out of BLocale * ... and adjust all callers * Remove NumberFormatImpl: we rely on ICU to provide this and it can be fully wrapped into the C++ file. The class was a stub anyway. * "Monetary" format is included in NumberFormat for now. There may be a more generic solution to handle monetary and BTimeUnitFormat (and other arbitrary units)
|
#
03b2550e |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move time formatting to BTimeformat. * Harmonize API for all B*Format to take an output BString by reference as the first parameter, * Move the FormatTime methods from BLocale to BTimeFormat * Adjust all callers for BTimeFormat, BTimeUnitFormat and BDurationFormat.
|
#
0a925409 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Adjust all BDateFormat callers again.
|
#
f188c1de |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
BDateFormat: improve API * Use a reference rather than a pointer for the output string, removing the need for NULL checks (which were missing, anyway) * Adjust callers to that change * Add new Format variant taking a BDate argument
|
#
2a5e33a9 |
|
26-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move date formatting from BLocale to BDateFormat * There is a little code duplication. This will be moved to BFormat once the time and datetime formatting is also moved out of BLocale * The way to create a BDateFormat from a BLocale is still open for discussion. I'm undecided between making BDateFormat a member of BLocale, or adding a BDateFormat(const BLocale&) constructor. * Adjust all users of the API.
|
#
31c0024d |
|
07-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Add Deskbar clock settings to Time Preferences * Added a new Clock tab to the Time preflet. Added Clock related controls there. They all function by communicating with Deskbar. * Put controls in a BBox controlled by the Show clock checkbox. This more clearly shows that all the clock settings are dependent on the show clock setting since it doesn't matter what your clock settings are if you don't show the clock. * Make revert work. * Split clock settings into it's own file and struct. * Re-add the time zone setting. * Remove the clock settings from the Deskbar preference window, they are in Time now. * Make Locale preferences accepts B_LOCALE_CHANGED message, although not used.
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
25dc253d |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fd2f4a0 |
|
23-Oct-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
One more monster commit (sorry ...) concerning the Locale Kit: * extracted new class BFormattingConventions from BCountry, which manages the formatting conventions from a given locale and allows to get/set the four different date/time formats supported by ICU-locales as well as number and monetary formats * overhauled the Locale preflet: + drop editing features for all formats, since I don't think they do not make much sense to have in a prefs GUI - being able to select from the existing locales should be good enough. Please note that you can still change the formats programmatically in an application. + renamed the 'Countries' tab to 'Formatting' + the locale formatting conventions list in the 'Formatting' tab is now hierarchical for easier access (less scrolling) + fixed functionality of 'Revert' and 'Defaults' buttons + added support for using the month/day-names of your preferred language during date formatting * adjusted BLocale to ask BFormattingConventions for the current formats when formatting dates and times and to offer 4 different format styles (full, long, medium and short). * adjust all classes formatting dates/times to pick the appropriate format style * BLocaleRoster no longer directly archives/unarchives the individual formatting conventions but delegates that to BFormattingConventions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39123 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
|
#
b7f60965 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* removed all BLocale-related getters from BLocaleRoster - they're available in BLocale (which is accessible via be_locale) * adjusted all users accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38459 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bb481c7 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Adjustments to Locale preflet * renamed Locale.{h,cpp} to LocalePreflet.{h,cpp} as having two headers named Locale.h confuses jam (as a result, the Locale preflet did not depend on headers/os/locale/Locale.h) * style adjustments (mostly order of headers) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38455 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9e773899 |
|
24-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Set the radiobuttons depending on the currency symbol position. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca1690b |
|
24-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Preliminary support for adjusting the money format in the locale preflet : * API for formatting a number and recovering the field positions * Some changes in the preflet to display the formatted number and start filling in the fields. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00c81cb9 |
|
23-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Remove an useless box and move the radio buttons near the setting they alter. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
371c5afd |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* remove one more superfluous include (probably from some older debug output) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38151 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2eefb8f0 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* drop debug output git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
25fd5c7b |
|
12-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Update some apps/add-ons/preflets for impending changes to the layout API, specifically the layout builders. Also do a bit of style and layout cleanup in some places. This is part of #6407. Everything I've updated should look and function the same as it did before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
34a79bff |
|
04-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* renamed BPrivate::mutable_locale_roster to BPrivate::gMutableLocaleRoster, to follow coding guidelines git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37908 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c3a3034 |
|
04-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Move the locale-related stuff away from BCountry to BLocale. * Remove the be_locale global object and go through the be_locale_roster instead * Rework the storage of data for the be_locale_roster, since BLocale already holds a BCountry and a BLanguage. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37907 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb816644 |
|
03-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Rename TimeFormatSettingsView to FormatSettingsView, since it also provides number and currency formatting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e3857211d305a595c2d0b58768f25623d5967675 |
|
02-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move DateTimeFormat and NumberFormat out of BLocale * ... and adjust all callers * Remove NumberFormatImpl: we rely on ICU to provide this and it can be fully wrapped into the C++ file. The class was a stub anyway. * "Monetary" format is included in NumberFormat for now. There may be a more generic solution to handle monetary and BTimeUnitFormat (and other arbitrary units)
|
#
03b2550ef1fba975beb15689659a4a5f38986aa0 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move time formatting to BTimeformat. * Harmonize API for all B*Format to take an output BString by reference as the first parameter, * Move the FormatTime methods from BLocale to BTimeFormat * Adjust all callers for BTimeFormat, BTimeUnitFormat and BDurationFormat.
|
#
0a925409bc43bc95879729a8bf2cb611f9c9c2f2 |
|
01-Oct-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Adjust all BDateFormat callers again.
|
#
f188c1defa3ffef28c2a76b1b21fa7dc017f3e5b |
|
30-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
BDateFormat: improve API * Use a reference rather than a pointer for the output string, removing the need for NULL checks (which were missing, anyway) * Adjust callers to that change * Add new Format variant taking a BDate argument
|
#
2a5e33a98056c2b92d46a6c9aae6da808c8524b1 |
|
26-Sep-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
Move date formatting from BLocale to BDateFormat * There is a little code duplication. This will be moved to BFormat once the time and datetime formatting is also moved out of BLocale * The way to create a BDateFormat from a BLocale is still open for discussion. I'm undecided between making BDateFormat a member of BLocale, or adding a BDateFormat(const BLocale&) constructor. * Adjust all users of the API.
|
#
31c0024d1b271b0b671c77432cce0be483b366f0 |
|
07-Nov-2012 |
John Scipione <jscipione@gmail.com> |
Add Deskbar clock settings to Time Preferences * Added a new Clock tab to the Time preflet. Added Clock related controls there. They all function by communicating with Deskbar. * Put controls in a BBox controlled by the Show clock checkbox. This more clearly shows that all the clock settings are dependent on the show clock setting since it doesn't matter what your clock settings are if you don't show the clock. * Make revert work. * Split clock settings into it's own file and struct. * Re-add the time zone setting. * Remove the clock settings from the Deskbar preference window, they are in Time now. * Make Locale preferences accepts B_LOCALE_CHANGED message, although not used.
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
25dc253d6ab28ce204fa4de2d3e7a27d167fc817 |
|
22-Nov-2010 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
* Merged weak-symbols branch. * Fixed trivial merge conflict in src/system/libroot/posix/locale/nl_langinfo.cpp * Fixed gcc 2 compilation of src/system/glue/init_term_dyn.c. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39571 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fd2f4a0d14b45a316defe994e9790de062ff3ff |
|
23-Oct-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
One more monster commit (sorry ...) concerning the Locale Kit: * extracted new class BFormattingConventions from BCountry, which manages the formatting conventions from a given locale and allows to get/set the four different date/time formats supported by ICU-locales as well as number and monetary formats * overhauled the Locale preflet: + drop editing features for all formats, since I don't think they do not make much sense to have in a prefs GUI - being able to select from the existing locales should be good enough. Please note that you can still change the formats programmatically in an application. + renamed the 'Countries' tab to 'Formatting' + the locale formatting conventions list in the 'Formatting' tab is now hierarchical for easier access (less scrolling) + fixed functionality of 'Revert' and 'Defaults' buttons + added support for using the month/day-names of your preferred language during date formatting * adjusted BLocale to ask BFormattingConventions for the current formats when formatting dates and times and to offer 4 different format styles (full, long, medium and short). * adjust all classes formatting dates/times to pick the appropriate format style * BLocaleRoster no longer directly archives/unarchives the individual formatting conventions but delegates that to BFormattingConventions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39123 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
|
#
b7f609650b9864f5f93ee235c1a095970f9df525 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* removed all BLocale-related getters from BLocaleRoster - they're available in BLocale (which is accessible via be_locale) * adjusted all users accordingly git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38459 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6bb481c7148451f881d071e0d3ec39255ed7e9b2 |
|
30-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
Adjustments to Locale preflet * renamed Locale.{h,cpp} to LocalePreflet.{h,cpp} as having two headers named Locale.h confuses jam (as a result, the Locale preflet did not depend on headers/os/locale/Locale.h) * style adjustments (mostly order of headers) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38455 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9e7738992b3acb3d7675b20a41f02f2d99a90f1b |
|
24-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Set the radiobuttons depending on the currency symbol position. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38336 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bca1690bfa99e8932b890b881debc817f6d32f06 |
|
24-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Preliminary support for adjusting the money format in the locale preflet : * API for formatting a number and recovering the field positions * Some changes in the preflet to display the formatted number and start filling in the fields. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38335 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
00c81cb95975e9816754b6588ae95aed9a119000 |
|
23-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Remove an useless box and move the radio buttons near the setting they alter. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38319 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
371c5afd88f0d8c1419068e31d7ec7a1715ab073 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* remove one more superfluous include (probably from some older debug output) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38151 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2eefb8f0b98728c47a6fc9f37b7858ce1808f4b2 |
|
16-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* drop debug output git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38150 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
25fd5c7b3558df58baee955efafec15fd2ceadae |
|
12-Aug-2010 |
Alex Wilson <yourpalal2@gmail.com> |
Update some apps/add-ons/preflets for impending changes to the layout API, specifically the layout builders. Also do a bit of style and layout cleanup in some places. This is part of #6407. Everything I've updated should look and function the same as it did before. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38064 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
34a79bff8ad710b8e8024b0006a77ec8a9f45b16 |
|
04-Aug-2010 |
Oliver Tappe <zooey@hirschkaefer.de> |
* renamed BPrivate::mutable_locale_roster to BPrivate::gMutableLocaleRoster, to follow coding guidelines git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37908 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5c3a30348613821de032e50f1633e47dc732651f |
|
04-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Move the locale-related stuff away from BCountry to BLocale. * Remove the be_locale global object and go through the be_locale_roster instead * Rework the storage of data for the be_locale_roster, since BLocale already holds a BCountry and a BLanguage. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37907 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fb816644a7e35901ffa240385f652c02e782f28e |
|
03-Aug-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
* Rename TimeFormatSettingsView to FormatSettingsView, since it also provides number and currency formatting. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37869 a95241bf-73f2-0310-859d-f6bbb57e9c96
|