summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Release 0.47.30.47.3Rico Tzschichholz2020-01-225-4/+28
|
* codegen: Cast instance parameter in member-initializer for base-propertiesRico Tzschichholz2020-01-213-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 fieldsSimon Werbeck2020-01-211-22/+14
|
* codegen: Refactor generation of fields for ccode structsSimon Werbeck2020-01-213-87/+34
| | | | | Introduce a common method to add field including its possible composite fields for array and delegate types.
* vapi: Update GIR-based bindingsRico Tzschichholz2020-01-209-10/+37
|
* gstreamer: Update from 1.17.0+ git masterRico Tzschichholz2020-01-202-0/+4
|
* gtk4: Update to 3.96.0+7e2e92a8Rico Tzschichholz2020-01-202-117/+78
|
* webkit2gtk-4.0: Update to 2.27.4Rico Tzschichholz2020-01-202-0/+85
|
* Regenerate for GIR-based bindings to apply explicit ctype attributesRico Tzschichholz2020-01-201-5/+5
|
* girparser: Apply explicitly given ctype metadata attributes on callablesRico Tzschichholz2020-01-201-0/+9
|
* girparser: Improve source_reference of parametersRico Tzschichholz2020-01-201-2/+11
|
* vala: Always bail if there are semantic errorsPrinceton Ferro2020-01-201-1/+3
| | | | Previously introduced by 1430c461d4a45026331663989113feb195588255
* Add further support for params arraysRico Tzschichholz2020-01-1512-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 partRico Tzschichholz2020-01-141-2/+2
| | | | This is how our other try_parse() implementions behave.
* codegen: Use result value of assignment rather than its computationRico Tzschichholz2020-01-143-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 Ferro2020-01-131-1/+4
|
* vala: Fix short-circuiting behavior of coalescing operatorJeremy Philippe2020-01-115-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 copiedJeremy Philippe2020-01-083-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 expressionsJeremy Philippe2020-01-083-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 ownRico Tzschichholz2020-01-073-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.2Rico Tzschichholz2020-01-075-8/+49
|
* tests: Fix make distcheckRico Tzschichholz2020-01-071-1/+1
|
* vapi: Update GIR-based bindingsRico Tzschichholz2020-01-072-1/+21
|
* gstreamer: Update from 1.17.0+ git masterRico Tzschichholz2020-01-074-6/+42
|
* gtk4: Update to 3.96.0+448a4023Rico Tzschichholz2020-01-072-234/+40
|
* glib-2.0: Reset errno before calling strto*() functions.Jeremy Philippe2020-01-061-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 classJeremy Philippe2020-01-063-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 fileRico Tzschichholz2019-12-213-0/+32
| | | | This is meant to be used by build systems before invoking rebuilds
* vala: Allow to override base interface properties explicitlyJeremy Philippe2019-12-213-1/+56
|
* vapi: Update GIR-based bindingsRico Tzschichholz2019-12-098-2/+17
|
* vala: Check before accessing "name" of parent_symbol which might be nullRico Tzschichholz2019-12-091-1/+1
|
* glib-2.0: Add new symbols from 2.64Rico Tzschichholz2019-12-061-0/+10
|
* glib-2.0: Add to_string() for GLib.PollFd and GLib.PidRico Tzschichholz2019-12-061-0/+9
|
* codegen: Don't attribute *_get_type_once() with G_GNUC_CONSTRico Tzschichholz2019-12-061-1/+1
| | | | Follow up on 6b03920e39bc3900148d02ea5c2ddc13d6e91091
* codegen: Improve *_get_type() fast path (requires glib >= 2.58)Rico Tzschichholz2019-12-053-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 Tzschichholz2019-12-051-39/+15
| | | | Not used since 79b1a3e39a3d2bac9fbe40c99336b3b89e374571
* vala: Don't allow "va_list" as return-type or type of fieldsRico Tzschichholz2019-12-039-0/+56
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/884
* vala: Improve error message for unsupported inner types and declarationsRico Tzschichholz2019-12-021-14/+14
|
* gstreamer: Update from 1.17.0+ git masterRico Tzschichholz2019-11-271-0/+6
|
* gtk4: Update to 3.96.0+9f69c7f3Rico Tzschichholz2019-11-272-13/+8
|
* webkit2gtk-4.0: Update to 2.27.3Rico Tzschichholz2019-11-271-0/+15
|
* test: Add some "method-call" tests to increase coverageRico Tzschichholz2019-11-275-0/+48
|
* vala: Don't report further errors if MemberInitializer.check() failedRico Tzschichholz2019-11-271-1/+3
|
* vala: Don't ignore inner errors in Block and acknowledge them furtherRico Tzschichholz2019-11-273-3/+5
| | | | | This avoids useless subsequent errors and possible criticals while operating on broken AST.
* codegen: Fix precondition in creation method of structsRico Tzschichholz2019-11-262-5/+37
|
* vala: Include type_name to default implementation of CCode.to_string()Rico Tzschichholz2019-11-261-0/+1
|
* scanner: Improve check of "\u" escape sequenceRico Tzschichholz2019-11-255-18/+42
|
* scanner: "\x" requires two hex digits at most and ignore leading zero #2Rico Tzschichholz2019-11-259-22/+73
|
* vala: Drop Namespace.remove_struct()Rico Tzschichholz2019-11-251-10/+0
|
* vala: Let the parser have set namespace members as staticRico Tzschichholz2019-11-245-40/+57
| | | | ... and move error reporting for invalid members into check()