Source Activity

Syndicate content
Haiku's main repository
Updated: 32 min 17 sec ago

Notifications: use a single settings file.

Tue, 2014-10-21 16:46
There were 3 setting files, each an archived BMessage. Now there is only one with all the data inside. * Rework the SettingsPane class to save and load settings from a message, rather than having each panel pick a file path on its own * Move saving the app filters to the preference app, rather than the server (so it's done at the same place as other settings) * Rework loading prefs in the server so the settings message is read from the file once and all settings are loaded from it. This turns out to be more changes than I anticipated. Fixes #9424. There were 3 setting files, each an archived BMessage. Now there is only one with all the data inside. * Rework the SettingsPane class to save and load settings from a message, rather than having each panel pick a file path on its own * Move saving the app filters to the preference app, rather than the server (so it's done at the same place as other settings) * Rework loading prefs in the server so the settings message is read from the file once and all settings are loaded from it. This turns out to be more changes than I anticipated. Fixes #9424.
Categories: Development

openssl: security update

Tue, 2014-10-21 16:33
Fix for CVE-2014-3513 Fix for CVE-2014-3567 Mitigation for CVE-2014-3566 (SSL protocol vulnerability) Fix for CVE-2014-3568 Fix for CVE-2014-3513 Fix for CVE-2014-3567 Mitigation for CVE-2014-3566 (SSL protocol vulnerability) Fix for CVE-2014-3568
Categories: Development

XHCI USB: Add port routing for Intel BayTrail USB device.

Tue, 2014-10-21 15:55
* from FreeBSD. * from FreeBSD.
Categories: Development

BUrl: IDNA ToUnicode and ToASCII conversions.

Tue, 2014-10-21 12:39
* Since DNS are normally restricted to ASCII, the use of UTF-8 in domain names is implemented using a "punycode" encoding. * The request to the DNS server must be sent with the ASCII representation of the domain name, however the Unicode one should be used for user-visible parts. * ICU provides an implementation of the conversion, which we use here. * Conversion is currently done in-place and modifies the BUrl object (this is similar to UrlEncode/UrlDecode). * Adjust existing IDN test to make use of these methods. It's passing now. * Since DNS are normally restricted to ASCII, the use of UTF-8 in domain names is implemented using a "punycode" encoding. * The request to the DNS server must be sent with the ASCII representation of the domain name, however the Unicode one should be used for user-visible parts. * ICU provides an implementation of the conversion, which we use here. * Conversion is currently done in-place and modifies the BUrl object (this is similar to UrlEncode/UrlDecode). * Adjust existing IDN test to make use of these methods. It's passing now.
Categories: Development

tcpdump/libpcap: correctly declare dependency between lex/yacc

Tue, 2014-10-21 11:33
* Previously, debugging jam, it would output a warning along the lines of 'warning: using independent target ... grammar.c'. To fix the dependency, it needs to be declared from object file to the generated source file. * With the correct dependency (scanner.o on grammar.c), this warning is eliminated, and the dependency graph shown is now correct * This should address #4091 * Previously, debugging jam, it would output a warning along the lines of 'warning: using independent target ... grammar.c'. To fix the dependency, it needs to be declared from object file to the generated source file. * With the correct dependency (scanner.o on grammar.c), this warning is eliminated, and the dependency graph shown is now correct * This should address #4091
Categories: Development

Add more tests for BMessageFormat.

Tue, 2014-10-21 10:21
* Negative and null values, big values, thousands separators (in different languages), string with no format, non-printable and non-utf8 charcaters, format not using # for the number. * Negative and null values, big values, thousands separators (in different languages), string with no format, non-printable and non-utf8 charcaters, format not using # for the number.
Categories: Development

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