Граф коммитов

5885 Коммитов

Автор SHA1 Сообщение Дата
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
Aaron Klotz c7104deddf Bug 1284314: Disable a11y jsat mochitests on Windows e10s; r=bustage a=philor CLOSED TREE
MozReview-Commit-ID: LhoVLh4VSkQ
2016-08-18 20:15:51 -06:00
Aaron Klotz ce3943a9f7 Bug 1268544: Remove extra MOZ_COUNT_CTOR that should have been removed; r=bustage
MozReview-Commit-ID: 6oenmiLJE67
2016-08-18 16:13:00 -06:00
Aaron Klotz 3d79e98e6e Bug 1292452: Add missing ArrayData to Windows a11y e10s PlatformChild; r=tbsaunde
MozReview-Commit-ID: FgtpTFKb7JM
2016-08-08 18:40:24 -06:00
Aaron Klotz ec4f7b2c6d Bug 1272146: Add thunk for IAccessible property accesses that pass non-self child IDs; r=tbsaunde
MozReview-Commit-ID: Kx8UVGP2q7h

--HG--
extra : amend_source : ab9fa1f70b204fc40122e93215c68b55a4f94505
2016-08-18 00:50:03 -06:00
Aaron Klotz 8224d60f6f 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 92899f5101 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 7798e81c02 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 5de63c8f2a 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 1597663492 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-18 10:45:55 -06:00
Aaron Klotz 1d9ba42f65 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
Jonathan Kew 8998b2ba96 Backed out changesets 4a7bb508cadf, e8917efd53e3, 2d87636d76b0 (bug 1008019) due to Android reftest orange. 2016-08-26 00:56:10 +01:00
Jonathan Kew ffeb46e3e9 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
Yura Zenevich 83fa4597e7 Bug 1295649 - adding back removed 'a11y initialized' telemetry measurement. r=surkov
MozReview-Commit-ID: 75xgQlaPA7N
2016-08-16 16:48:01 -04:00
Wes Kocher 021a12c86f Backed out changesets e4a39e456f89 (bug 1268544) for mass build bustage a=backout CLOSED TREE
***
Backed out changeset 119a4b187938 (bug 1268544)
***
Backed out changeset d83cba382cfe (bug 1268544)
***
Backed out changeset a0085eb5ffe7 (bug 1268544)
***
Backed out changeset eefa457c3680 (bug 1288843)
***
Backed out changeset 17dc46beb1a5 (bug 1288841)
***
Backed out changeset e76f58f328d4 (bug 1268544)
***
Backed out changeset ffc8ee715fdb (bug 1268544)
***
Backed out changeset 99f0ea19b8f5 (bug 1268544)
***
Backed out changeset 2bdfb9514317 (bug 1268544)
***
Backed out changeset e4b3a5e1756d (bug 1268544)

--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
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
extra : amend_source : dc73ec117c7279539cab36af821637bb1b0236bd
extra : histedit_source : 438ce81f07a53af61b1cabf7620f30b090e7d5e2%2Ccb6472913fe0d7d2ec66bf0cedc18f2e4d00678e
2016-08-15 15:58:45 -07:00
Aaron Klotz 61834c57ab Bug 1268544: Add missing FINAL_LIBRARY entry to accessible/ipc/other/moz.build; r=bustage a=kwierso CLOSED TREE
MozReview-Commit-ID: JKTfjrDE2GO

--HG--
extra : rebase_source : a3bd217a499ecc71cdc4161876c2bbaa744b8526
2016-08-15 16:06:57 -06:00
Aaron Klotz e1b248cac4 Bug 1268544: Followup: fix missing include in DocAccessibleChildBase; r=me
MozReview-Commit-ID: CzeTjJa9gg6

--HG--
extra : rebase_source : 93827e6cac5acf3df06147de28452293fc0befe6
2016-08-15 15:35:46 -06:00
Aaron Klotz b2d36aaaeb Bug 1268544: Followup for atk missing header build error; r=me
MozReview-Commit-ID: KJva79swOtr

--HG--
extra : rebase_source : 6cae700c8986530aeec87391591c5903de8b39b3
2016-08-15 15:05:28 -06:00
Aaron Klotz e6e0b5db60 Bug 1288843: Modify OuterDocAccessible so that ChildCount() and ChildAt(0) resolve RemoteChildDoc(); r=tbsaunde
MozReview-Commit-ID: 38qOXftPFid

--HG--
extra : amend_source : a3521e6549d8fbe28b88330a2f90351f24f003c0
2016-07-22 13:40:05 -06:00
Aaron Klotz 5dc67fdd18 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 9c133fb86d Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde
MozReview-Commit-ID: ctPgegQ83a
2016-08-15 14:24:12 -06:00
Aaron Klotz 413edf2a4e 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 f183dc7211 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 53a0a1af6b 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-04 18:28:08 -06:00
Aaron Klotz 55b28e20c7 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 14:24:04 -06:00
Michael Li 9ac779b2ab Bug 1294526 - Check for unexpected hide/reorder events in removeGrandChildrenNHideParent. r=surkov
MozReview-Commit-ID: GLiVPrMJr6P

--HG--
extra : rebase_source : ba7821e10c97965c9b6dd15632749aa153a9e48d
2016-08-12 17:34:00 -04:00
Igor 175543fda8 Bug 1293384 - Part 2: Rename Snprintf.h header to Sprintf.h. r=froydnj 2016-08-14 23:43:21 -07:00
Igor a57972337d Bug 1293384 - Part 1: Rename snprintf_literal to SprintfLiteral. r=froydnj 2016-08-14 23:44:00 -07:00
Alexander Surkov 0a78fab1e3 Bug 1294086 - remove debugging printf 2016-08-12 10:20:45 -04:00
Nicholas Nethercote bab6d17ebf Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
This patch makes the following changes on many in-class methods.

- NS_IMETHODIMP F() override;      --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final;         --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...}    --> NS_IMETHOD F() final {...}

Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.

--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Alexander Surkov 30c2b9aee8 Bug 1294086 - implement ARIA feed role, r=yzen 2016-08-10 14:07:29 -04:00
Michael Li cc740d9cf4 Bug 1289223: Make EventTree process all accessibility show events. r=surkov
MozReview-Commit-ID: 1wRLGHR9Vfc

--HG--
extra : transplant_source : VO%FD%80%0C.%15%9D%C4%82%3A%18%E2%C3WU%A1%8Fv%CF
2016-08-09 15:07:04 -04:00
Eitan Isaacson 2ae78b9900 Bug 1279214 - Use DOM instead of layout in HTMLComboboxAccessible::SelectedOption. r=surkov
MozReview-Commit-ID: GrBSyR9bABT

--HG--
extra : rebase_source : 4d5dab803751cde3f0943ca4649f5820eef1753a
2016-06-30 19:59:38 -07:00
Yura Zenevich d79c789318 Bug 527003 - renaming all XPCOM uses of deprecated accessible retrieval to accessibility service. r=surkov
MozReview-Commit-ID: DDJmHOMfXLo
2016-08-09 15:38:54 -04:00
Yura Zenevich 7d6abb5975 Bug 527003 - separating XPCOM parts from nsAccessibilityService. Removing a11y service in favour of using nsAccessibilityService directly. Adding support for a11y service shutdown. r=surkov
MozReview-Commit-ID: KKeywNi3fQb
2016-08-08 20:51:39 -04:00
Phil Ringnalda 0d69896d44 Backed out 6 changesets (bug 1288841, bug 1268544) for causing Win7 e10s Marionette to fail in test_import_script.py TestImportScriptContent.test_imports_apply_globally
Backed out changeset c9f49a119255 (bug 1288841)
Backed out changeset a9d43e83e070 (bug 1268544)
Backed out changeset d898178a0809 (bug 1268544)
Backed out changeset 4887b4164dd9 (bug 1268544)
Backed out changeset 7c3a5a770cae (bug 1268544)
Backed out changeset 12aa15cf5879 (bug 1268544)

--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
rename : accessible/ipc/win/ProxyAccessible.cpp => accessible/ipc/ProxyAccessible.cpp
rename : accessible/ipc/win/ProxyAccessible.h => accessible/ipc/ProxyAccessible.h
2016-08-18 00:30:21 -07:00
Aaron Klotz 50740cfde5 Bug 1288843: Modify OuterDocAccessible so that ChildCount() and ChildAt(0) resolve RemoteChildDoc(); r=tbsaunde
MozReview-Commit-ID: EsayZhH2nY8

--HG--
extra : rebase_source : decda5eeeebab0ee899cd67d51b0490b54f8ca5f
2016-07-22 13:40:05 -06:00
Aaron Klotz d53414c75a 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 01e4a55f10 Bug 1268544: Integrate remote COM objects into a11y code; r=tbsaunde
MozReview-Commit-ID: ctPgegQ83a
2016-08-15 14:24:12 -06:00
Aaron Klotz ce21f34f60 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 ca2a8c99dc 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 494a0e9e53 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-16 12:21:41 -06:00
Aaron Klotz c3a25c1ddc 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
Thomas Wisniewski fe6139c017 Bug 932755 - Add support for input/textarea minLength and tooShort. r=mrbkap
--HG--
extra : rebase_source : 064985cbb241ef8705dcec28f60db9f4caf65ae4
2016-08-17 00:11:24 -04:00
Alexander Surkov 727cb49410 Bug 1292627 - group text leaf insertions by parent before processing, r=yzen 2016-08-08 13:02:26 -04:00
Alexander Surkov 72a5e88c04 Bug 1274381 - scope accessible elements search to inserted nodes, r=yzen, f=marcoz 2016-08-05 10:20:58 -04:00
Igor 4efade90d4 Bug 1197331 - remove PR_snprintf calls in miscellaneous directories. r=nfroyd
--HG--
extra : rebase_source : a19f77db06e68bd3d69faf56b8bbdc1825f13249
2016-08-04 16:41:00 +02:00
Carsten "Tomcat" Book a826042a1d Merge mozilla-central to mozilla-inbound 2016-08-05 12:03:44 +02:00
Carsten "Tomcat" Book cf611bec79 merge mozilla-inboudn to mozilla-central a=merge 2016-08-05 12:01:14 +02:00
Aaron Klotz 33bba1e24c Bug 1288199: Add building of typelib to be embedded in ia2marshal.dll; r=mshal
Trevor, please read comment 1 in the bug for some discussion around the idl files in this patch.

MozReview-Commit-ID: Emos5mLuobS

--HG--
extra : rebase_source : fc445e2257536d55c0ddefca944152930d261272
2016-08-04 15:17:51 -06:00
Decky Coss b69450d2ea Bug 1287655 - place textarea/input cursor at end of text when initialized; r=smaug
MozReview-Commit-ID: 2srGXFmla07

--HG--
extra : transplant_source : %3Cn%D30%86%24%82%90%29%191%9C%8A%EB%0D%5D%E2%20%22%E5
2016-07-21 14:52:49 -04:00
Alexander Surkov f002f15624 Bug 1246447 - crash in mozilla::a11y::DocAccessible::ARIAAttributeChanged, r=yzen 2016-08-04 10:49:21 -04:00
Michael Li 3245c78fef Bug 1290217: Ensure input is removed after test before next one starts in browser_treeupdate_doc.js r=yzen
MozReview-Commit-ID: DhLarH20Zr6

--HG--
extra : rebase_source : f476cad1899c1ffe0bd2445815b3625a3b71398c
2016-08-03 12:39:04 -04:00
Michael Li 484dd39b6e Bug 1286952 - Make xpcAccessibleHyperText work with proxied accessibles. r=tbsaunde
MozReview-Commit-ID: 1E81sAlOIs1
2016-07-22 12:07:41 -04:00
Emilio Cobos Álvarez 11ac7c1d96 Bug 1288590: Rename nsAttrInfo to mozilla::dom::BorrowedAttrInfo. r=bholley
Unfortunately couldn't add all the debug checks that I'd want, since we can't
assert that is not safe to run script in quite a few places :(

MozReview-Commit-ID: 8m3Wm1WntZs
2016-07-27 11:18:33 -07:00
Emilio Cobos Álvarez d6cc7b9e13 Bug 1288590: Use GetAttrInfoAt in sdnAccessible.cpp. r=bholley
MozReview-Commit-ID: LQrtUwssnQN
2016-07-27 11:18:33 -07:00