summaryrefslogtreecommitdiff
path: root/codegen/valagirwriter.vala
Commit message (Collapse)AuthorAgeFilesLines
* girwriter: fall back on gir_namespace if GIR name is not availableEvan Nemerson2014-06-261-1/+9
|
* girwriter: fix *Private type name for nested classesEvan Nemerson2014-06-261-2/+2
| | | | Fixes bug 641559.
* Support non-literal length in fixed-size arraysSimon2014-03-301-2/+3
| | | | | | | Now any constant integer expression can be used as length for fixed-size arrays. Fixes bug 638993
* girwriter: Set scope=call for delegates when async or notified does not applyWill Szumski2014-03-021-0/+4
| | | | Fixes bug 725012.
* girwriter: Don't add target for delegates without targetWill Szumski2014-03-021-5/+7
| | | | Fixes bug 725073.
* girwriter: Derive gir namespace from base nameJesse van den Kieboom2014-01-041-2/+2
| | | | | | | | Instead of using the full filename specified by --gir to derive the gir namespace, this patch uses only the base name of the file specified by --gir. https://bugzilla.gnome.org/show_bug.cgi?id=721452
* girwriter: Fix handling of delegate paramsRico Tzschichholz2013-07-171-2/+4
| | | | Regression of d74c5fb0654ef5985d763a7847c8013de781aac3
* girwriter: Don't emit scope async and notified at the same timeLuca Bruno2013-06-131-4/+2
| | | | Fixes bug 702180
* girwriter: Add scope="notified" to owned delegatesLuca Bruno2013-06-111-1/+1
| | | | Fixes bug 688012
* GIRWriter: Properly emit transfer-ownership=containerMichal Hruby2013-06-061-1/+9
|
* girwriter: fix name of *Class structs for nested types in GIRsEvan Nemerson2013-02-111-1/+1
| | | | Fixes bug 689500.
* girwriter: write GArray and GPtrArray to GIRs as arrays.Evan Nemerson2012-11-201-2/+7
|
* girwriter: Fix index of length parameter for methods returning arraysJürg Billeter2012-08-081-3/+34
| | | | Fixes bug 681411.
* girwriter: Write return value before parametersJürg Billeter2012-06-241-6/+7
| | | | Fixes bug 669552.
* girwriter: Use transfer-ownership=none for InitiallyUnowned based constructorsMichal Hruby2012-06-121-1/+3
|
* Added error when not exporting any namespaces for GIRJesse van den Kieboom2012-02-081-0/+4
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=669551
* girwriter: Add <doc> supportFlorian Brosch2012-01-261-29/+164
|
* girwriter: do not emit a package as a dependency of itselfEvan Nemerson2012-01-111-2/+4
|
* girwriter: Drop unwanted call when writing abstract methodsLuca Bruno2011-08-311-1/+1
| | | | Fixes bug 657860.
* girwriter: Don't use C specific methods of code nodesLuca Bruno2011-08-011-43/+72
|
* girwriter: Do not write constructors of abstract classesLuca Bruno2011-07-051-0/+4
|
* girwriter: Fix field callback of virtual async methodsLuca Bruno2011-05-231-15/+64
| | | | Fixes bug 646202.
* girwriter: Add self parameter to the callback of virtual methods fieldLuca Bruno2011-05-231-3/+2
| | | | Fixes bug 650607.
* girwriter: Set scope for callback parameters of async methodsJürg Billeter2011-03-291-0/+4
|
* girwriter: Skip methods with va_list parametersJürg Billeter2011-03-231-1/+27
| | | | gobject-introspection does not currently support va_list parameters.
* girwriter: Don't use constructor tag with structsMichal Hruby2011-03-011-3/+8
|
* girwriter: Fix output of interface structsMichal Hruby2011-03-011-0/+15
|
* girwriter: Fix indices for delegate parametersMichal Hruby2011-03-011-2/+4
|
* girwriter: Fix methods returning arraysMichal Hruby2011-01-201-13/+19
|
* girwriter: Fix methods returning non-null structsMichal Hruby2011-01-181-3/+14
|
* glib-2.0: Add string.index_of_nth_charJürg Billeter2011-01-151-1/+1
| | | | | This deprecates string.utf8_offset, string.offset, string.pointer_to_offset, and string.ndup.
* girwriter: Fix string annotationsLuca Bruno2011-01-151-0/+4
|
* GIR writer: support bitfields when generating GIRsEvan Nemerson2010-12-081-3/+10
|
* girwriter: Flatten symbols nested in a way not supported by GIREvan Nemerson2010-11-101-12/+104
| | | | Fixes bug 619865.
* Rename FormalParameter to ParameterJürg Billeter2010-10-281-3/+3
|
* girwriter: Fix fixed-length arraysJürg Billeter2010-10-161-1/+1
| | | | Fixes bug 631529.
* girwriter: Write deprecated attributes when appropriateEvan Nemerson2010-10-141-0/+23
| | | | Fixes bug 614712.
* girwriter: Fix crash in attribute handlingJürg Billeter2010-09-161-8/+4
| | | | Fixes bug 629364.
* Write GIR version 1.2 instead of version 1.1Evan Nemerson2010-09-151-47/+13
| | | | Fixes bug 628927.
* Add Variable classJürg Billeter2010-07-271-4/+4
|
* Rename Constant.initializer to Constant.valueJürg Billeter2010-07-271-1/+1
|
* girwriter: Do not write generic type parametersJürg Billeter2010-07-121-0/+4
| | | | Fixes bug 624109.
* girwriter: Write version 1.1Jürg Billeter2010-07-121-1/+1
|
* girwriter: Fix closure attribute for delegate targetsAbderrahim Kitouni2010-06-291-2/+2
| | | | | The code was assuming that data_type would be a Delegate for a DelegateType while it is null.
* GIR writer: Fix crash on struct creation methodsLuca Bruno2010-06-161-1/+2
| | | | Fixes bug 621495.
* Fix printf format in GIRWriterJürg Billeter2010-03-211-1/+1
|
* Fix crash when opening file failsJürg Billeter2010-02-071-1/+5
| | | | Based on patch by pancake, fixes bug 606837.
* Fix GIR writing to only add <include> lines for API dependenciesRob Taylor2010-02-031-208/+193
| | | | | | 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.
* GIR Namespace supportRob Taylor2010-02-011-8/+74
| | | | | | | | | | | | | | | | | | 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.
* GIR writer: Write user_data parameter for delegatesAbderrahim Kitouni2010-01-171-2/+13
|