Paul Bignier
c9501b6a52
Bug 1282408 - add ignore initialization check flag for variables from TTextAttr. r=surkov.alexander
2016-07-28 15:45:09 +02:00
Michael Li
bddc9c1a5c
Bug 1295603 - ignore mutation events if contained by shown or hidden container, r=surkov
2016-09-12 10:43:40 -04:00
Michael Layzell
36e08437d0
Bug 1018486 - Part 8: Various other changes, r=smaug
...
MozReview-Commit-ID: B0dsomkWgEk
2016-09-07 10:50:45 -04:00
Jonathan Kew
b159df9d94
Bug 1008019 - Update reftest and a11y-test expectations to reflect the corrected behavior of white-space:pre-wrap. r=dholbert
2016-09-07 00:04:28 +01:00
Dão Gottwald
e5b0ac3e96
Backed out changeset 08e4eadbb77d for causing bug 1299667
2016-09-02 13:06:24 +02:00
Nicholas Nethercote
742fc7eb48
Bug 1297961 (part 1) - Introduce nsURI::GetSpecOrDefault(). r=hurley.
...
This function is an infallible alternative to nsIURI::GetSpec(). It's useful
when it's appropriate to handle a GetSpec() failure with a failure string, e.g.
for log/warning/error messages. It allows code like this:
nsAutoCString spec;
uri->GetSpec(spec);
printf("uri: %s", spec.get());
to be changed to this:
printf("uri: %s", uri->GetSpecOrDefault().get());
This introduces a slight behavioural change. Previously, if GetSpec() failed,
an empty string would be used here. Now, "[nsIURI::GetSpec failed]" will be
produced instead. In most cases this failure string will make for a clearer
log/warning/error message than the empty string.
* * *
Bug 1297961 (part 1b) - More GetSpecOrDefault() additions. r=hurley.
I will fold this into part 1 before landing.
--HG--
extra : rebase_source : ddc19a5624354ac098be019ca13cc24b99b80ddc
2016-08-26 16:02:31 +10:00
Emilio Cobos Álvarez
619cb14d87
Bug 1299066: Make NS_STYLE_DISPLAY_* an enum class. Prefer indexing instead of linear search in the frame constructor r=heycam,bz
...
The main renaming was generated with the following python script:
```
import sys
import re
CAMEL_CASE_REGEX = re.compile(r"(^|_|-)([A-Z])([A-Z]+)")
DISPLAY_REGEX = re.compile(r"\bNS_STYLE_DISPLAY_([^M][A-Z_]+)\b")
def to_camel_case(ident):
return re.sub(CAMEL_CASE_REGEX,
lambda m: m.group(2) + m.group(3).lower(), ident)
def constant_to_enum(constant):
return "StyleDisplay::" + to_camel_case(constant) + ("_" if constant == "NONE" else "")
def process_line(line):
return re.sub(DISPLAY_REGEX,
lambda m: constant_to_enum(m.group(1)), line)
lines = []
with open(sys.argv[1], "r") as f:
for line in f:
lines.append(process_line(line))
with open(sys.argv[1], "w") as f:
for line in lines:
f.write(line)
```
And the following shell commands:
```
find . -name '*.cpp' -exec python display.py {} \;
find . -name '*.h' -exec python display.py {} \;
```
MozReview-Commit-ID: 91xYCbLC2Vf
2016-09-01 20:41:17 -07:00
Cykesiopka
2c7b7b622f
Bug 1297649 - Fix misleading indentation in UtilInterface.cpp and nsMaiInterfaceDocument.cpp. r=tbsaunde
...
MozReview-Commit-ID: 4NxqGBDlIrW
--HG--
extra : rebase_source : cda000969c1982614bb5d01e120efed1c74f7ec5
2016-08-31 19:51:18 +08:00
Cykesiopka
fd03bd37e1
Bug 1297647
- Fix misleading indentation in nsMaiHyperLink.cpp. r=tbsaunde
...
MozReview-Commit-ID: 3CG7EwfIEkT
--HG--
extra : rebase_source : 03ab3017694774589376502fef13b0bd90ed4ff1
2016-08-31 19:55:37 +08:00
Phil Ringnalda
743062a026
Bug 1296784 - Disable test_markup.html on Windows debug for constant failures
2016-08-31 18:27:25 -07:00
Yura Zenevich
8bc3fd48ab
Bug 527003 - adding tests for accessibility service shutdown (both e10s and non-e10s). r=surkov
...
MozReview-Commit-ID: LUz1r3J1SZi
2016-08-30 12:04:26 -04:00
Yura Zenevich
ddff7f9c94
Bug 527003 - make a11y service store info about its consumers. Only shut down a11y when there are no more consumers remaining. r=surkov, tbsaunde
...
MozReview-Commit-ID: KF5d6xaO83E
2016-08-30 12:04:20 -04:00
Ryan VanderMeulen
71d43e7c12
Merge inbound to m-c. a=merge
2016-08-30 09:52:55 -04:00
Jonathan Kingston
b55bb2b76f
Bug 1272256 - Adding in longpress new tab button container menu r=Gijs
...
MozReview-Commit-ID: 5KECDW34G8M
--HG--
extra : rebase_source : 95cd57a27dc0ac76e1a0ac15afa59ba04a2e3c8a
2016-07-14 11:44:39 +01:00
Wes Kocher
f09e8fef1a
Merge inbound to central, a=merge
2016-08-26 16:20:50 -07:00
Trevor Saunders
c7a771a5ba
bug 1296942
- AccessibleWrap::GetXPAccessibleFor() should check there is a child at an index before returning it r=davidb
2016-08-26 11:16:21 -04:00
Sebastian Hengst
d85473072e
Backed out changeset 93e9d99aaead (bug 1008019)
2016-08-26 11:30:41 +02:00
Jonathan Kew
8f421076b2
Bug 1008019 - Update reftest and a11y-test expectations to reflect the corrected behavior of white-space:pre-wrap. r=dholbert
2016-08-25 22:19:44 +01:00
Aaron Klotz
63a3869bb8
Bug 1298412: Fix Interceptor construction to use Move semantics for STAUniquePtr instead of pass-by-reference; r=jimm
...
MozReview-Commit-ID: 8DzeT35Ao4O
--HG--
extra : rebase_source : 14a94903843e54c1c4a4b6c980805ed37d878911
2016-08-26 10:03:17 -06:00
Ravi Shankar
b41dc19d66
Bug 1297982 - Replace NS_STYLE_BOX_ORIENT_* with enum class; r=xidorn
...
MozReview-Commit-ID: GC0VRyHUM4V
--HG--
extra : rebase_source : eb43a793816101798d0d3bb9a56864519eb7a14a
2016-08-26 12:48:41 +05:30
Alexander Surkov
0f37181efe
Bug 1287721 - Keep strong pointers for nodes in the invalidation list of a document accessible. r=smaug
...
--HG--
extra : rebase_source : e93e5b29ebe4fa4674c8af02f7b4ddd59224abf2
2016-08-24 22:16:45 -04:00
Trevor Saunders
4a3e7cb852
bug 1297661 - remove printf that was useless after bug 939049 r=smaug
2016-08-24 10:32:18 -04:00
Yura Zenevich
b39ce35651
Bug 527003 - adding tests for accessibility service shutdown. r=surkov
...
MozReview-Commit-ID: 4c4S9CH7JoB
--HG--
rename : accessible/tests/browser/browser_caching_attributes.js => accessible/tests/browser/e10s/browser_caching_attributes.js
rename : accessible/tests/browser/browser_caching_description.js => accessible/tests/browser/e10s/browser_caching_description.js
rename : accessible/tests/browser/browser_caching_name.js => accessible/tests/browser/e10s/browser_caching_name.js
rename : accessible/tests/browser/browser_caching_relations.js => accessible/tests/browser/e10s/browser_caching_relations.js
rename : accessible/tests/browser/browser_caching_states.js => accessible/tests/browser/e10s/browser_caching_states.js
rename : accessible/tests/browser/browser_caching_value.js => accessible/tests/browser/e10s/browser_caching_value.js
rename : accessible/tests/browser/browser_events_caretmove.js => accessible/tests/browser/e10s/browser_events_caretmove.js
rename : accessible/tests/browser/browser_events_hide.js => accessible/tests/browser/e10s/browser_events_hide.js
rename : accessible/tests/browser/browser_events_show.js => accessible/tests/browser/e10s/browser_events_show.js
rename : accessible/tests/browser/browser_events_statechange.js => accessible/tests/browser/e10s/browser_events_statechange.js
rename : accessible/tests/browser/browser_events_textchange.js => accessible/tests/browser/e10s/browser_events_textchange.js
rename : accessible/tests/browser/browser_treeupdate_ariadialog.js => accessible/tests/browser/e10s/browser_treeupdate_ariadialog.js
rename : accessible/tests/browser/browser_treeupdate_ariaowns.js => accessible/tests/browser/e10s/browser_treeupdate_ariaowns.js
rename : accessible/tests/browser/browser_treeupdate_canvas.js => accessible/tests/browser/e10s/browser_treeupdate_canvas.js
rename : accessible/tests/browser/browser_treeupdate_cssoverflow.js => accessible/tests/browser/e10s/browser_treeupdate_cssoverflow.js
rename : accessible/tests/browser/browser_treeupdate_doc.js => accessible/tests/browser/e10s/browser_treeupdate_doc.js
rename : accessible/tests/browser/browser_treeupdate_gencontent.js => accessible/tests/browser/e10s/browser_treeupdate_gencontent.js
rename : accessible/tests/browser/browser_treeupdate_hidden.js => accessible/tests/browser/e10s/browser_treeupdate_hidden.js
rename : accessible/tests/browser/browser_treeupdate_imagemap.js => accessible/tests/browser/e10s/browser_treeupdate_imagemap.js
rename : accessible/tests/browser/browser_treeupdate_list.js => accessible/tests/browser/e10s/browser_treeupdate_list.js
rename : accessible/tests/browser/browser_treeupdate_list_editabledoc.js => accessible/tests/browser/e10s/browser_treeupdate_list_editabledoc.js
rename : accessible/tests/browser/browser_treeupdate_listener.js => accessible/tests/browser/e10s/browser_treeupdate_listener.js
rename : accessible/tests/browser/browser_treeupdate_optgroup.js => accessible/tests/browser/e10s/browser_treeupdate_optgroup.js
rename : accessible/tests/browser/browser_treeupdate_removal.js => accessible/tests/browser/e10s/browser_treeupdate_removal.js
rename : accessible/tests/browser/browser_treeupdate_table.js => accessible/tests/browser/e10s/browser_treeupdate_table.js
rename : accessible/tests/browser/browser_treeupdate_textleaf.js => accessible/tests/browser/e10s/browser_treeupdate_textleaf.js
rename : accessible/tests/browser/browser_treeupdate_visibility.js => accessible/tests/browser/e10s/browser_treeupdate_visibility.js
rename : accessible/tests/browser/browser_treeupdate_whitespace.js => accessible/tests/browser/e10s/browser_treeupdate_whitespace.js
rename : accessible/tests/browser/doc_treeupdate_ariadialog.html => accessible/tests/browser/e10s/doc_treeupdate_ariadialog.html
rename : accessible/tests/browser/doc_treeupdate_ariaowns.html => accessible/tests/browser/e10s/doc_treeupdate_ariaowns.html
rename : accessible/tests/browser/doc_treeupdate_imagemap.html => accessible/tests/browser/e10s/doc_treeupdate_imagemap.html
rename : accessible/tests/browser/doc_treeupdate_removal.xhtml => accessible/tests/browser/e10s/doc_treeupdate_removal.xhtml
rename : accessible/tests/browser/doc_treeupdate_visibility.html => accessible/tests/browser/e10s/doc_treeupdate_visibility.html
rename : accessible/tests/browser/doc_treeupdate_whitespace.html => accessible/tests/browser/e10s/doc_treeupdate_whitespace.html
rename : accessible/tests/browser/events.js => accessible/tests/browser/e10s/events.js
2016-08-24 09:33:34 -04:00
Kan-Ru Chen
b6d880aca1
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
--HG--
rename : mfbt/unused.h => mfbt/Unused.h
2016-08-24 14:47:04 +08:00
Alexander Surkov
2dde17e72e
Bug 1296769 - introduce a11y API, r=smaug, yzen
2016-08-23 14:15:15 -04:00
Ryan VanderMeulen
30d948fc12
Bug 1297171 - Unconditionally export COMPtrTypes.h rather than depending on accessibility enabled/disabled status. r=aklotz
...
--HG--
extra : rebase_source : 7d55dba2cdf73defe9ed199f8734e227bac3a67c
2016-08-22 14:33:00 -04:00
Bobby Holley
412f98cac5
Bug 1296509 - Optimize GetFlattenedTreeParent. r=smaug
...
We need to call it on some hot paths in stylo, and this allows us to do
quick inline check before delegating to the slow path.
2016-08-19 14:43:53 -07:00
Aaron Klotz
a0da658cd9
Bug 1292452: Add missing ArrayData to Windows a11y e10s PlatformChild; r=tbsaunde
...
MozReview-Commit-ID: FgtpTFKb7JM
--HG--
extra : histedit_source : e5b7387992f5eb5500328346f9c922699569f3fd
2016-08-08 18:40:24 -06:00
Aaron Klotz
cfad6766e2
Bug 1272146: Add thunk for IAccessible property accesses that pass non-self child IDs; r=tbsaunde
...
MozReview-Commit-ID: Kx8UVGP2q7h
--HG--
extra : histedit_source : 39006b47f24874b4c58b9548b4fd1f18f57f1172
2016-08-18 00:50:03 -06:00
Aaron Klotz
05bd3da901
Bug 1288841: Add a typelib containing info for IServiceProvider and IEnumVARIANT; r=tbsaunde, mshal
...
MozReview-Commit-ID: 4xe2T8pQ44f
2016-07-22 13:27:10 -06:00
Aaron Klotz
7debf7c239
Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde
...
MozReview-Commit-ID: ctPgegQ83a
2016-08-18 09:49:13 -06:00
Aaron Klotz
723aa5c481
Bug 1268544: Disable proxy code paths in accessible/xpcom pending resolution of bug 1288839; r=tbsaunde
...
MozReview-Commit-ID: 3AAnFir6rnx
2016-08-08 15:40:54 -06:00
Aaron Klotz
7eaf1173f4
Bug 1268544: Remove proxy-specific code paths from IAccessible and IA2 wrappers; r=tbsaunde
...
MozReview-Commit-ID: J2LxsDU7trH
2016-07-22 14:20:42 -06:00
Aaron Klotz
6691c8cfa8
Bug 1268544: Refactor ProxyAccessible and dependencies; r=tbsaunde
...
MozReview-Commit-ID: EHV0JR6NmKf
--HG--
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/ProxyAccessibleBase.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/ProxyAccessibleBase.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/other/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/other/ProxyAccessible.h
rename : accessible/ipc/ProxyAccessible.cpp => accessible/ipc/win/ProxyAccessible.cpp
rename : accessible/ipc/ProxyAccessible.h => accessible/ipc/win/ProxyAccessible.h
2016-08-19 13:16:42 -06:00
Aaron Klotz
1ee837c40c
Bug 1268544: Refactor PDocAccessible and its dependencies, and add code to integrate remote COM objects; r=tbsaunde
...
MozReview-Commit-ID: Fr4q3dq1ZQU
--HG--
rename : accessible/ipc/DocAccessibleChild.cpp => accessible/ipc/other/DocAccessibleChild.cpp
rename : accessible/ipc/DocAccessibleChild.h => accessible/ipc/other/DocAccessibleChild.h
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/other/PDocAccessible.ipdl
rename : accessible/ipc/moz.build => accessible/ipc/other/moz.build
rename : accessible/ipc/PDocAccessible.ipdl => accessible/ipc/win/PDocAccessible.ipdl
2016-08-15 17:14:53 -06:00
Alexander Surkov
b31c083715
Bug 1296113 - accessible element insertion following inaccessible element insertions results in a wrong tree, r=yzen
2016-08-19 12:10:58 -04:00
Alexander Surkov
9b8e4e076e
Bug 1294500 - MOZ_ASSERT_UNREACHABLE() in DocAccessible.cpp introduced in bug 1246447 triggers in Thunderbird, r=yzen
2016-08-19 11:29:33 -04:00
Ryan VanderMeulen
01c4e8cc1b
Merge inbound to m-c. a=merge
2016-08-19 09:52:53 -04:00
Cameron McCormack
6b7cc9d914
Bug 1295852 - Part 3: Check for generated content containers correctly when generating DOM ranges from a11y selections. r=masayuki
...
MozReview-Commit-ID: 9yTyi2MB0SQ
--HG--
extra : rebase_source : 336751029363a9a4ac50fa394df1e1482a0b7e47
2016-08-19 11:17:00 +08:00
Sebastian Hengst
87b8b23d92
Backed out changeset a2b189275d7a (bug 1268544) for asserting in Windows M(oth) jobs. r=backout on a CLOSED TREE
...
--HG--
rename : accessible/ipc/other/DocAccessibleChild.cpp => accessible/ipc/DocAccessibleChild.cpp
rename : accessible/ipc/other/DocAccessibleChild.h => accessible/ipc/DocAccessibleChild.h
rename : accessible/ipc/win/PDocAccessible.ipdl => accessible/ipc/PDocAccessible.ipdl
2016-08-19 10:04:23 +02:00
Sebastian Hengst
8e027d975c
Backed out changeset 2b4c3a792b14 (bug 1268544)
...
--HG--
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
2016-08-19 10:02:32 +02:00
Sebastian Hengst
e2408b40db
Backed out changeset 9912f206b678 (bug 1268544)
2016-08-19 10:02:28 +02:00
Sebastian Hengst
cc42764379
Backed out changeset 8c550a7e9c2a (bug 1268544)
2016-08-19 10:02:23 +02:00
Sebastian Hengst
5842832f4e
Backed out changeset ff58e1a5f483 (bug 1268544)
2016-08-19 10:02:19 +02:00
Sebastian Hengst
2f058326f7
Backed out changeset ce6e2c41d939 (bug 1288841)
2016-08-19 10:02:15 +02:00
Sebastian Hengst
4d13bef6d5
Backed out changeset d84b4dd26a40 (bug 1272146)
2016-08-19 10:02:11 +02:00
Sebastian Hengst
942cc5dc87
Backed out changeset 00bf09b9870a (bug 1292452)
2016-08-19 10:02:06 +02:00
Sebastian Hengst
5dc07a28e3
Backed out changeset cf746c67d0e9 (bug 1268544)
2016-08-19 10:01:47 +02:00
Nicholas Nethercote
67af4817e9
Bug 1293596 (part 2) - Rework nsIWidget bounds getters. r=mstange.
...
This patch makes GetBounds(), GetScreenBounds() and GetClientBounds() more
obviously infallible, like existing functions such as GetNaturalBounds() and
GetClientSize(). This results in clearer behaviour in nsCocoaWindow.mm if
Objective C exceptions occur. Along the way, the patch removes some useless
failure checks for these functions.
The patch also removes the NS_IMETHOD from GetRestoredBounds and makes that
function MOZ_MUST_USE.
2016-08-19 09:03:04 +10:00
Aaron Klotz
95aa1c4478
Bug 1284314: Disable a11y jsat mochitests on Windows; r=bustage CLOSED TREE
...
MozReview-Commit-ID: 2OeL7XlaFAR
--HG--
extra : rebase_source : d33ca57414295a8577dfe937733131e05164e432
2016-08-18 21:59:48 -06:00