1. 05 Oct, 2006 1 commit
  2. 04 Oct, 2006 2 commits
    • Jürg Billeter's avatar
      correct takes_ownership in arrays add limited support for array length · dec15a0f
      Jürg Billeter authored
      2006-10-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala: correct takes_ownership in arrays
      	* vala/valacodegenerator.vala: add limited support for array length
      	  fields, store array length from array creation expression, copy array
      	  length in array assignments
      	* vala/valafield.vala: support NoArrayLength attribute
      	* compiler/valacompiler.vala: add NoArrayLength attribute to option
      	  arrays
      
      svn path=/trunk/; revision=140
      dec15a0f
    • Jürg Billeter's avatar
      specify array element type as type argument create declarations for array · 0e25bbfe
      Jürg Billeter authored
      2006-10-04  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolresolver.vala, vala/valasemanticanalyzer.vala: specify
      	  array element type as type argument
      	* vala/valacodegenerator.vala: create declarations for array length
      	  variables, iterate over arrays by index if it has known length
      	* vala/valacharacterliteral.vala: correct return type of get_char
      	* vala/valanamespace.vala: process enums and flags first
      	* vala/valavariabledeclarator.vala: set parent_node of initializer, add
      	  replace method
      	* tests/test-023.vala: test list construction
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=139
      0e25bbfe
  3. 03 Oct, 2006 1 commit
  4. 28 Sep, 2006 2 commits
    • Raffaele Sandrini's avatar
      add one dimensional array assignment support testcase for array · 489dc9ea
      Raffaele Sandrini authored
      2006-09-28  Raffaele Sandrini <rasa@gmx.ch>
      	* vala/valacodegenerator.vala, vala/valasemanticanalyzer.vala,
      	  vala/valamemorymanager.vala: add one dimensional array assignment
      	  support
      	* tests/test-022.vala: testcase for array creation/assignment
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=137
      489dc9ea
    • Jürg Billeter's avatar
      add and improve various types · 7b4b8da1
      Jürg Billeter authored
      2006-09-28  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/glib-2.0.vala: add and improve various types
      
      svn path=/trunk/; revision=136
      7b4b8da1
  5. 27 Sep, 2006 10 commits
    • Jürg Billeter's avatar
      set attributes also for non-readable properties support interface signals · af4a9e9a
      Jürg Billeter authored
      2006-09-28  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: set attributes also for non-readable properties
      	* vala/valacodegenerator.vala: support interface signals
      	* vala/valainvocationexpression.vala,
      	  vala/valaobjectcreationexpression.vala: fix problem when children
      	  change while iterating over them
      
      svn path=/trunk/; revision=135
      af4a9e9a
    • Jürg Billeter's avatar
      support InstanceByReference attribute add Filename struct, fix Process · 012e2ba4
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
      	  vala/valamethod.vala: support InstanceByReference attribute
      	* vapi/glib-2.0.vala: add Filename struct, fix Process methods
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  fix static methods without parameters, add InstanceByReference
      	  attributes
      
      svn path=/trunk/; revision=134
      012e2ba4
    • Jürg Billeter's avatar
      fix static modifier for methods without parameters · e873d4b3
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala: fix static modifier for methods without
      	  parameters
      
      svn path=/trunk/; revision=133
      e873d4b3
    • Jürg Billeter's avatar
      set instance_by_reference flag on generated methods if appropriate set · 32c2e994
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala: set instance_by_reference flag on
      	  generated methods if appropriate
      	* packages/gtk+-2.0/gtk+-2.0.metadata: set ellipsis for
      	  gtk_show_about_dialog
      
      svn path=/trunk/; revision=132
      32c2e994
    • Jürg Billeter's avatar
      visit interface signals obey lock keyword add interface signals · c41e5260
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valainterface.vala: visit interface signals
      	* vala/valainterfacewriter.vala: obey lock keyword
      	* vapi/atk.vala, vapi/gtk+-2.0.vala: add interface signals
      
      svn path=/trunk/; revision=131
      c41e5260
    • Jürg Billeter's avatar
      support interface signals change some signal declarations to fix parsing · cfe8ec32
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala: support interface signals
      	* packages/gtk+-2.0/gtk+-2.0.patch: change some signal declarations
      	  to fix parsing
      	* packages/gtk+-2.0/gtk+-2.0.gidl: regenerated
      	* packages/gtk+-2.0/gtk+-2.0.metadata: add missing emitter methods
      
      svn path=/trunk/; revision=130
      cfe8ec32
    • Raffaele Sandrini's avatar
      add threading and assorted structures add an additional abstraction for · a265bc69
      Raffaele Sandrini authored
      2006-09-27  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vapi/glib-2.0.vala: add threading and assorted structures
      	* vala/valamember.vala: add an additional abstraction for all members
      	  of a class
      	* vala/valalockstatement.vala, vala/valacodegenerator.vala,
      	  vala/scanner.l, vala/valasemanticanalyzer.vala,
      	  vala/valalockable.vala, vala/parser.y, vala/valacodevisitor.vala:
      	  add lock feature to vala
      	* vala/valamethod.vala, vala/valafield.vala, vala/valaconstant.vala,
      	  vala/valasignal.vala, vala/valaproperty.vala: make those members
      	  lockable
      	* vala/valacodegenerator.vala: use member abstraction to simlify field
      	  initialisation and destruction
      	* vala/valacodegenerator.vala: introduce new C macros VALA_FREE_CHECKED
      	  and VALA_FREE_UNCHECKED to make safe freeing code nicer
      	* vala/vala.h: update and bring arraycreationexpression in order
      	* vala/Makefile.am: update
      
      
      svn path=/trunk/; revision=129
      a265bc69
    • Jürg Billeter's avatar
      add Process struct with spawn functions · 8fe5d662
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/glib-2.0.vala: add Process struct with spawn functions
      
      svn path=/trunk/; revision=128
      8fe5d662
    • Jürg Billeter's avatar
      fix global methods · 9284e082
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  fix global methods
      
      svn path=/trunk/; revision=127
      9284e082
    • Jürg Billeter's avatar
      move global methods from Global struct to namespace, remove leading · 0b7e34f1
      Jürg Billeter authored
      2006-09-27  Jürg Billeter  <j@bitron.ch>
      
      	* gidlgen/gapi2xml.pl: move global methods from Global struct to
      	  namespace, remove leading underscore in names of global methods
      	* vapigen/valagidlparser.vala: support namespace methods
      	* packages/atk/atk.gidl, packages/gdk-2.0/gdk-2.0.gidl,
      	  packages/pango/pango.gidl, packages/gtk+-2.0/gtk+-2.0.gidl:
      	  regenerated
      	* packages/gtk+-2.0/gtk+-2.0.metadata: mark GtkActionEntry as value type
      
      svn path=/trunk/; revision=126
      0b7e34f1
  6. 26 Sep, 2006 2 commits
    • Jürg Billeter's avatar
      add string.reverse, Source.remove, Environment.get_variable, · de47bdf3
      Jürg Billeter authored
      2006-09-26  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/glib-2.0.vala: add string.reverse, Source.remove,
      	  Environment.get_variable, Environment.set_variable,
      	  Environment.get_current_dir, Path.is_absolute, Path.skip_root
      
      svn path=/trunk/; revision=125
      de47bdf3
    • Jürg Billeter's avatar
      add missing cast · 55df8bbb
      Jürg Billeter authored
      2006-09-26  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
      	  vala/valacastexpression.vala, vala/valadostatement.vala,
      	  vala/valaexpressionstatement.vala, vala/valaforeachstatement.vala,
      	  vala/valaforstatement.vala, vala/valaifstatement.vala,
      	  vala/valainvocationexpression.vala, vala/valamemberaccess.vala,
      	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
      	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
      	  vala/valawhilestatement.vala: add missing cast
      
      svn path=/trunk/; revision=124
      55df8bbb
  7. 03 Sep, 2006 1 commit
  8. 02 Sep, 2006 8 commits
    • Jürg Billeter's avatar
      always default type arguments to strong avoid unnecessary ref/unref pair · 1d3e2293
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y, vala/valacodecontext.vala,
      	  vala/valasemanticanalyzer.vala, vala/valamemorymanager.vala,
      	  vala/valacodegenerator.vala, vala/valaarraycreationexpression.vala,
      	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valaelementaccess.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valainterface.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamethod.vala, vala/valanamespace.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  ccode/valaccodefragment.vala, vapi/glib-2.0.vala: always default type
      	  arguments to strong
      	* vala/valacodevisitor.vala, vala/valacodegenerator.vala,
      	  vala/valaexpression.vala, vala/valareturnstatement.vala: avoid
      	  unnecessary ref/unref pair in return expression
      	* vala/valatypereference.vala: copy type arguments in copy method, too
      	* vala/valasemanticanalyzer.vala: set type arguments in type_reference
      	  of ObjectCreationExpression
      	* vala/valadatatype.vala: fix warning
      
      svn path=/trunk/; revision=122
      1d3e2293
    • Jürg Billeter's avatar
      special case construction of GLib.List and GLib.SList (reported by Cayle · 23106714
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala: special case construction of GLib.List
      	  and GLib.SList (reported by Cayle Graumann)
      
      svn path=/trunk/; revision=121
      23106714
    • Jürg Billeter's avatar
      prepare to support protected members · 7cafb62f
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valasemanticanalyzer.vala,
      	  vala/valacodegenerator.vala, vala/valainterfacewriter.vala,
      	  vala/valamemberaccessibility.vala: prepare to support protected
      	  members
      
      svn path=/trunk/; revision=120
      7cafb62f
    • Jürg Billeter's avatar
      don't set parent_node in parser support string + operator set parent_node · 7a498fd8
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: don't set parent_node in parser
      	* vala/valasemanticanalyzer.vala: support string + operator
      	* vala/valaassignment.vala, vala/valabinaryexpression.vala,
      	  vala/valacastexpression.vala, vala/valacodenode.vala,
      	  vala/valadostatement.vala, vala/valaexpressionstatement.vala,
      	  vala/valaforeachstatement.vala, vala/valaforstatement.vala,
      	  vala/valaifstatement.vala, vala/valainvocationexpression.vala,
      	  vala/valamemberaccess.vala, vala/valaobjectcreationexpression.vala,
      	  vala/valaparenthesizedexpression.vala, vala/valareturnstatement.vala,
      	  vala/valaswitchstatement.vala, vala/valaunaryexpression.vala,
      	  vala/valawhilestatement.vala: set parent_node of child nodes, add
      	  replace method
      	* vala/valanullliteral.vala: add default argument to construction method
      	* tests/test-021.vala: test string + operator
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=119
      7a498fd8
    • Jürg Billeter's avatar
      support integer and floating point suffixes use correct type for integer · ae7fbc79
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support integer and floating point suffixes
      	* vala/valasemanticanalyzer.vala: use correct type for integer and
      	  floating point literals
      	* vala/valaintegerliteral.val, vala/valarealliteral.vala: add
      	  get_type_name method
      	* vapi/glib-2.0.vala: add string to int64 conversion method
      
      svn path=/trunk/; revision=118
      ae7fbc79
    • Jürg Billeter's avatar
      use IntegerType, FloatingType, and rank attributes to analyze arithmetic · be3441b3
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala: use IntegerType, FloatingType, and
      	  rank attributes to analyze arithmetic operations
      	* vala/valacodegenerator.vala: generate C casts for explicit value-type
      	  casts
      	* vala/valastruct.vala: add is_integer_type, is_floating_type, and
      	  get_rank methods, add IntegerType and FloatingType attributes
      	* vala/valasemanticanalyzer.vala, vala/valacastexpression.vala,
      	  vala/valainstancecast.vala, ccode/valaccodecastexpression.vala: fix
      	  typos
      	* vapi/glib-2.0.vala: add int16, uint16, int32, uint32, use IntegerType
      	  and FloatingType attributes
      
      svn path=/trunk/; revision=117
      be3441b3
    • Jürg Billeter's avatar
      set accessibility for constants set return type in property set accessors · bcaee210
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: set accessibility for constants
      	* vala/valasemanticanalyzer.vala: set return type in property set
      	  accessors to void
      	* vala/valacodegenerator.vala: move public constants to header file
      	* vala/valaclass.vala: don't create fields for properties in VAPI files
      	* vala/valaconstant.vala: add access member
      
      svn path=/trunk/; revision=116
      bcaee210
    • Jürg Billeter's avatar
      mark Matrix as reference type · 773382a1
      Jürg Billeter authored
      2006-09-02  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/cairo.vala: mark Matrix as reference type
      
      svn path=/trunk/; revision=115
      773382a1
  9. 24 Aug, 2006 3 commits
    • Jürg Billeter's avatar
      mark virtual methods appropriately · 37a2673f
      Jürg Billeter authored
      2006-08-24  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  mark virtual methods appropriately
      
      svn path=/trunk/; revision=114
      37a2673f
    • Jürg Billeter's avatar
      mark virtual functions appropriately · 687e33b5
      Jürg Billeter authored
      2006-08-24  Jürg Billeter  <j@bitron.ch>
      
      	* vapigen/valagidlparser.vala: mark virtual functions appropriately
      
      svn path=/trunk/; revision=113
      687e33b5
    • Jürg Billeter's avatar
      add possibility to change interface type struct cname, default to `Iface' · 0e8ad38d
      Jürg Billeter authored
      2006-08-24  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaattributeprocessor.vala, vala/valacodegenerator.vala,
      	  vala/valainterface.vala, vala/valainterfaceregisterfunction.vala: add
      	  possibility to change interface type struct cname, default to `Iface'
      	  suffix (reported by Dominique Würtz)
      
      svn path=/trunk/; revision=112
      0e8ad38d
  10. 23 Aug, 2006 1 commit
  11. 20 Aug, 2006 1 commit
  12. 18 Aug, 2006 8 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