On Wed, 2017-04-19 at 13:43 +0200, Sascha Manns wrote:
> Hello list,
>
> actually i'm trying to use some strings in my vala app:
>
> private string entity_file_suffix = ".ent";
> private string directory_separator_char = "/";
> private string entity_file_local = publication_title +
>
On Sat, 2017-04-15 at 15:38 +0200, Sascha Manns wrote:
> Hello list,
>
> i prepared that class:
> https://github.com/saigkill/gnome-publisher/blob/master/src/ui/build_
> publication.vala
>
> The compiler says to me:
>
> sascha@linux-ktr9:~/Projects/gnome-publisher-tmp/src> make
> GEN
On Sun, 2016-09-11 at 16:30 +, Gergely Polonkai wrote:
> Should not that be (Descriptor instance, ulong port, double?
> dataLocation)
> instead? Using asterisk in Vala seems unnatural to me…
In general, you shouldn't use pointers in Vala. In general if you're
using a pointer you're doing it
On Sun, 2016-09-11 at 17:30 +0200, Timm Bäder wrote:
> On 10.09, Evan Nemerson wrote:
> >
> > This is something I've been thinking about lately, too. We
> > currently rely on Jürg and Luca's expertise pretty heavily for
> > development and patch review, a
not making people sign up for another
account to contribute.
-Evan
>
> On Sat, Sep 10, 2016 at 4:44 PM Evan Nemerson <e...@coeus-group.com>
> wrote:
>
> >
> > This is something I've been thinking about lately, too. We
> > currently
> > rely
This is something I've been thinking about lately, too. We currently
rely on Jürg and Luca's expertise pretty heavily for development and
patch review, and since they are both busy with other stuff Vala
development has slowed down quite a bit.
Assuming we can't organize financing to pay Jürg
ue.
Note that, if there is no 0 value in your enum, you'll want to either
allocate n_values + 1 entries or subtract one whenever you want to
access the relevant entry.
>
> On Tue, Aug 30, 2016, 18:11 Evan Nemerson <e...@coeus-group.com>
> wrote:
>
> >
> > On Mon
On Mon, 2016-08-29 at 23:47 +0200, rastersoft wrote:
> Sorry, I found how to do that:
>
> int[] blah = new int[LAST_ELEMENT];
If you want to avoid having a LAST_ELEMENT value, something like this
will also work:
((GLib.EnumClass) typeof(Foo).class_ref ()).n_values
I'm not necessarily
ther
--pkg keybinder-3.0
Or
path/to/vapis/keybinder-3.0.vapi
But not both. You used both in your example.
If you need to use --vapidir that's fine. All it does is tell Vala
where to look for VAPIs if you're using --pkg.
>
>
> El 21/08/16 a las 00:53, Evan Nemerson escribió:
On Sat, 2016-08-20 at 11:09 +0200, rastersoft wrote:
> Hi:
>
> Finally I found the library "keybinder". It doesn't work no wayland,
> but
> at least allows me to do what I need in X.
>
> But now I have a problem: the VAPI file isn't available in my system,
> so
> I'm adding it manually. But here
On Sun, 2016-04-03 at 18:38 -0400, Steven Oliver wrote:
> When running my program, I get three error messages that all look
> exactly
> like this with a different number:
>
> (balistica:2718): GLib-GIO-CRITICAL **: g_file_has_prefix: assertion
> 'G_IS_FILE (file)' failed
>
> I have a pretty good
On Sun, 2016-02-21 at 00:30 +0100, mar...@saepia.net wrote:
> Hello,
>
> I am writing a program where I would like to have possibility to add
> arbitrary amount of callbacks which must be delegates.
>
> I would like to store them somewhere, and then call one after another
> when
> it's
BTW, I just wrote a perl script the find test names in the .vala
> files and
> added to the template project.
>
> On Fri, Feb 5, 2016 at 4:51 PM Evan Nemerson <e...@coeus-group.com>
> wrote:
>
> > On Fri, 2016-02-05 at 13:34 -0200, Felipe Lavratti wrote:
> > &g
orks (they
could be using MSVC), you can't just add it directly to the flags.
* Add a "dist" target to build a release tarball (you'll probably want
to use cpack for this).
>
> Thanks!
>
> On Fri, Feb 5, 2016 at 3:44 AM, Evan Nemerson <e...@coeus-group.com>
&g
You're missing support for `make test`.
This is a bit more complicated than it needs to be since recent
versions of CMake will complain if you try to create a "test" target;
they've decided to reserve it for their ctest framework, so the only
real choice is to use ctest.
ctest is really geared
On Mon, 2015-11-23 at 01:03 +, Al Thomas wrote:
> > From: Matrix
>
> > Sent: Sunday, 22 November 2015, 8:07
> > Subject: [Vala] help with writting vapi...
> >
> > i'm writting hiredis vala's binding..
> >
> > here is a function like this:
> >
> > redisContext
On Mon, 2015-11-23 at 00:56 +, Al Thomas wrote:
> > From: Evan Nemerson <e...@coeus-group.com>
>
> > Sent: Sunday, 22 November 2015, 3:54
> > Subject: Re: [Vala] Issues will vala and pulse vapi
> >
> > On Sat, 2015-11-21 at 20:48 -0600, Aaron Paden
On Sun, 2015-11-22 at 16:07 +0800, Matrix wrote:
> Hi :
>
> i'm writting hiredis vala's binding..
>
> here is a function like this:
>
> redisContext *redisConnectWithTimeout(const char *ip, int port, const
> struct timeval tv);
>
> so, how to tell the valac that the 3rd param is struct value
On Sat, 2015-11-21 at 20:48 -0600, Aaron Paden wrote:
> On Sat, Nov 21, 2015 at 6:33 AM, Al Thomas
> wrote:
> >
> >
> > This looks complex so I can only give a few pointers.
> >
> > Does the code actually compile or are you getting an error about an
> > unresolved symbol?
On Sat, 2015-11-21 at 23:37 -0600, Aaron Paden wrote:
> On Sat, Nov 21, 2015 at 11:07 PM, Evan Nemerson <e...@coeus-group.com
> > wrote:
> > On Sat, 2015-11-21 at 22:45 -0600, Aaron Paden wrote:
> > > On Sat, Nov 21, 2015 at 9:54 PM, Evan Nemerson <evan@coeus
On Sun, 2015-10-18 at 00:13 +1100, Andy Lees wrote:
> I wonder if anyone has suggestions as to why GenericArray should
> demonstrate this behaviour?
The types in GLib aren't designed for inheritance. Due to restrictions
in the C API it can never be fully functional, so it is generally
better to
...@gmail.com wrote:
I love the bar. We should have put that there along time ago.
On Sat, Jun 20, 2015 at 8:23 AM, Al Thomas astav...@yahoo.co.uk
wrote:
From: Evan Nemerson e...@coeus-group.com
Sent: Friday, 19 June 2015, 19:47
Subject: Re: [Vala] libserialport binding
On Fri
On Wed, 2015-06-24 at 08:16 +0800, Nor Jaidi Tuah wrote:
Not that I know. You cannot use gdkpixbuf?
I don't see any file output function in
gdkpixbuf, or at the very least in-memory
serialization.
Gdk.Pixbuf.save*
There are lots of versions for saving to files, buffers, and streams.
On Fri, 2015-06-19 at 19:18 +0200, Daniel Brendle wrote:
On 06/19/2015 05:52 AM, ?? wrote:
Hi:
i was written libserialport vala's binding
https://github.com/Matrix-Zhang/libserialport-vala
Best Regards... ___
vala-list mailing list
Just pass --vapidir path/to/local/dir to valac, or pass the vapi file to
valac just as you would a source file and omit the --pkg flag.
How to do that in CMake depends on how you are compiling vala stuff in
your project—if you're using https://github.com/jakobwesthoff/Vala_CMake
then it looks
or
C99—I don't have those handy, though, so I can't give you the section
number).
El mar 10, 2015 8:14 PM, Evan Nemerson e...@coeus-group.com escribió:
It decodes fine. The same thing happens when you try to print t instead
of s2. You forgot to call setlocale:
GLib.Intl.setlocale
It decodes fine. The same thing happens when you try to print t instead
of s2. You forgot to call setlocale:
GLib.Intl.setlocale (GLib.LocaleCategory.ALL, );
Or, if you're using 0.28, just GLib.Intl.setlocale(); will work.
On Tue, 2015-03-10 at 16:43 -0600, Daniel Espinosa wrote:
I
Gitg does. See https://git.gnome.org/browse/gitg/tree/gitg/Makefile.am
for the automake stuff. GRESGEN is just a variable they define in the
top level Makefile.am—normally you would call $(GLIB_COMPILE_RESOURCES)
there.
-Evan
On Mon, 2015-02-02 at 10:01 +0800, Nor Jaidi Tuah wrote:
Hi,
On Tue, 2015-01-27 at 04:10 +0800, MohanR wrote:
On Mon, 2015-01-26 at 11:43 -0800, Mario Daniel Ruiz Saavedra wrote:
What about setting the Cancellable as a default null parameter?
Something like:
public async book init(string[] args, Cancellable? cancellable = null)
yes, cancellable
On Sat, 2014-12-20 at 00:51 -0200, Flavio Danesse wrote:
Another thing that does not work as expected is:
this.get_toplevel ()
This should return the main application window, or one Gtk.Window, but
returns a Gtk.Widget
Because that's what the C function does. The documentation describes
On Sun, 2014-10-26 at 17:40 +0100, Sébastien Wilmet wrote:
Hello,
'make distcheck' fails for a module I maintain (LaTeXila):
make[5]: Entering directory
'/home/seb/gnome/latexila/latexila-3.14.1/_build/src'
rm -f ../../src/latexila_vala.stamp echo stamp
They're in the staging branch. For Geary, the relevant error is at
http://paldo.org:8010/builders/vala-staging/builds/44/steps/geary/logs/stdio
This is due to the binding for Gtk.Window.set_default_icon_list's
argument becoming owned. The change is correct according to the
annotations in GTK+.
On Thu, 2014-08-21 at 21:39 +0200, Luca Bruno wrote:
Certainly that kind of splitting is unfeasible. I understand there are a
bunch of fixes, however applications work somehow and I wouldn't like to
break them. Also, even if Vala is hosted at GNOME, I remind you there's
plenty of projects
On Thu, 2014-08-14 at 13:46 -0500, Michael Catanzaro wrote:
Hi,
It looks like valadoc.org has not been updated since GNOME 3.10, judging
by the lack of documentation for Gtk.Popover.
Yes, but it's unfortunately not simply a matter for re-running the
documentation generator with updated
On Wed, 2014-08-13 at 22:30 +0200, rastersoft wrote:
Hi Evan:
Thanks, but that isn't what I need. That is only for loadable modules,
No it isn't. Pass null as the first argument to GLib.Module.open. From
the documentation:
the name of the file containing the module, or NULL to
, *pvector_info;
HEADER:
but it gives my an errors on the number of parameters that is not
correct.
It seems i need to connect to v_length parameter to the data, because
this is a vector of that length.
Any clues how to fix this or where to find info?
Evan Nemerson schreef op Tue 20-05-2014 om
vala-extra-vapis has moved to git.gnome.org and bugzilla.gnome.org
(https://bugzilla.gnome.org/browse.cgi?product=vala, Bindings: Extra
component).
I plan on keeping the GitHub repository
(https://github.com/nemequ/vala-extra-vapis) roughly synced (it may
lag by a bit from time to time), and I
On Tue, 2014-05-20 at 19:55 +0200, Steven Vanden Branden wrote:
hello,
seems like the mail got lost but anyway have read the answer on
mailarchive about the bool, got the vapi to compile but get an segment
fault error when i try to run the application so i would like to review
the vapi for
On Fri, 2014-05-16 at 14:09 +0200, Steven Vanden Branden wrote:
hello all,
im trying to write a vapi file for the ngspiceshared header file and
library but i got a compile error about bool not defined in the c
compiler, any thoughts?
Sounds like ngspiceshared's header file uses bool but
On Thu, 2014-05-15 at 14:48 -0300, geovanisouz...@gmail.com wrote:
Hello guys,
I'm thinking about the reasons behind the pseudo constructor overload,
method naming convensions and C# entension methods.
I don't look deep in Vala compiler implementation, but can suggested
something to
On Wed, 2014-04-30 at 20:31 +0200, Max wrote:
Hi.
I've often seen following code in examples:
void main(string[] args) {
...
Gtk.init(ref args);
...
new MainLoop().run();
}
Could you clarify - why does gtk init requires program arguments?
On Tue, 2014-04-01 at 23:19 +0200, Max wrote:
Hello.
I'm trying to use Gtk.Socket as a 'content' parameter to Gtk.Notebook but I
hit some
problems:
Gtk.Socket sock = new Gtk.Socket();
Gtk.Label title = new Gtk.Label(Loading...);
notebook.append_page(sock, title);
However if I try to
verbose instructions to the footer on
planet.vala-project.org. I think that should be sufficient, but if
anyone wants to add a wiki page with more verbose instructions which we
can link to in the footer I don't have a problem with that.
El mar 21, 2014 1:22 a.m., Evan Nemerson e...@coeus-group.com
by tag
then Venus can use that.
Your blog looks like it's powered by wordpress, so... yes:
http://blogs.gnome.org/jnelson/feed/?tag=vala
-- Jim
On Fri, Mar 21, 2014 at 12:21 AM, Evan Nemerson e...@coeus-group.com
wrote:
I've gone ahead and launched a blog aggregator for Vala at
http
On Tue, 2014-03-18 at 16:06 -0400, Steven Oliver wrote:
Does every blog subscribed have to be Vala centric? Planet Gnome for
example is probably 50% non-Gnome content.
No, definitely not. That's one of my favorite things about planets; if
people are interested in Vala the odds are decent that
Does anyone have an opinion on whether we should put together a blog
aggregator for Vala/Genie?
If there is any interest Jürg might be willing to let us use
planet.vala-project.org, I can probably host a Planet Planet
installation on my dreamhost account, and Florian may be willing to let
us
On Thu, 2014-03-06 at 08:42 +0800, Nor Jaidi Tuah wrote:
/home/flavio/Documentos/JAMediaSuite/UbuntuRadio/vala/UbuntuRadio.vala.c:164:2:
warning: 'gtk_window_set_opacity' is deprecated (declared at
/usr/include/gtk-3.0/gtk/gtkwindow.h:142): Use 'gtk_widget_set_opacity'
instead
On Sat, 2013-12-28 at 00:43 +0100, rastersoft wrote:
Hi all:
I wrote a little VAPI writing tutorial to help people to start writing
VAPI files for libraries. I put it at
https://wiki.gnome.org/Projects/Vala/WrittingVAPIs
Of course it is incomplete, and is possible that it has mistakes,
On Thu, 2013-12-26 at 11:58 -0500, Joe Sapp wrote:
I'm having an issue with the C compiler command generated by valac.
Specifically, an include directory is being included unexpectedly (see
[1]). Is there any way to figure out what causes this to happen, or
which package or file is at fault?
Crawling valadoc.org isn't a very nice thing to do, and it yields a
sub-optimal results (for example, no searching).
If you want to access valadoc.org content offline the right way to do it
is to download the devhelp books like Florian pointed out, then use the
devhelp application to browse them.
).
On Mon, 16 Dec 2013 12:45:33 -0800
Evan Nemerson e...@coeus-group.com wrote:
Crawling valadoc.org isn't a very nice thing to do, and it yields a
sub-optimal results (for example, no searching).
If you want to access valadoc.org content offline the right way to do
it is to download
On Sat, 2013-12-14 at 15:25 +0800, Nor Jaidi Tuah wrote:
Dear all,
I had a memory leak in my app that I traced to
a delegate variable. Something like this:
class X {
delegate void Delegate ();
Delegate d;
public void xx () {
d = () = { do_stuff ();};
On Thu, 2013-12-12 at 23:20 +0100, rastersoft wrote:
Hi all:
I'm creating a VAPI file for xcb_icccm and I have a problem:
I defined the function xcb_icccm_get_wm_class_from_reply as:
[CCode (cname = xcb_icccm_get_wm_class_from_reply)]
public void get_wm_class_from_reply(out
On Mon, 2013-12-09 at 18:19 +0100, pancake wrote:
I have been doing some bindings for Vala and noticed something inconsistent
in the naming of enums.
// VALID
enum Foo {
1FOO
}
// INVALID
enum Bar {
33
}
The thing is that you can name an enum like Foo.1FOO, but not Bar.33,
On Sun, 2013-12-08 at 23:34 +0100, Wolfgang Schlichtner wrote:
Hi,
i noticed that some methods/properties are implemented for some integral
types but aren't for others, see the following table:
u u u u
s s
On Tue, 2013-12-10 at 19:54 +0100, pancake wrote:
I have asked for this feature several times, but i didnt got a good
reply about why Vala doesnt supports this.
Obviously this is up to Jürg, not me, but I'm against the idea. It
makes code harder to read because you have to remember how people
On Tue, 2013-12-10 at 21:22 +0100, tomw wrote:
Hi,
trying to use the Cogl.read_pixels to get a copy of the framebuffer
like:
uint8 *data;
data = GLib.malloc (width * height * 4);
Cogl.read_pixels (0,
0,
width,
On Tue, 2013-12-10 at 19:54 +0100, pancake wrote:
I have asked for this feature several times, but i didnt got a good
reply about why Vala doesnt supports this.
Obviously this is up to Jürg, not me, but I'm against the idea. It
makes code harder to read because you have to remember how people
On Tue, 2013-12-03 at 13:31 -0500, Steven Oliver wrote:
For the past year or so off and on I've been working on a pet project.
Between the time spent rewriting various parts of it over and over, and
trying to learn Vala/GTK, it's taking me a lot longer than I hoped it would.
Anyway, here is
On Wed, 2013-11-20 at 00:53 +, Christian Johnson wrote:
I have been exploring and working with vala recently, so far I love it. It's
better than even a lot of the high level languages I've worked with. I
hope this is right place for a feature request, I couldn't find any
information on how
On Wed, 2013-11-06 at 13:12 +0100, Jason Scurtu wrote:
Hi @All,
I am new to vala programming, currently I am toying with the language
and I must say I am impressed and I am having alot of fun.
I am currently looking for a way to use a library that was written in
plain C within Vala. The
Gdk.Event* are structs. Casting the Gdk.Event class to one of them
doesn't work. Use the relevant Gdk.Event member instead:
Gdk.EventButton eb = event.button;
-Evan
On Wed, 2013-10-30 at 15:33 +0200, Donn Ingle wrote:
Hello; partial code:
--
private bool handle_events(Gdk.Event
On Wed, 2013-10-16 at 09:48 +0200, Donn Ingle wrote:
On 15 October 2013 23:30, Evan Nemerson e...@coeus-group.com wrote:
You're close. valac doesn't handle this very well because of the
anonymous structs in the C API. It wants to assign to temporary
variables even when all you're doing
On Thu, 2013-10-17 at 09:19 +0800, Nor Jaidi Tuah wrote:
ABC.index_of_char('\x00'): 0
This looks like a bug. But why should
you want to search for \x00 ?
string.index_of_char is basically a wrapper around g_utf8_strchr. I
guess g_utf8_strchr could return null if c==0, but it does feel a
On Thu, 2013-10-17 at 11:07 +0800, Nor Jaidi Tuah wrote:
On Wed, 2013-10-16 at 19:45 -0700, Evan Nemerson wrote:
On Thu, 2013-10-17 at 09:19 +0800, Nor Jaidi Tuah wrote:
ABC.index_of_char('\x00'): 0
This looks like a bug. But why should
you want to search for \x00
You're close. valac doesn't handle this very well because of the
anonymous structs in the C API. It wants to assign to temporary
variables even when all you're doing is accessing fields, and since
they're structs the temporary variables aren't pointers, which will
cause the CC to complain (even
On Thu, 2013-10-10 at 15:36 +0200, Sebastian Reichel wrote:
Hi,
I created bindings for gpgme some years ago. Not 100% of gpgme's
features are supported, but the most important ones should work.
https://github.com/ktt-ol/serial-barcode-scanner/blob/master/vapi/gpgme.vapi
On Thu, 2013-10-10 at 21:18 +0200, Andrés G. Aragoneses wrote:
Quick question, are properties of objects in vala bound to gobject
properties? That is, properties that can be found via
g_object_class_find_property()?
Assuming you're talking about a class which inherits from GLib.Object,
it
On Sat, 2013-10-05 at 06:19 -0500, Thomas Olson wrote:
Hello,
The sqlite3.vapi file defines the Sqlite.Action enum, which does not
really exist in the Sqlite souce code, so executing the following fails:
Type t = typeof(Sqlite.Action);
EnumClass k = (EnumClass)t.class_ref(); // doesn't
On Tue, 2013-09-24 at 14:24 +0200, andrea zambon wrote:
I am developing a service http with libsoup, but I have a memory problem.
When you make a request, the service memory increases during transmission
and decreases only after the closure of the service. Another call and will
increase again.
On Fri, 2013-09-20 at 15:49 +0200, r...@no-log.org wrote:
Hello,
I'm trying to output pcap version in mingw32 environnement. I've
installed libpcap.vapi, libpcap.deps (from
https://github.com/apmasell/vapis) and all header and lib files from
WpdPack.zip (WinPcap developper kit).
I found
On Mon, 2013-09-09 at 21:00 -0700, Landon Blake wrote:
I have some interest in making small improvements to Genie. I've been
wanting to learn more Vala programming...and Genie seems like a great
little language. I think this might be a cool project. (I think both Genie
and Vala are important
On Tue, 2013-08-27 at 08:46 +0200, r...@no-log.org wrote:
I had a look to libarchive... It seems libarchive 3.0 could handle 7Zip
format (for reading) but unfortunately there is only a vapi file for
version 2...
I've read some pages about how to generate vapi but I didnt success...
Should
On Sat, 2013-08-24 at 13:22 +0200, rastersoft wrote:
Hi all:
I was wondering if Vala allows (or will allow in a near future) to load
a .so during execution time (not in load time, like currently does) and
access its methods and classes as usual, instead of having to work with
function
On Wed, 2013-08-07 at 08:16 +0200, David López González wrote:
Hi everyone,
I need to access to a single data base with diferent processes, and
eventually, I always get an access error Error: 5, database is locked.
A simplified code which reproduce the problem it's presented below.
Take a
On Mon, 2013-07-15 at 15:41 +0200, Ulink wrote:
Hi,
If I'm declaring a private variable/funtion/class and compile it to a
package (.so), it is not shown up in the .h and .vapi, this is ok.
However, all this symbols ARE exported in the .so symbol table!
If one bind more than one .so with
On Thu, 2013-07-04 at 11:32 -0500, Thomas F Steinhauer wrote:
Ok,
This is a tough one to figure out. This code does not work:
void keyboard(uchar key, int x, int y) {
switch (key) {
case 27:
exit(0); break;
default : break;
}
}
I understand
On Tue, 2013-07-02 at 18:49 -0500, Thomas F Steinhauer wrote:
I tried your code as you suggested however that did not work. I guess
the real question that I am asking here is has anyone successfully
generated a Checker board type texture with OpenGL and Vala and
displayed it on a cube or
On Mon, 2013-06-10 at 18:22 +0530, Satyajit Sahoo wrote:
Hi. I'm trying to write a multiline string into a file,
e.g.
string new = Line 1 and %s
Line 2 and %s
Line 3
Line 4.printf (var1, var2);
The problem is, when I write it to the file, the lines from the 2nd line,
have tab
On Sat, 2013-06-01 at 22:27 +0200, Jonas Kulla wrote:
2013/6/1 Satyajit Sahoo satyajit.ha...@gmail.com
I want to use an alpha value in the color buttons in my app -
https://github.com/satya164/elegance-colors
Currently I'm using colorbutton.set_use_alpha (true);, as documented in
On Wed, 2013-05-15 at 10:26 +0200, Donn wrote:
On 15/05/2013 02:23, Evan Nemerson wrote:
I just pushed a bunch of changes to the vala cairo bindings. If
something is still missing, please file a bug.
Thanks Evan, however I'm not sure where these bindings can be found online.
In the valac
On Tue, 2013-05-14 at 14:32 +0200, Donn wrote:
Hi,
Vapi files mystify me. Does anyone know where I can get a vapi (and
anything else I'd need) such that I can use Cairo 1.12?
I just pushed a bunch of changes to the vala cairo bindings. If
something is still missing, please file a bug.
On Sun, 2013-04-21 at 09:21 +0200, Donn wrote:
On 20/04/2013 21:14, Evan Nemerson wrote:
.. it's generally a good idea to use
GObject-style construction [1]. In your original example, simply
replace public RedSquare() with construct and it should work as
expected.
Appreciate
On Sat, 2013-04-20 at 13:40 +0200, Donn wrote:
A follow-up.
Progress
In the python file (test.py) I got the idea to explicitly call the new()
method of the RedSquare object. I saw it when I did a dir() in Python.
(I first got the idea when I saw how a Clutter.Color was
On Sat, 2013-04-20 at 23:28 +0200, rastersoft wrote:
Hi all:
I'm creating a library with Vala, and want to use gettext with it. In
normal programs it works the syntax _(text to translate), but in a
library, dgettext() must be used. Is there a replacement for dgettext()
like the underscore
On Sun, 2013-04-14 at 18:38 +0200, Alexander Krivács Schrøder wrote:
Hi.
I'm trying to use Glib.TimeVal with its from_iso8601() initializer, but
I can't get the generated C code not to contain a call to
g_get_current_time() first. At first, I tried this Vala code:
string iso8601_date =
On Mon, 2013-04-01 at 22:56 +0200, Giulio Paci wrote:
Hi to all,
looking at https://live.gnome.org/Vala/ExternalBindings I can see the
section others, collecting those vapi files that are not distributed
with Vala, the libraries they
bind, or the vala-extra-vapis repository.
What is
On Sat, 2013-03-30 at 21:58 +, Mario Daniel Ruiz Saavedra wrote:
Maybe you could create something similar for GNU Automake. I'd be greatly
thankful.
You might want to take a look at Bake [1]. It looks quite nice (the
recipes are very simple--check out the tests folder), and it's written
On Thu, 2013-03-28 at 19:45 +0100, Christian Capasso wrote:
Hi, i am new in Vala Programation.
I have a problem using the comand Process.spawn_command_line_sync : when
i try to set a comand similar to ls text.txt the program doesn't
create the txt file requested.
I will post u an example
On Thu, 2013-03-21 at 20:26 +0100, Richard Wiedenhöft wrote:
Hi,
I searched valadoc and google and I found absolutely nothing usable.
How can one bind to an LDAP-Server with Vala and read the entries.
Unfortunately I don't think anyone has created bindings for an LDAP
library yet. If you
On Sun, 2013-03-17 at 01:13 +0100, rastersoft wrote:
Hi all:
I'm starting to work with GIR and have a doubt: what is the file name
convention? It seems to be libraryname-X.Y.gir, but my question is: is
allowed the format libraryname-X.Y.Z.gir, or it must be always
libraryname-X.Y.gir?
The
On Mon, 2013-03-18 at 15:32 +0100, r...@no-log.org wrote:
Hello,
I wondered if it 's possible to recover memory information or memory leaks
other than mem_set_vtable(mem_profiler_table); and without using a
third party software like valgrind ?
Most people use third-party software.
On Fri, 2013-03-08 at 00:28 -0500, Brian Duffy wrote:
Is there a way to write Tor enabled applications in Vala?
If you use the high-level networking stuff in GIO (GLib.SocketClient)
you get transparent support for proxies, so if the user has configured
their computer to use Tor as a proxy server
I've created a repository on GitHub (vala-extra-vapis [1]) to house
our external VAPIs.
This repository has a very low barrier for entry. Unlike the bindings
distributed with valac, I don't plan to provide much review or
oversight. Basically, the only requirement for getting bindings into
the
On Fri, Feb 22, 2013 at 11:05 AM, Eric Gregory e...@yorba.org wrote:
On Fri, Feb 22, 2013 at 3:41 AM, Evan Nemerson e...@coeus-group.com wrote:
I've created a repository on GitHub (vala-extra-vapis [1]) to house
our external VAPIs.
This repository has a very low barrier for entry. Unlike
On Fri, Feb 22, 2013 at 2:21 PM, Jim Nelson j...@yorba.org wrote:
Hi Evan,
Is there any thought that this repo might be a staging ground for
migrating VAPIs into Vala distribution?
It may be used that way occasionally, but I don't plan to push people
to do that. If a binding is popular and
On Thu, 2013-02-07 at 17:24 +0100, Johann Weging wrote:
Hello,
I'm trying to de/serialize a Vala class into Json with the glib-json-1.0
module.
A class like:
public class testClass : GLib.Object {
public int i{get;set;}
public int[] array {get;set;}
}
After setting some values
On Mon, 2013-01-28 at 22:54 +0100, Pierre Lamot wrote:
Hello everyone,
I new to vala and I'm trying to do a program based on the curse library.
There are some functions that seems to have been omitted.
/* no vwprintw, vw_printw, vwscanw, vw_scanw - va_list */
I don't really get the
On Thu, 2012-11-15 at 18:09 -0800, Rich Rodecker wrote:
Showing how out of my element I am here, but I just installed two versions
of vala: .16 and .18. I understand that I can target the specific
versions by including the version number: valac-0.18 ..., but how can I
use just valac and
On Wed, 2012-11-14 at 14:31 -0800, Rich Rodecker wrote:
Yes it is Mac OS X, 10.7.4. I do have gtk+ and gtk+3 installed, via
homebrew. I can actually see the gtk.h file
at /usr/local/Cellar/gtk+3/3.4.4/include/gtk-3.0/gtk/gtk.h.
valac uses pkg-config to find out which compiler/linker flags to
1 - 100 of 176 matches
Mail list logo