Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add native support to specify non default length-type for arrays | Rico Tzschichholz | 2022-01-04 | 1 | -0/+5 |
| | | | | | | | | | | string[:long] foo = new string[:long] { "foo" }; This applies to generated bindings where this new syntax will be picked up. It will apply a stricter variable type checking for such array types. Fixes https://gitlab.gnome.org/GNOME/vala/issues/607 | ||||
* | Revert "Use ErrorType-based collection for CodeNode.get_error_types()" | Rico Tzschichholz | 2021-10-25 | 1 | -2/+2 |
| | | | | | | 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 | -2/+2 |
| | |||||
* | vala: Improve CodeWriter.visit_catch_clause() | Rico Tzschichholz | 2021-10-23 | 1 | -3/+6 |
| | | | | Properly output general catch clause | ||||
* | vala: Implement CodeWriter.visit_foreach_statement() | Rico Tzschichholz | 2021-10-23 | 1 | -0/+9 |
| | |||||
* | codewriter: Don't write trailing ";" after body of WithStatement | Rico Tzschichholz | 2021-02-16 | 1 | -1/+0 |
| | |||||
* | codewriter: Output valid vala syntax for LoopStatement | Rico Tzschichholz | 2021-02-16 | 1 | -1/+3 |
| | |||||
* | vala: Rename Loop to LoopStatement and introduce a common base class | Rico Tzschichholz | 2021-02-01 | 1 | -1/+1 |
| | |||||
* | codewriter: Append new-line for nested block statements | Rico Tzschichholz | 2021-01-25 | 1 | -0/+3 |
| | |||||
* | codewriter: Wrap AddressofExpression and PointerIndirection in parens | Rico Tzschichholz | 2020-12-21 | 1 | -2/+4 |
| | |||||
* | vala: Make use of new printf-like API of Report.*() | Rico Tzschichholz | 2020-10-26 | 1 | -1/+1 |
| | |||||
* | Fix various typos in comments and strings | Rico Tzschichholz | 2020-08-19 | 1 | -1/+1 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/1063 | ||||
* | Add support for "with" statement | Nick Schrader | 2020-06-02 | 1 | -0/+10 |
| | | | | | | | | | | | | | | | | | | | Creates data type scoped blocks which allow implicit member access to the given expression or declaration statement. with (expr) { ...; } Within the with-block the expression's members can be directly accessed without the member access operator. Members may hide local, class and instance varibales with the same name. Instance variables are still accessible through this. A local variable can be directly declared in the with statement header. Hidden local and class variables are currently not directly accessible (using this for class members generates the expected warning). Fixes https://gitlab.gnome.org/GNOME/vala/issues/327 | ||||
* | vala: Handle all ctors and dtors in CodeWriter | Rico Tzschichholz | 2020-03-29 | 1 | -0/+48 |
| | |||||
* | vala: Handle unlock() statement in CodeWriter | Rico Tzschichholz | 2020-03-29 | 1 | -0/+8 |
| | |||||
* | codewriter: Output inner interface declarations | Rico Tzschichholz | 2020-03-06 | 1 | -0/+2 |
| | | | | | | Missing in d79401ad13a4bc5121f5ae187547c53b6a0a7701 Fixes https://gitlab.gnome.org/GNOME/vala/issues/918 | ||||
* | Add support for sealed classes in bindings | Rico Tzschichholz | 2020-02-19 | 1 | -0/+3 |
| | | | | | | | | | The "sealed" keyword was available and parsed for a long time. So simply pick it up information and expose it in the AST. Issue an error when it is used in vala source. See https://gitlab.gnome.org/GNOME/vala/issues/278 | ||||
* | vala: Write value of constants/enums in fast-vapi if they are constant only | Rico Tzschichholz | 2019-11-05 | 1 | -2/+2 |
| | | | | | | Introduced by 89a1243a4f066cc9652b26f86eb94fd038874982 Fixes https://gitlab.gnome.org/GNOME/vala/issues/461 | ||||
* | vala: Micro optimizations | Rico Tzschichholz | 2019-09-30 | 1 | -2/+2 |
| | |||||
* | codewriter: Write "weak" modifier for properties | Jeremy Philippe | 2019-09-02 | 1 | -0/+4 |
| | |||||
* | vala: Strip "basedir" from Source.filename attribute | Rico Tzschichholz | 2019-05-20 | 1 | -1/+5 |
| | | | | | This is gives some control over the written relative filenames and fixes make distcheck due of out-of-source-dir building. | ||||
* | vala: Trust "value_owned" when writing property getter | Rico Tzschichholz | 2019-05-16 | 1 | -1/+1 |
| | |||||
* | vala: Write "Source" attribute in fast-vapi mode | Rico Tzschichholz | 2019-04-18 | 1 | -0/+13 |
| | | | | | | This enables users to reference to the original source of a symbol. [Source (filename = "...", line = ..., column = ...)] | ||||
* | vala: Use new to_string() methods of enumerations in CodeWriter | Rico Tzschichholz | 2018-11-15 | 1 | -109/+11 |
| | |||||
* | Collect error_types on demand to allow transformations | Luca Bruno | 2018-10-23 | 1 | -2/+6 |
| | |||||
* | vala: Enforce "return yield ..." syntax to be expected | Rico Tzschichholz | 2018-09-22 | 1 | -4/+0 |
| | | | | | | "yield return ..." wasn't handled correctly and resulted in broken c-code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/675 | ||||
* | codewriter: Prepend "yield" if is_yield_expression is set on ↵ | Rico Tzschichholz | 2018-09-22 | 1 | -0/+8 |
| | | | | MethodCall/ObjectCreationExpression | ||||
* | codewriter: Use List.sort() instead of custom local implementation | Rico Tzschichholz | 2018-09-18 | 1 | -19/+2 |
| | |||||
* | Use dedicated version api of libvala internally as well | Rico Tzschichholz | 2018-08-09 | 1 | -1/+1 |
| | |||||
* | codewriter: Output bodies of code-blocks if in VAPIGEN mode | Rico Tzschichholz | 2018-07-05 | 1 | -4/+6 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/231 | ||||
* | codewriter: Add 'new' to symbols if needed to match the original source | Rico Tzschichholz | 2018-04-24 | 1 | -4/+21 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=614686 | ||||
* | Drop trailing spaces/tabs | Rico Tzschichholz | 2018-03-27 | 1 | -29/+29 |
| | | | | It was about time to do this. | ||||
* | codewriter: Don't use string.replace() to apply header_to_override | Rico Tzschichholz | 2018-01-18 | 1 | -1/+7 |
| | | | | | | The underlying regex causes faulty replacements. https://bugzilla.gnome.org/show_bug.cgi?id=731322 | ||||
* | Don't create constant Regex on demand and use static field where possible | Rico Tzschichholz | 2016-11-01 | 1 | -2/+4 |
| | |||||
* | writer: Some string optimizations | Rico Tzschichholz | 2016-11-01 | 1 | -15/+10 |
| | |||||
* | Add missing generic-type arguments of delegates | Rico Tzschichholz | 2016-10-08 | 1 | -2/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=772204 | ||||
* | Introduce [Version (...)] | Florian Brosch | 2016-01-30 | 1 | -0/+20 |
| | | | | | | | | | | | | | | | | | Parameters: since: string, version number experimental: bool (was: [Experimental]) experimental_until: string, version number deprecated_since: string, version number (was: [Deprecated (since="")]) replacement: string, symbol name (was: [Deprecated (replacement="")]) deprecated: bool (was: [Deprecated]) Used symbols labeled with [Version (since = "")] are checked against the locally installed package version. Use --disable-since-check to avoid this behaviour. Fixes bug 678912. | ||||
* | Added option --vapi-comments to include comments in vapi-files | Richard Wiedenhöft | 2014-09-03 | 1 | -0/+97 |
| | |||||
* | Support non-literal length in fixed-size arrays | Simon | 2014-03-30 | 1 | -1/+3 |
| | | | | | | | Now any constant integer expression can be used as length for fixed-size arrays. Fixes bug 638993 | ||||
* | codewriter: Emit 'unowned' keyword for local variables | Simon | 2014-03-14 | 1 | -0/+3 |
| | | | | Fixes bug 726312 | ||||
* | codewriter: Fix spacing for property accessor attributes | Jürg Billeter | 2014-02-03 | 1 | -3/+3 |
| | |||||
* | codewriter: Support fixed-length arrays | Jürg Billeter | 2012-08-06 | 1 | -1/+12 |
| | | | | Fixes bug 618689. | ||||
* | Drop Dova profile | Jürg Billeter | 2012-08-06 | 1 | -8/+5 |
| | |||||
* | Support 'using' directive with nested namespace in fast-vapi | Simon Werbeck | 2012-07-18 | 1 | -1/+18 |
| | | | | Fixes bug 672960. | ||||
* | codewriter: Write type parameters for struct declaration | Luca Bruno | 2011-08-17 | 1 | -0/+2 |
| | | | | | | Based on patch by Andre Masella. Fixes bug 656708. | ||||
* | codewriter: Factorize writing type parameters in write_type_parameters | Luca Bruno | 2011-08-17 | 1 | -56/+20 |
| | |||||
* | codewriter: Do not use C specific methods of code nodes | Luca Bruno | 2011-08-01 | 1 | -561/+78 |
| | |||||
* | codewriter: Reorder attributes and arguments | Luca Bruno | 2011-08-01 | 1 | -242/+232 |
| | |||||
* | codewriter: Write simple_generics argument for methods | Luca Bruno | 2011-06-28 | 1 | -0/+4 |
| | |||||
* | codewriter: Write lower_case_cprefix for classes | Luca Bruno | 2011-06-27 | 1 | -0/+4 |
| |