Commit Graph

2049 Commits

Author SHA1 Message Date
Jorg K
1b57c3bff9 Bug 1250010 - Fix nsHTMLEditRules::ReturnInParagraph(). r=ehsan 2016-02-24 13:43:00 +01:00
William Chen
9c5dd6e780 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
a958b7bfa0 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
7d566a11af Bug 1248185 - Test for spurious looping behavior of selection. r=roc 2016-02-17 12:05:10 +00:00
Jonathan Kew
42c3129349 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
Aidin Gharibnavaz
ea7185b2c6 Bug 1235830 - Renaming GetInternalNSEvent to WidgetEvent, in nsIDOMEvent r=smaug
MozReview-Commit-ID: Hm8Owq17KXn
2016-02-12 19:10:07 +03:30
Jet Villegas
54183c3115 Bug 974309: Fixes the IsEditable() logic for table cells. r=ehsan 2016-02-09 14:06:03 -08:00
Christoph Kerschbaumer
8b50dfcdb4 Bug 1245681 - Test addOverrideStyleSheet (r=bz)
CLOSED TREE
2016-02-05 15:28:18 -08:00
Wes Kocher
a3029f2642 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)
2016-02-05 15:16:36 -08:00
Christoph Kerschbaumer
b21ca1bd3b Bug 1245681 - Test for addOverrideStyleSheet. r=bz 2016-02-05 11:05:32 -08:00
Kyle Huey
546821fb96 Bug 1244894: Steal the failed nsresult when bailing early. r=bz 2016-02-05 10:12:25 -08:00
Ting-Yu Lin
38793c24a0 Bug 591737 - Add details and summary to nsHTMLEditUtils. r=ehsan 2016-01-20 23:20:40 +08:00
Paul Bignier
22bb795314 Bug 1245113 - Fixed uninitialized variables warnings. r=ehsan 2016-02-02 07:38:00 +01:00
Birunthan Mohanathas
9bed3781f9 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-02-02 17:36:30 +02:00
Phil Ringnalda
863943dfb7 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
f94b4ff6a2 Bug 1235261 - Part 1: Rename nsAutoTArray to AutoTArray. r=froydnj 2016-01-31 17:12:12 +02:00
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Mats Palmgren
aa1c5e8dfc 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
14ec5bc735 Bug 1218816 - Remove useless semicolons. Found by coccinelle. r=Ehsan 2016-01-22 16:58:49 +01:00
Aidin Gharibnavaz
1e884b44a1 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.
2016-01-12 07:49:08 +03:30
Andrea Marchesini
da5c7a3c74 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 18:16:59 +00:00
Carsten "Tomcat" Book
72d5b69443 Backed out changeset 5f6a58676e87 (bug 1231378) 2016-01-12 15:48:57 +01:00
Andrea Marchesini
2a65b00fe2 Bug 1231378 - part 2 - Fix uninitialized members of classes in dom/*, r=smaug 2016-01-12 13:54:53 +00:00
Jonathan Kew
5ec8cb4ef6 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
Masayuki Nakano
cabb3fe88d 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
51a58b5c74 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
0f9a85616c merge mozilla-inbound to mozilla-central a=merge 2015-12-02 15:20:57 +01:00
Masayuki Nakano
32e964a3fc 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
Andrew Herron
130eb91e43 Bug 586587 - support kHTMLMime in the Windows clipboard as CF_HTML. r=jimm 2015-07-22 16:56:57 +10:00
Mark Capella
43630396ae Bug 1215959 - (GeckoCaret2) Upgrade Core and AccessibleCaret, r=smaug 2015-12-01 15:25:06 -05:00
Cameron McCormack
a07849f938 Bug 990250 - Fold nsIStyleSheet into CSSStyleSheet. r=dbaron 2015-11-17 17:04:09 +11:00
L. David Baron
1b093e6db8 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.
2015-11-09 15:57:16 +08:00
Ryan VanderMeulen
a46beb2ec9 No bug - Various crashtest manifest cleanups. 2015-10-31 19:35:27 -04:00
Ryan VanderMeulen
6ad0a3e789 Bug 429586 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen
80d8a5dd3d Bug 439258 - Remove assertion annotations that are no longer needed and add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen
38627c404a 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
010ba81b41 Bug 650572 - Add crashtest. 2015-10-30 19:41:17 -04:00
Andrew McCreight
183abfaf12 Bug 1219842 - Enable a bunch of mochitest-plain tests under e10s. r=mrbkap 2015-10-31 06:26:44 -07:00
Blake Kaplan
fccbbc67e6 Bug 1169268 - Don't crash when pasting files. r=ndeakin 2015-10-27 14:41:58 -07:00
Jonathan Kew
2b2811e250 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
a97bbf0826 Bug 1216427 - Tests for backspacing over a character with variation selector, and over Regional Indicator flag symbols. r=emk 2015-10-26 10:47:12 +00:00
Ryan VanderMeulen
a54d2e442a Bug 667321 - Add crashtest. 2015-10-25 00:06:23 -04:00
Bobby Holley
36779c2f0a Bug 1217614 - Remove nsIDOMDataTransfer::mozGetDataAt and refactor associated code. r=bz
This one was kinda gross.
2015-10-23 18:10:31 -07:00
Nathan Froyd
e4e2da55c9 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
2015-10-18 01:24:48 -04:00
Zack Weinberg
c393e2a8fd 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 2015-10-13 17:43:16 -04:00
Aryeh Gregor
b428174213 Bug 1156062 part 3 - New helper nsHTMLEditor::GetBlock; r=ehsan 2015-10-11 18:59:11 +03:00
Aryeh Gregor
d0dc675ef3 Bug 1156062 part 2 - Make GetBlockNodeParent and GetEnclosingTable return regular pointers; r=ehsan 2015-10-11 18:58:47 +03:00
Aryeh Gregor
e0122842eb Bug 1156062 part 1d - Clean up nsEditor::SplitNodeDeep; r=ehsan 2015-10-11 18:57:48 +03:00
Aryeh Gregor
ef323f6615 Bug 1156062 part 1c - Convert remaining callers of nsEditor::SplitNodeDeep; r=ehsan 2015-10-08 18:27:19 +03:00
Daniel Glazman
2343fe3173 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