Commit Graph

9046 Commits

Author SHA1 Message Date
Jason Orendorff
9cddfe0be7 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
f3b00954e9 Followup for 568148 to cure orange from e4x/decompilation/regress-463360.js. 2010-05-27 14:33:57 -07:00
Jeff Walden
f21160d5f0 Fix bustage, add prmjtime.h to the list of headers... 2010-05-27 13:15:51 -07:00
Andreas Gal
8df6c7db72 Fix for bug 568413: I accidentally removed a required () pair when fixing formating nits. 2010-05-27 12:49:14 -07:00
Jeff Walden
16068a18f0 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
e98ca56524 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
22db0647cc Implement iterate trap for proxy handlers (568413, r=brendan). 2010-05-27 12:03:25 -07:00
Andreas Gal
e85c97aafb Stringify property names when invoking scripted proxy handlers (568051, r=mrbkap). 2010-05-27 12:01:55 -07:00
Igor Bukanov
f362c01610 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:57:55 +02:00
Igor Bukanov
735d63b45a Backed out changeset c78751701c46 - wrong commit 2010-05-27 16:56:34 +02:00
Igor Bukanov
b4468fa229 bug 561657 - Replacing js_CountThreadRequests with an explicit counter. r=jorendorff 2010-05-27 16:51:44 +02:00
Igor Bukanov
823bff32f4 Backed out changeset 7ebdbaba843a - that was temporary commit 2010-05-26 14:04:15 +02:00
Igor Bukanov
ef5bf20abd bug 516832 - temporary landing to collect tinderbox logs 2010-05-26 13:40:49 +02:00
Igor Bukanov
69c8687fd7 bug 568073 r=brendan 2010-05-26 12:56:57 +02:00
Brendan Eich
5ecc39b6b9 Strengthen our onlyXML checking (568148, r=gal). 2010-05-25 20:49:14 -07:00
Gregor Wagner
da2ef31170 Bug 568045 HashTable::Range::front should return a non-const Entry. r=lw 2010-05-25 16:23:54 -07:00
Igor Bukanov
e496ace8f3 bug 566141 r=brendan 2010-05-25 12:54:55 +02:00
Blake Kaplan
f17d997577 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
dcae10deae Make proxy API internal, allow JSObject::swap on functions (566818, r=brendan). 2010-05-24 14:33:03 -07:00
Andreas Gal
8e4c06cea9 Add a GC mark hook to C++ proxy handlers (567055, r=mrbkap). 2010-05-24 14:26:36 -07:00
Andreas Gal
edb127f3b4 If lookupProperty fails, recording is already aborted (567068, r=luke). 2010-05-24 14:20:19 -07:00
Andreas Gal
827b329995 Abort recording if js_FindIdentifierBase fails (567580, r=brendan). 2010-05-24 14:16:58 -07:00
Patrick Walton
7a314129ce 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
5f6f628e47 Merge 2010-05-24 13:24:52 -07:00
Robert Sayre
cac17c1ecd Disable msvc warning C4800 2010-05-24 13:24:09 -07:00
Brendan Eich
5679f25545 Fix getter vs. method pointer issues (567066, r=jwalden). 2010-05-24 10:48:32 -07:00
Robert Sayre
def349ad75 Merge mozilla-central to tracemonkey. 2010-05-24 09:05:39 -07:00
Jory A. Pratt
c9e150d2ca Bug 555562 - remove xpctools as no maintainer in 3 years. r=shaver 2010-05-24 11:31:27 +02:00
David Anderson
e2e1e9a8cc Backed out changeset 0f0f444d57ad 2010-05-23 22:09:41 -07:00
David Anderson
fd993d7db3 Deoptimize uses inside polluted scopes (bug 561923 part 3, r=brendan). 2010-05-23 17:15:01 -07:00
David Anderson
b51e272cf2 Avoid resolving while looking up constants during parsing (bug 561923 part 2, r=brendan). 2010-05-23 17:14:59 -07:00
David Anderson
7d51777143 Fix JSD to use JSCLASS_GLOBAL_FLAGS (bug 561923 part 1.5, r=mrbkap). 2010-05-23 17:14:56 -07:00
David Anderson
e1e1715771 Reserve standard class properties in global objects (bug 561923 part 1, r=brendan). 2010-05-23 17:12:08 -07:00
Luke Wagner
b7325ce98e Bug 567627 - fix strict-aliasing violation in jsgc (r=igor) 2010-05-23 13:38:29 -07:00
Igor Bukanov
2dc14c17ba 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
a40a1841c1 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
b901f571e8 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
fd6436223d Don't mark descriptor obj if it is NULL (567387, r=jorendorff). 2010-05-21 10:37:56 -07:00
Jason Orendorff
40d0fb0842 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
39f2723c14 Follow-up fix for bug 567059. 2010-05-21 00:19:09 -07:00
Andreas Gal
aa1254011a Abort tracing if we come across a non-native object (567059, r=dvander). 2010-05-20 21:01:27 -07:00
Michael Kohler
5f19df86e0 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ý
1507192afe Make ipc/ build with gcc 4.1.2. r=cjones 2010-05-24 09:36:49 +12:00
Nicholas Nethercote
6ded3c8f40 Fix a compiler warning on opt builds. No bug, r=gal via IRC. 2010-05-20 16:12:41 -07:00
Nicholas Nethercote
16a233b934 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
12ed619c14 Update nanojit-import-rev stamp. 2010-05-20 15:58:16 -07:00
Edwin Smith
603d2206c9 whitespace hygiene
--HG--
extra : convert_revision : f96ca24c15235dba3282e3649356b6a7acf5d2e2
2010-05-19 20:54:10 -04:00
Edwin Smith
09708715d6 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
c79040e8f9 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
edbad98461 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
c798b8b4d1 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
53e42ad125 Bug 566635 - TM: Change gcRootsHash and gcLocksHash to HashMap r=lw 2010-05-20 13:50:08 -07:00
Igor Bukanov
9d49b712de bug 566145 - reserving block and arguments shapes. r=jorendorff 2010-05-20 12:48:04 +02:00
Blake Kaplan
3ea4b3639e Fix bustage. 2010-05-19 19:19:31 -07:00
Blake Kaplan
9d09848caa 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
b2ebc063f7 Don't push call contexts when we don't have to. r=jst 2010-05-19 18:26:29 -07:00
Blake Kaplan
48aa419509 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
a27d4428f7 Bug 565251 - TM: simplify TraceRecorder::guardClass(). r=dvander. 2010-05-19 18:09:54 -07:00
Sean Stangl
e3e75e0bc6 Fix ReprMeter build and x64 bugs (bug 567015, r=dvander). 2010-05-19 16:35:30 -07:00
Brendan Eich
9de413892e Fix hard-case destructurinv vs. for(var ...=... in ...) bug (558633, r=mrbkap). 2010-05-19 16:25:56 -07:00
Luke Wagner
a033c82002 Bug 566831 - add missing 'return' to FrameRegsIter (r=dvander) 2010-05-19 11:21:26 -07:00
Andreas Gal
0042312b1f Don't leak native getters/setters into property descriptor objects (566914, r=brendan). 2010-05-19 14:43:17 -07:00
Julian Seward
a8447f425f Bug 557776 - js_InitTitle: initialize title->lock properly. r=jorendorff. 2010-05-19 15:36:56 -05:00
Andreas Gal
59fd9c917f Slowify dense arrays when used as 2nd argument of eval (566916, r=jwalden). 2010-05-19 12:19:44 -07:00
Jason Orendorff
721947de5b 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
acd79cbc3d Move the scripted proxies test into js1_8_5/extensions (bug 546590). 2010-05-19 02:08:53 -07:00
Igor Bukanov
442b99542f bug 237006 - automatic detection of the native thread stack base. The patch is based on the initial patches for bug 516832 by gal and gregor. r=gregor 2010-05-19 10:29:05 +02:00
Andreas Gal
4023a5b4e1 Check for invalid eval scope argument (566000, r=brendan). 2010-05-19 01:24:57 -07:00
Brendan Eich
be1aa946e1 Fix vp off-by-2 bug (566815, r=gal). 2010-05-19 00:59:49 -07:00
Andreas Gal
4bcbe87597 Scripted proxy traps don't guarantee that numeric ids are JSVAL_INT (566806, r=brendan). 2010-05-19 00:21:04 -07:00
Andreas Gal
e9349c81ba Too much recursion crash with proxies (566790, r=brendan). 2010-05-19 00:13:02 -07:00
Andreas Gal
fc090da906 Properly mark undefined call and construct hooks of function proxies (bug 566781, r=shaver). 2010-05-18 20:20:50 -07:00
Andreas Gal
5b8624d46f Add proxies test directory to Makefile.in (follow-up fix for bug 546590). 2010-05-18 20:00:18 -07:00
Andreas Gal
efd9bd790e Implement ES Harmony Proxies (bug 546590, r=mrbkap). 2010-05-18 19:21:43 -07:00
David Anderson
92852e7346 Don't execute trees if the inline call depth could exceed interpreter limits (bug 566639, r=luke). 2010-05-18 15:29:10 -07:00
Jason Orendorff
cd83f6032b Bug 566665 - jstests.py -s should print command lines rather than lists of strings. r=dmandelin. 2010-05-18 17:04:27 -05:00
Dave Herman
8f88912ddf bug 566695, r=jorendorff: js_DumpPC for easy printing current code context in gdb
--HG--
extra : rebase_source : a7e7662fb2271f408ecf5c3f26c6e639243484fc
2010-05-18 16:34:25 -05:00
Igor Bukanov
492d01b062 bug 564414 - defining XP_MACOSX on MACOSX. r=ted 2010-05-18 23:48:01 +02:00
Jeff Walden
0bd2ff1b53 Null-check the parent before attempting to outerize. rs=brendan 2010-05-18 14:13:22 -07:00
Luke Wagner
8c66dc0bc9 Bug 566556 - Check for nslots == 0 in decompiler (r=waldo) 2010-05-18 10:11:49 -07:00
Igor Bukanov
c512831379 bug 566136 r=brendan 2010-05-18 16:51:11 +02:00
Andreas Gal
379f08c160 Bulk clear GC bitmaps when GC starts instead of after the GC ends (565229, r=gregor). 2010-05-18 03:01:33 -07:00
David Anderson
e46e9a1c25 Fix recursing with inlining (bug 565373, r=luke). 2010-05-17 21:30:59 -07:00
Robert Sayre
13c247559e Merge mozilla-central to tracemonkey 2010-05-17 13:55:37 -04:00
Igor Bukanov
d2691ed07b bug 563326 - followup to fix OOM reporting 2010-05-16 11:23:28 +02:00
Igor Bukanov
c19c9e55c8 Backed out changeset 5748e8ff4666 - I landed the wrong patch 2010-05-16 11:21:08 +02:00
Igor Bukanov
06f3d228f8 bug 563326 - followup to fix OOM reporting 2010-05-16 11:19:38 +02:00
Rasmus Jensen
6ebcc68ad5 Followup for bug 335051, E4X literals should be acceptable values for sharp variables. r=me 2010-05-15 10:28:54 -07:00
Rasmus Jensen
333acce4c4 E4X literals should be acceptable values for sharp variables. r=jwalden 2010-05-14 21:52:03 -07:00
Marco Bonardo
5a227798cf followup to Bug 553070. Fix test_xpcomutils.js permaorange. 2010-05-22 14:55:34 +02:00
Marco Bonardo
d3cd5e9f26 Forgot to enable the test for Bug 553070 2010-05-22 11:56:43 +02:00
Marco Bonardo
dbe1232637 Bug 553070 - Allow XPCOMUtils to do category registration for specific apps. r=sayrer 2010-05-22 10:41:00 +02:00
Vladimir Vukicevic
560b5dc8cd Bug 564319 - Allow building ctypes on Android, r=ted 2010-05-20 18:19:01 -07:00
Jeff Walden
a8ac2fc31a Bug 565604 - Typed-array properties don't work when accessed from an object whose prototype is a typed array. r=vlad
--HG--
extra : rebase_source : 6ac630f7a9d2cb04a9a996c2a675be41130ea2b1
2010-05-19 14:25:20 -07:00
Ehsan Akhgari
a87b134220 Bug 560647 - add startup timeline instrumentation; r=vlad 2010-05-19 19:22:19 -04:00
Mitchell Field
a333ef25e4 Bug 516758 - Remove --disable-long-long-warning. r=ted
--HG--
extra : rebase_source : 33ac339a48174b0c84a6bf193b6fc2aabb42e6b6
2010-05-17 10:58:00 -04:00
Peter Van der Beken
4f514217e6 Fix for bug 560462 (Use fast unwrapping for more quickstubs) - add support for non-templated custom quickstubs for an interface. r=jst. 2010-05-06 14:16:32 +02:00
Olli Pettay
078f01ee1d Bug 549682 - Port the message-manager API to mozilla-central, r=jst 2010-05-18 15:28:37 +03:00
Olli Pettay
ebdab93b4c Backout Bug 549682 2010-05-18 13:10:47 +03:00
Olli Pettay
af68dc73cd Bug 549682 - Port the message-manager API to mozilla-central, r=jst
--HG--
extra : rebase_source : 45b28a7762428193873a636fa7d5108607f9e4a3
2010-05-18 11:52:24 +03:00