Commit Graph

113 Commits

Author SHA1 Message Date
Jory A. Pratt
7afae43f75 Bug 621812 - Ensure proper linking when as-needed is passed via LDFLAGS, r=khuey 2010-12-28 19:59:00 -08:00
Luke Wagner
2fc61cf52e Bug 609440, part 3 - remove fallible public APIs, update mozilla (r=bent,jst,mrbkap,waldo,sdwilsh) 2010-12-03 00:24:17 -08:00
Luke Wagner
eabaab987f Bug 612523 - unfuse JSOP_MOREITER; sanity returns (r=dvander,gal)
--HG--
extra : rebase_source : ceaec335708f14f6ef4f0afaeb7e407b328145fa
2010-11-19 15:09:03 -08:00
Jeff Walden
f432da735d Bug 614333 - Remove the empty-script singleton optimization: it is effectively disabled with the methodjit, and its use of a single const JSScript for everything (including across compartments) interferes with recording name bindings in scripts, in order to correctly implement strict mode eval. r=brendan
--HG--
extra : rebase_source : 38a7faedb4b090e844cc342c82b273c75ef763bb
2010-11-16 15:30:56 -08: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
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
1fd3424219 bug 590533 - InvokeOperationCallback should yield when the is cancelled. r=gal 2010-12-04 17:04:10 +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
Jason Orendorff
a1b6342402 JS_DeepFreezeObject does not actually do anything. Bug 609024, r=Waldo. 2010-11-29 12:50:07 -06:00
Brian Hackett
80ffc498e1 Disable testIsAboutToBeFinalized.cpp jsapi-test, bug 613430. 2010-11-18 21:14:40 -08:00
Jason Orendorff
bd95c1239f Bug 609103 - jsapi-tests/testThreads.cpp should call JS_SetNativeStackQuota to avoid stack overflow. rs=gwagner. 2010-11-17 17:13:15 -06:00
Gregor Wagner
cc7eb1caff Bug 612511 - fix testcase testVersion.cpp, r=cdleary 2010-11-17 10:41:24 -08:00
Chris Leary
dc67060b95 Bug 611462: correct option-to-version propagation. (r=lw) 2010-11-15 13:35:20 -08: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
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
Robert Sayre
78fcef6d2d Merge mozilla-central to tracemonkey. 2010-11-09 15:29:44 -05:00
Igor Bukanov
92b67c9caf bug 607695 - Avoid unnecessary JS_GetStringBytes. r=gal 2010-10-28 17:15:53 +02:00
timeless@mozdev.org
62f89a5b70 Bug 603364 - Delete unused variable in a jsapi-test. r=jorendorff. 2010-10-20 23:25:49 -05:00
Jason Orendorff
66caf20eae Backed out changeset fd2d1860e2ac because it seems to delete hundreds of filse I didn't want deleted. 2010-10-20 23:24:02 -05:00
timeless@mozdev.org
c7fdb6378f Bug 603364 - Delete unused variable in a jsapi-test. r=jorendorff.
--HG--
extra : rebase_source : 61e1c9afa4c03de77d8bd14d3fe121ab5504b9d8
2010-10-20 23:11:05 -05:00
Jason Orendorff
1473d0c9cf Ensure that js_CurrentThread always returns a JSThread with a correct nativeStackBase pointer, even if the JSThread is left over from an earlier thread that had the same PRThread*. Bug 604782, r=gal. 2010-10-20 18:15:39 -05:00
Dave Herman
7488e1af91 bug 594060, r=cdleary: Reflect.parse(): make source location information optional 2010-10-19 09:00:51 -07:00
Makoto Kato
cb7dbc1e2d Bug 589917 - js_GetDeflatedUTF8StringLength computes the wrong UTF-8 length for surrogate pairs. r=igor, a=betaN+ 2010-10-19 17:06:10 +09:00
Blake Kaplan
d4014d272a Add a test for bug 604087. r=gal 2010-10-13 16:54:13 -07:00
Brian Hackett
f9cf7a5b7d Flexible length JSObject, bug 584917. r=brendan,igor 2010-10-13 11:49:22 -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
Andreas Gal
96223bbef4 Make functions per compartment, and deep copy instead of clone them if needed (584789, r=mrbkap). 2010-09-29 23:17:29 -07: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
bd21beac91 bug 599481 - static string tables should be constant. r=alangpierce 2010-09-25 00:36:58 +02: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
Brian Hackett
066d48b6b6 Backed out changeset 09ffb30caa47 2010-09-20 12:05:21 -07:00
Brian Hackett
e8819f33fa Make JSObject flexible length, bug 584917. r=brendan 2010-09-20 11:40:32 -07:00
Jim Blandy
bdd7ba704a Bug 585803: Unit tests for existing JSScript and script object creation API. r=jorendorff
These tests exercise the new API, in which script objects are allocated
immediately for scripts that can have them.
2010-09-16 09:59:10 -07:00
Igor Bukanov
e3df6b0d60 bug 594138 - account for potential shape and dslots change after the GC in conservative GC tests. r=anygregor 2010-09-10 08:55:33 +02:00
Luke Wagner
5e9978f911 Bug 581263 - remove slow natives (r=waldo,mrbkap) 2010-08-16 12:35:04 -07:00
David Mandelin
7b2310c5cf [JAEGER] Merge from tracemonkey. 2010-08-27 11:25:56 -07:00
Gregor Wagner
9fe5a4cb0d Bug 590986 - TM: another defaultCompartment mixup in jsapi-tests r=gal 2010-08-26 14:00:47 -07:00
David Mandelin
02f201cead [JAEGER] Merge from tracemonkey. 2010-08-23 11:35:14 -07:00
Gregor Wagner
562f617316 Bug 589216 - TM: fix another crossCompartment call in jsapi-tests r=jorendorff 2010-08-20 17:23: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
David Mandelin
e67c2b7441 [JAEGER] Merge from Tracemonkey. 2010-08-16 15:58:14 -07:00
Andreas Gal
f6f96b56f0 Bug 586531 - Make jsapi-tests not use the default compartment by default. r=jorendorff. 2010-08-16 16:42:50 -05:00
Andrew Drake
bc97d0240e [JAEGER] Add debug mode, and with it EvaluateInFrame. r=dvander, b=578154 2010-08-05 17:15:49 -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
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00