Re: Window creation, for phobos?

2015-02-02 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 2 February 2015 at 05:50:29 UTC, Manu wrote: I didn't realise that this proposal was limited to appearing a single window on screen. Obviously not, that would be pretty useless. But popping up a window that lets you draw in it and respond to events in it, while exposing hooks for

Re: Window creation, for phobos?

2015-02-01 Thread Dicebot via Digitalmars-d
On Sunday, 1 February 2015 at 12:47:04 UTC, eles wrote: On Sunday, 1 February 2015 at 12:46:08 UTC, eles wrote: On Sunday, 1 February 2015 at 12:33:31 UTC, Dicebot wrote: On Saturday, 31 January 2015 at 09:24:21 UTC, user wrote: development process. DFL was officially endorsed at some

Re: Window creation, for phobos?

2015-02-01 Thread Dicebot via Digitalmars-d
On Saturday, 31 January 2015 at 09:24:21 UTC, user wrote: I don't know, you sound like a perfectionist to me, like most of other community members. I can only give examples from my experience. I judge exclusively by existing precedents and knowledge of D development process. DFL was

Re: Window creation, for phobos?

2015-02-01 Thread eles via Digitalmars-d
On Sunday, 1 February 2015 at 12:33:31 UTC, Dicebot wrote: On Saturday, 31 January 2015 at 09:24:21 UTC, user wrote: development process. DFL was officially endorsed at some point, err... DWT

Re: Window creation, for phobos?

2015-02-01 Thread eles via Digitalmars-d
On Sunday, 1 February 2015 at 12:46:08 UTC, eles wrote: On Sunday, 1 February 2015 at 12:33:31 UTC, Dicebot wrote: On Saturday, 31 January 2015 at 09:24:21 UTC, user wrote: development process. DFL was officially endorsed at some point, err... DWT or I might be wrong mea culpa

Re: Window creation, for phobos?

2015-02-01 Thread Jacob Carlborg via Digitalmars-d
On 2015-02-01 13:33, Dicebot wrote: I judge exclusively by existing precedents and knowledge of D development process. DFL was officially endorsed at some point, it didn't make any difference. 1. It was DWT 2. To be far, nothing in practice was done more than saying DWT is the official GUI

Re: Window creation, for phobos?

2015-02-01 Thread Dicebot via Digitalmars-d
On Sunday, 1 February 2015 at 19:30:27 UTC, Jacob Carlborg wrote: On 2015-02-01 13:33, Dicebot wrote: I judge exclusively by existing precedents and knowledge of D development process. DFL was officially endorsed at some point, it didn't make any difference. 1. It was DWT Yep, sorry,

Re: Window creation, for phobos?

2015-02-01 Thread Tofu Ninja via Digitalmars-d
On Sunday, 1 February 2015 at 21:38:33 UTC, Dicebot wrote: Probbaly. But do you honestly believe including actual sources into Phobos would have made any real difference? I doubt core developers would work on it one way or the other - that is a huge waste of effort. And it wouldn't fit

Re: Window creation, for phobos?

2015-02-01 Thread ketmar via Digitalmars-d
On Sun, 01 Feb 2015 21:38:31 +, Dicebot wrote: Probbaly. But do you honestly believe including actual sources into Phobos would have made any real difference? I doubt core developers would work on it one way or the other - that is a huge waste of effort. And it wouldn't fit everyone on

Re: Window creation, for phobos?

2015-02-01 Thread Manu via Digitalmars-d
On 30 January 2015 at 00:47, Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: On Thursday, 29 January 2015 at 08:45:23 UTC, Manu wrote: I'm not convinced that D needs a custom GUI library though. That's a behemoth effort. Indeed, but I find there's still quite a bit of

Re: Window creation, for phobos?

2015-01-31 Thread user via Digitalmars-d
I don't know, you sound like a perfectionist to me, like most of other community members. I can only give examples from my experience. I am a controls engineer in my current day job, and I do SW coding in my free time (like couple of hours per week). In the past, I changed my D GUI libs from

Re: Window creation, for phobos?

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Sunday, 1 February 2015 at 05:10:52 UTC, Craig Dillabaugh wrote: On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change.

Re: Window creation, for phobos?

2015-01-31 Thread Rikki Cattermole via Digitalmars-d
On 1/02/2015 6:13 p.m., Craig Dillabaugh wrote: On Sunday, 1 February 2015 at 05:10:52 UTC, Craig Dillabaugh wrote: On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change.

Re: Window creation, for phobos?

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Saturday, 31 January 2015 at 11:34:42 UTC, Paulo Pinto wrote: On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: Regarding C++ that might change. https://msopentech.com/blog/2015/01/28/experimenting-with-a-proposed-standard-gui-for-the-c-language/

Re: Window creation, for phobos?

2015-01-31 Thread ponce via Digitalmars-d
On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: On Tuesday, 27 January 2015 at 22:05:02 UTC, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Now enough gabble. I'm

Re: Window creation, for phobos?

2015-01-31 Thread Rikki Cattermole via Digitalmars-d
On 31/01/2015 11:49 p.m., ponce wrote: On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: snip 7. Perhaps some kind of an input package This belong to a windowing library and should be decoupled from the imaging library as far as possible. You can't have windowing library X require

Re: Window creation, for phobos?

2015-01-31 Thread ponce via Digitalmars-d
On Thursday, 29 January 2015 at 09:13:17 UTC, Rikki Cattermole wrote: On 29/01/2015 9:45 p.m., Manu via Digitalmars-d wrote: I'm chipping away at a colour module, although I've been distracted with work the last little bit. I see, anything I can help with? I'm not convinced that D needs a

Re: Window creation, for phobos?

2015-01-31 Thread Paulo Pinto via Digitalmars-d
On Saturday, 31 January 2015 at 10:34:29 UTC, ponce wrote: On Thursday, 29 January 2015 at 09:13:17 UTC, Rikki Cattermole wrote: On 29/01/2015 9:45 p.m., Manu via Digitalmars-d wrote: I'm chipping away at a colour module, although I've been distracted with work the last little bit. I see,

Re: Window creation, for phobos?

2015-01-30 Thread Dicebot via Digitalmars-d
On Thursday, 29 January 2015 at 08:09:16 UTC, user wrote: On Wednesday, 28 January 2015 at 12:02:25 UTC, Dicebot wrote: GUI does not belong to Phobos. That's the only reason I use Java instead of D. If GUI is not in phobos, it has no guaranteed support. Of course this is because I only

Re: Window creation, for phobos?

2015-01-29 Thread Piotrek via Digitalmars-d
On Thursday, 29 January 2015 at 14:45:19 UTC, Adam D. Ruppe wrote: On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: Is the concept of a *window* even that platform agnostic? Generally, I think it is a mistake to reject something that is good for a great many users just because it

Re: Window creation, for phobos?

2015-01-29 Thread Manu via Digitalmars-d
I'm chipping away at a colour module, although I've been distracted with work the last little bit. I'm not convinced that D needs a custom GUI library though. That's a behemoth effort. I tend to think a quality and well-maintained Qt binding/wrapping would be a much more useful tool for us to

Re: Window creation, for phobos?

2015-01-29 Thread user via Digitalmars-d
On Wednesday, 28 January 2015 at 12:02:25 UTC, Dicebot wrote: GUI does not belong to Phobos. That's the only reason I use Java instead of D. If GUI is not in phobos, it has no guaranteed support. Of course this is because I only create GUI desktop application. Apparently this is only my

Re: Window creation, for phobos?

2015-01-29 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 9:09 p.m., user wrote: On Wednesday, 28 January 2015 at 12:02:25 UTC, Dicebot wrote: GUI does not belong to Phobos. That's the only reason I use Java instead of D. If GUI is not in phobos, it has no guaranteed support. Of course this is because I only create GUI desktop

Re: Window creation, for phobos?

2015-01-29 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 9:45 p.m., Manu via Digitalmars-d wrote: I'm chipping away at a colour module, although I've been distracted with work the last little bit. I see, anything I can help with? I'm not convinced that D needs a custom GUI library though. That's a behemoth effort. I tend to think a

Re: Window creation, for phobos?

2015-01-29 Thread Mike via Digitalmars-d
On Tuesday, 27 January 2015 at 22:05:02 UTC, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Now enough gabble. I'm proposing to get Devisualization.Window PR'd into phobos. I

Re: Window creation, for phobos?

2015-01-29 Thread Rikki Cattermole via Digitalmars-d
On 30/01/2015 12:17 a.m., Mike wrote: On Tuesday, 27 January 2015 at 22:05:02 UTC, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Now enough gabble. I'm proposing to get

Re: Window creation, for phobos?

2015-01-29 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 08:09:16 UTC, user wrote: Apparently this is only my issue, all others seems to be ok with no GUI in phobos. NO... I am not ok with no GUI in phobos. I am with you.

Re: Window creation, for phobos?

2015-01-29 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 29 January 2015 at 08:45:23 UTC, Manu wrote: I'm not convinced that D needs a custom GUI library though. That's a behemoth effort. Indeed, but I find there's still quite a bit of value in even a small wrapper that just pops up a window and lets you do the basic drawing and

Re: Window creation, for phobos?

2015-01-29 Thread Adam D. Ruppe via Digitalmars-d
On Thursday, 29 January 2015 at 11:17:32 UTC, Mike wrote: Is the concept of a *window* even that platform agnostic? Is writeln even platform agnostic? I've used targets where it doesn't do anything including Microsoft Windows with the gui subsystem. Generally, I think it is a mistake

Re: Window creation, for phobos?

2015-01-29 Thread Kapps via Digitalmars-d
On Thursday, 29 January 2015 at 14:45:19 UTC, Adam D. Ruppe wrote: Is writeln even platform agnostic? I've used targets where it doesn't do anything including Microsoft Windows with the gui subsystem. Sure it does, it's just that by default the stdio handles are closed. You can still run

Re: Window creation, for phobos?

2015-01-29 Thread Piotrek via Digitalmars-d
On Thursday, 29 January 2015 at 11:24:22 UTC, Tofu Ninja wrote: On Thursday, 29 January 2015 at 08:09:16 UTC, user wrote: Apparently this is only my issue, all others seems to be ok with no GUI in phobos. NO... I am not ok with no GUI in phobos. I am with you. I ensure you there are many

Re: Window creation, for phobos?

2015-01-29 Thread Rikki Cattermole via Digitalmars-d
On 30/01/2015 3:45 a.m., Adam D. Ruppe wrote: snip Any call to a create window function might fail at runtime, on a platform with no graphics support, all window creation can throw an exception. On a platform with just one screen, any beyond the first might throw. I can think of a way to do

Re: Window creation, for phobos?

2015-01-29 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 23:03:51 UTC, Rikki Cattermole wrote: I can think of a way to do that by using Derelict-Util ;) for xlib for example. But it is an implementation detail. You won't build a D app for Android without being aware it is an Android app and need special treatment. The

Re: Window creation, for phobos?

2015-01-29 Thread Rikki Cattermole via Digitalmars-d
On 30/01/2015 3:30 p.m., Tofu Ninja wrote: On Thursday, 29 January 2015 at 23:03:51 UTC, Rikki Cattermole wrote: I can think of a way to do that by using Derelict-Util ;) for xlib for example. But it is an implementation detail. You won't build a D app for Android without being aware it is an

Re: Window creation, for phobos?

2015-01-28 Thread ketmar via Digitalmars-d
On Wed, 28 Jan 2015 10:36:22 +0900, Mike Parker wrote: On 1/28/2015 7:54 AM, ketmar wrote: On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library

Re: Window creation, for phobos?

2015-01-28 Thread ponce via Digitalmars-d
On Tuesday, 27 January 2015 at 22:54:15 UTC, ketmar wrote: On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions. please, not Derelict! it's a

Re: Window creation, for phobos?

2015-01-28 Thread Rikki Cattermole via Digitalmars-d
On Wednesday, 28 January 2015 at 07:48:42 UTC, Jacob Carlborg wrote: On 2015-01-27 23:04, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Oh, it's time for GUI season again :).

Re: Window creation, for phobos?

2015-01-28 Thread Dicebot via Digitalmars-d
GUI does not belong to Phobos.

Re: Window creation, for phobos?

2015-01-28 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 02:07:26 UTC, Tofu Ninja wrote: ... Also I just checked and Aurora has not been updated since june so it might be dead, I don't know.

Re: Window creation, for phobos?

2015-01-28 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 2:34 p.m., Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? Window/Context creation is not the same as e.g. a GUI toolkit. They are in fact very different. A window/context creation library is usually within a GUI toolkit but a

Re: Window creation, for phobos?

2015-01-28 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 01:50:58 UTC, Rikki Cattermole wrote: On 29/01/2015 2:34 p.m., Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? Window/Context creation is not the same as e.g. a GUI toolkit. They are in fact very different.

Re: Window creation, for phobos?

2015-01-28 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 02:26:18 UTC, Andrei Alexandrescu wrote: On 1/28/15 5:34 PM, Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? I think Aurora is dead in spite of significant goodwill and karma expenditure. I think there

Re: Window creation, for phobos?

2015-01-28 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 3:32 p.m., Tofu Ninja wrote: On Thursday, 29 January 2015 at 02:26:18 UTC, Andrei Alexandrescu wrote: On 1/28/15 5:34 PM, Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? I think Aurora is dead in spite of significant goodwill

Re: Window creation, for phobos?

2015-01-28 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 3:26 p.m., Andrei Alexandrescu wrote: On 1/28/15 5:34 PM, Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? I think Aurora is dead in spite of significant goodwill and karma expenditure. I think there might be a lesson in there,

Re: Window creation, for phobos?

2015-01-28 Thread Rikki Cattermole via Digitalmars-d
On 29/01/2015 3:07 p.m., Tofu Ninja wrote: snip It still seems like a good idea to try to get window creation now as Aurora could take a very long time to get done(if ever) and Aurora could use it as well. Pretty much all GUI libraries in D already could take advantage of

Re: Window creation, for phobos?

2015-01-28 Thread Tofu Ninja via Digitalmars-d
On Thursday, 29 January 2015 at 02:23:55 UTC, Rikki Cattermole wrote: Also partly why I will openly admit why my implementation may not be the best. It's just too hard to get right by yourself. Got to start somewhere.

Re: Window creation, for phobos?

2015-01-28 Thread Andrei Alexandrescu via Digitalmars-d
On 1/28/15 5:34 PM, Jeremy DeHaan wrote: What about that Aurora project? Wasn't that supposed to fill this kind of role? I think Aurora is dead in spite of significant goodwill and karma expenditure. I think there might be a lesson in there, but I don't know exactly which. -- Andrei

Re: Window creation, for phobos?

2015-01-28 Thread Jeremy DeHaan via Digitalmars-d
What about that Aurora project? Wasn't that supposed to fill this kind of role?

Re: Window creation, for phobos?

2015-01-28 Thread Mike Parker via Digitalmars-d
On 1/28/2015 4:59 PM, ketmar wrote: i'm sorry if it seems that i'm somehow marking Derelict as done wrong. No, I didn't take it that way at all. I just wanted to clarify for anyone reading this and wasn't aware that it's possible to avoid the issue entirely.

Window creation, for phobos?

2015-01-27 Thread Rikki Cattermole via Digitalmars-d
I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Now enough gabble. I'm proposing to get Devisualization.Window PR'd into phobos. This cannot happen right now. It's blocked on many fronts. 1) Objective-C

Re: Window creation, for phobos?

2015-01-27 Thread Mike Parker via Digitalmars-d
On 1/28/2015 7:04 AM, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions. So Mike Parker, would you be willing for this to be PR'd? And if so, are we ok with this? I have no

Re: Window creation, for phobos?

2015-01-27 Thread ketmar via Digitalmars-d
On Tue, 27 Jan 2015 23:07:44 +, Rikki Cattermole wrote: dlangui doesn't depend upon it. that dependency was removed since then. And isn't aware of different versions. of course. that's why it failed on my FreeImage: my library is older than the one that Derelict is expecting to find, and

Re: Window creation, for phobos?

2015-01-27 Thread Mike Parker via Digitalmars-d
On 1/28/2015 7:54 AM, ketmar wrote: On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions. please, not Derelict! it's a great work and all that,

Re: Window creation, for phobos?

2015-01-27 Thread Rikki Cattermole via Digitalmars-d
On Tuesday, 27 January 2015 at 22:54:15 UTC, ketmar wrote: On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions. please, not Derelict! it's a

Re: Window creation, for phobos?

2015-01-27 Thread Rikki Cattermole via Digitalmars-d
On Tuesday, 27 January 2015 at 23:58:23 UTC, desmond wrote: https://github.com/DerelictOrg/DerelictFI Huh, I have no idea how I missed that. Anyway I was right in that it doesn't do staging of versions.

Re: Window creation, for phobos?

2015-01-27 Thread ketmar via Digitalmars-d
On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its old code, lets admit it. Its also a standard for loading shared library functions. please, not Derelict! it's a great work and all that, but it's habit to load ALL functions

Re: Window creation, for phobos?

2015-01-27 Thread desmond via Digitalmars-d
https://github.com/DerelictOrg/DerelictFI On Tuesday, 27 January 2015 at 23:07:46 UTC, Rikki Cattermole wrote: On Tuesday, 27 January 2015 at 22:54:15 UTC, ketmar wrote: On Wed, 28 Jan 2015 11:04:55 +1300, Rikki Cattermole wrote: First off, Derelict-Util/Derelict-GL3 is a biggy here. Its

Re: Window creation, for phobos?

2015-01-27 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-27 23:04, Rikki Cattermole wrote: I have dream! A dream, dream dream. A dream to see GUI's easy to use in D! I must admit it will be hard, but it's time. Prime time I mean! Oh, it's time for GUI season again :). Now enough gabble. I'm proposing to get Devisualization.Window PR'd

Re: Window creation, for phobos?

2015-01-27 Thread ketmar via Digitalmars-d
On Wed, 28 Jan 2015 02:32:44 +, Tofu Ninja wrote: On Wednesday, 28 January 2015 at 00:58:41 UTC, ketmar wrote: On Tue, 27 Jan 2015 23:07:44 +, Rikki Cattermole wrote: dlangui doesn't depend upon it. that dependency was removed since then. And isn't aware of different versions. of

Re: Window creation, for phobos?

2015-01-27 Thread Tofu Ninja via Digitalmars-d
On Wednesday, 28 January 2015 at 00:58:41 UTC, ketmar wrote: On Tue, 27 Jan 2015 23:07:44 +, Rikki Cattermole wrote: dlangui doesn't depend upon it. that dependency was removed since then. And isn't aware of different versions. of course. that's why it failed on my FreeImage: my