Commit Graph

47982 Commits

Author SHA1 Message Date
Stephan Aßmus
057633446b HaikuDepot: Added ratings summary view 2013-08-17 13:33:57 +02:00
Stephan Aßmus
4f434bc67a HaikuDepot: Added up and down vote count to UserRating 2013-08-17 13:33:56 +02:00
John Scipione
74577830da ColorControl: Implement keyboard navigation
Implements enhancement described in #9819

This feature works pretty much as it did on BeOS R5.

When you focus on the color control, the border is drawn blue and
the dot on the red ramp draws as an outline to show that it is
selected. You can push the up and down arrow keys to navigate to the
previous and next ramps respectively and can push right and left to
increment and decrement the color value of the selected ramp.

Clicking on the control no longer gives it focus.

In BeOS the left and right arrows would increment and decriment by 5,
on Haiku they increment and decrement by 1, but, by holding down the
key for a second or so the increment value increases to 5 allowing for
both course and fine adjustments.

On a technical note I split the int32 fFocusedComponent member variable
into 2 int16 member variables, fFocusedRamp and fClickedRamp. I did this
because I needed an entra variable, and can't  change the size of the
class without using up another reserved member variable slot. int16
should be more than enough for these variables as they store an index to
the currently focused or clicked on ramp (0-3). Please someone chime in
if this is not okay for FBC in some condition I didn't think about.
2013-08-17 03:40:58 -04:00
Ingo Weinhold
987d25a40c build_cross_tools: use --with-hybrid-secondary when needed 2013-08-17 09:31:57 +02:00
Ingo Weinhold
464ee61f45 pkgman: link against needed libstdc++ 2013-08-17 09:31:24 +02:00
Ingo Weinhold
536ff120f0 pkgman: missing include 2013-08-17 09:30:52 +02:00
Ingo Weinhold
f6e836d616 packagefs: PackageNode: fix protection issue
Only gcc 2 allows us to use a pointer to a protected method as a
template argument.
2013-08-17 09:29:16 +02:00
Ingo Weinhold
145189e61a packagfs: fix header order 2013-08-17 09:23:19 +02:00
Ingo Weinhold
418071ba65 MIME DB support: avoid static initialization order issue 2013-08-17 09:22:42 +02:00
Ingo Weinhold
77b9f01f9b Add a few standard build tools to the Development meta package 2013-08-17 09:21:06 +02:00
Ingo Weinhold
24796718b9 Bootstrap Haiku image: add source for more required packages
* Introduce build variable HAIKU_IMAGE_ADDITIONAL_PACKAGES which can be
  set to add additional packages to the image.
* Use HAIKU_IMAGE_ADDITIONAL_PACKAGES to support specifying a list of
  additional packages via the build-package-list build profile action.
* Add htmldoc and texi2html when building the list of the packages for
  which we need source packages when building the bootstrap Haiku image.
  We don't want them on the regular image, but they are needed to build
  some packages that are on it.
2013-08-17 09:20:35 +02:00
Ingo Weinhold
13f2fbbd9e Add build variable HAIKU_PORTER_CONCURRENT_JOBS
It can be set to the number of jobs specified on the haikuporter
command line. Speeds up the bootstrap build quite a bit.
2013-08-17 09:12:45 +02:00
Ingo Weinhold
64264fa6ac Use Objects instead of KernelObjects
Should we actually require differently built glue code for the kernel or
kernel add-ons, which should build a separate set.
2013-08-17 09:10:31 +02:00
Niels Sascha Reedijk
32af01e854 Update translations from Pootle 2013-08-17 06:13:56 +02:00
Stephan Aßmus
e8be78fe3d HaikuDepot: Corrected copyright on TextLayout.cpp.
* The char classification stuff and can_end_line() originate
   from the BTextView implementation. Maybe Oliver Tappe is the
   lonely author of that code, but I don't feel like tracking this
   down at the moment and it should eventually be merged anyway,
   if what I did here proves useful at all.
2013-08-14 23:11:28 +02:00
Stephan Aßmus
840cac7415 HaikuDepot: Fixed scroll range in ratings view
* Due to HasHeightForWidth TextViews, the MinSize() of
   the layout has a different meaning. The reliable source
   for the actual needed height of the layout seems to be the
   Frame().bottom of the last BLayoutItem.
2013-08-14 23:07:27 +02:00
Stephan Aßmus
139bc0df15 HaikuDepot: A round of bug fixes gets the TextView working 2013-08-14 23:07:26 +02:00
Stephan Aßmus
0f71004390 HaikuDepot: More work on custom TextView
* TextLayout produces some first visible results...
2013-08-14 23:07:25 +02:00
Stephan Aßmus
156881a46b HaikuDepot: Beginnings of new TextView
* BTextView isn't usable for what I have in mind
 * based on new TextLayout
 * completely non-functional, yet
2013-08-14 23:07:24 +02:00
Stephan Aßmus
0f26bc6d00 HaikuDepot: Added another dummy package. 2013-08-14 23:07:23 +02:00
Ingo Weinhold
f73d05a79b HaikuPorts/x86_gcc2: Update git packages 2013-08-14 10:14:16 +02:00
Ingo Weinhold
9a19dcd7cb pkgman search: '-i' option wasn't handled 2013-08-14 10:13:56 +02:00
Ingo Weinhold
ce76b7e202 Fix strrchr()
* For the comparison cast the character parameter to char as required
  by the spec.
* Fix broken handling of strrchr(..., 0). It is supposed to return a
  pointer to the end of the string. It did return a pointer to the
  start.
2013-08-13 21:30:30 +02:00
John Scipione
d38ba8f7dd ControlLook: Check IsFocus() first
Otherwise we make two unnecessary function calls for every control
in a window where only one of them is the focus control.

Thanks Stippi.
2013-08-13 13:05:01 -04:00
Ingo Weinhold
37cfff1f04 build_haiku_image: filter duplicate packages
Resolving the package dependencies for system might yield packages that
are already given for common. Filter those out of the list for common
before resolving the common dependencies.
2013-08-13 15:31:22 +02:00
Ingo Weinhold
998ef89065 package daemon: Volume: fix package removal after transaction
Volume::_ChangePackageActivation(): Refactoring oversight:
fPackagesToBeDeactivated was still used instead of the
packagesToDeactivate parameter, so the packages wouldn't be removed from
the hash tables when invoked from the CommitTransactionHandler. Fixes
#9921.
2013-08-13 14:43:29 +02:00
Ingo Weinhold
86233b1067 HaikuPorts: update several packages
... and add some missing devel packages.
2013-08-13 14:20:42 +02:00
Ingo Weinhold
b8ab901eeb packagefs: replace ':' with '~' in the package link names
Otherwise paths containing those symlinks cannot be used in colon
separated search path lists.
2013-08-13 14:20:41 +02:00
Ingo Weinhold
623331eed5 packages: PackageFSRoot: fix, improve, add debug output 2013-08-13 14:20:41 +02:00
Ingo Weinhold
7ff288ed51 packagefs: fix dependency resolution without compat version 2013-08-13 14:20:41 +02:00
Ingo Weinhold
3ea37257df haiku_devel* package infos: add compat version and base package 2013-08-13 14:20:41 +02:00
John Scipione
59655dcbc4 Update control focus flag. Fixes #9915
Parent window must be active for control to draw as focused. This
affects all controls that draw their focus ring using ControlLook
including but not limited to BButton, BCheckBox, and BRadioButton.

I won't pretend to know what is "right" but the behavior now matches
BeOS R5.
2013-08-12 15:56:39 -04:00
Oliver Tappe
4c6b3efc91 Increase size of bootstrap image to 4 GB.
* 1 GB isn't enough to build the basic set
2013-08-12 21:50:13 +02:00
Ingo Weinhold
f56958c140 Add development packages for the secondary architecture 2013-08-12 17:23:20 +02:00
Ingo Weinhold
4e822fec6f HaikuPorts/x86_gcc2: Update gcc and binutils
Also add secondary architecture packages.
2013-08-12 17:20:36 +02:00
Ingo Weinhold
483b28e478 Add option --target-arch
On Haiku it allows to specify the target architecture to build for
using one of the installed native compilers.
2013-08-12 17:18:02 +02:00
Ingo Weinhold
b57470a217 Remove setgcc 2013-08-12 15:53:50 +02:00
Stephan Aßmus
90b145cc39 HaikuDepot: Item count text less black 2013-08-10 22:57:44 +02:00
Stephan Aßmus
bcc3ba4109 HaikuDepot: Added item count view to package list 2013-08-10 22:40:40 +02:00
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
Ingo Weinhold
555b02d345 Add webpositive package to image 2013-08-10 15:06:55 +02:00