Source Activity

Syndicate content
Haiku's main repository
Updated: 47 min 5 sec ago

haiku_loader: Fix wrong size of gBootGDT on x86_64.

Wed, 2014-10-22 18:55
The BOOT_GDT_SEGMENT_COUNT was based on USER_DATA_SEGMENT on both x86 and x86_64. However, on x86_64 the order of the segments is different, leading to a too small gBootGDT array. Move the define to the arch specific headers so they can be setup correctly in either case. Also add a STATIC_ASSERT() to check that the descriptors fit into the array. Pointed out by CID 1210898. The BOOT_GDT_SEGMENT_COUNT was based on USER_DATA_SEGMENT on both x86 and x86_64. However, on x86_64 the order of the segments is different, leading to a too small gBootGDT array. Move the define to the arch specific headers so they can be setup correctly in either case. Also add a STATIC_ASSERT() to check that the descriptors fit into the array. Pointed out by CID 1210898.
Categories: Development

AreaTest: 64bit fix.

Wed, 2014-10-22 17:36
Categories: Development

gcc4 fix.

Wed, 2014-10-22 16:58
Categories: Development

Fix AIFF decoding with ffmpeg.

Wed, 2014-10-22 15:26
AIFF files are little endian. ffmpeg detects this just fine, but we overwrote the endianness in the decoded format info with B_MEDIA_HOST_ENDIAN right after setting it. Now we can decode both AIFF and WAV files just fine. Fixes #7047. AIFF files are little endian. ffmpeg detects this just fine, but we overwrote the endianness in the decoded format info with B_MEDIA_HOST_ENDIAN right after setting it. Now we can decode both AIFF and WAV files just fine. Fixes #7047.
Categories: Development

AIFF mimetype: fix sniffing rule.

Wed, 2014-10-22 13:50
AIFF files follow EA IFF spec and start with a FORM chunk. They never start with AIFF or AIFC directly. See for example: http://www.onicos.com/staff/iz/formats/aiff.html http://paulbourke.net/dataformats/audio/ AIFF files follow EA IFF spec and start with a FORM chunk. They never start with AIFF or AIFC directly. See for example: http://www.onicos.com/staff/iz/formats/aiff.html http://paulbourke.net/dataformats/audio/
Categories: Development

Register media add-ons on BMediaFormat::GetFormatFor().

Wed, 2014-10-22 13:25
* Fixes #11018. * In this case the FormatManager format list is accessed without going throught the AddOnManager, so we must tell the AddOnManager to register the add-ons (as this is what populates the FormatManager format list). * Remove now unneeded workaround in mp3_decoder_test. * Fixes #11018. * In this case the FormatManager format list is accessed without going throught the AddOnManager, so we must tell the AddOnManager to register the add-ons (as this is what populates the FormatManager format list). * Remove now unneeded workaround in mp3_decoder_test.
Categories: Development

convert mediaDescriptions test to cppunit.

Wed, 2014-10-22 12:30
Categories: Development

Convert SizeofTest to cppunit.

Wed, 2014-10-22 09:34
Categories: Development

Convert BufferTest to cppunit.

Wed, 2014-10-22 09:11
Categories: Development

Convert AreaTest to cppunit.

Wed, 2014-10-22 08:26
Categories: Development

AreaTest: style fixes.

Wed, 2014-10-22 08:12
Categories: Development

jam: updated package for btrev43095 [x86]

Tue, 2014-10-21 22:25
Categories: Development

jam: updated package for btrev43095 [x86_64]

Tue, 2014-10-21 22:22
Categories: Development

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 gener