| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | codegen: Fix usage of lambda-expression from delegate initializer | Rico Tzschichholz | 2023-04-13 | 2 | -0/+1288 |
| | | | | | | | | Unset delegate-type if a lambda-expression handler was found to use the correct code paths. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1428 | ||||
| * | codegen: Stabilize CCode.cname for backing method of lamdba expression | Rico Tzschichholz | 2023-04-06 | 25 | -480/+480 |
| | | | | | Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern | ||||
| * | tests: Extend "struct-typed properties" tests to increase coverage | Rico Tzschichholz | 2023-03-21 | 4 | -12/+945 |
| | | |||||
| * | tests: Add "signal with struct parameter" test to increase coverage | Rico Tzschichholz | 2023-03-21 | 2 | -0/+450 |
| | | |||||
| * | vala: Owned property accessors are not allowed for non-null simple types | Rico Tzschichholz | 2023-03-21 | 1 | -0/+12 |
| | | | | | Additionally drop invalid g_value_take_* references for enums | ||||
| * | tests: Drop superfluous GLIB_2_56 preprocessing | Rico Tzschichholz | 2023-03-18 | 1 | -3/+0 |
| | | |||||
| * | codegen: Add cast to accessor calls for generic property implementations | Rico Tzschichholz | 2023-03-13 | 2 | -439/+0 |
| | | | | | Found by -Werror=int-conversion | ||||
| * | codegen: Consistently handle GLib.Error as boxed type | Rico Tzschichholz | 2023-03-09 | 4 | -33/+823 |
| | | | | | | | Use G_TYPE_ERROR and GBoxed API for all error domains. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1418 | ||||
| * | Require and target GLib >= 2.56 | Rico Tzschichholz | 2023-02-28 | 1 | -0/+14 |
| | | | | | | | | The next stable release of vala will happen over 5 years after the release of GLib 2.56.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1415 | ||||
| * | codegen: Cast vfunc of property accessors by using cast_method_pointer() | Rico Tzschichholz | 2023-02-05 | 11 | -58/+58 |
| | | | | | | | Found by -Wincompatible-function-pointer-types See https://gitlab.gnome.org/GNOME/vala/issues/1408 | ||||
| * | codegen: Cast return value of generic type accessor functions | Rico Tzschichholz | 2023-02-05 | 1 | -3/+3 |
| | | | | | | | Found by -Wincompatible-function-pointer-types See https://gitlab.gnome.org/GNOME/vala/issues/1408 | ||||
| * | tests: Update c-expected | wszqkzqk | 2023-01-11 | 148 | -148/+148 |
| | | |||||
| * | codegen: Correctly handle fixed-length array initialization of fields in classes | Rico Tzschichholz | 2023-01-04 | 2 | -2/+2 |
| | | |||||
| * | codegen: Correctly set array-length for NoAccessorMethods properties | Rico Tzschichholz | 2022-05-10 | 2 | -0/+378 |
| | | | | | | | If value is a null-terminated array then calculate and set its length. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1316 | ||||
| * | vala: Improve accessibility check inside member initializer | Rico Tzschichholz | 2022-04-04 | 4 | -0/+669 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1300 | ||||
| * | vala: Don't allow nullable enum value as real GObject property | Rico Tzschichholz | 2022-03-29 | 2 | -0/+259 |
| | | | | | | | It is basically a boxed integer value. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1074 | ||||
| * | codegen: Drop confusing warning when accessing interface members | Rico Tzschichholz | 2022-03-08 | 2 | -0/+655 |
| | | | | | | | Making assumptions for member access using the current class is not correct. Introduced by 0aace7bd6d3ec72e77f4eabbb7d5fffd3b2e86a8 | ||||
| * | codegen: Emit GType definition for error domains | Rico Tzschichholz | 2022-02-24 | 1 | -0/+25 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/699 | ||||
| * | codegen: Emit G_DEFINE_AUTO_CLEANUP_CLEAR_FUNC() for structs | Rico Tzschichholz | 2022-02-24 | 5 | -0/+5 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1293 | ||||
| * | codegen: Emit G_DEFINE_AUTOPTR_CLEANUP_FUNC() for interfaces with base class | Rico Tzschichholz | 2022-02-24 | 21 | -0/+25 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1292 | ||||
| * | vala: Only add catch clause if an inner error is possible | Rico Tzschichholz | 2022-02-11 | 4 | -313/+10 |
| | | | | | See d9f702289b4b39683d0c9361e1ea02fd51ecae22 | ||||
| * | vala: Catch and throw possible inner error of lock statements | Rico Tzschichholz | 2022-02-10 | 4 | -10/+313 |
| | | | | | | | See 40c1dbfbfedb6c4a6b88df045eb1c2e7bdd38d93 Fixes https://gitlab.gnome.org/GNOME/vala/issues/83 | ||||
| * | codegen: Stop generating wrappers for dynamic property access | Rico Tzschichholz | 2022-02-06 | 2 | -47/+79 |
| | | |||||
| * | vala: Move dynamic property errors to semantic analyzer pass | Rico Tzschichholz | 2022-02-06 | 3 | -0/+318 |
| | | |||||
| * | vala: Add support to infer return type of dynamic signals | Lorenz Wildberg | 2022-01-25 | 5 | -0/+194 |
| | | |||||
| * | Support "emit" for explicit signal emission | Lorenz Wildberg | 2022-01-04 | 4 | -0/+449 |
| | | | | | | If "foo" is a signal then "foo.emit (...);" is allowed now additionally to "foo (...);". This is required to emit dynamic signals. | ||||
| * | codegen: Use __once instead of __volatile in generated code | Val Och | 2022-01-03 | 130 | -1274/+1274 |
| | | | | | | This better reflects purpose of relevant variables, especially given that they aren't volatile anymore on GLib 2.68+. | ||||
| * | codegen: Initialize "result" variable on declaration for abstract methods only | Rico Tzschichholz | 2022-01-03 | 44 | -87/+87 |
| | | |||||
| * | parser: Improve partial classes support | Rico Tzschichholz | 2021-12-21 | 3 | -60/+534 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/370 | ||||
| * | vala: Non nullable enum types are simple types | Rico Tzschichholz | 2021-12-16 | 2 | -36/+12 |
| | | | | | Fixes a regression of 5b6345a6386b05aaf3f11cb3572940413eb878a8 | ||||
| * | codegen: Initialize type parameter properties for generics earlier | Rico Tzschichholz | 2021-12-14 | 5 | -5/+5 |
| | | | | | | | | If g_object_new() is used then additionally initialize type parameter properties with it. Fixes https://gitlab.gnome.org/GNOME/vala/issues/67 | ||||
| * | codegen: Drop inconsistent space for ObjectType parameters | Rico Tzschichholz | 2021-11-27 | 1 | -10/+10 |
| | | |||||
| * | vala: Fix signals with generic return | Rico Tzschichholz | 2021-11-26 | 2 | -0/+460 |
| | | | | | In addition to 36999b5ffd63cc56a8648791b02bf07e7da88077 | ||||
| * | tests: Add runtime checks to signals tests and increase coverage | Rico Tzschichholz | 2021-11-25 | 2 | -90/+217 |
| | | |||||
| * | codegen: Add missing check while overriding virtual async interface methods | Rico Tzschichholz | 2021-11-20 | 2 | -1/+230 |
| | | | | | | | | | This fixes a couple of criticals and possibly faulty C code. In addition to fc246aa7f8cbc6cb176724246a0187e19fe91198 See https://gitlab.gnome.org/GNOME/vala/issues/852 | ||||
| * | codegen: Check required length of enum type name for GType support | Rico Tzschichholz | 2021-11-17 | 2 | -0/+14 |
| | | | | | Add corresponding tests for types which have support for GType | ||||
| * | codegen: Stop generating wrappers for dynamic signal connections | Rico Tzschichholz | 2021-11-01 | 1 | -62/+10 |
| | | |||||
| * | vala: Using SignalHandler.disconnect() is required for dynamic signals | Rico Tzschichholz | 2021-11-01 | 1 | -0/+15 |
| | | |||||
| * | tests: Extend "dynamic" signal test to increase coverage | Rico Tzschichholz | 2021-11-01 | 2 | -50/+267 |
| | | |||||
| * | tests: Add missing tests/objects/class-partial.c-expected | Rico Tzschichholz | 2021-10-30 | 1 | -0/+602 |
| | | |||||
| * | Add support for partial classes | Simon Werbeck | 2021-10-30 | 5 | -0/+110 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/370 | ||||
| * | vala: Improve error message for invalid handler of dynamic signal | Lorenz Wildberg | 2021-10-30 | 1 | -0/+8 |
| | | |||||
| * | tests: Extend "access virtual signal of interface" test to increase coverage | Rico Tzschichholz | 2021-10-18 | 2 | -0/+111 |
| | | |||||
| * | codegen: Add missing cast to access base-class members in class/static ctor | Rico Tzschichholz | 2021-08-31 | 2 | -0/+36 |
| | | | | | | | Regression of 9cbd53b8d79aa4c394ddf49e766f2c15fc476906 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1221 | ||||
| * | tests: Add expected generated C sources | Rico Tzschichholz | 2021-07-16 | 141 | -0/+67268 |
| | | |||||
| * | codegen: Fix variadic constructors for compact classes and structs | Rico Tzschichholz | 2021-06-23 | 2 | -0/+35 |
| | | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1195 | ||||
| * | codegen: Implementing GLib.Source.prepare/check is optional since 2.36 | Rico Tzschichholz | 2021-06-08 | 1 | -0/+7 |
| | | |||||
| * | codegen: Fix support for public fields on GLib.Source subclasses | Ole André Vadla Ravnås | 2021-05-22 | 1 | -0/+22 |
| | | |||||
| * | tests: Refactor "fields" test to increase coverage | Rico Tzschichholz | 2021-05-03 | 1 | -72/+227 |
| | | |||||
| * | codegen: Add missing "_return" label and "_inner_error*_" declaration in dtors | Rico Tzschichholz | 2021-04-24 | 1 | -0/+8 |
| | | |||||
