Re: [OT] HTML: div/iframe hybrid?

2015-03-09 Thread Dicebot via Digitalmars-d
On Saturday, 7 March 2015 at 17:01:14 UTC, Nick Sabalausky wrote: On 03/06/2015 07:16 AM, Kagamin wrote: Just posted: http://jonrimmer.github.io/are-we-componentized-yet/ Is it what you need? No, what I was looking for was a way to do "Just drop these few lines of code into your HTML" a la D

Re: Standard GUI framework inspired by Qt

2015-03-09 Thread ketmar via Digitalmars-d
On Tue, 10 Mar 2015 01:25:03 +, karl wrote: > Please don't use SDL2 and such as basis what is wrong with SDL2? it doesn't use `glReadPixels()`, afair. and if it's doing something very wrong, and you know how to made it better, would you please fill bugreport? signature.asc Description: PGP

Re: Standard GUI framework inspired by Qt

2015-03-09 Thread karl via Digitalmars-d
Please don't use SDL2 and such as basis, or OpenGL with glBegin+glReadPixels without FBOs and PBOs (not Pbuffers). I'm a GL driver dev (userspace) for a smaller company, and I see too much gore in popular software like that (gnome3 is the most-horrific). A fully-featured GUI with GL needs only

Re: [NEEDING HELP] Translation of Ali Cehreli's book in French

2015-03-09 Thread Raphaël Jakse via Digitalmars-d
Le 09/03/2015 19:46, Scroph a écrit : Thanks for the replies everybody. I read them all, and in the end, I decided to translate "members" into "champs" and kept "méthodes" for member functions. However, this isn't final, and you are all welcome to make further suggestions. @Raphaël : I just sent

Re: What Features Should A GUI toolkit have?

2015-03-09 Thread Baz via Digitalmars-d
On Friday, 6 March 2015 at 06:02:17 UTC, Taylor Hillegeist wrote: So I have played with a few GUI libraries with bindings available through D. Personally I find that it seems like there is alot of effort being put forth on GUI projects. It is my experience that most project's fail or die, not

Re: [OT] HTML: div/iframe hybrid?

2015-03-09 Thread Nick Sabalausky via Digitalmars-d
On 03/08/2015 04:31 AM, "Ola Fosheim =?UTF-8?B?R3LDuHN0YWQi?= " wrote: On Saturday, 7 March 2015 at 17:01:14 UTC, Nick Sabalausky wrote: I haven't looked at the details, but "HTML Imports" sounds like something that might have been able to fit that, but according to that page, not only do Safari

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Jacob Carlborg via Digitalmars-d
On 2015-03-09 15:40, Vladimir Panteleev wrote: That has the year in the URL though... This might be easier: http://downloads.dlang.org/releases/2.x/ -- /Jacob Carlborg

Re: [NEEDING HELP] Translation of Ali Cehreli's book in French

2015-03-09 Thread Scroph via Digitalmars-d
Thanks for the replies everybody. I read them all, and in the end, I decided to translate "members" into "champs" and kept "méthodes" for member functions. However, this isn't final, and you are all welcome to make further suggestions. @Raphaël : I just sent the translated version to the email

[OT] Exploiting the DRAM rowhammer bug to gain kernel privileges

2015-03-09 Thread Guillaume Chatelet via Digitalmars-d
I'm just leaving this here :) http://googleprojectzero.blogspot.fr/2015/03/exploiting-dram-rowhammer-bug-to-gain.html

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Vladimir Panteleev" wrote in message news:bbnllblbmhtjnkmdt...@forum.dlang.org... That has the year in the URL though... Can I get that programmatically, other than by querying the git tag? Not that I know of.

Re: RCArray is unsafe

2015-03-09 Thread Nick Treleaven via Digitalmars-d
On 04/03/2015 08:55, Ivan Timokhin wrote: void main() { auto arr = RCArray!int([0]); foo(arr, arr[0]); } void foo(ref RCArray!int arr, ref int val) { { auto copy = arr; //arr's (and copy's) reference counts are both 2

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 9 March 2015 at 13:32:10 UTC, Daniel Murphy wrote: "Vladimir Panteleev" wrote in message news:bujssfggzyassdtzd...@forum.dlang.org... It depends, do we have a stable URL structure for DMD downloads so that you can build a working download URL with only the platform and version?

Re: What Features Should A GUI toolkit have?

2015-03-09 Thread Paulo Pinto via Digitalmars-d
On Monday, 9 March 2015 at 12:29:54 UTC, Ola Fosheim Grøstad wrote: Some applications that use Chromium Embedded: http://en.wikipedia.org/wiki/Chromium_Embedded_Framework#Applications_using_CEF I don't use any of them and Github for Windows was done in WPF last time I checked, how come it is

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Vladimir Panteleev" wrote in message news:vdwvdnzzzhenuybcb...@forum.dlang.org... What about source Linux distributions, like Gentoo? What do other self-hosted languages do in this situation? Download the zip.

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Vladimir Panteleev" wrote in message news:bujssfggzyassdtzd...@forum.dlang.org... It depends, do we have a stable URL structure for DMD downloads so that you can build a working download URL with only the platform and version? Sorta http://downloads.dlang.org/releases/2014/

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 9 March 2015 at 01:26:10 UTC, Daniel Murphy wrote: "Walter Bright" wrote in message news:mdiqav$17i8$1...@digitalmars.com... On 3/8/2015 5:00 PM, Daniel Murphy wrote: > If it's a new platform, why would 2.067 be able to target it? Because it'll have a C++ compiler. You'd be able

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 9 March 2015 at 10:47:06 UTC, Daniel Murphy wrote: "Vladimir Panteleev" wrote in message news:njvvnodefqmrhzbux...@forum.dlang.org... A machine-readable version is preferable because then Digger can consult it to know which pre-built DMD version to fetch. Yes. Any preference on

Re: What Features Should A GUI toolkit have?

2015-03-09 Thread via Digitalmars-d
Some applications that use Chromium Embedded: http://en.wikipedia.org/wiki/Chromium_Embedded_Framework#Applications_using_CEF

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Vladimir Panteleev" wrote in message news:njvvnodefqmrhzbux...@forum.dlang.org... A machine-readable version is preferable because then Digger can consult it to know which pre-built DMD version to fetch. Yes. Any preference on the name? If we had somewhere a machine-readable list of all D

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Vladimir Panteleev via Digitalmars-d
On Monday, 9 March 2015 at 04:01:26 UTC, Daniel Murphy wrote: "Vladimir Panteleev" wrote in message news:sjlsydcjflglxpwus...@forum.dlang.org... OK, then can a file please be added to the DMD source repo which indicates which host DMD version is needed to build it? This seems reasonable. W

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Iain Buclaw via Digitalmars-d
On 9 March 2015 at 08:44, ketmar via Digitalmars-d wrote: > On Mon, 09 Mar 2015 00:12:47 -0700, Walter Bright wrote: > >> On 3/8/2015 8:43 PM, Daniel Murphy wrote: >>> "Walter Bright" wrote in message news:mdj3l3$1hup$1...@digitalmars.com... >>> Never needed to build a cross compiler. >>> >>

Re: Standard GUI framework inspired by Qt

2015-03-09 Thread Russel Winder via Digitalmars-d
On Mon, 2015-03-09 at 08:56 +, Dejan Lekic via Digitalmars-d wrote: […] > > I would rather have a GUI framework inspired by JavaFX, plus some > features that could be added on top of it, that are related to > the fact that D programmers can utilize hardware directly. JavaFX > is in my humbl

Re: Standard GUI framework inspired by Qt

2015-03-09 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 3 March 2015 at 18:43:50 UTC, Aram wrote: Hi all I've been thinking over a GUI framework for D for some time, and ended up with idea expressed by Andrew Fedoniouk here: http://www.digitalmars.com/d/archives/digitalmars/D/32633.html. That is, having a separate drawing layer, and wi

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread ketmar via Digitalmars-d
On Mon, 09 Mar 2015 00:12:47 -0700, Walter Bright wrote: > On 3/8/2015 8:43 PM, Daniel Murphy wrote: >> "Walter Bright" wrote in message news:mdj3l3$1hup$1...@digitalmars.com... >> >>> Never needed to build a cross compiler. >> >> You did when adding 64-bit targets. ie dmd is a 32->64 and 64->32

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread ketmar via Digitalmars-d
On Mon, 09 Mar 2015 02:18:31 +1100, Daniel Murphy wrote: > I would prefer long periods between host compiler version bumps, but is > building completely from source really a concern? sure it is. one more windoze .exe to call for cross-building dmd.exe in GNU/Linux. i managed to make it partially

Re: What Features Should A GUI toolkit have?

2015-03-09 Thread via Digitalmars-d
On Saturday, 7 March 2015 at 07:33:03 UTC, Russel Winder wrote: I meant a user interface not using a browser as the infrastructure. Cocoa, Qt, GTK, JavaFX, etc. are all there already, and have everything browsers are still trying to get. All I can say that you can cut down on development time

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Walter Bright" wrote in message news:mdjj01$22eo$1...@digitalmars.com... As far as I'm concerned, if it's running on the same machine, it is not a cross compiler, it's a different memory model. I... I don't agree. But luckily it doesn't matter.

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Walter Bright via Digitalmars-d
On 3/9/2015 12:30 AM, Daniel Murphy wrote: "Walter Bright" wrote in message news:mdjh6g$215p$1...@digitalmars.com... Not really. I never had to compile one one machine and copy the result onto another. It doesn't have to be cross-architecture to be a cross compiler. As far as I'm concerned

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Daniel Murphy via Digitalmars-d
"Walter Bright" wrote in message news:mdjh6g$215p$1...@digitalmars.com... Not really. I never had to compile one one machine and copy the result onto another. It doesn't have to be cross-architecture to be a cross compiler. How easy it is to copy the files over would decide which method is m

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Walter Bright via Digitalmars-d
On 3/8/2015 9:07 PM, Jonathan M Davis via Digitalmars-d wrote: I thought that cross-compiling was pretty much always how you port a compiler to a new platform. Certainly, I don't see how we could require that ddmd forever compile with 2.067. The language is a lot more stable than it used to be, b

Re: [dmd-internals] DMD now requires a working D compiler to be build

2015-03-09 Thread Walter Bright via Digitalmars-d
On 3/8/2015 8:43 PM, Daniel Murphy wrote: "Walter Bright" wrote in message news:mdj3l3$1hup$1...@digitalmars.com... Never needed to build a cross compiler. You did when adding 64-bit targets. ie dmd is a 32->64 and 64->32 cross compiler. Not really. I never had to compile one one machine