Commit Graph

1895 Commits

Author SHA1 Message Date
Jason Orendorff
61235e5396 Bug 434532 - Link errors building JS shell on WinXP (actually a documentation bug in js/src/README.html) (r=brendan, a=bsmedberg) 2008-06-03 10:33:00 -05:00
Mark Banner
2919eb146c Bug 435853 Running xpcshell tests involving Mac components leaks memory due to not having an NSAutoreleasePool. r=shaver,sr=brendan 2008-06-03 11:56:09 +01:00
Andreas Gal
53060c32ce Move all inlines that do not represent primitives out of jsinterpinlines.h since we don't have to overwrite them in jstracerinlines.h. They live in jsinterp.cpp now. Added missing error handling for prim_ddiv and prim_dmod. Make sure prim_ddiv and prim_dmod do not call other primitives. Fixed bug in dmod (-1 should be n, but since all invocations had n=-1 this was a non-issue). 2008-06-02 23:26:17 -07:00
Brendan Eich
946fa41d8c Fiddle loop table slot interface and impl in hope of freeing slots over time. 2008-06-02 18:06:33 -07:00
Brendan Eich
21c493d829 Use correct idempotent include guard macro name. 2008-06-02 18:05:18 -07:00
Brendan Eich
3db9424289 Merge and undo js_AllocateLoopTableSlot reparam. 2008-06-02 17:28:39 -07:00
Brendan Eich
01514c4b16 No JS_TRACER ifdefs, keep line len < 80, reparameterize jstracer.cpp functions, js_OpLength helper. 2008-06-02 17:19:41 -07:00
Brendan Eich
ea827846a5 Avoid overlong lines per modeline comments. 2008-06-02 17:16:14 -07:00
Andreas Gal
d528552bca Assign fresh loop table slots for all JSOP_HEADER opcodes in a script as it is thawed since the slots we stored there are likely stale by now. 2008-05-31 18:12:39 -07:00
Brendan Eich
5b116ae998 Merge, style nits, no locking for tracing. 2008-05-31 15:29:54 -07:00
Brendan Eich
ef8a767739 Left brace style. 2008-05-31 10:17:40 -07:00
Andreas Gal
e66383e26e Fixed a bug that triggered the tracer at TRACE_THRESHOLD/2 already. 2008-05-31 09:53:16 -07:00
Andreas Gal
e461a72736 The table is now per-thread in a multi-threaded environment, and per-runtime otherwise. During code generation we merely allocate a loop table slot to each loop. Each thread will enlarge the table as needed in JSOP_HEADER. 2008-05-30 18:58:43 -07:00
Andreas Gal
de3107d2ee Add a per-runtime loop attribute table that associates a jsval attribute with every loop in the code. The jsval is used initially as a counter until a certain threshold is reached, at which point the loop is traced and compiled and the resulting native code object is stored in the jsval to be executed for future encounters of the loop. 2008-05-30 10:11:56 -07:00
Andreas Gal
a6ded872bf Steer macro naming in jsinterinlines.h using a macro. This allows us to prefix all primitives with some prefix (i.e. interp_) when we compile the tracer and replace them with new primitives that invoke the interpreter version first, and then do some tracer specific action. 2008-05-29 17:14:42 -07:00
Brendan Eich
7cdb540c44 Fix goof in switching from word to jsval counters. 2008-05-28 23:12:45 -07:00
Brendan Eich
ed4274e179 Instrument loop headers with jsvals above fp->vars and below fp->spbase. 2008-05-28 19:07:32 -07:00
Brendan Eich
8bfb8bfef7 Split trace-supporting inlines, add ifdefs/macros for deriving js_TracingInterpret in jstracer.cpp. 2008-05-28 19:07:25 -07:00
Brendan Eich
968021cff9 Style (and substance for vim users: left brace opening in column 1 enables [[ navigation). 2008-05-28 19:07:16 -07:00
Andreas Gal
f4d6e71bf6 Make relational operations (<,<=,>,>=) traceable. 2008-05-27 10:45:58 -07:00
Andreas Gal
8a5d86fa50 Mark getting and setting arguments and local variables as safe for tracing. 2008-05-26 23:40:52 -07:00
Andreas Gal
e0a5de51b2 Make branch instructions traceable using a new primitive guard_boolean_is_true. 2008-05-26 23:33:23 -07:00
Andreas Gal
32908d0e2f Enable tracing for selected opcodes that do not have any remaining tracing hazards. 2008-05-26 20:04:58 -07:00
Andreas Gal
33ec9a35fb Opcodes that can be traced through can be declared with TRACE_CASE(op). Currently all opcodes are declared as BEGIN_CASE(op), which automatically aborts trace recording. In addition, error handlers (defined with DEFINE_HANDLER) also abort trace recording. At every backwards branch trigger monitor_branch(), which will monitor for new trace tree anchors. 2008-05-26 18:55:16 -07:00
Andreas Gal
288e988b40 Introduce primitives for common binary operations. 2008-05-26 17:29:28 -07:00
Andreas Gal
6d10603538 Convert macro code in jsinterp.cpp into inline functions and introduce trace primitives (prim_*, guard_*, call_*). 2008-05-26 15:27:13 -07:00
Brendan Eich
b065dd2fce From Igor's patch for bug 433382. 2008-05-24 11:39:18 -07:00
Brendan Eich
c611e90657 Fix bad merge. 2008-05-24 10:17:15 -07:00
Brendan Eich
5e03c06ce3 Igor's patch for bug 433382, r=me. 2008-05-23 23:44:08 -07:00
Brendan Eich
2595b54a6b Fix POP_STACK to take a macro out param. 2008-05-23 22:18:36 -07:00
Brendan Eich
602bcd5f50 First round of macro cleanups to enable tracing. 2008-05-23 19:24:10 -07:00
Brendan Eich
2f95757906 Igor's fix for bug 432881, r=me. 2008-05-23 19:14:05 -07:00
Brendan Eich
c0c9201c0a Fix for bug 433672, r=igor. 2008-05-23 19:08:44 -07:00
Benjamin Smedberg
3ea5b08766 Merge cvs-trunk-mirror to mozilla-central up through FF3RC2build2
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsparse.c => js/src/jsparse.cpp
2008-05-30 12:08:47 -04:00
Jason Orendorff
4ddc02a86b Bug 436343 - mozilla-central: js/src/Makefile.ref calculates .d filenames incorrectly (r=crowder, a=bsmedberg) 2008-05-29 16:09:36 -05:00
gavin@gavinsharp.com
01f06ef659 Bug 422055: use jemalloc on Solaris, r=ted, a=shaver 2008-05-28 11:42:31 -07:00
igor@mir2.org
856754a151 [Bug 435546] proper stacking of JS_(PUSH|POP)_TEMP_ROOT. r=brendan aRC2=shaver 2008-05-28 10:55:06 -07:00
jst@mozilla.org
80e867e806 Fixing bug 434673. Fix GC safety issue when calling through XPCWrapper into an IDL defined function. r+sr=brendan@mozilla.org, a=shaver@mozilla.org 2008-05-27 22:42:53 -07:00
jst@mozilla.org
68a63e6f98 Fixing bug 433005. Make calls through XPConnect on threads other than the main thread suspend JS request to avoid blocking GC on the main thread while calling slow functions on non-main threads. Patch by benjamin@smedbergs.us and jst@mozilla.org, r=jst@mozilla.org, sr=brendan@mozilla.org, a=schrep@mozilla.com 2008-05-27 14:59:58 -07:00
Benjamin Smedberg
3fcc924cd2 Return to building spidermonkey as C++, because we believe we found the cause of the perf regression elsewhere (non-code).
--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/jsdtoa.c => js/src/jsdtoa.cpp
rename : js/src/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsexn.c => js/src/jsexn.cpp
rename : js/src/jsfile.c => js/src/jsfile.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/jsinvoke.c => js/src/jsinvoke.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jskwgen.c => js/src/jskwgen.cpp
rename : js/src/jslock.c => js/src/jslock.cpp
rename : js/src/jslog2.c => js/src/jslog2.cpp
rename : js/src/jslong.c => js/src/jslong.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/jsprf.c => js/src/jsprf.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/jsxdrapi.c => js/src/jsxdrapi.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-05-27 16:58:12 -04:00
Benjamin Smedberg
d337041ea6 Back out JS-as-C++, because it's a suspect in the Linux performance regression.
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsinvoke.cpp => js/src/jsinvoke.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2008-05-27 13:51:53 -04:00
Benjamin Smedberg
71997df754 Back out revision bd9c9cbf9ec8 (build spidermonkey as C++) for perftesting and profit.
--HG--
rename : js/src/js.cpp => js/src/js.c
rename : js/src/jsapi.cpp => js/src/jsapi.c
rename : js/src/jsarena.cpp => js/src/jsarena.c
rename : js/src/jsarray.cpp => js/src/jsarray.c
rename : js/src/jsatom.cpp => js/src/jsatom.c
rename : js/src/jsbool.cpp => js/src/jsbool.c
rename : js/src/jscntxt.cpp => js/src/jscntxt.c
rename : js/src/jscpucfg.cpp => js/src/jscpucfg.c
rename : js/src/jsdate.cpp => js/src/jsdate.c
rename : js/src/jsdbgapi.cpp => js/src/jsdbgapi.c
rename : js/src/jsdhash.cpp => js/src/jsdhash.c
rename : js/src/jsdtoa.cpp => js/src/jsdtoa.c
rename : js/src/jsemit.cpp => js/src/jsemit.c
rename : js/src/jsexn.cpp => js/src/jsexn.c
rename : js/src/jsfile.cpp => js/src/jsfile.c
rename : js/src/jsfun.cpp => js/src/jsfun.c
rename : js/src/jsgc.cpp => js/src/jsgc.c
rename : js/src/jshash.cpp => js/src/jshash.c
rename : js/src/jsinterp.cpp => js/src/jsinterp.c
rename : js/src/jsiter.cpp => js/src/jsiter.c
rename : js/src/jskwgen.cpp => js/src/jskwgen.c
rename : js/src/jslock.cpp => js/src/jslock.c
rename : js/src/jslog2.cpp => js/src/jslog2.c
rename : js/src/jslong.cpp => js/src/jslong.c
rename : js/src/jsmath.cpp => js/src/jsmath.c
rename : js/src/jsnum.cpp => js/src/jsnum.c
rename : js/src/jsobj.cpp => js/src/jsobj.c
rename : js/src/jsopcode.cpp => js/src/jsopcode.c
rename : js/src/jsparse.cpp => js/src/jsparse.c
rename : js/src/jsprf.cpp => js/src/jsprf.c
rename : js/src/jsregexp.cpp => js/src/jsregexp.c
rename : js/src/jsscan.cpp => js/src/jsscan.c
rename : js/src/jsscope.cpp => js/src/jsscope.c
rename : js/src/jsscript.cpp => js/src/jsscript.c
rename : js/src/jsstr.cpp => js/src/jsstr.c
rename : js/src/jsutil.cpp => js/src/jsutil.c
rename : js/src/jsxdrapi.cpp => js/src/jsxdrapi.c
rename : js/src/jsxml.cpp => js/src/jsxml.c
rename : js/src/prmjtime.cpp => js/src/prmjtime.c
2008-05-27 12:19:17 -04:00
brendan@mozilla.org
4925e19f6d Fix 433279, r=mrbkap+shaver, a=schrep. 2008-05-22 22:06:09 -07:00
brendan@mozilla.org
834ed0d2cf Patch from nanto@moon.email.ne.jp for misordered alternates in string-lexing regexp, and lack of IE /[/]/ compat in regexp-lexing regexp (433831, r=me, NPOTB). 2008-05-21 15:38:18 -07:00
bcrowder@mozilla.com
ccdd027d08 Bug 433964 - dtrace build fixes for C++ linkage, r=jorendorff 2008-05-19 12:59:09 -07:00
jorendorff@mozilla.com
f2cbe9af26 Merge 8 changesets from cvs-trunk-mirror to mozilla-central. Use (hg log -r b60aee4a61a6:e70e05d8eda2) to see them. 2008-05-16 11:55:05 -05:00
bclary@bclary.com
b017a73ad2 JavaScript Tests - update test and remove from exclusion list, bug 433698, r=jorendorff 2008-05-14 16:18:47 -07:00
jorendorff@mozilla.com
9b5032bfde Merge from cvs-trunk-mirror to mozilla-central. 2008-05-13 09:57:11 -05:00
bclary@bclary.com
abd3a90982 JavaScript Tests - add unary - tests for bug 432881 2008-05-09 20:33:48 -07:00
reed@reedloden.com
82c33e4d43 Bug 430955 - "jsfun.h uses JSArenaPool without needed typename" [p=mh+mozilla@glandium.org (Mike Hommey) r=brendan a1.9=damons] 2008-05-09 00:40:10 -07:00
jorendorff@mozilla.com
9b2db511f4 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsobj.c => js/src/jsobj.cpp
2008-05-07 17:37:49 -07:00
reed@reedloden.com
888518dda2 Bug 410606 - "AIX linker error for trunk build xpconnect module : ERROR: Undefined symbol: .JSAutoTempValueRooter::operator delete(void*,unsigned long)" [p=shailen.n.jain@gmail.com (Shailen) r+sr=mrbkap a1.9=beltzner] 2008-05-07 03:26:52 -07:00
crowder@fiverocks.com
db98c2faeb Bug 432275: Regression - Java applets crashing browser [@ obj_eval], patch by mrbkap, r=crowder, a=beltzner 2008-05-06 15:01:32 -07:00
crowder@fiverocks.com
84d826ee05 Bug 432275 - Regression - Java applets crashing browser [@ obj_eval], r=igor, a=beltzner 2008-05-06 14:59:49 -07:00
bent.mozilla@gmail.com
eb31e16632 Bug 429442 - "crashes [@ nsJSIID::HasInstance][@ XPCNativeSet::FindInterfaceWithIID]". r+sr=jst, a=beltzner. 2008-05-06 14:37:50 -07:00
Benjamin Smedberg
4393fe5a30 Merge cvs-trunk-mirror to mozilla-central. Conflict resolution:
* client.mk: new NSS tag merge to client.py

--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-05-05 13:39:59 -04:00
crowder@fiverocks.com
21e08b8a71 Bug 429864: assertion at startup with venkman, patch by mrbkap, r=brendan, a=beltzner 2008-05-03 21:31:01 -07:00
crowder@fiverocks.com
e04b777729 Bug 431465 -- (relanding) Crash [@ DecompileExpression] with trap, r=brendan, shaver, igor; a=mtschrep 2008-05-03 21:20:23 -07:00
Benjamin Smedberg
d23620a37a Merge cvs-trunk-mirror to mozilla-central. One conflict resolution: updated NSPR tag from client.mk into client.py
--HG--
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.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
2008-05-02 14:08:43 -04:00
bclary@bclary.com
b8c31e4e72 Sisyphus|JavaScript Tests - runtests.sh -I include conflicts with msvc include on Windows 2008-05-01 16:38:29 -07:00
gavin@gavinsharp.com
e76cb415a6 Back out patch for bug 431465 due to unit test failures 2008-05-01 16:06:43 -07:00
crowder@fiverocks.com
80a811f0de Addressing white-space nits. 2008-05-01 15:16:38 -07:00
igor@mir2.org
5cab25689b [Bug 427798] faster js_PutBlockObject(), r=brendan a1.9=shaver 2008-05-01 14:59:52 -07:00
crowder@fiverocks.com
aa2f89f028 Bug 431465 - Crash [@DecompileExpression] with trap, r/a=shaver 2008-05-01 14:36:19 -07:00
bclary@bclary.com
239dd9ab80 JavaScript Tests - update public failures, bug 404367 2008-05-01 08:05:24 -07:00
Benjamin Smedberg
44143a17c2 Merge from cvs-trunk-mirror to mozilla-central. No conflict resolution necessary.
--HG--
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-05-01 09:50:06 -04:00
bclary@bclary.com
50b65436c4 JavaScript Tests - test for section ecma 262-3 15.4.5.1 2008-04-30 18:22:00 -07:00
bclary@bclary.com
daf599b79c JavaScript Tests - regression test for bug 414531 2008-04-30 18:17:05 -07:00
Vladimir Vukicevic
ce3a5f0097 Merge cvs-trunk-mirror to mozilla-central. No conflicts.
--HG--
rename : js/src/jsmath.c => js/src/jsmath.cpp
2008-04-30 15:34:49 -07:00
brendan@mozilla.org
b90454bf32 Fix JSOP_GETTHISPROP decompile-value-generator bug (431248, r=igor, a=dsicore). 2008-04-30 11:33:51 -07:00
gavin@gavinsharp.com
64ef898187 Bug 414531: The return value of some of math method of javascript is not IEEE standard on solaris, patch by Leon Sha <leon.sha@gmail.com>, r=brendan, a=damon 2008-04-30 10:15:41 -07:00
Benjamin Smedberg
5337262e90 Merge cvs-trunk-mirror to mozilla-central. No manual conflict resolution was necessary.
--HG--
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
2008-04-30 12:35:19 -04:00
igor@mir2.org
5c81e09b95 [Bug 431489] r=brendan a1.9=shaver 2008-04-30 06:30:38 -07:00
bclary@bclary.com
798117722c JavaScript Tests - regression test for bug 431428, by Jesse Ruderman 2008-04-30 05:41:59 -07:00
brendan@mozilla.org
3d10ff4835 Clear GetSrcNote cache in js_UntrapScriptCode (431428, r/a=shaver). 2008-04-29 19:18:19 -07:00
igor@mir2.org
34643896ed [Bug 429281] r=brendan a1.9=dsicore 2008-04-29 14:24:01 -07:00
igor@mir2.org
e34384934d [Bug 429739] proper handling of __noSuchMethod__ when it is invoked as constructor. r=brendan a1.9=dsicore 2008-04-29 14:17:11 -07:00
bent.mozilla@gmail.com
d2928f847a Bug 430552 - "Browsing on the given site and closing the tab results in no active tab and keyboard shortcuts don't work until you refocus any element". r=jst, sr=mrbkap, a=beltzner. 2008-04-29 11:01:03 -07:00
crowder@fiverocks.com
eb84eb2a79 Bug 429252 - trap changes decompilation of "{ let X }", r/a=shaver 2008-04-29 10:26:31 -07:00
Benjamin Smedberg
160d9d1766 Merge cvs-trunk-mirror to mozilla-central. Automated merge, no manual conflict resolution necessary.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jslong.c => js/src/jslong.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/jsstr.c => js/src/jsstr.cpp
rename : js/src/prmjtime.c => js/src/prmjtime.cpp
2008-04-29 10:20:07 -04:00
brendan@mozilla.org
b5b5553389 Fix hang when GetPropertyTreeChild calls js_GenerateShape calls js_GC (424636, r=igor, a=beltzner). 2008-04-28 23:19:42 -07:00
igor@mir2.org
e573263407 [Bug 430871] Eliminating unused JSINVOKE_INTERNAL and JSFRAME_INTERNAL. r=brendan a1.9=dsicore 2008-04-27 23:50:37 -07:00
brendan@mozilla.org
359d48234b Don't cache shared properties under JSOP_SET{NAME,PROP} (428282, r=igor, a=mconnor). 2008-04-27 13:31:24 -07:00
bclary@bclary.com
d288e6e1ff JavaScript Tests - regression test for bug 428706, by Jesse Ruderman 2008-04-25 18:08:59 -07:00
bclary@bclary.com
8ddd66ec6d JavaScript Tests - regression test for bug 429248, by Jesse Ruderman 2008-04-25 18:02:29 -07:00
bclary@bclary.com
622c565af2 JavaScript Tests - regression test for bug 429249, by Jesse Ruderman 2008-04-25 17:47:40 -07:00
bclary@bclary.com
fc992186ee JavaScript Tests - update known failures due to bug 429252 2008-04-25 17:35:05 -07:00
bclary@bclary.com
84a9cbc1db JavaScript Tests - regression test for bug 429252, by Jesse Ruderman 2008-04-25 17:28:48 -07:00
bclary@bclary.com
f0c1b587c1 JavaScript Test - regression test for bug 429264, by Jesse Ruderman 2008-04-25 17:02:29 -07:00
bclary@bclary.com
c972dd555f JavaScript Tests - regression test for bug 430717, by Mike Shaver 2008-04-25 14:34:20 -07:00
bclary@bclary.com
89b16d7e31 JavaScript Tests - regression test for bug 420919, by Jesse Ruderman 2008-04-25 14:28:09 -07:00
bclary@bclary.com
ed1d030b51 JavaScript Tests - regression test for bug 422137, by Mike Shaver 2008-04-25 14:10:45 -07:00
crowder@fiverocks.com
488c36ab4a Bug 428128 - Removal of legacy JSLL_ routines, r=brendan, a=mtschrep 2008-04-25 11:40:05 -07:00
bclary@bclary.com
458a72eba7 JavaScript Tests - jsDriver.pl doesn't detect all test failures, bug 430509 2008-04-25 10:52:13 -07:00
igor@mir2.org
c4ac1056e5 [Bug 428706] Making sure that all let blocks has non-zero stack depth. r=brendan a1.9=beltzner 2008-04-25 10:28:36 -07:00
brendan@mozilla.org
aa6eca81f9 Fix '(void 0) is undefined' decompilation regression (420919, r=igor, a=dsicore). 2008-04-24 16:48:32 -07:00
shaver@mozilla.org
d1076e6e69 Bug 430717: fix lookup of incorrect ID when delegating to prototype for hole in dense array. r=mrbkap, a=mconnor. 2008-04-24 13:30:07 -07:00
crowder@fiverocks.com
fb779b15d3 Bug 422137 - assertion botch or bogus OOM when decompiling script with debugger trap on JOF_CALL bytecode, r=igor, a1.9=shaver 2008-04-24 11:59:14 -07:00
bclary@bclary.com
4a3274eba4 JavaScript Tests - update regression tests due to bug 416933 2008-04-23 18:49:19 -07:00
gavin@gavinsharp.com
db243d2ea7 Bug 428021: Can't define both a getter and a setter for a property of the global object, patch by Brian Crowder <crowder@fiverocks.com>, r=shaver, r=mrbkap, a=shaver 2008-04-23 16:17:45 -07:00
jruderman@hmc.edu
adc66e8601 Add mochitest 2008-04-22 22:40:56 -07:00
jst@mozilla.org
6e4f5d38c8 Landing fix for plugin hang bug 429903. Fix hang on pages that script plugins. Patch by bent.mozilla@gmail.com, r+sr=brendan@mozilla.org/jst@mozilla.org, a=beltzner 2008-04-22 22:23:57 -07:00
jruderman@hmc.edu
4382c1f13b Add crashtest 2008-04-22 21:16:56 -07:00
crowder@fiverocks.com
73e23e4e46 Bug 416933 - Invalid range error for some case-insensitive regular expressions, r/a=shaver 2008-04-22 09:26:37 -07:00
igor@mir2.org
849ff12b5c [Bug 418304] Backing out the patch as it depends on Getopt::Long feature that is not widely available. 2008-04-21 10:28:36 -07:00
igor@mir2.org
6e8f49742c [Bug 418304] Replacing deprecated Getopt::Mixed with Getopt::Long. r=bclary, a=not-part-of-the-build 2008-04-21 03:15:23 -07:00
jonas@sicking.cc
3201958a8e Fix redness. Stupid second security manager 2008-04-18 10:51:10 -07:00
bclary@bclary.com
148dfbab4d JavaScript Tests - update public failures, bug 416834 2008-04-18 07:05:35 -07:00
bclary@bclary.com
84eba8522a JavaScript Tests - regression tests for bug 352044, by Martin Honnen 2008-04-18 04:55:40 -07:00
bclary@bclary.com
a49f95f764 JavaScript Tests - update known failures.txt, bug 404367 2008-04-18 04:32:56 -07:00
igor@mir2.org
26fe572ddf [Bug 428706] Backing out to investigate startup failures 2008-04-18 00:59:48 -07:00
igor@mir2.org
1301d0403b [Bug 428706] Making sure that all let blocks has non-zero stack depth. r=brendan a1.9=beltzner 2008-04-18 00:31:48 -07:00
bclary@bclary.com
e00499c899 JavaScript Tests - update browser emulation of gc(), by Igor Bukanov, no bug, not part of the build 2008-04-17 11:46:32 -07:00
Benjamin Smedberg
1b75d6b87f Merge cvs-trunk-mirror to mozilla-central
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
2008-04-16 16:51:58 -04:00
bclary@bclary.com
30cfc5e421 JavaScript Tests -regression tests for bug 392378, by x00000000 2008-04-16 09:30:03 -07:00
bclary@bclary.com
8493630a10 JavaScript Tests - regression test for bug 424257, by Gary Kwong 2008-04-16 08:22:55 -07:00
bclary@bclary.com
4573094309 JavaScript Tests - regression test for bug 424311, by Jesse Ruderman 2008-04-16 08:17:35 -07:00
bclary@bclary.com
08a76e650a JavaScript Tests - regression tests for bug 352604, by Jesse Ruderman, Brian Crowder 2008-04-16 07:38:39 -07:00
bclary@bclary.com
597f096e73 JavaScript Tests - update known failures, bug 404367 2008-04-16 07:30:28 -07:00
bclary@bclary.com
afb725d37a JavaScript Test - regression test for bug 428708, by Jesse Ruderman 2008-04-16 05:10:36 -07:00
bclary@bclary.com
a354c7a544 JavaScript Tests - regression tests for bug 387951, by Jesse Ruderman, Gary Kwong 2008-04-16 05:02:58 -07:00
crowder@fiverocks.com
47059aa1ae Bug 352604: Assertion failure !OBJ_GET_PROTO(cx, ctor) after deleting Function, r=brendan, a1.9=shaver 2008-04-15 13:44:21 -07:00
Benjamin Smedberg
b3c6962a6c Merge 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/jsemit.c => js/src/jsemit.cpp
rename : js/src/jsfun.c => js/src/jsfun.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.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/jsxml.c => js/src/jsxml.cpp
2008-04-15 13:59:01 -04:00
igor@mir2.org
d2766b5df9 [Bug 428424] fixing function definition emitter. r=brendan a1.9=mtschrep 2008-04-14 23:44:52 -07:00
igor@mir2.org
f1f0e7b6db bug=427185 r=brendan a1.9=mtschrep 2008-04-14 23:29:06 -07:00
crowder@fiverocks.com
f780e2e7be Bug 428336, assertion failure after deleting eval 16 times, patch by mrbkap, r=brendan, a=mtschrep 2008-04-14 17:31:43 -07:00
igor@mir2.org
6c1a48770b backing out bug 427185 to investigate tinderbox orange 2008-04-14 02:33:05 -07:00
igor@mir2.org
fc9ac60247 bug=428708 r=brendan a=mtschrep fixing a bogus assert 2008-04-14 01:18:26 -07:00
igor@mir2.org
ec3d5ccdf8 bug=427185 r=brendan a1.9=mtschrep 2008-04-14 01:01:39 -07:00
bclary@bclary.com
f119830cfe Sisyphus|JavaScript Tests - remove spidermonkey-extensions-n.tests, bug 428882 2008-04-13 22:34:23 -07:00
gavin@gavinsharp.com
81f06fccf5 Bug 425139: XPCSafeJSObjectWrapper provides incorrect type information, patch by shaver@mozilla.org, r=mrbkap, a=beltzner 2008-04-13 18:18:30 -07:00
bclary@bclary.com
130e366ceb update public-failures.txt, spidermonkey-extensions-n.tests, bug 404367 2008-04-13 14:28:07 -07:00
bclary@bclary.com
648b1072b5 Sisyphus|JavaScript Tests - up browser total timeout to 6 hours, bug 428838 2008-04-13 14:24:48 -07:00
bclary@bclary.com
2e98caad32 JavaScript Tests - regression test for bug 416834, by Jesse Ruderman 2008-04-13 03:55:07 -07:00
bclary@bclary.com
71cdc19709 JavaScript Test - regression test for bug 425360, by Andrew Schultz 2008-04-13 03:45:51 -07:00
bclary@bclary.com
c2240eaf76 JavaScript Test - regression test for bug 426711, by Jesse Ruderman 2008-04-12 08:28:44 -07:00
brendan@mozilla.org
1cb4693065 global_resolve should not do anything if assigning. 2008-04-11 15:24:55 -07:00
bclary@bclary.com
caf074c230 JavaScript Tests - further refinements of public failures, bug 404367 2008-04-11 12:23:22 -07:00
bclary@bclary.com
4974377684 JavaScript Tests - update public failures, bug 404367 2008-04-11 08:19:51 -07:00
brendan@mozilla.org
a63ad80ecd Fix 427191 (r=igor, a=beltzner). 2008-04-11 07:50:16 -07:00
brendan@mozilla.org
1a21f22a61 Fix regression in patch for bug 346902 (387951, r=mrbkap, a=dsicore). 2008-04-10 16:02:00 -07:00
bclary@bclary.com
48d147ec82 JavaScript Tests - make javascript.options.strict tests insensitive to current setting, bug 428396 2008-04-10 14:24:08 -07:00
bclary@bclary.com
d351bb6591 JavaScript Tests - attempt to catch exceptions to simplify test reporting, bug 226507 2008-04-10 13:58:06 -07:00
bclary@bclary.com
8d1e50a869 Sisyphus|JavaScript Tests - Spider's userhook can be stopped by exceptions in tests, bug 428391 2008-04-10 13:54:08 -07:00
bclary@bclary.com
253d16a3c9 JavaScript Tests - update known failures and spidermonkey extensions list, bug 404367 2008-04-10 13:45:47 -07:00
bclary@bclary.com
8834c19bf2 Sisyphus|JavaScript Tests - add ability to run tests with gczeal, bug 427189 2008-04-10 13:35:58 -07:00
bclary@bclary.com
9b471fbcee JavaScript Tests - catch script stack space quota errors 2008-04-10 13:23:42 -07:00
bclary@bclary.com
6a6a6289ee JavaScript Tests - update compatibility note, bug 291494 2008-04-10 12:29:11 -07:00
bclary@bclary.com
3e11cb5ff4 JavaScript Tests - fix filename, bug 424683 2008-04-10 12:23:12 -07:00
crowder@fiverocks.com
19dc0d3a80 Bug 416843 - assertion failure after deleting eval 16 times, patch by mrbkap, r=brendan, a1.9=beltzner 2008-04-10 12:06:22 -07:00
bent.mozilla@gmail.com
869e288c42 Bug 415498 - "Some errors not displayed in Error Console when using addEventListener". Tests by Sylvain Pasche <sylvain.pasche@gmail.com>. r+sr=jst, a=beltzner. 2008-04-10 10:35:56 -07:00
igor@mir2.org
8160179799 [Bug 389605] r=brendan a1.9=beltzner 2008-04-10 08:50:02 -07:00
crowder@fiverocks.com
2e0d479dbc Bug 362582: reverting the patch from this bug as a result of test-failures 2008-04-10 05:59:21 -07:00
jruderman@hmc.edu
d0bb18ea76 Reduce the length of the "XPConnect is being called on a scope without a 'Components' property!" assertion message (bug 426954). r=mrbkap, debug-only. 2008-04-09 22:19:30 -07:00
brendan@mozilla.org
c83a1ecbc1 Make __count__ shared as well as permanent (426711, r=mrbkap, a=beltzner). 2008-04-09 12:41:39 -07:00
reed@reedloden.com
85aa35af10 Bug 419615 - "use JSVERSION_LATEST in xpcshell" (use a context callback to set error-reporter and jsversion default) [p=crowder@fiverocks.com (Brian Crowder) r+a1.9=shaver] 2008-04-09 00:27:16 -07:00
reed@reedloden.com
a0a4af1741 Bug 362582 - "Incorrect toString for regular expression with null character or line break" [p=crowder@fiverocks.com (Brian Crowder) r=mrbkap a1.9=damons] 2008-04-09 00:20:12 -07:00
jonas@sicking.cc
9b874a6992 Allow XMLHttpRequest and document.load load files from subdirectories. r/sr=dveditz 2008-04-08 17:38:12 -07:00
jorendorff@mozilla.com
e366e3a8e5 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
2008-04-07 17:37:54 -05:00
timeless@mozdev.org
577c1584f2 Bug 426311 report address for live contexts in JS_DestroyRuntime r=brendan a=beltzner 2008-04-06 02:52:49 -07:00
bclary@bclary.com
78a4a9f501 JavaScript Test - regression test for bug 374025, by Jesse Ruderman 2008-04-05 02:01:57 -07:00
bclary@bclary.com
3e55aa2333 JavaScript Test - regression test for bug 384412, by Joachim Kuebart 2008-04-05 01:12:31 -07:00
bclary@bclary.com
634c1d4f31 JavaScript Test - regression test for bug 418730, by Jesse Ruderman 2008-04-05 00:44:23 -07:00
bclary@bclary.com
613ef1771a JavaScript Tests - regression test for bug 420869, by Igor Bukanov 2008-04-04 23:29:43 -07:00
bclary@bclary.com
a04d7eab3b JavaScript Tests - regression test for bug 424683, by Brian Crowder 2008-04-04 23:19:05 -07:00
crowder@fiverocks.com
fc9b3001e3 Bug 424683 - script stack space quota is exhausted (return of MAX_INLINE_CALL_COUNT), r=igor, blocking1.9=dsicore 2008-04-03 14:22:57 -07:00
bclary@bclary.com
b71cea2932 Sisyphus - remove hard coded path dependencies, support mozilla-build, bug 426415, r=rcampbell 2008-04-03 09:22:29 -07:00
bent.mozilla@gmail.com
ecc33f6aaa Bustage fix for DEBUG_CC builds as a result of the fix for bug 423874. r=dbaron, a=NPOTDB. 2008-04-02 15:18:06 -07:00
jorendorff@mozilla.com
1dd1d9f71d 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/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/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/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/jsxml.c => js/src/jsxml.cpp
2008-04-02 16:35:13 -05:00
igor@mir2.org
e82307a73c [Bug 425828] clearing property cache when thread gets the first context. r=brendan a1.9=blocking1.9 2008-04-02 02:14:59 -07:00
igor@mir2.org
303ea3000c [Bug 423874] Allocating functions together with JSObject. r=brendan a1.9=blocking1.9 2008-04-02 00:46:12 -07:00
reed@reedloden.com
62ba3210af Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a1.9=beltzner] 2008-04-01 23:41:23 -07:00
reed@reedloden.com
917e3212ae Bug 425080 - "C++ compatibilty: jsdbgapi.cpp: use of JS_malloc needs a cast" [p=jorendorff@mozilla.com (Jason Orendorff) r=brendan a1.9=beltzner] 2008-04-01 01:17:03 -07:00
reed@reedloden.com
2c2f549e16 Bug 424758 - "Use -xO4 for building js/src with Sun Studio compiler on Solaris" [p=ginn.chen@sun.com (Ginn Chen) r=luser/ted a1.9=beltzner] 2008-04-01 01:16:17 -07:00
bclary@bclary.com
07e3c308bf JavaScript Tests - regression test for bug 260106, by Brendan Eich 2008-03-29 16:14:23 -07:00
bclary@bclary.com
3b9aeb9072 JavaScript Tests - regression test for bug 416705, by Igor Bukanov 2008-03-29 16:11:17 -07:00
bclary@bclary.com
da7bcff630 JavaScript Tests - regression test for bug 416354, by Igor Bukanov 2008-03-29 16:07:16 -07:00
bclary@bclary.com
f25b8d4e58 JavaScript Tests - regression test for bug 414755, by Igor Bukanov 2008-03-29 16:05:12 -07:00
bclary@bclary.com
dda2a92c3e JavaScript Tests - regression test for bug 412926, by Igor Bukanov 2008-03-29 16:03:04 -07:00
bclary@bclary.com
567cfa16ed JavaScript Tests - regression test for bug 390597, by shutdown 2008-03-29 15:59:26 -07:00
bclary@bclary.com
7a3ffd4450 JavaScript Tests - regression tests for bug 398085, by Seno Aiko 2008-03-29 15:37:33 -07:00
igor@mir2.org
3e925d7e2d [bug 425957] fixing dtrace breakage caused by incomplete backing out of bug 423874. r,a=none as the code is not apart of the build. 2008-03-29 10:21:39 -07:00
igor@mir2.org
a1534ace01 [bug 424942] optimizing call object property allocation, r=brendan a1.9=mtschrep 2008-03-29 08:48:41 -07:00
igor@mir2.org
d8bf5a95c1 [bug 424964] optimizing reserve slot allocation, r=brendan a1.9=mtschrep 2008-03-29 06:38:28 -07:00
igor@mir2.org
c0d5c51190 [bug 423874] backing out as a simpler patch would do the job with less code. 2008-03-29 03:34:29 -07:00
igor@mir2.org
7598733582 [bug 424376] backing out - too much compatibility problems. 2008-03-28 15:27:36 -07:00
bclary@bclary.com
54c542feeb JavaScript Tests - update test for bug 338001 to handle various memory pressure scenarios 2008-03-28 12:14:45 -07:00
jorendorff@mozilla.com
bdf70de633 Merge from cvs-trunk-mirror to mozilla-central.
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
2008-03-28 13:01:14 -05:00
crowder@fiverocks.com
21898664ec Removing bogus FIXME here (comment-change only) 2008-03-28 10:54:21 -07:00
crowder@fiverocks.com
ceb148c69c Bug 425747: silencing warnings in jsdtrace.c, r/a=shaver 2008-03-28 10:38:23 -07:00
igor@mir2.org
d88f82a3f4 [Bug 424693] post landing consetics: replacing // comments with good old /* */ 2008-03-28 10:30:59 -07:00
jst@mozilla.org
24c87c737a Fixing bug 424449. Clear scope on XOWs when scope is cleared on the object wrapped by the XOW. r+sr=mrbkap@gmail.com 2008-03-26 18:04:14 -07:00
bclary@bclary.com
40c3018464 JavaScript Tests - remove unneeded image foo from test, bug 324650 2008-03-26 13:21:25 -07:00
bclary@bclary.com
f808e5341c JavaScript Tests - remove machine name from public failures, bug 399387 2008-03-26 12:57:15 -07:00
jorendorff@mozilla.com
1c075244ae Fix bug 425080 - C++ compatibilty: jsdbgapi.cpp: use of JS_malloc needs a cast (r=brendan)
This fix is not in trunk yet.  Too close to 1.9b5.
2008-03-26 12:24:45 -05:00
jorendorff@mozilla.com
4d6eed1e29 Merge from cvs-trunk-mirror to mozilla-central. (This doesn't build, thanks to bug 425080, which I'll fix next.)
--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/jsdate.c => js/src/jsdate.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.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/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-26 11:42:07 -05:00
bclary@bclary.com
54c36b6a85 JavaScript Tests - regression test for bug 424954 2008-03-26 00:01:05 -07:00
reed@reedloden.com
6900806d08 Bug 424954 - "Crash [@ js_GetWrappedObject]" [p=mrbkap@gmail.com (Blake Kaplan) r=brendan a1.9b5=beltzner] 2008-03-25 16:29:18 -07:00
reed@reedloden.com
7931af4544 Bug 422025 - [p=jst@mozilla.org (Johnny Stenback [jst]) r+sr=mrbkap a1.9b5=schrep] 2008-03-25 16:16:21 -07:00
bclary@bclary.com
e54849acb9 JavaScript Tests - update public failures list, bug 399387, not part of the build 2008-03-25 10:49:48 -07:00
shaver@mozilla.org
367efb39fc Bugs 423443/419661: crash in MarkSharpObjects due to stack overflow, when over-deep engine-internal recursion is triggered in JS components. r=brendan, a-b5=beltzner 2008-03-25 07:08:48 -07:00
bclary@bclary.com
f7b2ea055f JavaScript Tests - regression test for bug 375344, by James Justin Harrell 2008-03-25 04:53:08 -07:00
bclary@bclary.com
a91ea6800e JavaScript Tests - regression test for bug 384991, by Jesse Ruderman 2008-03-25 04:51:04 -07:00
bclary@bclary.com
c46d79b7ae JavaScript Tests - regression test for bug 406572, by Igor Bukanov 2008-03-25 04:48:39 -07:00
bclary@bclary.com
0a2eba9392 JavaScript Tests - regression test for bug 407019, by Jesse Ruderman 2008-03-25 04:46:29 -07:00
bclary@bclary.com
7d72e76d19 JavaScript Tests - regression test for bug 407720, by moz_bug_r_a4 2008-03-25 04:43:46 -07:00
bclary@bclary.com
4ecd506ab9 JavaScript Tests - regression test for bug 421806, by Jesse Ruderman 2008-03-25 04:41:20 -07:00
bclary@bclary.com
1a85e97c0a JavaScript Tests - regression test for bug 422286, by Mike Shaver 2008-03-25 04:39:05 -07:00
bclary@bclary.com
0ba7e83fd1 JavaScript Tests - regression test for bug 422348, by Igor Bukanov 2008-03-25 04:36:55 -07:00
bclary@bclary.com
05dd741686 JavaScript Tests - regression test for bug 423300, by x0 2008-03-25 04:33:58 -07:00
igor@mir2.org
95ffa3c835 [Bug 424693] using jsop_lineno to speedup pc->lineno mapping needed for eval. r=shaver a1.9b5=beltzner 2008-03-24 10:00:01 -07:00
igor@mir2.org
045ca5ceec bug=356378 r=brendan a1.9b5=beltzner reporting bad getter usage at compile time, not at runtime. 2008-03-24 06:33:32 -07:00
igor@mir2.org
116b03644a bug=424750 Patch from Alfred Peng to make dtrace code compilable again after my changes from bug 424376. r=myself, not a part of the default browser configuration. 2008-03-24 05:07:35 -07:00
bclary@bclary.com
65ac0953a5 Sisyphus|JavaScript Tests - handle cygwin drive prefix in determining test completion, bug 424688 2008-03-24 02:01:24 -07:00
brendan@mozilla.org
ac7abb892a Fix bug and modularity loss introduced by patch for 424405 (424614, r/a=shaver, bug a=beltzner). 2008-03-24 01:06:39 -07:00
bclary@bclary.com
bcb7a1e573 JavaScript Tests - update spidermonkey-extensions-n.tests, no bug, not part of the build 2008-03-23 14:48:27 -07:00
bclary@bclary.com
ac785aa61c JavaScript Tests - update ecma_3/RegExp/regress-375711.js due to change in bug 416933 2008-03-23 14:46:04 -07:00
bclary@bclary.com
7162a2d26c Sisyphus|JavaScript Tests - make post-process-logs.pl handle incomplete log output, bug 424688 2008-03-23 14:42:44 -07:00
igor@mir2.org
d6b3cc6e3b bug=424376 r=brendan a1.9b5=beltzner Compile-time function objects are no longer exposed through SpiderMonkey API. 2008-03-23 03:04:38 -07:00
reed@reedloden.com
b5f49e8ac6 Bug 424405 - "XDR should compensate for traps set in the script it is serializing" [p=crowder@fiverocks.com (Brian Crowder) r+a1.9b5=shaver] 2008-03-22 18:11:51 -07:00
crowder@fiverocks.com
3a0ae81b0a Bug 420973 - printObj crashes on dense arrays, r/a1.9b5=shaver 2008-03-21 10:19:33 -07:00
timeless@mozdev.org
afd6e9b298 Fixing build bustage from bug 423874 for dtrace (not a standard configuration) 2008-03-21 07:40:38 -07:00
igor@mir2.org
eaa513c2f5 bug=423874 r=brendan a1.9b5=dsicore Allocating native functions together with JSObject 2008-03-21 01:19:23 -07:00
jst@mozilla.org
ed1819df0e Followup fix for bug 418356. Re-enable loading file:// URIs using the subscript loader. r+sr=bzbarsky@mit.edu 2008-03-20 22:07:25 -07:00
benjamin@smedbergs.us
ebc2658fcf Bug 424156 - C++ compilation error in jsinterp.c, r=crowder a=beltzner 2008-03-20 11:50:16 -07:00
Benjamin Smedberg
58b20256d0 Fix the jsinterp.cpp here, before it gets upstreamed. 2008-03-20 12:42:27 -04:00
Benjamin Smedberg
300dc2107c Merge cvs-trunk-mirror -> mozilla-central. There's a C++ bug in js/src/jsinterp.cpp that I am going to file upstream.
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.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-03-20 12:42:05 -04:00
crowder@fiverocks.com
58035213b6 Bug 416933 - Invalid range error for /[\xde-\xdf]/ case-insensitive regular expression, r=brendan, a=blocking1.9 (mtschrep) 2008-03-19 23:59:34 -07:00
reed@reedloden.com
08ed4fda6c Bug 420869 - "Script stack space in Firefox 3.0b4pre much smaller than it was in Firefox 2.0.0.12" [p=igor@mir2.org (Igor Bukanov) r=brendan a=blocking1.9+] 2008-03-19 22:57:10 -07:00
brendan@mozilla.org
8c8498de43 Fix for JSCLASS_NEW_RESOLVE-related bug in js_FillPropertyCache, found by Mike Moening <MikeM@RetekSolutions.com> (418989, r=shaver, a=beltzner). 2008-03-19 17:44:59 -07:00
timeless@mozdev.org
f33eb4a3b4 reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
timeless@mozdev.org
8074fda8ae Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-03-19 14:19:35 -07:00
jwalden@mit.edu
04e96f253b Bug 416636 - Remove JSCLASS_FIXED_BINDING; the code that was to use it was removed, and it just clutters the API. r=brendan, a=schrep 2008-03-18 19:47:40 -07:00
brendan@mozilla.org
7228396780 Fix JSOP_SETCALL to cope with delete f() and the like (423300, r=mrbkap, a=beltzner). 2008-03-18 18:38:02 -07:00
igor@mir2.org
f1f37e5921 bug=420869 backing out as the tree is red. 2008-03-18 15:06:38 -07:00
igor@mir2.org
91819053e4 bug=420869 r=brendan a1.9=blocking1.9 bumping script stack quota to 100MB for better compatibility with FF2. 2008-03-18 15:05:35 -07:00
bzbarsky@mit.edu
f73470cb01 Remove method that no longer exists. 2008-03-18 14:58:46 -07:00
jst@mozilla.org
3e5524417a Fixing bustage. 2008-03-18 14:28:43 -07:00
jst@mozilla.org
3c2ee1f987 Fixing bug 422205. Make XOW/SJOW wrappers do security checks on enumeration and interation. r+sr=mrbkap@gmail.com 2008-03-18 14:17:58 -07:00
bzbarsky@mit.edu
5383803699 Finally kill off CheckSameOriginPrincipal, fix remaining callers to do the checks they really want to be doing. Fix screw-up in nsPrincipal::Equals if one principal has a cert and the other does not. Bug 418996, r=mrbkap,dveditz, sr=jst 2008-03-18 14:14:49 -07:00
reed@reedloden.com
2b368ccaa3 Bug 403224 - "Build spidermonkey with icc on macintel" [p=ted.mielczarek@gmail.com (Ted Mielczarek [luser]) r=bsmedberg a=blocking1.9+] 2008-03-18 12:36:57 -07:00
bzbarsky@mit.edu
5f774d2153 Set the right url in the script and don't allow loading non-chrome scripts. Bug 418356, r+sr=jst 2008-03-17 20:46:53 -07:00
dbaron@dbaron.org
537f2f5b13 Add knowledge of edge names to cycle collector, ifdef DEBUG_CC. b=420514 r+sr=peterv a=damons 2008-03-17 16:11:08 -07:00
jruderman@hmc.edu
3c205f211e Fix bug 423043, js shell print() should flush stdout. r+a=shaver. Does not affect Firefox. 2008-03-17 13:25:23 -07:00
gavin@gavinsharp.com
714309e7ef Bug 423138, browser-test crashes on linux, patch by smaug <Olli.Pettay@gmail.com>, r=brendan, a=beltzner 2008-03-17 09:25:39 -07:00
igor@mir2.org
8e2eeba5aa bug=421274 r=brendan a=beltzner Eliminating SAVE_SP_AND_PC() macro 2008-03-17 01:58:28 -07:00
sayrer@gmail.com
1026dcbbc9 Bug 409803. gcc (4.1 only) zealously avoids inlining at -Os. Patch by Dan Witte. r=ted.mielczarek 2008-03-15 19:48:58 -07:00
bclary@bclary.com
2e9eac3323 JavaScript Tests - modify test to catch allocation size overflow, bug 422348 2008-03-15 04:56:17 -07:00
crowder@fiverocks.com
2b92df76d8 Bug 422885: uninitialized memory-read in XPCWrapper::AddProperty, r/sr=mrbkap, a=:luser 2008-03-14 07:44:27 -07:00
benjamin@smedbergs.us
3d44355261 Fix merge bug that only shows up building spidermonkey standalone. 2008-03-13 22:39:59 -04:00
igor@mir2.org
f9786967b3 bug=422432 r=brenda,jag a1.9=blocking1.9 The local free lists for doubles now restricted to 32/64 entries, not 8, to minimize locking penaltties. 2008-03-13 13:07:29 -07:00
benjamin@smedbergs.us
0a29c83b00 Merge cvs-trunk-mirror -> mozilla-central to pick up the 421274 backout especially
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsapi.c => js/src/jsapi.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-13 15:26:42 -04:00
bclary@bclary.com
36c58bd88a JavaScript Tests - update tests due to changes on trunk for overflow reporting, bug 422348 2008-03-13 11:46:10 -07:00
sayrer@gmail.com
177108e9ae Bug 420906. support for custom options for jsinterp.c when compiling the browser. Patch by Ted Mielczarek. r=bsmedberg 2008-03-13 11:06:16 -07:00
igor@mir2.org
9e25b95889 bug 421274: backing out again due to crashes on 64 bit Linux. 2008-03-13 11:03:02 -07:00
igor@mir2.org
6e91c6d452 bug=421274 follow up to fix issues with 64 bit 2008-03-13 10:29:40 -07:00
benjamin@smedbergs.us
320249d8e3 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/jsarray.c => js/src/jsarray.cpp
rename : js/src/jscntxt.c => js/src/jscntxt.cpp
rename : js/src/jsdbgapi.c => js/src/jsdbgapi.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/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsiter.c => js/src/jsiter.cpp
rename : js/src/jsobj.c => js/src/jsobj.cpp
rename : js/src/jsopcode.c => js/src/jsopcode.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-13 10:32:07 -04:00
brendan@mozilla.org
4c60b62715 Fix ASSERT_VALID_PROPERTY_CACHE_HIT bustage (NPOTB). 2008-03-13 01:00:20 -07:00
igor@mir2.org
8205bdd921 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 23:48:23 -07:00
igor@mir2.org
d75b521da0 backing out bug 421274 2008-03-12 23:23:09 -07:00
igor@mir2.org
e8279e4617 bug=421274 r=brendan a1.9=mtschrep eliminating SAVE_SP_AND_PC and friends from the interpreter loop 2008-03-12 22:52:52 -07:00
igor@mir2.org
bf88fe6798 bug=422348 r,a1.9=shaver proper overflow error reporting 2008-03-12 16:07:47 -07:00
igor@mir2.org
0f32c99c1f bug=421806 r=brendan a1.9=blockin1.9 fixing decompiler regressions with interpreter stack modeling 2008-03-12 16:03:29 -07:00
reed@reedloden.com
e0b278827a Bug 422185 - "jsgc.obj : error LNK2001: unresolved external symbol "int __cdecl posix_memalign(void * *,unsigned int,unsigned int)" (?posix_memalign@@YAHPAPAXII@Z)" (posix_memalign needs to be extern "C" when compiling with a C++ compiler) [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=brendan a1.9=damons] 2008-03-12 15:32:54 -07:00
mattwillis@gmail.com
2ac0c39bd4 Bug 422161 - Fix JS strict errors in *.jsm modules. r and rs=gavin, a1.9+=damons 2008-03-12 14:56:59 -07:00
benjamin@smedbergs.us
22ab1903e9 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/jsarray.c => js/src/jsarray.cpp
rename : js/src/jsnum.c => js/src/jsnum.cpp
2008-03-12 16:32:37 -04:00
bclary@bclary.com
fb55d34ac8 JavaScript Tests - update known failures to account for improved CAPS messages in bug 246699, not part of the build 2008-03-12 11:12:09 -07:00
bclary@bclary.com
cc3097dd61 JavaScript Tests - update known failures for mac debug browser on js1_5/Array/regress-350256-03.js, bug 350256, not part of the build 2008-03-12 10:21:54 -07:00
igor@mir2.org
16bc7fe7dc bug=420904 support for custom options for jsinterp.c in js shell build scripts. This is outside of tree. 2008-03-12 07:36:06 -07:00
brendan@mozilla.org
201f2e2412 Fix indentation nit 2008-03-12 00:05:30 -07:00
shaver@mozilla.org
1ddc65a4a0 Bug 422286: fix accounting of array length when slicing dense arrays. r=mrbkap, a=mconnor. 2008-03-11 23:50:55 -07:00
bclary@bclary.com
adbe23d9eb JavaScript Tests - fix TimeWithinDay for negative arguments, bug 264727 2008-03-11 15:18:23 -07:00
benjamin@smedbergs.us
ce79af60a1 Merge cvs-trunk-mirror -> mozilla-central
--HG--
rename : js/src/js.c => js/src/js.cpp
rename : js/src/jsinterp.c => js/src/jsinterp.cpp
rename : js/src/jsutil.c => js/src/jsutil.cpp
2008-03-11 11:22:05 -04:00
reed@reedloden.com
39420158ed Bug 418406 - "Make network error constants accessible via Components.results" [p=trev.moz@adblockplus.org (Wladimir Palant) r=biesi sr=sicking a1.9=damons] 2008-03-11 01:14:04 -07:00
reed@reedloden.com
c2231a43b1 Bug 421947 - "More C++ casts required for Windows only, especially overloaded pow() and log10()" [p=benjamin@smedbergs.us (Benjamin Smedberg [bsmedberg]) r=crowder a1.9=damons] 2008-03-11 01:09:41 -07:00
timeless@mozdev.org
74b458a796 Bug 421303 Crash [@ jsds_ScriptHookProc] r=caillon a=dsicore If we reach ~jsdService, that means our client doesn't care about us, so we can (and should) drop all references to any callbacks (if they cared, they'd have kept us alive!*). I think jsdService::Off should clear all the hooks, the strange magic of not clearing it isn't really a great idea. So for Off, we'll now clear the ScriptHook too (consumers who use off should really drop any references they have to our objects...). I'm still on the fence on this point, I suspect we can actually move it from ::Off to ~jsdService (it must be cleared at some point, otherwise if jsd_xpc's library manages to get unloaded, the function pointer would be invalid, which would be *BAD*). jsds_NotifyPendingDeadScripts needs to clear gDeadScripts whether or not there's a service or hooks, so it does. Because it's a static callback and because of the scary way GC works, I'd rather ensure (deathgrip) that jsds is available (and consistent!) for the duration of the function call. The code already handles the lack of a hook, so there's no reason to do magical returns.... The real problem which mayhemer found was that jsdService::Off was returning early (failure) because gGCStatus wasn't JSGC_END when called from ~jsdService from JS_GC from the cyclecollector, so we make sure that ~jsdService forces ::Off to act as if it is JSGC_END (after ensuring that there are no callbacks available). * a pure javascript (xpcom component, not DOM hosted!) version of a jsdService consumer means that jsdService will need to talk to the CycleCollector eventually (this is another bug for the future). 2008-03-10 17:13:48 -07:00
sayrer@gmail.com
6f8eff530f Bug 421984. Build with -fstrict-aliasing on GCC platforms. r/a=shaver 2008-03-10 17:04:47 -07:00
timeless@mozdev.org
fdcf2c3106 Bug 421774 consolidate jsd static variables into main r=shaver 2008-03-10 16:11:36 -07:00
bclary@bclary.com
d914c4b13e JavaScript Tests - update test to catch exception in browser tests, bug 420612 2008-03-10 14:24:35 -07:00
benjamin@smedbergs.us
1f36c2d078 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/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/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/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/jsscan.c => js/src/jsscan.cpp
rename : js/src/jsscript.c => js/src/jsscript.cpp
rename : js/src/jsstr.c => js/src/jsstr.cpp
rename : js/src/jsxml.c => js/src/jsxml.cpp
2008-03-10 17:07:41 -04:00
igor@mir2.org
85f2f1318d bug=419632 r=brendan a1.9=blockin1.9 avoiding weak roots for doubles 2008-03-10 12:27:44 -07:00
gavin@gavinsharp.com
0de56e7ca2 Back out the patch from bug 420642 because it broke gmail (bug 421571) 2008-03-10 01:28:51 -07:00
bclary@bclary.com
7c090f1207 JavaScript Tests - regression tests for bug 418641, by Igor Bukanov 2008-03-09 14:04:14 -07:00
bclary@bclary.com
45121849cd JavaScript Tests - regression test for bug 420087, by Mike Shaver 2008-03-09 13:49:13 -07:00
bclary@bclary.com
08afd34a8b JavaScript Tests - regression test for bug 420399, by Jesse Ruderman 2008-03-09 13:32:33 -07:00
bclary@bclary.com
8333a2c893 JavaScript Tests - regression tests for bug 420610, by Jesse Ruderman 2008-03-09 13:15:14 -07:00
bclary@bclary.com
e430db9c14 JavaScript Tests - regression test for bug 420612, by Jesse Ruderman 2008-03-09 13:09:09 -07:00
bclary@bclary.com
11d60c9bc6 JavaScript Tests - regression test for bug 421325, by Brian Crowder 2008-03-09 13:00:57 -07:00
bclary@bclary.com
51a8feae78 JavaScript Tests - remove timezone dependencies for toLocaleFormat win32 tests, no bug, not part of the build 2008-03-09 12:49:14 -07:00
timeless@mozdev.org
1daf469d2c Bug 421231 js.c needs to call JSDB_TermDebugger r=brendan NPOTB 2008-03-09 03:05:29 -07:00
brendan@mozilla.org
61638720da Fix from Sebastian Redl to compile under GCC 4.2 (r=me, a=shaver). 2008-03-08 20:49:46 -08:00
crowder@fiverocks.com
81d9657e21 Bug 421325: array_join_sub does not handle holes in dense arrays correctly, r/a=shaver 2008-03-07 16:16:51 -08:00
jwalden@mit.edu
96e2033b91 Bug 352044 - Issues with Unicode escape sequences in JavaScript source code; Unicode escapes not part of identifiers were being treated as their equivalent CVs, and non-identifier Unicode escapes within identifiers were being treated as their CVs (simultaneously starting a new token). acid3++ r=mrbkap, a=damons 2008-03-07 15:28:55 -08:00
bclary@bclary.com
a39ea6b3d8 JavaScript Tests - update known failures, bug 421515 2008-03-07 12:33:18 -08:00
dbaron@dbaron.org
d6f406d8a8 Deal with nsXPCWrappedJS::GetClass being null, which it can be after Unlink. a=Not part of the default build (DEBUG_CC only) 2008-03-07 09:54:41 -08:00
igor@mir2.org
0e61c1abe5 bug=421154 r=brendan a1.9=blockin1.9 Faster number conversions 2008-03-06 15:24:08 -08:00
mrbkap@gmail.com
24f718d4ac Don't assume that chrome:// implies system principals. bug 419848, r=brendan sr=jst 2008-03-06 14:52:58 -08:00
igor@mir2.org
d0918ed4af bug=421314 r=myself a1.9=beltzner Patch from Mike Moening to fix VC2005 warnings that my recent changes introduced. 2008-03-06 14:51:14 -08:00
igor@mir2.org
8ad00a0798 bug=421266 r=brendan a1.9=beltzner js_Interpret now takes just single cx argument. 2008-03-06 14:47:46 -08:00
mrbkap@gmail.com
f48a4e343a Remove unused variable. bug 420966 2008-03-06 13:43:26 -08:00