summaryrefslogtreecommitdiff
path: root/codegen/valagerrormodule.vala
Commit message (Collapse)AuthorAgeFilesLines
* codegen: Let methods return -1 on error by default if possibleRico Tzschichholz2018-07-051-2/+2
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/526
* codegen: Avoid silent casts if not neededRico Tzschichholz2017-12-141-2/+2
|
* codegen: Factor out static getters for ccode-attributesRico Tzschichholz2017-11-191-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=788837
* codegen: Unref GLib.AsyncResult on uncaught errors in coroutinesRico Tzschichholz2017-04-301-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> elementsFlorian Brosch2014-09-021-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_UNLIKELYEvan Nemerson2014-05-271-1/+3
| | | | Fixes bug 730702
* codegen: Avoid name clashes in the closure structLuca Bruno2011-10-021-1/+1
| | | | Fixes bug 596861.
* codegen: Use CCodeAttribute instead of C specific methods of code nodesLuca Bruno2011-08-011-15/+15
|
* codegen: Add lvalue field to GLibValueLuca Bruno2011-07-061-1/+1
|
* ccodegen: Port the remaining code to use the ccode builderLuca Bruno2011-05-051-3/+3
|
* GError: Use destroy_value in return_with_exceptionLuca Bruno2011-05-041-2/+1
|
* codegen: Move freeing of locals to append_scope_free methodJürg Billeter2011-04-291-0/+2
|
* codegen: Fix execution order of finally blocksMaciej Piechotka2011-04-291-3/+1
| | | | Fixes bug 648807.
* codegen: Use CatchClause.error_variable instead of variable_nameLuca Bruno2011-04-271-14/+3
|
* codegen: Free locals before executing finally blockJürg Billeter2011-04-271-2/+2
| | | | Inner variables should be freed before outer variables.
* codegen: Add convenience is_in_coroutine() functionLuca Bruno2011-01-191-3/+3
|
* codegen: Add CCodeFunction.add_assignment convenience functionLuca Bruno2011-01-191-3/+3
|
* codegen: Limit scope of locals freed on errors thrown from catch clausesJürg Billeter2011-01-131-1/+8
| | | | This fixes double unref of closures.
* codegen: Merge append_local_free and append_error_freeJürg Billeter2011-01-131-11/+13
|
* codegen: Fix uncaught errors in constructors and destructorsJürg Billeter2010-10-231-1/+3
|
* codegen: Fix crash when throwing errors from struct constructorsJürg Billeter2010-10-211-3/+7
| | | | Fixes bug 618461.
* codegen: Add return_default_value helper methodJürg Billeter2010-10-181-6/+2
|
* codegen: Fix crash on nested try in finally clauseJürg Billeter2010-10-161-1/+1
| | | | Fixes bug 632078.
* codegen: Add get_cvalue and set_cvalue helper methodsJürg Billeter2010-10-091-2/+2
|
* Append errordomain doc comments to generated C filesJürg Billeter2010-09-301-0/+4
|
* codegen: Use builder APIJürg Billeter2010-09-091-118/+69
|
* Add CCodeFile.add_function_declaration and CCodeFunction.is_declarationJürg Billeter2010-09-091-1/+1
|
* Replace CCodeDeclarationSpace by CCodeFileJürg Billeter2010-08-211-6/+6
|
* Move add_symbol_declaration out of CCodeDeclarationSpaceJürg Billeter2010-08-211-1/+1
|
* codegen: Drop CCodeModuleJürg Billeter2010-08-121-10/+6
|
* Use emit instead of accept and accept_children in code generatorJürg Billeter2010-08-101-12/+6
|
* Fix error propagation in constructor chain upJürg Billeter2010-06-281-2/+1
| | | | Fixes bug 623049.
* Make C code modules and declaration space publicLuca Bruno2010-04-161-1/+1
| | | | Fixes bug 615775.
* Eliminate unnecessary error check after try statementsJürg Billeter2010-03-251-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 clauseJürg Billeter2010-02-041-1/+8
| | | | Fixes bug 608553.
* Do not check unexpected errors within finally blocksJürg Billeter2010-02-041-0/+15
| | | | Jump out of finally block is not supported.
* GError: Fix leak when throwing an error in the constructorThijs Vermeir2010-01-271-0/+4
| | | | Fixes bug 567818.
* Do not generate unnecessary error check after throw statementJürg Billeter2010-01-271-2/+8
| | | | Fixes bug 589942.
* Distinguish between unhandled and unexpected errorsJürg Billeter2010-01-271-6/+32
| | | | This fixes C warnings due to unexpected error handling.
* Print error domain and code of uncaught errorsJürg Billeter2009-12-151-1/+5
|
* Clean up unused GError in case of catch statement without argumentsAlexander Bokovoy2009-10-271-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 libgeeJürg Billeter2009-10-121-1/+0
|
* GError: Fix error propagation in creation methodsJürg Billeter2009-09-301-1/+5
|
* Fix throwing errors in async methodsJürg Billeter2009-09-171-1/+1
|
* Do not declare private symbols in internal headerJürg Billeter2009-09-161-1/+3
|
* Comment handling improvementsFlorian Brosch2009-09-041-3/+0
| | | | Fixes bug 529040, bug 540513, and bug 546096.
* Fix error handling in catch clausesJiří Zárevúcky2009-07-281-27/+29
|
* Fix jump statements in try with finallyJiří Zárevúcky2009-07-281-8/+24
| | | | Fixes bug 579101.
* GAsync: Fix critical warningJürg Billeter2009-07-071-1/+1
|
* GAsync: Fix uncaught error's return statementDidier 'Ptitjes2009-07-031-0/+2
| | | | | | | FALSE must be returned in coroutines, independent of the return type. Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>