Commit Graph

1675 Commits

Author SHA1 Message Date
igor@mir2.org
03f433c720 bug=420399 r=brendan a1.9=blocking1.9 eliminating the pc stack in the interpreter 2008-03-04 15:30:58 -08:00
bclary@bclary.com
d3365453db JavaScript Tests - update known failures 2008-03-04 13:59:50 -08:00
bclary@bclary.com
aa85512db5 JavaScript Tests - update known failures 2008-03-04 09:27:38 -08:00
bclary@bclary.com
28de70863d JavaScript Tests - remove wfm failure, bug 417916 2008-03-04 08:54:08 -08:00
igor@mir2.org
d9417500fc Bug 419969: the interpreter loop belongs to its own compilation unit. r,a1.9=brendan 2008-03-04 04:52:43 -08:00
timeless@mozdev.org
64fa3a079b Bug 420807 xpconnect should not use fun->atom r=dbradley a=brendan 2008-03-03 19:19:17 -08:00
bent.mozilla@gmail.com
372aac713d Bug 414977 - "insufficient unlink methods in some DOM classes?". Fix for DEBUG_xpc_hacker builds. Not part of the normal build, r+sr+a=jst. 2008-03-03 17:20:55 -08:00
bclary@bclary.com
8ab86290e2 JavaScript Tests - update known failures, bug 420480 2008-03-03 09:01:40 -08:00
brendan@mozilla.org
ae42df3d12 Urghh... 2008-03-03 00:09:36 -08:00
brendan@mozilla.org
a982566c12 Clean up and fix computed this under js_Execute (420610, r=mrbkap+crowder, a=vlad). 2008-03-02 23:49:14 -08:00
brendan@mozilla.org
e984ae0990 mrbkap's fantabulous fix for 418565, r=me, a=beltzner. 2008-03-02 23:14:45 -08:00
jruderman@hmc.edu
b63894e5d5 Add crashtest 2008-03-02 23:13:04 -08:00
brendan@mozilla.org
6dcfb7a8a5 mrbkap's patch for 418293 with a few nits picked, r=me, a=beltzner. 2008-03-02 23:10:18 -08:00
brendan@mozilla.org
527b53da80 mrbkap's fix for 420612, r=me, a=beltzner. 2008-03-02 23:02:53 -08:00
brendan@mozilla.org
bf4dff31ae Checking in mrbkap's fix for 420513, r=me, a=beltzner. 2008-03-02 22:49:26 -08:00
jruderman@hmc.edu
29c0574170 Add crashtest 2008-03-02 22:40:11 -08:00
igor@mir2.org
60ee816d65 bug=420593 fixing mispellings in comments introfuced in the patch for bug 396007. 2008-03-02 16:41:07 -08:00
igor@mir2.org
8a2062c811 bug=420639 fixing comments in the checking for bug 418737. 2008-03-02 16:34:00 -08:00
mrbkap@gmail.com
7ab8010f59 Fix dependencies in the JS shell. bug 388955, patch adapted from one by jorendorff, r=brendan a=NPOTB 2008-03-02 15:10:49 -08:00
igor@mir2.org
4efee61dd3 bug=418737 r=brendan a1.9b4=mtshrep fixing fast array enumerator 2008-03-02 09:45:33 -08:00
igor@mir2.org
c2daaad5fe bug=396007 r=brendan a1.9b4=mtschrep Prefering posix_memalign over mmap to allocate GC arenas. 2008-03-02 08:13:16 -08:00
brendan@mozilla.org
12d2139d11 Fix property cache fill to recompute protoIndex to handle XBL and other JS_SetPrototype users (418139, r/a=shaver). 2008-03-01 20:06:33 -08:00
brendan@mozilla.org
4f4cb9e28b Unregress perf in wake of 418069 (420426, r=mrbkap, a=mconnor). 2008-03-01 14:15:21 -08:00
mrbkap@gmail.com
18bfd5ab8a Stick exn back into the context so that js_ReportErrorAgain callees can access the exception. bug 420409, patch from taras, r=mrbkap a=mconnor 2008-03-01 14:11:27 -08:00
bclary@bclary.com
5ac0cb809d Backout bug 420426 due to regressions 2008-03-01 03:02:43 -08:00
brendan@mozilla.org
1575ad453e Fix ComputeThis perf regression (420426, r=mrbkap, a=sayrer). 2008-02-29 23:37:27 -08:00
mrbkap@gmail.com
ecc86bf397 Remove unused variable. bug 418069, r+a=brendan 2008-02-29 17:21:11 -08:00
mrbkap@gmail.com
59987175f2 Outerize |this| always. bug 418069, r/sr=jst/brendan a=beltzner 2008-02-29 16:17:38 -08:00
brendan@mozilla.org
00fee0fea7 Another assert that was an already-coped-with property cache hazard (420087, r=shaver, a=beltzner). 2008-02-29 16:03:41 -08:00
benjamin@smedbergs.us
1dd7d9ff84 merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
2008-02-29 15:06:00 -05:00
benjamin@smedbergs.us
bd8c0d9f66 Bug 420217 - _InterlockedCompareExchange needs to be extern "C" when using a C++ compiler, r=brendan a1.9b4=beltzner 2008-02-29 06:49:04 -08:00
brendan@mozilla.org
a8bb1da25f Fix slot type to satisfy C++ (420215, r=bsmedberg, a=beltzner). 2008-02-28 21:03:38 -08:00
bent.mozilla@gmail.com
c8de939d3c Bug 414977 - "insufficient unlink methods in some DOM classes?". Allow the cycle collector to unlink XPCWrappedNatives in one cycle instead of two. r=peterv, sr=jst, a1.9b4+=schrep. 2008-02-28 18:09:10 -08:00
bclary@bclary.com
75a10443a9 JavaScript Tests - regression test for bug 419018, by jag (Peter Annema) 2008-02-28 17:37:05 -08:00
benjamin@smedbergs.us
efcdec4558 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-02-28 20:34:28 -05:00
brendan@mozilla.org
fa4dcecfef Unbitrot JS_OPMETER (363529, r=shaver, a=beltzner/sayrer). 2008-02-28 16:29:59 -08:00
brendan@mozilla.org
7e30932a4d Cope with JSOP_INITPROP property cache proto-property-with-non-stub-setter hazard (419822, r=shaver, a=beltzner). 2008-02-28 09:17:52 -08:00
bclary@bclary.com
641f900e2d JavaScript Tests - regression tests for bug 419152, by Mike Shaver 2008-02-28 08:44:05 -08:00
bclary@bclary.com
43608cef42 JavaScript Tests - regression tests for bug 419803, by Jesse Ruderman 2008-02-28 08:24:12 -08:00
brendan@mozilla.org
8f651d834f Fix bogus assertion with compensating code (419803, r=shaver, a=beltzner). 2008-02-27 11:39:27 -08:00
benjamin@smedbergs.us
8e65489719 Merge cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-27 11:33:49 -05:00
brendan@mozilla.org
bfaa992a1b Backing out to fix orange on Windows fx/tb/sm... 2008-02-26 22:57:28 -08:00
brendan@mozilla.org
42caf6cd7e Landing shaver's patch for 419743, r/a=me. 2008-02-26 21:54:02 -08:00
brendan@mozilla.org
da4792dd55 Optimize object initialisers via property cache; remove JSOP_SET{NAME,PROP} cache hazards (129496, r=shaver). 2008-02-26 17:59:36 -08:00
igor@mir2.org
0490d5e5c8 bug=400902 r,a1.9=brendan Specialized GC arena for double values 2008-02-26 13:01:42 -08:00
bclary@bclary.com
d7b4cdc422 JavaScript Tests - regression tests for bug 410649, by Igor Bukanov 2008-02-26 10:40:56 -08:00
brendan@mozilla.org
d04ec07f23 Fix regression from 419152 to test for 58274 (r/a=shaver). 2008-02-26 09:01:52 -08:00
timeless@mozdev.org
a7cd3c0106 Bug 394114 Interfaces missing from various QI implementations. jsdContext r=caillon sr=jag a=dsicore 2008-02-26 07:10:19 -08:00
timeless@mozdev.org
3be3d64ce2 Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:07:05 -08:00
timeless@mozdev.org
9fce33202b Bug 405025 ASSERT_VALID_LOCK failed r=gijs a=dsicore 2008-02-26 07:04:13 -08:00
brendan@mozilla.org
31995f2bdb Shaver's huge patch for 419152 (Huge, I say; r=me). 2008-02-25 16:59:36 -08:00
reed@reedloden.com
7b58057fad Bug 417710 - "Use JS_GET_CLASS, not JS_GetClass" [p=gyuyoung.kim@samsung.com (gyu-young kim) r=jorendorff r=jst sr+a1.9=brendan] 2008-02-25 00:59:20 -08:00
jag@tty.nl
36cdf867ff Backing out bug 400902. Something's still screwy :-( 2008-02-24 08:46:20 -08:00
igor@mir2.org
4e3cb1c91c Bug 400902: specialized arena for doubles 2008-02-24 06:14:45 -08:00
dougt@meer.net
256982d515 WINCE Only. Slash doesn't work in MINGW32, but - works everywhere. 2008-02-22 17:31:02 -08:00
reed@reedloden.com
8245eb76f2 Bug 418957 - "js/src/prmjtime.c uses the wrong value for NS_HAVE_INVALID_PARAMETER_HANDLER on windows mobile" [p=dougt@meer.net (Doug Turner) r+a1.9=crowder] 2008-02-22 15:49:41 -08:00
benjamin@smedbergs.us
bd3ecfec1d Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jscpucfg.c => js/src/jscpucfg.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsdhash.c => js/src/jsdhash.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.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/jsmath.c => js/src/jsmath.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsregexp.c => js/src/jsregexp.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-02-22 16:45:09 -05:00
benjamin@smedbergs.us
b79e3a1d26 Bug 419079 - cast void* in js/src for C++ compatibility, r+a=crowder 2008-02-22 12:41:27 -08:00
crowder@fiverocks.com
12f713ce65 Bug 419018 - Fix silly crash in slowarray_enumerate, patch by mrbkap, r=shaver, a1.9=mconnor 2008-02-22 11:40:57 -08:00
bclary@bclary.com
3678291aaf JavaScript Tests - regression tests for bug 385133, by Jesse Ruderman, Igor Bukanov 2008-02-21 17:31:44 -08:00
bclary@bclary.com
16cceabc06 JavaScript Tests - Object destructuring shorthand, bug 404734, by Brendan Eich 2008-02-21 17:00:36 -08:00
bclary@bclary.com
4fbb143347 JavaScript Tests - allow function Error() {} for the love of Pete, bug 412324 2008-02-21 13:22:38 -08:00
timeless@mozdev.org
3a951ab3c2 Bug 418665 windows mobile build error in js/src/jsdate.c GetLocalTime is defined in the Windows Mobile SDK patch by dougt r=crowder a=beltzner 2008-02-21 13:09:57 -08:00
brendan@mozilla.org
c6f32f4ba6 ASSERT_VALID_PROPERTY_CACHE_HIT must be for ST spidermonkey only (417817, r=shaver). 2008-02-21 12:50:39 -08:00
bclary@bclary.com
2c43afb44c JavaScript Tests - regression test for bug 417893, by Jesse Ruderman 2008-02-21 11:38:06 -08:00
bclary@bclary.com
e449d615e6 JavaScript Tests - regression test for bug 418504, by Jeff Walden 2008-02-21 10:12:57 -08:00
bclary@bclary.com
2aad8c70db JavaScript Tests - regression test for bug 418540, by Jesse Ruderman 2008-02-21 09:14:44 -08:00
brendan@mozilla.org
a76138b7d2 Beware non-native objects along scope and proto chains in property cache hit testing (418540, r=shaver). 2008-02-20 21:51:12 -08:00
brendan@mozilla.org
7228b88fd0 jorendorff's JS_DEBUG_TITLE_LOCKS patch (417818, r=shaver). 2008-02-20 21:04:29 -08:00
gavin@gavinsharp.com
3106b6c27f Back out bug 418069 because it causes a crash on startup for Camino 2008-02-20 18:06:26 -08:00
bclary@bclary.com
c86ac17ec4 Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-20 17:27:02 -08:00
crowder@fiverocks.com
d7bbfe4d1d Bug 418069 - js1_5/Regress/regress-379245.js FAIL - browser - bad this, patch by mrbkap, r=brendan, sr=jst, a1.9=brendan 2008-02-20 15:28:18 -08:00
crowder@fiverocks.com
5679bb6318 Bug 418638 - various bugs in JS shell scatter() and sleep(), patch by Jason Orendorff <jorendorff@mozilla.com>, r=crowder, a=NPOTB 2008-02-20 15:18:20 -08:00
jst@mozilla.org
532545b9dd Landing fix for bug 418377. Don't run code on invalid contextx. Patch by mrbkap@gmail.com, r+sr=jst@mozilla.org 2008-02-20 15:00:56 -08:00
igor@mir2.org
236038958e bug=418614 r=mrbkap a1.9=brendan fixing JSOP_EXPORTALL regression spotted by mrbkap 2008-02-20 12:36:52 -08:00
crowder@fiverocks.com
eff79b10d8 Bug 418616 - fix use of uninitialized data in js_CheckAccess, patch by Blake Kaplan <mrbkap@gmail.com>, r+=shaver, a+=brendan 2008-02-20 12:01:14 -08:00
bclary@bclary.com
ac15f830ba Sisyphus/JavaScript Tests - handle malformed log files, bug 418617 2008-02-20 07:49:34 -08:00
reed@reedloden.com
32c4cd178b Bug 404879 - "ActionMonkey: Modify js/src to use new thread-safe MMgc APIs" (tests) [p=jorendorff@mozilla.com (Jason Orendorff) r=bc a1.9=schrep] 2008-02-20 03:27:41 -08:00
reed@reedloden.com
ec2b0ce2b3 Bug 404879 - "ActionMonkey: Modify js/src to use new thread-safe MMgc APIs" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-20 03:25:26 -08:00
reed@reedloden.com
9f08bac7ce Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-20 03:22:06 -08:00
igor@mir2.org
a3f0472aa0 bug=418456 r,a1.9=brendan Fixing asserts in js_PutBlockObject 2008-02-20 01:24:02 -08:00
jag@tty.nl
05755b11a8 Bug 415142: Mozilla build broken in mozilla/js/src/jsgc.c:2217. All the compilers we support can handle long long, so just go with that. Also remove ifdefs for compilers we no longer care about. r=/a=brendan 2008-02-19 21:11:01 -08:00
crowder@fiverocks.com
a73ab6b769 Bug 418515 - Better management of parent-finding, needed for new arrays implementation, r/a+=brendan 2008-02-19 21:05:24 -08:00
bzbarsky@mit.edu
7de886172c Fix line numbering in JS components so it's not off by 1. Bug 418491, r+sr+a=brendan 2008-02-19 19:57:11 -08:00
brendan@mozilla.org
2ca6b7d1e4 Fix untagged boolean stored as jsval bug (418504, r=jwalden). 2008-02-19 16:48:10 -08:00
bclary@bclary.com
eedf971a39 JavaScript Tests - add js1_5/Regress/regress-416628.js to the performance tests, bug 416628 2008-02-19 12:16:03 -08:00
bclary@bclary.com
5294f41197 JavaScript Tests - update to remove failures due to change in expected behavior, bug 345855 2008-02-19 12:11:22 -08:00
igor@mir2.org
c94ca494bf Bug 416439. Using goto error in the interpreter to shrink code size. r,a1.9=brendan 2008-02-19 04:16:26 -08:00
brendan@mozilla.org
ac5e7eec95 Property-cache dense array methods in JSOP_CALLPROP (418239, r=shaver). 2008-02-18 23:04:00 -08:00
dbaron@dbaron.org
6a1479a554 In JS_PrintTraceThingInfo, only print the contents of JSSLOT_PRIVATE if it represents the class's private rather than the first slot. b=417972 r=igor a=DEBUG-only (not part of the default build) 2008-02-18 22:19:13 -08:00
brendan@mozilla.org
fd7e5e29b8 Relaxd ES4-like yield parsing for JS1.8 (384991, r=mrbkap). 2008-02-18 20:49:02 -08:00
mrbkap@gmail.com
f1ecb4b0a4 Avoid calling js_ComputeThis when we don't have to from js_Invoke. bug 417947, r+a=brendan 2008-02-18 19:34:02 -08:00
shaver@mozilla.org
3a8966f57d Fix js_CheckAccess to handle use in non-native objects' ops, fixing test-suite regressions from native-arrays landing. r=mrbkap, a=brendan. 2008-02-18 18:27:44 -08:00
crowder@fiverocks.com
6d54f18ec8 Bug 417999 - removed JS_ArenaFreeAllocation, r+/a+=brendan 2008-02-18 13:14:15 -08:00
crowder@fiverocks.com
222f90ff01 Bug 417995 - SpanDeps allocation does not use JSArenas anymore, r+/a+=brendan 2008-02-18 13:09:50 -08:00
shaver@mozilla.org
8ef681ab63 Implement optimized object-ops for dense arrays, b=322889, r+a=brendan. 2008-02-18 13:01:47 -08:00
jag@tty.nl
e96d1b2fef Bug 417477: Mingw build error in ../mozilla/js/src/jslock.c: syntax error. p=bengt.erik.soderstrom@telia.com, r=jag, a=brendan 2008-02-18 12:10:37 -08:00
brendan@mozilla.org
f337b63afc Guard property cache tests with native ops or obj guards (417981, r=shaver). 2008-02-18 11:32:01 -08:00
bclary@bclary.com
9df24be609 JavaScript Test - regression test for bug 416628, by Brendan Eich 2008-02-18 03:38:44 -08:00
bclary@bclary.com
f4708f06ed JavaScript Tests - regression test for bug 415922, by Joachim Kuebart 2008-02-18 02:48:26 -08:00
bclary@bclary.com
10b95013f7 JavaScript Test - regression test for bug 416460, by Jesse Ruderman 2008-02-18 02:21:39 -08:00
bclary@bclary.com
3e59387f2b JavaScript Tests - regression test for bug 416601, by Igor Bukanov 2008-02-18 02:12:46 -08:00
brendan@mozilla.org
404002f4ae Use JS_PropertyStub for in-language bindings, for best property cache hit rates (416931, r=mrbkap). 2008-02-17 22:31:57 -08:00
brendan@mozilla.org
781e69710b Recover trapped opcode in js_GetIndexFromBytecode (416665, r=igor). 2008-02-17 17:32:12 -08:00
brendan@mozilla.org
080383a8f8 Lazy ComputeGlobalThis required now in fast native implementations (417893, r=mrbkap). 2008-02-17 16:12:33 -08:00
brendan@mozilla.org
42b27fd2b0 Fix misindented code (418049, r=igor). 2008-02-17 16:01:53 -08:00
bclary@bclary.com
922b150115 Sisyphus/JavaScript Tests - update known failures, no bug, not part of the build 2008-02-17 10:13:16 -08:00
timeless@mozdev.org
cd25bc929f Bug 416981 CheckLeakedRoots should specify which JSRuntime is leaking r=brendan a=brendan 2008-02-16 22:56:40 -08:00
reed@reedloden.com
be5b1e308e Bug 417615 - "js.c doesn't build under MOZ_SHARK" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-16 19:27:30 -08:00
bclary@bclary.com
4210eeeb0a Sisyphus/JavaScript Tests - update known failures to match new time out variables, no bug, not part of the build 2008-02-16 14:18:37 -08:00
brendan@mozilla.org
184fbae164 Defend against compiler pseudo-frames (417944, r=shaver). 2008-02-16 13:33:59 -08:00
bclary@bclary.com
8542a0ee12 Sisyphus/JavaScript Tests - add timeout for js1_6/extensions/regress-385393-08.js due to bug 417916 2008-02-16 09:12:13 -08:00
bclary@bclary.com
871894fb37 Sisyphus/JavaScript Tests - lower timeout to 2 minutes, bug 417932, not part of the build 2008-02-16 08:43:07 -08:00
bclary@bclary.com
a2ef0b9951 Sisyphus/JavaScript Tests - update known failures for windows, no bug, not part of the build 2008-02-16 05:55:22 -08:00
brendan@mozilla.org
6fc8aac0ec Don't lock non-native objects (417819, r=mrbkap). 2008-02-15 22:53:32 -08:00
jruderman@hmc.edu
7445015a73 Add crashtest 2008-02-15 21:29:10 -08:00
brendan@mozilla.org
fc623a24eb Optimize ComputeGlobalThis (395993, r=mrbkap). 2008-02-15 18:46:46 -08:00
igor@mir2.org
f86e5a86d2 Bug 416601: property cache is properly disabled under with statements with generators. r=brendan a1.9=blocking1.9 2008-02-15 03:38:40 -08:00
shaver@mozilla.org
08cc7ed6d6 back out for mochitest failures in prototype 2008-02-15 02:31:38 -08:00
shaver@mozilla.org
19f85281c0 Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan. 2008-02-15 01:48:53 -08:00
gavin@gavinsharp.com
be5dd93507 Back out bug 322889 due to jQuery unit test failures 2008-02-14 18:41:18 -08:00
shaver@mozilla.org
4b517f103c Bug 322889: implement specialized storage and operations for JS arrays; r+a=brendan 2008-02-14 17:07:53 -08:00
shaver@mozilla.org
7550157d62 Bug 416675: refactor JSScope locking for reuse on non-native objects. r+a=brendan. 2008-02-14 16:44:46 -08:00
jag@tty.nl
02c1f88ad5 Bug 417419: You too can solve global-warming without making the JS_INLINE macro ugly. r=/a=brendan 2008-02-14 15:56:53 -08:00
bclary@bclary.com
b38b6cba2a Sisyphus/JavaScript Tests - update known failures list, no bug, not part of the build 2008-02-14 08:29:37 -08:00
igor@mir2.org
5a2b665446 Bug 416354: optimizing switch cases in the inetrpreter, r,a1.9=brendan 2008-02-14 07:36:39 -08:00
reed@reedloden.com
5e9e94d627 Bug 402898 - "JS_YieldRequest doesn't do scope-sharing" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-14 03:14:25 -08:00
brendan@mozilla.org
dfd7f0a7b4 Optimize wrapper creation via JS_NewObjectWithGivenProto, and avoid cycle-check overhead in JS_Set{Prototype,Parent} (408871, r=mrbkap). 2008-02-13 21:10:42 -08:00
brendan@mozilla.org
50b22acab7 Must set initial slot value in js_DefineNativeProperty via write barrier (417012, r=shaver). 2008-02-13 19:12:44 -08:00
bclary@bclary.com
ac9fb0f201 Sisyphus/JavaScript Tests - update public failures, no bug, not part of the build 2008-02-13 18:25:05 -08:00
bclary@bclary.com
18f47ac952 JavaScript Tests - update test due to bug 309894 2008-02-13 15:34:49 -08:00
brendan@mozilla.org
3fb8d6c553 Fiddle blank lines botched in my last checkin. 2008-02-13 15:07:14 -08:00
crowder@fiverocks.com
024a12d0a9 Bug 417100 - Fixing windows build errors 2008-02-13 14:33:57 -08:00
crowder@fiverocks.com
ac160ed074 Bug 417100 - more aggressive inlining for jsregexp.c, r=brendan, a1.9=mtschrep 2008-02-13 13:52:17 -08:00
crowder@fiverocks.com
52e061dee3 Bug 417077 - more rigorous inlining functionality for JS, r/a1.9=brendan 2008-02-13 13:50:05 -08:00
bclary@bclary.com
f006c8cc8c Sisyphus/JavaScript Tests - improve test timeout handling, bug 417260 2008-02-13 12:18:02 -08:00
igor@mir2.org
ac22737548 Bug 309894: non-recursive XML-filtering implementation. r,a1.9=brendan 2008-02-13 06:32:31 -08:00
brendan@mozilla.org
2bf37c2385 Patch from Robert Longson <longsonr@gmail.com> for _InterlockedCompareExchange on MSVC7.1 (416813, r=me). 2008-02-13 02:21:50 -08:00
brendan@mozilla.org
e334c2256a Fix stupidity from patch for 414452 (417144, r=shaver, thanks to vlad for finding). 2008-02-12 20:17:50 -08:00
brendan@mozilla.org
4e2eefd3a3 Cope with GC under js_{Find,Lookup}Property in ASSERT_VALID_PROPERTY_CACHE_HIT (417033, r=shaver). 2008-02-12 18:26:16 -08:00
bclary@bclary.com
b8d87d9b9e Sisyphus/JavaScript Tests - fix post-process-logs.pl page, exit status processing, bug 416970 2008-02-12 04:06:14 -08:00
jwalden@mit.edu
247329e211 Bug 397929 - Convert GetMessage APIs to GetMessageMoz APIs, at the C++ symbol level only (vtables remain the same), to work around brain-dead, idiotic, insane Windows API macros. r=bsmedberg, a=schrep 2008-02-11 20:11:07 -08:00
bclary@bclary.com
932a720c80 Sisyphus/JavaScript Tests - attempt 2 at getting known failures correct, bug 416789 2008-02-11 15:29:54 -08:00
bclary@bclary.com
c80cd83b7f Sisyphus/JavaScript Tests - improve page time out handling in post-process-logs.sh, bug 416788 2008-02-11 15:22:29 -08:00
timeless@mozdev.org
976ad0200d Fixing js.mak - adding jsiter 2008-02-11 14:35:05 -08:00
bclary@bclary.com
7361183085 JavaScript Tests - update test for bug 410571 2008-02-11 14:22:02 -08:00
crowder@fiverocks.com
cb2e41b183 Bug 416615 - Optimize JS_MAX(upcase(localMax), downcase(localMax)), r=mrbkap, blocking1.9=brendan, idea from BijuMailList@gmail.com 2008-02-11 12:23:28 -08:00
nboyd@atg.com
8ee727a39d regression test. r=shaver 2008-02-11 08:55:10 -08:00
jag@tty.nl
e76dc17580 Bug 416685: jsinterp.c warning: empty body in an if-statement (times 4). r=/a=brendan 2008-02-11 02:55:59 -08:00
bclary@bclary.com
6edded0296 Sisyphus/JavaScript Tests - update known failures, bug 416789 2008-02-11 01:14:16 -08:00
bclary@bclary.com
754b55208e Sisyphus/JavaScript Tests - handle browser test timeouts better in non-restart mode, bug 416788 2008-02-11 01:08:38 -08:00
bclary@bclary.com
b54eb10ece Sisyphus/JavaScript Tests - improve error message, bug 416786 2008-02-11 01:00:21 -08:00
brendan@mozilla.org
1379a0de12 Avoid O(n^2) hazard under JS_ARENA_RELEASE, simplifying arena-pool usage and eliminating debug code (416628, r=igor). 2008-02-11 00:55:02 -08:00
bclary@bclary.com
25eb5e2f89 JavaScript Tests - update *.tests lists, bug 416783 2008-02-11 00:52:12 -08:00
reed@reedloden.com
8f0ac1f4fd Bug 416470 - "JSContext::outstandingRequests bookkeeping is incorrect" [p=jorendorff@mozilla.com (Jason Orendorff) r=igor a1.9=schrep a=blocking1.9+] 2008-02-10 22:15:18 -08:00
brendan@mozilla.org
1bad15affa Export js_CheckForStringIndex from jsobj.c for use by assert in jsinterp.c (416460, r=shaver). 2008-02-10 17:12:29 -08:00
reed@reedloden.com
a269fceb53 Bug 412324 - "Main content panel is not rendered for all WebCT/Blackboard installations" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=brendan a=blocking1.9+] 2008-02-10 00:49:19 -08:00
timeless@mozdev.org
b6c5d2862f Bug 416293 unbalanced locking in jsd_SetExecutionHook r=crowder a=mtschrep 2008-02-09 20:16:54 -08:00
jwalden@mit.edu
bba13239da Bug 410571 - Yield and let expressions disappear in decompilation of object literal due to mismanagement of the sprintstack; just sprint all at once instead of in two steps. r+a=brendan 2008-02-09 19:30:07 -08:00
igor@mir2.org
4b387e5fd5 Bug 415274: Patch from Mike Moening to allow buiding SpiderMonkey as a static library. r=myself, a1.9=brendan 2008-02-09 06:19:36 -08:00
jruderman@hmc.edu
e15b941bae Add crashtests 2008-02-09 02:43:15 -08:00
brendan@mozilla.org
cca60ec58a Missing unlock in propcache setprop/setname code, plus two cleanups (416478, r=shaver, mad props to jorendorff). 2008-02-08 19:02:57 -08:00
brendan@mozilla.org
d1bb8185ba Put js_DisablePropertyCache in the right place in the obj_eval flow graph (416406, r=shaver). 2008-02-08 17:54:31 -08:00
igor@mir2.org
4031026cd0 Bug 411722: faster js_GetLocalNameArray. r=brendan a=blocking1.9 2008-02-08 16:01:45 -08:00
jst@mozilla.org
7031e5cbf6 Fixing bug 410462. Quiet down a bogus assertion. r+sr=peterv@propagandism.org, a=mtschrep@gmail.com 2008-02-08 15:15:00 -08:00
jst@mozilla.org
66c429560a Landing updated fix for bug 410223. Don't allocate links on the heap. Patch by mrbkap@gmail.com and jst@mozilla.org, r+sr=brendan@mozilla.org/mrbkap@mozilla.org 2008-02-08 15:10:06 -08:00
brendan@mozilla.org
c99115d69a Fix bogus assertion (416404, r=shaver). 2008-02-08 14:59:59 -08:00
igor@mir2.org
98c2a791fd Attachment 302122: optimizing JSOP_NEG, r=brendan a=blocking1.9 2008-02-08 14:01:09 -08:00
igor@mir2.org
0d622a949f Bug 385133: proper verification for stack layout in the decompiler, r=brendan a=blocking1.9 2008-02-08 13:59:05 -08:00
bclary@bclary.com
333b6501a8 JavaScript Tests - fix window detection in test for bug 367121 2008-02-08 12:51:08 -08:00
dbaron@dbaron.org
341458ed79 More detailed description of JS objects. b=414972 r+sr=peterv a=not part of default build (DEBUG_CC only) 2008-02-08 11:50:47 -08:00
dbaron@dbaron.org
9c5ed38724 Add comment explaining mJSRoots and ExplainLiveExpectedGarbage business. 2008-02-08 11:50:16 -08:00
brendan@mozilla.org
23c36b84f4 Return of the property cache (365851, r=shaver). 2008-02-07 15:18:45 -08:00
crowder@fiverocks.com
1b68f69747 Bug 415922 - Exception from within JSNewEnumerateOp on JSENUMERATE_NEXT not supported, patch by Joachim Kuebart <jkuebart@ptc.com>, r=brendan, a1.9=brendan 2008-02-07 12:09:48 -08:00
bclary@bclary.com
6043063ef4 JavaScript Tests - regression test for bug 367121, by moz_bug_r_a4 2008-02-07 07:29:40 -08:00
bclary@bclary.com
ee91c4fe1e JavaScript Tests - regression test for bug 351795, by Jesse Ruderman 2008-02-07 06:10:49 -08:00
bclary@bclary.com
8981e01fd3 JavaScript Tests - regression test for bug 373828, by Jesse Ruderman 2008-02-07 05:53:08 -08:00
bclary@bclary.com
9213ad39d9 JavaScript Tests - regression tests for bug 352640, by Jesse Ruderman 2008-02-07 05:50:24 -08:00
bclary@bclary.com
bda5e41ce2 JavaScript Tests - regression test for bug 381304, by Biju 2008-02-07 05:46:59 -08:00
bclary@bclary.com
975fb3f355 JavaScript Tests - regression test for bug 379523, by Jesse Ruderman 2008-02-07 05:44:32 -08:00
bclary@bclary.com
2f6d75ae86 JavaScript Tests - regression test for bug 356106, by Jesse Ruderman 2008-02-07 05:42:23 -08:00
bclary@bclary.com
3ead1ec961 JavaScript Tests - regression test for bug 355622, by Jesse Ruderman 2008-02-07 05:39:53 -08:00
bclary@bclary.com
295e588eed JavaScript Tests - regression test for bug 406555, by Igor Bukanov 2008-02-07 05:37:06 -08:00
bclary@bclary.com
7f6201d03b JavaScript Tests - regression test for bug 362583, by Jesse Ruderman 2008-02-07 05:33:53 -08:00
bclary@bclary.com
6214d76ae2 JavaScript Tests - regression test for bug 361617, by Jesse Rudermen 2008-02-07 05:30:54 -08:00
peterv@propagandism.org
e40e28c8f6 Fix for bug 415037 ("success" returned uninitialized from XPCVariant::VariantDataToJS). r/sr=jst, a=schrep. 2008-02-07 03:38:13 -08:00
reed@reedloden.com
034ef625c9 Bug 414963 - "C++ warnings in jsnum.c, jsutil.c (with g++ -Wconversion)" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:34:51 -08:00
reed@reedloden.com
ffc995d036 Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 13:33:44 -08:00
bclary@bclary.com
5786c45c26 JavaScript Tests - run Tinderbox browser tests without restarting browser, bug 406196 2008-02-06 12:05:33 -08:00
brendan@mozilla.org
1062056759 Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-05 17:25:12 -08:00
nboyd@atg.com
404d4a8deb Test case for bug 415451 r=bclary@bclary.com 2008-02-05 13:52:34 -08:00
nboyd@atg.com
38cd7e2900 Regression test for bug 414098. r=bclary@bclary.com 2008-02-05 10:53:18 -08:00
brendan@mozilla.org
192c9c8568 Reload key in case of multithreaded race to atomize the same string chars (415474, r=igor). 2008-02-03 21:12:33 -08:00
igor@mir2.org
43ba6ec933 Bug 400902: Backing out due to test failures. 2008-02-03 19:41:31 -08:00
igor@mir2.org
0bed6fb140 Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep 2008-02-03 18:37:22 -08:00
nboyd@atg.com
d37ce251dc As you might expect, a regression test for bug 414553. r=bclary@bclary.org 2008-02-01 12:48:02 -08:00
igor@mir2.org
b57a98b51e Bug 400902: backing out due to test failures. 2008-02-01 11:59:59 -08:00
igor@mir2.org
ea03e8c6f0 Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep 2008-02-01 10:39:23 -08:00
igor@mir2.org
772db95093 Bug 415207: fix time overflow in arena aging code. r=crowder a1.9,a1.9b3=beltzner 2008-02-01 09:56:23 -08:00
igor@mir2.org
b80ad65983 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-01-31 22:01:17 -08:00
peterv@propagandism.org
0baafbfe92 Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner. 2008-01-31 17:06:53 -08:00
mrbkap@gmail.com
2ad45f5e52 Get the right principal for cloned functions. bug 415030, r=brendan 2008-01-31 16:21:12 -08:00
brendan@mozilla.org
199d4eb591 Fix from Arjan Van De Ven <arjan.van.de.ven@intel.com> to regression from patch for bug 312238 (fixing 353962, r=me, a=beltzner). 2008-01-31 13:42:43 -08:00
timeless@mozdev.org
ebdf2bd20b Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed r=gijs a=beltzner 2008-01-31 11:12:47 -08:00
igor@mir2.org
ebc4d54ffe Bug 414871: fixing gczeal issue. r=brendan, approval1.9b3=beltzner 2008-01-30 18:19:49 -08:00
reed@reedloden.com
0582342e0a Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 15:39:42 -08:00
brendan@mozilla.org
9ca1759344 Try to fix Ts regression (414452, r=shaver). 2008-01-30 00:25:52 -08:00
brendan@mozilla.org
0fb54b4f78 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-29 22:29:49 -08:00
brendan@mozilla.org
2d27499625 Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-29 22:27:13 -08:00
jst@mozilla.org
a45232f25f Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-29 21:55:12 -08:00
igor@mir2.org
5c7d98ca57 Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-29 21:35:34 -08:00
brendan@mozilla.org
baf0f49cd3 Dammit. 2008-01-29 21:14:55 -08:00
mrbkap@gmail.com
bcc1b2d3e4 Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-29 21:13:19 -08:00
brendan@mozilla.org
24fc5a193b Oops. 2008-01-29 21:12:45 -08:00
brendan@mozilla.org
590baa843f Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-29 21:10:09 -08:00
crowder@fiverocks.com
8770eff094 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-29 18:36:33 -08:00
jst@mozilla.org
fa3722f2b7 Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-29 18:28:58 -08:00
mrbkap@gmail.com
cc6a72a011 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-29 18:16:56 -08:00
crowder@fiverocks.com
52337e9048 Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-29 18:11:30 -08:00
mrbkap@gmail.com
bf6ad82099 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-29 18:06:17 -08:00
peterv@propagandism.org
6d9909d3c6 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 18:05:43 -08:00
mrbkap@gmail.com
23f577e2e9 Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-29 16:28:30 -08:00
jst@mozilla.org
58f7d84c76 Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 15:56:49 -08:00
igor@mir2.org
3d870e0a9e Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 14:17:25 -08:00
peterv@propagandism.org
ac2b416a74 Try to fix orange 2008-01-29 13:42:05 -08:00
reed@reedloden.com
2e75103f0e Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 12:51:46 -08:00
peterv@propagandism.org
02be459ead Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 12:48:32 -08:00
nboyd@atg.com
de4faab787 Missing ECMA conformance test, see https://bugzilla.mozilla.org/show_bug.cgi?id=392593 2008-01-29 07:02:12 -08:00
brendan@mozilla.org
a4625d2c2b Revert last checkin (414452). 2008-01-29 00:45:14 -08:00
brendan@mozilla.org
f4f2be6738 Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-28 23:18:21 -08:00
jorendorff@mozilla.com
bbea725a53 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/jsatom.c => js/src/jsatom.cpp
rename : js/src/jsbool.c => js/src/jsbool.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-01-28 17:32:29 -08:00
jst@mozilla.org
5b693cda1d Fixing windows bustage. 2008-01-28 15:54:56 -08:00
mrbkap@gmail.com
016c02e592 Backing out to see if this is the cause for apparent random crashes. 2008-01-28 15:52:54 -08:00
jst@mozilla.org
0617bf0012 Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 15:19:51 -08:00
mrbkap@gmail.com
f1674b21d6 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 15:10:30 -08:00
mrbkap@gmail.com
de6902bc6c Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 15:07:29 -08:00
mrbkap@gmail.com
228f48bb7b Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 15:03:42 -08:00
igor@mir2.org
3a0fa756f8 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 14:36:59 -08:00
brendan@mozilla.org
fac36f1423 Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-27 18:13:00 -08:00
mrbkap@gmail.com
5e6ad84a84 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 09:27:01 -08:00
brendan@mozilla.org
6b498ff79d Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-26 23:58:06 -08:00
jst@mozilla.org
2bc0dc4a67 Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-25 16:36:44 -08:00
jst@mozilla.org
4a75bf49ad Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-25 16:28:08 -08:00
jst@mozilla.org
918fe24c0f Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 13:49:11 -08:00
jst@mozilla.org
a396f5c5b2 Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-23 17:17:13 -08:00
jst@mozilla.org
5be0f146b4 Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 14:05:43 -08:00
igor@mir2.org
d655ea404a Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 06:20:38 -08:00
igor@mir2.org
5732653d7d Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 05:17:47 -08:00
igor@mir2.org
d43d9f85f7 Bug 413565: GC now put all free cells to free lists. r,a=brendan 2008-01-23 05:05:48 -08:00
igor@mir2.org
8cac5d8192 Bug 411722: backing out again to fix incorrect error recovery 2008-01-23 01:56:28 -08:00
igor@mir2.org
5bba705e56 Bug 411722: faster implementation of js_GetLocalNameArray. r,a=brendan 2008-01-23 01:38:32 -08:00
igor@mir2.org
96e6234d30 Bug 411722: the new version of the patch shows the same bad Ts regression, backing out again. 2008-01-22 01:06:06 -08:00
brendan@mozilla.org
836d77cb43 Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB). 2008-01-22 00:56:26 -08:00
igor@mir2.org
9229a65e1e Bug 411722: faster implementation of js_GetLocalNames. r,a=brendan 2008-01-22 00:21:54 -08:00
sayrer@gmail.com
0940f6e7ea Bug 411365. Shark functions. r/sr=brendan 2008-01-21 22:37:53 -08:00
mrbkap@gmail.com
c5b1743399 Use already running code's context when executing JS code from C++. bug 412598, r+sr=jst 2008-01-21 16:27:13 -08:00
jst@mozilla.org
e3b9c872ac Fixing bug 412698. Make XPConnect cache the per thread data for the main thread and use the cache when running on the main thread to save on time getting at the per thread data. r=dbradley@gmail.com, sr=brendan@mozilla.org 2008-01-20 20:51:55 -08:00
jst@mozilla.org
298532b587 Fixing bug 408301. Make more XPConnect wrappers share their JS object maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-20 13:03:52 -08:00
igor@mir2.org
84985132e6 Bug 413241: fixing bogus assertion in Statements() from jsparse.c. r=brendan,mrbkap a=brendan 2008-01-20 12:55:42 -08:00
igor@mir2.org
108d35d59d Bug 411722: Backing out due to bad Ts regression. 2008-01-20 11:11:59 -08:00
igor@mir2.org
949929f32c Bug 411722: faster implementation of js_GetLocalNames. r=brendan a=blocking1.9+ 2008-01-20 09:42:38 -08:00
peterv@propagandism.org
4112c6c1b2 Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-20 09:29:35 -08:00
timeless@mozdev.org
4e4cbbbb99 Bug 334195 XPCWrappedNative::HandlePossibleNameCaseError dereferences an unitialized value if !set r=dbradley sr=jst a=mtschrep 2008-01-20 03:21:36 -08:00
igor@mir2.org
d8ee415593 Bug 410649: function statement and destructuring parameter name clash now favours the function. r,a=brendan 2008-01-20 02:34:06 -08:00
reed@reedloden.com
c8dfc1c3ff I'm dumb. Please forgive me. Yes, that includes you, shaver. 2008-01-20 01:54:09 -08:00
reed@reedloden.com
352309c6aa Bug 331545 - "Use _InterlockedCompareExchange for js_CompareAndSwap" [p=mmoy@yahoo.com (Michael Moy) r+a1.9=brendan a=blocking1.9+] 2008-01-19 20:39:10 -08:00
jwalden@mit.edu
706133e296 Fix typo noted by igor, bug 409476 2008-01-19 18:52:23 -08:00
sayrer@gmail.com
7b20fcd464 Bug 412874. Need Shark functions in JS component global scope. r/sr=brendan 2008-01-19 18:31:10 -08:00
shaver@mozilla.org
a4e4429bfb Config file for Solaris 10 from Wesley Garland (wes@page.ca), r=shaver. 2008-01-19 18:12:59 -08:00
jwalden@mit.edu
84e3a1e6db Bug 409476 - js_ValueToBoolean is pure, remove cx and out parameters and just return a boolean value for better perf. r+a=brendan 2008-01-19 16:56:08 -08:00
igor@mir2.org
70aa979d4f Bug 411025: temp rooting implemenation cleanup, r,a=brendan 2008-01-19 16:46:37 -08:00
sayrer@gmail.com
4475a39348 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 15:33:08 -08:00
igor@mir2.org
28f999de16 Bug 413104: access to JSString is hidden behind macros even for a flat string. 2008-01-19 13:15:08 -08:00
reed@reedloden.com
34fb42c02c Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb. 2008-01-19 00:06:45 -08:00
igor@mir2.org
d4e057f519 Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+ 2008-01-18 18:56:51 -08:00
peterv@propagandism.org
63e4ecdee0 Back out remainder of patch for bug 412491 to try to fix orange. 2008-01-18 07:36:28 -08:00
peterv@propagandism.org
9926e9682e Back out to try to fix orange. 2008-01-18 05:59:07 -08:00
peterv@propagandism.org
4c040e3394 Fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-18 05:29:06 -08:00
reed@reedloden.com
2c81d2a307 Back out patch from bug 411579, as there may be a Ts perf regression. 2008-01-18 02:36:40 -08:00
reed@reedloden.com
cf0a71a1f5 Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Raúl Porcel) r+sr=bsmedberg (NPODB)] 2008-01-18 01:09:18 -08:00
reed@reedloden.com
a6dbb66e21 Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-18 01:08:09 -08:00
benjamin@smedbergs.us
4130b38b40 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/jsarena.c => js/src/jsarena.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jshash.c => js/src/jshash.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.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/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscope.c => js/src/jsscope.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-01-17 16:40:00 -05:00
reed@reedloden.com
e84a13e51f Bug 411968 - "Finishing JS_AlreadyHasOwnProperty" (CHECK_REQUEST(cx) in JS_AlreadyHasOwn{,UC}Property) [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-01-17 02:28:57 -08:00
sayrer@gmail.com
721a421573 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 12:42:50 -08:00
igor@mir2.org
6fb57f3c71 Bug 412047: optimizing regexp upper/lower. r=crowder,a=blocking1.9 2008-01-16 00:31:15 -08:00
reed@reedloden.com
dbfc68a956 Bug 411285 - "js_BoyerMooreHorspool is sometimes called for very short texts" [p=Seno.Aiko@gmail.com r=crowder a1.9=schrep] 2008-01-15 22:37:13 -08:00
bclary@bclary.com
fc8b8545a9 JavaScript Tests - test iterator value scope in array comprehension, by Norris Boyd, bug 412467, not part of the build 2008-01-15 20:47:31 -08:00
mrbkap@gmail.com
fadd2b40a9 Don't call js_PopStatement if there was a parse error. bug 410852, r=brendan 2008-01-15 14:24:54 -08:00
bent.mozilla@gmail.com
cd9ef5755c Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9. 2008-01-15 10:23:46 -08:00
benjamin@smedbergs.us
f4fc98e442 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:57:43 -08:00
benjamin@smedbergs.us
dfc4cee45d Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 07:50:57 -08:00
bclary@bclary.com
fb46ae01b6 JavaScript Test - fix thinko in ecma_3/Number/15.7.4.3-01.js, bug 412068 2008-01-14 23:09:46 -08:00
jwalden@mit.edu
961c502c55 Bug 412068 - Number.prototype.toLocaleString incorrectly accesses the memory where its first argument should be, even if no first argument is actually given. Tag-team r=igor, r+a=brendan By the way, this checkin occurred on an orange tree. Just like every other patch in the last day. Yay checkin policy. 2008-01-14 20:16:08 -08:00
bclary@bclary.com
a370aa63b2 Sisyphus|JavaScript Tests - fix runtests.sh -e extra argument processing, bug 412317, not part of the build 2008-01-14 11:07:01 -08:00
sayrer@gmail.com
0b2ec181fe Bug 412210. SpiderMonkey faster at -O2 with msvc. r/a=brendan 2008-01-13 20:45:42 -08:00
bclary@bclary.com
b7550378f8 Sisyphus|JavaScript Tests - TinderboxPrint of test counts contain leading whitespace, bug 412183, not part of the build 2008-01-13 10:44:48 -08:00
jag@tty.nl
9d8ca5c0c9 Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see). Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer. 2008-01-13 10:21:08 -08:00
bclary@bclary.com
e0f531d24f JavaScript Tests - update public failures, bug 314874 verified fixed 2008-01-13 09:40:04 -08:00
brendan@mozilla.org
d56e272e19 * Menu of -D flags for enabling instrumentation, as a commented-out CFLAGS += setting for convenient testing. * js_FindProperty and js_LookupPropertyWithFlags return indexes into the scope and prototype chains, respectively, to support internal instrumentation, and to pave the way for the return of the property cache (bug 365851).. * jsutil.[ch] JSBasicStats struct and functions for computing mean/sigma/max and auto-scaling histogram. * JS_SCOPE_DEPTH_METER instrumentation for compile- and run-time scope chain length instrumentation: + At compile time, rt->hostenvScopeDepthStats and rt->lexicalScopeDepthStats meter scope chains passed into the compile and evaluate APIs. + At runtime, rt->protoLookupDepthStats and rt->scopeSearchDepthStats track steps along the prototype and scope chains until the sought-after property is found. * JS_ARENAMETER uses JSBasicStats now. * Added rt->liveScopePropsPreSweep to fix the property tree stats code that rotted when property tree sweeping moved to after the finalization phase. * Un-bitrotted some DEBUG_brendan code, turned some off for myself via XXX. * Mac OS X toolchain requires initialized data shared across dynamic library member files, outlaws common data, so initialize extern metering vars. * Old HASHMETER code in jshash.[ch] is now JS_HASHMETER-controlled and based on JSBasicStats. * DEBUG_scopemeters macro renamed JS_DUMP_SCOPE_METERS; uses JSBasicStats now. * Disentangle DEBUG and DUMP_SCOPE_STATS (now JS_DUMP_PROPTREE_STATS) and fix inconsistent thread safety for liveScopeProps (sometimes atomic-incremented, sometimes runtime-locked). * Compiler-modeled maxScopeDepth will propagate via JSScript to runtime for capability-based, interpreter-inlined cache hit qualifier bits, to bypass scope and prototype chain lookup by optimizing for common monomorphic get, set, and call site referencing a prototype property in a well-named object (no shadowing or mutation in 99.9% of the cases). 2008-01-12 16:31:31 -08:00
reed@reedloden.com
6f59510259 Change to ISO C90 comment style to fix warning in sayrer's last patch. 2008-01-11 23:37:32 -08:00
sayrer@gmail.com
d91f780693 Bug 353962. Use OSAtomic on Darwin for JS thinlocks. r/a=brendan 2008-01-11 23:16:14 -08:00
dwitte@stanford.edu
97a45f037f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-11 20:30:42 -08:00
bclary@bclary.com
bf82c4ec6d JavaScript Tests - regression test for bug 411893, by Jeff Walden, not part of the build 2008-01-11 19:54:40 -08:00
bclary@bclary.com
76155f504d JavaScript Tests - regression test for bug 411889, by Jeff Walden, not part of the build 2008-01-11 19:48:16 -08:00
myk@mozilla.org
dbbcaac1ab backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions 2008-01-11 17:56:21 -08:00
jwalden@mit.edu
5b92bba950 Fix dumb mistake in the last toString patch that causes proto-acid3 to crash. 2008-01-11 16:12:36 -08:00
jwalden@mit.edu
9123e1bf35 Bug 411893 - num.toPrecision(undefined) !== num.toString(). r=crowder, a=brendan 2008-01-11 15:12:15 -08:00
jwalden@mit.edu
f327bdf265 Bug 411889 - Given a = num.toString(), b = num.toString(undefined), c = num.toString(10), expect (a === b && b === c). r=crowder, a=brendan 2008-01-11 15:07:13 -08:00
jst@mozilla.org
0619ce52c3 Re-landing fix for bug 408301 to see if it really was the cause of the orange last time it landed. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-11 15:06:40 -08:00
dbaron@dbaron.org
79f94348dc Unset and reset the JS context global objects when doing ExplainLiveExpectedGarbage, just like when doing normal cycle collection. b=410116 r+sr=peterv Not part of default build (DEBUG_CC-only). 2008-01-11 14:24:33 -08:00
nboyd@atg.com
a9bc0dbe8e Fix bug 411539 Generalize some tests for Rhino and Spidermonkey. r=bclary@bclary.com 2008-01-11 09:38:09 -08:00
benjamin@smedbergs.us
d4e1973996 Bug 411531 - Assertion failure !rt->gcRunning because I accidentally turned off deffered-release of wrapped natives during GC, r+sr=peterv 2008-01-11 06:52:45 -08:00
dwitte@stanford.edu
66d4df40f5 backing out the rest. 2008-01-11 02:56:35 -08:00
dwitte@stanford.edu
9d626da131 partial backout in an attempt to fix orange. 2008-01-11 02:08:58 -08:00
dwitte@stanford.edu
8a6c4d235f relanding bug 410250. 2008-01-11 01:13:04 -08:00
dwitte@stanford.edu
d2b6f4f5ed backing out to fix orange. 2008-01-10 20:59:44 -08:00
dwitte@stanford.edu
1798542e9f thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-10 19:56:00 -08:00
crowder@fiverocks.com
f4d0f0fd7b Bug 411747: latent GC hazard in one of the routines in js.c (npotb), r/a=brendan 2008-01-10 19:22:55 -08:00
crowder@fiverocks.com
d161c0b7cb Bug 411702 - Ancient OOM handling bug with an easy fix, r/a=brendan 2008-01-10 13:49:59 -08:00
igor@mir2.org
7bc03fee82 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-10 07:39:02 -08:00
peterv@propagandism.org
bd933a00a4 Fix for bug 402966 (JS_Assert "!rt->gcRunning"). r/sr=dbaron. 2008-01-10 06:10:03 -08:00
bclary@bclary.com
92c8aaa72c JavaScript Tests - update spidermonkey-extensions-n.tests, bug 398000, not part of the build 2008-01-09 17:49:19 -08:00
bclary@bclary.com
566e9356bf JavaScript Tests - known-failure.pl should ignore trailing spaces, bug 411506, not part of the build 2008-01-09 11:30:38 -08:00
igor@mir2.org
1a974d67e5 Bug 409109: backing the checking as the tree was closed. 2008-01-09 07:31:13 -08:00
igor@mir2.org
f8145c5e61 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. r=brendan,jst 2008-01-09 07:20:39 -08:00
bclary@bclary.com
ff1ea85c80 JavaScript Test - regression test for bug 352291, by Jesse Ruderman, not part of the build 2008-01-08 19:42:01 -08:00
bclary@bclary.com
9649730e98 JavaScript Test - regression test for bug 352422, by Jesse Ruderman, not part of the build 2008-01-08 19:31:29 -08:00
bclary@bclary.com
a2f8f1260f JavaScript Test - regression test for bug 352786, by Jesse Ruderman, not part of the build 2008-01-08 19:25:46 -08:00
roc+@cs.cmu.edu
2726b61178 Backing out 408301 to see if it fixes winxp01 orange 2008-01-08 19:21:35 -08:00
bclary@bclary.com
7588c92bef JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build 2008-01-08 19:19:54 -08:00
bclary@bclary.com
6dd69c514e JavaScript Test - regression test for bug 376410, by Jesse Ruderman, not part of the build 2008-01-08 19:13:01 -08:00
bclary@bclary.com
418af942f5 JavaScript Test - regression test for bug 411279, by Brendan Eich, not part of the build 2008-01-08 18:56:25 -08:00
brendan@mozilla.org
6fdb9f94ad Support let in switch-case statement lists, scoped by switch body (411279, r=mrbkap). 2008-01-08 16:49:35 -08:00
jst@mozilla.org
34718748bd Fixing bug 408301. Make more XPConnect wrappers share their JSObject maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-08 15:38:24 -08:00
jorendorff@mozilla.com
f787bf597c Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsgc.c => js/src/jsgc.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
rename : js/src/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-01-07 16:02:10 -06:00
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
e712432ac8 JavaScript Tests - regression test for bug 410192, by Biju, Brendan Eich, not part of the build 2008-01-07 08:58:29 -08:00
bclary@bclary.com
9cd868e6b4 JavaScript Tests - update test due to fix to bug 410981, not part of the build 2008-01-07 07:29:21 -08:00
brendan@mozilla.org
9ced524053 Require explicit body block in 'for (let x ...) let y...' (410981, r=mrbkap). 2008-01-07 01:41:28 -08:00
brendan@mozilla.org
4bef2e90ac 64-bit fixes for problems reported by edwin@cheatah.nl (many thanks to Edwin; 410941, r=igor). 2008-01-07 00:41:06 -08:00
benjamin@smedbergs.us
3a92106058 Bug 410929 - Bad C++isms in js/src, r=crowder 2008-01-06 08:28:46 -08:00
bclary@bclary.com
18d6f4f179 JavaScript Tests - update known failures to account for bug 408957, not part of the build 2008-01-05 17:28:28 -08:00
igor@mir2.org
7cb5b01011 Bug 409109: Backing out once again to figure out the reason for talos regressions. 2008-01-05 17:20:16 -08:00
bclary@bclary.com
86ddf2aa29 JavaScript Tests - update tests to account for bug 408957, not part of the build 2008-01-05 17:18:47 -08:00
bclary@bclary.com
24946b6eb0 JavaScript Tests - tests for iterator constructor, by Norris Boyd, bug 410725 2008-01-05 06:16:51 -08:00
igor@mir2.org
9bb5aae331 Bug 409109: using the new operation counting JS API for monitoring long-running scripts. a,r=brendan 2008-01-05 03:25:49 -08:00
jruderman@hmc.edu
acec28b307 Add moving-between-frames crashtest 2008-01-04 22:54:28 -08:00
mrbkap@gmail.com
4dfe6493da 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 r=brendan for some last-minute changes added in this version. 2008-01-04 20:45:16 -08:00
mrbkap@gmail.com
3706fb3053 Do not allow scripted getters or setters on XPCNativeWrappers. bug 387390, r=jst sr=brendan 2008-01-04 17:37:48 -08:00
brendan@mozilla.org
cfbfe3c2cd Track ES4 proposal by restricting let declaration to be direct child of block (408957, r=mrbkap). 2008-01-04 17:34:11 -08:00
mrbkap@gmail.com
705ce56638 Don't call arbitrary hooks from a function called from GC. bug 410323, r=brendan 2008-01-04 17:28:29 -08:00
mrbkap@gmail.com
e458b8b61d Use the currently active scope to find the prototype. bug 408639, r=jst sr=brendan 2008-01-04 17:25:35 -08:00
jst@mozilla.org
41ea116da8 Fixing bug 410851. Expose a faster way of getting the subject principal, and use that from performance critical code. r+sr=mrbkap@gmail.com 2008-01-04 15:59:12 -08: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