atk 3.1.1-x64-mingw32 → 3.1.2-x64-mingw32

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +18 -2
  3. data/dependency-check/Rakefile +44 -0
  4. data/lib/atk.rb +29 -21
  5. data/test/atk-test-utils.rb +1 -1
  6. data/test/run-test.rb +5 -2
  7. data/test/test-text-rectangle.rb +5 -4
  8. data/test/test-version.rb +1 -1
  9. data/vendor/local/bin/libatk-1.0-0.dll +0 -0
  10. data/vendor/local/include/atk-1.0/atk/atktext.h +1 -1
  11. data/vendor/local/include/atk-1.0/atk/atkversion.h +2 -2
  12. data/vendor/local/lib/girepository-1.0/Atk-1.0.typelib +0 -0
  13. data/vendor/local/lib/libatk-1.0.dll.a +0 -0
  14. data/vendor/local/lib/libatk-1.0.la +3 -3
  15. data/vendor/local/lib/pkgconfig/atk.pc +1 -1
  16. data/vendor/local/share/gir-1.0/Atk-1.0.gir +3 -3
  17. data/vendor/local/share/gtk-doc/html/atk/AtkObject.html +5 -5
  18. data/vendor/local/share/gtk-doc/html/atk/AtkText.html +1 -1
  19. data/vendor/local/share/gtk-doc/html/atk/api-index-1-12.html +9 -9
  20. data/vendor/local/share/gtk-doc/html/atk/api-index-1-13.html +3 -3
  21. data/vendor/local/share/gtk-doc/html/atk/api-index-1-20.html +1 -1
  22. data/vendor/local/share/gtk-doc/html/atk/api-index-1-22.html +5 -5
  23. data/vendor/local/share/gtk-doc/html/atk/api-index-1-3.html +3 -3
  24. data/vendor/local/share/gtk-doc/html/atk/api-index-1-30.html +3 -3
  25. data/vendor/local/share/gtk-doc/html/atk/api-index-1-4.html +1 -1
  26. data/vendor/local/share/gtk-doc/html/atk/api-index-1-6.html +1 -1
  27. data/vendor/local/share/gtk-doc/html/atk/api-index-1-9.html +2 -2
  28. data/vendor/local/share/gtk-doc/html/atk/api-index-2-10.html +1 -1
  29. data/vendor/local/share/gtk-doc/html/atk/api-index-2-12.html +22 -22
  30. data/vendor/local/share/gtk-doc/html/atk/api-index-2-2.html +9 -9
  31. data/vendor/local/share/gtk-doc/html/atk/api-index-2-8.html +6 -6
  32. data/vendor/local/share/gtk-doc/html/atk/api-index-deprecated.html +42 -42
  33. data/vendor/local/share/gtk-doc/html/atk/api-index-full.html +370 -370
  34. data/vendor/local/share/gtk-doc/html/atk/atk-Versioning-Utilities.html +2 -2
  35. data/vendor/local/share/gtk-doc/html/atk/atk.devhelp2 +1 -1
  36. data/vendor/local/share/gtk-doc/html/atk/{atkobject.html → base-object.html} +1 -1
  37. data/vendor/local/share/gtk-doc/html/atk/index.html +2 -2
  38. data/vendor/local/share/gtk-doc/html/atk/overview.html +2 -2
  39. data/vendor/local/share/locale/af/LC_MESSAGES/atk10.mo +0 -0
  40. data/vendor/local/share/locale/an/LC_MESSAGES/atk10.mo +0 -0
  41. data/vendor/local/share/locale/ar/LC_MESSAGES/atk10.mo +0 -0
  42. data/vendor/local/share/locale/as/LC_MESSAGES/atk10.mo +0 -0
  43. data/vendor/local/share/locale/ast/LC_MESSAGES/atk10.mo +0 -0
  44. data/vendor/local/share/locale/az/LC_MESSAGES/atk10.mo +0 -0
  45. data/vendor/local/share/locale/be/LC_MESSAGES/atk10.mo +0 -0
  46. data/vendor/local/share/locale/be@latin/LC_MESSAGES/atk10.mo +0 -0
  47. data/vendor/local/share/locale/bg/LC_MESSAGES/atk10.mo +0 -0
  48. data/vendor/local/share/locale/bn/LC_MESSAGES/atk10.mo +0 -0
  49. data/vendor/local/share/locale/bn_IN/LC_MESSAGES/atk10.mo +0 -0
  50. data/vendor/local/share/locale/bs/LC_MESSAGES/atk10.mo +0 -0
  51. data/vendor/local/share/locale/ca/LC_MESSAGES/atk10.mo +0 -0
  52. data/vendor/local/share/locale/ca@valencia/LC_MESSAGES/atk10.mo +0 -0
  53. data/vendor/local/share/locale/cs/LC_MESSAGES/atk10.mo +0 -0
  54. data/vendor/local/share/locale/cy/LC_MESSAGES/atk10.mo +0 -0
  55. data/vendor/local/share/locale/da/LC_MESSAGES/atk10.mo +0 -0
  56. data/vendor/local/share/locale/de/LC_MESSAGES/atk10.mo +0 -0
  57. data/vendor/local/share/locale/dz/LC_MESSAGES/atk10.mo +0 -0
  58. data/vendor/local/share/locale/el/LC_MESSAGES/atk10.mo +0 -0
  59. data/vendor/local/share/locale/en@shaw/LC_MESSAGES/atk10.mo +0 -0
  60. data/vendor/local/share/locale/en_CA/LC_MESSAGES/atk10.mo +0 -0
  61. data/vendor/local/share/locale/en_GB/LC_MESSAGES/atk10.mo +0 -0
  62. data/vendor/local/share/locale/eo/LC_MESSAGES/atk10.mo +0 -0
  63. data/vendor/local/share/locale/es/LC_MESSAGES/atk10.mo +0 -0
  64. data/vendor/local/share/locale/et/LC_MESSAGES/atk10.mo +0 -0
  65. data/vendor/local/share/locale/eu/LC_MESSAGES/atk10.mo +0 -0
  66. data/vendor/local/share/locale/fa/LC_MESSAGES/atk10.mo +0 -0
  67. data/vendor/local/share/locale/fi/LC_MESSAGES/atk10.mo +0 -0
  68. data/vendor/local/share/locale/fr/LC_MESSAGES/atk10.mo +0 -0
  69. data/vendor/local/share/locale/fur/LC_MESSAGES/atk10.mo +0 -0
  70. data/vendor/local/share/locale/gd/LC_MESSAGES/atk10.mo +0 -0
  71. data/vendor/local/share/locale/gl/LC_MESSAGES/atk10.mo +0 -0
  72. data/vendor/local/share/locale/gu/LC_MESSAGES/atk10.mo +0 -0
  73. data/vendor/local/share/locale/he/LC_MESSAGES/atk10.mo +0 -0
  74. data/vendor/local/share/locale/hi/LC_MESSAGES/atk10.mo +0 -0
  75. data/vendor/local/share/locale/hr/LC_MESSAGES/atk10.mo +0 -0
  76. data/vendor/local/share/locale/hu/LC_MESSAGES/atk10.mo +0 -0
  77. data/vendor/local/share/locale/hy/LC_MESSAGES/atk10.mo +0 -0
  78. data/vendor/local/share/locale/id/LC_MESSAGES/atk10.mo +0 -0
  79. data/vendor/local/share/locale/it/LC_MESSAGES/atk10.mo +0 -0
  80. data/vendor/local/share/locale/ja/LC_MESSAGES/atk10.mo +0 -0
  81. data/vendor/local/share/locale/ka/LC_MESSAGES/atk10.mo +0 -0
  82. data/vendor/local/share/locale/km/LC_MESSAGES/atk10.mo +0 -0
  83. data/vendor/local/share/locale/kn/LC_MESSAGES/atk10.mo +0 -0
  84. data/vendor/local/share/locale/ko/LC_MESSAGES/atk10.mo +0 -0
  85. data/vendor/local/share/locale/ku/LC_MESSAGES/atk10.mo +0 -0
  86. data/vendor/local/share/locale/lt/LC_MESSAGES/atk10.mo +0 -0
  87. data/vendor/local/share/locale/lv/LC_MESSAGES/atk10.mo +0 -0
  88. data/vendor/local/share/locale/mai/LC_MESSAGES/atk10.mo +0 -0
  89. data/vendor/local/share/locale/mk/LC_MESSAGES/atk10.mo +0 -0
  90. data/vendor/local/share/locale/ml/LC_MESSAGES/atk10.mo +0 -0
  91. data/vendor/local/share/locale/mn/LC_MESSAGES/atk10.mo +0 -0
  92. data/vendor/local/share/locale/mr/LC_MESSAGES/atk10.mo +0 -0
  93. data/vendor/local/share/locale/nb/LC_MESSAGES/atk10.mo +0 -0
  94. data/vendor/local/share/locale/ne/LC_MESSAGES/atk10.mo +0 -0
  95. data/vendor/local/share/locale/nl/LC_MESSAGES/atk10.mo +0 -0
  96. data/vendor/local/share/locale/nn/LC_MESSAGES/atk10.mo +0 -0
  97. data/vendor/local/share/locale/oc/LC_MESSAGES/atk10.mo +0 -0
  98. data/vendor/local/share/locale/or/LC_MESSAGES/atk10.mo +0 -0
  99. data/vendor/local/share/locale/pa/LC_MESSAGES/atk10.mo +0 -0
  100. data/vendor/local/share/locale/pl/LC_MESSAGES/atk10.mo +0 -0
  101. data/vendor/local/share/locale/ps/LC_MESSAGES/atk10.mo +0 -0
  102. data/vendor/local/share/locale/pt/LC_MESSAGES/atk10.mo +0 -0
  103. data/vendor/local/share/locale/pt_BR/LC_MESSAGES/atk10.mo +0 -0
  104. data/vendor/local/share/locale/ro/LC_MESSAGES/atk10.mo +0 -0
  105. data/vendor/local/share/locale/ru/LC_MESSAGES/atk10.mo +0 -0
  106. data/vendor/local/share/locale/sk/LC_MESSAGES/atk10.mo +0 -0
  107. data/vendor/local/share/locale/sl/LC_MESSAGES/atk10.mo +0 -0
  108. data/vendor/local/share/locale/sq/LC_MESSAGES/atk10.mo +0 -0
  109. data/vendor/local/share/locale/sr/LC_MESSAGES/atk10.mo +0 -0
  110. data/vendor/local/share/locale/sr@ije/LC_MESSAGES/atk10.mo +0 -0
  111. data/vendor/local/share/locale/sr@latin/LC_MESSAGES/atk10.mo +0 -0
  112. data/vendor/local/share/locale/sv/LC_MESSAGES/atk10.mo +0 -0
  113. data/vendor/local/share/locale/ta/LC_MESSAGES/atk10.mo +0 -0
  114. data/vendor/local/share/locale/te/LC_MESSAGES/atk10.mo +0 -0
  115. data/vendor/local/share/locale/th/LC_MESSAGES/atk10.mo +0 -0
  116. data/vendor/local/share/locale/tr/LC_MESSAGES/atk10.mo +0 -0
  117. data/vendor/local/share/locale/tt/LC_MESSAGES/atk10.mo +0 -0
  118. data/vendor/local/share/locale/ug/LC_MESSAGES/atk10.mo +0 -0
  119. data/vendor/local/share/locale/uk/LC_MESSAGES/atk10.mo +0 -0
  120. data/vendor/local/share/locale/vi/LC_MESSAGES/atk10.mo +0 -0
  121. data/vendor/local/share/locale/xh/LC_MESSAGES/atk10.mo +0 -0
  122. data/vendor/local/share/locale/zh_CN/LC_MESSAGES/atk10.mo +0 -0
  123. data/vendor/local/share/locale/zh_HK/LC_MESSAGES/atk10.mo +0 -0
  124. data/vendor/local/share/locale/zh_TW/LC_MESSAGES/atk10.mo +0 -0
  125. metadata +8 -47
  126. data/README +0 -30
  127. data/ext/atk/atk.def +0 -2
  128. data/ext/atk/depend +0 -11
  129. data/ext/atk/extconf.rb +0 -83
  130. data/ext/atk/rbatk.c +0 -66
  131. data/ext/atk/rbatk.h +0 -47
  132. data/ext/atk/rbatkaction.c +0 -85
  133. data/ext/atk/rbatkcomponent.c +0 -175
  134. data/ext/atk/rbatkconversions.h +0 -70
  135. data/ext/atk/rbatkdocument.c +0 -96
  136. data/ext/atk/rbatkeditabletext.c +0 -177
  137. data/ext/atk/rbatkgobjectaccessible.c +0 -46
  138. data/ext/atk/rbatkhyperlink.c +0 -71
  139. data/ext/atk/rbatkhypertext.c +0 -53
  140. data/ext/atk/rbatkimage.c +0 -68
  141. data/ext/atk/rbatkimplementor.c +0 -38
  142. data/ext/atk/rbatknoopobject.c +0 -40
  143. data/ext/atk/rbatknoopobjectfactory.c +0 -40
  144. data/ext/atk/rbatkobject.c +0 -153
  145. data/ext/atk/rbatkobjectfactory.c +0 -53
  146. data/ext/atk/rbatkobjectrole.c +0 -50
  147. data/ext/atk/rbatkprivate.h +0 -48
  148. data/ext/atk/rbatkregistry.c +0 -63
  149. data/ext/atk/rbatkrelation.c +0 -98
  150. data/ext/atk/rbatkrelationset.c +0 -95
  151. data/ext/atk/rbatkrelationtype.c +0 -38
  152. data/ext/atk/rbatkselection.c +0 -87
  153. data/ext/atk/rbatkstate.c +0 -51
  154. data/ext/atk/rbatkstateset.c +0 -180
  155. data/ext/atk/rbatkstreamablecontent.c +0 -57
  156. data/ext/atk/rbatktable.c +0 -271
  157. data/ext/atk/rbatktext.c +0 -318
  158. data/ext/atk/rbatktextattribute.c +0 -54
  159. data/ext/atk/rbatktextrange.c +0 -92
  160. data/ext/atk/rbatktextrectangle.c +0 -149
  161. data/ext/atk/rbatkutil.c +0 -122
  162. data/ext/atk/rbatkvalue.c +0 -78
  163. data/extconf.rb +0 -49
  164. data/lib/2.2/atk.so +0 -0
  165. data/lib/2.3/atk.so +0 -0
  166. data/lib/2.4/atk.so +0 -0
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0e21159391924e99ac9f3d6f583abfde92d02694
4
- data.tar.gz: 9c9895660bfb598a7cd5d1e07ef65196080a6d9e
3
+ metadata.gz: aa3a307427cb40678da8f1242a2eb099b7b5a333
4
+ data.tar.gz: b48c1c0d20a19b3e20b65628726086cbc14dd2eb
5
5
  SHA512:
6
- metadata.gz: 621a6e0c644f90477602853005a351887e55ad28f89fdfaeff1a336ce52cedb795bfb860640f1fa1cac782aa75a75d26e9ec7d153d52db964d3d5094ab7109e3
7
- data.tar.gz: a49e2b08f73c6f48998c1f8c306003ad72548c8d4f94539b6a879aba1ee7525e985511687755ddeb8510c4cbdff8659581b0fdd1cece714ce93c46cbbd4a0ff2
6
+ metadata.gz: 5b570363d30812092ef59dc8fe8c6fa70038068bf2e25cfaf6eafc0e232317f035f01159a10476bede8a98937357b3f1ebc2b3f0c633e6c5b16de3c0fe7793ac
7
+ data.tar.gz: c514b1388dd71803c80d93fc7c6a0f66182c23deb039a442c4b668fab2ddb89f294b116b73abc98e70137bd65c253985915624bfad63e4827891b4d2c00fc35a
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.22.0",
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) 2015 Ruby-GNOME2 Project Team
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 'glib2'
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
- begin
24
- major, minor, _ = RUBY_VERSION.split(/\./)
25
- require "#{major}.#{minor}/atk.so"
26
- rescue LoadError
27
- require 'atk.so'
28
- end
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
- if vendor_dir.exist?
31
- begin
32
- require "gobject-introspection"
33
- vendor_girepository_dir = vendor_dir + "lib" + "girepository-1.0"
34
- GObjectIntrospection.prepend_typelib_path(vendor_girepository_dir)
35
- rescue LoadError
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, MINOR, MICRO = Atk::BUILD_VERSION
42
- STRING = Atk::BUILD_VERSION.join(".")
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
- MAJOR,
48
- MINOR,
49
- MICRO,
55
+ MAJOR_VERSION,
56
+ MINOR_VERSION,
57
+ MICRO_VERSION,
50
58
  ]
51
59
  (version <=> [major, minor, micro]) >= 0
52
60
  end
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2013 Ruby-GNOME2 Project Team
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
data/test/run-test.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env ruby
2
2
  #
3
- # Copyright (C) 2013-2015 Ruby-GNOME2 Project Team
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
- if system("which make > /dev/null")
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))
@@ -1,6 +1,4 @@
1
- # -*- coding: utf-8 -*-
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 TestAtkRectangle < Test::Unit::TestCase
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
@@ -1,4 +1,4 @@
1
- # Copyright (C) 2015 Ruby-GNOME2 Project Team
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
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 enumerationis deprecated since 2.9.4 and should not be used. Use
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 (22)
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 (22210)
75
+ #define ATK_BINARY_AGE (22410)
76
76
 
77
77
  /**
78
78
  * ATK_INTERFACE_AGE:
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-0.1
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.win64/glib2/vendor/local/lib -L/ho
23
23
  weak_library_names=''
24
24
 
25
25
  # Version information for libatk-1.0.
26
- current=22209
27
- age=22209
26
+ current=22409
27
+ age=22409
28
28
  revision=1
29
29
 
30
30
  # Is this an already installed library?
@@ -5,7 +5,7 @@ includedir=${prefix}/include
5
5
 
6
6
  Name: Atk
7
7
  Description: Accessibility Toolkit
8
- Version: 2.22.0
8
+ Version: 2.24.0
9
9
  Requires: gobject-2.0
10
10
  Libs: -L${libdir} -latk-1.0
11
11
  Cflags: -I${includedir}/atk-1.0
@@ -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="22210"
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="22"
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 enumerationis deprecated since 2.9.4 and should not be used. Use
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="atkobject.html" title="Base accessibility object">
9
- <link rel="prev" href="atkobject.html" title="Base accessibility object">
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="atkobject.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
26
- <td><a accesskey="p" href="atkobject.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
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's name formatted for assistive technology access.</p>
2718
+ <p>Object instances 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 enumerationis deprecated since 2.9.4 and should not be used. Use
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-idm45426512262992">atk_component_get_alpha, <a class="indexterm" href="AtkComponent.html#atk-component-get-alpha">atk_component_get_alpha ()</a>
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-idm45426511303664">atk_document_get_attributes, <a class="indexterm" href="AtkDocument.html#atk-document-get-attributes">atk_document_get_attributes ()</a>
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-idm45426511358096">atk_document_get_attribute_value, <a class="indexterm" href="AtkDocument.html#atk-document-get-attribute-value">atk_document_get_attribute_value ()</a>
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-idm45426511333088">atk_document_set_attribute_value, <a class="indexterm" href="AtkDocument.html#atk-document-set-attribute-value">atk_document_set_attribute_value ()</a>
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-idm45426510214832">atk_hyperlink_impl_get_hyperlink, <a class="indexterm" href="atk-AtkHyperlinkImpl.html#atk-hyperlink-impl-get-hyperlink">atk_hyperlink_impl_get_hyperlink ()</a>
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-idm45426509708528">atk_image_get_image_locale, <a class="indexterm" href="AtkImage.html#atk-image-get-image-locale">atk_image_get_image_locale ()</a>
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-idm45426517103792">atk_object_get_attributes, <a class="indexterm" href="AtkObject.html#atk-object-get-attributes">atk_object_get_attributes ()</a>
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-idm45426508919392">atk_streamable_content_get_uri, <a class="indexterm" href="AtkStreamableContent.html#atk-streamable-content-get-uri">atk_streamable_content_get_uri ()</a>
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-idm45426503190000">atk_value_get_minimum_increment, <a class="indexterm" href="AtkValue.html#atk-value-get-minimum-increment">atk_value_get_minimum_increment ()</a>
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-idm45426497114048">atk_misc_get_instance, <a class="indexterm" href="AtkMisc.html#atk-misc-get-instance">atk_misc_get_instance ()</a>
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-idm45426497153104">atk_misc_threads_enter, <a class="indexterm" href="AtkMisc.html#atk-misc-threads-enter">atk_misc_threads_enter ()</a>
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-idm45426497133568">atk_misc_threads_leave, <a class="indexterm" href="AtkMisc.html#atk-misc-threads-leave">atk_misc_threads_leave ()</a>
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-idm45426514109264">atk_get_version, <a class="indexterm" href="AtkUtil.html#atk-get-version">atk_get_version ()</a>
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-idm45426514021472">ATK_DEFINE_ABSTRACT_TYPE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-ABSTRACT-TYPE:CAPS">ATK_DEFINE_ABSTRACT_TYPE()</a>
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-idm45426514000896">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>
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-idm45426514099648">ATK_DEFINE_TYPE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE:CAPS">ATK_DEFINE_TYPE()</a>
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-idm45426514076752">ATK_DEFINE_TYPE_EXTENDED, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE-EXTENDED:CAPS">ATK_DEFINE_TYPE_EXTENDED()</a>
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-idm45426514048160">ATK_DEFINE_TYPE_WITH_CODE, <a class="indexterm" href="AtkUtil.html#ATK-DEFINE-TYPE-WITH-CODE:CAPS">ATK_DEFINE_TYPE_WITH_CODE()</a>
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>