View mode: basic / threaded / horizontal-split · Log in · Help
February 28, 2005
DMD 0.114 release
Lots of new string and regexp stuff:

http://www.digitalmars.com/d/changelog.html

A number of people have proposed having regular expression literals of the
form:

   /regexp/

The advantages are it is visually distinct and it can be overloaded
separately from strings. There are two problems with it:

The first is distinguishing a regexp literal from a divide / or /= token.
Languages that do support /regexp/ do it with a hack where the syntax parser
tells the lexer "I'm expecting an operator" or "I'm expecting a term". In
other words, the distinction between lexer and syntax analysis is lost.

The second is that D has 3 character types already. Adding in a /regexp/
literal implies adding in 3 more types. Then you're obliged to create more
overloads, more conversions, more rules. Not worth it.
February 28, 2005
Re: DMD 0.114 release (RPMS)
Walter wrote:

> What's New for D 0.114
> Feb 27, 2005

> New/Changed Features
> *  Added man pages to \dmd\man\man1 (thanks to Anders F Bjorklund) 

> Bugs Fixed
> #  Fixed std.format %A unittest failure under linux

Woohoo, less patches! :-)

Updated RPMS at:
http://www.algonet.se/~afb/d/dmd.spec
http://www.algonet.se/~afb/d/dmd-0.114-8.nosrc.rpm

Took out the man and conf sources, using the built-ins.
(not hardcoding /usr/include/d anymore, see %{phobosdir})

Removed the Phobos format patch, as new unittest passes.
(still think not using real is faster, but is for later)

--anders
February 28, 2005
Re: DMD 0.114 release
Doesn't look like the socket changes were compiled into phobos.lib. Here's  
my 3 attempts to compile, last one succeeded:

dmd htmlget ws2_32.lib
htmlget.obj(htmlget)
 Error 42: Symbol Undefined  
_D3std6socket9TcpSocket5_ctorFC3std6socket7AddressZC3std6socket9TcpSocket
--- errorlevel 1

dmd d:\dmd\src\phobos\std\socket.d htmlget ws2_32.lib
socket.obj(socket)
 Error 42: Symbol Undefined _FD_SET@8
socket.obj(socket)
 Error 42: Symbol Undefined _FD_CLR@8
socket.obj(socket)
 Error 42: Symbol Undefined _FD_ISSET@8
socket.obj(socket)
 Error 42: Symbol Undefined __init_3std1c7windows7winsock7WSADATA
--- errorlevel 4

dmd d:\dmd\src\phobos\std\socket.d  
d:\dmd\src\phobos\std\c\windows\winsock.d htmlget ws2_32.lib
d:\dmd\bin\..\..\dm\bin\link.exe  
socket+winsock+htmlget,,,ws2_32.lib+user32+kern
el32/noi;
February 28, 2005
Re: DMD 0.114 release
"Vathix" <vathix@dprogramming.com> wrote in message
news:opsmw2qwekkcck4r@pm7-ppp033.dialup.wzrd.com...
> Doesn't look like the socket changes were compiled into phobos.lib.

You're right. I updated the zip file. Should be fixed now.
February 28, 2005
Re: DMD 0.114 release
> Doesn't look like the socket changes were compiled into phobos.lib.  
> Here's my 3 attempts to compile, last one succeeded:
>
> dmd d:\dmd\src\phobos\std\socket.d  
> d:\dmd\src\phobos\std\c\windows\winsock.d htmlget ws2_32.lib
> d:\dmd\bin\..\..\dm\bin\link.exe  
> socket+winsock+htmlget,,,ws2_32.lib+user32+kern
> el32/noi;

It'll crash with just that due to phobos.lib having the old version of  
socketstream compiled in, so this makes it work correctly (files  
rearranged so that the correct exe name is output):

dmd htmlget d:\dmd\src\phobos\std\socket.d  
d:\dmd\src\phobos\std\c\windows\winsock.d  
d:\dmd\src\phobos\std\c\windows\windows.d  
d:\dmd\src\phobos\std\socketstream.d ws2_32.lib
d:\dmd\bin\..\..\dm\bin\link.exe  
htmlget+socket+winsock+windows+socketstream,,,ws2_32.lib+user32+kernel32/noi;

There should be a way to avoid this from happening :|
February 28, 2005
Re: DMD 0.114 release
Walter wrote:

>>Doesn't look like the socket changes were compiled into phobos.lib.
> 
> You're right. I updated the zip file. Should be fixed now.

You did *what* ? :-O

What if others are trying to use that release,
and relying on that it won't be retro-fitted ?

> !!! Digest verification Failed:
> !!!    /usr/portage/distfiles/dmd.114.zip
> !!! Reason: Filesize does not match recorded size

--anders
February 28, 2005
Re: DMD 0.114 release
On Mon, 28 Feb 2005 09:56:11 -0800, Walter <newshound@digitalmars.com>  
wrote:

>
> "Vathix" <vathix@dprogramming.com> wrote in message
> news:opsmw2qwekkcck4r@pm7-ppp033.dialup.wzrd.com...
>> Doesn't look like the socket changes were compiled into phobos.lib.
>
> You're right. I updated the zip file. Should be fixed now.
>
>

Still doesn't look like std.c.windows.winsock or std.socketstream are  
compiled in.
February 28, 2005
Re: DMD 0.114 release
>> You're right. I updated the zip file. Should be fixed now.
>
>You did *what* ? :-O
>
>What if others are trying to use that release,
>and relying on that it won't be retro-fitted ?
>
>> !!! Digest verification Failed:
>> !!!    /usr/portage/distfiles/dmd.114.zip
>> !!! Reason: Filesize does not match recorded size

Agreed. A realease should not be modified. better have a 0.114.5, or a 0.115
just after the 0.114, even if that means the 114 will forever be a broken
release.

If not, how to dealing with bug repports gets hard:
- I got an error with dmd version 0.114
- which version 0.114?
- ?! hmmm....

-- Florian
February 28, 2005
Re: DMD 0.114 release
"Vathix" <vathix@dprogramming.com> wrote in message
news:opsmw6jhttkcck4r@pm7-ppp033.dialup.wzrd.com...
> On Mon, 28 Feb 2005 09:56:11 -0800, Walter <newshound@digitalmars.com>
> wrote:
>
> >
> > "Vathix" <vathix@dprogramming.com> wrote in message
> > news:opsmw2qwekkcck4r@pm7-ppp033.dialup.wzrd.com...
> >> Doesn't look like the socket changes were compiled into phobos.lib.
> >
> > You're right. I updated the zip file. Should be fixed now.
>
> Still doesn't look like std.c.windows.winsock or std.socketstream are
> compiled in.

You didn't send me an update to std.socketstream.

Ack, I didn't realize there were functions in winsock.d. I thought it was
just declarations.
February 28, 2005
Re: DMD 0.114 release
> You didn't send me an update to std.socketstream.

But it's still crashing unless recompiled. Maybe it has some old inlined  
code.. I have no idea.

>
> Ack, I didn't realize there were functions in winsock.d. I thought it was
> just declarations.

Some macros turned into functions; same with std.c.linux.linux.
« First   ‹ Prev
1 2 3 4 5
Top | Discussion index | About this forum | D home