Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 12:22 AM, Tobias Pankrath wrote: On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei Has it been generated from an up-to-date version? Where are th

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Tobias Pankrath via Digitalmars-d
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei Has it been generated from an up-to-date version? Where are the sub modules of std.container? http://d

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 7 January 2015 at 07:12:33 UTC, Walter Bright wrote: On 1/6/2015 10:48 PM, Andrei Alexandrescu wrote: Another one; I tried to use the search box on the top right corner... it just resulted in a google search. Can we do better than that? When people go to the documentation page, t

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 12:24 AM, Andrei Alexandrescu wrote: On 1/7/15 12:22 AM, Tobias Pankrath wrote: On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei Has it been ge

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/6/15 2:43 PM, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Many thanks to those who provided feedback on the new layout! I've fixed a few issues, but it looks like there are quite a few more probl

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Vladimir Panteleev via Digitalmars-d
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. From my last complain thread: http://forum.dlang.org/post/zazgfoxjwhjbdrgdi...@forum.dlang.org I see that many o

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Tobias Pankrath via Digitalmars-d
Apparently the links exist, but don't work, e.g. http://dlang.org/library-prerelease/std/std_container_array is not to be found. -- Andrei It works from the tree on the left.

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-07 00:44, weaselcat wrote: Is it intentional for all of the stdc pages to be empty? Why is even std.c.* still available. These should all be replaced with core.stdc.*. -- /Jacob Carlborg

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-06 23:43, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. What about all those suggestions in the thread "Improving ddoc" [1]? Some of those suggestions might require to redesign the documentati

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Mathias LANG via Digitalmars-d
On Wednesday, 7 January 2015 at 08:46:41 UTC, Vladimir Panteleev wrote: * Overzealous linking of words in the documentation that happen to coincide with symbols in the same module. This should only be done for text in $(D ...) tags. According to the specs: Identifiers in documentation comments

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Robert burner Schadek via Digitalmars-d
On Wednesday, 7 January 2015 at 01:13:21 UTC, Andrei Alexandrescu wrote: On 1/6/15 4:26 PM, Robert burner Schadek wrote: std.string looks fine only the indexOfNeither and lastIndexOfNeither are missing Could you please fix -- thanks! -- Andrei I think I just did. Does the webpage show 2.066

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Walter Bright via Digitalmars-d
On 1/7/2015 12:41 AM, Vladimir Panteleev wrote: On Wednesday, 7 January 2015 at 07:12:33 UTC, Walter Bright wrote: I find dman.exe to be very handy and use it all the time, but since it is a hand-built index, it is always hopelessly out of date. Why not reuse the index built by chmgen? It's ve

Re: Phobos colour module?

2015-01-07 Thread via Digitalmars-d
On Wednesday, 7 January 2015 at 00:30:20 UTC, Manu via Digitalmars-d wrote: On 7 January 2015 at 09:22, via Digitalmars-d wrote: For inspiration: http://golang.org/pkg/image/color/ Umm, is there something about this that you like? This looks... really terrible. Not particularly like, but

Re: An idea for commercial support for D

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 02:08, Joseph Rushton Wakeling via Digitalmars-d wrote: > On 06/01/15 07:14, Joakim via Digitalmars-d wrote: >> >> I don't think such people matter, ie they're a very small but vocal >> minority. >> Also, these people are deeply irrational, as every piece of hardware >> they'r

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 05:27, Daniel Murphy via Digitalmars-d wrote: > Is there something wrong with this code or have I found a dmc bug? > I'd say bug in dmc.

Re: An idea for commercial support for D

2015-01-07 Thread via Digitalmars-d
On Wednesday, 7 January 2015 at 11:46:19 UTC, Iain Buclaw via Digitalmars-d wrote: That is where the value-for-money factor comes in. I cannot see any traction occurring in Joakim's badly thought out idea unless you have some *new* to give. I somehow feel that there is a commercial closed so

Re: An idea for commercial support for D

2015-01-07 Thread uri via Digitalmars-d
On Wednesday, 7 January 2015 at 02:16:47 UTC, Joseph Rushton Wakeling via Digitalmars-d wrote: On 06/01/15 23:32, uri via Digitalmars-d wrote: The dmd backend is not under an OSS license, why haven't they left? I suspect there are not very many of the type of people you're talking about in the

Re: An idea for commercial support for D

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 12:00, via Digitalmars-d wrote: > On Wednesday, 7 January 2015 at 11:46:19 UTC, Iain Buclaw via Digitalmars-d > wrote: >> >> That is where the value-for-money factor comes in. I cannot see any >> traction occurring in Joakim's badly thought out idea unless you have >> some *n

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread John Colvin via Digitalmars-d
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei I think there needs to a clear separation between the end of the overview (e.g. the cheat sheet in std.a

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Daniel Murphy via Digitalmars-d
"Brian Schott" wrote in message news:wyligkafbpgxzlevf...@forum.dlang.org... @forceinline would solve all of it. Ok, good. It would have to be range-based and be capable of performing syntax highlighting. My D lexer is based on lexer generator code that might someday become std.lexer, so

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Daniel Murphy via Digitalmars-d
"Iain Buclaw via Digitalmars-d" wrote in message news:mailman.4248.1420631820.9932.digitalmar...@puremagic.com... I'd say bug in dmc. Yeah I'm thinking so, fun. It looks like dmc sets up the code to copy the struct into the variable but never bothers emitting the loop/movsds. What about

Re: An idea for commercial support for D

2015-01-07 Thread via Digitalmars-d
On Wednesday, 7 January 2015 at 12:16:39 UTC, Iain Buclaw via Digitalmars-d wrote: I feel that the same is for the reverse too. If you remove features, you again enter the realm of being another language. Yes, but would a business care? What they care about is productivity and risk assessmen

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 12:35, Daniel Murphy via Digitalmars-d wrote: > "Iain Buclaw via Digitalmars-d" wrote in message > news:mailman.4248.1420631820.9932.digitalmar...@puremagic.com... > >> I'd say bug in dmc. > > > Yeah I'm thinking so, fun. It looks like dmc sets up the code to copy the > stru

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Daniel Murphy via Digitalmars-d
"Iain Buclaw via Digitalmars-d" wrote in message news:mailman.4250.1420635158.9932.digitalmar...@puremagic.com... No, that assert should never fail. And yet for some reason it does.

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Tobias Pankrath via Digitalmars-d
On Wednesday, 7 January 2015 at 13:02:20 UTC, Daniel Murphy wrote: "Iain Buclaw via Digitalmars-d" wrote in message news:mailman.4250.1420635158.9932.digitalmar...@puremagic.com... No, that assert should never fail. And yet for some reason it does. Every type has at least a size of one by

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Daniel Murphy via Digitalmars-d
"Tobias Pankrath" wrote in message news:sdturuippuqoqvbuq...@forum.dlang.org... Every type has at least a size of one byte. So a and b occupy different stack slots due to padding. The default op== does a memcmp and compares the padding as well. My guess. Haha yes, you're spot on. I was a

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 7 January 2015 at 06:48:23 UTC, Andrei Alexandrescu wrote: That would be quite an involved project. -- Andrei http://dpldocs.info/

Re: GSOC - Holiday Edition

2015-01-07 Thread Dmitry Olshansky via Digitalmars-d
03-Jan-2015 08:25, Mike пишет: On Friday, 2 January 2015 at 15:28:58 UTC, Craig Dillabaugh wrote: Thanks for all the links, and sorry to hear that things haven't gone well. Do you think it would be worthwhile having a 'Bare Metal D' project for this year, or do you think we would just be wasti

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 1:06 AM, Jacob Carlborg wrote: On 2015-01-07 00:44, weaselcat wrote: Is it intentional for all of the stdc pages to be empty? Why is even std.c.* still available. These should all be replaced with core.stdc.*. Please fix or file so this isn't forgotten. -- Andrei

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 12:46 AM, Vladimir Panteleev wrote: Remaining issues: * Overzealous linking of words in the documentation that happen to coincide with symbols in the same module. This should only be done for text in $(D ...) tags. Yah, I'm quite unhappy about that, too. * Compile-time expressions

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Vladimir Panteleev via Digitalmars-d
On Wednesday, 7 January 2015 at 15:42:24 UTC, Andrei Alexandrescu wrote: Could you please fix or file these. Thanks! The D or DDox issue tracker? * I still have reservations about using Disqus. I did keep that in mind. The long and short of it it it's impossible to make a change that every

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread John Colvin via Digitalmars-d
On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei I don't think I have to point out the problems with http://dlang.org/library/std/algorithm/find.html

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 1:14 AM, Jacob Carlborg wrote: On 2015-01-06 23:43, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. What about all those suggestions in the thread "Improving ddoc" [1]? Some of those suggestions

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 8:20 AM, John Colvin wrote: On Tuesday, 6 January 2015 at 22:43:45 UTC, Andrei Alexandrescu wrote: Let's crowdsource the review. Please check the entries linked from here: http://dlang.org/library/index.html. Andrei I don't think I have to point out the problems with http://dlang.or

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 7:55 AM, Vladimir Panteleev wrote: On Wednesday, 7 January 2015 at 15:42:24 UTC, Andrei Alexandrescu wrote: Could you please fix or file these. Thanks! The D or DDox issue tracker? Either, appropriately :o). -- Andrei

Re: const Propagation

2015-01-07 Thread Julian Kranz via Digitalmars-d
On Monday, 29 December 2014 at 20:24:13 UTC, Steven Schveighoffer wrote: On 12/29/14 3:11 PM, Steven Schveighoffer wrote: On 12/29/14 2:07 PM, anonymous wrote: On Monday, 29 December 2014 at 13:20:39 UTC, Julian Kranz wrote: Thank you for your answer. This kind of thing also works for C++, but

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-07 16:42, Andrei Alexandrescu wrote: Please fix or file so this isn't forgotten. -- Andrei https://issues.dlang.org/show_bug.cgi?id=13948 Perhaps it should automatically ignore deprecated modules? -- /Jacob Carlborg

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-07 17:22, Andrei Alexandrescu wrote: My summary of that discussion follows. There were quite a few radical suggestions, some of which were interesting but that seemed to entail a lot of work compared to the reaped benefits. (I have to say it was quite fun to re-read the whole thread a

Re: We need a DConf 2015 logo

2015-01-07 Thread ponce via Digitalmars-d
On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei Alexandrescu wrote: The DConf 2015 dates have been confirmed and the site will be soon up - see preview at http://erdani.com/d/bvbvuntf/. Please contribute with a DConf logo image. Also any design updates for the site would be welcome, Thanks!

Re: Phobos colour module?

2015-01-07 Thread Xavier Bigand via Digitalmars-d
I think it can be interesting to provide some string formats can be directly converted into color structures. For example : - plain color names : "red", "blue", "light gray",... - hexadecimal : "#FF3CBB", "#FF3CBBAA" (same with alpha) - decimal : "255, 158, 200", "255, 158, 200, 170" ... I t

Re: An idea for commercial support for D

2015-01-07 Thread Joseph Rushton Wakeling via Digitalmars-d
On 07/01/15 13:08, uri via Digitalmars-d wrote: Thanks for the correction, and a very important one at that in the context of this thread. I wasn't aware the backend was open source. Er, I have to clarify again :-) The backend license is not an open source one; it is, strictly speaking, propr

Another init() bug, can we deprecate yet?

2015-01-07 Thread Peter Alexander via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=13806 For the lazy: BitArray has an init() method, which hides the property BitArray.init This, or something similar, appears every few months. Walter has said in the past that the ability to override init is a feature. As far as I can tell, no one is

Re: Another init() bug, can we deprecate yet?

2015-01-07 Thread Brian Schott via Digitalmars-d
On Wednesday, 7 January 2015 at 22:03:01 UTC, Peter Alexander wrote: Can we just deprecate it? At the very least deprecate functions named init(). There's a check for that: https://github.com/Hackerpilot/Dscanner/blob/master/src/analysis/builtin_property_names.d

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 11:12 AM, Jacob Carlborg wrote: Most of the ideas I had might require some redesign of the documentation layout, these are: * Summary of symbols * Documentation for private symbols * Simplified signatures * Links to all base classes and interfaces of a class * Links to all symbols fro

Re: We need a DConf 2015 logo

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 12:26 PM, ponce wrote: On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei Alexandrescu wrote: The DConf 2015 dates have been confirmed and the site will be soon up - see preview at http://erdani.com/d/bvbvuntf/. Please contribute with a DConf logo image. Also any design updates for th

Re: We need a DConf 2015 logo

2015-01-07 Thread ponce via Digitalmars-d
On Wednesday, 7 January 2015 at 22:36:28 UTC, Andrei Alexandrescu wrote: On 1/7/15 12:26 PM, ponce wrote: On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei Alexandrescu wrote: The DConf 2015 dates have been confirmed and the site will be soon up - see preview at http://erdani.com/d/bvbvuntf/.

Re: We need a DConf 2015 logo

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 3:08 PM, ponce wrote: On Wednesday, 7 January 2015 at 22:36:28 UTC, Andrei Alexandrescu wrote: On 1/7/15 12:26 PM, ponce wrote: On Tuesday, 6 January 2015 at 19:27:23 UTC, Andrei Alexandrescu wrote: The DConf 2015 dates have been confirmed and the site will be soon up - see preview a

Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
We just deployed Nick's work at https://github.com/D-Programming-Language/dlang.org/pull/726, which enables jump-to navigation for structures. For example, from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods. Thanks, Nick! Andrei

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread Walter Bright via Digitalmars-d
On 1/7/2015 3:18 PM, Andrei Alexandrescu wrote: We just deployed Nick's work at https://github.com/D-Programming-Language/dlang.org/pull/726, which enables jump-to navigation for structures. For example, from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods.

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread MattCoder via Digitalmars-d
On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu wrote: ... from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods. Thanks, Nick! Well done! I just think that would be nice to have a link to "go back" (Like a Up Arrow on the right corner fo

Re: Another init() bug, can we deprecate yet?

2015-01-07 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 07, 2015 at 10:03:00PM +, Peter Alexander via Digitalmars-d wrote: > https://issues.dlang.org/show_bug.cgi?id=13806 > > For the lazy: BitArray has an init() method, which hides the property > BitArray.init > > This, or something similar, appears every few months. Walter has said

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 07, 2015 at 03:18:02PM -0800, Andrei Alexandrescu via Digitalmars-d wrote: > We just deployed Nick's work at > https://github.com/D-Programming-Language/dlang.org/pull/726, which enables > jump-to navigation for structures. For example, from > http://dlang.org/phobos/std_array.html#.Ap

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread H. S. Teoh via Digitalmars-d
On Wed, Jan 07, 2015 at 03:33:23PM -0800, H. S. Teoh via Digitalmars-d wrote: > On Wed, Jan 07, 2015 at 03:18:02PM -0800, Andrei Alexandrescu via > Digitalmars-d wrote: > > We just deployed Nick's work at > > https://github.com/D-Programming-Language/dlang.org/pull/726, which enables > > jump-to n

Re: Phobos colour module?

2015-01-07 Thread via Digitalmars-d
On Wednesday, 7 January 2015 at 20:57:51 UTC, Xavier Bigand wrote: I think it can be interesting to provide some string formats can be directly converted into color structures. For example : - plain color names : "red", "blue", "light gray",... - hexadecimal : "#FF3CBB", "#FF3CBBAA" (same wit

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread weaselcat via Digitalmars-d
On Wednesday, 7 January 2015 at 23:30:01 UTC, MattCoder wrote: On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu wrote: ... from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods. Thanks, Nick! Well done! I just think that would be nice to h

Re: Even better navigation - thanks Nick Treleaven!

2015-01-07 Thread Andrei Alexandrescu via Digitalmars-d
On 1/7/15 3:30 PM, MattCoder wrote: On Wednesday, 7 January 2015 at 23:18:03 UTC, Andrei Alexandrescu wrote: ... from http://dlang.org/phobos/std_array.html#.Appender one can jump easily to its methods. Thanks, Nick! Well done! I just think that would be nice to have a link to "go back" (Like

Re: Phobos colour module?

2015-01-07 Thread Manu via Digitalmars-d
Ah yeah, supporting w3c standards is probably a sensible move. On 08/01/2015 9:55 am, "via Digitalmars-d" wrote: > On Wednesday, 7 January 2015 at 20:57:51 UTC, Xavier Bigand wrote: > >> I think it can be interesting to provide some string formats can be >> directly converted into color structure

Re: @api: One attribute to rule them All

2015-01-07 Thread Zach the Mystic via Digitalmars-d
Martin Nowak is the one who created the issue for this enhancement request: https://issues.dlang.org/show_bug.cgi?id=10979 He proposes a different solution though - creating two mangled names for each function. The advantage, as far as I can see it, is that you wouldn't even have to add "@api

Re: @api: One attribute to rule them All

2015-01-07 Thread Zach the Mystic via Digitalmars-d
On Thursday, 8 January 2015 at 04:43:50 UTC, Zach the Mystic wrote: https://issues.dlang.org/show_bug.cgi?id=10979 Whoops! The link is: https://issues.dlang.org/show_bug.cgi?id=10924

Re: @api: One attribute to rule them All

2015-01-07 Thread Zach the Mystic via Digitalmars-d
On Monday, 5 January 2015 at 21:15:00 UTC, Zach the Mystic wrote: https://github.com/D-Programming-Language/dmd/pull/1877 Deep into the discussion on the above pull, Walter responds to this comment of Kenji's: "I think this kind of optimization should be hidden after the semantic phase - as

Re: Ready to make page-per-item ddocs the default?

2015-01-07 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-07 23:35, Andrei Alexandrescu wrote: The way I see this, these items are good to have and by nature of our process will be deployed (if at all) incrementally by whomever is interested in implementing them. We can't afford to block progress of docs layout on this possibility. -- Andrei