Source Activity

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

FileTypes: make space for BBox titles

Fri, 2014-12-12 15:11
In some locales the title is longer than the space there is for it. Make sure the boxes are wide enough for the title to display completely. Fixes #11611. In some locales the title is longer than the space there is for it. Make sure the boxes are wide enough for the title to display completely. Fixes #11611.
Categories: Development

DataTranslations: remove SetExplicitMinSize

Fri, 2014-12-12 14:53
It prevents the window to get big enough for some of the translators. Fixes #11612. It prevents the window to get big enough for some of the translators. Fixes #11612.
Categories: Development

Add package for Chat.

Fri, 2014-12-12 12:48
* This should be merged with the changes done in Dengon and Jabber4BeOS, so let's raise the awareness of people about those by having packages for it! * This should be merged with the changes done in Dengon and Jabber4BeOS, so let's raise the awareness of people about those by having packages for it!
Categories: Development

Debugger: Minor fix to CLanguageTokenizer.

Fri, 2014-12-12 03:09
- Properly differentiate the size of a parsed hex constant in order to return a correspondingly sized primitive, rather than always returning as 64-bit. - Properly differentiate the size of a parsed hex constant in order to return a correspondingly sized primitive, rather than always returning as 64-bit.
Categories: Development

BGameSound: make Worms Armageddon sounds work

Thu, 2014-12-11 16:17
* When the endianness is not intialized, assume B_MEDIA_HOST_ENDIAN. This is probably what was meant (and this is what Worms Armageddon means). * Move creation of the media nodes back to the initialisation instead of StartPlaying, otherwise an extra node is created each time the sound is played. * When the endianness is not intialized, assume B_MEDIA_HOST_ENDIAN. This is probably what was meant (and this is what Worms Armageddon means). * Move creation of the media nodes back to the initialisation instead of StartPlaying, otherwise an extra node is created each time the sound is played.
Categories: Development

BGameSound: cleanup and several fixes

Thu, 2014-12-11 15:02
* Use a template to avoid repeating the panning code for each type * Rearrange the initialization of BSimpleGameSound so the data is only copied 0 or 1 times (it was copied 2 or 3 times in some cases) between the passed buffer and the final one, * Don't execute the panning code on streams with only 1 channel as this makes no sense and it will read and write outside the buffers * Abort early in GameSoundBuffer::Play if fIsPlaying is false. Fix the crashes in Worms Armageddon. Doesn't fix the sounds being mostly white noise. * Use a template to avoid repeating the panning code for each type * Rearrange the initialization of BSimpleGameSound so the data is only copied 0 or 1 times (it was copied 2 or 3 times in some cases) between the passed buffer and the final one, * Don't execute the panning code on streams with only 1 channel as this makes no sense and it will read and write outside the buffers * Abort early in GameSoundBuffer::Play if fIsPlaying is false. Fix the crashes in Worms Armageddon. Doesn't fix the sounds being mostly white noise.
Categories: Development

ffmpeg add-on: fix typo.

Thu, 2014-12-11 09:38
Categories: Development

Add colorspace converter for YUV420P10LE to RGB32.

Thu, 2014-12-11 09:24
Fixes #9141. Fixes #9141.
Categories: Development

ffmpeg: get pixel format names from libavutil.

Thu, 2014-12-11 08:37
No need to reimplement this when ffmpeg already provides it. Moreover, our version was outdated and did not handle all color spaces. No need to reimplement this when ffmpeg already provides it. Moreover, our version was outdated and did not handle all color spaces.
Categories: Development

ListView: move the color setting code to DrawItem

Thu, 2014-12-11 07:35
... so it can also be used by OutlineListView. Fixes #11598. ... so it can also be used by OutlineListView. Fixes #11598.
Categories: Development

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

Thu, 2014-12-11 04:20
Categories: Development

Update pci.ids from pciids.sourceforge.net

Thu, 2014-12-11 04:20
Categories: Development

Debugger: Minor syntax highlighter fixes.

Thu, 2014-12-11 04:01
- Add missing if/else keywords. - Add missing comma that was preventing some keywords from being recognized properly. - Add missing handling of condition operator. - Add missing if/else keywords. - Add missing comma that was preventing some keywords from being recognized properly. - Add missing handling of condition operator.
Categories: Development

Add package for Slayer.

Wed, 2014-12-10 15:40
Categories: Development

Update boost packages against newly built ICU.

Wed, 2014-12-10 15:36
Thanks to cdesai for providing rebuilt packages! Thanks to cdesai for providing rebuilt packages!
Categories: Development

ControlLook: fix DrawActiveTab with subpixel rectangle

Wed, 2014-12-10 12:50
Fixes #4078. When font hinting is disabled, the width of a string may not be an integer number of pixels. This results in the tab position also being non-integer, and the drawing code doesn't handle this, resulting in part of the tab being shifted 1px to the right. Snap the rectangle to the pixel grid so the runding error doesn't happen. Fixes #4078. When font hinting is disabled, the width of a string may not be an integer number of pixels. This results in the tab position also being non-integer, and the drawing code doesn't handle this, resulting in part of the tab being shifted 1px to the right. Snap the rectangle to the pixel grid so the runding error doesn't happen.
Categories: Development

Set item colors in BListView instead of BStringItem

Wed, 2014-12-10 12:31
* Fixes #3970 without introducing the bugs from BeOS * Makes it easy to override BStringItem just to change the text color. * Makes it easy to implement custom list items using the correct colors. * Fixes #3970 without introducing the bugs from BeOS * Makes it easy to override BStringItem just to change the text color. * Makes it easy to implement custom list items using the correct colors.
Categories: Development

Test for #3970.

Wed, 2014-12-10 12:27
* This shows the problem in Haiku, it is not easily possible to change the color of BStringItem. * It also shows that the BeOS implementation doesn't restore the view state after drawing items, so the last item in the list also draws green, and selecting the first also makes it green. * This shows the problem in Haiku, it is not easily possible to change the color of BStringItem. * It also shows that the BeOS implementation doesn't restore the view state after drawing items, so the last item in the list also draws green, and selecting the first also makes it green.
Categories: Development

Colorcontrol: show resulting colors in the slider

Wed, 2014-12-10 10:33
Instead of showing plain red, green and blue color ramps, show what the color would be if you moved the sliders to each point. This is what was done on Mac OS classic and is also used in some other tools to help you targetting a particular color. It also limits the need for a color preview, which BColorControl currently doesn't include, forcing apps to implement one themselves. Fixes #3790 (the patch there didn't apply anymore, so I redid the work. Credits for the change should go to stpere). Instead of showing plain red, green and blue color ramps, show what the color would be if you moved the sliders to each point. This is what was done on Mac OS classic and is also used in some other tools to help you targetting a particular color. It also limits the need for a color preview, which BColorControl currently doesn't include, forcing apps to implement one themselves. Fixes #3790 (the patch there didn't apply anymore, so I redid the work. Credits for the change should go to stpere).
Categories: Development