Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 1 hour 3 min ago

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Adrien Destugues)

Thu, 2015-09-03 09:45
#define B_DEFINE_NEGATIVE_INSET(x) ((x) - 1000) #define B_IS_NEGATIVE_INSET(x) ((x) -1000) #define B_GET_NEGATIVE_INSET(x) ((x) + 1000) It is also worth noting that the inset values are stored/passed as floats, and we get complaints from the PVS checks that comparing constants with floats is not a good idea. ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Ingo Weinhold)

Thu, 2015-09-03 09:45
On 26.08.2015 10:27, Axel Dörfler wrote: I'd like to hear your opinion about using negative insets to, for example, cut off the border in BScrollViews to neatly align them with the window borders. This method is already used in our sources. However, the B_USE_DEFAULT_SPACING and friends are in the range of -2 to ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Axel Dörfler)

Thu, 2015-09-03 09:45
Am 26/08/2015 um 10:47 schrieb Stephan Aßmus: I've found it visually appealing to merge borders where the opportunity presented itself. At the same time, I found the methods by which this is accomplished messy and error-prone. In a perfect world, the knowledge of appearance and whether something should be merged, or more precisely, whether a visual element in one part of the interface already performs the same function as a visual element in an adjacent part of the interface, would be completely up to the theme. ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Adrien Destugues)

Thu, 2015-09-03 07:45
26 août 2015 10:41 Axel Dörfler axeld@xxxxxxxxxxxxxxxx a écrit: size of the borders in the control look, things would not look right anymore. So maybe it would make more sense to introduce a new constant, B_COLLAPSE_BORDER_SPACING (which we could set to value -1 to keep binary compatibility with existing apps) that would use the appropriate inset depending on the kind of border (fancy or not) and the control look used? ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Stephan Aßmus)

Thu, 2015-09-03 07:45
Hi, Am 26.08.2015 um 10:27 schrieb Axel Dörfler: I'd like to hear your opinion about using negative insets to, for example, cut off the border in BScrollViews to neatly align them with the window borders. This method is already used in our sources. ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Axel Dörfler)

Thu, 2015-09-03 05:45
Am 26/08/2015 um 10:35 schrieb Adrien Destugues: Is it safe to use hardcoded insets values for this? If we change the size of the borders in the control look, things would not look right anymore. So maybe it would make more sense to introduce a new constant, B_COLLAPSE_BORDER_SPACING (which we could set to value -1 to keep binary compatibility with existing apps) that would use the appropriate inset depending on the kind of border (fancy or not) and the control look used? ...
Categories: Development

[haiku-development] Re: Negative insets and BScroll{Bar|View} (Adrien Destugues)

Thu, 2015-09-03 01:45
26 août 2015 10:24 Axel Dörfler axeld@xxxxxxxxxxxxxxxx a écrit: I'd like to hear your opinion about using negative insets to, for example, cut off the border in BScrollViews to neatly align them with the window borders. This method is already used in our sources. However, the B_USE_DEFAULT_SPACING and friends are in the range of -2 to -7, ...
Categories: Development

[haiku-development] Negative insets and BScroll{Bar|View} (Axel Dörfler)

Wed, 2015-09-02 21:45
Hi there, I'd like to hear your opinion about using negative insets to, for example, cut off the border in BScrollViews to neatly align them with the window borders. This method is already used in our sources. ...
Categories: Development

[haiku-development] META:PPATH? (Pete Goodeve)

Wed, 2015-09-02 19:45
Hi, I'm wondering how the META:PPATH attribute of metamime entries functions -- or is supposed to. I'm curious because I see many hpkgs including a mime_db entry, but the PPATH attribute seems to be garbage! (I haven't found a correct one yet.) For instance /boot/system/data/mime_db/application/x-vnd.haiku-webpositive: META:PPATH ['MPTH'] /home/builder/builds/haiku-nightlies-x86_gcc2_hybrid/generated/objects/haiku/x86/release/apps/webpositive/WebPositive ...
Categories: Development

[haiku-development] configure script: --use-clang does not work right (Thomas Mueller)

Wed, 2015-09-02 19:45
I tried to cross-build Haiku from FreeBSD with Clang, using --use-clang with configure, but got ../configure: gcc: not found I looked through configure script, and around line 427, see platform=`uname` platformMachine=`uname -m` ...
Categories: Development

[haiku-development] ARM RFC: MMC / sd card bus (Alexander von Gluck IV)

Wed, 2015-09-02 19:45
Since this is my first bus I wanted to share what work i'm doing to get access to MMC cards on arm platforms. there are multiple possible MMC host adapters (normally one per SoC) The goal is to load an MMC bus based on the known FDT compatible strings. ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Dario Casalinuovo)

Wed, 2015-09-02 19:45
I don't see how this is related. Why can't the application continue to run in the background, no matter if the user closed it? The discussed solution of having the app wait for media services restart on close, and showing an alert with an 'Abort' button is the best solution as far as i can see. Because the restart might block up eventually, and this give a visual feedback of what it's happening. Quitting the window might cause the app to become a zombie in the worst case and anyway, the user ...
Categories: Development

[haiku-development] Re: package_repo question: Why is any an invalid architecture for a repo? (gus knight)

Wed, 2015-09-02 17:45
On Mon, Aug 10, 2015 at 2:38 PM, Adrien Destugues pulkomandy@xxxxxxxxx wrote: architecture. This makes sense to me, and having a single repository is better than having to add two (native arch + any) on the user side. The existence of any architecture is not something end-users are concerned with, so they should be in the same repo as other packages. Note that on our current repo, all packages are stored in a single directory ( the repos are just linking to them. This means the packages themselves ...
Categories: Development

[haiku-development] Re: package_repo question: Why is any an invalid architecture for a repo? (Adrien Destugues)

Wed, 2015-09-02 15:45
On Mon, Aug 10, 2015 at 01:38:03PM -0400, gus knight wrote: I'm in the final stages of testing the Kitchen, and I just ran into this: Is there any reason that this is a requirement? The easiest thing for the Kitchen to do would be to have an any repository for arch-independent packages, rather than amalgamating them into all of ...
Categories: Development

[haiku-development] package_repo question: Why is any an invalid architecture for a repo? (gus knight)

Wed, 2015-09-02 13:45
Hi, I'm in the final stages of testing the Kitchen, and I just ran into this: Is there any reason that this is a requirement? The easiest thing for the Kitchen to do would be to have an any repository for arch-independent packages, rather than amalgamating them into all of the standard architecture repositories. ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Josh Wright)

Wed, 2015-09-02 13:45
Does Haiku have the concept of toast notifications?  I'm thinking of something Growl, Snarl, NotifyOSD or even OS X Notifications does. They're not a direct replacement but would obviously be a good replacement for Media Server stopped, Media Server started, Rendering complete notifications. ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Axel Dörfler)

Wed, 2015-09-02 13:45
Am 09/08/2015 um 09:54 schrieb Adrien Destugues: On Sat, Aug 08, 2015 at 10:31:10PM +0200, Axel Dörfler wrote: How about just using the notification service instead for this (and in that case in general)? We were doing this a few weeks ago, the problem is the media prefs must not be exited during media server restart as that would abort the ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Matthias Lindner)

Wed, 2015-09-02 13:45
From what i learned from BeOS and the dev newsletter i read back then - the idea was that there is nearly every time a other way instead of a blocking/alert windows. e.g. for videorendering you can have a Progressbar in the statusbar and still work in the program. Its way harder to implement but its way more smooth user experience. In your case Maybe just make stuff disabled with the notification media Server restarting.. and enable the ui parts when media server is running There are also programs, such as editing ones, which can't use the notifications. Think of a video editor progress window. ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Dario Casalinuovo)

Wed, 2015-09-02 13:45
There are also programs, such as editing ones, which can't use the notifications. Think of a video editor progress window. Regards, Dario ...
Categories: Development

[haiku-development] Re: Allowing BAlert without buttons denied (Adrien Destugues)

Wed, 2015-09-02 13:45
On Sat, Aug 08, 2015 at 10:31:10PM +0200, Axel Dörfler wrote: buttons in the async version of BAlert::Go. Actually there's a debug call in _Prepare which doesn't allow it. I need it to show an alert when the user close Media preferences and we wait for media services to restart. How about just using the notification service instead for this (and in that ...
Categories: Development