Commit Graph

6983 Commits

Author SHA1 Message Date
Jorg K
5ee74b09dd Bug 1263883 - Don't assume offset==0 when splitting paragraph. r=masayuki 2016-04-15 07:08:00 -04:00
Jonathan Watt
9480920b04 Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku 2016-03-31 12:46:32 +01:00
Jonathan Watt
fb7bb15e68 Bug 1263782 - Kill off the deprecated nsINode::IsInDoc(). r=baku 2016-03-31 11:58:25 +01:00
William Chen
303bd1fd42 Bug 1259590 - Remove B2G ACL code. r=khuey 2016-04-07 09:50:01 -07:00
Jorg K
d5eb942449 Bug 387687 - wrap quotes in plain text replies to window. r=masayuki 2016-04-05 00:22:00 +02:00
Jorg K
435ec5d98e Bug 233705 - remove mDontWrapAnyQuotes, mWrapToWindow and pref wrap_to_window_width. r=ehsan 2016-04-04 23:54:00 +02:00
Jorg K
23eba7c0b4 Bug 1257363 - add null check so it doesn't crash. r=masayuki
--HG--
extra : rebase_source : c937d52c3621b8323ae8275cfb8197dc260dcb7b
2016-04-02 14:40:00 +02:00
Nicholas Nethercote
d376f9f82e Bug 1260871 - Remove do_GetAtom() and rename NS_NewAtom() as NS_Atomize(). r=erahm.
do_GetAtom() is currently just a synonym for NS_NewAtom().

--HG--
extra : rebase_source : f4409784f931616cbc300591e6b843d30805c273
2016-03-29 10:09:43 +11:00
Jorg K
02369b0995 Bug 1257363 - If deleting empty block, position caret at the start/end of text node (if any). r=masayuki a=kwierso
MozReview-Commit-ID: GXLTnJLFiop
2016-03-31 14:20:59 -07:00
Ryan VanderMeulen
7853cf9f02 Bug 1260055 - Skip test_bug597331.html and test_bug600570.html on Windows versions other than XP. r=ehsan
--HG--
extra : rebase_source : b21ff329905a0e3c96927577f74803bbd0e53ca0
2016-03-29 10:27:49 -04:00
Kyle Huey
d9265a3eaf Bug 1259294: Part 2 - Use MOZ_ALWAYS_SUCCEEDS. r=froydnj 2016-03-28 10:28:15 -07:00
Arata Furukawa
676913b9bb Bug 1259655 - part 1 Rename WidgetEventTime::time to WidgetEventTime::mTime r=masayuki
MozReview-Commit-ID: 7lBCEVkanvF

--HG--
extra : source : d629f018d02594951b7deccf1e1fce279d04694c
2016-03-28 13:29:42 +09:00
Masayuki Nakano
cea0b9cf02 Bug 1256589 part.6 Move the implementation of IsTrusted() from dom::Event to WidgetEvent r=smaug
MozReview-Commit-ID: 1SgMbTL8csl

--HG--
extra : rebase_source : 748fa8a594176edf7b2addd038b8031019d0dd35
extra : source : f4ce36e68ce06c405a6fab31facc120b94709aed
2016-03-17 16:01:30 +09:00
Ryan VanderMeulen
be3bbfc784 No bug - Re-enable some disabled reftests on e10s.
--HG--
extra : rebase_source : d3c1489372f7be7baf4dc0282c9f37a82fe2e685
2016-03-21 00:28:43 -04:00
Ehsan Akhgari
825c62d646 Bug 1256513 - Convert the test for bug 527935 into a browser-chrome test that is enabled on e10s; r=mrbkap 2016-03-15 19:09:49 -04:00
Ehsan Akhgari
bfe24ccc8f Bug 1255919 - Convert the test for bug 629172 into a browser-chrome test that is enabled on e10s; r=mrbkap 2016-03-15 17:39:02 -04:00
Sebastian Hengst
936d2c6e1d Backed out changeset cc8b02b24319 (bug 1255919) for failing e.g. bc3's browser_bug629172.js. r=backout on a CLOSED TREE 2016-03-14 22:54:57 +01:00
Ehsan Akhgari
e2a795b42a Bug 1255919 - Convert the test for bug 629172 into a browser-chrome test that is enabled on e10s; r=mrbkap 2016-03-14 16:17:18 -04:00
Peter Van der Beken
87d5ae7fbc Bug 1253734 - Add some more editor things to CC traversal. r=mccr8.
--HG--
extra : rebase_source : 903cc987ee5898f4947c8cde5cd708b16eff990d
2016-03-04 23:11:37 +01:00
Nathan Froyd
7578babdd1 Bug 1254618 - modify nsTransactionStack to use nsDeque rather than std::deque; r=ehsan
Using std::deque here causes problems for libc++ builds; TestTXMgr on
OSX 10.6 opt times out when libc++'d std::deque is used.  Running the
test locally shows that the test process consumes gigabytes (!) of
memory and is thus reduced to swapping, rather than making any progress.
libc++'s std::deque also appears to be slightly slower in said test that
even OSX libstdc++'s std::deque.  (Admittedly, this test is artificial.)

Let's sidestep the slowness of libc++'s std::deque by rewriting
nsTransactionStack to use nsDeque rather than std::deque.  Not only does
this change enable OSX 10.6 tests to pass, it also makes TestTXMgr
significantly faster in opt builds: TestTXMgr is anywhere from 25-60%
faster (depending on the platform) than when using std::deque from
libstdc++ or libc++.
2016-03-07 20:12:07 -05:00
Nathan Froyd
e3a01c4b4c Bug 1253424 - part 2 - add nsTransactionStack::IsEmpty; r=erahm
Checking to see whether the stack is empty is a reasonably common
operation.  We can make the code clearer and more efficient (no need to
refcount to check the emptiness of the stack) in several cases.
2016-03-03 16:13:18 -05:00
Nathan Froyd
d422cbba4b Bug 1253424 - part 1 - add a already_AddRefed nsTransactionStack::Push overload; r=erahm
We unnecessarily refcount in several places when pushing items onto an
nsTransactionStack.  Adding an already_AddRefed overload will enable
avoid those unnecessary refcounts.
2016-03-03 16:04:25 -05:00
Jorg K
bf7203ac32 Bug 1250010 - Fix nsHTMLEditRules::ReturnInParagraph(). r=ehsan 2016-02-24 13:43:00 +01:00
Ting-Yu Lin
514007237a Bug 1097398 Part 1 - Move AccessibleCaret default assets to layout/style/. r=nalexander, r=heycam
Default AccessibleCaret assets were in editor for historical reasons. Because
ua.css references them, I move them to layout/style/ and add them in jar.mn so
that we don't have to package them in various products.

MozReview-Commit-ID: 7K7qr9FK784

--HG--
rename : editor/composer/res/accessiblecaret@1.5x.png => layout/style/res/accessiblecaret-normal@1.5x.png
rename : editor/composer/res/accessiblecaret.png => layout/style/res/accessiblecaret-normal@1x.png
rename : editor/composer/res/accessiblecaret@2.25x.png => layout/style/res/accessiblecaret-normal@2.25x.png
rename : editor/composer/res/accessiblecaret@2x.png => layout/style/res/accessiblecaret-normal@2x.png
rename : editor/composer/res/accessiblecaret_tilt_left@1.5x.png => layout/style/res/accessiblecaret-tilt-left@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_left.png => layout/style/res/accessiblecaret-tilt-left@1x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2.25x.png => layout/style/res/accessiblecaret-tilt-left@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_left@2x.png => layout/style/res/accessiblecaret-tilt-left@2x.png
rename : editor/composer/res/accessiblecaret_tilt_right@1.5x.png => layout/style/res/accessiblecaret-tilt-right@1.5x.png
rename : editor/composer/res/accessiblecaret_tilt_right.png => layout/style/res/accessiblecaret-tilt-right@1x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2.25x.png => layout/style/res/accessiblecaret-tilt-right@2.25x.png
rename : editor/composer/res/accessiblecaret_tilt_right@2x.png => layout/style/res/accessiblecaret-tilt-right@2x.png
extra : rebase_source : bb29652fcc47725feb44397a7f9f39c89b0161b6
2016-02-16 16:55:28 +08:00
William Chen
c90a166599 Bug 1247483 - Only replace nodes in nsHTMLEditor::ReplaceOrphanedStructure if all nodes in node list are descendants of replacement node. r=ehsan 2016-02-26 17:34:40 -08:00
Cameron McCormack
0ecd5593cc Bug 1244074 - Part 4: Use StyleSheetHandle instead of concrete style sheet class in most places. r=dholbert 2016-02-24 18:01:12 +11:00
Jonathan Kew
151ad7dff2 Bug 1248185 - Test for spurious looping behavior of selection. r=roc 2016-02-17 12:05:10 +00:00
Jonathan Kew
53139fc8bb Bug 1248128 - Test for spurious propagation of failed selection-move command to the root, causing unwanted scrolling. r=roc 2016-02-17 12:05:10 +00:00
Mason Chang
b4c228baec Bug 1246213 - Skia reftest fuzzing for Skia content on OS X. r=jmuizelaar 2016-02-16 09:07:52 -08:00
Aidin Gharibnavaz
6863090c8a Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn

--HG--
extra : transplant_source : 2%82%D5%89%19%94%7C%E7%CA1%99%B5%24%1F5%E1%C0%1F%DE%07
2016-02-12 19:10:07 +03:30
Jet Villegas
09b44a7efc Bug 974309: Fixes the IsEditable() logic for table cells. r=ehsan 2016-02-09 14:06:03 -08:00
Christoph Kerschbaumer
687df9b9e3 Bug 1245681 - Test addOverrideStyleSheet (r=bz)
CLOSED TREE

--HG--
extra : commitid : 2BpXUK0hMku
extra : amend_source : eacfa3fc5956e848dd9f75f5408f110eb02a6cb2
2016-02-05 15:28:18 -08:00
Wes Kocher
83138fba54 Backed out 2 changesets (bug 1245681) for android mochitest-14 failures in test_css_chrome_load_access.html CLOSED TREE
Backed out changeset 82803bc92f37 (bug 1245681)
Backed out changeset b71df90db19e (bug 1245681)

--HG--
extra : commitid : 3yd1sKw3rn5
2016-02-05 15:16:36 -08:00
Christoph Kerschbaumer
197da838c4 Bug 1245681 - Test for addOverrideStyleSheet. r=bz
--HG--
extra : rebase_source : 9faca0d0dde018504f284df8c8a5010976988fa8
2016-02-05 11:05:32 -08:00
Kyle Huey
2886d41044 Bug 1244894: Steal the failed nsresult when bailing early. r=bz
--HG--
extra : rebase_source : 2edc5e7f69a7781c9e6889dc980dc80f6e11980a
2016-02-05 10:12:25 -08:00
Ting-Yu Lin
9ee86cc92e Bug 591737 - Add details and summary to nsHTMLEditUtils. r=ehsan
--HG--
extra : commitid : FZmR9JiSg5f
extra : rebase_source : 05aa44edbbeeccea480e69d7d3cd881e8310b447
2016-01-20 23:20:40 +08:00
Paul Bignier
79438310e1 Bug 1245113 - Fixed uninitialized variables warnings. r=ehsan 2016-02-02 07:38:00 +01:00
Birunthan Mohanathas
d7371d07d0 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
d381b4bca6 Back out 7 changesets (bug 1235261) for cpptest failures in TestTArray
CLOSED TREE

Backed out changeset d66c3f19a210 (bug 1235261)
Backed out changeset 467d945426bb (bug 1235261)
Backed out changeset 32b61df13142 (bug 1235261)
Backed out changeset c50bb8ed4196 (bug 1235261)
Backed out changeset 0ff0fa6fe81f (bug 1235261)
Backed out changeset df70e89669da (bug 1235261)
Backed out changeset 064969357fc9 (bug 1235261)
2016-01-31 10:10:57 -08:00
Birunthan Mohanathas
373593275e Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
91efc5a86c Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Mats Palmgren
c7485327f6 Bug 1242164 - Remove the implementation of colspan=0 (which is now dead code). r=dbaron 2016-01-27 17:02:12 +01:00
Sylvestre Ledru
ab4e3a0d42 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan
--HG--
extra : rebase_source : 7d2cc56b6553cd7a8d848d3c660f30735bd82eec
2016-01-22 16:58:49 +01:00
Aidin Gharibnavaz
e6606278c0 Bug 1230216 - Changing nsIDOM*Event interfaces so that they don't inherit nsIDOMEvent. r=smaug
All the event interfaces changed except for nsIDOMUIEvent and its inheritors.

--HG--
extra : transplant_source : %A5U%3F%80%2B%DD%01%F4%D8%21%F2%E9z%C1%D6%AA%CC%D4%EC%F8
2016-01-12 07:49:08 +03:30
Jonathan Griffin
7567f48ed9 Bug 1239025 - Disable a few reftests on win7/e10s so we can turn the suite on, a=test-only 2016-01-13 17:32:19 -08:00
Andrea Marchesini
83b88d383f Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
6692893d20 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini
001e241382 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Jonathan Kew
fa2496310f Bug 1153237 - Testcase for failure to select last word in a contenteditable div when using physical select-by-word command. r=roc 2016-01-05 07:13:53 +00:00
Ting-Yu Lin
097bf2b9b7 Bug 1221459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng, r=roc
For test_bug648573.html and test_bug644768.html, we no longer need to
create an iframe to turn off the preferences. I move the content of
iframe.src back to the test files.

--HG--
extra : amend_source : eec926c474be934b99faeb604493c01c471066e7
2015-12-22 14:14:12 +08:00