1. 30 Aug, 2007 2 commits
    • Jürg Billeter's avatar
      rename MemberAccessibility to SymbolAccessibility and move its declaration · 6accf66c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamemberaccessibility.vala: rename MemberAccessibility to
      	  SymbolAccessibility and move its declaration to vala/valasymbol.vala
      	* vala/parser.y: store accessibility modifier for properties and follow
      	  the renames caused by the accessibility releated refactoring, cast
      	  the Struct allocated in struct_declaration to silence gcc
      	* vala/Makefile.am: remove valamemberaccessibility.* files
      	* vala/valasymbol.vala: add access property found in serveral
      	  sub-classes and add is_internal_symbol () method, which considers
      	  parent symbols to determinate if a symbol belongs to internal API
      	* gobject/*, vala/*, vapigen/valagidlparser.vala:
      	  move the access property/field found in several Symbol derived
      	  classes to the Symbol class where it belongs and rename the
      	  MemberAccessibility enumeration to SymbolAccessibility
      
      	* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
      	  to public on initialization, as there is no accessibility modifier
      	* gobject/valacodegenerator.vala: do not add internal symbols to
      	  header_type_member_declarations
      	* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
      	  dependencies for internal symbols
      	* gobject/valacodegeneratormethod.vala: consider all anchestors,
      	  not just the parent for visibility
      
      	patch by Mathias Hasselmann, fixes bug 471475
      
      svn path=/trunk/; revision=546
      6accf66c
    • Jürg Billeter's avatar
      don't implicitly derive from GLib.Object in preparation for a more · 475ca45f
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala:
      	  don't implicitly derive from GLib.Object in preparation for a more
      	  consistent type system
      
      	* gee/arraylist.vala, gee/hashmap.vala, gee/hashset.vala,
      	  gee/iterable.vala, gee/iterator.vala, gee/list.vala, gee/map.vala,
      	  gee/readonlycollection.vala, gee/readonlylist.vala,
      	  gee/readonlymap.vala, gee/readonlyset.vala,
      	  vala/valabindingprovider.vala, vala/valacodecontext.vala,
      	  vala/valacodenode.vala, vala/valacodevisitor.vala,
      	  vala/valascope.vala, vala/valasourcefile.vala,
      	  vala/valasourcefilecycle.vala, vala/valasourcereference.vala,
      	  ccode/valaccodenode.vala, ccode/valaccodewriter.vala,
      	  gobject/valaccodecompiler.vala, gobject/valadbusbindingprovider.vala,
      	  gobject/valatyperegisterfunction.vala, compiler/valacompiler.vala,
      	  tests/, vapigen/valavapigen.vala: derive all classes from GLib.Object
      
      svn path=/trunk/; revision=536
      475ca45f
  2. 27 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      generate static get_type functions for non-public classes and interfaces, · 0b2874e6
      Jürg Billeter authored
      2007-08-27  Juerg Billeter  <j@bitron.ch>
      
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: generate static get_type
      	  functions for non-public classes and interfaces,
      	  patch by Ed Schouten, fixes bug 470428
      
      svn path=/trunk/; revision=504
      0b2874e6
  3. 09 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove obsolete ref modifier and callback keyword · ffb3d21f
      Jürg Billeter authored
      2007-07-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valaarray.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
      	  vala/valabaseaccess.vala, vala/valablock.vala,
      	  vala/valabooleanliteral.vala, vala/valacallback.vala,
      	  vala/valaclass.vala, vala/valacodecontext.vala,
      	  vala/valacodenode.vala, vala/valacreationmethod.vala,
      	  vala/valadatatype.vala, vala/valaelementaccess.vala,
      	  vala/valaenum.vala, vala/valafield.vala, vala/valaflags.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valaintegerliteral.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valanamespace.vala, vala/valanullliteral.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
      	  vala/valapointer.vala, vala/valaproperty.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valasourcereference.vala,
      	  vala/valastringliteral.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormemberaccess.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala,
      	  gobject/valacodegeneratorsourcefile.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunction.vala, compiler/valacompiler.vala,
      	  vapi/cairo.vala, vapi/glib-2.0.vala, vapi/libxml-2.0.vala,
      	  tests/test-023.vala, gobject-introspection/gidl.vala,
      	  vapigen/valagidlparser.vala, vapigen/valavapigen.vala: remove obsolete
      	  ref modifier and callback keyword
      
      svn path=/trunk/; revision=334
      ffb3d21f
  4. 10 May, 2007 1 commit
    • Jürg Billeter's avatar
      separate declaration output remove comma at end of enum remove unused · 0899abe8
      Jürg Billeter authored
      2007-05-10  Jürg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodeblock.vala, ccode/valaccodedeclaration.vala,
      	  ccode/valaccodedeclarator.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunctiondeclarator.vala, ccode/valaccodenode.vala,
      	  ccode/valaccodeoncesection.vala, ccode/valaccodestruct.vala,
      	  ccode/valaccodetypedefinition.vala,
      	  ccode/valaccodevariabledeclarator.vala: separate declaration output
      	* vala/parser.y: remove comma at end of enum
      	* vala/valaclass.vala, vala/valastruct.vala: remove unused methods
      	* vala/Makefile.am: update
      	* gobject/valacodegeneratorsourcefile.vala: support declaration
      	  separation in C code
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: move from vala directory,
      	  move interface info declarations to the beginning of the block
      	* gobject/Makefile.am: update
      
      svn path=/trunk/; revision=315
      0899abe8
  5. 02 May, 2007 2 commits
  6. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      support creating GTypeModule-based plug-ins with the ModuleInit attribute · dc6d6847
      Jürg Billeter authored
      2007-03-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valacodegnerator.vala,
      	  vala/valaclassregisterfunction.vala,
      	  vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala, vala/valacodecontext.vala: support
      	  creating GTypeModule-based plug-ins with the ModuleInit attribute
      	* vala/parser.y, vala/valacodegenerator.vala, vala/valaclass.vala:
      	  support static classes
      	* vapi/glib-2.0.vala: add TypePlugin and TypeModule
      
      svn path=/trunk/; revision=242
      dc6d6847
  7. 11 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      resolve generic return values fix check for generic method parameters to · fd83c9fb
      Jürg Billeter authored
      2007-03-11  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: resolve generic return values
      	* vala/valamemorymanager.vala: fix check for generic method parameters
      	  to support derived types
      	* vala/valainterface.vala: implement get_type_parameter_index
      	* vala/valamemberaccess.vala: visit type arguments
      	* vala/valaclassregisterfunction.vala,
      	  vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: pass base_init function pointer
      	  for interfaces
      	* vala/valacodegenerator.vala: fix initialization check in interface
      	  base_init function
      	* vala/valasemanticanalyzer.vala: fix prerequisite check to also accept
      	  derived types of prerequisites
      
      svn path=/trunk/; revision=234
      fd83c9fb
  8. 02 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      port to construction methods add interface documentation, use implicit · 23e2ba15
      Jürg Billeter authored
      2006-08-02  Jürg Billeter  <j@bitron.ch>
      
      	* port to construction methods
      	* vala/valaparenthesizedexpression.vala, vala/valareport.vala,
      	  vala/valareturnstatement.vala, vala/valasourcefilecycle.vala,
      	  vala/valasourcereference.vala, vala/valatypecheck.vala,
      	  vala/valatypeofexpression.vala, vala/valatypeparameter.vala: add
      	  interface documentation, use implicit namespace specification
      	* vala/Makefile.am: sort source file list
      
      svn path=/trunk/; revision=89
      23e2ba15
  9. 08 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      check method signatures of overriding methods support abstract classes add · 2a1a351c
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: check method signatures of overriding
      	  methods
      	* vala/parser.y, vala/valaclassregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: support abstract classes
      	* vala/valamethod.vala: add equals method
      	* vala/valatypereference.vala: add equals method
      	* corrects overriding methods to match signatures of overridden methods
      	  to fix build with current compiler
      
      svn path=/trunk/; revision=73
      2a1a351c
  10. 07 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support interfaces support lambda expressions with statement body add · 1afd1f31
      Jürg Billeter authored
      2006-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaclassregisterfunction.vala:
      	  support interfaces
      	* vala/parser.y, vala/valasemanticanalyzer.vala,
      	  vala/valalambdaexpression.vala: support lambda expressions with
      	  statement body
      	* vala/valaclassregisterfunction.vala, vala/valaemptystatement.vala,
      	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala: add interface documentation, use
      	  implicit namespace specification
      	* tests/test-015.vala: test lambda expressions with statement body
      	* tests/test-017.vala: test interfaces
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=70
      1afd1f31
  11. 26 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      plug some memory leaks, adapt to Vala.Block changes replace public fields · d5c1409f
      Jürg Billeter authored
      2006-06-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: plug some memory leaks, adapt to Vala.Block changes
      	* vala/valaattribute.vala, vala/valabinaryexpression.vala,
      	  vala/valablock.vala, vala/valabooleanexpression.vala,
      	  vala/valabreakstatement.vala, vala/valaliteral.vala,
      	  vala/valastatement.vala: replace public fields by properties / private
      	  fields, don't mark properties as construct-only, use non-null types
      	* vala/valadatatype.vala: renamed from Vala.Type_ to Vala.DataType
      	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
      	  vala/valasourcefile.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valaclassregisterfunction.vala, vala/valaconstant.vala,
      	  vala/valaenum.vala, vala/valaflags.vala, vala/valainstancecast.vala,
      	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala,
      	  vala/valamethod.vala, vala/valastruct.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valatypergisterfunction.vala: adapt to renaming of Vala.Type_ to
      	  Vala.DataType
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=53
      d5c1409f
  12. 07 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support REAL_LITERAL, TILDE, SIGNAL support flags, signals, constructors, · 4478ebb1
      Jürg Billeter authored
      2006-06-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support REAL_LITERAL, TILDE, SIGNAL
      	* vala/parser.y: support flags, signals, constructors, destructors, real
      	  literals, assignment operators, and non-null types
      	* vala/valacodevisitor.vala: add visit methods for signals,
      	  constructors, destructors, and real literals
      	* vala/valasymbolbuilder.vala: support signals, constructors,
      	  destructors
      	* vala/valasemanticanalyzer.vala: support constructors, real literals,
      	  and default arguments, fix lookup in namespaces of using directives
      	* vala/valacodegenerator.vala: use default arguments and type register
      	  function classes, support constructors, interfaces, real literals,
      	  default arguments, casts, and signals, cast method arguments if
      	  necessary
      	* vala/valasourcefile.vala: use default arguments
      	* vala/valaassignment.vala: add operator
      	* vala/valacallback.vala: skeleton for callbacks
      	* vala/valaclass.vala: add signals, constructor, and destructor
      	* vala/valaclassregisterfunction.vala: get_type function for classes
      	* vala/valaconstant.vala: use default arguments
      	* vala/valaconstructor.vala
      	* vala/valadestructor.vala
      	* vala/valaenum.vala: use default arguments
      	* vala/valaflags.vala
      	* vala/valaflagsvalue.vala: 
      	* vala/valaformalparameter.vala: add default_expression
      	* vala/valainstancecast.vala: dynamic instance cast
      	* vala/valainterface.vala: add signals
      	* vala/valainterfaceregisterfunction.vala: get_type function for
      	  interfaces
      	* vala/valanamespace.vala: add flags, use default arguments
      	* vala/valaproperty.vala: use default arguments
      	* vala/valarealliteral.vala: 
      	* vala/valasignal.vala
      	* vala/valastruct.vala: use default arguments
      	* vala/valastringliteral.vala: use default arguments
      	* vala/valatypereference.vala: add is_weak property
      	* vala/valatyperegisterfunction.vala
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* ccode/valaccodeblock.vala: add prepend_statement method
      	* ccode/valaccodewriter.vala: correctly indent multi-line comments
      	* vapi/glib-2.0.vala: add float and double, use default arguments,
      	  temporarily remove astring
      
      svn path=/trunk/; revision=39
      4478ebb1