Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | dbus: increase code coveragetintou/dbus-coverage | Corentin Noël | 2020-04-04 | 3 | -0/+31 |
| | | | | Add test for multiple signals generation, private signals, signals with arrays and plugins. | ||||
* | tests: Extend "array foreach" test to increase coverage | Rico Tzschichholz | 2020-04-02 | 1 | -0/+7 |
| | |||||
* | vala: Consider boolean types are compatible with each other | Rico Tzschichholz | 2020-04-01 | 4 | -1/+27 |
| | |||||
* | tests: Add "expression as argument" tests to increase coverage | Rico Tzschichholz | 2020-04-01 | 3 | -0/+26 |
| | |||||
* | codegen: Correct field declaration for captured inline-allocated array | Rico Tzschichholz | 2020-03-31 | 4 | -8/+28 |
| | | | | | | | Also pass proper size to memset for local temp variables of inline-allocated arrays in asynchronous context. Fixes https://gitlab.gnome.org/GNOME/vala/issues/954 | ||||
* | codegen: Don't free value if property setter takes ownership | Rico Tzschichholz | 2020-03-31 | 3 | -1/+24 |
| | | | | | | | | Correctly handle owned property accessor in object initializer. In addition to c0e955db075d3d155782c167a0abb81e0dce5f59 See https://gitlab.gnome.org/GNOME/vala/issues/953 | ||||
* | tests: Add "local clash with implicit this" test to increase coverage | Rico Tzschichholz | 2020-03-31 | 2 | -0/+13 |
| | |||||
* | tests: Add "switch enum" test to increase coverage | Rico Tzschichholz | 2020-03-31 | 2 | -0/+19 |
| | |||||
* | codegen: Avoid critical trying to serialize an unsupported type to Variant | Rico Tzschichholz | 2020-03-30 | 1 | -0/+2 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/952 | ||||
* | vala: Handle all ctors and dtors in CodeWriter | Rico Tzschichholz | 2020-03-29 | 1 | -0/+48 |
| | |||||
* | vala: Handle unlock() statement in CodeWriter | Rico Tzschichholz | 2020-03-29 | 1 | -0/+8 |
| | |||||
* | vala: Support struct initializer list in non-constant array | Simon Werbeck | 2020-03-25 | 4 | -4/+51 |
| | | | | | | | | A struct initializer list contained in an array initializer list is now transformed to a struct creation expression. The pre-existing logic ensures that constant expressions are not transformed. Fixes https://gitlab.gnome.org/GNOME/vala/issues/949 | ||||
* | codegen: Append initializer for "_*_size_" of array field in internal struct | Rico Tzschichholz | 2020-03-25 | 3 | -0/+37 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/914 | ||||
* | vala: Move setting of target profile and standard packages into CodeContext | Rico Tzschichholz | 2020-03-25 | 6 | -66/+73 |
| | |||||
* | girparser: Strip "Enum"-suffix only from enumeration | Rico Tzschichholz | 2020-03-25 | 1 | -1/+5 |
| | | | | | | | This lead to superfluous symbol clashes when applied widely. e.g. GLib.ParamSpecEnum which is subclass of GLib.ParamSpec Introduced with 37201b0016a6f710dea6c9db08ff351641086686 | ||||
* | vala: Add Expression.is_always_true/false() helpers | Rico Tzschichholz | 2020-03-25 | 5 | -42/+23 |
| | |||||
* | tests: Add "throw in loops" tests to increase coverage | Rico Tzschichholz | 2020-03-25 | 2 | -0/+120 |
| | |||||
* | vala: Remove some public API from expressions and statements | Rico Tzschichholz | 2020-03-24 | 36 | -65/+65 |
| | |||||
* | Bump version suffix to 0.50 | Rico Tzschichholz | 2020-03-23 | 2 | -1/+3 |
| | |||||
* | Release 0.48.20.48.2 | Rico Tzschichholz | 2020-03-23 | 5 | -4/+42 |
| | |||||
* | manual: Update from wiki.gnome.org | Rico Tzschichholz | 2020-03-23 | 1 | -8/+19 |
| | |||||
* | vapi: Update GIR-based bindings | Rico Tzschichholz | 2020-03-23 | 2 | -19/+7 |
| | |||||
* | gstreamer: Update from 1.17.0+ git master | Rico Tzschichholz | 2020-03-23 | 6 | -27/+63 |
| | |||||
* | gtk4: Update to 3.98.1 | Rico Tzschichholz | 2020-03-23 | 1 | -101/+94 |
| | |||||
* | tests: Drop usage of "--main main" and avoid ambigious entry-points | Rico Tzschichholz | 2020-03-22 | 15 | -69/+2 |
| | |||||
* | codegen: IntegerLiteral is a valid constant size for inline-allocated array | Rico Tzschichholz | 2020-03-21 | 1 | -0/+2 |
| | | | | | | In addition to b95a766454eb914f4eb5a68e9040e03faffabf52 See https://gitlab.gnome.org/GNOME/vala/issues/910 | ||||
* | vala: Inline-allocated array can't be instantiated with creation expression | Rico Tzschichholz | 2020-03-21 | 5 | -6/+12 |
| | | | | | | This generalizes 0554ed7ad9cefe0f56e53dc00be88488dfa788bf Fixes https://gitlab.gnome.org/GNOME/vala/issues/926 | ||||
* | codegen: Include "glib.h" for g_return_*() usage | Rico Tzschichholz | 2020-03-19 | 1 | -0/+3 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/940 | ||||
* | glib-2.0: Add binding for g_win32_ftruncate() | Rico Tzschichholz | 2020-03-19 | 1 | -0/+1 |
| | |||||
* | gio-2.0: Add binding for g_io_error_from_win32_error() | Rico Tzschichholz | 2020-03-19 | 2 | -0/+12 |
| | |||||
* | glib-2.0: Add missing IOChannel's win32 API | ZUHONG TAO | 2020-03-19 | 1 | -0/+7 |
| | |||||
* | parser: Improve error message for invalid ArrayCreationExpression | Rico Tzschichholz | 2020-03-19 | 3 | -0/+9 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/939 | ||||
* | codegen: Initialize temp-var for property array length before calling getter | Rico Tzschichholz | 2020-03-18 | 3 | -3/+34 |
| | | | | Regression of d33e9fbca63674b7dfa339c25a9d5e27cce187f3 | ||||
* | codegen: Use memset to initialize inline-allocated array with non-constant size | Rico Tzschichholz | 2020-03-18 | 2 | -19/+85 |
| | | | | | | In addition to a0bb129e5a2e8580eb272d9a68ba054e7b170dba Fixes https://gitlab.gnome.org/GNOME/vala/issues/910 | ||||
* | codegen: Improve handling of "array_length_type" attribute | Rico Tzschichholz | 2020-03-17 | 11 | -23/+180 |
| | | | | | | This affects methods, parameters, field and properties. Fixes https://gitlab.gnome.org/GNOME/vala/issues/938 | ||||
* | codegen: Inherit "array_length_type" from (base-/base-interface) ↵ | Rico Tzschichholz | 2020-03-17 | 2 | -4/+55 |
| | | | | | | parameter/property/method See https://gitlab.gnome.org/GNOME/vala/issues/938 | ||||
* | codegen: Use correctly typed array-length variable for delegate invocation | Rico Tzschichholz | 2020-03-17 | 1 | -1/+2 |
| | |||||
* | codegen: Use correctly typed array-length variable for property-getter | Rico Tzschichholz | 2020-03-17 | 1 | -1/+6 |
| | |||||
* | vala: Inherit lambda parameter attributes from delegate | Rico Tzschichholz | 2020-03-17 | 1 | -0/+1 |
| | | | | ... by setting base_parameter accordingly | ||||
* | vala: Improve copy of required attributes from delegate to lamdba method | Rico Tzschichholz | 2020-03-17 | 2 | -5/+8 |
| | |||||
* | posix: Add pathconf and fpathconf bindings | Corentin Noël | 2020-03-17 | 1 | -0/+63 |
| | | | | Also bind the named constants to use them. | ||||
* | vala: Accept enum-values as length for inline allocated arrays | Rico Tzschichholz | 2020-03-14 | 3 | -1/+22 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/935 | ||||
* | valadoc: Create and register current Vala.CodeContext properly | Rico Tzschichholz | 2020-03-13 | 3 | -4/+9 |
| | |||||
* | vala: Use error() instead of Report.error() inside of CodeContext.get() | Rico Tzschichholz | 2020-03-13 | 1 | -4/+2 |
| | | | | | | This is a bad thing while Report.error() actually uses CodeContext.get() Regression of e436f2833dc332e3fd728fe6f6b2cd7f224dcf33 | ||||
* | vapi: Add cairo-gobject binding | Rico Tzschichholz | 2020-03-13 | 11 | -8/+17 |
| | | | | and update reverse depends if appropriate | ||||
* | cairo: Add missing type_id attributes guarded by GOBJECT define | Corentin Noël | 2020-03-13 | 1 | -12/+196 |
| | | | | | When Cairo is built with GObject support wrapper, it provides cairo-gobject.h that defines GType and GBoxed structures and enums. | ||||
* | codegen: Correctly access captured parameter in precondition of method | Rico Tzschichholz | 2020-03-13 | 5 | -1/+46 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/144 | ||||
* | codegen: Emit postconditions before free'ing local variables | Rico Tzschichholz | 2020-03-13 | 3 | -7/+63 |
| | | | | It was possible to cause segmentation-faults or use-after-free errors. | ||||
* | codegen: Reset outdated array _size_ variable after use as ref parameter | Rico Tzschichholz | 2020-03-12 | 3 | -0/+26 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/929 | ||||
* | vapigen: Define "GOBJECT" corresponding to set profile of CodeContext | Rico Tzschichholz | 2020-03-12 | 1 | -0/+1 |
| | | | | | | | This is required to evaluate pre-processor directives correctly in sourced bindings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/933 |