[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #2 from Vermi m...@vermi.fr 2010-06-21 23:55:49 PDT --- It's very strange, I never had this kind of problem before. I must first finish my software, so I will add delete() in the code, but as soon as I have free time I will look if

[Issue 3848] functions in std.file don't take symbolic links into account

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3848 Jonathan M Davis jmdavisp...@gmail.com changed: What|Removed |Added Attachment #670 is|0 |1

[Issue 3848] functions in std.file don't take symbolic links into account

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3848 Jonathan M Davis jmdavisp...@gmail.com changed: What|Removed |Added Attachment #580 is|0 |1

[Issue 4361] New: shared nested classes don't synchronize their parents. Results in a data race.

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4361 Summary: shared nested classes don't synchronize their parents. Results in a data race. Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW

[Issue 3202] std.math.pow cause dead loop

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3202 Lars T. Kyllingstad bugzi...@kyllingen.net changed: What|Removed |Added CC|

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #3 from nfx...@gmail.com 2010-06-22 00:15:35 PDT --- Most likely, the GC _is_ working correctly. It's a conservative GC, and it treats integers, floats, random binary data the same as actual pointers. The GC doesn't have enough

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #4 from Vermi m...@vermi.fr 2010-06-22 00:23:46 PDT --- (In reply to comment #3) Most likely, the GC _is_ working correctly. It's a conservative GC, and it treats integers, floats, random binary data the same as actual pointers.

[Issue 4362] New: std.range.repeat and cycle do not have a .save() method

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4362 Summary: std.range.repeat and cycle do not have a .save() method Product: D Version: D2 Platform: Other OS/Version: Windows Status: NEW Severity: normal

[Issue 4363] New: std.algorithm.Until is not a forward range

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4363 Summary: std.algorithm.Until is not a forward range Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2

[Issue 4364] New: ICE compiling a struct def named 'Object' followed by a class definition

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4364 Summary: ICE compiling a struct def named 'Object' followed by a class definition Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW

[Issue 4365] New: Shared receive for all waitable objects

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4365 Summary: Shared receive for all waitable objects Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: enhancement Priority: P2

[Issue 1451] overloading methods by mixin in static if doesn't work

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=1451 Alexandre Fournier a...@liquidstate.eu changed: What|Removed |Added CC|

[Issue 4366] New: ICE(mtype.c) constrained template pure function with array/pointer parameter

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4366 Summary: ICE(mtype.c) constrained template pure function with array/pointer parameter Product: D Version: 2.041 Platform: All OS/Version: All Status: NEW

[Issue 4362] std.range.repeat and cycle do not have a .save() method

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4362 David Simcha dsim...@yahoo.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 2848] static if (is(type)) + alias fails to compile

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2848 --- Comment #6 from Leandro Lucarella llu...@gmail.com 2010-06-22 06:09:05 PDT --- Thanks!(In reply to comment #5) (In reply to comment #4) Works in DMD 1.062, I don't know when it got fixed. I guess it will work in DMD 2.0xx, but I

[Issue 4367] New: std.regex: Captures is not a random access range

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4367 Summary: std.regex: Captures is not a random access range Product: D Version: D2 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 Leandro Lucarella llu...@gmail.com changed: What|Removed |Added CC||llu...@gmail.com

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #6 from Leandro Lucarella llu...@gmail.com 2010-06-22 08:11:50 PDT --- (In reply to comment #5) (In reply to comment #3) Most likely, the GC _is_ working correctly. It's a conservative GC, and it treats integers, floats,

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #7 from nfx...@gmail.com 2010-06-22 08:23:51 PDT --- std.file.read returns a void[], but it's allocated manually via gc.malloc(), and I think the no-pointers thing was done right. The correct solution to this problem would be to

[Issue 4367] std.regex: Captures is not a random access range

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4367 --- Comment #1 from Graham Fawcett graham.fawc...@gmail.com 2010-06-22 08:28:27 PDT --- Created an attachment (id=673) proposed patch This adds .save, .back and .popBack, making Captures a RandomAccessRange. Note: in my .save implementation,

[Issue 4367] std.regex: Captures is not a random access range

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4367 --- Comment #2 from Graham Fawcett graham.fawc...@gmail.com 2010-06-22 08:50:01 PDT --- Hm, did my patch implement 'back' correctly? It's not clear to me whether it should be this: return input[matches[$-1].startIdx .. matches[$-1].endIdx];

[Issue 4358] Potential Memory Leaks in std.file.read() ?

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4358 --- Comment #8 from Leandro Lucarella llu...@gmail.com 2010-06-22 10:03:22 PDT --- (In reply to comment #7) std.file.read returns a void[], but it's allocated manually via gc.malloc(), and I think the no-pointers thing was done right. And

[Issue 4368] New: Fork() on OS X 2.047 results in a core.thread.ThreadException

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4368 Summary: Fork() on OS X 2.047 results in a core.thread.ThreadException Product: D Version: D2 Platform: x86 OS/Version: Mac OS X Status: NEW Severity:

[Issue 4369] New: Multiple bugs in GC minimize()

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4369 Summary: Multiple bugs in GC minimize() Product: D Version: D2 Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: druntime

[Issue 4370] New: POSIX monitor attribute not being used

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4370 Summary: POSIX monitor attribute not being used Product: D Version: D2 Platform: All URL: http://dsource.org/projects/tango/ticket/1929 OS/Version: All Status: NEW

[Issue 2918] stdio.d(511): Error: cannot deduce template function from argument types !()(LockingTextWriter, uint)

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=2918 Shin Fujishiro rsi...@gmail.com changed: What|Removed |Added Status|ASSIGNED|RESOLVED

[Issue 4371] New: template tuple [misuse?] segfault

2010-06-22 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4371 Summary: template tuple [misuse?] segfault Product: D Version: D2 Platform: Other OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: