Source Activity

Syndicate content
Haiku's main repository
Updated: 1 min 3 sec ago

BeagleBoard: fix compilation of dtb.

Wed, 2015-04-08 17:49
* Copy from rpi2, but this should probably be shared somewhere. * Copy from rpi2, but this should probably be shared somewhere.
Categories: Development

Updated cdrtools. Added BurnItNow.

Wed, 2015-04-08 17:13
Opinion on IRC was to upload the packages, even though I'm not able to test because I lack an optical drive. Opinion on IRC was to upload the packages, even though I'm not able to test because I lack an optical drive.
Categories: Development

RemoteDesktop: fix -c handling.

Wed, 2015-04-08 16:40
hrev43649 was not completely merged during the PM merge, add the missing line. Fixes #11955. hrev43649 was not completely merged during the PM merge, add the missing line. Fixes #11955.
Categories: Development

HaikuDepot: Apply logic from 2a36368 to PackageListView fields.

Wed, 2015-04-08 16:20
Rename BBitmapStringField to SharedBitmapStringField and make it reference the SharedBitmap. Rename BBitmapStringField to SharedBitmapStringField and make it reference the SharedBitmap.
Categories: Development

Tracker: Fix use-after-free by ref filter of OpenWithPoseView.

Wed, 2015-04-08 14:50
Commit ea8b1e14 changed OpenWithPoseView from using ShouldShowPose for filtering poses to a BRefFilter. The introduced ref filter used the iterator handed to the BPoseView::AddPosesTask which took ownership of that iterator and deleted it as soon as it was done. Since actually adding the poses as well as further filtering is asynchronous and happens after the AddPosesTask completes, the iterator was used after it was already deleted. Introduce BPoseView::ReturnDirentIterator() that is called after the AddPosesTask is complete. The default version deletes the iterator, the OpenWithPoseView overrides it and does nothing, it deletes the iterator in the destructor instead. Also fix leaking the ref filter. The BPoseView does not take ownership of the filter as it usually comes from a BFilePanel which is documented to not take ownership. Commit ea8b1e14 changed OpenWithPoseView from using ShouldShowPose for filtering poses to a BRefFilter. The introduced ref filter used the iterator handed to the BPoseView::AddPosesTask which took ownership of that iterator and deleted it as soon as it was done. Since actually adding the poses as well as further filtering is asynchronous and happens after the AddPosesTask completes, the iterator was used after it was already deleted. Introduce BPoseView::ReturnDirentIterator() that is called after the AddPosesTask is complete. The default version deletes the iterator, the OpenWithPoseView overrides it and does nothing, it deletes the iterator in the destructor instead. Also fix leaking the ref filter. The BPoseView does not take ownership of the filter as it usually comes from a BFilePanel which is documented to not take ownership.
Categories: Development

Tracker: Remove an old PPC STL workaround.

Wed, 2015-04-08 14:42
Categories: Development

Whitespace cleanup only.

Wed, 2015-04-08 10:44
Categories: Development

malloc_debug: Set default alignment to max_align_t if available.

Wed, 2015-04-08 10:26
For it to be available we build malloc_debug in C++11 mode when not using GCC2. Note that max_align_t is not in the std namespace in GCC4 versions prior to GCC 4.9. The extra "using namespace std" is there to be forward compatible once we update. For it to be available we build malloc_debug in C++11 mode when not using GCC2. Note that max_align_t is not in the std namespace in GCC4 versions prior to GCC 4.9. The extra "using namespace std" is there to be forward compatible once we update.
Categories: Development

HaikuDepot: Make BitmapView use SharedBitmaps directly.

Wed, 2015-04-08 08:16
Instead of extracting a BBitmap out of the SharedBitmap and giving that to BitmapView, set SharedBitmaps directly. When using BBitmaps we circumvent the reference counting of the SharedBitmaps and it would be possible for the SharedBitmap and its BBitmaps to get deleted while one of them was still used in a BitmapView. Fixes use-after-free when icons are updated that are already used in BitmapViews. Instead of extracting a BBitmap out of the SharedBitmap and giving that to BitmapView, set SharedBitmaps directly. When using BBitmaps we circumvent the reference counting of the SharedBitmaps and it would be possible for the SharedBitmap and its BBitmaps to get deleted while one of them was still used in a BitmapView. Fixes use-after-free when icons are updated that are already used in BitmapViews.
Categories: Development

Showimage: Test thread ID for generic error.

Tue, 2015-04-07 21:21
* Thanks Ingo and Axel. * Thanks Ingo and Axel.
Categories: Development

HaikuDepot: Clean up trailing whitespace.

Tue, 2015-04-07 18:50
Categories: Development

Showimage: Add zoom level to StatusBar.

Tue, 2015-04-07 17:17
* Improve StatusBar graphics (Same style as StyledEdit). * Resize the StatusBar to best fit. * Fixes #7394. * Improve StatusBar graphics (Same style as StyledEdit). * Resize the StatusBar to best fit. * Fixes #7394.
Categories: Development

Clean SharedBufferList.h.

Tue, 2015-04-07 16:15
Signed-off-by: Adrien Destugues Signed-off-by: Adrien Destugues
Categories: Development

Showimage: Wait for loader threads on exit.

Tue, 2015-04-07 16:12
* Uses find_thread to wait for loader threads. (better solutions are welcome) * As suggested by Axel the cache isn't static anymore. * Fixes 8902. * Uses find_thread to wait for loader threads. (better solutions are welcome) * As suggested by Axel the cache isn't static anymore. * Fixes 8902.
Categories: Development

Haiku Book: Doxyfile: eat __attribute__ directives.

Mon, 2015-04-06 22:00
Without this, Doxygen attempts to parse __attribute__ directives and often outputs garbage instead of properly parsing them, so just exclude them from the documentation. Fixes some incorrect function listings in BString documentation and possibly more elsewhere. Without this, Doxygen attempts to parse __attribute__ directives and often outputs garbage instead of properly parsing them, so just exclude them from the documentation. Fixes some incorrect function listings in BString documentation and possibly more elsewhere.
Categories: Development

Update beam package(s) from 1.2alpha to 1.2.

Mon, 2015-04-06 17:51
* This updates the x86_gcc2 package and adds a package for x86. * This updates the x86_gcc2 package and adds a package for x86.
Categories: Development