[Issue 2567] Option To Not Treat Warnings As Errors

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2567





--- Comment #1 from cbkbbej...@mailinator.com  2009-05-10 01:06 ---
Created an attachment (id=354)
 -- (http://d.puremagic.com/issues/attachment.cgi?id=354action=view)
Patch against 1.043


-- 



std.getopt RangeError

2009-05-10 Thread Unknown W. Brackets
Currently, using std.getopt will result in a RangeError if parameters 
are improperly omitted on the command line.  Since this is a reasonable 
user-error, it does not seem like something to crash on during release.


The problem is here:

if (!isDelegateWithLessThanTwoParameters  !val  
!incremental) {

// eat the next argument too
val = args[i];
args = args[0 .. i] ~ args[i + 1 .. $];
}

It just needs a check to see if args.length is high enough for this to 
happen.  And the documentation should note the exception it throws; 
currently it says only a ConvError is thrown.


-[Unknown]


[Issue 2957] pardon the junk bug

2009-05-10 Thread d-bugmail
http://d-new.puremagic.com/issues/show_bug.cgi?id=2957


Brad Roberts bra...@puremagic.com changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||INVALID




--- Comment #7 from Brad Roberts bra...@puremagic.com  2009-05-10 01:02:38 
PDT ---
yay

-- 
Configure issuemail: http://d-new.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


Re: Bugzilla Downtime

2009-05-10 Thread Brad Roberts
Brad Roberts wrote:
 Tonight I'm going to update bugzilla to the current release and move it to a 
 new
 host.  I'll put the existing copy in read-only mode at around 10 or 11pm 
 Seattle
 time.  The process shouldn't take all that long, but I'll estimate an hour 
 just
 to give myself some padding time.
 
 Later,
 Brad

Ok.. I've changed the dns entry to the new server, so as soon as it propagates
around the world, the new site will be active.  I'm sure it's not perfect yet..
but it's good enough to open up.  Please file bug reports against puremagic.com
if you find something wrong or missing.  I haven't fully incorporated all of the
customizations I'd made to the previous version, but at least the posting to the
newsgroups part works again.

Later,
Brad


[Issue 2958] New: std.getopt RangeError on missing arg

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2958

   Summary: std.getopt RangeError on missing arg
   Product: D
   Version: 2.030
  Platform: All
OS/Version: All
Status: NEW
  Severity: normal
  Priority: P2
 Component: Phobos
AssignedTo: bugzi...@digitalmars.com
ReportedBy: unkn...@simplemachines.org


Currently, using std.getopt will result in a RangeError if parameters are
improperly omitted on the command line.  Since this is a reasonable user-error,
it does not seem like something to crash on during release.

The problem is here:

if (!isDelegateWithLessThanTwoParameters  !val  !incremental) {
// eat the next argument too
val = args[i];
args = args[0 .. i] ~ args[i + 1 .. $];
}

It just needs a check to see if args.length is high enough for this to happen. 
And the documentation should note the exception it throws; currently it says
only a ConvError is thrown.

-[Unknown]

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


known bugzilla issue #1

2009-05-10 Thread Brad Roberts
I know I need to suppress the last couple lines of bugzilla posts with the
Configure and why the mail is being received parts.  How that part is generated
changed a lot between the old and new versions of bugzilla so it'll take me a
tad more work to fix that up.  This part:

--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---

Later,
Brad


bugzilla email

2009-05-10 Thread Brad Roberts
A while ago the inbound mail into bugzilla from replies to this group broke.  I
figured out why, but the fix wasn't pleasant -- the perl code wasn't compatible
with a perl upgrade (5.8 - 5.10).  The migration I did tonight ought to make it
possible for me to put that mechanism back together.. however I figured I'd take
a poll.

Who found it useful and/or desirable?

It's been disabled long enough that I figured I should see if it's worth
re-instating.

Thanks,
Brad


Re: bugzilla email

2009-05-10 Thread Nick Sabalausky
Brad Roberts bra...@puremagic.com wrote in message 
news:mailman.33.1241944005.13405.digitalmars-d-b...@puremagic.com...
A while ago the inbound mail into bugzilla from replies to this group 
broke.  I
 figured out why, but the fix wasn't pleasant -- the perl code wasn't 
 compatible
 with a perl upgrade (5.8 - 5.10).  The migration I did tonight ought to 
 make it
 possible for me to put that mechanism back together.. however I figured 
 I'd take
 a poll.

 Who found it useful and/or desirable?

 It's been disabled long enough that I figured I should see if it's worth
 re-instating.

 Thanks,
 Brad

I didn't know there was ever such a feature :)

Personally, I'm fairly accustomed to adding replies on the actual web-page 
interface. 




Re: Bugzilla Downtime

2009-05-10 Thread Nick Sabalausky
Brad Roberts bra...@puremagic.com wrote in message 
news:mailman.31.1241943078.13405.digitalmars-d-b...@puremagic.com...
 Brad Roberts wrote:
 Tonight I'm going to update bugzilla to the current release and move it 
 to a new
 host.  I'll put the existing copy in read-only mode at around 10 or 11pm 
 Seattle
 time.  The process shouldn't take all that long, but I'll estimate an 
 hour just
 to give myself some padding time.

 Later,
 Brad

 Ok.. I've changed the dns entry to the new server, so as soon as it 
 propagates
 around the world, the new site will be active.  I'm sure it's not perfect 
 yet..
 but it's good enough to open up.  Please file bug reports against 
 puremagic.com
 if you find something wrong or missing.  I haven't fully incorporated all 
 of the
 customizations I'd made to the previous version, but at least the posting 
 to the
 newsgroups part works again.

 Later,
 Brad

Whooo, it's very pretty :) 




samples of D2 can't be compiled

2009-05-10 Thread zsxxsz
Hi, inorder to learn D, I try to compile some samples of D2.029, but failed. I
found the reason was that some functions had been changed.
For example, in listener.d, the std.conv.toUshort(args[1]) is not appeared
in D2 any more, std.conv.to!(ushort)(string) should be used instead. I mean,
if are there some bugs in D2's phobos lib? And, if I run all.sh in samples/d
on Linux, there are some many errors. Can these will to be corrected?
Thanks
zsx


Re: Bugzilla Downtime

2009-05-10 Thread Jarrett Billingsley
On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:

 Whooo, it's very pretty :)


Indeed it is!  Save for an apparent rendering problem with Firefox:

http://d.puremagic.com/issues/show_bug.cgi?id=2959

Anyone else notice this?


[Issue 2960] New: CTFE rejects static array to dynamic array casts

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2960

   Summary: CTFE rejects static array to dynamic array casts
   Product: D
   Version: 1.043
  Platform: PC
OS/Version: Linux
Status: NEW
  Keywords: patch, rejects-valid
  Severity: normal
  Priority: P2
 Component: DMD
AssignedTo: bugzi...@digitalmars.com
ReportedBy: kamm-removet...@incasoftware.de


Test case:

char[] foo(char[] source) { return ; }
const v = bar;
const r = foo(v);

Result:
Error: cannot evaluate foo(cast(char[])v) at compile time

This works in D2 because of changes to Cast in constfold.c. LDC backported the
changes by adding this code from the D2 frontend:

if (e1-op == TOKstring)
{
if (tb-ty == Tarray  typeb-ty == Tarray 
tb-nextOf()-size() == typeb-nextOf()-size())
{
return expType(to, e1);
}
}

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


Re: Bugzilla Downtime

2009-05-10 Thread Sean Kelly

Jarrett Billingsley wrote:

On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:

Whooo, it's very pretty :)



Indeed it is!  Save for an apparent rendering problem with Firefox:

http://d.puremagic.com/issues/show_bug.cgi?id=2959

Anyone else notice this?


It's kind of a mess on Safari.  I'll file a report :-)


Re: Bugzilla Downtime

2009-05-10 Thread Brad Roberts
Sean Kelly wrote:
 Jarrett Billingsley wrote:
 On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:
 Whooo, it's very pretty :)


 Indeed it is!  Save for an apparent rendering problem with Firefox:

 http://d.puremagic.com/issues/show_bug.cgi?id=2959

 Anyone else notice this?
 
 It's kind of a mess on Safari.  I'll file a report :-)

I don't see that problem at all using windows firefox 3.0.10.

I suggest flushing your cache.. make sure you've got current .css files.

Later,
Brad


Re: Bugzilla Downtime

2009-05-10 Thread Tomas Lindquist Olsen
On Sun, May 10, 2009 at 2:53 PM, Jarrett Billingsley
jarrett.billings...@gmail.com wrote:
 On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:

 Whooo, it's very pretty :)


 Indeed it is!  Save for an apparent rendering problem with Firefox:

 http://d.puremagic.com/issues/show_bug.cgi?id=2959

 Anyone else notice this?


Yup!


Re: Bugzilla Downtime

2009-05-10 Thread Tomas Lindquist Olsen
On Sun, May 10, 2009 at 7:06 PM, Brad Roberts bra...@puremagic.com wrote:
 Sean Kelly wrote:
 Jarrett Billingsley wrote:
 On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:
 Whooo, it's very pretty :)


 Indeed it is!  Save for an apparent rendering problem with Firefox:

 http://d.puremagic.com/issues/show_bug.cgi?id=2959

 Anyone else notice this?

 It's kind of a mess on Safari.  I'll file a report :-)

 I don't see that problem at all using windows firefox 3.0.10.

 I suggest flushing your cache.. make sure you've got current .css files.

You're right, a proper reload fixed it ! :)


 Later,
 Brad



Re: Bugzilla Downtime

2009-05-10 Thread Sean Kelly

Tomas Lindquist Olsen wrote:

On Sun, May 10, 2009 at 7:06 PM, Brad Roberts bra...@puremagic.com wrote:

Sean Kelly wrote:

Jarrett Billingsley wrote:

On Sun, May 10, 2009 at 7:37 AM, Nick Sabalausky a...@a.a wrote:

Whooo, it's very pretty :)


Indeed it is!  Save for an apparent rendering problem with Firefox:

http://d.puremagic.com/issues/show_bug.cgi?id=2959

Anyone else notice this?

It's kind of a mess on Safari.  I'll file a report :-)

I don't see that problem at all using windows firefox 3.0.10.

I suggest flushing your cache.. make sure you've got current .css files.


You're right, a proper reload fixed it ! :)


Yup.  Same here.


Re: Bugzilla Downtime

2009-05-10 Thread Jarrett Billingsley
On Sun, May 10, 2009 at 1:06 PM, Brad Roberts bra...@puremagic.com wrote:

 I don't see that problem at all using windows firefox 3.0.10.

 I suggest flushing your cache.. make sure you've got current .css files.

 Later,
 Brad

Oh, nice, that worked!


[Issue 2567] [patch] Option To Not Treat Warnings As Errors

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2567


Leandro Lucarella llu...@gmail.com changed:

   What|Removed |Added

 CC||llu...@gmail.com




--- Comment #2 from Leandro Lucarella llu...@gmail.com  2009-05-10 14:15:38 
PDT ---
It seems that your patch has some small indentation issues, see
http://d.puremagic.com/issues/attachment.cgi?id=354action=diff#..\..\..\..\dmd.1.043\dmd\src\dmd/mars.c_sec4

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2346] ICE when comparing typedef'd class

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2346





--- Comment #3 from Charles Hixson charleshi...@earthlink.net  2009-05-10 
14:56:04 PDT ---
Created an attachment (id=355)
 -- (http://d.puremagic.com/issues/attachment.cgi?id=355)
Work in progress: analogous to a single level B+Tree

Internal error: e2ir.c 4339

This is code that was compiling using
Digital Mars D Compiler v2.029
dmd -c -Dddocs chunkf.d
until I did a little bit of refactoring.  

It's not clear to me how to reduce this and still retain the error, but if I
comment out lines 115-116,
//foreach(Wrd w;freqWrd)
//{temp2 [w.name]=w.id;}
then the error message goes away.  (Of course, it's useless for *my* purposes,
but I hope it narrows down what the error could be.)

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2933] Cannot return const/immutable with contracts (out/invariant) enabled

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2933





--- Comment #1 from Shin Fujishiro rsi...@gmail.com  2009-05-10 15:17:32 PDT 
---
Created an attachment (id=356)
 -- (http://d.puremagic.com/issues/attachment.cgi?id=356)
This patch should fix the problem.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


[Issue 2961] New: some sets of files compiled with (-w -inline -release) cause the linker error /PAGESIZE:16 is too small

2009-05-10 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2961

   Summary: some sets of files compiled with (-w -inline -release)
cause the linker error /PAGESIZE:16 is too small
   Product: D
   Version: 2.029
  Platform: PC
OS/Version: Windows
Status: NEW
  Severity: normal
  Priority: P2
 Component: Optlink
AssignedTo: bugzi...@digitalmars.com
ReportedBy: one_mad_al...@hotmail.com


I'm trying to get my port of the WIN32 headers working with Digital Mars D
Compiler v2.029

(see the dsource project core32)

the minium set I can find to reproduce the issue is

set FLGS=-w -inline -release
dmd %FLGS% -c win32/com/OAIDL.d -I..
. etc 

lib -c win32.lib d3d8types.obj d3d8caps.obj dxerr8.obj DOCOBJ.obj OBJIDL.obj
extras.obj MSHTMHST.obj OLEIDL.obj OAIDL.obj EXDISP.obj

Digital Mars Librarian Version 8.02n
Copyright (C) Digital Mars 2000-2007 All Rights Reserved
http://www.digitalmars.com/ctg/lib.html

Error: /PAGESIZE:16 is too small

N.B. this only appears with BOTH -release and -inline
-release -O  or -inline -O does not cause the error.

as I'm not too sure what the error means I'm at a bit of a loss to make a small
test file that reproduces the error.

I've not attached any files as they can all be obtained from
svn ci http://svn.dsource.org/projects/core32/trunk/

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because: ---


Re: Bugzilla Downtime

2009-05-10 Thread Walter Bright

Thanks for taking care of this, Brad!


Re: bugzilla email

2009-05-10 Thread Walter Bright

Brad Roberts wrote:

Who found it useful and/or desirable?


I think it's useful and desirable, as otherwise there'll be two separate 
threads about each bug.