tk3-icon-browser program is useful here too - it shows what icon
is will be used for each, and lets you search icon names as well.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@g
ey seem pretty useless to call from vala, and
don't let you provide a human readable string as additional context.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
uting to it. In particular, it would be great
to add a high-level query interface like JPA/Hibernate criteria queries
so we can stop doing SQL munging in the app.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-l
7;d like to stop the test if an exception has been thrown, i.e. it's
abnormal that an error has been thrown. So assert_error is not the
right check since it's the opposite of what I am looking for.
"assert(err == NULL)" would be correct, but that it wouldn't tell me
. This is what I get:
mjg@payens:~$ valac --pkg glib-2.0 -g assert_no_error.vala
mjg@payens:~$ ./assert_no_error
/chucker: **
ERROR:/home/mjg/assert_no_error.vala:11:__lambda4_: assertion failed:
(false)
Aborted (core dumped)
Am I missing something here?
Cheers,
//Mike
--
⊨ Michael Gratton,
do
that in the source, or do I need to use a compiler define to be able to?
Cheers!
//Mike
[0] - <https://valadoc.org/glib-2.0/GLib.log_structured.html>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-l
/libfsoframework/fsobasics/utilities.vala
for an example using the backtrace functionality.
Thanks for the link. I guess based on the VAPI name it's Linux specific
- but does it rely on glibc or is it actually using something
Linux-kernel-specific?
Cheers,
//Mike
--
⊨ Michael Gratton, Pe
IOError" and "CANCELLED".
I assumed CANCELLABLE was a typo.
Yeah sure was, sorry. I need a type-checker for my email composer.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
PS: Has anyone used the glib backgrace_symbols() function[0] to
generate a stack trace in Vala?
[0] -
<https://www.gnu.org/software/libc/manual/html_node/Backtraces.html>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
o be
able to use it in a switch statement, e.g.:
switch (io_error.code) {
case IOError.CANCELLABLE:
...
break;
}
But again unless I am missing something, this doesn't seem to be
currently supported?
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/&
e far away from the declarations, and that makes it hard to
maintain and understand what is going with the values.
Is there a nicer way to do this in vala?
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list m
ore consistent with this
suggested approach of using --pkg to enable compiler-specific features.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
On Sun, May 7, 2017 at 5:26 AM, Guillaume Poirier-Morency
wrote:
Hello all!
We currently have a very promiscous r
Hi Guillaume,
Thanks for this! We're thinking testing the waters with Meson for
Geary[0], this might make it a bit easer to port to from cmake.
//Mike
[0] - <https://bugzilla.gnome.org/show_bug.cgi?id=777044>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
On 7 April 2017 8:16:32 AM "Matthias Berndt" wrote:
Obviously all these examples are completely contrived, academic and serve no
purpose other than showing off my 31337 comp!l0r h4xx0ring 5k!11z. Thanks for
finally showing me the light about the One True Programming Language: Vala!
Don't you
nfidence that a
decision will be made, and Vala will just continue languishing at
Gnome.
Nah. People still use vala, it's still being maintained, it's still the
best way to write GTK+/GNOME apps that compile down to native code. Why
advise people against that? :)
//Mike
--
⊨ Michael Gra
ixPrintJob;
...
}
}
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
go out to Chris Daley of Valadate project for
hosting a mirror ( http://valadoc.valadate.org ) and the company
RooJSolutions ( http://valadoc.roojs.com ) for also hosting a mirror
while things got back to normal.
Seconded, and to everyone else working on it. Cheers, people!
//Mike
--
⊨ Micha
Hi all,
I just wanted to quickly say thanks to everyone involved with this. It
will cut down the amount of warnings generated when compiling Geary by
a huge amount!
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
On Mon, Nov 21, 2016 at 10:27 PM, Al Thomas
irection. In the end, its
the maintainers that would decide if things like wip/transform is the
way to go or not.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.
On Tue, Sep 13, 2016 at 2:19 AM, oyster wrote:
some killer apps may be a good AD.
Like these?
<https://wiki.gnome.org/Projects/Vala/Documentation#Projects_Developed_in_Vala>
;)
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjo
uld
also send the signal to the already running instance.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
On Thu, Aug 11, 2016 at 12:10 PM, Michael Gratton wrote:
I'm trying to track down a memory leak in Geary. I have a custom
subclass of Gtk.ListBox, instances of which are frequently added and
removed from the UI.
[snip]
The only things I can find that could still be holding a reference
been using a TreeView
for a while.
I'm glad you got it working! :)
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
will help because I don't know the address of the
widget instances in advance - I assume that everything that holds a ref
to it will have it already soon after it is constructed and added to
the UI.
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http:/
nd two model columns:
insert_column_with_attributes(-1, "Content",
new Gtk.CellRendererText(),
"text", 1,
"foreground", 2,
null);
//Mike
--
⊨ Michael
text, color);
HTH,
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
onnected in an overridden version of
destroy(), since they should be disconnected when the object is
finalised, by the GObject finaliser.
So, to get to the point, would either of these these hold references to
`this` that prevent it from being finalised?
Ta!
//Mike
--
⊨ Michael Gratton, Pe
.
It may all may be possible, but it seems like just parsing and
manipulating the markup before shipping it off to WebKit seems like it
might be more robust and less work. I'll check with the WebKitGTK guys
though.
Cheers,
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <h
that I have missed? Has anyone else had parse tag
soup in Vala?
Ta!
//Mike
[0] - <https://en.wikipedia.org/wiki/StAX>
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list
right one. I'll keep on digging.
So is GObject polymorphism is actually implemented using signals? I
thought the chaining foo_class structs that happens would have been
good enough?
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
__
ld(Gtk.Widget? child) { ... }
But then valac complains that it "hides inherited signal" in the first
case and "Only virtual signals can have a default signal handler body"
for both.
Any hints? Thanks!
//Mike
--
⊨ Michael Gratton,
On Fri, Jun 17, 2016 at 7:55 AM, Michael Gratton wrote:
Geary is suffering a bug which is causing it to frequently crash on
32-bit installations, in a place where it doesn't crash on a 64-bit
install. The crash occurs in vprintf, during a call to GLib.debug()
from an async method.
So it
nome.org/show_bug.cgi?id=745165>,
best stack trace we have at the moment is here:
<https://bug758621.bugzilla-attachments.gnome.org/attachment.cgi?id=329846>
Thanks,
//Mike
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
___
33 matches
Mail list logo