Commit Graph

7153 Commits

Author SHA1 Message Date
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
Carsten "Tomcat" Book
16ceb64560 Merge mozilla-central to fx-team 2015-09-22 12:51:39 +02:00
Calixte Denizet
d12120dc7e Bug 1205796 - "Coverity 1323784 indicates a useless passed-by-value argument in nsEditorSpellCheck::TryDictionary". r=smaug 2015-09-22 00:28:00 +02:00
Carsten "Tomcat" Book
4d29aa7e01 Backed out 1 changesets (bug 1193293) on developers requests
Backed out changeset c79d3947c307 (bug 1193293)
2015-09-21 14:00:43 +02:00
Nigel Babu
531c5e92ee Backed out changeset af909b481b95 (bug 772796) for causing crashes (See bug 1206483), a=Tomcat 2015-09-21 13:57:10 +05:30
Jorg K
0b85029b3b Bug 1193293 - Remove checking dictionary from editor. r=roc 2015-09-18 00:52:00 +02:00
Jorg K
776f5bee2a Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors (test). r=roc 2015-09-15 11:35:15 +05:30
Jorg K
dd4cd7d08c Bug 697981 - Prevent reloading of spelling dictionary on unfocused editors; r=roc 2015-09-15 11:35:10 +05:30
Masayuki Nakano
7928f48bc1 Bug 895274 part.232 Rename NS_EDITOR_INPUT to eEditorInput r=smaug 2015-09-15 00:14:33 +09:00
Jorg K
b48912a8b8 Bug 1204147 - Prevent content preferences being written when they shouldn't (test). r=roc 2015-09-14 02:35:00 +02:00
Jorg K
0b2b0b0f41 Bug 1204147 - Prevent content preferences being written when they shouldn't. r=roc 2015-09-11 23:03:00 +02:00
Michael Layzell
fe31896607 Bug 571294 - Part 1: Implement selection events behind the dom.select_events.enabled pref, r=smaug 2015-09-12 17:56:44 -04:00
Michael Layzell
0097c41e01 Bug 1201190 - Part 3: Mark every consumer of GUARD_OBJECT as MOZ_RAII, r=ehsan 2015-09-12 16:53:33 -04:00
Phil Ringnalda
e7994e1850 Bug 1202045 - Disable test_richtext2.html on Android debug for constant crashes 2015-09-12 10:21:14 -07:00
Christoph Kerschbaumer
c1259a401c Bug 1048048 - add preload content policy types for stylesheets (r=cam)
--HG--
extra : source : 6a727c40eb68d4b84d64d1e173b7401a982fda23
2015-09-20 14:56:10 -07:00
Wes Kocher
cd079d2bf9 Backed out 7 changesets (bug 1048048) for android crashes in various chunks CLOSED TREE
Backed out changeset b5abe23a4ea5 (bug 1048048)
Backed out changeset 4f91b10e8be0 (bug 1048048)
Backed out changeset 450d4a13c90e (bug 1048048)
Backed out changeset 6a727c40eb68 (bug 1048048)
Backed out changeset 88c2333ff745 (bug 1048048)
Backed out changeset 740ab1ecd079 (bug 1048048)
Backed out changeset 02c6d6aef163 (bug 1048048)
2015-09-21 09:08:34 -07:00
Christoph Kerschbaumer
ffddcba82d Bug 1048048 - add preload content policy types for stylesheets (r=cam) 2015-09-20 14:56:10 -07:00
Masayuki Nakano
ed4dac1ca6 Bug 895274 part.193 Rename NS_COMPOSITION_CHANGE to eCompositionChange r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano
1e538fa11e Bug 895274 part.192 Rename NS_COMPOSITION_UPDATE to eCompositionUpdate r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano
ebdc7bd69b Bug 895274 part.191 Rename NS_COMPOSITION_END to eCompositionEnd r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano
0f2bfad9b1 Bug 895274 part.190 Rename NS_COMPOSITION_START to eCompositionStart r=smaug 2015-09-11 21:21:27 +09:00
Masayuki Nakano
966f685af3 Bug 895274 part.188 Rename NS_COMPOSITION_COMMIT_AS_IS to eCompositionCommitAsIs r=smaug 2015-09-11 21:21:26 +09:00
Jorg K
7149e81129 Bug 772796 - Handle newlines correctly when joining <div> and <pre>. r=roc
--HG--
extra : rebase_source : 29f2a761c9f84977bbbfc5e8974d0f11abd461ae
2015-09-10 07:50:00 +02:00
Masayuki Nakano
35cc2a0a26 Bug 895274 part.149 Rename NS_USER_DEFINED_EVENT to eUnidentifiedEvent r=smaug 2015-09-10 10:40:04 +09:00
Jorg K
04b9693085 Bug 1200533 - Fix spellchecker dictionary logic (more test changes). r=smaug 2015-09-08 09:13:00 +02:00
Jorg K
e40ddc115b Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K
6f6063dce5 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K
7f4d5f183e Bug 1200533 - Fix spellchecker dictionary logic (test changes); r=smaug 2015-09-04 11:29:00 +02:00
Masayuki Nakano
fdc5c4d6f8 Bug 895274 part.118 Rename NS_PASTE to ePaste r=smaug 2015-09-08 23:33:35 +09:00
Masayuki Nakano
08fd7190da Bug 895274 part.117 Rename NS_CUT to eCut r=smaug 2015-09-08 23:33:35 +09:00
Masayuki Nakano
983ec22e88 Bug 895274 part.116 Rename NS_COPY to eCopy r=smaug 2015-09-08 23:33:34 +09:00
Carsten "Tomcat" Book
a1008eb382 Backed out 3 changesets (bug 1200533) for test failures in reftests/338427-2.html
Backed out changeset 9f3ca77e2d7b (bug 1200533)
Backed out changeset b3ad852a044a (bug 1200533)
Backed out changeset 74e6798a38a4 (bug 1200533)
2015-09-08 10:29:38 +02:00
Jorg K
3c4ae9a668 Bug 1200533 - Fix spellchecker dictionary logic. r=smaug 2015-09-07 09:06:00 +02:00
Jorg K
ac423542e8 Bug 1200533 - Fix spellchecker dictionary logic (new test). r=smaug 2015-09-04 15:24:00 +02:00
Jorg K
7570a51af9 Bug 1200533 - Fix spellchecker dictionary logic (test changes). r=smaug 2015-09-04 11:29:00 +02:00
Masayuki Nakano
94b05ec84b Bug 1200980 part.4 nsPlaintextEditor should notify editor observers of the end of edit action when NS_COMPOSITION_CHANGE isn't followed by NS_COMPOSITION_END r=smaug 2015-09-08 12:54:14 +09:00
Wes Kocher
be7cf69c3c Merge inbound to central, a=merge 2015-09-03 12:20:40 -07:00
Wes Kocher
53368e989a Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)

--HG--
rename : layout/style/test/chrome/test_moz_document_matching.html => layout/style/test/chrome/test_moz_document_rules.html
rename : layout/style/test/chrome/test_moz_document_nesting.html => layout/style/test/test_bug511909.html
rename : layout/style/test/chrome/test_moz_document_serialization.html => layout/style/test/test_rule_serialization.html
2015-09-03 11:41:39 -07:00
Zack Weinberg
7912db5bd1 Bug 1035091 part 2: disable @-moz-document in author sheets. r=heycam
--HG--
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/moz_document_condition_text.css
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/moz_document_serialization.css
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/test_moz_document_condition_text.html
rename : layout/style/test/chrome/test_moz_document_rules.html => layout/style/test/chrome/test_moz_document_matching.html
rename : layout/style/test/test_bug511909.html => layout/style/test/chrome/test_moz_document_nesting.html
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/test_moz_document_serialization.html
extra : rebase_source : 9d97f4cfe5e5e3bbda1d1b7910db44faf33d14c1
2015-09-02 13:54:30 -04:00
Zack Weinberg
a48ac7cfae 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 : 2d860f8493e328dec364a00282fcf1257a1c4d23
2015-09-02 13:52:49 -04:00
Jorg K
3b81a1041c Bug 717433 - Make selected language stick, regardless of whether it partly matches (test). r=roc 2015-09-02 14:39:00 +02:00
Jorg K
57a64cbe4d Bug 717433 - Make selected language stick, regardless of whether it partly matches. r=roc 2015-09-01 23:12:00 -04:00
Masayuki Nakano
3394edcb4a Bug 895274 part.83 Rename NS_DRAGDROP_EXIT to eDragExit r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
a07c726a8f Bug 895274 part.82 Rename NS_DRAGDROP_ENTER to eDragEnter r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
811d0fac7e Bug 895274 part.81 Rename NS_DRAGDROP_OVER to eDragOver r=smaug 2015-09-02 15:08:02 +09:00
Masayuki Nakano
7b7a44a5ac Bug 895274 part.77 Rename NS_DRAGDROP_DROP to eDrop r=smaug 2015-09-02 15:08:01 +09:00
Masayuki Nakano
35e18152d5 Bug 895274 part.70 Rename NS_BLUR_CONTENT to eBlur r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
cc5db3b160 Bug 895274 part.69 Rename NS_FOCUS_CONTENT to eFocus r=smaug 2015-09-02 15:08:00 +09:00
Masayuki Nakano
cafe2dfc67 Bug 895274 part.51 Rename NS_CONTEXTMENU to eContextMenu r=smaug 2015-09-01 00:20:06 +09: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
Masayuki Nakano
a516285180 Bug 895274 part.31 Rename NS_MOUSE_CLICK to eMouseClick r=smaug 2015-08-29 08:58:32 +09:00
Masayuki Nakano
db00b74a82 Bug 895274 part.27 Rename NS_MOUSE_BUTTON_DOWN to eMouseDown r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
30fdd39afb Bug 895274 part.26 Rename NS_MOUSE_BUTTON_UP to eMouseUp r=smaug 2015-08-29 08:58:30 +09:00
Masayuki Nakano
ba5b3f3fe6 Bug 895274 part.11 Rename NS_KEY_DOWN to eKeyDown r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
28c9f34179 Bug 895274 part.10 Rename NS_KEY_UP to eKeyUp r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
d311a11cc1 Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug 2015-08-29 08:58:27 +09:00
Masayuki Nakano
0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Ehsan Akhgari
89f4f96bd3 Bug 1198385 follow-up: Fix the build bustage on a CLOSED TREE 2015-08-25 16:28:40 -04:00
Ehsan Akhgari
a20e95ba8f Bug 1198385 - Use MFBT guard macros in the editor guard objects; r=froydnj 2015-08-25 16:14:45 -04:00
Ryan VanderMeulen
46803c4b5f Backed out changeset 1904a234e142 (bug 1198385) for bustage.
CLOSED TREE
2015-08-25 16:09:05 -04:00
Ehsan Akhgari
4317323e67 Bug 1198385 - Use MFBT guard macros in the editor guard objects; r=froydnj 2015-08-25 15:57:56 -04:00
Christoph Kerschbaumer
c7f7759cca Bug 1197002 - Use channel->Open2() in editor/libeditor/nsHTMLDataTransfer.cpp (r=sicking) 2015-08-21 20:33:42 -07:00
Masayuki Nakano
66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Justin Wood
d0f4238f1c Bug 1195499 - Batch 2 - Adjust fuzz and skips for win10. r=Bas
--HG--
extra : rebase_source : d1a1e1a135eaf3c40fb2a8cd387ed96b71ac68a2
2015-08-19 11:16:18 -04:00
Masayuki Nakano
3645c1dbaf Bug 555642 part.1 nsCaret should have a way to override the caret visible state for hiding caret temporarily and nsEditor should hide caret if composition string doesn't have caret information r=roc 2015-08-17 20:58:38 +09:00
William Chen
148ff86273 Bug 1181130 - Part 3: Keep track of editable descendants per node and prevent NS_STYLE_USER_SELECT_ALL selection for nodes with editable descendants. r=bz 2015-08-14 10:52:38 -07:00
Aryeh Gregor
4cb17f538e Bug 874838 - Make CreateElem return Element. r=khuey 2015-08-13 07:50:00 -04:00
Ehsan Akhgari
589471f2c8 Bug 1184689 - Remove two spammy editor warnings 2015-08-10 23:50:41 -04:00
Ehsan Akhgari
4d6ecbd434 Bug 1184665 - Remove a spammy editor warning 2015-08-10 23:50:40 -04:00
Ehsan Akhgari
b01265b97b Bug 1184289 - Remove a spammy editor warning 2015-08-08 18:25:55 -04:00
Masayuki Nakano
02c66a20fa Bug 1186799 part.2 Add test to check if IME selections are removed by committing composition caused by clicking outside of the focused contenteditable editor r=smaug 2015-08-08 09:23:04 +09:00
Masayuki Nakano
5b461df79b Bug 1186799 part.1 nsHTMLEditorEventListener should commit composition when it receives unacceptable mousedown event r=smaug 2015-08-08 09:23:04 +09:00
Aryeh Gregor
0b776df0db Bug 1156062 part 1b - Convert some callers of nsEditor::SplitNodeDeep; r=ehsan 2015-08-05 18:10:09 +03:00
Aryeh Gregor
7567908f2e Bug 1156062 part 1a - New nsEditor::SplitNodeDeep variant; r=ehsan 2015-08-05 17:54:36 +03:00
Aryeh Gregor
6efc5f4b12 Bug 1188180 - Fix possible uninitialized variable use; r=ehsan 2015-08-05 15:28:28 +03:00
Aryeh Gregor
80ea0a3e53 Bug 1190823 - Move OwningNonNull.h to xpcom/base/; r=froydnj
--HG--
rename : dom/bindings/OwningNonNull.h => xpcom/base/OwningNonNull.h
2015-08-05 15:28:27 +03:00
Birunthan Mohanathas
7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Ting-Yu Lin
3698f6f915 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
ac10f60e11 Backed out changeset c5e6edadb0d1 (bug 1172382) for mulet R6 Reftest Failures
--HG--
extra : rebase_source : f592d5f7b3785548007033e9946cea5af9ebc7c9
2015-07-27 08:47:23 +02:00
Ting-Yu Lin
c106f27e4d Bug 1172382 - Disable AccessibleCaret on some tests. r=roc
All the tests disabled for AccessibleCaret had already being disabled
for either TouchCaret or SelectionCarets.

--HG--
extra : commitid : H2bSIbLfEXs
2015-07-27 11:56:04 +08:00
Boris Zbarsky
1b4d68bc0c 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
75997e4ed0 Bug 1186004 - Split the asyncPanZoom reftest sandbox condition into asyncPan and asyncZoom. r=mstange 2015-07-22 23:42:08 -04:00
Eric Rahm
c66df7edf8 Bug 1184249 - Remove warning if rootContent is null in nsEditorSpellCheck::UpdateCurrentDictionary. r=ehsan 2015-07-22 09:24:59 -07:00
Eric Rahm
9b10736358 Bug 1184280 - Remove warning about mDisabledJSAndPlugins being false. r=ehsan 2015-07-15 14:48:09 -07:00
Birunthan Mohanathas
a8939590de 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
50ec2ec310 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
52d4e225a0 Bug 1026290 - Update mochitest-chrome manifests for android; r=jgriffin 2015-07-10 14:41:59 -06:00
Jeff Walden
fb6bc058ee Bug 1165533 - When testing DOMRect.top for getBoundingClientRect(), test only for +0, not for -0. r=Ms2ger
--HG--
extra : rebase_source : f8035b7443c35c82d9c79092d942091eb06ebfb8
2015-07-02 21:19:10 -07:00
William Chen
e2a8b6bfa3 Bug 1178513 - Add <extapp> element and interfaces to be used by ACL. r=khuey
--HG--
extra : rebase_source : 988379e48f84c04bcac181a6fc4c71325e3f0b02
2015-06-30 11:27:57 -07:00
Michael Layzell
0f9ea8b283 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-30 08:18:04 -04:00
Ehsan Akhgari
da6d711504 Backout changeset d648becaa638 (bug 1170531) for test failures 2015-06-27 13:14:06 -07:00
Michael Layzell
8822471924 Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-27 12:37:44 -07:00
Blake Kaplan
143fe7dc23 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
4161a5ac2b Backed out changeset 3fca18104696 (bug 1170531) for e10s-m4 test failures in test_bug1067255.html
--HG--
extra : rebase_source : 9e1295d5c84bfbeed5c7c184d6d7419000fc8629
2015-06-22 15:21:02 +02:00
Neil Deakin
ec3b6406c8 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
a9c46a12ac Bug 1170531 - Disable clipboard menu commands correctly in non-(X)HTML documents; r=ehsan 2015-06-22 08:13:26 -04:00
Andrea Marchesini
aa072e5e64 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
293a84e371 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
ee775a27a8 Bug 1067788 - Fix non-unified bustage. r=ehsan
--HG--
extra : amend_source : 012f1ae883c004b58d9b3df1e3f30dff8dab8ad1
extra : transplant_source : n%F7%AC%20%BB%DA%D1%9F%05g%83%C6%EDE%BD%82%E6%BD%FB%E1
2015-06-04 15:03:54 -04:00
Masayuki Nakano
29e56f5a88 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
a04cfb9c91 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
e7292e052c 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
50063a41f4 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
5364cd6821 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
0453e65380 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
20737c09c6 Bug 1067788 - Part 1: Don't invalidate bidi cursor directionality during a delete. r=smontagu
--HG--
extra : rebase_source : e7800dac174b1bd155dc2630a410f55eadef0f6b
2015-06-01 15:19:57 -04:00
Masayuki Nakano
274f4c6cb1 Bug 1169139 Remove all trailing whitespaces in editor (IGNORE IDL) r=ehsan 2015-05-29 00:58:42 +09:00
Michael Layzell
eb959a2cdf Bug 1012662 - Part 2 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
--HG--
extra : rebase_source : 1e7a8ff1ae6e243d8ac7a6a5a8efe2ef86a83dc3
2015-05-13 08:51:00 +02:00
Masayuki Nakano
adc1af7a1e 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
65790b8959 Backed out changeset 1f0306d29dec (bug 1012662) 2015-05-26 13:33:48 +02:00
Carsten "Tomcat" Book
a71e0153ee Backed out changeset fdc2aa9e612f (bug 1027560) for failing w3 tests 2015-05-26 13:13:48 +02:00
Michael Layzell
c0bb6f08c3 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
35b7d65ef0 Bug 1012662 - Updates to clipboard command controllers to match cut/copy action spec. r=ehsan
--HG--
extra : rebase_source : cbdb141ce6be7c1f3ad77e031c8e282e47379d22
2015-05-13 08:51:00 +02:00
Michael Layzell
c13b8f3ee6 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
99f5d83f31 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
33d00f98a4 Bug 1166840 - Merge SpecialPowers.{copyString,clipboardCopyString}. r=ehsan 2015-05-21 21:50:04 +01:00
Birunthan Mohanathas
3ffa8d565d Bug 1166840 - Remove unused document argument in uses of nsIClipboardHelper.copyString. r=ehsan 2015-05-21 21:49:30 +01:00
Nathan Froyd
06a216ef04 Bug 1165982 - part 2 - validate an nsRange::SelectNode call in nsHTMLEditRules::Init; r=ehsan 2015-05-19 14:08:54 -04:00
Nathan Froyd
a587185972 Bug 1165982 - part 1 - provide fallible initialization of nsDOMIterator from an nsRange; r=ehsan 2015-05-22 09:58:30 -04:00
Michael Layzell
c748c62a51 Bug 1161721 - Return false from document.queryCommandSupported for restricted commands. r=ehsan 2015-05-21 06:37:00 -04:00
Michael Layzell
4e252b0ed5 Bug 309731 - Allow document.execCommand('inserthtml') with an empty string parameter. r=ehsan 2015-05-14 08:02:00 -04:00
Ms2ger
2eb9170e70 Bug 1145395 - Introduce an overload of nsHTMLEditor::RemoveStyleInside that takes nsIContent&; r=ehsan 2015-05-13 17:58:26 +02:00
Ms2ger
f1fd90a52d Bug 1145395 - Pass Element& to nsHTMLEditor::RemoveElementIfNoStyleOrIdOrClass; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
6c69218669 Bug 1145395 - Introduce an overload of nsHTMLEditor::SelElementPosition that takes an Element; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
75cc8673ff Bug 1145395 - Call nsINode::Length directly in nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
646341aecf Bug 1145395 - Pass nsINode& to RemoveBodyAndHead in nsHTMLDataTransfer; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
54e8e23135 Bug 1145395 - Pass nsIContent& to nsHTMLEditor::StripFormattingNodes; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
e72fde474e Bug 1145395 - Use the local fragment variable rather than *outFragNode; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
5829c12a8a Bug 1145395 - Return a DocumentFragment from nsHTMLEditor::ParseFragment; r=ehsan 2015-05-13 17:58:25 +02:00
Ms2ger
f547a68b93 Bug 1145395 - Make some cosmetic improvements to nsHTMLEditor::CreateDOMFragmentFromPaste; r=ehsan 2015-05-13 17:58:25 +02:00
Jorg K
d149dbdc08 Bug 1140617 - Don't clear inline style when pasting image. r=ehsan 2015-05-06 16:15:00 +02:00
Kartikaya Gupta
253b49cced 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
Joel Maher
3ff44ada49 Bug 1270962 - move tests which access the clipboard to subsuite 'clipboard'. r=bgrins,ryanvm,armenzg
MozReview-Commit-ID: IZziPmwFtHj
2016-05-25 15:28:24 -04:00
Jan Horak
ed82bef0cf 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
5c6c077a96 Bug 1162823 - Do not treat non-Latin words as misspelled; r=ekanan
--HG--
rename : layout/base/tests/bug646382-1.html => editor/reftests/spellcheck-non-latin-arabic-ref.html
2015-05-08 22:45:16 -04:00
Anthony Tseng
6fe5a1137f Bug 1158425 - Rename _SYNTH event names. r=smaug
--HG--
extra : rebase_source : 533cc7e18cf7f92d95a146d61f7aa2da7c0b8e48
2015-05-01 22:06:00 -04:00
Ehsan Akhgari
c8e40d05a1 Bug 1158837 - Ensure the start and end nodes are non-null before using them. r=roc
--HG--
extra : rebase_source : 41de38057faf9d3b7831c61e126ff14e39b2f0cd
2015-04-29 18:35:00 -04:00
Mike Hommey
924c9eb636 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
b3891dc524 Bug 1158651 - Correctly ignore non-editable nodes in nsHTMLEditRules::GetParagraphFormatNodes; r=roc 2015-04-27 21:13:10 -04:00
Boris Zbarsky
5af3e25ba7 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
52d720a960 Bug 1158920 - Yield to the event loop before reading the spelling suggestions 2015-04-27 15:09:22 -04:00
Boris Zbarsky
d36060dc11 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
839141fb74 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
418f0f69c3 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
1540774b0c 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
a4d2a8c99c Bug 1140105 - Can't query for a specific font face when the selection is collapsed. r=ehsan
--HG--
extra : rebase_source : bfdc26a4bb9506f8adff9eadd94c1ad5e7d1dc03
2015-04-24 05:57:00 -04:00
David Anderson
979949ce62 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
7aa649e324 Bug 1154701 part 14 - Remove unused nsCOMArray cruft; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
09fbec2fa2 Bug 1154701 part 13 - Clean up nsHTMLEditor::SetCSSBackgroundColor; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
547b89759b Bug 1154701 part 12 - Switch nsEditor::mDocStateListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
3dd037d676 Bug 1154701 part 11 - Switch nsEditor::mEditorObservers to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
bdaa9608e6 Bug 1154701 part 10 - Switch nsEditor::mActionListeners to nsTArray; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
9f7724b473 Bug 1154701 part 9 - Clean up nsHTMLEditor::RelativeFontChange; r=ehsan 2015-04-24 14:27:36 +03:00
Aryeh Gregor
270f330257 Bug 1154701 part 8 - Clean up nsHTMLEditor::SetInlinePropertyOnNode; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
f09b4c2256 Bug 1154701 part 7 - Clean up nsHTMLEditor::SetInlineProperty; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
9aea14124a Bug 1154701 part 6 - Clean up nsHTMLEditor::SetInlinePropertyOnNodeImpl; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
edc5f268b3 Bug 1154701 part 5 - Switch nsHTMLEditor::objectResizeEventListeners to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
bf443a34ea Bug 1154701 part 4 - Switch nsHTMLEditor::mContentFilters to nsTArray; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
de7eecee27 Bug 1154701 part 3 - Clean up nsHTMLEditor::GetListAndTableParents, DiscoverPartialListsAndTables, ScanForListAndTableStructure, ReplaceOrphanedStructure; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
ec9a70e7af Bug 1154701 part 2 - Use more OwningNonNull in editor; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
33565268b1 Bug 1154701 part 1 - Clean up nsHTMLEditor::CreateListOfNodesToPaste; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
76707ccecd Bug 1153629 part 12 - Clean up nsHTMLEditRules::RemoveEmptyNodes; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
74ea691ed5 Bug 1153629 part 11 - Clean up nsHTMLEditRules::AdjustSpecialBreaks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
7faae0a125 Bug 1153629 part 10 - Clean up nsHTMLEditRules::AlignInnerBlocks; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
78fd0e1b01 Bug 1153629 part 9 - Clean up nsHTMLEditRules::MakeTransitionList; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
29c872f3fa Bug 1153629 part 8 - Clean up nsHTMLEditRules::ApplyBlockStyle; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8eb649a5d8 Bug 1153629 part 7 - Clean up nsHTMLEditRules::RemoveBlockStyle, RemovePartOfBlock; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8602582e9f Bug 1153629 part 6 - Clean up nsHTMLEditRules::MakeBlockquote; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
508d8057fd Bug 1153629 part 5 - Clean up nsHTMLEditRules::GetChildNodesForOperation; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
8f81628bd8 Bug 1153629 part 4 - Clean up nsHTMLEditRules::ListIsEmptyLine; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
5467a0e2f4 Bug 1153629 part 3 - Clean up nsHTMLEditRules::GetNodesFromPoint; r=ehsan 2015-04-24 14:27:35 +03:00
Aryeh Gregor
338958cb1e Bug 1153629 part 2 - Clean up nsHTMLEditRules::GetParagraphFormatNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
f85e598e03 Bug 1153629 part 1 - Clean up nsHTMLEditRules::GetListActionNodes; r=ehsan 2015-04-24 14:27:34 +03:00
Aryeh Gregor
5b2285c847 Bug 1149163 part 9 - Clean up nsHTMLEditRules::GetNodesFromSelection; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
81e67d2d3e Bug 1149163 part 8 - Clean up nsHTMLEditRules::GetPromotedRanges; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
1931f8875d Bug 1149163 part 7 - Clean up nsHTMLEditRules::PromoteRange; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
ae4d8d8492 Bug 1149163 part 6 - Clean up nsHTMLEditRules::LookInsideDivBQandList; r=froydnj 2015-04-24 14:27:34 +03:00
Aryeh Gregor
e501b598ea Bug 1149163 part 5 - Clean up nsHTMLEditRules::GetNodesForOperation; r=froydnj 2015-04-24 14:27:34 +03:00