summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Post-release version bumpJürg Billeter2009-02-202-1/+5
| | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * configure.ac: Post-release version bump svn path=/trunk/; revision=2472
* update for 0.5.7 releaseVALA_0_5_70.5.7Jürg Billeter2009-02-202-0/+15
| | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * NEWS: update for 0.5.7 release svn path=/trunk/; revision=2470
* Add FUSE bindings, patch by John Carr, fixes bug 571187Jürg Billeter2009-02-205-0/+303
| | | | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/Makefile.am: * vapi/fuse.deps: * vapi/fuse.vapi: * vapi/posix.vapi: Add FUSE bindings, patch by John Carr, fixes bug 571187 svn path=/trunk/; revision=2469
* Add g_io_add_watch_full binding, patch by Michael LauerJürg Billeter2009-02-202-0/+8
| | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/glib-2.0.vapi: Add g_io_add_watch_full binding, patch by Michael Lauer svn path=/trunk/; revision=2468
* Complete GByteArray binding, patch by Michael LauerJürg Billeter2009-02-202-0/+9
| | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/glib-2.0.vapi: Complete GByteArray binding, patch by Michael Lauer svn path=/trunk/; revision=2467
* vapi/gio-2.0.vapi vapi/gio-unix-2.0.vapi vapi/packages/gio-2.0/gio-2.0.giRyan Lortie2009-02-205-56/+1301
| | | | | | | | | | | | | | 2009-02-20 Ryan Lortie <desrt@desrt.ca> * vapi/gio-2.0.vapi * vapi/gio-unix-2.0.vapi * vapi/packages/gio-2.0/gio-2.0.gi * vapi/packages/gio-unix-2.0/gio-unix-2.0.gi Generate gio GIDL on a machine with my gresolver glib branch installed. Regenerate vapi. Fixes bug 572474. svn path=/trunk/; revision=2466
* Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables intoRyan Lortie2009-02-203-0/+26
| | | | | | | | | | | | 2009-02-20 Ryan Lortie <desrt@desrt.ca> * configure.ac: * vala-1.0.pc.in: Output 'vapigen' 'gen_introspect' and 'vala_gen_introspect' variables into the vala-1.0.pc file if --enable-vapigen, fixes bug 572554 svn path=/trunk/; revision=2465
* Support error handling when dynamically calling void methods, patch byJürg Billeter2009-02-203-6/+10
| | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * gobject/valadbusclientmodule.vala: Support error handling when dynamically calling void methods, patch by Frederik Sdun, fixes bug 571258 svn path=/trunk/; revision=2464
* Include unistd.h to support compilation withJürg Billeter2009-02-203-0/+10
| | | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * gobject-introspection/scanner.c: Include unistd.h to support compilation with -Werror-implicit-function-declaration, patch by Tobias Müller, fixes bug 571544 svn path=/trunk/; revision=2463
* Add Scope.get_symbol_table method, patch by Abderrahim KitouniJürg Billeter2009-02-202-0/+10
| | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vala/valascope.vala: Add Scope.get_symbol_table method, patch by Abderrahim Kitouni svn path=/trunk/; revision=2462
* Support context-specific error reporting and add a context stack, based onJürg Billeter2009-02-208-36/+90
| | | | | | | | | | | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vala/valacodecontext.vala: * vala/valareport.vala: Support context-specific error reporting and add a context stack, based on patch by Abderrahim Kitouni, fixes bug 542920 * vala/valagenieparser.vala: * vala/valaparser.vala: * gobject/valaccodebasemodule.vala: * compiler/valacompiler.vala: * vapigen/valavapigen.vala: Adapt to interface changes svn path=/trunk/; revision=2461
* Add libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758Jürg Billeter2009-02-203-0/+133
| | | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/Makefile.am: * vapi/libdaemon.vapi: Add libdaemon bindings, patch by Jukka-Pekka Iivonen, fixes bug 568758 svn path=/trunk/; revision=2460
* Add GDateDMY binding, patch by Frederik, fixes bug 568691Jürg Billeter2009-02-202-0/+13
| | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/glib-2.0.vapi: Add GDateDMY binding, patch by Frederik, fixes bug 568691 svn path=/trunk/; revision=2459
* Fix gdk_event_handler_set bindingJürg Billeter2009-02-203-3/+14
| | | | | | | | | | | | 2009-02-20 Jürg Billeter <j@bitron.ch> * vapi/packages/gdk-2.0/: Fix gdk_event_handler_set binding * vapi/gdk-2.0.vapi: regenerated svn path=/trunk/; revision=2458
* Various ownership and missing type parameters fixesAli Sabil2009-02-194-39/+96
| | | | | | | | | | | | | | | 2009-02-19 Ali Sabil <ali.sabil@gmail.com> * vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala: * vapi/packages/gstreamer-0.10/gstreamer-0.10.metadata: Various ownership and missing type parameters fixes * vapi/gstreamer-0.10.vapi: regenerated svn path=/trunk/; revision=2457
* Support to_string attribute for enumsAli Sabil2009-02-192-0/+14
| | | | | | | | | | | | 2009-02-19 Ali Sabil <ali.sabil@gmail.com> * vapigen/valagidlparser.vala: Support to_string attribute for enums svn path=/trunk/; revision=2456
* Fix gst_rtp_buffer_get_extension_data bindingAli Sabil2009-02-193-1/+12
| | | | | | | | | | | | | | 2009-02-19 Ali Sabil <ali.sabil@gmail.com> * vapi/packages/gstreamer-rtp-0.10/: Fix gst_rtp_buffer_get_extension_data binding * vapi/gstreamer-rtp-0.10.vapi: regenerated svn path=/trunk/; revision=2455
* Add byte order conversion methods to int typesAli Sabil2009-02-192-0/+106
| | | | | | | | | | | | 2009-02-19 Ali Sabil <ali.sabil@gmail.com> * vapi/glib-2.0.vapi: Add byte order conversion methods to int types svn path=/trunk/; revision=2454
* Fix pango_font_description_from_string binding and support implicit copiesJürg Billeter2009-02-193-1/+14
| | | | | | | | | | | | | 2009-02-19 Jürg Billeter <j@bitron.ch> * vapi/packages/pango/: Fix pango_font_description_from_string binding and support implicit copies of PangoFontDescription * vapi/pango.vapi: regenerated svn path=/trunk/; revision=2453
* Remove ParenthesizedExpression to simmplify ASTJürg Billeter2009-02-1813-170/+28
| | | | | | | | | | | | | | | | | | | | | 2009-02-18 Jürg Billeter <j@bitron.ch> * vala/Makefile.am: * vala/valaassignment.vala: * vala/valacodevisitor.vala: * vala/valacodewriter.vala: * vala/valagenieparser.vala: * vala/valaparenthesizedexpression.vala: * vala/valaparser.vala: * vala/valasymbolresolver.vala: * vala/valaunaryexpression.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodemodule.vala: Remove ParenthesizedExpression to simmplify AST svn path=/trunk/; revision=2452
* Fix gtk_tree_view_insert_column_with_data_func bindingJürg Billeter2009-02-183-1/+12
| | | | | | | | | | | | 2009-02-18 Jürg Billeter <j@bitron.ch> * vapi/packages/gtk+-2.0/: Fix gtk_tree_view_insert_column_with_data_func binding * vapi/gtk+-2.0.vapi: regenerated svn path=/trunk/; revision=2451
* Support chaining up to constructors in generic classes, fixes bug 567319Jürg Billeter2009-02-172-0/+38
| | | | | | | | | | | 2009-02-17 Jürg Billeter <j@bitron.ch> * gobject/valaccodemethodcallmodule.vala: Support chaining up to constructors in generic classes, fixes bug 567319 svn path=/trunk/; revision=2450
* Support takes_ownership attribute for delegate parametersAli Sabil2009-02-172-1/+12
| | | | | | | | | | | | 2009-02-17 Ali Sabil <ali.sabil@gmail.com> * vapigen/valagidlparser.vala: Support takes_ownership attribute for delegate parameters svn path=/trunk/; revision=2449
* regeneratedAli Sabil2009-02-172-3/+7
| | | | | | | | | | 2009-02-17 Ali Sabil <ali.sabil@gmail.com> * vapi/gstreamer-rtp-0.10.vapi: regenerated svn path=/trunk/; revision=2448
* escape the dynamic keyword, and identifiers starting with a digitAli Sabil2009-02-172-2/+7
| | | | | | | | | | | 2009-02-17 Ali Sabil <ali.sabil@gmail.com> * vala/valacodewriter.vala: escape the dynamic keyword, and identifiers starting with a digit svn path=/trunk/; revision=2447
* Add support for a 'use_const' CCode attribute and GIDL XML attribute that,Ryan Lortie2009-02-167-4/+52
| | | | | | | | | | | | | | | | | | | | | | | 2009-02-17 Ryan Lortie <desrt@desrt.ca> * gobject/valaccodebasemodule.vala: * vala/valacodewriter.vala: * vala/valastruct.vala: * vapigen/valagidlparser.vala: Add support for a 'use_const' CCode attribute and GIDL XML attribute that, when set to false, causes Vala not to emit the 'const' modifier on structure type input arguments. This is useful for structure types that, by convention, are not used with const (eg: GtkTreeIter). * vapi/packages/gtk+-2.0/gtk+-2.0.metadata: * vapi/gtk+-2.0.vapi: Add 'use_const' for GtkTreeIter to the gtk+-2.0 metadata. Regenerate vapi. svn path=/trunk/; revision=2446
* only use g_value_set_pointer if the GType of a class is G_TYPE_POINTER;Ryan Lortie2009-02-162-2/+12
| | | | | | | | | | 2009-02-16 Ryan Lortie <desrt@desrt.ca> * vala/valaclass.vala: only use g_value_set_pointer if the GType of a class is G_TYPE_POINTER; else use g_value_set_boxed. svn path=/trunk/; revision=2445
* remove the dummy-object hack since gio now supports NULL source objectsRyan Lortie2009-02-162-5/+6
| | | | | | | | | | 2009-02-16 Ryan Lortie <desrt@desrt.ca> * gobject/valagasyncmodule.vala: remove the dummy-object hack since gio now supports NULL source objects for GSimpleAsyncResult svn path=/trunk/; revision=2444
* thanks juergbi :)Ryan Lortie2009-02-141-0/+1
| | | | svn path=/trunk/; revision=2443
* Split method code generation into many smaller functions. EnableRyan Lortie2009-02-142-112/+167
| | | | | | | | | | | | 2009-02-14 Ryan Lortie <desrt@desrt.ca> * gobject/valagasyncmodule.vala: Split method code generation into many smaller functions. Enable experimental generation of synchronous code. svn path=/trunk/; revision=2442
* Nullable fixes, patch by Mark Lee, fixes bug 571407Jürg Billeter2009-02-137-13/+31
| | | | | | | | | | | | | | | | | | 2009-02-14 Jürg Billeter <j@bitron.ch> * vapi/packages/gdk-2.0/: * vapi/packages/gtk+-2.0/: * vapi/packages/libsoup-2.4/: Nullable fixes, patch by Mark Lee, fixes bug 571407 * vapi/gdk-2.0.vapi: * vapi/gtk+-2.0.vapi: * vapi/libsoup-2.4.vapi: Regenerated svn path=/trunk/; revision=2441
* Add error domains to VAPI files, fixes bug 571692Jürg Billeter2009-02-132-1/+7
| | | | | | | | | | 2009-02-14 Jürg Billeter <j@bitron.ch> * vala/valacodewriter.vala: Add error domains to VAPI files, fixes bug 571692 svn path=/trunk/; revision=2440
* Emit 'default:' label with g_assert_not_reached() for async state switchRyan Lortie2009-02-132-3/+15
| | | | | | | | | | | | | 2009-02-13 Ryan Lortie <desrt@desrt.ca> * gobject/valamethodmodule.vala: Emit 'default:' label with g_assert_not_reached() for async state switch statement (to avoid GCC warning). Don't emit virtual functions or vtable entries for synchronous functions when emitting async code. svn path=/trunk/; revision=2439
* Bug 571484 – free owned result even if _finish isn't calledRyan Lortie2009-02-132-0/+19
| | | | | | | | | | | | | | 2009-02-13 Ryan Lortie <desrt@desrt.ca> Bug 571484 – free owned result even if _finish isn't called * gobject/valagasyncmodule.vala: Emit code to free the result in the result in the event that _finish was not called. svn path=/trunk/; revision=2438
* Warn when hiding members, support `new' keyword to suppress warning, basedJürg Billeter2009-02-1214-34/+86
| | | | | | | | | | | | | | | | | | | | | | | | | | 2009-02-12 Jürg Billeter <j@bitron.ch> * vala/valaclass.vala: * vala/valaconstant.vala: * vala/valafield.vala: * vala/valamember.vala: * vala/valamethod.vala: * vala/valaproperty.vala: * vala/valastruct.vala: Warn when hiding members, support `new' keyword to suppress warning, based on patch by Andreas Brauchli, fixes bug 567743 * vala/valacodenode.vala: * vala/valacreationmethod.vala: * vala/valaenum.vala: * vala/valaerrordomain.vala: * vala/valanamespace.vala: * ccode/valaccodelinedirective.vala: Avoid hidden members svn path=/trunk/; revision=2437
* Add base_struct property to Struct class, patch by Andreas BrauchliJürg Billeter2009-02-123-11/+30
| | | | | | | | | | | 2009-02-12 Jürg Billeter <j@bitron.ch> * vala/valastruct.vala: * vala/valasymbolresolver.vala: Add base_struct property to Struct class, patch by Andreas Brauchli svn path=/trunk/; revision=2436
* Support `new' as member modifier in parser to prepare support for hidingJürg Billeter2009-02-124-3/+52
| | | | | | | | | | | | 2009-02-12 Jürg Billeter <j@bitron.ch> * vala/valamember.vala: * vala/valaparser.vala: Support `new' as member modifier in parser to prepare support for hiding members, patch by Andreas Brauchli svn path=/trunk/; revision=2435
* For now, just forbid ref/out paramters on yielding functions since theyRyan Lortie2009-02-122-0/+19
| | | | | | | | | | | | 2009-02-12 Ryan Lortie <desrt@desrt.ca> * vala/valamethod.vala: For now, just forbid ref/out paramters on yielding functions since they are hard to deal with. svn path=/trunk/; revision=2434
* Fix else if parsing, fixes bug 562632Jürg Billeter2009-02-122-0/+13
| | | | | | | | | | 2009-02-12 Jürg Billeter <j@bitron.ch> * vala/valagenieparser.vala: Fix else if parsing, fixes bug 562632 svn path=/trunk/; revision=2433
* Store the Data structure as the op_res gpointer of the GSimpleAsyncResult.Ryan Lortie2009-02-122-0/+38
| | | | | | | | | | | | 2009-02-12 Ryan Lortie <desrt@desrt.ca> * gobject/valagasyncmodule.vala: Store the Data structure as the op_res gpointer of the GSimpleAsyncResult. Emit a function to free it and hook it in. svn path=/trunk/; revision=2432
* Keep arrays NULL-terminated when appendingJürg Billeter2009-02-122-1/+17
| | | | | | | | | | 2009-02-12 Jürg Billeter <j@bitron.ch> * gobject/valaccodearraymodule.vala: Keep arrays NULL-terminated when appending svn path=/trunk/; revision=2431
* Bug 571263 – make yielding functions dispatch results to mainloopRyan Lortie2009-02-113-40/+95
| | | | | | | | | | | | | | | | | 2009-02-11 Ryan Lortie <desrt@desrt.ca> Bug 571263 – make yielding functions dispatch results to mainloop * gobject/valaccodemethodmodule.vala: * valagasyncmodule.vala: Create simple async result from _async entry function and use it when doing return; throw; or at the end of the function. Fix return statements for the async case. Dispatch via idle handler in the case that we are returning without having yielded. svn path=/trunk/; revision=2430
* Bug 566363 – yielding functions that throw don't workRyan Lortie2009-02-113-32/+94
| | | | | | | | | | | | | | | | | | | 2009-02-11 Ryan Lortie <desrt@desrt.ca> Bug 566363 – yielding functions that throw don't work * gobject/valagerrormodule.vala: * gobject/valagasyncmodule.vala: Refactor GErrorModule to remove some common code and introduce a separate (virtual) function 'return_with_exception' to create the code for returning exceptions from functions. In GAsyncModule, override the new virtual function to call g_simple_async_report_gerror_in_idle(). svn path=/trunk/; revision=2429
* add some .gitignoreRyan Lortie2009-02-1111-0/+46
| | | | svn path=/trunk/; revision=2428
* Bug 571256 – [CCode (async_only = true)] formal parameter annotationRyan Lortie2009-02-114-0/+44
| | | | | | | | | | | | | | | | | 2009-02-11 Ryan Lortie <desrt@desrt.ca> Bug 571256 – [CCode (async_only = true)] formal parameter annotation * vala/valacodewriter.vala: * vala/valaformalparameter.vala: * gobject/valaccodemethodcallmodule.vala: Allow emitting some C code arguments only in the case that we are calling the asynchronous version of a yielding function. This helps with the io_priority oddity in GIO. svn path=/trunk/; revision=2427
* Recognize c:type attributes in .girJürg Billeter2009-02-115-1/+45
| | | | | | | | | | | | | 2009-02-11 Jürg Billeter <j@bitron.ch> * vala/valaenum.vala: * vala/valainterface.vala: * vala/valastruct.vala: * vapigen/valagirparser.vala: Recognize c:type attributes in .gir svn path=/trunk/; revision=2426
* Bug 571169 – make floating references genericRyan Lortie2009-02-108-11/+78
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-10 Ryan Lortie <desrt@desrt.ca> Bug 571169 – make floating references generic * gobject/valaccodebasemodule.vala: * vala/valainterface.vala: * vala/valaclass.vala: * vala/valaobjectcreationexpression.vala: * vala/valasemanticanalyzer.vala: * vala/valatypesymbol.vala: Add support for 'ref_sink_function' CCode attribute on classes. Use this instead of hardcoding g_object_ref_sink() for GInitiallyUnowned. * vapi/gobject-2.0.vapi: Set ref_sink_function on InitiallyUnowned class. svn path=/trunk/; revision=2425
* Emit delegate documentation to the C header filesJürg Billeter2009-02-092-0/+12
| | | | | | | | | | 2009-02-09 Jürg Billeter <j@bitron.ch> * gobject/valaccodedelegatemodule.vala: Emit delegate documentation to the C header files svn path=/trunk/; revision=2424
* Drop experimental support for partial classesJürg Billeter2009-02-082-24/+8
| | | | | | | | | | 2009-02-08 Jürg Billeter <j@bitron.ch> * vala/valanamespace.vala: Drop experimental support for partial classes svn path=/trunk/; revision=2423
* Add bindings for signal functions and constants, patch by Michael LauerJürg Billeter2009-02-042-0/+73
| | | | | | | | | | | 2009-02-04 Jürg Billeter <j@bitron.ch> * vapi/posix.vapi: Add bindings for signal functions and constants, patch by Michael Lauer svn path=/trunk/; revision=2422