https://issues.dlang.org/show_bug.cgi?id=7714
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=4780
Andrei Alexandrescu and...@erdani.com changed:
What|Removed |Added
Version|D1 D2 |D2
--
:
../d-programming-language.org/std.ddoc
-Df../d-programming-language.org/web/phobos/std_algorithm.html std/algorithm.d
std/c/string.d(12): Error: module string is in file 'core/stdc/string.d' which
cannot be read
Somehow, I cut off the full compile line. This should be:
../dmd.2.058/src/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=7714
Summary: Building d-programming-language.org fails to build
phobos when built with multiple jobs.
Product: D
Version: D2
Platform: All
OS/Version: Linux
Status
On 1/15/12 9:19 AM, Andrei Alexandrescu wrote:
On 1/15/12 7:09 AM, Peter Alexander wrote:
I'm not particularly well versed in Makefile ethics, but this caught me
by surprise.
Suppose I clone d-programming-language.org into my home directory (as I
did), do some work, then later on run make
I'm not particularly well versed in Makefile ethics, but this caught me
by surprise.
Suppose I clone d-programming-language.org into my home directory (as I
did), do some work, then later on run make clean.
git clone https://.../d-programming-language.org.git
cd d-programming-language.org
On 2012-01-15 14:28, mta`chrono wrote:
If I had a web dir in my home directory (not exactly uncommon), it would
have been deleted without warning. Luckily, I didn't. I now have it
cloned into a separate dir where it can do no harm.
Is it normal for Makefiles to be so intrusive? IMO, Makefiles
On 1/15/12 7:09 AM, Peter Alexander wrote:
I'm not particularly well versed in Makefile ethics, but this caught me
by surprise.
Suppose I clone d-programming-language.org into my home directory (as I
did), do some work, then later on run make clean.
git clone https://.../d-programming
http://d.puremagic.com/issues/show_bug.cgi?id=6020
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Turns out all .htaccess use was disabled by the admin (Jan Knepper). He
added the redirect straight to the config file of the server.
Now everything with the prefix http://digitalmars.com/d/2.0/ or
http://www.digitalmars.com/d/2.0/ should redirect to the respective page
on d-programming
/ should redirect to the respective
page on d-programming-language.org.
Let us know how that works!
Thanks,
Andrei
It seems to be working quite nicely.
My old bookmarks now redirect to exactly what they should.
Thank you.
Hello,
I wrote this to the site admin (Jan Knepper) too. Walter and I are
trying to set up the digitalmars.com server such that all request for
pages under digitalmars.com/d/2.0/ go to the corresponding file in
d-programming-language.org/.
I experimented on my own website and here
Apache rewriting is the hardest thing in the world.
But I'd try putting a [R] at the end of that redirect line
and if it fails, check the error log.
tail /var/log/httpd/error_log
or whatever it is on your box. Sometimes there's something helpful
in there.
On 11/12/2011 7:45 PM, Andrei Alexandrescu wrote:
On 11/12/11 9:37 PM, Adam D. Ruppe wrote:
tail /var/log/httpd/error_log
or whatever it is on your box. Sometimes there's something helpful
in there.
The [R] applies to RewriteRule, not RedirectMatch.
Walter, could you please take a look at
On 11/12/11 9:37 PM, Adam D. Ruppe wrote:
Apache rewriting is the hardest thing in the world.
But I'd try putting a [R] at the end of that redirect line
and if it fails, check the error log.
tail /var/log/httpd/error_log
or whatever it is on your box. Sometimes there's something helpful
in
file in
d-programming-language.org/.
I experimented on my own website and here is the appropriate .htaccess
rule that works:
RedirectMatch ^/d/2\.0/(.*) http://d-programming-language.org/$1
With this, e.g.
http://digitalmars.com/d/2.0/phobos/std_algorithm.html
should automatically redirect
On 2011-07-05 08:31:46 +0300, Dmitry Olshansky said:
On 05.07.2011 1:10, bearophile wrote:
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even
currently impossible:
On Mon, 04 Jul 2011 16:16:04 -0400, eles e...@eles.com wrote:
Yes non-relase mode is slower, but we are probably talking
about a very significant slowdown here. A lot of integer math
happens in
D.
What about testing only for user selected variables/types?
That's fine, just define a new
On Mon, 04 Jul 2011 17:10:04 -0400, bearophile bearophileh...@lycos.com
wrote:
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even currently
impossible:
On 05.07.2011 10:35, Max Klyga wrote:
On 2011-07-05 08:31:46 +0300, Dmitry Olshansky said:
On 05.07.2011 1:10, bearophile wrote:
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even
currently
Note that I've proposed a solution elsewhere to use c* (i.e. cint,
clong,
cuint, culong, etc.) to mean checked integral, then you can alias
it to
int or alias it to your struct type depending on debug flags you
pass to
dmd. This should be a reasonable solution, I might actually use it
in
eles wrote:
...
It does not mean that dormant bugs like overflows cannot exist and,
in the long run, they could be as dangerous (for example, they may
also lead to memory corruption if positive index becomes...
negative - ie. overflows). Besides, yes, memory corruption is a
dangerous bug but
I have an idea - how about the notation Uncircular!uint to designate
such a type?
Andrei
Either put it into the standard language, either I have a better one.
what about dropping printf and start using:
mov ah, 9
int 0x21
instead?
I am sure it can be done. So, why not dropping all D and
On 7/3/11 3:50 PM, bearophile wrote:
Andrei:
Safe on top of flexible is the best design. If there is anything
preventing you from defining a type with the behavior you mention,
you may want to file a bug.
I am not a believer. Compile time/run time integral overflows to be
good enough need to
On 7/4/11 1:49 PM, eles wrote:
I have an idea - how about the notation Uncircular!uint to designate
such a type?
Andrei
Either put it into the standard language, either I have a better one.
what about dropping printf and start using:
mov ah, 9
int 0x21
instead?
I am sure it can be done.
Automatic built-in overflow checking is a choice in the language
design
space that has distinct consequences. It's easy to execute in the
compiler so the entry barrier is low. To claim that language designers
who didn't go that way simply missed the point makes for a weak story.
Andrei
Well,
On Mon, 04 Jul 2011 14:49:03 -0400, eles e...@eles.com wrote:
I have an idea - how about the notation Uncircular!uint to designate
such a type?
Andrei
Either put it into the standard language, either I have a better one.
what about dropping printf and start using:
mov ah, 9
int 0x21
Steven Schveighoffer:
To the point -- lots of existing D and C code uses the properties of
integer overflow. If integer overflow is assumed to be an error, then
that code is broken, even though the code *expects* overflow to occur, and
in fact might *depend* on it occurring.
In this
I think that's a really good idea. I'm sure there's a great assembly
newsgroup or forum where you can post your ideas and mock the D
community
for the bunch of boobs that we are.
For the record, I have nothing against the D community. Nor against the
D language and I wouldn't spend time here
On Mon, 04 Jul 2011 15:48:12 -0400, bearophile bearophileh...@lycos.com
wrote:
Steven Schveighoffer:
To the point -- lots of existing D and C code uses the properties of
integer overflow. If integer overflow is assumed to be an error, then
that code is broken, even though the code
Yes non-relase mode is slower, but we are probably talking
about a very significant slowdown here. A lot of integer math
happens in
D.
What about testing only for user selected variables/types?
I think a much more effective fix for the language would be to make
slice
length a signed type.
eles wrote:
Yes non-relase mode is slower, but we are probably talking
about a very significant slowdown here. A lot of integer math
happens in
D.
What about testing only for user selected variables/types?
[snip.]
How is Uncircular!uint not up to that particular task? Arguably, it can be
On 7/4/11 2:48 PM, bearophile wrote:
Steven Schveighoffer:
To the point -- lots of existing D and C code uses the properties
of integer overflow. If integer overflow is assumed to be an
error, then that code is broken, even though the code *expects*
overflow to occur, and in fact might
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even currently
impossible:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.Darticle_id=139950
I don't want
runtime errors
Andrei:
unsafe(overflows) { // code here }
This approach has a number of issues.
This approach is the one used by Delphi, Ada and C# (C# has a way to specify
even inside a single expression), so somehow it's doable.
First, addressing transitivity is difficult. If the code in such a scope
On 7/4/2011 12:48 PM, bearophile wrote:
In this case you wrap the code in something that allows it to overflow without
errors, like:
unsafe(overflows) {
// code here
}
Regardless of the merits of doing overflow checks, this is the completely wrong
way to go about it.
This must be a
On 7/4/11 4:40 PM, bearophile wrote:
Andrei:
unsafe(overflows) { // code here }
This approach has a number of issues.
This approach is the one used by Delphi, Ada and C# (C# has a way to
specify even inside a single expression), so somehow it's doable.
I didn't say it wasn't doable.
Since I didn't see this being mentioned anywhere, I thought I'd mention
it...
On 7/4/2011 1:58 PM, Andrei Alexandrescu wrote:
On 7/4/11 2:48 PM, bearophile wrote:
In this case you wrap the code in something that allows it to
overflow without errors, like:
unsafe(overflows) { // code here }
On 7/4/2011 7:38 PM, Mehrdad wrote:
Actually, there is **NO** performance issue -- at least not in C#. In
fact, if you run this program (with or without optimizations), you will
see that they're literally the same almost all the time:
using System;
static class Program
{
static long globalVar
On 7/4/11 7:38 PM, Mehrdad wrote:
Since I didn't see this being mentioned anywhere, I thought I'd mention
it...
On 7/4/2011 1:58 PM, Andrei Alexandrescu wrote:
On 7/4/11 2:48 PM, bearophile wrote:
In this case you wrap the code in something that allows it to
overflow without errors, like:
On 7/4/2011 5:38 PM, Mehrdad wrote:
Actually, there is **NO** performance issue -- at least not in C#. In fact, if
you run this program (with or without optimizations), you will see that they're
literally the same almost all the time:
It's a bit extraordinary that there is no cost in executing
On 05.07.2011 1:10, bearophile wrote:
Steven Schveighoffer:
Or, use a separate type which throws the errors if you wish.
I have recently explained why this is not good enough, or even currently
impossible:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral promotion rules and operator precedence rules were kept the
same - to make code that looks the same as in C operate
On Jul 4, 11 02:40, eles wrote:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral promotion rules and operator precedence rules were kept the
same - to make code that
On 7/3/2011 11:40 AM, eles wrote:
I know that is implemented that way (and vala and python went with
it). What would be the cost to replace those X..Y with X..(Y-1)?
Aren't the above reasons worthy to consider such a change?
Regardless of the merits of your argument, such a change will
On 7/3/11 8:40 PM, eles wrote:
-logic (not just code-writing or compile-writing easiness) consistency
-the fact that multi-dimensional slicing (possibly, a future feature)
is far more convenient when x..y is inclusive (just imagine
remembering which those elements are left out on those many-
Am 03.07.2011 20:40, schrieb eles:
2. http://www.d-programming-language.org/faq.html#case_range (Why
doesn't the case range statement use the case X..Y: syntax?)
saying that Case (1) has a VERY DIFFERENT meaning from (2) and (3).
(1) is inclusive of Y, and (2) and (3) are exclusive of Y.
eles wrote:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral promotion rules and operator precedence rules were kept the
same - to make code that looks the same
On 7/3/11 1:58 PM, KennyTM~ wrote:
On Jul 4, 11 02:40, eles wrote:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral promotion rules and operator precedence rules
On Jul 4, 11 04:16, Andrei Alexandrescu wrote:
On 7/3/11 1:58 PM, KennyTM~ wrote:
On Jul 4, 11 02:40, eles wrote:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral
On 7/3/11 1:40 PM, eles wrote:
1. please update http://www.d-programming-language.org/faq.html#q6
(Why fall through on switch statements?).
The reason D doesn't change this is for the same reason that
integral promotion rules and operator precedence rules were kept the
same - to make code that
Andrei:
Safe on top of flexible is the best design. If there is anything
preventing you from defining a type with the behavior you mention, you
may want to file a bug.
I am not a believer. Compile time/run time integral overflows to be good
enough need to be built-in, more than associative
Regardless of the merits of your argument, such a change will
silently break
nearly every D program out there. It's way, way too late.
forbid/or no the former (..) and introduce a new one (...)
2..4 = 2, 3
2...4 = 2, 3, 4
2..4 = 2, 3
2...4 = 2, 3, 4
alternative syntaxes could be (:)
one could also have stepped ranges (inclusive or exclusive), let's
say:
1:2:5 = 1, 3, 5
although this is not so practical for the compiler (I think that
slices are kept through the pointer/length couple, so stepped slices
would
various arguments. Please don't bring this up again. Thank you.
I won't, but this is because I made that decision minutes ago.
Well, (almost) enough for now. I also maintain that unsigned types
should throw out-of-range exceptions (in debug mode, so that
release
will run as fast as it
On 7/3/11 4:23 PM, eles wrote:
various arguments. Please don't bring this up again. Thank you.
I won't, but this is because I made that decision minutes ago.
Even better.
Well, (almost) enough for now. I also maintain that unsigned types
should throw out-of-range exceptions (in debug mode,
What I meant:
Run-time: I have written an enhancement request for LLVM about optimizing much
better the simple operations needed to spot and use the overflows. LLVM dev
team has implemented it in 2.8 or 2.9. Such optimizations are not optional, if
you want people to use overflow tests they
http://d.puremagic.com/issues/show_bug.cgi?id=6020
Summary: Dead link:
http://d-programming-language.org/32-64-portability.ht
ml
Product: D
Version: D2
Platform: Other
OS/Version: Windows
Status
The links for Documentation: Language Reference gets hidden when you
click on any of the following four items:
o Lexical
o Templates
o Inline Assembler
o Documentation Comments
- Andrew
on Language Reference
(http://d-programming-language.org/language-reference.html).
The links for Documentation: Language Reference gets hidden when you
click on any of the following four items:
o Lexical
o Templates
o Inline Assembler
o Documentation Comments
- Andrew
on Language Reference
(http://d-programming-language.org/language-reference.html).
changes.
The result is in http://d-programming-language.org. It has (or at least
should have) no new content, only style changes. I added a simple site
index, see http://d-programming-language.org/siteindex.html. It's not
linked from anywhere but gives a good entry point for all pages
Gölgeliyele wrote:
Can the D logo (as in the github site:
https://secure.gravatar.com/avatar/1fe90c0586802aee103ff9ac0b8f3fbe?s=140d=https://github.com%2Fimages%2Fgravatars%2Fgravatar-140.png)
located on the left top area where the digital mars logo used to sit?
the empty space looks a little
changes.
The result is in http://d-programming-language.org. It has (or at least
should have) no new content, only style changes. I added a simple site
index, see http://d-programming-language.org/siteindex.html. It's not
linked from anywhere but gives a good entry point for all pages on the
site.
One
changes.
The result is in http://d-programming-language.org. It has (or at least
should have) no new content, only style changes. I added a simple site
index, see http://d-programming-language.org/siteindex.html. It's not
linked from anywhere but gives a good entry point for all pages on the
site
Ary Manzana
The only think I don't like is the background image. I mean, I like
the background, it just doesn't have to be an image. Each time I go to
another page it shows me a white page and then loads everything.
That's not the image's fault. The image is cached and background
loaded, so
On Sun, 30 Jan 2011 03:03:08 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
I've had some style updates from David Gileadi rotting in a zip file in
my inbox for a good while. It took me the better part of today to
manually merge his stale files with the ones in the
On 1/31/11 11:50 AM, Steven Schveighoffer wrote:
BTW, in perusing the site, I noticed the language reference does not
contain a navigation menu. I can only get to the lexical page, not any
other pages of the language reference.
Andrei e-mailed me about this. It's due to some Ddoc macros that
On 1/31/11 12:50 PM, Steven Schveighoffer wrote:
On Sun, 30 Jan 2011 03:03:08 -0500, Andrei Alexandrescu
seewebsiteforem...@erdani.org wrote:
I've had some style updates from David Gileadi rotting in a zip file
in my inbox for a good while. It took me the better part of today to
manually merge
-language.org. It has (or at least
should have) no new content, only style changes. I added a simple site
index, see http://d-programming-language.org/siteindex.html. It's not
linked from anywhere but gives a good entry point for all pages on the
site.
One other link of possible interest is
http
Andrei Alexandrescu napisał:
In agreement with Walter, I removed the Digitalmars reference. The
message is simple - D has long become an entity independent from the
company that created it. (However, this makes the page header look
different and probably less visually appealing.)
The
On 01/30/2011 09:03 AM, Andrei Alexandrescu wrote:
In agreement with Walter, I removed the Digitalmars reference. The message is
simple - D has long become an entity independent from the company that created
it. (However, this makes the page header look different and probably less
visually
is in http://d-programming-language.org. It has (or at least
should have) no new content, only style changes. I added a simple site
index, see http://d-programming-language.org/siteindex.html. It's not
linked from anywhere but gives a good entry point for all pages on the
site.
One other
-Language/d-programming-language.org
--
Best regards,
Vladimirmailto:vladi...@thecybershadow.net
://github.com/D-Programming-Language/d-programming-language.org
o wow, somehow I missed that. That's great!
Looks good. May I use it on d-programming-language.org?
Andrei
This should be answered by Marcel Martin. (I will send a copy of this
email to the email-address on the website)
I've found this image through this website:
http://dlogo.chinese-blog.org/
greets
Matthias
For now I snatched
Matthias Pleh wrote:
... there is already a SVG logo for the D-man since 5 years, but
obviousily it get not adopted :/
http://w148.de/~mmartin/d/logo.html
Looks good. May I use it on d-programming-language.org?
This should be answered by Marcel Martin. (I will send a copy of this
email
/~mmartin/d/logo.html
Looks good. May I use it on d-programming-language.org?
Andrei
I could have a crack at cleanly redesigning C-man and the C++-anchor using my
n#822;o#822;n#822;-#822;e#822;x#822;i#822;s#822;t#822;e#822;n#822;t#822;
Inkscape skills, if I get a moment or two of spare time
Am 2010-09-02 14:46, schrieb retard:
Thu, 02 Sep 2010 13:31:03 +0100, Gareth Charnock wrote:
PS: Google Chrome on a 1680x1050 resolution display.
I'm afraid I really like the red flare; it makes the website look more
visually appealing. A solid background colour would just look blander.
The main page has a quote from Michael. Who the hell is Michael? The
Michael? The archangel?
On Fri, Dec 31, 2010 at 3:45 AM, Thomas Mader thomas.ma...@gmail.comwrote:
Am 2010-09-02 14:46, schrieb retard:
Thu, 02 Sep 2010 13:31:03 +0100, Gareth Charnock wrote:
PS: Google Chrome on a
On 2010-12-31 10:45, Thomas Mader wrote:
[...]
How about a new logo for D in general? Are there any plans to make a
contest or something similar to create a new D logo which has a modern
looking design?
vote ++
I also think that making the site valid is a very important thing, so
are
Am 2010-12-31 11:35, schrieb Matthias Pleh:
On 2010-12-31 10:45, Thomas Mader wrote:
I also think that making the site valid is a very important thing, so
are there any plans to do so? If nobody wants it to do I could help.
I think a better marketing of the D community would not only attract
On 2010-12-31 11:40, Thomas Mader wrote:
Am 2010-12-31 11:35, schrieb Matthias Pleh:
On 2010-12-31 10:45, Thomas Mader wrote:
I also think that making the site valid is a very important thing, so
are there any plans to do so? If nobody wants it to do I could help.
I think a better marketing
for
d-programming-language.org.
Andrei
:
We need a more professional looking SVG version of the D man then!
... there is already a SVG logo for the D-man since 5 years, but
obviousily it get not adopted :/
http://w148.de/~mmartin/d/logo.html
Looks good. May I use it on d-programming-language.org?
Andrei
On Fri, 31 Dec 2010 09:30:54 -0600
Andrei == Andrei Alexandrescu wrote:
Andrei Looks good. May I use it on d-programming-language.org?
How is it that I didn't know before about that site?
Sincerely,
Gour
--
Gour | Hlapicina, Croatia | GPG key: CDBF17CA
BTW:
Am 2010-09-02 14:46, schrieb retard:
We need a more professional looking SVG version of the D man then!
... there is already a SVG logo for the D-man since 5 years, but
obviousily it get not adopted :/
http://w148.de/~mmartin/d/logo.html
Looks good. May I use it on d-programming
:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier
to
navigate. Here's what the docs look like with their old design:
http://imgur.com/8Vdrj.jpg
Now, that's quite a mess to look at. The text isn't aligned
:04 PM, Andrej Mitrovic wrote:
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little
easier to
navigate. Here's what the docs look like with their old
Andrei Alexandrescu wrote:
I'll share the tool when it's more complete, if this is something
that is
wanted for phobos I am willing to put it together.
Yes please. Other Phobosites?
Andrei
I'm sorry, I did not understand what you meant.
On Sat, 11 Dec 2010 11:56:25 -0600
Jimmy Cao jcao...@gmail.com wrote:
With the json files dmd produces it can be automated, and you can do it the
ddoc way (so latex and other formats would also be supported.) A
disadvantage is that ddoc processor has to be ran twice plus an additional
pass
On 12/11/10 1:33 PM, Lutger Blijdestijn wrote:
Andrei Alexandrescu wrote:
I'll share the tool when it's more complete, if this is something
that is
wanted for phobos I am willing to put it together.
Yes please. Other Phobosites?
Andrei
I'm sorry, I did not understand what
I don't know JavaScript but I've managed to make it look similar if it
helps. Methods for classes and structs don't show.
http://imgur.com/rfRUc.jpg
On 12/10/10 12:38 AM, duckett wrote:
I don't know JavaScript but I've managed to make it look similar if it
helps. Methods for classes and structs don't show.
http://imgur.com/rfRUc.jpg
Looks interesting, could you please share the code in a bugzilla
enhancement report?
And welcome aboard!
http://d.puremagic.com/issues/show_bug.cgi?id=5339
On Thu, 09 Dec 2010 23:04:22 -0500, Andrej Mitrovic and...@none.net
wrote:
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier
to navigate. Here's what the docs look like
Andrei Alexandrescu wrote:
On 12/9/10 8:04 PM, Andrej Mitrovic wrote:
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier to
navigate. Here's what the docs look like
The D website is 404'ing for the library page:
http://d-programming-language.org/phobos/phobos.html
And I've had an idea to make the documentation website a little easier to
navigate. Here's what the docs look like with their old design:
http://imgur.com/8Vdrj.jpg
Now, that's quite a mess
Andrej Mitrovic and...@none.net wrote in message
news:ids8s6$21g...@digitalmars.com...
And I've had an idea to make the documentation website a little easier to
navigate. Here's what the docs look like with their old design:
http://imgur.com/8Vdrj.jpg
Now, that's quite a mess to look at.
1 - 100 of 199 matches
Mail list logo