1. 02 Aug, 2006 2 commits
    • 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
    • Jürg Billeter's avatar
      add support for construction methods add to_string method support storing · e3311183
      Jürg Billeter authored
      2006-08-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
      	  vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala,
      	  vala/valainterfacewriter.vala, vala/valaclass.vala,
      	  vala/valaexpressionstatement.vala, vala/valamethod.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valastatement.vala,
      	  vala/valastruct.vala: add support for construction methods
      	* vala/valabooleanliteral.vala, vala/valaexpression.vala,
      	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
      	  vala/valaliteralexpression.vala, vala/valamemberaccess.vala: add
      	  to_string method
      	* vala/valamemberaccess.vala, vala/valatypereference.vala: support
      	  storing type arguments in MemberAccess
      	* vala/valacodenode.vala: add parent_node property
      	* vala/parser.y, vala/valaifstatement.vala: only allow blocks as
      	  embedded statements
      	* vala/valaenum.vala: implement get_type_id method
      	* vala/valainterfacewriter.vala: output default expressions of formal
      	  parameters
      	* vala/valaformalparameter.vala: visit default expression
      	* vala/valaobjectcreationexpression.vala, vala/valanullliteral.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala: add interface
      	  documentation, use implicit namespace specification
      	* vala/vala.h: add valaelementaccess.h and valarealliteral.h
      	* ccode/valaccodememberaccess.vala: don't mark is_pointer as construct
      	* vapi/glib-2.0.vala: add GValue
      	* vapi/gtk+-2.0.vala: small updates
      
      svn path=/trunk/; revision=88
      e3311183
  2. 31 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support prefix increment and decrement, fix parsing opening parens fix · f6aec07a
      Jürg Billeter authored
      2006-07-31  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support prefix increment and decrement, fix parsing
      	  opening parens
      	* vala/valasemanticanalyzer.vala: fix some bugs in error handling,
      	  support prefix increment and decrement
      	* vala/valacodegenerator.vala: support prefix increment and decrement
      	* vala/valanamespace.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valaunaryexpression.vala: support prefix increment and decrement
      	* ccode/valaccodeunaryexpression.vala: support prefix increment and
      	  decrement
      	* vapi/glib-2.0.vala: add Environment struct
      
      svn path=/trunk/; revision=87
      f6aec07a
  3. 27 Jul, 2006 3 commits
    • Jürg Billeter's avatar
      support CASE, DEFAULT, DO, and SWITCH support switch and do statements add · 532b1966
      Jürg Billeter authored
      2006-07-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support CASE, DEFAULT, DO, and SWITCH
      	* vala/parser.y: support switch and do statements
      	* vala/valacodevisitor.vala: add support for switch and do statements
      	* vala/valadostatement.vala
      	* vala/valaswitchlabel.vala
      	* vala/valaswitchsection.vala
      	* vala/valaswitchstatement.vala
      	* vala/valastatement.vala, vala/valasymbol.vala,
      	  vala/valaunaryexpression.vala, vala/valavariabledeclarator.vala,
      	  vala/valawhilestatement.vala: add interface documentation, use
      	  implicit namespace specification
      	* vala/vala.h, vala/Makefile.am: update
      	* vapi/glib-2.0.vala: don't use default keyword
      
      svn path=/trunk/; revision=86
      532b1966
    • Jürg Billeter's avatar
      support for loops with local variable declaration in initializer · 37de41c0
      Jürg Billeter authored
      2006-07-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support for loops with local variable declaration in
      	  initializer
      
      svn path=/trunk/; revision=85
      37de41c0
    • Jürg Billeter's avatar
      don't require developer to explicitly write static in namespace field · 8a0f8cc2
      Jürg Billeter authored
      2006-07-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't require developer to explicitly write static in
      	  namespace field declarations, support type parameters in interfaces
      	  and callbacks
      	* vala/valasymbolresolver.vala: support interfaces and callbacks
      	* vala/valasemanticanalyzer.vala: use is_subtype_of method, support
      	  callbacks in fields
      	* vala/valamemorymanager.vala: support callbacks in fields
      	* vala/valacodegenerator.vala: support callbacks in fields
      	* vala/valacallback.vala: support type parameters
      	* vala/valaclass.vala: add is_subtype_of method
      	* vala/valadatatype.vala: add is_subtype_of method
      	* vala/valainterface.vala: add is_subtype_of method
      
      svn path=/trunk/; revision=84
      8a0f8cc2
  4. 26 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support casting arrays don't require developer to explicitly write static · 6ba9479f
      Jürg Billeter authored
      2006-07-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support casting arrays
      	* vala/parser.y: don't require developer to explicitly write static in
      	  namespace method declarations
      	* vala/valaarray.vala: correct cname for arrays with value-type elements
      	* vala/valacodenode.vala: save source line reference in ccodenode
      	* ccode/valaccodelinedirective.vala
      	* ccode/valaccodenode.vala: support source line reference
      	* ccode/Makefile.am: update
      	* vapi/glib-2.0.vala: add to_string methods to integer types, add size
      	  method to string, add u_sleep method to Thread, fix memory management
      	  in List and SList, add sort method to List
      
      svn path=/trunk/; revision=83
      6ba9479f
  5. 19 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      use more expressive property names, add stricter () method adapt to · 0bd3c086
      Jürg Billeter authored
      2006-07-19  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valatypereference.vala: use more expressive property names, add
      	  stricter () method
      	* vala/parser.y, vala/valasymbolbuilder.vala,
      	  vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala,
      	  vala/valamemorymanager.vala, vala/valacodegenerator.vala,
      	  vala/valainterfacewriter.vala, vala/valasourcefile.vala,
      	  vala/valacallback.vala, vala/valaclassregisterfunction.vala,
      	  vala/valasignal.vala: adapt to changes in TypeReference
      	* vala/valasourcefile.vala: replace public fields by properties /
      	  private fields
      	* vala/valacodecontext.vala: adapt to changes in SourceFile
      	* vala/valaparser.vala: correct handling of source files without header
      	  comments
      	* vala/valasymbolbuilder.vala: don't generate code for VAPI files
      	* vala/valasemanticanalyzer.vala: report error respectively warning if
      	  method return type misses ownership transfer
      	* vala/valainterfacewriter.vala: correct property declaration output
      	* vala/valaparser.vala, vala/valasourcefile.vala, vala/valaliteral.vala,
      	  vala/valamemberaccessibility.vala, vala/valanamedargument.vala,
      	  vala/valanamespacereference.vala, vala/valatypereference.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=82
      0bd3c086
  6. 18 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      make sure that current_scope isn't null start to support memory management · 8b7552aa
      Jürg Billeter authored
      2006-07-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala: make sure that current_scope isn't null
      	* vala/valamemorymanager.vala: start to support memory management with
      	  generics
      	* vala/valacodegenerator.vala: support iteration over SList, properties
      	  without accessor methods
      	* vapi/glib-2.0.vala: add string.hash (), Error fields and SList
      	* vapi/gtk+-2.0.vala: add StatusIcon class
      	* README: mention exceptions
      
      svn path=/trunk/; revision=81
      8b7552aa
  7. 16 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      Post-release version bump. remove g_object_unref call to fix crash in · 922756bd
      Jürg Billeter authored
      2006-07-16  Jürg Billeter  <j@bitron.ch>
      
      	* configure.ac: Post-release version bump.
      	* vala/parser.y: remove g_object_unref call to fix crash in parsing
      	  array declarations
      	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: support
      	  creating structs
      	* vapi/glib-2.0.vala: GString enhancements
      	* vapi/Makefile.am: dist gtk+-2.0.vala and pango.vala
      
      svn path=/trunk/; revision=80
      922756bd
  8. 15 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      update for 0.0.1 release add introduction replace by LGPL add · 68986811
      Jürg Billeter authored
      2006-07-15  Jürg Billeter  <j@bitron.ch>
      
      	* NEWS: update for 0.0.1 release
      	* README: add introduction
      	* COPYING: replace by LGPL
      	* compiler/valacompiler.vala: add /usr/local/share/vala/vapi ad default
      	  vapi search dir
      	* vapi/glib-2.0.vala: File and HashTable enhancements
      
      svn path=/trunk/; revision=79
      68986811
  9. 14 Jul, 2006 2 commits
    • Raffaele Sandrini's avatar
      add element access support add visit_postfix_expression implementation add · d9a96b3b
      Raffaele Sandrini authored
      2006-07-14  Raffaele Sandrini  <rasa@gmx.ch>
      
              * vala/valacodegenerator.vala, vala/valasymbolresolver.vala,
                vala/scanner.l, vala/valatypereference.vala,
                vala/valasemanticanalyzer.vala, vala/valaelementaccess.vala,
                vala/valadatatype.vala, vala/parser.y, vala/valaarray.vala,
                vala/valacodevisitor.vala, ccode/valaccodeelementaccess.vala: add
                element access support
              * vala/valasemanticanalyzer.vala: add visit_postfix_expression
                implementation
              * tests/test-019.vala: add element access testcase
              * vala/Makefile.am, tests/Makefile.am, ccode/Makefile.am: update
      
      
      svn path=/trunk/; revision=78
      d9a96b3b
    • Jürg Billeter's avatar
      ignore file-internal dependencies mark string literals as non-null, add · 03bea87b
      Jürg Billeter authored
      2006-07-14  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala: ignore file-internal dependencies
      	* vala/valasemanticanalyzer.vala: mark string literals as non-null, add
      	  some implicit casts
      	* vala/valamemorymanager.vala: only check for leaks with reference
      	  types, manage memory in field initializers
      	* vala/valacodegenerator.vala: add non-null parameter typechecks for
      	  structs, simplify ref expression if expression is known to be non-null
      	* vapi/glib-2.0.vala: unichar, string, String, and Path enhancements,
      	  add Base64 and Dir
      
      svn path=/trunk/; revision=77
      03bea87b
  10. 10 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      adapt to changes in InvocationExpression, LocalVariableDeclaration, and · 6a6d38f1
      Jürg Billeter authored
      2006-07-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to changes in InvocationExpression,
      	  LocalVariableDeclaration, and InitializerList
      	* vala/valasemanticanalyzer.vala: add some implicit casts, fix assigning
      	  callback to field, adapt to changes in InvocationExpression
      	* vala/valamemorymanager.vala: adapt to change in InvocationExpression
      	* vala/valacodegenerator.vala: fix signal handler without parameters,
      	  fix access to value-type struct members, adapt to changes in
      	  LocalVariableDeclaration, InitializerList, and InvocationExprssion
      	* vala/valaclass.vala: don't let private static fields influence
      	  has_private_fields, correct marshaller type name
      	* vala/valaifstatement.vala, vala/valainitializerlist.vala,
      	  vala/valainstancecast.vala, vala/valaintegerliteral.vala,
      	  vala/valainvocationexpression.vala, vala/valaliteralexpression.vala,
      	  vala/valalocalvariabledeclaration.vala: add interface documentation,
      	  use implicit namespace specification
      	* compiler/valacompiler.vala: fix --vapidir handling
      	* vapi/glib-2.0.vala: add MainLoop, MainContext, IdleSource, Source, and
      	  Thread
      
      svn path=/trunk/; revision=76
      6a6d38f1
  11. 08 Jul, 2006 5 commits
    • Jürg Billeter's avatar
      don't allow write access to read-only properties adapt to changes in · 3cf0fef2
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: don't allow write access to read-only
      	  properties
      	* vala/valacodegenerator.vala: adapt to changes in CCodeFragment and
      	  CCommaExpression
      	* vala/valapostfixexpression.vala, ccode/valaccodebinaryexpression.vala,
      	  ccode/valaccodeblock.vala, ccode/valaccodebreakstatement.vala,
      	  ccode/valaccodecasestatement.vala,
      	  ccode/valaccodecommaexpressoin.vala, ccode/valaccodecomment.vala,
      	  ccode/valaccodeconditionalexpression.vala,
      	  ccode/valaccodeconstant.vala, ccode/valaccodecontinuestatement.vala,
      	  ccode/valaccodedeclaration.vala, ccode/valaccodedeclarator.vala,
      	  ccode/valaccodeenum.vala, ccode/valaccodeemptystatement.vala,
      	  ccode/valaccodeexpressionstatement.vala,
      	  ccode/valaccodeformalparameter.vala, ccode/valaccodeforstatement.vala,
      	  ccode/valaccodefragment.vala, ccode/valaccodefunction.vala,
      	  ccode/valaccodefunctioncall.vala,
      	  ccode/valaccodefunctiondeclarator.vala,
      	  ccode/valaccodeidentifier.vala, ccode/valaccodeifstatement.vala,
      	  ccode/valaccodeincludedirective.vala,
      	  ccode/valaccodeinitializerlist.vala,
      	  ccode/valaccodemacroreplacement.vala,
      	  ccode/valaccodememberaccess.vala, ccode/valaccodemodifiers.vala,
      	  ccode/valaccodenewline.vala, ccode/valaccodeoncesection.vala,
      	  ccode/valaccodeparenthesizedexpression.vala,
      	  ccode/valaccodereturnstatement.vala, ccode/valaccodestatement.vala,
      	  ccode/valaccodestruct.vala, ccode/valaccodeswitchstatement.vala,
      	  ccode/valaccodeunaryexpression.vala,
      	  ccode/valaccodevariabledeclarator.vala,
      	  ccode/valaccodewhilestatement.vala, ccode/valaccodewriter.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=75
      3cf0fef2
    • Jürg Billeter's avatar
      don't allow access to private members · 4506aa08
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: don't allow access to private members
      
      svn path=/trunk/; revision=74
      4506aa08
    • 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
    • Jürg Billeter's avatar
      adapt to ForStatement API changes make {get,set}_lower_case_csuffix · c8075c40
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodegenerator.vala: adapt to ForStatement API
      	  changes
      	* vala/valaclass.vala: make {get,set}_lower_case_csuffix methods private
      	* vala/valaenum.vala, vala/valaenumvalue.vala,
      	  vala/valaexpressionstatement.vala, vala/valafield.vala,
      	  vala/valaflags.vala, vala/valaflagsvalue.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=72
      c8075c40
    • Jürg Billeter's avatar
      adapt to Method API changes support signals, mark private signal handlers · d445ab95
      Jürg Billeter authored
      2006-07-08  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to Method API changes
      	* vala/valasemanticanalyzer.vala: support signals, mark private signal
      	  handlers as instance_last
      	* vala/valamemorymanager.vala: support signals
      	* vala/valacodegenerator.vala: support signals, methods with
      	  instance_last
      	* vala/valaclass.vala: add get_type_id and get_marshaller_type_name
      	  methods
      	* vala/valadatatype.vala: add get_marshaller_type_name method
      	* vala/valastruct.vala: move type_id attribute to CCode, support
      	  marshaller_type_name attribute
      	* vala/valainterfacewriter.vala, vala/valamethod.vala,
      	  vala/valastruct.vala, ccode/valaccodeexpression.vala,
      	  ccode/valaccodenode.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valacallback.vala, vala/valasignal.vala: improve documentation
      	* ccode/valaccodecastexpression.vala: type cast in C code
      	* ccode/Makefile.am: update
      	* tests/test-018.vala: test signals
      	* tests/Makefile.am: update
      	* vapi/glib-2.0.vala: add type_id and marshaller_type_name attributes
      
      svn path=/trunk/; revision=71
      d445ab95
  12. 07 Jul, 2006 3 commits
    • 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
    • Jürg Billeter's avatar
      add interface documentation, use implicit namespace specification · 235eba7a
      Jürg Billeter authored
      2006-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaconstructor.vala, vala/valacontinuestatement.vala,
      	  vala/valadeclarationstatement.vala, vala/valadestructor.vala: add
      	  interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=69
      235eba7a
    • Jürg Billeter's avatar
      use continue statements to decrease indentation levels add interface · 53b8098f
      Jürg Billeter authored
      2006-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala: use continue statements to decrease
      	  indentation levels
      	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valaconditionalexpression.vala,
      	  vala/valaconstant.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valasemanticanalyzer.vala: check that if, while, for, and
      	  conditional expression conditions are boolean
      	* vala/valaclass.vala: remove dummy accessor, breaks build with old
      	  vala compiler
      	* compiler/valacompiler.vala: use implicit namespace specification
      	* tests/test-016.vala: test conditional expressions
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=68
      53b8098f
  13. 06 Jul, 2006 2 commits
    • Jürg Billeter's avatar
      add interface documentation, use implicit namespace specification adapt to · 7b280c7d
      Jürg Billeter authored
      2006-07-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valasemanticanalyzer.vala: adapt to change in CodeContext
      
      svn path=/trunk/; revision=67
      7b280c7d
    • Jürg Billeter's avatar
      merge SimpleName into MemberAccess adapt to change in Class support · 49177f7d
      Jürg Billeter authored
      2006-07-06  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodevisitor.vala, vala/valasymbolbuilder.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valatypereference.vala, vala/vala.h,
      	  vala/Makefile.am: merge SimpleName into MemberAccess
      	* vala/valasymbolresolver.vala, vala/valainterfacewriter.vala: adapt to
      	  change in Class
      	* vala/valasemanticanalyzer.vala: support non-static lambda expressions
      	  and lambda expressions without return values
      	* vala/valacodegenerator.vala: support conditional expressions, support
      	  lambda expressions as signal handlers, support read-only and
      	  write-only properties
      	* vala/valacodevisitor.vala, vala/valamemorymanager.vala,
      	  vala/valaassignment.vala: visit at beginning and end
      	* vala/valacallback.vala: add instance property
      	* vala/valasignal.vala: add get_callback method
      	* vala/valacastexpression.vala, vala/valacharacterliteral.vala,
      	  vala/valaclass.vala, vala/valamemberaccess.vala, vala/valasignal.vala:
      	  add interface documentation, use implicit namespace specification
      
      svn path=/trunk/; revision=66
      49177f7d
  14. 05 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      don't pass parameter list to lambda expression contructor support static · bf6a3316
      Jürg Billeter authored
      2006-07-05  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't pass parameter list to lambda expression
      	  contructor
      	* vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala: support static lambda expressions and
      	  nested methods
      	* vala/valainvocationexpression.vala: visit call node before visiting
      	  begin of invocation expression
      	* vala/valaformalparameter.vala, vala/valalambdaexpression.vala: add
      	  interface documentation, use implicit namespace specification
      	* vala/valamethod.vala: allow nested methods
      	* tests/test-015.vala: test lambda expressions
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=65
      bf6a3316
  15. 04 Jul, 2006 4 commits
    • Jürg Billeter's avatar
      support implicit namespace specification in callback declaration support · dd54613e
      Jürg Billeter authored
      2006-07-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support implicit namespace specification in callback
      	  declaration
      	* vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala: support callbacks
      	* vala/valaassignment.vala, vala/valabinaryexpression.vala: improve
      	  documentation
      	* vala/valabooleanliteral.vala, vala/valabreakstatement.vala,
      	  vala/valacallback.vala: add interface documentation, use implicit
      	  namespace specification
      	* vala/valacallback.vala: add matches_method method, mark as
      	  non-reference type
      	* ccode/valaccodetypedefinition.vala: replace typedef_name by
      	  declarator, add interface documentation, use implicit namespace
      	  specification
      	* tests/test-013.vala: test break
      	* tests/test-014.vala: test callback
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=64
      dd54613e
    • Jürg Billeter's avatar
      add interface documentation, use implicit namespace specification test · 8e4d93a8
      Jürg Billeter authored
      2006-07-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valablock.vala: add interface documentation, use implicit
      	  namespace specification
      	* tests/test-011.vala: test binary expressions
      	* tests/test-012.vala: test blocks
      	* configure.ac, Makefile.am, tests/Makefile.am: distribute tests
      
      svn path=/trunk/; revision=63
      8e4d93a8
    • Jürg Billeter's avatar
      add interface documentation, use implicit namespace specification · 14c2da81
      Jürg Billeter authored
      2006-07-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodevisitor.vala, vala/valaattributeprocessor.vala,
      	  vala/valabinaryexpression.vala: add interface documentation, use
      	  implicit namespace specification
      	* vala/valaassignment.vala, vala/valaattribute.vala: documentation
      	  corrections
      
      svn path=/trunk/; revision=62
      14c2da81
    • Jürg Billeter's avatar
      generate assignment with appropriate operator use implicit namespace · 3a558fda
      Jürg Billeter authored
      2006-07-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: generate assignment with appropriate
      	  operator
      	* vala/valaassignment.vala: use implicit namespace specification
      	* ccode/valaccodeassignment.vala: support assignment operators , add
      	  interface documentation, use implicit namespace specification
      	* tests/test-010.vala: test assignments
      
      svn path=/trunk/; revision=61
      3a558fda
  16. 03 Jul, 2006 1 commit
    • Jürg Billeter's avatar
      support implicit namespace specification in struct, interface, enum, and · 629fa2ee
      Jürg Billeter authored
      2006-07-03  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support implicit namespace specification in struct,
      	  interface, enum, and flags declaration
      	* vala/valasymbolbuilder.vala: report error when declaring non-static
      	  namespace methods
      	* vala/valasemanticanalyzer.vala: analyze return statements
      	* vala/valacodegenerator.vala: correctly set GParamFlags for properties,
      	  initialize static variables, add preconditions to property accessors,
      	  support namespace methods
      	* vala/valaassignment.vala, vala/valaattribute.vala: add interface
      	  documentation, use implicit namespace specification
      	* tests/test-001.vala, tests/test-002.vala, tests/test-003.vala,
      	  tests/test-004.vala, tests/test-005.vala, tests/test-006.vala,
      	  tests/test-007.vala, tests/test-008.vala, tests/test-009.vala:
      	  update test cases to print test values
      
      svn path=/trunk/; revision=60
      629fa2ee
  17. 30 Jun, 2006 2 commits
  18. 29 Jun, 2006 2 commits
    • Jürg Billeter's avatar
      distinguish between ref_function/unref_function and · 027deaeb
      Jürg Billeter authored
      2006-06-29  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaclass.vala,
      	  vala/valadatatype.vala, vala/valastruct.vala: distinguish between
      	  ref_function/unref_function and dup_function/free_function
      	* vala/valadatatype.vala: add interface documentation
      	* vapi/glib-2.0.vala: use dup_function attribute, keep ref_function for
      	  compatibility
      
      svn path=/trunk/; revision=57
      027deaeb
    • Jürg Billeter's avatar
      add interface documentation · 44cb3169
      Jürg Billeter authored
      2006-06-29  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodenode.vala, vala/valaexpression.vala: add interface
      	  documentation
      
      svn path=/trunk/; revision=56
      44cb3169
  19. 28 Jun, 2006 2 commits
    • Jürg Billeter's avatar
      add private add_symbol helper method tiny refactoring of GObject lookup · 7d6ffc05
      Jürg Billeter authored
      2006-06-28  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolbuilder.vala: add private add_symbol helper method
      	* vala/valasymbolresolver.vala: tiny refactoring of GObject lookup
      	* vala/valasemanticanalyzer.vala: use get_parameters method of Callback
      	* vala/valacallback.vala, vala/valaintegerliteral.vala,
      	  vala/valarealliteral.vala, vala/valastringliteral.vala: replace public
      	  fields by properties / private fields, don't mark properties as
      	  construct-only, use non-null types
      	* vala/valaattribute.vala, vala/valacodenode.vala,
      	  vala/valaconstructor.vala, vala/valadatatype.vala,
      	  vala/valadestructor.vala, vala/valaenumvalue.vala,
      	  vala/valaexpression.vala, vala/valafield.vala,
      	  vala/valaflagsvalue.vala, vala/valaformalparameter.vala,
      	  vala/valaliteral.vala, vala/valalocalvariabledeclaration.vala,
      	  vala/valamethod.vala, vala/valanamedargument.vala,
      	  vala/valanamespace.vala, vala/valanamespacereference.vala,
      	  vala/valaproperty.vala, vala/valapropertyaccessor.vala,
      	  vala/valasignal.vala, vala/valastatement.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valavariabledeclarator.vala: move source_reference to CodeNode
      
      svn path=/trunk/; revision=55
      7d6ffc05
    • Jürg Billeter's avatar
      move source_reference to Vala.Literal, use non-null types, don't mark · e054dd10
      Jürg Billeter authored
      2006-06-28  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valabooleanliteral.vala, vala/valacharacterliteral.vala,
      	  vala/valaintegerliteral.vala, vala/valaliteral.vala,
      	  vala/valanullliteral.vala, vala/valarealliteral.vala,
      	  vala/valastringliteral.vala: move source_reference to Vala.Literal,
      	  use non-null types, don't mark properties as construct-only
      
      svn path=/trunk/; revision=54
      e054dd10
  20. 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
  21. 22 Jun, 2006 3 commits
    • Jürg Billeter's avatar
      don't mark properties as construct-only, use non-null types use non-null · 244f6cbe
      Jürg Billeter authored
      2006-06-22  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaassignment.vala: don't mark properties as construct-only,
      	  use non-null types
      	* vala/valacodenode.vala: use non-null type
      	* vala/valaexpression.vala: replace public fields by properties
      
      svn path=/trunk/; revision=52
      244f6cbe
    • Jürg Billeter's avatar
      replace specialized interface member declarations by standard member · 49cda49e
      Jürg Billeter authored
      2006-06-22  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: replace specialized interface member declarations by
      	  standard member declarations to allow non-abstract methods in
      	  interfaces
      	* vala/valacodegenerator.vala: cast instance in property setter
      	  invocations
      
      svn path=/trunk/; revision=51
      49cda49e
    • Jürg Billeter's avatar
      support LAMBDA and CALLBACK support callbacks and lambda expressions add · b25848cb
      Jürg Billeter authored
      2006-06-22  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support LAMBDA and CALLBACK
      	* vala/parser.y: support callbacks and lambda expressions
      	* vala/valacodevisitor.vala: add visit methods for callbacks and lambda
      	  expressions
      	* vala/valasymbolbuilder.vala: use non-null parameter types, support
      	  callbacks
      	* vala/valasemanticanalyzer.vala: partially support interface methods,
      	  support callback invocations
      	* vala/valamemorymanager.vala: support callback invocations
      	* vala/valacodegenerator.vala: partially support interface methods
      	* vala/valacallback.vala: initial implementation
      	* vala/valacodenode.vala: replace public fields by properties
      	* vala/valaexpression.vala: add expected_type field
      	* vala/valainvocationexpression.vala: also visit at beginning
      	* vala/valalambdaexpression.vala
      	* vala/valanamespace.vala: support callbacks
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=50
      b25848cb