Re: DMD crash! and JSON files

2010-04-26 Thread Walter Bright
BCS wrote: Hello Rainer, But it would be nice if these would be part of the DMD distribution, vote++; I kinda hate to do that because the distribution file is getting so large. I've even considered removing the docs from it (as these are just fine online).

Re: DMD crash! and JSON files

2010-04-26 Thread Robert Clipsham
On 26/04/10 18:12, Walter Bright wrote: I kinda hate to do that because the distribution file is getting so large. I've even considered removing the docs from it (as these are just fine online). Perhaps the archive could be split up into multiple archives? It shouldn't be too hard to split up

Re: DMD crash! and JSON files

2010-04-26 Thread Steven Schveighoffer
On Mon, 26 Apr 2010 13:12:15 -0400, Walter Bright newshou...@digitalmars.com wrote: BCS wrote: Hello Rainer, But it would be nice if these would be part of the DMD distribution, vote++; I kinda hate to do that because the distribution file is getting so large. I've even considered

Re: DMD crash! and JSON files

2010-04-26 Thread Michel Fortin
On 2010-04-26 13:37:40 -0400, Steven Schveighoffer schvei...@yahoo.com said: This is the way it should be anyways -- I shouldn't have to download Windows or MAC binaries/libs to compile on Linux. Or have to mark the Linux bins as executable (not necessary if the distribution was a

Re: DMD crash! and JSON files

2010-04-26 Thread Rainer Schuetze
The zip with the json-files, that I posted the other day, is 129kB. Maybe not the worst thing to add to the archive. I don't think letting a beginner create the json files himself is an option, so the alternative would be to create a separate archive (which might also include the docs). But

Re: DMD crash! and JSON files

2010-04-23 Thread Rainer Schuetze
Hi, you don't need to create json-files per d-file. I added the -Xf option to the lib-generating line in druntime/win32.mak: ### Library generation # $(DRUNTIME): $(OBJS) $(SRCS) win32.mak $(DMD) -lib -Xf..\json\druntime.json -of$(DRUNTIME) $(DFLAGS)

Re: DMD crash! and JSON files

2010-04-23 Thread Rainer Schuetze
I've uploaded my json-files here: http://www.dsource.org/projects/visuald/browser/downloads/phobos-2.043-json.zip?format=raw I'm using a patched version of druntime, so not everything in there might be matching your sources. The phobos file is the more interesting part anyway. BCS wrote:

Re: DMD crash! and JSON files

2010-04-22 Thread Regan Heath
Rainer Schuetze wrote: With these patches to DMD, I used JSON output for druntime and phobos successfully. But it would be nice if these would be part of the DMD distribution, so you don't need to build them manually first. The installer for Visual D could then automatically configure them for

Re: DMD crash! and JSON files

2010-04-22 Thread Regan Heath
Don wrote: Regan Heath wrote: I just installed VisualD and enabled JSON output on my project and to my delight F12 took me to my own symbols. Yay. Next, I thought it would be grand if I could jump around phobos/druntime code the same way so I went looking for JSON files for these. Sadly,

Re: DMD crash! and JSON files

2010-04-22 Thread Regan Heath
Rainer Schuetze wrote: You need the patches to bugs #4089 and #3415 to create sensible JSON output. I just added another diff to #4089 for an issue that I hit recently. With these patches to DMD, I used JSON output for druntime and phobos successfully. Ok, I've applied those 3 patches and

Re: DMD crash! and JSON files

2010-04-22 Thread Regan Heath
Regan Heath wrote: I highlight BufferedFile and press F12, or right-click and choose Go To Definition and it doesn't work :( Ok, my mistake was creating the JSON files in a tree, a flat structure works. :) R

Re: DMD crash! and JSON files

2010-04-22 Thread BCS
Hello Rainer, But it would be nice if these would be part of the DMD distribution, vote++; -- ... IXOYE

Re: DMD crash! and JSON files

2010-04-22 Thread BCS
Did anyone make it work? If so could they post the result?

DMD crash! and JSON files

2010-04-21 Thread Regan Heath
I just installed VisualD and enabled JSON output on my project and to my delight F12 took me to my own symbols. Yay. Next, I thought it would be grand if I could jump around phobos/druntime code the same way so I went looking for JSON files for these. Sadly, they're not included in the DMD

Re: DMD crash! and JSON files

2010-04-21 Thread Don
Regan Heath wrote: I just installed VisualD and enabled JSON output on my project and to my delight F12 took me to my own symbols. Yay. Next, I thought it would be grand if I could jump around phobos/druntime code the same way so I went looking for JSON files for these. Sadly, they're not

Re: DMD crash! and JSON files

2010-04-21 Thread Rainer Schuetze
Don wrote: Regan Heath wrote: [snip] Now make -fwin32.mak gets as far as the big dmd -lib command but this time it crashes ***! bug 4809 ? You need the patches to bugs #4089 and #3415 to create sensible JSON output. I just added another diff to #4089 for an issue that I hit recently.