Andrea Marchesini
f5ab6363a1
Bug 1243881 - patch 1 - unship performance.translateTime, r=bz
2016-02-01 21:48:04 +00:00
Kyle Huey
91efc5a86c
Bug 1241764: Replace nsPIDOMWindow with nsPIDOMWindowInner/Outer. r=mrbkap,smaug
2016-01-30 09:05:36 -08:00
Andrea Marchesini
5e1f614532
Bug 1169068 - Performance.translateTime(), r=bz
2015-11-19 14:04:47 +00: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
Hiroyuki Ikezoe
1aeed79e07
Bug 1197003 - Part 2 - Implement processing algorithm for PerformanceObserver to notify a batch of entries. r=baku
2015-09-02 23:41:00 +02:00
Hiroyuki Ikezoe
07f62b2d0a
Bug 1165796 - Part 2: Implement PerformanceObserver.r=baku
...
--HG--
extra : rebase_source : 9ccd3f9c8932841aed6a13986a4466fac0197902
2015-08-17 15:13:20 -07:00
Russ Nicoletti
80a2a30f8a
Bug 1177226 - Support User Timing API events in the Developer HUD. r=ehsan, r=jryans
...
--HG--
extra : rebase_source : 5a084f34f7550ec78c5337fb1808f7e03e7d0687
2015-07-31 15:40:08 -07:00
Francisco Jordano
4008b170ad
Bug 1186880 - Performance timing api in workers should output entries if preference is enabled. r=baku
2015-07-28 17:33:37 +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
Daniel Holbert
b05edec3d3
Bug 1155761 followup: Annotate nsPerformance::InsertUserEntry as 'override'. rs=ehsan
2015-05-25 21:46:47 -07:00
Andrea Marchesini
6a2a4a1aa9
Bug 1155761 - User Timing API in Workers, r=ehsan
2015-05-25 17:53:07 +01:00
Hiroyuki Ikezoe
130bd87ffb
Bug 1158731 - Buffer for Performance APIs (Resource Timing, User Timing) should be separeted. r=baku
2015-05-08 01:00:00 +02:00
Andrew McCreight
9e8f4b219e
Bug 1152551, part 2 - Fix mode lines in dom/. r=jst
2015-05-03 15:32:37 -04:00
Steve Fink
fe6e5487f0
Bug 1125412 - Add a pref-gated performance.mozMemory for accessing internal memory usage/threshold info, r=smaug, sr=smaug
...
--HG--
extra : rebase_source : a5a6a365cadd01e94831c09d50d6a24b05c35982
2015-03-23 12:19:52 -07: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
Kyle Machulis
886508ba5d
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-06 16:00:51 -08:00
Ryan VanderMeulen
1369b8b342
Backed out changeset 39f991c2bd71 (bug 1115130) for Werror bustage.
...
CLOSED TREE
2015-02-05 14:36:25 -05:00
Kyle Machulis
1f68deb5e7
Bug 1115130 - Add logging for User Timing API; r=baku
2015-02-05 11:02:53 -08:00
Kyle Machulis
de83978693
Bug 782751 - User Timing API Implementation; r=baku
2015-02-03 21:46:23 -08:00
Ryan VanderMeulen
455452e433
Backed out 4 changesets (bug 782751, bug 1127948) for Gaia UI test failures.
...
Backed out changeset 4d8735e0cc30 (bug 1127948)
Backed out changeset de498dd4e303 (bug 782751)
Backed out changeset fe9436f5474c (bug 782751)
Backed out changeset fff8f6c32743 (bug 782751)
2015-01-30 14:16:40 -05:00
Kyle Machulis
ae8ab23c5c
Bug 782751 - User Timing API Implementation; r=baku
2015-01-30 09:29:36 -08:00
Phil Ringnalda
bc4488b3ef
Backed out 3 changesets (bug 782751) for various timing failures
...
Backed out changeset 14594507ec55 (bug 782751)
Backed out changeset e8659e5122e1 (bug 782751)
Backed out changeset c47168517080 (bug 782751)
2015-01-29 22:30:26 -08:00
Kyle Machulis
97099e2d9e
Bug 782751 - User Timing API Implementation; r=baku
...
--HG--
extra : rebase_source : dfd5ab7e34913d50c892aad1efd3dae2aa9c46b7
2015-01-29 18:04:27 -08:00
Valentin Gosu
79c0bcd432
Bug 1064706 - Save timing info in nsPerformanceTiming to avoid keeping a ref to the channel r=bz
2014-10-21 15:49:40 +03:00
Valentin Gosu
96eb6b1308
Bug 936814 - Part 1: Implement the _timing allow check algorithm_ for cross-origin Resource Timing r=bz,honzab
2014-05-15 08:26:07 +03:00
Valentin Gosu
b7db64f8c7
Bug 936813 - Implement onresourcetimingbufferfull callback (part 2) r=bz
2014-05-10 05:12:06 +03:00
Valentin Gosu
392bd58d88
Bug 936813 - Enforce buffer size for resource timing (part 1) r=bz
2014-05-10 05:11:54 +03:00
Adrian Lungu
864ffca9e7
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07: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
Nicholas Nethercote
01c70c8c97
Bug 911020 - Introduce js/TypeDecls.h, which holds very commonly used type declarations from the JS engine. r=luke.
...
--HG--
extra : rebase_source : 008ef689989f93b46627b8be8608bdbc544ca3a2
2013-08-27 19:59:14 -07:00
Kyle Huey
52234568d4
Bug 887533: Remove even more includes from dom/bindings. r=bz
2013-08-22 22:17:11 -07:00
Ehsan Akhgari
99058b577c
Bug 905353 - Minimize the #includes in dom/base; r=jst
...
--HG--
extra : rebase_source : e7a1d2262bf6d8c9b78057b8eb6cdbfd98262f68
2013-08-15 14:17:48 -04:00
Boris Zbarsky
e822a2af3a
Bug 870667. Reinstate a way to turn off performance.timing bits using a pref. r=smaug
...
This is used by the Tor project, for example.
2013-05-10 18:57:58 -04:00
Boris Zbarsky
b834439797
Bug 864727 part 5. Make all the WrapObject methods take a handle for the scope object. r=ms2ger
2013-04-25 12:29:54 -04:00
Masatoshi Kimura
23ba391ec1
Bug 848339 - Remove the vestigial boolean outparam from nsWrapperCache::WrapObject. r=bz
2013-03-12 08:03:47 +09:00
Trevor Saunders
36d9c28b18
bug 819027 - remove unneeded performance nsISupports inheritance r=bz, mccr8
2012-12-06 16:01:59 -05:00
Steve Fink
9effec722d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
2012-12-31 12:40:21 -08:00
Steve Fink
d8da3e7b9a
Backed out changeset fce4e0f8a553 (bug 828753) for breaking windows warnings-as-errors (stop adding JSObject forward decls, please!)
2013-01-18 13:20:21 -08:00
Steve Fink
0dee2fb42d
Bug 828753 - jsid rooting, mostly in jsinfer.*. Also switch JSObject from struct to class. r=terrence
...
--HG--
extra : rebase_source : c8806b27677594925ad0e6b54c47af5cf17e1153
2012-12-31 12:40:21 -08:00
Boris Zbarsky
b97e3a8dcd
Bug 787554. Don't prefix WebIDL getters names with a Get if they look like simple member access on the C++ side. r=peterv
2012-09-11 20:08:24 +01:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-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 PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Boris Zbarsky
71ec9e6ab2
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Chris Jones
a6ec6f5d33
Revert e3e9040a6eb9 for M2 failures
2012-08-08 21:58:23 -07:00
Boris Zbarsky
cc86c6a349
Bug 703855. Don't update performance timing or navigation timing state during document.open. r=jst
2012-08-08 23:47:04 -04:00
Ehsan Akhgari
8bb5b583b2
Bug 774556 - Remove nsIDOMWindowPerformance* XPCOM interfaces; r=bzbarsky
2012-07-16 22:44:22 -04:00
Ehsan Akhgari
091ebe183f
Bug 749101 - Move window.performance to the new DOM bindings; r=bzbarsky
2012-07-16 21:42:18 -04:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ehsan Akhgari
4830dd98a3
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (dom parts); r=bzbarsky
2012-06-14 22:31:55 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00