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

18225 Коммитов

Автор SHA1 Сообщение Дата
Jason Orendorff cab6466c09 Bug 568070 - jsapi.cpp refactoring. Part Q, CHECK_REQUEST in js_Atomize and js_AtomizeChars, as requested in reviews.
--HG--
extra : rebase_source : 33f35f7723315a96ccf15d72d23df00e5dd9a238
2010-06-02 00:23:43 -07:00
Jason Orendorff f86217ef52 Bug 568070 - jsapi.cpp refactoring. Part 2, whitespace changes. r=Waldo.
--HG--
extra : rebase_source : 8d3c5411ea4bb54c10c5fb00da08474390f1a7eb
2010-06-01 21:50:54 -07:00
Jason Orendorff 099ab1b0c5 Bug 568070 - jsapi.cpp refactoring. Part 1, rearrange functions. No behavior change. r=Waldo.
--HG--
extra : rebase_source : 88efb983301501cbb648611e4f8d6c87ebffa2a3
2010-06-01 21:39:48 -07:00
Jeff Walden 28d7207407 Fix test expectations for new error messages, r=orange 2010-06-01 21:31:18 -07:00
Jason Orendorff dece61dd6f Merge. 2010-06-01 21:21:36 -07:00
Jason Orendorff e95bdf7a84 Bug 559653 - Record assignment before the interpreter goes; avoid record_SetPropHit. r=brendan. 2010-06-01 21:18:49 -07:00
Brendan Eich b409820d54 Trace JSOP_DEL{PROP,ELEM} (523452, r=gal). 2010-06-01 19:42:37 -07:00
Brendan Eich 71097d4e5b Can't rely on UINT16_MAX cross-platform (followup for 569391, bustage fix). 2010-06-01 17:21:01 -07:00
Andreas Gal 5e1efde628 Properly handle errors during lookup when recording JSOP_IN (569384, r=luke). 2010-06-01 15:45:16 -07:00
Brendan Eich fc8011dc86 Call instances uniquely shaped at birth due to lack of runtime-shared empty scope (569391, r=jorendorff). 2010-06-01 15:01:11 -07:00
Rich Walsh 63e1dcbe10 Bug 568068 - fix jscntxt/jsnativestack build breaks on OS/2 (r=wuno) 2010-06-01 14:48:58 -07:00
David Mandelin de5b7c39b2 Bug 568991: allow shell jstests to run from 'src' directories, r=vlad 2010-05-28 16:51:06 -07:00
Andreas Gal 648e88c3a2 Don't use tinyids in jsregexp.cpp (569115, r=jorendorff, brendan). 2010-05-30 18:31:04 -07:00
Andreas Gal 20bf6bff8f Nit patrol shot me down. Follow-up nits for bug 569114. 2010-05-30 17:27:56 -07:00
Andreas Gal eafd5546f6 Don't use tinyids in jsxml.cpp (569114, r=jorendorff). 2010-05-30 17:02:09 -07:00
Marco Perez 842e4eae72 bug 569145 - fixing FreeBSD regression from the bug 237006. r=igor 2010-05-30 22:50:11 +02:00
Brendan Eich 014ea38134 Nit patrol flies at dawn, spots minor spacing infractions. 2010-05-30 11:40:14 -07:00
Jason Orendorff c9fe2903ad Fix js shell test runner to cope with assert-if. No bug, r=cdleary.
--HG--
extra : rebase_source : fc5685b3195dd9f4d34df5b38d61d70112f3ec17
2010-05-30 00:57:13 -07:00
Andreas Gal 43a1a27f82 Follow-up for bug 568966. js_Call is never called with JSFRAME_CONSTRUCT. 2010-05-29 19:43:24 -07:00
Andreas Gal 67c677f1de Improve error reporting for proxy handlers and __iterator__ (568966, r=brendan). 2010-05-29 19:04:01 -07:00
Andreas Gal 7a50cbda9d Must resolve standard classes even when assigning (568826, r=jorendorff). 2010-05-29 18:59:50 -07:00
Igor Bukanov d1060018a7 bug 568285 - jstests.py: option to write list of failures to a file. r=dmandelin 2010-05-29 23:15:53 +02:00
Jacek Caban 978ed15636 Fix NativeCompareAndSwap bustage on mingw (bug 568464, r=dvander). 2010-05-29 12:33:19 -07:00
Andreas Gal ef586f1535 Properly propagate deep aborts from within js_FindIdentifierBase (568855, r=dvander). 2010-05-29 00:24:26 -07:00
Andreas Gal 0dd5d24b95 The iterate() trap of proxy handlers must return an object (568867, r=brendan). 2010-05-28 15:02:33 -07:00
Igor Bukanov 283b11bea9 Backed out changeset 1070cd7a9da0 2010-05-28 14:19:20 +02:00
Igor Bukanov a4e09b1f98 bug 516832 - temporaral landing to get tinderbox stats 2010-05-28 14:09:25 +02:00
Igor Bukanov 16ce6a4bc7 bug 568303 r=brendan 2010-05-28 10:03:06 +02:00
Igor Bukanov 9a09893ee6 bug 568485 - fixing my bad typos in other patches. r=brendan 2010-05-28 10:00:07 +02:00
Andreas Gal 47c304f107 Update our local copy of the V8 benchmarks to the latest test harness. 2010-05-27 17:15:56 -07:00
Jason Orendorff c918e661ac Bug 533592, part 2 - Get rid of BYPASS code in XPCNativeWrappers. r=mrbkap.
--HG--
extra : rebase_source : 69e23e74b696b58f2f0a8c89b1d120e2cbb35084
2010-05-27 12:34:28 -07:00
Jason Orendorff 578fc3cdd3 Bug 533592, part 1 - Remove uses of and support for xpcnativewrappers=no/yes in manifests. (The default has been yes for some time and we will now only have that behavior.) r=mrbkap.
--HG--
extra : rebase_source : 996d2abecb15f44293abd470a28a3fe2706e130e
2010-05-27 12:33:54 -07:00
Jason Orendorff 4c2a74b653 Bug 568379, part 2 - Remove support for "shallow" XPCNativeWrappers, thus eliminate FLAG_DEEP. r=mrbkap.
--HG--
extra : rebase_source : 324fea0a26640cdd2d2ac169d901f4619cb2b4c0
2010-05-27 12:32:26 -07:00
Jason Orendorff 1763d8ba49 Bug 568379, part 1 - Remove hasStringArgs weirdness from XPCNativeWrapper constructor. r=mrbkap.
--HG--
extra : rebase_source : 9db4cc0f4d436d015645d074d64137a1d88e5c66
2010-05-27 12:30:37 -07:00
Jason Orendorff cd873b596e Avoid warning in jsapi-tests/tests.h due to printf type mismatch. No bug, rs=Waldo.
--HG--
extra : rebase_source : 22429e5178fa794fc06da843ba8046a2678ca114
2010-05-27 11:18:06 -07:00
Brendan Eich 15b7eff9b2 Followup for 568148 to cure orange from e4x/decompilation/regress-463360.js. 2010-05-27 14:33:57 -07:00
Jeff Walden 0b0c2c16b2 Fix bustage, add prmjtime.h to the list of headers... 2010-05-27 13:15:51 -07:00
Andreas Gal 37c683b6a0 Fix for bug 568413: I accidentally removed a required () pair when fixing formating nits. 2010-05-27 12:49:14 -07:00
Jeff Walden ead014ad99 Bug 563938 - Refactor units-of-time used in computing DST offsets. r=sayrer
--HG--
extra : rebase_source : 38ffc11fbd00aaca53fb399e6ff2c1cec4cc5f3b
2010-05-26 17:00:28 -07:00
Jeff Walden a274a7fd11 Bug 563938 - Refactor DST offset computation to pave the way for caching the DST offset when possible. No functionality change. r=sayrer
--HG--
extra : rebase_source : ad70045b70cc23dd7578e594490a10b4fc6fc7ef
2010-05-26 17:00:28 -07:00
Andreas Gal f9ad90c60a Implement iterate trap for proxy handlers (568413, r=brendan). 2010-05-27 12:03:25 -07:00
Andreas Gal d5290a8b69 Stringify property names when invoking scripted proxy handlers (568051, r=mrbkap). 2010-05-27 12:01:55 -07:00
Igor Bukanov 03e662abe8 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:57:55 +02:00
Igor Bukanov fd510cd6f2 Backed out changeset c78751701c46 - wrong commit 2010-05-27 16:56:34 +02:00
Igor Bukanov 62dc047c71 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:51:44 +02:00
Igor Bukanov d8e24dd661 Backed out changeset 7ebdbaba843a - that was temporary commit 2010-05-26 14:04:15 +02:00
Igor Bukanov 8492ffb327 bug 516832 - temporary landing to collect tinderbox logs 2010-05-26 13:40:49 +02:00
Igor Bukanov e68891e7c5 bug 568073 r=brendan 2010-05-26 12:56:57 +02:00
Brendan Eich cf7f1c6319 Strengthen our onlyXML checking (568148, r=gal). 2010-05-25 20:49:14 -07:00
Gregor Wagner 3d280eed3d Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw 2010-05-25 16:23:54 -07:00
Igor Bukanov 00e546fb0b bug 566141 r=brendan 2010-05-25 12:54:55 +02:00
Blake Kaplan d5682569e9 Bug 566773 - Don't force indirect eval to have a callobj. r=brendan
--HG--
extra : rebase_source : 3b16f2a9fe4918abf9f5bee9d6ecd37a4d62c290
2010-05-24 15:53:11 -07:00
Andreas Gal 49674dacbd Make proxy API internal, allow JSObject::swap on functions (566818, r=brendan). 2010-05-24 14:33:03 -07:00
Andreas Gal 61951f62c4 Add a GC mark hook to C++ proxy handlers (567055, r=mrbkap). 2010-05-24 14:26:36 -07:00
Andreas Gal 1556dd94a9 If lookupProperty fails, recording is already aborted (567068, r=luke). 2010-05-24 14:20:19 -07:00
Andreas Gal f6623afe84 Abort recording if js_FindIdentifierBase fails (567580, r=brendan). 2010-05-24 14:16:58 -07:00
Patrick Walton 6af5c970fa Bug 546097 - Narcissus: replace the regex-based lexer with a handwritten one; remove GLOBAL. r=brendan
--HG--
extra : rebase_source : a0cfac8bbbd86302530b3cbe9e82b161a5db2ac4
2010-05-24 13:43:21 -07:00
Robert Sayre f0adc4ecdd Merge 2010-05-24 13:24:52 -07:00
Robert Sayre 2bff94cc8e Disable msvc warning C4800 2010-05-24 13:24:09 -07:00
Brendan Eich ac49145996 Fix getter vs. method pointer issues (567066, r=jwalden). 2010-05-24 10:48:32 -07:00
Robert Sayre 2a3fb0fb81 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Jory A. Pratt 4a9eb898b2 Bug 555562 - remove xpctools as no maintainer in 3 years. r=shaver 2010-05-24 11:31:27 +02:00
David Anderson c68185d98a Backed out changeset 0f0f444d57ad 2010-05-23 22:09:41 -07:00
David Anderson b053a94e16 Deoptimize uses inside polluted scopes (bug 561923 part 3, r=brendan). 2010-05-23 17:15:01 -07:00
David Anderson 70afdd3532 Avoid resolving while looking up constants during parsing (bug 561923 part 2, r=brendan). 2010-05-23 17:14:59 -07:00
David Anderson 89fff65bc6 Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap). 2010-05-23 17:14:56 -07:00
David Anderson 1efac35384 Reserve standard class properties in global objects (bug 561923 part 1, r=brendan). 2010-05-23 17:12:08 -07:00
Luke Wagner 678984de5a Bug 567627 - fix strict-aliasing violation in jsgc (r=igor) 2010-05-23 13:38:29 -07:00
Igor Bukanov d33588c331 bug 558150 - js_GC outside a request must wait for other GC to finish. r=jorendorff 2010-05-22 21:49:58 +02:00
Jason Orendorff b2d4bc9a69 Bug 530688 - Do not use std::string or iostreams in jsapi-tests. r=Waldo.
--HG--
extra : rebase_source : a87186b5db07a158add196a59937e65f3cbcc0ca
2010-05-22 06:09:17 -05:00
Igor Bukanov 8e7e62fe3c bug 566949 - always allow JS_malloc to be called outside a request or from a GC. r=jorendorff 2010-05-22 13:07:29 +02:00
Andreas Gal a272a2382d Don't mark descriptor obj if it is NULL (567387, r=jorendorff). 2010-05-21 10:37:56 -07:00
Jason Orendorff 68c0d0f642 Bug 513065 - Part 3, Stay on trace when calculating scope in thisObject hook. r=mrbkap. 2010-05-21 07:27:00 -05:00
Andreas Gal 58e574769e Follow-up fix for bug 567059. 2010-05-21 00:19:09 -07:00
Andreas Gal 0b7360eb1e Abort tracing if we come across a non-native object (567059, r=dvander). 2010-05-20 21:01:27 -07:00
Michael Kohler 8550fb091a Bug 564091: Fix spelling of nonexistent across the tree. r=timeless
--HG--
extra : rebase_source : 4f15f7fd6f90926b77d136be83af7f22c5ffa830
2010-05-23 12:26:15 -07:00
Martin Stránský 080feb5d07 Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Nicholas Nethercote 5fcb0af4aa Fix a compiler warning on opt builds. No bug, r=gal via IRC. 2010-05-20 16:12:41 -07:00
Nicholas Nethercote 6dc9c4c8c1 Bug 566759 - Remove LOpcode aliases once they are no longer used (TM-specific part). r=gal via IRC. 2010-05-20 16:04:17 -07:00
Nicholas Nethercote d75ebfe6c5 Update nanojit-import-rev stamp. 2010-05-20 15:58:16 -07:00
Edwin Smith c5365c8232 whitespace hygiene
--HG--
extra : convert_revision : f96ca24c15235dba3282e3649356b6a7acf5d2e2
2010-05-19 20:54:10 -04:00
Edwin Smith 6c456129f2 Bug 560570 - ARM arch detection for RVCT compiler (r=stejohns+)
--HG--
extra : convert_revision : c79dae5ba88018f3cfa06621064008a21e39e49f
2010-05-19 20:52:18 -04:00
Edwin Smith 05335b2c06 Bug 560571 - Symbian RVCT 2.2 compiler requires explicit cast to (const void*) for &k (r=stejohns+)
--HG--
extra : convert_revision : 304ec7713fbecaf65b4c9f09b14f204b3416daf3
2010-05-19 20:47:56 -04:00
Edwin Smith d81aacc840 Bug 566759 - Remove LOpcode aliases once they are no longer used (r=nnethercote+)
--HG--
extra : convert_revision : 6aa777cb07a63862372399ac78a6f39b573c6dc1
2010-05-19 09:34:07 -04:00
Edwin Smith 328cde505c Minor PPC tweak from bug 560370, plus a few comments
--HG--
extra : convert_revision : ae4877e82cdda675f7fc8610f4cef987ea9a9c8b
2010-05-18 20:00:33 -04:00
Gregor Wagner bdf7016df2 Bug 566635 - TM: Change gcRootsHash and gcLocksHash to HashMap r=lw 2010-05-20 13:50:08 -07:00
Igor Bukanov 3c1b615300 bug 566145 - reserving block and arguments shapes. r=jorendorff 2010-05-20 12:48:04 +02:00
Blake Kaplan 148097e3c9 Fix bustage. 2010-05-19 19:19:31 -07:00
Blake Kaplan 9e8c66408e Avoid calling XPCWrappedNative::GetWrappedNativeOfJSObject when we know we already have a wrapped native's JSObject. r=jst 2010-05-19 18:26:40 -07:00
Blake Kaplan e5bf036bd9 Don't push call contexts when we don't have to. r=jst 2010-05-19 18:26:29 -07:00
Blake Kaplan 40794f5a9b Avoid calling nsXPConnect::GetWrapperFor in the common case of wrapping a global object in its own scope. r=jst 2010-05-19 18:26:15 -07:00
Nicholas Nethercote beb6d7d92c Bug 565251 - TM: simplify TraceRecorder::guardClass(). r=dvander. 2010-05-19 18:09:54 -07:00
Sean Stangl 05009cdad5 Fix ReprMeter build and x64 bugs (bug 567015, r=dvander). 2010-05-19 16:35:30 -07:00
Brendan Eich c9643f4003 Fix hard-case destructurinv vs. for(var ...=... in ...) bug (558633, r=mrbkap). 2010-05-19 16:25:56 -07:00
Luke Wagner af80fbd1b7 Bug 566831 - add missing 'return' to FrameRegsIter (r=dvander) 2010-05-19 11:21:26 -07:00
Andreas Gal b96c7bff06 Don't leak native getters/setters into property descriptor objects (566914, r=brendan). 2010-05-19 14:43:17 -07:00
Julian Seward 64d8eac2ec Bug 557776 - js_InitTitle: initialize title->lock properly. r=jorendorff. 2010-05-19 15:36:56 -05:00
Andreas Gal 407a1e253e Slowify dense arrays when used as 2nd argument of eval (566916, r=jwalden). 2010-05-19 12:19:44 -07:00
Jason Orendorff f1a99f8fb8 Bug 566549 - Crash [@ js_AllocSlot] or "Assertion failure: obj->map->ops->defineProperty == js_DefineProperty" with evalcx. r=brendan. 2010-05-19 13:23:53 -05:00
Andreas Gal 7576f0f9a9 Move the scripted proxies test into js1_8_5/extensions (bug 546590). 2010-05-19 02:08:53 -07:00