Re: [Vala] RELEASE: Vala 0.16.0 + GTK 3.4.2 for Win32

2012-09-18 Thread David Gomes
Thanks a lot, any luck on 0.17? Is OpenGL and SDL also shipping, or are those removed from Windows version? On Tue, Sep 18, 2012 at 1:58 PM, Alexandr Alexeev afis...@gmail.com wrote: Great news! Thank you. 2012/9/18 tarn...@tarnyko.net: Hello people, In the same mood as my former

[Vala] Emacs Mode and lambda indentation

2012-09-16 Thread David Gomes
I don't know how to write Emacs modes, and vala-mode seems to have a problem: cubes.foreach (() = { }); It doesn't indent those well. Basically, instead of indenting with 4 spaces (like it does on if's, for's and other stuff), vala-mode indents with 8 spaces on the content** and with 4

[Vala] SDL TTF Bindings can't find font

2012-09-15 Thread David Gomes
State.vala PlayState.vala It compiles with 0 warnings and 0 errors too by the way. -- David Gomes ___ vala-list mailing list vala-list@gnome.org https://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] SDL TTF Bindings can't find font

2012-09-15 Thread David Gomes
Oh, I forgot, thank you tons, that was it! On 9/15/12, tarn...@tarnyko.net tarn...@tarnyko.net wrote: Hi David, Do you have the following line at the beginning of your method : SDLTTF.init (); Regards, Tarnyko David Gomes writes: Hello there, first of all here's the relevant part

[Vala] Keyboard input, e.keyval and accel_groups

2012-09-13 Thread David Gomes
Hello there, I'm working on Pantheon Terminal (lp:pantheon-terminal), and I'm running into a rather odd Vala issue. I want to implement Ctrl-+ and Ctrl-- for zooming in and out of the terminal. this.key_press_event.connect ((e) = { switch (e.keyval) {

Re: [Vala] GTK+ Tutorial

2012-08-29 Thread David Gomes
Regarding the coding convetions, it is my understanding that in Vala you should put a space before parenthesis. Check https://live.gnome.org/Vala/Hacking#Coding_Stylhttps://live.gnome.org/Vala/Hacking#Coding_Style e https://live.gnome.org/Vala/Hacking#Coding_Style Either way, this is a great

Re: [Vala] Emacs vala-mode

2012-08-23 Thread David Gomes
preference. Stefan On Thu, Aug 23, 2012 at 08:05:56PM +0100, David Gomes wrote: (setq indent-tabs-mode nil) will *not* work on default vala-mode. Vala-mode *forces* tabs. On Thu, Aug 23, 2012 at 8:04 PM, Evan Nemerson e...@coeus-group.com wrote: On Thu, 2012-08-23 at 19:19 +0100

[Vala] Uint32 Color

2012-08-01 Thread David Gomes
http://valadoc.org/#!api=sdl-gfx/SDLGraphics.Rectangle.fill_color Regarding that function, how can I have an Uint32 act as a color? I tried 0xFF but no luck. Thank you. -- David Gomes ___ vala-list mailing list vala-list@gnome.org https

[Vala] Vala Version

2012-04-06 Thread David Gomes
https://bbs.archlinux.org/viewtopic.php?pid=1083441 If anybody can give that a look... I built vala-devel from source, but valac --version doesn't work, so building tools like Make don't detect Vala version. Thank you. -- David Gomes ___ vala-list

Re: [Vala] Vala Version

2012-04-06 Thread David Gomes
Espinosa eso...@gmail.com wrote: There's a bug in vala when you build from source, at least in 0.15.2 and above, because it declares a wrong version. See at https://bugzilla.gnome.org/show_bug.cgi?id=671097 El abr 6, 2012 6:52 a.m., David Gomes davidrafago...@gmail.com escribió: https

Re: [Vala] Vala Version

2012-04-06 Thread David Gomes
Thanks, but how would I do go about doing it? 2012/4/6 Łukasz Pankowski lukp...@o2.pl David Gomes davidrafago...@gmail.com writes: I'm not sure if it's related, because I don't get a wrong version, I get this: david@davidarch:~$ valac --version valac: error while loading shared

[Vala] Posix Bindings

2012-04-04 Thread David Gomes
? Thank you. -- David Gomes ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

Re: [Vala] Posix Bindings

2012-04-04 Thread David Gomes
/posix-regex.vapi, but that is posix-regex. My application uses the Posix namespace, and I can't find .vapi's for it, or the source code so that I can build it and install it. Any idea? Thank you. -- David Gomes ___ vala-list mailing list vala

Re: [Vala] Set a RGBA colourmap on Gtk.Window

2012-01-19 Thread David Gomes
can see underneath windows. What am I doing wrong? Thanks. On Thu, Jan 19, 2012 at 3:03 PM, Abderrahim Kitouni a.kito...@gmail.comwrote: في ر، 18-01-2012 عند 16:55 + ، كتب David Gomes: Hey, I read the following on Valadoc here: http://valadoc.org/vte-2.90

Re: [Vala] Vala logo

2012-01-02 Thread David Gomes
___ vala-list mailing list vala-list@gnome.org javascript:; http://mail.gnome.org/mailman/listinfo/vala-list -- David Gomes ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Vala IRC Bot

2011-12-31 Thread David Gomes
Does anybody know about a simple Vala IRC bot? (I found https://github.com/cmende/foobot-vala, but I think it has too much stuff I don't need, and seems way too more complex than it should be), so I'd like something simple, perhaps with a single class. Thanks! -- David Gomes

[Vala] Vala 0.16

2011-12-31 Thread David Gomes
suggest? Thanks. -- David Gomes ___ vala-list mailing list vala-list@gnome.org http://mail.gnome.org/mailman/listinfo/vala-list

[Vala] Vala on Windows/Mac OS

2011-12-17 Thread David Gomes
I would like to know the status of Vala in other operating systems (besides Linux). How well does it work? What about its bindings (Gtk, for example)? Thanks. I'm writing an article on Vala for a magazine, and I need to know if I can reference its cross-platformness as a plus.

[Vala] Changing cursor position in a buffer

2011-12-04 Thread David Gomes
Since cursor_position is a read-only property of a Gtk.TextBuffer, is there a way to change the cursor position? If this isn't possible, is there a way to remove all the selections in a text buffer, and maintaining the cursor position, so that I don't have to change it after. Thanks. -- David

[Vala] Apply a RegEx in Vala

2011-12-02 Thread David Gomes
, my_string.length, 0, ); print (%s\n, my_string); This snippet should remove all spaces and spaces and symbols. However, it doesn't seem to be working. Any ideas? Thanks in advance. -- David Gomes ___ vala-list mailing list vala-list@gnome.org http

[Vala] How to know if a key is being pressedf

2011-11-12 Thread David Gomes
Is there a way of knowing if a key is being pressed without a whole override function (event) for it? Currently, I need to know if any of the Control Keys (CONTROL_R, or CONTROL_L) and would like to do it in another function. Is there a way I can do it? Thanks -- David Gomes