{"action":"created","issue":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1076","labels_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1076/labels{/name}","comments_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1076/comments","events_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1076/events","html_url":"https://github.com/D-Programming-Language/druntime/pull/1076","id":53284100,"number":1076,"title":"Translated MinGW Windows headers - complete set","user":{"login":"adamdruppe","id":600799,"avatar_url":"https://avatars.githubusercontent.com/u/600799?v=3","gravatar_id":"","url":"https://api.github.com/users/adamdruppe","html_url":"https://github.com/adamdruppe","followers_url":"https://api.github.com/users/adamdruppe/followers","following_url":"https://api.github.com/users/adamdruppe/following{/other_user}","gists_url":"https://api.github.com/users/adamdruppe/gists{/gist_id}","starred_url":"https://api.github.com/users/adamdruppe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamdruppe/subscriptions","organizations_url":"https://api.github.com/users/adamdruppe/orgs","repos_url":"https://api.github.com/users/adamdruppe/repos","events_url":"https://api.github.com/users/adamdruppe/events{/privacy}","received_events_url":"https://api.github.com/users/adamdruppe/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-01-02T22:55:36Z","updated_at":"2015-08-03T07:20:24Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/pulls/1076","html_url":"https://github.com/D-Programming-Language/druntime/pull/1076","diff_url":"https://github.com/D-Programming-Language/druntime/pull/1076.diff","patch_url":"https://github.com/D-Programming-Language/druntime/pull/1076.patch"},"body":"Windows programming with D quickly finds that the core.sys.windows.windows header is incomplete. Work has been done to port the public domain win32 headers to D:\r\n\r\nhttps://github.com/CS-svnmirror/dsource-bindings-win32\r\n\r\n(among other repos) and we sometimes copy/paste definitions too. This brings them all under the druntime banner, in the core.sys.windows namespace - same as we do with Posix and stdc headers.  Now, Windows libraries don't need to face incompatibilities anymore from using the different modules to access the same functionality and D will work for low-level Windows devs out of the box (at least 64 bit, we still have the .lib file issue on 32).\r\n\r\nI realize this is enormous (I just manually verified the changes of win32->core.sys.windows is good by doing it in each individual file myself!) but these files are typically unchanged for years. It really isn't any more work than us all maintaining our private bindings anyway. Yes, it is 4 MB of code uncompressed, but does that really matter? I think not.\r\n\r\nBesides, this will solve the common complaint that D sucks on Windows because most the API isn't even available out of the box. Totally worth doing."},"comment":{"url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/comments/127146364","html_url":"https://github.com/D-Programming-Language/druntime/pull/1076#issuecomment-127146364","issue_url":"https://api.github.com/repos/D-Programming-Language/druntime/issues/1076","id":127146364,"user":{"login":"DmitryOlshansky","id":281770,"avatar_url":"https://avatars.githubusercontent.com/u/281770?v=3","gravatar_id":"","url":"https://api.github.com/users/DmitryOlshansky","html_url":"https://github.com/DmitryOlshansky","followers_url":"https://api.github.com/users/DmitryOlshansky/followers","following_url":"https://api.github.com/users/DmitryOlshansky/following{/other_user}","gists_url":"https://api.github.com/users/DmitryOlshansky/gists{/gist_id}","starred_url":"https://api.github.com/users/DmitryOlshansky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DmitryOlshansky/subscriptions","organizations_url":"https://api.github.com/users/DmitryOlshansky/orgs","repos_url":"https://api.github.com/users/DmitryOlshansky/repos","events_url":"https://api.github.com/users/DmitryOlshansky/events{/privacy}","received_events_url":"https://api.github.com/users/DmitryOlshansky/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T07:20:24Z","updated_at":"2015-08-03T07:20:24Z","body":"Oh, I see the problem - take a look at mak/COPY file and copy-paste (again) the full listing of new files there. It's completely brain-dead build script."}}