brendan%mozilla.org
73ab09a55c
Fix thread- and GC-safety bugs in js_GetAnyName and its evil twin (331782, 325526, r=mrbkap).
2006-04-06 20:24:24 +00:00
brendan%mozilla.org
d911007cfc
Fix uneval on E4X objects (327534, r=mrbkap).
2006-04-06 20:15:24 +00:00
gavin%gavinsharp.com
c1c8fbfcac
Bug 314529: E4X: delete operator misses some descendants - e4x/Types/9.1.1.3.js, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 13:04:54 +00:00
gavin%gavinsharp.com
d0dee808f7
Bug 330319: Remove duplicate string constants in jsnum.c, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 13:02:03 +00:00
gavin%gavinsharp.com
0ce6c36fee
Bug 331203: Result of Math.pow(NaN, 0) should be 1, patch by Erik Fabert <jerfa@email.it>, r=brendan
2006-04-06 04:49:20 +00:00
dbaron%dbaron.org
e94b49b6af
Root across calls to JS_SetElement and JS_SetProperty. b=331667 r=jst,dbradley sr=brendan
2006-04-05 21:34:16 +00:00
dbaron%dbaron.org
04b8c33eda
Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
2006-04-05 00:00:44 +00:00
timeless%mozdev.org
905303609b
Bug 332689 js.mak clean targets fail to clean up pch's
...
also fixes up a few glitches in the jskwgen work and makes make clean zap its generated file
the clean target for js now cleans fdlibm+jskwgen too
the clean target for jsshell now cleans js too
2006-04-04 15:50:15 +00:00
timeless%mozdev.org
ef483b51d5
Bug 328479 Building the jsshell on VC++ 6 fails because jsautokw.h is missing
...
spidermonkey only fix for nmake. not part of any build that works since this hasn't worked in a long time.
2006-04-04 13:09:50 +00:00
mrbkap%gmail.com
c4f9fa3841
Backing out my changes from bug 326497 to fix tinderbox orange.
2006-04-03 21:18:41 +00:00
mrbkap%gmail.com
60b589ae77
Don't ignore any errors returned by PostCreate. Also, don't override an exception if one is already reported, as the further away from the original problem we get, the less precise the error message will be. bug 326497, r=brendan sr=shaver
2006-04-03 18:10:38 +00:00
bclary%bclary.com
b5406fa0be
bug 332562 - Fix buggy loop in shell.js, patch by Seno Aiko
2006-04-03 13:33:33 +00:00
bzbarsky%mit.edu
25ab5fffef
Create a powerless non-principal and start using it. Bug 326506, r=mrbkap,
...
sr=dveditz
2006-04-02 20:58:26 +00:00
brendan%mozilla.org
daee041a64
Undepend regexp source string so error message formatted arg refs into it work (332472, r=mrbkap).
2006-04-02 19:07:49 +00:00
brendan%mozilla.org
b7aec0251e
Fix double-destroy on js_SetLastIndex failure in js_NewRegExpObject (332415, r=mrbkap).
2006-04-01 00:00:38 +00:00
brendan%mozilla.org
7f55e01fd4
Don't optimize special (eval and debugger) global frames (332199, r=mrbkap).
2006-03-31 01:32:19 +00:00
brendan%mozilla.org
439fdaacf8
Fix 331787 by atomizing declared function object early (r=mrbkap).
2006-03-31 01:27:23 +00:00
darin%meer.net
20837f71e1
fixes bug 328925 "Replace NS_WARN_IF_FALSE with NS_ASSERTION (where appropriate)" r=dbaron
2006-03-30 18:40:56 +00:00
bclary%bclary.com
39f8751079
Regression test for bug 329383. Fix bug number
2006-03-29 17:59:32 +00:00
bclary%bclary.com
99285342dc
Regression test for bug 321547. Fix whitespace issue in expected toSource value
2006-03-29 17:45:25 +00:00
igor%mir2.org
a5fdadc191
Bug 331770: Extending JS_GCMETER to include average free list density and free list recycle/new allocation ratio.
2006-03-28 08:41:40 +00:00
dbaron%dbaron.org
90bc11aa89
Root the new string across the call to js_NewObject, etc. b=331793 r=brendan
2006-03-27 23:45:56 +00:00
dbaron%dbaron.org
c7844c2cd8
Root the result of js_NewXML across js_GetXMLObject. b=331786 r=brendan
2006-03-27 23:43:40 +00:00
brendan%mozilla.org
a69a747947
MIPS little-endian porting fix from Ian Jackson and Thiemo Seufer, via Mike Hommey <mh@glandium.org> (331820, r=me).
2006-03-27 05:54:51 +00:00
brendan%mozilla.org
2350ba344e
Home sp (and pc) before allocating call-outs (331719, r=mrbkap).
2006-03-26 03:50:34 +00:00
igor%mir2.org
dc37a48f53
Bug 331456: Cache of deflated string bytes is per runtime now. To preserve
...
API compatibility JS_GetStringBytes(JSString *str) calls newly introduced
js_GetGCStringRuntime(JSString *str) to extract JSRuntime* instance based
on the layout of GC structures. r=brendan
2006-03-25 22:55:00 +00:00
brendan%mozilla.org
12081a43a3
Rooting fixes courtesy dbaron (331678, r=mrbkap).
2006-03-25 21:51:57 +00:00
igor%mir2.org
373a0e0bf8
Bug 331598: Cleanup/simplifications after landing of patch for recursion-free GC from bug 324278.
2006-03-25 20:21:31 +00:00
brendan%mozilla.org
c0c2ef84b1
Fix silly null ptr deref (331664, r=mrbkap).
2006-03-25 19:24:44 +00:00
mrbkap%gmail.com
bd2900305a
Fix a silly typo decompiling the setting of the default xml namespace. bug 331558, patch by Erik Fabert <jerfa@email.it>, r=mrbkap
2006-03-24 18:32:11 +00:00
dbaron%dbaron.org
d8b42e96fc
Fix C++ comments that I introduced.
2006-03-24 08:32:09 +00:00
dbaron%dbaron.org
ace148d610
Workaround brokenness of __builtin_frame_address(0) on gcc 4.1 (as shipped with FC5, at least). b=331436 r=brendan
2006-03-23 23:21:27 +00:00
brendan%mozilla.org
b22355da41
Missing OBJECT_TO_JSVAL to fix warning introduced by last checkin.
2006-03-23 21:02:43 +00:00
igor%mir2.org
dadb71b144
Bug 330692: GC_MARK_DEBUG-only arguments are removed when GC_MARK_DEBUG is not defined. r=brendan
2006-03-23 11:50:30 +00:00
mrbkap%gmail.com
7a4858081c
Don't add unnecessary quotes to the rhs of the descendant operator. bug 321547, r=brendan
2006-03-23 05:36:20 +00:00
mrbkap%gmail.com
cb3b07a687
Continue to create an exception even when we're unable to convert a function passed as an argument to a string. This fixes some cases where an exception would become uncatchable. bug 328443, r=brendan
2006-03-23 05:16:39 +00:00
mrbkap%gmail.com
c29adb7907
Root the new function across XDR operations to make sure it doesn't get garbage collected. bug 327708, r=brendan
2006-03-23 05:12:27 +00:00
mrbkap%gmail.com
0f68c9e245
Protect against scripts setting __proto__ to null. bug 317250, hopeful-r=brendan
2006-03-23 02:24:45 +00:00
mrbkap%gmail.com
7685d1b7e0
Create the PropertyIterator object with a default parent so that when we attempt to find the PropertyIterator constructor, we look up the default scope chain and not one that we might not have access to. bug 328012, r=brendan
2006-03-23 01:25:21 +00:00
mrbkap%gmail.com
f9460f5c90
Always innerize the variables object to ensure that random properties don't get stuck on the outer object. bug 317250, r=brendan
2006-03-22 21:44:31 +00:00
igor%mir2.org
bd61ffbe63
Bug 324278: Implementation of GC marking algorithm that uses constant space for
...
any kind of GC things. r=brendan
The main idea is to put a GC thing to a special "unscanned bag" instead of recursively calling GC_MARK on thing's children when C stack is slow. Then later the code loops through the bag marking the children until the bag is empty.
The unscanned bag is implemented as a linked list of GC arenas where things that belongs to the bug marked with GCF_MARK|GCF_FINAL combination. To avoid long scanning of arenas on the list, the code uses a bitmask per arena to indicate which pages within the arena contains unscanned things and an extra bitmask per page to indicate offset range withing the page of the unscanned things.
2006-03-22 15:38:43 +00:00
mrbkap%gmail.com
309575af1a
I didn't mean to check this in.
2006-03-22 07:29:49 +00:00
mrbkap%gmail.com
45b704978a
Used standard IO functions in snarf so that things work equally well on Linux and Windows. No bug, patch by Brendan, r=mrbkap
2006-03-22 07:26:31 +00:00
mrbkap%gmail.com
dc0e278951
Fixing some silliness from my last checkin, tokenstr takes a tokentype, not the token itself. r=brendan
2006-03-22 06:23:59 +00:00
mrbkap%gmail.com
1d4b9a7b0a
Handle assignment inside the then part of ternary expressions correctly according to the ECMAScript grammar. bug 330975, r=brendan
2006-03-22 03:00:03 +00:00
brendan%mozilla.org
1d810ceadf
More Windows warning fixes.
2006-03-22 01:39:40 +00:00
brendan%mozilla.org
c37c9150ee
Warning fix for MSVC.
2006-03-22 01:37:27 +00:00
cls%seawood.org
0828b79df3
Fix mingw cross-compile bustage.
...
Bug #322578 r=mark sr=bsmedberg
2006-03-21 03:04:54 +00:00
mrbkap%gmail.com
5c696de243
Don't forget to throw syntax errors for missing parentheses or brackets. bug 331127, r=brendan
2006-03-20 20:57:51 +00:00
mrbkap%gmail.com
f60971fc05
Don't pollute String.prototype. bug 330976, r=brendan
2006-03-20 20:15:15 +00:00