Igor Bukanov
034b3c6618
bug 618262 - Removal of JS_NewString. r=brendan
2010-12-10 12:50:50 +01:00
Igor Bukanov
a18b8a8142
bug 617215 - eliminating JS_NewString usage in FF while fixing a leak there. r=bz
2010-12-09 11:22:15 +01:00
Boris Zbarsky
d9586ee9ab
Bug 614138. Fix stupid typo that breaks opt builds.
2010-12-09 00:16:30 -05:00
Boris Zbarsky
eb0e23508a
Bug 614138 followup to fix Windows debug compile errors for good.
2010-12-09 00:01:52 -05:00
Boris Zbarsky
45b14fe278
Bug 614138 followup to fix Windows debug compile errors.
2010-12-08 23:11:54 -05:00
Jim Blandy
e08e432406
Bug 614138 part 1: Add an API for holding GC objects while we use values they own. r=jorendorff, a=bzbarsky
2010-12-08 22:17:36 -05:00
Igor Bukanov
933918e6f4
Bug 614578 - Removal of nsAutoGCRoot. r=mrbkap
2010-11-26 15:11:14 +01:00
Igor Bukanov
3717953163
Bug 612150 - Eliminating JS_GetFunctionName. r=mrbkap
2010-11-24 17:56:43 +01:00
Blake Kaplan
6deeefba3d
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Blake Kaplan
bd44733edc
Backout due to bustage
2010-12-02 17:13:20 -08:00
Blake Kaplan
439ca83a7b
bug 601803 - Support adopting a node cross-compartment. r=gal/jst
2010-11-15 17:21:25 -08:00
Robert Sayre
2639d2cb2f
Merge mozilla-central to tracemonkey.
2010-11-24 14:00:42 -08:00
Jason Orendorff
b4b193de22
Bug 613068 - Add version argument to JS_ReadStructuredClone. r=bent.
2010-11-24 14:14:02 -06:00
Alon Zakai
127f68f980
Bug 502836 - Fix 'script stack space quota is exhausted' error. r=igor a=blocking-betaN+
2010-11-18 14:16:36 -08:00
Igor Bukanov
238c877cc8
Bug 607292 - followup to address comments 16 and 20 from the bug
2010-11-15 23:11:07 +01:00
Igor Bukanov
d34f057e79
bug 607292 - eliminating JS_GetStringBytes and friends. r=gal
2010-11-08 13:17:31 +01:00
Igor Bukanov
52ea348c4c
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-11 21:40:29 +01:00
David Anderson
7487c14d37
Backed out changeset 8e119f847f97 (build busted)
2010-11-11 11:19:42 -08:00
Igor Bukanov
e32ba97023
bug 610198 - Replacing JS_GetStringBytes usage with JS_EncodeString. r=gal
2010-11-02 15:36:25 +01:00
David Mandelin
ac0db7fadd
Bug 610480 nit fix: use old-style comments in jsapi.h
2010-11-10 16:59:35 -08:00
David Mandelin
e5b3e6621e
Bug 610480: fix some MSVC warnings, r=jwalden
2010-11-10 16:46:33 -08:00
Steve Fink
80ba8d7cfd
Bug 605330 - extend jscalls (bug 507012) tracking to cover JM and fix some mismatched calls, r=dvander, a=NPODB
...
--HG--
extra : rebase_source : 77f64a8ee2c88cbb00ac5671ba2532f71551f28b
2010-09-20 12:43:51 -07:00
Daniel Holbert
44a3f3c372
Bug 610642: s/NULL/0/ to fix build warning "NULL used in arithmetic". r=dmandelin a=shaver
...
--HG--
extra : transplant_source : %92H%08%90%1D%CE%90%DDx%97%99/%F9%90%F3%CCX%BDnb
2010-11-09 11:50:24 -08:00
Robert Sayre
78fcef6d2d
Merge mozilla-central to tracemonkey.
2010-11-09 15:29:44 -05:00
David Mandelin
c5ffe3dddd
Bug 601457 diagnostic: check for setting zero ids into shapes, r=lw, a=beta8+
2010-11-08 16:20:22 -08:00
Igor Bukanov
92b67c9caf
bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal
2010-10-28 17:15:53 +02:00
Chris Leary
9ff0cd58c9
Bug 596580: Fix mozJSSubScriptLoader's version finding. (r=brendan)
2010-11-03 12:09:24 -07:00
Luke Wagner
eabe24988e
Bug 593559 - JSFUN_CONSTRUCTOR should not use the same bit as JSPROP_READONLY (r=brendan)
...
--HG--
extra : rebase_source : af02c04c4ee2255aa938aef7b50b91587f061769
2010-11-02 17:40:46 -07:00
Chris Leary
4d3fc89539
Bug 597811: Make mozJSComponentLoader use JSVERSION_LATEST. (r=sayrer)
2010-11-01 17:33:22 -07:00
Blake Kaplan
4cc16a6dd2
Bug 607174 - Add assertions to jsdbgapi.cpp and enter compartments where it isn't possible for the caller to do so. landing with r=gal, a=beta7+
2010-10-26 19:48:51 -07:00
David Mandelin
61c89f1888
Backout merge, a=backing out changeset tried for b7 blocker
2010-10-26 18:20:20 -07:00
David Mandelin
5aa436fc27
Backed out changeset 8dd996c91f40 -- it doesn't fix the problem, but does make it harder to analyze.
2010-10-26 18:14:25 -07:00
Robert Sayre
7ce5faeded
Merge mozilla-central to tracemonkey.
2010-10-26 14:16:43 -04:00
David Mandelin
a4768a8a4b
Bug 604756 first try: restrict ropes optimization to main-thread content JS, r=lw, a=b7-blocker
2010-10-25 17:28:18 -07:00
Andreas Gal
4ef624448b
Don't wrap StopIteration singleton, just translate it to the current global's StopIteration object and freeze StopIteration at birth (606573, r=mrbkap).
2010-10-23 16:24:32 -07:00
Bill McCloskey
58582215b9
Bug 580468 - Use loop profiling to decide whether to use TM or JM (second try) (r=dmandelin)
2010-10-21 09:36:39 -07:00
Bill McCloskey
507ea140a2
Backed out changeset 55597c32701d
2010-10-19 17:40:53 -07:00
Bill McCloskey
7583dc9166
Bug 580468 - Use loop profiling to decide whether to use TM or JM (r=dmandelin)
2010-10-19 16:23:05 -07:00
Dave Herman
7488e1af91
bug 594060, r=cdleary: Reflect.parse(): make source location information optional
2010-10-19 09:00:51 -07:00
Jason Orendorff
fd0c6b2d5c
Bug 604087 - Minor tweaks to JS_TransplantWrapper and JSAutoEnterCompartment. r=mrbkap
2010-10-13 17:26:40 -07:00
Jim Blandy
713b25831a
Bug 601168: Allow nsHTMLPluginObjElementSH::Call to pass through non-Object |this| values to the plugin. r=bz,gal
...
This introduces some new JSAPI C++ entry points, one of which allows
arbitrary jsvals to be passed as the |this| value to a call; this means we
avoid a JSVAL_TO_OBJECT call in the caller, and its corresponding
OBJECT_TO_JSVAL call in the callee.
2010-10-12 11:50:03 -07:00
Jeff Walden
4626f47ec6
Bug 514570 - 3 - Don't box |this| for strict mode functions. r=jorendorff
2010-10-12 11:50:03 -07:00
Jeff Walden
fcbd8eb10b
Bug 514570 - 1 - Convert primitive-this-of-type function flags into a single primitive-this flag, to pave way for strict mode unadulterated-this passing. r=jorendorff
2010-10-12 11:50:02 -07:00
Blake Kaplan
a44ad43150
bug 580128 - Fix more compartment warnings. Work of multiple people. r=gal/peterv/jst
2010-10-10 15:37:19 -07:00
Blake Kaplan
c563e195ac
bug 580128 - Allow API consumers to pass in a new object altogether before trying to wrap in a security wrapper. r=gal/peterv
2010-10-10 15:36:38 -07:00
Andreas Gal
04c3f3cf48
bug 599503 - Return true compartment info from JSObject::getCompartment(). r=jorendorff/gregor/gal
2010-09-27 13:49:09 -07:00
Blake Kaplan
3c355b8fa0
bug 580128 - Give API consumers a way to perform "brain transplants" on an object. r=gal
2010-09-17 14:54:40 -07:00
Jason Orendorff
c1daff3aa7
Rename JS_{Read,Write}Pair to JS_{Read,Write}Uint32Pair as suggested by Brendan. Followup to bug 595297.
2010-10-02 09:41:18 -05:00
Jason Orendorff
00704fa52d
Bug 595297 - Portable serialize/deserialize implementation of the HTML5 structured cloning algorithm (jsclone.cpp). r=gal.
2010-09-30 19:47:10 -05:00
Andreas Gal
1649ef6d21
Always create a dummy stack frame when crossing compartment boundaries (bug 600015, r=mrbkap).
2010-09-27 15:55:15 -07:00
Igor Bukanov
b8792e95c1
bug 597736 - fixing TreeFragment leak. r=gal
2010-09-21 14:58:19 +02:00
Chris Leary
a9624ec341
Back out b70659aca040, burning XPCShell tests. (no_r=me)
2010-09-23 16:48:35 -07:00
Chris Leary
203741ee8e
Bug 596580: fix versioning on mozJSSubScriptLoader. (r=sayrer,brendan)
...
--HG--
extra : rebase_source : fb2fe804a3f94bc9d6947605ce0e0c19a29b2227
2010-09-23 14:48:58 -07:00
Jim Blandy
9b88f70086
Bug 492845: Implement Object.isSealed, Object.seal. a=jwalden, r=brendan
2010-09-21 11:35:30 -07:00
Jim Blandy
96d7c2007b
Bug 492849 - Implement Object.preventExtensions, Object.isExtensible. a=waldo,jimb, r=brendan
...
--HG--
rename : js/src/jsapi-tests/testSeal.cpp => js/src/jsapi-tests/testDeepFreeze.cpp
2010-09-21 11:35:29 -07:00
Robert Sayre
739e81c33b
Merge mozilla-central to tracemonkey.
2010-09-19 15:59:10 -04:00
Robert Sayre
576da374ec
Merge tracemonkey to mozilla-central. a=blockers
2010-09-16 09:24:02 -07:00
Jason Orendorff
a43bea11f5
Bug 593147 - TM: global Object created in _newJSDContext needs a compartment. r=gal.
2010-09-14 16:24:59 -07:00
Chris Leary
269a7d6bab
Bug 571355: Move RegExpStatics out of JSContext. (r=gal)
2010-09-13 15:53:50 -07:00
Chris Leary
2fa4fedbc1
Bug 540675: eviscerate JSStackFrame::callerVersion. (r=lw)
2010-09-13 09:38:22 -07:00
Blake Kaplan
c8933c7fa2
Bug 583232 followup -- actually add the functions to jsapi.h. r=gal
...
--HG--
extra : rebase_source : 81e8c6e0bafaa7ee0ddd873d694209f7bb1e3008
2010-09-16 11:32:18 -07:00
Jason Orendorff
a47ae73260
Bug 593742 - nsDOMWorker has to set the right compartment. r=bent.
...
--HG--
extra : rebase_source : 1f309d333686fdad21a7b6940873994ccc64157d
2010-09-09 11:13:06 -05:00
Igor Bukanov
052c9099c5
bug 592617 - cannot compile without JS_METHODJIT. r=dmandelin
2010-09-07 13:29:22 +02:00
Luke Wagner
5e9978f911
Bug 581263 - remove slow natives (r=waldo,mrbkap)
2010-08-16 12:35:04 -07:00
David Mandelin
3dc48e12b2
[JAEGER] Merge from Tracemonkey.
2010-08-30 15:13:32 -07:00
Brendan Eich
790ddc9e99
Merge JSScope into JSObject and JSScopeProperty (now js::Shape; bug 558451, r=jorendorff).
2010-08-29 11:57:08 -07:00
David Mandelin
ab97c995fd
[JAEGER] Merge from tracemonkey.
2010-08-26 10:35:24 -07:00
David Mandelin
78cdeefdf2
[JAEGER] Merge from Tracemonkey.
2010-08-24 11:56:29 -07:00
Jason Orendorff
efe79f8f4c
Bug 583232 - Add rewrapping to jsapi.h. r=gal
2010-08-23 18:14:38 -04:00
David Mandelin
67a9ce8c76
[JAEGER] Merge from tracemonkey.
2010-08-20 11:34:59 -07:00
Robert Sayre
d598acd055
Merge mozilla-central to tracemonkey.
2010-08-20 10:04:58 -04:00
David Mandelin
a21c621577
Merge from Tracemonkey.
2010-08-19 11:11:36 -07:00
Gregor Wagner
77d8fcb9e6
Bug 572057 - TM: remove weak roots (pigeon hole) r=igor
2010-08-18 12:46:47 -07:00
David Mandelin
d32d792513
[JAEGER] Merge from tracemonkey. Note that we will currently fail one trace test that was recently added. There is a bug in that test that will be fixed posthaste.
2010-08-17 15:32:40 -07:00
Jeff Walden
765b61e1cb
Bug 429507 - ES5: Function.prototype.bind. r=brendan
2010-08-13 10:42:33 -07:00
Robert Sayre
99925aac53
Merge tracemonkey to mozilla-central. a=blockers.
2010-11-23 10:10:32 -05:00
David Mandelin
4b7d4e43d2
[JAEGER] Merge from tracemonkey.
2010-08-11 11:05:24 -07:00
Steve Fink
082cfbef39
Bug 507012: function call/return callback for profiling, r=dmandelin, a=sayrer
2010-08-09 13:38:13 -07:00
David Mandelin
48342132f5
Merge from Tracemonkey.
2010-08-04 11:30:05 -07:00
Luke Wagner
c650a3d7e3
Bug 584168 - consider canonicalizing nans passed to the JSAPI (r=brendan)
2010-08-04 04:13:19 -07:00
Jeff Walden
443f3f510a
Bug 514581 - ES5: fun.caller and fun.arguments must throw when fun is strict-mode code. r=jimb
...
--HG--
extra : rebase_source : 10f930852e39b0b1ef917b18b6a1332a9a815d5d
2010-08-02 23:52:12 -07:00
David Anderson
8adb6cdddb
[JAEGER] Put conservative marker in JSTracer, rather than GCMarker (bug 583149).
2010-07-29 18:46:45 -07:00
David Mandelin
4c5a188923
[JAEGER] Merge from Tracemonkey.
2010-07-29 13:23:33 -07:00
Jason Orendorff
566beedf1f
Remove extra backslashes. no_r=me.
2010-07-29 08:06:32 -05:00
David Mandelin
a73ecdeee1
Merge from Tracemonkey.
2010-07-28 11:16:36 -07:00
Igor Bukanov
181c2cdf3a
Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution.
2010-07-28 14:36:06 +02:00
David Anderson
31e9292046
[JAEGER] Merge from tracemonkey.
2010-07-25 20:21:14 -07:00
Luke Wagner
b4626a511d
Bug 581574 - Remove JSVAL_IS_UNDERLYING_TYPE_OF_PRIVATE (r=mrbkap)
2010-07-23 17:20:12 -07:00
David Mandelin
cf0c3c24a7
Merge from tracemonkey.
2010-07-22 18:31:01 -07:00
David Anderson
cf5a8cf505
[JAEGER] Merge from tracemonkey.
2010-07-19 20:49:26 -07:00
Blake Kaplan
de74d9d8f4
Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst
2010-07-19 13:36:49 -07:00
Alan Pierce
52ba5c3616
Bug 571579 - Implement ropes (r=gal)
2010-07-16 17:41:22 -07:00
David Anderson
a020926861
[JAEGER] Merge from fatval branch.
2010-07-12 10:46:01 -07:00
Igor Bukanov
246300e968
bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
...
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Luke Wagner
94d4737738
Tweak comment to trigger rebuild
2010-07-06 00:28:33 -07:00
David Anderson
64fd3377e9
[JAEGER] Merge from fatval & TM.
2010-07-05 18:07:39 -07:00
Luke Wagner
477aedc0ff
Tweak jsapi.h/jspubtd.h/jsdbgapi.h
2010-07-05 01:50:08 -07:00
Luke Wagner
b6c66a4c30
Forgot to teach conservative GC about jsid type
2010-07-05 01:41:42 -07:00
Sean Stangl
bcde0f1fc6
[JAEGER] Merge with fatval.
2010-07-02 21:52:25 -07:00
Luke Wagner
15a253d499
Merge
2010-07-01 23:10:37 -07:00