Nicholas Nethercote
6b214e6801
Bug 902917 - Remove some unnecessary #includes in SpiderMonkey. r=till.
...
--HG--
extra : rebase_source : 2a767e04768a94eb943370bbe7945a8dc409bf1d
2013-08-08 16:07:22 -07:00
Emanuel Hoogeveen
85e2863665
Bug 888088 (part 6) - Fix #include ordering in some of js/src/*.{h,cpp}. r=nnethercote.
...
--HG--
extra : rebase_source : bbf807155c1ed049a49cc2da73bbf55e0f334820
2013-07-23 17:34:18 -07:00
Brian Hackett
aafb978437
Bug 885758 - Add ExclusiveContext for use by threads with exclusive access to their compartment, r=billm.
2013-07-10 09:29:52 -06:00
Shu-yu Guo
582bd4255c
Bug 881536 - Part 3: Pure path for GetElement in the VM. (r=bhackett)
2013-07-08 03:24:55 -07:00
Till Schneidereit
5ff794e6dc
Bug 885300 - don't inline js::ToAtom. r=nnethercote
...
--HG--
extra : rebase_source : c37bc721e71402afb9a479bb2acc2c8b4b45e58b
2013-06-21 02:59:39 +02:00
Emanuel Hoogeveen
92a19ae235
Bug 883697 (part 2) - Make include guards consistent in some of js/src/. r=njn.
...
--HG--
extra : rebase_source : 86e3e36e1711191a6e8a01bc44f01cffc6b48b96
2013-06-19 17:59:46 -07:00
Nicholas Nethercote
02a1b0ba64
Bug 880565 (part 2) - Remove unnecessary #includes in jsobjinlines.h. r=benjamin.
...
--HG--
extra : rebase_source : 0a447cc5ed0f06ce8f01fdce799660f98b2ff780
2013-06-06 17:48:12 -07:00
Brian Hackett
327a300d21
Bug 881333 - Use accessor methods for cx->compartment and cx->runtime, r=luke.
2013-06-10 15:22:18 -06:00
Jason Orendorff
f578f2deb5
Bug 879831, part 4 - Make vm/String-inl.h not include gc/Barrier-inl.h, breaking an #include cycle. Make vm/Shape-inl.h not #include itself. r=njn.
2013-06-06 22:48:32 -05:00
Terrence Cole
92c0bf02c4
Bug 879079 - Fix some exact rooting static analysis failures under js/src; r=bhackett
...
--HG--
extra : rebase_source : 3d5181531aef48516f1ec257b674e033a2da2aa6
2013-06-03 16:30:00 -07:00
Sean Stangl
dc8230838c
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-16 13:47:10 -07:00
Phil Ringnalda
23acd61026
Back out a5a1dd3bd8ae (bug 860029) for stupidorange
2013-04-15 12:55:38 -07:00
Sean Stangl
d3d0513618
Bug 860029 - Standardize Modelines in the JS Module. r=njn
2013-04-15 11:33:03 -07:00
Phil Ringnalda
fe48637b66
Back out 5bf9771e1a28 (bug 860029) for bustage
...
CLOSED TREE
2013-04-11 19:55:37 -07:00
Sean Stangl
900638a687
Bug 860029 - Standardize Modelines in the JS Module. DONTBUILD. r=njn
2013-04-11 18:48:59 -07:00
Tom Schuster
de620701c5
Bug 836949 - Remove obj parameter from ValueToId. r=njn
2013-04-09 13:33:32 +02:00
Tom Schuster
ca281e5ea7
Bug 836949 - Remove InternNonIntElementId/FetchElementId. r=jwalden
2013-04-09 13:33:32 +02:00
Jeff Walden
cbb9822c34
Bug 856850 - Implement a PodOperations.h header that includes all the Pod* functions currently in jsutil.h. r=Ms2ger
2013-04-01 22:43:19 -07:00
Brian Hackett
ed2ebb3e07
Bug 834826 - Eliminate or refactor various unnecessary stack roots, r=terrence.
2013-01-26 07:42:20 -07:00
Brian Hackett
22d41f0b1f
Bug 834242 - Reduce cost of exact stack rooting during property reads, r=terrence.
2013-01-24 20:18:34 -07:00
Ms2ger
5d75256be3
Bug 828248 - Part e: Pass MutableHandleId to InternNonIntElementId; r=sfink
2013-01-11 09:43:00 +01:00
Ms2ger
23f700bed5
Bug 828248 - Part b: Pass MutableHandleId to IndexToId and IndexToIdSlow; r=sfink
2013-01-11 09:43:00 +01:00
Ms2ger
d43e8bee85
Bug 828248 - Part a: Pass MutableHandleId to ValueToId and DoubleIndexToId; r=sfink
2013-01-11 09:43:00 +01:00
Jason Orendorff
f6e498e705
Bug 812314 part 1 - Use fewer namespace js {...} blocks in .cpp files in js/src, js/src/builtin, js/src/vm. r=luke.
...
--HG--
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after.js
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_localStorage_before_after_page2.html => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_localStorage_before_after_page2.html
rename : browser/components/privatebrowsing/test/browser/perwindow/browser_privatebrowsing_placestitle.js => browser/components/privatebrowsing/test/browser/global/browser_privatebrowsing_placestitle.js
rename : browser/components/privatebrowsing/test/browser/perwindow/title.sjs => browser/components/privatebrowsing/test/browser/global/title.sjs
extra : rebase_source : d1d1c39b490ae33fb9e8417ed72c2b77ee631416
2012-11-16 15:59:26 -06:00
Jeff Walden
6b2880f5e0
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
2012-09-11 10:32:33 -07:00
Jeff Walden
1955eaafe5
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
a64d75f7d2
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
...
--HG--
extra : rebase_source : ed461a1092fde477a199499e4519885598be7079
2012-09-06 13:48:40 -07:00
Jeff Walden
cc765a5e4f
Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
f434447a10
Backed out changeset cf239b55242a, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : 5dc4920582bd2e73e7fa3346ba7b4ec8148a9d0c
2012-09-17 15:06:16 -07:00
Jeff Walden
50020d948f
Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
...
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Jeff Walden
722abfa804
Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff
...
--HG--
extra : rebase_source : b0b255d242dbb8cef2df3c758bec82e88699ecdd
2012-09-11 10:32:33 -07:00
Jeff Walden
85c023ecff
Bug 790349 - Make JSAtomState store FixedHeapPtr<PropertyName> so that cached-name uses don't have to be rooted. r=jorendorff
...
--HG--
extra : rebase_source : f9113497185b3404415603da4fc8c43125d9052c
2012-09-10 20:42:08 -07:00
Jeff Walden
97f25845a0
Bug 789635 - Clean up JSAtomState so that all atom fields are macro-defined, and move the atoms set into JSRuntime directly. r=jorendorff
...
--HG--
extra : rebase_source : 83316d60be6a58b5a4b51058331068bf68ec0626
2012-09-06 13:48:40 -07:00
Terrence Cole
02da43c7a6
Bug 780309 - Move atom methods into js namespace; r=luke
...
This is a simple cleanup of jsatom.h.
--HG--
rename : layout/reftests/svg/pattern-scale-01c.svg => layout/reftests/svg/pattern-scale-01a.svg
extra : rebase_source : 8f656ab55c593a76ce91222c4306a4206708a77f
2012-08-08 14:02:30 -07:00
Jeff Walden
8d29eda287
Bug 765341 - Change js_ValueToAtom to return a JSAtom* directly, and rename it to js::ToAtom. r=sfink
...
--HG--
extra : rebase_source : 44f039cd09ac2ab1825e7f9fd1e2a01f5907bb67
2012-06-12 16:03:10 -07:00
Luke Wagner
47597e30f9
Bug 765297 - free up bits in String::lengthAndFlags for new string subtypes (r=njn)
...
--HG--
extra : rebase_source : 798f9c1e1a1176ce218bb4d336f6403e1cbd55aa
2012-06-18 09:37:25 -07:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Tom Schuster
5f6d13c6fc
Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff
2012-05-19 21:56:17 +02:00
Brian Hackett
f846f2d027
Disallow non-canonical jsids, bug 751331. r=luke
2012-05-06 13:45:19 -07:00
Brian Hackett
5932dbcb76
Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm
2012-04-30 17:10:30 -07:00
Tom Schuster
d0d0f9f213
Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett
2012-02-05 11:32:12 +01:00
Luke Wagner
542a670fec
Bug 692269 - Remove jsstr.h, vm/String.h, jsautokw.h, jsclone.h, jsopcode.tbl, jsopcode.h, jsstdint.h from INSTALLED_HEADERS (r=billm)
...
--HG--
extra : rebase_source : f9e20f1d52987251ad3d58c76531dcd5135076ad
2012-01-30 09:17:38 -08:00
Bill McCloskey
88c7b0c713
Bug 720853 - Add read barrier for atom table (r=luke)
2012-01-24 18:32:56 -08:00
Brian Hackett
bdf9362d41
Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander
2012-01-18 16:56:22 -08:00
Jeff Walden
735580ff0e
Bug 708735 - Use <stdint.h> types in JSAPI and throughout SpiderMonkey. Continue to provide the {u,}int{8,16,32,64} and JS{Uint,Int}{8,16,32,64} integer types through a single header, however, for a simpler backout strategy -- and also to ease the transition for embedders. r=timeless on switching the jsd API to use the <stdint.h> types, r=luke, r=dmandelin
2011-12-08 22:54:10 -05:00
Jeff Walden
c19126641c
Bug 707061 - Rename js_ValueToString to ToString. Also, consistent with ToObject, make ToString include an inline already-string fast path, and make ToStringSlow be an out-of-line slow path for the case where the value is not a string (asserting that this is the case). r=luke
2011-12-01 19:35:44 -08:00
Brian Hackett
c632b70b2b
Remove jsobj.h from installed headers, bug 690943. r=luke
2011-10-04 07:06:54 -07:00
Jeff Walden
f6f2db44cb
Bug 678074 - Implement js::PropertyName, a subclass of JSAtom which represents a string which does not contain an unsigned 32-bit index. This type will eventually be used internally (and possibly at some point externally) for all guaranteed-non-element property accesses. r=luke
...
--HG--
extra : rebase_source : b5b7b975b7c5e3caa312784a0edc49c112d2aa09
2011-08-10 14:54:47 -07:00
Jeff Walden
f0a15f8ce0
Bug 676700 - Slightly speed up js::IndexToId by converting directly to atom, not to string and then to atom. r=luke
...
--HG--
extra : rebase_source : d352929e4002f285670448e4515bea404f2cf88f
2011-08-04 19:21:25 -07:00
Jason Orendorff
f3bc25f319
Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb.
2011-07-27 17:44:43 -05:00