Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | girparser: Classes are considered sealed when there were no fields found | Rico Tzschichholz | 2023-04-16 | 1 | -0/+10 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1036 | ||||
* | girparser: Add support for type_parameters, implements and prerequisites ↵ | Rico Tzschichholz | 2023-04-11 | 1 | -1/+129 |
| | | | | metadata | ||||
* | girparser: Apply "instance_idx" metadata for delegates | Rico Tzschichholz | 2023-04-06 | 1 | -0/+7 |
| | |||||
* | 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 |
| | |||||
* | girparser: Avoid possibily creating duplicated attributes | Rico Tzschichholz | 2021-12-15 | 1 | -2/+2 |
| | | | | | Don't append an attribute without checking if there is an existing one. In case the attribute already exists append the new key/value pairs. | ||||
* | girparser: Accept "sealed" for transformed records and compact classes | Rico Tzschichholz | 2021-10-30 | 1 | -0/+8 |
| | |||||
* | Revert "Use ErrorType-based collection for CodeNode.get_error_types()" | Rico Tzschichholz | 2021-10-25 | 1 | -3/+3 |
| | | | | | | 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 | -3/+3 |
| | |||||
* | girparser: Add support for "ref_/ref_sink_/unref_function" metadata for classes | Rico Tzschichholz | 2021-10-14 | 1 | -0/+22 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1233 | ||||
* | girwriter: Improve struct creation method binding | Princeton Ferro | 2021-08-18 | 1 | -3/+22 |
| | | | | | Struct creation methods are supposed to have `void` return type and take an implicit `self` as the first instance parameter. | ||||
* | girparser: Add support for "final" class attribute | Rico Tzschichholz | 2021-08-05 | 1 | -1/+1 |
| | |||||
* | girparser: Improve instance method detection | Rico Tzschichholz | 2021-08-05 | 1 | -3/+29 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/1210 | ||||
* | girparser: Add "move-to" value of functions as Version.replacement | Rico Tzschichholz | 2021-08-05 | 1 | -0/+1 |
| | |||||
* | girparser: Never skip "function" elements | Rico Tzschichholz | 2021-08-05 | 1 | -4/+4 |
| | |||||
* | girparser: Don't guess length of xml header, iterate forward to <repository> | Rico Tzschichholz | 2021-03-19 | 1 | -3/+7 |
| | | | | | | | If e.g. the xml header is missing, it resulted in errors like: error: expected start element of `repository' error: unsupported GIR version (null) (supported: 1.2) | ||||
* | girparser: Add support for NoWrapper metadata for methods | Rico Tzschichholz | 2021-03-16 | 1 | -2/+6 |
| | |||||
* | girparser: Handle empty "<type/>" element and report an error | Rico Tzschichholz | 2021-03-15 | 1 | -1/+10 |
| | |||||
* | girparser: Allow overriding of "Compact" attribute for classes | Rico Tzschichholz | 2021-03-14 | 1 | -1/+6 |
| | |||||
* | girparser: Evaluate "glib:type-struct" twice to pick up reparented structs | Rico Tzschichholz | 2021-03-04 | 1 | -16/+30 |
| | |||||
* | girparser: Reuse populated Node.gtype_struct_for instead of resolving again | Rico Tzschichholz | 2021-03-03 | 1 | -2/+1 |
| | | | | This fixes the discovery of non-default type_cname for re-parented symbols. | ||||
* | girparser: Set CCode.type_cname for classes if it doesn't match our default | Rico Tzschichholz | 2021-01-31 | 1 | -3/+6 |
| | |||||
* | girparser: Apply "type_get_function" metadata for classes and inferfaces | Rico Tzschichholz | 2021-01-30 | 1 | -0/+8 |
| | |||||
* | girparser: Apply "destroy_notify_cname" metadata for fields | Rico Tzschichholz | 2021-01-26 | 1 | -0/+4 |
| | |||||
* | girparser: Apply "delegate_target" metadata for methods and parameters | Rico Tzschichholz | 2021-01-25 | 1 | -0/+6 |
| | |||||
* | girparser: Discover our very own array length fields | Rico Tzschichholz | 2021-01-19 | 1 | -0/+3 |
| | |||||
* | vala: Make Class.is_compat/is_immutable/is_singleton read-only | Rico Tzschichholz | 2021-01-19 | 1 | -2/+2 |
| | |||||
* | girparser: Minor improvement to field getter detection | Rico Tzschichholz | 2021-01-14 | 1 | -3/+7 |
| | | | | | | Allow DataType.compatible() to be called without initialized SemanticAnalyzer Additionally report a warning if field collides with method | ||||
* | girparser: Handle anonymous delegate not backed by virtual-method or signal | Rico Tzschichholz | 2021-01-14 | 1 | -0/+22 |
| | |||||
* | vala: Make use of new printf-like API of Report.*() | Rico Tzschichholz | 2020-10-26 | 1 | -27/+27 |
| | |||||
* | girparser: Additionally fallback to "glib:type-name" to retrieve the cname | Rico Tzschichholz | 2020-08-24 | 1 | -0/+3 |
| | |||||
* | Fix various typos in comments and strings | Rico Tzschichholz | 2020-08-19 | 1 | -1/+1 |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/1063 | ||||
* | girparser: Add support for string "feature_test_macro" metadata | Rico Tzschichholz | 2020-08-05 | 1 | -0/+5 |
| | |||||
* | girparser: Skip 'docsection' elements in <namespace> | Rico Tzschichholz | 2020-07-23 | 1 | -0/+2 |
| | | | | See https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/226 | ||||
* | girparser: Warn about conflicting signals and properties | Rico Tzschichholz | 2020-07-17 | 1 | -0/+1 |
| | |||||
* | girparser: Actually respect given cprefix metadata for enumerations | Rico Tzschichholz | 2020-06-17 | 1 | -2/+8 |
| | |||||
* | girparser: Add support for boolean "new" argument for methods | Rico Tzschichholz | 2020-05-18 | 1 | -0/+4 |
| | |||||
* | girparser: Improve detection of AsyncReadyCallback/AsyncResult parameters | Rico Tzschichholz | 2020-04-19 | 1 | -10/+23 |
| | |||||
* | girparser: Drop special handling of GLib.Data, GLib.PtrArray and GLib.String | Rico Tzschichholz | 2020-04-19 | 1 | -9/+0 |
| | |||||
* | girparser: Move special handling for certain parameters to process_callable() | Rico Tzschichholz | 2020-04-19 | 1 | -34/+36 |
| | | | | | | - Detect delegate throwing error when GLib.Error out-parameter exists - Mark method as async based on finding an AsyncReadyCallback parameter - Apply null-literal default-value for trailing GLib.Cancellable? parameters | ||||
* | girparser: Strip "Enum"-suffix only from enumeration | Rico Tzschichholz | 2020-03-25 | 1 | -1/+5 |
| | | | | | | | This lead to superfluous symbol clashes when applied widely. e.g. GLib.ParamSpecEnum which is subclass of GLib.ParamSpec Introduced with 37201b0016a6f710dea6c9db08ff351641086686 | ||||
* | girparser: Delay adding of "GLib.Object" prerequisite to interfaces | Princeton Ferro | 2020-03-03 | 1 | -3/+12 |
| | |||||
* | girparser: Decrease return_array_length_idx for transformed function | Rico Tzschichholz | 2020-03-02 | 1 | -0/+1 |
| | |||||
* | Add support for sealed classes in bindings | Rico Tzschichholz | 2020-02-19 | 1 | -0/+2 |
| | | | | | | | | | 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 | ||||
* | girparser: Report a warning for conflicting class and instance methods | Rico Tzschichholz | 2020-02-16 | 1 | -0/+3 |
| | |||||
* | girparser: Apply explicitly given ctype metadata attributes on callables | Rico Tzschichholz | 2020-01-20 | 1 | -0/+9 |
| | |||||
* | girparser: Improve source_reference of parameters | Rico Tzschichholz | 2020-01-20 | 1 | -2/+11 |
| | |||||
* | vala: Let the parser have set namespace members as static | Rico Tzschichholz | 2019-11-24 | 1 | -2/+10 |
| | | | | ... and move error reporting for invalid members into check() |