Source Activity

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

Make disabling BOptionPopUp actually work

Sun, 2014-10-12 14:52
* Patch by ttcoder * Fixes #10735 * Patch by ttcoder * Fixes #10735
Categories: Development

Fix BDragger drawing when parent doesn't draw.

Sun, 2014-10-12 14:42
BDragger use some tricks to draw as a partially transparent view, it calls the parent Draw method, then draws a partially transparent bitmap over the resulting drawing. This only works if the parent does somthing in the dragger area. In case it doesn't, first fill the dragger with the parent view color, so there is at least "something" in those pixels. Fixes #5906. BDragger use some tricks to draw as a partially transparent view, it calls the parent Draw method, then draws a partially transparent bitmap over the resulting drawing. This only works if the parent does somthing in the dragger area. In case it doesn't, first fill the dragger with the parent view color, so there is at least "something" in those pixels. Fixes #5906.
Categories: Development

Add packages for fRiSS and netpulse.

Sun, 2014-10-12 14:30
Categories: Development

Remove leftover printf and fix build.

Sun, 2014-10-12 14:21
Categories: Development

Fix unarchiving of BScrollView with layout

Sun, 2014-10-12 14:02
* We archive views using "managed" archives, and the children are not attached in the BView(BMessage*) constructor, but later. So it's not possible to find the target and scrollbars in the constructor of BScrollView. * Make BScrollView override AllUnarchived and find the target and scrollbars again there. The code is slightly different as there is no guarantee that the first child will be the target in that case. The existing code in the constructor is preserved for non-managed archives. * We archive views using "managed" archives, and the children are not attached in the BView(BMessage*) constructor, but later. So it's not possible to find the target and scrollbars in the constructor of BScrollView. * Make BScrollView override AllUnarchived and find the target and scrollbars again there. The code is slightly different as there is no guarantee that the first child will be the target in that case. The existing code in the constructor is preserved for non-managed archives.
Categories: Development

Add xrick package.

Sun, 2014-10-12 09:50
Categories: Development

Fix ICU message syntax

Sun, 2014-10-12 09:41
This apparently led to a crash in ICU, reported on the mailing list. This apparently led to a crash in ICU, reported on the mailing list.
Categories: Development

Update translations from Pootle

Sat, 2014-10-11 14:57
Categories: Development

BDragger: add layout-aware constructor.

Sat, 2014-10-11 09:16
Somehow no one needed this yet. Somehow no one needed this yet.
Categories: Development

Update translations from Pootle

Sat, 2014-10-11 04:21
Categories: Development

HaikuDepot: Revert change regarding publisher name

Fri, 2014-10-10 20:51
It is now again the first string from the copyrights list, unless there is no copyrights list, in which case the vendor string is used. It is now again the first string from the copyrights list, unless there is no copyrights list, in which case the vendor string is used.
Categories: Development

HaikuDepot: WIP to open .hpkg files.

Fri, 2014-10-10 20:36
* When opening .hpkg files, shows just the PackageInfoView in a smaller window. * PackageInfo constructor with BPackageInfo argument * Default pkg icon has a single instance only. Before, there would be another instance for each repository refresh. TODO: * Install button on single package view is non functional * Probably needs to do someting different when opening .hpkg from an installed packages folder (show the regular list and focus that package?). * The filter view and list view are still constructed for the single package mode. * ... * When opening .hpkg files, shows just the PackageInfoView in a smaller window. * PackageInfo constructor with BPackageInfo argument * Default pkg icon has a single instance only. Before, there would be another instance for each repository refresh. TODO: * Install button on single package view is non functional * Probably needs to do someting different when opening .hpkg from an installed packages folder (show the regular list and focus that package?). * The filter view and list view are still constructed for the single package mode. * ...
Categories: Development

Removed GRUB 1.x hints from Installer's 'EULA' window

Fri, 2014-10-10 15:10
Pretty much everyone should be using GRUB 2 by now. Pretty much everyone should be using GRUB 2 by now.
Categories: Development

Remove in-tree bash.

Fri, 2014-10-10 14:32
* This is now outsourced. * Should clean a lot of our coverity warnings. * This is now outsourced. * Should clean a lot of our coverity warnings.
Categories: Development

Don't use unsafe strcpy.

Fri, 2014-10-10 09:57
Categories: Development

package kit: Fix corruption of last package chunk on update.

Thu, 2014-10-09 21:15
PackageFileHeapWriter::_UnwriteLastPartialChunk() used ReadData() to extract the last partial chunk into the pending buffer. This indirectly calls PackageFileHeapWriter::ReadAndDecompressChunk(), which assumes data past the last full chunk to come from the pending data buffer. Since the pending data buffer is not filled in at that point, the call to ReadAndDecompressChunk() simply did nothing, leaving the object with a correctly sized but completely nulled pending data buffer. The last partial chunk of a package would therefore always get corrupted when updating a package. Fixes #11306 that provided a reduced test case that happened to corrupt the only chunk of a package, nulling the .PackageInfo and therefore making the error more obvious as subsequent parsing of the info failed. PackageFileHeapWriter::_UnwriteLastPartialChunk() used ReadData() to extract the last partial chunk into the pending buffer. This indirectly calls PackageFileHeapWriter::ReadAndDecompressChunk(), which assumes data past the last full chunk to come from the pending data buffer. Since the pending data buffer is not filled in at that point, the call to ReadAndDecompressChunk() simply did nothing, leaving the object with a correctly sized but completely nulled pending data buffer. The last partial chunk of a package would therefore always get corrupted when updating a package. Fixes #11306 that provided a reduced test case that happened to corrupt the only chunk of a package, nulling the .PackageInfo and therefore making the error more obvious as subsequent parsing of the info failed.
Categories: Development

Fix corrupted text in poorman slider

Thu, 2014-10-09 19:24
UpdateText must return a pointer to a fixed buffer, whcih BString.String isn't, if the sctring is modified. Copy the data to a char* we can use as a fixed position buffer. UpdateText must return a pointer to a fixed buffer, whcih BString.String isn't, if the sctring is modified. Copy the data to a char* we can use as a fixed position buffer.