[Vala] Export vapi from libray

2014-11-21 Thread Andy Lees
Hi, I would like to export an interface to some C structures from a vala library that provides a number of other classes, etc. If I include the vapi and associated .h file in the library, it compiles fine, but does not export the contents of the referenced vapi in the library vapi. How would

[Vala] Testing out parameters

2014-11-21 Thread Andy Lees
Is there a way to test if an out parameter has been provided, assuming I default it to null? In the case I want to avoid an expensive calculation if it's not required? Thanks for your attention. ___ vala-list mailing list vala-list@gnome.org

Re: [Vala] Testing out parameters

2014-11-21 Thread Luca Bruno
On 21/11/2014 14:38, Andy Lees wrote: Is there a way to test if an out parameter has been provided, assuming I default it to null? In the case I want to avoid an expensive calculation if it's not required? In the old days you could check if if (param == null), not sure if still works.

Re: [Vala] Export vapi from libray

2014-11-21 Thread Andre Masella
If this is a shared library, it's not generally desirable to do so. What if the user wants to use both your library and the library you have re-exported? This will cause conflicts if there are any changes between the two versions. More likely, you want to declare dependencies. This is done using

[Vala] Using monodevelop for developing VALA?

2014-11-21 Thread Gonzalo Aguilar Delgado
Hi, Someone is using monodevelop 4 or 5 to develop on vala? Because I cannot get it recognize vala projects. It can compile old ones but I cannot create new projects. Monodevelop is still working for vala? Best regards, ___ vala-list mailing list

Re: [Vala] Using monodevelop for developing VALA?

2014-11-21 Thread Marek Gibek
Hi! I updated mono vala plugin for MonoDevelop 5. Yannick Inizan created nice PPA for it here: https://launchpad.net/~inizan-yannick/+archive/ubuntu/mono Source code is here: https://mail.gnome.org/archives/vala-list/2014-August/msg00049.html Please note that: - I rewrote the references part

Re: [Vala] Using monodevelop for developing VALA?

2014-11-21 Thread Steven Oliver
Marek, do you plan to eventually open source your plugin for IntelliJ? Steven N. Oliver On Fri, Nov 21, 2014 at 9:58 AM, Marek Gibek gib...@gmail.com wrote: Hi! I updated mono vala plugin for MonoDevelop 5. Yannick Inizan created nice PPA for it here:

Re: [Vala] Using monodevelop for developing VALA?

2014-11-21 Thread Marek Gibek
The only reason it's not open source is I'm planning to make business on it ;) You know, create multiplatform UI framework in Vala / OpenGL / WPF inspired, abstraction for system libraries, IDE plugin - write once, run everywhere (Windows, Linux, Android, iOS etc). Everybody has dreams - don't