www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Released vibe.d 0.7.8 and improved online API documentation

reply =?ISO-8859-15?Q?S=F6nke_Ludwig?= <sludwig outerproduct.org> writes:
The new version adds support for UDP sockets and a lot of smaller
improvements and fixes, for example in the Diet parser and the REST
interface generator (see http://vibed.org/blog/posts/vibe-release-0.7.8
for details). Thanks for all contributions!

I've also done some improvements to the API documentation*, which is
generated from DMDs JSON output (with some additional processing). The
documentation has full cross-linking for types. I'm planning to break
this out into a separate project with support for offline documentation
generation.

It should be noted that the documentation processor contains a crude D
type parser, because the types in DMD's JSON always come out
stringified. This is necessary to get the type links and some other
things working - getting an additional detailed type AST in the original
JSON would be very helpful here (and much more robust).

Sönke

* http://vibed.org/api/
Oct 02 2012
parent reply Lubos Pintes <lubos.pintes gmail.com> writes:
Hi,
I am very new to this, but cannot compile/run this under Windows 7 
64-bit. I tried to run an http_example with this result:

c:\vibe\bin\..\source\vibe\vpm\dependency.d(117): Error: undefined 
identifier HEAD
c:\vibe\bin\..\source\vibe\vpm\dependency.d(117): Error: constructor 
vibe.vpm.dependency.Version.this (string vers) is not callable using 
argument types (_error_)
'C:\Users\pintes\AppData\Local\Temp\.rdmd\source\vibe.cmd' is not 
recognized as an internal or external command,
operable program or batch file.

Dōa 2. 10. 2012 18:31 Sönke Ludwig  wrote / napísal(a):
 The new version adds support for UDP sockets and a lot of smaller
 improvements and fixes, for example in the Diet parser and the REST
 interface generator (see http://vibed.org/blog/posts/vibe-release-0.7.8
 for details). Thanks for all contributions!

 I've also done some improvements to the API documentation*, which is
 generated from DMDs JSON output (with some additional processing). The
 documentation has full cross-linking for types. I'm planning to break
 this out into a separate project with support for offline documentation
 generation.

 It should be noted that the documentation processor contains a crude D
 type parser, because the types in DMD's JSON always come out
 stringified. This is necessary to get the type links and some other
 things working - getting an additional detailed type AST in the original
 JSON would be very helpful here (and much more robust).

 Sönke

 * http://vibed.org/api/
Oct 02 2012
parent reply =?windows-1250?Q?S=F6nke_Ludwig?= <sludwig outerproduct.org> writes:
Am 10/2/2012 8:26 PM, schrieb Lubos Pintes:
 Hi,
 I am very new to this, but cannot compile/run this under Windows 7
 64-bit. I tried to run an http_example with this result:
 
Sorry, I think you checked out a bad commit on master. We just made some changes to the VPM system. Should compile again now.
Oct 02 2012
parent reply Lubos Pintes <lubos.pintes gmail.com> writes:
Hi,
I incorrectly mentioned example I tried, that wass http_server.
Now it compiled, but immediately stopped, and the message box with this 
error appeared:
The application was unable to start correctly (0xc0000022). Click OK to 
close the application.

Maybe this is a problem on my system, but I don't understand what that 
magical hex number means.
Dōa 2. 10. 2012 21:04 Sönke Ludwig  wrote / napísal(a):
 Am 10/2/2012 8:26 PM, schrieb Lubos Pintes:
 Hi,
 I am very new to this, but cannot compile/run this under Windows 7
 64-bit. I tried to run an http_example with this result:
Sorry, I think you checked out a bad commit on master. We just made some changes to the VPM system. Should compile again now.
Oct 03 2012
parent =?windows-1250?Q?S=F6nke_Ludwig?= <sludwig outerproduct.org> writes:
The 0x0000022 error means that the operating system fired a
STATUS_ACCESS_DENIED exception at application startup (while loading dll
dependencies etc.) for some reason. No idea why that happens (works for
me), but I would check if there might be some kind of special security
policies on the systen, or if running as administrator makes any difference.

Alternatively, loading the program in a debugger and setting it up to
break on a 0x0000022 exception could give some clues.

Am 10/3/2012 9:27 AM, schrieb Lubos Pintes:
 Hi,
 I incorrectly mentioned example I tried, that wass http_server.
 Now it compiled, but immediately stopped, and the message box with this
 error appeared:
 The application was unable to start correctly (0xc0000022). Click OK to
 close the application.
 
 Maybe this is a problem on my system, but I don't understand what that
 magical hex number means.
 Dōa 2. 10. 2012 21:04 Sönke Ludwig  wrote / napísal(a):
 Am 10/2/2012 8:26 PM, schrieb Lubos Pintes:
 Hi,
 I am very new to this, but cannot compile/run this under Windows 7
 64-bit. I tried to run an http_example with this result:
Sorry, I think you checked out a bad commit on master. We just made some changes to the VPM system. Should compile again now.
Oct 03 2012