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

124 Коммитов

Автор SHA1 Сообщение Дата
Brian Grinstead 47dcb4d935 Bug 1213932 - Restrict ServiceWorker logging to windows that match navigator.serviceWorker.controller.scriptURL;r=baku,r=past
--HG--
extra : commitid : 4ObOwLPCliV
2015-11-05 12:03:31 -08:00
Victor Porof 9dc0ce6b1a Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel
--HG--
rename : docshell/base/timeline/OTMTMarkerReceiver.h => docshell/base/timeline/MarkersStorage.h
2015-10-21 23:10:05 +02:00
Tom Tromey 64050c40ce Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins
--HG--
extra : rebase_source : a39ad1bdc73ac53d0f611c3b5e43327aea36ec6f
2015-10-21 08:40:00 +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
Ting-Yu Chou 171c1567f6 Bug 1213719 - Back out bug 1170314 for duplicate functionality. r=smaug 2015-10-12 10:50:54 +08:00
Andrea Marchesini 7373ebaca0 Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug
--HG--
rename : dom/base/StructuredCloneHelper.cpp => dom/base/StructuredCloneHolder.cpp
rename : dom/base/StructuredCloneHelper.h => dom/base/StructuredCloneHolder.h
2015-09-30 13:22:08 +01:00
Jeff Walden 4046fe1490 Bug 1179003 - Convert the infallible objectClassIs proxy hook into a fallible getBuiltinClass hook that indicates class type via outparam. r=efaust, r=bz on DOM bits, r=billm on IPC bits
--HG--
extra : rebase_source : 6ddc3727c411fdfced6338e5e383a10572575f0f
2015-08-28 21:55:40 -07:00
Gijs Kruitbosch 7b8c78ef97 Bug 1202186 - use nsISensitiveInfoHidden for console methods, r=baku
--HG--
extra : commitid : AetFuX0QKlx
extra : rebase_source : 51e911818fe9d75af0f518463e142d24e87fdb1d
2015-09-14 20:38:57 +01:00
Brian Grinstead 225dad2f67 Bug 1200551 - Handle multiple %c formatters without a string between them by using only the last one for styling;r=baku,r=past
--HG--
extra : commitid : EJlgAp6v2d3
2015-09-11 07:44:06 -07:00
Victor Porof e14eb49e91 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof c78fbabbef Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof 4ce24e2588 Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Andrea Marchesini 5b0ddb9562 Bug 1184557 - part 2 - StructuredCloneHelperInternal::Shutdown, r=smaug 2015-07-24 12:12:51 +01:00
Victor Porof 8f1e61795d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Andrew McCreight 621e57b2b7 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen fb3e0b058e Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight 5cbc3abf39 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Andrea Marchesini db5306c0e6 Bug 1184541 - Create a StructuredCloneHelperInternal and use it in the Console API, r=smaug 2015-07-19 08:54:41 +01: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
Wes Kocher d8780b2a3f Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight 8047284e97 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Wes Kocher f9926c89e5 Merge m-c to fx-team, a=merge 2015-06-02 18:44:31 -07:00
Jordan Santell a293db6727 Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug 2015-06-02 16:16:32 -07:00
Birunthan Mohanathas 180b572edb Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Olli Pettay e278ba68c1 Bug 1170314 - Make console.timeStamp to add also Gecko profiler markers if Gecko profiler is active, r=baku,benwa
--HG--
extra : rebase_source : a73dfaaf94a26d122f397dd0e3734f3eb6ed5bfa
2015-06-02 17:46:32 +03:00
Andrea Marchesini 0379b80f15 Bug 1167423 - patch 1 - Handle return values of FallibleTArray functions in Console API, r=smaug 2015-05-25 12:50:15 +01:00
Tom Tromey 13be65d0c5 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug
--HG--
extra : rebase_source : dbd9e09496ca7c0e4f9798adf1f8f72749537d1a
2015-05-20 05:28:00 -04:00
Andrea Marchesini f4538bb921 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-12 13:11:03 +01:00
Andrea Marchesini 368a198972 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher 983fcabeef Backed out 2 changesets (bug 1159401) for b2g build bustage
Backed out changeset adfee1efb1e1 (bug 1159401)
Backed out changeset 70c63c8546e3 (bug 1159401)
2015-05-11 14:54:02 -07:00
Wes Kocher 6b003ab737 Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE
--HG--
rename : dom/base/MultipartBlobImpl.cpp => dom/base/MultipartFileImpl.cpp
rename : dom/base/MultipartBlobImpl.h => dom/base/MultipartFileImpl.h
2015-05-11 13:17:58 -07:00
Andrea Marchesini 49a0ee6938 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan
--HG--
rename : dom/base/MultipartFileImpl.cpp => dom/base/MultipartBlobImpl.cpp
rename : dom/base/MultipartFileImpl.h => dom/base/MultipartBlobImpl.h
2015-05-11 18:50:54 +01:00
Andrea Marchesini 91a8a35606 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen 2390c704f8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE

--HG--
extra : histedit_source : a6c24f88b9c5a0cbcf2d44189fd359ddb20757b4%2C46613cfc309a9f0531e8c2475ac17877f606f231
2015-05-11 11:43:59 -04:00
Andrea Marchesini 48ecacaa74 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Jordan Santell 7b6fec2d8c Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Dmitry Sagalovskiy 39ca8393a3 Bug 977586 - omit quotes in top-level strings logged via console.log(), and omit extra spaces when custom styles (%c) are used. r=past,baku 2015-05-04 17:28:25 +02:00
Florent Fayolle 51fab772f2 Bug 922212 - Add console.dirxml. r=bgrins, r=mrbkap 2015-04-29 11:34:00 -04: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 f2a283777b Bug 1125205 - Display console API messages from shared or service workers to the web console, r=past 2015-04-26 09:37:59 +01:00
Wes Kocher 94244970a7 Backed out changeset a12f0f05779c (bug 1125205) for dt4 failures CLOSED TREE 2015-04-24 13:06:46 -07:00
Andrea Marchesini 2c3fcd702a Bug 1125205 - Display console API messages from Shared or Service Workers to the webconsole, r=past 2015-04-24 19:12:30 +01:00
Daniel Holbert 9cdad8fda3 Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan 2015-04-15 10:05:40 -07:00
Andrea Marchesini aea9d1c12e Bug 1154076 - Console API must keep the Worker alive when the runnable to the main-thread is dispatched, r=bent 2015-04-15 11:46:40 +01:00
Andrea Marchesini 5351591d94 Bug 1049091 - Console API in workers should not block the script waiting for the main-thread, r=ehsan 2015-04-03 20:37:52 +01:00
Andrew McCreight 89727e3fac Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00
Andrew McCreight 86e1cf0cee Bug 1147951, part 1 - Remove uses of JAVASCRIPT2 from Console.cpp. r=baku 2015-03-30 10:45:39 -07:00
Tom Tromey f1476bf0bb Bug 1144820 - Use nsTArray<UniquePtr<>> to hold timeline markers. r=smaug, r=fitzgen 2015-03-27 08:42:00 -04:00
Tom Tromey 918392e548 Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04: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