Source Activity

Syndicate content
Haiku's main repository
Updated: 33 min 31 sec ago

MediaEventLooper: Calculate lateness from the nearest value

Sat, 2016-05-07 11:17
* When the event is late there are two major situations, the first is when the enqueue time is in past compared to the performance time. The second happen when the performance time is in past compared to the enqueue time. The purpose of this change is to calculate the lateness considering always the nearest of the two values. This way the exceding latency is trimmed out from the calculus depending on what the actual source of delay is. * There is a lot more that could be done by looking at the previous lateness value. * When the event is late there are two major situations, the first is when the enqueue time is in past compared to the performance time. The second happen when the performance time is in past compared to the enqueue time. The purpose of this change is to calculate the lateness considering always the nearest of the two values. This way the exceding latency is trimmed out from the calculus depending on what the actual source of delay is. * There is a lot more that could be done by looking at the previous lateness value.
Categories: Development

Update translations from Pootle

Sat, 2016-05-07 04:49
Categories: Development

bluetooth_server: Remove the "show debug console" item from the replicant.

Fri, 2016-05-06 17:12
Redundant (the Preferences dialog now has this), and unnecessary, as only developers want it; it'll confuse end-users. Redundant (the Preferences dialog now has this), and unnecessary, as only developers want it; it'll confuse end-users.
Categories: Development

preferences/bluetooth: Add some missing NULL checks.

Fri, 2016-05-06 17:03
Fixes some more crashes when nothing is selected. Fixes some more crashes when nothing is selected.
Categories: Development

bluetooth_server: Don't dereference before NULL check.

Fri, 2016-05-06 16:54
Fixes a crash when there are no local devices. Fixes a crash when there are no local devices.
Categories: Development

Bluetooth Window: Defaults and Revert on left

Fri, 2016-05-06 16:51
These buttons go to the left according to the ad-hoc rule we've created for preflets. The right side is reserved for an Apply or OK button and is left blank otherwise. These buttons go to the left according to the ad-hoc rule we've created for preflets. The right side is reserved for an Apply or OK button and is left blank otherwise.
Categories: Development

bluetooth_server: Don't show an error when the Prefs app couldn't start.

Fri, 2016-05-06 16:42
The only error I can think of (and the one that this displays) is that the preflet is already running, which is not very helpful. The only error I can think of (and the one that this displays) is that the preflet is already running, which is not very helpful.
Categories: Development

Bluetooth Window: Layout tweaks

Fri, 2016-05-06 16:42
SetBorder(B_NO_BORDER) on tabView. Add a BSeparatorView to draw a line between tabs and bottom buttons Inset by B_USE_WINDOW_SPACING around buttons. (B_USE_DEFAULT_SPACING betwen buttons and the tabview) SetBorder(B_NO_BORDER) on tabView. Add a BSeparatorView to draw a line between tabs and bottom buttons Inset by B_USE_WINDOW_SPACING around buttons. (B_USE_DEFAULT_SPACING betwen buttons and the tabview)
Categories: Development

preferences/bluetooth: Use BAboutWindow instead of BAlert.

Thu, 2016-05-05 22:09
Now the about window will actually fit on my screen vertically. Now the about window will actually fit on my screen vertically.
Categories: Development

preferences/bluetooth: Use BLayoutBuilder instead of B*LayoutBuilder.

Thu, 2016-05-05 22:09
Fixes a bunch of window sizing issues and the weird space between the window border and the contents. Fixes a bunch of window sizing issues and the weird space between the window border and the contents.
Categories: Development