Source Activity

Syndicate content
Haiku's main repository
Updated: 56 min 20 sec ago

PoorMan: use BMessageFormat.

Wed, 2014-10-08 11:38
Categories: Development

Time preferences: Another too wide tab label

Wed, 2014-10-08 11:02
Categories: Development

More uses of BMessageFormat.

Wed, 2014-10-08 10:04
Categories: Development

Locale preferences: use B_WIDTH_FROM_WIDEST tabs.

Wed, 2014-10-08 09:54
The russian translation of "Formatting" does not fit in B_WIDTH_AS_USUAL with the default font size. The russian translation of "Formatting" does not fit in B_WIDTH_AS_USUAL with the default font size.
Categories: Development

DateTimeFormat: handle custom 24 hours clock.

Wed, 2014-10-08 09:36
The "j" format pattern selects a 12 or 24 hours clock automatically depending on the locale, but it doesn't work when the format is forced in the locale preflet or through the BFormattingConventions API. So we manually pick either K or H depending on that setting. The "j" format pattern selects a 12 or 24 hours clock automatically depending on the locale, but it doesn't work when the format is forced in the locale preflet or through the BFormattingConventions API. So we manually pick either K or H depending on that setting.
Categories: Development

Another use of BMessageFormat for plural support.

Wed, 2014-10-08 08:54
Spotted by Diver. Thanks! Spotted by Diver. Thanks!
Categories: Development

DateTimeFormat: use the proper format for timezone.

Tue, 2014-10-07 19:58
V used to mean the same as z, but was repurposed to someone else. So actually use z which is what we want. Fixes #11325. V used to mean the same as z, but was repurposed to someone else. So actually use z which is what we want. Fixes #11325.
Categories: Development

HaikuDepot: Logic reversal with marking username field

Tue, 2014-10-07 19:35
Fixed flipping the boolean passed to MarkAsInvalid() for the user name field, which only recently became apparent. Fixed flipping the boolean passed to MarkAsInvalid() for the user name field, which only recently became apparent.
Categories: Development

Add a package for Multitalk.

Tue, 2014-10-07 18:14
Categories: Development

Add API for parsing dates.

Tue, 2014-10-07 15:40
Categories: Development

Add an API to get month names.

Tue, 2014-10-07 14:08
Categories: Development

Use BDateTimeFormat for deskbar clock

Tue, 2014-10-07 11:07
* don't try to cook a custom format by appending strings, and instead let BDateTimeFormat decide on the appropriate format to use. * don't try to cook a custom format by appending strings, and instead let BDateTimeFormat decide on the appropriate format to use.
Categories: Development

Reimplement BDateTimeFormat using ICU support

Tue, 2014-10-07 10:46
* Avoid hardcoding the format to "date, time" * Allows using DateTimePatternGenerator to create custom formats from a set of fields. * Avoid hardcoding the format to "date, time" * Allows using DateTimePatternGenerator to create custom formats from a set of fields.
Categories: Development

Fix singular for Processor count.

Tue, 2014-10-07 08:12
Categories: Development

Start making use of BMessageFormat.

Tue, 2014-10-07 07:26
Categories: Development

Add BMessageFormat class.

Tue, 2014-10-07 06:51
This can be used to format complex messages properly. It moves the complexity of handling plural forms, gender, and anything else needed into the localizable string, rather than hardcoding it in the code. This moves the difficulty of handling these things properly to people doing translations, rather than relying on developers to do it. Fixes #10755, but our localization must now be updated to make use of the feature. This can be used to format complex messages properly. It moves the complexity of handling plural forms, gender, and anything else needed into the localizable string, rather than hardcoding it in the code. This moves the difficulty of handling these things properly to people doing translations, rather than relying on developers to do it. Fixes #10755, but our localization must now be updated to make use of the feature.
Categories: Development

DateFormatTest: fix after ICU upgrade

Tue, 2014-10-07 06:49
* Timezone names have changed. Test the medium time format which doesn't include them, as we aren't forcing a specific one. * French date format also changed to use 4 digit year name. * Timezone names have changed. Test the medium time format which doesn't include them, as we aren't forcing a specific one. * French date format also changed to use 4 digit year name.
Categories: Development

Update ICU to 54.1.

Mon, 2014-10-06 18:43
* Includes updated CLDR with many bugfixes, including updates to tzdata for upcoming reform of Russian timezones which reintroduces DST * Also includes some gcc2 fixes which were missing from our previous ICU port and were identified by running the ICU test suite. * Includes updated CLDR with many bugfixes, including updates to tzdata for upcoming reform of Russian timezones which reintroduces DST * Also includes some gcc2 fixes which were missing from our previous ICU port and were identified by running the ICU test suite.
Categories: Development