Ms2ger
f5102fe12e
Bug 828248 - Part e: Pass MutableHandleId to InternNonIntElementId; r=sfink
2013-01-11 09:43:00 +01:00
Ms2ger
a2b66f71ee
Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink
2013-01-11 09:43:00 +01:00
Terrence Cole
9a1e2ab530
Bug 802318 - Remove the invalid SkipRoot in AtomizeInline; r=billm
...
This re-organizes AtomizeInline to separate the TakeOwnership and Copy cases.
2013-01-07 15:32:01 -08:00
Terrence Cole
541a62731f
Bug 816776 - Add debug-mode exact rooting assertions for Shape; r=sfink
2012-11-29 10:22:10 -08:00
Jon Coppeard
6f764b0d32
Bug 790338 - Sweep compartments in groups r=billm
2012-11-16 15:34:22 +00:00
Jason Orendorff
10da47ece4
Bug 812314 part 1 - Use fewer namespace js {...} blocks in .cpp files in js/src, js/src/builtin, js/src/vm. r=luke.
2012-11-16 15:59:26 -06:00
Terrence Cole
f81b1d5878
Bug 807151 - Unexport |mozilla| from the |js| namespace; r=Waldo
...
Clang does not want to allow js::ion::Range and mozilla::Range simultaneously
when we have a |namespace js { using namespace mozilla; }| declaration.
2012-11-06 17:35:18 -08:00
Terrence Cole
c11996d4c0
Bug 805080 - Remove unused CESU8 support from SpiderMonkey; r=luke
...
We have many CESU8 paths in SpiderMonkey which are completely unused and
untested. We have many more "UTF-8" paths which are really mislabled CESU8 paths
and visa-versa. This patch attempts to disentable all of the various encoding
options in SpiderMonkey.
2012-10-29 13:55:17 -07:00
Terrence Cole
54e53b84a8
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
2012-10-08 15:04:36 -07:00
Terrence Cole
6249f8ff86
Backout 754a1efb5b37 for bustage on a CLOSED TREE
2012-10-08 15:42:39 -07:00
Terrence Cole
4ef37c98f5
Bug 798624 - Specialize low-level character access to JSStableString; r=luke, rs=Waldo
...
Implements JSStableString::chars() and pushes StableCharPtr into the interface
at several key choke-points. This will solidly enforce the requirement that we
have uninlined jschar*s in places that we may GC with a jschar* on the stack.
2012-10-08 15:04:36 -07:00
Nicholas Nethercote
f24062885a
Bug 797695 (part 4) - Exactly root jsscript.cpp. r=terrence.
2012-10-04 16:22:03 -07:00
Terrence Cole
00d9d36bae
Bug 785551 - Do not allow inline JSString chars in the frontend; r=luke
...
We need direct access to jschar*s in the frontend (and some other places) for
speed, but if these pointers are inlined into JSStrings then a GC may invalidate
them. This patch ensures that we uninline JSStrings before they enter any of
these regions.
2012-08-28 10:28:19 -07:00
Jeff Walden
6c92888c28
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
2012-09-10 20:42:08 -07:00
Jeff Walden
849656ff93
Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
2012-09-10 13:27:19 -07:00
Jeff Walden
aa4f062f24
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
2012-09-06 13:48:40 -07:00
Jeff Walden
3eb546642f
Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
2012-09-07 14:42:33 -07:00
Jeff Walden
676d480bb5
Backed out changeset b6855b090307, possible memory leak. r=graphserver
2012-09-17 15:11:24 -07:00
Jeff Walden
8f89ecae06
Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
2012-09-17 15:10:47 -07:00
Jeff Walden
5ec641812a
Backed out changeset 2cdc9370922f, possible memory leak. r=graphserver
2012-09-17 15:06:58 -07:00
Jeff Walden
49193a2912
Backed out changeset cf239b55242a, possible memory leak. r=graphserver
2012-09-17 15:06:16 -07:00
Jeff Walden
f5856fb564
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
2012-09-10 20:42:08 -07:00
Jeff Walden
173167f103
Bug 790349 - Allow atoms to be referred to by |cx->names().foo| where |foo| is the text of the atom (except in cases where the text of the atom isn't a C++ identifier). r=jorendorff
2012-09-10 13:27:19 -07:00
Jeff Walden
568284dc14
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
2012-09-06 13:48:40 -07:00
Jeff Walden
d9d8c4acfb
Bug 789635 - Convert the prototype list into a higher-order macro, to facilitate easier use of it in other higher-order macros. r=jorendorff
2012-09-07 14:42:33 -07:00
Luke Wagner
df652165a4
Bug 787291 - add pod_malloc<T> et al (r=billm)
2012-08-31 15:10:10 -07:00
Luke Wagner
bd2a0bf71a
Bug 787246 - rm OffTheBooks/Foreground/UnwantedForeground gunk (r=billm)
2012-08-31 15:01:33 -07:00
Luke Wagner
88c2971644
Bug 625199 - kill dummy frames (r=mrbkap)
2012-08-17 18:05:06 -07:00
Jon Coppeard
bb114a0564
Bug 782993 - Part 2: Tidy unused parts of FreeOp r=billm
2012-08-21 09:58:30 +01:00
Jon Coppeard
2765a80bbe
Bug 782315 - GC: Cut out unnecessary work when not collecting atoms r=billm
2012-08-14 11:10:45 +01:00
Brian Hackett
8a27276644
Add various autorooting, bug 772303. r=terrence
2012-08-12 19:50:49 -06:00
Terrence Cole
8b8f244b86
Bug 780309 - Move atom methods into js namespace; r=luke
...
This is a simple cleanup of jsatom.h.
2012-08-08 14:02:30 -07:00
Nicholas Nethercote
c1a3b9bb18
Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/ (attempt 2). r=luke.
2012-07-18 17:38:10 -07:00
Brian Hackett
6c4ed4bfd1
Use HandleValue and MutableHandleValue in API hooks where possible, bug 776579. r=billm, sr=dmandelin
2012-07-30 05:19:09 -06:00
Jason Orendorff
818ce2c0e4
Bug 770854 - Put frontend code in the frontend namespace. r=njn.
2012-07-09 13:54:28 -05:00
Ryan VanderMeulen
c9f34b0742
Backout 61d052e202c8 (bug 647367) due to Windows bustage.
2012-07-18 22:33:41 -04:00
Nicholas Nethercote
767aeb6bc1
Bug 647367 - Sequester jshash.{h,cpp} in js/jsd/. r=luke.
2012-07-18 17:38:10 -07:00
Jeff Walden
ed75e61940
Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
2012-06-12 16:03:10 -07:00
Terrence Cole
21763adf0c
Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
...
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.
2012-05-23 10:34:29 -07:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Tom Schuster
5d91112a9a
Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff
2012-05-19 21:56:17 +02:00
Nicholas Nethercote
1dd88fad25
Bug 754179 - Remove some dead front-end code. r=jorendorff.
2012-05-16 18:12:47 -07:00
Bill McCloskey
4a99178d97
Bug 743879 - Eliminate lazy atoms (r=Waldo)
2012-05-07 10:13:04 -07:00
Bill McCloskey
389c4ebded
Bug 743879 - Backout for build errors (r=bustage)
2012-05-07 10:27:10 -07:00
Bill McCloskey
e5ff724599
Bug 743879 - Eliminate lazy atoms (r=Waldo)
2012-05-07 10:13:04 -07:00
Brian Hackett
33a75298e8
Disallow non-canonical jsids, bug 751331. r=luke
2012-05-06 13:45:19 -07:00
Terrence Cole
d30a5c6246
Bug 750547 - Remove unused dead branch in js_AtomizeString; r=Waldo
2012-04-30 16:20:10 -07:00
Jeff Walden
60b5d410c3
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
2012-05-01 14:30:18 -07:00
Matt Brubeck
6ef536f064
Back out 682bf201edde, ef35ba222ac8, and 6a20cf61289d (bug 750907, bug 751003, bug 751377) because of build failure on a CLOSED TREE
2012-05-03 14:55:52 -07:00
Jeff Walden
149f277184
Bug 750907 - Move the marking declarations out of jsgcmark.h and into a header with minimal dependencies. r=billm
2012-05-01 14:30:18 -07:00