www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - WinAPI grossly lacking in core.c.windows.windows

reply Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
What are the plans to finish the WinAPI in druntime? It's grossly
lacking at the moment.

-- 
Bye,
Gor Gyolchanyan.
May 12 2012
next sibling parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:
 What are the plans to finish the WinAPI in druntime? It's grossly
 lacking at the moment.

Pull requests for improvements are welcome!
May 12 2012
next sibling parent Walter Bright <newshound2 digitalmars.com> writes:
Those libraries are internally just trampolines, no code. Hence they can be
updated.

On 5/12/2012 11:31 AM, Gor Gyolchanyan wrote:
 Also there are severe problems with the libs, distributed with DMD. They're
 totally ancient! The d modules alone won't fix the problem.
 What are the legal and technical problems involved in updating the libs?

 On Sat, May 12, 2012 at 10:26 PM, Walter Bright <newshound2 digitalmars.com
 <mailto:newshound2 digitalmars.com>> wrote:

     On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:

         What are the plans to finish the WinAPI in druntime? It's grossly
         lacking at the moment.


     Pull requests for improvements are welcome!




 --
 Bye,
 Gor Gyolchanyan.

May 12 2012
prev sibling parent Paulo Pinto <pjmlp progtools.org> writes:
Am 12.05.2012 20:26, schrieb Walter Bright:
 On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:
 What are the plans to finish the WinAPI in druntime? It's grossly
 lacking at the moment.

Pull requests for improvements are welcome!

Is core.sys.windows.windows the right module for it? Somehow I would expect for the code to live in phobos std.windows module.
May 13 2012
prev sibling next sibling parent Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
--bcaec55557188706e004bfdb0985
Content-Type: text/plain; charset=UTF-8

I can make time to adjust the binding from dsource.org bindings project to
druntime, but I need the requirements for druntime WinAPI.

On Sat, May 12, 2012 at 10:26 PM, Walter Bright
<newshound2 digitalmars.com>wrote:

 On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:

 What are the plans to finish the WinAPI in druntime? It's grossly
 lacking at the moment.

Pull requests for improvements are welcome!

-- Bye, Gor Gyolchanyan. --bcaec55557188706e004bfdb0985 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I can make time to adjust the binding from <a href=3D"http://dsource.org">d= source.org</a> bindings project to druntime, but I need the requirements fo= r druntime WinAPI.<br><br><div class=3D"gmail_quote">On Sat, May 12, 2012 a= t 10:26 PM, Walter Bright <span dir=3D"ltr">&lt;<a href=3D"mailto:newshound= 2 digitalmars.com" target=3D"_blank">newshound2 digitalmars.com</a>&gt;</sp= an> wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"><div class=3D"im">On 5/12/2012 4:47 AM, Gor = Gyolchanyan wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> What are the plans to finish the WinAPI in druntime? It&#39;s grossly<br> lacking at the moment.<br> </blockquote> <br></div> Pull requests for improvements are welcome!<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Bye,<br>Gor = Gyolchanyan.<br> --bcaec55557188706e004bfdb0985--
May 12 2012
prev sibling next sibling parent Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
--bcaec554deb2c0124804bfdb0edc
Content-Type: text/plain; charset=UTF-8

Also there are severe problems with the libs, distributed with DMD. They're
totally ancient! The d modules alone won't fix the problem.
What are the legal and technical problems involved in updating the libs?

On Sat, May 12, 2012 at 10:26 PM, Walter Bright
<newshound2 digitalmars.com>wrote:

 On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:

 What are the plans to finish the WinAPI in druntime? It's grossly
 lacking at the moment.

Pull requests for improvements are welcome!

-- Bye, Gor Gyolchanyan. --bcaec554deb2c0124804bfdb0edc Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Also there are severe problems with the libs, distributed with DMD. They&#3= 9;re totally ancient! The d modules alone won&#39;t fix the problem.<div>Wh= at are the legal and technical problems involved in updating the libs?<br> <br><div class=3D"gmail_quote">On Sat, May 12, 2012 at 10:26 PM, Walter Bri= ght <span dir=3D"ltr">&lt;<a href=3D"mailto:newshound2 digitalmars.com" tar= get=3D"_blank">newshound2 digitalmars.com</a>&gt;</span> wrote:<br><blockqu= ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s= olid;padding-left:1ex"> <div class=3D"im">On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:<br> <blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p= x #ccc solid;padding-left:1ex"> What are the plans to finish the WinAPI in druntime? It&#39;s grossly<br> lacking at the moment.<br> </blockquote> <br></div> Pull requests for improvements are welcome!<br> </blockquote></div><br><br clear=3D"all"><div><br></div>-- <br>Bye,<br>Gor = Gyolchanyan.<br> </div> --bcaec554deb2c0124804bfdb0edc--
May 12 2012
prev sibling next sibling parent Jonathan M Davis <jmdavisProg gmx.com> writes:
On Sunday, May 13, 2012 11:19:12 Paulo Pinto wrote:
 Am 12.05.2012 20:26, schrieb Walter Bright:
 On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:
 What are the plans to finish the WinAPI in druntime? It's grossly
 lacking at the moment.

Pull requests for improvements are welcome!

Is core.sys.windows.windows the right module for it? Somehow I would expect for the code to live in phobos std.windows module.

No. The C OS function declarations go in druntime. The same goes for all of the POSIX functions as well as any other system functions specific to Linux, Mac OS X, or FreeBSD. Any Windows stuff in Phobos which uses Windows OS functions should be wrappping OS functions rather than simply being declarations for them. - Jonathan M Davis
May 13 2012
prev sibling parent "Paulo Pinto" <pjmlp progtools.org> writes:
On Sunday, 13 May 2012 at 09:33:18 UTC, Jonathan M Davis wrote:
 On Sunday, May 13, 2012 11:19:12 Paulo Pinto wrote:
 Am 12.05.2012 20:26, schrieb Walter Bright:
 On 5/12/2012 4:47 AM, Gor Gyolchanyan wrote:
 What are the plans to finish the WinAPI in druntime? It's 
 grossly
 lacking at the moment.

Pull requests for improvements are welcome!

Is core.sys.windows.windows the right module for it? Somehow I would expect for the code to live in phobos std.windows module.

No. The C OS function declarations go in druntime. The same goes for all of the POSIX functions as well as any other system functions specific to Linux, Mac OS X, or FreeBSD. Any Windows stuff in Phobos which uses Windows OS functions should be wrappping OS functions rather than simply being declarations for them. - Jonathan M Davis

Thanks for the clarification.
May 14 2012