On Sun, 03 Jun 2012 18:43:28 +0200, Sönke Ludwig
slud...@outerproduct.org wrote:
- mysql-native: native port of a MySQL client driver that Steve Teale
has written some time ago - this one could use a maintainer who is
actually using MySQL...
I have started a cleanup branch:
Sönke Ludwig slud...@outerproduct.org wrote in message
news:jqg47l$qem$1...@digitalmars.com...
Version 0.7.4 is a larger release after some releases that were mostly for
bugfixing and performance tuning. There have been a lot of improvements
and fixes since the first release in april. The
On Saturday, 2 June 2012 at 17:37:46 UTC, Russel Winder wrote:
On Sat, 2012-06-02 at 13:44 +0200, Jacob Carlborg wrote:
http://digitalmars.com/gift/index.html
The second one with the 4 Macroscopic Maxwell Equations,
perhaps ought
to be replaced with one using the far more sophisticated
On Saturday, 2 June 2012 at 18:30:50 UTC, Walter Bright wrote:
On 6/2/2012 4:42 AM, Jacob Carlborg wrote:
On Saturday, 2 June 2012 at 11:22:16 UTC, Oleg wrote:
Hello everybody, i am interesting about D language, and i
think many
programmers would like to advance in popularity D language,
can
On Sun, 2012-06-03 at 09:42 +0200, David Nadlinger wrote:
On Saturday, 2 June 2012 at 17:37:46 UTC, Russel Winder wrote:
On Sat, 2012-06-02 at 13:44 +0200, Jacob Carlborg wrote:
http://digitalmars.com/gift/index.html
The second one with the 4 Macroscopic Maxwell Equations,
perhaps
On 6/2/2012 6:59 AM, Russel Winder wrote:
On Sat, 2012-06-02 at 13:44 +0200, Jacob Carlborg wrote:
http://digitalmars.com/gift/index.html
The second one with the 4 Macroscopic Maxwell Equations, perhaps ought
to be replaced with one using the far more sophisticated 4-vector
representation:
On 6/3/2012 1:12 AM, Jonas Drewsen wrote:
Would be nice if there was a tshirt with the new D logo. Something like
http://www.blender3d.org/e-shop/product_info_n.php?products_id=141
How do you upload the prints to cafepress? Maybe someone on this list can create
something cool looking. Anyone?
On Saturday, 2 June 2012 at 11:42:22 UTC, Jacob Carlborg wrote:
On Saturday, 2 June 2012 at 11:22:16 UTC, Oleg wrote:
Hello everybody, i am interesting about D language, and i
think many programmers would like to advance in popularity D
language, can we give donations to D development and how?
DMD 2.059:
struct S{
immutable x = [1];
immutable y = 1;
}
void main(){
writeln(S.x);// ok
writeln(S.x); // ok
writeln(S.y);// ok
// writeln(S.y);// error
with(S) writeln(y); // ok (but resulting pointer is wrong)
}
This behaviour is
On Sun, 03 Jun 2012 15:40:32 +0200, Timon Gehr timon.g...@gmx.ch wrote:
DMD 2.059:
struct S{
immutable x = [1];
immutable y = 1;
}
void main(){
writeln(S.x);// ok
writeln(S.x); // ok
writeln(S.y);// ok
// writeln(S.y);// error
On 06/03/12 17:31, Simen Kjaeraas wrote:
On Sun, 03 Jun 2012 15:40:32 +0200, Timon Gehr timon.g...@gmx.ch wrote:
DMD 2.059:
struct S{
immutable x = [1];
immutable y = 1;
}
void main(){
writeln(S.x);// ok
writeln(S.x); // ok
writeln(S.y);
On 06/03/2012 06:18 PM, Artur Skawina wrote:
On 06/03/12 17:31, Simen Kjaeraas wrote:
On Sun, 03 Jun 2012 15:40:32 +0200, Timon Gehrtimon.g...@gmx.ch wrote:
DMD 2.059:
struct S{
immutable x = [1];
immutable y = 1;
}
void main(){
writeln(S.x);// ok
On Friday, 1 June 2012 at 01:57:36 UTC, kenji hara wrote:
I'd like to propose a new language feature to D community.
...
This patch is an additional enhancement of opDollar (issue 3474
and #442).
Sounds awesome. However, the name opDollar should be changed to
something like opSize, opLength,
Le 01/06/2012 22:55, Sean Kelly a écrit :
On Jun 1, 2012, at 5:26 AM, deadalnix wrote:
The main drawback is the same as opApply : return (and break/continue but it is
less relevant for opSynchronized). Solution to this problem have been proposed
in the past using compiler and stack magic.
On Sun, Jun 3, 2012 at 12:29 PM, deadalnix deadal...@gmail.com wrote:
Le 01/06/2012 22:55, Sean Kelly a écrit :
On Jun 1, 2012, at 5:26 AM, deadalnix wrote:
The main drawback is the same as opApply : return (and break/continue
but it is less relevant for opSynchronized). Solution to this
Am 30.05.2012 11:11, schrieb deadalnix:
D already have much better tools that the one java provide
(std.concurency, std.parallelism, TLS by default, transitive type
qualifiers, . . .) that most these thing taken from java don't make any
sense now.
For instance, what is the point of being
Am 31.05.2012 08:47, schrieb Jacob Carlborg:
What should have been done is something like this:
1. Designing feature X
2. Show the new feature for the community
3. Consider the feedback and possible tweak/redesign
4. Implementing in an experimental branch of the compiler
5. Release an
*From:* mta`chrono chr...@mta-international.net
*Sent:* Sunday, June 3, 2012 14:38:31
*To:* digitalmars-d@puremagic.com
*Subject:* Re: synchronized (this[.classinfo]) in druntime and phobos
Am 30.05.2012 11:11, schrieb deadalnix:
D already have much better tools that the one java provide
This pull [1] adds std.net.curl to the Windows makefiles (it has
been missing for the last couple of releases). It'd be great if
this could be merged before the next release. Denis figured out
what was preventing the autotester from working (this is what
prevented my pulls to fix this from
On 04-06-2012 00:00, Andrew Wiley wrote:
*From:* mta`chrono chr...@mta-international.net
mailto:chr...@mta-international.net
*Sent:* Sunday, June 3, 2012 14:38:31
*To:* digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com
*Subject:* Re: synchronized (this[.classinfo]) in druntime
Le 03/06/2012 21:40, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 12:29 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 01/06/2012 22:55, Sean Kelly a écrit :
On Jun 1, 2012, at 5:26 AM, deadalnix wrote:
The main drawback is the same as opApply
On Sun, Jun 3, 2012 at 4:39 PM, deadalnix deadal...@gmail.com wrote:
Le 03/06/2012 21:40, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 12:29 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 01/06/2012 22:55, Sean Kelly a écrit :
On Jun 1, 2012, at 5:26 AM,
Le 01/06/2012 22:35, Walter Bright a écrit :
On 6/1/2012 11:14 AM, deadalnix wrote:
We are talking about runing scope statement and finally when unwiding
the stack,
not trying to continue the execution of the program.
Which will be running arbitrary code not anticipated by the assert
failure,
Le 04/06/2012 02:03, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 4:39 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 03/06/2012 21:40, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 12:29 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com
On Sun, Jun 3, 2012 at 5:13 PM, deadalnix deadal...@gmail.com wrote:
Le 04/06/2012 02:03, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 4:39 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 03/06/2012 21:40, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at
On 04-06-2012 02:03, Andrew Wiley wrote:
On Sun, Jun 3, 2012 at 4:39 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 03/06/2012 21:40, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 12:29 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com
Le 04/06/2012 02:21, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 5:13 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com wrote:
Le 04/06/2012 02:03, Andrew Wiley a écrit :
On Sun, Jun 3, 2012 at 4:39 PM, deadalnix deadal...@gmail.com
mailto:deadal...@gmail.com
On Sun, Jun 03, 2012 at 10:12:27AM +0200, Jonas Drewsen wrote:
[...]
Would be nice if there was a tshirt with the new D logo. Something
like
http://www.blender3d.org/e-shop/product_info_n.php?products_id=141
How do you upload the prints to cafepress? Maybe someone on this list
can create
On Sunday, June 03, 2012 18:42:25 H. S. Teoh wrote:
There's a new D logo? Where?
Look at dlang.org. That logo in the top-left is fairly new. It didn't exist
when digitalmars.com was D's main website.
- Jonathan M Davis
I think this should work:
[code]
import std.stdio;
class Foo(T) {
public:
T Num;
@property
Foo!(U) ConvertTo(U)() inout {
return cast(Foo!(U)) this;
}
alias ConvertTo this;
}
void Call(const Foo!(float) FFoo) {
}
void
On 06/03/2012 08:43 PM, Namespace wrote:
I think this should work:
[code]
import std.stdio;
class Foo(T) {
public:
T Num;
@property
Foo!(U) ConvertTo(U)() inout {
return cast(Foo!(U)) this;
}
alias ConvertTo this;
}
void Call(const Foo!(float) FFoo) {
}
Fail.
Ok, i tried something like this:
[code]
import std.stdio;
mixin template TConvertTo(T : Object, U) {
T!(U) ConvertTo() inout {
return cast(T!U) this;
}
alias ConvertTo this;
}
class Foo(T) {
public:
T Num;
mixin
On Sat, May 26, 2012 at 09:53:07PM +0200, Andrej Mitrovic wrote:
I don't understand this:
import std.stdio;
struct Symbol { string val; }
void main()
{
int[string] hash1;
hash1[1.idup] = 1;
hash1[1.idup] = 2;
writeln(hash1); // writes [1:2]
int[Symbol] hash2;
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #9 from Denis Shelomovskij verylonglogin@gmail.com 2012-06-03
10:23:09 MSD ---
Such a mess! The more people write here the more different opinions I see.
IMHO, Walter and Andrei must also participate here to help with
http://d.puremagic.com/issues/show_bug.cgi?id=8189
Summary: const ref foreach iteration too
Product: D
Version: D2
Platform: x86
OS/Version: Windows
Status: NEW
Keywords: rejects-valid
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=8189
--- Comment #1 from bearophile_h...@eml.cc 2012-06-03 03:51:16 PDT ---
In a related issue I reported:
void main() {
const(int)[] array;
foreach (const i; array) {}
}
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=3290
--- Comment #4 from bearophile_h...@eml.cc 2012-06-03 03:52:23 PDT ---
While testing this I have opened Issue 8189
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are receiving this mail because:
http://d.puremagic.com/issues/show_bug.cgi?id=8190
Summary: Externally defined struct error message
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: diagnostic
Severity: major
http://d.puremagic.com/issues/show_bug.cgi?id=6579
Gor Gyolchanyan g...@boloneum.com changed:
What|Removed |Added
CC||g...@boloneum.com
http://d.puremagic.com/issues/show_bug.cgi?id=8191
Summary: cstream is completely unusable on x86_64
Product: D
Version: D2
Platform: x86_64
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #10 from art.08...@gmail.com 2012-06-03 06:28:09 PDT ---
(In reply to comment #7)
argument value is all the data reachable via the parameters. Argument result
is all the data reachable via the result.
[...]
the optimizer. My
http://d.puremagic.com/issues/show_bug.cgi?id=6579
--- Comment #5 from art.08...@gmail.com 2012-06-03 06:42:55 PDT ---
(In reply to comment #4)
It hinders overloading. For so long I wanted to be able to have both static
and
non-static opDispatch and opCall and couldn't because of this.
http://d.puremagic.com/issues/show_bug.cgi?id=6579
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #6
http://d.puremagic.com/issues/show_bug.cgi?id=6579
--- Comment #7 from art.08...@gmail.com 2012-06-03 07:54:14 PDT ---
(In reply to comment #6)
Slightly refining the overloading rules as proposed in issue 3345 would
already
solve the problem.
struct T{
static void foo(){...}
http://d.puremagic.com/issues/show_bug.cgi?id=8192
Summary: inconsistent behavior of initialized immutable
instance fields
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=7995
d...@dawgfoto.de changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=8192
--- Comment #1 from timon.g...@gmx.ch 2012-06-03 10:23:29 PDT ---
Better test case:
struct S{ immutable y = 1; }
void main(){
assert(S.y==1); // ok
assert(S.y!is null); // compile error
with(S){
assert(y!is null); //
http://d.puremagic.com/issues/show_bug.cgi?id=7995
--- Comment #8 from github-bugzi...@puremagic.com 2012-06-03 10:21:08 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime
http://d.puremagic.com/issues/show_bug.cgi?id=8193
Summary: wrong error message on escaping initialized immutable
instance field
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=8192
art.08...@gmail.com changed:
What|Removed |Added
CC||art.08...@gmail.com
--- Comment
http://d.puremagic.com/issues/show_bug.cgi?id=8185
timon.g...@gmx.ch changed:
What|Removed |Added
CC||timon.g...@gmx.ch
--- Comment #11
http://d.puremagic.com/issues/show_bug.cgi?id=8192
--- Comment #3 from art.08...@gmail.com 2012-06-03 12:25:49 PDT ---
A better example:
struct S { immutable int x = 1; int y; }
struct S2 { immutable int x; int y; }
void main(){
S s;
S2 s2;
static
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #12 from art.08...@gmail.com 2012-06-03 12:46:28 PDT ---
(In reply to comment #11)
Pointers may only access their own memory blocks, therefore exactly those
blocks participate in argument value and return value.
What does 'their
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #14 from art.08...@gmail.com 2012-06-03 13:52:53 PDT ---
(In reply to comment #13)
(In reply to comment #12)
(In reply to comment #11)
Pointers may only access their own memory blocks, therefore exactly those
blocks
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #15 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-03 14:40:12
PDT ---
The _only_ thing that the pure attribute means by itself is that that function
cannot directly access any mutable global or static variables. That is _all_.
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #16 from art.08...@gmail.com 2012-06-03 15:50:29 PDT ---
(In reply to comment #15)
pure by itself indicates a weakly pure function. That function enables _zero_
Inventing terminology doesn't help, especially when the result is so
http://d.puremagic.com/issues/show_bug.cgi?id=8194
Summary: Function cannot access frame even though all I
requested was the type
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #17 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-03 16:02:19
PDT ---
They aren't _my_ definitions. They're official. They've been discussed in the
newsgroup. They've even been used by folks like Walter Bright in talks at
http://d.puremagic.com/issues/show_bug.cgi?id=8180
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=8195
Summary: Segfault when comparing a VariantN to a non-variant
type which it holds
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #18 from Denis Shelomovskij verylonglogin@gmail.com
2012-06-04 09:38:21 MSD ---
(In reply to comment #15)
I really don't know how the documentation could be much clearer.
Once it will have examples showing what asserts have
http://d.puremagic.com/issues/show_bug.cgi?id=8185
--- Comment #19 from Jonathan M Davis jmdavisp...@gmx.com 2012-06-03 22:58:33
PDT ---
I honestly don't understand why much in the way of examples are needed. The
documentation explains what pure is. When the compiler is able to optimize out
62 matches
Mail list logo