Commit Graph

32 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
Hiroyuki Ikezoe
06ec92d382 Bug 1178172 - Fix all compile errors in dom/base on non-unified build. r=baku 2015-07-01 15:56:00 +02: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
Jordan Santell
49bdf42d43 Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey 2015-04-29 12:48:57 -07: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
ad97ae68b8 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00: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
Jan de Mooij
6c5080032e Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku 2015-03-06 09:50:51 +01:00
Andrea Marchesini
1ac655de88 Bug 1058644 - Console API in ServiceWorkers. r=khuey 2015-01-06 10:45:00 -05:00
Andrea Marchesini
d027d3db49 Bug 1085471 - "typo in Console::ShouldIncludeStackrace method name". r=ehsan.akhgari 2014-10-20 10:34:00 +02:00
Peter Van der Beken
91b7ab2dba Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz. 2014-10-01 20:43:26 +02:00
Ehsan Akhgari
6be3d83434 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 20:49:25 -04:00
Phil Ringnalda
36b0901dec Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
b781feb7c0 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Nick Fitzgerald
39abaa3a91 Bug 899753 - Part 0: Add the table method to Console.{h,cpp,webidl} r=bz 2014-08-27 15:32:32 -07:00
Benoit Jacob
7bbd89e2ca Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Birunthan Mohanathas
aa6d74fac6 Bug 1026535 - Fix mismatched class/struct tags. r=ehsan 2014-06-18 17:57:51 -07:00
Andrea Marchesini
0a9f46d681 Bug 1000947 - Console::Methods must not throw exceptions, r=bz 2014-04-29 07:49:57 +01:00
Mihai Sucan
33aada0c3a Bug 920116 - Part 1: Add full stacktrace to console.error/exception/assert() in the Console API. r=bz 2014-04-10 23:02:37 +03:00
Mihai Sucan
a16456ff7d Bug 823097 - Add support for %c style formatting in the web console; r=past,bz 2014-04-10 17:59:21 +03:00
Boris Zbarsky
b95c359828 Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
This patch was mostly generated with the following command:

find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""

and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Andrea Marchesini
293b4d3683 Bug 978522 - Console must use LinkedList instead a nsTArray, r=smaug 2014-03-03 00:20:34 +00:00
Andrea Marchesini
6bce99a2d5 Bug 965860 - patch 7 - Console API in workers, r=khuey 2014-02-27 23:39:30 +00:00
Andrea Marchesini
c8a2347c3a Bug 965860 - patch 6 - Console.count(), r=khuey 2014-02-27 23:39:24 +00:00
Andrea Marchesini
953467c8cd Bug 965860 - patch 5 - Console inner-window-destroyed observer, r=khuey 2014-02-27 23:39:17 +00:00
Andrea Marchesini
05f4420631 Bug 965860 - patch 4 - Console format string, r=khuey 2014-02-27 23:39:12 +00:00
Andrea Marchesini
44b5e2b14a Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz 2014-02-27 23:39:00 +00:00