Source Activity

Syndicate content
Haiku's main repository
Updated: 58 min 46 sec ago

Add setters to BDate and BCalendarView

Tue, 2014-09-30 13:38
* BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters. * BDate setters don't perform any validation, use with caution. * BCalendarView setters do perform validation checks, and will adjust the day so it fits the requested month or year. * Add tests for the BCalendarView setters.
Categories: Development

Make BDateFormat mutable

Tue, 2014-09-30 09:49
* Add setters for the language and formatting conventions * Add shortcut getter and setter for the date format * Use those in the locale roster to make the BDateFormat actually use the system preferred language and format. * Applications can also use this to extract specific information from the system format (eg. set date format to "LLLL" to extract month names), or define specific formats more easily (eg. for parsing and generating e-mail headers or HTTP cookies). * Add setters for the language and formatting conventions * Add shortcut getter and setter for the date format * Use those in the locale roster to make the BDateFormat actually use the system preferred language and format. * Applications can also use this to extract specific information from the system format (eg. set date format to "LLLL" to extract month names), or define specific formats more easily (eg. for parsing and generating e-mail headers or HTTP cookies).
Categories: Development

BDateFormat: improve API

Tue, 2014-09-30 07:39
* 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 * 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
Categories: Development

Add tests for BDateFormat.

Tue, 2014-09-30 07:37
Categories: Development

HaikuDepot: Implemented creating/updating ratings...

Mon, 2014-09-29 21:19
... from the RatePackageWindow. It does not work yet, the errors are reported. To be investigated... ... from the RatePackageWindow. It does not work yet, the errors are reported. To be investigated...
Categories: Development

HaikuDepot: Implemented creating and updating ratings...

Mon, 2014-09-29 21:05
... in WebAppInterface. Both types of requests fail at the moment. Creating a rating failes due to invalid authentication (I thought I am doing it correctly), updating fails with a NullPointerException on the server. ... in WebAppInterface. Both types of requests fail at the moment. Creating a rating failes due to invalid authentication (I thought I am doing it correctly), updating fails with a NullPointerException on the server.
Categories: Development

HaikuDepot: Display check box to deactivate rating

Mon, 2014-09-29 20:23
... if a rating already exists for the given package and version. ... if a rating already exists for the given package and version.
Categories: Development

HaikuDepot: Use getUserRatingByUserAndPkgVersion...

Mon, 2014-09-29 20:02
... instead of searching for a rating from the given user. This API will also return deactivated ratings, so the user could re-activate it. ... instead of searching for a rating from the given user. This API will also return deactivated ratings, so the user could re-activate it.
Categories: Development

HaikuDepot: Store BPackageVersion in PackageInfo...

Mon, 2014-09-29 20:01
...instead of the string representation. This makes it easier to get the major, minor, micro, prerelease and revision parts later on. ...instead of the string representation. This makes it easier to get the major, minor, micro, prerelease and revision parts later on.
Categories: Development

Convert language tests to cppunit.

Mon, 2014-09-29 15:50
Categories: Development

Convert collator test to cppunit.

Mon, 2014-09-29 15:28
Categories: Development

Convert BUnicodeChar tests to cppunit.

Mon, 2014-09-29 14:08
Categories: Development

localeTest: fix corrupted characters.

Mon, 2014-09-29 12:56
This file used to hold iso-8859-15 encoded bytes for testing our char conversion ability. However something went wrong and they all got replaced by unicode "invalid character" mark. Use \x notation to escape the actual bytes we want to test. This file used to hold iso-8859-15 encoded bytes for testing our char conversion ability. However something went wrong and they all got replaced by unicode "invalid character" mark. Use \x notation to escape the actual bytes we want to test.
Categories: Development

ICUTest: style and output formatting fixes

Mon, 2014-09-29 12:33
Categories: Development

localeTest: fix build.

Mon, 2014-09-29 12:18
Categories: Development

Change Success/Failure colors.

Sat, 2014-09-20 06:40
* Part of #10834 * Colors were picked from http://clrs.cc, which was suggested by John Scipione. Signed-off-by: Adrien Destugues * Part of #10834 * Colors were picked from http://clrs.cc, which was suggested by John Scipione. Signed-off-by: Adrien Destugues
Categories: Development