Jump to page: 1 2 3
Thread overview
Porting VisualD to Windows 8 and Visual Studio 11
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Dmitry Olshansky
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Rainer Schuetze
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Roman D. Boiko
Jun 10, 2012
Rainer Schuetze
Jun 10, 2012
Rainer Schuetze
Jun 10, 2012
Roman D. Boiko
Jun 11, 2012
Roman D. Boiko
Jun 11, 2012
Rainer Schuetze
Jun 11, 2012
Roman D. Boiko
Jun 12, 2012
Rainer Schuetze
Jun 13, 2012
Kagamin
Jun 13, 2012
Rainer Schuetze
Jun 14, 2012
Kagamin
Jun 14, 2012
Rainer Schuetze
Jun 14, 2012
Roman D. Boiko
Jun 14, 2012
Roman D. Boiko
Jun 14, 2012
Rainer Schuetze
June 10, 2012
https://github.com/roman-d-boiko/visuald/commit/65d733853ea7c38dd010091c942b66ef892bd216#diff-0

Please review. It is not finished, but I would like to get some feedback.

Note: support for previous versions of Windows and VS is temporarily broken to speed-up my current work. Later my changes will be versioned.
June 10, 2012
On Sunday, 10 June 2012 at 08:38:05 UTC, Roman D. Boiko wrote:
> https://github.com/roman-d-boiko/visuald/commit/65d733853ea7c38dd010091c942b66ef892bd216#diff-0
>
> Please review. It is not finished, but I would like to get some feedback.
>
> Note: support for previous versions of Windows and VS is temporarily broken to speed-up my current work. Later my changes will be versioned.

By the way, did anybody try doing this before?
June 10, 2012
On Sunday, 10 June 2012 at 08:38:59 UTC, Roman D. Boiko wrote:
> By the way, did anybody try doing this before?
Just found that http://dsource.org/projects/visuald/browser/downloads/VisualD-v0.3.33rc1.exe supports VS 11 :) (Is it for beta or RC?)

But after installing it nothing changed in VS, new project types have not been created.

June 10, 2012
On Sunday, 10 June 2012 at 10:13:40 UTC, Roman D. Boiko wrote:
> But after installing it nothing changed in VS, new project types have not been created.
TOOLS->Options now contain settings for D.

June 10, 2012
On Sunday, 10 June 2012 at 10:18:42 UTC, Roman D. Boiko wrote:
> On Sunday, 10 June 2012 at 10:13:40 UTC, Roman D. Boiko wrote:
>> But after installing it nothing changed in VS, new project types have not been created.
> TOOLS->Options now contain settings for D.
After reboot I can create projects in D :)
June 10, 2012
On Sunday, 10 June 2012 at 10:18:42 UTC, Roman D. Boiko wrote:
> On Sunday, 10 June 2012 at 10:13:40 UTC, Roman D. Boiko wrote:
>> But after installing it nothing changed in VS, new project types have not been created.
> TOOLS->Options now contain settings for D.
After reboot I can create projects in D :)
June 10, 2012
On 10.06.2012 14:13, Roman D. Boiko wrote:
> On Sunday, 10 June 2012 at 08:38:59 UTC, Roman D. Boiko wrote:
>> By the way, did anybody try doing this before?
> Just found that
> http://dsource.org/projects/visuald/browser/downloads/VisualD-v0.3.33rc1.exe
> supports VS 11 :) (Is it for beta or RC?)
>
> But after installing it nothing changed in VS, new project types have
> not been created.
>

I was about to say that it works for me on VS11 RC :)

-- 
Dmitry Olshansky
June 10, 2012
On Sunday, 10 June 2012 at 10:25:59 UTC, Dmitry Olshansky wrote:
> I was about to say that it works for me on VS11 RC :)
Anyway it would be great to build with Windows 8 RC SDK, so my changes are potentially useful (but not necessary, nor important).

June 10, 2012

On 6/10/2012 12:35 PM, Roman D. Boiko wrote:
> On Sunday, 10 June 2012 at 10:25:59 UTC, Dmitry Olshansky wrote:
>> I was about to say that it works for me on VS11 RC :)
> Anyway it would be great to build with Windows 8 RC SDK, so my changes
> are potentially useful (but not necessary, nor important).
>

As you don't need the VS2012 SDK or the Windows 8 SDK to build Visual D, it does not seem urgent to do the translations, but it might be nice to have them as this is a fast way to update the interface headers to a new OS version. The recent version of the converter also translates "#ifdef _WIN64" to "version(Win64)" instead of throwing the code out, but I have not done a lot with it yet.

So far I have the beta of VS 2012 installed, and from the files you added to the translation, it seems that the release candidate has a few more files. I'll update my VS11beta to VS2012rc and will have a look.

At first glance, your way to translate the shared/um files seems fine, but I have yet to understand the text replacements. Those _null_terminated_ annotations (and similar) should probably be translated to their Win7 SDK version identifier __nullterminated. That way they might get handled correctly by the regex expressions.

Rainer
June 10, 2012
On Sunday, 10 June 2012 at 16:51:23 UTC, Rainer Schuetze wrote:
> As you don't need the VS2012 SDK or the Windows 8 SDK to build Visual D, it does not seem urgent to do the translations, but it might be nice to have them as this is a fast way to update the interface headers to a new OS version. The recent version of the converter also translates "#ifdef _WIN64" to "version(Win64)" instead of throwing the code out, but I have not done a lot with it yet.
I wanted to experiment with VisualD a bit to check whether it is possible to make use of my other project (https://github.com/roman-d-boiko/dct, currently very early draft) from VisualD.

Are these SDKs needed for developing VisualD on Windows 8 RC with Visual Studio 11 RC? This setup is the one I use most often.

> So far I have the beta of VS 2012 installed, and from the files you added to the translation, it seems that the release candidate has a few more files. I'll update my VS11beta to VS2012rc and will have a look.
I didn't include all required files yet.

> At first glance, your way to translate the shared/um files seems fine, but I have yet to understand the text replacements.
These are dirty, I tried to move fast without polishing.

Basically, either a block of text from some file is commented out when it generates compiler error, or some block (`open`) is replaced with equivalent starting from `/+`, and the other (`close`) with the one ending `+/`, so that everything between them is commented out.

I think some blocks could be converted to the D equivalents, but I don't have experience with this.

> Those _null_terminated_ annotations (and similar) should probably be translated to their Win7 SDK version identifier __nullterminated. That way they might get handled correctly by the regex expressions.
Would be nice to know the correct mapping for various annotations. So far I tried to mimic code already present in VisualD.

> Rainer
Thanks!

« First   ‹ Prev
1 2 3