Commit Graph

8007 Commits

Author SHA1 Message Date
igor%mir2.org
f63b1ca6f0 Bug 312238: gcBytes and gcPrivateBytes from JSRuntime now means the total
amount of memory allocated by GC arenas, not the size of allocated things
which does not include the memory taken by free GC cells. This simplified
accounting and allows to implement lock-less allocation of GC things.
2006-04-20 15:33:35 +00:00
brendan%mozilla.org
3164d9ab80 Final (I hope) followup patch (304376, r=mrbkap). 2006-04-20 05:18:09 +00:00
brendan%mozilla.org
da86244695 Fix brain-damaged code from last checkin (r=mrbkap). 2006-04-20 01:17:06 +00:00
brendan%mozilla.org
1734f2c734 Second half of fix for 304376 (r=mrbkap). 2006-04-19 23:36:16 +00:00
dbaron%dbaron.org
4fd4c8fc7c Call SetName so we don't have an XPCCallContext in a bad state. b=334104 r=dbradley sr=jst 2006-04-19 22:00:31 +00:00
gavin%gavinsharp.com
c8c5efd97f Bug 334180: backport pldhash -> jsdhash of win32 fastcall support, rev. 1, patch by bsmedberg, r=brendan 2006-04-19 20:34:56 +00:00
bclary%bclary.com
5da9633f8e JavaScript Test Library - Regression test for bug 234389, add expected exit code 3 for 'too much recursion' error, remove old -n version of test. 2006-04-19 03:12:26 +00:00
bclary%bclary.com
4e9ba2ba66 JavaScript Test Library - tweak reporting to improve automated test comparisons, no bug 2006-04-19 03:03:12 +00:00
bclary%bclary.com
76b89d9191 JavaScript Test Library - Regression test for bug 330352 2006-04-19 02:58:42 +00:00
bclary%bclary.com
c29f6adc76 JavaScript Test Library - Regression test for bug 319872, by Georgi Guninski 2006-04-19 02:56:29 +00:00
bclary%bclary.com
945d6e3a37 JavaScript Test Library - Regression test for bug 316885, by Igor Bukanov 2006-04-19 02:53:38 +00:00
bclary%bclary.com
a79f219015 JavaScript Test Library - Regression test for bug 315974, by Michael Daumling 2006-04-19 02:49:49 +00:00
bclary%bclary.com
d05efd6f2b JavaScript Test Library - Regression test for bug 312385 2006-04-19 02:35:10 +00:00
brendan%mozilla.org
dcf53bc38a Oops. 2006-04-19 00:57:03 +00:00
brendan%mozilla.org
705725e02f Memoize standard class.prototype bindings, per ECMA-262 (304376, r=mrbkap). 2006-04-19 00:22:43 +00:00
dbaron%dbaron.org
c6e5aec25e Make JSDHashTable/PLDHashTable assert when ops or enumeration callbacks mutate the table. b=334180 r=brendan 2006-04-18 18:30:50 +00:00
mrbkap%gmail.com
a9e8f95b55 Use the right object constructors. bug 334024, r=brendan 2006-04-18 18:12:53 +00:00
igor%mir2.org
624cae247a Bug 331598: The tail recursion elimination in MarkGCThingChildren is simplified.r=brendan 2006-04-18 07:25:37 +00:00
bclary%bclary.com
a3d034cd75 Remove regression test for bug 322177 since it is WONTFIX 2006-04-18 06:38:55 +00:00
brendan%mozilla.org
f423f359b1 Random trailing space search. 2006-04-18 04:41:24 +00:00
brendan%mozilla.org
10cbbda3cf Patch from Feng Qian <feng.qian.moz@gmail.com> with assist from Igor, based on ancient patch from me, to factor per-thread state from JSContext into JSThread to support per-thread lock-free GC allocation (312238, r=me). 2006-04-18 01:41:54 +00:00
mrbkap%gmail.com
2d7096065f Fix use of uninitialized fp. 2006-04-18 01:34:38 +00:00
mrbkap%gmail.com
e343a97818 Fix off-by-one error while parsing control escape sequences. bug 334158, patch by Andreas <mqmq87@web.de>, r=mrbkap 2006-04-18 00:10:27 +00:00
mrbkap%gmail.com
45f0829287 Split out construction code from the interpreter proper and share it between the js_Interpret and a new Narcissus-only function on Function.prototype (__applyConstructor__). This allows Narcissus to call a native constructor with an array of arguments, like Function.prototype.apply. bug 331429, r=brendan 2006-04-17 23:36:31 +00:00
dbaron%dbaron.org
849f97dd03 Fix mismatched allocators. b=334162 r+sr=jst 2006-04-17 23:03:51 +00:00
brendan%mozilla.org
66aaeb15a5 Fix int constant precedent (333541, r=mrbkap). 2006-04-16 05:10:10 +00:00
brendan%mozilla.org
33af4e7a97 Add exec-time ecmaStrictMode flag and use it to allow 'for (i in null)' and the like. 2006-04-15 05:02:08 +00:00
mrbkap%gmail.com
3fda3a292b -- Allow the DOM script object factory to turn XPConnect return values into proper nsIException objects.
-- Make nsDOMClassInfo::ThrowJSException never throw null as an exception.
-- Make XPCException::ToString grab the description of the result as well as the name.

r+sr=jst
2006-04-15 00:37:51 +00:00
mrbkap%gmail.com
ee5ae83517 Only avoid calling toObject when v is null. bug 333911, r=brendan 2006-04-14 18:14:43 +00:00
mrbkap%gmail.com
cde0d2439f Don't throw when given |for (i in null)| to match SpiderMonkey and to match users' expectations. bug 333911, r=brendan 2006-04-13 22:49:56 +00:00
bclary%bclary.com
15b95f62a1 JavaScript Test Library - Regression test for bug 327534, by Jesse Ruderman 2006-04-11 18:36:46 +00:00
bclary%bclary.com
4c6955719e JavaScript Test Library - Regression test for bug 331664, by Brendan Eich 2006-04-11 18:29:29 +00:00
bclary%bclary.com
b27ebeec48 JavaScript Test Library - Regression test for bug 332472, by Wladimir Palant 2006-04-11 18:18:11 +00:00
bclary%bclary.com
b185ee48c3 JavaScript Test Library - regression test for bug 328443, by Jesse Ruderman 2006-04-11 18:04:48 +00:00
bclary%bclary.com
49530f6507 JavaScript Test Library - Regression test for bug 330812, by Igor Bukanov 2006-04-11 17:53:02 +00:00
bclary%bclary.com
3eac92ea2b JavaScript Test Library - Regression test for bug 328664, by Hermecz Vajk 2006-04-11 17:42:02 +00:00
bclary%bclary.com
46def5be45 JavaScript Test Library - tweak section 6 to not depend on whitespace settings, no bug, not part of the build 2006-04-11 17:05:14 +00:00
jst%mozilla.jstenback.com
f4f7012c0b Fixing bug 321299. Make sure XPConnect wrappers get properly reparented when moving nodes from document to document. r=mrbkap@gmail.com, sr=bzbarsky@mit.edu 2006-04-11 03:49:44 +00:00
mrbkap%gmail.com
7970a7888a Try fixing bug 326497 again, this time allowing DOM constructors to be wrapped in cross-domain settings, since some of them can be used (e.g., Location). r+sr=jst for the DOM bits, r=brendan sr=shaver for the XPConnect bits. 2006-04-10 21:40:28 +00:00
brendan%mozilla.org
2c653c4861 Duh... (333398, r=mrbkap). 2006-04-10 05:35:12 +00:00
silver%warwickcompsoc.co.uk
a7f77479db Bug 332514 - Don't allow null argument to Sandbox constructor. r=brendan sr=jst 2006-04-08 22:04:40 +00:00
bclary%bclary.com
95ccbc1e1d Update JS_GetImplementationVersion() date string (bug 67111, r=brendan) 2006-04-07 16:04:45 +00:00
bclary%bclary.com
dc0d9ca6bf jsDriver.pl - add new options (-K|--linefail)(-T|--timeout) seconds, (bug 331478, r=mrbkap) 2006-04-07 15:58:32 +00:00
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
bclary%bclary.com
410c7162e5 Regression test for bug 329530, by Erik Fabert 2006-03-20 19:55:22 +00:00
bclary%bclary.com
0e5f054b05 Regression test for bug 330976, by Blake Kaplan 2006-03-20 19:05:49 +00:00
bclary%bclary.com
4b20c14c15 Regression test for bug 330951, by Pawel Chmielowski 2006-03-20 00:40:45 +00:00
dbaron%dbaron.org
4a829838f0 Use __builtin_frame_address instead of setjmp to get the frame pointer. b=323853 r=brendan 2006-03-19 01:27:17 +00:00
igor%mir2.org
cdc28d9089 Bug 330951: Patch from Pawel Chmielowski to fix a regression that I introduced in bug 311515. 2006-03-18 23:36:04 +00:00
igor%mir2.org
a254e22506 Bug 330951: Asserting that string arguments str1 and str2 arguments are not NULLs in js_CompareStrings and js_EqualStrings.
Previously passing str1 and str2 set to NULL did not crash as str1 and str2 compared equals as pointers and the functions returned true without accessing *str1 or *str2. In turn it allowed for the regression from bug 311515 causing this bug to survive much longer then it should. r=brendan.
2006-03-18 23:29:15 +00:00
igor%mir2.org
14a2473a5d Bug 330812: In array_sort clear only those elements of temporary vector that
would be included in the rooted set. It provides better performance for huge
mostly spare arrays. r=mrbkap
2006-03-17 22:09:46 +00:00
nboyd%atg.com
e61b68c185 Add another user. 2006-03-17 16:16:29 +00:00
igor%mir2.org
5f57130e34 Bug 311515: Fixing misspellings in comments from the previous commit. 2006-03-16 08:04:28 +00:00
igor%mir2.org
cba34b6b55 Bug 311515: array_sort sorts undefined value and holes via counting them as according to the Ecma standard holes are bigger then undefined values which are bigger then anything else. This allows to simplify sort_compare and shrink jsarray.c code while making sorting of spare arrays faster. r=mrbkap 2006-03-15 20:49:09 +00:00
igor%mir2.org
6f1486e3be Bug 328664: In js_DecompileValueGenerator search the stack for the value to decompile from the top to bottom to pick up the copy and corresponding code that was pushed to the stack most recently. r=brendan 2006-03-15 16:44:24 +00:00
daumling%adobe.com
d5cca305bd Bug 330169: Replaced early exits in ParseNodeToXML() with a jump to skip_child so js_LeaveLocalRootScope() can be called correctly. r=mrbkap 2006-03-15 09:23:36 +00:00
bryner%brianryner.com
4cd1e2b280 Remove dependency on nsIClassInfo.h from nsISupports.h (bug 330420). This adds a new nsIClassInfoImpl.h file which can be included to get the CI implementation macros. Also, removes unneeded inclusion of nsIProgrammingLanguage.h from nsIClassInfo.h. r=darin. 2006-03-15 04:59:42 +00:00
timeless%mozdev.org
25c4968b91 Bug 329530 Out of memory crash when calling fn.toString where fn is a deeply nested function
patch by jerfa@email.it r=brendan
2006-03-13 17:00:18 +00:00
bclary%bclary.com
64a948ecc8 Regression test for bug 301574, fix by shutdown 2006-03-13 02:45:26 +00:00
timeless%mozdev.org
718a68e83c Bug 330098 XPCCallContext::~XPCCallContext is still wiping out newborn roots causing crashes under [@ js_FinalizeObject] because AllocSlots is calling gc and causing its caller (js_NewObject)'s obj to be destroyed before it's stable
r=mrbkap sr=bz
2006-03-13 00:24:06 +00:00
timeless%mozdev.org
a74aa18941 Bug 326961 JS_BeginRequest should JS_ASSERT(cx->thread == js_GetCurrentThreadId())
r=brendan r=mrbkap
2006-03-12 09:38:06 +00:00
timeless%mozdev.org
376cbca96e Bug 329749 Did JS_SealObject mean to call JS_UNLOCK_OBJ instead of JS_UNLOCK_SCOPE ?
r=brendan
2006-03-12 09:35:52 +00:00
mrbkap%gmail.com
390716870f VC8 doesn't like the copyright sign in jscompat.h. Issue found by jshin, bug 328589, r=gerv/mrbkap 2006-03-11 04:05:13 +00:00
mrbkap%gmail.com
68ad7cb404 Use __declspec(dllexport/dllimport) on OS/2. Patch from Andy Willis <abwillis1@gmail.com>, bug 301064, r=mrbkap 2006-03-11 01:35:21 +00:00
timeless%mozdev.org
e0b0545c82 Bug 329754 three coverity complaints about jsj_JSObject.c
r=mrbkap sr=bz
2006-03-10 20:44:48 +00:00
timeless%mozdev.org
01f774de17 Bug 330000 Coverity complains that simple_name can not be null in the loop in pre_define_java_packages
r=mrbkap sr=bz
2006-03-10 19:05:19 +00:00
timeless%mozdev.org
1f363c2e7a Bug 329870 Coverity complains that jsj_EnterJava uselessly null checks envp
r=mrbkap sr=bz
2006-03-10 01:06:06 +00:00
timeless%mozdev.org
29d9267216 Bug 329879 Coverity complains that QName null checks argv after asserting it can't be null
r=brendan
2006-03-09 23:59:40 +00:00
timeless%mozdev.org
eabbe1a513 Bug 329877 Coverity complains that js_ErrorToException dereferences reportp before null checking
r=brendan
2006-03-09 23:58:35 +00:00
igor%mir2.org
9ed4227b6b Bug 328896: Cleanup of tail recursion elimination for MarkGCThing/MARK_GC_THING from jsgc.c. r=brendan 2006-03-09 06:57:01 +00:00
timeless%mozdev.org
6e915855cc Bug 329752 Coverity complains that Statement missed one null check of NewParseNode
r=brendan
2006-03-08 17:17:43 +00:00
timeless%mozdev.org
f33a8fbf21 Bug 329751 Coverity doesn't think obj_eval should null check caller->pc
r=brendan
2006-03-08 17:15:29 +00:00
timeless%mozdev.org
5287fd9a7d Bug 329727 Coverity doesn't like ReportError in jscntxt because it pretends reportp could be null
r=mrbkap
2006-03-08 06:16:33 +00:00
bclary%bclary.com
d9589981d2 Regression test for bug 329383, by Brendan Eich 2006-03-07 23:50:49 +00:00
brendan%mozilla.org
61309696b5 Work around MSVC6/7.1 copysign bustage (329383, tachyonal r=mrbkap). 2006-03-06 01:32:55 +00:00
brendan%mozilla.org
ff5c26ae8b No C++ comments in C code. 2006-03-04 20:44:38 +00:00
mrbkap%gmail.com
17ad69885b Use libm, not fdlibm, on all/most platforms. bug 326842, patch from Josh Aas, r=brendan/shaver 2006-03-04 03:58:55 +00:00
daumling%adobe.com
d5368ac242 Bug 232182: Backed out bad fix causing leaks 2006-03-03 07:03:53 +00:00
bclary%bclary.com
a6660394f9 Regression test for bug 325925, by Blake Kaplan 2006-03-03 05:59:24 +00:00
bclary%bclary.com
e86dd357ac Regression test for bug 328556, by Jesse Ruderman. No bug, not part of the build 2006-03-03 05:53:30 +00:00
bclary%bclary.com
ae1db527de Regression test for bug 327608, make sure to call reportCompare in the onload handler 2006-03-02 22:33:28 +00:00
bclary%bclary.com
097f458033 Regression test for bug 254296 - tweak reportCompare, no bug not part of the build 2006-03-02 22:30:31 +00:00
bclary%bclary.com
f09f68d0c2 Regression Test for bug 324422, correct syntax error, no bug, not part of the build 2006-03-02 22:07:10 +00:00
bclary%bclary.com
9aff67fad1 Regression Test for bug 323338 - add missing TEST(), no bug, not part of the build 2006-03-02 22:05:18 +00:00
bclary%bclary.com
2431d2fe01 JavaScript Test Library - improve basic gc emulation when other method are unavailable, thanks to Igor Bukanov. no bug, not part of the build 2006-03-02 22:00:11 +00:00
brendan%mozilla.org
9875e92b3a Finish separating gcMaxMallocBytes, account for scope hashtables in gcMallocBytes (319980, r/sr=mrbkap/bz). 2006-03-02 20:47:04 +00:00
brendan%mozilla.org
060e4a57c2 Fast followup to allow arbitrary nesting (328897, r=mrbkap). 2006-03-02 20:05:49 +00:00
brendan%mozilla.org
e18de632ae Fix JS_ReportPendingException to when cx has active frames (328897, r=mrbkap). 2006-03-02 20:00:47 +00:00
brendan%mozilla.org
e2a19648cc Never mind. 2006-03-01 20:37:43 +00:00
brendan%mozilla.org
297ef45fb3 Need another auto-mark thingie (326615, r=mrbkap). 2006-03-01 20:34:49 +00:00
neil%parkwaycc.co.uk
6b3d137802 Followup patch to bug 207327 to move the "service" string from the name to the value of the category entry where it is interpreted to belong r=timeless sr=bz 2006-02-28 17:36:58 +00:00
brendan%mozilla.org
ec5bd67e2b Local auto-marker needed (326615, r=mrbkap). 2006-02-28 07:41:01 +00:00
mrbkap%gmail.com
09b149ed2f Flatten before ever reaching CheckCycle, since the way things currently are, it could receive lists of arbitrary length. bug 328769, r=brendan 2006-02-27 20:33:56 +00:00
mrbkap%gmail.com
4500ca30ad Don't optimize globals access in eval and debugger frames. bug 328765, r=brendan 2006-02-27 20:23:04 +00:00
mrbkap%gmail.com
86ab12560e Inspect the correct position in our input stream. bug 325925, r=brendan 2006-02-27 19:14:15 +00:00
igor%mir2.org
1b5685357f Bug 328556: Proper accounting for growth in array_join_sub when reallocating
chars array. r=mrbkap
2006-02-27 17:32:22 +00:00
timeless%mozdev.org
552ca722ee Bug 327605 [@ JSD_GetContextFlags - jsdService::GetFlags]
r=rginda
2006-02-27 04:17:08 +00:00
bclary%bclary.com
5756f43ba9 Regression test for bug 328249, by Jesse Ruderman 2006-02-26 08:49:46 +00:00
bclary%bclary.com
80ce31944f Regression test for bug 327897, by Jesse Ruderman 2006-02-26 08:30:54 +00:00
bclary%bclary.com
1bdeb3fb93 Regression test for bug 327697, by Jesse Ruderman 2006-02-26 08:17:21 +00:00
bclary%bclary.com
8dc377f8b0 Regression test for bug 327608, by Jesse Ruderman 2006-02-26 08:00:53 +00:00
bclary%bclary.com
ba91f8794b Regression test for bug 327564, by Jesse Ruderman, Brendan Eich 2006-02-26 07:50:53 +00:00
bclary%bclary.com
9b11a71259 Regression test for bug 326467, by Alex Vincent, Blake Kaplan 2006-02-26 07:37:01 +00:00
brendan%mozilla.org
d57b325123 Back out last checkin pending better fix (327869). 2006-02-24 23:18:05 +00:00
mrbkap%gmail.com
fd12db55c4 Clean up a bracing nitpick. 2006-02-24 22:12:32 +00:00
benjamin%smedbergs.us
09d9e206b4 Bug 78081 - don't export intermediate libs, initial tree-wide changes blanket-r=mento 2006-02-24 17:50:29 +00:00
daumling%adobe.com
23dac53a6f Bug 327869: Implement brute-force fix for Windows strftime() 2006-02-24 03:37:46 +00:00
daumling%adobe.com
663a0df9ff Bug 328373: Create local variable and copy value to suppress compiler warning 2006-02-24 03:29:57 +00:00
mrbkap%gmail.com
19da7e1561 Detect cycles even when we're inserting a degenerate list of length 1. bug 328249, r=brendan 2006-02-23 23:00:23 +00:00
mrbkap%gmail.com
e9c0b72378 Don't wrap E4X values in XPCWrappedJS since E4X objects have weird semantics, which cause us trouble both elsewhere in XPConnect, and even in the DOM code. bug 327697, r=brendan sr=shaver 2006-02-23 22:21:08 +00:00
igor%mir2.org
032597fa19 Bug 328294: After enumeration that removes hashtable entries,
the hashtable is shrinked only once. r=brendan
2006-02-23 22:20:27 +00:00
igor%mir2.org
11e703be51 Bug 328106: Removal of HT_ENUMERATE_UNHASH. Its implementation had a bug
for 11 years which is a good demonstration that it has never been used.
2006-02-23 10:11:17 +00:00
timeless%mozdev.org
1ce5986f6b Bug 106386 Correct misspellings in source code
r=bernd rs=brendan
2006-02-23 09:36:43 +00:00
mrbkap%gmail.com
80e9555b10 Propagate the proper fp, fun, and variables object to special frames so as to not confuse the optimizer and split the common code that does this into a common function from the 3 places that currently do it. r=brendan 2006-02-23 02:17:04 +00:00
brendan%mozilla.org
ee6e1f5b38 Fix botch in JS_InitClass that passed several rounds of code review. 2006-02-22 23:03:37 +00:00
mrbkap%gmail.com
19d24e194f The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:58:31 +00:00
mrbkap%gmail.com
6506658eb0 The end request needs to happen before the context gets destroyed -- use C++ to ensure that. bug 328044, r+sr=brendan 2006-02-22 19:48:45 +00:00
brendan%mozilla.org
a41ae51dbd Fix an initially hard-to-see bug reported by daumling@adobe.com, plus another one mentioned by mrbkap (327941, r=mrbkap). 2006-02-22 06:09:09 +00:00
brendan%mozilla.org
e0a72c8d75 Separate gcMaxBytes from gcMaxMallocBytes and unconstrain the former for Mozilla code (317865, r/sr=mrbkap/shaver). 2006-02-22 05:52:13 +00:00
mrbkap%gmail.com
e5f4ae3a79 Don't assume that JS_ValueToString is infallible. bug 327897, r=brendan 2006-02-22 03:51:09 +00:00
mrbkap%gmail.com
20f04c4bc5 If the wrapper has no prototype, but we have a proto, then it can't be our target wrapper, so skip it. bug 327597, r=jst sr=bzbarsky 2006-02-22 03:48:33 +00:00
brendan%mozilla.org
98294403d3 Fixed typo that left JS_CallFunctionName returning true always, not ok (328037, r=mrbkap). 2006-02-22 03:06:00 +00:00
mrbkap%gmail.com
18fbdccf2c If the this object in a call is not an XPCNativeWrapper, ignore the call instead of crashing. bug 327686, r=brendan sr=bzbarsky 2006-02-22 02:25:24 +00:00
dbaron%dbaron.org
e7d4c69c47 Root new function objects before calling JS_SetReservedSlot on them. b=307560 r=brendan sr=jst 2006-02-22 00:50:47 +00:00
dbaron%dbaron.org
37ba66391b Root cloned function object before calling WrapFunction on it. b=327716 r=jst sr=brendan 2006-02-22 00:49:55 +00:00
mrbkap%gmail.com
39ffe32d28 Support ppc<->x86 cross builds for Mac OS X. bug 322578, patch from Mark Mentovai <mark@moxienet.com>, r=bsmedberg r=cls sr=bryner 2006-02-21 22:03:20 +00:00
igor%mir2.org
75fa05d813 Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC >=3.4 use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-21 11:28:28 +00:00
igor%mir2.org
8918b3bb16 Bug 327896: JS_STATIC_ASSERT is now used to assert constant conditions during compilation time instead of waiting for runtime to check for JS_ASSERT. r=brendan 2006-02-21 10:27:50 +00:00
igor%mir2.org
b0dd4155c8 Bug 327129: Reverting the previous commit as it broke GCC builds of
firefox.
2006-02-20 10:12:03 +00:00
igor%mir2.org
1f804796e0 Bug 327129: To calculate ceil(log2(n))/floor(log2(n)) under GCC use
__builtin_clz or count-leading-zeros. r=brendan
2006-02-20 08:57:53 +00:00
daumling%adobe.com
c706f9b353 Bug 232182: Added copying of Unicode elements in js_ExpandErrorArguments() 2006-02-20 07:44:25 +00:00
daumling%adobe.com
2d90931631 Bug 318402: Replaced JS_STRINGS_ARE_UTF* with JS_C_STRING_ARE_UTF8 2006-02-19 17:52:56 +00:00
daumling%adobe.com
906d696d79 Bug 315974: JSprintf functions cannot print jschar characters and strings 2006-02-18 07:13:16 +00:00
daumling%adobe.com
3b13b7c632 Bug 326201: Added build rule for jskwgen.o/.obj 2006-02-18 06:33:31 +00:00
mrbkap%gmail.com
7a993a2c0c We won't always find the prototype property, especially if our __proto__ has been cut off. bug 327608, r=brendan 2006-02-18 03:02:32 +00:00
mrbkap%gmail.com
736fd2d205 Protect the sandbox object from GC and make the sandbox code request-safe. bug 265740, r=brendan sr=jst 2006-02-18 03:00:33 +00:00
mrbkap%gmail.com
d1a1bae1b7 Make toString mirror GetOrSetProperty in how it gets wrapped object's toString function. bug 323367, r=bzbarsky sr=jst 2006-02-18 00:11:32 +00:00
brendan%mozilla.org
7f1c18fda8 Fix duplicate kid overwrite case that avoided cycle detection (327564, r=mrbkap). 2006-02-17 21:40:04 +00:00
bclary%bclary.com
5659c2fa63 Regression test for ecma 15.1.2.7, fix bug number 2006-02-15 19:45:05 +00:00
bclary%bclary.com
f56d10f5fb Regression test for ecma 15.1.2.6, fix bug number 2006-02-15 19:08:31 +00:00
bclary%bclary.com
d19497f20e Regression test for ecma 15.1.2.3, fix bug number 2006-02-15 19:06:33 +00:00
bclary%bclary.com
4938de809d Regresion test for ecma 15.1.2.2, fix bug number 2006-02-15 19:04:00 +00:00
bclary%bclary.com
8b54aed7db Regresion test for ecma 15.1.2.1, fix bug number 2006-02-15 19:01:28 +00:00
bclary%bclary.com
f9b4f7509f Regression test for bug 324688, fix Components detection 2006-02-15 18:39:16 +00:00
mrbkap%gmail.com
fcbfb05deb Hold a reference to the regexp that we're using so that it doesn't go away. bug 327170, r=brendan 2006-02-15 01:24:32 +00:00
igor%mir2.org
6997c32ab1 BUG 321985: During xdr decoding of atoms avoid creation of JSString for
the already existing atoms. r=brendan
2006-02-14 09:33:45 +00:00
bclary%bclary.com
d4bb17e77b Regression test for bug 259935, by Steve Chapel 2006-02-14 02:54:28 +00:00
bclary%bclary.com
a964b51428 Regression test for bug 317476, by Seno Aiko 2006-02-14 02:20:14 +00:00
bclary%bclary.com
16db3f592e Regression test for bug 314401, by moz_bug_r_a4 2006-02-14 02:03:56 +00:00
bclary%bclary.com
4a7343bb1d Regression test for bug 323314, by Brendan Eich 2006-02-14 01:34:48 +00:00
timeless%mozdev.org
f0863494a2 Bug 326985 jsinterp.c(975) : warning C4013: 'OBJECT_IS_XML' undefined; assuming extern returning int
r=mrbkap
2006-02-14 00:20:44 +00:00
bclary%bclary.com
d837f008a7 Regression test for bug 324422, by Doug Wright 2006-02-13 21:32:20 +00:00
bclary%bclary.com
a5c8ab56bd Regression test for bug 323338 by Franky Braem and Seno Aiko 2006-02-13 20:34:51 +00:00
bclary%bclary.com
d0e6b87612 Regression test for bug 324688, by Nickolay Ponomarev 2006-02-13 20:19:54 +00:00
bclary%bclary.com
2620be285b Regression test for bug 326453, by Blake Kaplan 2006-02-12 07:31:21 +00:00
timeless%mozdev.org
c0e04c1600 Bug 326223 JS_PARANOID_REQUEST dies in spidermonkey (JS_NewContext)
r=brendan
2006-02-09 08:14:29 +00:00
timeless%mozdev.org
77a7ffbc90 Bug 293881 add version to jsshell build() if JS_VERSION < 150
r=mrbkap
2006-02-09 06:03:38 +00:00
timeless%mozdev.org
d8a7648921 Bug 325780 refactor debug_brendan/debug_notme
r=shaver
2006-02-09 06:02:02 +00:00
timeless%mozdev.org
27bc7e1293 Bug 326223 JS_PARANOID_REQUEST dies in spidermonkey (JS_NewContext)
r=brendan
2006-02-09 05:51:16 +00:00
timeless%mozdev.org
b60caedd4a Bug 266208 [@ js_PCToLineNumber] because of crash due to infinite recursion
r=rginda sr=brendan
2006-02-09 05:47:55 +00:00
brendan%mozilla.org
df5adab66e Fix JSOP_CLOSURE failure to set todo to do-nothing value (326453, r=mrbkap). 2006-02-08 20:53:37 +00:00
brendan%mozilla.org
e013bbc92a Another followup fix. 2006-02-07 21:53:54 +00:00
brendan%mozilla.org
2f4f8e46e8 Better followup fix for 325960 (r=mrbkap). 2006-02-07 21:50:47 +00:00
mrbkap%gmail.com
5c97348f90 Initialize the new frame's pc as well. Followup patch for bug 325960, r=shaver 2006-02-07 21:37:26 +00:00
mrbkap%gmail.com
7d72129844 Protect js_ConstructObject callers from gc hazards and some other stuff. bug 325425, r=igor sr=brendan 2006-02-07 20:09:53 +00:00
brendan%mozilla.org
5f4afe36c2 Avoid nesting js_Interpret for heavyweight and other hard-case interpreted function calls (325960, r=mrbkap). 2006-02-07 19:51:29 +00:00
brendan%mozilla.org
961761ffa1 Long-missing wait for GC supplied by Michael Daumling <daumling@adobe.com> (325521, r=me). 2006-02-07 08:25:23 +00:00
mrbkap%gmail.com
2650e3af17 Don't make bad assumptions about finding properties. Mutable proto chains combining with cloned function objects can cause properties to not actually be found. bug 319683, r=brendan 2006-02-07 02:05:52 +00:00
brendan%mozilla.org
cbe1f60bee Fix misnamed formal parameter glitch. 2006-02-05 04:15:22 +00:00
bclary%bclary.com
e4bb03723d Regression test for bug 325750, by Biju 2006-02-03 16:24:00 +00:00
bclary%bclary.com
7845a43e15 rename incorrectly named tests for section E4X ECMA 357 11.1.4, no bug, not part of the build 2006-02-03 16:22:06 +00:00
cbiesinger%web.de
c2d981f764 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
szegedia%freemail.hu
6fe4ed788a Fix for bug #323054: nonexisting optional standard objects like XML don't cause ObjectOutputStream to throw an exception anymore. 2006-02-03 11:47:20 +00:00
szegedia%freemail.hu
21116c4e55 Fix for bug #323054: nonexisting optional standard objects like XML don't cause ObjectOutputStream to throw an exception anymore. 2006-02-03 11:07:32 +00:00
mrbkap%gmail.com
6960e8d82b If a function becomes heavyweight in the middle of an inline call, remember to pop the call object when it returns. bug 325540, r=brendan 2006-02-03 01:19:31 +00:00
brendan%mozilla.org
3cdb5fa370 Arghhhhhh. 2006-02-02 19:55:20 +00:00
brendan%mozilla.org
44d4de8561 Add purely stack allocated rooting facility (325269, r=igor). 2006-02-02 06:46:32 +00:00
bclary%bclary.com
e2e8ff0a12 Rename regress-234389-n.js back to regress-234389.js, no bug, not part of the build 2006-02-01 07:42:00 +00:00
mrbkap%gmail.com
877666903d Fix a stupid mistake where an error return would cause us to not destroy a script. no bug, r=brendan 2006-02-01 03:18:17 +00:00
mrbkap%gmail.com
ca26119a70 Actually fill the setting cache when we get boolean properties. bug 324688, r=brendan 2006-02-01 00:25:50 +00:00
brendan%mozilla.org
7fa34ea903 Fix foo += bar for undefined foo to throw, not bind foo to undefined (321757, r=mrbkap). 2006-01-31 20:53:30 +00:00
pavlov%pavlov.net
b214f64899 attempt to fix vc6 build bustage 2006-01-31 03:33:02 +00:00
jst%mozilla.jstenback.com
390dd19a05 Landing fix for bug 323156. XPCDispConvert::JSArrayToCOMArray does not convert empty arrays correctly. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org 2006-01-31 01:47:01 +00:00
jst%mozilla.jstenback.com
8ae6b9d703 Landing fix for bug 310102. XPCDispTearOff::Invoke() processes DISPARAMS in wrong direction. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org 2006-01-31 01:40:54 +00:00
jst%mozilla.jstenback.com
4175562ab2 Landing fix for bug 310097. XPCDispConvert will not convert SAFEARRAY of VARIANT. Patch by gdavis@nsisoftware.com, r=dbradley@gmail.com, sr=jst@mozilla.org 2006-01-31 01:38:52 +00:00
igor%mir2.org
16694bbe3b Bug 322772: Replacing js_CompareStrings by js_EqualStrings in implementation
of "==", "!=", "===" and "!==". r=brendan r=mrbkap
2006-01-30 05:58:17 +00:00
mrbkap%gmail.com
3673fdffdd Braces and style patrol (no bug, implicit-r=brendan) 2006-01-28 01:27:33 +00:00
brendan%mozilla.org
0e7b56bdb0 Fix span-dependent instruction selection to work with incremental compilation (324650, r=mrbkap). 2006-01-26 21:05:40 +00:00
igor%mir2.org
ce556a47ef Bug 319719: The previous commit still managed to break builds on Unix-like
systems where PATH does not include ".". The fix is to explicitly prefix
with ./ the command to execute.
2006-01-26 10:32:50 +00:00
igor%mir2.org
581ca02192 Bug 319719: JS scanner checks for keywords using pregenerated C source
avoiding the cost of atomizing keyword strings. This is an updated version
of the previous rather bad commit to address Makefile issues. r=brendan
2006-01-26 08:47:51 +00:00
igor%mir2.org
7be74bd85e Bug 322772: I added js_EqualStrings which is a faster version of
js_CompareStrings when testing only for string equality. r=brendan
2006-01-26 08:01:54 +00:00
brendan%mozilla.org
6f9022b8dc Add JS_LeaveLocalRootScopeWithResult API (324592, r=mrbkap). 2006-01-26 07:19:25 +00:00
mrbkap%gmail.com
dc17d38af4 bug 324694: Reparameterize js_CheckPrincipalsAccess to avoid eager calls to js_AtomToPrintableString. r=brendan 2006-01-25 22:54:34 +00:00
mrbkap%gmail.com
19ac043c95 bug 323501: Having a scripted caller is important. r=brendan 2006-01-25 19:53:14 +00:00
mrbkap%gmail.com
f2e995bf4e bug 324422: Protect things from being garbage collected out from under us. r=brendan 2006-01-25 02:27:59 +00:00
mrbkap%gmail.com
dc8debf170 bug 323979: Check the correct parse node for arity. r=shaver 2006-01-25 00:23:00 +00:00
igor%mir2.org
162c50fae7 Bug 291003: fdlibm no longer used on Linux as recent C library there do
the job on its own. r=shaver
2006-01-24 21:40:12 +00:00
mark%moxienet.com
18681d809c 323337 Use fastcall on Mac OS X x86: __attribute__(regparm(3)). r=josh 2006-01-23 20:11:08 +00:00
igor%mir2.org
cdf0f2bfd1 Reverting commit for bug 319719: Makefile changes broke too much builds. 2006-01-22 21:08:05 +00:00
brendan%mozilla.org
186da35074 Attempt to fix Windows bustage. 2006-01-22 06:56:34 +00:00
igor%mir2.org
a755447074 Bug 319719: JS scanner checks for keywords using pregenerated C source
avoiding the cost of atomizing keyword strings. r=brendan
2006-01-22 01:14:20 +00:00
brendan%mozilla.org
919e2c19c7 Fix comment glitches. 2006-01-21 15:54:13 +00:00
brendan%mozilla.org
c22d539f90 Fix DEBUG_brendan code to track Igor's change. 2006-01-20 21:37:45 +00:00
mrbkap%gmail.com
0f54694d49 Make this file vim-friendly. 2006-01-19 01:00:49 +00:00
igor%mir2.org
f3ed9ece6b Bug 323765: VarPrefix is thread-safe now. r=brendan 2006-01-18 11:17:21 +00:00
mrbkap%gmail.com
5ea1608db4 bug 319872: Don't free the sentinal value. r=brendan 2006-01-18 02:22:55 +00:00
shaver%mozilla.org
6b682d8476 Bug 321021: Add option to preserve exceptions thrown from outermost frames,
rather than convert to error reports.  r=mrbkap, sr=brendan.
2006-01-18 00:29:35 +00:00
igor%mir2.org
1dd2a80816 Bug 294499: GC directly calls malloc instead of using JSArena for paged
allocation to avoid overhead of arena headers that GC does not use. r=brendan
2006-01-17 01:26:35 +00:00
brendan%mozilla.org
76676f8d41 Remove bogus arena-pool alignment parameters (323529, r=igor). 2006-01-15 21:57:26 +00:00
brendan%mozilla.org
6b2687cd65 Fix uintN/size_t 64-bit hazards (323510, r=daumling). 2006-01-15 17:52:42 +00:00
brendan%mozilla.org
15e8ed8136 Update DUMP_CALL_TABLE (NPOTB) code to track 322001. 2006-01-14 17:49:58 +00:00
igor%mir2.org
9bb7bef927 Fixing bug 323267:
Sweep script's filenames after the main GC sweep loop so the filenames are
still available for a destroy script hook. r=brendan
2006-01-14 02:30:49 +00:00
brendan%mozilla.org
8def00c88a Add missing null check (323338, r=mrbkap). 2006-01-14 01:09:42 +00:00
brendan%mozilla.org
8ada639a87 Fix errors that were JSEXN_NONE to have a valid exception type, so that they can be thrown by default (e.g., strict warnings with the werror option set as well as strict; 323314, r=mrbkap). 2006-01-13 22:20:30 +00:00
bob%bclary.com
ae5466f096 JS Test Library - handle global object toString containing address in debug builds 2006-01-13 19:50:49 +00:00
bob%bclary.com
a5c6dd653b JS Test Library - whitespace fixes 2006-01-13 19:47:27 +00:00
bob%bclary.com
aad9bef095 JS Test Library - add calls to collect garbage after test completed 2006-01-13 19:45:55 +00:00
bob%bclary.com
1115ebbc97 JS Test Library - update make file for tests, remove make macros 2006-01-13 19:44:20 +00:00
bob%bclary.com
83d0c13b75 JS Test Library - properly escape embedded tags in output to browser windows, add call to actual GC from the JSDebugger service 2006-01-13 19:26:59 +00:00
bob%bclary.com
93fce770be JS Test Library - move regression test for bug 309242 from js1_6 to js1_5 since it requires that e4x not be explicitly turned on, bug 309242 2006-01-13 19:20:34 +00:00
bob%bclary.com
98d595c8f1 JS Test Library - fix test suite counts in menu.html, no bug, not part of the build. 2006-01-13 16:40:00 +00:00
bob%bclary.com
6cf6cd7ec2 Regression test for bug 322430 2006-01-13 16:25:56 +00:00
bob%bclary.com
e36b8a8e51 JS Test Library - make sure JavaScriptOptions has the appropriate permission, no bug, not part of the build 2006-01-13 16:23:39 +00:00
bob%bclary.com
fd437cd2c7 Regression test for bug 322836 2006-01-13 14:32:01 +00:00
bob%bclary.com
f51470f8d7 Regression test for bug 321547, by Biju 2006-01-13 11:14:34 +00:00
bob%bclary.com
2575a92058 Correct regression test for bug 321874 2006-01-12 20:52:44 +00:00
bob%bclary.com
c6e8b2d257 Regression test for bug 321874, by Yuh-Ruey Chen, Brendan Eich 2006-01-12 19:58:56 +00:00
bob%bclary.com
7a33b91acf Regression test for bug 321971, by Brendan Eich 2006-01-12 18:35:41 +00:00
bob%bclary.com
951f819ce0 Regression test for bug 322177, by Jesse Ruderman 2006-01-12 18:27:08 +00:00
bob%bclary.com
d3959aaebc Regression test for bug 322499, by Brendan Eich 2006-01-12 17:00:53 +00:00
bob%bclary.com
b635faf7c5 Regression test for bug 322772 2006-01-12 16:47:16 +00:00
bob%bclary.com
dbe0af71ef Regression test for bug 322957, by Igor Bukanov 2006-01-12 16:35:25 +00:00
bob%bclary.com
39c96a52c6 Regression test for bug 320119, by Jason Barnabe 2006-01-12 10:21:09 +00:00
timeless%mozdev.org
8397d43a6a Bug 106386 Correct misspellings in source code
patch by philippuryear@gmail.com r=timeless rs=brendan
2006-01-12 07:57:31 +00:00
timeless%mozdev.org
afb80273e3 Bug 106386 Correct misspellings in source code
patch by ispiked@gmail.com r=timeless r=rginda
2006-01-12 06:32:57 +00:00
timeless%mozdev.org
db6058784b Bug 320951 ASSERTION: file too large: 'Error', mozJSComponentLoader.cpp line 1084
r=dbradley sr=darin
2006-01-11 08:26:44 +00:00
brendan%mozilla.org
c13b1fee49 80th column policing. 2006-01-11 05:23:29 +00:00
brendan%mozilla.org
920c7d93ed Fix typo in enum tag. 2006-01-11 05:18:30 +00:00
mrbkap%gmail.com
aef4030125 bug 322971: Fix this botched return value. r+sr=shaver 2006-01-10 21:43:17 +00:00
mrbkap%gmail.com
dccb9e4d1e bug 322836: negative lookahead assertions don't always work correctly (when the first op is simple). r=brendan 2006-01-10 18:28:56 +00:00
brendan%mozilla.org
09649658de Remove deprecated with statement usage strict warning (322430, r=shaver). 2006-01-09 20:53:06 +00:00
igor%mir2.org
6d3273e94c Implementing bug 322001:
JSFunction is shrinked via removal of nref field
and moving interreter-only or native-only fields into union. r=brendan
2006-01-09 08:26:26 +00:00
brendan%mozilla.org
a6da68bcef Allow set-call, grouped, and e4x LHS in for-in loop (321874, r=mrbkap). 2006-01-09 05:14:52 +00:00
mrbkap%gmail.com
b694b9110c bug 321522: The sandbox object needs to come from a new context, not the old
context. r=shaver sr=brendan
2006-01-06 22:28:18 +00:00
brendan%mozilla.org
de21c01432 Better GC_MARK_DEBUG code (315783, NPOTB but r=bz). 2006-01-06 06:32:11 +00:00
shaver%mozilla.org
739ee70523 bug 315783: fix GC_MARK_DEBUG crash when marking E4X text nodes, r=mrbkap 2006-01-06 05:28:19 +00:00
brendan%mozilla.org
37762e3c1d Remove e4x singleton entrainment hazards and hide naked * as value (322499, r=mrbkap). 2006-01-06 02:08:35 +00:00
brendan%mozilla.org
4630140dc0 Avoid stupid GCC warning introduced by last checkin. 2006-01-05 20:32:05 +00:00
brendan%mozilla.org
6012ecfa36 Fix up disassembly of 24-bit-immediate formats (DEBUG-only 316862, r=shaver). 2006-01-04 05:53:16 +00:00
brendan%mozilla.org
c925fdd1d4 Fix bindname/setname extension to 24-bit immediate atom index (321971, r=shaver). 2006-01-04 05:42:21 +00:00
bob%bclary.com
136e8d8253 Update template boilerplate for 2006, no bug, not part of the build 2006-01-03 04:16:14 +00:00
bob%bclary.com
c9e314a303 Regression testw fo rbug 322135, by Joaquin Cuenca Abela, Martin Honnen 2006-01-03 03:40:42 +00:00
brendan%mozilla.org
dcde3a8d3b Fix from Igor Bukanov <igor.bukanov@gmail.com> to reorder allocations to avoid pigeon-hole problem (322045, r=me). 2006-01-03 01:41:46 +00:00
gerv%gerv.net
1dca58927a Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-31 12:14:46 +00:00
bob%bclary.com
ef4a583e95 Regression test for bug 319683, by Jan-Klaas Kollhof 2005-12-30 22:26:16 +00:00
bob%bclary.com
92511be465 Regression test for bug 321757, by Joaquin Cuenca Abela, Brendan Eich 2005-12-30 21:58:27 +00:00
joshmoz%gmail.com
9444c564c2 ECMA and C99 specs do not agree on all results for pow(). When using libm for JavaScript math functions, we need to convert libm's differing C99 results to ECMA-compliant results. This change might be all we need to get our libm implementation ECMA compliant, so we can examine moving js math functions over to OS libraries on all platforms. b=320770 r=mento sr=brendan 2005-12-29 20:19:54 +00:00
bob%bclary.com
25181e996b Regression test for bug 253150 2005-12-28 22:09:13 +00:00
bob%bclary.com
5813f8ba72 Correct Regression test for bug 164697, See bug 321669 2005-12-28 06:34:58 +00:00
brendan%mozilla.org
48c8a3daba Fix lvalue=>rvalue handling todo with parenthesization and assignment (320032, r=mrbkap). 2005-12-28 05:36:29 +00:00
bob%bclary.com
d65fad2850 Regression test for bug 188211, by Phil Schwartau 2005-12-28 02:39:35 +00:00
bob%bclary.com
17f05b1ad0 Regression test for bug 176125, by Phil Schwartau 2005-12-28 02:06:20 +00:00
bob%bclary.com
1d8591f027 Regression test for bug 164697 2005-12-28 01:21:09 +00:00
bob%bclary.com
15e5ed7051 Regression test for bug 127243, by Giscard Girard, Brendan Eich 2005-12-27 23:08:06 +00:00
bob%bclary.com
acf3157c3c Regression test for bug 106244, by neil@parkwaycc.co.uk 2005-12-27 22:24:45 +00:00
brendan%mozilla.org
ac177f0bb6 Assertion tweaks to find dropped exceptions (NPOB, 321446). 2005-12-27 06:35:18 +00:00
bob%bclary.com
fdee8e29fc Regression test for bug 315147, by Michael Daumling 2005-12-27 05:10:17 +00:00
brendan%mozilla.org
bdd0cf228c Fix failure to propagate failure in regexp_exec_sub (321446, r=mrbkap). 2005-12-27 02:53:04 +00:00
bob%bclary.com
68de9cc18c Regression test for bug 321549, by Biju 2005-12-27 00:54:42 +00:00
bob%bclary.com
ef4809fb70 Regression test for bug 319391, by gwatmuff, Jesse Ruderman 2005-12-26 21:45:04 +00:00
brendan%mozilla.org
ce850ec47c Fix XML name scanner to allow { after : (321549, r=mrbkap). 2005-12-26 21:21:50 +00:00
bob%bclary.com
c7b2a4e04b Regression test for bug 317714, by Andrew Schultz 2005-12-26 21:05:38 +00:00
bob%bclary.com
7b70e3b99e Regression test for bug 317533, by shutdown 2005-12-26 20:40:17 +00:00
brendan%mozilla.org
15ecc97688 Nit-pick a doubled blank line. 2005-12-24 07:34:16 +00:00
brendan%mozilla.org
f17aecb8ad Respect the sacred 80th column. 2005-12-24 07:03:26 +00:00
bob%bclary.com
a22c7856b7 Regression test for bug 315990, by Jesse Ruderman 2005-12-24 06:49:58 +00:00
bob%bclary.com
6a2f7969e9 Regression test for bug 315436, by Michael Daumling 2005-12-24 06:37:51 +00:00
bob%bclary.com
5b75289252 Regression test for bug 294302, by Alex Russell 2005-12-24 03:26:25 +00:00
shaver%mozilla.org
4b841da7b9 Bug 319490: return in finally should clear pending exceptions. r=mrbkap,
sr=brendan.
2005-12-24 01:09:19 +00:00
bob%bclary.com
b9a9953584 Regression test for regression caused by bug 285219, bug 320172, by shutdown 2005-12-24 01:03:44 +00:00
bob%bclary.com
98c737bbd9 Regression test for bug 320008, by simon 2005-12-23 09:41:59 +00:00
bob%bclary.com
c44877a5bc Regression test for bug 320032, by Brendan Eich 2005-12-23 09:30:45 +00:00
bob%bclary.com
9b98edb552 Regression test for bug 320887, by Blake Kaplan 2005-12-23 09:23:26 +00:00
timeless%mozdev.org
87ecd7816a Bug 301341 make building narcissus w/ Makefile.ref easier
r=mrbkap sr=brendan
2005-12-22 00:12:29 +00:00
brendan%mozilla.org
f608dee739 Fix shared permanent optimization in hasOwnProperty to be confined to a single class of objects (320854, r/sr=mrbkap/shaver). 2005-12-19 21:14:31 +00:00
bob%bclary.com
5b0d3052c6 Regression test for bug 320854, by Brendan Eich, not part of the build 2005-12-19 20:49:02 +00:00
bob%bclary.com
c6d79334bd Regression test for bug 319384, attempt to catch conversion error 2005-12-19 09:18:19 +00:00
mrbkap%gmail.com
cd4f6d4a38 bug 320008: Double-quotes in attributes in constructs parsed by the XML constructor get double-escaped, turning into &amp;quot; r=brendan 2005-12-16 23:02:22 +00:00
brendan%mozilla.org
5dc8159c05 Fix typo pointed out by Gavin. 2005-12-16 22:08:11 +00:00
brendan%mozilla.org
f548d87078 Tricky fix to allow non-ECMA Function.prototype extensions to be readonly except when delegated to from other classes (320119, r/sr=mrbkap/shaver). 2005-12-16 19:32:44 +00:00
mrbkap%gmail.com
3e57ee0c74 Bustage fix from bug 319296. 2005-12-16 02:03:49 +00:00
jst%mozilla.jstenback.com
f80210c06e Fixing bug 319296. This fixes a problem where we could end up in a situation where a nsIXPCScriptable helper would be used for a class info object when the helper is obviously written only for the class described by the class info. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2005-12-16 00:32:15 +00:00
mrbkap%gmail.com
f143012f3e bug 320172: Functions that call eval need to be heavyweight functions so that var declarations in their eval'd string have a varobj to call home. r=brendan 2005-12-15 02:30:16 +00:00
mrbkap%gmail.com
6e2a3be5dd bug 319872: Test for integer overflow while escaping stuff. r=brendan 2005-12-13 23:18:03 +00:00
bsmedberg%covad.net
75f0b3fd3c Re-landing bug 316416 with biesi's uninitialized-rv catch and with the windows nsIFile hashing cached (bug 316732) 2005-12-13 17:55:43 +00:00
gerv%gerv.net
adbec5dbff Bug 236613: change to MPL/LGPL/GPL tri-license. 2005-12-13 13:25:40 +00:00
bsmedberg%covad.net
718ca7a4a6 Bug 315090 - convert xpconnect utils/tests to use frozen linkage, r=shaver 2005-12-12 15:08:16 +00:00
mrbkap%gmail.com
6246fb009e Fix comment nit from bug 319264. 2005-12-11 06:49:02 +00:00
mrbkap%gmail.com
d3eee0b215 bug 319264: Fix double-free reporting strict warnings about assigning to read-only properties. r=brendan 2005-12-11 06:44:29 +00:00
brendan%mozilla.org
f20ad4a946 Fix delegation to function object for length and other properties (313570, r/sr=mrbkap/shaver). 2005-12-10 18:46:37 +00:00
brendan%mozilla.org
903070e2a9 Revert to pre-E4X handling of eval(s) = x to avoid compile-time error reporting (319391, r=mrbkap). 2005-12-09 20:23:38 +00:00
mrbkap%gmail.com
de8bf51b19 bug 318489: It's impossible to use one of the constructors from an XPCNativeWrapped object. Add an IDL interface for these constructors and fix XPCNativeWrapper to forward Construct requests onto its wrapped native. r=jst sr=brendan 2005-12-09 19:08:45 +00:00
mrbkap%gmail.com
dadb1cbbfa bug 319172: Innerize the global object for subscript loading so that functions are compiled with the right parent (leading to the inner window, not the outer window). r=shaver sr=brendan 2005-12-09 18:58:23 +00:00
bob%bclary.com
47d43c752e Regression test for bug 314890, by Jeff Thompson, not part of the build 2005-12-08 20:47:46 +00:00
bob%bclary.com
bd4d91f4d4 Regression test for bug 318922, by Biju, not part of the build 2005-12-08 19:56:08 +00:00
bob%bclary.com
188d53f190 Regression test for bug 319384, by Boris Zbarsky, not part of the build 2005-12-08 19:08:37 +00:00
brendan%mozilla.org
0e628dfa78 Comment typos fixed. 2005-12-08 17:59:45 +00:00
brendan%mozilla.org
5473753429 Fix uninitialized variable use in an assertion (311583, r=igor). 2005-12-07 22:42:06 +00:00
mrbkap%gmail.com
c1c671891e bug 319384: Don't use unsigned objects for signed values. Also give the "can't convert to integer" error an exception type so that it can be caught. r=daumling@adobe.com sr=brendan 2005-12-07 20:49:52 +00:00
brendan%mozilla.org
47984fd9cc Add missing TOK_XMLSPACE case (one-line fix to 318922, r=mrbkap). 2005-12-06 23:40:36 +00:00
bzbarsky%mit.edu
709973dd99 Make sure to keep memberval alive while we use it. Bug 318969, r=mrbkap, sr=jst 2005-12-06 04:48:19 +00:00
brendan%mozilla.org
1385a88fa8 Fix some style nits. 2005-12-05 23:41:30 +00:00
brendan%mozilla.org
0b0e90d50c Patch from Michael Daumling <daumling@adobe.com> to let the OOM message be localized (318767, r=me). 2005-12-05 21:35:15 +00:00
brendan%mozilla.org
2f2cb5e85a Fix XML folding to skip name nodes with list arity due to embedded {expr} terms (318922, r=mrbkap). 2005-12-05 05:26:50 +00:00
bsmedberg%covad.net
d54d3d7b09 Reverting bug 316416 due to Ts regression and mysterious monkey orange :-( 2005-12-03 15:27:17 +00:00
dbaron%dbaron.org
f2a37733b9 Make wrapper preservation (the mechanism that makes the GC use reachability information between certain C++ objects rather than rooting at language boundaries) use an interface (nsIDOMGCParticipant) to get reachability information. Preserve the wrappers for event handlers as long as what they are attached to is reachable (from C++ or JS) to avoid entraining event handler closures in cycles. b=241518 r=mrbkap sr=jst 2005-12-03 07:42:40 +00:00
jst%mozilla.jstenback.com
f95e73dac7 Fixing bug 318873. Crash in js_GetLocalizedErrorMessage(). Patch by tor@acm.org, r+sr=jst@mozilla.org 2005-12-03 07:32:07 +00:00
brendan%mozilla.org
a9762daf5d Michael Daumling <daumling@adobe.com> patch to allow user-defined errors, finally (thanks to Michael for doing this; 215173, r=mrbkap/me). 2005-12-03 02:31:21 +00:00
bsmedberg%covad.net
18d1271404 Bustage fix, bug 316416, nested classes are not automatically friendly. 2005-12-02 17:09:19 +00:00
bsmedberg%covad.net
28e3019754 Bug 316416 - Convert nsIComponentLoader into nsIModuleLoader, xpcom bits r=darin xpconnect bits r=shaver; and bug 318625 - Make a version of nsTArray.AppendElement that doesn't copy-construct, r=darin 2005-12-02 16:34:42 +00:00
brendan%mozilla.org
d0fdbe647b Followup to maximize error-reporting code sharing (315436, r=daumling). 2005-12-01 21:05:12 +00:00
brendan%mozilla.org
16b5d0988a Fix from Michael Daumling <daumling@adobe.com> to make read-only assignment a strict warning (315436, r/sr=mrbkap/brendan). 2005-12-01 02:26:35 +00:00
dougt%meer.net
0b8260d91c Allowing js to be statically linked, if desired. r=bsmedberg. b=236617 2005-11-30 17:38:49 +00:00
mrbkap%gmail.com
4e4b58e6fa bug 307526: Add a -i option to the two shells to force interactive mode so that it's possible to use xpcshell from Emacs (where isatty returns bad results). r=dmose sr=brendan 2005-11-29 23:52:28 +00:00
dougt%meer.net
a6e31396b5 PR_MemMap is busted on WINCE. Until it is fixed, disable memory map access in js loader. b=318077. r=dougt. WINCE only. 2005-11-29 05:44:40 +00:00
mrbkap%gmail.com
3a77b12867 bug 317476: The error thrown by JS_ReportError is not catchable. r=brendan 2005-11-28 20:42:30 +00:00
mrbkap%gmail.com
b51cc879fb bug 317533: Don't get confused by final if statements when determining if a function always returns a value. r=brendan 2005-11-28 20:35:13 +00:00
timeless%mozdev.org
9b0852aaf7 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 21:57:13 +00:00
timeless%mozdev.org
db820cf720 Bug 106386 Correct misspellings in source code
patch by unknown@simplemachines.org r=timeless rs=brendan
2005-11-25 08:16:51 +00:00
brendan%mozilla.org
9d0de76443 Fix bad regression in fix for 316885 (317714, r=shaver). 2005-11-25 07:49:05 +00:00
bob%bclary.com
7c234773e0 Improve BigO reporting, no bug, not part of the build 2005-11-24 04:54:52 +00:00
bob%bclary.com
b756f93fe2 Test for version() function's existence so that test does not fail in the browser, no bug, not part of the build 2005-11-24 04:51:38 +00:00
bob%bclary.com
9990df994c Correct erroneous tests, no bug, not part of the build 2005-11-24 04:49:48 +00:00
bob%bclary.com
0c69c8767b Fix test by constructing valid date from toDateString() and toLocaleTimeString(), no bug, not part of the build 2005-11-24 04:46:08 +00:00
bob%bclary.com
562ff36e70 Remove @ native from global toString in debug builds, no bug, not part of the build 2005-11-24 04:43:16 +00:00
bob%bclary.com
002d82bd70 Add JavaScript language version to mime attribute of js1_x browser tests, no bug, not part of the build 2005-11-24 04:40:43 +00:00
bob%bclary.com
1bdaa6408a Remove jsbrowser, e4xbrowser from browser target, no bug, not part of the build 2005-11-24 04:39:15 +00:00
bob%bclary.com
2f785718f4 Add call to test() to display status messages, no bug, not part of the build 2005-11-24 04:01:38 +00:00
bob%bclary.com
b30d745874 BUGNUMBER is not a URL, no bug, not part of the build 2005-11-24 03:51:58 +00:00
bob%bclary.com
85cb04ad3b Change GLOBAL string to be calculated from global this.toString() to eliminate erroneous errors in debug builds, no bug, not part of the build 2005-11-24 03:41:37 +00:00
bob%bclary.com
0c224a23a1 Improve BigO calculations, no bug, not part of the build 2005-11-24 03:25:06 +00:00
bob%bclary.com
e961da4da3 Rename regress-234389.js to regress-234389-n.js since successful test throws an exception, no bug, not part of the build 2005-11-24 03:07:55 +00:00
jag%tty.nl
4a7d85ba3e Sorry, no tabs allowed here. (whitespace-only change, r=jack, sr=lumpy) 2005-11-23 07:09:37 +00:00
brendan%mozilla.org
fc8c3998b8 No switch for threaded interpreter (121414, r=igor). 2005-11-22 04:47:42 +00:00
brendan%mozilla.org
21b200f08b Root me harder (316885 r/sr=igor/shaver). 2005-11-22 00:47:05 +00:00
dougt%meer.net
d2a7417e56 Fixing build bustage on minimo linux. Shell doesn't compile when building against minimo. 2005-11-22 00:12:49 +00:00
igor%mir2.org
df24c9296d Fixing bug 316879:
I hope this time the implementation of optimization for int-only operations
is the right one. review=brendan
2005-11-22 00:03:04 +00:00
mrbkap%gmail.com
1631ef2f9d bug 316990: Allow hasOwnProperty to work, even with split windows, by checking that the returned object is actually the inner object of |this|. r=brendan 2005-11-21 19:40:55 +00:00
bob%bclary.com
2b90ed855c Regression test for bug 96526, behavior has changed due to bug 311583, holes are no longer represented by undefined in array.toSource() 2005-11-21 07:25:33 +00:00
timeless%mozdev.org
98c84e24ac Bug 106386 Correct misspellings in source code
patch by supernova_00@yahoo.com r=timeless rs=brendan
2005-11-21 06:30:34 +00:00
bryner%brianryner.com
9aa84f551d Only issue a warning if we failed to map a file, not an assertion. This doesn't violate any built-in assumptions. Bug 317205, r=shaver. 2005-11-21 03:27:32 +00:00
brendan%mozilla.org
1d59dac7f6 Fix bogus assertion. 2005-11-20 21:37:14 +00:00
igor%mir2.org
922e2e894c Removal of the previous commit: my patch brought bogus assert in JSOP_NEG:
the result of -rval can fit jsint even if rval is not int in cases like when
rval is "1" string.
2005-11-20 19:25:47 +00:00
igor%mir2.org
6b6b0f28b6 Fixing bug 316879:
Special treatment of int values in numeric operations for faster and smaller
code. r=brendan
2005-11-20 18:14:21 +00:00
bob%bclary.com
8619eb83da Regression test for bug 232182, by Michael Daumling 2005-11-20 06:47:15 +00:00
bob%bclary.com
03e59d0c06 Obsolete ecma_3/Statements/regress-121744.js, no bug, not part of the build. 2005-11-20 06:15:10 +00:00
bob%bclary.com
e9c41dcab9 Test for shell only constructs to prevent false negatives when running tests in the browser, no bug, not part of the build 2005-11-20 06:10:46 +00:00
bob%bclary.com
88e1c12a5e Modify test to handle script error path when running in the browser, no bug, not part of the build 2005-11-20 06:08:42 +00:00
bob%bclary.com
eb0dcad057 Handle negative results tests in browser based tests, no bug, not part of the build 2005-11-20 06:06:54 +00:00
bob%bclary.com
6c7a3b0acc Change default mode from Quirks to Standards in browser based tests, no bug, not part of the build 2005-11-20 06:01:39 +00:00
bob%bclary.com
7bf0c1bd09 Remove obsolete JS test automation scripts, no bug, not part of the build 2005-11-20 05:59:09 +00:00
bob%bclary.com
c17f87551f Modify JS test automation to be driven by external text files containing lists of urls, no bug, not part of the build. 2005-11-20 05:56:58 +00:00
igor%mir2.org
765babd101 Fix for bug 311583:
Not uneval(array) uses elision, not undefined, to represent array holes.
r=brendan
2005-11-20 01:12:58 +00:00
igor%mir2.org
d1471187a3 Fixing bug 316993 +jump generation cleanup 2005-11-19 22:57:49 +00:00
brendan%mozilla.org
d190f94f8e Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver). 2005-11-19 03:20:17 +00:00
brendan%mozilla.org
6af9912379 Toasted Windows, not able to debug till tomorrow, backing out. 2005-11-18 06:19:46 +00:00
brendan%mozilla.org
86ccad8608 Threaded interpreter, first step toward more aggressive optimizations (121414, r=shaver). 2005-11-18 04:22:25 +00:00
igor%mir2.org
cbf3b32676 Fix for bug 302849: js shell calls setlocal, r=shaver 2005-11-17 17:32:00 +00:00
igor%mir2.org
2f5e6f0d10 Fix for bug 312138:
js_HeapSort terminates as soon as sort function indicates so. r=brendan
2005-11-16 10:02:57 +00:00
bzbarsky%mit.edu
f02076fb6f Get principals for XPConnect wrapped natives off their scope instead of walking
their parent chain.  Add some asserts to check that this actually does give the
same result, which it should with splitwindow.  Bug 289655, r=dbradley, sr=jst
2005-11-16 02:12:21 +00:00
bzbarsky%mit.edu
b4e353549f Keep reading from the sync stream till we're done. Bug 303376, r=darin, sr=jst 2005-11-16 02:04:10 +00:00
bob%bclary.com
6c8cc6658d Regression test for bug 315509, by moz_bug_r_a4 2005-11-14 19:25:22 +00:00
brendan%mozilla.org
e22351e864 Fix old logic bug in useless expression eliminator (315990, r=mrbkap). 2005-11-11 20:20:19 +00:00
bsmedberg%covad.net
78f6d0683d Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver 2005-11-11 14:36:26 +00:00
mrbkap%gmail.com
24c101cf4c bug 315925: Fix some nits in TestUtf8 including better bad-argument handling and general JS style nits. r=brendan 2005-11-10 22:19:22 +00:00
pkw%us.ibm.com
9c71c9931d AIX bustage fix after checkin of Bug 315288 enabled UTF-8 strings in JS. Changed C++ style comment to C style comment. No bug.
r=shaver@mozilla.org
2005-11-10 21:03:28 +00:00
bsmedberg%covad.net
caee95c028 Bug 315401 - XPTI_GetInterfaceInfoManager is a bad signature and should be removed, r=darin sr=jst 2005-11-10 16:19:44 +00:00
mrbkap%gmail.com
ee19e5b458 bug 315797: The label goes after the variables that were never set. r=brendan 2005-11-10 07:09:22 +00:00
mrbkap%gmail.com
e5b2badc4d bug 315509: array_unshift doesn't deal with holes in the array correctly. Patch from moz_bug_r_a4@yahoo.com. r=mrbkap 2005-11-08 20:58:28 +00:00
dougt%meer.net
57e921b9c8 WindowsCE doesn't really have a console per se. displaying the xpc shell as it isn't build on windows ce. WINCE only. 2005-11-07 20:58:30 +00:00
bob%bclary.com
22347fd8e9 JavaScript Test Library - test size of string operands, not number of iterations of concat 2005-11-07 07:26:33 +00:00
bob%bclary.com
cef24765d4 JavaScript Test Library - automation, proper handling of exit codes for timed executions 2005-11-07 07:10:59 +00:00
bob%bclary.com
bfe41df825 JavaScript Test Library - add test path to ecma_3/Date/shell.js 2005-11-07 07:03:15 +00:00
mrbkap%gmail.com
030dd22ead bug 315147: Error JSMSG_UNDEFINED_PROP should be JSEXN_REFERENCEERR (pointed out by Michael Daumling). r=brendan 2005-11-05 02:01:17 +00:00
mrbkap%gmail.com
809abae6c7 bug 232182: Allow SpiderMonkey to deal with UTF-8 strings (controlled by a define). Patch from Michael Daumling <daumling@adobe.com>. r=shaver 2005-11-05 01:06:30 +00:00
szegedia%freemail.hu
6260d33506 Added enter() and exit() methods to ContextFactory - behave identically to enter() and exit() in Context, except that the context factory on which the methods are invoked is used instead of the ContextFactory.global 2005-11-04 13:37:45 +00:00
szegedia%freemail.hu
6074b83bc6 Bugzilla #312702: Feature for limiting call stack depth in interpeter 2005-11-04 13:10:56 +00:00
bob%bclary.com
dd021cc4ed Regression test for bug 314887 2005-11-04 07:32:54 +00:00
mrbkap%gmail.com
cfd7dbec0a bug 314890: Add in a fast early-out pointer comparison for quick string compares. r=brendan 2005-11-03 22:01:09 +00:00
brendan%mozilla.org
db4481ee41 Don't store non-GC-things in local roots (3148887, r=mrbkap). 2005-11-03 17:50:04 +00:00
brendan%mozilla.org
fa44e6b5aa Augh. 2005-11-03 02:23:59 +00:00
brendan%mozilla.org
0f10624173 Oops. 2005-11-03 01:56:52 +00:00
brendan%mozilla.org
999f42157c Whitespace policing. 2005-11-03 01:45:06 +00:00
brendan%mozilla.org
da295763b5 Better AMD64 detection, courtesy wtchang, in bug 226094. 2005-11-03 01:39:39 +00:00
brendan%mozilla.org
1dba545634 MSVC on AMD64 LLP64 type model support (226094, r=me on patch from Michael Moy <mmoy@yahoo.com>). 2005-11-03 01:22:09 +00:00
mrbkap%gmail.com
f014b5fc1f bug 294302: Map JSMSG_CANT_OPEN to a real exception type so that shell scripts can catch failed loads. r=brendan 2005-11-03 00:16:14 +00:00
mrbkap%gmail.com
9bd744a01e bug 313220: Push the sandbox's context onto the context stack so that functions that need to use the current fp can find it. r=brendan sr=shaver 2005-11-02 22:07:15 +00:00
bsmedberg%covad.net
5a3dee9942 Bug 307168 - Add configure test for GCC bug that prevent the pragma-visibility stuff from working properly on some configurations, and also clean up usages of HAVE_VISIBILITY_PRAGMA which should really be HAVE_VISIBILITY_ATTRIBUTE r=roc+wolfiR, previous revisions reviewed by bryner 2005-11-02 14:14:18 +00:00
timeless%mozdev.org
d72cc699d0 Bug 276979 Unrooted JSObject in nsXPCWrappedJSClass::DelegatedQueryInterface crashes [@ js_LookupPropertyWithFlags ]
r=mrbkap sr=bz
2005-11-02 04:07:55 +00:00
bob%bclary.com
dd7fc0840a Regression test for bug 313592, by Seno Aiko 2005-11-01 19:00:33 +00:00
brendan%mozilla.org
46a92c27aa Use explicit local roots in native methods (313763, r/sr=igor/shaver). 2005-11-01 01:13:36 +00:00