Source Activity

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

network stack: Style fix of constant name.

Sat, 2015-04-18 12:09
Categories: Development

BLayout: Don't delete the layout of the view in RemoveView().

Sat, 2015-04-18 11:18
The layout item representing the layout of the view to be removed is owned by the view and must not be deleted. The layout only owns the item if a new layout item was created when adding the view, i.e. when it did not have a layout. Fixes the underlying issue that triggered #11976. The layout item representing the layout of the view to be removed is owned by the view and must not be deleted. The layout only owns the item if a new layout item was created when adding the view, i.e. when it did not have a layout. Fixes the underlying issue that triggered #11976.
Categories: Development

Update translations from Pootle

Sat, 2015-04-18 04:27
Categories: Development

Add package for libmpeg2

Thu, 2015-04-16 20:03
Categories: Development

notification_server: Don't remove the views from the layout.

Thu, 2015-04-16 19:34
Removing the view from the window and deleting it is fine. This is a quick fix for #11976. The underlaying issue of how BLayout::RemoveView should work still needs to be fixed. Removing the view from the window and deleting it is fine. This is a quick fix for #11976. The underlaying issue of how BLayout::RemoveView should work still needs to be fixed.
Categories: Development

assert.h: remove include guards

Thu, 2015-04-16 11:03
* including assert.h multiple times with NDEBUG varying is perfectly legal, and required by POSIX. * including assert.h multiple times with NDEBUG varying is perfectly legal, and required by POSIX.
Categories: Development

Protect all BSD extensions with _BSD_SOURCE

Thu, 2015-04-16 05:29
* Do not define the symbols by default, as they are not in the default libraries. * Adjust jamfiles of all code using BSD extensions to define _BSD_SOURCE. * This makes Haiku slightly more compliant to standard C/POSIX. * Do not define the symbols by default, as they are not in the default libraries. * Adjust jamfiles of all code using BSD extensions to define _BSD_SOURCE. * This makes Haiku slightly more compliant to standard C/POSIX.
Categories: Development

Update pci.ids from pciids.sourceforge.net

Thu, 2015-04-16 03:20
Categories: Development

Debugger: Add SIMD format options.

Thu, 2015-04-16 02:26
RegisterTableModel: - Add member for preferred SIMD unit format, and use it to decide what to divide up such registers as, rather than hardcoding 16 bit integer. RegistersView: - When right clicking on an SIMD register, display a format context menu allowing the user to decide what packed unit format to interpret the register data as, and adjust table model accordingly. RegisterTableModel: - Add member for preferred SIMD unit format, and use it to decide what to divide up such registers as, rather than hardcoding 16 bit integer. RegistersView: - When right clicking on an SIMD register, display a format context menu allowing the user to decide what packed unit format to interpret the register data as, and adjust table model accordingly.
Categories: Development

BView: Move tooltip release and fix small coding style issues.

Tue, 2015-04-14 22:26
This is only an optical change. This is only an optical change.
Categories: Development

BView: Fix destruction order of layout items.

Tue, 2015-04-14 21:54
Because of the virtual hooks a BLayout must never be destroyed while it still has layout items. If these items are only removed from the layout in its destructor, the subclass version of hooks like ItemRemoved() are not called anymore. This lead to leaks because many BLayout subclasses use the ItemRemoved() hook to clean up associated data (as is suggested explicitly in the BLayout documentation). In the same line of thought, a BLayoutItem must never be deleted when it is still attached to a layout, as it similarly has virtual hooks like DetachedFromLayout() that can not be called at this point anymore. The destructors of BLayout and BLayoutItem now have debugger calls in case these conditions are not met which should help to avoid accidentally introducing such hard to debug issues. To ensure the correct destruction order the sequence is now: * Destroy the child views first. This cleans up their layout items while the layout tree is still intact. * Unset the view layout before removing layout items so it can properly detach from the layout instead of just deleting it. Because of the virtual hooks a BLayout must never be destroyed while it still has layout items. If these items are only removed from the layout in its destructor, the subclass version of hooks like ItemRemoved() are not called anymore. This lead to leaks because many BLayout subclasses use the ItemRemoved() hook to clean up associated data (as is suggested explicitly in the BLayout documentation). In the same line of thought, a BLayoutItem must never be deleted when it is still attached to a layout, as it similarly has virtual hooks like DetachedFromLayout() that can not be called at this point anymore. The destructors of BLayout and BLayoutItem now have debugger calls in case these conditions are not met which should help to avoid accidentally introducing such hard to debug issues. To ensure the correct destruction order the sequence is now: * Destroy the child views first. This cleans up their layout items while the layout tree is still intact. * Unset the view layout before removing layout items so it can properly detach from the layout instead of just deleting it.
Categories: Development

Debugger: Restrict registers via CPU feature detection.

Tue, 2015-04-14 21:44
DebuggerInterface,Architecture{X86,X8664}: - Add hook function for retrieving a feature flag mask for the target CPU, and corresponding implementation in Architecture-specific classes. ArchitectureX86: - Read CPU features on init, and use them to restrict the exposed set of registers such that the MMX and SSE registers will only be visible if the target CPU actually supports the respective instructions. DebuggerInterface,Architecture{X86,X8664}: - Add hook function for retrieving a feature flag mask for the target CPU, and corresponding implementation in Architecture-specific classes. ArchitectureX86: - Read CPU features on init, and use them to restrict the exposed set of registers such that the MMX and SSE registers will only be visible if the target CPU actually supports the respective instructions.
Categories: Development

BLayoutItem: Add RemoveSelf() convenience method.

Tue, 2015-04-14 21:28
It works analoguous to BView::RemoveSelf(), i.e. it removes itself from the parent (layout in this case) and returns whether or not it had and was successfully removed from said parent. It works analoguous to BView::RemoveSelf(), i.e. it removes itself from the parent (layout in this case) and returns whether or not it had and was successfully removed from said parent.
Categories: Development

BView: Remove old TODO comment.

Tue, 2015-04-14 20:45
The BShelf is not owned by the BView (nor the BWindow for that matter) and so must not be deleted on destruction. The BShelf is not owned by the BView (nor the BWindow for that matter) and so must not be deleted on destruction.
Categories: Development

BGridLayout: Fix leak of grid.

Tue, 2015-04-14 20:36
Categories: Development