Source Activity

Syndicate content
Haiku's main repository
Updated: 28 min 9 sec ago

Remove trailing . from titles

Wed, 2015-01-28 00:15
Categories: Development

Fix typos in BReferencable docs

Tue, 2015-01-27 23:17
Categories: Development

Added BApplication::Signature() getter.

Tue, 2015-01-27 22:40
Categories: Development

HaikuWebKit 1.4.9 - fixes redirect problems.

Tue, 2015-01-27 11:54
Categories: Development

ncurses: remove non-existing headers directory

Tue, 2015-01-27 10:07
The build feature depended on a non-existing directory, causing all dependencies to always be considered out of date by Jam. Fixes #11664. The build feature depended on a non-existing directory, causing all dependencies to always be considered out of date by Jam. Fixes #11664.
Categories: Development

BReferencable: implement const references with specialization

Tue, 2015-01-27 09:31
This is simpler and cleaner than my previous attempt. Thanks to Ingo for suggesting this. This is simpler and cleaner than my previous attempt. Thanks to Ingo for suggesting this.
Categories: Development

Tracker: use the Layout API wherever possible.

Tue, 2015-01-27 06:41
Sorry this commit is so big, but I couldn't figure out how to do this incrementally without breaking things. I wasn't able to just merge Aldeck's branch, as it was a partial refactor of Tracker and didn't just rewrite the UI creation code to use layouts, and the changes for PM (e.g. addon loading, virtual directories) made it very hard to merge (it doesn't even compile after an automerge) so rather than spending time on that, I decided it'd be better to recreate his work. Miscellaneous notes: - This partially cleans up BPoseView & subclasses and BContainerWindow & subclasses -- none of the subclasses and child views abuse the parent's state, child views, or layout now. - BFilePanel and BDeskWindow are not on layouts, because: * BFilePanel docs in the Be Book instructed developers that wanted to modify BFilePanel's layout to just use FindView() and then move the views around. Obviously making it use layouts will break all BeOS apps that do this, and there are a lot of them (Pe, WonderBrush are just two examples.) I've added a note to the TODO list for R2 to create a layout-compatible API for this. * Some replicants (Workspaces, for example) rely on manipulating BDeskWindow's drawing state. This is incompatible with layouts, as at least in the case of Workspaces, it breaks a layouted version of BDeskWindow entirely. - I noticed a lot of #ifdef BEOS_VERSION ... gunk in the code. Tracker probably didn't build on BeOS just before this commit, and now it won't for sure, so I intend to go through and clean that out in the near future. This commit also fixes: - enhancement #4996 (make Tracker's navigator use vector icons) - bug #3039 (resizing OpenWithWindow flashes the blue border) - bug #3889 (OpenWithWindow redraw errors) - a regression that was a side effect of "dynamic_cast(this)" always returning NULL when run in the constructor. I just added a "bool isDeskWindow" to BContainerWindow's constructor that is only set to true by BDeskWindow. - a copy&paste error in VirtualDirectoryPoseView that was passing "uint32 resizeMode" as "uint32 viewMode". Thanks to Alexandre for his original branch (it was a very useful reference), Axel (for some miscellaneous advice & encouragement), Adrien & Humdinger (for user interface review), and Diver (for user interface review & testing). Sorry this commit is so big, but I couldn't figure out how to do this incrementally without breaking things. I wasn't able to just merge Aldeck's branch, as it was a partial refactor of Tracker and didn't just rewrite the UI creation code to use layouts, and the changes for PM (e.g. addon loading, virtual directories) made it very hard to merge (it doesn't even compile after an automerge) so rather than spending time on that, I decided it'd be better to recreate his work. Miscellaneous notes: - This partially cleans up BPoseView & subclasses and BContainerWindow & subclasses -- none of the subclasses and child views abuse the parent's state, child views, or layout now. - BFilePanel and BDeskWindow are not on layouts, because: * BFilePanel docs in the Be Book instructed developers that wanted to modify BFilePanel's layout to just use FindView() and then move the views around. Obviously making it use layouts will break all BeOS apps that do this, and there are a lot of them (Pe, WonderBrush are just two examples.) I've added a note to the TODO list for R2 to create a layout-compatible API for this. * Some replicants (Workspaces, for example) rely on manipulating BDeskWindow's drawing state. This is incompatible with layouts, as at least in the case of Workspaces, it breaks a layouted version of BDeskWindow entirely. - I noticed a lot of #ifdef BEOS_VERSION ... gunk in the code. Tracker probably didn't build on BeOS just before this commit, and now it won't for sure, so I intend to go through and clean that out in the near future. This commit also fixes: - enhancement #4996 (make Tracker's navigator use vector icons) - bug #3039 (resizing OpenWithWindow flashes the blue border) - bug #3889 (OpenWithWindow redraw errors) - a regression that was a side effect of "dynamic_cast(this)" always returning NULL when run in the constructor. I just added a "bool isDeskWindow" to BContainerWindow's constructor that is only set to true by BDeskWindow. - a copy&paste error in VirtualDirectoryPoseView that was passing "uint32 resizeMode" as "uint32 viewMode". Thanks to Alexandre for his original branch (it was a very useful reference), Axel (for some miscellaneous advice & encouragement), Adrien & Humdinger (for user interface review), and Diver (for user interface review & testing).
Categories: Development

Build fix for input_server filters

Tue, 2015-01-27 00:10
Apparently not linking to libstdc++ correctly is causing an error. Also, use new(std::nothrow) when creating the input server filter to avoid an exception from being thrown by the constructor in the case of low memory. Apparently not linking to libstdc++ correctly is causing an error. Also, use new(std::nothrow) when creating the input server filter to avoid an exception from being thrown by the constructor in the case of low memory.
Categories: Development

BNetworkInterfaceAddress: missing initialization

Mon, 2015-01-26 16:32
* As it doesn't rely on BNetworkAddress anymore, BNetworkInterfaceAddress must now take care of initializing the addresses itself. * Also add some input sanitization and and asserts to ease detecting such problems. * Fixes #11778. * As it doesn't rely on BNetworkAddress anymore, BNetworkInterfaceAddress must now take care of initializing the addresses itself. * Also add some input sanitization and and asserts to ease detecting such problems. * Fixes #11778.
Categories: Development

MediaPlayer: missing B_TRANSLATE on "none" menu label

Mon, 2015-01-26 13:17
Patch by Diver, thanks! Patch by Diver, thanks!
Categories: Development

HttpRequest: fix HTTP to HTTPS redirects

Mon, 2015-01-26 08:38
When redirected from http to https, we did not switch to SSL and port 443 and kept using unencrypted http on port 80. When redirected from http to https, we did not switch to SSL and port 443 and kept using unencrypted http on port 80.
Categories: Development

HaikuDepot: Implemented light-weight package manager update

Sun, 2015-01-25 21:06
No, not updating packages via HaikuDepot, but a light-weight synchronization between the system package manager list and the HaikuDepot model. After installing or removing a package, HaikuDepot performed a very costly update of all information by basically throwing everything away and reloading it. Implements #11786. No, not updating packages via HaikuDepot, but a light-weight synchronization between the system package manager list and the HaikuDepot model. After installing or removing a package, HaikuDepot performed a very costly update of all information by basically throwing everything away and reloading it. Implements #11786.
Categories: Development

HaikuDepot: Keep reference to PackageInfos longer...

Sun, 2015-01-25 09:04
... in PackageInfoView::SetPackage() and Clear(). The sub-views reference stuff from the previous PackageInfo instance. If we release the reference before adopting the new package, the sub-views may still access stuff from the previous package. For example the PackageActionView tries to avoid rebuilding the button list and compares previous package actions to the new actions. Particularily after the package list has been rebuild, we have only new PackageInfo instances and the PackageInfoView may hold on to a PackageInfo that is not still referenced anywhere else. Would be a good explanation for #11785. ... in PackageInfoView::SetPackage() and Clear(). The sub-views reference stuff from the previous PackageInfo instance. If we release the reference before adopting the new package, the sub-views may still access stuff from the previous package. For example the PackageActionView tries to avoid rebuilding the button list and compares previous package actions to the new actions. Particularily after the package list has been rebuild, we have only new PackageInfo instances and the PackageInfoView may hold on to a PackageInfo that is not still referenced anywhere else. Would be a good explanation for #11785.
Categories: Development

Mouse: enable Revert only if settings changed.

Sat, 2015-01-24 23:02
* If changing the settings and manually reverting to the previous values, the Revert button would stay enabled. * Fixes #11783. Signed-off-by: Adrien Destugues * If changing the settings and manually reverting to the previous values, the Revert button would stay enabled. * Fixes #11783. Signed-off-by: Adrien Destugues
Categories: Development

HaikuPorts/x86_gcc2: package updates & additions.

Sat, 2015-01-24 22:44
* Doxygen 1.7.6.1 is not the current version, but it's the last in the 1.7 line which is what we're using for the Haiku Book currently. * Git 2.2 has some new features (terminal coloring) and behavioral changes (most appeared as warning messages in Git 1.8). Most major Linux distros successfully switched, and HaikuPorter doesn't seem to rely on the old behavior. * PHP is a new add, I've successfully enabled some of the more commonly used features in our port (GD, ZLIB, CURL, i18n) so it's more useful now. This package does not contain any webserver integration files, but it does contain both the CLI and CGI interfaces as well as the builtin webserver. * ZSH now provides cmd:sh, so it's possible to switch your default shell to it. Mksh already provided cmd:sh so I didn't need to modify it. There are still some rough patches that occur when uninstalling Bash (e.g. Terminal app has an annoying alert that it can't find Bash so it's using /bin/sh instead) but it appears to work. * Go was ported in GSOC 2014 and has had a recipe since then, but nobody bothered to upload it. * RCS had an incorrect primary provide, fixed it (#9703). * Doxygen 1.7.6.1 is not the current version, but it's the last in the 1.7 line which is what we're using for the Haiku Book currently. * Git 2.2 has some new features (terminal coloring) and behavioral changes (most appeared as warning messages in Git 1.8). Most major Linux distros successfully switched, and HaikuPorter doesn't seem to rely on the old behavior. * PHP is a new add, I've successfully enabled some of the more commonly used features in our port (GD, ZLIB, CURL, i18n) so it's more useful now. This package does not contain any webserver integration files, but it does contain both the CLI and CGI interfaces as well as the builtin webserver. * ZSH now provides cmd:sh, so it's possible to switch your default shell to it. Mksh already provided cmd:sh so I didn't need to modify it. There are still some rough patches that occur when uninstalling Bash (e.g. Terminal app has an annoying alert that it can't find Bash so it's using /bin/sh instead) but it appears to work. * Go was ported in GSOC 2014 and has had a recipe since then, but nobody bothered to upload it. * RCS had an incorrect primary provide, fixed it (#9703).
Categories: Development

Update translations from Pootle

Sat, 2015-01-24 05:36
Categories: Development

Shortcuts: Automatic whitespace cleanup.

Sat, 2015-01-24 03:18
Categories: Development