Граф коммитов

22 Коммитов

Автор SHA1 Сообщение Дата
Andrea Marchesini 8d58a3b347 Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug 2016-05-30 10:48:40 +02:00
Carsten "Tomcat" Book 0ed94efabc Backed out changeset 0659c9235136 (bug 1274363) for memory leaks
--HG--
extra : rebase_source : 7fd1df522bb0cab48ca51d29140036f6a5a6a7cc
2016-05-24 09:37:23 +02:00
Andrea Marchesini 2d4ce92868 Bug 1274363 - BroadcastChannel should dispatch events in the correct order, r=smaug 2016-05-24 06:59:15 +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
Andrea Marchesini 7eb389d760 Bug 1188776 - Remove appId/isInBrowserElement from BroadcastChannel. r=bholley 2015-07-29 06:56:00 -04:00
Birunthan Mohanathas a8939590de 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 4ae7941574 Bug 1165270 - Use origin for BroadcastChannel, r=bholley 2015-07-06 19:28:41 +01:00
Andrea Marchesini a8db0ddfbb Bug 1161507 - BroadcastChannel should use origin+appId+IsInBrowserElement as key in b2g, r=sicking 2015-05-06 11:07:06 +01:00
Andrew McCreight 9e8f4b219e Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini 068dd5f8a6 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-04-01 12:41:29 +01:00
Wes Kocher 4f66d44d5b Backed out changeset 6b886fbb3e48 (bug 1148032) for mochitest-chrome orange on b2g emulators 2015-03-31 15:48:25 -07:00
Andrea Marchesini 621d7068b8 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 22:11:47 +01:00
Wes Kocher 1a65d1c1e9 Backed out changeset 976f64497fbc (bug 1148032) for static analysis bustage 2015-03-31 14:07:07 -07:00
Andrea Marchesini 5a32df3d98 Bug 1148032 - BroadcastChannel API should not bypass private browsing mode, r=ehsan 2015-03-31 21:36:36 +01: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
Andrea Marchesini 698c8a4c6b Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini 24800de279 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-15 16:58:41 +00:00
Andrea Marchesini f36b9e5ced Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-15 16:58:40 +00:00
Ryan VanderMeulen 3a9ff448dc Backed out 11 changesets (bug 966439, bug 1121472) for causing widespread test failures and because inbound isn't Try and shouldn't be treated as such.
Backed out changeset e6cd15d43b5a (bug 1121472)
Backed out changeset 4f9788639f3f (bug 966439)
Backed out changeset ac9a967e5a10 (bug 966439)
Backed out changeset 14d322737871 (bug 966439)
Backed out changeset 8f941e519580 (bug 966439)
Backed out changeset b82d1010c6b4 (bug 966439)
Backed out changeset 2c29a52a03bd (bug 966439)
Backed out changeset e4b0802a3f06 (bug 966439)
Backed out changeset bdc9a0310034 (bug 966439)
Backed out changeset 6b3ae19628e6 (bug 966439)
Backed out changeset 3d23e775033a (bug 966439)

CLOSED TREE
2015-01-14 11:46:14 -05:00
Andrea Marchesini 8eff6c45ea Bug 966439 - BroadcastChannel API - patch 7 - Blob supported, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini b2ddfb8073 Bug 966439 - BroadcastChannel API - patch 6 - Support any kind of body messages, r=bent 2015-01-14 11:50:35 +00:00
Andrea Marchesini 65afdf13d8 Bug 966439 - BroadcastChannel API - patch 1 - BroadcastChannel for main-thread, r=smaug, r=bent 2015-01-14 11:50:31 +00:00