Commit Graph

973 Commits

Author SHA1 Message Date
jorendorff@mozilla.com
a3cdb83c9b Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-01-07 12:35:51 -06:00
bclary@bclary.com
0189c1c262 JavaScript Tests - revert known failures due to bugs 393267, 399587 being backed out. not part of the build 2008-01-04 04:23:42 -08:00
jruderman@hmc.edu
0368dbc3d2 The last backout introduced some mochitest orange. Let's see whether backing out bug 393267 as well fixes that. 2008-01-03 21:13:59 -08:00
jruderman@hmc.edu
8a25f3a779 Backing out mrbkap's fix for bug 399587, in the hope of fixing bug 410323 and perhaps bug 410291. 2008-01-03 20:12:48 -08:00
brendan@mozilla.org
0d7046460b NPOTB assertion for Date's 'friend' API, plus comments (410647, r=bclary). 2008-01-03 18:23:55 -08:00
gavin@gavinsharp.com
15be910811 Back out patch for bug 409109 because its suspected of causing the fxdbug-win32-tb orange 2008-01-03 15:03:19 -08:00
brendan@mozilla.org
8c0a5e8a90 Comment nit-pick. 2008-01-03 12:57:05 -08:00
igor@mir2.org
136aa3e109 Bug 410653: make sure that the generator cleanup code is called on all code paths. r,a=brendan 2008-01-03 10:13:42 -08:00
igor@mir2.org
1240c7eabe Bug 409109: switching to new operation counting API. r=jst a=beltzner 2008-01-03 07:27:28 -08:00
igor@mir2.org
a9fa67b981 Bug 364776: New operation counter API to replace branch callback. r,a=brendan 2008-01-03 01:28:40 -08:00
bclary@bclary.com
2af85d44ba JavaScript Tests - regression test for bug 351463, not part of the buidl 2008-01-02 20:53:12 -08:00
brendan@mozilla.org
c02dbef876 XML/XMLList need toSource love (410192, r=mrbkap). 2008-01-02 12:25:59 -08:00
benjamin@smedbergs.us
f75d637c57 Bug 409433 - XPConnect should never allow GC off the main thread, r=mrbkap sr=jst a=luser 2007-12-31 10:17:35 -08:00
mrbkap@gmail.com
3467b91cc2 Fix silly think-o from bug 410090, r=lumpy 2007-12-30 12:37:49 -08:00
bclary@bclary.com
08b3b0e5af JavaScript Tests - update known failures due to fixes in bug 393269, bug 399587, not part of the build 2007-12-30 08:40:49 -08:00
mrbkap@gmail.com
a3cb3e9386 Preserve interesting attributes on same-origin XOWs. bug 393267, r+sr=jst a=beltzner 2007-12-29 20:36:37 -08:00
mrbkap@gmail.com
67bcba4a97 Add a way to find all of the XOWs for an object and use it to deal with hard cases where we have to clear the scope of XOWs in order to reflect changes to the underlying object. Also deal with objects moving between scopes by ensuring that we're always able to find their XOWs. bug 399587, r+sr=jst 2007-12-29 20:34:49 -08:00
mrbkap@gmail.com
f544e27288 Make enumeration over SJOWs walk the prototype chain. Also make SJOWs unwrap same-origin XOWs. bug 410090, r+sr=jst 2007-12-29 15:40:50 -08:00
mrbkap@gmail.com
c668cc7f5c Allow chrome to use SJOWs. bug 409889, r+sr=jst 2007-12-29 15:38:36 -08:00
sayrer@gmail.com
43999e482b Bug 387522. Native JSON support. r=crowder/jst, sr=brendan 2007-12-27 13:34:03 -08:00
bclary@bclary.com
3fda481a95 JavaScript Tests - regression tests for bug 407727, by Igor Bukanov, not part of the build 2007-12-27 12:23:00 -08:00
bclary@bclary.com
a69a021416 JavaScript Tests - record additional fixes from bug 390949 in known failure list, not part of the build 2007-12-27 07:03:09 -08:00
jruderman@hmc.edu
91424bc51f Backing out igor's fixes for bug 409109 and bug 364776 in an attempt to fix Tinderbox tgfx failures that are keeping talos red 2007-12-26 11:19:17 -08:00
bclary@bclary.com
bd2506675f JavaScript Tests - record fixes from bug 390949 in known failure list, not part of the build 2007-12-26 06:36:33 -08:00
igor@mir2.org
20fdb17cc6 Bug 409109: using operation counting API instead of the branch callback. r,sr=jst 2007-12-25 02:46:50 -08:00
igor@mir2.org
aa66348a18 Bug 364776: new operation callback API to replace branch callback. a,r=brendan 2007-12-25 02:12:26 -08:00
mrbkap@gmail.com
0af959a35c Do not propagate our toString function onto the wrapped objects. bug 390949, r+sr=jst 2007-12-24 12:17:16 -08:00
mrbkap@gmail.com
d6945425b5 Add mochitests for bug 409298 and bug 403005 r=bzbarsky 2007-12-24 11:28:21 -08:00
jruderman@hmc.edu
ca2676f2b9 Add crashtest 2007-12-23 17:25:00 -08:00
jruderman@hmc.edu
eb3288308b Add crashtest 2007-12-23 16:45:48 -08:00
timeless@mozdev.org
33d48a27ec Bug 336991 Useless null check of jsdscript in _destroyJSDScript r=gijs sr=bz a=dsicore 2007-12-23 15:47:36 -08:00
jwalden@mit.edu
a906fd95ab Kick the stupid Windows tinderbox. 2007-12-22 08:36:21 -08:00
bclary@bclary.com
17360fb8d6 JavaScript Test - add additional tests for Function constructor, bug 408271, not part of the build 2007-12-21 17:58:43 -08:00
sayrer@gmail.com
7fbc1f0e59 Bug 409324. js_DoubleToECMA(u)Int32 should return jsdouble, not a useless always-true JSBool. r/a=brendan 2007-12-21 14:06:37 -08:00
igor@mir2.org
365cedcc72 Bug 408271: check for missing return when parsing a function body in one place. r,a=brendan 2007-12-21 11:11:46 -08:00
mrbkap@gmail.com
f1c34acb2b Don't resolve things on SJOW's prototype and make toString on it work again. bug 409298, r+sr=jst a=beltzner 2007-12-21 11:05:05 -08:00
mrbkap@gmail.com
7c7e1261bf Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles; this was supposed to land before. bug 397855, r=brendan sr=dveditz 2007-12-21 01:10:59 -08:00
sayrer@gmail.com
cfbb96e156 Bug 409302. js_DoubleToECMA(u)Int32 has an unused cx param. r/a=brendan 2007-12-20 17:43:49 -08:00
bclary@bclary.com
f31cfc9dcc JavaScript Tests - update list of known failures, no bug, not part of the build 2007-12-20 16:07:00 -08:00
bclary@bclary.com
d28076f4ec JavaScript Tests - update tests to reflect changed behavior due to bug 409252 2007-12-20 16:02:14 -08:00
mrbkap@gmail.com
e718c42249 Fix this test to deal with the new error that's being thrown. 2007-12-20 15:46:08 -08:00
brendan@mozilla.org
873105df41 Don't fix typename bindings without JS2 opt-in (409252, r=mrbkap). 2007-12-20 15:29:31 -08:00
mrbkap@gmail.com
ace379fdfe Give the JS engine some knowledge of wrappers so that they can compare equal and be noticed when they take part in __proto__ cycles. bug 397855, r=brendan sr=dveditz 2007-12-20 14:59:44 -08:00
mrbkap@gmail.com
fb11cb8ad9 Use two flags for filenames: "system" and "want native wrappers". bug 408859, r=jst sr+a=brendan 2007-12-19 19:11:02 -08:00
igor@mir2.org
16849a505a Bug 398219: avoid storing references to the global scope in the compiled scripts. r,a=brendan 2007-12-19 05:20:45 -08:00
mrbkap@gmail.com
4dc08713fb Make peek-on-same-line actually work correctly. bug 401246, r=brendan (NPOTB) 2007-12-18 17:15:41 -08:00
crowder@fiverocks.com
3e531b2372 Bug 407600 - Compile Spidermonkey with -Os on Mac, r=bsmedberg, no approval needed, NPOTB 2007-12-18 17:05:48 -08:00
mrbkap@gmail.com
3cffe924e5 missing last character when using readline() on files. bug 407844, r=crowder a=brendan 2007-12-18 16:44:21 -08:00
mrbkap@gmail.com
62ccffd6aa Sync XPCSafeJSObjectWrapper with similar fixes that we took for XPCNativeWrapper. bug 399299, r+sr=jst 2007-12-18 15:33:14 -08:00
mrbkap@gmail.com
972347941c Make |foo instanceof XOW| work as expected. bug 396849, r+sr=jst 2007-12-18 13:06:44 -08:00