Commit Graph

51575 Commits

Author SHA1 Message Date
Stephan Aßmus
6e80c1ca11 HaikuDepot: Implemented creating/updating ratings...
... from the RatePackageWindow. It does not work yet, the errors
are reported. To be investigated...
2014-09-29 23:19:55 +02:00
Stephan Aßmus
e824035985 HaikuDepot: Fixed missing space in error alert. 2014-09-29 23:19:25 +02:00
Stephan Aßmus
fca4717406 HaikuDepot: Implemented creating and updating ratings...
... 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.
2014-09-29 23:05:43 +02:00
Stephan Aßmus
24cde1e4ef HaikuDepot: Added WebAppInterface getter to Model 2014-09-29 23:05:11 +02:00
Stephan Aßmus
965707a9bb HaikuDepot: Rating and login window have no system names. 2014-09-29 22:30:59 +02:00
Stephan Aßmus
8ecb43af28 HaikuDepot: Display check box to deactivate rating
... if a rating already exists for the given package and version.
2014-09-29 22:23:15 +02:00
Stephan Aßmus
0ba9258d0f HaikuDepot: Use B_USE_WINDOW_INSETS in login window 2014-09-29 22:22:30 +02:00
Stephan Aßmus
cec1192ea0 HaikuDepot: Use getUserRatingByUserAndPkgVersion...
... instead of searching for a rating from the given user. This API will
also return deactivated ratings, so the user could re-activate it.
2014-09-29 22:05:00 +02:00
Stephan Aßmus
46bcb34d05 HaikuDepot: Store BPackageVersion in PackageInfo...
...instead of the string representation. This makes it easier to
get the major, minor, micro, prerelease and revision parts later on.
2014-09-29 22:04:59 +02:00
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