324 Commits

Author SHA1 Message Date
igor%mir2.org
6ed5810784 Bug 384151: refactoring boxing of primitive values, r=brendan
git-svn-id: svn://10.0.0.236/trunk@228036 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-14 07:07:02 +00:00
bclary%bclary.com
a59cb1955d Bug 382182 - script tag should support version 1.8, r=jonas,sr=brendan
git-svn-id: svn://10.0.0.236/trunk@227221 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 05:55:56 +00:00
brendan%mozilla.org
69ddc3aa41 Restrict for([k,v] in o) special case to JS1.7 (366941, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@226622 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 20:55:06 +00:00
igor%mir2.org
bf3284b71a Bug 379885: JS_GetGCMarkingTracer is removed. r=brendan
git-svn-id: svn://10.0.0.236/trunk@226493 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 01:13:28 +00:00
crowder%fiverocks.com
d2bda4f82e Bug 308429: make tooMuchGC dynamic (runtime gczeal option), r=brendan
git-svn-id: svn://10.0.0.236/trunk@226487 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 23:27:20 +00:00
brendan%mozilla.org
d45bb69357 Fiddle cosmetics.
git-svn-id: svn://10.0.0.236/trunk@226207 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 20:19:26 +00:00
igor%mir2.org
783df8de1f Bug 379146: New API to register application-specific GC roots. r=brendan
git-svn-id: svn://10.0.0.236/trunk@225359 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 10:09:46 +00:00
igor%mir2.org
5857116860 Bug 379165: Simplifing JS_DimpHeap while fixing BeOS build problems. r=brendan
git-svn-id: svn://10.0.0.236/trunk@225236 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-29 21:49:01 +00:00
igor%mir2.org
f92cdfb6ca Bug 378261: Replacing GC_MARK_DEBUG by DumpHeap. r=brendan
git-svn-id: svn://10.0.0.236/trunk@225006 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-25 13:43:18 +00:00
igor%mir2.org
1d94d8a9d6 Bug 378492: proper checks for null and jsval type when tracing, r=brendan
git-svn-id: svn://10.0.0.236/trunk@224972 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-24 23:11:02 +00:00
mrbkap%gmail.com
4872bb3444 Add an assertion. bug 377090, r=brendan
git-svn-id: svn://10.0.0.236/trunk@224648 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 21:07:31 +00:00
igor%mir2.org
4bb4c414fe Bug 375270: API to trace GC things graph without running the GC. r=brendan
git-svn-id: svn://10.0.0.236/trunk@224614 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-17 06:53:39 +00:00
mrbkap%gmail.com
45b6223230 Add an API to set aside and restore cx->fp. bug 377090, r=brendan
git-svn-id: svn://10.0.0.236/trunk@224501 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-13 19:20:22 +00:00
igor%mir2.org
be8566dadc Bug 373175: hiding code to set arena names behind JS_ARENAMETER. r=brendan
git-svn-id: svn://10.0.0.236/trunk@224346 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-10 13:29:10 +00:00
bclary%bclary.com
bf84b5e224 Bug 374877 - Update JS_GetImplementationVersion() for JS1.7rc, r=brendan
git-svn-id: svn://10.0.0.236/trunk@224052 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-03 04:48:09 +00:00
igor.bukanov%gmail.com
ee65483439 Bug 366725: JS_GetString(Bytes|Chars) are no longer used in SpiderMonkey.
git-svn-id: svn://10.0.0.236/trunk@221525 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-08 06:25:23 +00:00
crowder%fiverocks.com
7525642524 Bug 365048: JSRuntime threadTPIndex should be a static, r=brendan
git-svn-id: svn://10.0.0.236/trunk@219748 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-08 19:49:35 +00:00
igor.bukanov%gmail.com
6997abb908 Bug 366975: Allow to allocate new GC things from JSGC_END callback. r=brendan
git-svn-id: svn://10.0.0.236/trunk@218642 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 23:36:41 +00:00
crowder%fiverocks.com
5c2ade60b2 Bug 354246. Fix allows throwing exceptions and reporting errors while constructing an exception object, as long as an error is not already being reported, or an exception already being thrown. Previously yielded silent failure. r=igor
git-svn-id: svn://10.0.0.236/trunk@218248 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-12 20:41:11 +00:00
brendan%mozilla.org
7c11ff927b Fix bogus assertion and improve comment per mrbkap's suggestion (366468).
git-svn-id: svn://10.0.0.236/trunk@218095 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-10 01:47:58 +00:00
brendan%mozilla.org
21badae49f Remove property cache (128150, r=igor).
git-svn-id: svn://10.0.0.236/trunk@218011 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-08 19:34:43 +00:00
igor.bukanov%gmail.com
f7e1d72b50 Bug 363603: JSObjectMap.nslots is removed as redundant. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217905 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-06 22:03:06 +00:00
graydon%mozilla.com
3998c66e23 Bug 333078: XPCOM cycle collector
r=brendan, sicking, bz, dbaron, bsmedberg


git-svn-id: svn://10.0.0.236/trunk@217781 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 22:31:26 +00:00
brendan%mozilla.org
e3d844f7cf Stage 0 patch for getter/setter optimizations (365851, r=igor).
git-svn-id: svn://10.0.0.236/trunk@217778 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-04 21:15:09 +00:00
igor.bukanov%gmail.com
703dd01edc Bug 310405: allow to stop long running native code. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217407 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-24 11:31:37 +00:00
brendan%mozilla.org
bec424d922 Meter small-slot ops (363529, r=crowder).
git-svn-id: svn://10.0.0.236/trunk@217368 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 18:02:42 +00:00
brendan%mozilla.org
5963937b03 Back out patch for 310405 due to regressions.
git-svn-id: svn://10.0.0.236/trunk@217339 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 05:46:46 +00:00
igor.bukanov%gmail.com
7104aa81f2 Bug 310405: long running loops in native code are brekable now. r=brendan,crowder
git-svn-id: svn://10.0.0.236/trunk@217329 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-22 00:00:40 +00:00
brendan%mozilla.org
43e84ca3e2 Bytecode succession metering (363529, r=crowder).
git-svn-id: svn://10.0.0.236/trunk@217233 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-20 07:47:22 +00:00
igor.bukanov%gmail.com
78871b5335 Bug 363057: Propagating cx to MakeStringImmutable so it can properly report out-of-memory. r=brendan
git-svn-id: svn://10.0.0.236/trunk@217038 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-16 01:27:48 +00:00
igor.bukanov%gmail.com
3daead6c18 Bug 331966: initial object's slots are allocated together with JSObjects, r=brendan.
git-svn-id: svn://10.0.0.236/trunk@216872 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-12 10:45:06 +00:00
igor.bukanov%gmail.com
b8fe134378 Bug 362668: JSObject.slot is no longer accessed directly. Instead code uses STOBJ_macros. r=brendan
git-svn-id: svn://10.0.0.236/trunk@216798 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-09 15:02:37 +00:00
bclary%bclary.com
bade730b62 Bug 309169 - update JS_GetImplementationVersion, r=brendan
git-svn-id: svn://10.0.0.236/trunk@216771 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 21:08:09 +00:00
igor.bukanov%gmail.com
f8f9a60d24 Bug 362180: optimizing slot access in JS_NewPropertyIterator.
git-svn-id: svn://10.0.0.236/trunk@216071 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-29 17:16:55 +00:00
brendan%mozilla.org
221680ca40 Fix 360612, r=igor.
git-svn-id: svn://10.0.0.236/trunk@215805 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-25 02:11:28 +00:00
vladimir%pobox.com
ece4ca3cad backing out bug 333078, xpcom cycle collector due to perf issues
git-svn-id: svn://10.0.0.236/trunk@215718 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 23:18:16 +00:00
vladimir%pobox.com
260a2b3959 b=333078, xpcom cycle collector -- patch from graydon@mozilla.com, r=many
git-svn-id: svn://10.0.0.236/trunk@215695 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-22 19:23:02 +00:00
gavin%gavinsharp.com
a98a831b9b Bug 358867: void function returns a value, patch by Alfred Peng <alfred.peng@sun.com>, r=brendan/igor
git-svn-id: svn://10.0.0.236/trunk@214531 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-01 16:26:26 +00:00
igor.bukanov%gmail.com
0972ec7d2b Bug 358528: Fixing regression caused by my patch for bug 357169. r=brendan
git-svn-id: svn://10.0.0.236/trunk@214317 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-28 22:57:14 +00:00
igor.bukanov%gmail.com
bc26e09d70 Bug 357169: temp root macros are type-safe now and details of AddRoot etc. implementation do not leak ouside jsgc.c. r=brendan
git-svn-id: svn://10.0.0.236/trunk@214256 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-27 19:38:33 +00:00
gavin%gavinsharp.com
4d8d10e77b Bug 61911: typeof(/regExp/) should return "object", not "function", patch by Brian Crowder <crowder@fiverocks.com>, r=brendan
git-svn-id: svn://10.0.0.236/trunk@213371 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-09 22:47:24 +00:00
brendan%mozilla.org
68b5da6d05 Igor's cleanup patch, with some decompiler assist from me (354982, r=us).
git-svn-id: svn://10.0.0.236/trunk@213135 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-05 00:19:49 +00:00
igor.bukanov%gmail.com
11f8f3e427 Fix for warning about missed __iterator__. bug=355145 r=brendan
git-svn-id: svn://10.0.0.236/trunk@213088 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-03 22:47:23 +00:00
brendan%mozilla.org
1b8dca6f37 Fix 355075, r=igor.
git-svn-id: svn://10.0.0.236/trunk@212976 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 01:29:57 +00:00
igor.bukanov%gmail.com
6ad60918ce Bug 349331: Implementation of generator.close now uses asynchronous return instead of GeneratorExit exception. r=brendan
git-svn-id: svn://10.0.0.236/trunk@208545 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-26 20:24:45 +00:00
brendan%mozilla.org
f475156446 Use JSCLASS_GLOBAL_FLAGS for other global classes, and fix JS standard class init API to init the Block class (348786, r=mrbkap).
git-svn-id: svn://10.0.0.236/trunk@207511 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 23:56:08 +00:00
igor.bukanov%gmail.com
be4605f1a3 Bug 347645: Arenas no longer cached and are always released as such caching was, in fact, harmful. r=brendan sr=mrbkap
git-svn-id: svn://10.0.0.236/trunk@206925 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 20:02:07 +00:00
igor.bukanov%gmail.com
c3d19cda9a Bug 341821: Running close hooks of generator objects outside GC locks. r=brendan sr=mrbkap
git-svn-id: svn://10.0.0.236/trunk@206664 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-06 09:23:26 +00:00
brendan%mozilla.org
d73f9c6c2a DEBUG-only code to catch format arg count vs. arg specifier mismatch (346773, r=dbaron).
git-svn-id: svn://10.0.0.236/trunk@206272 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-01 07:00:26 +00:00
mrbkap%gmail.com
61bf3b545f Clear cached class objects when JS_ClearScope is called on the global object to avoid leaks. Also, add code to GC_MARK_DEBUG that pretty-prints slot names containing cached class objects. bug 343417, r=brendan
git-svn-id: svn://10.0.0.236/trunk@201773 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-07 22:28:05 +00:00