Development mailing list

Syndicate content
Archive of posts for haiku-development at FreeLists
Updated: 2 min 38 sec ago

[haiku-development] insets vs. spacing (Axel Dörfler)

Sun, 2015-08-30 19:45
Hi there, since I'll be breaking compatibility anyway with those constants, we currently have all of them duplicated (as insets, as well as as spacing), but they all use the same constant value. Should we stay with this, or should I separate them, so that they could have different outcome, if the look/theme wants that? ...
Categories: Development

[haiku-development] enqueue_time still problems (Dario Casalinuovo)

Sun, 2015-08-30 19:45
Hello, i have been working on this in the latest days but still i see a unexpected behavior. With the attached patch applied there's a difference, it seems using the enqueue time add a strange latency. This could be fixed by adding the reported latency in LateNoticeReceived which libjackcompat isn't implementing actually. But AFAIK it shouldn't ...
Categories: Development

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

Sun, 2015-08-30 19:45
On 26.08.2015 18:08, Axel Dörfler wrote: Am 26/08/2015 um 11:52 schrieb Ingo Weinhold: Or use something like this to avoid breaking binary compatibility: #define B_DEFINE_NEGATIVE_INSET(x) ((x) - 1000) #define B_IS_NEGATIVE_INSET(x) ((x) -1000) #define B_GET_NEGATIVE_INSET(x) ((x) + 1000) ...
Categories: Development

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

Sun, 2015-08-30 19:45
On Wed, Aug 26, 2015 at 9:08 AM, Axel Dörfler axeld@xxxxxxxxxxxxxxxx wrote: Or use something like this to avoid breaking binary compatibility: #define B_DEFINE_NEGATIVE_INSET(x) ((x) - 1000) #define B_IS_NEGATIVE_INSET(x) ((x) -1000) #define B_GET_NEGATIVE_INSET(x) ((x) + 1000) +1 on negative insets, I’ve used the -1 inset before and it is useful, ...
Categories: Development

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

Sun, 2015-08-30 19:45
Am 26/08/2015 um 11:52 schrieb Ingo Weinhold: Or use something like this to avoid breaking binary compatibility: #define B_DEFINE_NEGATIVE_INSET(x) ((x) - 1000) #define B_IS_NEGATIVE_INSET(x) ((x) -1000) #define B_GET_NEGATIVE_INSET(x) ((x) + 1000) ...
Categories: Development

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

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 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)

Sun, 2015-08-30 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)

Sun, 2015-08-30 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)

Sun, 2015-08-30 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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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)

Sun, 2015-08-30 19: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