uia 0.4.3 → 0.4.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/ChangeLog +9 -0
- data/ext/UiaDll/UIA.Helper/Element.cs +1 -1
- data/lib/uia/version.rb +1 -1
- metadata +3 -3
data/ChangeLog
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
=== Version 0.4.4 / 2014-05-23
|
2
|
+
* Enhancements
|
3
|
+
* modified how it uses the runtime_id to locate an element to use the
|
4
|
+
first found handle section, rather than the last
|
5
|
+
|
6
|
+
=== Version 0.4.3 / 2014-05-23
|
7
|
+
* Enhancements
|
8
|
+
* improved the speed at which you can locate an element by runtime_id
|
9
|
+
|
1
10
|
=== Version 0.4.2 / 2014-05-21
|
2
11
|
* Enhancements
|
3
12
|
* Exceptions on the .NET side of things now include stack trace
|
@@ -191,7 +191,7 @@ namespace UIA.Helper
|
|
191
191
|
|
192
192
|
private static Element ClosestParentOfId(IEnumerable<int> runtimeId)
|
193
193
|
{
|
194
|
-
var parentHandle = runtimeId.
|
194
|
+
var parentHandle = runtimeId.FirstOrDefault(x => IsWindow(x.IntPtr())).IntPtr();
|
195
195
|
return IntPtr.Zero != parentHandle ? ByHandle(parentHandle) : new RootElement();
|
196
196
|
}
|
197
197
|
|
data/lib/uia/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uia
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.4
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -262,7 +262,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
262
262
|
version: '0'
|
263
263
|
segments:
|
264
264
|
- 0
|
265
|
-
hash:
|
265
|
+
hash: -945145251
|
266
266
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
267
267
|
none: false
|
268
268
|
requirements:
|
@@ -271,7 +271,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
271
271
|
version: '0'
|
272
272
|
segments:
|
273
273
|
- 0
|
274
|
-
hash:
|
274
|
+
hash: -945145251
|
275
275
|
requirements: []
|
276
276
|
rubyforge_project:
|
277
277
|
rubygems_version: 1.8.28
|