Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | girparser: Pick up type_id of error domains | Rico Tzschichholz | 2022-02-24 | 1 | -2/+1 |
| | |||||
* | codegen: Emit GType definition for error domains | Rico Tzschichholz | 2022-02-24 | 1 | -0/+16 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/699 | ||||
* | vala: Allow delegate without target to be used as constant type | Rico Tzschichholz | 2022-02-22 | 1 | -0/+3 |
| | |||||
* | vala: Keep error-code symbol reference in callable expression context | Rico Tzschichholz | 2022-02-22 | 1 | -2/+4 |
| | |||||
* | vala: Add common CallableExpression.call property API | Rico Tzschichholz | 2022-02-22 | 3 | -6/+15 |
| | |||||
* | vala: Drop unused MemberAccess.creation_member property API | Rico Tzschichholz | 2022-02-22 | 4 | -15/+1 |
| | |||||
* | vala: Member reference for ObjectCreationExpression is never null | Rico Tzschichholz | 2022-02-22 | 1 | -62/+48 |
| | |||||
* | vala: Only add catch clause if an inner error is possible | Rico Tzschichholz | 2022-02-11 | 1 | -7/+11 |
| | | | | See d9f702289b4b39683d0c9361e1ea02fd51ecae22 | ||||
* | vala: Catch and throw possible inner error of lock statements | Rico Tzschichholz | 2022-02-10 | 1 | -1/+9 |
| | | | | | | See 40c1dbfbfedb6c4a6b88df045eb1c2e7bdd38d93 Fixes https://gitlab.gnome.org/GNOME/vala/issues/83 | ||||
* | vala: Clear SemanticAnalyzer.current_{symbol,source_file} when not needed ↵ | Rico Tzschichholz | 2022-02-09 | 1 | -0/+3 |
| | | | | anymore | ||||
* | vala: Free empty stack list for code contexts | Rico Tzschichholz | 2022-02-09 | 1 | -0/+5 |
| | | | | | | While having the stack list created on demand, make sure to destroy it when it is not required anymore. Otherwise it will be leaked without an option to avoid that to happen. | ||||
* | vala: Remove some public API from symbols and types | Rico Tzschichholz | 2022-02-06 | 5 | -6/+6 |
| | |||||
* | parser: Clean up creation of constant declaration | Rico Tzschichholz | 2022-02-06 | 1 | -6/+8 |
| |