Re: dmd 2.064.2

2013-11-08 Thread Nicholas Londey
Can you clarify exactly which version of Visual Studio 2013 you 
are using?


Can you also confirm that you can compile and link a C++ console 
app using your current installation of vs2013?


Re: DirectX bindings

2013-11-08 Thread ponce

On Sunday, 3 November 2013 at 05:27:24 UTC, evilrat wrote:
please be careful though, as it is only in alpha stage and 
missing some stuff. current version is June 2010 SDK, but i 
update it(to win8 sdk version) once i had win8 machine(i'm 
still don't have a PC at home).




Hi evilrat,

I've been thinking about this for a while, maybe you know about 
SharpDX.

https://github.com/sharpdx/SharpDX

It parses DirectX SDK headers and provide C# DirectX bindings + 
marshalling code (based on gccxml C++ parser).
I wonder how involved would it be to modify its generation tool 
(https://github.com/sharpdx/SharpDX/tree/master/Source/Tools/SharpGen) 
to output D bindings instead.


Re: DirectX bindings

2013-11-08 Thread liyu

On Sunday, 3 November 2013 at 05:27:24 UTC, evilrat wrote:

Greetings,
many of you may notice lack of (up-to-date and working) DirectX 
bindings, one may also seen my activity on d.learn sub forum. 
so let me announce yet another bindings for DirectX which one 
may fork right now from github!


https://github.com/evilrat666/directx-d

please be careful though, as it is only in alpha stage and 
missing some stuff. current version is June 2010 SDK, but i 
update it(to win8 sdk version) once i had win8 machine(i'm 
still don't have a PC at home).


also, there is no d3d9 and d3d10 stuff as i consider it 
outdated now, but i would appreciate pull requests for them 
anyway :)


great, however it seems has a little problem, the arg of
ID3D11DeviceContext.Unmap should be ID3D11Resource not
ID3D11Resource*, arg of IASetIndexBuffer should be ID3D11Buffer
not ID3D11Buffer*


Re: DirectX bindings

2013-11-08 Thread evilrat

On Friday, 8 November 2013 at 11:37:38 UTC, liyu wrote:

On Sunday, 3 November 2013 at 05:27:24 UTC, evilrat wrote:

Greetings,
many of you may notice lack of (up-to-date and working) 
DirectX bindings, one may also seen my activity on d.learn sub 
forum. so let me announce yet another bindings for DirectX 
which one may fork right now from github!


https://github.com/evilrat666/directx-d

please be careful though, as it is only in alpha stage and 
missing some stuff. current version is June 2010 SDK, but i 
update it(to win8 sdk version) once i had win8 machine(i'm 
still don't have a PC at home).


also, there is no d3d9 and d3d10 stuff as i consider it 
outdated now, but i would appreciate pull requests for them 
anyway :)


great, however it seems has a little problem, the arg of
ID3D11DeviceContext.Unmap should be ID3D11Resource not
ID3D11Resource*, arg of IASetIndexBuffer should be ID3D11Buffer
not ID3D11Buffer*


uh, yes, it has some problems, this is semi-automatic coversion 
bindings, and i have missed some stuff. thanks for pointing out.


Re: dmd 2.064.2

2013-11-08 Thread Dicebot
BTW, I have noticed that this version was compiled without 
-D=PULL93 so transition switch list again only has `tls`. Is 
there any specific reason to remove this switch after actual 
deprecation? It still can be very useful for porting D1 to D2 :)


Re: dmd 2.064.2

2013-11-08 Thread Kagamin

On Thursday, 7 November 2013 at 17:12:07 UTC, tester wrote:
nothing worked.. after a reboot i reinstalled with the 
installer and used the (bug) appended sc.ini. didn't work. i 
then replaced all occurences of %VCINSTALLDIR% and 
%WindowsSdkDir% with the actual path such as C:\Program Files 
(x86)\Microsoft Visual Studio 12.0\VC and it wouldn't work. i 
worked with these modifications when i started as administrator.


It works under administrator? You probably got something 
virtualized. Can you find the dmd folder in VirtualStore in your 
profile?


Re: DirectX bindings

2013-11-08 Thread Andrej Mitrovic
On 11/8/13, ponce cont...@gam3sfrommars.fr wrote:
 I've been thinking about this for a while, maybe you know about
 SharpDX.
 https://github.com/sharpdx/SharpDX

 It parses DirectX SDK headers and provide C# DirectX bindings +
 marshalling code (based on gccxml C++ parser).

If you need a gccxml XML loader you could grab this code:
https://github.com/AndrejMitrovic/dgen/blob/master/src/dgen/parser/gccxml.d

It's not exactly a self-hosting module, there's a few dependencies.

I also have a fork of gccxml that exports some additional attributes
(and documents some things as well):
https://github.com/AndrejMitrovic/gccxml

Don't even ask about that project though, it's something I /might/ get
back to at one point, but I'm way too busy with other stuff.


Re: dmd 2.064.2

2013-11-08 Thread Andrej Mitrovic
On 11/7/13, Jacob Carlborg d...@me.com wrote:
 The changelog is missing issue 10700. I though that part was
 automatically generated.

The list of issues fixed were generated on October 20th, and that bug
was not marked as fixed in bugzilla at the time. There's likely a set
of additional bugs which are not listed in the changelog, but it's
hard to both autogenerate these and then have to manually track which
bugs were merged into the 2.064 branch. Everything is done ad-hoc, so
you'll end up with this sort of problem.


Re: dmd 2.064.2

2013-11-08 Thread Martin Nowak

On 11/05/2013 11:08 PM, Walter Bright wrote:

Ok, this is it:

http://ftp.digitalmars.com/dmd_2.064.2-0_amd64.deb
http://ftp.digitalmars.com/dmd-2.064.2-0.fedora.i386.rpm
http://ftp.digitalmars.com/dmd-2.064.2-0.fedora.x86_64.rpm
http://ftp.digitalmars.com/dmd_2.064.2-0_i386.deb
http://ftp.digitalmars.com/dmd-2.064.2-0.openSUSE.i386.rpm
http://ftp.digitalmars.com/dmd-2.064.2-0.openSUSE.x86_64.rpm
http://ftp.digitalmars.com/dmd-2.064.2.exe
http://ftp.digitalmars.com/dmd.2.064.2.zip
http://ftp.digitalmars.com/dmd.2.064.2.dmg
http://ftp.digitalmars.com/libphobos2-64_2.064.2-0_amd64.deb
http://ftp.digitalmars.com/libphobos2-64_2.064.2-0_i386.deb


Would you mind to update the rpms with a fixed build?
http://forum.dlang.org/post/527c3ed0.8030...@dawg.eu


Re: dmd 2.064.2

2013-11-08 Thread Jacob Carlborg

On 2013-11-08 19:37, Andrej Mitrovic wrote:


The list of issues fixed were generated on October 20th, and that bug
was not marked as fixed in bugzilla at the time. There's likely a set
of additional bugs which are not listed in the changelog, but it's
hard to both autogenerate these and then have to manually track which
bugs were merged into the 2.064 branch. Everything is done ad-hoc, so
you'll end up with this sort of problem.


Aha, I see. The documentation wasn't merged on October 20th so the issue 
hadn't got closed.


--
/Jacob Carlborg


Re: dmd 2.064.2

2013-11-08 Thread Jacob Carlborg

On 2013-11-08 14:17, Dicebot wrote:

BTW, I have noticed that this version was compiled without -D=PULL93 so
transition switch list again only has `tls`. Is there any specific
reason to remove this switch after actual deprecation? It still can be
very useful for porting D1 to D2 :)


Yeah, I still have DWT Mac OS X left to port.

--
/Jacob Carlborg


Re: D programing language specifications v2.064.2

2013-11-08 Thread John J

On 11/08/2013 11:36 AM, Jordi Sayol wrote:


New D programing language specifications v2.064.2 in several formats:

http://d-apt.sourceforge.net/



Cool, thanks!