Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | gidl/girparser: Creation methods must not be marked as static | Rico Tzschichholz | 2019-11-17 | 1 | -1/+0 | |
| | ||||||
* | girparser: Detect and replace "-" in parameter names | Rico Tzschichholz | 2019-10-22 | 1 | -0/+3 | |
| | | | | ... to avoid generating bindings with invalid syntax. | |||||
* | girparser: Add required copy/free attributes for gtype-boxed structs | Rico Tzschichholz | 2019-10-08 | 1 | -0/+8 | |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/863 | |||||
* | vala: Rename DataType.data_type property to DataType.type_symbol | Rico Tzschichholz | 2019-09-30 | 1 | -3/+3 | |
| | ||||||
* | girparser/gidlparser: "value_owned = true" by default for property types | Rico Tzschichholz | 2019-09-02 | 1 | -0/+3 | |
| | | | | | This represents an internal implementation detail which is available from vala sources and it does not effect the ownership of property accessors. | |||||
* | girparser: Improve evalution of instance-parameter information | Rico Tzschichholz | 2019-08-28 | 1 | -5/+19 | |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/836 | |||||
* | girparser: Handle "function-macro" by skipping them | Rico Tzschichholz | 2019-07-22 | 1 | -0/+14 | |
| | | | | See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/159 | |||||
* | vala: Add Symbol.is_extern and use/set is accordingly | Rico Tzschichholz | 2019-07-04 | 1 | -16/+0 | |
| | | | | | | | | This actually holds the information whether a symbol was declared with `extern` modificator. Adjust the setting of Symbol.external and usage of Symbol.external_package. See https://gitlab.gnome.org/GNOME/vala/issues/745 | |||||
* | girparser: Skip 'attribute' elements | Rico Tzschichholz | 2019-06-15 | 1 | -0/+4 | |
| | ||||||
* | girparser: Add support for string "ctype" metadata | Rico Tzschichholz | 2019-05-07 | 1 | -2/+7 | |
| | | | | https://gitlab.gnome.org/GNOME/vala/issues/793 | |||||
* | girparser: Create correct output in get_default_lower_case_suffix() | Rico Tzschichholz | 2019-03-28 | 1 | -1/+17 | |
| | | | | | | | | It must match the output of CCodeAttribute.get_default_lower_case_suffix() Add metadata support to set lower_case_csuffix See https://gitlab.gnome.org/GNOME/vala/issues/778 | |||||
* | girparser: Correctly set array_length_type for delegates returning an array | Rico Tzschichholz | 2019-02-20 | 1 | -6/+2 | |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/754 | |||||
* | girparser: Recognize error parameter before delegate target parameter | Rico Tzschichholz | 2019-01-10 | 1 | -1/+16 | |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/265 | |||||
* | vala: Async methods don't allow out-parameters before in-parameters | Rico Tzschichholz | 2019-01-08 | 1 | -0/+14 | |
| | | | | | | | | | out-parameters are always handled in the *_finish implementation and therefore are asynchronous. Report an error for occurances in source and a warning for GIR sources where convert them to pointer-types to create a usuable signature for bindings. Fixes https://gitlab.gnome.org/GNOME/vala/issues/636 | |||||
* | codegen: Handle non-default AsyncResult parameter position | Rico Tzschichholz | 2018-12-11 | 1 | -0/+13 | |
| | | | | | | | | | | | Unfortunately gdbus-codegen puts the AsyncResult parameter after possible out-parameters therefore there is an "async_result_pos" attribute required to handle this correctly. Vala supposely follows the common practice to put the AsyncResult before out-parameters by default. Fixes https://gitlab.gnome.org/GNOME/vala/issues/709 | |||||
* | girparser: Skip possible docs in transparent union | Rico Tzschichholz | 2018-12-05 | 1 | -0/+2 | |
| | | | | See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75 | |||||
* | girparser: Skip "source-position" elements | Rico Tzschichholz | 2018-12-03 | 1 | -0/+4 | |
| | | | | See https://gitlab.gnome.org/GNOME/gobject-introspection/merge_requests/75 | |||||
* | vala: Drop "explicit" from ValaSourceFile and use "from_commandline" | Rico Tzschichholz | 2018-11-03 | 1 | -1/+1 | |
| | ||||||
* | Collect error_types on demand to allow transformations | Luca Bruno | 2018-10-23 | 1 | -9/+22 | |
| | ||||||
* | girparser: Actually resolve type-arguments to be able to box them if needed | Rico Tzschichholz | 2018-08-09 | 1 | -10/+16 | |
| | ||||||
* | girparser: Handle unsupported aliases which could not be fully processed | Rico Tzschichholz | 2018-07-12 | 1 | -0/+4 | |
| | | | | This avoids criticals for e.g. aliases of error-domains | |||||
* | girparser: Allow changing the type of constants using metadata | Rico Tzschichholz | 2018-06-21 | 1 | -1/+11 | |
| | | | | See https://gitlab.gnome.org/GNOME/vala/issues/643 | |||||
* | girparser: Add support for bool delegate_target | Rico Tzschichholz | 2018-05-31 | 1 | -1/+5 | |
| | | | | https://gitlab.gnome.org/GNOME/vala/issues/520 | |||||
* | girparser: Deal with missing "name" attribute by falling back on "c:type" | Rico Tzschichholz | 2018-04-22 | 1 | -0/+4 | |
| | | | | This is simply a last resort to report a meaningfull error. | |||||
* | girparser: Add support for NoAccessorMethod metadata | Rico Tzschichholz | 2018-04-14 | 1 | -0/+5 | |
| | ||||||
* | Drop trailing spaces/tabs | Rico Tzschichholz | 2018-03-27 | 1 | -13/+13 | |
| | | | | It was about time to do this. | |||||
* | girparser: Don't accept methods as property-accessor which throw errors | Rico Tzschichholz | 2018-01-29 | 1 | -2/+2 | |
| | | | | | | This should be considered a temporary fix. https://bugzilla.gnome.org/show_bug.cgi?id=792998 | |||||
* | girparser: Ignore conflicting closure/destroy indexes | Rico Tzschichholz | 2018-01-29 | 1 | -2/+6 | |
| | | | | | Reverse references from closure/destroy parameters back to the callback break our later logic, so skip this additional information. | |||||
* | girparser: Set NoAccessorMethod for non-readable and construct-only properties | Rico Tzschichholz | 2018-01-20 | 1 | -1/+1 | |
| | ||||||
* | girparser: Improve instance method detection | Rico Tzschichholz | 2018-01-09 | 1 | -4/+4 | |
| | | | | | | | | | | | | | Improve reparenting static namespace functions to their presumably parent structures. Only allow this if the first parameter is not defined as (out) or (inout) Unfortunately, while this patch fixes detection, nothing can be done about breaking API. Based on patch by Simon Werbeck <simon.werbeck@gmail.com> https://bugzilla.gnome.org/show_bug.cgi?id=732460 | |||||
* | parser: Allow custom invocations of parse_file() | Rico Tzschichholz | 2018-01-02 | 1 | -0/+8 | |
| | | | | | | Use CodeContext of SourceFile if needed https://bugzilla.gnome.org/show_bug.cgi?id=791936 | |||||
* | Release taken references to CodeContext after using it | Rico Tzschichholz | 2017-12-14 | 1 | -0/+2 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=712694 | |||||
* | girparser: Don't mark simple-type out-parameters with '?' as nullable | Rico Tzschichholz | 2017-12-11 | 1 | -0/+18 | |
| | | | | | Using '?' on simple-types has a different meaning in vala and would create a boxed-type which is not compatible with the original type. | |||||
* | girparser: Accept setters with boolean return-type as valid property-accessor | Rico Tzschichholz | 2017-12-09 | 1 | -7/+10 | |
| | ||||||
* | girparser: Handle metadata for fields inside a transparent union | Rico Tzschichholz | 2017-12-09 | 1 | -0/+4 | |
| | ||||||
* | girparser: Allow change of parameter names | Rico Tzschichholz | 2017-12-05 | 1 | -1/+4 | |
| | ||||||
* | codegen: Prioritize "array_length=true" over "array_null_terminated=true" | Rico Tzschichholz | 2017-10-10 | 1 | -9/+9 | |
| | | | | | | | | | If arrays claim to have an array-length and also are null-terminated then use and rely on the given length. Adapt the girparser for this and add "array_length = true" accordingly. https://bugzilla.gnome.org/show_bug.cgi?id=788775 | |||||
* | codegen: Use array_length_cexpr to support fixed-arrays for return-values | Rico Tzschichholz | 2017-09-15 | 1 | -7/+8 | |
| | | | | | | Based on patch by David Lechner https://bugzilla.gnome.org/show_bug.cgi?id=784691 | |||||
* | girparser: Better support of "cprefix" argument in metadata | Rico Tzschichholz | 2017-08-26 | 1 | -1/+6 | |
| | ||||||
* | girparser: Support "cname" argument in metadata | Rico Tzschichholz | 2017-08-26 | 1 | -2/+8 | |
| | ||||||
* | vapigen: Mark given source-files as such and force girparser to handle them | Rico Tzschichholz | 2017-08-19 | 1 | -1/+4 | |
| | | | | | | E.g. gtk+-4.0 is *one* library with multiple namespaces and gir files. So we need to handle this case and allow all explicitly given GIR files to be parsed. | |||||
* | gee: Add some useful symbols from gee-0.8 | Rico Tzschichholz | 2017-06-27 | 1 | -4/+2 | |
| | ||||||
* | girparser: Fix parsing of delegate-alias without target | Rico Tzschichholz | 2017-06-21 | 1 | -1/+0 | |
| | | | | | | "has_target" is a ccode-attribute-based property, so don't explicitly set it and rely on attribute-list-copy. Otherwise there will a fatal duplicated CCode attribute. | |||||
* | codegen: Support renamed signals | Rico Tzschichholz | 2017-06-07 | 1 | -0/+6 | |
| | | | | | | | The CCode attribute 'cname' needs to be the canonical representation as it is expected in C. https://bugzilla.gnome.org/show_bug.cgi?id=731547 | |||||
* | vala: Enums require at least one value otherwise report an error | Rico Tzschichholz | 2017-04-24 | 1 | -0/+6 | |
| | ||||||
* | girparser: Add destroy argument for metadata | Rico Tzschichholz | 2017-03-27 | 1 | -0/+4 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=750838 | |||||
* | girparser: Add metadata-support for "returns_modified_pointer" | Rico Tzschichholz | 2017-03-08 | 1 | -0/+4 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=759255 | |||||
* | Add "finish_instance" CCode attribute | Florian Brosch | 2017-03-06 | 1 | -0/+4 | |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=710103 | |||||
* | girparser: Let alias inherit more information from base_type | Rico Tzschichholz | 2017-01-05 | 1 | -0/+10 | |
| | ||||||
* | girparser: Allow to specify the base_type of an alias | Rico Tzschichholz | 2017-01-04 | 1 | -0/+4 | |
| |