atk 1.0.3 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- data/ext/atk/extconf.rb +3 -0
- data/ext/atk/rbatk.c +56 -17
- data/ext/atk/rbatk.h +21 -12
- data/ext/atk/rbatkaction.c +38 -27
- data/ext/atk/rbatkcomponent.c +61 -50
- data/ext/atk/rbatkconversions.h +70 -0
- data/ext/atk/rbatkdocument.c +38 -27
- data/ext/atk/rbatkeditabletext.c +123 -39
- data/ext/atk/rbatkgobjectaccessible.c +30 -19
- data/ext/atk/rbatkhyperlink.c +34 -22
- data/ext/atk/rbatkhypertext.c +32 -20
- data/ext/atk/rbatkimage.c +34 -22
- data/ext/atk/rbatkimplementor.c +26 -14
- data/ext/atk/rbatknoopobject.c +28 -17
- data/ext/atk/rbatknoopobjectfactory.c +28 -17
- data/ext/atk/rbatkobject.c +48 -63
- data/ext/atk/rbatkobjectfactory.c +32 -20
- data/ext/atk/rbatkobjectrole.c +50 -0
- data/ext/atk/rbatkprivate.h +48 -0
- data/ext/atk/rbatkregistry.c +34 -22
- data/ext/atk/rbatkrelation.c +68 -43
- data/ext/atk/rbatkrelationset.c +44 -32
- data/ext/atk/rbatkrelationtype.c +38 -0
- data/ext/atk/rbatkselection.c +38 -26
- data/ext/atk/rbatkstate.c +32 -20
- data/ext/atk/rbatkstateset.c +113 -65
- data/ext/atk/rbatkstreamablecontent.c +33 -23
- data/ext/atk/rbatktable.c +91 -80
- data/ext/atk/rbatktext.c +85 -107
- data/ext/atk/rbatktextattribute.c +54 -0
- data/ext/atk/rbatktextrange.c +38 -33
- data/ext/atk/rbatktextrectangle.c +53 -48
- data/ext/atk/rbatkutil.c +44 -35
- data/ext/atk/rbatkvalue.c +39 -29
- metadata +14 -12
- data/ChangeLog +0 -278
- data/ext/atk/makeinits.rb +0 -39
- data/ext/atk/rbatkinits.c +0 -56
data/ext/atk/makeinits.rb
DELETED
@@ -1,39 +0,0 @@
|
|
1
|
-
except_targets = ["Init_atk()"]
|
2
|
-
|
3
|
-
def print_data(array, type, defs, extern = false)
|
4
|
-
if array[type]
|
5
|
-
extern_def = "extern void" if extern
|
6
|
-
print "##{defs} #{type}\n" if defs
|
7
|
-
array[type].each do |val|
|
8
|
-
print "#{extern_def} #{val};\n"
|
9
|
-
end
|
10
|
-
print "#endif\n" if defs
|
11
|
-
end
|
12
|
-
end
|
13
|
-
|
14
|
-
inits = Hash.new
|
15
|
-
|
16
|
-
while gets
|
17
|
-
if ~ /^(Init_.*\(.*\))(.*)/
|
18
|
-
init = $1
|
19
|
-
unless except_targets.include?(init)
|
20
|
-
flag = $2
|
21
|
-
if flag.size > 0
|
22
|
-
if flag =~ /\/\*\s*(\w*)\s*\*\//
|
23
|
-
inits[$1] = Array.new unless inits[$1]
|
24
|
-
inits[$1] << init
|
25
|
-
end
|
26
|
-
else
|
27
|
-
inits[""] = Array.new unless inits[""]
|
28
|
-
inits[""] << init
|
29
|
-
end
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
|
34
|
-
print_data(inits, "", nil, true)
|
35
|
-
|
36
|
-
print "void Init_atk_inits()\n"
|
37
|
-
print "{\n"
|
38
|
-
print_data(inits, "", nil)
|
39
|
-
print "}\n"
|
data/ext/atk/rbatkinits.c
DELETED
@@ -1,56 +0,0 @@
|
|
1
|
-
extern void Init_atk_action();
|
2
|
-
extern void Init_atk_component();
|
3
|
-
extern void Init_atk_document();
|
4
|
-
extern void Init_atk_editabletext();
|
5
|
-
extern void Init_atk_gobjectaccessible();
|
6
|
-
extern void Init_atk_hyperlink();
|
7
|
-
extern void Init_atk_hypertext();
|
8
|
-
extern void Init_atk_image();
|
9
|
-
extern void Init_atk_implementor();
|
10
|
-
extern void Init_atk_noopobject();
|
11
|
-
extern void Init_atk_noopobjectfactory();
|
12
|
-
extern void Init_atk_object();
|
13
|
-
extern void Init_atk_objectfactory();
|
14
|
-
extern void Init_atk_registry();
|
15
|
-
extern void Init_atk_relation();
|
16
|
-
extern void Init_atk_relation_set();
|
17
|
-
extern void Init_atk_selection();
|
18
|
-
extern void Init_atk_state();
|
19
|
-
extern void Init_atk_state_set();
|
20
|
-
extern void Init_atk_streamable_content();
|
21
|
-
extern void Init_atk_table();
|
22
|
-
extern void Init_atk_text();
|
23
|
-
extern void Init_atk_text_range();
|
24
|
-
extern void Init_atk_text_rectangle();
|
25
|
-
extern void Init_atk_util();
|
26
|
-
extern void Init_atk_value();
|
27
|
-
void
|
28
|
-
Init_atk_inits()
|
29
|
-
{
|
30
|
-
Init_atk_action();
|
31
|
-
Init_atk_component();
|
32
|
-
Init_atk_document();
|
33
|
-
Init_atk_editabletext();
|
34
|
-
Init_atk_gobjectaccessible();
|
35
|
-
Init_atk_hyperlink();
|
36
|
-
Init_atk_hypertext();
|
37
|
-
Init_atk_image();
|
38
|
-
Init_atk_implementor();
|
39
|
-
Init_atk_noopobject();
|
40
|
-
Init_atk_noopobjectfactory();
|
41
|
-
Init_atk_object();
|
42
|
-
Init_atk_objectfactory();
|
43
|
-
Init_atk_registry();
|
44
|
-
Init_atk_relation();
|
45
|
-
Init_atk_relation_set();
|
46
|
-
Init_atk_selection();
|
47
|
-
Init_atk_state();
|
48
|
-
Init_atk_state_set();
|
49
|
-
Init_atk_streamable_content();
|
50
|
-
Init_atk_table();
|
51
|
-
Init_atk_text();
|
52
|
-
Init_atk_text_range();
|
53
|
-
Init_atk_text_rectangle();
|
54
|
-
Init_atk_util();
|
55
|
-
Init_atk_value();
|
56
|
-
}
|