atk 3.1.1-x86-mingw32 → 3.1.2-x86-mingw32
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Rakefile +18 -2
- data/dependency-check/Rakefile +44 -0
- data/lib/atk.rb +29 -21
- data/test/atk-test-utils.rb +1 -1
- data/test/run-test.rb +5 -2
- data/test/test-text-rectangle.rb +5 -4
- data/test/test-version.rb +1 -1
- data/vendor/local/bin/libatk-1.0-0.dll +0 -0
- data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
- data/vendor/local/include/atk-1.0/atk/atkversion.h +2 -2
- data/vendor/local/lib/girepository-1.0/Atk-1.0.typelib +0 -0
- data/vendor/local/lib/libatk-1.0.dll.a +0 -0
- data/vendor/local/lib/libatk-1.0.la +3 -3
- data/vendor/local/lib/pkgconfig/atk.pc +1 -1
- data/vendor/local/share/gir-1.0/Atk-1.0.gir +3 -3
- data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +5 -5
- data/vendor/local/share/gtk-doc/html/atk/AtkText.html +1 -1
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +9 -9
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +3 -3
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +1 -1
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +5 -5
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +3 -3
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +3 -3
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +1 -1
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +1 -1
- data/vendor/local/share/gtk-doc/html/atk/api-index-1-9.html +2 -2
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-10.html +1 -1
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-12.html +22 -22
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-2.html +9 -9
- data/vendor/local/share/gtk-doc/html/atk/api-index-2-8.html +6 -6
- data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +42 -42
- data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +370 -370
- data/vendor/local/share/gtk-doc/html/atk/atk-Versioning-Utilities.html +2 -2
- data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +1 -1
- data/vendor/local/share/gtk-doc/html/atk/{atkobject.html → base-object.html} +1 -1
- data/vendor/local/share/gtk-doc/html/atk/index.html +2 -2
- data/vendor/local/share/gtk-doc/html/atk/overview.html +2 -2
- data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/an/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/fur/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gd/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
- data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
- metadata +8 -47
- data/README +0 -30
- data/ext/atk/atk.def +0 -2
- data/ext/atk/depend +0 -11
- data/ext/atk/extconf.rb +0 -83
- data/ext/atk/rbatk.c +0 -66
- data/ext/atk/rbatk.h +0 -47
- data/ext/atk/rbatkaction.c +0 -85
- data/ext/atk/rbatkcomponent.c +0 -175
- data/ext/atk/rbatkconversions.h +0 -70
- data/ext/atk/rbatkdocument.c +0 -96
- data/ext/atk/rbatkeditabletext.c +0 -177
- data/ext/atk/rbatkgobjectaccessible.c +0 -46
- data/ext/atk/rbatkhyperlink.c +0 -71
- data/ext/atk/rbatkhypertext.c +0 -53
- data/ext/atk/rbatkimage.c +0 -68
- data/ext/atk/rbatkimplementor.c +0 -38
- data/ext/atk/rbatknoopobject.c +0 -40
- data/ext/atk/rbatknoopobjectfactory.c +0 -40
- data/ext/atk/rbatkobject.c +0 -153
- data/ext/atk/rbatkobjectfactory.c +0 -53
- data/ext/atk/rbatkobjectrole.c +0 -50
- data/ext/atk/rbatkprivate.h +0 -48
- data/ext/atk/rbatkregistry.c +0 -63
- data/ext/atk/rbatkrelation.c +0 -98
- data/ext/atk/rbatkrelationset.c +0 -95
- data/ext/atk/rbatkrelationtype.c +0 -38
- data/ext/atk/rbatkselection.c +0 -87
- data/ext/atk/rbatkstate.c +0 -51
- data/ext/atk/rbatkstateset.c +0 -180
- data/ext/atk/rbatkstreamablecontent.c +0 -57
- data/ext/atk/rbatktable.c +0 -271
- data/ext/atk/rbatktext.c +0 -318
- data/ext/atk/rbatktextattribute.c +0 -54
- data/ext/atk/rbatktextrange.c +0 -92
- data/ext/atk/rbatktextrectangle.c +0 -149
- data/ext/atk/rbatkutil.c +0 -122
- data/ext/atk/rbatkvalue.c +0 -78
- data/extconf.rb +0 -49
- data/lib/2.2/atk.so +0 -0
- data/lib/2.3/atk.so +0 -0
- data/lib/2.4/atk.so +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b63a0fe180dedac5d3b1d3e4c46076c66ccd034f
|
4
|
+
data.tar.gz: d5a071ba900ba4ac6cfca9ac001b6709b1caaea3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 58d1cbbf1b9a19fa94b186cc4cda46e7fa71ecf57aedf181639246f858eb82967593ef0f15f7c668938586f401eceb8b2ebace6696be798aac92b2e4afd9c701
|
7
|
+
data.tar.gz: 8038fda4819d9989f3bcb44b6e31977a575841d387b23190d4f6cbbfdf16d81d0d009d19bfd50ffe4ea7f231f1d25b4086114c66b17f66f87a5b1b87632b756f
|
data/Rakefile
CHANGED
@@ -1,8 +1,25 @@
|
|
1
1
|
# -*- ruby -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
2
18
|
|
3
19
|
$LOAD_PATH.unshift("./../glib2/lib")
|
4
20
|
require "gnome2/rake/package-task"
|
5
21
|
|
22
|
+
|
6
23
|
package_task = GNOME2::Rake::PackageTask.new do |package|
|
7
24
|
package.summary = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
|
8
25
|
package.description = "Ruby/ATK is a Ruby binding of ATK-1.0.x."
|
@@ -15,7 +32,7 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
15
32
|
:name => "atk",
|
16
33
|
:download_site => :gnome,
|
17
34
|
:label => "atk",
|
18
|
-
:version => "2.
|
35
|
+
:version => "2.24.0",
|
19
36
|
:compression_method => "xz",
|
20
37
|
:windows => {
|
21
38
|
:configure_args => [
|
@@ -28,4 +45,3 @@ package_task = GNOME2::Rake::PackageTask.new do |package|
|
|
28
45
|
]
|
29
46
|
end
|
30
47
|
package_task.define
|
31
|
-
|
@@ -0,0 +1,44 @@
|
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
2
|
+
#
|
3
|
+
# This library is free software; you can redistribute it and/or
|
4
|
+
# modify it under the terms of the GNU Lesser General Public
|
5
|
+
# License as published by the Free Software Foundation; either
|
6
|
+
# version 2.1 of the License, or (at your option) any later version.
|
7
|
+
#
|
8
|
+
# This library is distributed in the hope that it will be useful,
|
9
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
10
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
11
|
+
# Lesser General Public License for more details.
|
12
|
+
#
|
13
|
+
# You should have received a copy of the GNU Lesser General Public
|
14
|
+
# License along with this library; if not, write to the Free Software
|
15
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
|
+
|
17
|
+
require "pkg-config"
|
18
|
+
require "native-package-installer"
|
19
|
+
|
20
|
+
case RUBY_PLATFORM
|
21
|
+
when /mingw|mswin/
|
22
|
+
task :default => "nothing"
|
23
|
+
else
|
24
|
+
task :default => "dependency:check"
|
25
|
+
end
|
26
|
+
|
27
|
+
task :nothing do
|
28
|
+
end
|
29
|
+
|
30
|
+
namespace :dependency do
|
31
|
+
desc "Check dependency"
|
32
|
+
task :check do
|
33
|
+
unless PKGConfig.check_version?("atk")
|
34
|
+
unless NativePackageInstaller.install(:altlinux => "libatk-devel",
|
35
|
+
:debian => "libatk1.0-dev",
|
36
|
+
:redhat => "atk-devel",
|
37
|
+
:arch => "atk",
|
38
|
+
:homebrew => "atk",
|
39
|
+
:macports => "atk")
|
40
|
+
exit(false)
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
data/lib/atk.rb
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
# Copyright (C)
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
2
2
|
#
|
3
3
|
# This library is free software; you can redistribute it and/or
|
4
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -14,39 +14,47 @@
|
|
14
14
|
# License along with this library; if not, write to the Free Software
|
15
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
16
16
|
|
17
|
-
require
|
17
|
+
require "gobject-introspection"
|
18
18
|
|
19
19
|
base_dir = Pathname.new(__FILE__).dirname.dirname.expand_path
|
20
20
|
vendor_dir = base_dir + "vendor" + "local"
|
21
21
|
vendor_bin_dir = vendor_dir + "bin"
|
22
22
|
GLib.prepend_dll_path(vendor_bin_dir)
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
23
|
+
vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
|
24
|
+
GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
|
25
|
+
|
26
|
+
module Atk
|
27
|
+
LOG_DOMAIN = "Atk"
|
28
|
+
GLib::Log.set_log_domain(LOG_DOMAIN)
|
29
29
|
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
30
|
+
class Loader < GObjectIntrospection::Loader
|
31
|
+
end
|
32
|
+
|
33
|
+
loader = Loader.new(self)
|
34
|
+
loader.load("Atk")
|
35
|
+
|
36
|
+
class TextRectangle
|
37
|
+
def initialize(x=nil, y=nil, width=nil, height=nil)
|
38
|
+
super()
|
39
|
+
self.x = x if x
|
40
|
+
self.y = y if y
|
41
|
+
self.width = width if width
|
42
|
+
self.height = height if height
|
43
|
+
end
|
36
44
|
end
|
37
|
-
end
|
38
45
|
|
39
|
-
module Atk
|
40
46
|
module Version
|
41
|
-
MAJOR
|
42
|
-
|
47
|
+
MAJOR = MAJOR_VERSION
|
48
|
+
MINOR = MINOR_VERSION
|
49
|
+
MICRO = MICRO_VERSION
|
50
|
+
STRING = "#{MAJOR_VERSION}.#{MINOR_VERSION}.#{MICRO_VERSION}"
|
43
51
|
class << self
|
44
52
|
def or_later?(major, minor, micro=nil)
|
45
53
|
micro ||= 0
|
46
54
|
version = [
|
47
|
-
|
48
|
-
|
49
|
-
|
55
|
+
MAJOR_VERSION,
|
56
|
+
MINOR_VERSION,
|
57
|
+
MICRO_VERSION,
|
50
58
|
]
|
51
59
|
(version <=> [major, minor, micro]) >= 0
|
52
60
|
end
|
data/test/atk-test-utils.rb
CHANGED
data/test/run-test.rb
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
#!/usr/bin/env ruby
|
2
2
|
#
|
3
|
-
# Copyright (C)
|
3
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
4
4
|
#
|
5
5
|
# This library is free software; you can redistribute it and/or
|
6
6
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -20,14 +20,17 @@ ruby_gnome2_base = File.join(File.dirname(__FILE__), "..", "..")
|
|
20
20
|
ruby_gnome2_base = File.expand_path(ruby_gnome2_base)
|
21
21
|
|
22
22
|
glib_base = File.join(ruby_gnome2_base, "glib2")
|
23
|
+
gobject_introspection_base = File.join(ruby_gnome2_base, "gobject-introspection")
|
23
24
|
atk_base = File.join(ruby_gnome2_base, "atk")
|
24
25
|
|
25
26
|
modules = [
|
26
27
|
[glib_base, "glib2"],
|
28
|
+
[gobject_introspection_base, "gobject-introspection"],
|
27
29
|
[atk_base, "atk"]
|
28
30
|
]
|
29
31
|
modules.each do |target, module_name|
|
30
|
-
|
32
|
+
makefile = File.join(target, "Makefile")
|
33
|
+
if File.exist?(makefile) and system("which make > /dev/null")
|
31
34
|
`make -C #{target.dump} > /dev/null` or exit(false)
|
32
35
|
end
|
33
36
|
$LOAD_PATH.unshift(File.join(target, "ext", module_name))
|
data/test/test-text-rectangle.rb
CHANGED
@@ -1,6 +1,4 @@
|
|
1
|
-
#
|
2
|
-
#
|
3
|
-
# Copyright (C) 2013 Ruby-GNOME2 Project Team
|
1
|
+
# Copyright (C) 2017 Ruby-GNOME2 Project Team
|
4
2
|
#
|
5
3
|
# This library is free software; you can redistribute it and/or
|
6
4
|
# modify it under the terms of the GNU Lesser General Public
|
@@ -16,11 +14,14 @@
|
|
16
14
|
# License along with this library; if not, write to the Free Software
|
17
15
|
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
16
|
|
19
|
-
class
|
17
|
+
class TestAtkTextRectangle < Test::Unit::TestCase
|
20
18
|
include AtkTestUtils
|
21
19
|
|
22
20
|
def test_width
|
23
21
|
rectangle = Atk::TextRectangle.new(0, 10, 20, 30)
|
22
|
+
assert_equal(0, rectangle.x)
|
23
|
+
assert_equal(10, rectangle.y)
|
24
24
|
assert_equal(20, rectangle.width)
|
25
|
+
assert_equal(30, rectangle.height)
|
25
26
|
end
|
26
27
|
end
|
data/test/test-version.rb
CHANGED
Binary file
|
@@ -131,7 +131,7 @@ typedef struct _AtkTextIface AtkTextIface;
|
|
131
131
|
* character.
|
132
132
|
*
|
133
133
|
* Text boundary types used for specifying boundaries for regions of text.
|
134
|
-
* This
|
134
|
+
* This enumeration is deprecated since 2.9.4 and should not be used. Use
|
135
135
|
* AtkTextGranularity with #atk_text_get_string_at_offset instead.
|
136
136
|
**/
|
137
137
|
typedef enum {
|
@@ -50,7 +50,7 @@
|
|
50
50
|
*
|
51
51
|
* Since: 2.7.4
|
52
52
|
*/
|
53
|
-
#define ATK_MINOR_VERSION (
|
53
|
+
#define ATK_MINOR_VERSION (24)
|
54
54
|
|
55
55
|
/**
|
56
56
|
* ATK_MICRO_VERSION:
|
@@ -72,7 +72,7 @@
|
|
72
72
|
*
|
73
73
|
* Since: 2.7.4
|
74
74
|
*/
|
75
|
-
#define ATK_BINARY_AGE (
|
75
|
+
#define ATK_BINARY_AGE (22410)
|
76
76
|
|
77
77
|
/**
|
78
78
|
* ATK_INTERFACE_AGE:
|
Binary file
|
Binary file
|
@@ -1,5 +1,5 @@
|
|
1
1
|
# libatk-1.0.la - a libtool library file
|
2
|
-
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-
|
2
|
+
# Generated by libtool (GNU libtool) 2.4.6 Debian-2.4.6-1
|
3
3
|
#
|
4
4
|
# Please DO NOT delete this file!
|
5
5
|
# It is necessary for linking the library.
|
@@ -23,8 +23,8 @@ dependency_libs=' -R/home/vagrant/ruby-gnome2.win32/glib2/vendor/local/lib -L/ho
|
|
23
23
|
weak_library_names=''
|
24
24
|
|
25
25
|
# Version information for libatk-1.0.
|
26
|
-
current=
|
27
|
-
age=
|
26
|
+
current=22409
|
27
|
+
age=22409
|
28
28
|
revision=1
|
29
29
|
|
30
30
|
# Is this an already installed library?
|
@@ -543,7 +543,7 @@ A string name/value pair representing a generic attribute.</doc>
|
|
543
543
|
</function>
|
544
544
|
</record>
|
545
545
|
<constant name="BINARY_AGE"
|
546
|
-
value="
|
546
|
+
value="22410"
|
547
547
|
c:type="ATK_BINARY_AGE"
|
548
548
|
version="2.7.4">
|
549
549
|
<doc xml:space="preserve">Like atk_get_binary_age(), but from the headers used at
|
@@ -4155,7 +4155,7 @@ against at application run time.</doc>
|
|
4155
4155
|
<type name="gint" c:type="gint"/>
|
4156
4156
|
</constant>
|
4157
4157
|
<constant name="MINOR_VERSION"
|
4158
|
-
value="
|
4158
|
+
value="24"
|
4159
4159
|
c:type="ATK_MINOR_VERSION"
|
4160
4160
|
version="2.7.4">
|
4161
4161
|
<doc xml:space="preserve">Like atk_get_minor_version(), but from the headers used at
|
@@ -13401,7 +13401,7 @@ maintained for the attr value.</doc>
|
|
13401
13401
|
glib:get-type="atk_text_boundary_get_type"
|
13402
13402
|
c:type="AtkTextBoundary">
|
13403
13403
|
<doc xml:space="preserve">Text boundary types used for specifying boundaries for regions of text.
|
13404
|
-
This
|
13404
|
+
This enumeration is deprecated since 2.9.4 and should not be used. Use
|
13405
13405
|
AtkTextGranularity with #atk_text_get_string_at_offset instead.</doc>
|
13406
13406
|
<member name="char"
|
13407
13407
|
value="0"
|
@@ -5,8 +5,8 @@
|
|
5
5
|
<title>AtkObject: ATK - Accessibility Toolkit</title>
|
6
6
|
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
7
7
|
<link rel="home" href="index.html" title="ATK - Accessibility Toolkit">
|
8
|
-
<link rel="up" href="
|
9
|
-
<link rel="prev" href="
|
8
|
+
<link rel="up" href="base-object.html" title="Base accessibility object">
|
9
|
+
<link rel="prev" href="base-object.html" title="Base accessibility object">
|
10
10
|
<link rel="next" href="toolkit.html" title="Event and toolkit support">
|
11
11
|
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
12
12
|
<link rel="stylesheet" href="style.css" type="text/css">
|
@@ -22,8 +22,8 @@
|
|
22
22
|
<a href="#AtkObject.signals" class="shortcut">Signals</a></span>
|
23
23
|
</td>
|
24
24
|
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
|
25
|
-
<td><a accesskey="u" href="
|
26
|
-
<td><a accesskey="p" href="
|
25
|
+
<td><a accesskey="u" href="base-object.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
|
26
|
+
<td><a accesskey="p" href="base-object.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
|
27
27
|
<td><a accesskey="n" href="toolkit.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
|
28
28
|
</tr></table>
|
29
29
|
<div class="refentry">
|
@@ -2715,7 +2715,7 @@ the previous value of the property, but is not used anymore.</p>
|
|
2715
2715
|
<div class="refsect2">
|
2716
2716
|
<a name="AtkObject--accessible-name"></a><h3>The <code class="literal">“accessible-name”</code> property</h3>
|
2717
2717
|
<pre class="programlisting"> “accessible-name” <span class="type">gchar</span> *</pre>
|
2718
|
-
<p>Object instance
|
2718
|
+
<p>Object instance’s name formatted for assistive technology access.</p>
|
2719
2719
|
<p>Flags: Read / Write</p>
|
2720
2720
|
<p>Default value: NULL</p>
|
2721
2721
|
</div>
|
@@ -1769,7 +1769,7 @@ boundaries of such a portion of text.</p></td>
|
|
1769
1769
|
<div class="refsect2">
|
1770
1770
|
<a name="AtkTextBoundary"></a><h3>enum AtkTextBoundary</h3>
|
1771
1771
|
<p>Text boundary types used for specifying boundaries for regions of text.
|
1772
|
-
This
|
1772
|
+
This enumeration is deprecated since 2.9.4 and should not be used. Use
|
1773
1773
|
AtkTextGranularity with <a class="link" href="AtkText.html#atk-text-get-string-at-offset" title="atk_text_get_string_at_offset ()"><span class="type">atk_text_get_string_at_offset</span></a> instead.</p>
|
1774
1774
|
<div class="refsect3">
|
1775
1775
|
<a name="AtkTextBoundary.members"></a><h4>Members</h4>
|
@@ -25,23 +25,23 @@
|
|
25
25
|
<div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv">
|
26
26
|
<h3>A</h3>
|
27
27
|
<dl>
|
28
|
-
<dt id="ientry-
|
28
|
+
<dt id="ientry-idm5675">atk_component_get_alpha, <a class="indexterm" href="AtkComponent.html#atk-component-get-alpha">atk_component_get_alpha ()</a>
|
29
29
|
</dt>
|
30
|
-
<dt id="ientry-
|
30
|
+
<dt id="ientry-idm6249">atk_document_get_attributes, <a class="indexterm" href="AtkDocument.html#atk-document-get-attributes">atk_document_get_attributes ()</a>
|
31
31
|
</dt>
|
32
|
-
<dt id="ientry-
|
32
|
+
<dt id="ientry-idm6149">atk_document_get_attribute_value, <a class="indexterm" href="AtkDocument.html#atk-document-get-attribute-value">atk_document_get_attribute_value ()</a>
|
33
33
|
</dt>
|
34
|
-
<dt id="ientry-
|
34
|
+
<dt id="ientry-idm6194">atk_document_set_attribute_value, <a class="indexterm" href="AtkDocument.html#atk-document-set-attribute-value">atk_document_set_attribute_value ()</a>
|
35
35
|
</dt>
|
36
|
-
<dt id="ientry-
|
36
|
+
<dt id="ientry-idm7111">atk_hyperlink_impl_get_hyperlink, <a class="indexterm" href="atk-AtkHyperlinkImpl.html#atk-hyperlink-impl-get-hyperlink">atk_hyperlink_impl_get_hyperlink ()</a>
|
37
37
|
</dt>
|
38
|
-
<dt id="ientry-
|
38
|
+
<dt id="ientry-idm7669">atk_image_get_image_locale, <a class="indexterm" href="AtkImage.html#atk-image-get-image-locale">atk_image_get_image_locale ()</a>
|
39
39
|
</dt>
|
40
|
-
<dt id="ientry-
|
40
|
+
<dt id="ientry-idm1503">atk_object_get_attributes, <a class="indexterm" href="AtkObject.html#atk-object-get-attributes">atk_object_get_attributes ()</a>
|
41
41
|
</dt>
|
42
|
-
<dt id="ientry-
|
42
|
+
<dt id="ientry-idm8324">atk_streamable_content_get_uri, <a class="indexterm" href="AtkStreamableContent.html#atk-streamable-content-get-uri">atk_streamable_content_get_uri ()</a>
|
43
43
|
</dt>
|
44
|
-
<dt id="ientry-
|
44
|
+
<dt id="ientry-idm13820">atk_value_get_minimum_increment, <a class="indexterm" href="AtkValue.html#atk-value-get-minimum-increment">atk_value_get_minimum_increment ()</a>
|
45
45
|
</dt>
|
46
46
|
</dl>
|
47
47
|
</div></div>
|
@@ -25,11 +25,11 @@
|
|
25
25
|
<div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv">
|
26
26
|
<h3>A</h3>
|
27
27
|
<dl>
|
28
|
-
<dt id="ientry-
|
28
|
+
<dt id="ientry-idm19085">atk_misc_get_instance, <a class="indexterm" href="AtkMisc.html#atk-misc-get-instance">atk_misc_get_instance ()</a>
|
29
29
|
</dt>
|
30
|
-
<dt id="ientry-
|
30
|
+
<dt id="ientry-idm19019">atk_misc_threads_enter, <a class="indexterm" href="AtkMisc.html#atk-misc-threads-enter">atk_misc_threads_enter ()</a>
|
31
31
|
</dt>
|
32
|
-
<dt id="ientry-
|
32
|
+
<dt id="ientry-idm19052">atk_misc_threads_leave, <a class="indexterm" href="AtkMisc.html#atk-misc-threads-leave">atk_misc_threads_leave ()</a>
|
33
33
|
</dt>
|
34
34
|
</dl>
|
35
35
|
</div></div>
|
@@ -24,7 +24,7 @@
|
|
24
24
|
<a name="api-index-1-20"></a>Index of new symbols in 1.20</h1></div></div></div>
|
25
25
|
<div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv">
|
26
26
|
<h3>A</h3>
|
27
|
-
<dl><dt id="ientry-
|
27
|
+
<dl><dt id="ientry-idm3798">atk_get_version, <a class="indexterm" href="AtkUtil.html#atk-get-version">atk_get_version ()</a>
|
28
28
|
</dt></dl>
|
29
29
|
</div></div>
|
30
30
|
</div>
|
@@ -25,15 +25,15 @@
|
|
25
25
|
<div xmlns:xlink="http://www.w3.org/1999/xlink" class="index"><div class="indexdiv">
|
26
26
|
<h3>A</h3>
|
27
27
|
<dl>
|
28
|
-
<dt id="ientry-
|
28
|
+
<dt id="ientry-idm3960">ATK_DEFINE_ABSTRACT_TYPE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-ABSTRACT-TYPE:CAPS">ATK_DEFINE_ABSTRACT_TYPE()</a>
|
29
29
|
</dt>
|
30
|
-
<dt id="ientry-
|
30
|
+
<dt id="ientry-idm3998">ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-ABSTRACT-TYPE-WITH-CODE:CAPS">ATK_DEFINE_ABSTRACT_TYPE_WITH_CODE()</a>
|
31
31
|
</dt>
|
32
|
-
<dt id="ientry-
|
32
|
+
<dt id="ientry-idm3813">ATK_DEFINE_TYPE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS">ATK_DEFINE_TYPE()</a>
|
33
33
|
</dt>
|
34
|
-
<dt id="ientry-
|
34
|
+
<dt id="ientry-idm3854">ATK_DEFINE_TYPE_EXTENDED, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE-EXTENDED:CAPS">ATK_DEFINE_TYPE_EXTENDED()</a>
|
35
35
|
</dt>
|
36
|
-
<dt id="ientry-
|
36
|
+
<dt id="ientry-idm3910">ATK_DEFINE_TYPE_WITH_CODE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE-WITH-CODE:CAPS">ATK_DEFINE_TYPE_WITH_CODE()</a>
|
37
37
|
</dt>
|
38
38
|
</dl>
|
39
39
|
</div></div>
|