Joseph Rushton Wakeling:
Well, I guess the best thing would be just to write here, I
license the code under the terms of the Boost license or
something similar (public domain is in some ways less good
because not every jurisdiction recognizes it, but as far as I'm
concerned it's fine too).
On Saturday, 14 September 2013 at 16:46:06 UTC, Buk wrote:
Hi all,
I've read http://dlang.org/dll.html, and frankly there seems to
be a lot of boilerplate rote process to build a DLL.
I realise that many of the do nothing functions /can/ be used
to do a lot more; and these may be required
On Tuesday, 17 September 2013 at 16:05:13 UTC, Buk wrote:
Thanks for the help guys.
Sorry for the silence. It has just happened that your question
touches relatively under-explored area of the language and thus
finding someone with actual experience on topic is hard. I don't
even know if we
On Sep 17, 2013, at 4:14 AM, Temtaime temta...@gmail.com wrote:
I cannot use the delete/destroy. I want to call dtor at all unreferenced
objects.
Manual from Dlang size says that GC.collect triggers a full collection. But
it doesn't.
It does. But the collector isn't guaranteed to collect
On 14.09.2013 18:46, Buk wrote:
Hi all,
I've read http://dlang.org/dll.html, and frankly there seems to be a lot
of boilerplate rote process to build a DLL.
I realise that many of the do nothing functions /can/ be used to do a
lot more; and these may be required for some purposes. But, for
On 09/16/2013 01:24 PM, Marek Janukowicz wrote:
static string[string] columns () {
// ...
}
Although the function itself is static, it returns a dynamic value.
foreach( attr, col; columns() ) {
__traits(getMember, me, attr) = typeof(__traits(getMember, me,
attr)).init;
On Wednesday, 18 September 2013 at 01:24:37 UTC, Ali Çehreli
wrote:
As far as I know, static foreach is only for tuples (or
TypeTuples)
TypeTuples are tuples. Sortof. We really need to get that whole
situation sorted
On Wed, Sep 18, 2013 at 04:12:01AM +0200, John Colvin wrote:
On Wednesday, 18 September 2013 at 01:24:37 UTC, Ali Çehreli wrote:
As far as I know, static foreach is only for tuples (or TypeTuples)
TypeTuples are tuples. Sortof. We really need to get that whole
situation sorted
Not to
// Simple function called for unsigned integers:
static
ubyte[] packVarint(T)( T value )
if( isIntegral!T isUnsigned!T )
out( arr )
{
T d;
size_t size = d.unpackVarint( arr[0] );
import std.stdio;
import std.conv;
writeln( out contract, type=, typeid(T), isUnsigned=,
(question is not about function body realisation - body just
don't receives right argument value)
This may have been discussed before, but I'm not sure whether this is a bug
or not. In any case it's a bit confusing.
struct Foo2{
this(T...)(T args){
assert(0);
}
}
void main(){
auto a2=Foo2();//doesn't call assert(0) (ie this(T...) not called)
}
http://d.puremagic.com/issues/show_bug.cgi?id=11053
--- Comment #7 from github-bugzi...@puremagic.com 2013-09-17 00:34:49 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/phobos
http://d.puremagic.com/issues/show_bug.cgi?id=11055
Summary: Regression (2.064 git-head): 'pure' function prevents
its in-contract from checking parameters
Product: D
Version: D2
Platform: All
OS/Version: All
http://d.puremagic.com/issues/show_bug.cgi?id=9571
Kenji Hara k.hara...@gmail.com changed:
What|Removed |Added
Keywords||pull
--- Comment #12
http://d.puremagic.com/issues/show_bug.cgi?id=9571
--- Comment #11 from Kenji Hara k.hara...@gmail.com 2013-09-17 01:26:10 PDT
---
(In reply to comment #10)
The root cause of this issues got hidden / fixed by
https://github.com/D-Programming-Language/dmd/pull/2550 (as only one template
http://d.puremagic.com/issues/show_bug.cgi?id=9571
--- Comment #13 from github-bugzi...@puremagic.com 2013-09-17 02:51:20 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/dmd
http://d.puremagic.com/issues/show_bug.cgi?id=10996
--- Comment #2 from Joseph Rushton Wakeling joseph.wakel...@webdrake.net
2013-09-17 03:09:41 PDT ---
The issue also affects module-level aliases, e.g.:
alias fun = Impl!int;
private template Impl(T)
{
void Impl(){}
}
http://d.puremagic.com/issues/show_bug.cgi?id=11053
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Component|Phobos |DMD
http://d.puremagic.com/issues/show_bug.cgi?id=11053
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Summary|Regression (2.064 |Recursive
http://d.puremagic.com/issues/show_bug.cgi?id=11054
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=11056
Summary: synchronized methods are marked shared in ddoc output
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: ddoc
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=11055
Henning Pohl henn...@still-hidden.de changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10981
Henning Pohl henn...@still-hidden.de changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=10976
--- Comment #2 from github-bugzi...@puremagic.com 2013-09-17 06:15:40 PDT ---
Commits pushed to master at https://github.com/D-Programming-Language/druntime
http://d.puremagic.com/issues/show_bug.cgi?id=11041
--- Comment #2 from Don clugd...@yahoo.com.au 2013-09-17 06:59:34 PDT ---
The initial bug report is too vague. We need a list of functions.
Is it just memcpy() and memmove() ? Or are there others?
We also need to consider if the use of those
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #6 from hst...@quickfur.ath.cx 2013-09-17 08:11:27 PDT ---
Created an attachment (id=1249)
Test case reduced from a suitably altered version of Phobos
This is a reduced test case created by running dustmite on a copy of Phobos
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #8 from hst...@quickfur.ath.cx 2013-09-17 08:27:39 PDT ---
Still happening on dmd commit 9a321180e0c74f0c8006a8ebb70f18f371ec44c2.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
--- You are
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #7 from hst...@quickfur.ath.cx 2013-09-17 08:25:04 PDT ---
(In reply to comment #5)
I can't even compile git-head with -property, but that's not a big issue since
we're going to deprecate this switch soon.
-
import
http://d.puremagic.com/issues/show_bug.cgi?id=11057
Summary: [REG2.064dev] New std.uni has icmp() partly broken
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Keywords: wrong-code
Severity:
http://d.puremagic.com/issues/show_bug.cgi?id=11058
Summary: deprecated message doesn't work with selective imports
Product: D
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
http://d.puremagic.com/issues/show_bug.cgi?id=11059
Summary: alias to symbol in different conditional compilation
scope depends on lexical order
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #10 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
11:18:31 PDT ---
(In reply to comment #9)
Ok I can reproduce it with the test-case from #c6.
I've compiled with:
dmd -unittest test.d
Actually I don't need to
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #11 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
11:21:07 PDT ---
(In reply to comment #7)
and phobos git HEAD
(a54bc74277427133baf59185be36d7a5cb1de1a4).
Note: You should rebase and try the newest Phobos. I've
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #9 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
11:17:24 PDT ---
Ok I can reproduce it with the test-case from #c6.
I've compiled with:
dmd -unittest test.d
Where test.d is:
import dts.traits;
void main() { }
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #12 from hst...@quickfur.ath.cx 2013-09-17 11:27:28 PDT ---
I updated to the latest git HEAD (dmd, druntime, phobos), and the test case in
comment #6 is still causing an ICE. You're right, though, that it doesn't seem
to need the
http://d.puremagic.com/issues/show_bug.cgi?id=11054
--- Comment #13 from hst...@quickfur.ath.cx 2013-09-17 11:30:20 PDT ---
OK, confirmed that the original case (import std.traits) no longer fails with
latest Phobos. The test case in comment #6 continues to generate the ICE.
--
Configure
http://d.puremagic.com/issues/show_bug.cgi?id=3438
--- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
12:15:54 PDT ---
*** Issue 10952 has been marked as a duplicate of this issue. ***
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
http://d.puremagic.com/issues/show_bug.cgi?id=10952
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5060
--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
13:05:41 PDT ---
P.S.: OP code is missing an import to std.stdio.
Perhaps the right way to implement this is to simply allow shadowing via an
alias declaration:
class
http://d.puremagic.com/issues/show_bug.cgi?id=5060
--- Comment #2 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
13:07:28 PDT ---
(In reply to comment #1)
Otherwise, emit a compiler error.
I meant emit the error at the call site when run is called but both
interfaces define the
http://d.puremagic.com/issues/show_bug.cgi?id=6039
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=5460
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=4734
--- Comment #7 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
12:58:02 PDT ---
(In reply to comment #6)
(In reply to comment #5)
In any case, at minimum, the error message needs to be improved.
How about we implement these
http://d.puremagic.com/issues/show_bug.cgi?id=4595
--- Comment #13 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
12:54:33 PDT ---
(In reply to comment #12)
Failing unittest in TDPL:
unittest
{
class A { int x; }
A a;
assert(!__traits(compiles, a.x = 5));
}
Such
http://d.puremagic.com/issues/show_bug.cgi?id=11010
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
CC|
http://d.puremagic.com/issues/show_bug.cgi?id=4576
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
OS/Version|Windows |All
---
http://d.puremagic.com/issues/show_bug.cgi?id=6989
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=7799
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7057
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7283
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8082
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8018
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8451
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8415
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8746
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8413
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7191
--- Comment #1 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
14:40:33 PDT ---
Simpler example:
-
struct A
{
this(B) { }
}
struct B
{
}
struct C
{
A a;
}
void main()
{
// field initialization, c.a = B(), 'a'
http://d.puremagic.com/issues/show_bug.cgi?id=8732
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=8851
--- Comment #5 from Andrej Mitrovic andrej.mitrov...@gmail.com 2013-09-17
15:26:11 PDT ---
(In reply to comment #4)
I believe in the change, so I'm assigning to self.
Is this part of any open pulls you've made?
--
Configure issuemail:
http://d.puremagic.com/issues/show_bug.cgi?id=9303
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7191
bearophile_h...@eml.cc changed:
What|Removed |Added
CC||bearophile_h...@eml.cc
---
http://d.puremagic.com/issues/show_bug.cgi?id=9310
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=9809
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=9825
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=7191
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Severity|normal |enhancement
http://d.puremagic.com/issues/show_bug.cgi?id=9547
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
http://d.puremagic.com/issues/show_bug.cgi?id=10098
Andrej Mitrovic andrej.mitrov...@gmail.com changed:
What|Removed |Added
Keywords||pull
http://d.puremagic.com/issues/show_bug.cgi?id=11060
Summary: delete gives InvalidMemoryOperationError
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
Severity: major
Priority: P2
http://d.puremagic.com/issues/show_bug.cgi?id=11061
Summary: std.variant.Variant equality comparison always returns
false for static array literals.
Product: D
Version: D2
Platform: All
OS/Version: All
Status: NEW
101 - 169 of 169 matches
Mail list logo