Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
Thanks. Do I need to use rational fractions for the Currencies class?

Re: std.sevenzip - Do you need it?

2015-01-31 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-31 13:02, data man wrote: Thanks for the feedback! And DUB supports the compilation of external С-code? No, but you can execute shell commands before building the D code. There are four settings [1] that could be of interest: * preGenerateCommands * postGenerateCommands *

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Vladimir Panteleev via Digitalmars-d
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: and named Mars (Deimos is unfortunately already taken ). BTW, Mars is the name of the language, before people started calling it D (which stuck).

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Piotrek via Digitalmars-d
On Saturday, 31 January 2015 at 14:33:35 UTC, Vladimir Panteleev wrote: On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: and named Mars (Deimos is unfortunately already taken ). BTW, Mars is the name of the language, before people started calling it D (which stuck). I know

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
On Saturday, 31 January 2015 at 15:02:09 UTC, Colin wrote: Maybe you can articulate it in one post what this class is trying to achieve? Maybe this? https://github.com/andersonpd/decimal/blob/master/decimal/bigfloat.d The main thing is not to lose currency in calculations that use arithmetic.

[Issue 14089] New: [REG2.064] Assigning to AA has no value when overriding opAssign

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14089 Issue ID: 14089 Summary: [REG2.064] Assigning to AA has no value when overriding opAssign Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: Labels in struct

2015-01-31 Thread tcak via Digitalmars-d-learn
On Saturday, 31 January 2015 at 16:04:36 UTC, tcak wrote: I do not have a big example in the end to show, but is there any way to put labels into struct definitions? struct CommunicationMessage{ char[2] signature; mainData: int info1; int info2; extraData: ushort checksum;

Re: Arrays, garbage collection

2015-01-31 Thread Andrei Alexandrescu via Digitalmars-d
On 1/31/15 1:10 AM, Martin Nowak wrote: Thanks for this code, it's a lot nicer and simpler than mine. -- Andrei So, pull request for std.array and reverting the dollar thingie? Problem solved? This looks like the way to go. I apologize to the community for the indecision shown. -- Andrei

Re: Labels in struct

2015-01-31 Thread Adam D. Ruppe via Digitalmars-d-learn
You could use a UDA like that, though getting the offset will be a bit tricky. The idea is to use some uda type, even plain string is good enough, then use the __traits to find the first appearance of that UDA in the object and return that offset. Keep in mind that the @uda: syntax applies

Re: Labels in struct

2015-01-31 Thread Adam D. Ruppe via Digitalmars-d-learn
Oh this hack also won't work with a label at the very end. You could use sizeof for that though (however that would include padding bytes. Perhaps last member's offsetof plus last member's sizeof is a bit more accurate.)

[Issue 14041] Refused writeln of a fixed size array of chars

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14041 sinkuup...@gmail.com changed: What|Removed |Added Keywords||pull CC|

[Issue 14042] std.conv.to of a immutable char pointer

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14042 sinkuup...@gmail.com changed: What|Removed |Added Keywords||pull CC|

Mars Drafting Library - Official community driven library

2015-01-31 Thread Piotrek via Digitalmars-d
Hi, The history of std.(experimental.)logger and the latest thread about gui functionality inclusion into Phobos made me think about how to solve the problem of adding new modules. I came up with the idea (maybe not new) to create a additional library(along druntime and Phobos) delivered

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
The next version, which does not work: https://bpaste.net/show/b9c85de68d07

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread zeljkog via Digitalmars-d-learn
On 31.01.15 15:45, RuZzz wrote: Maybe I need good examples on C++, for this class, because a lot of examples on C++. Maybe this can help you: https://github.com/andersonpd/decimal

Re: Czech D community

2015-01-31 Thread Martin Drašar via Digitalmars-d
Given the overwhelming number of responses you received, I would suggest to adhere to Kiith-Sa's suggestion of dropping the idea of a czech-only forum. I think that we are more likely to meet for a beer than to make such forum alive in near future. Martin smime.p7s Description: Elektronicky

[Issue 14037] Problem with BigInt and std.functional.memoize

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14037 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
I want to understand the correct architecture of the class.

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread Ivan Kazmenko via Digitalmars-d-learn
On Saturday, 31 January 2015 at 13:45:22 UTC, RuZzz wrote: I want to understand the correct architecture of the class. Sorry, you still did not state your problem (or what you are trying to achieve) clearly. Writing down a clear problem description is likely to get you halfway to the

Error when profiling

2015-01-31 Thread Phil via Digitalmars-d-learn
When trying to run my program with profiling enabled it dies before the first line of my main function runs. Everything works fine without profiling. I get the following stack trace: thread #1: tid = 0x38de4, 0x00010008d985 vision_entry`gc_malloc + 49, queue = 'com.apple.main-thread',

[Issue 14042] std.conv.to of a immutable char pointer

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14042 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/7cab71b22bd829db8712e9a4c4b9c7b62a51552a Fix Issue 14042 -

Re: something weird with strerror_r

2015-01-31 Thread CodeSun via Digitalmars-d
On Thursday, 29 January 2015 at 15:25:09 UTC, Mike Parker wrote: On 1/29/2015 11:40 PM, CodeSun wrote: Recently, I found something really weird when I use strerror_t function which is declared inside std.c.string. The code snippet is listed below: import std.c.string; import core.stdc.errno;

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread zeljkog via Digitalmars-d-learn
On 31.01.15 15:56, zeljkog wrote: On 31.01.15 15:45, RuZzz wrote: Maybe I need good examples on C++, for this class, because a lot of examples on C++. Maybe this can help you: https://github.com/andersonpd/decimal Also http://code.dlang.org/packages/eris

Labels in struct

2015-01-31 Thread tcak via Digitalmars-d-learn
I do not have a big example in the end to show, but is there any way to put labels into struct definitions? struct CommunicationMessage{ char[2] signature; mainData: int info1; int info2; extraData: ushort checksum; content: } Example I defined something like above. I am

[Issue 14042] std.conv.to of a immutable char pointer

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14042 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
Maybe I need good examples on C++, for this class, because a lot of examples on C++.

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
I am looking for not only free solutions.

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread Colin via Digitalmars-d-learn
On Saturday, 31 January 2015 at 14:26:45 UTC, RuZzz wrote: The next version, which does not work: https://bpaste.net/show/b9c85de68d07 I really dont understand what your trying to achieve here. Maybe you can articulate it in one post what this class is trying to achieve?

Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread Kiith-Sa via Digitalmars-d-announce
Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a documentation generator based on Brian Schott's Harbored that supports both DDoc and Markdown in documentation comments. -- Examples of generated docs -- * Public imports in a package.d:

Re: DlangUI

2015-01-31 Thread Vadim Lopatin via Digitalmars-d-announce
On Wednesday, 28 January 2015 at 13:53:00 UTC, John Colvin wrote: On Wednesday, 28 January 2015 at 13:30:59 UTC, Vadim Lopatin wrote: On Wednesday, 28 January 2015 at 13:18:11 UTC, John Colvin wrote: On Wednesday, 28 January 2015 at 10:57:57 UTC, Vadim Lopatin wrote: On Wednesday, 28 January

Re: Google Summer of Code - Again

2015-01-31 Thread Craig Dillabaugh via Digitalmars-d
On Saturday, 31 January 2015 at 08:57:15 UTC, Martin Nowak wrote: On Friday, 30 January 2015 at 14:11:27 UTC, CraigDillabaugh wrote: http://en.flossmanuals.net/GSoCMentoring/managing-the-mentors/ Sounds good, count me in. Thank you very much.

Re: Arrays, garbage collection

2015-01-31 Thread Martin Nowak via Digitalmars-d
Thanks for this code, it's a lot nicer and simpler than mine. -- Andrei So, pull request for std.array and reverting the dollar thingie? Problem solved?

Re: Time for 2.067

2015-01-31 Thread Martin Nowak via Digitalmars-d
Can we commit to having stuff done by Feb 15 for a release on Mar 1? -- Andrei Sounds good, work on regressions should start soon and we should no longer add features.

Re: Google Summer of Code - Again

2015-01-31 Thread Martin Nowak via Digitalmars-d
On Friday, 30 January 2015 at 14:11:27 UTC, CraigDillabaugh wrote: http://en.flossmanuals.net/GSoCMentoring/managing-the-mentors/ Sounds good, count me in.

Re: Speeding up LDC with Make jobs

2015-01-31 Thread Martin Nowak via Digitalmars-d
It seems completely unrelated to the -j flag, just related to per-file compilation. Look at the linker map file, maybe one build results in a better layout, though the effect should be marginal.

Re: Should we remove int[$] before 2.067?

2015-01-31 Thread via Digitalmars-d
On Saturday, 31 January 2015 at 07:00:05 UTC, eles wrote: Everytime I follow the process managemnt and decision in D, it looks to me like IndburIII-esque: What management? You mean the process that follow the structure: - analysis - prioritization - risk reduction - design - implementation -

Re: dlang.org redesign -- the state of documentation and learning resources [part 2]

2015-01-31 Thread Martin Nowak via Digitalmars-d
On Friday, 23 January 2015 at 18:37:07 UTC, Martin Drašar wrote: Dne 23.1.2015 v 19:16 Andrei Alexandrescu via Digitalmars-d napsal(a): Both are nice: http://tour.golang.org/welcome/1 http://rustbyexample.com/ Or something along the lines of https://tryhaskell.org With possible integration

Re: Window creation, for phobos?

2015-01-31 Thread user via Digitalmars-d
I don't know, you sound like a perfectionist to me, like most of other community members. I can only give examples from my experience. I am a controls engineer in my current day job, and I do SW coding in my free time (like couple of hours per week). In the past, I changed my D GUI libs from

Re: Problem with coupling shared object symbol visibility with protection

2015-01-31 Thread Benjamin Thaut via Digitalmars-d
Am 31.01.2015 um 06:11 schrieb Dicebot: On Friday, 30 January 2015 at 19:10:06 UTC, Martin Nowak wrote: It has a serious drawback of increasing attribute noise even more though. First approach allows for more automatic inference. But with D restrictions it seems the least bad option. Well,

[Issue 14090] New: [REG2.067a] Incorrect recursive alias declaration

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14090 Issue ID: 14090 Summary: [REG2.067a] Incorrect recursive alias declaration Product: D Version: D2 Hardware: All OS: All Status: NEW Keywords: rejects-valid

Re: Labels in struct

2015-01-31 Thread Artur Skawina via Digitalmars-d-learn
On 01/31/15 17:04, tcak via Digitalmars-d-learn wrote: struct CommunicationMessage{ [...] content: } Example I defined something like above. I am using it as a base structure, and don't know how long the content of message will be. But I know that it will be at the end. I could use

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Israel via Digitalmars-d
On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc wrote: This has the advantage over existing situation where you have the official library where things need to go through exacting and time consuming process and then dub. Within dub every project is at the same level and it is not

[Issue 14091] New: Migrate Digger to D-Programming-Language/tools

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14091 Issue ID: 14091 Summary: Migrate Digger to D-Programming-Language/tools Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement

[Issue 14091] Migrate Digger to D-Programming-Language/tools

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14091 Andrei Alexandrescu and...@erdani.com changed: What|Removed |Added Assignee|nob...@puremagic.com

Re: Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread Kiith-Sa via Digitalmars-d-announce
On Saturday, 31 January 2015 at 17:43:49 UTC, jklp wrote: On Saturday, 31 January 2015 at 15:31:37 UTC, Kiith-Sa wrote: Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a documentation generator based on Brian Schott's Harbored that supports both DDoc and Markdown in documentation

[Issue 13776] [REG2.067a] Incorrect recursive alias declaration error with `__traits(compiles, ...)`

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13776 --- Comment #3 from Denis Shelomovskij verylonglogin@gmail.com --- (In reply to Kenji Hara from comment #2) (In reply to Kenji Hara from comment #1) https://github.com/D-Programming-Language/dmd/pull/4172 PR is merged and the issue is

Re: Labels in struct

2015-01-31 Thread zeljkog via Digitalmars-d-learn
On 31.01.15 17:04, tcak wrote: I do not have a big example in the end to show, but is there any way to put labels into struct definitions? struct CommunicationMessage{ char[2] signature; mainData: int info1; int info2; extraData: ushort checksum; content: } Members of

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Laeeth Isharc via Digitalmars-d
This has the advantage over existing situation where you have the official library where things need to go through exacting and time consuming process and then dub. Within dub every project is at the same level and it is not obvious which projects are the ones to use, and there is not

Re: Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread jklp via Digitalmars-d-announce
On Saturday, 31 January 2015 at 15:31:37 UTC, Kiith-Sa wrote: Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a documentation generator based on Brian Schott's Harbored that supports both DDoc and Markdown in documentation comments. -- Examples of generated

Re: DStep - Bindings Generator 0.0.1

2015-01-31 Thread Chris via Digitalmars-d-announce
On Friday, 30 January 2015 at 20:27:22 UTC, Jacob Carlborg wrote: On 2015-01-30 15:19, Chris wrote: I see what you mean, I'm tired of clever backronyms [1] too. However, DStep is not a product or a company like Apple but a tool with a very specific use. If I look for a tool, I prefer it to

[Issue 14041] Refused writeln of a fixed size array of chars

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14041 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 14041] Refused writeln of a fixed size array of chars

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14041 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/6a3cd276b8a39d5cfc6fe7280accfe692c6d16f4 Fix issue 14041 -

[Issue 14057] [REG2.066] opSlice not working correctly with AliasThis

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14057 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/phobos https://github.com/D-Programming-Language/phobos/commit/5e9006b90825453600b2080bca2ecd5f337deb14 Cleanup of #2724

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Laeeth Isharc via Digitalmars-d
On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote: On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc wrote: This has the advantage over existing situation where you have the official library where things need to go through exacting and time consuming process and then dub.

dlang.org Getting Started page

2015-01-31 Thread Zach the Mystic via Digitalmars-d
I'm looking for feedback for: https://github.com/D-Programming-Language/dlang.org/pull/878 https://issues.dlang.org/show_bug.cgi?id=14088 Investigation shows that the D Wiki is the best landing place for newcomers, so they are directed there first. I think the current page leaves newcomers a

Re: dlang.org Getting Started page

2015-01-31 Thread Jonathan Marler via Digitalmars-d
On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic wrote: I'm looking for feedback for: https://github.com/D-Programming-Language/dlang.org/pull/878 https://issues.dlang.org/show_bug.cgi?id=14088 Investigation shows that the D Wiki is the best landing place for newcomers, so they

[Issue 14092] New: C++ mangling for struct nested inside same class as static function is broken when in namespace

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14092 Issue ID: 14092 Summary: C++ mangling for struct nested inside same class as static function is broken when in namespace Product: D Version: D2 Hardware: x86_64

[Issue 14092] C++ mangling for struct nested inside same class as static function is broken when in namespace

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14092 Colden Cullen coldencul...@gmail.com changed: What|Removed |Added Keywords||C++ --

Re: dlang.org Getting Started page

2015-01-31 Thread Zach the Mystic via Digitalmars-d
On Saturday, 31 January 2015 at 19:35:45 UTC, Zach the Mystic wrote: On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler wrote: Seems like a good idea to me. One thought, when I'm looking at a new language and I see a Getting Started, I would expect to see links for tutorials such

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Zach the Mystic via Digitalmars-d
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: Hi, The history of std.(experimental.)logger and the latest thread about gui functionality inclusion into Phobos made me think about how to solve the problem of adding new modules. I came up with the idea (maybe not new) to create

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Israel via Digitalmars-d
On Saturday, 31 January 2015 at 19:03:55 UTC, Laeeth Isharc wrote: On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote: the people who like and are good at writing docs are not necessarily those who like and are good at writing code. This is exactly how i feel.

Re: dlang.org Getting Started page

2015-01-31 Thread Zach the Mystic via Digitalmars-d
On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler wrote: On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic wrote: I'm looking for feedback for: https://github.com/D-Programming-Language/dlang.org/pull/878 https://issues.dlang.org/show_bug.cgi?id=14088 Investigation

Re: DStep - Bindings Generator 0.0.1

2015-01-31 Thread Jacob Carlborg via Digitalmars-d-announce
On 2015-01-31 19:38, Chris wrote: At version 0.0.1? :) At version 0.1.0: https://github.com/jacob-carlborg/dstep/releases/tag/v0.1.0 -- /Jacob Carlborg

Re: Using import in map

2015-01-31 Thread Stefan Koch via Digitalmars-d
On Saturday, 31 January 2015 at 19:52:11 UTC, Jacob Carlborg wrote: Is this supposed to work: enum foo = [foo].map!((string e) = import(e)); When I compile the above code with 2.066.1 I get the following error: main.d(1): Error: variable e cannot be read at compile time main.d(1): Error:

Using import in map

2015-01-31 Thread Jacob Carlborg via Digitalmars-d
Is this supposed to work: enum foo = [foo].map!((string e) = import(e)); When I compile the above code with 2.066.1 I get the following error: main.d(1): Error: variable e cannot be read at compile time main.d(1): Error: file name argument must be a string, not (__error) -- /Jacob Carlborg

Re: Problem with coupling shared object symbol visibility with protection

2015-01-31 Thread Benjamin Thaut via Digitalmars-d
Am 31.01.2015 um 13:07 schrieb Martin Nowak: That's probably how it should behave, though an attribute applying only to public members unless explicitly added is unprecedented. Still seems like the right choice here, but might require some additional compiler logic. Well you don't have to

[Issue 14093] New: __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile.

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14093 Issue ID: 14093 Summary: __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile. Product: D Version: D2 Hardware: x86_64 OS: Linux

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread weaselcat via Digitalmars-d
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: ... +1, basically boost for D. I heavily agree that the libraries should complement Phobos and never be orthogonal to phobos lest we have another tangos/phobos situation.

Re: How to make a Currency class from std.BigInt?

2015-01-31 Thread RuZzz via Digitalmars-d-learn
The next version https://bpaste.net/show/9468f24d9df0

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2015 7:10 AM, Piotrek wrote: I know that, but the naming is the least important aspect of the proposal. I agree. Let's not have endless posts bikeshedding the name, no matter how tempting.

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread ZombineDev via Digitalmars-d
I like the idea of having an additional library that we would ship alongside Phobos with every release. There of course some obvious pros and cons for having 'Mars' (or whatever is called) as a DUB packages vs included in the standard library: Pros for being a DUB package: + faster release

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Jonathan Marler via Digitalmars-d
On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: Hi, The history of std.(experimental.)logger and the latest thread about gui functionality inclusion into Phobos made me think about how to solve the problem of adding new modules. I came up with the idea (maybe not new) to create

Re: Using import in map

2015-01-31 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-31 20:54, Stefan Koch wrote: I think this is not supposed to work. try staticMap maybe ? Yes, staticMap worked, thanks. I filed a bug [1]. If I recall correctly, if the compiler outputs a message which includes __error it's a bug. [1] -- /Jacob Carlborg

[Issue 14094] New: Using string import in map results in error message with __error

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14094 Issue ID: 14094 Summary: Using string import in map results in error message with __error Product: D Version: D2 Hardware: All OS: All Status: NEW

Re: dlang.org Getting Started page

2015-01-31 Thread Jonathan Marler via Digitalmars-d
On Saturday, 31 January 2015 at 19:35:45 UTC, Zach the Mystic wrote: On Saturday, 31 January 2015 at 19:22:06 UTC, Jonathan Marler wrote: On Saturday, 31 January 2015 at 19:03:55 UTC, Zach the Mystic wrote: I'm looking for feedback for:

Re: [website redesign] PR for the one with the big red menu bar

2015-01-31 Thread Bastiaan Veelo via Digitalmars-d
On Saturday, 31 January 2015 at 12:22:32 UTC, Brian Schott wrote: That's no moon. That's a space station. :)

[Issue 14093] __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile.

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14093 Pierre krafft kpierre+dl...@outlook.com changed: What|Removed |Added CC|

Re: foreach - premature optimization vs cultivating good habits

2015-01-31 Thread via Digitalmars-d-learn
On Friday, 30 January 2015 at 14:41:11 UTC, Laeeth Isharc wrote: Thanks, Adam. That's what I had thought (your first paragraph), but something Ola on a different thread confused me and made me think I didn't understand it, and I wanted to pin it down. There is always significant

Re: Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread jklp via Digitalmars-d-announce
On Saturday, 31 January 2015 at 18:47:28 UTC, Kiith-Sa wrote: Could you clone the current git master (https://github.com/kiith-sa/harbored-mod.git) and try if it works? It's ok now, i confirm the fix.

[Issue 14096] ICE in toir.c: 187

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14096 Vlad Levenfeld vlevenf...@gmail.com changed: What|Removed |Added CC||vlevenf...@gmail.com

[Issue 14096] New: ICE in toir.c: 187

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14096 Issue ID: 14096 Summary: ICE in toir.c: 187 Product: D Version: D1 D2 Hardware: x86_64 OS: Linux Status: NEW Severity: major Priority: P1

[Issue 14097] New: root/async.c: free after use

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14097 Issue ID: 14097 Summary: root/async.c: free after use Product: D Version: D2 Hardware: x86 OS: Windows Status: NEW Severity: critical Priority: P1

Re: H1 2015 Priorities and Bare-Metal Programming

2015-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2015 9:21 PM, Mike wrote: Is D's core team genuinely interested in this domain? Yes. If you are genuinely interested, are you committed? And if so, what direction would you like to take? So far, my ideas have been very unpopular and I'm growing weary fighting the current. How can

[Issue 11488] FORTRAN FORI= Error

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11488 --- Comment #2 from Manfred Nowak svv1...@hotmail.com --- (In reply to Stewart Gordon from comment #1) If chaining of -, --. + and ++ is used heavily, then disallowing to shoot oneself is okay. Hint: - -- -- -- - --- -- - -- - -- - --x is

windows wininet library

2015-01-31 Thread ketmar via Digitalmars-d-learn
how can i use wininet.dll from D? i got bindings from https://github.com/ CS-svnmirror/dsource-bindings-win32.git, and then i tried to create wininet.lib with implib.exe from DMC package. no matter how i tried, the resulting wininet.lib seems to not work, as linker keep complaining about

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Piotrek via Digitalmars-d
On Saturday, 31 January 2015 at 18:45:13 UTC, Israel wrote: On Saturday, 31 January 2015 at 18:11:48 UTC, Laeeth Isharc wrote: This has the advantage over existing situation where you have the official library where things need to go through exacting and time consuming process and then dub.

Re: Arrays, garbage collection

2015-01-31 Thread Walter Bright via Digitalmars-d
On 1/31/2015 8:08 AM, Andrei Alexandrescu wrote: On 1/31/15 1:10 AM, Martin Nowak wrote: Thanks for this code, it's a lot nicer and simpler than mine. -- Andrei So, pull request for std.array and reverting the dollar thingie? Problem solved? This looks like the way to go. I apologize to the

Re: Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread Rikki Cattermole via Digitalmars-d-announce
On 1/02/2015 4:31 a.m., Kiith-Sa wrote: Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a documentation generator based on Brian Schott's Harbored that supports both DDoc and Markdown in documentation comments. -- Examples of generated docs

Re: Harbored-mod (doc generator) 0.2: Cross-referencing, methods/fields no longer in separate files

2015-01-31 Thread Rikki Cattermole via Digitalmars-d-announce
On 1/02/2015 1:02 p.m., Rikki Cattermole wrote: On 1/02/2015 4:31 a.m., Kiith-Sa wrote: Harbored-mod (https://github.com/kiith-sa/harbored-mod) is a documentation generator based on Brian Schott's Harbored that supports both DDoc and Markdown in documentation comments.

2015 H1 Vision

2015-01-31 Thread Andrei Alexandrescu via Digitalmars-d-announce
Hello, Walter and I have been mulling for a while on a vision for the first six months of 2015. http://wiki.dlang.org/Vision/2015H1 This is stuff we consider important for D going forward and plan to work actively on. We encourage the D community to focus contributions along the same

[Issue 14097] root/async.c: free after use

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14097 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added CC|

[Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s))

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13969 --- Comment #5 from Walter Bright bugzi...@digitalmars.com --- https://github.com/D-Programming-Language/dmd/pull/4364 --

[Issue 13969] [REG2.063] [ICE] (backend\cgcod.c 2309) with cycle(iota(a,b,s))

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13969 Walter Bright bugzi...@digitalmars.com changed: What|Removed |Added Hardware|x86 |All

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Piotrek via Digitalmars-d
On Saturday, 31 January 2015 at 20:34:32 UTC, Zach the Mystic wrote: The most important thing about a standard library is decisiveness in the leadership about what *kinds* of things should be in it. When it's been made clear that a given task is worthy of inclusion in the standard library,

Re: Mars Drafting Library - Official community driven library

2015-01-31 Thread Piotrek via Digitalmars-d
On Saturday, 31 January 2015 at 20:44:38 UTC, weaselcat wrote: On Saturday, 31 January 2015 at 14:06:20 UTC, Piotrek wrote: ... +1, basically boost for D. I heavily agree that the libraries should complement Phobos and never be orthogonal to phobos lest we have another tangos/phobos

[Issue 14095] explicitly exclude symbol from resolution consideration

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14095 Jonathan M Davis issues.dl...@jmdavisprog.com changed: What|Removed |Added CC|

Re: use after free crashbug in DMD (and fix)

2015-01-31 Thread ketmar via Digitalmars-d
On Sun, 01 Feb 2015 03:27:06 +, ketmar wrote: On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote: I have made a pull request[1] with your fix, if you don't mind. thank you. ah, and that caching is needed. `free()` in `AsyncRead::dispose` *can* be executed before loop in `startthread`

Re: use after free crashbug in DMD (and fix)

2015-01-31 Thread ketmar via Digitalmars-d
On Sun, 01 Feb 2015 03:09:15 +, ZombineDev wrote: I have made a pull request[1] with your fix, if you don't mind. thank you. signature.asc Description: PGP signature

[Issue 13952] change in struct ctor lowering triggers codegen bug

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13952 --- Comment #2 from Martin Nowak c...@dawg.eu --- (In reply to Walter Bright from comment #1) Please provide a reproducible example. I already spend almost a day on this and couldn't reduce it to less than compiling Higgs and running the tests.

[Issue 14093] [REG2.065] __traits(compiles, cast(Object)(tuple)) is true even if it doesn't compile.

2015-01-31 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14093 sinkuup...@gmail.com changed: What|Removed |Added CC||sinkuup...@gmail.com

  1   2   >