Source Activity

Syndicate content
Haiku's main repository
Updated: 1 hour 41 min ago

Kernel POSIX: add stpcpy.

Tue, 2015-12-29 09:07
- Required by new GCC versions, which are able to optimize string appends using it. - Fixes build of ACPICA for x86/gcc4. - Required by new GCC versions, which are able to optimize string appends using it. - Fixes build of ACPICA for x86/gcc4.
Categories: Development

ffmpeg addon: only use swresample for planar audio.

Tue, 2015-12-29 04:43
Fixes #12547. Fixes #12547.
Categories: Development

ACPICA: Update to 20151218 from 20150818.

Tue, 2015-12-29 04:05
Requested by RudolfC. Apparently there was a regression which prevented ACPI battery/power from working on his system, which was fixed by https://github.com/acpica/acpica/commit/a3267967c. The only testing I did with this was confirm it compiles and boots in a VM, so apologies if this breaks something else. Requested by RudolfC. Apparently there was a regression which prevented ACPI battery/power from working on his system, which was fixed by https://github.com/acpica/acpica/commit/a3267967c. The only testing I did with this was confirm it compiles and boots in a VM, so apologies if this breaks something else.
Categories: Development

runtime_loader: Resync heap impl with the one of the bootloader.

Sun, 2015-12-27 11:39
The heap implementation of the runtime_loader was switched to the one of the bootloader in 6f0994d but was since updated independently. To keep the diff between the two implementations as small as possible, the bootloader implementation was first copied to the runtime_loader and then some features not relevant in the runtime_loader (like the special large allocation handling) have been removed and the runtime_loader specific features (grow_heap, add_area) have been reintegrated. But basically this applies 96689a5..HEAD of src/system/boot/loader/heap.cpp to the runtime_loader heap. This brings in the switch from a linked list to a splay tree based free chunk management. Since the allocation counts in the runtime_loader are rather small, this does not perceptibly affect performance in either direction though. The heap implementation of the runtime_loader was switched to the one of the bootloader in 6f0994d but was since updated independently. To keep the diff between the two implementations as small as possible, the bootloader implementation was first copied to the runtime_loader and then some features not relevant in the runtime_loader (like the special large allocation handling) have been removed and the runtime_loader specific features (grow_heap, add_area) have been reintegrated. But basically this applies 96689a5..HEAD of src/system/boot/loader/heap.cpp to the runtime_loader heap. This brings in the switch from a linked list to a splay tree based free chunk management. Since the allocation counts in the runtime_loader are rather small, this does not perceptibly affect performance in either direction though.
Categories: Development

runtime_loader: Fix endless rld heap grow loop in edge case.

Sun, 2015-12-27 11:38
The needed storage space for tracking the allocation size was not accounted for when growing the heap. Since the growth size is always rounded up to a multiple of 32KiB, this did almost never matter as the new allocation wouldn't need the full size. If the allocation did happen to need the full size however, the newly added area would always be too small. As the allocation attempt was simply restarted after each successful growth, this lead to an endless loop creating small new areas, which would then quickly starve the system for memory. The needed storage space for tracking the allocation size was not accounted for when growing the heap. Since the growth size is always rounded up to a multiple of 32KiB, this did almost never matter as the new allocation wouldn't need the full size. If the allocation did happen to need the full size however, the newly added area would always be too small. As the allocation attempt was simply restarted after each successful growth, this lead to an endless loop creating small new areas, which would then quickly starve the system for memory.
Categories: Development

BLayoutBuilder: Add support for BCardLayout

Sat, 2015-12-26 23:12
Signed-off-by: Augustin Cavalier Signed-off-by: Augustin Cavalier
Categories: Development

Interface Kit: Add BCardView

Sat, 2015-12-26 21:12
Signed-off-by: Augustin Cavalier Signed-off-by: Augustin Cavalier
Categories: Development

Update openssh packages.

Fri, 2015-12-25 12:17
Categories: Development

Update usb.ids from www.linux-usb.org

Thu, 2015-12-24 04:20
Categories: Development

Update pci.ids from pciids.sourceforge.net

Thu, 2015-12-24 04:20
Categories: Development

Really fix swr_convert usage for gcc2.

Mon, 2015-12-21 21:46
Categories: Development

IMAP: Use BStringList instead of STL vector.

Mon, 2015-12-21 19:53
Categories: Development

Revert "libroot: Undefine constants for unsupported POSIX features"

Mon, 2015-12-21 17:16
This reverts commit 7aebec8db1a6f231a2a93ec82872afadb8ed3879. As per the discussion on the mailing list. This reverts commit 7aebec8db1a6f231a2a93ec82872afadb8ed3879. As per the discussion on the mailing list.
Categories: Development

libroot: Undefine constants for unsupported POSIX features

Mon, 2015-12-21 15:08
Haiku does not yet support certain features related to POSIX threads. Constants used to test for the presence of these features should therefore be left undefined, according to the POSIX spec, but are currently set to -1. This can cause software built on Haiku to incorrectly detect the presence of these features. * unistd.h: Undefine _POSIX_THREAD_ATTR_STACKADDR, _POSIX_THREAD_PRIORITY_SCHEDULING feature constants. * conf.cpp: __sysconf: Return -1 for unsupported features. Signed-off-by: Augustin Cavalier Haiku does not yet support certain features related to POSIX threads. Constants used to test for the presence of these features should therefore be left undefined, according to the POSIX spec, but are currently set to -1. This can cause software built on Haiku to incorrectly detect the presence of these features. * unistd.h: Undefine _POSIX_THREAD_ATTR_STACKADDR, _POSIX_THREAD_PRIORITY_SCHEDULING feature constants. * conf.cpp: __sysconf: Return -1 for unsupported features. Signed-off-by: Augustin Cavalier
Categories: Development

Updated cdrtools package for x86_64

Sun, 2015-12-20 07:21
Categories: Development

Use swresample to rematrix audio channels, try 2

Sat, 2015-12-19 17:41
This code is closer to what we used before for gcc2, and should not crash there anymore. I could not get exactly the same code to work, but reduced the difference to a single statement (which makes gcc2 work and breaks gcc4). This is protected under a guard with appropriate ffmpeg version test. This code works for both gcc2 and gcc4 (tested with mp3 and aac files as well as youtube videos). It still gets the timestamps wrong with ffmpeg 2.4, but I'll try to solve that another time. This code is closer to what we used before for gcc2, and should not crash there anymore. I could not get exactly the same code to work, but reduced the difference to a single statement (which makes gcc2 work and breaks gcc4). This is protected under a guard with appropriate ffmpeg version test. This code works for both gcc2 and gcc4 (tested with mp3 and aac files as well as youtube videos). It still gets the timestamps wrong with ffmpeg 2.4, but I'll try to solve that another time.
Categories: Development

Update translations from Pootle

Sat, 2015-12-19 05:37
Categories: Development

Add libaacs package for x86_64

Sat, 2015-12-19 04:35
Categories: Development