summaryrefslogtreecommitdiff
path: root/compiler
Commit message (Collapse)AuthorAgeFilesLines
* Fix output decoding error of non-ASCII character on Win32wszqkzqk2022-11-271-15/+15
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/1379
* doc: Update man page to include more information on profilesAlistair Thomas2021-05-081-5/+5
|
* vala: Add Profile.LIBC as synonym for POSIX and accept "libc" profileRico Tzschichholz2021-04-151-0/+1
|
* Perform runtime version check of libvalaRico Tzschichholz2020-11-051-0/+5
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/88
* vala: Make use of new printf-like API of Report.*()Rico Tzschichholz2020-10-261-2/+2
|
* vala: Drop --use-header compiler option and enable it by defaultMason Bogue2020-04-051-6/+1
| | | | | | Import definitions from generated header files if available Fixes https://gitlab.gnome.org/GNOME/vala/issues/713
* vala: Move setting of target profile and standard packages into CodeContextRico Tzschichholz2020-03-251-30/+19
|
* Add missing CodeContext.pop() callsPrinceton Ferro2020-03-011-0/+3
| | | | Release previously pushed CodeContext instances from static list.
* Correct a few spelling errors in user visible stringsRico Tzschichholz2020-02-051-1/+1
|
* compiler: Add "--depfile" option writing package dependencies to given fileRico Tzschichholz2019-12-211-0/+6
| | | | This is meant to be used by build systems before invoking rebuilds
* compiler: Add "--list-sources" options to output a list of all sourcesRico Tzschichholz2019-11-061-0/+14
| | | | Fixes https://gitlab.gnome.org/GNOME/vala/issues/872
* Add boolean CodeContext.keep_going and corresponding compiler optionRico Tzschichholz2019-09-021-0/+3
| | | | | If keep_going is set then check() will continue after hitting errors in resolver and analyzer.
* compiler: Add OptionFlags.NO_ARG to deprecated "--thread" optionRico Tzschichholz2019-05-011-1/+1
| | | | | | It was defined with OptionArg.NONE and never took an extra argument. Regression of d8e810680f370fac7e9a5e80f8d94316707625c2
* build: Pass some useful G_LOG_DOMAIN definitionsRico Tzschichholz2019-04-241-0/+1
|
* vala: Add support for --target-glib=autoRico Tzschichholz2019-03-171-1/+1
| | | | | | Determine target-glib according to the available version of glib-2.0. Fixes https://gitlab.gnome.org/GNOME/vala/issues/761
* compiler: Report deprecated command-line option "--thread"Rico Tzschichholz2019-01-181-2/+6
|
* vala: Move setting of default defines for VALA_0_XX and GLIB_2_XX to ContextRico Tzschichholz2018-11-241-18/+2
| | | | | | This avoids duplicated code and reduces the setup burden for library users. Also start to warn about redefinitions, especially for our default defines.
* Bump version suffixRico Tzschichholz2018-09-171-1/+1
|
* Use dedicated version api of libvala internally as wellRico Tzschichholz2018-08-091-4/+4
|
* compiler: Warn if --gir is used without --libraryRico Tzschichholz2018-05-191-0/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=708693
* Reintroduce POSIX profileRico Tzschichholz2018-05-081-38/+54
| | | | This reverts commit ca020bf04a09fe16e5583eea5a3a341e7796bff5.
* Bump version suffixRico Tzschichholz2018-03-201-1/+1
|
* compiler: fix critical when vala is called without run argsDr. Michael Lauer2018-02-281-3/+5
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=793657
* compiler: Prefix headers for set_cheader_override() if includedir is givenRico Tzschichholz2018-02-081-1/+9
| | | | | | We need to account for changes done by SourceFile.get_cinclude_filename() https://bugzilla.gnome.org/show_bug.cgi?id=793299
* valac: Always use the given "pkg-config" and respect PKG_CONFIG envarRico Tzschichholz2018-02-081-5/+7
|
* compiler: Add --abi-stability option for future ABI stability enablementDaniel Espinosa2018-01-201-0/+3
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=789069
* Make use of GLib.OPTION_REMAINING instead of ""Rico Tzschichholz2017-12-131-1/+1
|
* compiler: Properly parse arguments for vala interpeter-modeRico Tzschichholz2017-11-191-29/+22
| | | | | | Arguments for the target need to be passed with --run-args from now on. https://bugzilla.gnome.org/show_bug.cgi?id=663070
* Bump version suffixRico Tzschichholz2017-09-111-1/+1
|
* compiler: Use API_VERSION instead of stripping PACKAGE_SUFFIXRico Tzschichholz2017-06-211-2/+2
|
* compiler: Add --gresourcesdir optionDaniel Espinosa2017-06-071-1/+5
| | | | | | | | In case a gresources.xml is located in a different directory than its corresponding resources, --gresourcesdir will add additional search locations for UI files of Gtk+ templates. https://bugzilla.gnome.org/show_bug.cgi?id=783133
* Require and target GLib >= 2.40Rico Tzschichholz2017-05-171-1/+1
| | | | | | | The next stable release of vala will happen 3.5 years after the release of GLib 2.40.0. https://bugzilla.gnome.org/show_bug.cgi?id=782005
* compiler: Add --color=WHEN optionRico Tzschichholz2017-04-171-5/+22
| | | | It follows the format of other tools like diff and git-diff.
* build: Make ccode and codegen private APIRico Tzschichholz2017-04-141-1/+3
| | | | valac is the only consumer and will statically link these libraries.
* Bump version suffixRico Tzschichholz2017-04-141-1/+1
|
* valac: State default output directory is current working directoryAlistair Thomas2017-03-141-1/+1
| | | | https://bugzilla.gnome.org/show_bug.cgi?id=740303
* Ignore --thread commandline option and drop all gthread-2.0 referencesRico Tzschichholz2016-10-101-2/+1
| | | | With vala 0.32 there was no further support for glib < 2.32.
* Bump version suffixRico Tzschichholz2016-09-251-1/+1
|
* Bump version suffixJürg Billeter2016-05-091-1/+1
|
* Require and target GLib >= 2.32Rico Tzschichholz2016-02-071-1/+1
| | | | | The next stable release of vala will happen four years after the release of GLib 2.32.0.
* Always check unused attrs. Add [Version] to known attrsLuca Bruno2016-01-301-2/+0
|
* Introduce [Version (...)]Florian Brosch2016-01-301-0/+3
| | | | | | | | | | | | | | | | | Parameters: since: string, version number experimental: bool (was: [Experimental]) experimental_until: string, version number deprecated_since: string, version number (was: [Deprecated (since="")]) replacement: string, symbol name (was: [Deprecated (replacement="")]) deprecated: bool (was: [Deprecated]) Used symbols labeled with [Version (since = "")] are checked against the locally installed package version. Use --disable-since-check to avoid this behaviour. Fixes bug 678912.
* Bump version suffixRico Tzschichholz2015-11-271-1/+1
|
* Add --shared-library option for GIR filesDavid Lechner2015-08-111-1/+3
| | | | Fixes bug 585116
* Bump version suffixJürg Billeter2015-03-221-1/+1
|
* Use GLib.Environment instead of GLib.EnvironJürg Billeter2015-01-131-2/+1
| | | | GLib.Environ is not available in GLib < 2.32.
* Warn about unused attributesLuca Bruno2014-12-031-0/+6
| | | | This may not be the best approach, but it's a start
* Add colored outputFlorian Brosch2014-09-231-3/+18
| | | | | | | | | Use --no-color to disable colors Use VALA_COLORS to change colors E.g. VALA_COLORS = "error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01" Fixes bug 734627.
* Bump version suffixJürg Billeter2014-09-231-1/+1
|
* Added option --vapi-comments to include comments in vapi-filesRichard Wiedenhöft2014-09-031-0/+3
|