Re: Regex matching cause lots of _d_arrayliteralTX calls

2013-09-26 Thread H. S. Teoh
On Fri, Sep 27, 2013 at 01:51:51AM +0200, JR wrote: On Thursday, 26 September 2013 at 23:04:22 UTC, bearophile wrote: I am not sure how a IRC bot could consume more than a tiny fraction of the CPU time of a modern multi-GHz processor. Nor does it bite into my 8 gigabytes of ram. Forgive

Re: extern(C) bool function type?

2013-09-26 Thread Charles Hixson
I'd forgotten about: int_least8_t I guess that's what I should use. On 09/26/2013 03:06 PM, bearophile wrote: Charles Hixson: So... if C returns an int64_t and I declare it as an int32_t, will this cause problems? What about if C returns an int32_t and I declare it as an int64_t?

Re: Regex matching cause lots of _d_arrayliteralTX calls

2013-09-26 Thread H. S. Teoh
On Fri, Sep 27, 2013 at 12:00:45AM +0200, JR wrote: I'm working on a toy IRC bot. Much of the logic involved is translating the incoming raw IRC string into something that makes sense (so now I have two problems, etc). But I managed to cook up a regex that so far seems to work well. Time for

Server is not active?

2013-09-26 Thread wagtail
I tried making simple chat program with std.socket. On starting programs,client program stops. SocketOSException was caught ,so I checked errorCode(). Win7,which I use,tells me error code 10061. I surely think to start server program, and I allow fire wall to connect... Is there any possible

Re: Server is not active?

2013-09-26 Thread Adam D. Ruppe
Can you show us any more code?

Re: Server is not active?

2013-09-26 Thread wagtail
On Friday, 27 September 2013 at 01:04:47 UTC, Adam D. Ruppe wrote: Can you show us any more code? A part of code shown below. /++ Server main() / ushort port = 9876; auto inet = new InternetAddress(0.0.0.0,port);

Re: Server is not active?

2013-09-26 Thread Adam D. Ruppe
hmm, I don't know what the problem is, the socket stuff there looks correct... will have to wait for someone else to have ideas.

Re: Server is not active?

2013-09-26 Thread wagtail
On Friday, 27 September 2013 at 01:37:38 UTC, Adam D. Ruppe wrote: hmm, I don't know what the problem is, the socket stuff there looks correct... will have to wait for someone else to have ideas. Thank you for your reply. I'll think it over again.

[Issue 11122] COM server uses too much CPU

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11122 Rainer Schuetze r.sagita...@gmx.de changed: What|Removed |Added CC||r.sagita...@gmx.de

[Issue 11115] VisualD rebuilds project even if nothing changed

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=5 --- Comment #4 from Rainer Schuetze r.sagita...@gmx.de 2013-09-25 23:55:17 PDT --- Kenji has made the fix in dmd, is the dependency detection by Visual D now ok for your projects? -- Configure issuemail:

[Issue 10538] std.typecons.wrap should consider opDispatch

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10538 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 10538] std.typecons.wrap should consider opDispatch

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10538 --- Comment #2 from github-bugzi...@puremagic.com 2013-09-26 05:55:15 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 10536] std.typecons.wrap doesn't work with a class that defines opCast

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10536 --- Comment #2 from github-bugzi...@puremagic.com 2013-09-26 05:55:07 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 10536] std.typecons.wrap doesn't work with a class that defines opCast

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10536 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9040] Assertion `precedence[e-op] != PREC_zero' failed instantiating anonymous class at compile time

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9040 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 9040] Assertion `precedence[e-op] != PREC_zero' failed instantiating anonymous class at compile time

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9040 --- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-26 06:09:40 PDT --- (In reply to comment #3) Argh, I just saw it's labeled as Posix and x64. Is there still a linker failure for you on that platform? I've reopened the

[Issue 11126] New: Link failure when using instancing anonymous classes to a static variable

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11126 Summary: Link failure when using instancing anonymous classes to a static variable Product: D Version: D2 Platform: All OS/Version: All Status: NEW

[Issue 9040] Assertion `precedence[e-op] != PREC_zero' failed instantiating anonymous class at compile time

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9040 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 9040] Assertion `precedence[e-op] != PREC_zero' failed instantiating anonymous class at compile time

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=9040 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-26 06:08:54 PDT --- (In reply to comment #2) Unfortunately there's a new issue: - class BaseClass {} void main() { static BaseClass staticAnonInstance =

[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11010 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 8439] typeid fail to resolve symbol properly

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=8439 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11010 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 3643] Compiler error on obtaining typeid of a property

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=3643 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11010 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 7270] Wrong writeln(typeid(T)) with const

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7270 --- Comment #4 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-26 07:17:05 PDT --- (In reply to comment #3) *** Issue 4741 has been marked as a duplicate of this issue. *** See my comment in 4741 for more examples:

[Issue 4527] writeln/typeid to use string type names

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4527 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added CC|

[Issue 7270] Wrong writeln(typeid(T)) with const

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=7270 --- Comment #3 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-26 07:16:34 PDT --- *** Issue 4741 has been marked as a duplicate of this issue. *** -- Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email ---

[Issue 4741] typeid() does not return correct type qualifiers for fields

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=4741 Andrej Mitrovic andrej.mitrov...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11057] [REG2.064dev] New std.uni has icmp() partly broken

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11057 --- Comment #2 from github-bugzi...@puremagic.com 2013-09-26 07:27:23 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 11089] std.string.toUpper doesn't work with 1:m mappings

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11089 --- Comment #2 from github-bugzi...@puremagic.com 2013-09-26 07:27:20 PDT --- Commit pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 11127] New: std.range.cycle linker errors

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11127 Summary: std.range.cycle linker errors Product: D Version: D2 Platform: x86 OS/Version: Windows Status: NEW Keywords: rejects-valid Severity: regression

[Issue 10322] std.random.RandomSample.index() returns wrong value if called before front()

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=10322 --- Comment #6 from github-bugzi...@puremagic.com 2013-09-26 12:36:08 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/phobos

[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11010 --- Comment #6 from github-bugzi...@puremagic.com 2013-09-26 16:53:10 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

[Issue 11010] Regression (2.063.2) typeid doesn't work on a member of an instance.

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11010 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 11125] UFCS instantiation of template causes template constraint to be skipped

2013-09-26 Thread d-bugmail
http://d.puremagic.com/issues/show_bug.cgi?id=11125 --- Comment #3 from github-bugzi...@puremagic.com 2013-09-26 22:23:49 PDT --- Commits pushed to master at https://github.com/D-Programming-Language/dmd

<    1   2