Re: [Vala] Get file name of function

2012-07-06 Thread Rodrigo Cares
Thanks

El vie, 06-07-2012 a las 12:23 +0200, Luca Bruno escribió:
> On Fri, Jul 6, 2012 at 1:20 AM, Rodrigo Cares 
> wrote:
> Hi to all, howto can get the actual file name and line in a
> file, just
> like the info presented by GLib.warning function
> ("main.vala:14").
> 
> Hi,
> http://valadoc.org/#!api=glib-2.0/GLib.Log.FILE
> http://valadoc.org/#!api=glib-2.0/GLib.Log.LINE
> 
> 
> -- 
> www.debian.org - The Universal Operating System

___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Get file name of function

2012-07-05 Thread Rodrigo Cares
Hi to all, howto can get the actual file name and line in a file, just
like the info presented by GLib.warning function ("main.vala:14").

** (process:30234): WARNING **: main.vala:14: error message




___
vala-list mailing list
vala-list@gnome.org
https://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] Apply a RegEx in Vala

2011-12-02 Thread Rodrigo Cares
Hi, 
You need save the result of replace function:

void main() {
var my_regex = new Regex ("[^a-zA-Z0-9]");
string my_string = "Hello World()///";
string res = my_regex.replace (my_string, my_string.length, 0,
"");
print ("%s\n", res);
}
El vie, 02-12-2011 a las 19:00 +, David Gomes escribió:
> var my_regex = new Regex ("[^a-zA-Z0-9]");
> string my_string = "Hello World()///";
> my_regex.replace (my_string, my_string.length, 0, "");
> print ("%s\n", my_string); 
-- 
Rodrigo Cares 

___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] [ANNOUNCE] Vala 0.8.1 - Compiler for the GObject type system

2010-04-21 Thread Rodrigo Cares
Congratulations

2010/4/21 Jürg Billeter 

> We are pleased to announce version 0.8.1 of Vala, a compiler for the
> GObject type system.
>
> Vala 0.8.1 is now available for download at:
>   http://download.gnome.org/sources/vala/0.8/
>
> Changes since 0.8.0
>  * Support constants in enums.
>  * Add clutter-gst-1.0 bindings (Ali Sabil).
>  * Add gdu and gdu-gtk bindings.
>  * Many bug fixes and binding updates.
>
> Vala is a new programming language that aims to bring modern programming
> language features to GNOME developers without imposing any additional
> runtime requirements and without using a different ABI compared to
> applications and libraries written in C.
>
> valac, the Vala compiler, is a self-hosting compiler that translates
> Vala source code into C source and header files. It uses the GObject
> type system to create classes and interfaces declared in the Vala source
> code.
>
> The syntax of Vala is similar to C#, modified to better fit the GObject
> type system. Vala supports modern language features as the following:
>
>* Interfaces
>* Properties
>* Signals
>* Foreach
>* Lambda expressions
>* Type inference for local variables
>* Generics
>* Non-null types
>* Assisted memory management
>* Exception handling
>
> Vala is designed to allow access to existing C libraries, especially
> GObject-based libraries, without the need for runtime bindings. All that
> is needed to use a library with Vala is an API file, containing the class
> and method declarations in Vala syntax. Vala currently comes with
> bindings for GLib and GTK+. It's planned to provide generated bindings for
> the full GNOME Platform at a later stage.
>
> Using classes and methods written in Vala from an application written in
> C is not difficult. The Vala library only has to install the generated
> header files and C applications may then access the GObject-based API of
> the Vala library as usual. It should also be easily possible to write a
> bindings generator for access to Vala libraries from applications
> written in e.g. C# as the Vala parser is written as a library, so that
> all compile-time information is available when generating a binding.
>
> More information about Vala is available at
>
>http://live.gnome.org/Vala
>
>
> Jürg Billeter
>
> ___
> vala-list mailing list
> vala-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/vala-list
>



-- 
Rodrigo Esteban Cares Guarda
Alumno Ingeniería Civil Informática
Universidad Austral de Chile
2º GUP Taekwondo WTF
☎ (09) 98364117
___
vala-list mailing list
vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


Re: [Vala] [ANNOUNCE] Vala 0.7.10 - Compiler for the GObject type system

2010-02-04 Thread Rodrigo Cares
Great, congratulations.

2010/2/4 Jürg Billeter 

> We are pleased to announce version 0.7.10 of Vala, a compiler for the
> GObject type system.
>
> Vala 0.7.10 is now available for download at:
>   http://download.gnome.org/sources/vala/0.7/
>
> Changes since 0.7.9
>  * Support coalescing operator ??.
>  * Support to_string and bitwise complement with enums.
>  * Return handler id when connecting signal handlers.
>  * Support struct comparison.
>  * Support constructor chaining in structs.
>  * Enforce protected member restrictions.
>  * Improve performance of flow analysis.
>  * Support automatic line continuations in Genie.
>  * Improvements to the .gir reader and writer.
>  * Add --enable-mem-profiler commandline option.
>  * Many bug fixes and binding updates.
>
> Vala is a new programming language that aims to bring modern programming
> language features to GNOME developers without imposing any additional
> runtime requirements and without using a different ABI compared to
> applications and libraries written in C.
>
> valac, the Vala compiler, is a self-hosting compiler that translates
> Vala source code into C source and header files. It uses the GObject
> type system to create classes and interfaces declared in the Vala source
> code.
>
> The syntax of Vala is similar to C#, modified to better fit the GObject
> type system. Vala supports modern language features as the following:
>
>* Interfaces
>* Properties
>* Signals
>* Foreach
>* Lambda expressions
>* Type inference for local variables
>* Generics
>* Non-null types
>* Assisted memory management
>* Exception handling
>
> Vala is designed to allow access to existing C libraries, especially
> GObject-based libraries, without the need for runtime bindings. All that
> is needed to use a library with Vala is an API file, containing the class
> and method declarations in Vala syntax. Vala currently comes with
> bindings for GLib and GTK+. It's planned to provide generated bindings for
> the full GNOME Platform at a later stage.
>
> Using classes and methods written in Vala from an application written in
> C is not difficult. The Vala library only has to install the generated
> header files and C applications may then access the GObject-based API of
> the Vala library as usual. It should also be easily possible to write a
> bindings generator for access to Vala libraries from applications
> written in e.g. C# as the Vala parser is written as a library, so that
> all compile-time information is available when generating a binding.
>
> More information about Vala is available at
>
>http://live.gnome.org/Vala
>
>
> Jürg Billeter
>
> ___
> Vala-list mailing list
> Vala-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/vala-list
>



-- 
Rodrigo Esteban Cares Guarda
Alumno Ingeniería Civil Informática
Universidad Austral de Chile
2º GUP Taekwondo WTF
Fono: (09) 98364117
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Chequea mi perfil en Facebook

2008-05-23 Thread Rodrigo Cares

He creado un perfil en Facebook donde puedo publicar mis imágenes, vídeos y 
eventos, y quiero agregarte como amigo/a para que puedas verlo. Primero, 
necesitas registrarte en Facebook. Una vez registrado/a, puedes también crear 
tu propio perfil.

Gracias,
Rodrigo

Esta es la dirección:
http://www.facebook.com/p.php?i=1245511925&k=ZZGUP3WSSV3M5CCBWB4ZTU&r&v=2

___
este correo puede contener material promocional. si no deseas recivir futuros 
correo comerciales de facebook, por favor haz click sobre el vinculo debajo. 
oficiales de facebook estan localizado a 156 University Ave., Palo Alto, CA 
94301.
http://www.facebook.com/o.php?u=1172602651&k=f46aee

___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Gtk.IconTheme Example

2008-05-07 Thread Rodrigo Cares
Please can some people make an example of use of Gtk.IconTheme.
Thanks
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list


[Vala] Gtk.IconTheme

2008-05-07 Thread Rodrigo Cares
Please can some people make an example of use of Gtk.IconTheme.
Thanks
___
Vala-list mailing list
Vala-list@gnome.org
http://mail.gnome.org/mailman/listinfo/vala-list