summaryrefslogtreecommitdiff
path: root/vala/valasymbol.vala
Commit message (Collapse)AuthorAgeFilesLines
* Introduce [Version (...)]Florian Brosch2016-01-301-88/+16
| | | | | | | | | | | | | | | | | 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.
* Symbol: fix docs for owner and scopeBen Iofel2016-01-271-1/+4
|
* Make .vapi files on the command line generate quoted includesDaniel Silverstone2011-11-151-0/+13
| | | | Use #include "..." rather than #include <...>
* Warn for deprecated and experimental only for symbols in external packagesLuca Bruno2011-08-261-2/+2
| | | | Fixes bug 657283.
* Drop C specific methods from the code treeLuca Bruno2011-08-011-135/+0
|
* Drop Symbol.process_experimental_attributeLuca Bruno2011-08-011-9/+0
|
* On-demand Symbol.experimentalLuca Bruno2011-08-011-3/+13
|
* Drop Symbol.process_deprecated_attributeLuca Bruno2011-08-011-9/+0
|
* On-demand Symbol.replacementLuca Bruno2011-08-011-5/+8
|
* On-demand Symbol.deprecated_sinceLuca Bruno2011-08-011-4/+8
|
* On-demand Symbol.deprecatedLuca Bruno2011-08-011-3/+13
|
* Add support for [Experimental] attributeMarco Trevisan (Treviño)2011-03-151-0/+31
| | | | | | | Report a warning when using experimental symbols. The GIDL parser has been updated, too, and bindings have been regenerated. Fixes bug 644779.
* Do not use verbose error reporting for deprecation warningsJürg Billeter2011-01-281-1/+1
|
* glib-2.0: Add string.index_ofJürg Billeter2011-01-151-1/+1
| | | | This deprecates string.str.
* glib-2.0: Add string.index_of_nth_charJürg Billeter2011-01-151-2/+2
| | | | | This deprecates string.utf8_offset, string.offset, string.pointer_to_offset, and string.ndup.
* girwriter: Flatten symbols nested in a way not supported by GIREvan Nemerson2010-11-101-3/+5
| | | | Fixes bug 619865.
* Move several enums into the Vala namespaceEvan Nemerson2010-10-101-1/+1
|
* SourceFile: change the definition of 'used'Ryan Lortie2010-10-061-10/+1
| | | | | | | | | | | | 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.
* Write GIR version 1.2 instead of version 1.1Evan Nemerson2010-09-151-1/+39
| | | | Fixes bug 628927.
* valac: Output make-style dependency fileRyan Lortie2010-09-091-1/+10
| | | | | | | | | | 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.
* Symbol: Add SourceFileType source_typeRyan Lortie2010-09-091-1/+15
| | | | | | | Pass this through from the SourceFileType of the source file. If there is no source file, use SourceFileType.NONE. Redefine 'external_package' in terms of this new property.
* SourceFile: Introduce SourceFileType enumerationRyan Lortie2010-09-091-1/+1
| | | | | | | | | SourceFileType has 2 possible values: SOURCE PACKAGE and replaces the CodeWriter.external_package boolean with a new field called 'file_type'.
* Improve performance of SemanticAnalyzer.is_type_accessibleJürg Billeter2010-09-091-0/+12
|
* Refactor parser to avoid parse_*_member methodsJürg Billeter2010-08-211-0/+56
|
* glib-2.0: Deprecate string.len () in favor of string.lengthJürg Billeter2010-08-201-4/+4
|
* Fix Symbol.get_cheader_filenamesJürg Billeter2010-08-121-4/+4
|
* Do not create array lists where not necessaryJürg Billeter2010-08-121-10/+23
|
* Remove Member classJürg Billeter2010-07-271-2/+77
|
* Add support for [Deprecated] attributeEvan Nemerson2010-06-151-0/+48
| | | | Fixes bug 614712.
* Do not use string.replaceJürg Billeter2010-02-051-2/+6
| | | | GRegex requires GLib 2.14.
* Improve display name of creation methodspancake2010-01-081-2/+2
| | | | Fixes bug 601803.
* Do not use Gee namespace to avoid conflict with libgeeJürg Billeter2009-10-121-2/+1
|
* Improve CamelCase to lower_case transformationJürg Billeter2009-08-011-0/+5
| | | | Fixes bug 585718.
* Support locks with static fieldsLevi Bard2009-07-271-0/+44
| | | | Fixes bug 537461.
* Rework header file generationJürg Billeter2009-03-311-4/+9
| | | | | | 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.
* Report unused internal methodsJürg Billeter2009-01-311-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-01-31 Jürg Billeter <j@bitron.ch> * vala/valaflowanalyzer.vala: * vala/valasymbol.vala: Report unused internal methods * gobject/valaccodearraymodule.vala: * gobject/valaccodeassignmentmodule.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodecontrolflowmodule.vala: * gobject/valaccodedelegatemodule.vala: * gobject/valaccodememberaccessmodule.vala: * gobject/valaccodemethodcallmodule.vala: * gobject/valaccodemethodmodule.vala: * gobject/valaccodestructmodule.vala: * gobject/valadbusclientmodule.vala: * gobject/valadbusmodule.vala: * gobject/valadbusservermodule.vala: * gobject/valagasyncmodule.vala: * gobject/valagerrormodule.vala: * gobject/valagobjectmodule.vala: * gobject/valagsignalmodule.vala: * gobject/valagtypemodule.vala: Mark modules as internal svn path=/trunk/; revision=2412
* Fix determining relative accessibility, fixes bug 559798Jürg Billeter2009-01-161-11/+16
| | | | | | | | | | 2009-01-16 Jürg Billeter <j@bitron.ch> * vala/valasymbol.vala: Fix determining relative accessibility, fixes bug 559798 svn path=/trunk/; revision=2369
* Warn when using result variable with incompatible type to prepare possibleJürg Billeter2009-01-101-11/+11
| | | | | | | | | | | | | | | | | 2009-01-10 Jürg Billeter <j@bitron.ch> * vala/valalocalvariable.vala: Warn when using result variable with incompatible type to prepare possible introduction of implicit result variable * vala/valageniescanner.vala: * vala/valascanner.vala: * vala/valasymbol.vala: Fix new warnings svn path=/trunk/; revision=2322
* Report unused fields, methods, and local variablesJürg Billeter2008-11-141-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-11-14 Jürg Billeter <j@bitron.ch> * vala/valacfgbuilder.vala: * vala/valamemberaccess.vala: * vala/valamethod.vala: * vala/valasymbol.vala: * gobject/valaccodemethodmodule.vala: Report unused fields, methods, and local variables * vala/valacodecontext.vala: * vala/valadynamicproperty.vala: * vala/valaenum.vala: * vala/valagenieparser.vala: * vala/valainterfacewriter.vala: * vala/valaparser.vala: * vala/valastruct.vala: * vala/valaunresolvedtype.vala: * gobject/valaccodearraymodule.vala: * gobject/valaccodeassignmentmodule.vala: * gobject/valaccodebasemodule.vala: * gobject/valaccodeinvocationexpressionmodule.vala: * gobject/valaccodememberaccessmodule.vala: * gobject/valadbusservermodule.vala: * gobject/valagobjectmodule.vala: * vapigen/valagirparser.vala: * vapigen/valamarkupreader.vala: Remove unused symbols svn path=/trunk/; revision=2016
* Use constructor chaining instead of helper methodJürg Billeter2008-10-271-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-10-27 Jürg Billeter <j@bitron.ch> * vala/valaarraylengthfield.vala: * vala/valaarraymovemethod.vala: * vala/valaarrayresizemethod.vala: * vala/valablock.vala: * vala/valaclass.vala: * vala/valaconstant.vala: * vala/valaconstructor.vala: * vala/valacreationmethod.vala: * vala/valadelegate.vala: * vala/valadestructor.vala: * vala/valadynamicmethod.vala: * vala/valadynamicproperty.vala: * vala/valadynamicsignal.vala: * vala/valaenum.vala: * vala/valaenumvalue.vala: * vala/valaerrorcode.vala: * vala/valaerrordomain.vala: * vala/valafield.vala: * vala/valaforeachstatement.vala: * vala/valaformalparameter.vala: * vala/valainterface.vala: * vala/valalocalvariable.vala: * vala/valamember.vala: * vala/valamethod.vala: * vala/valanamespace.vala: * vala/valaobjecttypesymbol.vala: * vala/valaproperty.vala: * vala/valasignal.vala: * vala/valastruct.vala: * vala/valaswitchsection.vala: * vala/valasymbol.vala: * vala/valatypeparameter.vala: * vala/valatypesymbol.vala: Use constructor chaining instead of helper method svn path=/trunk/; revision=1934
* Don't derive from GObject in libvala where not necessary to improveJürg Billeter2008-08-141-3/+2
| | | | | | | | | 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
* Don't transform non-lowercase names to CamelCaseJürg Billeter2008-07-111-0/+3
| | | | | | | | | | 2008-07-11 Jürg Billeter <j@bitron.ch> * vala/valasymbol.vala: Don't transform non-lowercase names to CamelCase svn path=/trunk/; revision=1696
* Support methods and property accessors with body in VAPI filesJürg Billeter2008-07-071-9/+6
| | | | | | | | | | | | | | 2008-07-07 Jürg Billeter <j@bitron.ch> * vala/valaparser.vala: * vala/valasourcefile.vala: * vala/valasymbol.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodegeneratorsourcefile.vala: Support methods and property accessors with body in VAPI files svn path=/trunk/; revision=1679
* Use CamelCase for methods and signals exported to D-Bus, fixes bug 538818Jürg Billeter2008-06-171-0/+29
| | | | | | | | | | | | 2008-06-17 Jürg Billeter <j@bitron.ch> * vala/valasymbol.vala: * gobject/valaccodeobjecttypesymbolbinding.vala: Use CamelCase for methods and signals exported to D-Bus, fixes bug 538818 svn path=/trunk/; revision=1608
* Add support for dynamic properties of GObjectsJuerg Billeter2008-05-301-1/+1
| | | | | | | | | | | | | 2008-05-30 Juerg Billeter <j@bitron.ch> * vala/valadynamicmethod.vala: * vala/valadynamicproperty.vala: * vala/valasymbol.vala: * gobject/valaccodedynamicpropertybinding.vala: Add support for dynamic properties of GObjects svn path=/trunk/; revision=1497
* Use Gee.List instead of Gee.Collection to improve iteration performanceJuerg Billeter2008-05-291-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-05-29 Juerg Billeter <j@bitron.ch> * vala/valablock.vala: * vala/valaclass.vala: * vala/valacodecontext.vala: * vala/valacodenode.vala: * vala/valadatatype.vala: * vala/valadelegatetype.vala: * vala/valadynamicmethod.vala: * vala/valadynamicproperty.vala: * vala/valaenum.vala: * vala/valaerrordomain.vala: * vala/valaforstatement.vala: * vala/valainitializerlist.vala: * vala/valainterface.vala: * vala/valainterfacewriter.vala: * vala/valainvocationexpression.vala: * vala/valalambdaexpression.vala: * vala/valamember.vala: * vala/valamemberaccess.vala: * vala/valamethod.vala: * vala/valamethodtype.vala: * vala/valanamespace.vala: * vala/valaobjectcreationexpression.vala: * vala/valaobjecttypesymbol.vala: * vala/valapointertype.vala: * vala/valasemanticanalyzer.vala: * vala/valasignaltype.vala: * vala/valasourcefile.vala: * vala/valastruct.vala: * vala/valaswitchsection.vala: * vala/valaswitchstatement.vala: * vala/valasymbol.vala: * vala/valasymbolresolver.vala: * vala/valatypesymbol.vala: * ccode/valaccodecommaexpression.vala: * ccode/valaccodefragment.vala: * gobject/valaccodeassignmentbinding.vala: * gobject/valaccodeelementaccessbinding.vala: * gobject/valaccodegenerator.vala: * gobject/valaccodegeneratorsignal.vala: * gobject/valaccodeinvocationexpressionbinding.vala: * gobject/valagidlwriter.vala: Use Gee.List instead of Gee.Collection to improve iteration performance svn path=/trunk/; revision=1493
* Replace [Import] attribute by `extern' keyword, rename `is_imported'Juerg Billeter2008-04-201-4/+21
| | | | | | | | | | | | | | | | | | | | | | | 2008-04-20 Juerg Billeter <j@bitron.ch> * vala/valacfgbuilder.vala, vala/valaclass.vala, vala/valacodecontext.vala, vala/valainterfacewriter.vala, vala/valamember.vala, vala/valamemorymanager.vala, vala/valamethod.vala, vala/valanamespace.vala, vala/valaparser.vala, vala/valascanner.vala, vala/valasemanticanalyzer.vala, vala/valasourcefile.vala, vala/valasymbol.vala, vala/valatokentype.vala, vala/valatypesymbol.vala, gobject/valaccodecompiler.vala, gobject/valaccodegenerator.vala, gobject/valagidlwriter.vala, vapigen/valagidlparser.vala, vapi/packages/gnome-keyring-1/, vapi/packages/gstreamer-0.10/, vapi/packages/gtk+-2.0/, vapi/packages/libgnome-menu/, vapi/packages/pango/: Replace [Import] attribute by `extern' keyword, rename `is_imported' property to `external' and `pkg' property to `external_package' to harmonize used terms, fixes bug 480253 svn path=/trunk/; revision=1286
* report warning when using null literal as return expression of methodJuerg Billeter2008-04-141-1/+1
| | | | | | | | | | | 2008-04-14 Juerg Billeter <j@bitron.ch> * vala/valasemanticanalyzer.vala: report warning when using null literal as return expression of method returning non-null value * */*.vala: fix warnings svn path=/trunk/; revision=1228
* fix build when using non-null typesJuerg Billeter2008-04-131-1/+1
| | | | | | | | 2008-04-13 Juerg Billeter <j@bitron.ch> * */*.vala: fix build when using non-null types svn path=/trunk/; revision=1212
* report warning when using obsolete syntax for non-null typesJuerg Billeter2008-04-131-4/+4
| | | | | | | | | | | 2008-04-13 Juerg Billeter <j@bitron.ch> * vala/valaparser.vala: report warning when using obsolete syntax for non-null types * */*.vala, */*.vapi: port to new syntax svn path=/trunk/; revision=1208