Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 22:25, Daniel Gibson wrote: Am 05.04.2011 22:20, schrieb Jacob Carlborg: I'm referring to Firefox 4. What's the "AwfulBar" ? Probably the "Awesomebar".. the feature in FF3+ that searches all visisted URLs (and the page titles) for the word you type into the URL-bar (and not jus

Re: GUI library for D

2011-04-05 Thread Anders F Björklund
Nick Sabalausky wrote: AIUI: DWT doesn't support D2 (neither does wxD). wxD should compile/work with D2, it just doesn't "support" it... Similar goes for using Tango rather than Phobos with it, as well. QtD requires a patched DMD, MinGW (which is fucking god-awful), and cmake (I have to let

Re: Settings in CodeBlocks -- D Language

2011-04-05 Thread David Wang
Now I'm using the svn7075 (the latest is svn7076) in my Fedora14 x86_64 system(sometimes I also using it in XP). If you use Windows, please follow the instruction: http://wiki.codeblocks.org/index.php? title=Installing_a_supported_compiler#Digital_Mars_D_Compiler_for_W indows If you use Linux, pl

Re: Settings in CodeBlocks -- D Language

2011-04-05 Thread Sam Hu
David Wang Wrote: > == > My understanding is that Code::Blocks only supports code > completion for D because their fuzzy C++ parser can sometimes > parse D successfully, and that they don't plan to support D > directly. Has this changed? > == > > Acturally everytime when C

Re: Settings in CodeBlocks -- D Language

2011-04-05 Thread David Wang
== My understanding is that Code::Blocks only supports code completion for D because their fuzzy C++ parser can sometimes parse D successfully, and that they don't plan to support D directly. Has this changed? == Acturally everytime when CodeBlocks parses D will be failed.

Re: [RFC] CSV parser

2011-04-05 Thread Robert Jacques
On Tue, 05 Apr 2011 12:45:59 -0400, Jesse Phillips wrote: Robert Jacques Wrote: * You should input ranges. It's fine to detect slicing and optimize for it, but you should support simple input ranges as well. This implementation only operates with input ranges, of text. I have another im

Re: New look & feel for std.algorithm

2011-04-05 Thread Robert Jacques
On Wed, 06 Apr 2011 00:52:26 -0400, Andrei Alexandrescu wrote: On 4/4/11 12:58 AM, Andrei Alexandrescu wrote: There were also a number of bugs on www.d-programming-language.org, which David Gileadi kindly took care of. Please take a look at www.digitalmars.com and let me know if you find any

Re: Settings in CodeBlocks -- D Language

2011-04-05 Thread Andrew Wiley
On Tue, Apr 5, 2011 at 11:47 PM, David Wang wrote: > Dear all, > > The CodeBlocks IDE supports DMD compiler and I've described the proper > settings for Codeblocks using in D Language. > > Please visit the WiKi page here: > > http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compil

Re: New look & feel for std.algorithm

2011-04-05 Thread Andrei Alexandrescu
On 4/4/11 12:58 AM, Andrei Alexandrescu wrote: There were also a number of bugs on www.d-programming-language.org, which David Gileadi kindly took care of. Please take a look at www.digitalmars.com and let me know if you find any issues. In particular, we've discussed a while ago the new look and

Settings in CodeBlocks -- D Language

2011-04-05 Thread David Wang
Dear all, The CodeBlocks IDE supports DMD compiler and I've described the proper settings for Codeblocks using in D Language. Please visit the WiKi page here: http://wiki.codeblocks.org/index.php?title=Installing_a_supported_compiler BTW, the "Code Completion for D" isn't quite good now, and i

Re: New look & feel for std.algorithm

2011-04-05 Thread Adam D. Ruppe
Andrei wrote: > Updated once more Wow, that's starting to look really good! Nice work, everybody.

Re: New look & feel for std.algorithm

2011-04-05 Thread Andrei Alexandrescu
On 4/4/11 12:58 AM, Andrei Alexandrescu wrote: There were also a number of bugs on www.d-programming-language.org, which David Gileadi kindly took care of. Please take a look at www.digitalmars.com and let me know if you find any issues. In particular, we've discussed a while ago the new look and

Re: GUI library for D

2011-04-05 Thread Adam D. Ruppe
Note: I just updated my simpledisplay.d. My color constructor said b = c when I meant this.b = c... hence everything was yellow! You can download again from the same place. Nick Sabalausky wrote: > I haven't benchmarked or even tested this, and heck, maybe I'm just > a dinosaur, but for better spe

Re: [GSOC] Database API draft proposal

2011-04-05 Thread Masahiro Nakagawa
On Wed, 06 Apr 2011 05:38:02 +0900, Christian Manning wrote: Hello all, This is the second draft and a lot of changes have been made. Hopefully it's a better overall proposal and I look forward to anybody's feedback :) - Synopsis An API for data

Re: DGui

2011-04-05 Thread Andrej Mitrovic
What the funk. I was trying to contact the author but google just gave me an invalid email address. If I try to expand his email by clicking on "troguant...@gmail.com", I get username "troguantoniodavide", but I can't email him at this address. :/

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Adam D. Ruppe" wrote in message news:ing4ir$260f$1...@digitalmars.com... > Matthias Pleh wrote: >> Are you talking about the dImage project, with the display-X11/win32 >> backends, on you side? > > Yeah, that's the original version. I just finished doing the Windows > side (wasn't as bad as I th

Re: DWT2

2011-04-05 Thread Sam Hu
Jacob Carlborg Wrote: > On 2011-04-05 05:54, Andrej Mitrovic wrote: > > You have to be kidding me. Who writes code like this? > > > > http://i.imgur.com/BBQde.png > > Is that from a DWT snippet? > > -- > /Jacob Carlborg Sorry for my stepping in... @jacob:May I ask how to build DWT2 for DMD 2.05

Re: DWT2

2011-04-05 Thread Sam Hu
Jacob Carlborg Wrote: > On 2011-04-05 05:54, Andrej Mitrovic wrote: > > You have to be kidding me. Who writes code like this? > > > > http://i.imgur.com/BBQde.png > > Is that from a DWT snippet? > > -- > /Jacob Carlborg Sorry for my stepping in... @jacob:May I ask how to build DWT2 for DMD 2.05

Re: Should all enums be immutable?

2011-04-05 Thread Steven Schveighoffer
On Tue, 05 Apr 2011 19:53:35 -0400, Nick Sabalausky wrote: What about "enum string x = ..." or "immutable string x = ..."? Anyone know if those exhibit the same problem? No, strings are generated at compile time via a literal or CTFE. -Steve

Re: Should all enums be immutable?

2011-04-05 Thread Nick Sabalausky
"Rainer Schuetze" wrote in message news:ind21j$1si5$1...@digitalmars.com... > > Don wrote: >> Jonathan M Davis wrote: >>> Enum values cannot be altered. It is an error to try and assign a value >>> to an enum. However, the value of an enum isn't really const or >>> immutable. It's copied every

Re: New look & feel for std.algorithm

2011-04-05 Thread user
On 4-4-2011 7:58, Andrei Alexandrescu wrote: There were also a number of bugs on www.d-programming-language.org, which David Gileadi kindly took care of. Please take a look at www.digitalmars.com and let me know if you find any issues. In particular, we've discussed a while ago the new look and f

Re: Should all enums be immutable?

2011-04-05 Thread Nick Sabalausky
"Rainer Schuetze" wrote in message news:ind21j$1si5$1...@digitalmars.com... > > Don wrote: >> Jonathan M Davis wrote: >>> Enum values cannot be altered. It is an error to try and assign a value >>> to an enum. However, the value of an enum isn't really const or >>> immutable. It's copied every

Re: DWT2

2011-04-05 Thread Andrej Mitrovic
Could you tell me what switches I need to build a simple example from scratch? So far I know I probably need these: libs dir: \dwt2\lib libs dir: \dwt2\org.eclipse.swt.win32.win32.x86\lib imports: \dwt2\base\src imports: \dwt2\org.eclipse.swt.win32.win32.x86\src -J switch: \dwt2\org.eclipse.swt.wi

Re: [GSoC Proposal draft] High-Level Networking

2011-04-05 Thread Torarin
2011/4/4 Max Klyga : > Thanks to everyone who provided feedback! > > I'll post my proposal update tomorrow. > > I'm looking forward to it too! I've done a fair amount of research on these topics and given networking in D a lot of thought. I'd prefer the standard library's socket interface to be mo

Re: Should all enums be immutable?

2011-04-05 Thread Stewart Gordon
On 04/04/2011 10:32, Don wrote: Yes. The ONLY reason those manifest constants exist at all, is so that they don't exist at run time. They have no address. Any case where taking a reference to them works, is a compiler bug. Eh what? In the case of simple value-type constants, this makes sen

Re: Should all enums be immutable?

2011-04-05 Thread Stewart Gordon
On 04/04/2011 10:07, Jonathan M Davis wrote: Enum values cannot be altered. It is an error to try and assign a value to an enum. However, the value of an enum isn't really const or immutable. It's copied every time that the enum is used. This is fine in cases where the enum is a value type, but i

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 06.04.2011 00:41, schrieb Andrej Mitrovic: the hole wiki! I meant 'whole' of course Should go to sleep ... ;)

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 06.04.2011 00:20, schrieb Adam D. Ruppe: import simpledisplay; void main() { auto image = new Image(255, 255); foreach(a; 0..255) foreach(b; 0..255) image.putPixel(a, b, Color(a, b, 0)); image.display(); } Hey cool, this was a fast fix. Than

Re: GUI library for D

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Matthias Pleh wrote: > Done! > > P.S.: the main wiki-Template for wiki4d is on dTemplate > http://prowiki.org/wiki4d/wiki.cgi?dTemplate > > But, be careful, you change the hole wiki! > > °Matthias > That's fantastic, thanks!

Re: GUI library for D

2011-04-05 Thread Adam D. Ruppe
I need to run, so must be fast. You'll note my code is ugly as sin and includes a good chunk of xlib.h right in there... ideally, I'd like xlib to be in etc.x11.xlib or something like that instead of here. Until it is though, it will stay so it's a self-contained module. Anyway, where I'd ultimat

Re: GUI library for D

2011-04-05 Thread Adam D. Ruppe
Matthias Pleh wrote: > Are you talking about the dImage project, with the display-X11/win32 > backends, on you side? Yeah, that's the original version. I just finished doing the Windows side (wasn't as bad as I thought) and put it all in one module. This simplified version has no file format suppo

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 23:50, schrieb Adam D. Ruppe: Matthias Pleh wrote: Have you some code around, which we can push further? Yeah, I'm porting one of the C components to D, then will post it here. (The D headers weren't good enough and I got lazy when copying them over and decided to just write a c

Re: GUI library for D

2011-04-05 Thread Steven Schveighoffer
On Tue, 05 Apr 2011 17:15:21 -0400, Nick Sabalausky wrote: "Steven Schveighoffer" wrote in message news:op.vthgdrtueav7ka@steve-laptop... 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-05 Thread Adam D. Ruppe
Matthias Pleh wrote: > Have you some code around, which we can push further? Yeah, I'm porting one of the C components to D, then will post it here. (The D headers weren't good enough and I got lazy when copying them over and decided to just write a couple of the functions in C instead. I've alre

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 23:08, schrieb Andrej Mitrovic: Which reminds me.. who is in charge of the layout on the left side of the Wiki? I think it would be nice to have a "Tutorials" link or section put up there. Right now you can get to it by going through the HowTo first. Done! P.S.: the main wiki-Te

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Daniel Gibson" wrote in message news:infvsb$6bn$2...@digitalmars.com... > Am 05.04.2011 22:49, schrieb Nick Sabalausky: >> "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 th

Re: GUI library for D

2011-04-05 Thread Alvaro
El 05/04/2011 15:32, Jacob Carlborg escribió: On 2011-04-05 15:25, Matthias Pleh wrote: Am 05.04.2011 15:06, schrieb Jacob Carlborg: 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 n

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Steven Schveighoffer" wrote in message news:op.vthgdrtueav7ka@steve-laptop... > 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 t

Re: GUI library for D

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Andrej Mitrovic wrote: > I should update the dwiki entry and add this information > there. Done: http://prowiki.org/wiki4d/wiki.cgi?D__Tutorial/CompilingLinkingD#PassingsearchdirectoriesforlibraryfilestoOptlink Which reminds me.. who is in charge of the layout on the left side of the

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-05 Thread Jonas Drewsen
On 03/04/11 21.05, Andrei Alexandrescu wrote: We are honored to receive a fair amount of interest from students at our GSoC 2011. One issue is that at least one student (who contacted me off-list) couldn't find a project to work on that would best play into his strengths. I think it's not too la

Re: GUI library for D

2011-04-05 Thread Daniel Gibson
Am 05.04.2011 22:49, schrieb Nick Sabalausky: > "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 the "Awesomebar".. the feature in FF3+ that sea

Re: GUI library for D

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Jacob Carlborg wrote: > On 2011-04-05 20:57, Andrej Mitrovic wrote: >> On 4/5/11, Jacob Carlborg wrote: >>> It's handy if you have a common directory with lib files. >> >> Well I've always wanted to do that, but how eactly do you set a >> library search directory with Optlink/DMD? > >

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Nick Sabalausky" wrote in message news:infvdk$1sb2$1...@digitalmars.com... > "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 the "Awesomebar

Re: GUI library for D

2011-04-05 Thread Steven Schveighoffer
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 the "Awesomebar".. the feature in FF3+ that search

Re: Asynchronicity in D

2011-04-05 Thread Jonas Drewsen
On 04/04/11 22.23, Max Klyga wrote: Jonas, thanks for your valuable feedback. You've expressed interest in mentoring a networking a networking project and since I couldn't find any other way to contact you directly, I'll post my message here. As was discussed later, your work on curl supersedes

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"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 the "Awesomebar".. the feature in FF3+ that searches all > visisted URLs (and the page titles) for the

Re: [GSOC] Database API draft proposal

2011-04-05 Thread Christian Manning
Hello all, This is the second draft and a lot of changes have been made. Hopefully it's a better overall proposal and I look forward to anybody's feedback :) - Synopsis An API for databases is a common component of many languages' standard library, tho

Re: GUI library for D

2011-04-05 Thread Daniel Gibson
Am 05.04.2011 22:20, schrieb Jacob Carlborg: > > I'm referring to Firefox 4. What's the "AwfulBar" ? > Probably the "Awesomebar".. the feature in FF3+ that searches all visisted URLs (and the page titles) for the word you type into the URL-bar (and not just completes URLs like before). http://bl

Re: [GSoC Proposal draft] High-Level Networking

2011-04-05 Thread Jonas Drewsen
On 04/04/11 22.06, Max Klyga wrote: Thanks to everyone who provided feedback! I'll post my proposal update tomorrow. Looking forward to it! If possible it would be nice if the common types of async methods could be supported since each have their own forces: co-routines (fibers,scheduler),

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 20:57, Andrej Mitrovic wrote: On 4/5/11, Jacob Carlborg wrote: It's handy if you have a common directory with lib files. Well I've always wanted to do that, but how eactly do you set a library search directory with Optlink/DMD? Don't know about Optlink but on Posix systems it'

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 21:18, Nick Sabalausky wrote: "Jacob Carlborg" wrote in message news:inf285$30n8$1...@digitalmars.com... On 2011-04-05 09:08, Nick Sabalausky wrote: "Andrej Mitrovic" wrote in message news:mailman.3178.1301970383.4748.digitalmar...@puremagic.com... On 4/5/11, Nick Sabalausky

Re: Is the world coming to an end?

2011-04-05 Thread Iain Buclaw
== Quote from Nick Sabalausky (a@a.a)'s article > "Don" wrote in message > news:inf4hj$3mg$1...@digitalmars.com... > > Nick Sabalausky wrote: > >> "spir" wrote in message > >> news:mailman.3141.1301915290.4748.digitalmar...@puremagic.com... > >>> On 04/04/2011 07:26 AM, Nick Sabalausky wrote: > >

Re: Is the world coming to an end?

2011-04-05 Thread Nick Sabalausky
"Don" wrote in message news:inf4hj$3mg$1...@digitalmars.com... > Nick Sabalausky wrote: >> "spir" wrote in message >> news:mailman.3141.1301915290.4748.digitalmar...@puremagic.com... >>> On 04/04/2011 07:26 AM, Nick Sabalausky wrote: As far as LDC2, LLVM's uselessness on windows is a bit o

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Jacob Carlborg" wrote in message news:inf285$30n8$1...@digitalmars.com... > On 2011-04-05 09:08, Nick Sabalausky wrote: >> "Andrej Mitrovic" wrote in message >> news:mailman.3178.1301970383.4748.digitalmar...@puremagic.com... >>> On 4/5/11, Nick Sabalausky wrote: After all, I *really

Re: GUI library for D

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Jacob Carlborg wrote: > pragma(lib) works but I don't think it's cross-platform. You have to > specify the extension. Wouldn't this work? version(Windows) { libExt = ".lib"; } version(Linux) { libExt = ".a"; } pragma(lib, "myLibrary" ~ libExt);

Re: GUI library for D

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Jacob Carlborg wrote: > It's handy if you have a common directory with lib files. Well I've always wanted to do that, but how eactly do you set a library search directory with Optlink/DMD?

Re: DWT2

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Andrej Mitrovic wrote: > On 4/5/11, Paulo Pinto wrote: >> Most Java developers do. >> >> I code mostly in Java and really hate when I see code like this, but >> somehow >> the >> pattern of using anonymous classes in-place for event handlers has got >> into >> the mind >> of many devel

Re: DWT2

2011-04-05 Thread Andrej Mitrovic
On 4/5/11, Paulo Pinto wrote: > Most Java developers do. > > I code mostly in Java and really hate when I see code like this, but somehow > the > pattern of using anonymous classes in-place for event handlers has got into > the mind > of many developers. > > You will find thousands of such example

Re: [RFC] CSV parser

2011-04-05 Thread spir
On 04/05/2011 05:32 PM, Robert Jacques wrote: * There should be a way to specify other separators; I've started using tab separated files as ','s show up in a lot of data. There are formats using control codes as separators, as well. Denis -- _ vita es estrany spir.wikidot.com

Re: [GSOC] Database API draft proposal

2011-04-05 Thread Andrei Alexandrescu
On 4/5/11 12:43 PM, Christian Manning wrote: On 03/04/2011 21:53, Andrei Alexandrescu wrote: On 4/3/11 3:33 PM, Christian Manning wrote: On 03/04/2011 19:30, Andrei Alexandrescu wrote: * What coursework did you complete? As a second-year student this makes it easier for us to assess where you

Re: [GSOC] Database API draft proposal

2011-04-05 Thread Christian Manning
On 03/04/2011 21:53, Andrei Alexandrescu wrote: On 4/3/11 3:33 PM, Christian Manning wrote: On 03/04/2011 19:30, Andrei Alexandrescu wrote: * What coursework did you complete? As a second-year student this makes it easier for us to assess where you are in terms of expertise. Scores would help a

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-05 Thread bearophile
spir: > Do you really find it appropriate to throw an avalanche of new data structure > over Ishan when he just said he has "never heard about" "Skip list, Binary > decision tree, Trie, rope"? If you are going to design collections for Phobos, you want to know a long list of the ones that are

Re: [RFC] CSV parser

2011-04-05 Thread Jesse Phillips
Robert Jacques Wrote: > * You should input ranges. It's fine to detect slicing and optimize for > it, but you should support simple input ranges as well. This implementation only operates with input ranges, of text. I have another implementation which works on a slice-able forward range of any

Re: [RFC] CSV parser

2011-04-05 Thread Robert Jacques
On Tue, 05 Apr 2011 01:44:34 -0400, Jesse Phillips wrote: I have implemented an input range based CSV parser that works on text input[1]. I combined my original implementation with some details of David's implementation[2]. It is not ready for formal review as I need to update and polish docume

Re: GSoC-2011 project:: Containers

2011-04-05 Thread Ishan Thilina
Steve wrote: Thank you very much :) >After fixing these, it still does not compile, but I don't have time right >now to look at the errors, perhaps you can work through them on your own. >I encourage you to isolate problems with the code and write very small >simple programs to test how the synta

Re: GUI library for D

2011-04-05 Thread Adam D. Ruppe
spir wrote: > What about having just one image type (pixmap) and allowing its > initialisation from files of various formats: Yeah, that's essentially how it works. They use the same Image class underneath. The differences between bmp and png are among the things I want to clean up for release th

Re: Code example on www.d-programming-language.org?

2011-04-05 Thread Andrei Alexandrescu
On 4/5/11 9:19 AM, Ary Manzana wrote: On 4/4/11 5:03 PM, Andrei Alexandrescu wrote: We have a rather aged code example on www.d-programming-language.org. What would you think would be a good replacement? The ideal snippet would make a compelling tour of the language's and stdlib's most important

Re: GSoC-2011 project:: Containers

2011-04-05 Thread Steven Schveighoffer
On Tue, 05 Apr 2011 10:44:48 -0400, Ishan Thilina wrote: -Steve wrote: There are several problems with your code. I'd recommend not putting your code in std.container at first. It will be easier to deal with, because people will know which code you wrote and also it will be better when

Re: GSoC-2011 project:: Containers

2011-04-05 Thread Ishan Thilina
-Steve wrote: >There are several problems with your code. > >I'd recommend not putting your code in std.container at first. It will be >easier to deal with, because people will know which code you wrote and >also it will be better when posting code for questions. Yes, sorry for that :). > >I se

Re: Asynchronicity in D

2011-04-05 Thread Robert Clipsham
On 31/03/2011 19:34, Andrej Mitrovic wrote: Are fibers really better/faster than threads? I've heard rumors that they perform exactly the same, and that there's no benefit of using fibers over threads. Is that true? I've written up a first draft of an article about this at: http://octarineparr

Re: Code example on www.d-programming-language.org?

2011-04-05 Thread Ary Manzana
On 4/4/11 5:03 PM, Andrei Alexandrescu wrote: We have a rather aged code example on www.d-programming-language.org. What would you think would be a good replacement? The ideal snippet would make a compelling tour of the language's and stdlib's most important features while at the same time being

Re: New look & feel for std.algorithm

2011-04-05 Thread Ary Manzana
On 4/4/11 5:42 PM, Andrei Alexandrescu wrote: On 4/4/11 12:58 AM, Andrei Alexandrescu wrote: There were also a number of bugs on www.d-programming-language.org, which David Gileadi kindly took care of. Please take a look at www.digitalmars.com and let me know if you find any issues. In particula

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 15:25, Matthias Pleh wrote: Am 05.04.2011 15:06, schrieb Jacob Carlborg: 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. J

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 15:06, schrieb Jacob Carlborg: 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 th

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
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 DWT is completely written in D? Don't you t

Re: Is the world coming to an end?

2011-04-05 Thread Don
Nick Sabalausky wrote: "spir" wrote in message news:mailman.3141.1301915290.4748.digitalmar...@puremagic.com... On 04/04/2011 07:26 AM, Nick Sabalausky wrote: As far as LDC2, LLVM's uselessness on windows is a bit of a showstopper for many people. And the LLVM project doesn't appear to be inte

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 13:08, Matthias Pleh wrote: Am 05.04.2011 10:43, schrieb Jacob Carlborg: Why is C++/Qt good enough but not D/Qt ? As I mentioned before, I could live with such a solution. When we decided our strategy one year ago, QtD was far away from ready but gtkD was already usable and stab

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 13:54, Kagamin wrote: Andrei Alexandrescu Wrote: On 4/4/11 8:36 PM, Nick Sabalausky wrote: "Daniel Gibson" wrote in message news:inddni$kmi$3...@digitalmars.com... I don't know if wee need yet another GUI library. Are you sure Qt and DWT aren't good enough? AIUI: DWT does

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 12:28, Nick Sabalausky wrote: "Jacob Carlborg" wrote in message news:inen8g$2cec$1...@digitalmars.com... On 2011-04-05 03:36, Nick Sabalausky wrote: "Daniel Gibson" wrote in message news:inddni$kmi$3...@digitalmars.com... I don't know if wee need yet another GUI library. Are

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-05 Thread KennyTM~
On Apr 5, 11 17:48, bearophile wrote: Ishan Thilina: I looked at few things( such as Skip list, Binary decision tree, Trie, rope) that was listed in that page. Yes, things such as Skip list and Binary decision tree looks interesting. But to be honest I have never heard about those data struct

dmd installer on Win7

2011-04-05 Thread %u
Hi-- I just downloaded the dmd installer and ran it on Win7 (64 bit). It clobbered my Path environment variable entirely, replacing it with "C:\D\dm\bin". I didn't see, much less choose, an option to replace my Path. Sorry if this is the wrong place to post this; I couldn't find a forum on inst

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 09:08, Nick Sabalausky wrote: "Andrej Mitrovic" wrote in message news:mailman.3178.1301970383.4748.digitalmar...@puremagic.com... On 4/5/11, Nick Sabalausky wrote: After all, I *really* want to get around to making my own web browser (based off either Mozilla or Chromium) - I'm

Re: DWT2

2011-04-05 Thread Paulo Pinto
Most Java developers do. I code mostly in Java and really hate when I see code like this, but somehow the pattern of using anonymous classes in-place for event handlers has got into the mind of many developers. You will find thousands of such examples when searching for Java GUI examples, eith

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 05:42, Andrej Mitrovic wrote: On 4/5/11, Nick Sabalausky wrote: Hmm, I really wish DMD had a cmdline param to specify a library to be passed to the linker rather than needing to use "-L". Makes it impossible to write a cross-platform DMD command for anything that requires linking

Re: DWT2

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 05:54, Andrej Mitrovic wrote: You have to be kidding me. Who writes code like this? http://i.imgur.com/BBQde.png Is that from a DWT snippet? -- /Jacob Carlborg

Re: DWT2

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 05:38, Andrej Mitrovic wrote: There are a few snippets with some bugs. 41 crashes with: Display Bounds= 0016801050 Display ClientArea= 0016801022 138 shows two empty windows, 143 shows an empty window 165 crashes if I hover the mouse or press a button in the GUI. 223 cras

Re: DWT2

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 05:24, Andrej Mitrovic wrote: On 4/4/11, Jacob Carlborg wrote: On 2011-04-04 16:08, Andrej Mitrovic wrote: On 4/4/11, Jacob Carlborg wrote: I was planing to give this a proper announcement when the linux version is working as well but anyway: DWT works with D2 on Windows. htt

Re: GUI library for D

2011-04-05 Thread Kagamin
Andrei Alexandrescu Wrote: > On 4/4/11 8:36 PM, Nick Sabalausky wrote: > > "Daniel Gibson" wrote in message > > news:inddni$kmi$3...@digitalmars.com... > >> > >> I don't know if wee need yet another GUI library. > >> Are you sure Qt and DWT aren't good enough? > >> > > > > AIUI: > > > > DWT doesn

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 05:23, Nick Sabalausky wrote: "Adam D. Ruppe" wrote in message news:ine114$14ar$1...@digitalmars.com... Nick Sabalausky wrote: Looking at the pages that are there for QtD, and the source browser, I'm honestly not sure how to even get started with it. Somewhere, there was a bina

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 04:39, schrieb Adam D. Ruppe: Michel Fortin: Reminds me of David Simcha's plot2kill, which also has such a layer on top of which it implements plot drawing. Aye, he and I have shared some code in the past. I think such a module would be a great addition to Phobos. If I can fi

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 04:39, Adam D. Ruppe wrote: Michel Fortin: Reminds me of David Simcha's plot2kill, which also has such a layer on top of which it implements plot drawing. Aye, he and I have shared some code in the past. I think such a module would be a great addition to Phobos. If I can find

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 03:25, schrieb Michel Fortin: On 2011-04-04 19:55:44 -0400, Adam Ruppe said: Michel Fortin wrote: On the other hand, one thing that is missing right now, in D and in most languages, is a standard way to display graphics. Actually, I wrote something to do that last year, but I

Re: GUI library for D

2011-04-05 Thread Jacob Carlborg
On 2011-04-05 04:26, Andrej Mitrovic wrote: On 4/5/11, Nick Sabalausky wrote: After all, I *really* want to get around to making my own web browser (based off either Mozilla or Chromium) - I'm getting really fed up with the current state of available web browsers. Well, and the web as a whole (

Re: GUI library for D

2011-04-05 Thread Kagamin
Matthias Pleh Wrote: > Am 05.04.2011 08:20, schrieb Kagamin: > > Matthias Pleh Wrote: > > > >> This were the requirments for the GUI library: > >> - Corss-platform (Win/linux) > >> - not just a port, but adjusted to the language > >> - mostly written in this language, so you can easy debug the lib

Re: GUI library for D

2011-04-05 Thread Matthias Pleh
Am 05.04.2011 10:43, schrieb Jacob Carlborg: Why is C++/Qt good enough but not D/Qt ? As I mentioned before, I could live with such a solution. When we decided our strategy one year ago, QtD was far away from ready but gtkD was already usable and stable. I was the one how recommend the use o

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-05 Thread spir
On 04/05/2011 11:48 AM, bearophile wrote: Ishan Thilina: I looked at few things( such as Skip list, Binary decision tree, Trie, rope) that was listed in that page. Yes, things such as Skip list and Binary decision tree looks interesting. But to be honest I have never heard about those data st

Re: GUI library for D

2011-04-05 Thread spir
On 04/05/2011 06:13 AM, Adam D. Ruppe wrote: Michel Fortin wrote: It would also be nice to be able to load an image from a file, but that's a little more complicated. I have some .bmp and .png loading written up too. Doesn't implement every feature of either format, but enough to get by. Fro

Re: GUI library for D

2011-04-05 Thread Nick Sabalausky
"Jacob Carlborg" wrote in message news:inen8g$2cec$1...@digitalmars.com... > On 2011-04-05 03:36, Nick Sabalausky wrote: >> "Daniel Gibson" wrote in message >> news:inddni$kmi$3...@digitalmars.com... >>> >>> I don't know if wee need yet another GUI library. >>> Are you sure Qt and DWT aren't goo

Re: Forking phobos

2011-04-05 Thread Steven Schveighoffer
On Mon, 04 Apr 2011 18:25:55 -0400, Jens Mueller wrote: Steven Schveighoffer wrote: On Sun, 03 Apr 2011 18:31:12 -0400, Jens Mueller wrote: >Thank you. I'm doing it right now. It works. > >Sean Kelly wrote: >>You'll need to build DMD from source. A change was checked in >>the other day tha

Re: [GSoC] Container proposals by Ishan and Christian

2011-04-05 Thread bearophile
Ishan Thilina: > I looked at few things( such as Skip list, Binary decision tree, Trie, rope) > that > was listed in that page. Yes, things such as Skip list and Binary decision > tree > looks interesting. But to be honest I have never heard about those data > structures > before. Some data st

  1   2   >