Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Release 0.47.30.47.3 | Rico Tzschichholz | 2020-01-22 | 5 | -4/+28 |
| | |||||
* | codegen: Cast instance parameter in member-initializer for base-properties | Rico Tzschichholz | 2020-01-21 | 3 | -0/+25 |
| | | | | | | This fixes warnings issued with -Wincompatible-pointer-types Fixes https://gitlab.gnome.org/GNOME/vala/issues/899 | ||||
* | codegen: Commonized generation of public/private fields | Simon Werbeck | 2020-01-21 | 1 | -22/+14 |
| | |||||
* | codegen: Refactor generation of fields for ccode structs | Simon Werbeck | 2020-01-21 | 3 | -87/+34 |
| | | | | | Introduce a common method to add field including its possible composite fields for array and delegate types. | ||||
* | vapi: Update GIR-based bindings | Rico Tzschichholz | 2020-01-20 | 9 | -10/+37 |
| | |||||
* | gstreamer: Update from 1.17.0+ git master | Rico Tzschichholz | 2020-01-20 | 2 | -0/+4 |
| | |||||
* | gtk4: Update to 3.96.0+7e2e92a8 | Rico Tzschichholz | 2020-01-20 | 2 | -117/+78 |
| | |||||
* | webkit2gtk-4.0: Update to 2.27.4 | Rico Tzschichholz | 2020-01-20 | 2 | -0/+85 |
| | |||||
* | Regenerate for GIR-based bindings to apply explicit ctype attributes | Rico Tzschichholz | 2020-01-20 | 1 | -5/+5 |
| | |||||
* | girparser: Apply explicitly given ctype metadata attributes on callables | Rico Tzschichholz | 2020-01-20 | 1 | -0/+9 |
| | |||||
* | girparser: Improve source_reference of parameters | Rico Tzschichholz | 2020-01-20 | 1 | -2/+11 |
| | |||||
* | vala: Always bail if there are semantic errors | Princeton Ferro | 2020-01-20 | 1 | -1/+3 |
| | | | | Previously introduced by 1430c461d4a45026331663989113feb195588255 | ||||
* | Add further support for params arrays | Rico Tzschichholz | 2020-01-15 | 12 | -17/+216 |
| | | | | | | | | | | | This brings support for params-arrays in normal vala source code. The parameter is a null-terminated array which is represented as variadic parameter in generated C. This feature is considered experimental for now. Fixes https://gitlab.gnome.org/GNOME/vala/issues/128 | ||||
* | glib-2.0: Let (u)int.try_parse() return false if there is an unparsed part | Rico Tzschichholz | 2020-01-14 | 1 | -2/+2 |
| | | | | This is how our other try_parse() implementions behave. | ||||
* | codegen: Use result value of assignment rather than its computation | Rico Tzschichholz | 2020-01-14 | 3 | -1/+31 |
| | | | | | | | | | | | | | | | An inline assignment of an array-length, like int j = --i.length; resulted in a faulty tranformation i_length1 = i_length1 - 1; j = i_length1 - 1; Regression of 80d4bf61e0c3100c839f3fdbcb5218996b6afd5f Fixes https://gitlab.gnome.org/GNOME/vala/issues/895 | ||||
* | parser: Extend source_reference of parenthesized expr to cover "( ... )" | Princeton Ferro | 2020-01-13 | 1 | -1/+4 |
| | |||||
* | vala: Fix short-circuiting behavior of coalescing operator | Jeremy Philippe | 2020-01-11 | 5 | -10/+79 |
| | | | | | | | It is closely modeled after how ConditionalExpression implements short-circuiting behavior. Fixes https://gitlab.gnome.org/GNOME/vala/issues/534 | ||||
* | vala: Non-nullable value-type in coalesce expression needs to be copied | Jeremy Philippe | 2020-01-08 | 3 | -0/+24 |
| | | | | | | | | The code generated by the coalesce expression could lead to stale pointers to the stack if the right-side expression is an immediate value (such as an integer literal or a struct). Fixes https://gitlab.gnome.org/GNOME/vala/issues/893 | ||||
* | vala: Infer target_type in coalescing expressions | Jeremy Philippe | 2020-01-08 | 3 | -0/+29 |
| | | | | | | Correctly handle reference tranfers of inner expressions. Fixes https://gitlab.gnome.org/GNOME/vala/issues/892 | ||||
* | codegen: Don't set implemenation of interface property to its own | Rico Tzschichholz | 2020-01-07 | 3 | -0/+22 |
| | | | | | | | | | A base-class is allowed to provide interface implementations for methods and properties. If those exist without an explicit implementation in the sub-class we then we end up finding the interface property itself. Using that is obviously wrong and causes a cyclic call stack. Fixes https://gitlab.gnome.org/GNOME/vala/issues/891 | ||||
* | Release 0.47.20.47.2 | Rico Tzschichholz | 2020-01-07 | 5 | -8/+49 |
| | |||||
* | tests: Fix make distcheck | Rico Tzschichholz | 2020-01-07 | 1 | -1/+1 |
| | |||||
* | vapi: Update GIR-based bindings | Rico Tzschichholz | 2020-01-07 | 2 | -1/+21 |
| | |||||
* | gstreamer: Update from 1.17.0+ git master | Rico Tzschichholz | 2020-01-07 | 4 | -6/+42 |
| | |||||
* | gtk4: Update to 3.96.0+448a4023 | Rico Tzschichholz | 2020-01-07 | 2 | -234/+40 |
| | |||||
* | glib-2.0: Reset errno before calling strto*() functions. | Jeremy Philippe | 2020-01-06 | 1 | -0/+8 |
| | | | | | | Standard library functions only set errno on error and these particular functions return an "in-band" error indicator (the error indicator is also a normal return value). | ||||
* | genie: Fix parser's inner state when a struct is declared after a class | Jeremy Philippe | 2020-01-06 | 3 | -0/+16 |
| | | | | | | | | | | | If the struct is declared after a class and has a default creation method, the parser will raise a "missing return type in method ..." error. The cause of the bug is that the global 'class_name' variable is not updated when the parser encounters a struct, so the previous value is used, and if a class has been parsed before, this value will be the name of the class instead of the struct. | ||||
* | compiler: Add "--depfile" option writing package dependencies to given file | Rico Tzschichholz | 2019-12-21 | 3 | -0/+32 |
| | | | | This is meant to be used by build systems before invoking rebuilds | ||||
* | vala: Allow to override base interface properties explicitly | Jeremy Philippe | 2019-12-21 | 3 | -1/+56 |
| | |||||
* | 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() |