Source Activity

Syndicate content
Haiku's main repository
Updated: 24 min 13 sec ago

Chart: fix endianness swap.

Tue, 2014-10-21 09:53
* This is most likely dead code currently (it is used only when the framebuffer is big endian, and the the cpu is little endian) * Fixes a warning. * Can't confirm if B_SWAP_INT32 is really supposed to swap the value in-place, or if this is a bug in Chart. Probably the latter. * This is most likely dead code currently (it is used only when the framebuffer is big endian, and the the cpu is little endian) * Fixes a warning. * Can't confirm if B_SWAP_INT32 is really supposed to swap the value in-place, or if this is a bug in Chart. Probably the latter.
Categories: Development

Use strict mode when url-decoding file requests.

Tue, 2014-10-21 09:12
We don't want '+' to become a space here. Fixes #11109. We don't want '+' to become a space here. Fixes #11109.
Categories: Development

UrlTest: cleanup IDN tests.

Tue, 2014-10-21 09:00
Categories: Development

libpcap: remove explicit dependency for scanner.c

Tue, 2014-10-21 08:04
* jam has been updated in btrev43095, which will now track multiple generated files from a single action correctly * this also partially undoes the change introduced in hrev48061 * jam has been updated in btrev43095, which will now track multiple generated files from a single action correctly * this also partially undoes the change introduced in hrev48061
Categories: Development

btreeTest: Revive test for BPlusTree implementation.

Mon, 2014-10-20 22:11
* Update pseudo cache with minimal set of block cache API. * Update Inode, Journal and Volume stubs to current API. * Add stubs for remaining VFS functions. * Extend tests to also call BPlusTree::Validate() and bail on errors. * Change duplicate tests to fill in the same value. While this isn't strictly allowed, the tree validation can't work unless the values match up. * Lots of coding style cleanup, but much more should still be done... The tests run through without errors. * Update pseudo cache with minimal set of block cache API. * Update Inode, Journal and Volume stubs to current API. * Add stubs for remaining VFS functions. * Extend tests to also call BPlusTree::Validate() and bail on errors. * Change duplicate tests to fill in the same value. While this isn't strictly allowed, the tree validation can't work unless the values match up. * Lots of coding style cleanup, but much more should still be done... The tests run through without errors.
Categories: Development

libkernelland_emu: Sync _rw_lock_{read|write}_unlock API.

Mon, 2014-10-20 22:04
The threadsLocked parameter was removed from the kernel API. The threadsLocked parameter was removed from the kernel API.
Categories: Development

libkernelland_emu: Remove deleted scheduler.cpp from build.

Mon, 2014-10-20 22:00
The file was removed in hrev47484, but the Jamfile wasn't updated. The file was removed in hrev47484, but the Jamfile wasn't updated.
Categories: Development

DateTimeFormat: set the locale to the pattern generator.

Mon, 2014-10-20 15:24
Unfortunately this isn't enough to fix the bug shown by the test just added. Unfortunately this isn't enough to fix the bug shown by the test just added.
Categories: Development

Add more tests for the DateTimePatternGenerator

Mon, 2014-10-20 15:23
There are unexpected results in some cases, with the clock switching to 12 hours format even though the locale is set to use 24 hours. There are unexpected results in some cases, with the clock switching to 12 hours format even though the locale is set to use 24 hours.
Categories: Development

Fix infinite recursion in agg when drawing bezier with invalid points

Mon, 2014-10-20 12:51
* Patch extracted from http://trac.osgeo.org/mapserver/ticket/3862 * Fixes #6738 * Patch extracted from http://trac.osgeo.org/mapserver/ticket/3862 * Fixes #6738
Categories: Development

ScreenSaverSelector: fix drawing of "stop" icon

Mon, 2014-10-20 07:03
* Use B_SUBPIXEL_PRECISE and remove incorrect rounding * Drawing the bar of the stop sign just 1 pixel off was really ugly. * Use B_SUBPIXEL_PRECISE and remove incorrect rounding * Drawing the bar of the stop sign just 1 pixel off was really ugly.
Categories: Development

qrencode addon: use KDL-specific qrencode library

Sun, 2014-10-19 22:38
Fixes #11351 Fixes #11351
Categories: Development

BFS: Fix check of key compare in BPlusTree::_ValidateChildren().

Sun, 2014-10-19 22:13
In ba320218245aeb11cb74c37ecf7132d0b9903957 the key comparison was fixed to use a compatible version. Since then the check can actually return results other than -1. The check done on the result was too strict however. The child nodes may never contain keys that are larger than the keys they are reached by. But the last key of a child node may be equal to the one in the parent. This change fixes the check to take this special case into account. Fixes #11026 and #11289. The issue was unproblematic in so far that it was only hit during a filesystem check and, since BPlusTree does not yet attempt to correct corrupted trees, did not result in any actual actions. In ba320218245aeb11cb74c37ecf7132d0b9903957 the key comparison was fixed to use a compatible version. Since then the check can actually return results other than -1. The check done on the result was too strict however. The child nodes may never contain keys that are larger than the keys they are reached by. But the last key of a child node may be equal to the one in the parent. This change fixes the check to take this special case into account. Fixes #11026 and #11289. The issue was unproblematic in so far that it was only hit during a filesystem check and, since BPlusTree does not yet attempt to correct corrupted trees, did not result in any actual actions.
Categories: Development