Ting-Yu Lin
e3d43dad6d
Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
...
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 03:00:00 -04:00
Carsten "Tomcat" Book
44bc20766a
Backed out changeset c5e6edadb0d1 (bug 1172382) for mulet R6 Reftest Failures
2015-07-27 08:47:23 +02:00
Ting-Yu Lin
144163d42f
Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
...
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.
2015-07-27 11:56:04 +08:00
Boris Zbarsky
938a6621cb
Bug 1177819. Replace the warning about anon content being passed into frame construction with an assert plus whitelisting of the known-OK cases. r=dholbert
2015-07-23 11:51:09 -04:00
Kartikaya Gupta
c4a7ab6183
Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange
2015-07-22 23:42:08 -04:00
Eric Rahm
b69e56d7e5
Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan
2015-07-22 09:24:59 -07:00
Eric Rahm
ce65d9290b
Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan
2015-07-15 14:48:09 -07:00
Birunthan Mohanathas
e52329c788
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Andrew Comminos
085390ca52
Bug 1182494 - Set background-color to white when moz-appearance is none in editor reftests. r=mstange
2015-07-10 07:49:00 +02:00
Geoff Brown
495b7cbfe1
Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin
2015-07-10 14:41:59 -06:00
Jeff Walden
46d87fd534
Bug 1165533 - When testing DOMRect.top for getBoundingClientRect(), test only for +0, not for -0. r=Ms2ger
2015-07-02 21:19:10 -07:00
William Chen
b672752886
Bug 1178513
- Add <extapp> element and interfaces to be used by ACL. r=khuey
2015-06-30 11:27:57 -07:00
Michael Layzell
954a43b51d
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-30 08:18:04 -04:00
Ehsan Akhgari
0c1eb4b2b4
Backout changeset d648becaa638 (bug 1170531) for test failures
2015-06-27 13:14:06 -07:00
Michael Layzell
709f53ca94
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-27 12:37:44 -07:00
Blake Kaplan
dc360b12a8
Bug 1168223 - Fix a crash caused by unexpected flushes under nsIEditor::SetFlags. r=ehsan
2015-06-25 13:58:01 -07:00
Carsten "Tomcat" Book
6f38001205
Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html
2015-06-22 15:21:02 +02:00
Neil Deakin
8f5a9e14f6
Bug 1153518, allow drops on editors when the source is a remote browser, r=ehsan
2015-06-22 09:00:35 -04:00
Michael Layzell
01d8a62f71
Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan
2015-06-22 08:13:26 -04:00
Andrea Marchesini
7e2703b48d
Bug 1170326 - nsHTMLCSSUtils::ParseLength should check if the input is an empty string, r=ehsan
2015-06-15 17:08:50 +01:00
Michael Layzell
550730ff35
Bug 1027560 - Return false from document.execCommand() and friends when not in editable document. r=ehsan
2015-06-02 09:07:00 -04:00
Ryan VanderMeulen
ffe7bfdc85
Bug 1067788 - Fix non-unified bustage. r=ehsan
2015-06-04 15:03:54 -04:00
Masayuki Nakano
f02d7cdac2
Bug 1162818 part.6 Don't notify IME of anything during reframing the editor r=smaug
2015-06-05 02:06:10 +09:00
Masayuki Nakano
aa07a30e72
Bug 1162818 part.5 The offset of nsEditor::InsertTextImpl() should be minimum offset of IME selections if there is r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
cb43121733
Bug 1162818 part.4 Restore IME selection at initializing selection of the editor r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
783680ad00
Bug 1162818 part.3 nsEditor should store actual composition string length in it r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
1d957064de
Bug 1162818 part.2 Make it possible to set IME selection from outside of IMETextTxn r=ehsan
2015-06-05 02:06:09 +09:00
Masayuki Nakano
b9c51d6caa
Bug 1162818 part.1 nsEditor shouldn't release/forget mComposition becuase it should be handled by it after reframing r=ehsan
2015-06-05 02:06:09 +09:00
Ted Clancy
7ac21417a2
Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
2015-06-01 15:19:57 -04:00
Masayuki Nakano
b2175a7b21
Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan
2015-05-29 00:58:42 +09:00
Michael Layzell
36836569ab
Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
2015-05-13 08:51:00 +02:00
Masayuki Nakano
4f830b07ae
Bug 1168079 nsTextEditRules::CollapseSelectionToTrailingBRIfNeeded() should ensure that there is a selection before calling nsEditor::GetStartNodeAndOffset() r=ehsan
2015-05-28 13:50:44 +09:00
Carsten "Tomcat" Book
0fac269a69
Backed out changeset 1f0306d29dec (bug 1012662)
2015-05-26 13:33:48 +02:00
Carsten "Tomcat" Book
c5cb32d2c2
Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests
2015-05-26 13:13:48 +02:00
Michael Layzell
05ea59b946
Bug 1027560 - return false from document.execCommand() and friends when not in editable document. r=ehsan
2015-05-14 06:46:00 +02:00
Michael Layzell
6456704cff
Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
2015-05-13 08:51:00 +02:00
Michael Layzell
3b01959964
Bug 1162952 - Return true from document.queryCommandEnabled('cut'/'copy') when in privileged or user-initiated code. r=ehsan
2015-05-25 10:09:00 +02:00
Ehsan Akhgari
faf076302f
Bug 1166932 - Part 1: Copy the editor observers array before iterating over it; r=roc
2015-05-23 09:59:45 -04:00
Birunthan Mohanathas
f7b0326191
Bug 1166840 - Merge SpecialPowers.{copyString,clipboardCopyString}. r=ehsan
2015-05-21 21:50:04 +01:00
Birunthan Mohanathas
c325827ed4
Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan
2015-05-21 21:49:30 +01:00
Nathan Froyd
472db75968
Bug 1165982 - part 2 - validate an nsRange::SelectNode call in nsHTMLEditRules::Init; r=ehsan
2015-05-19 14:08:54 -04:00
Nathan Froyd
0540fa19c5
Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan
2015-05-22 09:58:30 -04:00
Michael Layzell
32e0fe44f2
Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan
2015-05-21 06:37:00 -04:00
Michael Layzell
1e81219f05
Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan
2015-05-14 08:02:00 -04:00
Ms2ger
02935399a5
Bug 1145395 - Introduce an overload of nsHTMLEditor::RemoveStyleInside that takes nsIContent&; r=ehsan
2015-05-13 17:58:26 +02:00
Ms2ger
e1b1c18b59
Bug 1145395 - Pass Element& to nsHTMLEditor::RemoveElementIfNoStyleOrIdOrClass; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
f402d96073
Bug 1145395 - Introduce an overload of nsHTMLEditor::SelElementPosition that takes an Element; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
d457a0c0ab
Bug 1145395 - Call nsINode::Length directly in nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
4887070f14
Bug 1145395 - Pass nsINode& to RemoveBodyAndHead in nsHTMLDataTransfer; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
67ffa2b447
Bug 1145395 - Pass nsIContent& to nsHTMLEditor::StripFormattingNodes; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
a0d89be92b
Bug 1145395 - Use the local fragment variable rather than *outFragNode; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
f335a83ac9
Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan
2015-05-13 17:58:25 +02:00
Ms2ger
ac695b52bd
Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan
2015-05-13 17:58:25 +02:00
Jorg K
ba4595d8aa
Bug 1140617 - Don't clear inline style when pasting image. r=ehsan
2015-05-06 16:15:00 +02:00
Kartikaya Gupta
4977bd28c8
Bug 1163640 - Fix the test for bug 417418 to not leave the widget in a drag session. r=ehsan
2015-05-11 17:21:30 -04:00
Jan Horak
c5dad176b5
Bug 967494 - "Preference Composition/Spelling/Language is ignored, and changing spellcheck language in one composition window affects all open and new compositions" [r=ehsan]
2015-04-28 12:01:00 +03:00
Ehsan Akhgari
2c9e11f05b
Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
2015-05-08 22:45:16 -04:00
Anthony Tseng
96161fc227
Bug 1158425 - Rename _SYNTH event names. r=smaug
2015-05-01 22:06:00 -04:00
Ehsan Akhgari
889a42a694
Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc
2015-04-29 18:35:00 -04:00
Mike Hommey
b673a97a25
Bug 1134923 - Remove NS_Alloc/NS_Realloc/NS_Free. r=nfroyd
...
They are kept around for the sake of the standalone glue, which is used
for e.g. webapprt, which doesn't have direct access to jemalloc, and thus
still needs a wrapper to go through the xpcom function list and get to
jemalloc from there.
2015-05-01 09:40:30 +09:00
Ehsan Akhgari
71a9fd95c6
Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc
2015-04-27 21:13:10 -04:00
Boris Zbarsky
f21de90e5b
Bug 1158452. Pass in the right node when messing with font sizes in editor. r=ehsan
2015-04-27 15:29:22 -04:00
Ehsan Akhgari
bb5762dcf6
Bug 1158920 - Yield to the event loop before reading the spelling suggestions
2015-04-27 15:09:22 -04:00
Boris Zbarsky
7f61a6b625
Bug 1157898 part 5. Eliminate the remaining non-ErrorResult consumers of ErrorResult::ErrorCode and make it protected. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
84a1df27d6
Bug 1157898 part 3. Fix the remaining consumers of rv.ErrorCode() in NS_ENSURE_* expressions to not do that. r=peterv
2015-04-27 09:18:52 -04:00
Boris Zbarsky
81b0818981
Bug 1157898 part 2. Make code of the form "NS_ENSURE_SUCCESS(rv.ErrorCode(), rv.ErrorCode());" use Failed and StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/NS_ENSURE_SUCCESS\(([a-zA-Z0-9]+)\.ErrorCode\(\), \1.ErrorCode\(\)\);/NS_ENSURE_TRUE(!\1.Failed(), \1.StealNSResult());/'
2015-04-27 09:18:52 -04:00
Boris Zbarsky
ef887403cb
Bug 1157898 part 1. Make code of the form "return rv.ErrorCode();" where rv is an ErrorResult use StealNSResult instead. r=peterv
...
This patch was generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 's/return ([a-zA-Z0-9]+)\.ErrorCode\(\);/return \1.StealNSResult();/'
2015-04-27 09:18:51 -04:00
Jorg K
277c6d9d9b
Bug 1140105 - Can't query for a specific font face when the selection is collapsed. r=ehsan
2015-04-24 05:57:00 -04:00
David Anderson
e00d8cbb9c
Mark unaccelerated antialiasing reftest failures with APZ as fuzzy. (bug 1157716, r=mstange)
...
With APZ, we always layerize the first scrollable element of the page,
if the page itself is not scrollable. These additional layers can cause
fuzzy reftest failures in two ways: differences in blending, and by
disabling sub-pixel test anti-aliasing. The latter is only a problem
with unaccelerated drawing, because we don't support component alpha
layers with BasicLayers. (We also don't support them with
BasicCompositor, but "Reftest unaccelerated" only tests BasicLayers).
2015-04-24 10:13:32 -04:00
Aryeh Gregor
60e79c4b89
Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
a916810d05
Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
86e6d15d10
Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
ea5607b0ca
Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
a1cad73224
Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
1b16335f84
Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan
2015-04-24 14:27:36 +03:00
Aryeh Gregor
34c6f87a69
Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
88ee1a586a
Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
da919a24a7
Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
d51b3753fb
Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
72b0851116
Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
20b262efef
Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
a77452b4a0
Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
00ccfa3b70
Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
1c057d492f
Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
fc151756f2
Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
8ebaae647c
Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
e53a3494dd
Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
699717093d
Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
95b4f74b17
Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
180730d7f9
Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
3f06c3d62c
Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
a4e081470a
Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
a9c9700557
Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan
2015-04-24 14:27:35 +03:00
Aryeh Gregor
6ba4475b8e
Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan
2015-04-24 14:27:34 +03:00
Aryeh Gregor
2a54a41df3
Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan
2015-04-24 14:27:34 +03:00
Aryeh Gregor
3db1b80bcf
Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
56824fe39c
Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
0fba83159c
Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
172d0c1597
Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
53f489a678
Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
bed9008fa9
Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
b82cb2f631
Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
4410d84371
Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj
2015-04-24 14:27:34 +03:00
Aryeh Gregor
bcb49b3118
Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj
2015-04-24 14:27:34 +03:00
Jorg K
0453bd0a88
Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan
2015-04-22 10:50:00 +02:00
Carsten "Tomcat" Book
e1e4052c9c
merge mozilla-central to mozilla-inbound IGNORE IDL
2015-04-22 16:09:56 +02:00
Kartikaya Gupta
b1a8b5072c
Back out cset 17aad8f83237 (bug 1154499) now that we have a nightly with APZ enabled. r=me a=me
2015-04-22 09:36:25 -04:00
David Anderson
acfb50a423
Enable APZ for E10S on Windows for one Nightly. This patch will be backed out after one nightly. (bug 1154459, r=kats, a=ryanvm)
2015-04-21 15:35:19 -04:00
Kyle Huey
eb37bb1d21
Backed out 3 changesets (bug 102663, bug 915962) for crashing constantly. a=me
...
Backed out changeset 984018eae04a (bug 102663)
Backed out changeset ec40bfefa08d (bug 915962)
Backed out changeset 79aeff6684f6 (bug 915962)
2015-04-21 09:19:01 -07:00
Carsten "Tomcat" Book
e1c2057b11
Backed out changeset 76d12a766103 (bug 1154791) for m-oth test bustage on a CLOSED TREE
2015-04-21 11:03:34 +02:00
Jorg K
53e93a2848
Bug 1154791 - Remember all ranges for all selections when splitting nodes in the editor transactions; r=ehsan
2015-04-17 14:47:00 +02:00
Carsten "Tomcat" Book
13966ec6ab
Backed out 35 changesets (bug 1153629, bug 1149163, bug 1154701) for memory leaks in AsyncLatencyLogger, AsyncStatement etc on a CLOSED TREE
...
Backed out changeset e64fa8717641 (bug 1154701)
Backed out changeset 4fd3566e571c (bug 1154701)
Backed out changeset 9801778d9d5b (bug 1154701)
Backed out changeset a57f36dc00b4 (bug 1154701)
Backed out changeset 9bd74af965fd (bug 1154701)
Backed out changeset 69f9ae64772d (bug 1154701)
Backed out changeset 07620ff1a21a (bug 1154701)
Backed out changeset 8bd58656d297 (bug 1154701)
Backed out changeset a4d41b284d92 (bug 1154701)
Backed out changeset 1ab63df2b8eb (bug 1154701)
Backed out changeset 31281738003d (bug 1154701)
Backed out changeset 5ad34b482c25 (bug 1154701)
Backed out changeset d8a83215797f (bug 1154701)
Backed out changeset 81825eff1936 (bug 1154701)
Backed out changeset 25bc426c8c0e (bug 1153629)
Backed out changeset a9d071f07242 (bug 1153629)
Backed out changeset 1f0fdf67005d (bug 1153629)
Backed out changeset af47b386bea7 (bug 1153629)
Backed out changeset 42f5d3fc71b3 (bug 1153629)
Backed out changeset b0b609c3da83 (bug 1153629)
Backed out changeset 9a62d4ec4542 (bug 1153629)
Backed out changeset 87ff1d4bb056 (bug 1153629)
Backed out changeset cb266456a948 (bug 1153629)
Backed out changeset ee256b6f62ec (bug 1153629)
Backed out changeset ecdfdce695b5 (bug 1153629)
Backed out changeset 394ba1703c08 (bug 1153629)
Backed out changeset 641439af501f (bug 1149163)
Backed out changeset 54a8ecc0301d (bug 1149163)
Backed out changeset a31a87b6dfb7 (bug 1149163)
Backed out changeset e36d2f251276 (bug 1149163)
Backed out changeset 152ee688999b (bug 1149163)
Backed out changeset 7bf082213f82 (bug 1149163)
Backed out changeset 2817e4601371 (bug 1149163)
Backed out changeset bc75a87a2b7d (bug 1149163)
Backed out changeset 4392cf02f1c0 (bug 1149163)
2015-04-22 15:22:40 +02:00
Aryeh Gregor
ed61c31acd
Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
0cf156edb4
Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
07e8ff3cb6
Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
552612f5c6
Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
684a463a42
Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
94c26bc4a1
Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
35a414be5d
Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
f37726f499
Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan
2015-04-22 14:27:18 +03:00
Aryeh Gregor
8eb4a393ec
Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan
2015-04-22 14:27:17 +03:00
Aryeh Gregor
4332c85967
Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan
2015-04-22 14:27:17 +03:00
Aryeh Gregor
2934763ac1
Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan
2015-04-22 14:27:17 +03:00
Aryeh Gregor
5c2749c5d1
Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan
2015-04-22 14:27:17 +03:00
Aryeh Gregor
a8118ac388
Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan
2015-04-22 14:27:17 +03:00
Aryeh Gregor
61811e4e58
Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan
2015-04-22 14:27:13 +03:00
Aryeh Gregor
aebab5f815
Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
6252f04fb9
Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
22185c8983
Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
5ac1c4870e
Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
e3be4daa07
Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
52f84a89c7
Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
5f32951386
Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
d2f5ecbed0
Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan
2015-04-22 14:26:58 +03:00
Aryeh Gregor
6fba5b0696
Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan
2015-04-22 14:26:57 +03:00
Aryeh Gregor
f07fc450a2
Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan
2015-04-22 14:26:57 +03:00
Aryeh Gregor
f856418f87
Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan
2015-04-22 14:26:57 +03:00
Aryeh Gregor
4cd6fd3b8e
Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan
2015-04-22 14:26:57 +03:00
Aryeh Gregor
aff9949b14
Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
2c9ddffad5
Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
acd79057c7
Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
1522c79dfb
Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
3cbce7b050
Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
5db27d89d8
Bug 1149163 part 4 - Allow use of temporary nsBoolDomIterFunctor; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
971e182b8e
Bug 1149163 part 3 - Clean up nsHTMLEditRules::BustUpInlinesAtBRs; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
383ea4d52b
Bug 1149163 part 2 - Make nsDOMIterator infallible; r=froydnj
2015-04-22 14:26:57 +03:00
Aryeh Gregor
458032e3c2
Bug 1149163 part 1 - Clean up nsHTMLEditRules::GetInnerContent; r=froydnj
2015-04-22 14:26:57 +03:00
Andrea Marchesini
b75af49c46
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
Ehsan Akhgari
d12ca71815
Bug 102663 - Add a test case for pressing space when an image map is focused; r=roc
2015-04-21 22:08:25 -04:00
Ehsan Akhgari
be10e8df64
Bug 915962 - Part 3: Do not crash when pressing the space bar without having an element focused; r=roc
2015-04-21 22:08:21 -04:00
Ehsan Akhgari
9a2b100be9
Bug 915962 - Part 2: Add a test case for pressing space when a tabindex=-1 and a button element is focused; r=roc
...
This is based on test_bug549262.html.
2015-04-21 22:07:43 -04:00
Masayuki Nakano
5dfcaa9cf5
Bug 1128787 part.1 Add test r=ehsan
2015-04-21 15:27:09 +09:00
Denis Volk
4ad62045e8
Bug 1095098 - move do_QueryObject templates into their own header; r=froydnj
2015-04-15 12:47:03 -04:00
Ehsan Akhgari
312137cf56
Bug 102663 - Add a test case for pressing space when an image map is focused; r=roc
2015-04-19 18:57:53 -04:00
Ehsan Akhgari
c778906b41
Bug 915962 - Part 2: Add a test case for pressing space when a tabindex=-1 and a button element is focused; r=roc
...
This is based on test_bug549262.html.
2015-04-19 18:57:52 -04:00
Phil Ringnalda
1521afb292
Backed out changeset ffde08dc5ceb (bug 1154459) for bustage
...
CLOSED TREE
2015-04-19 08:19:14 -07:00
David Anderson
50d7fd13e2
Enable APZ for E10S on Windows for one nightly build. (bug 1154459, r=kats)
2015-04-17 11:49:55 -04:00
Aryeh Gregor
5028cd21a1
Bug 1147412 part 10 - Clean up nsHTMLCSSUtils::Get*Property, GetCSSInlinePropertyBase; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
cd0831c08e
Bug 1147412 part 9 - Convert some nsHTMLEditor members to Element; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
76b65ea3a3
Bug 1147412 part 8 - Clean up nsHTMLCSSUtils::IsCSSInvertible; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
4db65dda7b
Bug 1147412 part 7 - Remove nsHTMLCSSUtils::GetComputedStyle(nsIDOMElement*); r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
9d4f9cb3fc
Bug 1147412 part 6 - Remove nsHTMLCSSUtils::IsCSSEditableProperty(nsIDOMNode*,...); r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
58a2dceec4
Bug 1147412 part 5 - Clean up nsHTMLEditor::RemoveInlinePropertyImpl; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
691ca7eee8
Bug 1147412 part 4 - Clean up nsHTMLEditor::GetInlinePropertyBase; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
1ddf149cd6
Bug 1147412 part 3 - Fix completely broken nsHTMLCSSUtils::IsCSSEquivalentToHTMLInlineStyleSet implementation; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
d0c3449307
Bug 1147412 part 2 - Clean up nsHTMLEditor::SetInlinePropertyOnTextNode; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
8c2ee13ffa
Bug 1147412 part 1 - Make methods take nsINode*, not just nsIContent*; r=ehsan
2015-04-19 15:28:50 +03:00
Aryeh Gregor
278cd0e05a
Bug 1153649 part 2 - Use some OwningNonNull in editor; r=ehsan
2015-04-19 15:28:49 +03:00
Ms2ger
82c2faeae3
Bug 949614 - Use === for SimpleTest.is; r=Waldo
...
This is more likely to be correct, and a necessary step in case we ever want
to move to Object.is.
This keeps ise as an alias for is, and introduces is_loosely for the old
behaviour.
2015-04-14 15:28:13 +02:00
Ms2ger
9198e306f0
Bug 949614 - Consolidate some spellchecking test code; r=ehsan
2015-04-14 15:26:14 +02:00
Olli Pettay
a369ea3eeb
Bug 936092, initial DnD support for e10s, r=enndeakin,karlt
2015-04-08 21:48:11 +03:00
Masayuki Nakano
ed38b0607f
Bug 1151186 part.2 nsHTMLEditor should accept composition events even while there is no active editing host but it has composition r=ehsan
2015-04-08 11:50:13 +09:00
Mike Hommey
ccd2a9b975
Bug 1134920 - Use moz_xmalloc/moz_xrealloc/free instead of nsMemory::Alloc/Realloc/Free. r=nfroyd
2015-04-01 13:51:45 +09:00
Jorg K
5e8ad3fa14
Bug 1141017 - resurrect serif and monospace. r=ehsan
2015-03-30 11:58:00 +02:00
Jorg K
30a668694f
Bug 756984 - Collapse the selection on the last text node on the line, skipping br and inline frames when clicking past the end of line; r=roc,ehsan
2015-03-27 20:04:29 -04:00
Andrea Marchesini
b212600c95
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Geoff Brown
cf739e07e8
Bug 1140148 - Update mochitest manifests for Android 4.3 emulator; r=dminor
2015-03-26 20:35:35 -06:00
Ehsan Akhgari
8178d2066f
Bug 1148228 - Stop checking ul twice
2015-03-26 20:58:22 -04:00
Jeremy Chen
1f18232fbb
Bug 1140625 - Part 3: Fix a bug in bug414526 so we can reopen the test. r=roc
2015-03-24 01:17:00 -04:00
Aryeh Gregor
b7456adaf5
Bug 1134545 - Insufficient null check. r=ehsan
2015-03-25 13:52:56 -04:00
Ryan VanderMeulen
83f066020e
Backed out changeset e7688fa5ba48 (bug 1134545) for browser_vimemacs.js crashes.
...
CLOSED TREE
2015-03-25 13:19:29 -04:00
Aryeh Gregor
4d051f003d
Bug 1134545 - Insufficient null check; r=ehsan
2015-03-25 17:37:52 +02:00
Ehsan Akhgari
b5eb2121f9
Bug 1146883 - Null check the node passed to GetGoodSelPointForNode; r=smaug
...
Landed on a CLOSED TREE so that we can uplift to Firefox 37 soon.
2015-03-24 16:38:44 -04:00
Ehsan Akhgari
33bb32f549
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
Nathan Froyd
8ddefeed54
Bug 1142503 - don't use QueryInterface when the compiler can do the cast for us; r=ehsan
...
Calling QueryInterface with a statically known IID should typically not
be necessary. In those cases where it's not, the compiler can do the
cast for us, though we have to supply the reference-counting that
QueryInterface would do.
In passing, several redundant null-checks for the result of |new T| have
been deleted.
2015-03-12 09:43:50 -04:00
Ehsan Akhgari
e4649243cc
Bug 1100966 - Remember all ranges for all selections when joining nodes in the editor transactions; r=roc
...
This patch fixes some symptoms, the most common of which misspelling
ranges disappearing when performing some editor operations.
2015-03-12 19:42:26 -04:00
Jonathan Griffin
84011a87cc
Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown
2015-02-06 16:30:37 -08:00
Carsten "Tomcat" Book
cfd2d20260
Backed out changeset 4b7febba9c14 (bug 1140105) for m2 test failures
2015-03-12 11:42:40 +01:00
Carsten "Tomcat" Book
2514c00e67
Backed out changeset dc155e427213 (bug 1141017)
2015-03-12 11:41:52 +01:00
Neil Rashbrook
76c7c43617
Bug 1141017 Querying for the current font sometimes returns "sans-serif" r=ehsan
2015-03-12 08:42:16 +00:00
Neil Rashbrook
18be6061b4
Bug 1140105 Can't query for a specific font face when the selection is collapsed r=ehsan
2015-03-12 08:40:29 +00:00
Alexandre Lissy
94d57ffc0b
Bug 1138442 - Disable reftests on Mulet in parity with B2G/B2G Desktop. r=ahal
2015-03-10 02:43:00 +01:00
Alexandre Lissy
089b2159c6
Bug 1140429 - Force disable caret prefs for needs-focus reftests. r=ehsan
2015-03-08 05:11:00 -04:00
Andrea Marchesini
c01342eee9
Bug 1134280 - Get rid of Tag() - patch 2.2 - /editor - Fix all the occurrences, m=smaug, r=surkov
2015-03-03 11:08:59 +00:00
Andrea Marchesini
454d9140a2
Bug 1134280 - Get rid of Tag() - patch 1 - Is{HTML,XUL,MathML,SVG}Element and IsAnyOf{HTML,XUL,MathML,SVG}Elements, r=smaug
2015-03-03 11:08:59 +00:00
Ting-Yu Lin
c4db413d6a
Bug 1136065 - Remove GetRangeCount() in Selection.h. r=ehsan
...
We replace GetRangeCount() with the identical function RangeCount() to
avoid any confusion.
2015-02-25 17:08:00 +01:00
Ekanan Ketunuti
c63833039b
Bug 1133363 - Part 3 - Fix tests. r=ehsan
2015-02-25 20:24:58 +07:00
Chris Peterson
4a8efb3a10
Bug 1133288 - Remove nonstandard expression closures from editor. r=ehsan
2015-01-24 23:53:32 -08:00
Anish
48094b2951
Bug 1056851 - Change existing callers of SpecialPowers.setBoolPref/setIntPref/setCharPref to SpecialPowers.pushPrefEnv. r=jmaher,mwargers
2015-02-19 11:53:01 -05:00
Carsten "Tomcat" Book
b6ef20bdf0
Backed out changeset 6885e993936a (bug 1056851) for crashtest failures
2015-02-19 15:02:05 +01:00