July 07, 2015
Am 07.07.2015 um 09:01 schrieb Suliman:
> I can't understand why dub are trying to build vibed in app where it's
> does not implicitly linked:
>
> (...)

ddbc has a dependency on mysql-native, which in turn has an optional dependency on vibe-d. The current behavior for optional dependencies is to use them as soon as they are available locally. There is an open ticket to change this [1].

> ================
> error:
> ================
> C:\Users\di\AppData\Roaming\dub\packages\vibe-d-0.7.23\source\vibe\appmain.d(28):
> Error: static assert  "Error: -version=VibeDefaultMain is required to
> use vibe.d's default main(). Or use -version=VibeCustomMain to use your
> own main() instead. Please update your build scripts."
> ===============
>

This static assert will be removed in 0.7.25 - a warning message has been there for over a year and the hard error will then have been there for half a year. Everyone who has still not updated their build script will just get a linker error, so I think it's safe to pull the switch now. After that, it shouldn't matter much at all if vibe.d is used under the hood or not.

[1]: https://github.com/D-Programming-Language/dub/issues/361
July 10, 2015
For anyone using Sublime Text, I've created a simple syntax highlighting module:
https://packagecontrol.io/packages/SDLang

For other editors, any C language family syntax highlighting also works pretty well as far as DUB's use of SDL is concerned.
July 11, 2015
On Friday, 10 July 2015 at 15:19:50 UTC, Sönke Ludwig wrote:
> For anyone using Sublime Text, I've created a simple syntax highlighting module:
> https://packagecontrol.io/packages/SDLang
>
> For other editors, any C language family syntax highlighting also works pretty well as far as DUB's use of SDL is concerned.

Awesome!
July 14, 2015
Am 02.07.2015 um 23:59 schrieb extrawurst:
> Awesome! Is there a dub cmd to convert a given project to SDL ?

Currently sdlang-d [1] supports only parsing of SDL files, but not generating them. That and the code to serialize an internal package recipe back to an SDL representation is missing. So it won't make it into this release, but it doesn't sound like a bad idea.

[1]: https://github.com/Abscissa/SDLang-D
July 14, 2015
On Tuesday, 14 July 2015 at 13:16:56 UTC, Sönke Ludwig wrote:
> Am 02.07.2015 um 23:59 schrieb extrawurst:
>> Awesome! Is there a dub cmd to convert a given project to SDL ?
>
> Currently sdlang-d [1] supports only parsing of SDL files, but not generating them. That and the code to serialize an internal package recipe back to an SDL representation is missing. So it won't make it into this release, but it doesn't sound like a bad idea.
>
> [1]: https://github.com/Abscissa/SDLang-D

Actually SDLang-d supports generation of sdl documents:
https://github.com/Abscissa/SDLang-D/blob/master/example.d#L44

`toSDLDocument()` generates a string that can be saved to file.

I opened an issue for this matter in dub: https://github.com/D-Programming-Language/dub/issues/626
1 2 3
Next ›   Last »