Hi.
>
> I noticed public constructors of abstract classes are no longer
> allowed since Vala 0.45.1.
>
> Does changing the public constructors to protected break ABI
> compatibility?
No. The C code is identical.
___
vala-list mailing list
>
> If here some dev's just let me say that "partial classes" are
> elementary
> for C# developers.
>
> The reason is, to split functionality in smaller source-files.
That is kind of a two-edged sort. Personally, I think if your class
gets so big that you feel the need to distribute your
valac - The standard Vala compiler
Vala - A programming language. (Description, Specification,...)
That isn't the complete truth, there is also vala, the "interpreter"
that on-the-fly compiles the vala code and runs it - which works ok for
simple files e.g. if you need to check something
On Thu, 2018-03-08 at 21:03 -0500, Steven Oliver wrote:
> I want to begin working an application that would have a database,
> specifically SQLite, as a back-end. I know that at some point
> sqlheavy
> (https://github.com/nemequ/sqlheavy) was an option for using
> databases
> with Vala. It doesn't
sascha@linux-ktr9:~/Projects/gnome-publisher1/data> make
GEN org.gnome.Publisher.appdata.xml
/usr/bin/msgfmt: cannot locate ITS rules for
org.gnome.Publisher.appdata.xml.in
Usually you forgot to specify the format when doing this, but your code
looks good.
check if you have
In Vala you can simply just check for str != "", this is enough.
No, if str is nullable it's semantically different, because str != ""
will be generated as
if (g_strcmp0 (_tmp1_, "") != 0) {
..
}
This will be TRUE for _tmp1_ being NULL because NULL isn't "" ( and
g_strcmp0 will return
... That was the whole
point of the subject.
On Jul 11, 2016 5:25 PM, "Jens Georg" <m...@jensge.org> wrote:
But If I would need to patch GLib to work on PS4 or XBONE? I doubt
that
those platforms will allow me to share usage of their internal
API. Can I
keep those patch closed and
But If I would need to patch GLib to work on PS4 or XBONE? I doubt that
those platforms will allow me to share usage of their internal API. Can
I
keep those patch closed and share them only with people who has
licenses
for PS4 and XONE (you aren't able to put that patch in anyway if you
are
my question is simple : How implement static method c interface ?
Yet I have no idea what you are trying to do. Are you trying to
implement URIHandler interface in Vala?
An exemple with GStreamer URIHandler :
http://cgit.freedesktop.org/gstreamer/gstreamer/tree/gst/gsturi.h
get_protocols
Am 2013-11-19 18:12, schrieb Jürg Billeter:
We are pleased to announce version 0.22.1 of Vala, a compiler for the
GObject type system.
Hm, I'd suggest to either give reasons for the reversions or just
squash them in the changelog, it looks a bit weird :)
On Mi, 2013-08-21 at 14:41 +0200, r...@no-log.org wrote:
Hello,
I'm trying to get informations like TIME_ACCESS, TIME_CREATED, ... from a
file but I don't know how.
For example :
var file = File.new_for_path (some_file.txt);
You have to add things you want to extract from the FileInfo
On Mi, 2013-08-21 at 15:39 +0200, r...@no-log.org wrote:
Well, Im' trying something like :
var file = File.new_for_path (some_file.txt);
var file_info = file.query_info (*::*, 0);
Should be file.query_info (*, 0) for everything
int64 file_stamp =
On Mo, 2013-03-18 at 22:44 -0007, Jim Nelson wrote:
This is a problem we faced in Geary. We went several directions
before adding this, which helped immensely:
http://redmine.yorba.org/projects/geary/repository/revisions/master/entry/src/engine/api/geary-base-object.vala
Note that this
On Mo, 2013-01-14 at 20:57 -0800, Dan Hitt wrote:
I would really like to disable only the never used warnings
(and i'd like to do it on a method-by-method basis, because,
after all, the never used warning is very useful).
Here's a sort of minimal example, to be put in a file called
On Fr, 2012-09-07 at 09:11 +0300, Alberto Mardegan wrote:
Hi all,
when running my application under gdb I get the following:
=
Program received signal SIGSEGV, Segmentation fault.
publishing_ui_publishing_dialog_account_service_copy (self=self@entry=0x0,
Hi,
[Freenect C init sample ]
Trying to implement that in Vala, I took the approach below.
It seems however, that the init_async does not work. Looking at the
generated C-Code it looks like the g_async_initable_init_finish method
is called right after init_async an not with in the
On Di, 2012-03-27 at 12:24 +0200, tomw wrote:
On Di, 2012-03-27 at 11:59 +0200, Jens Georg wrote:
try {
debug (Trying to run init_async);
bool re = yield device.init_async (Priority.DEFAULT,
cancellable);
^^ this yield returns to main loop and once
Hi,
I'm trying to write a simple GTK3 front-end for smbpasswd and I'm trying
to use «GLib.Process.spawn_async_with_pipes» based on the «-s» option of
smbpasswd which allows it to use stdin for password prompt.
How can I send the data to «GLib.Process.spawn_async_with_pipes»' stdin?
You need
On Sa, 2011-10-01 at 15:18 +0200, andrea zambon wrote:
Hi,
I'm writing a little http server to send some binary data.
I wonder if it wouldn't be easier to use the one from libsoup.
___
vala-list mailing list
vala-list@gnome.org
On Mi, 2011-08-03 at 20:39 +0200, Pavol Klačanský wrote:
Hi,
why somebody uses this. prefix and somebody doesn't, I have tried and it
worked with or without it
It's a matter of taste and or coding guidelines or explicitly avoid
shadowing of object members by local variables.
this can be
On Mo, 2011-04-11 at 22:53 -0700, Charles Hixson wrote:
I can't figure out what I'm doing wrong, but
file_info.get_file_type always returns a value of 0
(i.e., UNKNOWN):
Yes, and it rightfully does. Because you don't query for it.
You want to query for
On Mon, 2011-04-11 at 22:49 -0700, Charles Hixson wrote:
I can't figure out what I'm doing wrong, but
file_info.get_file_type always returns a value of 0
(i.e., UNKNOWN):
That's correct, because…
// valac --pkg gio-2.0 walker.vala
// ./walker
On Mon, 2011-02-28 at 09:09 +0100, Guilhem Bonnefille wrote:
Hi all,
It's my first post on this list, as I've just decided to experiment vala.
My idea is to build a software around a C library. But, this library
is in the pure C spirit:
- opaque public types
- return values via
On Mon, 2011-01-31 at 14:27 +, Denis Reichelt wrote:
Hi all,
I'm not a GNOME developer but I'm interrested in Vala because for me it would
be a perfect C frontend. C is virtually platform independent because C
compilers exist for nearly every processor / controller.
So my
Let me answer to my question: binding for GLib testing framework
actually exist in Vala. They are just hidden. I did not find any
examples of unit tests for a Vala app, so I created such example by
http://git.gnome.org/browse/rygel/tree/tests
___
On Tue, 04 Jan 2011 13:49:52 +0100, Pavol Klačanský pa...@klacansky.com
wrote:
Hi, is there working uuid bindings?
thanks
http://git.gnome.org/browse/rygel/tree/src/rygel/rygel-root-device-factory.vala#n28
___
vala-list mailing list
Can anyone tell me why the following program always returns UNKNOWN for
the file type?
Because you do not include the query for the filetype in the enumerate call.
___
vala-list mailing list
vala-list@gnome.org
Hi,
i'm trying mysql bindings now, and it doesn't work for me,
r...@centos-54-64-minimal ~/develop/vala # valac --pkg mysql mysql2.vala
./mysql2
mysql2.vala:10.19-10.33: error: `Mysql.Database' does not have a default
constructor
Database mysql = new Database ();
Am Donnerstag, den 22.10.2009, 10:45 -0400 schrieb Levi Bard:
Did you have --Xcc=-I/usr/include/SDL as part of your compile line?
Just out of curiosity... Why is that necessary?
It's because SDL, unlike a lot of libraries bound for Vala, doesn't
have a pkg-config file defining include
It's because SDL, unlike a lot of libraries bound for Vala, doesn't
have a pkg-config file defining include paths and the like.
That depends. It seems to have on debian-based systems and on openSUSE.
and in libsdl's svn:
http://www.libsdl.org/cgi/viewvc.cgi/trunk/SDL/sdl.pc.in?view=log
if (condition MyClass.ENUM_VALUE_1)
if ((condition MyClass.ENUM_VALUE_1) != 0)
Elementary, dear Watson ;-)
... in every other language than C ;)
___
Vala-list mailing list
Vala-list@gnome.org
The mailing list keeps destroying my pretty formating! Delete all the hyphens
following the urls.
That looks weird. Are you - by any chance - compiling in a directory
that contains spaces?
___
Vala-list mailing list
Vala-list@gnome.org
I tried running configure, make, make install from cygwin but it failed at
configure. :( Appending --no-undefined on the gcc compile command also failed.
output.txt http://www.flyupload.com/?fid=155588output.png
http://www.flyupload.com/?fid=7060892
config.log
Am Montag, den 07.09.2009, 13:30 -0500 schrieb Mr. Maxwell .:
pkg-config --libs glib-2.0 produces -LD:/vala-0.7.4/lib -lglib-2.0 -lintl
When I used that as the link option the linking still failed with the same
errors. I tried to create a batch file with this as the contents and it also
but
%s: %d.printf (Hello, 5)
is some weird, weird stuff !
Looks like consequent OOP, bit like smalltalk
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
35 matches
Mail list logo