Граф коммитов

10573 Коммитов

Автор SHA1 Сообщение Дата
bclary%bclary.com 86a75f9282 JavaScript Tests - regression test for bug 361617, by Jesse Rudermen 2008-02-07 13:30:54 +00:00
peterv%propagandism.org 9425781fe0 Fix for bug 415037 ("success" returned uninitialized from XPCVariant::VariantDataToJS). r/sr=jst, a=schrep. 2008-02-07 11:38:13 +00:00
reed%reedloden.com 60f7055daf Bug 414963 - "C++ warnings in jsnum.c, jsutil.c (with g++ -Wconversion)" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 21:34:51 +00:00
reed%reedloden.com ea8445d7b7 Bug 412985 - "Provide stubs for JS_THREADSAFE APIs in non-JS_THREADSAFE builds" [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-02-06 21:33:44 +00:00
bclary%bclary.com 0749ff9272 JavaScript Tests - run Tinderbox browser tests without restarting browser, bug 406196 2008-02-06 20:06:40 +00:00
nboyd%atg.com 25d5d39382 Minor cleanup. 2008-02-06 18:32:33 +00:00
brendan%mozilla.org ec3aa4dded Fixed generation-number-optimized hash revalidation (415721, r=igor). 2008-02-06 01:25:12 +00:00
nboyd%atg.com ace987cf7f Try for better efficiency using the denseOnly flag 2008-02-05 21:58:14 +00:00
nboyd%atg.com 2275ed5533 Test case for bug 415451
r=bclary@bclary.com
2008-02-05 21:52:34 +00:00
nboyd%atg.com c5e6d2eced Add missing @Override. 2008-02-05 21:19:42 +00:00
nboyd%atg.com 695a04c004 Fix bug 409702 - JavaAdapter causes VerifyError with some abstract classes 2008-02-05 20:49:10 +00:00
nboyd%atg.com b0f899e0d8 Regression test for bug 414098.
r=bclary@bclary.com
2008-02-05 18:53:18 +00:00
nboyd%atg.com a4164076c6 Fix bug 414098 - Support for __define[GS]etter__ on array indexes
Patch from Matthieu Riou
2008-02-05 18:37:47 +00:00
nboyd%atg.com aa8c520f47 Get NervousText.js working again:
- create Context if need be in JavaMembers constructor
- handle exceptions caused by calling getDeclaredMethods in an applet context
2008-02-05 17:39:47 +00:00
nboyd%atg.com 6e109e792f Get NervousText.js working again by avoiding duplicate generation of
"super$method" methods.
Also fix a few spelling errors.
2008-02-05 17:37:06 +00:00
nboyd%atg.com 374773db69 Skip stress tests. 2008-02-05 17:18:36 +00:00
nboyd%atg.com 2cba1f7d99 fix bug 415451 - Array.lastIndexOf does not work correctly 2008-02-04 14:20:26 +00:00
nboyd%atg.com 56043218d8 From newsgroup:
I think I've found a small bug in the Array.function shortcut (instead
of Array.prototype.function.call(...)). Here is the testcase:

js> var Constr = function() {};
js> Constr.prototype = [];
js> c = new Constr();
js> c.push(1);
1
js> c.push(2);
2
js> Array.push(c,3);
4
js> c
1,2
2008-02-04 13:43:54 +00:00
szegedia%freemail.hu e2cd9e6578 Fix for Bug 415508 � PolicySecurityController bug: it creates lots of SecureCallerImpl instances! 2008-02-04 07:52:44 +00:00
brendan%mozilla.org 524dff51f5 Reload key in case of multithreaded race to atomize the same string chars (415474, r=igor). 2008-02-04 05:12:33 +00:00
igor%mir2.org 051a472e43 Bug 400902: Backing out due to test failures. 2008-02-04 03:41:31 +00:00
igor%mir2.org 57346c4c64 Bug 400902: specialized arena for fast allocation of double values.r,a=brendan ab3=mtschrep 2008-02-04 02:37:22 +00:00
nboyd%atg.com b540553541 Fix bug 414984: Array.lastIndexOf gives ArrayIndexOutOfBoundsException 2008-02-01 20:54:26 +00:00
nboyd%atg.com e2d16be872 As you might expect, a regression test for bug 414553.
r=bclary@bclary.org
2008-02-01 20:48:02 +00:00
igor%mir2.org 11fc09dc48 Bug 400902: backing out due to test failures. 2008-02-01 19:59:59 +00:00
igor%mir2.org e29c4d34be Bug 400902: using a specialized GC arena for doubles. r,a=brendan a1.9b3=mtschrep 2008-02-01 18:39:24 +00:00
igor%mir2.org 16e24cc9d2 Bug 415207: fix time overflow in arena aging code. r=crowder a1.9,a1.9b3=beltzner 2008-02-01 17:56:23 +00:00
nboyd%atg.com 1d873b4682 Fix bug 414869: Rhino debugger fails to launch due to updates in mac os x
leopard
2008-02-01 15:11:59 +00:00
igor%mir2.org 4c78cd9365 Bug 354135: protect against oo recursion in e4x. r,a=brendan, a1.9b3=mtschrep 2008-02-01 06:01:17 +00:00
peterv%propagandism.org 7850c9e9f0 Fix for bug 415017 ("ASSERTION: Fault in cycle collector: script pointer traversal failed"). r/sr=jst, a=beltzner. 2008-02-01 01:06:53 +00:00
mrbkap%gmail.com 86c23ffa7b Get the right principal for cloned functions. bug 415030, r=brendan 2008-02-01 00:21:12 +00:00
brendan%mozilla.org c1f967593e Fix from Arjan Van De Ven <arjan.van.de.ven@intel.com> to regression from patch for bug 312238 (fixing 353962, r=me, a=beltzner). 2008-01-31 21:42:43 +00:00
timeless%mozdev.org 9b10b65e69 Bug 411249 Top crash [@ jsds_ScriptHookProc][@jsds_ScriptHookProc(JSDContext*, JSDScript*, int, void*)] on shutdown with Firebug 1.1.0b10 installed
r=gijs a=beltzner
2008-01-31 19:12:47 +00:00
igor%mir2.org 764ed09094 Bug 414871: fixing gczeal issue. r=brendan, approval1.9b3=beltzner 2008-01-31 02:19:49 +00:00
reed%reedloden.com e091a75168 Back out jimm's patch from bug 411579 due to regressions. [a1.9b3=mconnor] 2008-01-30 23:39:42 +00:00
nboyd%atg.com 6eb6a555df No point in using WeakHashMap with classes as keys. Back off to plain
HashMap until we figure out more about the particular problem one
user is seeing.
2008-01-30 19:40:03 +00:00
brendan%mozilla.org 114b348cc2 Try to fix Ts regression (414452, r=shaver). 2008-01-30 08:25:52 +00:00
brendan%mozilla.org e828ee0310 Move serialized cycle detector for __proto__ and __parent__ into js_GC (414452, r=igor+shaver). 2008-01-30 06:29:49 +00:00
brendan%mozilla.org 3928a49838 Final js1.8 feature: sugar for object destructuring (404734, r=mrbkap). 2008-01-30 06:27:13 +00:00
jst%mozilla.org f0be019ee6 Landing followup to the fix for bug 412491, this one somehow slipped through, just more of the same. 2008-01-30 05:55:12 +00:00
igor%mir2.org 3c3f020426 Attachment 300249: better handling of numeric conversions. r,a=brendan 2008-01-30 05:35:34 +00:00
brendan%mozilla.org 7b6462b3f4 Dammit. 2008-01-30 05:14:55 +00:00
mrbkap%gmail.com 24786bf56f Don't wrap chrome objects in SJOWs if we don't have to. bug 414296, r=jst sr=bzbarsky 2008-01-30 05:13:19 +00:00
brendan%mozilla.org e739677ea8 Oops. 2008-01-30 05:12:45 +00:00
brendan%mozilla.org 62816f7530 Don't self-lock in the JSGC_BEGIN callback (413097, r=shaver). 2008-01-30 05:10:09 +00:00
crowder%fiverocks.com aefc3676c9 Bug 331043 - Improve hash performance using _rotr intrinsic (js/src hunk), patch by Michael Moy <mmoy@yahoo.com> with updates by me and r=wtc, r=brendan, a=brendan 2008-01-30 02:36:33 +00:00
jst%mozilla.org b1d94b52c5 Fixing bug 413774. Don't suspend/resume requests when making native calls into C++ in XPConnect, do the suspend/resume when pushing/popping JS contexts off of the context stack instead. r=shaver@mozilla.org, sr=brendan@mozilla.org 2008-01-30 02:28:59 +00:00
mrbkap%gmail.com ea6b8cf9d8 Outerize this when we're computing it. bug 394012, r=brendan 2008-01-30 02:16:56 +00:00
crowder%fiverocks.com 1a4f3217c7 Bug 408113: allocate stackPools less often, r=brendan, a=blocking1.9 (schrep) 2008-01-30 02:11:30 +00:00
mrbkap%gmail.com 26bf0161a4 SJOW's equality hook returns true too much. bug 413902, r+sr=jst a=damons 2008-01-30 02:06:17 +00:00
peterv%propagandism.org afcc825f59 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-30 02:05:45 +00:00
mrbkap%gmail.com 8de73b2a93 Preserve interesting attributes on same-origin XOWs. bug 393269, r+sr=jst a=beltzner 2008-01-30 00:28:30 +00:00
jst%mozilla.org f72959f97b Fixing bug 414658. Make sure to not use a context from a different thread when calling functions on a wrapped JS object. r+sr=peterv@propagandism.org 2008-01-29 23:56:49 +00:00
igor%mir2.org 14302a3274 Bug 413744: JS_GCMETER requires to recompile just js/src, not the whole browser. r,a=brendan 2008-01-29 22:17:25 +00:00
peterv%propagandism.org 594825b911 Try to fix orange 2008-01-29 21:42:06 +00:00
reed%reedloden.com a4474524fc Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-29 20:51:47 +00:00
peterv%propagandism.org adf10add78 Fix for bug 407034 (JS_Assert "!rt->gcRunning" unbinding link elements in cycle collector with JS protocol handlers), r/sr=dbaron. 2008-01-29 20:48:35 +00:00
nboyd%atg.com 9fb256606a Fix function case for 414553. 2008-01-29 19:41:58 +00:00
nboyd%atg.com 3f75296ad6 Fix Bug 414553 - destructuring assignment in let causes bindings to be lost 2008-01-29 18:39:25 +00:00
nboyd%atg.com 9f27fd9089 Missing ECMA conformance test, see
https://bugzilla.mozilla.org/show_bug.cgi?id=392593
2008-01-29 15:02:12 +00:00
nboyd%atg.com 657e75be5e Fix Bug 414554 - ClassCache should use WeakHashMap 2008-01-29 14:34:32 +00:00
brendan%mozilla.org 47088bfc7b Revert last checkin (414452). 2008-01-29 08:45:14 +00:00
brendan%mozilla.org c75dcf3bff Move guts of js_SetProtoOrParent to jsgc.c, unifying serialization and deadlock avoidance machinery (414452, r=igor). 2008-01-29 07:18:21 +00:00
jst%mozilla.org 94c7e0a035 Fixing windows bustage. 2008-01-28 23:54:56 +00:00
mrbkap%gmail.com 3b793d42eb Backing out to see if this is the cause for apparent random crashes. 2008-01-28 23:52:54 +00:00
jst%mozilla.org ffdba24685 Fixing bug 413559. Make XPConnect use faster accessors for JS class/parent/private/proto. r=mrbkap@gmail.com, sr=brendan@mozilla.org 2008-01-28 23:19:52 +00:00
mrbkap%gmail.com 350ba0d8e2 There might be a pushed context but no running code. bug 413200, r+sr=jst a=blocking-1.9+ 2008-01-28 23:10:30 +00:00
mrbkap%gmail.com 8469ca94aa Create a more valid pseudo-frame for liveconnect to avoid null ptr dereferences. bug 409720, r=brendan sr=jst a=brendan 2008-01-28 23:07:29 +00:00
mrbkap%gmail.com a6c133ab39 Don't allocate links on the heap. bug 410223, r+sr=brendan a=schrep 2008-01-28 23:03:42 +00:00
igor%mir2.org 4d78056d42 Bug 413793: fixing JS compilation. r=outside of the browser three 2008-01-28 22:36:59 +00:00
nboyd%atg.com ddee426831 Complete fix for bug 412247 - Allow to customize toBoolean conversion
Fix misspelling in method name (!) and correct support for Boolean(expr).
2008-01-28 14:41:05 +00:00
brendan%mozilla.org 1d66a589ff Must lock newborn block object (shared) scope before calling js_GetMutableScope (413850, r=mrbkap). 2008-01-28 02:13:00 +00:00
mrbkap%gmail.com 0be53e18b5 Fix think-o causing valgrind errors during evalcx(). bug 414219, r=shaver NPOTB 2008-01-27 17:27:01 +00:00
brendan%mozilla.org 9a741730c1 Fix #if-related bug that broken compilation of pre-1.7 versions (bug 412894, r=timeless). 2008-01-27 07:58:06 +00:00
jst%mozilla.org f237c6e2cd Landing fix for bug 412462. Do the right thing when converting objects wrapped in XOWs. Patch by mrbkap@gmail.com, r=jst@mozilla.org, sr=brendan@mozilla.org 2008-01-26 00:36:44 +00:00
jst%mozilla.org 530753439b Landing fix for bug 411093. Make sure functions get the right filename. Patch by mrbkap@gmail.com, r=brendan@mozilla.org 2008-01-26 00:28:08 +00:00
jst%mozilla.org 2a31e0feae Fixing bug 397791. Prevent document principals from ever changing, and make us not use XOWs for same origin document objects. r=jonas@sickin.cc, sr=bzbarsky@mit.edu 2008-01-25 21:49:11 +00:00
jst%mozilla.org f3a7f1fbce Fixing bug 413569. Make XPCWrappedNative::CallMethod() initialize the nsAutoString buffer used for [out] string param handling only when needed. r+sr=jonas@sicking.cc 2008-01-24 01:17:13 +00:00
jst%mozilla.org 767dda789f Fixing bug 413045. Make some JS API functions faster by accessing obj->fslots[] directly when possible. r=brendan@mozilla.org, r=igor@mir2.org. 2008-01-23 22:05:43 +00:00
szegedia%freemail.hu 6c2cd12403 Fix exclusions 2008-01-23 17:24:28 +00:00
szegedia%freemail.hu a01b294d8a Make sure it finds JUnit 2008-01-23 16:52:31 +00:00
nboyd%atg.com ebe10f402b Fix Bug 412247 Allow to customize toBoolean conversion
Add new ScriptableObject method, avoidObjectDectection:

    /**
     * Emulate the SpiderMonkey (and Firefox) feature of allowing
     * custom objects to avoid detection by normal "object detection"
     * code patterns. This is used to implement document.all.
     * See https://bugzilla.mozilla.org/show_bug.cgi?id=412247.
     * This is an analog to JOF_DETECTING from SpiderMonkey; see
     * https://bugzilla.mozilla.org/show_bug.cgi?id=248549.
     * Other than this special case, embeddings should return false.
     * @return true if this object should avoid object detection
     * @since 1.7R1
     */
2008-01-23 14:59:38 +00:00
igor%mir2.org 53d0fe97a5 Bug 413556: Patch from Jason Orendorff to fix JS_ConvertArguments. r,a=brendan 2008-01-23 14:20:38 +00:00
nboyd%atg.com b98d10b31c Fix bug 392593 Wrong type for arguments object 2008-01-23 13:45:38 +00:00
igor%mir2.org d67b5e2e98 Bug 412340: avois rehashing of alreday atomized strings. r,a=brendan 2008-01-23 13:17:48 +00:00
igor%mir2.org 54167a2e07 Bug 413565: GC now put all free cells to free lists. r,a=brendan 2008-01-23 13:05:48 +00:00
igor%mir2.org 244cc95afe Bug 411722: backing out again to fix incorrect error recovery 2008-01-23 09:56:28 +00:00
igor%mir2.org 4573725988 Bug 411722: faster implementation of js_GetLocalNameArray. r,a=brendan 2008-01-23 09:38:32 +00:00
igor%mir2.org 6928a6bca9 Bug 411722: the new version of the patch shows the same bad Ts regression, backing out again. 2008-01-22 09:06:06 +00:00
brendan%mozilla.org 2cc4a5f9eb Fix #ifdef NARCISSUS code to track patch for bug 409476 (NPOTB). 2008-01-22 08:56:26 +00:00
igor%mir2.org 98bbf70212 Bug 411722: faster implementation of js_GetLocalNames. r,a=brendan 2008-01-22 08:21:54 +00:00
sayrer%gmail.com 09b772df36 Bug 411365. Shark functions. r/sr=brendan 2008-01-22 06:37:53 +00:00
nboyd%atg.com cfa8cdf48f Remove unused method. 2008-01-22 01:12:40 +00:00
mrbkap%gmail.com 00cad89ded Use already running code's context when executing JS code from C++. bug 412598, r+sr=jst 2008-01-22 00:27:13 +00:00
jst%mozilla.org 0e7f93e216 Fixing bug 412698. Make XPConnect cache the per thread data for the main thread and use the cache when running on the main thread to save on time getting at the per thread data. r=dbradley@gmail.com, sr=brendan@mozilla.org 2008-01-21 04:51:55 +00:00
jst%mozilla.org e79deac24a Fixing bug 408301. Make more XPConnect wrappers share their JS object maps. r=peterv@propagandism.org, sr=brendan@mozilla.org 2008-01-20 21:03:52 +00:00
igor%mir2.org b61cf8dfef Bug 413241: fixing bogus assertion in Statements() from jsparse.c. r=brendan,mrbkap a=brendan 2008-01-20 20:55:42 +00:00
igor%mir2.org a2b306b071 Bug 411722: Backing out due to bad Ts regression. 2008-01-20 19:11:59 +00:00
igor%mir2.org 0a9b748dbf Bug 411722: faster implementation of js_GetLocalNames. r=brendan a=blocking1.9+ 2008-01-20 17:42:38 +00:00
peterv%propagandism.org 409cf7ef4f Part of fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-20 17:29:35 +00:00
timeless%mozdev.org 8a98ae8422 Bug 334195 XPCWrappedNative::HandlePossibleNameCaseError dereferences an unitialized value if !set
r=dbradley sr=jst a=mtschrep
2008-01-20 11:21:36 +00:00
igor%mir2.org f81ff83ace Bug 410649: function statement and destructuring parameter name clash now favours the function. r,a=brendan 2008-01-20 10:34:06 +00:00
reed%reedloden.com ceda84e91e I'm dumb. Please forgive me. Yes, that includes you, shaver. 2008-01-20 09:54:09 +00:00
reed%reedloden.com 768460e885 Bug 331545 - "Use _InterlockedCompareExchange for js_CompareAndSwap" [p=mmoy@yahoo.com (Michael Moy) r+a1.9=brendan a=blocking1.9+] 2008-01-20 04:39:10 +00:00
jwalden%mit.edu d50f716127 Fix typo noted by igor, bug 409476 2008-01-20 02:52:23 +00:00
sayrer%gmail.com 099dbf15a9 Bug 412874. Need Shark functions in JS component global scope. r/sr=brendan 2008-01-20 02:31:10 +00:00
nboyd%atg.com 57fc1021ab Fix bug 412755 - Provide better error message when a function is not found
Modification of patch by Marc Guillemot.
2008-01-20 02:20:32 +00:00
shaver%mozilla.org 3c02a90c6a Config file for Solaris 10 from Wesley Garland (wes@page.ca), r=shaver. 2008-01-20 02:12:59 +00:00
jwalden%mit.edu 227bbcdd64 Bug 409476 - js_ValueToBoolean is pure, remove cx and out parameters and just return a boolean value for better perf. r+a=brendan 2008-01-20 00:56:09 +00:00
igor%mir2.org 34e194fd9f Bug 411025: temp rooting implemenation cleanup, r,a=brendan 2008-01-20 00:46:37 +00:00
sayrer%gmail.com a16f13c621 Bug 411365. JS Shark renames per brendan. r/a=brendan 2008-01-19 23:33:08 +00:00
igor%mir2.org f33393addf Bug 413104: access to JSString is hidden behind macros even for a flat string. 2008-01-19 21:15:08 +00:00
reed%reedloden.com 23bd0cf141 Back out Igor's patch from bug 412340 due to consistent orange on fxdbug-win32-tb. 2008-01-19 08:06:45 +00:00
igor%mir2.org 07d04588e7 Bug 412340: JString stores a flag to indicate that it was atomized. r=brendan a=blocking1.9+ 2008-01-19 02:56:51 +00:00
nboyd%atg.com 715df2c324 Refactor prompts to make them more accessible for other uses (i.e. doctest) 2008-01-18 19:21:01 +00:00
nboyd%atg.com 706f23198d More skips for flaky tests. 2008-01-18 18:37:24 +00:00
peterv%propagandism.org 4614f3c033 Back out remainder of patch for bug 412491 to try to fix orange. 2008-01-18 15:36:28 +00:00
peterv%propagandism.org 8ff7e4d709 Back out to try to fix orange. 2008-01-18 13:59:07 +00:00
peterv%propagandism.org 08d139a3ff Fix for bug 412491 (function objects cloned by XPConnect still keep hidden window alive late into shutdown). r=igor, sr=jst. 2008-01-18 13:29:07 +00:00
reed%reedloden.com 9da0903927 Back out patch from bug 411579, as there may be a Ts perf regression. 2008-01-18 10:36:40 +00:00
reed%reedloden.com ffc92e7918 Bug 412811 - "xpconnect-tools build broken" [p=armin76@gentoo.org (Ra��l Porcel) r+sr=bsmedberg (NPODB)] 2008-01-18 09:09:18 +00:00
reed%reedloden.com 807c87ee1e Bug 411579 - "Optimize read file buffer sizes for faster startup times" [p=jmathies@mozilla.com (Jim Mathies) r=sayrer sr=bsmedberg a=blocking1.9+] 2008-01-18 09:08:10 +00:00
reed%reedloden.com 8ab1253962 Bug 411968 - "Finishing JS_AlreadyHasOwnProperty" (CHECK_REQUEST(cx) in JS_AlreadyHasOwn{,UC}Property) [p=jorendorff@mozilla.com (Jason Orendorff) r+a1.9=brendan] 2008-01-17 10:28:57 +00:00
nboyd%atg.com de3895ff2d Add additional skips for flaky tests: see
http://groups.google.com/group/mozilla.dev.tech.js-engine.rhino/browse_thread/thread/d1b39d223cdcb157/09fcacfb83b67a80?#09fcacfb83b67a80
2008-01-16 20:58:06 +00:00
sayrer%gmail.com 2bead260f3 Bug 411365. Start and stop Shark from JS. r=crowder, sr=jst 2008-01-16 20:42:51 +00:00
igor%mir2.org 22263669d1 Bug 412047: optimizing regexp upper/lower. r=crowder,a=blocking1.9 2008-01-16 08:31:15 +00:00
reed%reedloden.com 38baf1ec8d Bug 411285 - "js_BoyerMooreHorspool is sometimes called for very short texts" [p=Seno.Aiko@gmail.com r=crowder a1.9=schrep] 2008-01-16 06:37:13 +00:00
bclary%bclary.com 506cc21059 JavaScript Tests - test iterator value scope in array comprehension, by Norris Boyd, bug 412467, not part of the build 2008-01-16 04:47:31 +00:00
mrbkap%gmail.com 52be66aaa9 Don't call js_PopStatement if there was a parse error. bug 410852, r=brendan 2008-01-15 22:24:54 +00:00
nboyd%atg.com 46706c5f5a Fix bug 412467 - Iterator value escapes from array comprehension 2008-01-15 19:27:16 +00:00
bent.mozilla%gmail.com 0745f4d9e7 Bug 352791 - "Permission denied to get property XULElement.ownerDocument". Patch by Blake Kaplan <mrbkap@gmail.com>. r=jst,bzbarsky. sr=brendan. a=blocking1.9. 2008-01-15 18:23:46 +00:00
nboyd%atg.com e04c8fc839 Fix comments: interpreterLoop -> interpretLoop 2008-01-15 17:53:05 +00:00
nboyd%atg.com 7fdf3a3723 Remove dependency on Arrays.copyOfRange, which is in JDK 1.6 only. 2008-01-15 17:39:19 +00:00
nboyd%atg.com f53511858c Skip new failing tests. 2008-01-15 17:38:32 +00:00
benjamin%smedbergs.us d4d8cbd0c5 Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 15:57:43 +00:00
benjamin%smedbergs.us c6b0868a4c Bug 411327 - nsIXPCNativeCallContext should not inherit from nsISupports, r=mrbkap, a=schrep 2008-01-15 15:51:02 +00:00
bclary%bclary.com afba32adac JavaScript Test - fix thinko in ecma_3/Number/15.7.4.3-01.js, bug 412068 2008-01-15 07:09:46 +00:00
jwalden%mit.edu bde93fc34d Bug 412068 - Number.prototype.toLocaleString incorrectly accesses the memory where its first argument should be, even if no first argument is actually given. Tag-team r=igor, r+a=brendan
By the way, this checkin occurred on an orange tree.  Just like every other patch in the last day.  Yay checkin policy.
2008-01-15 04:16:09 +00:00
bclary%bclary.com 4becf5981d Sisyphus|JavaScript Tests - fix runtests.sh -e extra argument processing, bug 412317, not part of the build 2008-01-14 19:07:01 +00:00
sayrer%gmail.com a88cd938a2 Bug 412210. SpiderMonkey faster at -O2 with msvc. r/a=brendan 2008-01-14 04:45:42 +00:00
bclary%bclary.com 6445c04b6a Sisyphus|JavaScript Tests - TinderboxPrint of test counts contain leading whitespace, bug 412183, not part of the build 2008-01-13 18:44:48 +00:00
jag%tty.nl 95d7caeadf Bug 406800: HP's OA crash [@js_FinalizeObject][@ RtlpDeCommitFreeBlock] when loading blade enclosure info. r/sr=peterv
GC was clearing mJSVal without updating mData, so XPCTraceableVariant's destructor would get confused and call Cleanup() on mData when it shouldn't (the buffer pointed to wasn't ours to free, you see).

Instead of avoiding Cleanup(), make it be harmless by nulling out the pointer to the buffer.
2008-01-13 18:21:08 +00:00
bclary%bclary.com 80e4e73c9d JavaScript Tests - update public failures, bug 314874 verified fixed 2008-01-13 17:40:04 +00:00
brendan%mozilla.org b0d1d63690 Fixes and improvements for property instrumentation (411630, r=igor).
* Menu of -D flags for enabling instrumentation, as a commented-out CFLAGS +=
  setting for convenient testing.
* js_FindProperty and js_LookupPropertyWithFlags return indexes into the scope
  and prototype chains, respectively, to support internal instrumentation, and
  to pave the way for the return of the property cache (bug 365851)..
* jsutil.[ch] JSBasicStats struct and functions for computing mean/sigma/max
  and auto-scaling histogram.
* JS_SCOPE_DEPTH_METER instrumentation for compile- and run-time scope chain
  length instrumentation:
+ At compile time, rt->hostenvScopeDepthStats and rt->lexicalScopeDepthStats
  meter scope chains passed into the compile and evaluate APIs.
+ At runtime, rt->protoLookupDepthStats and rt->scopeSearchDepthStats track
  steps along the prototype and scope chains until the sought-after property
  is found.
* JS_ARENAMETER uses JSBasicStats now.
* Added rt->liveScopePropsPreSweep to fix the property tree stats code that
  rotted when property tree sweeping moved to after the finalization phase.
* Un-bitrotted some DEBUG_brendan code, turned some off for myself via XXX.
* Mac OS X toolchain requires initialized data shared across dynamic library
  member files, outlaws common data, so initialize extern metering vars.
* Old HASHMETER code in jshash.[ch] is now JS_HASHMETER-controlled and based
  on JSBasicStats.
* DEBUG_scopemeters macro renamed JS_DUMP_SCOPE_METERS; uses JSBasicStats now.
* Disentangle DEBUG and DUMP_SCOPE_STATS (now JS_DUMP_PROPTREE_STATS) and fix
  inconsistent thread safety for liveScopeProps (sometimes atomic-incremented,
  sometimes runtime-locked).
* Compiler-modeled maxScopeDepth will propagate via JSScript to runtime for
  capability-based, interpreter-inlined cache hit qualifier bits, to bypass
  scope and prototype chain lookup by optimizing for common monomorphic get,
  set, and call site referencing a prototype property in a well-named object
  (no shadowing or mutation in 99.9% of the cases).
2008-01-13 00:31:32 +00:00
reed%reedloden.com 8ef3cde3bb Change to ISO C90 comment style to fix warning in sayrer's last patch. 2008-01-12 07:37:32 +00:00
sayrer%gmail.com a9193f568f Bug 353962. Use OSAtomic on Darwin for JS thinlocks. r/a=brendan 2008-01-12 07:16:14 +00:00
dwitte%stanford.edu 2706db7178 thoroughly whack mallocfest in nsID/nsJSID and friends. b=410250, r+sr=jst, a=blocking1.9+ 2008-01-12 04:30:44 +00:00
bclary%bclary.com 73bb51a8e4 JavaScript Tests - regression test for bug 411893, by Jeff Walden, not part of the build 2008-01-12 03:54:40 +00:00
bclary%bclary.com 049c488e19 JavaScript Tests - regression test for bug 411889, by Jeff Walden, not part of the build 2008-01-12 03:48:16 +00:00
myk%mozilla.org 30ff58dcc2 backing out jst's fix for bug 408301 because it seems to have turned some tinderboxen red, others orange, and caused web content regressions 2008-01-12 01:56:22 +00:00