summaryrefslogtreecommitdiff
path: root/vala/valasemanticanalyzer.vala
Commit message (Collapse)AuthorAgeFilesLines
* Fix regression introduced by ba1fa07bug736774Luca Bruno2016-02-011-0/+1
| | | | | | | | | | | Hope this is the last time we touch this code. In the owned->unowned case, we want the variable to be floating: - If we assign to a local variable we get an error. - Otherwise the value is destroyed when goes out of scope. In the owned->owned case, we want to avoid copies and thus we transfer the ownership and make the variable non-floating. Fixes bug 736774
* Bring back floating local variablesLuca Bruno2016-02-011-1/+1
|
* Revert "Fix regression when assigning owned expressions to unowned variables."Luca Bruno2014-09-191-1/+2
| | | | | | This reverts commit ba1fa0759989dcbb9046c7dfc06cce6c4aa23411. Due to bug #736774
* Fix critical on method varargs introduced by 7b6ee1beLuca Bruno2014-09-061-1/+1
| | | | Fixes bug 736168
* Fix regression when assigning owned expressions to unowned variables.Luca Bruno2014-09-051-2/+1
| | | | | | The regression was introduced by db462e6f919da758fb. Fixes bug 736016
* Detect format string errors when instancing errorsSimon Werbeck2014-07-071-27/+151
| | | | Fixes bug 732530
* Add create_temp_access to properly access a temp variable after transformationLuca Bruno2014-01-261-1/+17
|
* Support chain up to constructv functions.Luca Bruno2013-09-211-0/+2
|
* Support subclassing of GLib.SourcegsourceJürg Billeter2012-08-151-0/+3
|
* Drop POSIX profileJürg Billeter2012-08-061-13/+11
|
* Drop Dova profileJürg Billeter2012-08-061-32/+9
|
* Use SourceLocation in SourceReferenceJürg Billeter2012-06-021-1/+1
|
* Fix lambda expressions in static and class destructorsLuca Bruno2011-09-091-1/+2
|
* dova: Do not require double in dova profileJürg Billeter2011-08-131-1/+1
|
* Fix symbol resolution for local constantsLuca Bruno2011-08-021-6/+6
| | | | Fixes bug 649562.
* Drop C specific methods from the code treeLuca Bruno2011-08-011-0/+2
|
* Fix target_type of inner expression for generic field accessLuca Bruno2011-06-161-0/+11
| | | | | The target_type of inner expression must have the actual type arguments. Fixes a regression introduced by 4935646d325911198e1fbf1c4f0734be03341c.
* Fix critical with invalid constant initializersJürg Billeter2011-05-201-6/+6
| | | | Fixes bug 640390.
* 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.
* Replace SemanticAnalyzer with CodeContext in CodeNode.check parameterJürg Billeter2010-10-281-4/+4
|
* Rename FormalParameter to ParameterJürg Billeter2010-10-281-4/+4
|
* Support return statements in constructors and destructorsJürg Billeter2010-10-211-0/+15
| | | | Fixes bug 573763.
* Do not allow passing owned ref argument to unowned reference parameterJürg Billeter2010-10-141-1/+10
|
* dova: Rename integer typesJürg Billeter2010-10-081-12/+11
|
* Fix crash on invalid constructor chain upJürg Billeter2010-09-131-4/+12
| | | | Fixes bug 628182.
* Improve performance of SemanticAnalyzer.is_type_accessibleJürg Billeter2010-09-091-10/+1
|
* Better error message for invalid number of argumentsMarc-André Lureau2010-08-041-2/+4
| | | | Fixes bug 608187.
* Add Variable classJürg Billeter2010-07-271-6/+6
|
* Derive EnumValue from ConstantJürg Billeter2010-07-271-2/+2
|
* Prepare support for generic delegatesJürg Billeter2010-07-031-3/+11
|
* dova: Add initial support for error handlingJürg Billeter2010-06-081-0/+2
|
* dova: Use Dova.Array as type of arraysJürg Billeter2010-06-051-0/+8
|
* Do not set error flag when using delegate prototype as argumentJürg Billeter2010-05-281-1/+1
|
* GRegex is available only in the GObject profileMarc-André Lureau2010-04-271-2/+1
| | | | Fixes bug 615321.
* Add experimental support for regular expression literalsJukka-Pekka Iivonen2010-03-251-0/+2
| | | | Fixes bug 607702.
* Report error when using instance method as argument in static methodsJürg Billeter2010-03-221-0/+9
| | | | Fixes bug 598839.
* Fix closures in property accessorsJürg Billeter2010-03-211-3/+32
| | | | Fixes bug 613483.
* dova: Accept list, set, and map literals and tuplesJürg Billeter2010-03-131-0/+4
|
* dova: Do not require types uchar and int8 in dova profileJürg Billeter2010-03-131-2/+10
|
* GAsync: Support async callback from closureJürg Billeter2010-02-041-1/+16
| | | | Fixes bug 608184.
* Support named arguments with ellipsis parametersJürg Billeter2009-10-211-0/+3
|
* Do not use Gee namespace to avoid conflict with libgeeJürg Billeter2009-10-121-3/+2
|
* Fix generic type resolution with nested generic types in base typesJürg Billeter2009-10-111-15/+2
|
* Add support for closuresJürg Billeter2009-09-151-0/+7
| | | | Fixes bug 554781.
* Report error when trying to pass signal as argumentJürg Billeter2009-09-151-0/+4
| | | | Fixes bug 584350.
* Do not support use of generics in static methods of generic typesJürg Billeter2009-09-141-15/+0
| | | | Fixes bug 589071.
* Support relational and arithmetic operations with enum valuesJürg Billeter2009-08-161-23/+31
| | | | Fixes bug 562265.
* Replace current_return_type field by propertyJürg Billeter2009-08-161-1/+41
|
* Simplify current symbol trackingJürg Billeter2009-08-161-2/+22
| | | | | Replace current_type_symbol, current_class, current_struct, current_method, and current_property_accessor fields by properties.
* Add support for iterating over GValueArrays via foreachMark Lee2009-07-281-0/+4
| | | | | | | | | | | | | | | Implements working support for using ValueArrays in foreach statements. Both owned and unowned Value element types are implemented, including a testcase. Example: void print_array (ValueArray array) { foreach (Value value in array) { message ("Value: %s", value.strdup_contents ()); } } Fixes bug 588742.