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
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 Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
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.
May 12 2012
prev sibling next sibling parent reply Gor Gyolchanyan <gor.f.gyolchanyan gmail.com> writes:
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.
May 12 2012
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 reply 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
parent reply 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
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