| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
| |
Fixes bug 624109.
|
| |
|
|
|
|
|
| |
The code was assuming that data_type would be a Delegate for a
DelegateType while it is null.
|
|
|
|
| |
Fixes bug 621495.
|
| |
|
|
|
|
| |
Based on patch by pancake, fixes bug 606837.
|
|
|
|
|
|
| |
This refactors GIRWriter quite a bit so we can collect the GIR
namespace dependencies when writing the type names, so only
namespaces that are actually used get <include> lines.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces two new CCode annotations for use in VAPI files,
gir_namespace and gir_version. This allows us to correctly map vala
namespaces to gobject-introspection namespaces when generating GIR
files.
The mapping is actually done on a SourceFile level. This allows us to
work around cases where one vala namespace maps into multiple GIR
namespaces (in particular, GLib vs GLib and GObject).
In the absense of annotations, the old 'guess it' method will be
applied.
This commit also adds annotations to some core vapis.
Fixes bug 584683.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
See gobject-introspection commit f8693bda.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Array and delegate parameters correspond to multiple parameters at the
C level. GObject-introspection expects them them to be written
separately, with special attributes refering to the main ones.
Since implicit output arguments must be generated for return values,
writing params and return values was combined to common methods. They
were always used together, so the main downside is the method now takes
long list of arguments to cover all the cases.
Note that only default argument positions are supported.
Signed-off-by: Jan Hudec <bulb@ucw.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
GObject-Introspection does not have any special support for async
methods, so we need to write them out as two entries corresponding to
the .begin and .end submethods respectively.
To avoid code duplication, the Vala.GirWriter.write_signature method is
split in two. The inner one takes all attributes that differ between
sync and async.begin/end methods as additional arguments and is called
twice for the async methods.
Signed-off-by: Jan Hudec <bulb@ucw.cz>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The list of implemented interfaces is expected as
<implements name="Interface1" />
<implements name="Interface2" />
...
by gobject-introspection library (as of 0.6.3), but was written as
<implements>
<implements name="Interface1" />
<implements name="Interface2" />
...
</implements>
by Vala.GIRWriter. Note, that vapigen expects the same format as
gobject-introspection, so it was not able to read vala-written .girs
before the change and is able to read them properly now.
Fixes bug 584576.
Signed-off-by: Jan Hudec <bulb@ucw.cz>
|
| |
|
|
|
|
|
| |
Emit a c:prefix attribute for namespaces, if the cprefix exists,
fixes bug 583862.
|
|
|
|
| |
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
|
|
|
|
| |
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
|
|
|
|
| |
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
|
|
|
|
| |
Signed-off-by: Didier 'Ptitjes <ptitjes@free.fr>
|
|
|