Andrea Marchesini
f114621a79
Bug 1248022 - ConsoleEvent.styles can be a sequence of nullable strings, r=bz
2016-02-13 16:08:17 +00:00
Andrea Marchesini
a1204e41a8
Bug 1245957 - Adding assertions in Console about in which thread is running what, r=bz
2016-02-11 17:11:02 +00:00
Andrea Marchesini
e20d589c0b
Bug 1245954 - Console StartTimer/StopTimer and IncrementCounter should run in the owning thread, r=bz
2016-02-11 17:09:22 +00:00
Andrea Marchesini
2de5821ca7
Bug 1244995 - Console should trace the arguments correctly, r=bz
2016-02-07 10:29:12 +00:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Olli Pettay
2046dc5aff
Bug 1241339 - ObserverService may keep Console object alive until shutdown, r=baku
...
--HG--
extra : rebase_source : 85c4a69353b7f62ae41ba7e2edf3594ff0537223
2016-01-21 15:17:33 +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
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
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
Hiroyuki Ikezoe
77bcec5ebd
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
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
Jordan Santell
7b6fec2d8c
Bug 922221 - implement console.timeStamp(label) to create profile timeline markers. r=khuey
2015-04-29 12:48:57 -07: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
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00: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
Boris Zbarsky
dc24477d79
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
0158166339
Bug 1139794 - Remove __noSuchMethod__ from the console object. r=baku
2015-03-06 09:50:51 +01:00
Andrea Marchesini
baf0cbe028
Bug 1058644 - Console API in ServiceWorkers. r=khuey
2015-01-06 10:45:00 -05:00
Andrea Marchesini
7092046c05
Bug 1085471 - "typo in Console::ShouldIncludeStackrace method name". r=ehsan.akhgari
2014-10-20 10:34:00 +02:00
Peter Van der Beken
d76c717d3c
Bug 1068740 - Consider putting union types in the binding files where they're used. r=bz.
...
--HG--
extra : rebase_source : 7e0b1e2f60757b7758704dab3672ee829f3e4085
2014-10-01 20:43:26 +02:00
Ehsan Akhgari
0653303071
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
...
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
117bb1a341
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
6c932dea6c
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Nick Fitzgerald
560bba04fc
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
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Birunthan Mohanathas
bc0233fe47
Bug 1026535 - Fix mismatched class/struct tags. r=ehsan
2014-06-18 17:57:51 -07:00
Andrea Marchesini
a6fb3eb7dd
Bug 1000947 - Console::Methods must not throw exceptions, r=bz
2014-04-29 07:49:57 +01:00
Mihai Sucan
92397e9fda
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
e76e62b281
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
79dab91ff6
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
e2d421167e
Bug 978522 - Console must use LinkedList instead a nsTArray, r=smaug
2014-03-03 00:20:34 +00:00
Andrea Marchesini
f90b5edc71
Bug 965860 - patch 7 - Console API in workers, r=khuey
2014-02-27 23:39:30 +00:00
Andrea Marchesini
dc67186f99
Bug 965860 - patch 6 - Console.count(), r=khuey
2014-02-27 23:39:24 +00:00
Andrea Marchesini
8a87e5bfed
Bug 965860 - patch 5 - Console inner-window-destroyed observer, r=khuey
2014-02-27 23:39:17 +00:00
Andrea Marchesini
edecafae28
Bug 965860 - patch 4 - Console format string, r=khuey
2014-02-27 23:39:12 +00:00
Andrea Marchesini
286e0c9290
Bug 965860 - patch 2 - ConsoleAPI written in C++, r=bz
2014-02-27 23:39:00 +00:00