brendan%mozilla.org
|
d38cfff671
|
Fix old bug afflicting for(var i=j in o) hard case; fix for(var... in decompilation; expand tabs in jsopcode.c (226078, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@149520 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-18 23:51:43 +00:00 |
|
brendan%mozilla.org
|
0f22a67821
|
Forgot a couple of places in need of sealed-scope locking optimization; also reordered lock-free tests to avoid ClaimScope from GC.
git-svn-id: svn://10.0.0.236/trunk@149477 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-18 02:45:17 +00:00 |
|
brendan%mozilla.org
|
1f141c0135
|
Add -S maxstacksize option (225061, patch from Igor Bukanov <igor@fastmail.fm>, r=me).
git-svn-id: svn://10.0.0.236/trunk@149465 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-17 23:58:21 +00:00 |
|
brendan%mozilla.org
|
30ff69f4fc
|
My attempt to fix 225343, r=shaver.
git-svn-id: svn://10.0.0.236/trunk@149461 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-17 22:12:52 +00:00 |
|
brendan%mozilla.org
|
eba71d0335
|
Fix ALTPREREQ2, it was just plain busted (225289, r=zack-web@gmx.de based on his similar patch).
git-svn-id: svn://10.0.0.236/trunk@149405 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-16 21:34:59 +00:00 |
|
gerv%gerv.net
|
123c4a9492
|
Bug 205418 - Relicense Spidermonkey (js/src) to MPL/LGPL/GPL. Patch by gerv; r,a=brendan.
git-svn-id: svn://10.0.0.236/trunk@149331 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-15 00:11:16 +00:00 |
|
brendan%mozilla.org
|
156f0ecb89
|
Tweak so uneval(-0) == '-0' (r=igor@fastmail.fm).
git-svn-id: svn://10.0.0.236/trunk@149286 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-14 03:40:36 +00:00 |
|
brendan%mozilla.org
|
149f0d6f02
|
RegExp().toString and .toSource should return '/(?:)/', not '//' (bug 225550, r=sparky).
git-svn-id: svn://10.0.0.236/trunk@149282 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-14 03:23:49 +00:00 |
|
mkaply%us.ibm.com
|
61313af827
|
#224487
r=brendan
Os/2 only changes to work around FPU issues. See the bug.
git-svn-id: svn://10.0.0.236/trunk@149280 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-14 01:49:37 +00:00 |
|
brendan%mozilla.org
|
e510eeea3f
|
Heal a now-bogus assertion under JS_LOCK_OBJ/JS_LOCK_SCOPE.
git-svn-id: svn://10.0.0.236/trunk@149217 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-12 22:14:25 +00:00 |
|
peter%propagandism.org
|
ae24c544d7
|
Part of fix for bug 219848 (Cannot programmatically (JavaScript) set value of HTMLInputElement) - return JS_FALSE when throwing an exception. r=caillon, sr=jst.
git-svn-id: svn://10.0.0.236/trunk@149191 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-12 14:19:26 +00:00 |
|
jshin%mailaps.org
|
945f19e40d
|
bug 44272 : make escape/unescape (in DOM) correctly work with the full range of Unicode chars. (by making it use JSengine version) (r=brendan/bz, sr=bz)
git-svn-id: svn://10.0.0.236/trunk@149154 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-11 17:59:54 +00:00 |
|
brendan%mozilla.org
|
8bb2395e5f
|
Remove JS_UnsealObject, optimize locking of sealed objects, shrink JSContext by two JSArenaPool members (224306, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@149134 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-11 01:28:17 +00:00 |
|
brendan%mozilla.org
|
b1416c6cce
|
Revise js_DecompileValueGenerator assertion in light of JS_HAS_NO_SUCH_METHOD.
git-svn-id: svn://10.0.0.236/trunk@149073 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-09 20:31:16 +00:00 |
|
brendan%mozilla.org
|
d256e525a6
|
Restore long-lost obj=null setting so null() etc. (calling primitive-type values) fails as expected, instead of crashing (224956, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@149057 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-09 03:58:48 +00:00 |
|
brendan%mozilla.org
|
4c11bc6c10
|
Atomize rt->emptyString so '' constants all share it.
git-svn-id: svn://10.0.0.236/trunk@149039 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-08 18:54:33 +00:00 |
|
timeless%mozdev.org
|
e994f0ffcc
|
Bug 222056 Integrate warning fix from Adobe for e_pow.c and e_sqrt.c
Patch by Adobe rs=brendan
git-svn-id: svn://10.0.0.236/trunk@149012 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-07 19:46:29 +00:00 |
|
brendan%mozilla.org
|
b9033758e9
|
Move ComputeThis call up in js_Invoke so __noSuchMethod__ sees the correct |this| parameter.
git-svn-id: svn://10.0.0.236/trunk@148787 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-03 20:23:23 +00:00 |
|
brendan%mozilla.org
|
586e904858
|
Fiddle a bit cosmetically to make arena member comparisons have the same form; add a comment.
git-svn-id: svn://10.0.0.236/trunk@148778 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-03 17:47:43 +00:00 |
|
brendan%mozilla.org
|
f70ce7c556
|
Squeeze a few instructions out of the noSuchMethod special case, and restore needed arena metering (followup to 196097, r=sparky).
git-svn-id: svn://10.0.0.236/trunk@148753 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-03 05:07:41 +00:00 |
|
brendan%mozilla.org
|
57f2064642
|
Fix missing cx param problem (223041, r=caillon, sr=dbaron).
git-svn-id: svn://10.0.0.236/trunk@148748 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-03 04:26:55 +00:00 |
|
brendan%mozilla.org
|
41fe9fb281
|
Fix JS_DropPrincipals (thanks, dbaron).
git-svn-id: svn://10.0.0.236/trunk@148716 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-02 03:25:25 +00:00 |
|
brendan%mozilla.org
|
1208f020d1
|
Use eval's object principals if possible, ditto for other eval-like methods (223041, r=caillon, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@148699 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-11-02 01:04:50 +00:00 |
|
brendan%mozilla.org
|
4ee6411dcb
|
Fix from zack-weg@gmx.de for magic number botch and early Java bug copy/paste in Math.random code (211590, r=me).
git-svn-id: svn://10.0.0.236/trunk@148672 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-31 23:21:13 +00:00 |
|
brendan%mozilla.org
|
1280510f81
|
Don't under-malloc for short script filename entry (223810, r=shaver, a=dbaron).
git-svn-id: svn://10.0.0.236/trunk@148444 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-27 19:13:01 +00:00 |
|
tor%cs.brown.edu
|
1c0c1f182a
|
Backout of bug 153586. a=asa
git-svn-id: svn://10.0.0.236/trunk@148436 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-27 17:00:38 +00:00 |
|
brendan%mozilla.org
|
6d358001c6
|
Hack to cope with input case (/|/, /x|/, etc.) not handled by recent rewrite (223535, r=timeless, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/trunk@148366 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-24 22:23:36 +00:00 |
|
brendan%mozilla.org
|
6a4d4696b5
|
Fix to error on extra ) in regexp rather than corrupt 'n' crash (223273, r=timeless, sr=shaver, a=asa).
git-svn-id: svn://10.0.0.236/trunk@148330 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-24 00:37:49 +00:00 |
|
dbaron%dbaron.org
|
90621a0deb
|
Convert CR-LF line endings to LF.
git-svn-id: svn://10.0.0.236/trunk@148269 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-22 07:30:52 +00:00 |
|
brendan%mozilla.org
|
1ee2e4b28b
|
Check in rogerl's big perf patch (85721).
git-svn-id: svn://10.0.0.236/trunk@148266 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-22 07:01:50 +00:00 |
|
brendan%mozilla.org
|
f5be31d9a8
|
Add __noSuchMethod__ handler support, and clean up js_ValueToFunction/js_ReportIsNotDefined error diagnosis hard cases (196097, r=sparky).
git-svn-id: svn://10.0.0.236/trunk@148258 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-22 06:26:03 +00:00 |
|
caillon%returnzero.com
|
c1914505cb
|
Re-land patch for bug 83536, merging principal objects.
Also includes fixes from bug 216041.
r=bzbarsky
sr=jst
git-svn-id: svn://10.0.0.236/trunk@148229 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-21 22:11:49 +00:00 |
|
tor%cs.brown.edu
|
f5770d0a62
|
Bug 153586 - add js callback to convert native string to unicode, use
for date.toLocale*String. r=jst, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@148213 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-21 18:03:04 +00:00 |
|
brendan%mozilla.org
|
e26a2746d4
|
Fix f.call and f.apply so f.caller skips those natives, to match IE (222029, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@148010 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-16 03:30:18 +00:00 |
|
brendan%mozilla.org
|
ccc41df84a
|
Fix comment bug reported by timeless (222055).
git-svn-id: svn://10.0.0.236/trunk@147932 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-13 23:25:48 +00:00 |
|
brendan%mozilla.org
|
e39d30100e
|
Expand tabs, add assertion.
git-svn-id: svn://10.0.0.236/trunk@147913 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-13 18:38:50 +00:00 |
|
dbaron%dbaron.org
|
b014526f98
|
I am not sure what brendan meant to do, but making JS_HAS_XDR always be the same as it was before the previous checkin should get the Mozilla client working again.
git-svn-id: svn://10.0.0.236/trunk@147874 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-11 19:01:43 +00:00 |
|
brendan%mozilla.org
|
09482f96d1
|
Split jsconfig.h JS_HAS_XDR macro for better code factoring.
git-svn-id: svn://10.0.0.236/trunk@147873 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-11 18:17:53 +00:00 |
|
brendan%mozilla.org
|
42a28f9704
|
Remove false comment (whew).
git-svn-id: svn://10.0.0.236/trunk@147823 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-10 01:46:55 +00:00 |
|
peter%propagandism.org
|
edf9f70a86
|
Move voidable string into xpcom. Part of fix for bug 221387 (XPathExpression.createExpression doesn't throw NAMESPACE_ERR). r=bz, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@147799 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-09 16:15:29 +00:00 |
|
brendan%mozilla.org
|
92cda301e0
|
Late-breaking security fix (221526, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@147718 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-07 23:02:29 +00:00 |
|
cls%seawood.org
|
3fc2e58791
|
What bryner said
git-svn-id: svn://10.0.0.236/trunk@147711 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-07 22:07:14 +00:00 |
|
bryner%brianryner.com
|
48d6c011d3
|
attempting to fix windows bustage
git-svn-id: svn://10.0.0.236/trunk@147706 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-07 21:18:57 +00:00 |
|
cls%seawood.org
|
ae91d9764c
|
Case matters.
Fixing mingw cross-compiling bustage.
git-svn-id: svn://10.0.0.236/trunk@147702 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-07 20:39:25 +00:00 |
|
BradleyJunk%cinci.rr.com
|
d67d8db36f
|
Bug 220692 - Syntax error in /js/src/xpconnect/xpcmodule.cpp if MOZ_JSLOADER not defined. r=timeless, sr=brendan
git-svn-id: svn://10.0.0.236/trunk@147470 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-10-01 00:11:17 +00:00 |
|
brendan%mozilla.org
|
20798cb331
|
Redo thread/process stack size checking and API to avoid having to guess/fudge; instead, require embedders to advise explicitly, for fudge-free limits and backward API compatibility (192414, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@147349 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-26 22:47:01 +00:00 |
|
brendan%mozilla.org
|
8885d091a9
|
Follow-up fix to clamp cx->stackLimit so it doesn't wrap (192414, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@147336 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-26 17:22:14 +00:00 |
|
brendan%mozilla.org
|
d33b020177
|
Check in my version of a patch to avoid thread or process stack overflow from Igor Bukanov <igor@fastmail.fm> (192414, r=shaver).
git-svn-id: svn://10.0.0.236/trunk@147249 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-24 16:49:58 +00:00 |
|
brendan%mozilla.org
|
fe4e2f8b11
|
Eliminate unnecessary local variable.
git-svn-id: svn://10.0.0.236/trunk@147133 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-23 00:07:24 +00:00 |
|
brendan%mozilla.org
|
08458a82d6
|
Don't finish temp and code arena-pools in JS_GC, in case it's nesting in the compiler via the debugger (131712, r=rginda, sr=shaver).
git-svn-id: svn://10.0.0.236/trunk@147065 18797224-902f-48f8-a5cc-f745e15eee43
|
2003-09-19 18:36:50 +00:00 |
|