#
d7aa5911 |
|
11-May-2020 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
dstcheck: do nothing if clock is clearly in the past. Fixes #15855 Change-Id: I0a08863fa81ef96b16543d28d7e95731f34f60ea Reviewed-on: https://review.haiku-os.org/c/haiku/+/2684 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
8a5c546d |
|
09-Jun-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
dstcheck: swap first and second buttons, change wording... ... from "Use this time" to "Keep this time", as the question is about keeping the status quo, not changing to some different time. As discussed with Humdinger in #haiku.
|
#
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.
|
#
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.
|
#
0437cdba |
|
26-Feb-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup: whitespace- and line-width-related adjustments.
|
#
5c6b9eb0 |
|
23-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
Some fixes for GCC 4.6 warning: variable set but not used
|
#
85c3d598 |
|
13-Mar-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
dstcheck: * Change button labels to use verbs. Since the labels are now "Use this time" and "Manually adjust time...", don't ask for a second confirmation in case you chose to adjust time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40932 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8e2b9fe |
|
07-Mar-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
dstcheck: * Make alerts closeable using escape fixes ticket #6902. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40862 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
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
|
#
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
|
#
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
|
#
4de827d5 |
|
29-Jul-2010 |
Joachim Seemer <humdingerb@googlemail.com> |
Small changes to strings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37810 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
|
#
69b8708d |
|
29-Jun-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Jorma Karvonnen, mostly rewritten by me : * dstcheck is now localized * it also localize the date using the locale kit instead of strftime I also added a way to force the message to display, because it helps testing a lot. Run "dstcheck force" for that. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fa92ae0 |
|
29-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
It's that time of the year again, in which people fix bugs in dstcheck... :-) Now, it came up just fine, only it was burried behind Tracker windows. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29771 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59b17b6b |
|
11-Dec-2007 |
Jérôme Duval <korli@users.berlios.de> |
creates the dststatus file with 600 as permissions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3d7f4bc |
|
30-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Remove newlines from text; that should make nicer line breaks in the alert. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19159 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c0e9c80 |
|
03-Aug-2006 |
DarkWyrm <darkwyrm@gmail.com> |
Moved Haiku-dependent command line apps to just Haiku build targets Added an include to dstcheck to build for R5. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18374 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c3b56e03 |
|
13-May-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed my name git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17438 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6dd2dfb1 |
|
10-Nov-2005 |
Jérôme Duval <korli@users.berlios.de> |
update time preference signature git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14814 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
079e4d1f |
|
26-Oct-2005 |
Jérôme Duval <korli@users.berlios.de> |
unlike on BeOS, our localtime_r doesn't set timezone information, we can call tzset() ourself git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14527 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
17049c45 |
|
18-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Moved bin/ directory out of apps/. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8a5c546d42f0f3da68ec71fc082498e5225b0bd3 |
|
09-Jun-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
dstcheck: swap first and second buttons, change wording... ... from "Use this time" to "Keep this time", as the question is about keeping the status quo, not changing to some different time. As discussed with Humdinger in #haiku.
|
#
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.
|
#
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.
|
#
0437cdba8f43c164949a403909b21218d14f2a43 |
|
26-Feb-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
Cleanup: whitespace- and line-width-related adjustments.
|
#
5c6b9eb00d0d623c12f72eb82a471cb4c71f4f33 |
|
23-Feb-2012 |
Jerome Duval <jerome.duval@gmail.com> |
Some fixes for GCC 4.6 warning: variable set but not used
|
#
85c3d598211139071d92f290cc4d7c44111e7d63 |
|
13-Mar-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
dstcheck: * Change button labels to use verbs. Since the labels are now "Use this time" and "Manually adjust time...", don't ask for a second confirmation in case you chose to adjust time. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40932 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d8e2b9fea6eb8558ac49d337ce1211fe386141e3 |
|
07-Mar-2011 |
Philippe Saint-Pierre <stpere@gmail.com> |
dstcheck: * Make alerts closeable using escape fixes ticket #6902. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40862 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
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
|
#
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
|
#
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
|
#
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
|
#
4de827d536ccfa1e0911ccfadf221306f4f33966 |
|
29-Jul-2010 |
Joachim Seemer <humdingerb@googlemail.com> |
Small changes to strings. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37810 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
|
#
69b8708d75019a1f7188205e9f6503c9e4e5d3cf |
|
29-Jun-2010 |
Adrien Destugues <pulkomandy@pulkomandy.ath.cx> |
Patch by Jorma Karvonnen, mostly rewritten by me : * dstcheck is now localized * it also localize the date using the locale kit instead of strftime I also added a way to force the message to display, because it helps testing a lot. Run "dstcheck force" for that. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37297 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6fa92ae021da35baf4e682f4eb7c0b3fcc0bcb15 |
|
29-Mar-2009 |
Stephan Aßmus <superstippi@gmx.de> |
It's that time of the year again, in which people fix bugs in dstcheck... :-) Now, it came up just fine, only it was burried behind Tracker windows. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29771 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
59b17b6be12442c1027a89fa0832c2a45d84dfb7 |
|
11-Dec-2007 |
Jérôme Duval <korli@users.berlios.de> |
creates the dststatus file with 600 as permissions git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b3d7f4bcf2a48541f6a90892321b851b643291b7 |
|
30-Oct-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Remove newlines from text; that should make nicer line breaks in the alert. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19159 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c0e9c80976c10bc229249ca56cc31c1cfb65299 |
|
03-Aug-2006 |
DarkWyrm <darkwyrm@gmail.com> |
Moved Haiku-dependent command line apps to just Haiku build targets Added an include to dstcheck to build for R5. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@18374 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c3b56e03d41d860f1043ccec991c4052ee6ee531 |
|
13-May-2006 |
Jérôme Duval <korli@users.berlios.de> |
fixed my name git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17438 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e05fe1042cce6e00d194a147802d4f9be |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6dd2dfb15e20cb476e3dec2841db00bfcfe93d68 |
|
10-Nov-2005 |
Jérôme Duval <korli@users.berlios.de> |
update time preference signature git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14814 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
079e4d1f0b07bb704767d1f088b9bb9e235be988 |
|
26-Oct-2005 |
Jérôme Duval <korli@users.berlios.de> |
unlike on BeOS, our localtime_r doesn't set timezone information, we can call tzset() ourself git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14527 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
17049c451a91f427aec94b944b75876b611103e7 |
|
18-Mar-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Moved bin/ directory out of apps/. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
|