[Issue 5893] Allow simple aliases for operator overloading
http://d.puremagic.com/issues/show_bug.cgi?id=5893 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #3 from Kenji Hara k.hara...@gmail.com 2012-06-07 00:03:19 PDT --- https://github.com/D-Programming-Language/dmd/pull/989 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8205] Order of dmd '-run' flag is wrong on Mac OS X
http://d.puremagic.com/issues/show_bug.cgi?id=8205 Rico Huijbers rix0...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #2 from Rico Huijbers rix0...@gmail.com 2012-06-07 01:16:29 PDT --- (In reply to comment #1) The command line parsing code is specifically written to parse »dmd compile_args -run file.d run_args« – where did Walter (or better, the docs) say otherwise? Didn't read the docs, but I'm following a course by Walter right now and apparently he forgot the correct syntax :). Nevermind then. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8205] Order of dmd '-run' flag is wrong on Mac OS X
http://d.puremagic.com/issues/show_bug.cgi?id=8205 klickverbot c...@klickverbot.at changed: What|Removed |Added Resolution|FIXED |INVALID --- Comment #3 from klickverbot c...@klickverbot.at 2012-06-07 01:17:54 PDT --- Changed the resolution, as we didn't actually fix the “bug”. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8203] Use of std.regex.match() generates not enough preallocated memory error
http://d.puremagic.com/issues/show_bug.cgi?id=8203 --- Comment #6 from Dmitry Olshansky dmitry.o...@gmail.com 2012-06-07 04:35:32 PDT --- I've studied it a bit, and here is the details: it only happens, when re-running the same match object many times: foreach(v; match(...)) // no bug vs auto m = match() foreach(v; m) //does run out of memory In your case I see from comments that you try hard to do eager evalutaion, and first find all matches then work through two arrays of them. Yet it's not what program does, it still performes N*M regex searches because auto uniCapturesNew = match(uniFileOld, regex(...)); just starts the engine and finds 1st match. Then you copy engine state on each iteration of nested loop (this copy operation is bogus apparently) and run engine till all matches are found. Next iteration of loop - another copy. So in your case I strongly suggest to do this magic recipe, that work for all lazy ranges: auto allMatches = array(match(); and work with arrays from now on. Anyway, the root cause is now clear and I've reduced it to: import std.regex; string data = NAME = XPAW01_STA:STATION NAME = XPAW01_STA ; // Main function void main(){ auto uniFileOld = data; auto uniCapturesNew = match(uniFileOld, regex(r^NAME = (?Pcomp[a-zA-Z0-9_]+):*(?Pblk[a-zA-Z0-9_]*),gm)); for(int i=0; i20; i++) { foreach (matchNew; uniCapturesNew) {} } } -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7494] Selective import does not work inside a function
http://d.puremagic.com/issues/show_bug.cgi?id=7494 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull --- Comment #8 from Kenji Hara k.hara...@gmail.com 2012-06-07 04:46:01 PDT --- https://github.com/D-Programming-Language/dmd/pull/990 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6591] di header generation loses selective import symbols
http://d.puremagic.com/issues/show_bug.cgi?id=6591 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, wrong-code Platform|Other |All OS/Version|Windows |All --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-06-07 04:53:54 PDT --- https://github.com/D-Programming-Language/dmd/pull/991 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6591] di header generation loses selective import symbols
http://d.puremagic.com/issues/show_bug.cgi?id=6591 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added CC||ad...@dav1d.de --- Comment #2 from Kenji Hara k.hara...@gmail.com 2012-06-07 05:42:20 PDT --- *** Issue 7532 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 7532] DMD stripping imports in header files
http://d.puremagic.com/issues/show_bug.cgi?id=7532 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||DUPLICATE --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-06-07 05:42:20 PDT --- *** This issue has been marked as a duplicate of issue 6591 *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 2401] [module] type definition conflicts with itself imported through different module
http://d.puremagic.com/issues/show_bug.cgi?id=2401 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-06-07 05:48:51 PDT --- Works in 2.060head. This bug is fixed by the commit: https://github.com/D-Programming-Language/dmd/commit/2a3db5d7afd0c26e8a0ec58ff6fb6a8cd9647de6 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 6612] Associative arrays with associative array keys literals
http://d.puremagic.com/issues/show_bug.cgi?id=6612 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull Platform|x86 |All OS/Version|Windows |All --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-06-07 05:59:06 PDT --- https://github.com/D-Programming-Language/dmd/pull/992 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8038] #line which is in a double template instantiation doesn't work
http://d.puremagic.com/issues/show_bug.cgi?id=8038 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||pull, rejects-valid --- Comment #1 from Kenji Hara k.hara...@gmail.com 2012-06-07 09:02:31 PDT --- https://github.com/D-Programming-Language/dmd/pull/993 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8203] Use of std.regex.match() generates not enough preallocated memory error
http://d.puremagic.com/issues/show_bug.cgi?id=8203 Dmitry Olshansky dmitry.o...@gmail.com changed: What|Removed |Added Keywords||pull Platform|x86_64 |All OS/Version|Windows |All --- Comment #7 from Dmitry Olshansky dmitry.o...@gmail.com 2012-06-07 14:38:19 PDT --- https://github.com/D-Programming-Language/phobos/pull/623 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8207] New: OS X: Should extern(D) symbols include another underscore?
http://d.puremagic.com/issues/show_bug.cgi?id=8207 Summary: OS X: Should extern(D) symbols include another underscore? Product: D Version: D2 Platform: All OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: DMD AssignedTo: nob...@puremagic.com ReportedBy: c...@klickverbot.at --- Comment #0 from klickverbot c...@klickverbot.at 2012-06-07 15:30:14 PDT --- On OS X, all symbol names by default have a leading underscore. For example, the C `printf` function is represented as `_printf`. This mangling scheme is expected at least by the system GDB and several other tools, which strip the leading underscore when rendering symbol names. Currently (DMD 2.060 Git), however, extern(D) symbols only have a single leading underscore as well. For example, `void foo()` in a module called test becomes `_D4test3fooFZv`, which in turn would be displayed by GDB as `D4test3fooFZv` This seems wrong, as the D ABI requires a leading underscore as part of the symbol name itself. If another underscore was added, it would e.g. the above function to be correctly displayed in GDB as `_D4test3fooFZv`. This is not merely a cosmetic issue, as other compilers have to follow the same ABI. My proposal would be to modify the Mach obj backend of DMD to also emit the additional underscore, instead of modifying LDC (and possibly GDC as well), because: 1) It would cause the names to be displayed as described in the spec in the tools. 2) The LLVM toolchain adds the underscore automatically, which seems to be a strong indication of the common practice, and 3) indeed, GCC also emits C++ functions with two underscores, e.g. __ZN4llvm10error_code7successEv (and the ABI describes the mangling with a single leading underscore as well). I already have a set of changes for this ready to be submitted as a pull request, in case this route is agreed on. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 klickverbot c...@klickverbot.at changed: What|Removed |Added CC||c...@klickverbot.at --- Comment #1 from klickverbot c...@klickverbot.at 2012-06-07 15:43:29 PDT --- Issue 8208 might be related, depending on how the GDB patches expect the mangled names. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #2 from thelastmamm...@gmail.com 2012-06-07 16:09:16 PDT --- (In reply to comment #1) Issue 8208 might be related, depending on how the GDB patches expect the mangled names. Did you mean Issue 8207? I would LOVE to see this resolved ASAP, this issue has been there for a while! -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #4 from thelastmamm...@gmail.com 2012-06-07 16:13:16 PDT --- (In reply to comment #3) Oh, yes, the perils of _not_ using copy and paste… ;) does your intended pull request solve this issue on OSX ? -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #3 from klickverbot c...@klickverbot.at 2012-06-07 16:10:21 PDT --- Oh, yes, the perils of _not_ using copy and paste… ;) -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #5 from klickverbot c...@klickverbot.at 2012-06-07 16:20:49 PDT --- Didn't try yet; I didn't have too much luck with getting newer (non-Apple) GDB versions to reliably work so far. For LLDB to display demangled names, somebody would need to write a LLDB patch/plugin for D, which, to my knowledge, has not happened yet. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #6 from thelastmamm...@gmail.com 2012-06-07 16:25:22 PDT --- (In reply to comment #5) Didn't try yet; I didn't have too much luck with getting newer (non-Apple) GDB versions to reliably work so far. For LLDB to display demangled names, somebody would need to write a LLDB patch/plugin for D, which, to my knowledge, has not happened yet. newer, non-apple gdb versions work on osx, but have to be run under sudo in my experience; I could try myself if I had your pull request to see if it resolves this issue. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 klickverbot c...@klickverbot.at changed: What|Removed |Added Depends on||8207 --- Comment #7 from klickverbot c...@klickverbot.at 2012-06-07 16:35:46 PDT --- With my preliminary patches and GDB 7.4.1, name demangling in GDB indeed seems to work. Added a dependency on Issue 8207. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8207] OS X: Should extern(D) symbols include another underscore?
http://d.puremagic.com/issues/show_bug.cgi?id=8207 --- Comment #1 from klickverbot c...@klickverbot.at 2012-06-07 16:37:16 PDT --- The D demangling code in newer GDB versions also seems to expect two underscores, see issue 8172. Will try to test my changes more thoroughly and put together a pull request asap. -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8172] OSX: symbols mangled on gdb,ggdb,cgdb,lldb but not on ubuntu; no line numbers on stacktraces
http://d.puremagic.com/issues/show_bug.cgi?id=8172 --- Comment #8 from thelastmamm...@gmail.com 2012-06-07 16:43:57 PDT --- (In reply to comment #7) With my preliminary patches and GDB 7.4.1, name demangling in GDB indeed seems to work. Added a dependency on Issue 8207. wonderful, at last! btw did you figure out a way to run the new gdb without sudo on osx? looking forward for your patch -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---
[Issue 8158] std.algorithm.min fails to compile with user-defined types
http://d.puremagic.com/issues/show_bug.cgi?id=8158 --- Comment #1 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-07 18:22:05 PDT --- https://github.com/D-Programming-Language/phobos/pull/612 -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email --- You are receiving this mail because: ---