Ehsan Akhgari
dc33b55d94
Bug 1312101 - Part 2: Remove AppProcessChecker and code that depends on it; r=baku
2016-11-16 14:51:08 -05:00
Gabor Krizsanits
b64adac9e4
Bug 1291202 - Link pmm's with fmm's. r=billm
2016-08-22 10:28:04 +02:00
Sebastian Hengst
1785b4b376
Backed out changeset 262a71c958db (bug 1291202) for build bustage. r=backout on a CLOSED TREE
2016-08-22 11:17:14 +02:00
Gabor Krizsanits
e3b933cd9a
Bug 1291202 - Link pmm's with fmm's. r=billm
2016-08-22 10:28:04 +02:00
Jan de Mooij
536f87ca97
Bug 1294404 - Merge PerThreadDataFriendFields and ContextFriendFields, clean up APIs. r=terrence,bz
2016-08-12 11:39:16 +02:00
Nicholas Nethercote
bab6d17ebf
Bug 1293117 (part 4) - Change many NS_IMETHODIMP occurrences to NS_IMETHOD. r=froydnj.
...
This patch makes the following changes on many in-class methods.
- NS_IMETHODIMP F() override; --> NS_IMETHOD F() override;
- NS_IMETHODIMP F() override {...} --> NS_IMETHOD F() override {...}
- NS_IMETHODIMP F() final; --> NS_IMETHOD F() final;
- NS_IMETHODIMP F() final {...} --> NS_IMETHOD F() final {...}
Using NS_IMETHOD is the preferred way of marking in-class virtual methods.
Although these transformations add an explicit |virtual|, they are safe --
there's an implicit |virtual| anyway because |override| and |final| only work
with virtual methods.
--HG--
extra : rebase_source : 386ee4e4ea2ecd8d5001efabc3ac87b4d6c0659f
2016-08-08 10:54:47 +10:00
Nicholas Nethercote
e7f10a07fd
Bug 1293603 (part 2) - Make Run() declarations consistent. r=erahm.
...
This patch makes most Run() declarations in subclasses of nsIRunnable have the
same form: |NS_IMETHOD Run() override|.
As a result of these changes, I had to add |override| to a couple of other
functions to satisfy clang's -Winconsistent-missing-override warning.
--HG--
extra : rebase_source : 815d0018b0b13329bb5698c410f500dddcc3ee12
2016-08-08 12:18:10 +10:00
Andrew McCreight
2d0dfef092
Bug 1287623, part 1 - Use StaticRefPtr for sScriptCacheCleaner. r=smaug
2016-07-21 09:54:16 -07:00
Wes Kocher
3bba9b339e
Backed out 5 changesets (bug 1287623) for static build bustage CLOSED TREE
...
Backed out changeset a48daec87ec9 (bug 1287623)
Backed out changeset 248153344e15 (bug 1287623)
Backed out changeset 8aa409c9b1ce (bug 1287623)
Backed out changeset 602d4d88e806 (bug 1287623)
Backed out changeset 114da8bdc0b0 (bug 1287623)
2016-07-20 15:40:33 -07:00
Andrew McCreight
6b881b736e
Bug 1287623, part 1 - Use StaticRefPtr for sScriptCacheCleaner. r=smaug
2016-07-20 15:19:00 -07:00
Kyle Huey
c73656947b
Bug 1265927: Move nsRunnable to mozilla::Runnable, CancelableRunnable to mozilla::CancelableRunnable. r=froydnj
2016-04-25 17:23:21 -07:00
Alexandre Poirot
ff90d0b471
Bug 1258496 - Purge message manager cached scripts on 'message-manager-flush-caches' notification. r=smaug
2016-04-13 11:04:11 -07:00
Mantaroh Yoshinaga
0d77c71c32
Bug 1174624 - Add the Transferable parameter into SendAsyncMessage of nsFrameMessageManager. r=baku
2016-01-31 22:48:00 +01:00
Nathan Froyd
69d27155df
Bug 1247362 - move mAnonymousGlobalScope tracing into nsMessageManagerScriptExecutor; r=mccr8
2016-02-09 17:08:53 -05: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
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
David Rajchenbach-Teller
cbe8e23af4
Bug 1212244 - Same-process sendAsyncMessage can now throw instead of OOM. r=smaug
...
--HG--
extra : rebase_source : 50d89efacee7103452218782c92a53a7cf07dd9b
2015-10-07 12:42:43 +02:00
Kan-Ru Chen
352ceeac46
Bug 1186843 - Don't recreate message manager. r=smaug
2015-09-21 17:51:08 +08:00
Andrea Marchesini
cd4473d62f
Bug 1203426 - Rename StructuredCloneIPCHelper to StructuredCloneData, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneIPCHelper.cpp => dom/ipc/StructuredCloneData.cpp
rename : dom/ipc/StructuredCloneIPCHelper.h => dom/ipc/StructuredCloneData.h
2015-09-10 21:50:58 +01:00
Andrea Marchesini
896e177461
Bug 1201806 - part 1 - Remove OwningSerializedStructuredCloneBuffer and use StructuredCloneIPCHelper everywhere in IPC code, r=smaug
2015-09-09 08:10:32 +01:00
Andrea Marchesini
efd3b25c78
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
...
--HG--
rename : dom/ipc/StructuredCloneUtils.cpp => dom/ipc/StructuredCloneIPCHelper.cpp
rename : dom/ipc/StructuredCloneUtils.h => dom/ipc/StructuredCloneIPCHelper.h
2015-09-02 17:20:30 +01:00
Michael Layzell
ef8951b111
Bug 1167392 - Change nsFrameMessageManager::mParentManager to a smart pointer. r=ehsan
...
--HG--
extra : rebase_source : 9cb7c0e85d2b2d3ba333068e2bccbb0084f1233a
2015-07-06 07:06:00 -04:00
Bill McCloskey
e6fc5ae904
Bug 1162838
- Allow sending initial process data to content processes (r=smaug)
2015-05-11 17:19:16 -07:00
Bill McCloskey
751027c648
Bug 803783 - Send message manager results via structured clone (r=bent)
2015-05-11 17:19:10 -07:00
Andrea Marchesini
5c1e2ee932
Bug 1156632 - Remove unused forward class declarations - patch 1 - dom/base, r=ehsan
2015-04-22 08:29:15 +02:00
Bill McCloskey
9233d0ea6f
Bug 1155224 - Add targetFrameLoader property to messages (r=smaug)
2015-04-20 23:32:59 -07:00
Bill McCloskey
14dc9ace94
Bug 1131375 - Fix message ordering for in-process message manager (r=smaug)
2015-04-14 17:04:26 -07:00
Ryan VanderMeulen
e75dc71bd7
Backed out changeset c2f12ead270c (bug 1131375) for Windows bustage.
...
CLOSED TREE
2015-04-14 10:55:59 -04:00
Bill McCloskey
0fe08fe004
Bug 1131375 - Fix message ordering for in-process message manager (r=smaug)
2015-04-14 07:18:33 -07:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Bill McCloskey
810adeb74f
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-19 06:43:46 -07:00
Phil Ringnalda
24910d5fbd
Backed out 3 changesets (bug 1126089) for ASan e10s bc1 failures and green-crashes
...
CLOSED TREE
Backed out changeset 9af9111e9c27 (bug 1126089)
Backed out changeset 288efd5e2ca0 (bug 1126089)
Backed out changeset 3bcebfd13538 (bug 1126089)
2015-03-18 21:51:34 -07:00
Bill McCloskey
4cfef838dd
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-18 16:09:27 -07:00
Ryan VanderMeulen
3508f4aa52
Backed out changesets f63a2cf3fa11 and 7d9a91ee3d48 (bug 1126089) for mochitest-bc failures.
2015-03-13 13:42:57 -04:00
Bill McCloskey
5d4e83e61d
Bug 1126089 - Allow messages to be sent after frame script unload event (r=smaug)
2015-03-13 08:24:20 -07:00
Bill McCloskey
6de8cccbb4
Bug 1139628 - Don't load delayed process scripts until channel is open (r=smaug)
2015-03-09 17:54:34 -07:00
Olli Pettay
b894344adc
Bug 1136322 - Optimize anon scopes from CC graph, r=mccr8
...
--HG--
extra : rebase_source : 00388706e9db93fd9995b848ad50a4231e978f88
2015-02-25 00:23:53 +02:00
Bill McCloskey
989fdd3474
Bug 1133594 - Add support for message manager process scripts (r=smaug)
2015-02-19 17:13:02 -08:00
Bill McCloskey
e310fd9b2a
Bug 1133594 - Hide nsFrameMessageManager::sChildProcessManager (r=smaug)
2015-02-19 17:12:38 -08:00
Bill McCloskey
3315a6def5
Bug 1133594 - Make a common base class for message manager script globals (r=smaug)
2015-02-19 17:12:11 -08:00
Bill McCloskey
6b791594f3
Bug 1133594 - Rename LoadFrameScript to LoadMessageManagerScript (r=smaug)
2015-02-19 17:11:32 -08:00
Bill McCloskey
ceab1ef58e
Bug 1133594 - Rename nsFrameScriptExecutor to nsMessageManagerScriptExecutor (r=smaug)
2015-02-19 17:10:44 -08:00
Ryan VanderMeulen
31b517eaf7
Backed out changesets b7d9158b53e7 and 820a0cabcb92 (bug 1131375) for Windows bustage.
...
CLOSED TREE
--HG--
extra : rebase_source : be0f4ecf8aa06e10e503dbff675feeddd8442bf9
2015-02-18 14:47:27 -05:00
Bill McCloskey
d505bcdca8
Bug 1131375 - Message manager messages should arrive in order in non-e10s (r=smaug)
2015-02-18 10:38:27 -08:00
Bill McCloskey
2f3d90830b
Bug 1123461 - Make a real interface for js/ipc (r=dvander)
2015-01-26 13:32:18 -08:00
Trevor Saunders
d99d1a045b
bug 1122254 - use MOZ_OVERRIDE more in dom/ r=bz
2015-01-19 17:41:13 -05:00
Ehsan Akhgari
961f45f728
Bug 1117264 - Mark virtual overridden functions as MOZ_OVERRIDE in dom/base code; r=baku
2015-01-06 11:52:45 -05:00