Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | tests: Add missing instance fields to GIR test files | Rico Tzschichholz | 2023-04-16 | 8 | -0/+24 |
| | |||||
* | vapi: Regenerate bindings for GenericType change | Rico Tzschichholz | 2023-04-14 | 1 | -1/+1 |
| | |||||
* | vala: Don't make GenericType nullable by default | Rico Tzschichholz | 2023-04-14 | 13 | -17/+206 |
| | | | | | | Allow equality between nullable and non-nullable generic-types for now Fixes https://gitlab.gnome.org/GNOME/vala/issues/1191 | ||||
* | codegen: Fix usage of lambda-expression from delegate initializer | Rico Tzschichholz | 2023-04-13 | 4 | -0/+1290 |
| | | | | | | | Unset delegate-type if a lambda-expression handler was found to use the correct code paths. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1428 | ||||
* | codegen: Return CCodeInvalidExpression instead of null | Rico Tzschichholz | 2023-04-13 | 3 | -5/+14 |
| | | | | | | | | | This fixes the following criticals: vala_ccode_cast_expression_construct: assertion 'expr != NULL' failed vala_ccode_function_call_add_argument: assertion 'expr != NULL' failed Remove dead code, this is already handled in get_dup_func_expression() | ||||
* | vala: Improve check of type_referene in ObjectCreationExpression | Lorenz Wildberg | 2023-04-11 | 1 | -14/+12 |
| | |||||
* | vala: Check type-arguments in more declarations | Rico Tzschichholz | 2023-04-11 | 7 | -12/+7 |
| | |||||
* | girparser: Add support for type_parameters, implements and prerequisites ↵ | Rico Tzschichholz | 2023-04-11 | 1 | -1/+129 |
| | | | | metadata | ||||
* | vala: Don't report consequential error when base_method is incompatible already | Rico Tzschichholz | 2023-04-11 | 1 | -1/+2 |
| | |||||
* | valadoc: Add missing generic type arguments | Rico Tzschichholz | 2023-04-11 | 2 | -6/+6 |
| | |||||
* | vala: Add GenericSymbol interface for symbols supporting type-parameters | Rico Tzschichholz | 2023-04-11 | 8 | -18/+69 |
| | |||||
* | gee: Add more missing generic type arguments | Rico Tzschichholz | 2023-04-08 | 2 | -2/+2 |
| | |||||
* | gee: Fix return-type of HashMap.MapIterator.get_key()/get_value() | Rico Tzschichholz | 2023-04-08 | 1 | -2/+2 |
| | | | | They didn't match the declarations in Vala.MapIterator interface. | ||||
* | vala: Improve error message for wrong number of type-arguments | Rico Tzschichholz | 2023-04-08 | 2 | -4/+4 |
| | |||||
* | vala: Improve Symbol.to_string() to include TypeParameters | Rico Tzschichholz | 2023-04-08 | 1 | -1/+27 |
| | |||||
* | Use already available glib_ns instead of root_symbol.scope.lookup ("GLib") | Rico Tzschichholz | 2023-04-08 | 2 | -3/+3 |
| | |||||
* | vala: Check type-argument count of interface prerequisites | Rico Tzschichholz | 2023-04-08 | 6 | -0/+50 |
| | | | | Additionally add test case for type-argument count of class base-types | ||||
* | gio-2.0: Add missing type-argument in ListStore.find_with_equal_func_full() | Rico Tzschichholz | 2023-04-07 | 2 | -1/+2 |
| | |||||
* | gio-2.0: Add new symbols from 2.76 | Rico Tzschichholz | 2023-04-06 | 2 | -5/+56 |
| | |||||
* | girparser: Apply "instance_idx" metadata for delegates | Rico Tzschichholz | 2023-04-06 | 1 | -0/+7 |
| | |||||
* | glib-2.0: Fix a few binding errors | Rico Tzschichholz | 2023-04-06 | 1 | -7/+6 |
| | |||||
* | gtk+-3.0: Fix a few binding issues | Rico Tzschichholz | 2023-04-06 | 2 | -17/+3 |
| | |||||
* | gtk4: Fix a few binding errors | Rico Tzschichholz | 2023-04-06 | 5 | -17/+23 |
| | |||||
* | libvaladoc: Make better use of properties | Rico Tzschichholz | 2023-04-06 | 6 | -59/+32 |
| | |||||
* | valadoc: Check correct value for null when looking for return comment | Rico Tzschichholz | 2023-04-06 | 1 | -3/+3 |
| | |||||
* | glib-2.0: Add new symbols from 2.76 | Rico Tzschichholz | 2023-04-06 | 1 | -0/+50 |
| | |||||
* | codegen: Stabilize CCode.cname for backing method of lamdba expression | Rico Tzschichholz | 2023-04-06 | 98 | -1542/+1545 |
| | | | | Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern | ||||
* | g-i: Fix compiling with mingw clang | Biswapriyo Nath | 2023-04-04 | 1 | -5/+8 |
| | | | | | | | | This adds the return type with GetFullPathNameA declaration. Otherwise the following error is shown with clang 16 grealpath.h:29:19: error: type specifier missing, defaults to 'int'; ISO C99 and later do not support implicit int [-Wimplicit-int] | ||||
* | Sync NEWS from 0.56 | Rico Tzschichholz | 2023-04-04 | 1 | -0/+11 |
| | |||||
* | vapi: Drop webkit2gtk-5.0 bindings | Rico Tzschichholz | 2023-04-01 | 11 | -6742/+0 |
| | |||||
* | webkit2gtk-6.0: Update to 2.40.0 | Rico Tzschichholz | 2023-04-01 | 4 | -21/+320 |
| | |||||
* | webkit2gtk-4.1: Update to 2.40.0 | Rico Tzschichholz | 2023-04-01 | 4 | -43/+145 |
| | |||||
* | webkit2gtk-4.0: Update to 2.40.0 | Rico Tzschichholz | 2023-04-01 | 6 | -43/+162 |
| | |||||
* | vala: Improve initialization of namespace fields with compound literal | Rico Tzschichholz | 2023-03-27 | 7 | -6/+188 |
| | | | | | | Regression of 9c35019ef300082243ef7c71c22088c52d3db38e Fixes https://gitlab.gnome.org/GNOME/vala/issues/1424 | ||||
* | Sync NEWS from 0.56 | Rico Tzschichholz | 2023-03-25 | 1 | -0/+22 |
| | |||||
* | codegen: Minor refactoring of TypeRegisterFunction and its subclasses | Rico Tzschichholz | 2023-03-21 | 6 | -66/+41 |
| | |||||
* | codegen: Use G_TYPE_FLAG_NONE when targetting glib >= 2.74 | Rico Tzschichholz | 2023-03-21 | 3 | -1/+8 |
| | |||||
* | tests: Extend "struct-typed properties" tests to increase coverage | Rico Tzschichholz | 2023-03-21 | 5 | -12/+946 |
| | |||||
* | tests: Add "signal with struct parameter" test to increase coverage | Rico Tzschichholz | 2023-03-21 | 3 | -0/+451 |
| | |||||
* | vala: Owned property accessors are not allowed for non-null simple types | Rico Tzschichholz | 2023-03-21 | 4 | -15/+19 |
| | | | | Additionally drop invalid g_value_take_* references for enums | ||||
* | gtk+-3.0: Fix ToolPalette.icon_size get-accessor type | Rico Tzschichholz | 2023-03-21 | 2 | -2/+2 |
| | |||||
* | vala: Allow assignment of namespace fields with inline allocated arrays | Rico Tzschichholz | 2023-03-20 | 5 | -1/+66 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/945 | ||||
* | tests: Fix -Werror=array-bounds failure | Rico Tzschichholz | 2023-03-20 | 2 | -2/+2 |
| | |||||
* | vala: Set proper value-type of unary ref/out expression in initializers | Rico Tzschichholz | 2023-03-19 | 7 | -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 interfaces | Rico Tzschichholz | 2023-03-18 | 1 | -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 implementation | Rico Tzschichholz | 2023-03-18 | 1 | -10/+1 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1420 | ||||
* | tests: Drop superfluous GLIB_2_56 preprocessing | Rico Tzschichholz | 2023-03-18 | 1 | -3/+0 |
| | |||||
* | gtk4: Add sealed to all the final types | Corentin Noël | 2023-03-16 | 2 | -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 Tzschichholz | 2023-03-13 | 4 | -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 implementations | Rico Tzschichholz | 2023-03-13 | 4 | -6/+210 |
| | | | | Found by -Werror=int-conversion |