https://issues.dlang.org/show_bug.cgi?id=13698
Walter Bright changed:
What|Removed |Added
CC|
On Monday, April 18, 2016 20:49:45 jmh530 via Digitalmars-d wrote:
> As an aside, the reason for not having function attribute
> inference everywhere is that it doesn't work when function bodies
> are not available. How common is this? I feel like I never write
> functions like this. Why not just
On Tuesday, April 19, 2016 03:27:46 Marco Leise via Digitalmars-d wrote:
> No case makes the distinction between "function body
> availability" and "API stability" more clear than auto return.
> Even though their source code is copied verbatim into the .di
> files to allow the return of voldemort
Currently the compiler makes sure, that it can see the entire
nested call chain when performing attribute inference. So it
limits itself to function literals and templates where the
source has to be right there for them to compile.
The remaining functions could roughly be classified as
functions
On Tuesday, 19 April 2016 at 01:13:01 UTC, deadalnix wrote:
On Sunday, 17 April 2016 at 06:10:34 UTC, Ilya Yaroshenko wrote:
We plan to add a set of numeric packages and this would be
real pain if they would be one-by-one moved from experimental
to stable std. So sci.* should be considered as
On Sunday, 17 April 2016 at 06:10:34 UTC, Ilya Yaroshenko wrote:
We plan to add a set of numeric packages and this would be real
pain if they would be one-by-one moved from experimental to
stable std. So sci.* should be considered as experimental
during few years.
Am Mon, 18 Apr 2016 20:49:45 +
schrieb jmh530 :
> As an aside, the reason for not having function attribute
> inference everywhere is that it doesn't work when function bodies
> are not available. How common is this? I feel like I never write
> functions like
On Monday, 18 April 2016 at 20:24:40 UTC, Jesse Phillips wrote:
On Sunday, 17 April 2016 at 15:23:50 UTC, w0rp wrote:
void main() {
// Print all directories from this one up to and including
/.
getcwd()
.unaryRecurrence!dirName
.until("/", OpenRight.no)
.each!writeln;
}
On Monday, 18 April 2016 at 12:02:24 UTC, thedeemon wrote:
On Sunday, 17 April 2016 at 15:23:50 UTC, w0rp wrote:
auto unaryRecurrence(alias func, T)(T initialValue) {
return recurrence!((values, index) =>
func(values[0]))(initialValue);
}
This is kind of neat. My question is, should
Am Mon, 18 Apr 2016 15:15:26 +
schrieb Atila Neves :
Just remember that makefiles are well integrated with other
systems (i.e. package managers) and there are some
conventions, about what certain environment variables mean.
To name a few:
MAKEOPTS=-j4 (parallel build
On 2016-04-18 14:12, Tofu Ninja wrote:
Also is there a way to have a named substructure, not a nested structure
but something to just add an additional name, maybe something like
struct a{
struct{
int x;
int y;
int z;
} b;
}
not sure what you mean by "named
https://issues.dlang.org/show_bug.cgi?id=15939
--- Comment #1 from Aleksei Preobrazhenskii ---
I wasn't able to reproduce the issue using simpler code using GC operations
only. I noticed that nanosleep is a syscall which should be interrupted by GC
signal. So, probably
On Monday, 18 April 2016 at 19:47:46 UTC, Joseph Rushton Wakeling
wrote:
On Monday, 18 April 2016 at 16:57:27 UTC, Matthias Klumpp wrote:
Freeze exception for LDC was approved last-minute, which means
the final release will be in Xenial :-)
That's fantastic, thank you very much for making
On Saturday, 16 April 2016 at 04:04:24 UTC, Justice wrote:
Is it difficult to create a D business like app and connect it
to android through java for the interface?
I'd rather create all the complex stuff in D and either use it
natively through java(I need a UI).
If it is workable, can the
On Monday, 18 April 2016 at 21:23:02 UTC, Jonathan Villa wrote:
I'm trying to build a vibe.d application, but I made a little
library (just source code) that I want to add to the project.
[...]
Close the question,
looks like I found it: importPaths.
I'm trying to build a vibe.d application, but I made a little
library (just source code) that I want to add to the project.
So, in the generated dub.sdl file I added at the end:
sourcePaths "../D/src"
sourceFiles "../D/src/alfred/package.d"
The problem is at build time DUB tries to create a
On Monday, 18 April 2016 at 19:57:42 UTC, cym13 wrote:
@default = @safe @nogc @pure
int foo(int i) { ... } // This function is @safe @nogc @pure
int bar(int i) @pure { ... } // This function is only @pure
Why not just put
@safe @nogc pure:
at the top? I feel like @default would
On Monday, 18 April 2016 at 19:57:42 UTC, cym13 wrote:
On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
http://wiki.dlang.org/DIP64
Attributes in D have two problems:
1. There are too many of them and declarations are getting too
verbose
2. New attributes use @ and the old ones
On Sunday, 17 April 2016 at 15:23:50 UTC, w0rp wrote:
void main() {
// Print all directories from this one up to and including
/.
getcwd()
.unaryRecurrence!dirName
.until("/", OpenRight.no)
.each!writeln;
}
FYI, OS independent version:
void main() {
// Print all
On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
http://wiki.dlang.org/DIP64
Attributes in D have two problems:
1. There are too many of them and declarations are getting too
verbose
2. New attributes use @ and the old ones do not.
I've created a DIP to address these issues.
On Monday, 18 April 2016 at 16:57:27 UTC, Matthias Klumpp wrote:
Freeze exception for LDC was approved last-minute, which means
the final release will be in Xenial :-)
That's fantastic, thank you very much for making this happen :-)
Yeah, the description is really off-putting and should
https://issues.dlang.org/show_bug.cgi?id=15939
Issue ID: 15939
Summary: GC.collect causes deadlock in multi-threaded
environment
Product: D
Version: D2
Hardware: x86_64
OS: Linux
Status: NEW
On Monday, 18 April 2016 at 18:19:32 UTC, Jon D wrote:
On Monday, 18 April 2016 at 11:47:42 UTC, Dicebot wrote:
On Monday, 18 April 2016 at 04:25:25 UTC, Jon D wrote:
I have an dub config file specifying a targetType of
'executable'. There is only one file, the file containing
main(), and no
https://issues.dlang.org/show_bug.cgi?id=15917
--- Comment #1 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/9d575fa33970da793a07cd7ebcccb4d1c13735fa
Fix issue 15917 - std.concurrency module destructor
On Monday, 18 April 2016 at 11:47:42 UTC, Dicebot wrote:
On Monday, 18 April 2016 at 04:25:25 UTC, Jon D wrote:
I have an dub config file specifying a targetType of
'executable'. There is only one file, the file containing
main(), and no unit tests.
When I run 'dub test', dub builds and runs
I know people who discovered at the check-in counter that their passport
had expired. :)
Ali
On Monday, 18 April 2016 at 17:41:56 UTC, Ali Çehreli wrote:
I know people who discovered at the check-in counter that their
passport had expired. :)
Thanks for the reminder. Mine is ok.
Justice writes:
> On Saturday, 16 April 2016 at 04:04:24 UTC, Justice wrote:
>> Is it difficult to create a D business like app and connect it to
>> android through java for the interface?
>>
>> I'd rather create all the complex stuff in D and either use it
>> natively
On 4/18/16 12:13 PM, Dejan Lekic wrote:
On Sunday, 17 April 2016 at 06:10:34 UTC, Ilya Yaroshenko wrote:
We plan to add a set of numeric packages and this would be real pain
if they would be one-by-one moved from experimental to stable std. So
sci.* should be considered as experimental during
On Tuesday, 12 April 2016 at 16:57:41 UTC, Joseph Rushton
Wakeling wrote:
On Tuesday, 12 April 2016 at 01:58:13 UTC, Matthias Klumpp
wrote:
[...]
I can ask, but given that the Xenial final freeze is on 24.
April (release on 26.) and changing compiler versions that
late in the cycle is
On Monday, 18 April 2016 at 16:13:54 UTC, Dejan Lekic wrote:
As I have said many times on both IRC and NG, I would prefer to
have `stdx` instead of ridiculously long (4x)
`std.experimental`. Then you would have a nice package named
`stdx.sci`.
How often are you typing in import statements
On Monday, 18 April 2016 at 16:13:54 UTC, Dejan Lekic wrote:
As I have said many times on both IRC and NG, I would prefer to
have `stdx` instead of ridiculously long (4x)
`std.experimental`. Then you would have a nice package named
`stdx.sci`.
Fantastic idea (that I had not heard before).
On Sunday, 17 April 2016 at 06:10:34 UTC, Ilya Yaroshenko wrote:
We plan to add a set of numeric packages and this would be real
pain if they would be one-by-one moved from experimental to
stable std. So sci.* should be considered as experimental
during few years.
On 4/17/16 6:04 AM, ag0aep6g wrote:
On 17.04.2016 11:44, Ilya Yaroshenko wrote:
This would be a real pain for a user if he supports few compiler
versions.
static if(__VERSION__ < 2072)
{
import std.experimental.sci.ndslice;
}
else
{
import std.sci.ndslice;
}
[...]
Breakage is what
On 4/17/16 11:57 PM, Tofu Ninja wrote:
On Monday, 18 April 2016 at 03:33:53 UTC, Adam D. Ruppe wrote:
The struct inside union is the main pure-language use case I know of
though.
Actually curiously I found another potential use, applying
attributes/UDAs to multiple members at once.
enum
On Monday, 18 April 2016 at 13:33:20 UTC, jj75607 wrote:
Hello!
Is it possible to start profiling on multithreaded app with Dmd?
https://issues.dlang.org/show_bug.cgi?id=14511 is open. I am
doing wrong or why this program segfaults if compiled with
profiler hooks?
import core.atomic;
https://issues.dlang.org/show_bug.cgi?id=15919
Steven Schveighoffer changed:
What|Removed |Added
Status|NEW |RESOLVED
On Monday, 18 April 2016 at 15:15:26 UTC, Atila Neves wrote:
Here's[1] another attempt at converting the Makefile for POSIX
systems to D using reggae[2].
Great work! This transition cannot happen soon enough.
Maintaining the make files is a huge pain and something always
falls through the
Here's[1] another attempt at converting the Makefile for POSIX
systems to D using reggae[2]. I first tried my hand at writing a
parser for Makefiles using Pegged and machine translating to D. I
learned a lot about parsing and GNU make in the process and also
that:
1. It was about two orders
https://issues.dlang.org/show_bug.cgi?id=15938
Mathias Lang changed:
What|Removed |Added
CC|
On Saturday, 16 April 2016 at 14:08:05 UTC, newB wrote:
Let's say you have decided to use D programming language. For
what kind of applications would you choose D programming
language and For what kind of applications you won't choose D
programming.
I might be in the minority opinion
https://issues.dlang.org/show_bug.cgi?id=15938
Issue ID: 15938
Summary: ctor doesn't initialize fields when struct is static
immutable
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=15926
--- Comment #3 from Sobirari Muhomori ---
https://github.com/dlang/phobos/pull/3520 - somewhat related pull to improve
concept checks.
--
On Monday, 18 April 2016 at 13:45:20 UTC, Marc Schütz wrote:
Which platform/OS, dmd version, and command line are you using?
Windows7, DMD 2.071.0, run from Visual Studio 2013 Community +
VisualD 0.3.43
On Monday, April 18, 2016 13:10:59 jmh530 via Digitalmars-d wrote:
> On Monday, 18 April 2016 at 12:11:46 UTC, Jonathan M Davis wrote:
> > Regardless, changing any of the attributes now would break a
> > _lot_ of code, and such a change would have to be worth the
> > pain that it would cause,
https://issues.dlang.org/show_bug.cgi?id=14137
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/c35d4aa26efd0907ccb48d7406dffc50f470971c
Fix issue 14137: std.socket.getAddressInfo breaks @safe
Which platform/OS, dmd version, and command line are you using?
Hello!
Is it possible to start profiling on multithreaded app with Dmd?
https://issues.dlang.org/show_bug.cgi?id=14511 is open. I am
doing wrong or why this program segfaults if compiled with
profiler hooks?
import core.atomic;
shared struct S
{
uint counter;
bool
On Monday, 18 April 2016 at 09:38:48 UTC, Justice wrote:
On Saturday, 16 April 2016 at 04:04:24 UTC, Justice wrote:
Is it difficult to create a D business like app and connect it
to android through java for the interface?
I'd rather create all the complex stuff in D and either use it
On Monday, 18 April 2016 at 12:11:46 UTC, Jonathan M Davis wrote:
Regardless, changing any of the attributes now would break a
_lot_ of code, and such a change would have to be worth the
pain that it would cause, which is questinonable.
dfix has a DIP64 switch, right?
On Monday, 18 April 2016 at 08:53:31 UTC, Guillaume Piolat wrote:
And shared and @property :)
I still want to see @property fixed rather than removed - the
edge case with returning a delegate is an interesting one to me
(though that's ALL I want it to do, leave everything else alone)
https://issues.dlang.org/show_bug.cgi?id=15549
Илья Ярошенко changed:
What|Removed |Added
Status|RESOLVED|REOPENED
On Thursday, 14 April 2016 at 08:20:53 UTC, Johan Engelen wrote:
On Wednesday, 13 April 2016 at 13:08:30 UTC, Andrei
Alexandrescu wrote:
Noice.
https://twitter.com/D_Programming/status/720236648034877440
https://www.facebook.com/dlang.org/posts/1275322695814742
On Monday, April 18, 2016 10:32:39 Satoshi via Digitalmars-d wrote:
> On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
> > http://wiki.dlang.org/DIP64
> >
> > Attributes in D have two problems:
> > 1. There are too many of them and declarations are getting too
> > verbose
> > 2. New
On Sunday, 17 April 2016 at 15:23:50 UTC, w0rp wrote:
auto unaryRecurrence(alias func, T)(T initialValue) {
return recurrence!((values, index) =>
func(values[0]))(initialValue);
}
This is kind of neat. My question is, should something like
this function be included in std.range? Either
On Monday, 18 April 2016 at 04:25:25 UTC, Jon D wrote:
I have an dub config file specifying a targetType of
'executable'. There is only one file, the file containing
main(), and no unit tests.
When I run 'dub test', dub builds and runs the executable. This
is not really desirable. Is there a
On Thursday, 21 May 2015 at 13:40:22 UTC, Rikki Cattermole wrote:
On 22/05/2015 1:30 a.m., Baz wrote:
Still the best git GUI but it has some obvious problems and
bugs.
IMO making a good UI for VC is hard. As you said even
SourceTree isn't perfect.
If only somebody could make a better cross
On Monday, 18 April 2016 at 10:32:39 UTC, Satoshi wrote:
On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
http://wiki.dlang.org/DIP64
Attributes in D have two problems:
1. There are too many of them and declarations are getting too
verbose
2. New attributes use @ and the old ones
You can write it in code:
version(unittest)
static assert(false,"unit tests not supported");
On Friday, 20 June 2014 at 19:22:04 UTC, Brian Schott wrote:
http://wiki.dlang.org/DIP64
Attributes in D have two problems:
1. There are too many of them and declarations are getting too
verbose
2. New attributes use @ and the old ones do not.
I've created a DIP to address these issues.
On Friday, 15 April 2016 at 21:01:44 UTC, Andrei Alexandrescu
wrote:
Jesus. C++ has const without inout. We used to have const
without inout - and we probably should again. -- Andrei
What about immutability? E.g. Java gets away with immutable in a
library and it just werks.
On 18.04.2016 00:08, Bauss wrote:
On Sunday, 17 April 2016 at 21:59:38 UTC, Timon Gehr wrote:
On 17.04.2016 23:49, Bauss wrote:
On Sunday, 17 April 2016 at 21:23:58 UTC, Timon Gehr wrote:
mixin(generate());
pragma(msg,generate());
That's not a solution to the problem, because you will be
On Saturday, 16 April 2016 at 04:04:24 UTC, Justice wrote:
Is it difficult to create a D business like app and connect it
to android through java for the interface?
I'd rather create all the complex stuff in D and either use it
natively through java(I need a UI).
If it is workable, can the
On Saturday, 16 April 2016 at 11:49:21 UTC, Nick Treleaven wrote:
On 16/04/2016 12:40, Marc Schütz wrote:
What are the plans for DIP25's `return` attribute? Because
with it, the
compiler has enough information to know that the return value
aliases `s`:
const(T)[] replaceSlice(T)(const(T)[] s
On Monday, 18 April 2016 at 08:52:19 UTC, Guillaume Piolat wrote:
Personnally I wish synchronized, comma operator, and actively
harmful things would go. nothrow provides little value, but no
negative value.
And shared and @property :)
But I guess this isn't Christmas already.
On Sunday, 17 April 2016 at 23:03:26 UTC, Adam D. Ruppe wrote:
On Sunday, 17 April 2016 at 21:20:49 UTC, Timon Gehr wrote:
On 17.04.2016 18:44, Nick Treleaven wrote:
I think @property is OK.
No, it isn't:
Seriously, @property is one of the biggest SNAFUs of the
language.
I think I'll
On Monday, 18 April 2016 at 07:06:43 UTC, Vadim Lopatin wrote:
In TableLayout there is a bug #113 which prevents extending of
table layout content to parent size.
For other widgets FILL_PARENT should work ok.
Issue #113 is fixed today in v0.8.8
https://issues.dlang.org/show_bug.cgi?id=14511
jj75...@gmail.com changed:
What|Removed |Added
Severity|normal |major
--
https://issues.dlang.org/show_bug.cgi?id=14511
jj75...@gmail.com changed:
What|Removed |Added
CC||jj75...@gmail.com
--- Comment #5 from
On Saturday, 16 April 2016 at 11:46:09 UTC, stunaep wrote:
On Saturday, 16 April 2016 at 08:20:33 UTC, stunaep wrote:
On Friday, 15 April 2016 at 10:33:35 UTC, Vadim Lopatin wrote:
[...]
I am doing that. I think it has to do with my high dpi because
I'm using a 4k monitor.
If I use Modal
On Sunday, 17 April 2016 at 23:03:26 UTC, Adam D. Ruppe wrote:
On Sunday, 17 April 2016 at 21:20:49 UTC, Timon Gehr wrote:
On 17.04.2016 18:44, Nick Treleaven wrote:
I think @property is OK.
No, it isn't:
Seriously, @property is one of the biggest SNAFUs of the
language.
Today I
71 matches
Mail list logo