Nick Fitzgerald
ecfd49638c
Bug 1194426 - Add sourceLength and functionDisplayNameLength to JS::ubi::StackFrame. r=sfink
...
--HG--
extra : rebase_source : bddcd83e0e1e4f86bb22676ca8ff4d3240eaf6d3
2015-08-13 13:17:00 -04:00
Nick Fitzgerald
d93cd5e9a8
Bug 1187062 - Part 2: Implement a concrete JS::ubi::StackFrame class backed by js::SavedFrame; r=sfink
2015-08-14 17:49:06 -07:00
Nick Fitzgerald
9404d4d0bb
Bug 1187062 - Part 1: Add the JS::ubi::StackFrame interface; r=sfink
2015-08-14 17:49:06 -07:00
Ehsan Akhgari
a056599e07
Bug 1188208 - Fix more constructors in js; r=jorendorff
2015-07-30 14:03:17 -04: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
Terrence Cole
7afa7dfb04
Bug 1173889 - Strongly type the CallbackTracer dispatch function; r=jonco, r=mccr8
...
--HG--
extra : rebase_source : 413319f0701f8e92b8fc1c79a51f4a09c2c5cd39
2015-06-11 10:03:33 -07:00
Nick Fitzgerald
2c6810accb
Bug 1024774
- Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb
2015-05-28 07:37:43 -07:00
Nick Fitzgerald
94d5c16a2e
Bug 1024774
- Part 8: Add JS::ubi::Node::isLive; r=jimb
2015-05-28 07:37:43 -07:00
Nick Fitzgerald
273a313f37
Bug 1024774
- Part 3: Serialize heap snapshots. r=jimb
2015-05-28 07:37:42 -07:00
Nick Fitzgerald
1f67f55353
Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb
2015-05-28 07:37:42 -07:00
Terrence Cole
c01ef51c2d
Bug 1167453 - Rename JSGCTraceKind and make it a C++11 enum class; r=jonco
...
--HG--
extra : rebase_source : 7dbeee0826fa20477ed227c9d336fdfe6de6ffd2
2015-05-22 10:40:24 -07:00
Terrence Cole
ae93611ac6
Bug 1167313 - Simplify UbiNode::construct dispatch using CallTyped; r=jimb
...
--HG--
extra : rebase_source : 880f5856665bea34ba27913d9b6b533bd9cdd1a4
2015-05-21 11:41:18 -07:00
Nick Fitzgerald
fe7b1a60be
Bug 1134865 - Part 3: Add JS::ubi::Node::jsObjectConstructorName; r=djvj
2015-04-27 10:57:06 -07:00
Jim Blandy
c454df3a32
Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
...
--HG--
extra : rebase_source : 64d8d124637ffab49089fa4151285b523e0c6f9e
2015-03-22 23:06:51 -07:00
Carsten "Tomcat" Book
bab9dbe9c4
Backed out 19 changesets (bug 1149397, bug 1065657, bug 1024774
) for fixing Linux PGO xpcshell bustage on a CLOSED TREE
...
Backed out changeset 53058615e7a3 (bug 1024774
)
Backed out changeset 68fe0894bb09 (bug 1065657)
Backed out changeset 1b9620d674df (bug 1024774
)
Backed out changeset a31c514b59da (bug 1024774
)
Backed out changeset 0fcf8757f6c2 (bug 1024774
)
Backed out changeset 9a3c71b925d4 (bug 1024774
)
Backed out changeset 783acc92af04 (bug 1024774
)
Backed out changeset ad71c9a3446b (bug 1024774
)
Backed out changeset 4f37e72e70f6 (bug 1024774
)
Backed out changeset ec869578cc0a (bug 1024774
)
Backed out changeset 3c1d306c8a3d (bug 1024774
)
Backed out changeset b3a90f30892d (bug 1024774
)
Backed out changeset cf7bbb3774c0 (bug 1024774
)
Backed out changeset 2522eb4d3cf2 (bug 1024774
)
Backed out changeset 89a502d88f9c (bug 1024774
)
Backed out changeset 61046ad3161f (bug 1024774
)
Backed out changeset 36706aaa2f06 (bug 1024774
)
Backed out changeset ba8e68e05149 (bug 1149397)
Backed out changeset 532169437c2f (bug 1065657)
--HG--
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.cc => toolkit/components/protobuf/google/protobuf/extension_set.cc
rename : toolkit/components/protobuf/src/google/protobuf/extension_set.h => toolkit/components/protobuf/google/protobuf/extension_set.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/atomicops_internals_pnacl.h => toolkit/components/protobuf/google/protobuf/generated_message_util.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stringprintf.h => toolkit/components/protobuf/google/protobuf/generated_message_util.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.cc => toolkit/components/protobuf/google/protobuf/io/coded_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream.h => toolkit/components/protobuf/google/protobuf/io/coded_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/coded_stream_inl.h => toolkit/components/protobuf/google/protobuf/io/coded_stream_inl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/package_info.h => toolkit/components/protobuf/google/protobuf/io/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/service.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl.h
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.cc => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/io/zero_copy_stream_impl_lite.h => toolkit/components/protobuf/google/protobuf/io/zero_copy_stream_impl_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.cc => toolkit/components/protobuf/google/protobuf/message_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/message_lite.h => toolkit/components/protobuf/google/protobuf/message_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/package_info.h => toolkit/components/protobuf/google/protobuf/package_info.h
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.cc => toolkit/components/protobuf/google/protobuf/repeated_field.cc
rename : toolkit/components/protobuf/src/google/protobuf/repeated_field.h => toolkit/components/protobuf/google/protobuf/repeated_field.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.cc => toolkit/components/protobuf/google/protobuf/stubs/common.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/common.h => toolkit/components/protobuf/google/protobuf/stubs/common.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/hash.h => toolkit/components/protobuf/google/protobuf/stubs/hash.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.cc => toolkit/components/protobuf/google/protobuf/stubs/once.cc
rename : toolkit/components/protobuf/src/google/protobuf/stubs/once.h => toolkit/components/protobuf/google/protobuf/stubs/once.h
rename : toolkit/components/protobuf/src/google/protobuf/stubs/stl_util.h => toolkit/components/protobuf/google/protobuf/stubs/stl_util-inl.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.cc => toolkit/components/protobuf/google/protobuf/wire_format_lite.cc
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite.h => toolkit/components/protobuf/google/protobuf/wire_format_lite.h
rename : toolkit/components/protobuf/src/google/protobuf/wire_format_lite_inl.h => toolkit/components/protobuf/google/protobuf/wire_format_lite_inl.h
2015-04-23 08:37:24 +02:00
Nick Fitzgerald
b9bae0d887
Bug 1024774
- Part 11: Implement a JS::ubi::Node specialization for DeserializedNode; r=jimb
2015-04-22 11:09:54 -07:00
Nick Fitzgerald
0e6dcee572
Bug 1024774
- Part 8: Add JS::ubi::Node::isLive; r=jimb
2015-04-22 11:09:54 -07:00
Nick Fitzgerald
32af3e9ef8
Bug 1024774
- Part 3: Serialize heap snapshots. r=jimb
2015-04-22 11:09:54 -07:00
Nick Fitzgerald
7c042bbbe2
Bug 1149397 - JS::ubi::Node::edges should return a mozilla::UniquePtr; r=jimb
2015-04-22 11:09:53 -07:00
Ryan VanderMeulen
7d1cb87298
Backed out changeset 47abda42667c (bug 1063257) jit-test failures.
2015-04-16 16:27:34 -04:00
Jim Blandy
1d40faa3cd
Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
...
--HG--
extra : rebase_source : c126a5e626d666941b0fc657fbd7fcf1450e0e35
extra : histedit_source : f5cf97b77bf057c6ca47a072fde7b67e1f28e671
2015-03-22 23:06:51 -07:00
Jim Blandy
fc9d59392a
Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence
...
--HG--
extra : rebase_source : cc27cefa89ab9689cbfe7f62635a00c3363f4265
extra : histedit_source : fd7c1ca09c654b27536774d7b722319819dd74e0
2015-04-01 18:04:53 -07:00
Jim Blandy
161ee5e528
Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence
...
--HG--
extra : rebase_source : 2b192a3b74a6e9ac2e1bf9e967bcd8b2a7d41ce6
extra : histedit_source : 30b033cce6b71683240a117a8431d5c78cbc0581
2015-04-15 22:04:38 -07:00
Jan de Mooij
b8b1677f0f
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 23:22:11 +01:00
Phil Ringnalda
c8a25251c1
Backed out changeset 0c030f97a04f (bug 1144366
) for being on top of patches being backed out
...
CLOSED TREE
2015-03-28 10:39:56 -07:00
Jan de Mooij
8d6d44ecb8
Bug 1144366
- Switch SpiderMonkey and XPConnect style from |T *t| to |T* t|. r=jorendorff
2015-03-28 12:08:37 +01: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
Nick Fitzgerald
84902745a6
Bug 1142338 - Debugger.Memory's census shouldn't use JS::ubi::Node::as<T>; r=sfink
2015-03-13 13:19:26 -07:00
Birunthan Mohanathas
1b10c9d731
Bug 1120796 - Part 2: Replace ConvertibleToBool hackarounds with explicit bool operators. r=Waldo
2015-02-03 18:52:36 +02:00
Ehsan Akhgari
4354953b4f
Bug 1118486 - Part 1: Use `= delete` instead of MOZ_DELETE directly; r=Waldo
...
Most of this patch (with the exception of dom/bindings/Codegen.py) was
generated by the following bash script:
#!/bin/bash
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "*/.git*" \
! -wholename "obj-*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-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_DELETE '= delete'
2015-01-08 23:19:05 -05:00
Nick Fitzgerald
93795aa6b0
Bug 1102541 - Add JS::ubi::RootList::addRoot; r=shu
2014-12-16 10:50:43 -08:00
Nick Fitzgerald
60c428209b
Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb
2014-11-19 10:19:59 -08:00
Nick Fitzgerald
1ef2756d93
Backed out changeset 73ea3aa3ccec
2014-11-19 10:00:02 -08:00
Nick Fitzgerald
68b8173ea8
Bug 1083456 - Part 2: Provide a mechanism to find all GC roots for a JS::ubi::Node traversal. r=jimb
2014-11-19 09:57:11 -08:00
Nick Fitzgerald
504a3e3703
Bug 1083456 - Part 1: Add JS_TraceIncomingCCWs. r=terrence
2014-11-07 11:56:00 +01:00
Jim Blandy
a7342c18c3
Bug 1075564: Give JS::ubi::Node its implicit constructor back, with the right annotation this time. r=luke
2014-10-02 10:19:10 +01:00
Ehsan Akhgari
6904219eef
Bug 1068024 - Fix more bad implicit constructors in JS; r=luke,Waldo
...
--HG--
extra : rebase_source : 1eea3e7dfc3235a1b99d7deb131efda07dde4eac
2014-09-23 22:04:52 -04:00
Jim Blandy
24bff230a9
Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
...
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-19 15:10:01 -07:00
Jim Blandy
11c263f4f6
Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
...
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-19 15:10:00 -07:00
Jim Blandy
96cfd11162
Bug 1063233: Move JS::ubi::Node specializations for SpiderMonkey types closer to those types' definitions. r=terrence
2014-09-18 12:56:54 -07:00
Jim Blandy
153d508a49
Bug 1063233: Provide default definitions for optional JS::ubi::Node methods in Base. r=terrence
2014-09-18 12:56:53 -07:00
Chris Peterson
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Wes Kocher
cff080e6ec
Back out 11 changesets (bug 1063233 and bug 1063247)
...
* * *
Backed out changeset 7c7c837585fb (bug 1063233)
* * *
Backed out changeset e584d23b3ce3 (bug 1063233)
* * *
Backed out changeset ee169ca2e00b (bug 1063247)
* * *
Backed out changeset 514c713b2313 (bug 1063247)
* * *
Backed out 3 changesets (bug 1063247)
Backed out changeset a6033944c4c1 (bug 1063247)
Backed out changeset c7ffa64956c6 (bug 1063247)
Backed out changeset dd80b2984fe2 (bug 1063247)
* * *
Backed out 4 changesets (bug 1063233)
Backed out changeset 1f6db27e6240 (bug 1063233)
Backed out changeset b8e3d887faa2 (bug 1063233)
Backed out changeset 8e1913c07322 (bug 1063233)
Backed out changeset 04d42b23a489 (bug 1063233)
2014-09-05 17:42:45 -07:00
Jim Blandy
c46d5a6268
Bug 1063233: Remove use of UbiNode.h from IonCode.h, with consequent changes; Windows non-unified builds seem to be unhappy with it. CLOSED TREE r=bustage
2014-09-05 14:57:42 -07:00
Ehsan Akhgari
21a9749477
Bug 1060976 - Fix more bad implicit constructors in the JS engine; r=jorendorff
2014-09-05 15:11:39 -04:00
Jim Blandy
796704a305
Bug 1063247: Amend JS::ubi::Node::size and its implementations to expect a mozilla::MallocSizeOf function. r=terrence
...
Note that JS::ubi::Node::size has no callers at present, so we can change its
type without changing any callers.
2014-09-05 10:43:35 -07:00
Jim Blandy
96c87e3727
Bug 1063247: Allow implicit construction of JS::ubi::Node from JS::HandleValue. r=terrence
...
This seems reasonable, since a ubi::Node is really just a pointer with some
introspection support, so the value and the Node are pretty similar. And I don't
see cases where you'd want an error.
2014-09-05 10:43:35 -07:00
Jim Blandy
2987a288ea
Bug 1063233: Move JS::ubi::Node support for js::types::TypeObject next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
5d4c33121b
Bug 1063233: Move JS::ubi::Node support for js::jit::JitCode next to where it is declared/defined. r=terrence
2014-09-05 10:37:19 -07:00
Jim Blandy
f45cc6900e
Bug 1063233: Move JS::ubi::Node support for js::Shape and js::BaseShape next to their declarations and definitions. r=terrence
2014-09-05 10:36:07 -07:00
Jim Blandy
2f06da2369
Bug 1063233: Move JS::ubi::Node support for js::LazyScript to sit next to the rest of LazyScript's implementation. r=terrence
2014-09-05 10:34:03 -07:00
Dan Gohman
00b4fef72c
Bug 1054334 - SpiderMonkey: Delete unneeded semicolons r=nbp
2014-08-18 12:20:39 -07:00
Jim Blandy
140805033c
Bug 1051115: Let users tell ubi::Edge not to provide edge names, as they're expensive to compute, and not everyone needs them. r=terrence
2014-08-14 15:59:59 -07:00
Ehsan Akhgari
e78b481c3a
Bug 1044596 - Fix more bad implicit conversion constructors in the JS engine; r=jorendorff
2014-07-27 13:40:52 -04:00
Jim Blandy
3ecc8b3e0b
Bug 1003302: Implement ubi::Node::compartment. r=terrence
2014-08-11 12:46:39 -07:00
Jim Blandy
1b479f0f20
Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence
2014-07-31 17:29:40 -07:00
Wes Kocher
edf6b12068
Backed out changeset 61a25c10da62 (bug 1038544) for build failures
2014-07-31 14:40:16 -07:00
Jim Blandy
8bb6861710
Bug 1038544: Implement ubi::Node::zone, to return the JS::Zone to which the node's referent belongs. r=terrence
2014-07-31 13:50:10 -07:00
Jim Blandy
a3de3d6a60
Bug 1038316: Add support for ES6 Symbols to ubi::Node. r=sfink
2014-07-30 17:14:19 -07:00
Jim Blandy
d84b1105f4
Bug 960786: SpiderMonkey should provide an introspection API for memory heap analysis (ubi::Node) r=sfink
2014-06-16 15:18:57 -07:00