summaryrefslogtreecommitdiff
path: root/vala/valainterface.vala
Commit message (Collapse)AuthorAgeFilesLines
* vala: Unify "this_parameter" creation using SemanticAnalyzer.get_this_type()Rico Tzschichholz2019-11-171-4/+6
|
* vala: Improve error reporting for invalid interface prerequisitesRico Tzschichholz2019-11-031-12/+5
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/437
* vala: Accept interface as inner type for object-type symbolsRico Tzschichholz2019-10-161-0/+4
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/697
* vala: Respect --abi-stability in Class/Interface.accept_children()Rico Tzschichholz2019-10-161-40/+2
| | | | | | | | Add common implementation to ObjectTypeSymbol.accept_children() and match generate_class_struct_declaration() and generate_interface_declaration() Accepting fields earlier for interfaces in not a concern while there is no support for instance/class fields yet.
* vala: Rename DataType.data_type property to DataType.type_symbolRico Tzschichholz2019-09-301-2/+2
|
* vala: Let methods return an unowned reference to internal collectionsRico Tzschichholz2019-09-301-2/+2
| | | | Correctly state ownership in documentation since those were never a copy.
* vala: Use clearer error message for automatic properties in interfacesVivek Raj2018-12-011-1/+1
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/656
* Replace `%s` with `%s' in format strings of output messagesRico Tzschichholz2018-08-081-2/+2
|
* vala: Remove unused Interface.prepend_prerequisite()Rico Tzschichholz2018-05-191-10/+0
|
* Drop trailing spaces/tabsRico Tzschichholz2018-03-271-10/+10
| | | | It was about time to do this.
* codegen: Add abi-stability path for interfacesRico Tzschichholz2018-01-201-16/+40
| | | | | | Based on patch by Daniel Espinosa https://bugzilla.gnome.org/show_bug.cgi?id=789069
* vala: Move constant lists from Class/Interface up to ObjectTypeSymbolRico Tzschichholz2018-01-171-22/+2
|
* vala: Move inner-type lists from Class/Interface up to ObjectTypeSymbolRico Tzschichholz2018-01-171-90/+8
| | | | Inner-types are classes, structs, enums and delegates
* vala: Move member lists from Class/Interface up to ObjectTypeSymbolDaniel Espinosa2018-01-171-73/+10
| | | | | | Members are fields, methods, properties and signals https://bugzilla.gnome.org/show_bug.cgi?id=789069
* Revert "valainterface: Don't allow 'type' properties"Rico Tzschichholz2016-09-171-5/+0
| | | | | | Breaks build of udisks2.vapi This reverts commit 8e4cdfd6488c467a3028831e8d6183286c4f399d.
* valainterface: Don't allow 'type' propertiesTimm Bäder2016-09-171-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=723258
* Set parent_node for resolved base typesMatthias Berndt2016-06-251-0/+1
|
* Fix parameter names in the documentation for libvalaBen Iofel2015-11-111-3/+3
| | | | Fixes bug 755917
* Do not report errors for automatic interface properties twiceFlorian Brosch2014-10-011-0/+7
|
* Revert "Set parent_node and always copy datatype when assigned to code nodes."Luca Bruno2013-10-071-7/+3
| | | | | | This reverts commit a09c9e93af0d64b9331c274de573465fe070b722. Fixes bug 709587.
* Set parent_node and always copy datatype when assigned to code nodes.Luca Bruno2013-10-061-3/+7
| | | | | | This is a delicate patch that fixes subtle memory corruption bugs in libvala users and the compiler itself. It might break some application, so this commit is open for testing.
* Add CCode ordering attribute for interfacesMaciej Piechotka2013-07-251-7/+69
|
* Drop Dova profileJürg Billeter2012-08-061-1/+1
|
* Drop C specific methods from the code treeLuca Bruno2011-08-011-253/+0
|
* Drop Symbol.process_experimental_attributeLuca Bruno2011-08-011-2/+0
|
* Drop Symbol.process_deprecated_attributeLuca Bruno2011-08-011-2/+0
|
* codegen: Fix criticals for interfaces without class prerequisiteJürg Billeter2011-05-221-5/+5
| | | | Fixes bug 642804.
* Support setting type_id to Vala.InterfaceLuca Bruno2011-04-041-1/+9
|
* Add support for [Experimental] attributeMarco Trevisan (Treviño)2011-03-151-0/+2
| | | | | | | Report a warning when using experimental symbols. The GIDL parser has been updated, too, and bindings have been regenerated. Fixes bug 644779.
* glib-2.0: Add string.index_of_nth_charJürg Billeter2011-01-151-2/+2
| | | | | This deprecates string.utf8_offset, string.offset, string.pointer_to_offset, and string.ndup.
* girparser: Set type_cname of interfaces from the relative struct cname.Luca Bruno2010-11-081-1/+10
| | | | Fixes bug 625026.
* Replace SemanticAnalyzer with CodeContext in CodeNode.check parameterJürg Billeter2010-10-281-19/+19
|
* Rename FormalParameter to ParameterJürg Billeter2010-10-281-2/+2
|
* Refactor parser to avoid parse_*_member methodsJürg Billeter2010-08-211-9/+9
|
* glib-2.0: Deprecate string.len () in favor of string.lengthJürg Billeter2010-08-201-3/+3
|
* Add support for [Deprecated] attributeEvan Nemerson2010-06-151-0/+2
| | | | Fixes bug 614712.
* Add GValue support for interfaces with non-GObject class prerequisiteLuca Bruno2010-04-271-4/+28
| | | | Fixes bug 615904.
* Fix crash with owned property getters and interfacesJürg Billeter2010-03-211-1/+5
|
* Drop ReadOnly* collection classesJürg Billeter2010-03-201-10/+10
| | | | | | They are not very useful in the compiler as they are not immutable, which means that they do not allow iteration while modifying the underlying collection.
* dova: Add implicit result variableJürg Billeter2010-03-131-2/+2
|
* Fix critical warnings when using signals in interfacesJürg Billeter2009-10-311-1/+1
|
* Do not use Gee namespace to avoid conflict with libgeeJürg Billeter2009-10-121-21/+20
|
* Fix C code name for types nested in interfacesJürg Billeter2009-09-211-0/+4
|
* Add support for constants in interfacesDidier 'Ptitjes2009-09-141-2/+30
|
* Comment handling improvementsFlorian Brosch2009-09-041-2/+2
| | | | Fixes bug 529040, bug 540513, and bug 546096.
* Support postconditions in normal methodsJürg Billeter2009-06-041-1/+1
| | | | Fixes bug 529680.
* gio-2.0: Fix g_file_monitor_directory bindingJürg Billeter2009-06-031-1/+7
| | | | Fixes bug 527793.
* Rework header file generationJürg Billeter2009-03-311-2/+0
| | | | | | Generate single C header file for public API, do not use header files for internal API. Fixes bug 471244, bug 571037, bug 572536, and bug 575629.
* Recognize c:type attributes in .girJürg Billeter2009-02-111-1/+5
| | | | | | | | | | | | | 2009-02-11 Jürg Billeter <j@bitron.ch> * vala/valaenum.vala: * vala/valainterface.vala: * vala/valastruct.vala: * vapigen/valagirparser.vala: Recognize c:type attributes in .gir svn path=/trunk/; revision=2426
* Bug 571169 – make floating references genericRyan Lortie2009-02-101-0/+10
| | | | | | | | | | | | | | | | | | | | | | | | 2009-02-10 Ryan Lortie <desrt@desrt.ca> Bug 571169 – make floating references generic * gobject/valaccodebasemodule.vala: * vala/valainterface.vala: * vala/valaclass.vala: * vala/valaobjectcreationexpression.vala: * vala/valasemanticanalyzer.vala: * vala/valatypesymbol.vala: Add support for 'ref_sink_function' CCode attribute on classes. Use this instead of hardcoding g_object_ref_sink() for GInitiallyUnowned. * vapi/gobject-2.0.vapi: Set ref_sink_function on InitiallyUnowned class. svn path=/trunk/; revision=2425