1. 18 Aug, 2006 9 commits
    • Jürg Billeter's avatar
      update for 0.0.3 release · 0608d310
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* NEWS: update for 0.0.3 release
      
      svn path=/trunk/; revision=109
      0608d310
    • Jürg Billeter's avatar
      remove argc parameter · a68fe78d
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valavapigen.vala, packages/gtk+-2.0/gtk+-2.0-custom.vala:
      	  remove argc parameter
      
      svn path=/trunk/; revision=108
      a68fe78d
    • Jürg Billeter's avatar
      use array length functionality · 0898bc7a
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* compiler/valacompiler.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala:
      	  use array length functionality
      
      svn path=/trunk/; revision=107
      0898bc7a
    • Jürg Billeter's avatar
      support implicit array length parameter support NoArrayLength attribute · db23cad6
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: support implicit array length parameter
      	* vala/valainterfacewriter.vala, vala/valaformalparameter.vala,
      	  vala/valamethod.vala: support NoArrayLength attribute
      	* compiler/valacompiler.vala, vapi/atk.vala, vapi/cairo.vala,
      	  vapi/gdk-2.0.vala, vapi/glib-2.0.vala, vapi/gtk+-2.0.vala,
      	  vapi/pango.vala: add NoArrayLength attributes
      	* 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,
      	  tests/test-010.vala, tests/test-011.vala, tests/test-012.vala,
      	  tests/test-013.vala, tests/test-014.vala, tests/test-015.vala,
      	  tests/test-016.vala, tests/test-017.vala, tests/test-018.vala,
      	  tests/test-019.vala, tests/test-020.vala: remove argc parameter
      
      svn path=/trunk/; revision=106
      db23cad6
    • Jürg Billeter's avatar
      set no_array_length flag on generated methods add NoArrayLength attribute · 4463002f
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala: set no_array_length flag on generated
      	  methods
      	* vapigen/valavapigen.vala, packages/gtk+-2.0/gtk+-2.0-custom.vala: add
      	  NoArrayLength attribute
      
      svn path=/trunk/; revision=105
      4463002f
    • Jürg Billeter's avatar
      remove read/write tokens support package dependencies vapi/gdk-2.0.deps · d301eee8
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: remove read/write tokens
      	* compiler/valacompiler.vala: support package dependencies
      	* vapi/gdk-2.0.deps
      	* vapi/gtk+-2.0.deps
      	* vapi/Makefile.am: update
      
      svn path=/trunk/; revision=104
      d301eee8
    • Jürg Billeter's avatar
      packages/gdk-2.0/gdk-2.0.deps packages/gtk+-2.0/gtk+-2.0.deps · 18b2cb51
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* packages/gdk-2.0/gdk-2.0.deps
      	* packages/gtk+-2.0/gtk+-2.0.deps
      
      svn path=/trunk/; revision=103
      18b2cb51
    • Jürg Billeter's avatar
      support base types for structs obey set keyword add SignalInvocationHint, · 36c718fa
      Jürg Billeter authored
      2006-08-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valastruct.vala: support base types for structs
      	* vala/valainterfacewriter.vala: obey set keyword
      	* vapi/glib-2.0.vala: add SignalInvocationHint, SignalEmissionHook,
      	  SignalFlags, ValueArray, Math, Timeout, and PtrArray
      	* vapi/cairo.vala: initial cairo binding
      	* vapi/pango.vala, vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala:
      	  bindings generated from Pango 1.13.5, ATK 1.12.1, and GTK+ 2.10.1
      	* vapi/Makefile.am: update
      
      svn path=/trunk/; revision=102
      36c718fa
    • Jürg Billeter's avatar
      Initial import of vapigen. · 19097d24
      Jürg Billeter authored
      * Initial import of vapigen.
      
      svn path=/trunk/; revision=101
      19097d24
  2. 11 Aug, 2006 1 commit
    • Raffaele Sandrini's avatar
      make those classes ready to process multidimensional arrays. remove · 95829c0c
      Raffaele Sandrini authored
      2006-08-11  Raffaele Sandrini  <rasa@gmx.ch>
      
              * vala/valasymbolresolver.vala, vala/valatypereference.vala,
                vala/valaelementaccess.vala, vala/valadatatype.vala, vala/parser.y,
                vala/valaarray.vala: make those classes ready to process
                multidimensional arrays.
              * vala/scanner.l: remove ARRAY_QUALIFIER token
              * vala/valasemanticanalyzer.vala, vala/parser.y,
                vala/valacodegenerator.vala, vala/valacodegenerator.vala,
                vala/valacodevisitor.vala: add multidimensional array support however
                only one dimensional arrays can be created yet
              * vala/Makefile.am, vala/vala.h: update
              * vala/valatypereference.vala: remove source reference parameter
                when creating from an expression
              * vala/valacodegenerator.vala: add support for uint, long and ulong
                properties
      
      
      svn path=/trunk/; revision=100
      95829c0c
  3. 10 Aug, 2006 6 commits
    • Jürg Billeter's avatar
      support hexadecimal and octal integer literals, support hexadecimal escape · 031af2cd
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support hexadecimal and octal integer literals,
      	  support hexadecimal escape sequences, support BASE and THIS
      	* vala/parser.y: use BASE and THIS keywords
      	* vala/valasemanticanalyzer.vala: don't use new base keyword as variable
      	  name
      	* vala/valacodegenerator.vala: simplify code
      	* vala/valainterfacewriter.vala: obey base keyword
      
      svn path=/trunk/; revision=99
      031af2cd
    • Jürg Billeter's avatar
      fix memory management in switch statements extend switch statement test · 03da5213
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: fix memory management in switch
      	  statements
      	* tests/test-020.vala: extend switch statement test
      
      svn path=/trunk/; revision=98
      03da5213
    • Jürg Billeter's avatar
      support switch statements add has_default_label () and get_statements () · da69c6fc
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: support switch statements
      	* vala/valaswitchsection.vala: add has_default_label () and
      	  get_statements () methods
      	* vala/valaswitchstatement.vala: add get_sections () method
      	* ccode/valaccodedostatement.vala
      	* ccode/Makefile.am: update
      	* tests/test-020.vala: test switch statements
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=97
      da69c6fc
    • Jürg Billeter's avatar
      use Invokable vala/valainvokable.vala implement Invokable update · 2e3d20ed
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valacodegenerator.vala: use
      	  Invokable
      	* vala/valainvokable.vala
      	* vala/valafield.vala, vala/valaformalparameter.vala,
      	  vala/valamethod.vala, valasignal.vala,
      	  vala/valavariabledeclarator.vala: implement Invokable
      	* vala/Makefile.am: update
      
      svn path=/trunk/; revision=96
      2e3d20ed
    • Jürg Billeter's avatar
      support constants in namespaces and constants without initializer depend · 6430451a
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: support constants in namespaces and constants without
      	  initializer
      	* vala/valasemanticanalyzer.vala: depend on implemented interfaces
      	* vala/valacodegenerator.vala: always include glib-object.h for
      	  interfaces, append NULL to variable argument list calls
      	* vala/valainterfacewriter.vala: support constants and ellipsis
      	  parameters
      	* vala/valaconstant.vala: make initializer optional
      	* vala/valainterface.vala: implement get_lower_case_cprefix ()
      	* vala/valanamespace.vala: support constants
      
      svn path=/trunk/; revision=95
      6430451a
    • Jürg Billeter's avatar
      accept real literals with trailing dot ignore non-type symbols support · 907752f6
      Jürg Billeter authored
      2006-08-10  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: accept real literals with trailing dot
      	* vala/valasymbolresolver.vala: ignore non-type symbols
      	* vala/valacodegenerator.vala: support float and double properties,
      	  adapt to Field changes, support compound assignments in properties
      	* vala/valainterfacewriter.vala: support ReferenceType attribute
      	* vala/valaclass.vala: implement get_lower_case_cprefix ()
      	* vala/valadatatype.vala: add get_lower_case_cprefix () method
      	* vala/valafield.vala: let get_cname return full C name
      	* vala/valamethod.vala: use DataType.get_lower_case_cprefix ()
      	* vala/valastruct.vala: implement get_lower_case_cprefix (), add
      	  set_is_reference_type () method
      
      svn path=/trunk/; revision=94
      907752f6
  4. 09 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      adapt to Vala.Signal change process signal attributes manage memory of · e37fcf92
      Jürg Billeter authored
      2006-08-09  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: adapt to Vala.Signal change
      	* vala/valaattributeprocessor.vala: process signal attributes
      	* vala/valacodegenerator.vala: manage memory of element access
      	  expressions, mark get_property and set_property functions static,
      	  support signal emitter functions
      	* vala/valacodecontext.vala: use get_cinclude_filename method
      	* vala/valainterfacewriter.vala: use C header filename of namespace,
      	  support signals, support NoAccessorMethod attribute
      	* vala/valadatatype.vala: add default arguments
      	* vala/valaenum.vala: make set_cprefix method public
      	* vala/valanamespace.vala: add get_cheader_filename and
      	  set_cheader_filename methods
      	* vala/valasignal.vala: add has_emitter property, add process_attributes
      	  method
      	* vala/valasourcefile.vala: add get_cinclude_filename method
      	* compiler/valacompiler.vala: adapt to SourceFile changes
      
      svn path=/trunk/; revision=93
      e37fcf92
  5. 05 Aug, 2006 1 commit
    • Jürg Billeter's avatar
      only parse .vala source files support disabling automatic property · de9cd863
      Jürg Billeter authored
      2006-08-05  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaparser.vala: only parse .vala source files
      	* vala/valasymbolbuilder.vala, vala/valaproperty.vala: support disabling
      	  automatic property accessor generation
      	* vala/valasemanticanalyzer.vala: fix typo
      	* vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
      	  vala/valacodecontext.vala: use correct includes for libraries
      	* vala/valacodegenerator.vala: use get_canonical_cconstant method for
      	  signals
      	* vala/valainterfacewriter.vala: support interfaces, non-null types,
      	  callbacks, and construction methods
      	* vala/valasignal.vala: add get_canonical_cconstant method
      	* vala/valaenum.vala, vala/valainterface.vala, vala/valanamespace.vala,
      	  vala/valastruct: add default arguments
      	* vala/Makefile.am: install libvala.so and header files
      	* ccode/Makefile.am: install header files
      	* compiler/valacompiler.vala: set library name in code context
      	* compiler/Makefile.am: adapt to build system changes
      	* vapi/glib-2.0.vala: add skeletons for Callback, Closure, IOChannel,
      	  TimeVal, Scanner, SpawnFlags, OptionGroup, MarkupParser, and Quark
      	* vapi/Makefile.am: add vala-1.0.vala
      	* vala-1.0.pc.in
      	* configure.ac: disable static library by default, add vala-1.0.pc
      	* Makefile.am: add vala-1.0.pc
      
      svn path=/trunk/; revision=92
      de9cd863
  6. 03 Aug, 2006 1 commit
  7. 02 Aug, 2006 3 commits
    • Jürg Billeter's avatar
      update for 0.0.2 release check for floating reference in construction · 958c4a4b
      Jürg Billeter authored
      2006-08-02  Jürg Billeter  <j@bitron.ch>
      
      	* NEWS: update for 0.0.2 release
      	* vala/valasemanticanalyzer.vala: check for floating reference in
      	  construction methods
      	* vala/valasourcefile.vala, vala/valacodegenerator.vala,
      	  ccode/valaccodeincludedirective.vala: differentiate between
      	  package-internal and external includes
      	* vapi/gtk+-2.0.vala: port to construction methods
      
      svn path=/trunk/; revision=90
      958c4a4b
    • 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
  8. 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
  9. 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
  10. 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
  11. 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
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. 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
  18. 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