From ecbb84df1bf1cfdb686dd34a302b584e77e739c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sun, 1 May 2011 09:32:32 +0200 Subject: update lib/efl, README, Changelog --- Changelog | 14 +++++++++++++- README.rdoc | 38 ++++++++++++++++++++++++-------------- lib/efl.rb | 13 +++++++++---- 3 files changed, 46 insertions(+), 19 deletions(-) diff --git a/Changelog b/Changelog index b2ae7b4..7c4b9b8 100644 --- a/Changelog +++ b/Changelog @@ -1,5 +1,17 @@ +2011-05-01 Jérémy Zurcher + * release 0.0.3 + + Evas, Evas_Ecore, Edje, Elm ... usable + * use FFI::AutoPointer in ruby classes + * cleanup method_missing proxies usage and definition + * Eina_List <=> Array + * Eina_Hash <=> Hash + * .*= setters handled + * .*? getters handled + * evas test from http://docs.enlightenment.org/auto/evas/ implemented + * edje test from http://docs.enlightenment.org/auto/edje/ implemented + 2011-04-25 Jérémy Zurcher - * release 0.2.0 + * release 0.0.2 * ecore getopt seems good * basis of module function mapping and class method_missing usage setup * small elementary elm_Win test app diff --git a/README.rdoc b/README.rdoc index 912f3d1..1c4a53f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -4,31 +4,27 @@ ffi-efl == DESCRIPTION: -ffi-efl is a FFI[https://github.com/ffi/ffi/wiki] binding to Enlightenment Foundation Libraries (eina,eet,evas,ecore,edje...) -base components of the Enlightenment project. (EFL API[http://www.enlightenment.org/p.php?p=docs&l=en]) - -ffi-efl project is developed on asynk[http://cgit.asynk.ch/cgi-bin/cgit/ffi-efl], github[https://github.com/jeremyz] and gitorious[https://gitorious.org/~jeyzu] +A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries). == FEATURES/PROBLEMS: -* Project just started +* Not 1.8 compatible yet !!! == SYNOPSIS: - require './lib/efl' - include Efl - Eet.init - Eet.open('/tmp/_eet.cfg', :eet_file_mode_write) do |f| + require 'efl' + Efl::Eet.init + Efl::Eet::REetFile.open('/tmp/_eet.cfg', :eet_file_mode_write) do |f| f.write 'config2', 'test--key' end - Eet.open('/tmp/_eet.cfg', :eet_file_mode_read) do |f| + Efl::Eet::REetFile.open('/tmp/_eet.cfg', :eet_file_mode_read) do |f| puts f.read('config2') end - Eet.shutdown + Efl::Eet.shutdown For less minimalistic and more sane examples you may look at: -* the spec/ folder +* the spec/ and test/ folders == REQUIREMENTS: @@ -37,7 +33,7 @@ For less minimalistic and more sane examples you may look at: == DOWNLOAD/INSTALL: -From rubyforge: +From rubygems: [sudo] gem install ffi-efl @@ -47,11 +43,25 @@ or from the git repository on github: cd ffi-efl rake gem:install +== RESOURCES: + +You can find this project in a few places: + +Online repositories: + +* https://github.com/jeremyz/ffi-efl +* http://cgit.asynk.ch/cgi-bin/cgit/ffi-efl/ +* https://gitorious.org/ffi-efl + +Gem: + +* https://rubygems.org/gems/ffi-efl + == CREDITS: Special thanks to: -* need help ... +* Lionel Orry == LICENSE: diff --git a/lib/efl.rb b/lib/efl.rb index 57dd141..c69bb12 100644 --- a/lib/efl.rb +++ b/lib/efl.rb @@ -4,14 +4,19 @@ # module Efl # - VERSION = '0.0.2' + VERSION = '0.0.3' # - autoload :Eet, './lib/efl/eet.rb' - autoload :Evas, './lib/efl/evas.rb' - autoload :Ecore, './lib/efl/ecore.rb' + autoload :EcoreEvas, './lib/efl/ecore_evas.rb' autoload :EcoreGetopt, './lib/efl/ecore_getopt.rb' + autoload :EcoreInput, './lib/efl/ecore_input.rb' + autoload :Ecore, './lib/efl/ecore.rb' autoload :Edje, './lib/efl/edje.rb' + autoload :Eet, './lib/efl/eet.rb' + autoload :EinHash, './lib/efl/eina_hash.rb' + autoload :EinaList, './lib/efl/eina_list.rb' + autoload :Eina, './lib/efl/eina.rb' autoload :Elm, './lib/efl/elementary.rb' + autoload :Evas, './lib/efl/evas.rb' end # # EOF -- cgit v1.1-2-g2b99