49672 Commits

Author SHA1 Message Date
Ingo Weinhold
b998f9f02f BButton: Add support for toggle button behavior
Add methods SetBehavior(), Behavior(). Supported behavior constants are
B_BUTTON_BEHAVIOR -- normal button behavior -- and B_TOGGLE_BEHAVIOR
-- toggle button behavior.
hrev46609
2013-12-29 01:21:45 +01:00
Ingo Weinhold
b181fabe57 BButton: Remove left over attributes hrev46608 2013-12-29 00:43:25 +01:00
Ingo Weinhold
a249edfbfc BButton: Add flat property
* Add methods SetFlat()/IsFlat(). A flat button doesn't draw its frame,
  unless the mouse is hovering over it or it is otherwise activated.
* As a side effect this change also activates the hover glow that was
  already implemented in BControlLook, but not activated in BButton.
hrev46607
2013-12-29 00:13:49 +01:00
Pawel Dziepak
ef8e55a1d0 scheduler: Use single ended heap for CPU heap 2013-12-28 21:47:35 +01:00
Pawel Dziepak
712f37e19e scheduler: profiler: Use nanosecond as a main time unit 2013-12-28 21:03:43 +01:00
Pawel Dziepak
ca9137de37 scheduler: Profile RunQueue implementation 2013-12-28 20:46:22 +01:00
Pawel Dziepak
4c25fcab38 scheduler: Fix double release of run queue lock 2013-12-28 20:11:30 +01:00
Pawel Dziepak
f68a486001 scheduler: Ignore time used by the profiler implementation 2013-12-28 18:55:39 +01:00
François Revol
94c2eb2092 Revert "Add getconf(1) from FreeBSD r259958"
This reverts commit 5a39a9feac1ed9903c099825122f0628f7944fca.
hrev46606
2013-12-28 09:58:27 +01:00
François Revol
5115f7c632 Revert "Mention getconf in FreeBSD sections in the credits."
This reverts commit d86dbc8a89dca0156b483e6643f3652055e6f01e.
2013-12-28 09:58:21 +01:00
François Revol
9307c47ea3 Revert "Add getconf to the image"
This reverts commit c229671d8e28fbe5c81de0a10f83b22bf93a4261.
2013-12-28 09:58:16 +01:00
François Revol
2f6cbd4f43 Revert "Provide cmd:getconf in haiku package"
This reverts commit 5558efa4ce4055b69dc416b8a9a480a229b2f3da.

We now provide getconf as a separate package from Haikuports.
2013-12-28 09:57:16 +01:00
autonielx
e9ae8e0849 Update translations from Pootle hrev46605 2013-12-28 06:16:48 +01:00
François Revol
5558efa4ce Provide cmd:getconf in haiku package hrev46604 2013-12-27 19:57:45 +01:00
François Revol
c229671d8e Add getconf to the image 2013-12-27 19:49:17 +01:00
François Revol
d86dbc8a89 Mention getconf in FreeBSD sections in the credits. 2013-12-27 19:47:41 +01:00
François Revol
5a39a9feac Add getconf(1) from FreeBSD r259958
This one lacks -a but is simpler to port than the (e)glibc one,
and should be way enough for usage patterns like counting CPUs,
cf. https://gist.github.com/jj1bdx/5746298

TODO: Handle message files?
TODO: Install manpage?
2013-12-27 19:42:26 +01:00
François Revol
8ea42167a2 Add sysexits.h from FreeBSD r259958
I'd need this for getconf.
2013-12-27 19:16:15 +01:00
Alexander von Gluck IV
1f0ebbcc55 tests/demos: Fix OpenGL gears test build hrev46603 2013-12-26 23:54:09 -06:00
Alexander von Gluck IV
f5305c806c tests/direct_mode: Fix OpenGL direct mode test build 2013-12-26 23:51:39 -06:00
Alexander von Gluck IV
733ea4057e tests/glut: Fix glut OpenGL test build 2013-12-26 23:49:54 -06:00
Alexander von Gluck IV
56e7f623a3 tests/glsl: Fix glsl OpenGL test build 2013-12-26 23:47:32 -06:00
Pawel Dziepak
65d28952ae scheduler: Make sure RunQueueLink::{fPrevious, fNext} are valid 2013-12-26 22:07:26 +01:00
Pawel Dziepak
335c60552c scheduler: Remove CPUEntry::IncreaseActiveTime() 2013-12-26 19:56:50 +01:00
Pawel Dziepak
9a6868d565 x86: Fix build with kernel debugging disabled 2013-12-26 19:55:33 +01:00
Pawel Dziepak
96dcc73b39 scheduler: Add scheduler profiler
A bit hackish implementation of a profiler for the scheduler.
SCHEDULER_ENTER_FUNCTION at the begining of each function aren't nice and
usage of __PRETTY_FUNCTION__ isn't any better (both gcc and clang support
it though), but it was quick to implement and doesn't lose information
on inlined functions. It's just a tool, not an integral part of the kernal
anyway.
2013-12-26 19:40:50 +01:00
Pawel Dziepak
ebe5420f84 scheduler: No need for gQuantumLengths to be global 2013-12-26 19:40:50 +01:00
Humdinger
447224bf79 Small changes to the PSD mime type
Slightly improved siffer rule
Sentence-cased description
hrev46602
2013-12-26 14:41:36 +01:00
Ingo Weinhold
1d6ca1dadd rule DetermineHaikuRevision: Avoid duplicate command execution
... when HAIKU_REVISION is set.
hrev46601
2013-12-26 00:22:45 +01:00
Stephan Aßmus
26b4c54975 Icon-O-Matic: sprintf -> snprintf hrev46600 2013-12-26 00:20:28 +01:00
Stephan Aßmus
493c0c2b51 Icon-O-Matic: Adjust save file panel title as intended.
* SetExportMode() was supposed to toggle the panel title from "*Save*" to
   "*Export*", but never called Window()->SetTitle().
 * Remove now duplicate translation from constructor.
2013-12-26 00:18:57 +01:00
Stephan Aßmus
2ae82f9fb5 List.h: Missing include (when used with POD == true) 2013-12-26 00:18:57 +01:00
Jérôme Duval
9f79c0ca9a media: Fix ParameterWeb (un)flattening behavior for x86_64.
* should fix #10316.
hrev46599
2013-12-25 18:39:02 +01:00
Freeman Lou
80c9ee9c3f Tracker: exclude trash from selection.
Signed-off-by: Rene Gollent <rene@gollent.com>
hrev46598
2013-12-25 12:09:53 -05:00
Puck Meerburg
f4025b640e Fix Coverity bug 1108194: Copy-paste error
Signed-off-by: Rene Gollent <rene@gollent.com>
hrev46597
2013-12-25 12:02:42 -05:00
Adrien Destugues
adde25de6e Use "clone" method for bilinear resampling
When drawing a bilinear-scaled bitmap with agg, we used to interpolate
the edge pixels assuming everything out of the picture was black. This
led to an ugly dark border around the scaled image.

Instead, use the "clone" method, which repeats the last line or column
of pixels around the image, leading to more correct results in most
cases.

This also helps with some of WebKit tests, which are trying to use
images as references and don't expect an extra border around them.
hrev46596
2013-12-24 09:28:46 +01:00
Adrien Destugues
756ff6c0bc agg: Werror fixes in previously unused templates. 2013-12-24 09:28:44 +01:00
Adrien Destugues
2d0e1ed2f3 be_locale_roster is gone.
Reference the proper method to get the global locale roster object.
2013-12-24 09:28:42 +01:00
Pawel Dziepak
cf4984f645 scheduler: Use precomputed time slice lengths 2013-12-23 22:49:12 +01:00
Pawel Dziepak
ede552ab25 scheduler: Keep thread effective priority cached 2013-12-23 22:06:33 +01:00
Pawel Dziepak
b24ea642d7 scheduler: Encapsulate ThreadData fields 2013-12-23 21:32:21 +01:00
Alexander von Gluck IV
5cc9170f08 GL: Activate x86_gcc2 secondary package
* Hybrids should all work again
hrev46595
2013-12-23 13:46:03 -06:00
Pawel Dziepak
a08b40d408 scheduler: Encapsulate CPUEntry fields 2013-12-23 20:15:16 +01:00
Pawel Dziepak
e1e7235c60 scheduler: Encapsulate CoreEntry fields 2013-12-23 18:27:10 +01:00
Alexander von Gluck IV
ebe57d49cc GL: Activate x86_gcc2 secondary package
* Seems I misunderstood how much of the hpkg build
  process was automated. Should fix hybrid build.
hrev46594
2013-12-23 10:21:35 -06:00
John Scipione
63632ee1a2 BListView: Skip disabled items via keys
Update B_UP_ARROW, B_DOWN_ARROW, B_HOME, and B_END
in KeyDown() to skip over disabled items.
hrev46593
2013-12-23 05:03:42 -05:00
John Scipione
c6c5cd9940 BListView: Only select enabled items
when selecting multiple items in a multi-select list view.
2013-12-23 05:03:41 -05:00
John Scipione
b38f03f561 BListView: small optimization.
We already got item at index, don’t get it again
2013-12-23 05:03:40 -05:00
John Scipione
d093101215 BListView: style fixes 2013-12-23 05:03:39 -05:00
Alexander von Gluck IV
5fd5e562aa GL: Ensure mesa_devel and mesa_swrast are always present
* As the OpenGL kit is assumed by most ports (and BeOS apps)
  to "exist", lets make mesa_devel present by default until
  post R1
* mesa_swrast ensures we always have the basic swrast renderer
  To play with mesa_swpipe (gallium llvmpipe, gcc4) uninstall
  mesa_swrast and install mesa_swpipe. (you can install both,
  but it's first renderer found, first used atm)
hrev46592
2013-12-23 01:57:05 -06:00