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

18849 Коммитов

Автор SHA1 Сообщение Дата
Luke Wagner 030426b65f Remove js::Value default ctor (jsval doesn't have one) (no bug) 2010-07-23 17:16:00 -07:00
Andreas Gal d713b7cb53 Don't lock the GC if its already locked (follow-up for 580803). 2010-07-23 20:02:13 -07:00
Paul Biggar b5a53dd7fa Bug 578159: remove object allocation debug hook. (r=gal, sr=brendan) 2010-07-23 19:33:49 -07:00
Jeff Walden 1b57392126 Followup to bug 465199: properly perform ToInteger rather than just ToNumber when determining lastIndex in RegExp.prototype.exec; could have sworn I did this already...
--HG--
extra : rebase_source : c63fa22c169751610bc09e7d2c91858ec9cd56b5
2010-07-23 18:30:34 -05:00
Andreas Gal c54e460702 Remove leftover use of js_NewArrayObjectWithCapacity (follow-up for bug 581264). 2010-07-23 16:05:36 -07:00
Andreas Gal 283b5621fc Always allocate dslots for dense arrays (580877, r=njn). 2010-07-23 15:29:02 -07:00
Andreas Gal 3b3f1f1e41 Don't use broken js_NewArrayObjectWithCapacity API (581264, r=bz,jst,dwitte). 2010-07-23 15:25:42 -07:00
Andreas Gal 4f316be253 Trigger all operation callbacks from triggerGC (follow-up for 580803). 2010-07-23 15:21:13 -07:00
Andreas Gal 7bc0fea77a Consolidate GC heuristics (580803, r=igor). 2010-07-23 15:17:42 -07:00
Igor Bukanov 356128292d bug 576596 - follow up to rename js_HasInstance into HasInstance
--HG--
extra : rebase_source : 2f4d4db7a849d3683a85f971e88855b1e72d8398
2010-07-23 23:56:16 +02:00
Jeff Walden f3866c0a67 Bug 580200 - Assertion failure, or duplicated enumeration, enumerating own properties of proxy returning duplicated property names. r=jorendorff
--HG--
extra : rebase_source : 19d4bf112e0dfdb5ed619f9d6e1f72b72a3e0801
2010-07-20 12:46:58 -05:00
Jeff Walden fe367b4bb1 Bug 581067 - U+FEFF should be a WhiteSpace character (change in ES5 from ES3). r=cdleary
--HG--
extra : rebase_source : 38947caa8d4f21d0867137d0933495061a88d052
2010-07-22 22:28:33 -05:00
Jeff Walden 49ded6d0df Bug 465199 - RegExp.lastIndex setting shouldn't coerce to integer (should happen during internal use of the property instead). r=cdleary
--HG--
extra : rebase_source : d2f32831a11a4e88dbed927a9a17e96f2a9561b3
2010-07-12 15:40:44 -05:00
Brendan Eich 8fdb12a38b Back out patch for bug 577648, need to fix a leak. 2010-07-23 14:21:50 -07:00
Brendan Eich 401ce49c59 arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-10 11:48:00 -07:00
Jason Orendorff cba1ad53db Fix debug non-threadsafe builds. rs=brendan. 2010-07-23 11:32:50 -05:00
Jacek Caban 745062e740 Bug 578340 - Sync jschar and PRUnichar on Windows r=jorendorff 2010-07-23 17:03:43 +02:00
Igor Bukanov d7a21deef3 bug 552266 - - asserting that autorooters are used only under a request. r=mrbkap 2010-07-23 13:33:15 +02:00
Igor Bukanov 9ae6a6411c bug 580458 - trigger operation callback once per thread, not once per cx. r=gal,mrbkap 2010-07-22 22:59:59 +02:00
Andreas Gal 3378383935 Remove hole count from dense arrays (580846, r=njn). 2010-07-22 18:45:21 -07:00
Alan Pierce 4617f42c0b Bug 579173 - Use ropes to avoid large copies in simple string replace cases (r=lw) 2010-07-22 17:54:39 -07:00
Luke Wagner 4518b8acb7 Bug 578922 - remove wasteful store/load in box_value_for_native_call on x64 (r=njn) 2010-07-22 17:47:59 -07:00
Dan Witte 6628592c86 Fix build. 2010-07-22 15:30:03 -07:00
Dan Witte b2f3fd3da6 Bug 573841 - Assertion of non-null-terminated string on returning a ctypes array.readString(). r=mrbkap, a=sayrer 2010-07-22 15:01:17 -07:00
Dan Witte 88273beb6c Marshal small integer return values through ffi_arg to avoid invalid writes. b=564739, r=bsmedberg, a=blocking2.0 2010-07-22 14:55:49 -07:00
Luke Wagner d9561a2d57 Bug 579183 - CallStack was a confusing name, CallStackSegment is more accurate (r=dvander) 2010-07-22 13:46:43 -07:00
Jason Orendorff 5d0f2f1fbe Bug 580411 - AutoCompartment and JS_Enter/LeaveCrossCompartmentCall should support the trivial case of not changing compartments. r=mrbkap. 2010-07-20 18:59:29 -05:00
Igor Bukanov 3bb859d8fb bug 576596 - removal of JSObjectOps::(call|construct|hasInstance). r=jorendorff
--HG--
extra : rebase_source : 8fd09ab6bfb4daece7a27b9a46097ae74bdc055c
2010-07-07 09:53:50 +02:00
Jacek Caban 3f29377972 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Jacek Caban 32fd2484e8 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Ginn Chen 0e903faf8c Bug 580549 NativeSparc.cpp failed to compile r=leon.sha 2010-07-22 15:07:07 +08:00
Luke Wagner 3566d1f9a4 Fix jshashtable.h bustage 2010-07-21 19:47:02 -07:00
Luke Wagner 431986c597 Bug 580633 - Do less copying when adding elements to HashMap (r=bz) 2010-07-21 19:01:33 -07:00
Sean Stangl 641f7d4504 Bug 580745 - Add JSValueShiftedTag (r=lw) 2010-07-21 18:57:01 -07:00
Nicholas Nethercote cd05af45b5 Update nanojit-import-rev stamp. 2010-07-20 21:10:57 -07:00
Nicholas Nethercote b04ccdcbd5 Bug 574969 - add LIR_qasd / LIR_dasq. r=edwsmith.
--HG--
extra : convert_revision : 06774ab0e7e002b4fe6f4091a5dd59904fb6b080
2010-07-20 21:04:21 -07:00
Luke Wagner c2175829ad Bug 579598 - Help GCC out in array_splice (r=waldo) 2010-07-20 20:27:15 -07:00
Luke Wagner 1001434d27 Bug 578044 - fix setterOrUndefined (r=waldo) 2010-07-20 19:33:51 -07:00
Luke Wagner 10fdc6b2bf Bug 580051 - Catch ints-as-doubles in JSOP_TABLESWITCH (r=jorendorff) 2010-07-20 19:32:11 -07:00
Luke Wagner c60c4599e2 Bug 580187 - Pass vp to ComputeThisFromVp (r=dvander) 2010-07-20 19:32:04 -07:00
Luke Wagner 449071a0e9 Mark some inline JSString members as JS_ALWAYS_INLINE 2010-07-20 19:31:55 -07:00
Robert Sayre 03b68b00e8 Merge. 2010-07-20 15:49:14 -07:00
Robert Sayre b8d6ec6280 Merge mozilla-central to tracemonkey. 2010-07-20 15:07:03 -07:00
Jason Orendorff aa85fae8cc Bug 580084 - JS_InitClass with no methods or properties breaks JSScope::emptyScope invariant. r=brendan. 2010-07-20 16:57:12 -05:00
Dan Witte b17a2518a0 Fix warning. 2010-07-20 10:13:54 -07:00
Jason Orendorff f9fcd55d2a Merge backout. 2010-07-20 11:57:51 -05:00
Jason Orendorff 50b60b1e5e Backed out changeset a8d0c83fe7c7 due to debug-mode assertions in mochitests. 2010-07-20 11:57:29 -05:00
Gregor Wagner b11b29daa5 Bug 579586 - TM: remove doubles from GCTIMER (r=jorendorff) 2010-07-20 09:52:02 -07:00
Mitchell Field 76b93110a5 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek c087cbcbef Bug 578751: Use @loader_path instead of @executable_path on Mac OS X. Committing as a bustage fix, still needs review. 2010-07-20 01:41:22 -04:00
Jason Orendorff 2c34e0d185 Bug 580033 - JS_Save/RestoreFrameChain should update cx->compartment. r=gal.
--HG--
extra : rebase_source : e063e91c61f159c98ac4f8f0e3bb74eceee069e6
2010-07-19 18:04:50 -05:00
Andreas Gal 3dd9f9600b Support independent cycle collection and garbage collection (573175, r=jst). 2010-07-19 23:31:01 -07:00
Dimitrios Vardoulakis 602a8fad95 Incorporating patch recommendations for changeset 669386771b5e (bug 579564, r=gal) 2010-07-19 18:41:36 -07:00
Dimitrios Vardoulakis 7595053185 Allow more LHS values in for/in loops and fixed yield to take 0 or 1 args. (bug 579564, r=gal) 2010-07-19 17:07:29 -07:00
Tom Austin 7d194fa403 Updated and sorted narcissus failures list (bug 579564, r=gal) 2010-07-19 17:02:47 -07:00
Blake Kaplan 7aae25faf9 Bug 563106 - Tie XPConnect to compartments. r=jorendorff/gal/jst 2010-07-19 13:36:49 -07:00
Luke Wagner cd90df0e6b Fix testBug579646.js in opt trace-tests 2010-07-19 16:06:42 -07:00
Luke Wagner c8b5ddc81e Bug 579646 - Avoid recording when negating double(0) (r=gal) 2010-07-19 14:24:09 -07:00
Andreas Gal 284e32eb67 Move the cycle collector out of the GC callback (573060, r=peterv). 2010-07-15 18:08:47 -07:00
Jeff Walden 3d9e9183cf Bug 568786 - Fix a bad assertion defining an accessor property over a method-valued property. r=brendan
--HG--
extra : rebase_source : 88fc1934f4be3516ace8b006c4296931dfef7a5f
2010-07-19 12:39:57 -05:00
Luke Wagner c16733e4ee Bug 579647 - use canonical nan in js_dmod (r=dvander) 2010-07-19 11:28:13 -07:00
Dan Witte 809b0c480b Remove redundant checks in CClosure::Trace. No bug, r=luke 2010-07-19 11:23:24 -07:00
Tom Austin e34e5ffc88 Remove special constructs no longer needed for Narcissus (bug 579137, r=gal) 2010-07-16 18:16:07 -07:00
Luke Wagner da24c5d3a4 Forgot to add test case for 26c99d5891c1 2010-07-17 02:10:40 -07:00
Luke Wagner 9c94ddbd14 Bug 579602 - desc.getter/setter can be null; finish what 8956606e0b49 started 2010-07-17 01:51:07 -07:00
Andreas Gal d7b656c9d6 Bug 579524 - DEBUG_CC broken by fatval. r=sayrer 2010-07-16 20:41:28 -07:00
Alan Pierce c39299c437 Bug 571579 - Implement ropes (r=gal) 2010-07-16 17:41:22 -07:00
Luke Wagner 3535273a24 Bug 579140 - address various minor change requests for fatvals
--HG--
extra : rebase_source : 02091a75071469c9f6148a5221be9333655bb832
2010-07-16 15:34:00 -07:00
Jeff Walden af48b9b7c9 Followup fix for cyclic-proto exception change, r=orange
--HG--
extra : rebase_source : eb71da4a4b83bfd35d94f51618b68272985e32eb
2010-07-16 16:53:15 -05:00
Luke Wagner c82eb0f236 Bug 579279 - GCC sometimes chooses to use signed < on enumerations whose underlying type is uint32 (r=dmandelin) 2010-07-16 14:00:41 -07:00
Jeff Walden 0b1a240031 Bug 578273 - ES5: Properly detect cycles in JSON.stringify (throw TypeError, check for cycles rather than imprecisely rely on recursion limits). r=sayrer
--HG--
extra : rebase_source : ce0005b1b7a69b12f89ad33420ac543c4d09777b
2010-07-13 23:32:28 -05:00
Jeff Walden a09b17a542 Bug 562446 - ES5: Array.prototype.toString and Array.prototype.toLocaleString should be generic. r=igor
--HG--
extra : rebase_source : 003f392af828817cba1d1153c2ed5d4e5402f5c3
2010-07-15 12:33:33 -05:00
Jeff Walden 54561f53dd Er, really fix DEBUG_jwalden code. r=tpyo
--HG--
extra : rebase_source : 957de112c57250d4244883eada9561cc76b49006
2010-07-16 14:10:47 -05:00
Luke Wagner 12cea819c6 Bug 579273 - Remove JSObject*-to-jsval union-cast in jswrapper.cpp; use CastAsObjectJsval (r=dmandelin) 2010-07-16 11:47:29 -07:00
Luke Wagner 9c5a5f156a Bug 578015 - desc.getter/setter can be null (r=dmandelin) 2010-07-16 11:14:05 -07:00
Blake Kaplan c3754c72c8 Bug 579275 - Don't treat null as a primitive this value. r=luke 2010-07-16 00:44:26 -07:00
Igor Bukanov 54e3c21362 bug 552266 - Allow for only one JSContext to be in a request on a given thread. r=mrbkap 2010-06-26 22:31:54 +02:00
Luke Wagner a200cc6b27 Bug 579140 - Address review comments in xdr and xpconnect (r=igor,mrbkap) 2010-07-15 18:19:50 -07:00
Andreas Gal 0f7a6a9d16 Disentangle cycle collector and JS GC (549806, r=peterv/igor). 2010-07-15 17:58:36 -07:00
Andreas Gal ce1fbe0cf2 Backed out bug 549806. Very frustrating. 2010-07-15 15:39:06 -07:00
Dimitris Vardoulakis 0e8b4646ae Extension to the narcissus parser to handle Mozilla-specific extensions to JS (572014, r=pwalton). 2010-07-02 10:29:24 -07:00
Andreas Gal 63124d7f53 Backed out bug 573060. 2010-07-15 14:14:26 -07:00
Luke Wagner 130283c1f7 fatval tweaks: bump XDR version, remove spurious comment and #defines, realign JSStackFrame 2010-07-15 13:18:12 -07:00
Jeff Walden 3249518de8 Fix DEBUG_jwalden code for fatvals. r+sr+ui-r+a=mconnor per firebot2 (an evil doppelgänger?) 2010-07-15 14:28:56 -05:00
Andreas Gal f64b050097 Move the cycle collector our of the GC callback (573060, r=peterv). 2010-07-15 10:30:37 -07:00
Andreas Gal ea2fefefb7 Disentangle cycle collector and JS GC (549806, r=peterv, igor). 2010-07-15 10:21:34 -07:00
Luke Wagner 7371ad00ed Bug 549143 - fatvals 2010-07-14 23:19:36 -07:00
Tom Austin 29d5a7430a Enable __call__ to work without special extensions (bug=578518, r=gal) 2010-07-14 19:06:09 -07:00
Tom Austin 811054a54f Eliminate use of __applyConstructor__ (bug=573792, r=gal) 2010-07-14 18:24:42 -07:00
Andreas Gal ecb673add9 Make narcissus use ES5 defineProperty (bug 546532, r=dherman) 2010-07-14 16:23:21 -07:00
Tom Austin fa7af6fc44 Merge 2010-07-14 15:17:34 -07:00
Tom Austin a4f0509795 Create shell for Narcissus JS (bug 572879, r=gal) 2010-07-14 15:02:51 -07:00
Jeff Walden c3c43c47a4 Fix orange from bug 509733 changes. r=lumpy 2010-07-14 15:04:02 -05:00
Dave Herman 36cfe9af21 dherman bug 578590, r=brendan : extraneous dereference in JSAtomList::rawLookup 2010-07-14 10:37:42 -07:00
Nicholas Nethercote d91a162eaf Update nanojit-import-rev stamp. 2010-07-13 18:20:11 -07:00
Nicholas Nethercote 2d6848b5a3 Bug 578290 - nanojit: fold constant 64-bit integer expressions. r=stejohns.
--HG--
extra : convert_revision : 94aa179ec87c6a6c0949f1a6b2b6134074eef29b
2010-07-13 18:10:42 -07:00
Nicholas Nethercote 665d58d00d Bug 578292 - TM: remove constant equality comparisons occurring for JSOP_ARGUMENTS on 64-bit. r=gal. 2010-07-13 18:03:59 -07:00
Andreas Gal 6e61684380 Compartments can get GCed while we allocate the first object inside of them (576722, r=mrbkap). 2010-07-13 16:22:45 -07:00
Andreas Gal 9949de4d00 Merge for backout. 2010-07-12 23:18:54 -07:00
Andreas Gal 1e48c2449a Backed out changeset 864b37b4c91c. Missing bug# and review. 2010-07-12 23:18:18 -07:00