Miko Mynttinen
3df26bc8a5
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
arthur.iakab
9588ba6d78
Backed out 2 changesets (bug 1465060) for build bustages on security/sandbox/linux/reporter/SandboxReporter.cpp
...
Backed out changeset 7c8905b6b226 (bug 1465060)
Backed out changeset 10446073eca8 (bug 1465060)
2018-06-03 19:25:41 +03:00
Miko Mynttinen
5afe37aefc
Bug 1465060 - Part 1: Fix warnings for std::move() use r=froydnj
...
MozReview-Commit-ID: HpdFXqQdIOO
2018-06-01 17:59:07 +02:00
Emilio Cobos Álvarez
4b8b5e1717
Bug 1465585: Switch from mozilla::Move to std::move. r=froydnj
...
This was done automatically replacing:
s/mozilla::Move/std::move/
s/ Move(/ std::move(/
s/(Move(/(std::move(/
Removing the 'using mozilla::Move;' lines.
And then with a few manual fixups, see the bug for the split series..
MozReview-Commit-ID: Jxze3adipUh
2018-06-01 10:45:27 +02:00
Jan de Mooij
e5f8a28c84
Bug 1461292 part 1 - Rename JSAutoCompartment to JSAutoRealm. r=bz,luke
2018-05-16 10:53:16 +02:00
Boris Zbarsky
599ef690cf
Bug 1455674 part 16. Remove most use of nsIDOMElement in dom. r=qdot
2018-04-26 23:37:34 -04:00
Boris Zbarsky
60904110c3
Bug 1455674 part 10. Remove nsIDOMElement use from remaining dom/ xpidl files. r=qdot
2018-04-26 23:36:10 -04:00
Boris Zbarsky
841545ca39
Bug 1455055 part 6. Clean up HandleEvent implementations in dom. r=masayuki
...
MozReview-Commit-ID: Ht7HQEhVS8E
2018-04-20 00:49:30 -04:00
Boris Zbarsky
65759d684b
Bug 1455055 part 1. Convert nsIDOMEventListener to taking an Event, not an nsIDOMEvent. r=masayuki
...
This does no cleanup other than what's needed to compile. Cleanup coming up in
later patches.
MozReview-Commit-ID: 3sOnkj71n09
2018-04-20 00:49:29 -04:00
Sebastian Hengst
d91e9954eb
Backed out 4 changesets (bug 525063) on request from Andi. a=backout
...
Backed out changeset 516c4fb1e4b8 (bug 525063)
Backed out changeset 6ff8aaef2866 (bug 525063)
Backed out changeset bf13e4103150 (bug 525063)
Backed out changeset d7d2f08e051c (bug 525063)
2018-04-13 16:01:28 +03:00
Tristan Bourvon
6095241db8
Bug 525063 - Initialize uninitialized class attributes in m-c. r=ehsan
2018-04-10 21:11:02 +02:00
Chris Peterson
677bf4030c
Bug 1428535 - Add missing override specifiers to overridden virtual functions. r=froydnj
...
MozReview-Commit-ID: DCPTnyBooIe
2017-11-05 19:37:28 -08:00
Johann Hofmann
7edf42f138
Bug 1345424 - Add an isHandlingUserInput attribute to permission requests. r=baku,smaug
...
MozReview-Commit-ID: 80TXjnxLMuT
2017-02-20 20:46:39 +01:00
Nika Layzell
20ee9a4927
Bug 1419597 - Part 18: Remove IsInnerWindow and IsOuterWindow methods, r=smaug
...
MozReview-Commit-ID: DAAm6tLubhJ
2017-11-23 13:12:13 -05:00
Masatoshi Kimura
e29c3d5a3e
Bug 1313150 - Remove |weak| parameter from nsIMutableArray methods. r=froydnj
...
MozReview-Commit-ID: 7JoD4VYzZp3
2017-10-21 23:53:02 +09:00
Bevis Tseng
31b765b553
Bug 1392195 - Label PContentPermissionRequest actor. r=billm
2017-08-21 17:06:05 +08:00
Nicholas Nethercote
1a15a0b18a
Bug 1382099 - Remove MOZ_WIDGET_GONK from dom/{base,ipc,plugins}. r=mccr8.
2017-07-21 10:52:30 +10:00
Andrea Marchesini
80bc31371c
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Carsten "Tomcat" Book
c4daf63d34
Backed out changeset 5d77f6b14633 (bug 1362119) for android bustage in nsCCUncollectableMarker.cpp:500:7: error: 'TraceScriptHolder' is not a member of 'mozilla'
2017-05-08 09:54:38 +02:00
Andrea Marchesini
71aba8e0ee
Bug 1362119 - part 1 - Moving dom/base/Script{Loader,Element}.* in dom/script, r=ehsan
...
This patch does these things:
1. it moves nsScriptElement, nsScriptLoader, ScriptSettings, nsIScriptElement
and nsIScriptLoaderObserver in dom/script
2. it renames nsScriptElement to mozilla::dom::ScriptElement
3. it renames nsScriptLaoder to mozilla::dom::ScriptLoader
2017-05-08 08:24:22 +02:00
Andrew McCreight
209d4ee048
Bug 1323042 - forbid MOZ_COUNT_{CTOR,DTOR} for nsISupports classes; r=froydnj
2016-12-12 09:27:58 -05:00
Nathan Froyd
f2d50c26f4
Backout aba6c73511a2 (bug 1307961) for massive test bustage resulting in a CLOSED TREE; r=alltheorange
2016-12-12 08:45:46 -05:00
Andrew McCreight
2f93d6e48d
Bug 1307961 - require consistent bloatview reporting for nsISupports classes; r=froydnj
2016-12-12 07:58:33 -05:00
Kan-Ru Chen
1b9dd22e2d
Bug 1314254 - Add mozilla::ipc::IPCResult type and convert IPDL handlers to use new return type. r=billm
...
We will use the new type for the generated IPDL message handler
prototype to make sure correct error handling method is called.
MozReview-Commit-ID: AzVbApxFGZ0
2016-11-15 04:26:00 +01:00
Sebastian Hengst
82cf47929c
Bug 1306137 - remove b2g camera code: Remove dom/camera/ and code which depends on it. r=aosmond,bkelly
...
MozReview-Commit-ID: 7gvZrDtmcZP
2016-10-04 20:16:28 +02:00
Kan-Ru Chen
a9b19d0584
Bug 1297276 - Rename mfbt/unused.h to mfbt/Unused.h for consistency. r=froydnj
...
The patch is generated from following command:
rgrep -l unused.h|xargs sed -i -e s,mozilla/unused.h,mozilla/Unused.h,
MozReview-Commit-ID: AtLcWApZfES
2016-08-24 14:47:04 +08:00
Kyle Huey
e95edb30a9
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Kyle Huey
45be8705a7
Bug 1239509: Move VisibilityChangeListener out of nsContentPermissionHelper's header. r=wchen
2016-01-22 10:28:33 -08:00
Andrew McCreight
eedb4d357f
Bug 1240908 - Make the window reference in nsContentPermissionRequester weak. r=smaug
2016-01-19 14:07:00 +01:00
Birunthan Mohanathas
6129a0880a
Bug 1217307 - Remove some unnecessary null checks in dom/base/. r=njn
2015-11-19 09:13:49 +02:00
Sotaro Ikeda
434564718c
Bug 1189195 - Fix PContentPermissionRequest shutdown () r=fabrice
2015-11-08 16:55:08 -08:00
Wes Kocher
997b08e19d
Backed out changeset f073181a927d (bug 1189195) for browser_privatebrowsing_geoprompt.js leaks CLOSED TREE
2015-11-05 18:06:21 -08:00
Sotaro Ikeda
978f60c22d
Bug 1189195 - Fix PContentPermissionRequest shutdown r=fabrice
2015-11-05 16:41:13 -08:00
Shih-Chiang Chien
0e2ebb422f
Bug 1220679 - replace AutoSafeJSContext with AutoJSAPI. r=bz.
2015-11-03 13:49:23 -05:00
Birunthan Mohanathas
ac37dec517
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
4e6d8f6705
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
Kyle Machulis
74dc47bcf8
Bug 1186582 - AskPermission should check for prompt exceptions; r=fabrice
2015-08-06 08:53:23 -07:00
Juan Gomez
89035d527e
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-07-03 18:29:00 -07:00
Ryan VanderMeulen
7aba9d7002
Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage.
2015-06-25 19:48:42 -04:00
Juan Gomez
7323e89a40
Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
2015-06-24 14:11:00 -04:00
Hiroyuki Ikezoe
0a07fdb401
Bug 1164366 - Need to fix an issue on unified build in dom/base. r=ehsan
2015-05-13 01:36:00 -04:00
Andrew McCreight
92010d3e4c
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Kershaw Chang
d516b6b845
Bug 1020179 - Let PContent manage PContentPermissionRequest. r=fabrice, r=khuey
2015-04-13 21:08:00 -04:00
Nathan Froyd
023e3d5c3f
Bug 1153267 - part 1 - use smart-pointer .forget() instead of NS_ADDREF+assign; r=ehsan
2015-03-31 10:03:49 -04:00
Kan-Ru Chen (陳侃如)
4d157a60e2
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 16:47:32 -05:00
Ryan VanderMeulen
f90c1c2e5f
Backed out changeset ab7fbaca9fdd (bug 1114890) for being the likely cause of bug 1124046.
2015-02-05 14:35:35 -05:00
Kan-Ru Chen (陳侃如)
4b95fd5436
Bug 1114890 - Use TabParent::GetFrom everywhere. r=billm
2015-02-05 17:18:22 +08:00
Tom Schuster
7c3552a7df
Bug 1125356 - Use JS_NewPlainObject in the browser. r=bz
2015-01-24 16:38:08 +01:00
Kyle Huey
3f5b8810c4
Bug 1121673: Use move references in IPDL. r=bent
2015-01-16 11:58:52 -08:00
Bobby Holley
b2b763cb29
Bug 1052052 - Hoist Auto*JSContext into nsContentUtils and kill nsCxPusher.{cpp,h}. r=gabor
2014-08-14 18:47:15 -07:00