ffi-efl 0.0.15 → 0.0.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Changelog +8 -1
- data/README.md +9 -7
- data/Rakefile +6 -1
- data/lib/efl.rb +1 -1
- data/lib/efl/native/efreet.rb +46 -0
- data/lib/efl/native/efreet_base.rb +51 -0
- data/lib/efl/native/efreet_desktop.rb +112 -0
- data/lib/efl/native/efreet_icon.rb +77 -0
- data/lib/efl/native/efreet_ini.rb +68 -0
- data/lib/efl/native/efreet_menu.rb +61 -0
- data/lib/efl/native/efreet_mime.rb +52 -0
- data/lib/efl/native/efreet_trash.rb +48 -0
- data/lib/efl/native/efreet_uri.rb +42 -0
- data/lib/efl/native/efreet_utils.rb +61 -0
- data/lib/efl/native/eina_file.rb +91 -0
- data/lib/efl/native/eio.rb +221 -0
- data/lib/efl/native/embryo.rb +129 -0
- data/tools/extract-api.sh +14 -1
- data/tools/genruby.rb +44 -81
- metadata +22 -24
@@ -0,0 +1,129 @@
|
|
1
|
+
#! /usr/bin/env ruby
|
2
|
+
# -*- coding: UTF-8 -*-
|
3
|
+
#
|
4
|
+
require 'efl/native'
|
5
|
+
#
|
6
|
+
module Efl
|
7
|
+
#
|
8
|
+
module Embryo
|
9
|
+
#
|
10
|
+
FCT_PREFIX = 'embryo_' unless const_defined? :FCT_PREFIX
|
11
|
+
#
|
12
|
+
def self.method_missing meth, *args, &block
|
13
|
+
sym = Efl::MethodResolver.resolve self, meth, FCT_PREFIX
|
14
|
+
self.send sym, *args, &block
|
15
|
+
end
|
16
|
+
#
|
17
|
+
end
|
18
|
+
#
|
19
|
+
module Native
|
20
|
+
#
|
21
|
+
ffi_lib 'embryo'
|
22
|
+
#
|
23
|
+
# ENUMS
|
24
|
+
# typedef enum _Embryo_Error {...} Embryo_Error;
|
25
|
+
enum :embryo_error, [ :embryo_error_none, 0, :embryo_error_exit, 1, :embryo_error_assert, 2, :embryo_error_stackerr, 3, :embryo_error_bounds,
|
26
|
+
4, :embryo_error_memaccess, 5, :embryo_error_invinstr, 6, :embryo_error_stacklow, 7, :embryo_error_heaplow, 8, :embryo_error_callback, 9,
|
27
|
+
:embryo_error_native, 10, :embryo_error_divide, 11, :embryo_error_sleep, 12, :embryo_error_memory, 16, :embryo_error_format, 17,
|
28
|
+
:embryo_error_version, 18, :embryo_error_notfound, 19, :embryo_error_index, 20, :embryo_error_debug, 21, :embryo_error_init, 22,
|
29
|
+
:embryo_error_userdata, 23, :embryo_error_init_jit, 24, :embryo_error_params, 25, :embryo_error_domain, 26 ]
|
30
|
+
# typedef enum _Embryo_Status {...} Embryo_Status;
|
31
|
+
enum :embryo_status, [ :embryo_program_fail, 0, :embryo_program_ok, 1, :embryo_program_sleep, 2, :embryo_program_busy, 3,
|
32
|
+
:embryo_program_toolong, 4 ]
|
33
|
+
#
|
34
|
+
# TYPEDEFS
|
35
|
+
# typedef struct _Embryo_Version Embryo_Version;
|
36
|
+
typedef :pointer, :embryo_version
|
37
|
+
# typedef unsigned int Embryo_UCell;
|
38
|
+
typedef :uint, :embryo_ucell
|
39
|
+
# typedef int Embryo_Cell;
|
40
|
+
typedef :int, :embryo_cell
|
41
|
+
# typedef struct _Embryo_Program Embryo_Program;
|
42
|
+
typedef :pointer, :embryo_program
|
43
|
+
# typedef int Embryo_Function;
|
44
|
+
typedef :int, :embryo_function
|
45
|
+
#
|
46
|
+
# VARIABLES
|
47
|
+
# EAPI extern Embryo_Version *embryo_version;
|
48
|
+
attach_variable :embryo_version, :embryo_version
|
49
|
+
#
|
50
|
+
# FUNCTIONS
|
51
|
+
fcts = [
|
52
|
+
# EAPI int embryo_init(void);
|
53
|
+
[ :embryo_init, [ ], :int ],
|
54
|
+
# EAPI int embryo_shutdown(void);
|
55
|
+
[ :embryo_shutdown, [ ], :int ],
|
56
|
+
# EAPI Embryo_Program *embryo_program_new(void *data, int size);
|
57
|
+
[ :embryo_program_new, [ :pointer, :int ], :embryo_program ],
|
58
|
+
# EAPI Embryo_Program *embryo_program_const_new(void *data, int size);
|
59
|
+
[ :embryo_program_const_new, [ :pointer, :int ], :embryo_program ],
|
60
|
+
# EAPI Embryo_Program *embryo_program_load(const char *file);
|
61
|
+
[ :embryo_program_load, [ :string ], :embryo_program ],
|
62
|
+
# EAPI void embryo_program_free(Embryo_Program *ep);
|
63
|
+
[ :embryo_program_free, [ :embryo_program ], :void ],
|
64
|
+
# EAPI void embryo_program_native_call_add(Embryo_Program *ep, const char *name, Embryo_Cell (*func) (Embryo_Program *ep, Embryo_Cell *params));
|
65
|
+
[ :embryo_program_native_call_add, [ :embryo_program, :string,(callback [:embryo_program,:embryo_cell], :embryo_cell)], :void ],
|
66
|
+
# EAPI void embryo_program_vm_reset(Embryo_Program *ep);
|
67
|
+
[ :embryo_program_vm_reset, [ :embryo_program ], :void ],
|
68
|
+
# EAPI void embryo_program_vm_push(Embryo_Program *ep);
|
69
|
+
[ :embryo_program_vm_push, [ :embryo_program ], :void ],
|
70
|
+
# EAPI void embryo_program_vm_pop(Embryo_Program *ep);
|
71
|
+
[ :embryo_program_vm_pop, [ :embryo_program ], :void ],
|
72
|
+
# EAPI void embryo_swap_16(unsigned short *v);
|
73
|
+
[ :embryo_swap_16, [ :pointer ], :void ],
|
74
|
+
# EAPI void embryo_swap_32(unsigned int *v);
|
75
|
+
[ :embryo_swap_32, [ :pointer ], :void ],
|
76
|
+
# EAPI Embryo_Function embryo_program_function_find(Embryo_Program *ep, const char *name);
|
77
|
+
[ :embryo_program_function_find, [ :embryo_program, :string ], :int ],
|
78
|
+
# EAPI Embryo_Cell embryo_program_variable_find(Embryo_Program *ep, const char *name);
|
79
|
+
[ :embryo_program_variable_find, [ :embryo_program, :string ], :int ],
|
80
|
+
# EAPI int embryo_program_variable_count_get(Embryo_Program *ep);
|
81
|
+
[ :embryo_program_variable_count_get, [ :embryo_program ], :int ],
|
82
|
+
# EAPI Embryo_Cell embryo_program_variable_get(Embryo_Program *ep, int num);
|
83
|
+
[ :embryo_program_variable_get, [ :embryo_program, :int ], :int ],
|
84
|
+
# EAPI void embryo_program_error_set(Embryo_Program *ep, Embryo_Error error);
|
85
|
+
[ :embryo_program_error_set, [ :embryo_program, :embryo_error ], :void ],
|
86
|
+
# EAPI Embryo_Error embryo_program_error_get(Embryo_Program *ep);
|
87
|
+
[ :embryo_program_error_get, [ :embryo_program ], :embryo_error ],
|
88
|
+
# EAPI void embryo_program_data_set(Embryo_Program *ep, void *data);
|
89
|
+
[ :embryo_program_data_set, [ :embryo_program, :pointer ], :void ],
|
90
|
+
# EAPI void *embryo_program_data_get(Embryo_Program *ep);
|
91
|
+
[ :embryo_program_data_get, [ :embryo_program ], :pointer ],
|
92
|
+
# EAPI const char *embryo_error_string_get(Embryo_Error error);
|
93
|
+
[ :embryo_error_string_get, [ :embryo_error ], :string ],
|
94
|
+
# EAPI int embryo_data_string_length_get(Embryo_Program *ep, Embryo_Cell *str_cell);
|
95
|
+
[ :embryo_data_string_length_get, [ :embryo_program, :pointer ], :int ],
|
96
|
+
# EAPI void embryo_data_string_get(Embryo_Program *ep, Embryo_Cell *str_cell, char *dst);
|
97
|
+
[ :embryo_data_string_get, [ :embryo_program, :pointer, :string ], :void ],
|
98
|
+
# EAPI void embryo_data_string_set(Embryo_Program *ep, const char *src, Embryo_Cell *str_cell);
|
99
|
+
[ :embryo_data_string_set, [ :embryo_program, :string, :pointer ], :void ],
|
100
|
+
# EAPI Embryo_Cell *embryo_data_address_get(Embryo_Program *ep, Embryo_Cell addr);
|
101
|
+
[ :embryo_data_address_get, [ :embryo_program, :int ], :pointer ],
|
102
|
+
# EAPI Embryo_Cell embryo_data_heap_push(Embryo_Program *ep, int cells);
|
103
|
+
[ :embryo_data_heap_push, [ :embryo_program, :int ], :int ],
|
104
|
+
# EAPI void embryo_data_heap_pop(Embryo_Program *ep, Embryo_Cell down_to);
|
105
|
+
[ :embryo_data_heap_pop, [ :embryo_program, :int ], :void ],
|
106
|
+
# EAPI int embryo_program_recursion_get(Embryo_Program *ep);
|
107
|
+
[ :embryo_program_recursion_get, [ :embryo_program ], :int ],
|
108
|
+
# EAPI Embryo_Status embryo_program_run(Embryo_Program *ep, Embryo_Function func);
|
109
|
+
[ :embryo_program_run, [ :embryo_program, :int ], :embryo_status ],
|
110
|
+
# EAPI Embryo_Cell embryo_program_return_value_get(Embryo_Program *ep);
|
111
|
+
[ :embryo_program_return_value_get, [ :embryo_program ], :int ],
|
112
|
+
# EAPI void embryo_program_max_cycle_run_set(Embryo_Program *ep, int max);
|
113
|
+
[ :embryo_program_max_cycle_run_set, [ :embryo_program, :int ], :void ],
|
114
|
+
# EAPI int embryo_program_max_cycle_run_get(Embryo_Program *ep);
|
115
|
+
[ :embryo_program_max_cycle_run_get, [ :embryo_program ], :int ],
|
116
|
+
# EAPI int embryo_parameter_cell_push(Embryo_Program *ep, Embryo_Cell cell);
|
117
|
+
[ :embryo_parameter_cell_push, [ :embryo_program, :int ], :int ],
|
118
|
+
# EAPI int embryo_parameter_string_push(Embryo_Program *ep, const char *str);
|
119
|
+
[ :embryo_parameter_string_push, [ :embryo_program, :string ], :int ],
|
120
|
+
# EAPI int embryo_parameter_cell_array_push(Embryo_Program *ep, Embryo_Cell *cells, int num);
|
121
|
+
[ :embryo_parameter_cell_array_push, [ :embryo_program, :pointer, :int ], :int ],
|
122
|
+
]
|
123
|
+
#
|
124
|
+
attach_fcts fcts
|
125
|
+
#
|
126
|
+
end
|
127
|
+
end
|
128
|
+
#
|
129
|
+
# EOF
|
data/tools/extract-api.sh
CHANGED
@@ -32,8 +32,8 @@ for header in \
|
|
32
32
|
"${INCLUDE}/eina-1/eina/eina_log.h" \
|
33
33
|
"${INCLUDE}/eina-1/eina/eina_list.h" \
|
34
34
|
"${INCLUDE}/eina-1/eina/eina_hash.h" \
|
35
|
+
"${INCLUDE}/eina-1/eina/eina_file.h" \
|
35
36
|
"${INCLUDE}/eet-1/Eet.h" \
|
36
|
-
"${INCLUDE}/edje-1/Edje.h" \
|
37
37
|
"${INCLUDE}/evas-1/Evas.h" \
|
38
38
|
"${INCLUDE}/evas-1/Evas_GL.h" \
|
39
39
|
"${INCLUDE}/ecore-1/Ecore.h" \
|
@@ -43,6 +43,19 @@ for header in \
|
|
43
43
|
"${INCLUDE}/ecore-1/Ecore_Evas.h" \
|
44
44
|
"${INCLUDE}/ecore-1/Ecore_Fb.h" \
|
45
45
|
"${INCLUDE}/ecore-1/Ecore_File.h" \
|
46
|
+
"${INCLUDE}/eio-1/Eio.h" \
|
47
|
+
"${INCLUDE}/embryo-1/Embryo.h" \
|
48
|
+
"${INCLUDE}/edje-1/Edje.h" \
|
49
|
+
"${INCLUDE}/efreet-1/Efreet.h" \
|
50
|
+
"${INCLUDE}/efreet-1/efreet_base.h" \
|
51
|
+
"${INCLUDE}/efreet-1/efreet_icon.h" \
|
52
|
+
"${INCLUDE}/efreet-1/efreet_desktop.h" \
|
53
|
+
"${INCLUDE}/efreet-1/efreet_menu.h" \
|
54
|
+
"${INCLUDE}/efreet-1/efreet_uri.h" \
|
55
|
+
"${INCLUDE}/efreet-1/efreet_ini.h" \
|
56
|
+
"${INCLUDE}/efreet-1/efreet_utils.h" \
|
57
|
+
"${INCLUDE}/efreet-1/Efreet_Mime.h" \
|
58
|
+
"${INCLUDE}/efreet-1/Efreet_Trash.h" \
|
46
59
|
"${INCLUDE}/ethumb-1/Ethumb.h" \
|
47
60
|
"${INCLUDE}/ethumb-1/Ethumb_Client.h" \
|
48
61
|
"${INCLUDE}/ethumb-1/Ethumb_Plugin.h" \
|
data/tools/genruby.rb
CHANGED
@@ -232,6 +232,7 @@ TYPES = {
|
|
232
232
|
'long' => ':long',
|
233
233
|
'short' => ':short',
|
234
234
|
'float' => ':float',
|
235
|
+
'mode_t' => ':int',
|
235
236
|
'pid_t' => ':ulong',
|
236
237
|
'time_t' => ':ulong',
|
237
238
|
'size_t' => ':ulong',
|
@@ -243,6 +244,7 @@ TYPES = {
|
|
243
244
|
'unsigned int' => ':uint',
|
244
245
|
'unsigned char' => ':uchar',
|
245
246
|
'unsigned short' => ':ushort',
|
247
|
+
'unsigned long int' => ':ulong',
|
246
248
|
'unsigned long long' => ':ulong_long',
|
247
249
|
'char *' => ':string', # FIXME ?!?!
|
248
250
|
'fd_set *' => ':pointer',
|
@@ -262,87 +264,48 @@ EVAS_LAYER_MAX=32767
|
|
262
264
|
path = File.dirname __FILE__
|
263
265
|
lib_path = File.join path, '..', 'lib', 'efl', 'native'
|
264
266
|
#
|
267
|
+
def efl_h lib, header, modname, prefix=nil, outf=nil, reqs=nil, csts=nil
|
268
|
+
{
|
269
|
+
:lib=>lib,
|
270
|
+
:header=>header,
|
271
|
+
:modname=>modname,
|
272
|
+
:prefix=>prefix||header.downcase.sub(/\.h/,''),
|
273
|
+
:outfile=>outf||header.downcase.sub(/\.h/,'.rb'),
|
274
|
+
:requires=> reqs||[],
|
275
|
+
:constants=>csts||[]
|
276
|
+
}
|
277
|
+
end
|
278
|
+
#
|
265
279
|
libs = []
|
266
|
-
libs <<
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
libs <<
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
libs << {
|
277
|
-
|
278
|
-
|
279
|
-
|
280
|
-
|
281
|
-
libs << {
|
282
|
-
|
283
|
-
|
284
|
-
|
285
|
-
}
|
286
|
-
libs << {
|
287
|
-
|
288
|
-
|
289
|
-
|
290
|
-
|
291
|
-
libs << {
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
}
|
296
|
-
libs << {
|
297
|
-
:lib=>'eet', :header=>'Eet.h',
|
298
|
-
:modname=>'Eet', :prefix=>'eet', :outfile=>'eet.rb',
|
299
|
-
:requires=>["#{NATIVE}/eina_xattr","#{NATIVE}/eina_list"], :constants=>[]
|
300
|
-
}
|
301
|
-
libs << {
|
302
|
-
:lib=>'evas', :header=>'Evas.h',
|
303
|
-
:modname=>'Evas', :prefix=>'evas', :outfile=>'evas.rb',
|
304
|
-
:requires=>["#{NATIVE}/eina_list"], :constants=>['EVAS_LAYER_MIN','EVAS_LAYER_MAX']
|
305
|
-
}
|
306
|
-
libs << {
|
307
|
-
:lib=>'edje', :header=>'Edje.h',
|
308
|
-
:modname=>'Edje', :prefix=>'edje', :outfile=>'edje.rb',
|
309
|
-
:requires=>["#{NATIVE}/evas"], :constants=>[]
|
310
|
-
}
|
311
|
-
libs << {
|
312
|
-
:lib=>'ecore', :header=>'Ecore.h',
|
313
|
-
:modname=>'Ecore', :prefix=>'ecore', :outfile=>'ecore.rb',
|
314
|
-
:requires=>[], :constants=>[]
|
315
|
-
}
|
316
|
-
libs << {
|
317
|
-
:lib=>'ecore_input', :header=>'Ecore_Input.h',
|
318
|
-
:modname=>'EcoreInput', :prefix=>'ecore_event', :outfile=>'ecore_input.rb',
|
319
|
-
:requires=>["#{NATIVE}/eina_list"], :constants=>[]
|
320
|
-
}
|
321
|
-
libs << {
|
322
|
-
:lib=>'ecore', :header=>'Ecore_Getopt.h',
|
323
|
-
:modname=>'EcoreGetopt', :prefix=>'ecore_getopt', :outfile=>'ecore_getopt.rb',
|
324
|
-
:requires=>["#{NATIVE}/eina_list"], :constants=>[]
|
325
|
-
}
|
326
|
-
libs << {
|
327
|
-
:lib=>'ecore_evas', :header=>'Ecore_Evas.h',
|
328
|
-
:modname=>'EcoreEvas', :prefix=>'ecore_evas', :outfile=>'ecore_evas.rb',
|
329
|
-
:requires=>["#{NATIVE}/ecore_getopt","#{NATIVE}/evas"], :constants=>[]
|
330
|
-
}
|
331
|
-
libs << {
|
332
|
-
:lib=>'ethumb', :header=>'Ethumb.h',
|
333
|
-
:modname=>'Ethumb', :prefix=>'ethumb', :outfile=>'ethumb.rb',
|
334
|
-
:requires=>[], :constants=>[]
|
335
|
-
}
|
336
|
-
libs << {
|
337
|
-
:lib=>'ethumb_client', :header=>'Ethumb_Client.h',
|
338
|
-
:modname=>'EthumbClient', :prefix=>'ethumb_client', :outfile=>'ethumb_client.rb',
|
339
|
-
:requires=>["#{NATIVE}/ethumb"], :constants=>[]
|
340
|
-
}
|
341
|
-
libs << {
|
342
|
-
:lib=>'ethumb', :header=>'Ethumb_Plugin.h',
|
343
|
-
:modname=>'EthumbPlugin', :prefix=>'ethumb_plugin', :outfile=>'ethumb_plugin.rb',
|
344
|
-
:requires=>["#{NATIVE}/evas","#{NATIVE}/ecore_evas","#{NATIVE}/ethumb"], :constants=>[]
|
345
|
-
}
|
280
|
+
libs << efl_h('eina','eina_types.h','Eina','eina')
|
281
|
+
libs << efl_h('eina','eina_main.h','Eina','eina','eina.rb')
|
282
|
+
libs << efl_h('eina','eina_xattr.h','EinaXattr')
|
283
|
+
libs << efl_h('eina','eina_log.h','EinaLog')
|
284
|
+
libs << efl_h('eina','eina_list.h','EinaList')
|
285
|
+
libs << efl_h('eina','eina_hash.h','EinaHash')
|
286
|
+
libs << efl_h('eina','eina_file.h','EinaFile')
|
287
|
+
libs << efl_h('eet','Eet.h','Eet',nil,nil,["#{NATIVE}/eina_xattr","#{NATIVE}/eina_list"])
|
288
|
+
libs << efl_h('evas','Evas.h','Evas',nil,nil,["#{NATIVE}/eina_list"],['EVAS_LAYER_MIN','EVAS_LAYER_MAX'])
|
289
|
+
libs << efl_h('ecore','Ecore.h','Ecore')
|
290
|
+
libs << efl_h('ecore_input','Ecore_Input.h','EcoreInput','ecore_event',nil,["#{NATIVE}/eina_list"])
|
291
|
+
libs << efl_h('ecore','Ecore_Getopt.h','EcoreGetopt',nil,nil,["#{NATIVE}/eina_list"])
|
292
|
+
libs << efl_h('ecore_evas','Ecore_Evas.h','EcoreEvas',nil,nil,["#{NATIVE}/ecore_getopt","#{NATIVE}/evas"])
|
293
|
+
libs << efl_h('eio','Eio.h','Eio',nil,nil,["#{NATIVE}/eina_file","#{NATIVE}/eet"])
|
294
|
+
libs << efl_h('embryo','Embryo.h','Embryo')
|
295
|
+
libs << efl_h('edje','Edje.h','Edje',nil,nil,["#{NATIVE}/evas"])
|
296
|
+
libs << efl_h('efreet','Efreet.h','Efreet')
|
297
|
+
libs << efl_h('efreet','efreet_base.h','EfreetBase',nil,nil,["#{NATIVE}/eina_list"])
|
298
|
+
libs << efl_h('efreet','efreet_icon.h','EfreetIcon','efreet_icon',nil,["#{NATIVE}/eina_list"])
|
299
|
+
libs << efl_h('efreet','efreet_desktop.h','EfreetDesktop','efreet_desktop',nil,["#{NATIVE}/eina_list"])
|
300
|
+
libs << efl_h('efreet','efreet_menu.h','EfreetMenu','efreet_menu',nil,["#{NATIVE}/efreet_desktop"])
|
301
|
+
libs << efl_h('efreet','efreet_uri.h','EfreetUri','efreet_uri')
|
302
|
+
libs << efl_h('efreet','efreet_ini.h','EfreetIni','efreet_ini')
|
303
|
+
libs << efl_h('efreet','efreet_utils.h','EfreetUtils','efreet_utils',nil,["#{NATIVE}/efreet_desktop"])
|
304
|
+
libs << efl_h('efreet_mime','Efreet_Mime.h','EfreetMime')
|
305
|
+
libs << efl_h('efreet_trash','Efreet_Trash.h','EfreetTrash',nil,nil,["#{NATIVE}/eina_list","#{NATIVE}/efreet_uri"])
|
306
|
+
libs << efl_h('ethumb','Ethumb.h','Ethumb')
|
307
|
+
libs << efl_h('ethumb_client','Ethumb_Client.h','EthumbClient',nil,nil,["#{NATIVE}/ethumb"])
|
308
|
+
libs << efl_h('ethumb','Ethumb_Plugin.h','EthumbPlugin',nil,nil,["#{NATIVE}/evas","#{NATIVE}/ecore_evas","#{NATIVE}/ethumb"])
|
346
309
|
#
|
347
310
|
ELM_LIB='elementary'
|
348
311
|
#
|
@@ -468,8 +431,8 @@ libs.each do |lib|
|
|
468
431
|
printf "\033[1;33mdone\033[0;0m\n"
|
469
432
|
end
|
470
433
|
libs.each do |lib|
|
471
|
-
printf "\033[1;33mgenerate\033[0;0m %-50s\033[0;0m",lib[:outpath]
|
472
434
|
outpath = File.join lib_path, lib[:outfile]
|
435
|
+
printf "\033[1;33mgenerate\033[0;0m %-50s\033[0;0m",outpath
|
473
436
|
outdir = File.dirname outpath
|
474
437
|
Dir.mkdir outdir unless File.exists? outdir
|
475
438
|
File.open(File.join(outpath),'w:utf-8') do |f|
|
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.
|
4
|
+
version: 0.0.16
|
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: 2012-
|
12
|
+
date: 2012-12-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ffi
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirement: &17504240 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,15 +21,10 @@ dependencies:
|
|
21
21
|
version: '0'
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements:
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ! '>='
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '0'
|
24
|
+
version_requirements: *17504240
|
30
25
|
- !ruby/object:Gem::Dependency
|
31
26
|
name: rspec
|
32
|
-
requirement: !ruby/object:Gem::Requirement
|
27
|
+
requirement: &17503400 !ruby/object:Gem::Requirement
|
33
28
|
none: false
|
34
29
|
requirements:
|
35
30
|
- - ~>
|
@@ -37,15 +32,10 @@ dependencies:
|
|
37
32
|
version: '2.6'
|
38
33
|
type: :development
|
39
34
|
prerelease: false
|
40
|
-
version_requirements:
|
41
|
-
none: false
|
42
|
-
requirements:
|
43
|
-
- - ~>
|
44
|
-
- !ruby/object:Gem::Version
|
45
|
-
version: '2.6'
|
35
|
+
version_requirements: *17503400
|
46
36
|
- !ruby/object:Gem::Dependency
|
47
37
|
name: rake
|
48
|
-
requirement: !ruby/object:Gem::Requirement
|
38
|
+
requirement: &17502560 !ruby/object:Gem::Requirement
|
49
39
|
none: false
|
50
40
|
requirements:
|
51
41
|
- - ! '>='
|
@@ -53,12 +43,7 @@ dependencies:
|
|
53
43
|
version: '0'
|
54
44
|
type: :development
|
55
45
|
prerelease: false
|
56
|
-
version_requirements:
|
57
|
-
none: false
|
58
|
-
requirements:
|
59
|
-
- - ! '>='
|
60
|
-
- !ruby/object:Gem::Version
|
61
|
-
version: '0'
|
46
|
+
version_requirements: *17502560
|
62
47
|
description: ! "It covers most of eina, eet, evas, ecore, emap, elementary.\n Prototypes
|
63
48
|
are extracted from C headers with sed scripts. FFI calls are generated with a ruby
|
64
49
|
script."
|
@@ -171,12 +156,24 @@ files:
|
|
171
156
|
- lib/efl/native/ecore_input.rb
|
172
157
|
- lib/efl/native/edje.rb
|
173
158
|
- lib/efl/native/eet.rb
|
159
|
+
- lib/efl/native/efreet.rb
|
160
|
+
- lib/efl/native/efreet_base.rb
|
161
|
+
- lib/efl/native/efreet_desktop.rb
|
162
|
+
- lib/efl/native/efreet_icon.rb
|
163
|
+
- lib/efl/native/efreet_ini.rb
|
164
|
+
- lib/efl/native/efreet_menu.rb
|
165
|
+
- lib/efl/native/efreet_mime.rb
|
166
|
+
- lib/efl/native/efreet_trash.rb
|
167
|
+
- lib/efl/native/efreet_uri.rb
|
168
|
+
- lib/efl/native/efreet_utils.rb
|
174
169
|
- lib/efl/native/eina.rb
|
170
|
+
- lib/efl/native/eina_file.rb
|
175
171
|
- lib/efl/native/eina_hash.rb
|
176
172
|
- lib/efl/native/eina_list.rb
|
177
173
|
- lib/efl/native/eina_log.rb
|
178
174
|
- lib/efl/native/eina_types.rb
|
179
175
|
- lib/efl/native/eina_xattr.rb
|
176
|
+
- lib/efl/native/eio.rb
|
180
177
|
- lib/efl/native/elementary.rb
|
181
178
|
- lib/efl/native/elm/elm_actionslider.rb
|
182
179
|
- lib/efl/native/elm/elm_app.rb
|
@@ -258,6 +255,7 @@ files:
|
|
258
255
|
- lib/efl/native/elm/elm_video.rb
|
259
256
|
- lib/efl/native/elm/elm_web.rb
|
260
257
|
- lib/efl/native/elm/elm_win.rb
|
258
|
+
- lib/efl/native/embryo.rb
|
261
259
|
- lib/efl/native/ethumb.rb
|
262
260
|
- lib/efl/native/ethumb_client.rb
|
263
261
|
- lib/efl/native/ethumb_plugin.rb
|
@@ -309,7 +307,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
307
|
version: '0'
|
310
308
|
requirements: []
|
311
309
|
rubyforge_project:
|
312
|
-
rubygems_version: 1.8.
|
310
|
+
rubygems_version: 1.8.11
|
313
311
|
signing_key:
|
314
312
|
specification_version: 3
|
315
313
|
summary: A ruby-ffi binding to efl libraries (Enlightenment Foundation Libraries).
|