Kyle Huey
941ab1f522
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-05-05 01:45:00 -07:00
Aryeh Gregor
f14f1babe8
Bug 1193762 part 8 - Fix things that will break; r=froydnj
...
It looks like VC++ doesn't like comparisons of nsCOMPtr to 0 after this
change, but those are bad style anyway, so I removed them from
TestCOMPtr.cpp instead of trying to make them work.
2016-05-01 21:29:23 +03:00
Aryeh Gregor
0a025f6cca
Bug 1193762 part 3 - Remove nsEditor::IsDescendantOfEditorRoot(nsIDOMNode*); r=ehsan
2016-05-01 17:59:29 +03:00
Aryeh Gregor
419ed0f1bb
Bug 1193762 part 2 - Remove nsHTMLEditor::IsVisBreak(nsIDOMNode*); r=ehsan
2016-05-01 17:59:17 +03:00
Aryeh Gregor
9f98b80267
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 17:59:05 +03:00
Aryeh Gregor
bf808d8cc0
Bug 1191356 part 7 - Clean up nsHTMLEditor::GetSelectionContainer; r=ehsan
...
This makes the XPCOM GetSelectionContainer return an error in cases
where previously it would return success but a null pointer. This could
theoretically cause problems, but there's no obvious non-ugly way to
avoid it.
2016-05-01 17:58:29 +03:00
Sebastian Hengst
ce0ea5ad03
Backed out changeset aa61db1f8f83 (bug 1191356)
2016-05-01 16:27:29 +02:00
Sebastian Hengst
46b9ec79bb
Backed out changeset 50b15734fe1d (bug 1193762)
2016-05-01 16:27:03 +02:00
Sebastian Hengst
e1428250cb
Backed out changeset 6b3d9803990b (bug 1193762)
2016-05-01 16:26:56 +02:00
Sebastian Hengst
ff6ae40a51
Backed out changeset ef0eaadbed31 (bug 1193762)
2016-05-01 16:26:45 +02:00
Aryeh Gregor
4f5b418627
Bug 1193762 part 3 - Remove nsEditor::IsDescendantOfEditorRoot(nsIDOMNode*); r=ehsan
2016-05-01 16:18:39 +03:00
Aryeh Gregor
45c59d499f
Bug 1193762 part 2 - Remove nsHTMLEditor::IsVisBreak(nsIDOMNode*); r=ehsan
2016-05-01 16:18:26 +03:00
Aryeh Gregor
0c5699255e
Bug 1193762 part 1 - Remove nsEditor::IsBlockNode(nsIDOMNode*); r=ehsan
2016-05-01 16:18:14 +03:00
Aryeh Gregor
0d6d4b284b
Bug 1191356 part 7 - Clean up nsHTMLEditor::GetSelectionContainer; r=ehsan
...
This makes the XPCOM GetSelectionContainer return an error in cases
where previously it would return success but a null pointer. This could
theoretically cause problems, but there's no obvious non-ugly way to
avoid it.
2016-05-01 16:17:39 +03:00
Aryeh Gregor
5b2a15bdb0
Bug 1191356 part 2 - Clean up nsHTMLEditor::RemoveBlockContainer; r=ehsan
2016-05-01 16:16:38 +03:00
Aryeh Gregor
aa64a725d7
Bug 1190172 part 10 - Clean up nsHTMLEditor::ReturnInListItem; r=ehsan
2016-05-01 16:13:15 +03:00
Carsten "Tomcat" Book
ba3fe0975c
Backed out changeset 85ce8cb0639a (bug 1268313)
...
--HG--
extra : rebase_source : 56d1cf41a2dc4959b67f834e07192a5c772176a8
2016-04-29 14:21:16 +02:00
Kyle Huey
48a594a09e
Bug 1268313: Part 7 - Move NS_NewRunnableMethod and friends to mozilla::NewRunnableMethod. r=froydnj
2016-04-28 14:08:25 -07:00
Christoph Kerschbaumer
232720eac5
Bug 1263286 - Move base-uri CSP check into SetBaseURIUsingFirstBaseWithHref. r=bz
2016-04-26 11:48:29 +02:00
Masayuki Nakano
1c1fbc3eb0
Backout changeset fd552a08c876 (bug 1190172 part 10)
...
--HG--
extra : rebase_source : 110d707f75da51d537b28ba242675fa047da4223
2016-04-23 19:57:50 +09:00
Aryeh Gregor
e590800e2e
Bug 1190172 part 10 - Clean up nsHTMLEditor::ReturnInListItem; r=ehsan
2016-04-23 19:28:57 +09:00
Aryeh Gregor
ff29bf2138
Bug 1156062 part 5 - Make CreateBR return regular pointer; r=ehsan
2016-04-23 18:31:55 +09: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
9b7107904f
Bug 1190172 - Back out for now, requested by Masayuki at bug 1191356 comment 23
2016-04-20 20:44:15 +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
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
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
Jonathan Watt
9480920b04
Bug 1263785 - Kill off the deprecated nsINode::GetCurrentDoc. r=baku
2016-03-31 12:46:32 +01: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
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
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
Paul Bignier
79438310e1
Bug 1245113 - Fixed uninitialized variables warnings. r=ehsan
2016-02-02 07:38:00 +01:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08: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
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
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
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
ccfef33f58
Bug 1156062 part 1c - Convert remaining callers of nsEditor::SplitNodeDeep; r=ehsan
2015-10-08 18:27:19 +03:00
Michael Layzell
2aa752dd26
Bug 1199288 - Rename mApplyUserSelectStyle to mUserInitiated, r=smaug
2015-09-23 23:28:36 -04: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
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
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
Masayuki Nakano
d311a11cc1
Bug 895274 part.9 Rename NS_KEY_PRESS to eKeyPress r=smaug
2015-08-29 08:58:27 +09:00