49303 Commits

Author SHA1 Message Date
Pawel Dziepak
7c92dffeef scheduler: Fix order of the includes
Thanks Jérôme!
2013-12-31 03:53:55 +01:00
Pawel Dziepak
265927509d scheduler: Protect per CPU run queue with its own lock 2013-12-31 03:53:55 +01:00
Alexander von Gluck IV
0d3ec98f66 Revert "radeon_hd: Correct RadeonHD DisplayPort link training"
This reverts commit fefb6da970c11a38c9300b27db49aad79e23045e.

* This was actually correct before, was looking at the wrong
  function while troubleshooting something.
hrev46625
2013-12-30 20:28:17 -06:00
Alexander von Gluck IV
224b875b3a radeon_hd: clean up clock units
* Ensure we store all clock units as khz or
  n * 10 off from AtomBIOS unit expected
* Perform DDC setup of external encoder
hrev46624
2013-12-30 19:09:53 -06:00
Matt Madia
5ed8c605ef Enable WebPositive for x86_64 in DefaultBuildProfiles.
Thanks waddlesplash for the note!
hrev46623
2013-12-30 19:29:45 -05:00
Alexander von Gluck IV
c9ff95feb0 radeon_hd: display connector capabilities hrev46622 2013-12-30 14:38:57 -06:00
Alexander von Gluck IV
9c2d51d685 radeon_hd: clean up encoder object
* Encoder flags were 1:1 connector flags...
  just look at connector flags.
* Record encoder capabilities
* Add function to check for dp 1.2 support
2013-12-30 14:37:59 -06:00
François Revol
d3ce2febd2 Little optimization hrev46621 2013-12-30 19:48:59 +01:00
François Revol
a82d922deb workspaces: switch current workspace on mouse wheel
Gnome does that on the panel widget, at first it was annoying
but after a while it feels quite handy.
hrev46620
2013-12-30 19:13:30 +01:00
Jérôme Duval
fbe8c1ce60 ipro1000: merge again if_em.c, messed up during the 9.2 update hrev46619 2013-12-30 17:59:00 +01:00
Jérôme Duval
b7507e8ed9 pci: fix function parameter order in pci_ht_msi_map(). 2013-12-30 17:31:48 +01:00
Pawel Dziepak
1524fbf742 scheduler: Fix divide error in _RequestPerformanceLevel 2013-12-30 06:10:14 +01:00
Pawel Dziepak
046af755d0 x86: Fix stack corruption in cache topology detection 2013-12-30 06:10:14 +01:00
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
hrev46618
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.
hrev46617
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.
hrev46616
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.
hrev46615
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.
hrev46614
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.
hrev46613
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.
hrev46612
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.
hrev46611
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.
hrev46610
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.
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