Source Activity

Syndicate content
Haiku's main repository
Updated: 46 min 59 sec ago

BView: fixed RemoveSelf() layout item handling.

Fri, 2015-02-13 21:34
* When RemoveSelf() is called, we do not own our own layout items, so we must not delete them. * However, we do own them when we still have layout items left when we get deleted ourselves. * This fixes removing/adding a child view to a view without deleting it inbetween (like the new Network preferences will do). * Optimized item removal -- not a good idea to always remove item 0. * When RemoveSelf() is called, we do not own our own layout items, so we must not delete them. * However, we do own them when we still have layout items left when we get deleted ourselves. * This fixes removing/adding a child view to a view without deleting it inbetween (like the new Network preferences will do). * Optimized item removal -- not a good idea to always remove item 0.
Categories: Development

Cortex: LoggingConsumer addon: fix crash on startup.

Fri, 2015-02-13 20:35
Fixes #11855. Fixes #11855.
Categories: Development

Cortex: delete ToneProducer add-on.

Fri, 2015-02-13 17:43
The version of this in src/add-ons/media/media-add-ons/tone_producer_demo/ is virtually identical, plus it is under a more permissive license (Be Sample Code vs. BSD 3-Clause) and already fixed for 64bit. The version of this in src/add-ons/media/media-add-ons/tone_producer_demo/ is virtually identical, plus it is under a more permissive license (Be Sample Code vs. BSD 3-Clause) and already fixed for 64bit.
Categories: Development

Cortex: add LoggingConsumer to the build.

Fri, 2015-02-13 17:36
Categories: Development

FileType Add-On: Delete really old TODO that's no longer valid.

Fri, 2015-02-13 17:16
You can watch the RDEF get compiled during the build, and look at the generated file and see the vector icon, so it must be working :) You can watch the RDEF get compiled during the build, and look at the generated file and see the vector icon, so it must be working :)
Categories: Development

Cortex: convert remaining RSRCs to RDEFs.

Fri, 2015-02-13 17:15
Categories: Development

Cortex: delete now-unused makefiles.

Fri, 2015-02-13 16:43
Categories: Development

interface_guidelines: add a convert.sh script that uses XMLTO.

Fri, 2015-02-13 16:26
Works on Linux, doesn't work on Haiku. It appears xsltproc tries to fetch the DTD and XSL stylesheets (which doesn't work, for some reason it wasn't built with HTTP support, and I can't figure out why). Even when telling it to use the preinstalled XSL & DTDs using --catalog, it still tries to download the files... Works on Linux, doesn't work on Haiku. It appears xsltproc tries to fetch the DTD and XSL stylesheets (which doesn't work, for some reason it wasn't built with HTTP support, and I can't figure out why). Even when telling it to use the preinstalled XSL & DTDs using --catalog, it still tries to download the files...
Categories: Development

Deskbar: Label truncation code refactor & cleanup

Fri, 2015-02-13 02:01
* Increase kVPad to 2.0f in ExpandoMenuBar matching the constant in WindowMenuItem * Also replace a hardcoded instance of 4.0f with kVPad * 2 * Remove TTeamMenuItem::DrawContentLabel(), move code to DrawContent() * Cleanup label truncation code in TTeamMenuItem, still needs work. * Rename WindowMenuItem::FullTitle() to Name() matching TeamMenuItem * Move the code to set all label related variables in SetLabel() in TeamMenuItem * Change WindowMenuItem::SetRequireUpdate() to take a bool parameter * Make WindowMenuItem::Initialize() private and rename it to _Init() * Rename WindowMenuItem::ExpandedItem() to SetExpanded() * Truncate WindowMenuItem label like we are doing TeamMenuItem * Rename all WindowMenuItem::Title* methods and variables to Label* * Increase kVPad to 2.0f in ExpandoMenuBar matching the constant in WindowMenuItem * Also replace a hardcoded instance of 4.0f with kVPad * 2 * Remove TTeamMenuItem::DrawContentLabel(), move code to DrawContent() * Cleanup label truncation code in TTeamMenuItem, still needs work. * Rename WindowMenuItem::FullTitle() to Name() matching TeamMenuItem * Move the code to set all label related variables in SetLabel() in TeamMenuItem * Change WindowMenuItem::SetRequireUpdate() to take a bool parameter * Make WindowMenuItem::Initialize() private and rename it to _Init() * Rename WindowMenuItem::ExpandedItem() to SetExpanded() * Truncate WindowMenuItem label like we are doing TeamMenuItem * Rename all WindowMenuItem::Title* methods and variables to Label*
Categories: Development

Deskbar: style fixes to TeamMenuItem

Thu, 2015-02-12 22:20
Categories: Development

Interface Guidelines: migrate to docs/, use DocBookCSS.

Thu, 2015-02-12 22:08
DocBookCSS is a mostly-pure-CSS2 implementation of the DocBook standard. Unlike DocBookXSL which relies on transforming the XML, it utilizes the XML-styling features of modern web browsers to display the DocBook. Its appearance still is a long way from the Haiku Book and Userguide, but it looks (mostly) the same as the old DocBookXSL so we can stop using that. Eventually we just need to make DocBookCSS use our styling. DocBookCSS is a mostly-pure-CSS2 implementation of the DocBook standard. Unlike DocBookXSL which relies on transforming the XML, it utilizes the XML-styling features of modern web browsers to display the DocBook. Its appearance still is a long way from the Haiku Book and Userguide, but it looks (mostly) the same as the old DocBookXSL so we can stop using that. Eventually we just need to make DocBookCSS use our styling.
Categories: Development

src/documentation: delete the old HaikuUserGuide.txt.

Thu, 2015-02-12 15:37
Written by DarkWyrm, this user guide has been long since superseded by the new HTML-based User Guide, which has everything this did and then some, with the exception of the "History" section. That section does seem like it could be useful somewhere, so I've moved it to its own file in the "docs/misc" directory. Written by DarkWyrm, this user guide has been long since superseded by the new HTML-based User Guide, which has everything this did and then some, with the exception of the "History" section. That section does seem like it could be useful somewhere, so I've moved it to its own file in the "docs/misc" directory.
Categories: Development

passwd: fix copypasta.

Thu, 2015-02-12 15:26
The argument help text was correct, the summary was obviously not. Also fix an instance of double-semicolon. The argument help text was correct, the summary was obviously not. Also fix an instance of double-semicolon.
Categories: Development

Shortcuts: don't store the contents of the columns in the settings file.

Thu, 2015-02-12 14:46
Fixes #11820 and #11849. Signed-off-by: Augustin Cavalier Fixes #11820 and #11849. Signed-off-by: Augustin