1. 07 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      remove most namespace detection workarounds, fixes bug 463171 · 4b3d2c2e
      Jürg Billeter authored
      2007-08-07  Juerg Billeter  <j@bitron.ch>
      
      	* vapi/gdk-2.0.vala, vapi/gio-standalone.vala, vapi/gtk+-2.0.vala,
      	  vapi/pango.vala, vapigen/valagidlparser.vala,
      	  vapigen/valavapigen.vala: remove most namespace detection workarounds,
      	  fixes bug 463171
      
      svn path=/trunk/; revision=425
      4b3d2c2e
  2. 21 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      derive from Symbol class where appropriate and move symbol table into · db24aa20
      Jürg Billeter authored
      2007-07-21  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/scanner.l, vala/vala.h,
      	  vala/valaarray.vala, vala/valaarraylengthfield.vala,
      	  vala/valaarrayresizemethod.vala, vala/valaattributeprocessor.vala,
      	  vala/valablock.vala, vala/valabreakstatement.vala,
      	  vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valacodecontext.vala, vala/valacodenode.vala,
      	  vala/valacodevisitor.vala, vala/valaconstant.vala,
      	  vala/valaconstructor.vala, vala/valacontinuestatement.vala,
      	  vala/valacreationmethod.vala, vala/valadatatype.vala,
      	  vala/valadeclarationstatement.vala, vala/valadestructor.vala,
      	  vala/valadostatement.vala, vala/valaemptystatement.vala,
      	  vala/valaenum.vala, vala/valaenumvalue.vala,
      	  vala/valaexpressionstatement.vala, vala/valafield.vala,
      	  vala/valaflags.vala, vala/valaflagsvalue.vala,
      	  vala/valaforeachstatement.vala, vala/valaformalparameter.vala,
      	  vala/valaforstatement.vala, vala/valaifstatement.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valalockstatement.vala, vala/valamember.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valanamespace.vala, vala/valaproperty.vala,
      	  vala/valapropertyaccessor.vala, vala/valareturnstatement.vala,
      	  vala/valascope.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasignal.vala, vala/valasourcefile.vala,
      	  vala/valastatement.vala, vala/valastruct.vala,
      	  vala/valaswitchstatement.vala, vala/valasymbol.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valathrowstatement.vala, vala/valatrystatement.vala,
      	  vala/valatypeparameter.vala, vala/valatypereference.vala,
      	  vala/valavariabledeclarator.vala, vala/valawhilestatement.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/valacodegeneratorstruct.vala, compiler/valacompiler.vala,
      	  vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
      	  vapi/glib-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
      	  vapi/packages/gstreamer-0.10/gstreamer-0.10-custom.vala,
      	  vapi/packages/gtk+-2.0/gtk+-2.0-custom.vala, vapi/pango.vala,
      	  vapi/vte.vala, vapigen/valagidlparser.vala, vapigen/valavapigen.vala:
      	  derive from Symbol class where appropriate and move symbol table into
      	  separate Scope class
      
      svn path=/trunk/; revision=366
      db24aa20
  3. 17 Jul, 2007 1 commit
  4. 11 Jul, 2007 1 commit
  5. 09 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      write static delegate instead of callback use static delegate instead of · 0ab8f98f
      Jürg Billeter authored
      2007-07-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valainterfacewriter.vala: write static delegate instead of
      	  callback
      	* tests/test-014.vala, tests/test-015.vala, vapi/atk.vala,
      	  vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gio-standalone.vala,
      	  vapi/gtk+-2.0.vala, vapi/hal.vala, vapi/pango.vala, vapi/vte.vala: use
      	  static delegate instead of callback
      
      svn path=/trunk/; revision=333
      0ab8f98f
  6. 03 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      write cprefix and lower_case_cprefix of namespaces and write · af384685
      Jürg Billeter authored
      2007-07-03  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valainterfacewriter.vala: write cprefix and lower_case_cprefix
      	  of namespaces and write cheader_filename of interfaces
      	* vala/valanamespace.vala: make set_cprefix and set_lower_case_cprefix
      	  methods public
      	* ccode/valaccodewriter.vala, vala/valainterfacewriter.vala,
      	  gobject/valaccodecompiler.vala, compiler/valacompiler.vala,
      	  vapi/glib-2.0.vala, vapigen/valagidlparser.vala,
      	  vapigen/valavapigen.vala: split GLib.File into GLib.FileStream and
      	  GLib.FileUtils to not conflict with GVFS
      	* vala/valagidlparser.vala: improve support for GVFS
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  regenerated
      	* vapi/gio-standalone.vala, vapi/packages/gio-standalone/: add
      	  experimental VAPI for GVFS
      	* vapi/Makefile.am: update
      
      svn path=/trunk/; revision=328
      af384685
  7. 30 Jun, 2007 1 commit
    • Jürg Billeter's avatar
      fix current_symbol handling in visit_property_accessor add missing · 302bc8a0
      Jürg Billeter authored
      2007-06-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valasymbolbuilder.vala: fix current_symbol handling in
      	  visit_property_accessor
      	* vapigen/valagidlparser.vala: add missing NoArrayLength attribute,
      	  support hiding signals
      	* vapi/glib-2.0.vala: add GConnectFlags
      	* vapi/packages/pango/pango.gidl, vapi/pango.vala: updated to
      	  Pango 1.17.3
      	* vapi/packages/gdk-2.0/gdk-2.0.gidl,
      	  vapi/packages/gtk+-2.0/gtk+-2.0.gidl,
      	  vapi/packages/gtk+-2.0/gtk+-2.0.metadata, vapi/gdk-2.0.vala,
      	  vapi/gtk+-2.0.vala: updated to GTK+ 2.11.4, some small
      	  GtkTreeModel/GtkTreeStore fixes
      
      svn path=/trunk/; revision=325
      302bc8a0
  8. 02 May, 2007 2 commits
  9. 06 Apr, 2007 1 commit
    • Jürg Billeter's avatar
      use yyleng instead of strlen don't write unnecessary attributes to reduce · 298b24a4
      Jürg Billeter authored
      2007-04-06  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: use yyleng instead of strlen
      	* vala/valainterfacewriter.vala: don't write unnecessary attributes to
      	  reduce parse time
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  remove unnecessary attributes to reduce parse time
      
      svn path=/trunk/; revision=282
      298b24a4
  10. 21 Mar, 2007 2 commits
  11. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      accept attributes without parentheses don't write weak keyword for value · 90644b47
      Jürg Billeter authored
      2007-03-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: accept attributes without parentheses
      	* vala/valainterfacewriter.vala: don't write weak keyword for value
      	  types
      	* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
      	  vapi/libxml-2.0.vala, vapi/pango.vala: update
      
      svn path=/trunk/; revision=240
      90644b47
  12. 03 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      switch to new construction syntax · d2d8fe52
      Jürg Billeter authored
      2007-03-03  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/atk.vala, vapi/cairo.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala,
      	  vapi/pango.vala: switch to new construction syntax
      
      svn path=/trunk/; revision=213
      d2d8fe52
  13. 28 Feb, 2007 1 commit
    • Jürg Billeter's avatar
      updates and fixes · 9f6de44f
      Jürg Billeter authored
      2007-02-28  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  updates and fixes
      
      svn path=/trunk/; revision=206
      9f6de44f
  14. 02 Nov, 2006 2 commits
  15. 27 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      miscellaneous fixes · 34d33d9d
      Jürg Billeter authored
      2006-10-27  Jürg Billeter  <j@bitron.ch>
      
      	* vapi/atk.vala, vapi/gdk-2.0.vala, vapi/gtk+-2.0.vala, vapi/pango.vala:
      	  miscellaneous fixes
      
      svn path=/trunk/; revision=159
      34d33d9d
  16. 27 Sep, 2006 2 commits
    • 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 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
  17. 24 Aug, 2006 1 commit
    • 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
  18. 18 Aug, 2006 2 commits
    • 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
      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
  19. 18 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      support TYPEOF support typeof expressions, out ref parameters, and enum · 7249dcd5
      Jürg Billeter authored
      2006-06-18  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: support TYPEOF
      	* vala/parser.y: support typeof expressions, out ref parameters, and
      	  enum attributes
      	* vala/valacodevisitor.vala: add visit method for typeof expressions
      	* vala/valaattributeprocessor.vala: use non-null parameter types,
      	  support enums and properties
      	* vala/valasemanticanalyzer.vala: support floating references
      	* vala/valamemorymanager.vala: ignore signal connections
      	* vala/valacodegenerator.vala: reset temp variable id at beginning of
      	  each file, fix out parameters, support properties without accessor
      	  methods, support floating references, add typeof expression, support
      	  static signal handlers
      	* vala/valaclass.vala: use default arguments
      	* vala/valaenum.vala: support cname, cprefix, and cheader_filename
      	  attributes
      	* vala/valaenumvalue.vala: use Enum.get_cprefix ()
      	* vala/valamethod.vala: support FloatingReference attribute
      	* vala/valanamespace.vala: use default arguments
      	* vala/valaproperty.vala: support NoAccessorMethod attribute
      	* vala/valastruct.vala: support type_id
      	* vala/valatype.vala: add abstract get_type_id method
      	* vala/valatypeofexpression.vala
      	* vala/valatypereference.vala: add floating_reference property, correct
      	  to_string method signature
      	* vala/vala.h: update
      	* vala/Makefile.am: update
      	* vapi/glib-2.0.vala: add GInitiallyUnowned
      	* vapi/gtk+-2.0.vala: start of a GTK+ binding
      	* vapi/pango.vala: start of a Pango binding
      
      svn path=/trunk/; revision=49
      7249dcd5
  20. 24 May, 2006 1 commit
    • Jürg Billeter's avatar
      Compiler is now self-hosting. · 29a1dec5
      Jürg Billeter authored
      2006-05-24  Jürg Billeter  <j@bitron.ch>
      	
      	Compiler is now self-hosting.
      
      	* vala/parser.y: support type checks, field attributes, and virtual and
      	  override method modifiers
      	* vala/valacodevisitor.vala: support type checks
      	* vala/valasymbolbuilder.vala: correct generated property accessors
      	* vala/valaattributeprocessor.vala: process field attributes
      	* vala/valasemanticanalyzer.vala: support virtual methods and type
      	  checks
      	* vala/valacodegenerator.vala: support properties, private fields,
      	  static fields, virtual methods, field initializers, while statements,
      	  foreach statements, instance last methods, postfix expressions, type
      	  checks
      	* vala/valaclass.vala: correct source reference, add get_properties
      	  method
      	* vala/valafield.vala: visit initializer, support cname attribute
      	* vala/valamethod.vala: support ReturnsModifiedPointer and InstanceLast
      	  attributes, add is_virtual, is_override, and base_method fields, add
      	  get_real_cname method
      	* vala/valaproperty.vala: add get_upper_case_cname method
      	* vala/valastruct.vala: add has_private_fields attribute, add
      	  get_methods method
      	* vala/valatypecheck.vala
      	* vala/vala.h: update
      	* ccode/valaccodebreakstatement.vala
      	* ccode/valaccodecasestatement.vala
      	* ccode/valaccodecontinuestatement.vala
      	* ccode/valaccodedeclaration.vala: renamed from
      	  CCodeDeclarationStatement, support function declarators
      	* ccode/valaccodedeclarator.vala: abstract base class for variable and
      	  function declarators
      	* ccode/valaccodefunctiondeclarator.vala: 
      	* ccode/valaccodestruct.vala: support function declarations by adding
      	  add_declaration method
      	* ccode/valaccodeswitchstatement.vala
      	* ccode/valaccodeunaryexpression.vala: add postfix increment and
      	  decrement operators
      	* ccode/valaccodevariabledeclarator.vala: inherit from CCodeDeclarator
      	* ccode/valaccodewhilestatement.vala
      
      svn path=/trunk/; revision=35
      29a1dec5
  21. 16 May, 2006 1 commit
    • Jürg Billeter's avatar
      fix multi-line comments basic statement and expression handling support · 4389522e
      Jürg Billeter authored
      2006-05-16  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: fix multi-line comments
      	* vala/valacodegenerator.vala: basic statement and expression handling
      	* vala/valacodevisitor.vala: support variable declaration
      	* vala/valasymbolbuilder.vala: adapt to visitor changes
      	* vala/valaclass.vala: remove members already available in Struct
      	* vala/valacodenode.vala: add ccodenode field
      	* vala/valadeclarationstatement.vala: visit declaration
      	* vala/valaexpressionstatement.vala: visit code containers after child
      	  elements
      	* vala/valalocalvariabledeclaration.vala: add accept method
      	* vala/valamethod.vala: add begin and end visit events
      	* vala/valanamespace.vala: add lower_case_cprefix
      	* vala/valastruct.vala: define get_upper_case_cname method
      	* vala/valatype.vala: declare get_upper_case_cname method
      	* vala/valatypereference.vala: add get_upper_case_cname method
      	* vala/valavariabledeclarator.vala: add accept method
      	* ccode/valaccodewriter.vala: formatting fixes
      	* ccode/valaccodeassignment.vala
      	* ccode/valaccodebinaryexpression.vala
      	* ccode/valaccodeblock.vala: use CCodeStatement
      	* ccode/valaccodeconstant.vala
      	* ccode/valaccodedeclarationstatement.vala
      	* ccode/valaccodeemptystatement.vala
      	* ccode/valaccodeexpression.vala
      	* ccode/valaccodeexpressionstatement.vala
      	* ccode/valaccodeforstatement.vala
      	* ccode/valaccodefunction.vala: formatting fixes
      	* ccode/valaccodefunctioncall.vala
      	* ccode/valaccodeidentifier.vala
      	* ccode/valaccodeifstatement.vala
      	* ccode/valaccodereturnstatement.vala
      	* ccode/valaccodestatement.vala
      	* ccode/valaccodestruct.vala: formatting fixes
      	* ccode/valaccodevariabledeclarator.vala
      	* bindings/GLib.vala: extend string types
      	* valac/context.c: resolve types in named argument list in object
      	  creation expression
      
      svn path=/trunk/; revision=20
      4389522e
  22. 07 May, 2006 1 commit
    • Jürg Billeter's avatar
      tokenizer for new vala compiler parser vor new vala compiler · 04ad6ba4
      Jürg Billeter authored
      2006-05-07  Jürg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l: tokenizer for new vala compiler
      	* vala/parser.y: parser vor new vala compiler
      	* vala/valablock.vala
      	* vala/valabooleanliteral.vala
      	* vala/valacharacterliteral.vala
      	* vala/valaclass.vala: add methods
      	* vala/valadeclarationstatement.vala
      	* vala/valaemptystatement.vala
      	* vala/valaexpression.vala
      	* vala/valaexpressionstatement.vala
      	* vala/valaforeachstatement.vala
      	* vala/valaforstatement.vala
      	* vala/valaifstatement.vala
      	* vala/valaintegerliteral.vala
      	* vala/valainvocationexpression.vala
      	* vala/valaliteral.vala
      	* vala/valaliteralexpression.vala
      	* vala/valalocalvariabledeclaration.vala
      	* vala/valamethod.vala
      	* vala/valanamedargument.vala
      	* vala/valanullliteral.vala
      	* vala/valaobjectcreationexpression.vala
      	* vala/valaparenthesizedexpression.vala
      	* vala/valareturnstatement.vala
      	* vala/valasimplename.vala
      	* vala/valastatement.vala
      	* vala/valastringliteral.vala
      	* vala/valatypereference.vala
      	* vala/valaunaryexpression.vala
      	* vala/valavariabledeclarator.vala
      	* vala/valacodevisitor.vala: add visit_method skeleton
      	* vala/valacodegenerator.vala: do.
      	* vala/vala.h: include generated header files
      	* valac/generator.c: support bool and enum properties, support enums
      
      svn path=/trunk/; revision=14
      04ad6ba4
  23. 06 May, 2006 1 commit
    • Jürg Billeter's avatar
      vala/valacodecontext.vala vala/valasourcefile.vala filename, line, and · e4904cce
      Jürg Billeter authored
      2006-05-06  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodecontext.vala
      	* vala/valasourcefile.vala
      	* vala/valasourcereference.vala: filename, line, and comment container
      	* vala/valacodenode.vala: abstract code node
      	* vala/valanamespace.vala: namespace node
      	* vala/valaclass.vala: class node
      	* vala/valacodevisitor.vala: abstract syntax tree visitor
      	* vala/valaparser.vala: vala parser
      	* vala/valacodegenerator.vala: code generator skeleton
      	* compiler/valacompiler.vala: compiler driver
      	* bindings/GLib.vala: add bindings for GList and GOptionContext
      	* valac/scanner.l: support multi-line comments, ABSTRACT, INTERFACE,
      	  READONLY
      	* valac/parser.y: replace AT by HASH, support readonly fields
      	* valac/context.h: small fixes
      	* valac/context.c: small fixes
      	* valac/generator.c: fix override methods, basic support for properties
      
      svn path=/trunk/; revision=13
      e4904cce