Commit Graph

128 Commits

Author SHA1 Message Date
Kyle Huey
94f653c385 Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug 2016-01-30 09:05:36 -08:00
Brian Grinstead
7a8b8f2092 Bug 1239506 - Make console formatter return NaN instead of nan with %f;r=baku 2016-01-27 14:22:45 -08:00
Olli Pettay
e33ff91d5c Bug 1241339 - ObserverService may keep Console object alive until shutdown, r=baku 2016-01-21 15:17:33 +02:00
Andrea Marchesini
7bb13126c0 Bug 1223774 - Console API should check if the outer window exists, r=smaug 2015-11-23 17:16:22 +00:00
Brian Grinstead
3285790393 Bug 1213932 - Restrict ServiceWorker logging to windows that match navigator.serviceWorker.controller.scriptURL;r=baku,r=past 2015-11-05 12:03:31 -08:00
Victor Porof
a1499ed3b5 Bug 1202657 - Add markers for workers' message passing and serialization/deserialization, r=smaug, jsantell, tromey, ejpbruel 2015-10-21 23:10:05 +02:00
Tom Tromey
00c15cf275 Bug 1200832 - make Console.trace follow async parents; r=baku,bgrins 2015-10-21 08:40:00 +02:00
Nathan Froyd
e4e2da55c9 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
Ting-Yu Chou
677b604969 Bug 1213719 - Back out bug 1170314 for duplicate functionality. r=smaug 2015-10-12 10:50:54 +08:00
Andrea Marchesini
89c14c0dbe Bug 1209919 - Improving naming and comments in StructuredCloneHelper, r=smaug 2015-09-30 13:22:08 +01:00
Jeff Walden
a33c1c9f14 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 2015-08-28 21:55:40 -07:00
Gijs Kruitbosch
6564f92da0 Bug 1202186 - use nsISensitiveInfoHidden for console methods, r=baku 2015-09-14 20:38:57 +01:00
Brian Grinstead
8f0edac3ad Bug 1200551 - Handle multiple %c formatters without a string between them by using only the last one for styling;r=baku,r=past 2015-09-11 07:44:06 -07:00
Victor Porof
473b0a4e82 Bug 1195232 - Stop using TracingMetadata from GeckoProfiler.h, r=tromey 2015-08-31 16:14:14 +02:00
Victor Porof
41542b4509 Bug 1195838 - Maintain all the TimelineMarker subclasses in a single place, r=tromey 2015-08-31 14:56:37 +02:00
Victor Porof
9c93c0380d Bug 1194707 - Remove the docshell param from TimelineMarker constructors, r=tromey 2015-08-31 11:42:35 +02:00
Andrea Marchesini
678da90335 Bug 1184557 - part 2 - StructuredCloneHelperInternal::Shutdown, r=smaug 2015-07-24 12:12:51 +01:00
Victor Porof
59dc5e202d Bug 1184376 - Remove nsDocShell::AddProfileTimelineMarker, r=smaug 2015-07-18 09:35:59 -04:00
Andrew McCreight
a495d23e46 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 11:31:44 -07:00
Ryan VanderMeulen
13755b4c04 Backed out changeset 553a3e1e7b18 (bug 1176341) for bustage.
CLOSED TREE
2015-07-21 13:00:55 -04:00
Andrew McCreight
c38a7a94b3 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-21 09:44:37 -07:00
Andrea Marchesini
3e81494c1e Bug 1184541 - Create a StructuredCloneHelperInternal and use it in the Console API, r=smaug 2015-07-19 08:54:41 +01:00
Birunthan Mohanathas
47ed3a3675 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
502ddcea03 Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
206afa0d7f Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Wes Kocher
3f521b706c Merge m-c to fx-team, a=merge 2015-06-02 18:44:31 -07:00
Jordan Santell
577f8a6b01 Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug 2015-06-02 16:16:32 -07:00
Birunthan Mohanathas
084be39cfd Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Olli Pettay
1a8b686f07 Bug 1170314 - Make console.timeStamp to add also Gecko profiler markers if Gecko profiler is active, r=baku,benwa 2015-06-02 17:46:32 +03:00
Andrea Marchesini
1564f860f8 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
27fa3a61d9 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug 2015-05-20 05:28:00 -04:00
Andrea Marchesini
615fe38d14 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-12 13:11:03 +01:00
Andrea Marchesini
08c931dc57 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
477215237f 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
ad02ab5ada Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE 2015-05-11 13:17:58 -07:00
Andrea Marchesini
4aa3305857 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-11 18:50:54 +01:00
Andrea Marchesini
7e0e157266 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
64bb0dd547 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
246389cea0 Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Jordan Santell
9bf50a866e Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Dmitry Sagalovskiy
a26e393817 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
77b8e85fb9 Bug 922212 - Add console.dirxml. r=bgrins, r=mrbkap 2015-04-29 11:34:00 -04:00
Andrew McCreight
c979f253c0 Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
9e840f0fdb 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
f14d066052 Backed out changeset a12f0f05779c (bug 1125205) for dt4 failures CLOSED TREE 2015-04-24 13:06:46 -07:00
Andrea Marchesini
90e0911a81 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
33cf8e271a Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan 2015-04-15 10:05:40 -07:00
Andrea Marchesini
78d32c4c49 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
8ed1fac872 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
612d6b4090 Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00