Commit Graph

5421 Commits

Author SHA1 Message Date
Eitan Isaacson
7f81b68d25 Bug 1239051 - Labels should expose labeled controllers action. r=tbsaunde 2016-01-14 12:37:15 -08:00
Jonathan Kew
2ff25b1f53 Bug 1239007 - Replace nsIntRect by strongly-typed rects in a couple of nsCocoaUtils functions. r=mstange 2016-01-13 07:32:55 +00:00
Till Schneidereit
5dec54d943 Bug 1101817 - Part 1: Remove usages of WeakMap.prototype.clear from Gecko. r=yzen,mak,yoric,gijs,jlongster
--HG--
extra : rebase_source : ef9f83be96af75ee25f8e9fb90ce2b84ab3689bd
2016-01-04 13:06:50 +01:00
Nathan Froyd
40b1bc29b3 Bug 1222531 - turn off -Wextra-tokens on clang-cl in accessible/ directories; r=tbsaunde
The Windows MIDL code generator creates things like:

    #endif !_MIDL_USE_GUIDDEF_

which clang-cl complains about.  MSVC doesn't, so turn this warning off.
2015-11-06 13:10:03 -05:00
Trevor Saunders
37c22443fb bug 1235965 - null check mDoc in AccessibleWrap::Shutdown() r=davidb 2016-01-08 14:23:08 -05:00
Trevor Saunders
7b1bfa7b97 bug 1203861 - use strncmp() instead of nsCString.equals() to compare names r=davidb
AtkObject stores the name as a C string, but nsCString can store strings with
'\0' in the middle.  That means that if we compute a name containing '\0'
nsCString.equals() will nevr consider that string to be equal to
AtkObject::name, however we only want to compare up to the first '\0' because
that is the only part Atk will ever see.  So we should use strncmp() instead of
nsCString.equals().
2016-01-08 14:23:08 -05:00
Trevor Saunders
b84ba16352 bug 1228400 - null check tabChild before notifying the parent process about new child documents r=davidb 2016-01-07 14:18:40 -05:00
Nicholas Nethercote
3ba02d7a9b Bug 1232852 (part 3) - Remove unused parameters from some accessibility code. r=tbsaunde.
--HG--
extra : rebase_source : 7cdef8244e2b44b89e8061f66d45d40cbf245041
2015-12-15 21:24:06 -08:00
Bogdan Postelnicu
a56f7319b3 Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov
--HG--
extra : rebase_source : 6cf3d00ebb79b7af38bff66535d908af048fc279
2015-12-28 06:25:00 -05:00
Alexander Surkov
37b5a7125a Bug 1231919 - crash in mozilla::a11y::DocAccessible::ValidateARIAOwned, r=davidb 2015-12-14 12:02:23 -05:00
Jim Mathies
114d93fb4c Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %A0R%E2Nhk%25%F7%BE%9D%E1%96W_%AD%27%DEC%F2%AC
2015-12-10 14:28:33 -05:00
Carsten "Tomcat" Book
8431613ae5 Backed out changeset bcb4ebf6ffac (bug 1198459) for bustage 2015-12-10 11:14:27 +01:00
Jim Mathies
33f95db847 Bug 1198459 - Prevent accessibility from initializing in content processes when e10s is running. r=tbsaunde
--HG--
extra : transplant_source : %BA%D2uF7%D5%C1jg%0E%BA%9B%84u%3D%10n%C0%93%8B
2015-12-09 08:35:06 -05:00
Phil Ringnalda
e8a1410bc9 Bug 845176 - Skip relations/test_embeds.xul on Linux debug and ASan, where it times out constantly 2015-12-09 18:48:26 -08:00
Mike Hommey
aab4d7dc38 Bug 1231148 - Avoid requiring IDL files installed in $DIST/idl to run AccEventGen.py. r=ted
While working on growing the fastermake backend to do compilation, I ran into
the problem that there's an implicit dependency from AccEventGen.py on the fact
that IDL files are installed in $DIST/idl. While we may need some way to
express such things in general, it turns out that for this specific use case,
we don't actually /need/ IDLs in $DIST/idl, and a couple paths are enough to
get things to work.
2015-12-09 19:23:53 +09:00
Ted Mielczarek
47dba5ed8c bug 1160185 - support GENERATED_FILES in EXPORTS. r=glandium
This change allows specifying objdir-relative paths in EXPORTS to enable
exporting entries from GENERATED_FILES. Objdir paths in EXPORTS that are
not in GENERATED_FILES will raise an exception.

Example:
```
EXPORTS += ['!g.h', 'f.h']
GENERATED_FILES += ['g.h']
```

Given the implementation, this should also work for FINAL_TARGET_FILES,
FINAL_TARGET_PP_FILES, and TESTING_FILES, but those are not well-tested.

This patch also renames the install manifest for '_tests' to match the
directory name for convenience in some code I refactored.

--HG--
extra : commitid : CwayzXtxv1O
extra : rebase_source : 5fb6f461fc740da9bce14bbdbfabdfe618af8803
2015-12-01 09:53:16 -05:00
Bogdan Postelnicu
cb90360057 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
--HG--
extra : commitid : 5Hi6E55At3
extra : source : a9ce85f77af9188fcb7500b3e156df1ad17a49e5
2015-12-03 14:07:43 -08:00
Wes Kocher
286a265f77 Backed out 2 changesets (bug 1230118, bug 1230110) for windows debug assertions in browser_perf-categories-js-calltree.js
Backed out changeset a9ce85f77af9 (bug 1230118)
Backed out changeset b9d8d05aa4ee (bug 1230110)

--HG--
extra : commitid : 9wnrd9NnBlp
2015-12-03 15:38:04 -08:00
Bogdan Postelnicu
10821cd308 Bug 1230118 - added asserts on aOwner and aOwner->Elm() r=surkov
--HG--
extra : commitid : DZ2Gxt3duam
extra : rebase_source : f35ddfd3a3eea486b0f1d23896bd158663132b2e
2015-12-03 14:07:43 -08:00
Robert O'Callahan
3568d59638 Bug 1221043. Revert to including trailing whitespace for accessibility APIs. r=marcoz,mats
--HG--
extra : commitid : DBGsn68FsG4
extra : rebase_source : 7b8f6211c2719dd017fef7e47d4dcdb3aeadfde4
2015-12-01 02:21:25 +13:00
Nicholas Nethercote
25177238ef Bug 1187139 (part 3) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 55473258ba149c2b00d3b1808d0f93425dcd1925
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
1a8b28c439 Bug 1187139 (part 2) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 1362c77b2a88ea1f02a549a18086986b73b419e4
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
ca220cda4d Bug 1187139 (part 1) - Replace nsBaseHashtable::Enumerate() calls in accessible/ with iterators. r=tbsaunde.
--HG--
extra : rebase_source : 4cc04928bee921db2088af358439958d5d2fd6f5
2015-11-29 14:02:07 -08:00
Nicholas Nethercote
d9c0c03bfe Bug 1225007 (part 2, attempt 3) - Use LayoutDevicePixel more in Cocoa widget code. r=kats. 2015-11-19 17:34:20 +11:00
Alexander Surkov
9df31a4c50 Bug 1213281 - crash in mozilla::a11y::DocAccessible::UpdateTreeOnInsertion, r=davidb 2015-11-26 20:46:12 -05:00
Alexander Surkov
e368a67db6 Bug 1226000 - control may pick up its name from wrong label, r=yzen 2015-11-24 14:44:24 -05:00
Trevor Saunders
fe374b7271 bug 1218762 - proxy ia2Accessible::scrollTo{,Point}() r=davidb 2015-11-20 09:45:23 -05:00
Phil Ringnalda
87802cdbad Backed out 2 changesets (bug 1225007) for frequent OS X "Shouldn't return empty rect" assertion failures, a=backout
Backed out changeset c5b352c74b35 (bug 1225007)
Backed out changeset 8a513c70ce7c (bug 1225007)
2015-11-19 20:55:26 -08:00
Nicholas Nethercote
03fdbf3423 Bug 1225007 (part 2, attempt 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : 02a735d1dfb07cd1bfb559dcc1049fc2966c6db6
2015-11-19 17:34:20 +11:00
Kyle Huey
6df095ed85 Bug 1222127: Use the inner window to compute style. r=baku 2015-11-19 14:47:20 +08:00
Nicholas Nethercote
26b0d282a5 Backout 52ba24123046 and 66768d6a50fa (bug 1225007) for causing lots of test assertions on Mac. CLOSED TREE 2015-11-17 17:02:39 -08:00
Nicholas Nethercote
78829dd6ba Bug 1225007 (part 2) - Use LayoutDevicePixel more in Cocoa widget code. r=kats.
--HG--
extra : rebase_source : 0dcf2d580a836faf76cb392eb5561bfa3481d5c2
2015-11-16 19:40:53 -08:00
Chris Manchester
f1d38f349b Bug 1217015 - Convert AccEventGen.py to GENERATED_FILES and get rid of most of accessible/xpcom/Makefile.in r=glandium,tbsaunde
--HG--
extra : commitid : HEsKoRUC2fH
2015-11-16 16:51:51 -08:00
John Daggett
36a7287ec7 Bug 1173260 - stub out tests that fail when 'cursive' is looked up via fontconfig. r=m_kato 2015-11-16 08:48:45 +09:00
Nicholas Nethercote
a62e6ee5b7 Bug 1224403 (part 8) - Use LayoutDeviceIntMargin more in HyperTextAccessible. r=kats.
--HG--
extra : rebase_source : 0e3cf7566f640f3165d677f67c005b43e290ac94
2015-11-12 05:34:27 -08:00
Nicholas Nethercote
7922110bde Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
ad0dd8414a Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.

--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Trevor Saunders
2478fff23c bug 1213402 - add another , to fix silly string concatonation r=me landed on a CLOSED TREE 2015-11-10 21:45:12 -05:00
Trevor Saunders
c54f947de7 bug 1213402 - fixup silly array , on windows r=me landing on a CLOSED TREE 2015-11-10 17:39:27 -05:00
Trevor Saunders
974cb05c7a bug 1213402 - Fire numeric value change events for proxies r=davidb 2015-11-10 15:55:09 -05:00
Trevor Saunders
3dd3759899 bug 1213402 - separate value change events into text value changes and numeric value changes r=davidb
Arguably these are different things, and it will be easier to proxy events for
atk this way because atk only wants the numeric value changes.
2015-11-10 15:55:08 -05:00
Nicholas Nethercote
ab7974e9a5 Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
This adds a three missing unit conversions for touch radii.

--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Alexander Surkov
d5d70c968a Bug 1221542, bug 1221543 - crash in mozilla::a11y::DocAccessible::SeizeChild/PutChildrenBack, r=davidb 2015-11-09 14:47:38 -05:00
Justin Obara
d8a59a9eeb Bug 1169019 - Removed screenreader announcement from gecko. r=yzen 2015-11-08 21:24:41 -08:00
Alexander Surkov
253f5cfdd0 Bug 1220897 - fix IAccessible2::get_accessibleWithCaret, r=tbsaunde 2015-11-06 23:31:12 -05:00
Trevor Saunders
23e5f861c1 bug 1221551 - unbind child documents before rebinding them r=davidb
It seems possible that a child document could be bound to a parent document
without first being unbound.  Some evidence for this being possible is that
OuterDocAccessible::InsertChildAt() explicitly checks for this and does
something similar if it already has a child.
2015-11-06 17:29:17 -05:00
Nathan Froyd
e256faafbd Bug 1222174 - add override declarations in AccessibleWrap.h; r=tbsaunde
clang-cl complains about not having these otherwise.
2015-11-05 15:20:09 -05:00
Alexander Surkov
6606e57d29 Bug 582024 - ARIA active-descendant should work for ARIA owned elements, r=yzen 2015-11-03 11:03:34 -05:00
Alexander Surkov
acb8fed93c Bug 499917 - take into account aria-owns when calculating group attributes, test only, r=yzen 2015-11-03 11:03:23 -05:00
Yura Zenevich
b03320ca91 Bug 1220860 - fixing an error with getting documentElement on AccessFu stop. r=eeejay 2015-11-02 15:28:53 -08:00