summaryrefslogtreecommitdiff
path: root/vala/valaproperty.vala
Commit message (Collapse)AuthorAgeFilesLines
* vala: Check type-arguments in more declarationsRico Tzschichholz2023-04-111-0/+1
|
* vala: Drop SemanticAnalyzer.is_type_accessible()Rico Tzschichholz2021-11-061-1/+1
|
* vala: this_parameter property for subroutines is nullablePrinceton Ferro2021-07-231-1/+1
|
* vala: Properly check GLib.Object naming convention for propertiesRico Tzschichholz2021-04-191-0/+28
|
* Add support for 'opaque' compact classesSimon Werbeck2021-01-191-0/+5
| | | | | | | | | | | | | | 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
* vala: Don't allow assigning GtkChild fields/propertiesRico Tzschichholz2021-01-171-0/+3
| | | | | | These are handled exclusively by GtkBuilder See https://gitlab.gnome.org/GNOME/vala/issues/1121
* vala: GtkChild fields/properties must be declared as unownedRico Tzschichholz2021-01-161-0/+9
| | | | | | | | | | | The backing field won't be assigned to hold a dedicated reference. gtk_widget_class_bind_template_child_full will make it point to the instance owned by GtkBuilder. This avoids doing a rogue (but safe) call of _g_object_unref0 on already disposed child. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1121
* vala: Make use of new printf-like API of Report.*()Rico Tzschichholz2020-10-261-9/+9
|
* Fix various typos in comments and stringsRico Tzschichholz2020-08-191-1/+1
| | | | See https://gitlab.gnome.org/GNOME/vala/issues/1063
* vala: Fix circular reference in PropertyPrinceton Ferro2020-03-011-1/+1
|
* vala: Allow to override base interface properties explicitlyJeremy Philippe2019-12-211-1/+1
|
* vala: Check "this_parameter" if availableRico Tzschichholz2019-11-171-0/+4
|
* vala: Rename DataType.data_type property to DataType.type_symbolRico Tzschichholz2019-09-301-2/+2
|
* codegen: Move type-argument checks to SemanticAnalyzerRico Tzschichholz2019-09-251-0/+3
| | | | and don't apply type-argument check on external symbols.
* vala: Don't bail early on property with not supported default valueRico Tzschichholz2018-08-171-2/+0
| | | | This avoids independent consequential errors.
* Replace `%s` with `%s' in format strings of output messagesRico Tzschichholz2018-08-081-1/+1
|
* vala: Allow read-only propertiesAlistair Thomas2018-07-041-9/+11
| | | | See https://gitlab.gnome.org/GNOME/vala/merge_requests/10
* vala: Transform Lockable.*_lock_used() methods into "lock_used" propertyRico Tzschichholz2018-04-251-10/+2
|
* codegen: Support automatic properties as GtkChildRico Tzschichholz2018-04-231-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=787034
* vala: Report an error when initializing non-auto propertiesJeeyong Um2018-04-191-0/+6
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=795225
* vala: Move creation of reference field from parser into propertyRico Tzschichholz2018-04-191-2/+29
|
* Drop trailing spaces/tabsRico Tzschichholz2018-03-271-10/+10
| | | | It was about time to do this.
* codegen: Add support for abstract/virtual methods and properties in compact ↵Daniel Espinosa2018-01-151-9/+9
| | | | | | | | classes Reworked and extened by Rico Tzschichholz https://bugzilla.gnome.org/show_bug.cgi?id=741465
* SemanticAnalyzer.get_data_type_for_symbol() doesn't require a TypeSymbolRico Tzschichholz2017-12-091-1/+1
|
* Move "blurb", "nick" and "notify" into PropertyRico Tzschichholz2016-11-111-0/+45
|
* vala: check a property has an accessor and/or a mutatorAlistair Thomas2016-11-081-0/+6
| | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=773956
* Fix parameter names in the documentation for libvalaBen Iofel2015-11-111-6/+6
| | | | Fixes bug 755917
* Revert "Set parent_node and always copy datatype when assigned to code nodes."Luca Bruno2013-10-071-2/+1
| | | | | | This reverts commit a09c9e93af0d64b9331c274de573465fe070b722. Fixes bug 709587.
* Set parent_node and always copy datatype when assigned to code nodes.Luca Bruno2013-10-061-1/+2
| | | | | | 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.
* codegen: Support non-auto property initializer in gobjectsLuca Bruno2013-06-111-1/+17
| | | | Fixes bug 701978
* Support virtual interface propertiesJürg Billeter2012-08-131-1/+1
| | | | Fixes bug 681671.
* Do not access static members with instance referencesJürg Billeter2012-08-061-2/+2
|
* Fix possibly unassigned parameterJürg Billeter2012-01-241-0/+1
|
* Allow specialization of generic propertiesLuca Bruno2012-01-241-18/+30
| | | | Fixes bug 667668.
* Drop C specific methods from the code treeLuca Bruno2011-08-011-118/+0
|
* Drop Symbol.process_deprecated_attributeLuca Bruno2011-08-011-2/+0
|
* Replace SemanticAnalyzer with CodeContext in CodeNode.check parameterJürg Billeter2010-10-281-12/+12
|
* Rename FormalParameter to ParameterJürg Billeter2010-10-281-1/+1
|
* Report error when variable or property type is voidJiří Zárevúcky2010-10-191-0/+6
| | | | Fixes bug 628693.
* glib-2.0: Deprecate string.len () in favor of string.lengthJürg Billeter2010-08-201-1/+1
|
* Add Variable classJürg Billeter2010-07-271-7/+7
|
* Remove Member classJürg Billeter2010-07-271-1/+1
|
* Remove visit_memberJürg Billeter2010-07-271-2/+0
|
* Do not allow abstract properties in non-abstract classesLuca Bruno2010-06-161-0/+42
| | | | Fixes bug 621184.
* Add support for [Deprecated] attributeEvan Nemerson2010-06-151-0/+2
| | | | Fixes bug 614712.
* Fix crash on invalid field initializerJürg Billeter2010-03-221-2/+2
| | | | Fixes bug 608635.
* Documentation fixesDidier 'Ptitjes2009-10-311-2/+2
|
* Comment handling improvementsFlorian Brosch2009-09-041-2/+2
| | | | Fixes bug 529040, bug 540513, and bug 546096.
* Simplify current symbol trackingJürg Billeter2009-08-161-2/+2
| | | | | Replace current_type_symbol, current_class, current_struct, current_method, and current_property_accessor fields by properties.
* Fix GStrv properties in bindingsJürg Billeter2009-06-281-0/+10
| | | | Fixes bug 587068.