1. 30 Aug, 2007 4 commits
    • Jürg Billeter's avatar
      rename MemberAccessibility to SymbolAccessibility and move its declaration · 6accf66c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valamemberaccessibility.vala: rename MemberAccessibility to
      	  SymbolAccessibility and move its declaration to vala/valasymbol.vala
      	* vala/parser.y: store accessibility modifier for properties and follow
      	  the renames caused by the accessibility releated refactoring, cast
      	  the Struct allocated in struct_declaration to silence gcc
      	* vala/Makefile.am: remove valamemberaccessibility.* files
      	* vala/valasymbol.vala: add access property found in serveral
      	  sub-classes and add is_internal_symbol () method, which considers
      	  parent symbols to determinate if a symbol belongs to internal API
      	* gobject/*, vala/*, vapigen/valagidlparser.vala:
      	  move the access property/field found in several Symbol derived
      	  classes to the Symbol class where it belongs and rename the
      	  MemberAccessibility enumeration to SymbolAccessibility
      
      	* vala/valaformalparameter.vala, vala/valanamespace.vala: set access
      	  to public on initialization, as there is no accessibility modifier
      	* gobject/valacodegenerator.vala: do not add internal symbols to
      	  header_type_member_declarations
      	* vala/valasemanticanalyzer.vala: do not add HEADER_SHALLOW symbol
      	  dependencies for internal symbols
      	* gobject/valacodegeneratormethod.vala: consider all anchestors,
      	  not just the parent for visibility
      
      	patch by Mathias Hasselmann, fixes bug 471475
      
      svn path=/trunk/; revision=546
      6accf66c
    • Jürg Billeter's avatar
      remove support for reference-type structs, improve support for non-GObject · dafce8e1
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valainterfacewriter.vala,
      	  vala/valastruct.vala: remove support for reference-type structs,
      	  improve support for non-GObject classes
      
      	* vapigen/valagidlparser.vala, vapi/cairo.vala, vapi/curses.vala,
      	  vapi/dbus-glib-1.vala, vapi/enchant.vala, vapi/hal.vala,
      	  vapi/libxml-2.0.vala, vapi/sqlite3.vala,
      	  vapi/packages/libsoup-2.2/libsoup-2.2-custom.vala,
      	  vapi/packages/pango/pango-custom.vala: replace reference-type structs
      	  by classes
      
      	* vapi/atk.vala, vapi/gconf-2.0.vala, vapi/gdk-2.0.vala,
      	  vapi/gio-standalone.vala, vapi/gnome-desktop-2.0.vala,
      	  vapi/gnome-vfs-2.0.vala, vapi/gstreamer-0.10.vala, vapi/gtk+-2.0.vala,
      	  vapi/gtksourceview-2.0.vala, vapi/hildon-1.vala,
      	  vapi/libglade-2.0.vala, vapi/libgnome-2.0.vala,
      	  vapi/libgnomeui-2.0.vala, vapi/libsoup-2.2.vala,
      	  vapi/libwnck-1.0.vala, vapi/pango.vala, vapi/poppler-glib.vala,
      	  vapi/vte.vala: regenerated
      
      svn path=/trunk/; revision=545
      dafce8e1
    • Jürg Billeter's avatar
      remove obsolete ctype attribute · 24155cdb
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: remove
      	  obsolete ctype attribute
      
      svn path=/trunk/; revision=538
      24155cdb
    • Jürg Billeter's avatar
      support classes without base class · c390970c
      Jürg Billeter authored
      2007-08-30  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valasemanticanalyzer.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratormethod.vala, vapi/glib-2.0.vala: support
      	  classes without base class
      
      svn path=/trunk/; revision=537
      c390970c
  2. 29 Aug, 2007 1 commit
  3. 28 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      support non-GObject classes, will replace reference-type structs · 6ab8723f
      Jürg Billeter authored
      2007-08-28  Juerg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valaenum.vala,
      	  gobject/valacodegenerator.vala, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratormethod.vala: support non-GObject classes,
      	  will replace reference-type structs
      
      svn path=/trunk/; revision=514
      6ab8723f
  4. 06 Aug, 2007 1 commit
    • Jürg Billeter's avatar
      add experimental D-Bus client support · f371f443
      Jürg Billeter authored
      2007-08-06  Juerg Billeter  <j@bitron.ch>
      
      	* vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
      	  vala/valabindingprovider.vala, vala/valaclass.vala,
      	  vala/valaenum.vala, vala/valainterface.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasymbol.vala,
      	  vala/valasymbolresolver.vala, vala/valavariabledeclarator.vala,
      	  gobject/Makefile.am, gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valadbusbindingprovider.vala, gobject/valadbusmethod.vala,
      	  gobject/valadbussignal.vala, compiler/valacompiler.vala,
      	  vapi/dbus-glib-1.vala, vapi/hal.vala: add experimental D-Bus client
      	  support
      
      svn path=/trunk/; revision=419
      f371f443
  5. 27 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and · 5a32f9e2
      Jürg Billeter authored
      2007-07-27  Juerg Billeter  <j@bitron.ch>
      
      	* Makefile.am, README, configure.ac, gee/Makefile.am,
      	  gee/arraylist.vala, gee/collection.vala, gee/hashmap.vala,
      	  gee/hashset.vala, gee/iterable.vala, gee/iterator.vala, gee/list.vala,
      	  gee/map.vala, gee/readonlycollection.vala, gee/readonlylist.vala,
      	  gee/readonlymap.vala, gee/readonlyset.vala, gee/set.vala,
      	  vala/Makefile.am, vala/parser.y, vala/valaarray.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
      	  vala/valablock.vala, vala/valacallback.vala, vala/valaclass.vala,
      	  vala/valacodecontext.vala, vala/valacodenode.vala,
      	  vala/valadatatype.vala, vala/valaelementaccess.vala,
      	  vala/valaenum.vala, vala/valaexpression.vala, vala/valafield.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valainstancecast.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamember.vala,
      	  vala/valamemberaccess.vala, vala/valamemorymanager.vala,
      	  vala/valamethod.vala, vala/valanamespace.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valapointer.vala,
      	  vala/valascope.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasignal.vala, vala/valasourcefile.vala,
      	  vala/valasourcefilecycle.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
      	  vala/valatrystatement.vala, vala/valatypeparameter.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  ccode/Makefile.am, ccode/valaccodeblock.vala,
      	  ccode/valaccodecasestatement.vala,
      	  ccode/valaccodecommaexpression.vala, ccode/valaccodedeclaration.vala,
      	  ccode/valaccodeenum.vala, ccode/valaccodeforstatement.vala,
      	  ccode/valaccodefragment.vala, ccode/valaccodefunction.vala,
      	  ccode/valaccodefunctioncall.vala,
      	  ccode/valaccodefunctiondeclarator.vala,
      	  ccode/valaccodeinitializerlist.vala, ccode/valaccodestruct.vala,
      	  ccode/valaccodeswitchstatement.vala, gobject/Makefile.am,
      	  gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormemberaccess.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala,
      	  gobject/valacodegeneratorsourcefile.vala,
      	  gobject/valainterfaceregisterfunction.vala, compiler/Makefile.am,
      	  vapi/gio-standalone.vala, vapi/gstreamer-0.10.vala,
      	  vapi/gtk+-2.0.vala, vapigen/Makefile.am, vapigen/valagidlparser.vala:
      	  add internal copy of libgee and use Gee.ArrayList, Gee.HashMap, and
      	  Gee.HashSet instead of GLib.List and GLib.HashTable
      
      svn path=/trunk/; revision=406
      5a32f9e2
  6. 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
  7. 09 Jul, 2007 1 commit
    • Jürg Billeter's avatar
      remove obsolete ref modifier and callback keyword · ffb3d21f
      Jürg Billeter authored
      2007-07-09  Juerg Billeter  <j@bitron.ch>
      
      	* vala/scanner.l, vala/parser.y, vala/valaarray.vala,
      	  vala/valaarraycreationexpression.vala, vala/valaattribute.vala,
      	  vala/valabaseaccess.vala, vala/valablock.vala,
      	  vala/valabooleanliteral.vala, vala/valacallback.vala,
      	  vala/valaclass.vala, vala/valacodecontext.vala,
      	  vala/valacodenode.vala, vala/valacreationmethod.vala,
      	  vala/valadatatype.vala, vala/valaelementaccess.vala,
      	  vala/valaenum.vala, vala/valafield.vala, vala/valaflags.vala,
      	  vala/valaformalparameter.vala, vala/valaforstatement.vala,
      	  vala/valainitializerlist.vala, vala/valaintegerliteral.vala,
      	  vala/valainterface.vala, vala/valainterfacewriter.vala,
      	  vala/valainvocationexpression.vala, vala/valainvokable.vala,
      	  vala/valalambdaexpression.vala, vala/valaliteralexpression.vala,
      	  vala/valalocalvariabledeclaration.vala, vala/valamemberaccess.vala,
      	  vala/valamemorymanager.vala, vala/valamethod.vala,
      	  vala/valanamespace.vala, vala/valanullliteral.vala,
      	  vala/valaobjectcreationexpression.vala, vala/valaparser.vala,
      	  vala/valapointer.vala, vala/valaproperty.vala,
      	  vala/valasemanticanalyzer.vala, vala/valasignal.vala,
      	  vala/valasourcefile.vala, vala/valasourcereference.vala,
      	  vala/valastringliteral.vala, vala/valastruct.vala,
      	  vala/valaswitchsection.vala, vala/valaswitchstatement.vala,
      	  vala/valasymbol.vala, vala/valasymbolresolver.vala,
      	  vala/valatypereference.vala, vala/valavariabledeclarator.vala,
      	  gobject/valaclassregisterfunction.vala,
      	  gobject/valacodegenerator.vala,
      	  gobject/valacodegeneratorassignment.vala,
      	  gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorinvocationexpression.vala,
      	  gobject/valacodegeneratormemberaccess.vala,
      	  gobject/valacodegeneratormethod.vala,
      	  gobject/valacodegeneratorsignal.vala,
      	  gobject/valacodegeneratorsourcefile.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunction.vala, compiler/valacompiler.vala,
      	  vapi/cairo.vala, vapi/glib-2.0.vala, vapi/libxml-2.0.vala,
      	  tests/test-023.vala, gobject-introspection/gidl.vala,
      	  vapigen/valagidlparser.vala, vapigen/valavapigen.vala: remove obsolete
      	  ref modifier and callback keyword
      
      svn path=/trunk/; revision=334
      ffb3d21f
  8. 15 Jun, 2007 1 commit
    • Jürg Billeter's avatar
      move iteration of data types from accept to accept_children method · 6cbc5a68
      Jürg Billeter authored
      2007-06-15  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaattributeprocessor.vala, vala/valacodevisitor.vala,
      	  vala/valainterfacewriter.vala, vala/valamemorymanager.vala,
      	  vala/valaparser.vala, vala/valasemanticanalyzer.vala,
      	  vala/valasymbolbuilder.vala, vala/valasymbolresolver.vala,
      	  vala/valacallback.vala, vala/valaclass.vala, vala/valaenum.vala,
      	  vala/valaflags.vala, vala/valainterface.vala, vala/valastruct.vala,
      	  gobject/valacodegenerator.class, gobject/valacodegeneratorclass.vala,
      	  gobject/valacodegeneratorinterface.vala,
      	  gobject/valacodegeneratorstruct.vala: move iteration of data types
      	  from accept to accept_children method
      
      svn path=/trunk/; revision=323
      6cbc5a68
  9. 10 May, 2007 1 commit
    • Jürg Billeter's avatar
      separate declaration output remove comma at end of enum remove unused · 0899abe8
      Jürg Billeter authored
      2007-05-10  Jürg Billeter  <j@bitron.ch>
      
      	* ccode/valaccodeblock.vala, ccode/valaccodedeclaration.vala,
      	  ccode/valaccodedeclarator.vala, ccode/valaccodefragment.vala,
      	  ccode/valaccodefunctiondeclarator.vala, ccode/valaccodenode.vala,
      	  ccode/valaccodeoncesection.vala, ccode/valaccodestruct.vala,
      	  ccode/valaccodetypedefinition.vala,
      	  ccode/valaccodevariabledeclarator.vala: separate declaration output
      	* vala/parser.y: remove comma at end of enum
      	* vala/valaclass.vala, vala/valastruct.vala: remove unused methods
      	* vala/Makefile.am: update
      	* gobject/valacodegeneratorsourcefile.vala: support declaration
      	  separation in C code
      	* gobject/valaclassregisterfunction.vala,
      	  gobject/valainterfaceregisterfunction.vala,
      	  gobject/valatyperegisterfunction.vala: move from vala directory,
      	  move interface info declarations to the beginning of the block
      	* gobject/Makefile.am: update
      
      svn path=/trunk/; revision=315
      0899abe8
  10. 02 May, 2007 2 commits
  11. 30 Apr, 2007 1 commit
  12. 18 Apr, 2007 1 commit
  13. 05 Apr, 2007 1 commit
  14. 17 Mar, 2007 1 commit
    • Jürg Billeter's avatar
      support creating GTypeModule-based plug-ins with the ModuleInit attribute · dc6d6847
      Jürg Billeter authored
      2007-03-17  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valasemanticanalyzer.vala, vala/valacodegnerator.vala,
      	  vala/valaclassregisterfunction.vala,
      	  vala/valainterfaceregisterfunction.vala,
      	  vala/valatyperegisterfunction.vala, vala/valacodecontext.vala: support
      	  creating GTypeModule-based plug-ins with the ModuleInit attribute
      	* vala/parser.y, vala/valacodegenerator.vala, vala/valaclass.vala:
      	  support static classes
      	* vapi/glib-2.0.vala: add TypePlugin and TypeModule
      
      svn path=/trunk/; revision=242
      dc6d6847
  15. 07 Mar, 2007 1 commit
  16. 03 Mar, 2007 1 commit
  17. 21 Nov, 2006 1 commit
    • Jürg Billeter's avatar
      use new attribute functionality · c5b06dcf
      Jürg Billeter authored
      2006-11-21  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valaclass.vala, vala/valaenum.vala, vala/valafield.vala,
      	  vala/valainterface.vala, vala/valanamespace.vala,
      	  vala/valastruct.vala: use new attribute functionality
      
      svn path=/trunk/; revision=178
      c5b06dcf
  18. 25 Oct, 2006 1 commit
    • Jürg Billeter's avatar
      start to use const specifier for strings to reduce number of warnings · 46b759a5
      Jürg Billeter authored
      2006-10-25  Jürg Billeter  <j@bitron.ch>
      
      	* vala/valacodegenerator.vala, vala/valaarray.vala,
      	  vala/valacallback.vala, vala/valaclass.vala, vala/valadatatype.vala,
      	  vala/valaenum.vala, vala/valaflags.vala, vala/valainterface.vala,
      	  vala/valastruct.vala, vala/valatypereference.vala, vapi/glib-2.0.vala:
      	  start to use const specifier for strings to reduce number of warnings
      	  during C compilation
      
      svn path=/trunk/; revision=151
      46b759a5
  19. 06 Oct, 2006 1 commit
    • Raffaele Sandrini's avatar
      add get and set value support add user (arbitrary) signal support · 61934ac1
      Raffaele Sandrini authored
      2006-10-06  Raffaele Sandrini  <rasa@gmx.ch>
      
      	* vapi/glib-2.0.vala, vala/valaflags.vala, vala/valaenum.vala,
      	  vala/valadatatype.vala, vala/valaarray.vala, vala/valaclass.vala,
      	  vala/valastruct.vala: add get and set value support
      	* vala/valacodegenerator.vala: add user (arbitrary) signal support
      	* vala/valadatatype.vala, vala/valamemorymanager.vala,
      	  vala/valastruct.vala: correctly honor ref types in type arguments
      	* ccode/valaccodedeclaration.vala, ccode/valaccodemodifiers.vala:
      	  support register local variables
      	* ccode/valaccodememberaccess.vala: make one line creation possible
      	* vapi/glib-2.0.vala: fix return type of Glib.List.nth_data
      	* tests/test-024.vala: add user signal test
      	* tests/Makefile.am: update
      
      svn path=/trunk/; revision=143
      61934ac1
  20. 02 Sep, 2006 2 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
      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
  21. 10 Aug, 2006 1 commit
    • 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
  22. 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
  23. 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
  24. 27 Jul, 2006 1 commit
    • 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
  25. 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
  26. 08 Jul, 2006 3 commits
    • 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
  27. 07 Jul, 2006 1 commit
    • 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
  28. 06 Jul, 2006 1 commit
    • 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
  29. 29 Jun, 2006 1 commit
    • 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
  30. 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
  31. 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
  32. 14 Jun, 2006 1 commit
    • Jürg Billeter's avatar
      set is_lvalue_ref in property declarations use non-null parameter types · f699908b
      Jürg Billeter authored
      2006-06-14  Jürg Billeter  <j@bitron.ch>
      
      	* vala/parser.y: set is_lvalue_ref in property declarations
      	* vala/valacodecontext.vala: use non-null parameter types
      	* vala/valasymbolresolver.vala: fix lookup in namespaces of using
      	  directives, reset is_lvalue_ref where appropriate
      	* vala/valasemanticanalyzer.vala: use non-null parameter types,
      	  correctly set is_ref and is_lvalue_ref in variable declarators
      	* vala/valamemorymanager.vala: support methods which transfer ownership
      	  of arguments and or return value, analyze assignments
      	* vala/valacodegenerator.vala: add missing reference increment calls,
      	  small memory management improvements
      	* vala/valaclass.vala: use non-null parameter types
      	* vala/valaexpression.vala: add ref_missing
      	* vala/valastruct.vala: support ref_function attribute, use non-null
      	  parameter types
      	* vala/valatype.vala: let get_upper_case_cname return ref string
      	* vala/valatypereference.vala: add copy method
      	* ccode/valaccodeconditionalexpression.vala
      	* ccode/valaccodefunctioncall.vala: use non-null parameter types
      	* ccode/Makefile.am: update
      	* compiler/valacompiler.vala: process attributes before resolving
      	  symbols to have reference_type information available in resolver
      	* vapi/glib-2.0.vala: add ref_function attributes to string and List,
      	  use ref parameters in List and HashTable until the compiler can handle
      	  it correctly
      
      svn path=/trunk/; revision=44
      f699908b