DMD 2.063.2 now up

2013-06-18 Thread Walter Bright

and fixes several reported regressions.

download.dlang.org


Re: DMD 2.063.2 now up

2013-06-18 Thread Aleksandar Ruzicic

On Tuesday, 18 June 2013 at 08:41:43 UTC, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


Great news! Luckily I wasn't hit by any regression but I'm glad 
to see that those are fixed promptly.


btw download.dlang.org is not working, is that a new location for 
downloads and DNS changes have not been propagated yet or you 
made a typo? :)


dlang.org/download.html still works so this is a non-issue.


Re: DMD 2.063.2 now up

2013-06-18 Thread Jacob Carlborg

On 2013-06-18 10:41, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


No change log? Or is it the same as for 2.063?

--
/Jacob Carlborg


Re: Call for D articles

2013-06-18 Thread Paulo Pinto

On Saturday, 8 June 2013 at 02:58:31 UTC, Drew Sikora wrote:

D Developers -

If anyone is interested in contributing new work covering 
topics and techniques for the D language, GameDev.net would be 
happy to host them for you. We have recently begun an open 
submission process with peer review that makes it easy for you 
to send us content to publish to our main page and reside in 
our archives that are heavily indexed by Google. Please find 
all the details here:

http://www.gamedev.net/page/resources/_/gdnethelp/how-to-publish-on-gamedevnet-r2927

Additionally, if any of you already have blogs or content out 
there that you would like to reach a wider audience we are 
happy to host re-prints of your content with links back to your 
blog/website.


Thank you for your attention.

Drew Sikora
Executive Producer
GameDev.net


I don't get to use D outside toy projects, given that my work is 
mostly centered on languages that live in the JVM and .NET 
ecosystems.


However, I have written a very short article as a response to a 
job interview quiz with solutions in C++ and D.


Not sure if it is publication worth.

http://progtools.org/compilers/tutorials/queue/article.html

--
Paulo


Re: DMD 2.063.2 now up

2013-06-18 Thread Gary Willoughby

On Tuesday, 18 June 2013 at 08:41:43 UTC, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


Thanks, but Mac OS has a broken download link.


Re: DMD 2.063.2 now up

2013-06-18 Thread Leandro Lucarella
Jacob Carlborg, el 18 de June a las 13:05 me escribiste:
 On 2013-06-18 10:41, Walter Bright wrote:
 and fixes several reported regressions.
 
 download.dlang.org
 
 No change log? Or is it the same as for 2.063?

Well, it can't be the same if it fixes some regressions introduced by
2.063 ;)

It certainly won't have new features or fixes for general bugs, but it
would be nice to have a changelog with the fixed regresssions.

-- 
Leandro Lucarella (AKA luca) http://llucax.com.ar/
--
GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145  104C 949E BFB6 5F5A 8D05)
--
Karma police
I've given all I can,
it's not enough,
I've given all I can
but we're still on the payroll.


Re: DMD 2.063.2 now up

2013-06-18 Thread Joshua Niehus

On Tuesday, 18 June 2013 at 13:52:25 UTC, Gary Willoughby wrote:

Thanks, but Mac OS has a broken download link.


time to open a More Mac Love? thread...



Re: DMD 2.063.2 now up

2013-06-18 Thread Andrei Alexandrescu

On 6/18/13 4:41 AM, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


That's http://downloads.dlang.org.

I'd piped a protest that we should use the singular in the subdomain (as 
we use in all other URLs) but wasn't listened to. Brad?



Andrei


glamour / gl3n

2013-06-18 Thread David
So, I did some more work on both libraries (last announce until today):

Glamour:
https://github.com/Dav1dde/glamour
http://dav1dde.github.io/glamour/

* BootDoc documentation
* some code-style changes (api did mostly not change, see next point)
* removed a few default arguments, make code less confusing
* Better support for uniform arrays in shader
* generate_mipmaps method for textures
* a few minor improvements with Texture1D
* loading textures from SDL (thanks OlaOst) and stb_image
* VAOs (well they were there for a while now)
* FBOs
* RenderBuffers
* A emulation sampler was added for Mac OSX
* Better support OSX in general (thanks SerialVelocity, aka Ben G.)
* a few helpers were added to util to transform opengl types to d types
and vice versa, also gl type to d type size (runtime and compiletime)
* A custom error callback can be set, which only fires when compiled
with -debug on opengl errors (after every opengl call done by glamour
glGetError is called)

Example:

-

void glamour_error_cb(GLenum errno, string func, string args) {
static GLenum last_errno = GL_NO_ERROR;
static string last_func = ;

if(last_errno != errno  last_func != func) {
logger.log!Warn(`OpenGL function %s(%s) failed: %s.`, func,
args, gl_error_string(errno));
last_errno = errno;
last_func = func;
}
}
debug glamour_set_error_callback(glamour_error_cb);

-


Future plan(s):
* maybe: adding a own opengl loader, independend from derelict,
generated by parsing the opengl spec
* PBO, IBO and more abstraction, will be done if requested or I actually
need them, just message me on irc or open an issue on github




Onto gl3n:

https://github.com/Dav1dde/gl3n
http://dav1dde.github.io/gl3n/

* on dub regestry, thanks BitPuffin!
* color.hsv (rgb - hsv conversion)
* ext.matrixstack added a simple but powerful matrixstack
* aabb support
* a simple plane was added (mainly for frustum support)
* a frustum was added, note it says the module is not tested, that means
there are no unittests for it (the other parts of gl3n use unittests
quite a lot, basically everything is covered with several unittests),
but I have it in use and it works, if someone could come up with
unittests, this would be great
* linalg, supports now vectors with an arbitrary length, of course not
all operations work on N-length vectors (dot product e.g.). This is done
with automatically unrolling foreach loops, instead of hardcoding the
max. length and unrolling with static if


foreach(index; TupleRange!(0, dimension)) {
temp += vector[index]^^2;
}


* swizzling now returns a Vector!(...), api shouldn't be affected,
assuming you passed the result to a vector constructor
* things like v.x *= 3 v.y += 3 are now possible


Future plans:

* fully support SIMD, either I will introduce gl3n.ext.simd, or use
core.simd directly in place, or I will wait for std.simd, or I will
copypaste the parts I need from the existing std.simd into
gl3n.ext.simd, not sure yet how I will do it, also when I am going to do
it (atm not a whole lot of time), but it will happen, sometime...
* move geometry related stuff (plane, aabb, frustum) into gl3n.geometry
and add more, like bounding spheres, improve plains etc. (not sure about
that yet)



And a little goodie:

Since a lot of you started using the awesome glfw, I made also a glfw
abstraction: https://github.com/Dav1dde/glwtf
Not documentated, but relativly self-explanatory, also WIP, but I have
it in use atm and I am missing nothing so far (fullscreen support will
be added at some point (soon?))
glwtf.glfw imports either glfw from deimos (default) or derelict3
(-version=DynamicGLFW)



If you have any question, go ahead ;)
Any wishes?

- David aka Dav1d.



Re: Call for D articles

2013-06-18 Thread bearophile

Paulo Pinto:


http://progtools.org/compilers/tutorials/queue/article.html


At the end you say:

Additionally also shows D's compatibility with C++, given the 
small amount of changes between both implementations.


Despite this, I think for an article the D version should be much 
more D-iomatic, both in formatting and in idioms/style. Like 
using contracts, not using core C functions, using pascalCase, 
etc. (Such changes are many, but they are quick and easy to do.)


Bye,
bearophile


Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-18 Thread Joseph Rushton Wakeling
... slightly more serious response: really nice talk, David, and 
thanks for the mention of Dregs. :-)


Re: DMD 2.063.2 now up

2013-06-18 Thread Walter Bright

On 6/18/2013 9:33 AM, Andrei Alexandrescu wrote:

On 6/18/13 4:41 AM, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


That's http://downloads.dlang.org.

I'd piped a protest that we should use the singular in the subdomain (as we use
in all other URLs) but wasn't listened to. Brad?


I think both should work. (Personally, I can never remember which is which.)



Re: DMD 2.063.2 now up

2013-06-18 Thread Walter Bright

On 6/18/2013 6:52 AM, Gary Willoughby wrote:

On Tuesday, 18 June 2013 at 08:41:43 UTC, Walter Bright wrote:

and fixes several reported regressions.

download.dlang.org


Thanks, but Mac OS has a broken download link.


It's here:

http://dlang.org/dmd.2.063.2.dmg


Re: glamour / gl3n

2013-06-18 Thread Kiith-Sa
Awesome. Will try out the new gl3n once I have time to work on my 
project.




Re: DConf 2013 Day 3 Talk 4: LDC by David Nadlinger

2013-06-18 Thread David Nadlinger

On Monday, 17 June 2013 at 15:19:27 UTC, Andrej Mitrovic wrote:
On 6/17/13, Andrei Alexandrescu seewebsiteforem...@erdani.org 
wrote:

youtube: http://youtube.com/watch?v=ntdKZWSiJdY


There seems to be some audio glitching every couple of seconds 
(at the
beginning). I've noticed this in other videos as well. It's 
mostly

minimal though, not much harm done.


Yes, there were, and it was rather irritating for me as well. 
Actually, they even changed my wireless beltpack during the 
presentation, at the point where there is pretty much silence in 
the video and they cut to a shot of the bored audience.


David


Re: Call for D articles

2013-06-18 Thread Paulo Pinto

Am 18.06.2013 20:34, schrieb bearophile:

Paulo Pinto:


http://progtools.org/compilers/tutorials/queue/article.html


At the end you say:


Additionally also shows D's compatibility with C++, given the small
amount of changes between both implementations.


Despite this, I think for an article the D version should be much more
D-iomatic, both in formatting and in idioms/style. Like using contracts,
not using core C functions, using pascalCase, etc. (Such changes are
many, but they are quick and easy to do.)

Bye,
bearophile


Thanks for the input, I will take it for an updated version of the 
article, if it just stays on my web site.


--
Paulo


Re: Call for D articles

2013-06-18 Thread bearophile

Paulo Pinto:

Thanks for the input, I will take it for an updated version of 
the article, if it just stays on my web site.


I suggest to also offer a plain text (un-colorized) version of 
the code. I have spent minutes to convert it.


Bye,
bearophile


Re: Call for D articles

2013-06-18 Thread Paulo Pinto

Am 18.06.2013 22:12, schrieb bearophile:

Paulo Pinto:


Thanks for the input, I will take it for an updated version of the
article, if it just stays on my web site.


I suggest to also offer a plain text (un-colorized) version of the code.
I have spent minutes to convert it.

Bye,
bearophile


Actually that link is for reading online only, if you navigate to the 
article from the main page, there is a link to download a zip file with 
both C++ and D versions.



--
Paulo


Re: DMD 2.063.2 now up

2013-06-18 Thread Jerry
Walter Bright newshou...@digitalmars.com writes:

 and fixes several reported regressions.

 download.dlang.org

Yay!  I can compile and run programs now!  Thanks everyone for helping
me get running again.

cheers
Jerry


Re: LDC 0.11.0 has been released!

2013-06-18 Thread David Nadlinger

On Sunday, 9 June 2013 at 16:32:55 UTC, Andrei Alexandrescu wrote:

Awesome! Any ETA for 0.12.0 built with 2.063's frontend?


Git master is on 2.063.1 now.

There were quite far-reaching internal changes, though, so the 
current state might not be as stable as the last release was 
(well, d'oh).


David