Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | valaparser: Don't allow to declare array parameters with "type array[]" | Rico Tzschichholz | 2016-12-02 | 1 | -1/+6 |
| | | | | | | It is required to have a fixed length like "type array[3]". https://bugzilla.gnome.org/show_bug.cgi?id=641308 | ||||
* | methodcall: Don't try to remove N_/NC_ while they are properly handled in C | Rico Tzschichholz | 2016-11-30 | 1 | -19/+0 |
| | | | | | | | This avoids messing around with the ownership and properly invokes copying if needed. https://bugzilla.gnome.org/show_bug.cgi?id=642350 | ||||
* | girparser: No support for fixed-size array as return-value | Rico Tzschichholz | 2016-11-24 | 1 | -0/+8 |
| | | | | | Due to the special syntax for those arrays it lead to omitting the array-qualifier and therefore generating broken bindings. | ||||
* | Move "blurb", "nick" and "notify" into Property | Rico Tzschichholz | 2016-11-11 | 1 | -0/+45 |
| | |||||
* | Don't initilize local variable if not requested | Rico Tzschichholz | 2016-11-10 | 1 | -1/+1 |
| | |||||
* | codegen: Remove unused create_local() | Rico Tzschichholz | 2016-11-10 | 1 | -2/+0 |
| | |||||
* | Revert "Always initialize temp variables to fix fatal warnings of GCC 4.8" | Rico Tzschichholz | 2016-11-10 | 1 | -1/+0 |
| | | | | This reverts commit eeb861dfba147bc37cfc7a9c22e1b582cf20ff31. | ||||
* | vala: Clean up PropertyAccessor API | Rico Tzschichholz | 2016-11-08 | 1 | -6/+6 |
| | |||||
* | vala: check a property has an accessor and/or a mutator | Alistair Thomas | 2016-11-08 | 1 | -0/+6 |
| | | | | Fixes https://bugzilla.gnome.org/show_bug.cgi?id=773956 | ||||
* | vala: Pass through the format-literal | Rico Tzschichholz | 2016-11-07 | 2 | -2/+2 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=774060 | ||||
* | method: Print encountered type if return types mismatch | Timm Bäder | 2016-11-05 | 1 | -1/+1 |
| | | | | | | | If a class overrides a method of a base type, print both the encountered return type and the return type expected by the base class. https://bugzilla.gnome.org/show_bug.cgi?id=769501 | ||||
* | Do not use non-literal printf format strings | Jürg Billeter | 2016-11-03 | 2 | -5/+5 |
| | |||||
* | Add [FormatArg] attribute to Parser.get_error | Jürg Billeter | 2016-11-03 | 2 | -2/+2 |
| | |||||
* | Support [FormatArg] attribute for parameters | Jürg Billeter | 2016-11-03 | 6 | -4/+46 |
| | | | | | | | This attribute specifies that the method takes and returns a printf or scanf format string without modifying the order or types of expected arguments, e.g., to translate the format string. This allows the compiler to check the printf/scanf arguments. | ||||
* | Fix deprecation of class/struct fields | Rico Tzschichholz | 2016-11-03 | 1 | -1/+1 |
| | | | | | Respect the "deprecated" attributes given to class and struct fields, while actually adding G_GNUC_DEPRECATED to their declaration. | ||||
* | parser: Cache current token if possible | Rico Tzschichholz | 2016-11-01 | 2 | -14/+16 |
| | |||||
* | Check printf arguments of object creation expressions | Jürg Billeter | 2016-11-01 | 2 | -0/+38 |
| | |||||
* | Don't create constant Regex on demand and use static field where possible | Rico Tzschichholz | 2016-11-01 | 2 | -4/+7 |
| | |||||
* | writer: Some string optimizations | Rico Tzschichholz | 2016-11-01 | 1 | -15/+10 |
| | |||||
* | field: Drop unused methods | Rico Tzschichholz | 2016-11-01 | 1 | -8/+0 |
| | |||||
* | vala: Add missing TokeType cases for to_string() | Rico Tzschichholz | 2016-11-01 | 2 | -0/+10 |
| | |||||
* | Avoid some string copying | Rico Tzschichholz | 2016-11-01 | 1 | -3/+3 |
| | |||||
* | vala: Avoid superfluous string copying | Rico Tzschichholz | 2016-10-30 | 2 | -2/+2 |
| | |||||
* | Use more "...".printf to concat strings | Rico Tzschichholz | 2016-10-30 | 2 | -8/+8 |
| | |||||
* | Add explicit copy method for arrays | Luca Bruno | 2016-10-20 | 3 | -0/+55 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=650663 | ||||
* | girparser: Avoid fatal handling of nameless unions | Rico Tzschichholz | 2016-10-18 | 1 | -1/+27 |
| | |||||
* | valaparser: Allow casts of pointer expressions without enclosing parens | Rico Tzschichholz | 2016-10-17 | 1 | -0/+10 |
| | | | | | | Based on patch by Geert Jordaens <geert.jordaens@telenet.be> https://bugzilla.gnome.org/show_bug.cgi?id=590641 | ||||
* | girparser: Use type_id information from gir if not already overridden | Rico Tzschichholz | 2016-10-15 | 1 | -26/+33 |
| | |||||
* | girparser: More complete parsing of field information | Rico Tzschichholz | 2016-10-15 | 1 | -4/+15 |
| | | | | | | Especially to retrieve available array-length information. https://bugzilla.gnome.org/show_bug.cgi?id=772902 | ||||
* | Warn about mismatched parameter direction before mismatched type | Sam Thursfield | 2016-10-13 | 1 | -11/+14 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=664049 | ||||
* | Support [HasEmitter] for vala sources | Simon Werbeck | 2016-10-12 | 1 | -0/+36 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=681356 | ||||
* | genie: Add empty file check to read_token () | Alistair Thomas | 2016-10-12 | 1 | -1/+5 |
| | | | | | | | Vala.SourceFile uses GLib.MappedFile.get_contents () to read a source file. This can return null if the file is empty. Fixes: https://bugzilla.gnome.org/show_bug.cgi?id=633083 | ||||
* | codegen: Trigger deprecation warning for NoArrayLength from a better place | Rico Tzschichholz | 2016-10-11 | 1 | -0/+1 |
| | |||||
* | Make use of Callable to replace some if-else-trees | Rico Tzschichholz | 2016-10-11 | 1 | -24/+7 |
| | |||||
* | vala: Add common Callable interface for Method, Delegate and Signal. | Luca Bruno | 2016-10-11 | 5 | -3/+49 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=639124 | ||||
* | Ignore --thread commandline option and drop all gthread-2.0 references | Rico Tzschichholz | 2016-10-10 | 1 | -5/+0 |
| | | | | With vala 0.32 there was no further support for glib < 2.32. | ||||
* | Deny access to protected constructors | Rico Tzschichholz | 2016-10-08 | 1 | -3/+7 |
| | | | | | | Based on patch by Timm Bäder <mail@baedert.org> https://bugzilla.gnome.org/show_bug.cgi?id=760031 | ||||
* | Add missing generic-type arguments of delegates | Rico Tzschichholz | 2016-10-08 | 2 | -7/+4 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=772204 | ||||
* | vala: Check accessibility of default arguments | Simon Werbeck | 2016-10-06 | 18 | -0/+118 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=648030 | ||||
* | Do not report internal error for invalid code with nested generics | Jürg Billeter | 2016-10-06 | 1 | -4/+4 |
| | | | | Reported-by: Matthias Berndt <matthias_berndt@gmx.de> | ||||
* | vala: Check type arguments in DataType.equals | Matthias Berndt | 2016-10-06 | 1 | -0/+11 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=641418 | ||||
* | Add CCode finish_vfunc_name to used attrs | Rico Tzschichholz | 2016-09-29 | 1 | -1/+1 |
| | |||||
* | Fix type checking when using generics in combination with subtyping | Matthias Berndt | 2016-09-28 | 2 | -17/+14 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=615830 | ||||
* | Fix type parameter check for overriding generic methods | Jürg Billeter | 2016-09-26 | 6 | -25/+45 |
| | | | | | | https://bugzilla.gnome.org/show_bug.cgi?id=771964 Reported-by: Sebastian Reichel <sre@ring0.de> | ||||
* | Add support for the \v escape charactor | Rico Tzschichholz | 2016-09-20 | 1 | -0/+3 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=664689 | ||||
* | Check for assignment to constant | Simon Werbeck | 2016-09-18 | 1 | -0/+6 |
| | | | | | | | This simply checks if the left-hand side is a constant and if so raises an error. Fixes bug 771626 | ||||
* | codegen: Add support for finish_vfunc_name in CCode | Rico Tzschichholz | 2016-09-18 | 1 | -1/+6 |
| | |||||
* | Revert "valainterface: Don't allow 'type' properties" | Rico Tzschichholz | 2016-09-17 | 1 | -5/+0 |
| | | | | | | Breaks build of udisks2.vapi This reverts commit 8e4cdfd6488c467a3028831e8d6183286c4f399d. | ||||
* | valainterface: Don't allow 'type' properties | Timm Bäder | 2016-09-17 | 1 | -0/+5 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=723258 | ||||
* | D-Bus: Support DBus.timeout attribute for client methods | Michele Dionisio | 2016-09-17 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=737913 |