| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
| |
Replace '\' with '/' in SourceFile.relative_path like in CodeContext.realpath().
F:/msys64/home/x/test/test.vala.c: In function '_vala_main':
F:/msys64/home/x/test/test.vala.c:12:9: warning: unknown escape sequence: '\M'
12 | #line 3 "C:\MyFiles\test.vala"
| ^~~~~~~~~~~~~~~~~~~~~~
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1353
|
|
|
|
| |
See https://gitlab.gnome.org/GNOME/vala/issues/1330
|
|
|
|
| |
Fixes https://gitlab.gnome.org/GNOME/vala/issues/1189
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Don't check _package_name directly, which may be null at the time
installed_version is accessed. This fixes a bug where Vala wouldn't
generate errors when using symbols that are unavailable for a package
version.
Introduced by 7f0e90a5c34f437b7ab8f9197a9d42fc835b1a60
Fixes https://gitlab.gnome.org/GNOME/vala/issues/971
|
|
|
|
| |
Correctly state ownership in documentation since those were never a copy.
|
| |
|
| |
|
|
|
|
| |
It was about time to do this.
|
| |
|
|
|
|
|
|
| |
E.g. gtk+-4.0 is *one* library with multiple namespaces and gir files. So
we need to handle this case and allow all explicitly given GIR files to be
parsed.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
Fixes bug 755917
|
|
|
|
| |
Use #include "..." rather than #include <...>
|
|
|
|
|
|
| |
Commit af0aa50c misses the separator for Path.build_path.
Fixes bug 658355.
|
|
|
|
|
|
|
|
| |
Fixes a regression introduced by commit 7f7a991aa7689137e166.
Using Path.build_path prevents having double slash (//) in the path
which could be interpreted as comments by the C compiler.
Fixes bug 658296.
|
|
|
|
| |
This deprecates string.rchr.
|
|
|
|
|
| |
This deprecates string.utf8_offset, string.offset,
string.pointer_to_offset, and string.ndup.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
Consider a source file as used only if actual C code (or declarations)
have been generated from something in that source file.
This greatly reduces the number of dependencies listed for compilations
that touch a large number of symbols in trivial ways without really
making use of them (for example, when listing a very large number of
unused fast-vapi files, as parvala does).
Fixes bug 630144.
|
|
|
|
|
|
|
|
|
|
| |
Add a --deps= option to the compiler to write out a make-style
dependency file. The name of the target used is the name of the
dependency file itself.
This lets the dependency file serve as a stamp for the C file (which may
or may not be touched depending if it was changed). The dependency
output is always touched.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
| |
SourceFileType has 2 possible values:
SOURCE
PACKAGE
and replaces the CodeWriter.external_package boolean with a new field
called 'file_type'.
|
| |
|
|
|
|
| |
Fixes bug 591683.
|
| |
|
|
|
|
|
|
| |
They are not very useful in the compiler as they are not immutable,
which means that they do not allow iteration while modifying the
underlying collection.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch introduces two new CCode annotations for use in VAPI files,
gir_namespace and gir_version. This allows us to correctly map vala
namespaces to gobject-introspection namespaces when generating GIR
files.
The mapping is actually done on a SourceFile level. This allows us to
work around cases where one vala namespace maps into multiple GIR
namespaces (in particular, GLib vs GLib and GObject).
In the absense of annotations, the old 'guess it' method will be
applied.
This commit also adds annotations to some core vapis.
Fixes bug 584683.
|
| |
|
| |
|
| |
|
|
|
|
| |
Fixes bug 529040, bug 540513, and bug 546096.
|
|
|
|
|
|
|
| |
This basedir is used in the VAPI file. Needed because of the way that build
systems such as Waf deal with the location of the public header.
Fixes GNOME Bug #589964.
|
| |
|
| |
|
|
|
|
| |
Fixes bug 501585.
|
| |
|
|
|
|
|
|
| |
Generate single C header file for public API, do not use header
files for internal API. Fixes bug 471244, bug 571037, bug 572536,
and bug 575629.
|
|
|
|
|
|
|
|
|
|
|
| |
2009-01-17 Jürg Billeter <j@bitron.ch>
* vala/valaenumvalue.vala:
* vala/valasourcefile.vala:
Add missing include for enum values, fixes bug 531724
svn path=/trunk/; revision=2381
|
|
|
|
|
|
|
|
|
|
|
| |
2008-12-06 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala:
Add SourceFile.clear_using_directives method, required by
anjuta-vala-plugin
svn path=/trunk/; revision=2120
|
|
|
|
|
|
|
|
|
|
| |
2008-11-30 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala:
Fix critical when using error codes
svn path=/trunk/; revision=2088
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-17 Jürg Billeter <j@bitron.ch>
* vala/valaarraycreationexpression.vala:
* vala/valaelementaccess.vala:
* vala/valasourcefile.vala:
Allow any integer compatible value to be used as array index,
fixes bug 561057
svn path=/trunk/; revision=2029
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-11-10 Jürg Billeter <j@bitron.ch>
* vala/valaaddressofexpression.vala:
* vala/valaarraycreationexpression.vala:
* vala/valaassignment.vala:
* vala/valabinaryexpression.vala:
* vala/valablock.vala:
* vala/valacastexpression.vala:
* vala/valacatchclause.vala:
* vala/valaclass.vala:
* vala/valaconditionalexpression.vala:
* vala/valaconstant.vala:
* vala/valaconstructor.vala:
* vala/valacreationmethod.vala:
* vala/valadeclarationstatement.vala:
* vala/valadelegate.vala:
* vala/valadeletestatement.vala:
* vala/valadestructor.vala:
* vala/valadostatement.vala:
* vala/valaelementaccess.vala:
* vala/valaenum.vala:
* vala/valaenumvalue.vala:
* vala/valaerrorcode.vala:
* vala/valaerrordomain.vala:
* vala/valaexpressionstatement.vala:
* vala/valafield.vala:
* vala/valaforeachstatement.vala:
* vala/valaformalparameter.vala:
* vala/valaforstatement.vala:
* vala/valaifstatement.vala:
* vala/valainitializerlist.vala:
* vala/valainterface.vala:
* vala/valainvocationexpression.vala:
* vala/valalambdaexpression.vala:
* vala/valalocalvariable.vala:
* vala/valalockstatement.vala:
* vala/valamemberaccess.vala:
* vala/valamemberinitializer.vala:
* vala/valamethod.vala:
* vala/valanamespace.vala:
* vala/valaobjectcreationexpression.vala:
* vala/valaparenthesizedexpression.vala:
* vala/valapointerindirection.vala:
* vala/valapostfixexpression.vala:
* vala/valaproperty.vala:
* vala/valapropertyaccessor.vala:
* vala/valareferencetransferexpression.vala:
* vala/valareturnstatement.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasignal.vala:
* vala/valasizeofexpression.vala:
* vala/valasourcefile.vala:
* vala/valastruct.vala:
* vala/valaswitchlabel.vala:
* vala/valaswitchsection.vala:
* vala/valaswitchstatement.vala:
* vala/valathrowstatement.vala:
* vala/valatrystatement.vala:
* vala/valatypecheck.vala:
* vala/valatypeofexpression.vala:
* vala/valaunaryexpression.vala:
* vala/valawhilestatement.vala:
* vala/valayieldstatement.vala:
Remove unnecessary accept calls in semantic analyzer
svn path=/trunk/; revision=2010
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-31 Jürg Billeter <j@bitron.ch>
* vala/valacodenode.vala:
* vala/valaformalparameter.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
Check parameters when checking arguments
svn path=/trunk/; revision=1944
|
|
|
|
|
|
|
|
|
|
|
| |
2008-10-25 Jürg Billeter <j@bitron.ch>
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
Fix crash on certain header dependencies, fixes bug 546183
svn path=/trunk/; revision=1918
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-28 Jürg Billeter <j@bitron.ch>
* vala/valasourcefile.vala:
Support parsing from a string, patch by Andrea Del Signore,
fixes bug 553926
svn path=/trunk/; revision=1806
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2008-09-26 Jürg Billeter <j@bitron.ch>
* vala/Makefile.am:
* vala/valacodevisitor.vala:
* vala/valagenieparser.vala:
* vala/valaparser.vala:
* vala/valasemanticanalyzer.vala:
* vala/valasourcefile.vala:
* vala/valasymbolresolver.vala:
* vala/valaunresolvedsymbol.vala:
* vala/valausingdirective.vala:
* compiler/valacompiler.vala:
Replace NamespaceReference by UsingDirective and UnresolvedSymbol,
fixes bug 537510
* tests/namespaces.vala:
Test using directive with nested namespaces
svn path=/trunk/; revision=1783
|
|
|
|
|
|
|
|
|
| |
2008-08-14 Jürg Billeter <j@bitron.ch>
Don't derive from GObject in libvala where not necessary to improve
compilation performance
svn path=/trunk/; revision=1757
|