Pawel Dziepak
8aa1539bb0
scheduler: Strengthen CoreEntry::GetLoad() assertion
2013-12-30 06:10:14 +01:00
John Scipione
0a669f8cd8
Backgrounds: style fixes only
...
* Update copyright headers
* Fill in pragmas
* Eliminate superfluous B_USE_DEFAULT_SPACING, 80 char limit too
* rename msg variable to message
2013-12-29 23:42:37 -05:00
Ingo Weinhold
a0848a1916
BButton: Add optional pop-up marker
...
* Add behavior constant B_POP_UP_BEHAVIOR which adds a pop-up marker
to the button (similar to that of BMenuField).
* Add methods [Set]PopUpMessage(). To set/get the the message that is
sent to the button's target when the pop-up marker is clicked.
2013-12-30 04:42:52 +01:00
Ingo Weinhold
87f392c9f0
BControlLook::GetFrameInsets(): Fix button insets
...
The button frame is 3 pixels wide, but that includes one pixel that
actually belongs to the background, which is accounted for by
GetBackgroundInsets().
Removes the additional one pixel inset accidentally introduced earlier.
2013-12-30 04:18:34 +01:00
Ingo Weinhold
813c5772c9
BButton: Removed dead code
...
Remove methods _DrawDefault() and _DrawFocusLine() which were used for
the non-BControlLook drawing.
2013-12-30 04:18:33 +01:00
Pawel Dziepak
15a7f2046a
kernel: Return CPU load in cpu_info
2013-12-29 22:47:06 +01:00
Pawel Dziepak
ba4cf03951
apps: Pulse: Initialize per CPU fields properly
2013-12-29 22:47:06 +01:00
Pawel Dziepak
c69bd82c31
apps: ProcessController: Initialize per CPU fields properly
2013-12-29 22:47:05 +01:00
Pawel Dziepak
e46f284adc
kernel/util: MinMaxHeap: Fix unused variable warnings
2013-12-29 22:47:05 +01:00
Pawel Dziepak
56c0f467b0
scheduler: Fix unused variable warnings
2013-12-29 22:47:05 +01:00
Alexander von Gluck IV
142345a54f
radeon_hd: Disable mode line syslog spam
...
* Useful when driver was first developed, now it is
mostly spam however.
2013-12-29 15:19:30 -06:00
Alexander von Gluck IV
fefb6da970
radeon_hd: Correct RadeonHD DisplayPort link training
...
* dp_link_train takes connectorIndex and not crtcIndex
* May resolve some DisplayPort issues.
2013-12-29 15:05:59 -06:00
Pawel Dziepak
a47974dd06
scheduler: Use heap to determine highest priority thread
2013-12-29 19:24:01 +01:00
Pawel Dziepak
484e5c737f
scheduler: profiler: Compare types larger than int properly
2013-12-29 19:19:21 +01:00
François Revol
e6eaad8615
A little script which takes care of updating system packages
...
It checks for updates, asks the user to reboot,
then moves old packages out and re-adds ProcessController
and NetworkStatus to the Deskbar.
2013-12-29 11:49:58 +01:00
Humdinger
5cedc7f5ef
Removed defaulting B_USE_DEFAULT_SPACING.
...
As augiedoggie pointed out, B_USE_DEFAULT_SPACING is the default
parameter. Removed where not necessary.
2013-12-29 10:57:59 +01:00
Humdinger
863648843f
Corrected inset of upper layout elements.
...
Now it's the same space on all sides.
Use B_USE_DEFAULT_SPACING instead of hardcoded value 10.
2013-12-29 10:38:40 +01:00
Rene Gollent
85ce138557
StyledEdit: Fix #10349 .
...
Override QuitRequested in FindWindow to notify the parent edit window of the
find window's demise so it can reset its corresponding pointer. Otherwise the
latter will potentially access the invalid pointer in question on subsequent
find requests, leading to potential crashes.
2013-12-28 22:07:04 -05:00
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.
2013-12-29 01:21:45 +01:00
Ingo Weinhold
b181fabe57
BButton: Remove left over attributes
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.
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 5a39a9feac
.
2013-12-28 09:58:27 +01:00
François Revol
5115f7c632
Revert "Mention getconf in FreeBSD sections in the credits."
...
This reverts commit d86dbc8a89
.
2013-12-28 09:58:21 +01:00
François Revol
9307c47ea3
Revert "Add getconf to the image"
...
This reverts commit c229671d8e
.
2013-12-28 09:58:16 +01:00
François Revol
2f6cbd4f43
Revert "Provide cmd:getconf in haiku package"
...
This reverts commit 5558efa4ce
.
We now provide getconf as a separate package from Haikuports.
2013-12-28 09:57:16 +01:00
autonielx
e9ae8e0849
Update translations from Pootle
2013-12-28 06:16:48 +01:00
François Revol
5558efa4ce
Provide cmd:getconf in haiku package
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
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
2013-12-26 14:41:36 +01:00
Ingo Weinhold
1d6ca1dadd
rule DetermineHaikuRevision: Avoid duplicate command execution
...
... when HAIKU_REVISION is set.
2013-12-26 00:22:45 +01:00
Stephan Aßmus
26b4c54975
Icon-O-Matic: sprintf -> snprintf
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