Commit Graph

106 Commits

Author SHA1 Message Date
Birunthan Mohanathas
a29151dc87 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
421260e747 Backed out changeset 74293125739a (bug 1176341) 2015-07-10 12:48:20 -07:00
Andrew McCreight
b63d113ad6 Bug 1176341 - De-holder nsIXPConnect::CreateSandbox. r=baku,gabor 2015-07-10 07:41:33 -07:00
Wes Kocher
43919f54c1 Merge m-c to fx-team, a=merge 2015-06-02 18:44:31 -07:00
Jordan Santell
406273fc90 Bug 1170671 - ProfileTimelineMarkers that use TRACING_TIMESTAMP should capture stack information. r=smaug 2015-06-02 16:16:32 -07:00
Birunthan Mohanathas
956e8c7eca Bug 968520 - Add mozilla::fallible to FallibleTArray::AppendElement calls. r=froydnj 2015-05-28 11:07:44 -07:00
Olli Pettay
dba02ab2ef 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
7f57e53e01 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
9ff6bd9297 Bug 1050500 - Add callee information to Javascript timeline markers. r=smaug 2015-05-20 05:28:00 -04:00
Andrea Marchesini
41c29ad762 Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-12 13:11:03 +01:00
Andrea Marchesini
a8f15ce969 Bug 1159401 - Split Blob and File classes, r=bz 2015-05-12 13:09:51 +01:00
Wes Kocher
040b8fe0e4 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
81e9cbedba Backed out changeset 56e4c68dc3da (bug 1163387) for build bustage CLOSED TREE 2015-05-11 13:17:58 -07:00
Andrea Marchesini
bd76fd013b Bug 1163387 - Rename FileImpl to BlobImpl, r=ehsan 2015-05-11 18:50:54 +01:00
Andrea Marchesini
5d622f89aa Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 18:50:50 +01:00
Ryan VanderMeulen
95df0286b8 Backout revisions 4287533203fb and 96a3ebfe09d8 (bug 1159401) for bustage.
CLOSED TREE
2015-05-11 11:43:59 -04:00
Andrea Marchesini
2ffeefc77a Bug 1159401 - patch 1 - Split Blob and File in 2 classes, r=bz 2015-05-11 15:20:06 +01:00
Jordan Santell
49bdf42d43 Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07:00
Dmitry Sagalovskiy
672f05f212 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
fc90d47d92 Bug 922212 - Add console.dirxml. r=bgrins, r=mrbkap 2015-04-29 11:34:00 -04:00
Andrew McCreight
92010d3e4c Bug 1152551, part 2 - Fix mode lines in dom/. r=jst 2015-05-03 15:32:37 -04:00
Andrea Marchesini
2715613b83 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
04d85ae213 Backed out changeset a12f0f05779c (bug 1125205) for dt4 failures CLOSED TREE 2015-04-24 13:06:46 -07:00
Andrea Marchesini
d471f3adf3 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
dcf340b93a Bug 1154076 followup: Mark ConsoleRunnable::Run() as override. rs=ehsan 2015-04-15 10:05:40 -07:00
Andrea Marchesini
eae7741a94 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
92ec2613b4 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
22aafabc43 Bug 1147951, part 3 - Remove unnecessary includes of nsIProgrammingLanguage. r=baku 2015-03-30 10:45:39 -07:00
Andrew McCreight
877a953029 Bug 1147951, part 1 - Remove uses of JAVASCRIPT2 from Console.cpp. r=baku 2015-03-30 10:45:39 -07:00
Tom Tromey
cd4d569784 Bug 1144820 - Use nsTArray<UniquePtr<>> to hold timeline markers. r=smaug, r=fitzgen 2015-03-27 08:42:00 -04:00
Tom Tromey
840a9ca9bc Bug 1144820 - Use rvalue reference in AddProfileTimelineMarker. r=smaug 2015-03-27 08:41:00 -04:00
Ehsan Akhgari
ea41d8de48 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
Boris Zbarsky
3a822d99b4 Bug 1117172 part 3. Change the wrappercached WrapObject methods to allow passing in aGivenProto. r=peterv
The only manual changes here are to BindingUtils.h, BindingUtils.cpp,
Codegen.py, Element.cpp, IDBFileRequest.cpp, IDBObjectStore.cpp,
dom/workers/Navigator.cpp, WorkerPrivate.cpp, DeviceStorageRequestChild.cpp,
Notification.cpp, nsGlobalWindow.cpp, MessagePort.cpp, nsJSEnvironment.cpp,
Sandbox.cpp, XPCConvert.cpp, ExportHelpers.cpp, and DataStoreService.cpp.  The
rest of this diff was generated by running the following commands:

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObjectInternal\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapNode\((?:aCx|cx|aContext|aCtx|js))\)/\1, aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(WrapObject\(JSContext *\* *(?:aCx|cx|aContext|aCtx|js))\)/\1, JS::Handle<JSObject*> aGivenProto)/g'

  find . -name "*.h" -o -name "*.cpp" | xargs perl -pi -e 'BEGIN { $/ = undef } s/(Binding(?:_workers)?::Wrap\((?:aCx|cx|aContext|aCtx|js), [^,)]+)\)/\1, aGivenProto)/g'
2015-03-19 10:13:33 -04:00
Alexandre Poirot
2c7f4e3a96 Bug 1139984 - Fix console API in child processes by ensuring windowID is correctly typed. r=bz 2015-03-17 07:13:00 -04:00
Boris Zbarsky
2ec59dd79e Bug 1140573 part 3. Drop the parent argument from js::NewFunctionWithReserved. r=waldo 2015-03-09 12:50:07 -04:00
Jan de Mooij
6c5080032e Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Andrea Marchesini
a90fb462ac Bug 1130031 - Better serialization for non-transferable objects from workers to main-thread in the console API, r=sfink 2015-02-05 18:50:43 +00:00
Andrea Marchesini
b325a5899c Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-02-02 15:40:15 +00:00
Carsten "Tomcat" Book
83f9ce05b5 Backed out changeset b15dd0241e60 (bug 1127885) for hazard build bustage 2015-02-02 14:37:23 +01:00
Andrea Marchesini
0a55f11631 Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-02-02 11:51:52 +00:00
Phil Ringnalda
e826d7562b Back out 030744f8ef5a (bug 1127885) for hazard bustage 2015-01-31 12:06:40 -08:00
Andrea Marchesini
d67d92a96e Bug 1127885 - Console API should display blobs when used in workers, r=smaug 2015-01-31 19:12:00 +01:00
Ryan VanderMeulen
c85c74558a Merge fx-team to m-c. a=merge 2015-01-23 12:20:52 -05:00
Andrea Marchesini
1cce8109d0 Bug 1107699 - Remove timeout before Console.log() and the dispatching of ConsoleEvents, r=past 2015-01-23 13:12:02 +00:00
Tom Tromey
425da38fcc Bug 1124680 - add MOZ_OVERRIDE in subclasses of TimelineMarker. r=smaug 2015-01-22 07:35:00 +01:00
Ehsan Akhgari
1115eb7600 Bug 1058644 follow-up: Mark ConsoleRunnable's constructor as explicit
Landed to fix a bustage on a CLOSED TREE
2015-01-06 18:00:50 -05:00
Andrea Marchesini
1ac655de88 Bug 1058644 - Console API in ServiceWorkers. r=khuey 2015-01-06 10:45:00 -05:00
Tom Tromey
b5d17b5a13 Bug 1113706 - move TimelineMarker to a new header; r=smaug 2015-01-05 09:39:16 -08:00
Tom Tromey
b6ceb31c8a Bug 1104213 - add stack traces to timeline markers. r=smaug r=vporof 2014-12-29 11:32:00 +01:00
Dan Gohman
ca82de971f Bug 1054671 - Constify static callback arrays r=ehsan 2014-12-16 16:30:39 -08:00