First off, I think Vala is a good choice, but for a completely
different reason than what has been said here. Mono is quite fast,
and just because it has a runtime does not mean it can't be.
Remember that mono does JIT your code into native assembly at startup
(most tests i've made take between 1
Hi Folks,
I'm curious about how people feel about adding a feature for custom
attributes/decorators that can be used for meta-programming. If that
doesn't make sense, let me show an example of what I would like to
make possible.
Currently, I'm working on a follow up to GTask that is based on
hig
It's a cute thought. But then you would try to debug a segfault or
memory corruption on a production site.
-- Christian
On Mon, Jun 29, 2009 at 9:25 PM, Michael B. Trausch wrote:
> On Tue, 30 Jun 2009, Jeremy wrote:
>>>
>>> Maybe mod_mono (for apache) is an example of the sort of dependency I
>>
> Nonetheless I still think if VALA needs bigger, live projects to
> increase the level awareness which it deserves. At least among the
> open-source vala projects tracked by ohloh, I don't see any of them a
> critical application(by critical I mean a real develop team, active
> development and lar
I wrote a GtkTreeModel that fronted SQLite years ago. I think Conduit still
uses a python prototype I made which is far more optimized than the original
prototype in C (EggSqliteStore). It might serve as a base however to get
you started.
http://audidude.com/dropbox/egg-sqlite-store/
-- Christi
Hi Everyone,
We have some projects in Builder that developers of the Vala community
might be interested in working on. Currently, Builder supports writing
plugins in C, Vala, Python or C++. So you have a pretty wide variety of
language choice based on the problem at hand.
https://people.gn
On 04/04/2017 12:22 AM, Daniel Brendle wrote:
> There are many languages that are also fun when it comes to programming
> against the Glib based library stack. The more interesting part is: will
> there ever be a language that makes it also as convenient to write
> gobject-introspectable libraries.
On 04/04/2017 01:47 AM, Ulink wrote:
> I simply can't understand why the Gnome people seems to hate or at least
> ignore Vala and instead promote Javascript or Rust or other weird stuff.
Some of us in GNOME have spent many years writing programming languages
and runtimes. Therefore our view is som
On 04/04/2017 12:25 PM, Daniel Brendle wrote:
> On 04/04/2017 11:47 AM, Mohan R wrote:
>> A request to gnome+rust language developers, Please keep dbus and glade
>> integration as easy as Vala. I enjoy writing GUI and dbus apps with Vala.
>> It's just awesome integration which I don't see in other
On 01/24/2018 10:03 AM, Manish Jain wrote:
My last effort at the event handler is below (it is of no use, really):
void scale_moved (Gtk.Range range)
{
int i;
Gtk.TextIter iter = new Gtk. TextIter();
view.get_iter_at_position(out iter, out i, 0, 0);
On 03/26/2018 11:44 AM, Steven Oliver wrote:
> I want to implement "saving" in my program. The data I want to save is
> a custom object. Is it possible in vala to simply write the object to
> disk (in binary I assume) without having to implement a to_string
> method?
>
> It seems like such a simpl
On 03/27/2018 04:46 PM, rastersoft wrote:
>
> I'm writting a program that shows dates in the screen. The problem I
> have is that I want to show them in the local format, but there is only
> one way: with full day of week, time and timezone.
>
> Is it possible to print from a GLib.Date only the d
On 03/28/2018 10:44 AM, Steven Oliver wrote:
>
> On the other hand, though, if you throw in some kind of data structure
> besides your basic types (int, string, etc.) it completely fails.
https://developer.gnome.org/json-glib/stable/json-glib-Serializable-Interface.html#JsonSerializableIface
If
On 10/09/2018 11:38 AM, Ulink wrote:
> Maybe improving Gnome builder Vala integration is the right way?
Builder needs someone familiar with Vala internals to take over the Vala
plugin (src/plugins/vala-pack) if you want to get better quality
integration. I simply don't have time to work on it give
Hi,
I'm a very happy user of vala who is curious what the timeline is for
implementing generic methods. It sounds like a technical feat, so I'll
understand if its "not anytime soon".
Thanks!
-- Christian
___
Vala-list mailing list
Vala-list@gnome.org
h
Hi folks,
I noticed that there is support for delegates to throw when wrapping
libraries (the vapi's do it in a few places). However, I'd like to
have a delegate in my vala code that can throw an error. This doesn't
seem to happen even though it compiles.
For example:
public delegate void C
Hi,
Wanted to suggest a feature that would be useful to simply the
consumption of GValue based methods. Just a bit of compiler magic to
automatically box/unbox values into GValue's?
For example,
public void do_something (GValue *value);
// create a gvalue, and use proper g_value_set method
do_s
Ok, created bug #541949.
http://bugzilla.gnome.org/show_bug.cgi?id=541949
-- Christian
On Mon, Jul 7, 2008 at 12:52 PM, Sam Liddicott <[EMAIL PROTECTED]> wrote:
> Christian Hergert wrote:
>>
>> Hi,
>>
>> Wanted to suggest a feature that would be useful to si
Hi,
I noticed that when int64 properties are installed,
g_param_spec_pointer is used. I created a bug and attached a patch.
http://bugzilla.gnome.org/show_bug.cgi?id=543055
Thanks!
-- Christian
___
Vala-list mailing list
Vala-list@gnome.org
http://mai
Hi,
Does anyone have any tips for how to handle a ref_function that returns void?
-- Christian
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
I haven't touched rss-glib in a couple months, but if you have feature
requests, i'll hack them in promptly.
I don't think i announced it on the list here either, but if anyone is
interested in a datamapper for gobject, i made one of those as well (which
ive used pretty successfully with rss-glib
I'm very interested in having closure support as well. However I'm not
sure I understand your implementation details. I had planned to write an
async helper library ontop of vala once it had closure support. Perhaps it
would be wise to do the most succinct amount of features possible here as
n
I absolutely love the yield idea, very python-twisted'ish. Lets make sure
the yield can return a value as well so we can have the following:
var value = yield obj.do_something ();
-- Christian
On Tue, Sep 16, 2008 at 3:34 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Tue, 2008-09-16 at 22:
t; On Tue, 2008-09-16 at 15:39 -0700, Christian Hergert wrote:
> > I absolutely love the yield idea, very python-twisted'ish. Lets make
> > sure the yield can return a value as well so we can have the
> > following:
> >
> > var value = yield obj.do_something ();
p 16, 2008 at 4:28 PM, Samuel Cormier-Iijima
<[EMAIL PROTECTED]>wrote:
> On Tue, Sep 16, 2008 at 6:43 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> > On Tue, 2008-09-16 at 15:39 -0700, Christian Hergert wrote:
> >> I absolutely love the yield idea, very python-tw
>
> Christian, when you said:
> var value = yield obj.do_something ();
> Did you mean that the lamda continuation address be implicitly passed to
> do_something()?
>
> When you talk of the yield returning a value, do you mean to the caller? So
> that yield is equivalent to "return" but just doesn't
I believe I filed a bug on this a while ago.
http://bugzilla.gnome.org/show_bug.cgi?id=542725
-- Christian
2008/10/3 Mihail Naydenov <[EMAIL PROTECTED]>
> When used TreadPool, the c compiler reports:
>
> ***error: too few arguments to function `g_thread_pool_free'***
>
> ThreadPool is defined i
("i can resolve an asynchronous error");
});
You can build complex callback/errback chains just like in Python
Twisted. By default, the task scheduler will dispatch callbacks and
errbacks from the main thread to ease locking hell for GUI
programming.
[1] http://github.com/chergert/
ain. Not quite sure how to handle this
in vala bindings yet. I'm considering dropping error from the
prototype and adding it as tasks methods (task.{get/set}_error).
-- Christian
On Fri, Oct 17, 2008 at 1:05 AM, Sam Liddicott <[EMAIL PROTECTED]> wrote:
> * Christian Hergert wrot
icott <[EMAIL PROTECTED]> wrote:
> * Christian Hergert wrote, On 17/10/08 09:24:
>> For tasks, you have two options.
>>
>> 1) Create a GTask with a callback and user_data.
>> 2) Inherit from GTask and implement the execute (and optionally,
>> cancel) methods.
&
What about methods that take 2 callbacks?
-- Christian
2008/10/18 Ali Sabil <[EMAIL PROTECTED]>:
> Hi all,
>
> I would like to start a discussion about a small syntactic sugar addition to
> Vala, that would in my opinion slightly improve the situation with
> asynchronous code. The following code
I like it. Might get confusing if someone wanted to mix direct
delegates and anonymous ones though.
-- Christian
On Sat, Oct 18, 2008 at 4:14 PM, Yu Feng <[EMAIL PROTECTED]> wrote:
> On Sat, 2008-10-18 at 22:57 +0200, Ali Sabil wrote:
>> Hi all,
>>
>> I would like to start a discussion about a sm
Hello,
Here is an example from one of my projects.
http://github.com/chergert/gtask/tree/master/tests/test-4.vala
-- Christian
On Sun, Oct 26, 2008 at 8:08 AM, Frederik <[EMAIL PROTECTED]> wrote:
> Maciej Piechotka wrote:
>
>> Is there any samples how to use GTest?
>>
>> Best regards
>>
>
> Hi
Anything against the following?
new Person () {
login = "Bob",
password = "hello",
email = "[EMAIL PROTECTED]"
};
Cheers,
-- Christian
2008/10/31 Кутейников Дмитрий <[EMAIL PROTECTED]>
> It would be great, if Vala could compile expressions like this:
>
> *var bob = new Person(login
Won't work because of linking.
You could keep multiple .vapi inside your project for different versions and
include separate files in your makefile. Since i don't think there are
#ifdef in vala, you will need to have two files that consume the api as
well, and choose which to use in your makefile.
On Sat, Nov 1, 2008 at 4:14 PM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Sat, 2008-11-01 at 22:42 +, Sam Liddicott wrote:
> > It'll be a couple of weeks at least before I can look at it.
> >
> > Jürg, are you intending to allow the callbacks to pass in additional
> variables?
>
> The plan
>
> Changes since 0.4.0
> * Support type checks for error domains and error codes.
> * Experimental support for yield statements and coroutines.
> * Support GValue and GHashTable in D-Bus clients.
> * Various improvements to the .gir reader.
> * Drop deprecated support for static classes.
> *
I'm excited about the addition of yielding values. I released GTask 0.1.2
last week which is an asynchronous/concurrency library for GObject with
similar feel to twisted deferreds. I would love to be able to yield tasks
and have the method re-enter when the task has completed.
Something like thi
On Sun, Nov 23, 2008 at 2:22 AM, Jürg Billeter <[EMAIL PROTECTED]> wrote:
> On Sun, 2008-11-23 at 01:31 -0800, Christian Hergert wrote:
> > I'm excited about the addition of yielding values. I released GTask
> > 0.1.2 last week which is an asynchronous/concurrency li
Is that even be possible on 32bit? sizeof(gdouble) is 8.
-- Christian
On Sun, 2009-01-11 at 17:54 -0500, Yu Feng wrote:
> Hi all,
>
> How do I declare a volatile double variable?
>
> Yu
>
> ___
> Vala-list mailing list
> Vala-list@gnome.org
> http:/
On Mon, Jan 26, 2009 at 12:26 PM, Pawel Cesar Sanjuan Szklarz
wrote:
> Hi.
>
> Is it planed any feature to support inverse of control on VALA??
>
> In java I found that this can be really helpfull. A good library for
> this on java is guice:
>
> http://code.google.com/p/google-guice/
>
>
> Pawel S
I agree, having types loaded at startup would make life a lot easier in
most of my situations. Is this already done with types in plugins when the
plugin is loaded?
-- Christian
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/ma
How would I go about making a property with time_t. It looks like the
generated code is boxing just fine, it just generates a bad gtype for
time_t. I will create a bug if necessary.
$ valac test.vala
test.c: In function 'test_item_class_init':
test.c:83: error: 'TYPE_TIME_T' undeclared (first us
I wrote a datamapper (rather than an ORM) a while back in Vala. I
don't think anyone is really using it, but it might be an example for
various problems or questions you run into.
http://git.dronelabs.com/git?p=users/chris/godm.git;a=summary
It does let you do some neat stuff (and creates object
44 matches
Mail list logo