Chris Peterson
2afd829d0f
Bug 1469769 - Part 6: Replace non-failing NS_NOTREACHED with MOZ_ASSERT_UNREACHABLE. r=froydnj
...
This patch is an automatic replacement of s/NS_NOTREACHED/MOZ_ASSERT_UNREACHABLE/. Reindenting long lines and whitespace fixups follow in patch 6b.
MozReview-Commit-ID: 5UQVHElSpCr
--HG--
extra : rebase_source : 4c1b2fc32b269342f07639266b64941e2270e9c4
extra : source : 907543f6eae716f23a6de52b1ffb1c82908d158a
2018-06-17 22:43:11 -07:00
Boris Zbarsky
014ef7f088
Bug 1466727 part 4. Stop using nsITreeColumn in accessibility code. r=surkov
2018-06-05 23:01:37 -04:00
Boris Zbarsky
3473c823b2
Bug 1466727 part 2. Remove use of nsITreeColumn in xpidl interfaces. r=mossop
...
There is one actual behavior change here, in the webidl version of
TreeBoxObject::GetCellAt. I believe this change fixes a leak of the
nsTreeColumn, but could use careful review.
I tried to avoid changes not needed to get this compiling. There will be a lot
more cleanup in the next few changesets.
2018-06-05 23:01:36 -04:00
Boris Zbarsky
10fde35340
Bug 1466673 part 3. Stop using nsITreeColumns in accessibility code. r=surkov
2018-06-05 13:30:17 -04:00
Boris Zbarsky
362122ad32
Bug 1466673 part 2. Remove use of nsITreeColumns in other xpidl interfaces. r=mossop
2018-06-05 13:30:17 -04:00
Boris Zbarsky
ddf179a7a7
Bug 1465875 part 3. Eliminate C++ use of nsIDOMNSEditableElement. r=qdot
2018-06-01 22:35:22 -04:00
Boris Zbarsky
4ef13b9076
Bug 1455676 part 2. Remove nsIDOMNode usage from accessible/. r=surkov
2018-05-29 22:58:47 -04:00
Tokio Kajitsuka
55c94aedca
Bug 1438193 - part11-9: NativeState r=surkov
...
turn NativeState into const functions
2018-05-16 03:04:50 +09:00
Tokio Kajitsuka
2b0e583f32
Bug 1438193 - part11-8: DoAction r=surkov
...
turn DoAction & ActionCount into const functions
2018-05-16 02:40:22 +09:00
Tokio Kajitsuka
4815618b61
Bug 1438193 - part11-7: TakeFocus r=surkov
...
turn TakeFocus & AnchorURIAt into const functions
2018-05-16 02:19:54 +09:00
Tokio Kajitsuka
eb3d9b85ce
Bug 1438193 - part11-6: Value r=surkov
...
turn Accessible::Value into a const function
2018-05-16 01:55:28 +09:00
Tokio Kajitsuka
0f609dc771
Bug 1438193 - part11-4: Name r=surkov
...
turn Name & ARIAName & NativeName into const functions
2018-05-16 01:13:02 +09:00
Tokio Kajitsuka
41078f48d3
Bug 1438193 - part11-2: RelationByType r=surkov
...
turn RelationByType into const functions
2018-05-15 22:47:10 +09:00
Tokio Kajitsuka
d4d0782393
Bug 1438193 - part10: SetCurrentItem r=surkov
...
turn SetCurrentItem & GetChromeFlags & HasChildren into const functions
2018-05-13 19:14:55 +09:00
Tokio Kajitsuka
d50e800761
Bug 1438193 - part9: CurrentItem r=surkov
...
turn Accessible::CurrentItem into const functions
2018-05-13 18:26:02 +09:00
Tokio Kajitsuka
9b9c3780fe
Bug 1438193 - part7: NativeRole r=surkov
...
turn NativeRole into const functions
2018-05-08 04:05:50 +09:00
Tokio Kajitsuka
005aa74ac6
Bug 1438193 - part6: DoCommand r=surkov
...
turn Accessible::DoCommand into a const function
2018-05-07 02:11:06 +09:00
Tokio Kajitsuka
80aa8d9625
Bug 1438193 - part5: IsMultiColumn r=surkov
...
turn ColCount and IsMultiColumn into const functions
2018-05-06 00:55:29 +09:00
Chris Peterson
71422dcaa9
Bug 1457813 - Part 2: Replace non-asserting NS_PRECONDITIONs with MOZ_ASSERTs. r=froydnj
...
s/NS_PRECONDITION/MOZ_ASSERT/ and reindent
MozReview-Commit-ID: KuUsnVe2h8L
--HG--
extra : source : c14655ab3df2c9b1465dd8102b9d25683359a37b
2018-04-28 12:50:58 -07:00
Tokio Kajitsuka
8c25b70c2d
Bug 1438193 - turn XULTreeItemAccessibleBase::GetCellName & IsExpandable into const functions, r=surkov
2018-05-04 22:19:48 +09:00
Tokio Kajitsuka
71145a2b80
Bug 1438193 - turn IsLink() into a const function, r=surkov
2018-05-04 21:48:34 +09:00
Cosmin Sabou
68fdb6cf4f
Merge inbound to mozilla-central. a=merge
2018-04-27 13:04:36 +03:00
Boris Zbarsky
21f3e98292
Bug 1455674 part 15. Remove use of nsIDOMElement in accessible. r=qdot
2018-04-26 23:37:33 -04:00
Boris Zbarsky
ba064862db
Bug 1455674 part 12. Remove nsIDOMElement use from xpidl in layout. r=mossop
2018-04-26 23:36:30 -04:00
Brian Grinstead
ab2a1a0d82
Bug 1456703 - Remove nsIDOMXULTextBoxElement r=enndeakin+6102
...
MozReview-Commit-ID: 6ZRzVq1bJjz
--HG--
extra : rebase_source : adb6e5cabbc38ed6774e905328b7f6f6095d01eb
2018-04-26 15:17:00 -07:00
Adrian Wielgosik
b3c501adc4
Bug 1447389 - Remove nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 11szZP6dS6V
--HG--
extra : rebase_source : 9acfb352750e53d3b36684fa945a18e817c9b82e
2018-04-25 23:01:30 +02:00
Andreea Pavel
a21531022b
Merge mozilla-inbound to mozilla-central. a=merge
...
--HG--
rename : toolkit/components/extensions/test/xpcshell/test_ext_browserSettings.js => toolkit/components/extensions/test/xpcshell/test_ext_proxy_config.js
2018-04-26 09:04:59 +03:00
Yura Zenevich
55fe960cc1
Bug 1450927 - add getBoundsInCSSPixels XPCOM method. r=surkov r=jld
...
MozReview-Commit-ID: CTANPVQw1sG
2018-04-25 14:51:09 -04:00
Tiberius Oros
2fffa00bb3
Backed out 2 changesets (bug 1450927) for failing on ProxyAccessible.cpp(247) on a CLOSED TREE
...
Backed out changeset ca285aed3926 (bug 1450927)
Backed out changeset d7dd8b0d2473 (bug 1450927)
2018-04-25 19:31:50 +03:00
Yura Zenevich
db18588465
Bug 1450927 - add getBoundsInCSSPixels XPCOM method. r=surkov r=jld
...
MozReview-Commit-ID: CTANPVQw1sG
2018-04-25 11:45:47 -04:00
Brian Grinstead
c79ba311f8
Bug 1456682 - Remove nsIDOMXULTreeElement;r=bz
...
MozReview-Commit-ID: 2QstcmlXh9S
--HG--
extra : rebase_source : 7f767686c65426a1079c0b10092d32dee91a4e3b
2018-04-25 06:58:56 -07:00
Brian Grinstead
824507efc4
Bug 1455392 - Remove checkState from nsIDOMXULCheckboxElement and nsIDOMXULButtonElement;r=bz,surkov
...
There aren't any consumers for the third state, so `checked` is enough.
MozReview-Commit-ID: BpcQX2acA6C
--HG--
extra : rebase_source : f43c9fbe8d774208d203e4d819f39d3d99da05ff
2018-04-20 09:37:03 -07:00
Ciure Andrei
873d562bc3
Backed out 8 changesets (bug 1451169) on request from njn a=backout
...
Backed out changeset b92f856e15a8 (bug 1451169)
Backed out changeset 348e825756fa (bug 1451169)
Backed out changeset 624d82428726 (bug 1451169)
Backed out changeset 4d51610ca08e (bug 1451169)
Backed out changeset bb76a9589717 (bug 1451169)
Backed out changeset c145fbd03947 (bug 1451169)
Backed out changeset 6d36289e0f54 (bug 1451169)
Backed out changeset 914fb7cd9fc3 (bug 1451169)
--HG--
extra : histedit_source : 94de6631919f895dec422bc0e564f5baf885ba4a%2C18f52c6c11d3064d3137a6847575effb7d407894
2018-04-11 11:22:05 +03:00
Boris Zbarsky
f2f3fe42ff
Bug 1452185
part 3. Remove unnecessary nsIDOMXULElement includes. r=qdot
...
MozReview-Commit-ID: Ft5MnbFtyB9
2018-04-09 16:30:32 -04:00
Nicholas Nethercote
a560608963
Bug 1451169 - Use `nsStaticAtom*` instead of `nsStaticAtom**` in Element.h. r=baku
...
And then fix up everything else that needs to change as well.
MozReview-Commit-ID: GDMfERqdQAc
--HG--
extra : rebase_source : 01fe06c3182245a409099a53383d92bf4fa0155c
2018-04-03 13:21:06 +10:00
Tokio Kajitsuka
de03ee873d
Bug 865615 - Remove Accessible::DOMNode. r=surkov
...
Replace Accessible::DOMNode with Accessible::GetNode version
--HG--
extra : rebase_source : c8b2480e3ec521afbc3979d6932b6876c85796b5
2018-03-23 00:52:14 +09:00
Boris Zbarsky
29d232e53f
Bug 1447098 part 1. Rename FromContent on various DOM classes to FromNode. r=mystor
...
MozReview-Commit-ID: 202nkbmkwfR
2018-03-21 17:39:04 -04:00
Adrian Wielgosik
af8740d569
Bug 1447392 - Remove all members from nsIDOMNodeList. r=bz
...
MozReview-Commit-ID: 68xF7CTMpKB
--HG--
extra : rebase_source : 28b9c5e31d1c93b5c56743e12909eb749e8688f9
2018-03-20 19:02:08 +01:00
Timothy Guan-tin Chien
e1b7b86b11
Bug 1442029 - Move XBL accessibility role="xul:colorpicker" and role="xul:colorpickertile" into XULMap.h r=enndeakin+6102,surkov
...
- Remove the colorpickertile binding as it's no longer useful.
- Remove nsAccessibilityService::CreateAccessibleByType() as it has nothing to do anymore.
- Remove nsCoreUtils::XBLBindingRole()
MozReview-Commit-ID: E21yljdsSLl
--HG--
extra : rebase_source : f0db5893107ee0c493291c7c0bafaaef1d4bcffa
2018-03-02 09:53:55 -08:00
Timothy Guan-tin Chien
5dbdc07e62
Bug 1439778 - Move XBL accessibility role="xul:panel" into XULMap.h r=surkov
...
MozReview-Commit-ID: LqdGEZqRTWA
--HG--
extra : rebase_source : 3c09fad59731eca97024bf52f68180c254c4e8ee
extra : source : adbe14b1537b1cb1ec3f390ed3703edbfeb799d8
2018-03-01 13:21:00 -08:00
Timothy Guan-tin Chien
0b070afeaf
Bug 1437873 - Move XBL accessibility role="xul:toolbarbutton" and role="xul:button" into XULMap.h r=enndeakin+6102
...
This patch intentionally re-map the following controls from button to toolbarbutton
- browser/components/downloads/content/download.xml#download-subview-toolbarbutton
- toolkit/content/widgets/toolbarbutton.xml#menu-button
MozReview-Commit-ID: E806LA6NAvC
--HG--
extra : rebase_source : 8e7534dc34f95e1d0cc6d00370475cc796acc36e
2018-02-28 11:35:57 -08:00
Timothy Guan-tin Chien
26bfe8c245
Bug 1440392 - Move XBL accessibility role="xul:menupopup" into XULMap.h r=enndeakin+6102
...
MozReview-Commit-ID: IeR805H6qW8
--HG--
extra : rebase_source : 883ddd2f08b985000563646d48972caa28aee0bd
2018-02-28 11:26:51 -08:00
Chris Peterson
fe5cd3d5d9
Bug 1436263 - Part 3: Remove `virtual` from final virtual function declarations. r=froydnj
...
MozReview-Commit-ID: 8pjYjEvQF42
--HG--
extra : rebase_source : 5eb0bea2ef5f06a811b4f3daf57ce8720f12dd07
2018-02-08 21:22:43 -08:00
Chris Peterson
0129d900f3
Bug 1436263 - Part 2: Replace `override final` virtual function specifiers with just `final`. r=froydnj
...
MozReview-Commit-ID: 70gt5SUu4Dv
--HG--
extra : rebase_source : 71912c6bde22aaed01e70615a4ee794a36e70d0e
extra : source : 1c22d4c65d70b797ee3e963ec426c90e1f89b5e3
2018-02-05 22:50:00 -08:00
Boris Zbarsky
9bdcffc985
Bug 1436902 part 3. Replace usage of NS_IMPL_ISUPPORTS_INHERITED0 with NS_INLINE_DECL_REFCOUNTING_INHERITED when possible. r=mccr8
...
The change to RootAccessible.cpp fixes an obvious bug introduced in bug 741707.
The visibility changes in gfx/thebes are because NS_DECL_ISUPPORTS has a
trailing "public:" that those classes were relying on to have public
constructors.
MozReview-Commit-ID: IeB8KIJCGhU
2018-02-12 15:44:40 -05:00
Boris Zbarsky
92bbd744e1
Bug 1436508 part 11. Remove the use of the nsIDOMKeyEvent::DOM_VK* constants in C++. r=masayuki
...
MozReview-Commit-ID: Honw0NrVMuV
2018-02-09 11:17:09 -05:00
Milan Sreckovic
6cf51345e7
Bug 1423541: Use BaseRect access methods instead of member variables in accessible/ r=surkov
...
MozReview-Commit-ID: KRfgYEW7aWY
--HG--
extra : rebase_source : b88fcdb3095ac9bfa82ae6a596070d80c1c482fd
2018-01-12 12:07:29 -05:00
Emilio Cobos Álvarez
c8eb630ebe
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
2017-12-25 17:50:10 +01:00
Emilio Cobos Álvarez
ffdf5d2cb5
Backout changeset e43f568b3e9a (bug 1423990) because some OSX-only code still doesn't build. r=me
2017-12-25 12:55:45 +01:00
Emilio Cobos Álvarez
c0959b2955
Bug 1423990: Move the last few attribute-related methods outside of nsIContent. r=bz
...
MozReview-Commit-ID: 8JZuS6O8f8W
--HG--
extra : rebase_source : 09b82acb4f3d69e8a4345457ab217443bc28d6e2
2017-12-07 19:13:50 +01:00
Jorg K
a83efbdfb5
Bug 1426062 - Follow-up for bug 1422465: check parent before dereferencing it. r=surkov
2017-12-20 00:00:00 -05:00
Eric Rahm
b1c032672b
Bug 1424120 - Part 5: Enforce support for only radix of 10 and 16. r=njn
...
In theory other radixes can be passed in but we don't actually handle them.
This asserts that the radix is supported and just switches over to using 10 and
16 directly.
--HG--
extra : rebase_source : 71891302d499bfd108a5bb41626d921b3be193ce
2017-12-07 18:54:13 -08:00
Sylvestre Ledru
9bfe27d903
Bug 1394734 - Replace CONFIG['GNU_C*'] by CONFIG['CC_TYPE'] r=glandium
...
MozReview-Commit-ID: 7duJk2gSd4m
--HG--
extra : rebase_source : 7312fe276e561e8c034a5f6749774ae812727f9c
2017-12-07 22:09:15 +01:00
Brian Grinstead
9c9c6b777b
Bug 1422465 - Remove the nsIDOMXULPopupElement interface and [implements] attribute on the "popup-base" and "panel" bindings;r=bz,surkov
...
MozReview-Commit-ID: EvzuohEgFSh
--HG--
extra : rebase_source : 838cd68dda56778e6815c7c75a6ca158902c8f29
2017-12-07 13:37:06 -08:00
Emilio Cobos Álvarez
74b31155f7
Bug 1423167: Move most attribute-related methods from nsIContent to Element. r=bz
...
MozReview-Commit-ID: 6WXqNiODttD
2017-12-06 16:05:59 +01:00
Nicholas Nethercote
d225f7151b
Bug 1400460 - Rename nsIAtom as nsAtom. r=hiro.
...
(Path is actually r=froydnj.)
Bug 1400459 devirtualized nsIAtom so that it is no longer a subclass of
nsISupports. This means that nsAtom is now a better name for it than nsIAtom.
MozReview-Commit-ID: 91U22X2NydP
--HG--
rename : xpcom/ds/nsIAtom.h => xpcom/ds/nsAtom.h
extra : rebase_source : ac3e904a21b8b48e74534fff964f1623ee937c67
2017-10-03 09:05:19 +11:00
Alexander Surkov
bcaf90fda4
Bug 1368269 - Crash in mozilla::a11y::XULTreeAccessible::Shutdown, r=marcoz
2017-09-12 10:24:00 -04:00
Andrew McCreight
64b725c5cd
Bug 1390660, part 2 - Define and use a new macro for CC isupports. r=peterv
...
The main purpose of defining this is to make conversion of places that
use the non-CC variant easier. There are many more places that could
be converted to use these new macros, if somebody felt motivated.
MozReview-Commit-ID: HspjcN76fjg
--HG--
extra : rebase_source : bf3baa586f90f0afbe9229c32d38cb34cc909b9b
2017-08-16 13:14:11 -07:00
Andrew McCreight
78807d8776
Bug 1391005 - Eliminate NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION_INHERITED. r=peterv
...
Replace it with NS_INTERFACE_MAP_BEGIN_CYCLE_COLLECTION, because it
has been the same for a while.
MozReview-Commit-ID: 5agRGFyUry1
--HG--
extra : rebase_source : 5388c56b2f6905c6ef969150f0c5b77bf247624d
2017-08-29 16:02:48 -07:00
Joanmarie Diggs
99540643ac
Bug 1379098 - ARIA combobox should map to AXComboBox. r=marcoz
...
Create a new internal role EDITCOMBOBOX so that we can distinguish
comboboxes with a text input (which is the case for the ARIA role)
from those which consist of only a popup button and associated list
(which is the case for the select element with a size of 1). Also
change the type of ARIA combobox from kGenericAccType to eCombobox
so that IsCombobox() will return true for both EDITCOMBOBOX and
COMBOBOX. Lastly, call IsCombobox() rather than role() when assigning
internal roles to descendants of comboboxes and emitting accessibility
events.
--HG--
extra : rebase_source : 3e31f2e2423d6cc7697b03c9afb3b1f8c136675a
2017-07-11 11:16:00 +02:00
Sylvestre Ledru
4e9cf83ee8
Bug 1378712 - Remove all trailing whitespaces r=Ehsan
...
MozReview-Commit-ID: Kdz2xtTF9EG
--HG--
extra : rebase_source : 7235b3802f25bab29a8c6ba40a181a722f3df0ce
2017-07-06 14:00:35 +02:00
Masatoshi Kimura
b515c9c804
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : fdae0046f882d47fb539a7f882364e5c5caafdcd
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Sebastian Hengst
dfc1ad2562
Backed out changeset 7235d05662b0 (bug 1373984) for Android bustage. r=backout on a CLOSED TREE
2017-06-25 18:30:13 +02:00
Masatoshi Kimura
2e04751921
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : a84ab644f52e68676b45f112ff69f868d89f6177
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Wes Kocher
e02435a31e
Backed out changeset 77af189b5c49 (bug 1373984) for build bustage in nsHtml5Parser.cpp a=backout CLOSED TREE
...
MozReview-Commit-ID: 6kBmU71j2To
2017-06-25 05:10:14 -07:00
Masatoshi Kimura
241039fd97
Bug 1373984 - Turn nsIDocument::mCharacterSet into mozilla::NotNull<const mozilla::Encoding*>. r=hsivonen
...
MozReview-Commit-ID: GF0YXDwfA14
--HG--
extra : rebase_source : 09da1685795583513bf019d61c58230c2c4d298d
extra : source : 49249788c0dee331ac2989dc39f0505d965a7bd8
2017-06-18 20:37:50 +09:00
Masatoshi Kimura
a4c9e326d4
Bug 1358758 - Use CSSIntRect for nsIFrame::GetScreenRect. r=kats
...
MozReview-Commit-ID: KXPL1ERbFDa
--HG--
extra : rebase_source : 263b18d1736b09bb62d914f066481281966b288c
2017-04-25 07:33:13 +09:00
Alexander Surkov
bc2c7e65ad
Bug 1321384 - add debuggin assert for Accessible::RemoveChild, r=yzen
2017-03-09 14:55:54 -05:00
Boris Zbarsky
e57875aac9
Bug 835981 part 4. Change nsXULElement::ClickWithInputSource to return void and switch consumers of nsIDOMXULElement::Click to nsXULElement. r=peterv
2017-02-02 10:32:58 -05:00
Yura Zenevich
ff36888e8e
Bug 1333843 - xultab accessible needs to support HyperTextAccessibleWrap. r=surkov
...
MozReview-Commit-ID: Gt0Rt33udNV
2017-01-27 11:10:27 -05:00
Nathan Froyd
cc58e177e9
Bug 1333097 - remove kAutoDetect usage from XULMenuItemAccessible; r=bz
...
Instead of requiring nsString to determine the radix that we're using,
we'll just try all the cases in sequence and take the first one that
works.
2017-01-23 16:29:57 -05:00
Aaron Klotz
a90989b900
Bug 1304449: Part 4 - Change Windows a11y MSAA id generation to partition based on content process id; r=tbsaunde
...
MozReview-Commit-ID: 1IBkP20uc1f
--HG--
extra : rebase_source : d0861da3419534f04f2e9de66157b8cde57c1ccd
2016-10-05 15:56:20 -06: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
Tom Tromey
5538d692d3
Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
...
This removes the unnecessary setting of c-basic-offset from all
python-mode files.
This was automatically generated using
perl -pi -e 's/; *c-basic-offset: *[0-9]+//'
... on the affected files.
The bulk of these files are moz.build files but there a few others as
well.
MozReview-Commit-ID: 2pPf3DEiZqx
--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Marco Zehe
6d3d2e75ef
Bug 1248415 - Improve screen reader accessibility of various Preference panes groupbox labeling, r=surkov
...
--HG--
extra : rebase_source : c7942e48cc199f5c38d4da08a2b688e1072550e3
2016-05-18 07:10:49 +02:00
Chris Peterson
353ee65255
Bug 1272513 - Part 1: Suppress -Wshadow warnings-as-errors in some directories. r=glandium
2016-05-11 00:00:01 -07:00
alexander
ddd1904862
Bug 1260862 - "remove Cache/EnsureChildren". r=mzehe
2016-03-30 12:53:00 +02:00
Alexander Surkov
c9b15d3087
Bug 1260860 - stop illicit accessible stealing, r=yzen
2016-04-01 11:07:57 -04:00
Alexander Surkov
35ac8eea5d
Bug 1260277 - remove empty CacheChildren's, r=marcoz
2016-03-31 21:40:56 -04:00
Gregory Szorc
916dddfb76
Bug 1257350 - Use intptr_t to avoid C4312 on VS2015; r=tbsaunde
...
Without this, we get several warnings like:
reinterpret_cast': conversion from 'int32_t' to 'void *' of
greater size
MozReview-Commit-ID: sy2eTB2fjs
--HG--
extra : rebase_source : 16bd44fba1666c68c2fa163e57ed703eb0c823ed
extra : histedit_source : ea51ff0f6c2498d4ac87c50ede0ce70958d37a07
2016-03-23 16:42:29 -07:00
Mike Hommey
7f131dbc35
Bug 1256988 - Replace tests on MOZ_ENABLE_GTK with tests on MOZ_WIDGET_TOOLKIT containing gtk. r=chmanchester
2016-03-17 06:49:44 +09:00
Alexander Surkov
bd8b96d1c0
Bug 1251712 - propagate a context flag for alerts, r=davdib
2016-02-29 10:08:40 -05:00
Alexander Surkov
3ac6460f92
Bug 1250506 - check if node is acceptable as a child before creating an accessible for it, r=davidb
2016-02-24 08:01:21 -05:00
Alexander Surkov
359d675f8f
Bug 1249930 - menupoup shouldn't look for children in XBL anonymous content, r=davidb
2016-02-23 11:04:10 -05:00
Alexander Surkov
58922d0029
Bug 1249927 - devirtualize CanHavaAnonymousChildren, r=davdib
2016-02-22 12:32:03 -05: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
Nathan Froyd
01583602a9
Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
...
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout. The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.
CLOSED TREE makes big refactorings like this a piece of cake.
# The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
xargs perl -p -i -e '
s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
s/nsRefPtr ?</RefPtr</g; # handle declarations and variables
'
# Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h
# Handle nsRefPtr.h itself, a couple places that define constructors
# from nsRefPtr, and code generators specially. We do this here, rather
# than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
# things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
mfbt/nsRefPtr.h \
xpcom/glue/nsCOMPtr.h \
xpcom/base/OwningNonNull.h \
ipc/ipdl/ipdl/lower.py \
ipc/ipdl/ipdl/builtin.py \
dom/bindings/Codegen.py \
python/lldbutils/lldbutils/utils.py
# In our indiscriminate substitution above, we renamed
# nsRefPtrGetterAddRefs, the class behind getter_AddRefs. Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'
if [ -d .git ]; then
git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Gijs Kruitbosch
cd5713a51d
Bug 1123760 - bustage follow-up: remove unused variable, rs=bustage on a CLOSED TREE
...
--HG--
extra : commitid : As5ZYBprXOm
extra : amend_source : 2981eb096957ef64d1bc8d16b4be26d8ecc287d5
2015-10-15 18:36:47 +01:00
Gijs Kruitbosch
3afe5469df
Bug 1123760 - make autocomplete dropmarker in the urlbar actually work when activated through a11y APIs, r=surkov
...
--HG--
extra : commitid : Cu83QcuhCxT
extra : rebase_source : 4e06008d7777ca862aaabfc43ff36979f4d6083e
extra : amend_source : 50c63af8003e62b9b89fa9014d1753c58252e62b
2015-10-13 17:19:41 +01:00
Nicholas Nethercote
f44287005f
Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
...
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
--HG--
extra : rebase_source : 82e3387abfbd5f1471e953961d301d3d97ed2973
2015-08-27 20:44:53 -07:00
Andrea Marchesini
085da9302a
Bug 1156632 - Remove unused forward class declarations - patch 5 - rdf, parser, layout and something else, r=ehsan
2015-04-22 08:29:22 +02:00
Denis Volk
32e981896d
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Marco Zehe
b48c48870d
Bug 1149118 - Expose radio group with the correct role on OS X, r=surkov
2015-03-30 15:37:09 +02:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Andrea Marchesini
aad7ac889a
Bug 1134280 - Get rid of Tag() - patch 2.1 - /accessible - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:08:59 +00:00
Alexander Surkov
3984f70fc8
Bug 1133322 - tweak shutdown procedure for accessibles maintaining own trees, r=yzen
2015-02-18 23:37:32 -05:00
Trevor Saunders
8cb9eae58a
bug 1122242 - use MOZ_OVERRIDE more in accessible/ r=surkov
2015-01-19 17:41:12 -05:00
Ehsan Akhgari
7ab7d98dbb
Bug 1117037 - Mark virtual overridden functions as MOZ_OVERRIDE in accessible/; r=tbsaunde
2015-01-02 18:47:38 -05:00
Chris Peterson
22d0c4b343
Bug 1107814 - Part 1: Mark more directories as FAIL_ON_WARNINGS for all compilers. r=gps
2014-12-04 16:24:03 -08:00
Wes Kocher
126b4f108e
Backed out changeset bf25101e66cf (bug 1095098) for build bustage
2014-12-08 16:27:12 -08:00