summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* vala: Add support for anonymous delegateswip/issue/658Nick Schrader2023-03-1932-8/+2049
| | | | | | | | void foo (delegate(string, int) => int d) { ... } Fixes https://gitlab.gnome.org/GNOME/vala/issues/658
* vala: Set proper value-type of unary ref/out expression in initializersRico Tzschichholz2023-03-197-5/+245
| | | | | | So the expected pointer-type for these expressions is available in AST. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1421
* codegen: Add declaration for register call of dynamic DBus interfacesRico Tzschichholz2023-03-181-10/+20
| | | | | | | | The call was added without the required extern declaration Found by -Werror=implicit-function-declaration Fixes https://gitlab.gnome.org/GNOME/vala/issues/1422
* sdl2: Improve Keyboard.get_state() and drop custom implementationRico Tzschichholz2023-03-181-10/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1420
* tests: Drop superfluous GLIB_2_56 preprocessingRico Tzschichholz2023-03-181-3/+0
|
* gtk4: Add sealed to all the final typesCorentin Noël2023-03-162-50/+102
| | | | | | | Allows to know in advance if a type can be subclassed or not Required until https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/4575 is merged or the right heuristic is implemented on Vala side.
* codegen: Use g_object_class_override_property to implement generic interface ↵Rico Tzschichholz2023-03-134-3/+565
| | | | | | | | | | | | properties This caused the criticals like: GLib-GObject-CRITICAL **: Read/writable property 'data' on class 'Foo' has type 'gchararray' which is not exactly equal to the type 'gpointer' of the property on the interface 'IFoo' Fixes https://gitlab.gnome.org/GNOME/vala/issues/1419
* codegen: Add cast to accessor calls for generic property implementationsRico Tzschichholz2023-03-134-6/+210
| | | | Found by -Werror=int-conversion
* codegen: Consistently handle GLib.Error as boxed typeRico Tzschichholz2023-03-098-39/+841
| | | | | | Use G_TYPE_ERROR and GBoxed API for all error domains. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1418
* vala: Correctly handle pre/post-increment expression as index of element accessRico Tzschichholz2023-03-085-10/+66
| | | | | | Regression of cb1828cfc5273aca752de9b39a77e0cd53305e61 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1417
* gtk4: Update to 4.10.1~40b154bfRico Tzschichholz2023-03-081-19/+81
|
* Require and target GLib >= 2.56Rico Tzschichholz2023-02-2813-271/+306
| | | | | | | 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
* webkitgtk-6.0: Update to 2.39.90Rico Tzschichholz2023-02-273-49/+50
|
* vala: Replace '.' with ':' in SourceReference.to_string()Lorenz Wildberg2023-02-261-1/+1
| | | | | This makes it possible to click on the file path and let the location being opened in the editor.
* tests: Prepend PKG_CONFIG_PATH to include possible existing valueLorenz Wildberg2023-02-211-1/+1
|
* gtk4: Follow upstream change of CssProvider.load_from_data() to match gtk+-3.0Rico Tzschichholz2023-02-212-3/+3
| | | | | | Regression of 521d3b4eef09b767bcb2fa56c441fbb8752c9a2d See https://gitlab.gnome.org/GNOME/gtk/issues/5543
* gtkmodule: Improve error messagesNiels De Graef2023-02-201-2/+2
| | | | | | | | Be a bit more specific about some of the errors that valac can encounter when parsing a UI file. (for my use case specifically, it helped me to figure out I had a <property> tag without a name attribute in one of my UI files)
* webkitgtk-6.0: Update to 2.39.7Rico Tzschichholz2023-02-124-4312/+163
|
* Sync NEWS from 0.56Rico Tzschichholz2023-02-111-0/+34
|
* vapi: Update GIR-based bindingsRico Tzschichholz2023-02-1111-49/+441
|
* gstreamer: Update from 1.23.0+ git mainRico Tzschichholz2023-02-1119-332/+420
|
* gtk4: Update to 4.9.4~9991d683Rico Tzschichholz2023-02-104-28/+132
|
* libgvc: Fix `cheader_filename` of the `Gvc` namespaceOle André Vadla Ravnås2023-02-101-3/+3
| | | | The .pc only adds `${includedir}/graphviz` to the include path.
* vapi: Update gnome-desktop-3.0 and gnome-desktop-4Fina Wilke2023-02-102-0/+4
|
* vala: Better handling of [NoReturn] call inside finally clauseRico Tzschichholz2023-02-064-1/+77
| | | | | | | | | This caused the following criticals: vala_flow_analyzer_jump_target_construct_finally_clause: assertion 'last_block != NULL' failed vala_flow_analyzer_jump_target_get_is_exit_target: assertion 'self != NULL' failed vala_flow_analyzer_jump_target_get_is_error_target: assertion 'self != NULL' failed vala_flow_analyzer_jump_target_get_is_finally_clause: assertion 'self != NULL' failed
* codegen: Cast vfunc of property accessors by using cast_method_pointer()Rico Tzschichholz2023-02-0513-89/+79
| | | | | | Found by -Wincompatible-function-pointer-types See https://gitlab.gnome.org/GNOME/vala/issues/1408
* codegen: Cast return value of generic type accessor functionsRico Tzschichholz2023-02-053-7/+7
| | | | | | Found by -Wincompatible-function-pointer-types See https://gitlab.gnome.org/GNOME/vala/issues/1408
* codegen: Perform required cast while assigning and passing function pointersRico Tzschichholz2023-02-054-12/+18
| | | | | | Found by -Wincompatible-function-pointer-types See https://gitlab.gnome.org/GNOME/vala/issues/1408
* tests: Add more Werror=... flags for clangRico Tzschichholz2023-02-051-0/+2
|
* vala: Allow more general usage of PropertyAccessor.get_method()Rico Tzschichholz2023-02-052-4/+4
|
* vala: Inherit more important attributes for PropertyAccessor methodRico Tzschichholz2023-02-051-0/+7
|
* codegen: Perform required casts for generic types of return-values and ↵Rico Tzschichholz2023-01-319-0/+492
| | | | | | | | in/out-parameters Found by -Werror=int-conversion Fixes https://gitlab.gnome.org/GNOME/vala/issues/1407
* vala: Add support for Hexadecimal floating point literalswszqkzqk2023-01-309-5/+172
| | | | https://gcc.gnu.org/onlinedocs/gcc/Hex-Floats.html#Hex-Floats
* vala: Improve missing exponent check for real literalsRico Tzschichholz2023-01-303-1/+11
|
* vala: Improve compatibility type checks of array elements in assignmentsRico Tzschichholz2023-01-309-0/+1016
|
* glib-2.0: Improve string.replace()wszqkzqk2023-01-302-70/+46
| | | | | | Use string.split() and string.joinv() which is way faster than GLib.Regex() Fixes https://gitlab.gnome.org/GNOME/vala/issues/1402
* tests: Extend string.replace() test to increase coverageRico Tzschichholz2023-01-182-0/+20
|
* codegen: Add foreach support for stringsFrederik Zipp2023-01-114-0/+80
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/108
* tests: Update c-expectedwszqkzqk2023-01-11623-623/+623
|
* codegen: Improve handling of 'extern' on Win32 and Cygwinwszqkzqk2023-01-111-1/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1398
* parser: Support one-line declaration of multiple fields in classes/structswszqkzqk2023-01-054-35/+397
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/6
* tests: Add "one-line declaration of local variables" test to increase coverageRico Tzschichholz2023-01-053-0/+33
|
* codegen: Correctly handle fixed-length array initialization of fields in classesRico Tzschichholz2023-01-049-113/+457
|
* vala: Allow to use store_field() for initializationsRico Tzschichholz2023-01-045-8/+14
|
* vala,libvaladoc: Properly check for colored terminal output on Windowswszqkzqk2023-01-042-4/+10
| | | | | | Additionally look for `_isatty()` and adjust for more possible results Fixes https://gitlab.gnome.org/GNOME/vala/issues/1383
* parser: Properly handle chained equality expressionswszqkzqk2022-12-227-34/+342
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1385
* codegen: Use a special CCodeBinaryExpression for string comparisonsRico Tzschichholz2022-12-223-8/+71
| | | | | This preserves support for recursive replacement of arguments while this expression was actually transformed into a function call.
* parser: Move parsing of IS and AS type checks to dedicated functionRico Tzschichholz2022-12-222-36/+34
|
* tests: Add "string relation" tests to increase coverageRico Tzschichholz2022-12-223-0/+49
|
* tests: Add "type check comparison" test to increase coverageRico Tzschichholz2022-12-223-0/+317
|