Nicholas Nethercote
904c569e68
Bug 1187115 - Replace nsBaseHashtable::EnumerateRead() calls in dom/{bluetooth,messagechannel}/ with iterators. r=khuey.
2015-11-18 19:38:55 -08:00
Andrea Marchesini
a366ab8eb2
Bug 1224825 - Race condition in MessagePort::close - patch 2, r=smaug
2015-11-17 23:38:13 +00:00
Andrea Marchesini
feb9a88c29
Bug 1224825 - Race condition in MessagePort::close - patch 1, r=smaug
2015-11-17 23:38:01 +00:00
Phil Ringnalda
e7e1807314
Back out 2 changesets (bug 1221852, bug 1224825) for Android hangs and desktop RunWatchdog crashes in test_upgrade_insecure_reporting.html
...
CLOSED TREE
Backed out changeset 6ad589dcf3c1 (bug 1221852)
Backed out changeset e7aadf89146b (bug 1224825)
2015-11-15 09:56:06 -08:00
Andrea Marchesini
f6440490d3
Bug 1224825 - Race condition in MessagePort::close, r=smaug
2015-11-15 11:46:53 +00:00
Sebastian Hengst
9f7df661f2
Backed out 2 changesets (a19876ac309e, 3a1c0923b0d9) (bug 1221852, bug 1224825) for M(3) failures. r=backout on a CLOSED TREE
...
Backed out changeset 3a1c0923b0d9 (bug 1221852)
Backed out changeset a19876ac309e (bug 1224825)
2015-11-15 15:59:24 +01:00
Andrea Marchesini
cf13168e7d
Bug 1224825 - Race condition in MessagePort::close, r=smaug
2015-11-15 11:46:53 +00:00
Birunthan Mohanathas
f6aa64ea3b
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Nathan Froyd
9c5965b035
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
Andrea Marchesini
8b0c8150c4
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-08 17:44:58 +01:00
Wes Kocher
92e94d115b
Backed out changeset 7ce1d1bada46 (bug 949376) for wpt orange
2015-10-07 14:58:19 -07:00
Andrea Marchesini
31da9d5c53
Bug 949376 - MessageEvent::initMessageEvent, r=smaug
2015-10-07 20:35:11 +01:00
Andrea Marchesini
d58c392c30
Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
2015-09-30 13:22:08 +01:00
Chris Peterson
b06d7f99a7
Bug 1207030 - Enable -Wshadow flag in more directories that have no -Wshadow warnings. r=glandium
2015-09-22 21:39:03 -07:00
Andrea Marchesini
012259f72d
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 11:27:56 +08:00
Wes Kocher
3a14d28fdc
Backed out changeset ccfddcbccdac (bug 1204775) for sharedworker bustage
2015-09-15 11:08:09 -07:00
Andrea Marchesini
843289e37b
Bug 1204775 - SharedWorker.port should be a 'real' MessagePort, r=khuey
2015-09-16 00:47:19 +08:00
Andrea Marchesini
8d4eb66ee6
Bug 1198795 - ipc/StructuredCloneUtils should be merged with StructuredCloneHelper, r=smaug
2015-09-02 17:20:30 +01:00
Nicholas Nethercote
10d95cca57
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.
2015-08-27 20:44:53 -07:00
Andrea Marchesini
48a12252da
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 17:19:13 +01:00
Nigel Babu
435b7c53e4
Backed out a19daae11647 (Bug 1186307) for W8 and W4 bustage on CLOSED TREE
2015-08-27 15:04:25 +05:30
Andrea Marchesini
1c24ffbc3b
Bug 1186307 - StructuredCloneHelper in workers.postMessage(), r=smaug
2015-08-27 09:06:09 +01:00
Andrea Marchesini
70cb6ddacd
Bug 1196514 - remove dom.messagechannel.enabled pref, r=smaug
2015-08-20 08:34:38 +01:00
Andrea Marchesini
aa4f07ae00
Bug 1181595 - MessagePortChild should check if the MessagePort is still alive before dispatching messages, r=smaug
2015-08-19 15:30:21 +01:00
Andrea Marchesini
e59256c2b5
Bug 1188265 - No manual JS_ClearPendingException when StructuredCloneHelper is used, r=smaug
2015-07-31 01:38:00 +01:00
Andrea Marchesini
9c1fb1c160
Bug 1185569 - Use StructuredCloneHelper in MessagePort, r=smaug
2015-07-28 11:47:36 +01:00
Andrea Marchesini
d03192ef9d
Bug 1185531 - Wrong NS_WARN_IF use in MessagePort.cpp, r=smaug
2015-07-21 08:18:25 +01:00
Birunthan Mohanathas
e52329c788
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
Andrea Marchesini
7df0c76d82
Bug 1181595 - Improve null checks in MessagePort::RemoveDocFromBFCache, r=smaug
2015-07-09 01:34:37 +01:00
Andrea Marchesini
0a12a4f9ef
Bug 1178261 - make BroadcastChannel CC skippable, r=smaug
2015-06-29 17:42:41 +01:00
Andrea Marchesini
95dd4c35c3
Bug 1178076 - MessagePort should not set listeners nor workerFeature when neutered, r=smaug
2015-06-29 14:52:49 +01:00
Andrea Marchesini
d3e86af99a
Bug 1177727 - MessagePort should call RemoveObserver before calling Release(), r=mccr8
2015-06-27 16:21:24 -07:00
Andrea Marchesini
8d5f94de1b
Bug 1177772 - Improve MessagePort skippability, r=smaug
2015-06-26 11:12:16 -07:00
Andrea Marchesini
4f991476c3
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Carsten "Tomcat" Book
695dba3d73
Backed out changeset 4f4ceae7be1a (bug 1176034) for frequent bustages in Windows 8 x64 debug
2015-06-24 10:11:07 +02:00
Carsten "Tomcat" Book
5d5f3716a2
Backed out changeset ae700a7a4c5e (bug 1176034)
2015-06-24 10:10:17 +02:00
Daniel Holbert
b9ae2e80b6
Bug 1176034 followup: Annotate ForceCloseHelper method 'ActorCreated' as 'override', in MessagePort.cpp. rs=ehsan
2015-06-23 18:55:24 -07:00
Andrea Marchesini
7882def155
Bug 1176034 - MessagePort should force a close() if the structured clone algorithm fails, r=bent
2015-06-23 15:50:00 -07:00
Andrea Marchesini
192fe5ba1d
Bug 952139 - Enable MessagePort/MessageChannel by default, r=smaug
2015-06-17 11:45:17 +01:00
Andrea Marchesini
332a2ea9d0
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-17 11:44:27 +01:00
Ryan VanderMeulen
c2d0806581
Backed out changeset 1d67d747b3eb (bug 911972) for frequent linux64 debug e10s test_post_message_advanced.html timeouts.
...
CLOSED TREE
2015-06-15 13:06:23 -04:00
Ryan VanderMeulen
5393f426d3
Backed out changesets 465dfc26cccb and bd11384b3241 (bug 952139) because it depends on bug 911972.
2015-06-15 13:04:02 -04:00
Andrea Marchesini
1c7404555b
Bug 952139 - Enable MessagePort/MessageChannel by default, r=smaug
2015-06-15 16:42:42 +01:00
Andrea Marchesini
a36cc3fb5e
Bug 911972 - MessagePort and MessageChannel in workers, r=smaug, r=bent
2015-06-15 14:08:25 +01:00