Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | parser: Move parsing of IS and AS type checks to dedicated function | Rico Tzschichholz | 2022-12-22 | 1 | -18/+17 |
| | |||||
* | vala: Add support for verbatim template string | 星外之神 | 2022-10-30 | 1 | -0/+7 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1373 | ||||
* | vala: Drop unused MemberAccess.creation_member property API | Rico Tzschichholz | 2022-02-22 | 1 | -6/+0 |
| | |||||
* | Properly use [Flags] feature for ModifierFlags and CCodeModifiers | Rico Tzschichholz | 2021-12-17 | 1 | -14/+15 |
| | | | | See 2afaae5e0755b2d8619808d2d148761b92c355b5 | ||||
* | genie: Accept accessibility and async modifiers on "construct" creation methods | Rico Tzschichholz | 2021-11-23 | 1 | -2/+14 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1235 | ||||
* | genie: Use TokenType.EXCEPTION instead of TokenType.ERRORDOMAIN | Rico Tzschichholz | 2021-11-05 | 1 | -4/+4 |
| | |||||
* | genie: Properly handle plain "get" or "set" property accessors | Rico Tzschichholz | 2021-11-04 | 1 | -0/+4 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1248 | ||||
* | genie: Accept INTERR token before type arguments when parsing type | Rico Tzschichholz | 2021-11-03 | 1 | -1/+4 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1245 | ||||
* | genie: Amend text of indent and dedent for error messages | Alistair Thomas | 2021-11-03 | 1 | -1/+1 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/497 | ||||
* | parser: Make sure ErrorCodes are accessible as needed | Rico Tzschichholz | 2021-10-23 | 1 | -0/+1 |
| | |||||
* | vala: Properly parse and handle chained initialization of members | Rico Tzschichholz | 2021-02-16 | 1 | -1/+9 |
| | | | | | | | Make MemberInitializer an Expression, so it is possible to descibe nested/chained member initializers in the AST. Fixes https://gitlab.gnome.org/GNOME/vala/issues/1137 | ||||
* | vala: Rename Loop to LoopStatement and introduce a common base class | Rico Tzschichholz | 2021-02-01 | 1 | -1/+1 |
| | |||||
* | vala: Make use of new printf-like API of Report.*() | Rico Tzschichholz | 2020-10-26 | 1 | -2/+2 |
| | |||||
* | parser: Map empty start/end index to 0/length for slice expressions | wb9688 | 2020-05-26 | 1 | -3/+16 |
| | | | | | | | | This allows a syntax like a[:], a[2:] or a[:3] for arrays and strings. Co-authored-by: Simon Werbeck <simon.werbeck@gmail.com> Fixes https://gitlab.gnome.org/GNOME/vala/issues/238 | ||||
* | Use "str_equal" as equal_func for ArrayList<string> instances | Rico Tzschichholz | 2020-05-08 | 1 | -1/+1 |
| | |||||
* | genie: Fix parser's inner state when a struct is declared after a class | Jeremy Philippe | 2020-01-06 | 1 | -0/+2 |
| | | | | | | | | | | | If the struct is declared after a class and has a default creation method, the parser will raise a "missing return type in method ..." error. The cause of the bug is that the global 'class_name' variable is not updated when the parser encounters a struct, so the previous value is used, and if a class has been parsed before, this value will be the name of the class instead of the struct. | ||||
* | vala: Let the parser have set namespace members as static | Rico Tzschichholz | 2019-11-24 | 1 | -2/+2 |
| | | | | ... and move error reporting for invalid members into check() | ||||
* | vala: Micro optimizations | Rico Tzschichholz | 2019-09-30 | 1 | -3/+3 |
| | |||||
* | genie: Creation methods should not be static | Rico Tzschichholz | 2019-09-03 | 1 | -1/+0 |
| | | | | Revealed by ba8122d3a64e44eac44c5254c93fb181df601b0a | ||||
* | vala: Add Symbol.is_extern and use/set is accordingly | Rico Tzschichholz | 2019-07-04 | 1 | -17/+15 |
| | | | | | | | | This actually holds the information whether a symbol was declared with `extern` modificator. Adjust the setting of Symbol.external and usage of Symbol.external_package. See https://gitlab.gnome.org/GNOME/vala/issues/745 | ||||
* | genie: Make 'self' match its TokenType name | Rico Tzschichholz | 2019-06-14 | 1 | -6/+6 |
| | |||||
* | parser: Implicit creation method of abstract classes must be protected | Rico Tzschichholz | 2019-03-12 | 1 | -1/+1 |
| | |||||
* | genieparser: Don't create VoidType unconditionally | Rico Tzschichholz | 2019-02-26 | 1 | -2/+4 |
| | |||||
* | genie: Allow the main function "init" to return an integer as exit status | Alistair Thomas | 2019-02-26 | 1 | -6/+13 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/402 | ||||
* | genie: Support `protected` accessibility and allow explicit `public` | Michal Proszek | 2019-01-20 | 1 | -19/+55 |
| | | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/346 | ||||
* | genieparser: Use dedicated Class.add_constructor/destructor() methods | Rico Tzschichholz | 2018-11-17 | 1 | -36/+2 |
| | |||||
* | Drop deprecated syntax support of # modifier and operator | Rico Tzschichholz | 2018-09-22 | 1 | -12/+0 |
| | | | | | | owned modifier and (owned) cast should be used instead for a long time. Fixes https://gitlab.gnome.org/GNOME/vala/issues/677 | ||||
* | vala: Enforce "return yield ..." syntax to be expected | Rico Tzschichholz | 2018-09-22 | 1 | -6/+2 |
| | | | | | | "yield return ..." wasn't handled correctly and resulted in broken c-code. Fixes https://gitlab.gnome.org/GNOME/vala/issues/675 | ||||
* | Replace `%s` with `%s' in format strings of output messages | Rico Tzschichholz | 2018-08-08 | 1 | -1/+1 |
| | |||||
* | Reintroduce POSIX profile | Rico Tzschichholz | 2018-05-08 | 1 | -4/+7 |
| | | | | This reverts commit ca020bf04a09fe16e5583eea5a3a341e7796bff5. | ||||
* | vala: Move creation of reference field from parser into property | Rico Tzschichholz | 2018-04-19 | 1 | -16/+0 |
| | |||||
* | Drop trailing spaces/tabs | Rico Tzschichholz | 2018-03-27 | 1 | -182/+182 |
| | | | | It was about time to do this. | ||||
* | parser: Allow custom invocations of parse_file() | Rico Tzschichholz | 2018-01-02 | 1 | -0/+8 |
| | | | | | | Use CodeContext of SourceFile if needed https://bugzilla.gnome.org/show_bug.cgi?id=791936 | ||||
* | vala: Add dedicated CastExpression.silent() constructor | Rico Tzschichholz | 2017-12-14 | 1 | -2/+2 |
| | |||||
* | Release taken references to CodeContext after using it | Rico Tzschichholz | 2017-12-14 | 1 | -0/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=712694 | ||||
* | genieparser: Allow comma-separated identifiers in definition of enums | Rico Tzschichholz | 2017-02-17 | 1 | -3/+25 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=776833 | ||||
* | vala: Fix output of syntax errors reports | Rico Tzschichholz | 2017-01-05 | 1 | -23/+24 |
| | | | | | | | | | get_error() did not take printf-formatted strings, it expected fully populated ones for direct usage with Report.error(). Output error message with report_parse_error() from try-catch-statements. https://bugzilla.gnome.org/show_bug.cgi?id=776827 | ||||
* | vala: Pass through the format-literal | Rico Tzschichholz | 2016-11-07 | 1 | -1/+1 |
| | | | | https://bugzilla.gnome.org/show_bug.cgi?id=774060 | ||||
* | Do not use non-literal printf format strings | Jürg Billeter | 2016-11-03 | 1 | -3/+3 |
| | |||||
* | Add [FormatArg] attribute to Parser.get_error | Jürg Billeter | 2016-11-03 | 1 | -1/+1 |
| | |||||
* | parser: Cache current token if possible | Rico Tzschichholz | 2016-11-01 | 1 | -6/+7 |
| | |||||
* | genie: Warn about "const static" declarations where "static" is superfluous | Rico Tzschichholz | 2016-06-13 | 1 | -0/+5 |
| | |||||
* | genie: anonymous functions as function return values and assignment to variables | nieka@dsv.nl | 2015-11-25 | 1 | -48/+49 |
| | | | | Fixes bug 746704 | ||||
* | Support non-literal length in fixed-size arrays | Simon | 2014-03-30 | 1 | -8/+3 |
| | | | | | | | Now any constant integer expression can be used as length for fixed-size arrays. Fixes bug 638993 | ||||
* | Genie: Fixed use of print statements when variables are null | Jamie McCracken | 2013-09-08 | 1 | -6/+6 |
| | |||||
* | Fix spelling errors using 'codespell' tool | Anatol Pomozov | 2013-04-26 | 1 | -1/+1 |
| | |||||
* | GENIE: Updated genie to include fixes from vala parser | Jamie McCracken | 2012-09-15 | 1 | -150/+218 |
| | |||||
* | Genie: Fix functions can take only one Generic as argument (611191) | Jamie McCracken | 2012-08-28 | 1 | -19/+39 |
| | |||||
* | Drop POSIX profile | Jürg Billeter | 2012-08-06 | 1 | -7/+4 |
| | |||||
* | Use SourceLocation in SourceReference | Jürg Billeter | 2012-06-02 | 1 | -4/+3 |
| |