Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parser: Properly handle chained equality expressions | wszqkzqk | 2022-12-22 | 1 | -9/+35 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1385 | ||||
* | vala: NullLiteral is not a valid argument for string concatenation | wxx | 2021-12-08 | 1 | -1/+3 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1260 | ||||
* | Revert "Use ErrorType-based collection for CodeNode.get_error_types()" | Rico Tzschichholz | 2021-10-25 | 1 | -1/+1 |
| | | | | | | Unfortunately, it is causing issues with the way the GIR/GIDL parser works. This reverts commit 0751a9e3bf46fc830d3e7ca3d0cfd3ae48846e68. | ||||
* | Use ErrorType-based collection for CodeNode.get_error_types() | Rico Tzschichholz | 2021-10-23 | 1 | -1/+1 |
| | |||||
* | vala: Don't allow "in" operation with different enum types | Rico Tzschichholz | 2021-02-21 | 1 | -0/+5 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1139 | ||||
* | vala: Infer needle type for "in" expression on enum | Rico Tzschichholz | 2021-02-21 | 1 | -0/+5 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1138 | ||||
* | Revert errornous git push | Rico Tzschichholz | 2020-11-14 | 1 | -5/+5 |
| | | | | | | | This reverts commit 9319f309dd97532a3174de995a83884739d70460. This reverts commit 9ccdd25eaf0c57ac0cb18380b81d76a9d7113f7f. This reverts commit 6689c356dade08a0d04a4d6f3add15a71125e925. This reverts commit 4f560d0bb2753bed14b2f0688f2d3e686a39d6ca. | ||||
* | vala: More copying of dedicated data-type instances for code-nodes | Rico Tzschichholz | 2020-11-14 | 1 | -5/+5 |
| | |||||
* | vala: Use DataType.compatible() to check for string concatenation | Rico Tzschichholz | 2020-11-02 | 1 | -3/+3 |
| | | | | | | | Make the checks match the ones performed by the code-generator to prevent invalid c-code to be created. See https://gitlab.gnome.org/GNOME/vala/issues/1100 | ||||
* | vala: Make use of new printf-like API of Report.*() | Rico Tzschichholz | 2020-10-26 | 1 | -10/+10 |
| | |||||
* | Fix various typos in comments and strings | Rico Tzschichholz | 2020-08-19 | 1 | -1/+1 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/1063 | ||||
* | vala: Fix code indentation | Rico Tzschichholz | 2020-07-17 | 1 | -2/+2 |
| | |||||
* | vala: Remove some public API from expressions and statements | Rico Tzschichholz | 2020-03-24 | 1 | -3/+3 |
| | |||||
* | vala: Properly set CodeNode.error when reporting an error | Rico Tzschichholz | 2020-02-10 | 1 | -0/+1 |
| | |||||
* | vala: Fix short-circuiting behavior of coalescing operator | Jeremy Philippe | 2020-01-11 | 1 | -10/+27 |
| | | | | | | | 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 copied | Jeremy Philippe | 2020-01-08 | 1 | -0/+6 |
| | | | | | | | | 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 expressions | Jeremy Philippe | 2020-01-08 | 1 | -0/+5 |
| | | | | | | Correctly handle reference tranfers of inner expressions. Fixes https://gitlab.gnome.org/GNOME/vala/issues/892 | ||||
* | vala: Do not allow += for arrays with fixed length | Florian Brosch | 2019-10-29 | 1 | -0/+4 |
| | |||||
* | vala: Don't falsely resolve binary-expression to bool | Rico Tzschichholz | 2019-10-24 | 1 | -1/+7 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/869 | ||||
* | vala: Replace if-else-tree with switch in BinaryExpression.check() | Rico Tzschichholz | 2019-10-13 | 1 | -24/+39 |
| | |||||
* | vala: Micro optimizations | Rico Tzschichholz | 2019-09-30 | 1 | -3/+3 |
| | |||||
* | vala: Rename DataType.data_type property to DataType.type_symbol | Rico Tzschichholz | 2019-09-30 | 1 | -10/+10 |
| | |||||
* | vala: Implicit GValue cast requires GOBJECT profile | Rico Tzschichholz | 2019-07-19 | 1 | -17/+19 |
| | | | | | | | This fixes criticals like vala_data_type_get_data_type: assertion 'self != NULL' failed Regression of 7d771a0c07d63cb7605cbdc28dd8df50719731f8 | ||||
* | vala: Report error for unsupported operator instead of assertion | Rico Tzschichholz | 2019-03-27 | 1 | -1/+3 |
| | |||||
* | codegen: Move implicit GValue cast for comparison to BinaryExpression | Rico Tzschichholz | 2019-03-25 | 1 | -0/+20 |
| | | | | | | | | | Handle "==" and "!=" only as it was done before. This generates correct c-code for boxed simple-types and will perform value-based comparisons. See https://bugzilla.gnome.org/show_bug.cgi?id=585063 | ||||
* | vala: More regular invocations of check() on inferred Expression.value_type | Rico Tzschichholz | 2019-03-06 | 1 | -0/+2 |
| | |||||
* | vala: Report invalid instance member access to property | Rico Tzschichholz | 2018-12-31 | 1 | -2/+2 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/605 | ||||
* | vala: Add BinaryOperator.to_string() | Rico Tzschichholz | 2018-11-15 | 1 | -28/+28 |
| | |||||
* | vala: Fix and add more to_string() methods to expressions | Luca Bruno | 2018-10-23 | 1 | -1/+1 |
| | |||||
* | Collect error_types on demand to allow transformations | Luca Bruno | 2018-10-23 | 1 | -0/+5 |
| | |||||
* | vala: Always analyze nodes after they are inserted into the AST | Luca Bruno | 2018-10-23 | 1 | -3/+6 |
| | |||||
* | Drop trailing spaces/tabs | Rico Tzschichholz | 2018-03-27 | 1 | -8/+8 |
| | | | | It was about time to do this. | ||||
* | vala: Add dedicated BinaryExpression.chained() constructor | Rico Tzschichholz | 2017-12-14 | 1 | -3/+12 |
| | |||||
* | vala: Allow unscoped enum values where possible | Rico Tzschichholz | 2017-11-19 | 1 | -0/+18 |
| | | | | | | | | | If the scope for an enumeration value can be determined from current context it is possible to omit the enum's scope. Based on patch by Timo Kluck https://bugzilla.gnome.org/show_bug.cgi?id=666035 | ||||
* | vala: Handle non-null in coalescing expression | Marvin W | 2017-04-17 | 1 | -4/+29 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=611223 | ||||
* | vala: Avoid superfluous string copying | Rico Tzschichholz | 2016-10-30 | 1 | -1/+1 |
| | |||||
* | vala: Check accessibility of default arguments | Simon Werbeck | 2016-10-06 | 1 | -0/+4 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=648030 | ||||
* | Fix parameter names in the documentation for libvala | Ben Iofel | 2015-11-11 | 1 | -5/+5 |
| | | | | Fixes bug 755917 | ||||
* | Support XOR operation for booleans | Luca Bruno | 2014-12-05 | 1 | -3/+3 |
| | | | | Fixes bug 729907 | ||||
* | Fix critical when using binary expression in a generics context | Luca Bruno | 2014-08-29 | 1 | -0/+1 |
| | | | | Fixes bug 735117 | ||||
* | Fix comparison of nullable value types | Simon Werbeck | 2014-06-30 | 1 | -6/+6 |
| | | | | Fixes bug 678791 | ||||
* | Fix regression when coalescing: value owned if either of the two is owned | Luca Bruno | 2014-01-26 | 1 | -2/+18 |
| | |||||
* | Avoid unnecessary copies when using the coalescing operator | Luca Bruno | 2014-01-26 | 1 | -13/+9 |
| | | | | Fixes bug 661985 | ||||
* | Fix semantics for coalesce operator when target_type is null. | Luca Bruno | 2014-01-26 | 1 | -3/+11 |
| | | | | Fixes bug 639482 | ||||
* | Fix coalescing operator semantics check. | Luca Bruno | 2014-01-11 | 1 | -1/+5 |
| | | | | | | | The left operand was not put in any code block before the check, thus it wasn't able to transform itself. Fixes bug 691514. | ||||
* | Drop Dova profile | Jürg Billeter | 2012-08-06 | 1 | -43/+2 |
| | |||||
* | Improve error message for static access to instance variables | Geert Jordaens | 2012-08-02 | 1 | -0/+11 |
| | | | | Fixes bug 642254. | ||||
* | Enable flow analysis for out parameters | Luca Bruno | 2011-07-15 | 1 | -2/+2 |
| | | | | Fixes bug 638363. | ||||
* | Fix arithmetic expressions whose operands have different types | Luca Bruno | 2011-07-05 | 1 | -5/+14 |
| | |||||
* | Fix binary operations between nullable types | Luca Bruno | 2011-04-09 | 1 | -12/+25 |
| | | | | | | Based on patch by Geert Jordaens. Fixes bug 591552. |