ffi-efl 0.0.10 → 0.0.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (209) hide show
  1. data/Changelog +10 -2
  2. data/README.rdoc +41 -30
  3. data/lib/efl.rb +88 -14
  4. data/lib/efl/ecore.rb +1 -0
  5. data/lib/efl/ecore_evas.rb +4 -2
  6. data/lib/efl/ecore_getopt.rb +12 -11
  7. data/lib/efl/ecore_input.rb +1 -0
  8. data/lib/efl/eet.rb +1 -0
  9. data/lib/efl/eina.rb +1 -0
  10. data/lib/efl/eina_hash.rb +1 -0
  11. data/lib/efl/eina_list.rb +1 -0
  12. data/lib/efl/eina_log.rb +4 -0
  13. data/lib/efl/elementary.rb +0 -662
  14. data/lib/efl/elementary_all.rb +82 -0
  15. data/lib/efl/elm/elm_actionslider.rb +22 -0
  16. data/lib/efl/elm/elm_anchorblock.rb +22 -0
  17. data/lib/efl/elm/elm_anchorview.rb +22 -0
  18. data/lib/efl/elm/elm_bg.rb +37 -0
  19. data/lib/efl/elm/elm_box.rb +42 -0
  20. data/lib/efl/elm/elm_bubble.rb +22 -0
  21. data/lib/efl/elm/elm_button.rb +22 -0
  22. data/lib/efl/elm/elm_calendar.rb +22 -0
  23. data/lib/efl/elm/elm_check.rb +22 -0
  24. data/lib/efl/elm/elm_clock.rb +22 -0
  25. data/lib/efl/elm/elm_cnp.rb +30 -0
  26. data/lib/efl/elm/elm_colorselector.rb +22 -0
  27. data/lib/efl/elm/elm_conform.rb +26 -0
  28. data/lib/efl/elm/elm_ctxpopup.rb +27 -0
  29. data/lib/efl/elm/elm_cursor.rb +20 -0
  30. data/lib/efl/elm/elm_debug.rb +25 -0
  31. data/lib/efl/elm/elm_diskselector.rb +51 -0
  32. data/lib/efl/elm/elm_entry.rb +22 -0
  33. data/lib/efl/elm/elm_factory.rb +22 -0
  34. data/lib/efl/elm/elm_fileselector.rb +22 -0
  35. data/lib/efl/elm/elm_fileselector_button.rb +22 -0
  36. data/lib/efl/elm/elm_fileselector_entry.rb +22 -0
  37. data/lib/efl/elm/elm_flip.rb +22 -0
  38. data/lib/efl/elm/elm_flipselector.rb +56 -0
  39. data/lib/efl/elm/elm_focus.rb +74 -0
  40. data/lib/efl/elm/elm_frame.rb +22 -0
  41. data/lib/efl/elm/elm_gengrid.rb +68 -0
  42. data/lib/efl/elm/elm_genlist.rb +79 -0
  43. data/lib/efl/elm/elm_gesture_layer.rb +22 -0
  44. data/lib/efl/elm/elm_glview.rb +22 -0
  45. data/lib/efl/elm/elm_grid.rb +22 -0
  46. data/lib/efl/elm/elm_hover.rb +22 -0
  47. data/lib/efl/elm/elm_hoversel.rb +27 -0
  48. data/lib/efl/elm/elm_icon.rb +26 -0
  49. data/lib/efl/elm/elm_image.rb +22 -0
  50. data/lib/efl/elm/elm_index.rb +31 -0
  51. data/lib/efl/elm/elm_label.rb +22 -0
  52. data/lib/efl/elm/elm_layout.rb +26 -0
  53. data/lib/efl/elm/elm_list.rb +55 -0
  54. data/lib/efl/elm/elm_map.rb +22 -0
  55. data/lib/efl/elm/elm_mapbuf.rb +22 -0
  56. data/lib/efl/elm/elm_menu.rb +55 -0
  57. data/lib/efl/elm/elm_mirroring.rb +36 -0
  58. data/lib/efl/elm/elm_multibuttonentry.rb +58 -0
  59. data/lib/efl/elm/elm_naviframe.rb +42 -0
  60. data/lib/efl/elm/elm_notify.rb +22 -0
  61. data/lib/efl/elm/elm_object.rb +68 -0
  62. data/lib/efl/elm/elm_object_item.rb +20 -0
  63. data/lib/efl/elm/elm_panel.rb +22 -0
  64. data/lib/efl/elm/elm_panes.rb +22 -0
  65. data/lib/efl/elm/elm_photo.rb +22 -0
  66. data/lib/efl/elm/elm_photocam.rb +22 -0
  67. data/lib/efl/elm/elm_plug.rb +22 -0
  68. data/lib/efl/elm/elm_progressbar.rb +22 -0
  69. data/lib/efl/elm/elm_radio.rb +22 -0
  70. data/lib/efl/elm/elm_route.rb +22 -0
  71. data/lib/efl/elm/elm_scale.rb +28 -0
  72. data/lib/efl/elm/elm_scroll.rb +50 -0
  73. data/lib/efl/elm/elm_scroller.rb +22 -0
  74. data/lib/efl/elm/elm_segment_control.rb +39 -0
  75. data/lib/efl/elm/elm_separator.rb +22 -0
  76. data/lib/efl/elm/elm_slider.rb +22 -0
  77. data/lib/efl/elm/elm_slideshow.rb +41 -0
  78. data/lib/efl/elm/elm_spinner.rb +22 -0
  79. data/lib/efl/elm/elm_store.rb +43 -0
  80. data/lib/efl/elm/elm_table.rb +22 -0
  81. data/lib/efl/elm/elm_theme.rb +42 -0
  82. data/lib/efl/elm/elm_thumb.rb +22 -0
  83. data/lib/efl/elm/elm_toolbar.rb +63 -0
  84. data/lib/efl/elm/elm_tooltip.rb +20 -0
  85. data/lib/efl/elm/elm_transit.rb +78 -0
  86. data/lib/efl/elm/elm_video.rb +30 -0
  87. data/lib/efl/elm/elm_web.rb +22 -0
  88. data/lib/efl/elm/elm_win.rb +33 -0
  89. data/lib/efl/evas.rb +8 -7
  90. data/lib/efl/native.rb +45 -11
  91. data/lib/efl/native/ecore.rb +188 -210
  92. data/lib/efl/native/ecore_evas.rb +260 -207
  93. data/lib/efl/native/ecore_getopt.rb +17 -24
  94. data/lib/efl/native/ecore_input.rb +7 -11
  95. data/lib/efl/native/edje.rb +250 -202
  96. data/lib/efl/native/eet.rb +154 -155
  97. data/lib/efl/native/eina.rb +7 -13
  98. data/lib/efl/native/eina_hash.rb +41 -47
  99. data/lib/efl/native/eina_list.rb +39 -48
  100. data/lib/efl/native/eina_log.rb +21 -23
  101. data/lib/efl/native/eina_types.rb +8 -14
  102. data/lib/efl/native/eina_xattr.rb +21 -18
  103. data/lib/efl/native/elementary.rb +9 -3381
  104. data/lib/efl/native/elm/elm_actionslider.rb +54 -0
  105. data/lib/efl/native/elm/elm_anchorblock.rb +55 -0
  106. data/lib/efl/native/elm/elm_anchorview.rb +59 -0
  107. data/lib/efl/native/elm/elm_app.rb +53 -0
  108. data/lib/efl/native/elm/elm_bg.rb +53 -0
  109. data/lib/efl/native/elm/elm_box.rb +81 -0
  110. data/lib/efl/native/elm/elm_bubble.rb +44 -0
  111. data/lib/efl/native/elm/elm_button.rb +47 -0
  112. data/lib/efl/native/elm/elm_cache.rb +59 -0
  113. data/lib/efl/native/elm/elm_calendar.rb +76 -0
  114. data/lib/efl/native/elm/elm_check.rb +41 -0
  115. data/lib/efl/native/elm/elm_clock.rb +64 -0
  116. data/lib/efl/native/elm/elm_cnp.rb +54 -0
  117. data/lib/efl/native/elm/elm_colorselector.rb +39 -0
  118. data/lib/efl/native/elm/elm_config.rb +103 -0
  119. data/lib/efl/native/elm/elm_conform.rb +37 -0
  120. data/lib/efl/native/elm/elm_ctxpopup.rb +59 -0
  121. data/lib/efl/native/elm/elm_cursor.rb +51 -0
  122. data/lib/efl/native/elm/elm_debug.rb +37 -0
  123. data/lib/efl/native/elm/elm_diskselector.rb +76 -0
  124. data/lib/efl/native/elm/elm_engine.rb +41 -0
  125. data/lib/efl/native/elm/elm_entry.rb +242 -0
  126. data/lib/efl/native/elm/elm_factory.rb +41 -0
  127. data/lib/efl/native/elm/elm_fileselector.rb +67 -0
  128. data/lib/efl/native/elm/elm_fileselector_button.rb +63 -0
  129. data/lib/efl/native/elm/elm_fileselector_entry.rb +67 -0
  130. data/lib/efl/native/elm/elm_finger.rb +39 -0
  131. data/lib/efl/native/elm/elm_flip.rb +62 -0
  132. data/lib/efl/native/elm/elm_flipselector.rb +63 -0
  133. data/lib/efl/native/elm/elm_focus.rb +65 -0
  134. data/lib/efl/native/elm/elm_fonts.rb +66 -0
  135. data/lib/efl/native/elm/elm_frame.rb +45 -0
  136. data/lib/efl/native/elm/elm_general.rb +105 -0
  137. data/lib/efl/native/elm/elm_gengrid.rb +184 -0
  138. data/lib/efl/native/elm/elm_genlist.rb +240 -0
  139. data/lib/efl/native/elm/elm_gesture_layer.rb +76 -0
  140. data/lib/efl/native/elm/elm_glview.rb +70 -0
  141. data/lib/efl/native/elm/elm_grid.rb +51 -0
  142. data/lib/efl/native/elm/elm_hover.rb +51 -0
  143. data/lib/efl/native/elm/elm_hoversel.rb +60 -0
  144. data/lib/efl/native/elm/elm_icon.rb +97 -0
  145. data/lib/efl/native/elm/elm_image.rb +80 -0
  146. data/lib/efl/native/elm/elm_index.rb +63 -0
  147. data/lib/efl/native/elm/elm_label.rb +60 -0
  148. data/lib/efl/native/elm/elm_layout.rb +77 -0
  149. data/lib/efl/native/elm/elm_list.rb +105 -0
  150. data/lib/efl/native/elm/elm_map.rb +225 -0
  151. data/lib/efl/native/elm/elm_mapbuf.rb +47 -0
  152. data/lib/efl/native/elm/elm_menu.rb +77 -0
  153. data/lib/efl/native/elm/elm_mirroring.rb +45 -0
  154. data/lib/efl/native/elm/elm_multibuttonentry.rb +81 -0
  155. data/lib/efl/native/elm/elm_naviframe.rb +79 -0
  156. data/lib/efl/native/elm/elm_need.rb +41 -0
  157. data/lib/efl/native/elm/elm_notify.rb +57 -0
  158. data/lib/efl/native/elm/elm_object.rb +74 -0
  159. data/lib/efl/native/elm/elm_object_item.rb +93 -0
  160. data/lib/efl/native/elm/elm_panel.rb +55 -0
  161. data/lib/efl/native/elm/elm_panes.rb +51 -0
  162. data/lib/efl/native/elm/elm_password.rb +41 -0
  163. data/lib/efl/native/elm/elm_photo.rb +49 -0
  164. data/lib/efl/native/elm/elm_photocam.rb +74 -0
  165. data/lib/efl/native/elm/elm_plug.rb +39 -0
  166. data/lib/efl/native/elm/elm_progressbar.rb +61 -0
  167. data/lib/efl/native/elm/elm_radio.rb +49 -0
  168. data/lib/efl/native/elm/elm_route.rb +42 -0
  169. data/lib/efl/native/elm/elm_scale.rb +41 -0
  170. data/lib/efl/native/elm/elm_scroll.rb +49 -0
  171. data/lib/efl/native/elm/elm_scroller.rb +80 -0
  172. data/lib/efl/native/elm/elm_segment_control.rb +57 -0
  173. data/lib/efl/native/elm/elm_separator.rb +39 -0
  174. data/lib/efl/native/elm/elm_slider.rb +71 -0
  175. data/lib/efl/native/elm/elm_slideshow.rb +97 -0
  176. data/lib/efl/native/elm/elm_spinner.rb +73 -0
  177. data/lib/efl/native/elm/elm_store.rb +110 -0
  178. data/lib/efl/native/elm/elm_table.rb +53 -0
  179. data/lib/efl/native/elm/elm_theme.rb +81 -0
  180. data/lib/efl/native/elm/elm_thumb.rb +60 -0
  181. data/lib/efl/native/elm/elm_toolbar.rb +145 -0
  182. data/lib/efl/native/elm/elm_tooltip.rb +59 -0
  183. data/lib/efl/native/elm/elm_transit.rb +135 -0
  184. data/lib/efl/native/elm/elm_video.rb +71 -0
  185. data/lib/efl/native/elm/elm_web.rb +165 -0
  186. data/lib/efl/native/elm/elm_win.rb +221 -0
  187. data/lib/efl/native/emap.rb +28 -34
  188. data/lib/efl/native/evas.rb +640 -618
  189. data/spec/ecore_evas_spec.rb +28 -22
  190. data/spec/ecore_spec.rb +1 -0
  191. data/spec/edje_spec.rb +8 -1
  192. data/spec/eina_hash_spec.rb +0 -1
  193. data/spec/eina_list_spec.rb +0 -1
  194. data/spec/eina_log_spec.rb +10 -8
  195. data/spec/elm_spec.rb +4 -114
  196. data/spec/evas_spec.rb +13 -244
  197. data/spec/helper.rb +16 -15
  198. data/tasks/constants.rb +9 -9
  199. data/test/test_elm_win-native.rb +6 -4
  200. data/test/test_elm_win.rb +20 -19
  201. data/test/test_evas.rb +12 -12
  202. metadata +209 -64
  203. data/lib/efl/ffi.rb +0 -172
  204. data/test/test_elementary.rb +0 -271
  205. data/test/tests/test_actionslider.rb +0 -132
  206. data/test/tests/test_anchorbock.rb +0 -73
  207. data/test/tests/test_bg.rb +0 -151
  208. data/test/tests/test_box.rb +0 -147
  209. data/test/tests/test_buttons.rb +0 -114
data/spec/helper.rb CHANGED
@@ -1,18 +1,19 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/eina'
5
- require 'efl/evas'
6
- require 'efl/ecore'
4
+ require 'efl/eina_log'
5
+ Efl::Eina.init
6
+ Efl::EinaLog.level_set :eina_log_level_critical
7
7
  #
8
8
  def realize_evas
9
9
  width = 300
10
10
  height = 200
11
11
  @pixels = FFI::MemoryPointer.new :int, width*height
12
- @e = Efl::Evas::REvas.new
13
- @e.output_method_set Efl::Evas::render_method_lookup("buffer")
14
- @e.output_viewport_set 0, 0, width, height
15
- @e.output_size_set width, height
12
+ @e = Efl::Evas::REvas.new do
13
+ output_method_set Efl::Evas::render_method_lookup("buffer")
14
+ output_viewport_set 0, 0, width, height
15
+ output_size_set width, height
16
+ end
16
17
  einfo = Efl::Native::EngineInfoBufferStruct.new @e.engine_info
17
18
  einfo[:info][:depth_type] = Efl::Evas::EVAS_ENGINE_BUFFER_DEPTH_ARGB32
18
19
  einfo[:info][:dest_buffer] = @pixels
@@ -58,15 +59,15 @@ def char_check t, fct, delay=nil
58
59
  end
59
60
  #
60
61
  def realize_win
61
- @win = Elm::ElmWin.new(nil, 'TEST') do |w|
62
- w.title= 'spec win'
63
- w.move 100, 100
64
- w.resize 100, 100
62
+ @win = Elm::ElmWin.new(nil, 'TEST') do
63
+ title= 'spec win'
64
+ move 100, 100
65
+ resize 100, 100
65
66
  end
66
- @bg = Elm::ElmBg.new(@win) do |bg|
67
- bg.size_hint_weight_set 1.0, 1.0
68
- bg.evas_object_color_set 200,255,100,150
69
- bg.show
67
+ @bg = Elm::ElmBg.new(@win) do
68
+ size_hint_weight_set 1.0, 1.0
69
+ evas_object_color_set 200,255,100,150
70
+ show
70
71
  end
71
72
  @win.show
72
73
  end
data/tasks/constants.rb CHANGED
@@ -27,19 +27,19 @@ if USE_RAKE_COMPILER
27
27
  ENV['RUBY_CC_VERSION'] = '1.8.7:1.9.2'
28
28
  end
29
29
 
30
- LIBEXT = case Config::CONFIG['host_os'].downcase
30
+ LIBEXT = case RbConfig::CONFIG['host_os'].downcase
31
31
  when /darwin/
32
32
  "dylib"
33
33
  when /mswin|mingw/
34
34
  "dll"
35
35
  else
36
- Config::CONFIG['DLEXT']
36
+ RbConfig::CONFIG['DLEXT']
37
37
  end
38
38
 
39
- CPU = case Config::CONFIG['host_cpu'].downcase
39
+ CPU = case RbConfig::CONFIG['host_cpu'].downcase
40
40
  when /i[3456]86/
41
41
  # Darwin always reports i686, even when running in 64bit mode
42
- if Config::CONFIG['host_os'] =~ /darwin/ && 0xfee1deadbeef.is_a?(Fixnum)
42
+ if RbConfig::CONFIG['host_os'] =~ /darwin/ && 0xfee1deadbeef.is_a?(Fixnum)
43
43
  "x86_64"
44
44
  else
45
45
  "i386"
@@ -51,10 +51,10 @@ CPU = case Config::CONFIG['host_cpu'].downcase
51
51
  when /ppc|powerpc/
52
52
  "powerpc"
53
53
  else
54
- Config::CONFIG['host_cpu']
54
+ RbConfig::CONFIG['host_cpu']
55
55
  end
56
56
 
57
- OS = case Config::CONFIG['host_os'].downcase
57
+ OS = case RbConfig::CONFIG['host_os'].downcase
58
58
  when /linux/
59
59
  "linux"
60
60
  when /darwin/
@@ -68,12 +68,12 @@ OS = case Config::CONFIG['host_os'].downcase
68
68
  when /mswin|mingw/
69
69
  "win32"
70
70
  else
71
- Config::CONFIG['host_os'].downcase
71
+ RbConfig::CONFIG['host_os'].downcase
72
72
  end
73
73
 
74
- CC=ENV['CC'] || Config::CONFIG['CC'] || "gcc"
74
+ CC=ENV['CC'] || RbConfig::CONFIG['CC'] || "gcc"
75
75
 
76
- GMAKE = Config::CONFIG['host_os'].downcase =~ /bsd|solaris/ ? "gmake" : "make"
76
+ GMAKE = RbConfig::CONFIG['host_os'].downcase =~ /bsd|solaris/ ? "gmake" : "make"
77
77
 
78
78
 
79
79
  DIFF = if WIN32 then 'diff.exe'
@@ -1,12 +1,14 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/native' # requires efl/native/* which populates Efl::Native
5
- require 'efl/elementary' # for Efl::Elm.init convenience
4
+ require 'efl/native/elm/elm_win'
5
+ require 'efl/native/elm/elm_bg'
6
+ require 'efl/native/elm/elm_label'
7
+ require 'efl/native/elm/elm_object'
6
8
  #
7
9
  include Efl::Native
8
10
  #
9
- Efl::Elm.init
11
+ elm_init 0, FFI::MemoryPointer::NULL
10
12
  #
11
13
  win_del = Proc.new { |data,evas_object,event_info|
12
14
  elm_exit();
@@ -22,7 +24,7 @@ elm_win_resize_object_add win, bg
22
24
  evas_object_show bg
23
25
  #
24
26
  lb = elm_label_add win
25
- elm_object_text_part_set lb, nil, "Hello World"
27
+ elm_object_part_text_set lb, nil, "Hello World"
26
28
  evas_object_size_hint_weight_set lb, 1.0, 1.0
27
29
  elm_win_resize_object_add win, lb
28
30
  evas_object_show lb
data/test/test_elm_win.rb CHANGED
@@ -1,32 +1,33 @@
1
1
  #! /usr/bin/env ruby
2
2
  # -*- coding: UTF-8 -*-
3
3
  #
4
- require 'efl/elementary'
4
+ require 'efl/elm/elm_win'
5
+ require 'efl/elm/elm_bg'
6
+ require 'efl/elm/elm_label'
5
7
  #
6
8
  include Efl
7
9
  #
8
10
  class MyWin < Elm::ElmWin
9
11
  #
10
- def initialize name, title
11
- super FFI::MemoryPointer::NULL, name
12
- title = title
12
+ def initialize name, title, &block
13
+ super FFI::MemoryPointer::NULL, name, &block
14
+ title_set title
13
15
  feed
14
16
  smart_callback_add "delete,request", method(:on_delete), FFI::MemoryPointer.from_string("my data")
15
17
  end
16
18
  def feed
17
- @bg = Elm::ElmBg.new(self) do |bg|
18
- # bg.color = 200,255,100
19
- bg.size_hint_weight_expand
20
- bg.evas_object_color = 200,255,100,150
21
- bg.show
19
+ @bg = Elm::ElmBg.new(self) do
20
+ size_hint_weight_expand
21
+ evas_object_color_set 200,255,100,150
22
+ show
22
23
  end
23
24
  resize_object_add @bg
24
- @lb = Elm::ElmLabel.new(self) do |lb|
25
- lb.text = "Hello World!"
26
- lb.size_hint_align_fill
27
- lb.size_hint_weight_expand
25
+ @lb = Elm::ElmLabel.new(self) do
26
+ text_set "Hello World!"
27
+ size_hint_align_fill
28
+ size_hint_weight_expand
29
+ show
28
30
  end
29
- @lb.show
30
31
  resize_object_add @lb
31
32
  end
32
33
  def on_delete data, evas_object, event_info
@@ -37,11 +38,11 @@ end
37
38
  #
38
39
  Elm.init
39
40
  #
40
- win = MyWin.new "App name", "Window Title" do |w|
41
- w.alpha = true
42
- w.move 300, 300
43
- w.resize 200, 100
44
- w.show
41
+ win = MyWin.new "App name", "Window Title" do
42
+ alpha_set true
43
+ resize 200, 100
44
+ center_set 600, 300
45
+ show
45
46
  end
46
47
  #
47
48
  Elm.run
data/test/test_evas.rb CHANGED
@@ -59,19 +59,19 @@ h = 240
59
59
  #
60
60
  canvas, pixels = create_canvas w, h
61
61
  #
62
- bg = canvas.object_rectangle_add do |b|
63
- b.color = 255, 255, 255, 255
64
- b.move 0, 0
65
- b.resize w, h
62
+ bg = canvas.object_rectangle_add do
63
+ color_set 255, 255, 255, 255
64
+ move 0, 0
65
+ resize w, h
66
66
  end
67
67
  bg.show
68
68
  #
69
69
  draw_scene canvas
70
70
  #
71
- r1 = canvas.object_rectangle_add do |r|
72
- r.color = 255, 0, 0, 255
73
- r.move 10, 10
74
- r.resize 100, 100
71
+ r1 = canvas.object_rectangle_add do
72
+ color_set 0, 0, 0, 255
73
+ move 10, 10
74
+ resize 100, 100
75
75
  end
76
76
  r1.show
77
77
  #
@@ -82,10 +82,10 @@ r2 = canvas.object_rectangle_add do |r|
82
82
  end
83
83
  r2.show
84
84
  #
85
- r3 = canvas.object_rectangle_add do |r|
86
- r.color = 0, 128, 0, 255
87
- r.move 60, 60
88
- r.resize 50, 50
85
+ r3 = canvas.object_rectangle_add do
86
+ color_set 0, 128, 0, 255
87
+ move 60, 60
88
+ resize 50, 50
89
89
  end
90
90
  r3.show
91
91
  #
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ffi-efl
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2011-11-10 00:00:00.000000000 Z
12
+ date: 2012-02-29 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: ffi
16
- requirement: &23302860 !ruby/object:Gem::Requirement
16
+ requirement: &10943460 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: 1.0.2
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *23302860
24
+ version_requirements: *10943460
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: rake
27
- requirement: &23302280 !ruby/object:Gem::Requirement
27
+ requirement: &10937380 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ! '>='
@@ -32,18 +32,18 @@ dependencies:
32
32
  version: 0.8.7
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *23302280
35
+ version_requirements: *10937380
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: bones
38
- requirement: &23301600 !ruby/object:Gem::Requirement
38
+ requirement: &10958660 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
42
42
  - !ruby/object:Gem::Version
43
- version: 3.7.1
43
+ version: 3.7.3
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *23301600
46
+ version_requirements: *10958660
47
47
  description: A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).
48
48
  email: jeremy@asynk.ch
49
49
  executables: []
@@ -55,74 +55,225 @@ files:
55
55
  - MIT-LICENSE
56
56
  - README.rdoc
57
57
  - Rakefile
58
- - lib/efl/eina_hash.rb
59
- - lib/efl/eina.rb
60
- - lib/efl/evas.rb
61
- - lib/efl/eina_log.rb
58
+ - lib/efl.rb
62
59
  - lib/efl/ecore.rb
63
- - lib/efl/native.rb
60
+ - lib/efl/ecore_evas.rb
61
+ - lib/efl/ecore_getopt.rb
64
62
  - lib/efl/ecore_input.rb
63
+ - lib/efl/edje.rb
64
+ - lib/efl/eet.rb
65
+ - lib/efl/eina.rb
66
+ - lib/efl/eina_hash.rb
67
+ - lib/efl/eina_list.rb
68
+ - lib/efl/eina_log.rb
69
+ - lib/efl/eina_rectangle.rb
65
70
  - lib/efl/elementary.rb
66
- - lib/efl/native/eina_hash.rb
71
+ - lib/efl/elementary_all.rb
72
+ - lib/efl/elm/elm_actionslider.rb
73
+ - lib/efl/elm/elm_anchorblock.rb
74
+ - lib/efl/elm/elm_anchorview.rb
75
+ - lib/efl/elm/elm_bg.rb
76
+ - lib/efl/elm/elm_box.rb
77
+ - lib/efl/elm/elm_bubble.rb
78
+ - lib/efl/elm/elm_button.rb
79
+ - lib/efl/elm/elm_calendar.rb
80
+ - lib/efl/elm/elm_check.rb
81
+ - lib/efl/elm/elm_clock.rb
82
+ - lib/efl/elm/elm_cnp.rb
83
+ - lib/efl/elm/elm_colorselector.rb
84
+ - lib/efl/elm/elm_conform.rb
85
+ - lib/efl/elm/elm_ctxpopup.rb
86
+ - lib/efl/elm/elm_cursor.rb
87
+ - lib/efl/elm/elm_debug.rb
88
+ - lib/efl/elm/elm_diskselector.rb
89
+ - lib/efl/elm/elm_entry.rb
90
+ - lib/efl/elm/elm_factory.rb
91
+ - lib/efl/elm/elm_fileselector.rb
92
+ - lib/efl/elm/elm_fileselector_button.rb
93
+ - lib/efl/elm/elm_fileselector_entry.rb
94
+ - lib/efl/elm/elm_flip.rb
95
+ - lib/efl/elm/elm_flipselector.rb
96
+ - lib/efl/elm/elm_focus.rb
97
+ - lib/efl/elm/elm_frame.rb
98
+ - lib/efl/elm/elm_gengrid.rb
99
+ - lib/efl/elm/elm_genlist.rb
100
+ - lib/efl/elm/elm_gesture_layer.rb
101
+ - lib/efl/elm/elm_glview.rb
102
+ - lib/efl/elm/elm_grid.rb
103
+ - lib/efl/elm/elm_hover.rb
104
+ - lib/efl/elm/elm_hoversel.rb
105
+ - lib/efl/elm/elm_icon.rb
106
+ - lib/efl/elm/elm_image.rb
107
+ - lib/efl/elm/elm_index.rb
108
+ - lib/efl/elm/elm_label.rb
109
+ - lib/efl/elm/elm_layout.rb
110
+ - lib/efl/elm/elm_list.rb
111
+ - lib/efl/elm/elm_map.rb
112
+ - lib/efl/elm/elm_mapbuf.rb
113
+ - lib/efl/elm/elm_menu.rb
114
+ - lib/efl/elm/elm_mirroring.rb
115
+ - lib/efl/elm/elm_multibuttonentry.rb
116
+ - lib/efl/elm/elm_naviframe.rb
117
+ - lib/efl/elm/elm_notify.rb
118
+ - lib/efl/elm/elm_object.rb
119
+ - lib/efl/elm/elm_object_item.rb
120
+ - lib/efl/elm/elm_panel.rb
121
+ - lib/efl/elm/elm_panes.rb
122
+ - lib/efl/elm/elm_photo.rb
123
+ - lib/efl/elm/elm_photocam.rb
124
+ - lib/efl/elm/elm_plug.rb
125
+ - lib/efl/elm/elm_progressbar.rb
126
+ - lib/efl/elm/elm_radio.rb
127
+ - lib/efl/elm/elm_route.rb
128
+ - lib/efl/elm/elm_scale.rb
129
+ - lib/efl/elm/elm_scroll.rb
130
+ - lib/efl/elm/elm_scroller.rb
131
+ - lib/efl/elm/elm_segment_control.rb
132
+ - lib/efl/elm/elm_separator.rb
133
+ - lib/efl/elm/elm_slider.rb
134
+ - lib/efl/elm/elm_slideshow.rb
135
+ - lib/efl/elm/elm_spinner.rb
136
+ - lib/efl/elm/elm_store.rb
137
+ - lib/efl/elm/elm_table.rb
138
+ - lib/efl/elm/elm_theme.rb
139
+ - lib/efl/elm/elm_thumb.rb
140
+ - lib/efl/elm/elm_toolbar.rb
141
+ - lib/efl/elm/elm_tooltip.rb
142
+ - lib/efl/elm/elm_transit.rb
143
+ - lib/efl/elm/elm_video.rb
144
+ - lib/efl/elm/elm_web.rb
145
+ - lib/efl/elm/elm_win.rb
146
+ - lib/efl/evas.rb
147
+ - lib/efl/native.rb
148
+ - lib/efl/native/ecore.rb
149
+ - lib/efl/native/ecore_evas.rb
150
+ - lib/efl/native/ecore_getopt.rb
151
+ - lib/efl/native/ecore_input.rb
152
+ - lib/efl/native/edje.rb
153
+ - lib/efl/native/eet.rb
67
154
  - lib/efl/native/eina.rb
68
- - lib/efl/native/evas.rb
155
+ - lib/efl/native/eina_hash.rb
156
+ - lib/efl/native/eina_list.rb
69
157
  - lib/efl/native/eina_log.rb
70
- - lib/efl/native/ecore.rb
158
+ - lib/efl/native/eina_types.rb
71
159
  - lib/efl/native/eina_xattr.rb
72
- - lib/efl/native/ecore_input.rb
73
160
  - lib/efl/native/elementary.rb
74
- - lib/efl/native/ecore_getopt.rb
161
+ - lib/efl/native/elm/elm_actionslider.rb
162
+ - lib/efl/native/elm/elm_anchorblock.rb
163
+ - lib/efl/native/elm/elm_anchorview.rb
164
+ - lib/efl/native/elm/elm_app.rb
165
+ - lib/efl/native/elm/elm_bg.rb
166
+ - lib/efl/native/elm/elm_box.rb
167
+ - lib/efl/native/elm/elm_bubble.rb
168
+ - lib/efl/native/elm/elm_button.rb
169
+ - lib/efl/native/elm/elm_cache.rb
170
+ - lib/efl/native/elm/elm_calendar.rb
171
+ - lib/efl/native/elm/elm_check.rb
172
+ - lib/efl/native/elm/elm_clock.rb
173
+ - lib/efl/native/elm/elm_cnp.rb
174
+ - lib/efl/native/elm/elm_colorselector.rb
175
+ - lib/efl/native/elm/elm_config.rb
176
+ - lib/efl/native/elm/elm_conform.rb
177
+ - lib/efl/native/elm/elm_ctxpopup.rb
178
+ - lib/efl/native/elm/elm_cursor.rb
179
+ - lib/efl/native/elm/elm_debug.rb
180
+ - lib/efl/native/elm/elm_diskselector.rb
181
+ - lib/efl/native/elm/elm_engine.rb
182
+ - lib/efl/native/elm/elm_entry.rb
183
+ - lib/efl/native/elm/elm_factory.rb
184
+ - lib/efl/native/elm/elm_fileselector.rb
185
+ - lib/efl/native/elm/elm_fileselector_button.rb
186
+ - lib/efl/native/elm/elm_fileselector_entry.rb
187
+ - lib/efl/native/elm/elm_finger.rb
188
+ - lib/efl/native/elm/elm_flip.rb
189
+ - lib/efl/native/elm/elm_flipselector.rb
190
+ - lib/efl/native/elm/elm_focus.rb
191
+ - lib/efl/native/elm/elm_fonts.rb
192
+ - lib/efl/native/elm/elm_frame.rb
193
+ - lib/efl/native/elm/elm_general.rb
194
+ - lib/efl/native/elm/elm_gengrid.rb
195
+ - lib/efl/native/elm/elm_genlist.rb
196
+ - lib/efl/native/elm/elm_gesture_layer.rb
197
+ - lib/efl/native/elm/elm_glview.rb
198
+ - lib/efl/native/elm/elm_grid.rb
199
+ - lib/efl/native/elm/elm_hover.rb
200
+ - lib/efl/native/elm/elm_hoversel.rb
201
+ - lib/efl/native/elm/elm_icon.rb
202
+ - lib/efl/native/elm/elm_image.rb
203
+ - lib/efl/native/elm/elm_index.rb
204
+ - lib/efl/native/elm/elm_label.rb
205
+ - lib/efl/native/elm/elm_layout.rb
206
+ - lib/efl/native/elm/elm_list.rb
207
+ - lib/efl/native/elm/elm_map.rb
208
+ - lib/efl/native/elm/elm_mapbuf.rb
209
+ - lib/efl/native/elm/elm_menu.rb
210
+ - lib/efl/native/elm/elm_mirroring.rb
211
+ - lib/efl/native/elm/elm_multibuttonentry.rb
212
+ - lib/efl/native/elm/elm_naviframe.rb
213
+ - lib/efl/native/elm/elm_need.rb
214
+ - lib/efl/native/elm/elm_notify.rb
215
+ - lib/efl/native/elm/elm_object.rb
216
+ - lib/efl/native/elm/elm_object_item.rb
217
+ - lib/efl/native/elm/elm_panel.rb
218
+ - lib/efl/native/elm/elm_panes.rb
219
+ - lib/efl/native/elm/elm_password.rb
220
+ - lib/efl/native/elm/elm_photo.rb
221
+ - lib/efl/native/elm/elm_photocam.rb
222
+ - lib/efl/native/elm/elm_plug.rb
223
+ - lib/efl/native/elm/elm_progressbar.rb
224
+ - lib/efl/native/elm/elm_radio.rb
225
+ - lib/efl/native/elm/elm_route.rb
226
+ - lib/efl/native/elm/elm_scale.rb
227
+ - lib/efl/native/elm/elm_scroll.rb
228
+ - lib/efl/native/elm/elm_scroller.rb
229
+ - lib/efl/native/elm/elm_segment_control.rb
230
+ - lib/efl/native/elm/elm_separator.rb
231
+ - lib/efl/native/elm/elm_slider.rb
232
+ - lib/efl/native/elm/elm_slideshow.rb
233
+ - lib/efl/native/elm/elm_spinner.rb
234
+ - lib/efl/native/elm/elm_store.rb
235
+ - lib/efl/native/elm/elm_table.rb
236
+ - lib/efl/native/elm/elm_theme.rb
237
+ - lib/efl/native/elm/elm_thumb.rb
238
+ - lib/efl/native/elm/elm_toolbar.rb
239
+ - lib/efl/native/elm/elm_tooltip.rb
240
+ - lib/efl/native/elm/elm_transit.rb
241
+ - lib/efl/native/elm/elm_video.rb
242
+ - lib/efl/native/elm/elm_web.rb
243
+ - lib/efl/native/elm/elm_win.rb
75
244
  - lib/efl/native/emap.rb
76
- - lib/efl/native/eina_list.rb
77
- - lib/efl/native/eet.rb
78
- - lib/efl/native/edje.rb
79
- - lib/efl/native/eina_types.rb
80
- - lib/efl/native/ecore_evas.rb
81
- - lib/efl/ffi.rb
82
- - lib/efl/ecore_getopt.rb
83
- - lib/efl/eina_rectangle.rb
84
- - lib/efl/eina_list.rb
85
- - lib/efl/eet.rb
86
- - lib/efl/edje.rb
87
- - lib/efl/ecore_evas.rb
88
- - lib/efl.rb
89
- - spec/helper.rb
90
- - spec/elm_spec.rb
91
- - spec/eina_spec.rb
245
+ - lib/efl/native/evas.rb
92
246
  - spec/ecore_evas_spec.rb
247
+ - spec/ecore_getopt_spec.rb
93
248
  - spec/ecore_input_spec.rb
94
249
  - spec/ecore_spec.rb
250
+ - spec/edje_spec.rb
95
251
  - spec/eet_spec.rb
252
+ - spec/eina_hash_spec.rb
96
253
  - spec/eina_list_spec.rb
97
- - spec/evas_spec.rb
98
- - spec/edje_spec.rb
99
- - spec/ecore_getopt_spec.rb
100
254
  - spec/eina_log_spec.rb
101
- - spec/eina_hash_spec.rb
102
- - tasks/spec.rake
103
- - tasks/helpers.rb
104
- - tasks/git.rake
105
- - tasks/ffi.rake
106
- - tasks/test.rake
255
+ - spec/eina_spec.rb
256
+ - spec/elm_spec.rb
257
+ - spec/evas_spec.rb
258
+ - spec/helper.rb
259
+ - tasks/ann.rake
107
260
  - tasks/constants.rb
108
- - tasks/svn.rake
261
+ - tasks/ffi.rake
262
+ - tasks/gem.rake
263
+ - tasks/git.rake
264
+ - tasks/helpers.rb
265
+ - tasks/notes.rake
109
266
  - tasks/post_load.rake
267
+ - tasks/rdoc.rake
110
268
  - tasks/rubyforge.rake
111
- - tasks/notes.rake
112
269
  - tasks/setup.rb
113
- - tasks/gem.rake
114
- - tasks/ann.rake
115
- - tasks/rdoc.rake
116
- - test/test_elementary.rb
117
- - test/test_elm_win.rb
118
- - test/test_evas.rb
119
- - test/tests/test_anchorbock.rb
120
- - test/tests/test_actionslider.rb
121
- - test/tests/test_box.rb
122
- - test/tests/test_bg.rb
123
- - test/tests/test_buttons.rb
270
+ - tasks/spec.rake
271
+ - tasks/svn.rake
272
+ - tasks/test.rake
124
273
  - test/test_edje.rb
125
274
  - test/test_elm_win-native.rb
275
+ - test/test_elm_win.rb
276
+ - test/test_evas.rb
126
277
  homepage: https://github.com/jeremyz/ffi-efl
127
278
  licenses: []
128
279
  post_install_message:
@@ -147,18 +298,12 @@ required_rubygems_version: !ruby/object:Gem::Requirement
147
298
  version: '0'
148
299
  requirements: []
149
300
  rubyforge_project: ffi-efl
150
- rubygems_version: 1.8.8
301
+ rubygems_version: 1.8.11
151
302
  signing_key:
152
303
  specification_version: 3
153
304
  summary: A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries)
154
305
  test_files:
155
- - test/test_elementary.rb
156
306
  - test/test_elm_win.rb
157
307
  - test/test_evas.rb
158
- - test/tests/test_anchorbock.rb
159
- - test/tests/test_actionslider.rb
160
- - test/tests/test_box.rb
161
- - test/tests/test_bg.rb
162
- - test/tests/test_buttons.rb
163
308
  - test/test_edje.rb
164
309
  - test/test_elm_win-native.rb