Commit Graph

51966 Commits

Author SHA1 Message Date
Adrien Destugues
d7f449e9bc Convert language tests to cppunit. 2014-09-29 18:37:50 +02:00
Adrien Destugues
706f3f5396 Convert collator test to cppunit. 2014-09-29 18:37:49 +02:00
Adrien Destugues
af59f5ca42 Convert BUnicodeChar tests to cppunit. 2014-09-29 18:37:49 +02:00
Adrien Destugues
bd0644183c localeTest: fix corrupted characters.
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.
2014-09-29 18:37:48 +02:00
Adrien Destugues
27a2d2c7ef ICUTest: style and output formatting fixes 2014-09-29 18:37:48 +02:00
Adrien Destugues
9d1cbc67a6 localeTest: fix build. 2014-09-29 18:37:47 +02:00
Stephan Aßmus
9ddea57b38 HaikuDepot: Better order of stability ratings 2014-09-29 13:31:12 +02:00
Stephan Aßmus
9586185a7c HaikuDepot: Aligned stability rating names with web app. 2014-09-29 13:31:11 +02:00
Lioncash
0faffc061a ResourceUsageWindow: Fix mismatching alloc/deallocs
* Fixes #11291.

Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
2014-09-29 08:39:47 +02:00
Augustin Cavalier
cda4988751 Template Makefile: stupid fix to get it working again.
No idea how I escaped this backslash...

Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
2014-09-29 11:44:50 +13:00
Stefano Ceccherini
611ef1414f BSoftSynth: Select the soundfont from the settings file 2014-09-28 18:23:57 +02:00
Stefano Ceccherini
db5b5dfa14 Integrate MIDI settings with the Media preflet.
More or less working.
2014-09-28 18:23:56 +02:00
Adrien Destugues
dad7e9177d HaikuWebkit 1.4.5 for x86_64. 2014-09-28 15:34:33 +00:00
Stephan Aßmus
046dc04e83 HaikuDepot: Now retrives existing rating for a package...
... if there is one and fills the RatePackageWindow UI accordingly.
This will allow a user to edit her earlier rating for a given package.
The button labels will need to be adjusted. Uploading a rating still not
implemented.
2014-09-28 14:53:10 +02:00
Stephan Aßmus
3cc6e28126 HaikuDepot: Remember PackageInfoRef in PackageInfoView
* Added getter
2014-09-28 14:53:09 +02:00
Stephan Aßmus
8f331d41fa HaikuDepot: Removed invalid TODO from UserLoginWindow 2014-09-28 14:53:08 +02:00
Stephan Aßmus
054139a2d4 HaikuDepot: Get existing rating from a user for a package 2014-09-28 14:53:06 +02:00
Adrien Destugues
03598119a7 libcolumnlistview: hybrid arch build, add to image
* This is a very useful control, and 3rd-party apps should be able to
use it.
* But, there are planned improvements (making a better model/view
interface) which prevents making it part of the stable API yet.
2014-09-28 11:51:03 +02:00
Adrien Destugues
b1218ae576 HaikuWebKit 1.4.5. 2014-09-28 09:00:02 +02:00
Stephan Aßmus
8f03a0f9f2 HaikuDepot: Restore logged in user across sessions.
* Store the username in the app settings. The password was already stored
   in the keyring. Restore the username upon next launch.
 * Display the logged in user in the main window.
 * Added "Log out" menu entry.
 * When the password could not be retrieved from the keyring (also because
   the user rejects the keyring dialog), unset the username.
 * Allow unsetting the username by passing an empty name.
2014-09-28 00:33:20 +02:00
Stephan Aßmus
3e3d0effdc HaikuDepot: Limit language selection for account creation
For the time being, there is a limited amount of supported languages
when creating accounts, reflect this in the UI and use a BMenuField.
Creating accounts with other languages fails, the error reporting was
not ideal and could be improved. The server responded with "object not found",
which was reported in the alert, but the response actually contains the
object which was not found (NaturalLanguageCode).
2014-09-28 00:29:50 +02:00
Stephan Aßmus
83f46c7198 HaikuDepot: Handle BMessage for rating comment language 2014-09-27 23:11:41 +02:00
Stephan Aßmus
da504dbcce HaikuDepot: Allow to set the rating comment's language. 2014-09-27 23:09:45 +02:00
Stephan Aßmus
4ff3d17ae8 HaikuDepot: Put supported languages into a StringList
* Added TODO to retrieve the list from the web-app, there is already an
  API for it. For now, the hard-coded list matches the web-app's and the
  next change in this regard will be to support any known language.
* Make the list accessible.
2014-09-27 23:07:39 +02:00
Stephan Aßmus
6bede507a9 HaikuDepot: Define StringList type for convenience. 2014-09-27 23:07:05 +02:00
Stephan Aßmus
c28b83041e HaikuDepot: Add actual rating to RatePackageWindow.
Implemented SetRatingView based on RatingView. It previews the rating
when hovering and makes it permanent when clicked.
2014-09-27 22:46:33 +02:00
Stephan Aßmus
63269a60e4 HaikuDepot: Allow RatingView to be wider than MinSize(). 2014-09-27 22:45:58 +02:00
Stephan Aßmus
823d2b88e9 HaikuDepot: Split generic and specific UI classes
* Also fixed placement of PackageManager which I must have
  dropped into the wrong folder by accident.
2014-09-27 22:03:10 +02:00
Stephan Aßmus
04c9d578d8 HaikuDepot: Organized source into sub-folders 2014-09-27 21:37:38 +02:00
Stephan Aßmus
2e19e8fc63 HaikuDepot: Extracted SharedBitmap into its own files 2014-09-27 21:28:54 +02:00
Stephan Aßmus
11d170047e HaikuDepot: Exract RatingView into its own source and header 2014-09-27 21:12:26 +02:00
Adrien Destugues
1d38b7a86a Geolocation: avoid static init of BUrl
* Fixes #11290.
2014-09-27 19:20:39 +02:00
Jérôme Duval
7d9fed52ad Updated packages for x86_64 2014-09-27 17:18:26 +02:00
autonielx
d2e55506ad Update translations from Pootle 2014-09-27 06:22:18 +02:00
Stephan Aßmus
91778eaa81 HaikuDepot: Added Cancel button to rating window.
Also, no need to have the Send button as a class member.
2014-09-26 21:47:28 +02:00
Stephan Aßmus
5c4c4e2ec6 HaikuDepot: UI for selecting a stability rating...
... in the rating window. Not functional.
2014-09-26 21:47:26 +02:00
Stephan Aßmus
967a281831 HaikuDepot: Definition for stability rating 2014-09-26 21:47:23 +02:00
Lioncash
a4a9dade68 boot: Fix some always false conditions 2014-09-26 20:56:04 +02:00
Lioncash
907046dc4d SudokuView: Check array index before the data array in _FilterString 2014-09-26 20:48:22 +02:00
Lioncash
040e39c534 MediaWriter: Fix mismatched delete call 2014-09-26 20:45:52 +02:00
Lioncash
8108b86980 usb_hid: Fix potential memory leak within HIDParser.cpp 2014-09-26 20:38:22 +02:00
Lioncash
ef36e92c05 scsi_cd: Use the size of a data buffer and not its pointer size 2014-09-26 20:37:14 +02:00
Lioncash
0ae5889578 ac97: Remove a redundant condition within ad1981_init 2014-09-26 20:34:51 +02:00
Lioncash
69acb96d8e radeon_hd: Fix array bounds check in encoder_name_lookup 2014-09-26 20:33:14 +02:00
Adrien Destugues
2a5e33a980 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.
2014-09-26 18:31:11 +02:00
Adrien Destugues
a122146848 Remove BSnow from the default image.
We get several users on IRC asking for help on how to disable it. It
doesn't even look good, uses a lot of CPU, and we have better (useful)
ways to demonstrate replicants on the desktop. So this demo has no use
anymore.
2014-09-26 17:03:26 +02:00
Adrien Destugues
be37c44a19 style fix. 2014-09-26 16:16:52 +02:00
Adrien Destugues
2f36873105 UrlRequest: add empty SetTimeout for ease of use.
* Requests that support this can implement it, NetworkRequest does
* Build fix: no need to return status_t.
2014-09-26 15:51:36 +02:00
Adrien Destugues
5f8fd4c0db add libshared to the development packages.
* We install the headers for many things that are currently in libshared
(BColumnListView, BCalendarView, etc). So it makes sense to also provide
the lib in an "use at your own risk" way. Only the static library is
included, so apps linking against it should continue running on newer
Haiku versions even if the content of the lib changes.
* 3rd party application developers can now make use of those
experimental features without having to copypaste and fork the sources.
2014-09-26 15:43:00 +02:00
Adrien Destugues
654ae69aa6 NetworkRequest: add a SetTimeout method. 2014-09-26 15:21:54 +02:00