April 14, 2012
On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
> On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote:
>> On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
>>> On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
>>>> -bash: /usr/bin/dmd: cannot execute binary file
>>>
>>> Perhaps running the 32 bit bin on a 64 bit system?
>>
>> This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print?
>>
>> David
>
> /usr/bin/dmd: data

Cause found resolution still out of reach. The problem is that Apple
changed the way they created aliases for executables in the Lion. I
thought I found the resolution to the problem
(put an alias into .bash_profile for dmd) but I just ran into this:

$ dmd pe9
object.d: Error: module object is in file 'object.d' which cannot be read
import path[0] = /usr/share/dmd/bin/../../src/phobos
import path[1] = /usr/share/dmd/bin/../../src/druntime/import
April 14, 2012
On 4/13/12 07:53 , Walter Bright wrote:
> Another big pile of bug fixes. More contributors than ever!
>
> http://www.digitalmars.com/d/1.0/changelog.html
> http://ftp.digitalmars.com/dmd.1.074.zip
>
> http://www.digitalmars.com/d/2.0/changelog.html
> https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip
>
> Note that the changelogs on dlang.org haven't been updated yet. Hope to
> get that done soon.

Fantastic!
Thanks everyone!
April 14, 2012
"David Nadlinger" <see@klickverbot.at> wrote in message news:eajzvxfstwabooettxqd@forum.dlang.org...
> On Saturday, 14 April 2012 at 13:04:31 UTC, Tyro[17] wrote:
>> On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg
>>> https://bitbucket.org/doob/dvm
>>
>> -bash: wget: command not found


OSX doesn't have wget? Seriously?!?

>
> Are you on OS X? DVM could use »curl -O« there, I guess, or you could do a »port/brew install wget«.
>

Is curl installed by default on OSX?


April 14, 2012
On Saturday, 14 April 2012 at 17:38:54 UTC, Nick Sabalausky wrote:
> OSX doesn't have wget? Seriously?!?
> Is curl installed by default on OSX?

Yes and yes.

David
April 14, 2012
"Tyro[17]" <nospam@home.com> wrote in message news:lnfohbryykmdlrqrixir@forum.dlang.org...
> On Saturday, 14 April 2012 at 14:05:19 UTC, Tyro[17] wrote:
>> On Saturday, 14 April 2012 at 14:01:51 UTC, David Nadlinger wrote:
>>> On Saturday, 14 April 2012 at 13:57:11 UTC, Adam D. Ruppe wrote:
>>>> On Saturday, 14 April 2012 at 13:48:46 UTC, Tyro[17] wrote:
>>>>> -bash: /usr/bin/dmd: cannot execute binary file
>>>>
>>>> Perhaps running the 32 bit bin on a 64 bit system?
>>>
>>> This is not a problem on OS X. I'm building DMD from source, so I can't comment on the specific problem, but what does »file /usr/bin/dmd« print?
>>>
>>> David
>>
>> /usr/bin/dmd: data
>
> Cause found resolution still out of reach. The problem is that Apple
> changed the way they created aliases for executables in the Lion. I
> thought I found the resolution to the problem
> (put an alias into .bash_profile for dmd) but I just ran into this:
>
> $ dmd pe9
> object.d: Error: module object is in file 'object.d' which cannot be read
> import path[0] = /usr/share/dmd/bin/../../src/phobos
> import path[1] = /usr/share/dmd/bin/../../src/druntime/import

That's because you were changing the directory structure. You can delete "linux", "windows", etc if you want (but you don't have to). But just leave the "osx" directory as it is. There's no need to move/rename it.

You *can* fix your problem by adjusting the paths in dmd.conf (in the same dir as the exectable file), but there's really no point in bothering to do it that way.


April 14, 2012
"Piotr Szturmaj" <bncrbme@jadamspam.pl> wrote in message news:jmbung$1tp5$1@digitalmars.com...
> Walter Bright wrote:
>> Another big pile of bug fixes. More contributors than ever!
>>
>> http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.074.zip
>>
>> http://www.digitalmars.com/d/2.0/changelog.html https://github.com/downloads/D-Programming-Language/dmd/dmd.2.059.zip
>>
>> Note that the changelogs on dlang.org haven't been updated yet. Hope to get that done soon.
>
> Thanks for the whole D team for your great work!
>
> Btw. Is it possible to tag new releases with respective git commit hashes? This is for those who compile DMD, druntime and Phobos manually.

Aren't they tagged *in* git? If not, they should be. Git hashes aren't realistically human-usable anyway.


April 14, 2012
Nick Sabalausky wrote:
> "Piotr Szturmaj"<bncrbme@jadamspam.pl>  wrote in message
> news:jmbung$1tp5$1@digitalmars.com...
>>
>> Btw. Is it possible to tag new releases with respective git commit hashes?
>> This is for those who compile DMD, druntime and Phobos manually.
>
> Aren't they tagged *in* git? If not, they should be. Git hashes aren't
> realistically human-usable anyway.

Gah... I forgot about tags... it must be a temporary brain malfunction.
April 14, 2012
On Saturday, April 14, 2012 17:01:56 Adam D. Ruppe wrote:
> On Saturday, 14 April 2012 at 02:52:59 UTC, Walter Bright wrote:
> > Sorry about that, but the beta has been out for a week and a half, and we fixed every reported regression since 2.058.
> 
> I'm sure I'm not the only one who doesn't use the betas though!

Sure, regressions can happen, but they only get found if there are already tests which catch them (in which case, they generally don't get checked in) or if people compile their code with the latest head or with the betas and then report them. The primary purpose of the betas is to get the newest compiler and library implementations tested on 3rd party projects in order to catch regressions. If not enough people pay attention to the betas, then they won't be tested on much code, and we won't catch the regressions.

The only way that a regression that your code is going to be hit by is going to be caught in beta if you don't participate is if someone else who _does_ participate happens to hit it in their code. If you want to ensure that all of your code always compiles with each new release, then participate in the betas. We try and catch all of the regressions, but even with solid test suites and what beta participation we do get, we can't always catch everything.

- Jonathan M Davis
April 14, 2012
On 4/13/12, Walter Bright <newshound2@digitalmars.com> wrote:
> http://www.digitalmars.com/d/2.0/changelog.html

So is UFCS now fully implemented or is the implementation missing any features? I have to say using it on ranges in 2.059 is already kicking some serious ass.
April 14, 2012
On 2012-04-14 15:04, Tyro[17] wrote:
> On Saturday, 14 April 2012 at 10:39:29 UTC, Jacob Carlborg wrote:
>> On 2012-04-14 05:47, Tyro[17] wrote:
>>> On Saturday, 14 April 2012 at 01:34:25 UTC, Walter Bright wrote:
>>>> On 4/13/2012 5:47 PM, Tyro[17] wrote:
>>>>> The requested URL /dmd.2.059.dmg was not found on this server.
>>>>
>>>> Hmm, I overlooked that one.
>>>
>>> Any idea of when it will be available? And by the way, thank you and
>>> everyone else for all your hard work.
>>>
>>> Andrew
>>
>> Just use DVM, very easy to install new compilers:
>>
>> https://bitbucket.org/doob/dvm
>
> -bash: wget: command not found

Then download it manually.

1. https://bitbucket.org/doob/dvm/downloads/dvm-0.4.0-osx
2. chmod +x dvm-0.4.0-osx
3. ./dvm-0.4.0-osx install dvm
4. Open a new terminal
5. Follow these instructions: https://bitbucket.org/doob/dvm/wiki/Home#!usage

-- 
/Jacob Carlborg