| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
|
|
|
|
| |
Allow to overide the macro name, and join get_ccode_class_get_function ()
and get_ccode_interface_get_function().
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change intruduces a new attribute switch [Compact (opaque = true)]
which allows to completely hide the implementation of a compact class.
This is especially useful for libraries when maintaining a stable abi.
An 'opaque' compact class exposes no struct definition in the generated
c header, only a typedef is provided. As such, certain requirements
apply for members of such classes:
- Access to instance fields must be either private or internal.
- No abstract/virtual methods or properties are allowed.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1129
|
| |
|
|
|
|
|
|
| |
This enables users to reference to the original source of a symbol.
[Source (filename = "...", line = ..., column = ...)]
|
|
|
|
| |
and the corresponding helper get_delegate_target_destroy_notify_cname()
|
|
|
|
|
|
|
| |
This makes it possible to use non-standard error parameter positions
within the vala source.
Fixes https://gitlab.gnome.org/GNOME/vala/issues/728
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/vala/issues/647
|
|
|
|
|
|
|
| |
"visibility = false" will be transformed into introspectable="0" in the
resulting GIR file.
Attributed namespaces will be skipped altogether.
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/vala/issues/526
|
|
|
|
|
|
|
|
|
|
|
| |
If a library header does not include a defintion for a delegate then
bindings can use the CCode annotation "has_typedef = false" which will
force creation of typedef in generated source-file.
[CCode (has_typedef = false)]
public delegate void Func ();
https://bugzilla.gnome.org/show_bug.cgi?id=794920
|
|
|
|
| |
It was about time to do this.
|
|
|
|
|
|
|
|
|
| |
This adds new CCode string attribute 'feature_test_macro = "VALUE"'. Such
values will be added before the headers section as '#define VALUE'.
https://www.gnu.org/software/libc/manual/html_node/Feature-Test-Macros.html
https://bugzilla.gnome.org/show_bug.cgi?id=793444
|
|
|
|
|
|
| |
This can be use to avoid temp-variables for an expanding macro.
https://bugzilla.gnome.org/show_bug.cgi?id=750840
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=710103
|
|
|
|
|
|
|
|
|
|
|
|
| |
In gir files generated by Vala, members of type GType is referenced
with name "GObject.Type", but GObject-introspection expect it to be
"GType".
While there was no way to override the fully qualified GIR name of a
member, this patch adds [GIR (fullname = "GType")] to fix the mismatch
for GObject.Type.
https://bugzilla.gnome.org/show_bug.cgi?id=775591
|
|
|
|
|
|
|
| |
This attribute specifies that the method takes and returns a printf
or scanf format string without modifying the order or types of expected
arguments, e.g., to translate the format string. This allows the
compiler to check the printf/scanf arguments.
|
| |
|
| |
|
|
|
|
| |
https://bugzilla.gnome.org/show_bug.cgi?id=737913
|
| |
|
| |
|
|
|
|
| |
Fixes bug 730744
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bug 741089
|
| |
|
|
|
|
| |
Fixes bug 741089
|
| |
|
| |
|
| |
|
|
This may not be the best approach, but it's a start
|