Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add test casewip/null-conditional | Rico Tzschichholz | 2019-12-19 | 2 | -0/+52 |
| | |||||
* | vala: Add conditional member access. | Jeremy Philippe | 2019-12-18 | 5 | -0/+233 |
| | | | | | | | | | This implements support for the "null-conditional" operator of C# (also called "safe navigation" operator). It supports both plain member access and method calls (including void method calls, which are simply bypassed if the inner expression is null). | ||||
* | vapi: Update GIR-based bindings | Rico Tzschichholz | 2019-12-09 | 8 | -2/+17 |
| | |||||
* | vala: Check before accessing "name" of parent_symbol which might be null | Rico Tzschichholz | 2019-12-09 | 1 | -1/+1 |
| | |||||
* | glib-2.0: Add new symbols from 2.64 | Rico Tzschichholz | 2019-12-06 | 1 | -0/+10 |
| | |||||
* | glib-2.0: Add to_string() for GLib.PollFd and GLib.Pid | Rico Tzschichholz | 2019-12-06 | 1 | -0/+9 |
| | |||||
* | codegen: Don't attribute *_get_type_once() with G_GNUC_CONST | Rico Tzschichholz | 2019-12-06 | 1 | -1/+1 |
| | | | | Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091 | ||||
* | codegen: Improve *_get_type() fast path (requires glib >= 2.58) | Rico Tzschichholz | 2019-12-05 | 3 | -4/+31 |
| | | | | | | | | | | | Uses G_GNUC_NO_INLINE if glib >= 2.58 is targetted otherwise the compiler is free to inline the separate *_get_type_once() function. Follows the changes introduced in glib by https://gitlab.gnome.org/GNOME/glib/commit/e924f777369710221c3e0a9d7bf40392a27d1fa4 See https://gitlab.gnome.org/GNOME/glib/issues/541 and https://gitlab.gnome.org/GNOME/vala/issues/879 | ||||
* | codegen: Remove unreachable code in TypeRegisterFunction.init_from_type() | Rico Tzschichholz | 2019-12-05 | 1 | -39/+15 |
| | | | | Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571 | ||||
* | vala: Don't allow "va_list" as return-type or type of fields | Rico Tzschichholz | 2019-12-03 | 9 | -0/+56 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/884 | ||||
* | vala: Improve error message for unsupported inner types and declarations | Rico Tzschichholz | 2019-12-02 | 1 | -14/+14 |
| | |||||
* | gstreamer: Update from 1.17.0+ git master | Rico Tzschichholz | 2019-11-27 | 1 | -0/+6 |
| | |||||
* | gtk4: Update to 3.96.0+9f69c7f3 | Rico Tzschichholz | 2019-11-27 | 2 | -13/+8 |
| | |||||
* | webkit2gtk-4.0: Update to 2.27.3 | Rico Tzschichholz | 2019-11-27 | 1 | -0/+15 |
| | |||||
* | test: Add some "method-call" tests to increase coverage | Rico Tzschichholz | 2019-11-27 | 5 | -0/+48 |
| | |||||
* | vala: Don't report further errors if MemberInitializer.check() failed | Rico Tzschichholz | 2019-11-27 | 1 | -1/+3 |
| | |||||
* | vala: Don't ignore inner errors in Block and acknowledge them further | Rico Tzschichholz | 2019-11-27 | 3 | -3/+5 |
| | | | | | This avoids useless subsequent errors and possible criticals while operating on broken AST. | ||||
* | codegen: Fix precondition in creation method of structs | Rico Tzschichholz | 2019-11-26 | 2 | -5/+37 |
| | |||||
* | vala: Include type_name to default implementation of CCode.to_string() | Rico Tzschichholz | 2019-11-26 | 1 | -0/+1 |
| | |||||
* | scanner: Improve check of "\u" escape sequence | Rico Tzschichholz | 2019-11-25 | 5 | -18/+42 |
| | |||||
* | scanner: "\x" requires two hex digits at most and ignore leading zero #2 | Rico Tzschichholz | 2019-11-25 | 9 | -22/+73 |
| | |||||
* | vala: Drop Namespace.remove_struct() | Rico Tzschichholz | 2019-11-25 | 1 | -10/+0 |
| | |||||
* | vala: Let the parser have set namespace members as static | Rico Tzschichholz | 2019-11-24 | 5 | -40/+57 |
| | | | | ... and move error reporting for invalid members into check() | ||||
* | parser: Implicit "main" method of main-block is public and static | Rico Tzschichholz | 2019-11-24 | 1 | -0/+2 |
| | |||||
* | scanner: "\x" requires two hex digits at most | Rico Tzschichholz | 2019-11-24 | 4 | -6/+6 |
| | |||||
* | tests: Add "member-access" tests to increase coverage | Rico Tzschichholz | 2019-11-24 | 5 | -0/+47 |
| | |||||
* | tests: Add "scanner" tests to increase coverage | Rico Tzschichholz | 2019-11-24 | 17 | -0/+94 |
| | |||||
* | tests: Extend "float and integer" tests to increase coverage | Rico Tzschichholz | 2019-11-24 | 2 | -2/+8 |
| | |||||
* | pango: Update to 1.44+ | Rico Tzschichholz | 2019-11-21 | 3 | -52/+148 |
| | |||||
* | vapi: Update GIR-based bindings | Rico Tzschichholz | 2019-11-21 | 2 | -3/+8 |
| | |||||
* | gtk4: Update to 3.96.0+5e11a2ae | Rico Tzschichholz | 2019-11-21 | 1 | -46/+56 |
| | |||||
* | gstreamer: Update from 1.17.0+ git master | Rico Tzschichholz | 2019-11-21 | 1 | -2/+4 |
| | |||||
* | vala: Add a basic parameter check for [Print] methods | Rico Tzschichholz | 2019-11-21 | 4 | -0/+58 |
| | | | | | | and add tests to increase coverage Introdruced with ea8cd97480a7a560cfd8ae3f060f63638b7d9de4 | ||||
* | tests: Fix and make fast-vapi test actually fatal | Rico Tzschichholz | 2019-11-19 | 2 | -2/+4 |
| | |||||
* | vala: Keep formal_target_type when transforming method-call/object-creation | Rico Tzschichholz | 2019-11-19 | 4 | -0/+26 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/835 | ||||
* | vala: Improve handling of "void" as generic type | Rico Tzschichholz | 2019-11-18 | 3 | -0/+40 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/878 | ||||
* | vala: VoidType is actually compatible with itself | Rico Tzschichholz | 2019-11-18 | 1 | -0/+4 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/878 | ||||
* | codegen: Use result of CCodeBaseModule.get_this_type() | Rico Tzschichholz | 2019-11-17 | 1 | -13/+17 |
| | |||||
* | vala: Check "this_parameter" if available | Rico Tzschichholz | 2019-11-17 | 5 | -0/+20 |
| | |||||
* | vala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type() | Rico Tzschichholz | 2019-11-17 | 6 | -31/+35 |
| | |||||
* | vala: Allow SemanticAnalyzer.get_this_type() to handle more symbols | Rico Tzschichholz | 2019-11-17 | 1 | -4/+33 |
| | | | | | | and append possible type-parameters to match get_data_type_for_symbol() Suported symbol types are Method, Property, Constructor and Destructor | ||||
* | gidl/girparser: Creation methods must not be marked as static | Rico Tzschichholz | 2019-11-17 | 2 | -4/+5 |
| | |||||
* | vala: scope "owner" of constructor/destructor subroutines is already set | Rico Tzschichholz | 2019-11-17 | 2 | -5/+3 |
| | |||||
* | tests: Add "invalid address-of" test to increase coverage | Rico Tzschichholz | 2019-11-16 | 2 | -0/+9 |
| | |||||
* | vala: Don't require constant initializer in fast-vapi | Rico Tzschichholz | 2019-11-15 | 6 | -4/+38 |
| | | | | | | | | | Regression of 984c034256de3830d6daa0ab6f5eff108dea09bb Extend --fast-vapi test by using --use-fast-vapi See https://github.com/dino/dino/issues/646 and https://gitlab.gnome.org/GNOME/vala/issues/461 | ||||
* | codegen: Share generate_struct_*() helpers between classes and interfaces | Rico Tzschichholz | 2019-11-14 | 1 | -66/+14 |
| | |||||
* | codegen: Fix vfunc signature of delegate-typed property in interface | Rico Tzschichholz | 2019-11-14 | 3 | -0/+34 |
| | |||||
* | vala: Report error for async creation expression without yield | Rico Tzschichholz | 2019-11-14 | 3 | -0/+16 |
| | |||||
* | codegen: Fix support of dynamic DBus methods | Rico Tzschichholz | 2019-11-14 | 5 | -4/+74 |
| | |||||
* | test: Add "GLib.Closure parameter" test to increase coverage | Rico Tzschichholz | 2019-11-12 | 2 | -0/+31 |
| |