Re: [Vala] regex to get some multiline text
https://live.gnome.org/Vala/User:Decora/string.split%20and%20string.join Would you use string.split? slice index notation [-1] is like a bit strange... (ex: footer[-1] int main () { string the_string = start text line 1 start text line 2 %tag:keytag% the content betwen tag line1 %endtag% the end line 1 the end line 2 ; Regex r = /\s*(?Pstart.*)\s*%(?Pkey.*)%\s*(?Pcontent.*)\s*%(?Pekey.*)%\s*(?Pend.*)/; MatchInfo info; if(r.match(the_string, 0, out info)) { var s = info.fetch_named(start); var key = info.fetch_named(key); var cont = info.fetch_named(content); var ekey = info.fetch_named(ekey); var e = info.fetch_named(end); print(%s\n,s); // start text line 2 print(%s\n,key); // tag:keytag print(%s\n,cont); // the content betwen tag line1 print(%s\n,ekey); // endtag print(%s\n,e); // the end line 1 var header = the_string.split(%+key+%); var footer = the_string.split(%+ekey+%); //foreach (var ss in header) print (%s ,ss); //foreach (var ss in footer) print (%s ,ss); print(%s\n,header[0]); print(%s\n,footer[1]); } return 0; } ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] How to make shared library in win32?
Sorry for late response. $ valac --pkg config --pkg gtk+-2.0 --pkg gee-1.0 --pkg libxml-2.0 --vapidir=../vapi/ *.vala --disable-warnings --library dvw-0.1 -X -shared -o test_shared.dll It's works, No problem. [Output files: dvw-0.1.vapi and test_shared.dll.] Thanks. 2011/9/2, Tal Hadad tal...@hotmail.com: valac --pkg config --pkg gtk+-2.0 --pkg gee-1.0 --pkg libxml-2.0 --vapidir=../vapi/ *.vala --disable-warnings --library dvw-0.1 -X -fPIC -X -shared -o test_shared.dll All this in one line. You must pass this two arguments to CC(C Compiler), which each one comes after the -X. See the first link you gave here for them. It ends with -o test_shared.dll which tell the output name. As far as I know, this is the only argument in Vala which passed to the CC without the -X. Same relationship between CC and linker. Date: Thu, 1 Sep 2011 12:16:09 +0900 From: hoisa...@gmail.com To: vala-list@gnome.org Subject: [Vala] How to make shared library in win32? I try to build libdvw shared library. But following error occur. https://live.gnome.org/Vala/SharedLibSample http://gitorious.org/libdvw/libdvw toddw@TODDW-PC /C/msys/home/toddw/libdvw/dvw (master) $ c:/msys/home/toddw/libdvw/dvw/util.vala.c: In function `_vala_dvw_point_get_property': c:/msys/home/toddw/libdvw/dvw/util.vala.c:586: warning: passing arg 2 of `g_valu e_set_pointer' discards qualifiers from pointer target type c:/msys/home/toddw/libdvw/dvw/util.vala.c:589: warning: passing arg 2 of `g_valu e_set_pointer' discards qualifiers from pointer target type c:/vala-0.12.0/lib/libmingw32.a(main.o):main.c:(.text+0xbd): undefined reference to `WinMain@16' collect2: ld returned 1 exit status error: cc exited with status 1 Compilation failed: 1 error(s), 0 warning(s) I try to use Carl's 13.1 valac environment too. But it's a same result. Thanks in advance for any suggetions. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] How to make shared library in win32?
I try to build libdvw shared library. But following error occur. https://live.gnome.org/Vala/SharedLibSample http://gitorious.org/libdvw/libdvw toddw@TODDW-PC /C/msys/home/toddw/libdvw/dvw (master) $ valac --pkg config --pkg gtk+-2.0 --pkg gee-1.0 --pkg libxml-2.0 --vapidir=../vapi/ *.vala --disable-warnings --library dvw-0.1 c:/msys/home/toddw/libdvw/dvw/util.vala.c: In function `_vala_dvw_point_get_property': c:/msys/home/toddw/libdvw/dvw/util.vala.c:586: warning: passing arg 2 of `g_valu e_set_pointer' discards qualifiers from pointer target type c:/msys/home/toddw/libdvw/dvw/util.vala.c:589: warning: passing arg 2 of `g_valu e_set_pointer' discards qualifiers from pointer target type c:/vala-0.12.0/lib/libmingw32.a(main.o):main.c:(.text+0xbd): undefined reference to `WinMain@16' collect2: ld returned 1 exit status error: cc exited with status 1 Compilation failed: 1 error(s), 0 warning(s) I try to use Carl's 13.1 valac environment too. But it's a same result. Thanks in advance for any suggetions. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Development on Windows
Hi. I try to check it. I reproduce this issue. http://live.gnome.org/Vala/HackingValaUsingMonoDevelop http://addins.monodevelop.com/ http://monoaddins.codeplex.com/releases/view/63940 http://geocities.yahoo.co.jp/gl/moto62kg/comment/20100916/1284936718 However, vala language support for monodevelop depends on autotools. https://gist.github.com/1109002 So, I'm now feeling not expect vala support in windows environments... 2011/7/27, Senol Balaban sch...@bluewin.ch: Sorry for this but does nobdy have the same issue like me? Senol Balaban schrieb im Newsbeitrag news:it6qmh$m3a$1...@dough.gmane.org... ... I installed Vala, MingW, gtk+ and successfully compiled an a few console(terminal) and GTK samples. Next I decided to use Monodevelop as IDE ... Until now I was n't able to compile any vala-project with MonoDevelop. It seems to be an error with valac, which has problems with whitespaces in the path. Is there a known solution for this? sincerely Balaban Senol ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] EOF problems
python's case : https://gist.github.com/f0ff2c3c66e6a5842e70 python return '' as EOF. but I don't know how to do well it with vala... Sorry that I can't be of a help. 2011/7/16, Luca Bruno lethalma...@gmail.com: On Fri, Jul 15, 2011 at 10:57:21PM +0200, Stefan Risberg wrote: I am trying to read a file char by char but I can't find where or how I can check if end of line (EOF) was found. I'm writing a simple parser for a project but I can't seem to find in the online api doc of gio or glib how to check for it. I saw that I can do it using posix, but I would rather use gio. Doesn't it throw an IOError on end of file? -- http://www.debian.org - The Universal Operating System ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Proposal for a an alias (a symbol) for the keyword unowned
http://stackoverflow.com/questions/1814922/what-does-this-mean-in-pascal 1. more implicit access : C's - http://live.gnome.org/action/diff/Vala/Tutorial?action=diffrev1=214rev2=215#line-1652 2. more explicit argument passing go usage case: https://bitbucket.org/rj/golang-javascriptcore/src/46d4ce32dcaf/native_test.go vala usage case: https://github.com/crystalnix/vala-v8/blob/master/vala-api/importer.vala C case: char *s[5]; go case: args []*Value vala case: unowned string namespace Pascal case: var s: array[0..4] of pointer; 3. parser tend to like easy parsing syntax Personally think that 'unowned' is easy searching and unambiguous word. But, I often mistype 'unowned' to 'unowend'... so +1. 2011/6/22, Serge Hulne serge.hu...@gmail.com: Since it appears that: string a = hello; unowned string b = a; and string a = hello; string *b = a; are not exactly the same. I would like to propose basically a symbolic alias for unowned, namely: string a = hello; string ^ b = a; // equivalent for: unowned string b = a; (^ is a symbol borrowed from the Pascal language) I think it increases readability and it is faster to type. Serge. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] HELP GLib.DateTime (TimeZone = 0) on Windows
http://docs.python.org/library/datetime.html#datetime.tzinfo https://gist.github.com/1018279 lack timezone conversion? AFAIK, UTC is world only one stuff... ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] Initialize struct error occure in dova-os.vapi.
I use git version both vala and dova-core. I try to build dova-core yesterday. os.tm() no default constructor? error occure. So I edit os/dova-os.vapi, append constructer to several internal struct. build passed, but test is stop. valac --profile=dova base.vala string.vala list.vala http://codepad.org/REnCNVEV Next question. result size: dova-core: 36 items totalling 722.4kb vala: 264 items totalling 12.8Mb Is it possible to port dova-core and valac onto jslinux? http://d.hatena.ne.jp/tokuhirom/20110519/1305779739 Note: jslinux has 4Mb size limitation. http://bolknote.ru/2011/05/18/~3216#02 Note: jslinux use tcc version 0.9.25 - Tiny C Compiler http://gist.github.com/909ea9f77edc3005326e http://people.mozilla.com/~tmielczarek/hax86.html http://cache.gyazo.com/56c630ac9cbd1ecfd3a9643b6ad11d27.png http://bellard.org/jslinux/faq.html Regards. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Remove line numbers from logging
hi. 1. make simple custom function. // https://bugzilla.gnome.org/show_bug.cgi?id=546043 class Test { static int blah(int test) throws GLib.Error { if (test 0) throw new GLib.Error(GLib.Quark.from_string(test), 0, test error); return 5; } static void something(int val) { log(value: %d.printf(val)); } //static void log(string s, string e) { stdout.printf(@$s $e); } static void log(string s) { stdout.printf(@$s\n); } static void main(string[] args) { log(aaa); try { something(blah(-1)); something(blah(1)); } catch(GLib.Error err) { log(error: %s.printf(err.message)); } } } 2. implement logger class. https://launchpad.net/plank i would be happy to be of any help to you. Ricardo Gladwell ricardo.gladwell@... writes: Hi Guys I'm writing some code that uses the GLib log, debug, message etc. static methods. Is there anyway to disable/remove the pre-pending of file name and line number to these outputs so that instead of: [vain] DefaultVainExecution.vala:18: Scanning for projects... I just print: [vain] Scanning for projects... TIA... ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] using __doc__ for partial sequential test?
10years ago, make doctest by tim peters. http://groups.google.com/group/comp.lang.python/msg/1c57cfb7b3772763?pli=1 doctest issue is following. http://stackoverflow.com/questions/5522334/python-does-unittest-have-something-that-doctest-hasnt http://stackoverflow.com/questions/5006698/what-is-the-equivalent-of-a-python-docstring-in-ruby http://blog.jdhardy.ca/2010/10/running-django-test-suite-on-ironpython.html So, after all, It's a style problem. Is there a vala style guide? http://code.google.com/p/soc/wiki/PythonStyleGuide http://live.gnome.org/Vala/Tutorial#Strings attempt test file. It's capable in vala? Thanks for any advise. struct Field { string name; string val; } //public void printArray (Field[,] a) { // i don't know how pass struct args... // int row = 0; // int c = 0; // do { // for (c = 0; c 3; c++) { // print(a[row,c].val); // } // row++; // print(\n); // } while (row 3); //} class test : GLib.Object { public static int main(string[] args) { var __doc__ = int row = 0; int c = 0; do { for (c = 0; c 3; c++) { print(result[row,c].val); // more useful if use in string template... } row++; print(\n); } while (row 3); 虫虫虫 虫虫虫 虫虫虫 ; int row = 0, cols = 5; int c = 0; Field[,] results = new Field[3,5]; //{}; do { for (c = 0; c cols; c++) { results[row,c] = Field() { name = test, val = 虫 }; print(results[row,c].val); } row++; print(\n); } while (row 3); //printArray(results); return 0; } }___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] How to receive error message which vala's compiler output.
Sorry for sending next one more question to list. I try to receive error message which vala's compiler output. f=file(data.out, w) cmd = valac -v hello.vala p=subprocess.Popen(cmd, shell=True, stdout=f, stderr=subprocess.PIPE) errcode=p.wait() f.close() for line in file(data.out): ... print(line) ... Compilation failed: 1 error(s), 0 warning(s) --- valac -v return this oneline message. f=file(data.out, w) cmd = valac -q hello.vala p=subprocess.Popen(cmd, shell=True, stdout=f, stderr=subprocess.PIPE) errcode=p.wait() f.close() for line in file(data.out): ... print(line) --- valac -q no return message. However I can receive only an oneline message... Next, I try to redirect message to file. valac's case : [mymas@localhost Downloads]$ valac hello.vala redirect.out hello.vala:1.25-1.35: error: The type name `GLib.object' could not be found class Demo.HelloWorld : GLib.object { ^^^ [mymas@localhost Downloads]$ cat redirect.out Compilation failed: 1 error(s), 0 warning(s) --- valac return this oneline message. python's case : [mymas@localhost Downloads]$ python hello.vala redirect.out File hello.vala, line 1 class Demo.HelloWorld : GLib.object { ^ SyntaxError: invalid syntax [mymas@localhost Downloads]$ cat redirect.out --- umm...python no return message. As a result, is not work. Question. Is there way to receive that valac's full multiline error message? Regards. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] vala + gtk+-3.0 ?
vala : 0.10.7 os : fedora 15 I try to compile customwidget sample in gtk+-3.0. ( http://live.gnome.org/Vala/CustomWidgetSamples#Subclassing_Gtk.Widget ) but it cannot work. $ valac --pkg gtk+-3.0 widget.vala widget.vala:26.5-26.37: error: ValaWidget.size_request: no suitable method found to override public override void size_request (out Gtk.Requisition requisition) { ^ widget.vala:61.22-61.36: error: The name `WindowClass' does not exist in the context of `Gdk' wclass = Gdk.WindowClass.INPUT_OUTPUT, ^^^ widget.vala:61.13-61.49: error: Invalid type for member `wclass' wclass = Gdk.WindowClass.INPUT_OUTPUT, ^ widget.vala:64.9-64.19: error: The name `window' does not exist in the context of `ValaWidget' this.window = new Gdk.Window (get_parent_window (), attrs, 0); ^^^ widget.vala:65.9-65.19: error: The name `window' does not exist in the context of `ValaWidget' this.window.move_resize (this.allocation.x, this.allocation.y, ^^^ widget.vala:70.9-70.19: error: The name `window' does not exist in the context of `ValaWidget' this.window.set_user_data (this); ^^^ widget.vala:74.41-74.51: error: The name `window' does not exist in the context of `ValaWidget' this.style = this.style.attach (this.window); ^^^ widget.vala:78.36-78.46: error: The name `window' does not exist in the context of `ValaWidget' this.style.set_background (this.window, Gtk.StateType.NORMAL); ^^^ widget.vala:81.9-81.17: error: The name `set_flags' does not exist in the context of `ValaWidget.realize' set_flags (WidgetFlags.REALIZED); ^ widget.vala:92.36-92.46: error: The name `window' does not exist in the context of `ValaWidget' var cr = Gdk.cairo_create (this.window); ^^^ widget.vala:95.55-95.64: error: The name `state' does not exist in the context of `ValaWidget' Gdk.cairo_set_source_color (cr, this.style.fg[this.state]); ^^ widget.vala:97.23-97.37: error: The name `allocation' does not exist in the context of `ValaWidget' this.allocation.width - 2 * BORDER_WIDTH, ^^^ widget.vala:98.23-98.37: error: The name `allocation' does not exist in the context of `ValaWidget' this.allocation.height - 2 * BORDER_WIDTH); ^^^ widget.vala:106.22-106.36: error: The name `allocation' does not exist in the context of `ValaWidget' cr.move_to ((this.allocation.width - fontw) / 2, ^^^ widget.vala:107.22-107.36: error: The name `allocation' does not exist in the context of `ValaWidget' (this.allocation.height - fonth) / 2); ^^^ widget.vala:90.5-90.37: error: ValaWidget.expose_event: no suitable method found to override public override bool expose_event (Gdk.EventExpose event) { ^ Compilation failed: 16 error(s), 0 warning(s) Is there vala's tutorial page for gtk+-3.0? And is this bug in gtk+-3.0.vapi binding? Thank you in advance for any help. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] vala regex question.
// hello.cs using System; using System.Text.RegularExpressions; class HelloWorld { public static void Main() { System.IO.StreamReader sr = new System.IO.StreamReader(@/opt/the-board/share/vala-0.12/vapi/cairo.vapi); string gscode = sr.ReadToEnd(); sr.Close(); Console.WriteLine(gscode); Regex r = new Regex(@\{.*?\}, RegexOptions.Singleline); System.Text.RegularExpressions.MatchCollection mc = r.Matches(gscode); foreach (System.Text.RegularExpressions.Match m in mc) { Console.WriteLine(m.Value); } } } I think that python's dir method is usable. so $vapidir cairo-1.0/Matrix = show matrix detail : pick up from dictionary {..., Matrix: matrix_struct_difinition, ... } maybe usable too...but I don't know vala's multi-line regex matching. Above code is csharp case. Is enable that vala's case? Thanks in advance for any help. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] Do you think that re-use web-based library in client side framework?
I try to use python library in genie, (I choose simply process kick aproach...) and so I face two problem. 1. equivarent code in genie that os.poppen(python output_token_value.py) 2. definition style infomation in genie (from pygments.styles.colorful import ColorfulStyle part) I'd like to port following code to genie. http://snipplr.com/view/40019/pygments-in-pygtk/ Thanks for any advice. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] How I do dump elements in global namespace?
umm... i see. I maybe find minor bug about namespace. I files it as 625996. Thanks. 2010/8/3, Phil Housley undeconstruc...@gmail.com: On 3 August 2010 14:26, san hoi hoisa...@gmail.com wrote: Hi. When I read vala-tutorial, I find fellowing sentense. http://live.gnome.org/Vala/Tutorial#Namespaces If you have to reference the global namespace explicitly due to ambiguity you can do that with the global:: prefix. I often use globals() in python. How I can enumerate its in vala? Unlike dynamic languages, Vala doesn't have general support for introspection. When the program is running, there is no registry of names, so it isn't possible to enumerate an arbitrary namespace. On the other hand, it isn't possible to put things into the global namespace without some sort of declaration in the source, so you can work out the globals from looking at the source. -- Phil Housley ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] How I do dump elements in global namespace?
Hi. When I read vala-tutorial, I find fellowing sentense. http://live.gnome.org/Vala/Tutorial#Namespaces If you have to reference the global namespace explicitly due to ambiguity you can do that with the global:: prefix. I often use globals() in python. How I can enumerate its in vala? Thanks. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] How to make brownian tree in vala?
http://rosettacode.org/wiki/Brownian_tree I look for graphic library like javascript+canvas. fellow euclid.py and pytweener.py based library. http://wiki.github.com/tbaugis/hamster_experiments/tutorial I think that it's good approach. And though I also think that difficult way in my vala's knowledge... How to make brownian tree in vala? thanks for any advise. ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] tuple in list manipulation question
1. string = string[] = List(Tuple(a1,b1), ...) = Dict(a1: b1, ...) items 2. string = string[] = List(Tuple(a1,b1,c1), ...) = double loop I would like to do well in first case. Is there a better way to do this? Regards. [1] http://codepad.org/md9P4cTf [2] http://codepad.org/bHUR2Dgg ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Gee.ReadOnlyMap could not be found?
Thanks! Use Gee.Map as type and use my_map.read_only_view to retrieve the read-only view for my_map. umm...but I don't know how to use it. Is there a sample code? 2009/12/23, Didier 'Ptitjes' ptit...@free.fr: Didier 'Ptitjes' wrote: Hi, [Cross-posting on gee-l...@gnome.org] san hoi wrote: wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap' could not be found public Gee.ReadOnlyMapstring,Wiz.File streams { [...] umm... Gee.HashMap is ok, but Gee.ReadOnlyMap is error. ReadOnlyMap is deprecated? Yeah ReadOnlyMap does not exist anymore. Use Gee.Map as type and use my_map.read_only_view to retrieve the read-only view for my_map. See http://live.gnome.org/Libgee/NewAndNoteworthy-0.5 and http://live.gnome.org/Libgee/Migration-0.5 Also the API docs might be of interest for you (valadoc.org has not been updated yet) http://www.gnome.org/~dvillevalois/libgee/doc/gee-1.0/index.htm ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
Re: [Vala] Gee.ReadOnlyMap could not be found?
public Gee.Mapstring,Wiz.File streams { get { return _streams.read_only_view; } ok. sorry, I'm not familiar with c# property. but now, i see it, so it's no problem. thanks. 2009/12/24, Didier 'Ptitjes' ptit...@free.fr: san hoi wrote: Thanks! Use Gee.Map as type and use my_map.read_only_view to retrieve the read-only view for my_map. umm...but I don't know how to use it. Is there a sample code? Is there something unclear in the three documents I linked ? Or did you find it easier to ask than to read them ? read_only_view is a property on the Map interface : http://www.gnome.org/~dvillevalois/libgee/doc/gee-1.0/Gee.Map.read_only_view.html Or do you mean that you need sample code to use a property ? Anyway... public Gee.Mapstring,Wiz.File streams { get { return _streams.read_only_view; } } 2009/12/23, Didier 'Ptitjes' ptit...@free.fr: Didier 'Ptitjes' wrote: Hi, [Cross-posting on gee-l...@gnome.org] san hoi wrote: wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap' could not be found public Gee.ReadOnlyMapstring,Wiz.File streams { [...] umm... Gee.HashMap is ok, but Gee.ReadOnlyMap is error. ReadOnlyMap is deprecated? Yeah ReadOnlyMap does not exist anymore. Use Gee.Map as type and use my_map.read_only_view to retrieve the read-only view for my_map. See http://live.gnome.org/Libgee/NewAndNoteworthy-0.5 and http://live.gnome.org/Libgee/Migration-0.5 Also the API docs might be of interest for you (valadoc.org has not been updated yet) http://www.gnome.org/~dvillevalois/libgee/doc/gee-1.0/index.htm ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] Gee.ReadOnlyMap could not be found?
Hi, I try to build wizbit tar.gz snapshot. (http://git.codethink.co.uk/?p=wizbit;a=summary) my emvironment: vala 0.7.9 (official tar.bz2) libgee-0.5 (git clone git://git.gnome.org/libgee) [my...@localhost wizbit]$ make make all-recursive make[1]: Entering directory `/home/mymas/wizbit' Making all in wizbit make[2]: Entering directory `/home/mymas/wizbit/wizbit' /usr/bin/valac -C --basedir .. --pkg posix --pkg glib-2.0 --pkg gio-2.0 --pkg gio-unix-2.0 --pkg sqlite3 --pkg gee-1.0 --library wizbit config.vapi blob_store.vala commit.vala commit_builder.vala commit_store.vala store.vala bit.vala file.vala uuid.vapi utils.vala breadthfirst.vala iterator.vala sync.vala wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap' could not be found public Gee.ReadOnlyMapstring,Wiz.File streams { wizbit/commit.vala:63.10-63.41: error: The type name `Gee.ReadOnlyMap' could not be found public Gee.ReadOnlyMapstring,Wiz.File streams { Compilation failed: 2 error(s), 0 warning(s) make[2]: *** [libwizbit.vala.stamp] Error 1 make[2]: Leaving directory `/home/mymas/wizbit/wizbit' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/mymas/wizbit' make: *** [all] Error 2 umm... Gee.HashMap is ok, but Gee.ReadOnlyMap is error. ReadOnlyMap is deprecated? ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list
[Vala] yajl vala binding?
hi! I'm search yajl binding. but i cannot find vala's binding... umm, Who do you wrap yajl api in vapi files? i'm cannot making vapi. i need that vapi = c api tutorials... http://www.ibm.com/developerworks/linux/library/l-wrap/ http://lloyd.github.com/yajl/yajl-1.0.5/files.html thank. ___ Vala-list mailing list Vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list