Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | girparser: Classes are considered sealed when there were no fields found | Rico Tzschichholz | 2023-04-16 | 2 | -1/+11 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1036 | ||||
* | vala: Don't make GenericType nullable by default | Rico Tzschichholz | 2023-04-14 | 4 | -12/+11 |
| | | | | | | Allow equality between nullable and non-nullable generic-types for now Fixes https://gitlab.gnome.org/GNOME/vala/issues/1191 | ||||
* | 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 |
| | |||||
* | vala: Add GenericSymbol interface for symbols supporting type-parameters | Rico Tzschichholz | 2023-04-11 | 8 | -18/+69 |
| | |||||
* | 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 | 1 | -1/+1 |
| | |||||
* | vala: Check type-argument count of interface prerequisites | Rico Tzschichholz | 2023-04-08 | 1 | -0/+6 |
| | | | | Additionally add test case for type-argument count of class base-types | ||||
* | girparser: Apply "instance_idx" metadata for delegates | Rico Tzschichholz | 2023-04-06 | 1 | -0/+7 |
| | |||||
* | codegen: Stabilize CCode.cname for backing method of lamdba expression | Rico Tzschichholz | 2023-04-06 | 1 | -3/+1 |
| | | | | Move lambda_id generation to CCodeAttribute and use _vala_lambda%d_ pattern | ||||
* | vala: Improve initialization of namespace fields with compound literal | Rico Tzschichholz | 2023-03-27 | 1 | -1/+1 |
| | | | | | | Regression of 9c35019ef300082243ef7c71c22088c52d3db38e Fixes https://gitlab.gnome.org/GNOME/vala/issues/1424 | ||||
* | vala: Owned property accessors are not allowed for non-null simple types | Rico Tzschichholz | 2023-03-21 | 1 | -0/+6 |
| | | | | Additionally drop invalid g_value_take_* references for enums | ||||
* | vala: Allow assignment of namespace fields with inline allocated arrays | Rico Tzschichholz | 2023-03-20 | 1 | -1/+4 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/945 | ||||
* | vala: Set proper value-type of unary ref/out expression in initializers | Rico Tzschichholz | 2023-03-19 | 2 | -5/+7 |
| | | | | | | So the expected pointer-type for these expressions is available in AST. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1421 | ||||
* | vala: Correctly handle pre/post-increment expression as index of element access | Rico Tzschichholz | 2023-03-08 | 1 | -1/+1 |
| | | | | | | Regression of cb1828cfc5273aca752de9b39a77e0cd53305e61 Fixes https://gitlab.gnome.org/GNOME/vala/issues/1417 | ||||
* | Require and target GLib >= 2.56 | Rico Tzschichholz | 2023-02-28 | 1 | -1/+1 |
| | | | | | | | 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 | ||||
* | vala: Replace '.' with ':' in SourceReference.to_string() | Lorenz Wildberg | 2023-02-26 | 1 | -1/+1 |
| | | | | | This makes it possible to click on the file path and let the location being opened in the editor. | ||||
* | vala: Better handling of [NoReturn] call inside finally clause | Rico Tzschichholz | 2023-02-06 | 1 | -1/+3 |
| | | | | | | | | | 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 | ||||
* | vala: Allow more general usage of PropertyAccessor.get_method() | Rico Tzschichholz | 2023-02-05 | 1 | -1/+1 |
| | |||||
* | vala: Inherit more important attributes for PropertyAccessor method | Rico Tzschichholz | 2023-02-05 | 1 | -0/+7 |
| | |||||
* | vala: Add support for Hexadecimal floating point literals | wszqkzqk | 2023-01-30 | 2 | -5/+46 |
| | | | | https://gcc.gnu.org/onlinedocs/gcc/Hex-Floats.html#Hex-Floats | ||||
* | vala: Improve missing exponent check for real literals | Rico Tzschichholz | 2023-01-30 | 1 | -1/+1 |
| | |||||
* | vala: Improve compatibility type checks of array elements in assignments | Rico Tzschichholz | 2023-01-30 | 1 | -0/+6 |
| | |||||
* | codegen: Add foreach support for strings | Frederik Zipp | 2023-01-11 | 1 | -0/+2 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/108 | ||||
* | parser: Support one-line declaration of multiple fields in classes/structs | wszqkzqk | 2023-01-05 | 1 | -35/+38 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/6 | ||||
* | vala: Allow to use store_field() for initializations | Rico Tzschichholz | 2023-01-04 | 2 | -2/+2 |
| | |||||
* | vala,libvaladoc: Properly check for colored terminal output on Windows | wszqkzqk | 2023-01-04 | 1 | -2/+5 |
| | | | | | | Additionally look for `_isatty()` and adjust for more possible results Fixes https://gitlab.gnome.org/GNOME/vala/issues/1383 | ||||
* | parser: Properly handle chained equality expressions | wszqkzqk | 2022-12-22 | 2 | -32/+39 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1385 | ||||
* | parser: Move parsing of IS and AS type checks to dedicated function | Rico Tzschichholz | 2022-12-22 | 2 | -36/+34 |
| | |||||
* | vala: Add support for binary/octal integer literal | 星外之神 | 2022-12-08 | 3 | -30/+137 |
| | |||||
* | vala: Improve integer literal checks | Rico Tzschichholz | 2022-12-08 | 1 | -1/+30 |
| | |||||
* | Fix output decoding error of non-ASCII character on Win32 | wszqkzqk | 2022-11-27 | 2 | -6/+6 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1379 | ||||
* | Actually use printf-like way of Report.*() | Rico Tzschichholz | 2022-11-20 | 1 | -4/+4 |
| | |||||
* | vala: Fix assignment operators for element access | Simon Werbeck | 2022-11-14 | 1 | -0/+30 |
| | | | | | | | This transforms an assignment to element access other than `=' to a binary expression i.e. `a[b] += 1' will become `a.set(a.get(b) + 1)' Fixes https://gitlab.gnome.org/GNOME/vala/issues/135 | ||||
* | vala: Minor scanner optimization | wszqkzqk | 2022-11-14 | 2 | -10/+10 |
| | |||||
* | vala: Add support for verbatim template string | 星外之神 | 2022-10-30 | 6 | -22/+90 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1373 | ||||
* | vala: Report error in real literal if exponent has no digits | 星外之神 | 2022-10-26 | 1 | -0/+5 |
| | |||||
* | vala: Avoid problems with '\' in #line directives on Windows | 星外之神 | 2022-08-28 | 1 | -1/+8 |
| | | | | | | | | | | | Replace '\' with '/' in SourceFile.relative_path like in CodeContext.realpath(). F:/msys64/home/x/test/test.vala.c: In function '_vala_main': F:/msys64/home/x/test/test.vala.c:12:9: warning: unknown escape sequence: '\M' 12 | #line 3 "C:\MyFiles\test.vala" | ^~~~~~~~~~~~~~~~~~~~~~ Fixes https://gitlab.gnome.org/GNOME/vala/issues/1353 | ||||
* | vala: Make try-statement parsing more resilient | Rico Tzschichholz | 2022-08-15 | 1 | -1/+3 |
| | | | | | | Regression of f5934184d050d1a19f394fdab6f2ee66ff30965f Fixes https://gitlab.gnome.org/GNOME/vala/issues/1304 | ||||
* | vala: Enforce required type-arguments on parameter/return types of callables | Rico Tzschichholz | 2022-08-09 | 4 | -0/+18 |
| | | | | | | This stricter check applies to delegate types in source files only. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1342 | ||||
* | vala: Don't unconditionally expect ObjectType of Class | Rico Tzschichholz | 2022-07-30 | 1 | -1/+1 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1341 | ||||
* | vala: Avoid critical in SourceFile.get_mapped_length() | Rico Tzschichholz | 2022-06-14 | 1 | -0/+4 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/1330 | ||||
* | vala: Improve accessibility check inside member initializer | Rico Tzschichholz | 2022-04-04 | 2 | -4/+44 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1300 | ||||
* | vala: Don't allow nullable enum value as real GObject property | Rico Tzschichholz | 2022-03-29 | 1 | -0/+4 |
| | | | | | | It is basically a boxed integer value. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1074 | ||||
* | girparser: Don't count instance-parameter when checking for backwards ↵ | Rico Tzschichholz | 2022-03-04 | 1 | -2/+4 |
| | | | | | | closure reference Fixes https://gitlab.gnome.org/GNOME/vala/issues/721 | ||||
* | girparser: Add support for "copy_/free_function" metadata for compact classes | Rico Tzschichholz | 2022-02-28 | 1 | -0/+8 |
| | |||||
* | girparser: Handle duplicated and unnamed symbols | Rico Tzschichholz | 2022-02-28 | 1 | -0/+12 |
| | | | | Issue warnings and skip such symbols to avoid errors on vala's side. |