Im still maintaining it although there has not been many bugs filed
against Genie which is why some might have that opinion
jamie
On Wed, 2011-07-27 at 15:05 +0200, Andrea Del Signore wrote:
Hi all,
after the last vala toys release I just asked to the gedit IRC channel
what blocks the
Im still maintaining Genie although Vala appears to be in a slow state
of development now that its fairly mature
jamie
On Mon, 2011-05-23 at 12:32 -0400, craf wrote:
Hi.
I am a Python programmer and gtk.
Looking to learn other languages, I found vala and simplified version
Genie.
and have fun with the many
examples online
jamie
On Mon, 2011-05-23 at 12:57 -0400, craf wrote:
-Mensaje original-
De: Jamie McCracken jamie.mccr...@gmail.com
Para: craf pyclut...@gmail.com
Cc: Lista Vala vala-list@gnome.org
Asunto: Re: [Vala] [Geani] Is Dead?
Fecha: Mon, 23 May 2011 12
the developers think
it is fairly mature that it can be called 1.0? I filed some minor
bugs over the handling of fairly simple code and I do hope these can
be addressed before the real 1.0 release...
On Mon, May 23, 2011 at 9:41 AM, Jamie McCracken
jamie.mccr...@gmail.com wrote:
Im still
your properties need to match the interface correctly
use readonly when there is only a get and no set and likewise use
construct for constructor properties
try
prop construct title
prop readonly description
etc...
jamie
On Mon, 2011-02-21 at 16:27 +0200, Antono Vasiljev wrote:
On Mon,
Im not sure what you mean - are you using or porting the code in the c
library?
If you are using a c library in Genie/vala then you need to create a
vapi file for it
if you are porting a c library to genie/vala then you dont need to
specify ELM_NEW as construction is done for you :
var wd = new
On Wed, 2010-10-13 at 19:51 +0200, Jan Hudec wrote:
On Wed, Oct 13, 2010 at 11:31:09 +0200, Nicolas wrote:
destroy.connect(Gtk.main_quit)
spin_box.value_changed.connect(spinbox_value)
slider.value_changed.connect (slider_value)
I need to update the genie parser to fix this error - will have it done
end of today
It should work fine with an earlier version of vala as it only appears
in the latest release
On Mon, 2010-09-27 at 14:55 +0200, Nicolas wrote:
Hello,
There is a long time that I did not use enums in my code
Should now be fixed in master
jamie
On Mon, 2010-09-27 at 14:55 +0200, Nicolas wrote:
Hello,
There is a long time that I did not use enums in my code and now I see
that it no longer works as before, what's the problem?
[indent=4]
enum EnumTest
value1 = Hello !
init
can you post xmlrpc-c_test.vala.c so i can see which line is causing the
problem
jamie
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list
you can use super to access the parent class you are inheriting from
(similar to super in python)
Ergo i belive you need to call super.insert_text (blah) at end of your
overriden call if you want that call to chain up
jamie
On Sun, 2010-09-12 at 20:37 +0200, Nicolas wrote:
Hi,
I'm
On Thu, 2010-07-15 at 18:34 -0400, Ron Murawski wrote:
On 7/15/2010 1:45 PM, Robert Powell wrote:
Both of the above multi-dimensional array declarations work as
intended, but they do not seem to be global.
Is this what you are trying to do?
int [,] arr;
public void main(string []
On Thu, 2010-07-15 at 19:26 -0400, Ron Murawski wrote:
I wanted the multi-dimensional array in the data area, not on the
stack.
In C:
int my_array[64][13];
int main(int argc, **char argv)
{
my_array[7][7] = 7;
// more stuff
return 0;
}
my_array is allocated on the
On Fri, 2010-06-04 at 00:08 -0400, Arc Riley wrote:
What is the intended syntax for something like this:
blobs : list of array of uint8
The best I've found so far is
struct bytes
value : array of uint8
blobs : list of bytes
Which is less desirable as its more verbose to refer to
Array (and string) slicing should now be in master for Genie
Please test and let me know if there are any problems with it
jamie
On Sat, 2010-05-22 at 19:56 -0400, Arc Riley wrote:
We are working with IO which returns the number of bytes written, not
utf-8 characters.
The following shows
On Sat, 2010-05-22 at 19:41 +0100, Abderrahim Kitouni wrote:
في س، 22-05-2010 عند 06:38 -0400 ، كتب Arc Riley:
I'm migrating some C code to Genie and ran into a troubling limitation; the
following line of code does not seem to have an equivalent in Genie:
session-wbuff =
Its a work in progress atm
I will try and get it in this weekend
On Fri, 2010-01-08 at 16:52 +0100, Sebastien Binet wrote:
hi there,
I was more or less expecting to see some examples/utests for Genie under the
Vala git repository:
http://git.gnome.org/browse/vala/tree/tests
but it
On Tue, 2010-01-05 at 06:56 -0500, Arc Riley wrote:
I've been hitting a problem where passing float to a function which takes a
float fails because Genie is reading it as a double. IE:
var body = new RigidBody(null, 1.0, null)
src/windows.gs:35.36-35.38: error: Argument 2: Cannot
On Mon, 2010-01-04 at 14:39 +0100, Jan Hudec wrote:
On Mon, Jan 04, 2010 at 08:25:06 -0500, Jamie McCracken wrote:
On Mon, 2010-01-04 at 02:07 -0500, Arc Riley wrote:
A syntax quirk that I found a bit obnoxious:
const entries : array of OptionEntry = { \
{ config, 'c
Are you sure you have git master? Did you remove previous versions of
valac?
I can compile that without any problems
On Tue, 2010-01-05 at 22:51 -0500, Arc Riley wrote:
35 var attrs = Gdk.WindowAttr () {
36 title = self._title,
37 width = 100, height = 100
38 }
, Jan 5, 2010 at 11:06 PM, Jamie McCracken
jamie.mccr...@googlemail.com wrote:
Are you sure you have git master? Did you remove previous
versions of
valac?
I can compile that without any problems
On Tue
On Mon, 2010-01-04 at 02:07 -0500, Arc Riley wrote:
A syntax quirk that I found a bit obnoxious:
const entries : array of OptionEntry = { \
{ config, 'c', OptionFlags.IN_MAIN, \
OptionArg.FILENAME, ref config, \
Use alternative configuration, FILE }, \
{ license, 'L',
On Mon, 2010-01-04 at 08:43 -0500, Arc Riley wrote:
+1 for the Python way.
The problem of ignoring newlines following commas is there may be a
space after them.
spaces are ignored in any event but I will look at the python way
On a somewhat related topic; is there currently a method to
On Mon, 2010-01-04 at 08:53 -0500, Arc Riley wrote:
Yes, except I'd prefer not to insert a linefeed into the string at the
line break
in C it would be:
printf(part 1
part 2);
Ok in Genie you would have do part 1 + part 2
or until I have sorted line continuations :
line 1 + \
On Mon, 2009-12-14 at 20:25 +0100, Abderrahim Kitouni wrote:
Hi,
2009/12/13 Nicolas c.r@wanadoo.fr:
Hello,
When i build this piece of code, i have this message:
testbug.gs:9.65-9.65: error: syntax error, expected `)' but got `:' with
previous identifier
def test (mystring :
On Wed, 2009-12-09 at 20:50 +0100, Nicolas wrote:
In fact, i'm using genie, because i love the syntax.
I making all the available examples in
http://code.valaide.org/category/tags/genie
But the problem i encountering here, i can encounter it with other
languages, because i don't know
On Mon, 2009-11-30 at 13:24 -0500, Hugo Florentino wrote:
Abderrahim Kitouni wrote:
[indent=2]
const MAXVALUE: int = 50
init
myarray : array of int = {1..MAXVALUE}
Isn't there a similar way to declare an array using only minimum and
maximum
values?
No, arrays indices
we will probably use that syntax in Genie as thats what Delphi does as
well although i may just use:
Flags
flag1
flag2
etc
jamie
On Mon, 2009-11-02 at 21:34 +, Sam Liddicott wrote:
Pascal lets you have a bitwise set from an enum using
Set of ENUMTYPE
Sam
On Wed, 2009-10-28 at 10:39 +, Patrick Castle wrote:
Just stuffing about at the moment getting my head about creating classes in
Genie. From what I gather, every variable you declare outside of a method is a
member/property of that class.
What I'm finding a bit confusing is there isn't
On Thu, 2009-10-29 at 01:50 +1100, Patrick Castle wrote:
Thanks for that. I looked back at the Genie page and did a bit of Googling. I
think I understand the distinction between field and property. It would seem
from a good practice point of view that fields would generally be private and
On Mon, 2009-10-26 at 18:44 +0100, Abderrahim Kitouni wrote:
Hi,
2009/10/26 Barry Kauler bkau...@gmail.com:
I am asking about
var s = new string
To me, it *does* make sense, but anyway, I am not asking about it's
merits. I would like to know why it compiled before, not now.
On Mon, 2009-10-12 at 16:29 +0200, Nicolas wrote:
Hi,
I need to convert string to array of uchar in genie.
I know under vala it's (uchar[]) testing where testing is the string,
so how can i do this under genie ?
try
(array of uchar) testing
On Mon, 2009-10-12 at 18:19 +0200, Nicolas wrote:
Thanks, but already tested and this:
data_string : string
testing : array of uchar
testing = (array of uchar) data_string
Return:
error: syntax error, expected identifier
testing = (array of uchar) data_string
^
I have just committed fix in master - if it does not work pls let me
know
jamie
On Mon, 2009-10-12 at 21:48 +0200, Nicolas wrote:
Thank you Jamie for your response.
I really need to use this , so i hope you find a solution quickly so
that I can continue developing my program.
If I can
On Sun, 2009-10-04 at 16:29 +0200, Nicolas wrote:
Hi,
I'm trying to use the Gee library, but i have a problem;
This is the code taken from the vala site:
using Gee;
static int main (string[] args) {
var map = new HashMapstring, int ();
map.set (one, 1);
map.set (two,
On Mon, 2009-09-28 at 14:18 +0200, Xavier Bestel wrote:
On Mon, 2009-09-28 at 13:59 +0200, Nicolas wrote:
Feel free to file a bug
Yes but i don't know what to say to describe the bug !
Something like Genie sometimes introduces a spurious break statement in
switch, and in the body of the
On Sun, 2009-09-27 at 15:45 +0200, Nicolas wrote:
Hi,
I have a problem convert function from vala to genie, this is the code:
Vala code:
switch (eb.button) {
case 1:
blah blah blah
case 2:
blah blah blah
I have recently rewritten Tracker-Search-Tool(1) in Genie for those
looking for real world applications in Genie using Dbus, Tracker and GTK
I expect to have a test suite for Genie shortly (next few days) for
those looking for more samples
jamie
(1) -
On Wed, 2009-09-23 at 11:24 -0400, Andrés G. Aragoneses wrote:
Jiří Zárevúcky wrote:
On 09/21/2009 10:52 PM, Andrés G. Aragoneses wrote:
[...]
Of course, what I'm talking about is about adding one more user choice,
not removal of Mono like the subject of the original thread is named
my only concern with # is its used for compiler directives in vala (and
genie too)
eg #ifdef
need to find a way around that...
jamie
On Tue, 2009-07-14 at 11:44 +0200, pancake wrote:
I have written my first patch for the vala compiler... well, to be exact
it is only for the genie syntax
On Sat, 2009-06-20 at 20:04 +0200, Nicolas wrote:
Hi,
Someone know how can i convert this from c# to vala or genie:
for (int i=0; i linesPerPage line numLines; i++)
Genie:
var i = 0
while (i linesPerPage and line numLines)
// do blah here
i++
jamie
hi juerg,
i note that vala now has automake support for .vala files but it
lacks .gs genie source file support
i have a patch for autotools to support genie but my perl is not very
good so please see attached patch and let me know if its right and i
will forward to autotools list
thanks
jamie
thats awesome - thanks
some quick hints about more concise genie syntax in case you are
interested:
1) var can be used in block mode so you dont have to type var on each
line if you are initialising more than one variable at a time
EG
var
x =1
s = hello
2) print is a built in function
you would have to ask juerg but I always thought it was because it
sounds like java
On Mon, 2009-05-04 at 13:57 -0700, William Swanson wrote:
On Mon, May 4, 2009 at 1:31 AM, Hans Baier hansfba...@googlemail.com wrote:
A query, why this new and innovative programming language called Vala?
Hi,
Can you provide the genie source files you are trying to compile
thanks
jamie
On Wed, 2009-04-08 at 11:34 +1000, GALLOWAY Stuart J (SVHM) wrote:
Hi,
The problem:
I am converting a list managing program from pyGtk to Genie.
I want to clear and reconstruct columns
Why?
Whilst it has some interesting ideas, its a mere prototype and is by and
large irrelevant to gnome as it stands (and thats true of gnome-shell as
well - they are both purely experimental)
If the ideas prove worthy it will be rewritten in a non-vm language and
will likely use tracker which
Hi,
I did one too a while back - see attached
Feel free to update yours with anything thats missing
i guess it needs to be submitted to GtkSourceview miantainers
jamie
On Sat, 2009-03-21 at 01:06 +0100, gege2061 wrote:
Hi,
I have written a .lang file for GtkSourceView.
Could you
On Sat, 2009-03-21 at 00:27 +0100, Nicolas Joseph wrote:
Hello,
Attention, the function feof (in C) should not be used to check the
end of a file: http://c-faq.com/stdio/feof.html
The correct code:
[indent=2]
init
var f = FileStream.open(./main.gs,r)
var a = new array of
looks good
thanks very much
jamie
On Sat, 2009-03-21 at 03:09 +0100, gege2061 wrote:
Thank's.
I have submitted to GtkSourceView maintainers:
http://bugzilla.gnome.org/show_bug.cgi?id=576141
2009/3/21 Jamie McCracken jamie.mccr...@googlemail.com
Hi,
I did one
On Mon, 2008-12-15 at 09:18 -0800, Conrad Steenberg wrote:
On Sat, 2008-12-13 at 13:00 -0500, Jamie McCracken wrote:
The disadvantage to inlining is it destroys the platform independence -
IE you would not be able to create a gcc front end for vala nor would
you be able to have vala-c
On Sat, 2008-12-13 at 17:46 +, Karl Lattimer wrote:
On Sat, 2008-12-13 at 23:44 +0600, Ildar Mulyukov wrote:
Hi,
Take a look:
int main (void) {
int Cvariable;
__asm__ (movl Cvariable, %eax); // Cvariable
contents eax
__asm__
Attached patch allows in operator to be used with collections and
maps
EG if (x in list)
jamie
Index: gobject/valaccodegenerator.vala
===
--- gobject/valaccodegenerator.vala (revision 1596)
+++ gobject/valaccodegenerator.vala
On Sun, 2008-06-15 at 11:10 +0200, Frederik wrote:
I have filed a bug report / feature request:
http://bugzilla.gnome.org/show_bug.cgi?id=538405
To make clear what you're currently doing I have slightly modified your
code. Your code works as long as you won't do any other operation
than
patch allows:
Var to be used in foreach
or
Existing local variable (in scope)
This patch is needed for genie although it may be useful for vala too...
jamie
Index: vala/valasemanticanalyzer.vala
===
---
On Sun, 2008-05-25 at 23:51 +0200, Jürg Billeter wrote:
On Sun, 2008-05-25 at 00:51 -0400, Jamie McCracken wrote:
Var to be used in foreach
We should certainly allow this, also in Vala. The logic in
ForeachStatement.accept_children is slightly broken as you're missing
55 matches
Mail list logo