Development

Fix #11775.

Source Activity - 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.

Source Activity - 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

Ticket #11775 (app server crash after update to hrev48713) created

Latest Bugs & Tasks - Fri, 2015-01-23 18:25

Updated to hrev48713 x86_gcc2. After reboot, any operation triggers
the debugger. See attached screenshot.
I also saved a debug report which I'll attach later.

Categories: Development

Forgot to reset fBitmap to NULL.

Source Activity - 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

Source Activity - 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.

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

[haiku-development] Re: Proposal of commit access for Puck Meerburg (Urias McCullough)

Development mailing list - Fri, 2015-01-23 12:45
On Fri, Jan 16, 2015 at 2:32 PM, Urias McCullough umccullough@xxxxxxxxx wrote: On Fri, Jan 16, 2015 at 2:30 PM, Augustin Cavalier waddlesplash@xxxxxxxxx wrote: In the rules [1] it states that: 2.3 Ineligible Individuals. You may not participate in this Contest if: ... (b) You are an employee (including intern), contractor, officer, or director, of ... ...
Categories: Development

[haiku-development] Re: Proposal of commit access for Puck Meerburg (Urias McCullough)

Development mailing list - Fri, 2015-01-23 12:45
On Fri, Jan 16, 2015 at 2:30 PM, Augustin Cavalier waddlesplash@xxxxxxxxx wrote: In the rules [1] it states that: 2.3 Ineligible Individuals. You may not participate in this Contest if: ... (b) You are an employee (including intern), contractor, officer, or director, of ... (ii) a participating Open Source Organizations or its affiliates, or ...
Categories: Development

Ticket #11774 (Investigate the potential of a web app store for HaikuDepot) created

Latest Bugs & Tasks - Fri, 2015-01-23 12:19

Investigate the potential of a web appstore for HaikuDepot-Desktop and HaikuDepot-Web.

Ubuntu has both a desktop frontend and a web frontend that communicate to a web backend. When a user clicks the download button on the website, the button is linked to an unofficial apt:// uniform resource identifier that has been set to be opened on Ubuntu with the Ubuntu Software Center. The name of the requested package is extracted from the uniform resource name and user can then then install the software via the Ubuntu Software Center with only a confirmation of their request.

Example: ​https://apps.ubuntu.com/cat/applications/banshee/

This could be modified to use the HaikuDepot api and could communicate with depot.haiku-os.org website to pull icons, screenshots, rating and etc into this web frontend.

The the web app is written in python (django?) and is under the GNU Affero GPL v3 licence and the code can be found here: ​https://launchpad.net/ubuntu-webcatalog

An alternative is the FirefoxOS Marketplace, which is written is javascript, is under the MPL and its Code can be found here: ​https://github.com/mozilla/fireplace

The website is here: ​https://marketplace.firefox.com
Example app: ​https://marketplace.firefox.com/app/facebook-1

Categories: Development

SATGroup: fix misuse of BReferenceable object

Source Activity - 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

Ticket #11773 (Star and rating-graph views use incorrect background color) created

Latest Bugs & Tasks - Thu, 2015-01-22 16:14

It may not be easy to notice depending on your display setup, but on my machine it's possible to see. You can use Magnify which shows the exact color of each pixel.

  • The graph view in the rating tab has a background of #e3e3e3, the tab itself has a background of #dfdfdf
  • The stars view in the package details headers has a background of #d6d6d6, the window in that area is #d8d8d8 (shouldn't it be the same as inside the tabs? why is it different?)
  • The stars view on a selected list item (in featured packages) has #979797, the item selection is #999999
Categories: Development

Add a BConstReference class.

Source Activity - 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
Syndicate content