newbie - hey walter, improvement potentials for installer

2012-02-12 Thread Alf P. Steinbach
Hi I just installed D 2.x. * Improvement potential #1 -- installer description. It was not clear to me that the first download is a full offline installer. In ignorance I used the one that downloads from web. The web page can possibly be mucho improved! :-) * Improvement potential

Re: newbie - hey walter, improvement potentials for installer

2012-02-12 Thread Brad Anderson
On Sun, Feb 12, 2012 at 5:02 PM, Alf P. Steinbach < alf.p.steinbach+use...@gmail.com> wrote: > Hi > > I just installed D 2.x. > > > * Improvement potential #1 -- installer description. > > It was not clear to me that the first download is a full offline > installer. In ignorance I used the one

Re: newbie - hey walter, improvement potentials for installer

2012-02-12 Thread Brad Anderson
On Sun, Feb 12, 2012 at 7:07 PM, Brad Anderson wrote: > On Sun, Feb 12, 2012 at 5:02 PM, Alf P. Steinbach < > alf.p.steinbach+use...@gmail.com> wrote: > >> Hi >> >> I just installed D 2.x. >> >> >> * Improvement potential #1 -- installer description. >> >> It was not clear to me that the firs

Re: newbie - hey walter, improvement potentials for installer

2012-02-13 Thread Walter Bright
Hi Alf! Welcome! On 2/12/2012 4:02 PM, Alf P. Steinbach wrote: Hi I just installed D 2.x. * Improvement potential #1 -- installer description. It was not clear to me that the first download is a full offline installer. In ignorance I used the one that downloads from web. The web page can pos

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Vincent
* Improvement potential #3 -- Linker executable name. The name [link.exe] conflicts with Microsoft's linker. Please name it [optlink.exe]. This is why we switched away from relying solely on environment variables, such as PATH, to find the programs and set options. Instead, sc.ini is used:

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Walter Bright
On 2/14/2012 12:50 AM, Vincent wrote: * Improvement potential #3 -- Linker executable name. The name [link.exe] conflicts with Microsoft's linker. Please name it [optlink.exe]. This is why we switched away from relying solely on environment variables, such as PATH, to find the programs and se

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Vladimir Panteleev
On Tuesday, 14 February 2012 at 09:04:50 UTC, Walter Bright wrote: But there is a simple solution for your case. Create a batch file, dmd.bat, with the contents: c:\dmd\windows\bin\dmd %1 %2 %3 %4 I would suggest replacing "%1 %2 %3 %4" with "%*". But what most people do is have multiple .

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Jacob Carlborg
On 2012-02-14 10:04, Walter Bright wrote: On 2/14/2012 12:50 AM, Vincent wrote: * Improvement potential #3 -- Linker executable name. The name [link.exe] conflicts with Microsoft's linker. Please name it [optlink.exe]. This is why we switched away from relying solely on environment variables

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Sean Kelly
It does help that Visual Studio ships with a batch file to open a console configured for using vc++. Just don't use that when working on D apps. On Feb 14, 2012, at 1:04 AM, Walter Bright wrote: > On 2/14/2012 12:50 AM, Vincent wrote: * Improvement potential #3 -- Linker executable name.

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Brad Anderson
On Tue, Feb 14, 2012 at 9:40 AM, Sean Kelly wrote: > It does help that Visual Studio ships with a batch file to open a console > configured for using vc++. Just don't use that when working on D apps. > > While fixing up some PATH setting issues with the installer I've wondered if a similar batch

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Alf P. Steinbach
On 13.02.2012 20:13, Walter Bright wrote: Hi Alf! Welcome! Thanks. On 2/12/2012 4:02 PM, Alf P. Steinbach wrote: [snip] * Improvement potential #5 -- The description of Windows prog. Following main site's links to [http://d-programming-language.org/windows.html], I found a real monstros

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Andrej Mitrovic
You can get the runtime arguments at any point in your D code (and especially in module constructors that run before main) via 'Runtime.args', by importing 'core.runtime'.

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Ali Çehreli
On 02/14/2012 11:45 AM, Alf P. Steinbach wrote: > On 13.02.2012 20:13, Walter Bright wrote: >> Hi Alf! Welcome! > > Thanks. Welcome! :) I've learned a lot from you on comp.lang.c++.moderated. It is great to see you here as well. If you don't mind my asking, and of course it is totally fine if

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Sean Kelly
On Feb 14, 2012, at 11:45 AM, Alf P. Steinbach wrote: > > The main problem (pun not intended) in C and C++ is that neither standard > `main` nor non-standard Microsoft `WinMain` provide the command line > arguments in Unicode. Standard `main` has `char` arguments, by Windows > convention encode

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Walter Bright
On 2/14/2012 11:45 AM, Alf P. Steinbach wrote: On 13.02.2012 20:13, Walter Bright wrote: Hi Alf! Welcome! Thanks. On 2/12/2012 4:02 PM, Alf P. Steinbach wrote: [snip] * Improvement potential #5 -- The description of Windows prog. Following main site's links to [http://d-programming-lan

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Walter Bright
On 2/14/2012 2:02 PM, Sean Kelly wrote: D should pass the command-line args as properly translated UTF-8. If this doesn't happen, consider it a bug. Regarding Windows specifically, D currently gets the args via GetCommandLineW(), so if that doesn't muck things up then all should be well. Just

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Alf P. Steinbach
On 14.02.2012 22:21, Ali Çehreli wrote: On 02/14/2012 11:45 AM, Alf P. Steinbach wrote: > On 13.02.2012 20:13, Walter Bright wrote: >> Hi Alf! Welcome! > > Thanks. Welcome! :) I've learned a lot from you on comp.lang.c++.moderated. It is great to see you here as well. If you don't mind my a

Re: newbie - hey walter, improvement potentials for installer

2012-02-14 Thread Mike Parker
On 2/15/2012 7:16 AM, Walter Bright wrote: And the old but true corollary, the best way to learn something is to try and teach it to others. After 18 years of teaching English here in Korea, I find it very difficult not to correct friends and family back home. If my high school teachers cou