[Issue 14021] Chrome security, https over http

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14021 Vladimir Panteleev thecybersha...@gmail.com changed: What|Removed |Added Status|NEW |RESOLVED

Re: Emacs D-Mode [was Like Go/Rust, why not to have func keyword before function declaration]

2015-01-21 Thread Joakim via Digitalmars-d
On Wednesday, 21 January 2015 at 08:41:47 UTC, Walter Bright wrote: On 1/21/2015 12:19 AM, Russel Winder via Digitalmars-d wrote: The Emacs D-Mode will only improve if people provide bug reports and fixes. A number of people are doing this for their pain points. If the Emacs D-Mode is

Re: D on Slashdot

2015-01-21 Thread Mathias LANG via Digitalmars-d
On Wednesday, 21 January 2015 at 08:56:54 UTC, Kagamin wrote: [...] Windows console does it elegantly without telepathy: it rolls through the list of ambiguous names. Personally I use http://grml.org/zsh/. It's available as an ArchLinux package. It's also the default shell config for the

Re: D on Slashdot

2015-01-21 Thread Kagamin via Digitalmars-d
On Wednesday, 21 January 2015 at 02:23:03 UTC, ketmar via Digitalmars-d wrote: i even knew how to quit vi ctrl-c? and now i can't understand anymore why i was happy with windows. i really love my terminal and all the power *nix utilities gave me! ;-) BTW, is there a way to make the shell

Re: New menus are up

2015-01-21 Thread Tofu Ninja via Digitalmars-d
On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Can we have the old menus back :

Re: What to do with InvalidMemoryOperationError

2015-01-21 Thread Nordlöw
On Wednesday, 21 January 2015 at 12:10:20 UTC, Nordlöw wrote: On Wednesday, 21 January 2015 at 12:00:47 UTC, Nordlöw wrote: My executable throws as core.exception.InvalidMemoryOperationError@(0) I've tracked it down to being caused by foreach (line; File(path).byLine) {} when path

Re: New menus are up

2015-01-21 Thread John Colvin via Digitalmars-d
On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Take a look at http://dlang.org. New menus are in place for the main site and library. I think we're in a better place than before. However, there are a few things left to do. I'd very much appreciate help with those.

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 06:08:50 UTC, Israel wrote: I never understood why you guys use DMD on wine. Theres a DMD for linux... Is it because you want to develop your windows programs without having to run a full virtual machine? My users are on Windows but my files are on a Linux

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 04:45:23 UTC, Joakim wrote: A nice overview of the current D situation by David Bolton- not the usual filler you see from non-technical authors as he specifically mentions the GC, dub, modules, etc. and details about how they work- D can only hope for more such

Re: I'll be presenting at NWCPP on Jan 21 at Microsoft

2015-01-21 Thread FrankLike via Digitalmars-d-announce
On Monday, 5 January 2015 at 07:46:20 UTC, Walter Bright wrote: http://nwcpp.org/ All are invited. Now I just have to write the presentation :-( How about the result? Thanks. Frank

Re: New menus are up

2015-01-21 Thread Chris via Digitalmars-d
On Tuesday, 20 January 2015 at 08:13:56 UTC, Jonas Drewsen wrote: On Tuesday, 20 January 2015 at 03:33:19 UTC, Andrei Alexandrescu wrote: ... aand we already have a contender! https://github.com/D-Programming-Language/dlang.org/pull/790 Looks better than dlang.org? Yeah definitely... better

Re: What to do with InvalidMemoryOperationError

2015-01-21 Thread Ali Çehreli via Digitalmars-d-learn
On 01/21/2015 04:10 AM, Nordlöw wrote: On Wednesday, 21 January 2015 at 12:00:47 UTC, Nordlöw wrote: My executable throws as core.exception.InvalidMemoryOperationError@(0) I've tracked it down to being caused by foreach (line; File(path).byLine) {} when path contains a very large

Re: New menus are up

2015-01-21 Thread John Colvin via Digitalmars-d
On Wednesday, 21 January 2015 at 14:27:23 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 21 January 2015 at 13:38:25 UTC, MattCoder wrote: On Wednesday, 21 January 2015 at 13:28:22 UTC, Tofu Ninja wrote: On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Can we have the

Re: DlangUI project update

2015-01-21 Thread Vadim Lopatin via Digitalmars-d-announce
On Tuesday, 20 January 2015 at 10:51:38 UTC, Vadim Lopatin wrote: On Friday, 26 December 2014 at 12:33:04 UTC, Vadim Lopatin wrote: Hello! DlangUI project is alive and under active development. https://github.com/buggins/dlangui Project update: * A lot of bugs fixed * Look and feel of

[Issue 14023] New: [CTFE] postblits/destructors not called on static array index assignment

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14023 Issue ID: 14023 Summary: [CTFE] postblits/destructors not called on static array index assignment Product: D Version: D2 Hardware: All OS: All

Re: Some array casts

2015-01-21 Thread bearophile via Digitalmars-d-learn
Baz: int[3] m = cast(int[3])[1, 2, 3]; writeln(m.sizeof); writeln([1, 2, 3].sizeof); The sizeof values aren't relevant for D array casts. What matters are the array contents. Bye, bearophile

Re: Nested C++ namespace library linking

2015-01-21 Thread John Colvin via Digitalmars-d-learn
On Tuesday, 20 January 2015 at 21:10:59 UTC, Guillaume Chatelet wrote: Consider the following foo.cpp namespace A { namespace B { struct Type {}; int foo(Type unused){ return 42; } } } Compile it : g++ foo.cpp -c -o foo.o Then the following main.d extern(C++, A.B) { struct Type {}

Re: Some array casts

2015-01-21 Thread Baz via Digitalmars-d-learn
On Wednesday, 21 January 2015 at 14:31:15 UTC, bearophile wrote: Currently this is accepted: int[2] m = cast(int[2])[1, 2]; But Kenji suggests that the cast from int[] to int[2][1] should not be accepted. Do you know why? Reference: https://issues.dlang.org/show_bug.cgi?id=7514 Bye and

Re: dlang.org redesign n+1

2015-01-21 Thread Ali Çehreli via Digitalmars-d
On 01/21/2015 06:46 AM, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu I love it! I seriously think that this kind of modern look will help with

Re: dlang.org redesign n+1

2015-01-21 Thread Paulo Pinto via Digitalmars-d
On Wednesday, 21 January 2015 at 14:46:22 UTC, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu It is still a wip, but the landing page and the

Re: dlang.org redesign n+1

2015-01-21 Thread Xinok via Digitalmars-d
On Wednesday, 21 January 2015 at 14:46:22 UTC, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu This gets a big thumbs up from me. The layout is

What to do with InvalidMemoryOperationError

2015-01-21 Thread Nordlöw
My executable throws as core.exception.InvalidMemoryOperationError@(0) when compiled with DMD git master. I get no stack trace in GDB. What to do?

Showcase your favorite language on Codegolf SE

2015-01-21 Thread Nicolas Sicard via Digitalmars-d
In case nobody has noticed it yet, there's an interesting new challenge on codegolf.stackexchange called Showcase your language where you can only show a snippet of length equal to your number of upvotes (more detailed rule there).

Re: What to do with InvalidMemoryOperationError

2015-01-21 Thread Nordlöw
On Wednesday, 21 January 2015 at 12:00:47 UTC, Nordlöw wrote: My executable throws as core.exception.InvalidMemoryOperationError@(0) I've tracked it down to being caused by foreach (line; File(path).byLine) {} when path contains a very large text file (392 MB, 1658080 lines). Do I

Re: Problem with coupling shared object symbol visibility with protection

2015-01-21 Thread Paulo Pinto via Digitalmars-d
On Tuesday, 20 January 2015 at 12:23:32 UTC, Benjamin Thaut wrote: I'm currently working on Windows DLL support which has stronger rules than linux shared objects for which symbols actually get exported from a shared library. But as we want to replicate the same behaviour on linux using symbol

[Issue 12495] CTFE slice cast can cause allocation

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=12495 Kenji Hara k.hara...@gmail.com changed: What|Removed |Added Keywords||CTFE, pull --- Comment #1

dlang.org redesign n+1

2015-01-21 Thread Sebastiaan Koppe via Digitalmars-d
Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu It is still a wip, but the landing page and the language reference (see Docs menu-item) is working. Doing the ddoc was a

Re: Problem with coupling shared object symbol visibility with protection

2015-01-21 Thread Benjamin Thaut via Digitalmars-d
Thanks for keeping to poke this issue - symbol visibility is currently a big undefined minefield in D ABI. Your welcome. At this point I'm so desperate for D Dll support that I stopped poking and started implementing it myself. I'm 3 unresolved symbol references away from actually building

Re: New menus are up

2015-01-21 Thread via Digitalmars-d
On Wednesday, 21 January 2015 at 13:38:25 UTC, MattCoder wrote: On Wednesday, 21 January 2015 at 13:28:22 UTC, Tofu Ninja wrote: On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Can we have the old menus back : Why would you want that? Usability? The new ones

Some array casts

2015-01-21 Thread bearophile via Digitalmars-d-learn
Currently this is accepted: int[2] m = cast(int[2])[1, 2]; But Kenji suggests that the cast from int[] to int[2][1] should not be accepted. Do you know why? Reference: https://issues.dlang.org/show_bug.cgi?id=7514 Bye and thank you, bearophile

Re: Some array casts

2015-01-21 Thread Baz via Digitalmars-d-learn
On Wednesday, 21 January 2015 at 14:41:48 UTC, Baz wrote: On Wednesday, 21 January 2015 at 14:31:15 UTC, bearophile wrote: Currently this is accepted: int[2] m = cast(int[2])[1, 2]; But Kenji suggests that the cast from int[] to int[2][1] should not be accepted. Do you know why? Reference:

[Issue 14022] New: [CTFE] postblits/destructors not called on static array field assignment

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=14022 Issue ID: 14022 Summary: [CTFE] postblits/destructors not called on static array field assignment Product: D Version: D2 Hardware: All OS: All

Re: New menus are up

2015-01-21 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-21 08:21, Jacob Carlborg wrote: The icons need higher resolution for retina displays. Especially the expand (plus) icons in the menu. Using glyphs/text as icons, with a special font should be considered, i.e.: * Font Awesome - http://fortawesome.github.io/Font-Awesome/ *

Re: D on Slashdot

2015-01-21 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 21 January 2015 at 13:36:47 UTC, MattCoder wrote: For what I'm seeing Wine isn't an emulator like VMWare, it's a layer Yeah, Windows is, from the application programmer's perspective, basically just a giant library. Wine is an implementation of that library on Linux. so you

[Issue 13295] [CTFE] Modifications of const user type disappear

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

[Issue 13297] [CTFE] Modifications of user type pointer member passed by ref in function disappear

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13297 --- Comment #4 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/0bc8cca5586e5bb060d237188db75d84184fa274 fix Issue 13297 - [CTFE]

Re: New menus are up

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 13:28:22 UTC, Tofu Ninja wrote: On Tuesday, 20 January 2015 at 03:29:23 UTC, Andrei Alexandrescu wrote: Can we have the old menus back : Why would you want that? Matheus.

Re: D on Slashdot

2015-01-21 Thread MattCoder via Digitalmars-d
On Wednesday, 21 January 2015 at 13:19:00 UTC, Adam D. Ruppe wrote: It is a lot easier to just run wine dmd and distribute the finished exe than it is to copy all the development files to the windows computer and run it there. For what I'm seeing Wine isn't an emulator like VMWare, it's a

Re: Can D get on XBone and PS4?

2015-01-21 Thread Jacob Carlborg via Digitalmars-d
On 2015-01-21 10:28, Manu via Digitalmars-d wrote: Super awesome! Does LLDB have any support for D though? No, not that I've heard of :( -- /Jacob Carlborg

[Issue 7874] [CTFE] internal error: unsupported assignment (x OP= y) = z

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=7874 --- Comment #7 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/8be17b6a7b715faeb9321afba21623eaf5cca87c fix Issue 7874 - [CTFE]

[Issue 13295] [CTFE] Modifications of const user type disappear

2015-01-21 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13295 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/D-Programming-Language/dmd https://github.com/D-Programming-Language/dmd/commit/cbb449b63d20ac46faa5c0f79d92cba23b743713 fix Issue 13295 - [CTFE]

[Issue 7874] [CTFE] internal error: unsupported assignment (x OP= y) = z

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

[Issue 13297] [CTFE] Modifications of user type pointer member passed by ref in function disappear

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

DerelictCEF: Chromium Emdedded Framework Binding

2015-01-21 Thread Mike Parker via Digitalmars-d-announce
I've been wanting to play around with the Chromium Emdedded Framework for a while. So I've created a D binding for it. I want to stress that I can offer no support for this right now beyond fixing bugs, i.e. I can't help anyone with how to use the CEF C API as I don't know it myself. I've put

Re: dlang.org redesign n+1

2015-01-21 Thread Mike Parker via Digitalmars-d
On 1/21/2015 11:46 PM, Sebastiaan Koppe wrote: Just for fun and proof-of-concept I went ahead and forked the dlang.org site. I basically took the `do-what-everybody-else-is-doing` approach: http://dlang.skoppe.eu A giant +1. This is the direction the site should be going in.

<    1   2   3