Re: Beta D 2.070.0-b1
On 16.01.2016 05:09, Adam D. Ruppe wrote: Has anyone built a Windows program with the beta? I tried and got undefined identifier HWND, but have been unable to minimize the test case and it might be just my install not being clean. Works for me to build Visual D, though it uses it's own windows headers most of the time. There are a few tools that use HWND from core.sys.windows that seem ok. I noticed the installer downloads Visual D 0.3.42, this should be updated to the latest version: https://github.com/D-Programming-Language/installer/pull/164
Re: DStep 0.2.1
On Saturday, 16 January 2016 at 19:16:26 UTC, Jacob Carlborg wrote: On 2016-01-16 20:01, Russel Winder via Digitalmars-d-announce wrote: Trying the Debian build on Debian Sid, I still have the libclang.so problem, I have shown the list of things there are below. Creating a hack symbolic link I got it to work. I've built the DStep against libclang provided by LLVM from here [1]. It's easier to test multiple versions of libclang that way. But I guess I could build the final binary against the system provided libclang. [1] http://llvm.org/releases/index.html Help me with this please. Not sure what I'm doing wrong. Attempting to compile from code I get: anon@gwave ~/g/dstep> dub build Performing "debug" build using dmd for x86_64. tango 1.0.3+2.068: target for configuration "static" is up to date. mambo 0.0.7: target for configuration "library" is up to date. dstack 0.0.4: target for configuration "library" is up to date. dstep 0.1.1+commit.29.g015bd59: building configuration "default"... ../../.dub/packages/mambo-0.0.7/mambo/util/Traits.d(154,39): Deprecation: typedef is removed ../../.dub/packages/mambo-0.0.7/mambo/util/Traits.d(182,30): Deprecation: typedef is removed Linking... ld: library not found for -lclang clang: error: linker command failed with exit code 1 (use -v to see invocation) --- errorlevel 1 dmd failed with exit code 1. So I download the pre-build binary. And now I get: dmd failed with exit code 1. anon@gwave ~/g/dstep> ~/Downloads/dstep dyld: Library not loaded: @rpath/libclang.dylib Referenced from: /Users/anon/Downloads/dstep Reason: image not found I've got clang installed: anon@gwave ~/g/dstep> clang -v Apple LLVM version 7.0.2 (clang-700.1.81) Target: x86_64-apple-darwin15.2.0 Thread model: posix And the path to the lib appended to $PATH environment variable (do sure how to pass this to dub): anon@gwave ~/g/dstep> mdfind -name libclang /Library/Developer/CommandLineTools/usr/lib/libclang.dylib anon@gwave ~/g/dstep> echo $PATH /usr/local/bin /usr/bin /bin /usr/sbin /sbin /Library/Developer/CommandLineTools/usr/lib/ Thanks
Re: Logo for D
On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote: How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way. In all honesty I like the current one better. The binary background feels gimmicky.
Re: Logo for D
On 16.01.2016 18:55, karabuta wrote: How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way. Do you intend to propose this for the official logo? If so, be aware that the logo is a delicate matter. There have been various proposals to change it from the current one, and all have been rejected. It's Walter himself who is rather strictly against any changes. I have been pushing for this variant: https://gist.github.com/aG0aep6G/0803ec5ae49f6afb0196 You see it's very, very similar to the current one. To the point that you could say it's really the same logo. Yet, it was the one part of the red-top-bar redesign that didn't fly with the powers that be. I haven't given up yet, though. By the way, I'm not sure if this is announcement material. If you're looking for feedback, I think the General group would have been a better fit.
Type safe OpenGL - Converting strings into types in D by Maik Klein
Not a brand new article but I don't think it was posted here before. On Reddit: https://www.reddit.com/r/programming/comments/4182xc/type_safe_opengl_converting_strings_into_types_in/ Actual link: https://maikklein.github.io/2015/11/14/Converting-strings-to-types/ Ali
DStep 0.2.1
I've just created a new release of DStep, 0.2.1 [1]. Binaries are available for OS X, Linux 64bit and FreeBSD 64bit. No 32bit versions this time, unfortunately. For those not familiar with DStep: DStep is a tool for translating C and Objective-C headers to D modules. Changelog: Version 0.2.1 New/Changed Features * Clang internal header files are now included in the executable * A script for testing multiple versions of libclang has been added * DStep outputs spaces instead of tabs for indentation * Update Clang bindings to 3.7.0 * Run tests on Travis-CI Objective-C * Selectors are translated to `@selector("foo")` * `id` is translated to `ObjcObject` Bugs Fixed * Issue #42: Compile failure with DMD v2.0.68 * Issue #37: Regression: clang 3.5 causes struct members to be defined again * Issue #26: dstep dumps core on a simple header [1] https://github.com/jacob-carlborg/dstep/releases/tag/v0.2.1 -- /Jacob Carlborg
Logo for D
How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way.
Re: DStep 0.2.1
On Sat, 2016-01-16 at 18:02 +0100, Jacob Carlborg via Digitalmars-d- announce wrote: > I've just created a new release of DStep, 0.2.1 [1]. Binaries are > available for OS X, Linux 64bit and FreeBSD 64bit. No 32bit versions > this time, unfortunately. I tried the Debian build on Fedora Rawhide, I have opened Issue 44. https://github.com/jacob-carlborg/dstep/issues/44 -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder signature.asc Description: This is a digitally signed message part
Re: Logo for D
On 2016-01-16 18:55, karabuta wrote: How do you see it? http://amazingws.0fees.us/wp-content/uploads/2016/01/dlang2.png Many variants are on the way. I think any new logo should have a base form, with only two colors, black and white. This allows for further variations without loosing the identity and recognizability. -- /Jacob Carlborg
Re: Logo for D
On Saturday, 16 January 2016 at 18:15:06 UTC, anonymous wrote: On 16.01.2016 18:55, karabuta wrote: [...] Do you intend to propose this for the official logo? If so, be aware that the logo is a delicate matter. There have been various proposals to change it from the current one, and all have been rejected. It's Walter himself who is rather strictly against any changes. [...] Nope. Just playing around. Why did they reject yours by the way?
Re: DStep 0.2.1
On 2016-01-16 20:01, Russel Winder via Digitalmars-d-announce wrote: Trying the Debian build on Debian Sid, I still have the libclang.so problem, I have shown the list of things there are below. Creating a hack symbolic link I got it to work. I've built the DStep against libclang provided by LLVM from here [1]. It's easier to test multiple versions of libclang that way. But I guess I could build the final binary against the system provided libclang. [1] http://llvm.org/releases/index.html -- /Jacob Carlborg
Re: DStep 0.2.1
On Sat, 2016-01-16 at 18:27 +, Russel Winder wrote: > On Sat, 2016-01-16 at 18:02 +0100, Jacob Carlborg via Digitalmars-d- > announce wrote: > > I've just created a new release of DStep, 0.2.1 [1]. Binaries are > > available for OS X, Linux 64bit and FreeBSD 64bit. No 32bit > > versions > > this time, unfortunately. > > I tried the Debian build on Fedora Rawhide, I have opened Issue 44. > > https://github.com/jacob-carlborg/dstep/issues/44 > Trying the Debian build on Debian Sid, I still have the libclang.so problem, I have shown the list of things there are below. Creating a hack symbolic link I got it to work. I may well now use this for the whole of the Linux DVB Driver and libdvbv5. |> find /usr -name "*libclang*" /usr/share/doc/libclang-common-3.6-dev /usr/share/doc/libclang-common-3.7-dev /usr/share/doc/libclang1-3.7 /usr/share/doc/libclang1-3.6 find: ‘/usr/share/doc/google-chrome-stable’: Permission denied /usr/share/lintian/overrides/libclang1-3.7 /usr/share/lintian/overrides/libclang1-3.6 /usr/lib/x86_64-linux-gnu/libclang-3.6.so.1 /usr/lib/x86_64-linux-gnu/libclang-3.7.so.1 /usr/lib/llvm-3.6/lib/libclang-3.6.so.1 /usr/lib/llvm-3.6/lib/libclang.so.1 /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.tsan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.asan_cxx- x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.asan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.ubsan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.ubsan_cxx- x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.builtins- x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.lsan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.dfsan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.msan-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.san-x86_64.a /usr/lib/llvm-3.6/lib/clang/3.6.2/lib/linux/libclang_rt.profile- x86_64.a /usr/lib/llvm-3.7/lib/libclang-3.7.so.1 /usr/lib/llvm-3.7/lib/libclang.so.1 /usr/lib/llvm-3.7/lib/clang/3.7.1/lib/linux/libclang_rt.builtins- x86_64.a /usr/lib/llvm-3.7/lib/clang/3.7.1/lib/linux/libclang_rt.profile- x86_64.a -- Russel. = Dr Russel Winder t: +44 20 7585 2200 voip: sip:russel.win...@ekiga.net 41 Buckmaster Roadm: +44 7770 465 077 xmpp: rus...@winder.org.uk London SW11 1EN, UK w: www.russel.org.uk skype: russel_winder signature.asc Description: This is a digitally signed message part
Re: Type safe OpenGL - Converting strings into types in D by Maik Klein
On Saturday, 16 January 2016 at 18:18:33 UTC, Ali Çehreli wrote: Not a brand new article but I don't think it was posted here before. On Reddit: https://www.reddit.com/r/programming/comments/4182xc/type_safe_opengl_converting_strings_into_types_in/ Actual link: https://maikklein.github.io/2015/11/14/Converting-strings-to-types/ Currently #24 on Hacker News: https://news.ycombinator.com/