Source Activity

Syndicate content
Haiku's main repository
Updated: 13 min 41 sec ago

BNetworkInterfaceAddress: missing initialization

5 hours 26 min ago
* 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

8 hours 41 min ago
Patch by Diver, thanks! Patch by Diver, thanks!
Categories: Development

HttpRequest: fix HTTP to HTTPS redirects

13 hours 20 min ago
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

Shortcuts: Fix #11777.

Sat, 2015-01-24 03:17
- Add missing B_AUTO_UPDATE_SIZE_LIMITS flag to window, otherwise it never recomputes its initial size in the absence of previously stored settings. - Add missing B_AUTO_UPDATE_SIZE_LIMITS flag to window, otherwise it never recomputes its initial size in the absence of previously stored settings.
Categories: Development

Fix #11775.

Fri, 2015-01-23 21:41
BitmapDrawingEngine: - Check if fBitmap is NULL before releasing its reference. Since this is the case when a BitmapDrawingEngine is instantiated, this would lead to an app_server crash upon any attempt to make use of one. BitmapDrawingEngine: - Check if fBitmap is NULL before releasing its reference. Since this is the case when a BitmapDrawingEngine is instantiated, this would lead to an app_server crash upon any attempt to make use of one.
Categories: Development

Mouse: make the buttons actually look pressed.

Fri, 2015-01-23 19:54
* Just making the font bold looks ugly, lazy Adrien :-) * Just making the font bold looks ugly, lazy Adrien :-)
Categories: Development

Forgot to reset fBitmap to NULL.

Fri, 2015-01-23 14:15
Thanks to Rene for reviewing. Thanks to Rene for reviewing.
Categories: Development

Call ReleaseReference when a BReference is not needed

Fri, 2015-01-23 13:57
Reduces complexity and is actualñly more readable. Reduces complexity and is actualñly more readable.
Categories: Development

app_server: fix misuse of BReferenceable.

Fri, 2015-01-23 12:46
Fixes #9989. Fixes #9989.
Categories: Development

SATGroup: fix misuse of BReferenceable object

Fri, 2015-01-23 12:02
LinearSpec is a BReferenceable, so it is not correct to allocate it as a member of another object. Wrap it in a BReference to avoid the problem. Fixes #11089. LinearSpec is a BReferenceable, so it is not correct to allocate it as a member of another object. Wrap it in a BReference to avoid the problem. Fixes #11089.
Categories: Development

Add a BConstReference class.

Thu, 2015-01-22 13:36
This is a BReference that allows only const access to the referenced object. This was not easily possible with the existing BReference for two reasons: * BReference would not work, as BReference needs to change the reference count of the referenced object. Adding mutable and casting where appropriate wouldwork but, * It is now also possible to assign a BReference to a BConstReference (to the same type, of course). The reverse is not allowed, making it more difficult to "const cast" the referenced object (it's still possible to "get" the object pointer and cast that). BConstReference can be used to provide shared read-only access to an object, for example this can be used to cache non-copiable or expansive to create objects. This is a BReference that allows only const access to the referenced object. This was not easily possible with the existing BReference for two reasons: * BReference would not work, as BReference needs to change the reference count of the referenced object. Adding mutable and casting where appropriate wouldwork but, * It is now also possible to assign a BReference to a BConstReference (to the same type, of course). The reverse is not allowed, making it more difficult to "const cast" the referenced object (it's still possible to "get" the object pointer and cast that). BConstReference can be used to provide shared read-only access to an object, for example this can be used to cache non-copiable or expansive to create objects.
Categories: Development