Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ali Çehreli via Digitalmars-d-announce
Main page: http://ddili.org/ders/d.en/ 1) For the first time, there are eBook formats: http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi I used 'calibre' to generate those alpha quality books. I chose

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ondra via Digitalmars-d-announce
Awesome!

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Gary Willoughby via Digitalmars-d-announce
Fantastic work.

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Anonymous via Digitalmars-d-announce
Thx, your book's just helped me last night (opSlice template not well explained in the official html). Two questions: - do you know that your website has serious design issue ? - does paper version mean no more free pdf/ebook ?

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Martin Drašar via Digitalmars-d-announce
This is HUGE! I've gone through many of your chapters, but it was just now, after seeing it as a one 700 pages long book, that I truly realized how much of a work this must have been. Thank you. Can't wait to have it on the shelf... Martin smime.p7s Description: Elektronicky podpis S/MIME

Re: dfix 0.2.0

2014-11-26 Thread Nordlöw
On Tuesday, 25 November 2014 at 23:58:21 UTC, Brian Schott wrote: On Tuesday, 25 November 2014 at 23:47:07 UTC, Nordlöw wrote: On Tuesday, 25 November 2014 at 23:45:17 UTC, Nordlöw wrote: I guess one solution would be to make warnings non-errors right but that seems dumb concerning what dfix

Re: dfix 0.2.0

2014-11-26 Thread Nordlöw
On Wednesday, 26 November 2014 at 13:11:28 UTC, Nordlöw wrote: It would be nice if we could call DUB either as dub -wi or in a more generic way as dub --dmd-flags=wi,... so I don't have to clone the top-level project and modify its dub.json myself in order to test dfix built using

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote: Main page: http://ddili.org/ders/d.en/ 1) For the first time, there are eBook formats: http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Dejan Lekic via Digitalmars-d-announce
One more thing - if you have the book in some wiki form, it may be a good idea to transform it into AsciiDoc as it has really nice ePub/PDF/HTML output.

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 11/26/14 2:34 AM, Ali Çehreli wrote: Main page: http://ddili.org/ders/d.en/ 1) For the first time, there are eBook formats: http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.mobi Fantastic! I wanted

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ali Çehreli via Digitalmars-d-announce
On 11/26/2014 03:42 AM, Anonymous wrote: - do you know that your website has serious design issue ? Of course. :( - does paper version mean no more free pdf/ebook ? My current thinking is that all of the ebook formats should be free but also purchasable. A distributor like Smashwords

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ali Çehreli via Digitalmars-d-announce
On 11/26/2014 06:27 AM, Dejan Lekic wrote: whenever there is something new, so we readers can go back to the website and grab the latest version of the book. That has always been the case with Programming in D. Although there has been a hiatus of about two months this last time, Luís

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ali Çehreli via Digitalmars-d-announce
On 11/26/2014 09:24 AM, Andrei Alexandrescu wrote: I wanted to mention this on reddit That site is fine. but noticed that (a) http://ddili.org/ders/d.en/ has the left menu in Turkish That site sucks! :) and (b) there are no links to the ebooks from that page. I intentionally did not

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread weaselcat via Digitalmars-d-announce
Congrats on (nearly) finishing your book. It's one of the best D resources available and very high quality.

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Meta via Digitalmars-d-announce
On Wednesday, 26 November 2014 at 10:34:24 UTC, Ali Çehreli wrote: Main page: http://ddili.org/ders/d.en/ 1) For the first time, there are eBook formats: http://ddili.org/ders/d.en/Programming_in_D_Ali_Cehreli.ALPHA.epub

Re: D/Objective-C 64bit

2014-11-26 Thread Christian Schneider via Digitalmars-d-announce
Why not use a constructor and let the compiler manage the boilerplate? this(NSRect frame) [initWithFrame:] { //my stuff super(frame); } This should emit the same code as the function above (but I haven't tested). And then you can write:

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Ali Çehreli via Digitalmars-d-announce
On 11/26/2014 11:35 AM, Ali Çehreli wrote: I wonder whether Smashwords would allow me to also provide the book for free on my site? Found the answer to that question: 6c. Free Copies. As administrator of your work, Author may use the Smashwords platform to distribute complimentary copies

Necht Hob

2014-11-26 Thread sekopati via Digitalmars-d-announce
Necht hob was fitted many years ago and still works perfect. _ [url=http://www.nechtgashob.co.uk]Necht Hob[/url]

Re: Programming in D book, draft of the first print edition and eBook formats

2014-11-26 Thread Joakim via Digitalmars-d-announce
On Wednesday, 26 November 2014 at 23:16:11 UTC, Ali Çehreli wrote: On 11/26/2014 11:35 AM, Ali Çehreli wrote: I wonder whether Smashwords would allow me to also provide the book for free on my site? Found the answer to that question: 6c. Free Copies. As administrator of your work, Author

Re: 'int' is enough for 'length' to migrate code from x86 to x64

2014-11-26 Thread Frank Like via Digitalmars-d
when I migrate dfl codes from x86 to 64 bit,modify the drawing.d ,find the 'offset' and 'index',point(x,y),rect(x,y),all be keep with the 'lengh's type, so I don't modify them to size_t,only cast(int)length to int,then it's easy to migrate dfl codes to 64 bit. Ok,then dfl can work on 64

Re: std.experimental.logger formal review round 3

2014-11-26 Thread Robert burner Schadek via Digitalmars-d
On Tuesday, 25 November 2014 at 23:41:51 UTC, Walter Bright wrote: On 11/25/2014 2:26 AM, Robert burner Schadek wrote: On Tuesday, 25 November 2014 at 00:37:00 UTC, Walter Bright wrote: Anyone know anything about this?

Re: std.experimental.logger formal review round 3

2014-11-26 Thread via Digitalmars-d
On Tuesday, 25 November 2014 at 23:41:51 UTC, Walter Bright wrote: On 11/25/2014 2:26 AM, Robert burner Schadek wrote: On Tuesday, 25 November 2014 at 00:37:00 UTC, Walter Bright wrote: Anyone know anything about this?

Re: Does RTTI and exceptions work in dlls on windows?

2014-11-26 Thread MrSmith via Digitalmars-d
On Wednesday, 26 November 2014 at 07:46:12 UTC, Benjamin Thaut wrote: Am 25.11.2014 21:46, schrieb MrSmith: Is there a bugzilla issue for this? And what is the status of windows dlls? If you want a bit more dll support right now, I suggest that you take a look at these changes and merge them

Re: Named parameter builder pattern for template parameters

2014-11-26 Thread Robik via Digitalmars-d
On Friday, 21 November 2014 at 13:39:43 UTC, monarch_dodra wrote: I trust everyone here knows about the builder pattern (http://en.wikipedia.org/wiki/Builder_pattern)? It can be very useful when the number of (optional) arguments in a function start to run rampant, and you know the user only

[OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
So my computer died on me again last week and I had to buy new hardware. I was forced to update the software to run the new hardware... and it is painful. I hate all software and have learned that if I want a job done right, I have to do it myself. Rarely, I find other people's software is

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread CraigDillabaugh via Digitalmars-d
On Wednesday, 26 November 2014 at 20:06:02 UTC, Adam D. Ruppe wrote: xterm is one example. I basically like it but it is ugly and stupid so needs a few fixes. As such, I maintain my own private fork of it. I would hate to hear what you have to say about software that you don't like :o)

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread H. S. Teoh via Digitalmars-d
On Wed, Nov 26, 2014 at 08:06:01PM +, Adam D. Ruppe via Digitalmars-d wrote: So my computer died on me again last week and I had to buy new hardware. I was forced to update the software to run the new hardware... and it is painful. I have a high distrust of brand new *hardware*, because

Re: DMD hackers: pragma(address): Is this possible?

2014-11-26 Thread Iain Buclaw via Digitalmars-d
On 25 November 2014 at 19:08, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Johannes Pfau wrote in message news:m5288s$l8$1...@digitalmars.com... No, unfortunately not. The module where the template is instantiated needs to be the 'main' module. Or rather toObjfile must

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 26 November 2014 at 20:59:30 UTC, CraigDillabaugh wrote: I would hate to hear what you have to say about software that you don't like :o) hehe What is your new linux distro? Slackware 14.1. I've been a Slackware user for a long time and I still find it less unbearable than

Re: Named parameter builder pattern for template parameters

2014-11-26 Thread Meta via Digitalmars-d
On Wednesday, 26 November 2014 at 17:42:07 UTC, Robik wrote: If D would support getting parameter names(currently does not work for lambdas) of lambdas we could have: someConnect(host = test, port = 7999); Just a random thought :) import std.stdio; import std.traits; void main() {

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Wed, 26 Nov 2014 21:07:00 + Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: Slackware 14.1. I've been a Slackware user for a long time and I still find it less unbearable than the alternatives, but it often annoys me. ah, now i understand why i like your code so

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via Digitalmars-d wrote: I have a high distrust of brand new *hardware*, because they inevitably are gratuitously incompatible with my current software and require new-fangled OSes bloated with features I never use. Yeah. My old

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Wed, 26 Nov 2014 20:06:01 + Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: xterm is one example. I basically like it but it is ugly and stupid so needs a few fixes. As such, I maintain my own private fork of it. ah, terminal emulators... i ended writing my own

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 26 November 2014 at 21:34:43 UTC, ketmar via Digitalmars-d wrote: looking back i must say that i'd better adopt rxvt-unicode instead of writing my own emulator, 'cause writing terminal emulator that works with all console software is a PITA. true but I set my sights lower: I

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Andrej Mitrovic via Digitalmars-d
On 11/26/14, Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: That's in the xterm source code. Yes, it depends on the presence of a particular include guard. Oh you should know how much trouble I went through when I was building my C++ wrapping tool (initially just a wxWidgets

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread H. S. Teoh via Digitalmars-d
On Wed, Nov 26, 2014 at 09:21:21PM +, Adam D. Ruppe via Digitalmars-d wrote: On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via Digitalmars-d wrote: I have a high distrust of brand new *hardware*, because they inevitably are gratuitously incompatible with my current software

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Wed, 26 Nov 2014 14:20:37 -0800 H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: The other part of my terminal emulator was also a gnu screen replacement. I got it to the point where it worked pretty well... but not well enough to break my inertia toward good old screen.

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread H. S. Teoh via Digitalmars-d
On Wed, Nov 26, 2014 at 10:46:08PM +0100, Andrej Mitrovic via Digitalmars-d wrote: On 11/26/14, Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: That's in the xterm source code. Yes, it depends on the presence of a particular include guard. Oh you should know how much

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread H. S. Teoh via Digitalmars-d
On Thu, Nov 27, 2014 at 12:33:25AM +0200, ketmar via Digitalmars-d wrote: [...] i was never big fan of screen and i never used any of it's advanced features, so once i dumped it in favor of dtach. and now i'm really happy, 'cause dtach does exactly what i want: allows me to detach from console

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 26 November 2014 at 22:22:43 UTC, H. S. Teoh via Digitalmars-d wrote: Have you considered just replacing the power supply? That was one of my first thoughts, my last computer refit was caused by a PSU failure. I did some measurements on it and everything looked normal in

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 26 November 2014 at 22:39:52 UTC, H. S. Teoh via Digitalmars-d wrote: Whoa. Just looked up dtach... I like it I think I might start using it in favor of screen, which like you said is just a mess. I've tried dtach before but never got into it. There's actually a handful of

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Adam D. Ruppe via Digitalmars-d
Found a bug in the terminal emulator immediately after switching my hotkeys to use it - there was an escape sequence sent to it that the controlling terminal usually responded to and now it didn't have one. And vim apparently changed its auto indent behavior. Thanks, now my habit of hitting

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Thu, 27 Nov 2014 03:51:58 + Adam D. Ruppe via Digitalmars-d digitalmars-d@puremagic.com wrote: BTW @nogc should have an escape hatch at least for assert(0, allocate_a_message). The program is dying anyway, at least let me conveniently format a descriptive error message. hey, but we

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread deadalnix via Digitalmars-d
On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe wrote: BTW @nogc should have an escape hatch at least for assert(0, allocate_a_message). The program is dying anyway, at least let me conveniently format a descriptive error message. Ownership would solve this.

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread weaselcat via Digitalmars-d
On Thursday, 27 November 2014 at 05:04:20 UTC, deadalnix wrote: On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe wrote: BTW @nogc should have an escape hatch at least for assert(0, allocate_a_message). The program is dying anyway, at least let me conveniently format a descriptive

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Thu, 27 Nov 2014 05:12:51 + weaselcat via Digitalmars-d digitalmars-d@puremagic.com wrote: @Adam D. Ruppe : Check out st from suckless, it was made because xterm is unmaintainable. Also, consider a distro from this century ;) heh, that was the base of my own terminal emulator. just

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread deadalnix via Digitalmars-d
On Thursday, 27 November 2014 at 05:12:52 UTC, weaselcat wrote: On Thursday, 27 November 2014 at 05:04:20 UTC, deadalnix wrote: On Thursday, 27 November 2014 at 03:51:59 UTC, Adam D. Ruppe wrote: BTW @nogc should have an escape hatch at least for assert(0, allocate_a_message). The program is

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread Joakim via Digitalmars-d
On Wednesday, 26 November 2014 at 21:02:20 UTC, H. S. Teoh via Digitalmars-d wrote: soapbox This is one of the reasons I've completely given up on the whole desktop metaphor movement. It has become all glitz and no substance IMNSHO; all about this font vs. that font rather than actually

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-26 Thread ketmar via Digitalmars-d
On Thu, 27 Nov 2014 06:50:59 + Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: However, I'm looking forward to voice recognition and some sort of hand gesture input becoming the dominant interfaces in the coming years. Those will be even easier to use than anything so far,

Error when downloading with +

2014-11-26 Thread RuZzz via Digitalmars-d-learn
Hi ppl! When dub builds the project, he tries to load the http://code.dlang.org/packages/libevent/2.0.1+2.0.16.zip file, and dub gives out this error: Running DUB build dub build @ /mnt/hdd2_3/ftp/workspace_eclipse/axt-d-base-application The following changes will

Re: Reducing Pegged ASTs

2014-11-26 Thread Nordlöw
On Wednesday, 26 November 2014 at 06:09:12 UTC, Philippe Sigaud via Digitalmars-d-learn wrote: IIRC there is a free function in Pegged that does it. What's the name of this function? I did not automate it, because every time I cut down severely a parse tree, I later regret it because I lost

Re: Uninitialized object hangs without warning.

2014-11-26 Thread bearophile via Digitalmars-d-learn
Bear Cherian: Class MyClass{ this(){} void someFunction(){ //body } } And in my app I had something like MyClass classObject; classObject.someFunction(); When I compile, no warnings or errors. If you compile that code (with lowercase Class) with -O the

Re: Error when downloading with +

2014-11-26 Thread Suliman via Digitalmars-d-learn
This is an issue with your version of dub with a buggy url encoding method. Download the latest at code.dlang.org http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/22266/

Cache Building of Pegged-Generated Parsers in a DUB Project

2014-11-26 Thread Nordlöw
I want to cache parsers generated by Pegged grammars in a DUB project by writing the generated parser strings to files. Is it possible to add this build logic somewhere in DUB or do I have to resort to SCons for this?

Re: Error when downloading with +

2014-11-26 Thread RuZzz via Digitalmars-d-learn
On Wednesday, 26 November 2014 at 10:01:32 UTC, Suliman wrote: This is an issue with your version of dub with a buggy url encoding method. Download the latest at code.dlang.org http://forum.rejectedsoftware.com/groups/rejectedsoftware.vibed/thread/22266/ thanks, up-dating to version 0.9.22

Re: Cache Building of Pegged-Generated Parsers in a DUB Project

2014-11-26 Thread Stefan Koch via Digitalmars-d-learn
On Wednesday, 26 November 2014 at 10:26:05 UTC, Nordlöw wrote: I want to cache parsers generated by Pegged grammars in a DUB project by writing the generated parser strings to files. Is it possible to add this build logic somewhere in DUB or do I have to resort to SCons for this?

Re: Cache Building of Pegged-Generated Parsers in a DUB Project

2014-11-26 Thread Nordlöw
On Wednesday, 26 November 2014 at 12:09:34 UTC, Stefan Koch wrote: preBuildCommand in check if the files are there if not generate them if yes do nothing Thanks! Documented here http://code.dlang.org/package-format by searching for preBuildCommands

const class

2014-11-26 Thread Oleg via Digitalmars-d-learn
Hello. I can't find siple way to realization this behavior: [code] class A { A parent; void someFunc() const { } void parentCall() const { const(A) cur = this; while( cur ) { cur.someFunc(); cur = cur.parent; } } } [/code] error: cannot modify const

Re: Cache Building of Pegged-Generated Parsers in a DUB Project

2014-11-26 Thread Nordlöw
On Wednesday, 26 November 2014 at 12:09:34 UTC, Stefan Koch wrote: On Wednesday, 26 November 2014 at 10:26:05 UTC, Nordlöw wrote: I want to cache parsers generated by Pegged grammars in a DUB project by writing the generated parser strings to files. Is it possible to add this build logic

Re: const class

2014-11-26 Thread bearophile via Digitalmars-d-learn
Oleg: how create variable that store const object and can be changed to other const object? Take a look at std.typecons.Rebindable/std.typecons.rebindable. Read all Phobos documentation, it helps. Bye, bearophile

Re: windows linker error

2014-11-26 Thread Joakim via Digitalmars-d-learn
On Wednesday, 26 November 2014 at 04:10:08 UTC, Vlad Levenfeld wrote: I'm compiling the latest build from github. (I normally stay up to date with the current builds on 64bit Debian and everything works more or less without a hitch there, but now I need to get some of my tools working in a

Re: Uninitialized object hangs without warning.

2014-11-26 Thread Bear Cherian via Digitalmars-d-learn
On Wednesday, 26 November 2014 at 09:38:11 UTC, bearophile wrote: Bear Cherian: Class MyClass{ this(){} void someFunction(){ //body } } And in my app I had something like MyClass classObject; classObject.someFunction(); When I compile, no warnings or errors. If

Compile-Time Memoization of Pegged-Generated Parser

2014-11-26 Thread Nordlöw
I have working logic for automatic memoization of Pegged-generated parsers from Peg grammars here https://github.com/nordlow/justd/blob/master/firstPegged/source/app.d Now I wonder if this logic could be modularized in some way making it more easy to use (and not so verbose). The key

Re: Compile-Time Memoization of Pegged-Generated Parser

2014-11-26 Thread Nordlöw
On Wednesday, 26 November 2014 at 22:31:04 UTC, Nordlöw wrote: source/app.d(63): Error: no identifier for declarator fileWrites source/app.d(63): Error: Declaration expected, not '~=' source/app.d(64): Error: no identifier for declarator fileWrites source/app.d(64): Error: Declaration expected,

Array toHash()

2014-11-26 Thread David Held via Digitalmars-d-learn
I have a class which contains an int[] and some other stuff. I want to use my class as the key for an AA, so I am overriding toHash(). But the int[] is the only part which should produce the hash code. I know that int[].toHash() is defined somehow, because I can put int[] directly into an

Re: Casting in Safe D

2014-11-26 Thread David Held via Digitalmars-d-learn
On 11/23/2014 3:12 PM, anonymous wrote: [...] And even pointer dereferencing is @safe. Invalid ones will fail with a segfault at run time: void foo(int* a) @safe {*a = 13;} Hmm...throwing an exception is a well-defined behavior, but is segfaulting a well-defined behavior of correct D

Re: Array toHash()

2014-11-26 Thread Ali Çehreli via Digitalmars-d-learn
On 11/26/2014 04:25 PM, David Held wrote: class Foo { override size_t toHash() @trusted pure const nothrow { // error: no property 'toHash' for type 'int[]' return importantStuff.toHash(); } The getHash() member function of the particular TypeInfo

Still not D standard yet ?

2014-11-26 Thread Ledd via Digitalmars-d-learn
I would like to know if something has changed in the plans for the future of D, because I really think it needs some kind of formalization and standardization to be a good investment, especially for medium/large/commercial projects . Thanks.

[Issue 13777] New: Value range propagation faild on array function argument

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13777 Issue ID: 13777 Summary: Value range propagation faild on array function argument Product: D Version: D2 Hardware: All OS: All Status: NEW

[Issue 13777] Value range propagation faild on array function argument

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13777 bearophile_h...@eml.cc changed: What|Removed |Added CC||bearophile_h...@eml.cc --- Comment

[Issue 13778] New: Flush stream when std.stdio.writeln() is called

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13778 Issue ID: 13778 Summary: Flush stream when std.stdio.writeln() is called Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: enhancement

[Issue 1734] mixins for statements

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=1734 Nick Treleaven ntrel-...@mybtinternet.com changed: What|Removed |Added CC|

[Issue 13779] New: gdb can't print variables with Could not find the frame base for function error

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13779 Issue ID: 13779 Summary: gdb can't print variables with Could not find the frame base for function error Product: D Version: D2 Hardware: x86_64 OS: Linux

[Issue 13780] New: Empty ParameterIdentifierTuple for function literal

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13780 Issue ID: 13780 Summary: Empty ParameterIdentifierTuple for function literal Product: D Version: D2 Hardware: x86_64 OS: Windows Status: NEW Severity: normal

[Issue 13781] New: Tuple assign should be @nogc

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13781 Issue ID: 13781 Summary: Tuple assign should be @nogc Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Keywords: rejects-valid Severity:

[Issue 13782] New: gdc - fails to compile. Unrecognized option -plugin

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13782 Issue ID: 13782 Summary: gdc - fails to compile. Unrecognized option -plugin Product: D Version: unspecified Hardware: x86_64 OS: Linux Status: NEW Severity:

[Issue 13780] Empty ParameterIdentifierTuple for function literal

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13780 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com --

[Issue 13759] VS2010 Win64 linker path wrong

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13759 --- Comment #5 from Manu turkey...@gmail.com --- I just installed DMD+VisualD on another fresh installation with VS2010, and the same problem. It definitely doesn't work on fresh installs with 2010. The linker path just needs to be set to

[Issue 13779] gdb can't find frame base when using ld.gold

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13779 Martin Nowak c...@dawg.eu changed: What|Removed |Added Summary|gdb can't print variables |gdb can't find frame base

[Issue 13779] gdb can't find frame base when using ld.gold

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13779 Martin Nowak c...@dawg.eu changed: What|Removed |Added Keywords||pull --- Comment #1 from Martin

[Issue 13703] Error 16: Index Range reported incorrectly on windows

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13703 --- Comment #3 from nick nicolas.jincher...@gmail.com --- code was updated with workarounds, and the bug is gone. The last broken commit: https://github.com/bitwise-github/D-Reflection/tree/593993af078d3b3758909cb070c98d0aaf9440bd --

[Issue 13779] gdb can't find frame base when using ld.gold

2014-11-26 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13779 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/26fd7e3699d63aa4c8c31bfb024463c9faabfb4b fix Issue 13779 - gdb can't