Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | codegen: Let methods return -1 on error by default if possible | Rico Tzschichholz | 2018-07-05 | 1 | -2/+2 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/526 | ||||
* | codegen: Avoid silent casts if not needed | Rico Tzschichholz | 2017-12-14 | 1 | -2/+2 |
| | |||||
* | codegen: Factor out static getters for ccode-attributes | Rico Tzschichholz | 2017-11-19 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=788837 | ||||
* | codegen: Unref GLib.AsyncResult on uncaught errors in coroutines | Rico Tzschichholz | 2017-04-30 | 1 | -0/+4 |
| | | | | | | | Ignoring the warning of uncaught error in async methods resulted in leaking a reference to the scopes GLib.AsyncResult. https://bugzilla.gnome.org/show_bug.cgi?id=641171 | ||||
* | GirWriter: do not generate <errordomain> elements | Florian Brosch | 2014-09-02 | 1 | -1/+1 |
| | | | | | | | | | Invalid: <errordomain name="..." get-quark="..." codes="..."> <enumeration ...> Valid: <enumeration name="..." c:type=".." glib:error-domain="..."> | ||||
* | codegen: put exception checks inside of a G_UNLIKELY | Evan Nemerson | 2014-05-27 | 1 | -1/+3 |
| | | | | Fixes bug 730702 | ||||
* | codegen: Avoid name clashes in the closure struct | Luca Bruno | 2011-10-02 | 1 | -1/+1 |
| | | | | Fixes bug 596861. | ||||
* | codegen: Use CCodeAttribute instead of C specific methods of code nodes | Luca Bruno | 2011-08-01 | 1 | -15/+15 |
| | |||||
* | codegen: Add lvalue field to GLibValue | Luca Bruno | 2011-07-06 | 1 | -1/+1 |
| | |||||
* | ccodegen: Port the remaining code to use the ccode builder | Luca Bruno | 2011-05-05 | 1 | -3/+3 |
| | |||||
* | GError: Use destroy_value in return_with_exception | Luca Bruno | 2011-05-04 | 1 | -2/+1 |
| | |||||
* | codegen: Move freeing of locals to append_scope_free method | Jürg Billeter | 2011-04-29 | 1 | -0/+2 |
| | |||||
* | codegen: Fix execution order of finally blocks | Maciej Piechotka | 2011-04-29 | 1 | -3/+1 |
| | | | | Fixes bug 648807. | ||||
* | codegen: Use CatchClause.error_variable instead of variable_name | Luca Bruno | 2011-04-27 | 1 | -14/+3 |
| | |||||
* | codegen: Free locals before executing finally block | Jürg Billeter | 2011-04-27 | 1 | -2/+2 |
| | | | | Inner variables should be freed before outer variables. | ||||
* | codegen: Add convenience is_in_coroutine() function | Luca Bruno | 2011-01-19 | 1 | -3/+3 |
| | |||||
* | codegen: Add CCodeFunction.add_assignment convenience function | Luca Bruno | 2011-01-19 | 1 | -3/+3 |
| | |||||
* | codegen: Limit scope of locals freed on errors thrown from catch clauses | Jürg Billeter | 2011-01-13 | 1 | -1/+8 |
| | | | | This fixes double unref of closures. | ||||
* | codegen: Merge append_local_free and append_error_free | Jürg Billeter | 2011-01-13 | 1 | -11/+13 |
| | |||||
* | codegen: Fix uncaught errors in constructors and destructors | Jürg Billeter | 2010-10-23 | 1 | -1/+3 |
| | |||||
* | codegen: Fix crash when throwing errors from struct constructors | Jürg Billeter | 2010-10-21 | 1 | -3/+7 |
| | | | | Fixes bug 618461. | ||||
* | codegen: Add return_default_value helper method | Jürg Billeter | 2010-10-18 | 1 | -6/+2 |
| | |||||
* | codegen: Fix crash on nested try in finally clause | Jürg Billeter | 2010-10-16 | 1 | -1/+1 |
| | | | | Fixes bug 632078. | ||||
* | codegen: Add get_cvalue and set_cvalue helper methods | Jürg Billeter | 2010-10-09 | 1 | -2/+2 |
| | |||||
* | Append errordomain doc comments to generated C files | Jürg Billeter | 2010-09-30 | 1 | -0/+4 |
| | |||||
* | codegen: Use builder API | Jürg Billeter | 2010-09-09 | 1 | -118/+69 |
| | |||||
* | Add CCodeFile.add_function_declaration and CCodeFunction.is_declaration | Jürg Billeter | 2010-09-09 | 1 | -1/+1 |
| | |||||
* | Replace CCodeDeclarationSpace by CCodeFile | Jürg Billeter | 2010-08-21 | 1 | -6/+6 |
| | |||||
* | Move add_symbol_declaration out of CCodeDeclarationSpace | Jürg Billeter | 2010-08-21 | 1 | -1/+1 |
| | |||||
* | codegen: Drop CCodeModule | Jürg Billeter | 2010-08-12 | 1 | -10/+6 |
| | |||||
* | Use emit instead of accept and accept_children in code generator | Jürg Billeter | 2010-08-10 | 1 | -12/+6 |
| | |||||
* | Fix error propagation in constructor chain up | Jürg Billeter | 2010-06-28 | 1 | -2/+1 |
| | | | | Fixes bug 623049. | ||||
* | Make C code modules and declaration space public | Luca Bruno | 2010-04-16 | 1 | -1/+1 |
| | | | | Fixes bug 615775. | ||||
* | Eliminate unnecessary error check after try statements | Jürg Billeter | 2010-03-25 | 1 | -4/+4 |
| | | | | This fixes a C warning about missing return in non-void function. | ||||
* | Do not check unexpected errors if there is a general catch clause | Jürg Billeter | 2010-02-04 | 1 | -1/+8 |
| | | | | Fixes bug 608553. | ||||
* | Do not check unexpected errors within finally blocks | Jürg Billeter | 2010-02-04 | 1 | -0/+15 |
| | | | | Jump out of finally block is not supported. | ||||
* | GError: Fix leak when throwing an error in the constructor | Thijs Vermeir | 2010-01-27 | 1 | -0/+4 |
| | | | | Fixes bug 567818. | ||||
* | Do not generate unnecessary error check after throw statement | Jürg Billeter | 2010-01-27 | 1 | -2/+8 |
| | | | | Fixes bug 589942. | ||||
* | Distinguish between unhandled and unexpected errors | Jürg Billeter | 2010-01-27 | 1 | -6/+32 |
| | | | | This fixes C warnings due to unexpected error handling. | ||||
* | Print error domain and code of uncaught errors | Jürg Billeter | 2009-12-15 | 1 | -1/+5 |
| | |||||
* | Clean up unused GError in case of catch statement without arguments | Alexander Bokovoy | 2009-10-27 | 1 | -3/+10 |
| | | | | | | When catch statement has no arguments, no access to a GError is possible from Vala source code. Therefore, do not create temporary variable which is not used. Also, clear error object as it is not passed upwards then. | ||||
* | Do not use Gee namespace to avoid conflict with libgee | Jürg Billeter | 2009-10-12 | 1 | -1/+0 |
| | |||||
* | GError: Fix error propagation in creation methods | Jürg Billeter | 2009-09-30 | 1 | -1/+5 |
| | |||||
* | Fix throwing errors in async methods | Jürg Billeter | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | Do not declare private symbols in internal header | Jürg Billeter | 2009-09-16 | 1 | -1/+3 |
| | |||||
* | Comment handling improvements | Florian Brosch | 2009-09-04 | 1 | -3/+0 |
| | | | | Fixes bug 529040, bug 540513, and bug 546096. | ||||
* | Fix error handling in catch clauses | Jiří Zárevúcky | 2009-07-28 | 1 | -27/+29 |
| | |||||
* | Fix jump statements in try with finally | Jiří Zárevúcky | 2009-07-28 | 1 | -8/+24 |
| | | | | Fixes bug 579101. | ||||
* | GAsync: Fix critical warning | Jürg Billeter | 2009-07-07 | 1 | -1/+1 |
| | |||||
* | GAsync: Fix uncaught error's return statement | Didier 'Ptitjes | 2009-07-03 | 1 | -0/+2 |
| | | | | | | | FALSE must be returned in coroutines, independent of the return type. Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr> |