Commit Graph

46470 Commits

Author SHA1 Message Date
Stephan Aßmus
1058f86a5f BColumnListView: Regard StatusView in DoLayout() and Draw() 2013-08-10 22:40:05 +02:00
Stephan Aßmus
6f065b8bfe HaikuDepot: Changed my mind, search full description, too. 2013-08-10 21:33:04 +02:00
Stephan Aßmus
09d44cec8d HaikuDepot: Implemented filtering by search terms 2013-08-10 21:30:37 +02:00
Stephan Aßmus
3a6ccc8579 HaikuDepot: Fleshed out the code to support the virtual categories 2013-08-10 20:37:11 +02:00
Stephan Aßmus
706edd805f HaikuDepot: PackageInfoList -> PackageList, added PackageState enum
* Model has SetPackageState(). It adds or removes a PackageInfo
   to/from three internal lists, installed, activated and uninstalled
   packages.
2013-08-10 20:37:10 +02:00
Stephan Aßmus
2c3e4eaa41 HaikuDepot: List.h: added IndexOf(), Contains() and Remove()
* All of those take const ItemType& as argument.
2013-08-10 20:37:09 +02:00
Stephan Aßmus
42479955ae HaikuDepot: Implemented filtering by category 2013-08-10 20:37:08 +02:00
Stephan Aßmus
4abd2b7110 HaikuDepot: Beginnings of supporting filters...
... to reduce the package list. No filters can be defined
  via the UI, but a DepotFilter is already implemented, although
  its performance will probably need to improve.
2013-08-10 20:37:07 +02:00
Stephan Aßmus
633ed4c48e HaikuDepot: Make categories also accessible as List in Model 2013-08-10 20:37:06 +02:00
Stephan Aßmus
f75ec10dc6 HaikuDepot: Added the notion of package categories
* Defined PackageCategory class (icon, label and internal name)
 * Each PackageInfo has a list of PackageCategories
 * Model defines global PackageCategories, referenced by PackageInfos
 * Added Model.cpp to files needing translation
 * Added categories to dummy package infos
2013-08-10 20:37:06 +02:00
Niels Sascha Reedijk
3785b9b459 Update translations from Pootle 2013-08-10 06:14:28 +02:00
Rene Gollent
f8a99c90ad Cleanups. 2013-08-09 18:51:45 -04:00
Rene Gollent
ac4d653dd3 Tracker: Fix another navigator issue.
The problem indicated by #8388 hid another issue with respect to
show/hiding the navigator on the fly, namely that it didn't correctly
respect the type of Tracker window, which would cause the navigator to
show up in cases where it shouldn't, such as query windows.
2013-08-09 18:51:44 -04:00
Philippe Houdoin
f1cc99789b Add PatchBay to default image's demos 2013-08-08 22:45:20 +02:00
Pete Goodeve
82fbbe21aa additional style update to patchbay 2013-08-08 22:32:00 +02:00
Pete Goodeve
42b7984a6e PatchBay revisions for Haiku 2013-08-08 22:31:39 +02:00
Stephan Aßmus
0c82a69de4 HaikuDepot: Make string and icon+string columns sortable. 2013-08-08 09:21:07 +02:00
Stephan Aßmus
b928a72b88 HaikuDepot: Layout and labeling tweaks
* Swap rating and version in title view so it matches the
   order in the Ratings tab (rating XX for version YY).
 * Give a chance to decorate the version in translations.
 * Drop the parenthesis around version in Ratings tab.
2013-08-08 09:21:06 +02:00
Rene Gollent
b939c39167 Tracker: Fix #8388.
BNavigator shouldn't update its location until AllAttached(). Otherwise,
it might immediately trigger a redraw, and in such a case, the
navigation buttons wouldn't yet have had a chance to load their icon
resources, leading to a debug assert in BPictureButton due to said
images not being present, but required.
2013-08-07 19:42:52 -04:00
Stephan Aßmus
f4e16e73d5 HaikuDepot: Fleshed out Ratings page. 2013-08-07 21:48:45 +02:00
Stephan Aßmus
82a33bbe71 HaikuDepot: Implemented showing the rating in the Rating column 2013-08-07 19:09:40 +02:00
Stephan Aßmus
c887e3ac0d HaikuDepot: Show package version...
... and add short description to about page.
2013-08-04 22:17:15 +02:00
Stephan Aßmus
0046c36dfc HaikuDepot: Display the first screenhot in the package contents area.
* Disabled BitmapView::GetHeightForWidth() to keep aspect, it seems
   broken in the layout system, the view gets layouted completely
   elsewhere. Mabye due to the layout hierarchy being optimized?
 * Instead layout the bitmap with correct aspect in the given space,
   honor LayoutAlignment() for this.
2013-08-04 22:08:36 +02:00
Stephan Aßmus
9481e817b4 HaikuDepot: Add screenshots from resources to dummy package infos. 2013-08-04 22:08:10 +02:00
Stephan Aßmus
b576b5a85b HaikuDepot: Keep aspect ratio of Bitmap in BitmapView 2013-08-04 18:37:25 +02:00
Stephan Aßmus
127061e76f HaikuDepot: Scrollbars for content, document window look
* All text views that potentially need scrolling are now
   embedded into a CustomScrollView. That one controls a
   vertical BScrollBar only and has B_NO_BORDER frame. Since
   the regular BScrollView doesn't do some adjustments in
   this setup, the CustomScrollView takes care of moving the
   BScrollBar such that the B_DOCUMENT_WINDOW_LOOK resize
   handle does not obscure the bottom arrow button.
2013-08-04 18:29:23 +02:00
Stephan Aßmus
a8b89c6b4f BControlLook: The spacing values need to be rounded...
... or they will cause all sorts of graphics glitches and layout
 problems.
2013-08-04 18:29:22 +02:00
Stephan Aßmus
8c9cf99133 HaikuDepot: Allow to force other size on BitmapView 2013-08-04 18:29:21 +02:00
Stephan Aßmus
9ecd9f0294 HaikuDepot: Added ability to store screenshots in PackageInfo. 2013-08-04 18:29:20 +02:00
Stephan Aßmus
168c3c8b34 HaikuDepot: Added ability to load archived BBitmaps resourced.
* SharedBitmap should probably be moved into its own file.
 * Untested as of yet.
2013-08-04 18:29:19 +02:00
Stephan Aßmus
2ff988cad4 HaikuDepot: Added WonderBrush and Paladin screenshots in resources 2013-08-04 18:29:19 +02:00
Rene Gollent
44646df416 Debugger: Move CLI commands into their own subdir. 2013-08-04 10:50:44 -04:00
Stephan Aßmus
601d751f4f HaikuDepot: Switched back to actual BTabView
* Instead of showing all package actions along the bottom
   of the window, only the applicable actions are shown, but
   besides the package title.
 * The radio buttons are gone, instead an actual BTabView is
   used, but now in a more pretty way.
 * The package info content stretches to the window border
   which will make showing a vertical scroll bar look better.
2013-08-04 00:51:49 +02:00
Stephan Aßmus
68ed4f7dd6 HaikuDepot: More work on package info view
* Display rating via RatingView and additional BStringView
   decoration
 * Display radio buttons to switch between About, Ratings and
   Changelog pages. (Will be replaced again...)
 * Implement preliminary UserRatingsView showing all user
   ratings (currently in a single BTextView, will be much
   more detailed later on).
 * Implement ChangelogView, simply showing the dummy changelogs
   in a BTextView.
 * Layout tweaks
2013-08-03 22:40:13 +02:00
Stephan Aßmus
c76894073a HaikuDepot: Class and method to retrieve a user rating summary 2013-08-03 22:40:12 +02:00
Stephan Aßmus
0177c6b4be HaikuDepot: Include PackageManager.cpp in build 2013-08-03 22:40:11 +02:00
Stephan Aßmus
ae5df46045 HaikuDepot: Include star icon in resources 2013-08-03 22:40:10 +02:00
Stephan Aßmus
3e2a7aa5ce HaikuDepot: Classes to interface with the Package Kit
* Non functional
 * Basically allows to retrieve applicable actions for
   a given package.
2013-08-03 22:40:09 +02:00
Stephan Aßmus
3aac7049ba HaikuDepot: Disallow second split (package info) to collapse 2013-08-03 22:40:08 +02:00
Niels Sascha Reedijk
dfc913cb7a Update translations from Pootle 2013-08-03 06:18:24 +02:00
Rene Gollent
1f67610d5a Move Alex Smith to active maintainers list. 2013-08-02 22:15:18 -04:00
Philippe Saint-Pierre
ba03d61b4f DeskBar: use the prepared transparent icon when necessary
In the odd case where there is no icon for an app, and the generic
3 boxes icon is also unavailable/removed, Deskbar now properly draws
the transparent icon that was prepared, but not used (and leaked).
2013-08-02 21:04:57 -04:00
Rene Gollent
055118de88 AboutSystem: Move Pawel Dziepak to active maintainers list. 2013-08-01 19:29:35 -04:00
Stephan Aßmus
c4a4cf93eb HaikuDepot: Package title tweaks, show publisher 2013-08-02 00:06:38 +02:00
Stephan Aßmus
b42e741f26 HaikuDepot: ÜiPut psher info in its own class. 2013-08-01 23:52:14 +02:00
Stephan Aßmus
ffc424b51a HaikuDepot: Show the publisher mail and website as in the mockup.
TODO: Should be clickable of course.
2013-08-01 23:26:44 +02:00
Stephan Aßmus
dd75adcdfa HaikuDepot: Fixed bugs with MimeType icon loading 2013-08-01 23:26:14 +02:00
Stephan Aßmus
c58a02bab6 HaikuDepot: Added icon loading from BMimeType to SharedBitmap
* Also added publisher email and website fields to PackageInfo.
2013-08-01 22:56:51 +02:00
Ingo Weinhold
a56422b448 VFS: fs_mount(): fix FS name leak
Fixes #9909.
2013-08-01 15:43:24 +02:00
Jérôme Duval
8f5dbad65b FreeBSD compat layer: root->softc needs to be zeroed, not root. 2013-08-01 07:37:59 +02:00