Commit Graph

41 Commits

Author SHA1 Message Date
Jason Orendorff
364708cb56 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
e281d53768 Bug 790349 - Convert all fooAtom uses to simply foo. r=jorendorff 2012-09-11 10:32:33 -07:00
Jeff Walden
b55d67b19e 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
a7ebfd3cfc 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
9c845c1c0a Backed out changeset 17d36418f4d6, possible memory leak. r=graphserver
--HG--
extra : rebase_source : ce0a13c66211ad536eca08722cf15b2214e0d8da
2012-09-17 15:10:47 -07:00
Jeff Walden
3a422e12b3 Backed out changeset cf239b55242a, possible memory leak. r=graphserver
--HG--
extra : rebase_source : 5dc4920582bd2e73e7fa3346ba7b4ec8148a9d0c
2012-09-17 15:06:16 -07:00
Jeff Walden
fed8d27b8a Backed out changeset d3d8807c6c59, possible memory leak. r=graphserver
--HG--
extra : rebase_source : f1b208bb368083e8685619a5f0e11fb6c2ffd09b
2012-09-17 15:04:21 -07:00
Jeff Walden
bd4bb4ce3e 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
f60055f832 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
8da248cf92 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
599fb28214 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
08838770af 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
a546dae90d 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
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Tom Schuster
a683829360 Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
b9e5d87ac0 Disallow non-canonical jsids, bug 751331. r=luke 2012-05-06 13:45:19 -07:00
Brian Hackett
6182fbbd16 Get rooting analysis to pass jit-tests in the interpreter, bug 745742. r=billm 2012-04-30 17:10:30 -07:00
Tom Schuster
265f99d7f7 Bug 720675 - OOM Crash [@ JSString::isFlat] because of NULL deref for ensureFlat. r=bhackett 2012-02-05 11:32:12 +01:00
Luke Wagner
f5e853cb76 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
6ee3ac4d49 Bug 720853 - Add read barrier for atom table (r=luke) 2012-01-24 18:32:56 -08:00
Brian Hackett
40239683ac Store JSStrings instead of jsids in native key iterators, bug 713754. r=dvander 2012-01-18 16:56:22 -08:00
Jeff Walden
476c7d19c5 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
894d37708d 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
e89780c40d Remove jsobj.h from installed headers, bug 690943. r=luke 2011-10-04 07:06:54 -07:00
Jeff Walden
fec16d8559 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
7090baef12 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
f8465f2924 Bug 637985 - Reimplement watchpoints using a JSObject bit. r=jimb. 2011-07-27 17:44:43 -05:00
Jeff Walden
190c5e9bc0 Bug 662231 - Stop installing the jsnum.h header (again). r=jimb
--HG--
extra : rebase_source : 23bfbf1d8d10ed3efd501338b65e509b1344ae26
2011-06-08 16:50:23 -07:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
338cf025af Bug 654301: Better interned string API. (r=Waldo) 2011-05-16 18:18:59 -07:00
Jeff Walden
9361f3bfc8 Bug 653782 - Remove js_IndexToId, replace with an inline js::IndexToId. Also removes the redundant IndexToId in jsxml.cpp. r=igor
--HG--
extra : rebase_source : 4cb2b69a8f3d1877ca6514c8f9dfb3dc1af551b7
2011-04-30 03:19:26 -04:00
Luke Wagner
7c96945e3c Bug 613457 - clean up string interfaces (r=njn)
--HG--
extra : rebase_source : 3e77b67fa9fe2cc31312ad99951cf92258a98e64
2011-03-14 13:59:53 -07:00
Luke Wagner
fee4a41733 Bug 616562 - speed up JSString::isStatic (r=njn)
--HG--
extra : rebase_source : 9f0b553b8ab54bfbbd5290ba936581bda8bb40ec
2011-03-14 13:55:55 -07:00
Gregor Wagner
77d8fcb9e6 Bug 572057 - TM: remove weak roots (pigeon hole) r=igor 2010-08-18 12:46:47 -07:00
Luke Wagner
99411cc93d Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Brendan Eich
02c0dc3df2 Factor jsscopeinlines.h out, clean up #include order (524267, r=gal/jorendorff). 2009-10-26 13:39:39 -07:00
Brendan Eich
811ccb299a Fixes based on jorendorff's comments in bug 515273. 2009-09-10 10:54:33 -07:00
Brendan Eich
706bd30498 Fix js*inlines.h harder (515628, r=jorendorff). 2009-09-10 10:23:52 -07:00
Jeff Walden
8361fadbb2 Bug 503992 - js_Int32ToId doesn't return the right id when passed a negative integer which doesn't fit in a jsval. Also change how 'in' is interpreted on trace so that we don't side-exit when the named property exists directly on the object. ALL HAIL TESTCASES! r=jorendorff 2009-07-15 02:48:49 -07:00
Andreas Gal
f552010935 Make js_ValueToString inline (503669, r=jwalden). 2009-07-13 14:55:04 -07:00