Re: GUI library for D

2011-04-07 Thread Jacob Carlborg
On 2011-04-07 21:38, Bruno Medeiros wrote: On 05/04/2011 14:06, Jacob Carlborg wrote: On 2011-04-05 13:08, Matthias Pleh wrote: So I think for short or middle term such solution like gtkD, QtD, DWT are good, but for the long term the D community needs a D GUI library completly written in D. Ju

Re: Is the world coming to an end?

2011-04-07 Thread Nick Sabalausky
"Bruno Medeiros" wrote in message news:inla56$2uoq$1...@digitalmars.com... > On 03/04/2011 19:22, Nick Sabalausky wrote: >> "Lutger Blijdestijn" wrote in message >> news:in9t6a$21jb$1...@digitalmars.com... >>> >>> I don't understand why it is hackish if it's a pure library approach. >>> (it >>>

Re: Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread Walter Bright
On 4/7/2011 5:54 PM, Andrei Alexandrescu wrote: Thanks David for rising to the challenge! You have been accepted. Congratulations! Congrats from me, too!

Re: Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread Walter Bright
On 4/7/2011 5:33 PM, Andrei Alexandrescu wrote: Jonas Drewsen has been accepted as a mentor for the Google Summer of Code 2011 program for Digital Mars. He is particularly interested in topics related to networking. Please join me in congratulating and wishing the best to Jonas. Congrats, Jona

Re: UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread Robert Jacques
On Thu, 07 Apr 2011 14:20:53 -0400, %u wrote: I was trying to write a "Dynamic" class for D, which uses opDispatch to allow for late binding, but I ran into a problem: While my class works well for regular methods inside a class, it fails to work for: (1) Template methods inside a class (2) Me

Re: Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread Torarin
Congratulations, Jonas! Torarin

Re: Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread Andrei Alexandrescu
On 4/7/11 7:47 PM, dsimcha wrote: On 4/7/2011 8:33 PM, Andrei Alexandrescu wrote: Jonas Drewsen has been accepted as a mentor for the Google Summer of Code 2011 program for Digital Mars. He is particularly interested in topics related to networking. Please join me in congratulating and wishing

Re: Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread dsimcha
On 4/7/2011 8:33 PM, Andrei Alexandrescu wrote: Jonas Drewsen has been accepted as a mentor for the Google Summer of Code 2011 program for Digital Mars. He is particularly interested in topics related to networking. Please join me in congratulating and wishing the best to Jonas. We have 18 stud

Jonas Drewsen has been accepted as a GSoC 2011 mentor for Digital Mars

2011-04-07 Thread Andrei Alexandrescu
Jonas Drewsen has been accepted as a mentor for the Google Summer of Code 2011 program for Digital Mars. He is particularly interested in topics related to networking. Please join me in congratulating and wishing the best to Jonas. We have 18 student applications and only 6 mentors. Probably w

Re: GCC 4.6

2011-04-07 Thread Matthias Pleh
Am 01.04.2011 02:50, schrieb bearophile: inventing new language features for D3 Why do you always mention D3. I always hated the M$ strategy to release every 2 years a new C#/.Net version. I'm satisfied with D2, and let's improve it in quality not in quantity of features. just my 2 cents °

Re: GUI library for D

2011-04-07 Thread Matthias Pleh
Am 08.04.2011 00:27, schrieb Andrej Mitrovic: DWT is 3x the codebase size of SWT? 0o Maybe the old portet versions in the branches directory?

Re: GUI library for D

2011-04-07 Thread Andrej Mitrovic
DWT is 3x the codebase size of SWT? 0o

Re: GUI library for D

2011-04-07 Thread Matthias Pleh
Am 08.04.2011 00:08, schrieb Matthias Pleh: Am 07.04.2011 21:38, schrieb Bruno Medeiros: On 05/04/2011 14:06, Jacob Carlborg wrote: On 2011-04-05 13:08, Matthias Pleh wrote: So I think for short or middle term such solution like gtkD, QtD, DWT are good, but for the long term the D community ne

Re: GUI library for D

2011-04-07 Thread Matthias Pleh
Am 07.04.2011 21:38, schrieb Bruno Medeiros: On 05/04/2011 14:06, Jacob Carlborg wrote: On 2011-04-05 13:08, Matthias Pleh wrote: So I think for short or middle term such solution like gtkD, QtD, DWT are good, but for the long term the D community needs a D GUI library completly written in D.

Re: Proposal for std.path replacement

2011-04-07 Thread Jonathan M Davis
On 2011-04-07 04:38, Lars T. Kyllingstad wrote: > On Thu, 07 Apr 2011 03:57:18 -0700, Jonathan M Davis wrote: > > And on some file systems, even / is valid! Though it's not worth it to > > try and get std.path to work with files with / in the name. It's > > generally a very bad idea to create a fil

Re: Is the world coming to an end?

2011-04-07 Thread Bruno Medeiros
On 03/04/2011 19:22, Nick Sabalausky wrote: "Lutger Blijdestijn" wrote in message news:in9t6a$21jb$1...@digitalmars.com... I don't understand why it is hackish if it's a pure library approach. (it is right?) I find it actually rather nice that D can do this. This is not a syntax change, octals

Re: Should all enums be immutable?

2011-04-07 Thread Trass3r
Am 07.04.2011, 18:03 Uhr, schrieb Simen kjaeraas : On Wed, 06 Apr 2011 21:42:35 +0200, Trass3r wrote: Am 06.04.2011, 20:40 Uhr, schrieb Simen kjaeraas : Yup. In theory, any immutable Foo declared at module scope (and likely also those at static class/struct scope) could be elided by the lin

Re: GCC 4.6

2011-04-07 Thread Bruno Medeiros
On 01/04/2011 01:50, bearophile wrote: On the other hand it's all voluntary service, most people don't get paid to help D development, so they_can't_ be managed as employed people, especially in a public forum designed for generic discussions about a language. Some people are more interested

Re: __traits so long and ugly, what about ::?

2011-04-07 Thread Bruno Medeiros
On 31/03/2011 16:11, Steven Schveighoffer wrote: On Thu, 31 Mar 2011 10:39:29 -0400, Andrei Alexandrescu wrote: On 03/31/2011 09:27 AM, Steven Schveighoffer wrote: On Thu, 31 Mar 2011 10:16:58 -0400, Andrei Alexandrescu wrote: On 03/31/2011 03:52 AM, bearophile wrote: KennyTM~: I think

Re: D grammar overhaul

2011-04-07 Thread Trass3r
I hope, we agree on !in and !is, as the current lexing introduces the shown parsing problems. But !is needs to be added to the IsExpression rules then. Hmm what if you have something like Templ!is(T:int) Is http://d.puremagic.com/issues/show_bug.cgi?id=5785 fixable with grammar changes oth

Re: GUI library for D

2011-04-07 Thread Andrej Mitrovic
On 4/7/11, Bruno Medeiros wrote: > On 05/04/2011 04:13, Andrej Mitrovic wrote: >> Wait, I'm a dumbass! >> >> Actually QtD needs to have Qt's MinGW in PATH, not the regular MinGW. >> Hold on a second, let me see what you need to do.. > > Qt has its own MinGW? o_o' I'm not sure what's special about

Re: GUI library for D

2011-04-07 Thread Nick Sabalausky
"Bruno Medeiros" wrote in message news:inl5cp$2gkf$1...@digitalmars.com... > On 05/04/2011 21:54, Steven Schveighoffer wrote: >> On Tue, 05 Apr 2011 16:49:00 -0400, Nick Sabalausky wrote: >> >>> "Daniel Gibson" wrote in message >>> news:infu1q$6bn$1...@digitalmars.com... Am 05.04.2011 22:2

Re: GUI library for D

2011-04-07 Thread Bruno Medeiros
On 05/04/2011 10:04, Jacob Carlborg wrote: On 2011-04-05 01:16, Jonathan M Davis wrote: On 2011-04-04 15:41, Matthias Pleh wrote: Am 05.04.2011 00:14, schrieb Daniel Gibson: Maybe your company could help the DWT or QtD guys? Getting something stable out of that would most probably not take as

Re: GUI library for D

2011-04-07 Thread Bruno Medeiros
On 05/04/2011 21:54, Steven Schveighoffer wrote: On Tue, 05 Apr 2011 16:49:00 -0400, Nick Sabalausky wrote: "Daniel Gibson" wrote in message news:infu1q$6bn$1...@digitalmars.com... Am 05.04.2011 22:20, schrieb Jacob Carlborg: I'm referring to Firefox 4. What's the "AwfulBar" ? Probably

Re: GSoC and licenses

2011-04-07 Thread Max Klyga
On 2011-04-07 22:32:42 +0300, Fawzi Mohamed said: During a google summer of code project you are supposed to produce your own code. I also wasn't sure about the exact licensing needs, but as this is relevant for a project I tried to clarify the situation. As far as I understood if your code

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-07 Thread Christian Hotz-Behofsits
Hi there! Now I read Ishan's idea of a expansion of the scope and I think it's a good one! We can split a greater topic in smaller ones and can complement each other! There are a lot of cool containers and so the library would get even mightier. Now we are prepared (I ordered some books on that t

Re: GSoC and licenses

2011-04-07 Thread spir
On 04/07/2011 09:32 PM, Fawzi Mohamed wrote: During a google summer of code project you are supposed to produce your own code. I also wasn't sure about the exact licensing needs, but as this is relevant for a project I tried to clarify the situation. As far as I understood if your code has to

Re: GUI library for D

2011-04-07 Thread Bruno Medeiros
On 05/04/2011 04:13, Andrej Mitrovic wrote: Wait, I'm a dumbass! Actually QtD needs to have Qt's MinGW in PATH, not the regular MinGW. Hold on a second, let me see what you need to do.. Qt has its own MinGW? o_o' -- Bruno Medeiros - Software Engineer

Re: GUI library for D

2011-04-07 Thread Bruno Medeiros
On 05/04/2011 14:06, Jacob Carlborg wrote: On 2011-04-05 13:08, Matthias Pleh wrote: So I think for short or middle term such solution like gtkD, QtD, DWT are good, but for the long term the D community needs a D GUI library completly written in D. Just my thoughts °Matthias You do know that

GSoC and licenses

2011-04-07 Thread Fawzi Mohamed
During a google summer of code project you are supposed to produce your own code. I also wasn't sure about the exact licensing needs, but as this is relevant for a project I tried to clarify the situation. As far as I understood if your code has to become part of phobos then it should be

Re: GUI library for D ---- Why do not consider to use GTK+ 3.0 ??

2011-04-07 Thread Kagamin
Justin Whear Wrote: > Actually GTK+3.0 is the current stable release and the 2.2* series is > in maintenance mode. I'd love to see GtkD update to the 3 series soon-- > currently using the 2.6 version. Indeed, lol, I was confused by the windows section which knows nothing about 3.0 version.

Re: UFCS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread %u
> What's UCFS? Whoops, typo. xD Uniform Function Call Syntax. :)

Re: UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread Caligo
What's UCFS?

Re: UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread %u
> I tried a "wrapper" type using opDispatch in dcollections, but what I ran into is, opDispatch uses its called parameter types to decide the function parameter types, you have very little control over that. I basically ended up abandoning the use of opDispatch and implemented each covered function

Re: [GSoC Proposal draft] High-Level Networking

2011-04-07 Thread Max Klyga
On 2011-04-07 16:17:43 +0300, Torarin said: 2011/4/7 Jonas Drewsen : On 07/04/11 00.32, Max Klyga wrote: snip Seems good to me. Some comments: You mention that a reactor will probably be used for implementing the proactor. On windows it really doesn't make sense to do this it think. Instead

Re: UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread Steven Schveighoffer
On Thu, 07 Apr 2011 14:20:53 -0400, %u wrote: I was trying to write a "Dynamic" class for D, which uses opDispatch to allow for late binding, but I ran into a problem: While my class works well for regular methods inside a class, it fails to work for: (1) Template methods inside a class (2) Me

UCFS, Reflection/Metadata, Overload Resolution, Templates, and other issues

2011-04-07 Thread %u
I was trying to write a "Dynamic" class for D, which uses opDispatch to allow for late binding, but I ran into a problem: While my class works well for regular methods inside a class, it fails to work for: (1) Template methods inside a class (2) Methods with overloads (3) Global methods that have

Re: GUI library for D ---- Why do not consider to use GTK+ 3.0 ??

2011-04-07 Thread Justin Whear
Actually GTK+3.0 is the current stable release and the 2.2* series is in maintenance mode. I'd love to see GtkD update to the 3 series soon-- currently using the 2.6 version.

Re: D grammar overhaul

2011-04-07 Thread Rainer Schuetze
Trass3r wrote: Am 02.04.2011, 10:11 Uhr, schrieb Rainer Schuetze : Do we want to allow spaces and comments between these tokens? - extern ( C ++ ) Well we would have to introduce C++ as a keyword just for that purpose. Not worth it. It does not have to be a keyword, but the parser can just

Re: new dr. dobbs article by Walter

2011-04-07 Thread spir
On 04/07/2011 06:10 PM, Jason E. Aten wrote: Dr. Dobb's Journal just published a blog entry by Walter that discusses some of the motivation and design for the std/conv.d library. As a relative newcomer to D, I found it quite an interesting read. User Defined Literals in the D Programming Languag

Re: D grammar overhaul

2011-04-07 Thread Trass3r
Am 02.04.2011, 10:11 Uhr, schrieb Rainer Schuetze : Do we want to allow spaces and comments between these tokens? - extern ( C ++ ) Well we would have to introduce C++ as a keyword just for that purpose. Not worth it. - @ Property (safe, trusted, disable, etc) safe, trusted etc. aren't keywor

new dr. dobbs article by Walter

2011-04-07 Thread Jason E. Aten
Dr. Dobb's Journal just published a blog entry by Walter that discusses some of the motivation and design for the std/conv.d library. As a relative newcomer to D, I found it quite an interesting read. User Defined Literals in the D Programming Language 06 April 2011 http://drdobbs.com/blogs/tool

Re: Should all enums be immutable?

2011-04-07 Thread Simen kjaeraas
On Wed, 06 Apr 2011 21:42:35 +0200, Trass3r wrote: Am 06.04.2011, 20:40 Uhr, schrieb Simen kjaeraas : Yup. In theory, any immutable Foo declared at module scope (and likely also those at static class/struct scope) could be elided by the linker if it not used anywhere, but Optlink does not do

Re: image processing in D

2011-04-07 Thread Eric Poggel (JoeCoder)
On 4/3/2011 6:35 PM, Emil Madsen wrote: This about image processing, got me thinking, hows the shader support for D currently? - Interfaceable though C? Because for image processing, thats def. the way to go, at least in my opinion, that is if you want acceptable processing speeds. And a more sp

Re: GSoC 2011

2011-04-07 Thread Fawzi Mohamed
On 7-apr-11, at 09:05, Mihir Patil wrote: Hi, Thanks Andrei for the heads up. I read the discussion in the archives as you said. I still did not find anyone talking about the garbage collection part. I have a decent enough knowledge about the theoretical aspects of it. And I am confident

Re: [GSoC Proposal draft] High-Level Networking

2011-04-07 Thread Torarin
2011/4/7 Jonas Drewsen : > On 07/04/11 00.32, Max Klyga wrote: >> >> OK, I've absorbed enough informtion to transform my thoughts in the >> second proposal draft. >> I'll be posting it direcltly to GSoC website and correct it, if necessary. >> >> Proposal is situated here: >> >> http://www.google-m

Re: [GSOC] more ideas

2011-04-07 Thread Bruno Medeiros
On 25/03/2011 08:45, Don wrote: Vladimir Panteleev wrote: On Thu, 24 Mar 2011 20:54:56 +0200, Trass3r wrote: I don't want to edit the ideas wiki page without getting another opinion, so what about: Me too - how about an image library? Being able to load/save popular image formats from/to RG

Re: GUI library for D ---- Why do not consider to use GTK+ 3.0 ??

2011-04-07 Thread Kagamin
Jesse Phillips Wrote: > On Wed, 06 Apr 2011 07:35:19 +, David Wang wrote: > > > please view: > > > > http://www.digitalmars.com/pnews/read.php? > > server=news.digitalmars.com&group=digitalmars.D&artnum=134026 > > The reason this is not getting a lot of attention is the same reason any > o

Re: Proposal for std.path replacement

2011-04-07 Thread Lars T. Kyllingstad
On Thu, 07 Apr 2011 03:57:18 -0700, Jonathan M Davis wrote: > > And on some file systems, even / is valid! Though it's not worth it to > try and get std.path to work with files with / in the name. It's > generally a very bad idea to create a file with a / in the name - too > many programs would ch

Re: GUI library for D

2011-04-07 Thread Kagamin
Nick Sabalausky Wrote: > And yea, you're right that software rendering sucks performance-wise. But > the main orginal point was t have a way to just toy around with image > drawing in an easy classic DOS-style. From there, my thoughts were "ok, how > to make this approach as close to being effi

Re: [GSoC Proposal draft] High-Level Networking

2011-04-07 Thread Jonas Drewsen
On 07/04/11 00.32, Max Klyga wrote: OK, I've absorbed enough informtion to transform my thoughts in the second proposal draft. I'll be posting it direcltly to GSoC website and correct it, if necessary. Proposal is situated here: http://www.google-melange.com/gsoc/proposal/review/google/gsoc2011/

Re: Proposal for std.path replacement

2011-04-07 Thread Jonathan M Davis
> On Wed, 06 Apr 2011 15:51:15 +0100, Bruno Medeiros wrote: > > On 03/03/2011 16:29, Lars T. Kyllingstad wrote: > >> As mentioned in the "std.path.getName(): Screwy by design?" thread, I > >> started working on a rewrite of std.path a long time ago, but I got > >> sidetracked by other things. The

Re: image processing in D

2011-04-07 Thread Torarin
2011/4/4 Emil Madsen : > And a more specific question; say one wants to blur a picture > with Gaussian blur, how would D ranges deal with the 2d array? foreach (r; image.rows) convolute1d(r, gaussianKernel); foreach (c; image.cols) convolute1d(c, gaussianKernel); Torarin

re:image processing in D

2011-04-07 Thread aman bansal
i have successfully implemented a function in D.that takes a bmp image and stores it in a array.but it supports only grayscale images..i.e.8bit 256 levels.fawzi sir proposed a creation of a wrapper for arbitrary bitdepth/channel but i could not understand that concept well will someone elaborate o

Re: Proposal for std.path replacement

2011-04-07 Thread Lars T. Kyllingstad
On Wed, 06 Apr 2011 15:51:15 +0100, Bruno Medeiros wrote: > On 03/03/2011 16:29, Lars T. Kyllingstad wrote: >> As mentioned in the "std.path.getName(): Screwy by design?" thread, I >> started working on a rewrite of std.path a long time ago, but I got >> sidetracked by other things. The recent di

Re: GSoC 2011

2011-04-07 Thread Mihir Patil
Hi, Thanks Andrei for the heads up. I read the discussion in the archives as you said. I still did not find anyone talking about the garbage collection part. I have a decent enough knowledge about the theoretical aspects of it. And I am confident that I can implement it. I have read the garbage col