Commit Graph

7129 Commits

Author SHA1 Message Date
Aryeh Gregor
caece2e88c Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:21 +03:00
Aryeh Gregor
ee087628e7 Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:17 +03:00
Aryeh Gregor
1840135a82 Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:14 +03:00
Aryeh Gregor
0baa2aa34f Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:10 +03:00
Aryeh Gregor
5ffff818d3 Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:07 +03:00
Aryeh Gregor
756ddeeed2 Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:45:03 +03:00
Aryeh Gregor
ed26b75d9e Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:59 +03:00
Aryeh Gregor
81d03b3b1d Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:56 +03:00
Aryeh Gregor
c5618ff5a6 Bug 1156062 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:52 +03:00
Aryeh Gregor
b75a20d5c8 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:48 +03:00
Aryeh Gregor
52f4bc1e37 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:44 +03:00
Aryeh Gregor
fa460326a7 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:41 +03:00
Aryeh Gregor
a1bda4c481 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:37 +03:00
Aryeh Gregor
829d16bdb2 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:34 +03:00
Aryeh Gregor
9534eef73e Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:30 +03:00
Aryeh Gregor
13b689b1a7 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:26 +03:00
Aryeh Gregor
15ccd5187d Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:23 +03:00
Aryeh Gregor
5e51c6d5e4 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:19 +03:00
Aryeh Gregor
9b7107904f Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:15 +03:00
Aryeh Gregor
488a38c0e5 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:12 +03:00
Aryeh Gregor
5d233696f9 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:08 +03:00
Aryeh Gregor
53d99b8f93 Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23 2016-04-20 20:44:04 +03:00
L. David Baron
b1db407049 Bug 1265591 patch 2 - Rename nsIPresShell::ReconstructStyleData to RestyleForCSSRuleChanges. r=heycam
MozReview-Commit-ID: BU3X0fBEKE3
2016-04-19 11:38:35 -07:00
Aryeh Gregor
f720349666 Bug 1156062 - Bustage follow up fix on a CLOSED TREE, a=tomcat
--HG--
extra : amend_source : 7783f17a038f6d8ebc4fe03cb1f29cd52d272259
2016-04-19 16:44:49 +02:00
Aryeh Gregor
71153b052c Bug 1190172 part 12 - Clean up nsHTMLEditRules::ExpandSelectionForDeletion; r=ehsan
--HG--
extra : rebase_source : e6b2ec62c854af3be4b7759efd1518b87ba1c85d
2016-04-19 06:57:00 +02:00
Aryeh Gregor
f88d4daee6 Bug 1190172 part 11 - Clean up nsHTMLEditRules::IsEmptyBlock; r=ehsan
--HG--
extra : rebase_source : 43174f4b1874d3ada612683d9c33cc4280e864d8
2016-04-19 06:56:00 +02:00
Aryeh Gregor
b8c3a7a9ba Bug 1190172 part 10 - Clean up nsHTMLEditor::ReturnInListItem; r=ehsan
--HG--
extra : rebase_source : 8558d1bb3cb98846d9c0a7533e89e1fd6c9ab232
2016-04-19 06:56:00 +02:00
Aryeh Gregor
aa506cfc83 Bug 1190172 part 9 - Clean up nsHTMLEditor::ReturnInHeader; r=ehsan
--HG--
extra : rebase_source : 8d01d8b2e69f2fc3eca70fdc5221f73f538225ad
2016-04-19 06:55:00 +02:00
Aryeh Gregor
8678ca4e69 Bug 1190172 part 8 - Clean up nsHTMLEditor::PromoteRangeIfStartsOrEndsInNamedAnchor; r=ehsan
--HG--
extra : rebase_source : 26411341557b0b75e869c19186c490ef76d82bcd
2016-04-19 06:54:00 +02:00
Aryeh Gregor
7cff78a5cc Bug 1190172 part 7 - Clean up nsHTMLEditor::PromoteInlineRange; r=ehsan
--HG--
extra : rebase_source : b7037f3274f17703d88cd76e4e259df0134416a1
2016-04-19 06:52:00 +02:00
Aryeh Gregor
448368b169 Bug 1190172 part 6 - Clean up nsHTMLEditor::RelativeFontChangeOnTextNode; r=ehsan
--HG--
extra : rebase_source : 24e05717dead135efceda3696c6e4d840a5133d5
2016-04-19 05:45:00 +02:00
Aryeh Gregor
2702783e0e Bug 1190172 part 5 - Clean up nsHTMLEditor::NodeIsProperty; r=ehsan
--HG--
extra : rebase_source : 164836d19a9b9f3f2efe51276483b0d994245526
2016-04-19 05:42:00 +02:00
Aryeh Gregor
10a6476077 Bug 1190172 part 4 - Remove unused nsHTMLEditor::HasAttr; r=ehsan
--HG--
extra : rebase_source : 8421d6056d8867b788e2da3a76d0df0e09c620b6
2016-04-19 05:41:00 +02:00
Aryeh Gregor
e35122e0fc Bug 1190172 part 3 - Remove old method variants; r=ehsan
--HG--
extra : rebase_source : bbd86c76fd6db7707622238d35be88d0b5a5abe3
2016-04-19 05:39:00 +02:00
Aryeh Gregor
8c8477cf1a Bug 1190172 - part 2 - Clean up nsHTMLEditor::ClearStyle; r=ehsan
--HG--
extra : rebase_source : 8e467eccda7955224dff9e7e9c51985d9b8d27e7
2016-04-19 05:37:00 +02:00
Aryeh Gregor
2c98e62ed8 Bug 1190172 part 1 - Clean up nsHTMLEditor::SplitStyleAbovePoint; r=ehsan
--HG--
extra : rebase_source : f64f75bc677b27006d9ce9649a5a21641b776fc7
2016-04-19 05:35:00 +02:00
Aryeh Gregor
61374e421b Bug 1156062 part 12 - Clean up nsHTMLEditRules::GetAlignment; r=masayuki
--HG--
extra : rebase_source : 6625361c8c48025d74c72f903ad7dd60ef3a12c7
2016-04-19 06:55:00 +02:00
Aryeh Gregor
8e48b4105f Bug 1156062 part 11 - Clean up nsHTMLEditRules::Before/AfterEdit; r=masayuki
--HG--
extra : rebase_source : 2faebb018f1d26f6c1d62908aa75b6af627772de
2016-04-19 06:53:00 +02:00
Aryeh Gregor
313dd100c7 Bug 1156062 part 10 - Clean up MarginPropertyAtomForIndent; r=masayuki
--HG--
extra : rebase_source : da9ac5810c638a972c6c02edf13833d6f0e3151e
2016-04-19 06:52:00 +02:00
Aryeh Gregor
20c3a65c05 Bug 1156062 part 9 - Clean up nsHTMLEditRules::WillAlign. r=masayuki
--HG--
extra : rebase_source : 39b8794e2aebb4a5a05b2b1063a75478f6fcd605
2016-04-19 05:45:00 +02:00
Aryeh Gregor
ccc375a53a Bug 1156062 part 8 - Clean up nsHTMLEditRules::JoinBlocks; r=ehsan
--HG--
extra : rebase_source : 116529ad60392d051c03a3efd1bb589e20711877
2016-04-19 05:42:00 +02:00
Aryeh Gregor
c0d9a1d223 Bug 1156062 part 7 - Clean up nsHTMLEditRules::StandardBreakImpl; r=ehsan
--HG--
extra : rebase_source : 2b93aac93725c013b869489a66dbc132c985b54b
2016-04-19 05:41:00 +02:00
Aryeh Gregor
cb86b50848 Bug 1156062 - part 6 - Clean up nsHTMLEditRules::WillInsertBreak; r=ehsan
--HG--
extra : rebase_source : b18b159035dfa37f8d4542c7bb9215c91cd86680
2016-04-19 05:38:00 +02:00
Aryeh Gregor
1be371db53 Bug 1156062 - part 5 - Make CreateBR return regular pointer; r=ehsan
--HG--
extra : rebase_source : f8bebcad32e07eff950f576c10e6842068ca25fd
2016-04-19 05:36:00 +02:00
Aryeh Gregor
9e2f1d3ae2 Bug 1156062 - part 4 - Clean up ns*EditRules::WillInsert; r=ehsan
--HG--
extra : rebase_source : af369a0e665c7d696d007658be22744811a050fa
2016-04-19 05:34:00 +02:00
Masayuki Nakano
07b6f24132 Bug 1259657 Rename WidgetGUIEvent::widget to WidgetGUIEvent::mWidget r=smaug
MozReview-Commit-ID: 167PQWJDEHW

--HG--
extra : rebase_source : 6cd44095b9f33e03190972f043087786cbd772f2
2016-04-14 17:03:14 +09:00
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
Ting-Yu Lin
d477595b16 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng, r=roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.
2015-12-22 14:14:12 +08:00
Nigel Babu
fd9c9b233f Backed out changeset 9f30d3caa231 (bug 1221459) 2015-12-22 14:03:21 +05:30
Nigel Babu
ca777970e8 Backed out changeset b61190bd4069 (bug 1121459) 2015-12-22 14:03:19 +05:30
Ting-Yu Lin
010e08ad0b Bug 1121459 - Remove TouchCaret and SelectionCarets prefs in test files. r=mtseng,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 : rebase_source : 5cf321bf3280e032cc6645810e3e7faa7a6ff615
2015-12-22 14:14:12 +08:00
Ting-Yu Lin
0fd840e0d8 Bug 1221459 - Remove TouchCaret and SelectionCarets. r=mtseng,roc
All the files modified are straightforward deletion except TouchManager
and ZoomConstraintsClient. I add some includes and wrap TouchManager by
mozilla namespace to fix build errors due to the removal of TouchCaret.

--HG--
extra : rebase_source : b31db322130f665e7dda53d1061cfc40f81ce411
2015-12-22 14:14:12 +08:00
Masayuki Nakano
3d27dcecfa Bug 1179632 part.5 WidgetCompositionEvent::mNativeIMEContext should be used at looking for a TextComposition instance for a WidgetCompositionEvent r=smaug 2015-12-04 18:50:34 +09:00
Phil Ringnalda
cf174cf04d Bug 1211213 - Skip test_bug597331.html on Android and ASan, where it fails constantly 2015-12-09 18:51:59 -08:00
Carsten "Tomcat" Book
5adcabb340 merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Masayuki Nakano
14e03f9711 Bug 1213589 part.6 ContentEventHandler should insert line breaks at open tag of elements except non-replaced inline elements r=smaug 2015-12-02 13:20:00 +09:00
Jorg K
4c0fb8f0e9 Bug 1219928 - Skip misspelled words in style blocks. r=enndeakin. 2015-11-24 08:45:00 +01:00
Andrew Herron
ffb1c5dd5b Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm 2015-07-22 16:56:57 +10:00
Mark Capella
e7b070ed41 Bug 1215959 - (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug 2015-12-01 15:25:06 -05:00
Cameron McCormack
fd2fba0c73 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
Phil Ringnalda
33cf4ea159 Bug 1218032 followup, swap the order of manifest conditions to avoid accidentally enabling the test on platforms where it was previously skipped
CLOSED TREE
2015-11-10 19:27:41 -08:00
Masayuki Nakano
39c9460d58 Bug 1218032 part.5 Mark caret_on_presshell_reinit-2.html as fuzzy in e10s mode r=smaug 2015-11-10 11:49:05 +09:00
L. David Baron
a3eadb1b86 Bug 1221436 patch 2 - For style attributes, only store a css::Declaration instead of a css::StyleRule. r=heycam
Now that Declaration implements nsIStyleRule, we don't need the memory
overhead of storing a StyleRule object for style attributes.

We also need to change this prior to patch 5, because the changes in
patch 5 that will allow rules to change (but declarations not) would
otherwise break due to style attribute object merging done by
nsAttrValue::ParseStyleAttribute.

--HG--
extra : commitid : Ij4yRdba7wa
2015-11-09 15:57:16 +08:00
Ryan VanderMeulen
028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ryan VanderMeulen
397e16525b Bug 429586 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen
82bfb5ba42 Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
7d66ba0ef2 Bug 650572 - Add crashtest. 2015-10-30 19:41:17 -04:00
Andrew McCreight
5981b92f78 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Blake Kaplan
54d6604951 Bug 1169268 - Don't crash when pasting files. r=ndeakin 2015-10-27 14:41:58 -07:00
Birunthan Mohanathas
44936aabb2 Bug 1217320 - Remove more XPIDL signature comments in .cpp files. r=froydnj
Comment-only, DONTBUILD.
2015-10-27 06:54:25 +02:00
Kyle Huey
c7d3c4e21a Bug 1216401: Eviscerate nsIDOMWindow, move still needed methods to nsPIDOMWindow. r=bz 2015-10-26 14:37:32 -07:00
Jonathan Kew
a48628058f Bug 1216427 - part 1 - Ensure a character+VS sequence or a ligated Regional-Indicator flag symbol is deleted as a single unit when backspacing. r=emk 2015-10-26 10:47:16 +00:00
Jonathan Kew
f2f5f47ced Bug 1216427 - Tests for backspacing over a character with variation selector, and over Regional Indicator flag symbols. r=emk
--HG--
rename : editor/libeditor/tests/test_bug332636.html => editor/libeditor/tests/test_backspace_vs.html
2015-10-26 10:47:12 +00:00
Ryan VanderMeulen
49a03e220d Bug 667321 - Add crashtest. 2015-10-25 00:06:23 -04:00
Ryan VanderMeulen
3cd44517bb Bug 500847 - Remove assertion annotations from editor/composer/crashtests/removing-editable-xslt.html.
--HG--
extra : rebase_source : 4d648808aea9ec795f6943bfbc617bf85868d0ef
2015-10-24 15:03:19 -04:00
Bobby Holley
20815639b2 Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
This one was kinda gross.
2015-10-23 18:10:31 -07:00
Ryan VanderMeulen
12f11c885a Bug 471185 - Re-enable 428844-1.html on Windows. 2015-10-23 09:54:33 -04:00
Jeremy Chen
f59482fa1d Bug 1210341 - (v3) Reduce accessiblecaret size. r=TYLin
--HG--
extra : rebase_source : 15fdcdf119d30e1e51d98e69a1f229778aa26256
2015-10-19 01:53:00 +02: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
Zack Weinberg
9b82cb1584 Bug 1035091 part 1: change CSS parser and loader APIs to distinguish UA, user, and author sheets instead of just UA vs everyone else. r=heycam
--HG--
extra : rebase_source : a8a5a27db01306d1de58974ebb4d06d29d4b72b0
2015-10-13 17:43:16 -04:00
Jorg K
7069d64f58 Bug 1209414 - New test for manual dictionary change. r=ehsan 2015-10-11 18:13:10 +02:00
Aryeh Gregor
aff11ba1b3 Bug 1156062 part 3 - New helper nsHTMLEditor::GetBlock; r=ehsan 2015-10-11 18:59:11 +03:00
Aryeh Gregor
bfb521a6c4 Bug 1156062 part 2 - Make GetBlockNodeParent and GetEnclosingTable return regular pointers; r=ehsan 2015-10-11 18:58:47 +03:00
Aryeh Gregor
aa61364a31 Bug 1156062 part 1d - Clean up nsEditor::SplitNodeDeep; r=ehsan 2015-10-11 18:57:48 +03:00
Aryeh Gregor
ccfef33f58 Bug 1156062 part 1c - Convert remaining callers of nsEditor::SplitNodeDeep; r=ehsan 2015-10-08 18:27:19 +03:00
Andrew McCreight
0ff7248107 Bug 1210517 - Create nsVariant directly rather than via do_CreateInstance(). r=froydnj
The goal here is to leave creation stuff mostly for JS, so we can
convert it entirely over to a non-threadsafe cycle-collected version
without breaking any existing C++ users.

I didn't do this for a remaining use in nsGlobalWindow.h to avoid
including nsVariant.h all over the place.
2015-10-07 08:17:42 -07:00
Daniel Glazman
920ff85cd5 Bug 898321 - Return success from nsTableEditor::GetCellAt if frame not found; r=ehsan
Adjusted by Aryeh Gregor for review comments.
2015-10-07 16:07:12 +03:00
Ehsan Akhgari
eb1884ec41 Bug 1209037 - Eliminate some unneeded null checks; r=jdm 2015-10-05 16:12:26 -04:00
Jorg K
367c572f4b Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan 2015-09-29 08:25:00 +02:00
Jorg K
1e378ea69e Bug 1205983 - Remove all observer code from nsEditor. r=ehsan 2015-09-28 23:53:00 +02:00
Carsten "Tomcat" Book
3b7a3c96c4 Backed out 2 changesets (bug 1205983) for memory leaks on a CLOSED TREE
Backed out changeset f2c49c0ab84f (bug 1205983)
Backed out changeset a81630dba992 (bug 1205983)
2015-09-29 13:58:35 +02:00
Jorg K
41a777b2d2 Bug 1205983 - Remove all observer code from nsEditor. r=ehsan
--HG--
extra : rebase_source : 3a3375a44d16d1a4a93c670c5ed44adefe6dbb9e
2015-09-28 23:53:00 +02:00
Jorg K
92731da747 Bug 1205983 - Remove all observer code from nsEditor (tests). r=ehsan
--HG--
extra : rebase_source : 71701166ea470c001fba64241545b03361df8a44
2015-09-28 13:28:00 +02:00
Jorg K
274ce40e10 Bug 772796 - Handle newlines correctly when joining <div> and <pre>. r=roc 2015-09-22 04:07:00 +02:00
Ehsan Akhgari
ed270af4ab Bug 1208884 - Fix a few null check ordering bugs in nsHTMLEditRules::SplitParagraph; r=roc
Found by Viva64.
2015-09-27 19:34:09 -04:00
Michael Layzell
2aa752dd26 Bug 1199288 - Rename mApplyUserSelectStyle to mUserInitiated, r=smaug 2015-09-23 23:28:36 -04:00
Chris Peterson
71920a9550 Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium 2015-09-22 21:39:03 -07:00
Wes Kocher
08ffd204f8 Merge inbound to central, a=merge CLOSED TREE 2015-09-22 16:42:03 -07:00
Jorg K
d5c55e50cc Bug 1204540 - Fix up spell checker tests so no content preferences are left behind. r=roc
--HG--
rename : editor/composer/test/test_abug697981.html => editor/composer/test/test_bug697981.html
2015-09-15 10:34:00 +02:00
Jorg K
62c77a53c5 Bug 1193293 - Don't pick a new dictionary which checking. r=roc 2015-09-21 21:51:00 +02:00