I've reached a milestone on libgda-vala branch. a) An usable GObject used as a persisten DataBase object. Actually it takes a table and condition to search a row; you can modify, update and save. Is intended as base class for others.
b) I've created a GObject that takes a GdaDataModel and allows to iterate using foreach instructions in Vala. Iterates per value and you can now the row and column this value come from. Its a concept, but you can filter and chop (a range of values) using Gee constructions and Vala. The branch creates a new library called libgdadata, builds GObject Introspection and VAPI bindings. Have Unit Tests. Could any give some feedback around this objects and may be some ideas or feature requests? I can create a GdaDataSelect derived object, written in pure Vala as an extension in order to make Vala programming a piece of cake. Even GDA can get advantage of Vala future for GObject based libraries, because much less code to write. Just an idea. I plan to add more features in libgdadata library as far as I can. All Autotools infrastructure is in place, then could be very easy to add new objects and test them. For now Vala is a soft dependency and libgdadata is built using --enable-vala-extensions=yes switch. I you agree, I can merge this branch as soon as approved. -- Trabajar, la mejor arma para tu superación "de grano en grano, se hace la arena" (R) (en trámite, pero para los cuates: LIBRE) _______________________________________________ gnome-db-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/gnome-db-list
