Commit Graph

10145 Commits

Author SHA1 Message Date
Kyle Huey
932ea79b49 Bug 522770: Link directly to object files instead of intermediate static libs. Patch originally written by Ted Mielczarek. Checking into a CLOSED TREE as a bustage fix. reviews pending.
--HG--
extra : rebase_source : 54a506a5815dcdedaf3f61ad7d6bdd0529d7f5f7
2010-08-01 01:48:21 -07:00
Robert Sayre
b90c702db2 Remove tests associated with backouts. 2010-07-31 14:19:00 -07:00
Robert Sayre
9bae5e1079 Backout changeset 80382d88b92c. (Bug 577648 - arguments.callee.caller does not work in FF 4 under certain circumstances). The patch is righteous, but MSVC's behavior with a mere 3GB of addressable memory is not. Will reland soon. 2010-07-31 14:01:26 -07:00
Robert Sayre
fcd927ce28 Back out changeset c877176cbbed in order to get Windows compiling. (Bug 582479 - TM: Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction().) 2010-07-31 13:17:20 -07:00
Robert Sayre
6bf99d92ea Merge backout. 2010-07-31 11:16:52 -07:00
Robert Sayre
90cb325bbf Backed out changeset af011e92ad0b. (Dave Herman – bug 583281, r=jimb: njs should get symlinked into objdir). This doesn't build on windows. 2010-07-31 11:16:38 -07:00
Dave Herman
1cd082cba6 bug 583281, r=jimb: njs should get symlinked into objdir
--HG--
rename : js/src/njs => js/src/shell/njs
2010-07-30 15:17:14 -07:00
Zack Weinberg
788b4d617f Bug 568863: Add a scriptable interface to operating-system performance measurement APIs (Linux only for now). r=cjones,waldo,mitch a2.0=bz
--HG--
rename : toolkit/components/ctypes/Module.cpp => toolkit/components/ctypes/ctypes.cpp
rename : toolkit/components/ctypes/Module.h => toolkit/components/ctypes/ctypes.h
2010-07-30 12:17:56 -07:00
Chris Leary
460cdeaae5 Rename displaySave member of the stack frame to padding. (r=luke) 2010-07-30 11:57:03 -07:00
Jason Orendorff
6972003bf8 Delete obsolete comment. no_r=me.
--HG--
extra : rebase_source : 8b9b7408c0efd682a5f11f827fca2d2304e0a4a3
2010-07-30 10:21:11 -05:00
Ginn Chen
7a935c4faf Bug 568782 add #ifdef SOLARIS for mmap/munmap changes r=igor 2010-07-30 18:51:58 +08:00
Boris Zbarsky
0d44d3fad5 Bug 586204. Remove pointless null-check. r=peterv, a=bsmedberg 2010-08-11 17:05:28 -04:00
Michael Wu
2abb47c1f1 Bug 556644 - 4. Fix tests, r=bsmedberg a=blocking2.0
--HG--
rename : caps/tests/mochitest/test_bug292789.html => caps/tests/mochitest/test_bug292789.html.in
2010-08-10 15:18:40 -07:00
Oleg Romashin
8144f44a16 Bug 584727 - contentaction.h system-header is missed. r=doug.turner 2010-08-10 12:53:17 -07:00
Benjamin Smedberg
50c345a485 Disable test_rooting on a CLOSED TREE, since with the GC changes the handle isn't being collected deterministically. 2010-08-10 13:26:30 -04:00
Steven Michaud
864fe41a26 Bug 581573 - Trunk builds fail when using --enable-cpp-rtti. r=gal a=bsmedberg 2010-08-10 11:31:06 -05:00
Benjamin Smedberg
1e3daa33ff Bustage fix, bug 578821. 2010-08-10 11:48:49 -04:00
Luke Wagner
dd44050eb2 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-28 09:54:14 -07:00
Robert Sayre
909914ff10 Merge backout. 2010-07-29 18:15:03 -07:00
Robert Sayre
c7bd912564 Backed out changeset d8bbb2ef3038. (Igor Bukanov – bug 579957 - parent as a field in JSObject. r=lw) 2010-07-29 18:11:41 -07:00
Igor Bukanov
4eff9db05f bug 579957 - parent as a field in JSObject. r=lw 2010-07-29 19:11:27 +02:00
Jason Orendorff
3e23944c3b Fix MSVC warnings about class JSFunction. no_r=me. 2010-07-29 08:08:23 -05:00
Jason Orendorff
566beedf1f Remove extra backslashes. no_r=me. 2010-07-29 08:06:32 -05:00
Benjamin Smedberg
d2b5f1a5d7 But 578821 - Give jetpacks a way to mark a handle as unrooted, so that it can live as long as client code holds it alive without having to be explicitly deleted, and give the other side the ability to see handle deletion, r=bent/atul/cjones 2010-07-27 16:18:08 -04:00
Blake Kaplan
b1090c307e Fix bug 584180. 2010-08-11 14:35:07 -07:00
Igor Bukanov
041b1e86e5 bug 574313 - checking that autoroots are conservatively scanned and aborting if not. The check is enabled in optimized build for better test coverage. r=anygregor 2010-07-26 10:24:27 +02:00
Igor Bukanov
b4a4d8d48e bug 579957 - parent as a field in JSObject (relanding after wixing bug 583404). r=lw 2010-07-31 11:54:01 +02:00
Igor Bukanov
fc98a499af bug 583404 - backport of fix from David for JM branch. 2010-07-31 11:42:28 +02:00
Robert Sayre
073bde8d2b Merge mozilla-central to tracemonkey. 2010-07-30 21:57:41 -07:00
Robert Sayre
fdb70f359e Change a comment to match the surrounding code. 2010-07-30 20:26:06 -07:00
Robert Sayre
d733703b0c Change a comment to match the surrounding code. 2010-07-30 20:12:45 -07:00
Jeff Walden
cfbbbaa362 Really test bug 583429. :-) rs=tpyo 2010-07-30 19:17:15 -07:00
Jeff Walden
f6cbfcea4c Bug 582643 - Reject '0x' without any hex digits. r=jorendorff 2010-07-29 17:37:25 -07:00
Jeff Walden
9bb90b0bc3 Bug 583126 - parseInt(string) traceable native ignores OOM. rs=jorendorff
--HG--
extra : rebase_source : b9244f62e7f4bc0e0db96a7b5fa21b43ffc1b7de
2010-07-30 17:25:20 -07:00
Andreas Gal
482da28f6d Test for bug 583429 2010-07-30 19:04:03 -07:00
Andreas Gal
98a47a4f07 Array.prototype lost its length property (583429, r=brendan). 2010-07-30 18:24:03 -07:00
Jeff Walden
5891afb00c Followup to bug 577536: move parse-as-octal inference to a slightly different location so as not to cause |parseInt('0A', 16)| to be parsed as octal. r=jorendorff 2010-07-30 14:39:51 -07:00
Luke Wagner
48166dd26f Fix warning in js_DumpAtoms on 64-bit (no bug) 2010-07-30 16:50:38 -07:00
Blake Kaplan
443e8e48fa Bug 577750 - Make computing global this a little simpler. r=jorendorff 2010-07-15 23:49:13 -07:00
Blake Kaplan
4d1ed260a0 Bug 580544 - Don't bother trying to use the global object as a constructor. r=jorendorff 2010-07-21 16:56:57 -07:00
Luke Wagner
9210cc1267 Silence warning in jscntxtinlines.h (r=me) 2010-08-10 13:29:17 -07:00
Dan Witte
14456b5938 Bug 585175 - Don't automangle ctypes stdcall symbols for WINAPI. r=bsmedberg, a=blocker 2010-08-10 09:10:50 -07:00
Luke Wagner
b23d605527 Bug 579183 - loosen-up StackSegment invariants - part 5 - CallArgs (r=waldo)
--HG--
extra : rebase_source : 4031cc1def70bef58bfa759a4cc90af06adfc9cd
2010-07-30 10:41:03 -07:00
Luke Wagner
facb1029e6 Bug 579183 - loosen-up StackSegment invariants - part 4 - StackSpace (r=waldo)
--HG--
extra : rebase_source : ef600f1185199cf65e251325995f772170502cca
2010-07-30 10:40:58 -07:00
Luke Wagner
bbea6273e3 Bug 579183 - loosen-up StackSegment invariants - part 3 - renaming (r=waldo)
--HG--
extra : rebase_source : 3adc886f47b9e0ae77e33cbe15dec9d831576266
2010-07-29 14:43:11 -07:00
Luke Wagner
271d6b6562 Bug 579183 - loosen-up StackSegment invariants - part 2 - xpconnect (r=mrbkap)
--HG--
extra : rebase_source : af3a68294495984e06db7c73a84e444f12c97a8d
2010-07-26 19:49:27 -07:00
Luke Wagner
c9c381b11c Bug 579183 - loosen-up StackSegment invariants - part 1 - decompiler (r=brendan)
--HG--
extra : rebase_source : 77f1977e20773431266c7794b6cf8a2595b1c8f2
2010-07-30 14:49:29 -07:00
Igor Bukanov
32c740b945 bug 568730 - folloup to add missing activity callback null check 2010-08-10 15:32:33 +02:00
Alon Zakai
8ba541a087 Bug 568730 - Allow customizing the sleep duration in XPCJSRuntime::WatchdogMain. r=igor/jst/gal 2010-08-09 16:39:28 -07:00
David Mandelin
71cf6e222a Bug 584615: adding missing oom check, r=jwalden
--HG--
extra : rebase_source : c3357167c84ab2e2e408facdcbf083df78f2fa9c
2010-08-09 16:18:07 -07:00
Luke Wagner
d75cf631d5 Define gczeal in testBug584650.js so opt builds pass 2010-08-09 15:18:05 -07:00
Dave Herman
c5d0735e45 bug584124, r=shu: njs terminal annoyances 2010-08-09 14:39:01 -07:00
Dave Herman
5da271b2a7 bug 584082, r=pwalton: eliminate uses of == 2010-08-09 14:35:02 -07:00
Luke Wagner
9644ea639c Bug 581900 - obj_getPrototypeOf produces wrong error when Invoked (r=brendan) 2010-08-09 14:07:27 -07:00
Luke Wagner
42f82923f9 Fix bustage; don't #include jstl.h from jsvalue.h, it messes up the mozalloc wrapper ritual
--HG--
extra : rebase_source : ac82f78d3d34a8d58d28d7e556ae4fd516fc83d5
2010-08-09 13:59:28 -07:00
Steve Fink
082cfbef39 Bug 507012: function call/return callback for profiling, r=dmandelin, a=sayrer 2010-08-09 13:38:13 -07:00
Shu-yu Guo
cefdea759e Bug 584436 - Better comments for hoisting/block numbering logic. r=dherman 2010-08-09 12:47:41 -07:00
Tom Austin
5075855584 Bug 584625. Renamed Narcissus modules and removed JSON style labels. r=dherman 2010-08-09 12:37:38 -07:00
Luke Wagner
05d9f91b76 Bug 584650 - address comments in bug missed by previous patch 2010-08-09 12:02:26 -07:00
Luke Wagner
0e832b8f5c Bug 584650 - Make value/id range safe after auto rooter resize (r=waldo) 2010-08-09 11:56:38 -07:00
Paul Biggar
6634b70997 Split object/function allocation paths to avoid branch (578158, r=brendan). 2010-08-09 09:11:22 -07:00
Robert Sayre
a11c4c6043 Merge mozilla-central to tracemonkey. 2010-08-07 23:05:12 -07:00
Robert Sayre
2e619a2217 Merge backout. 2010-08-07 20:11:53 -07:00
Robert Sayre
5672347230 Backed out changeset 96ef97b766e6. (Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan.) 2010-08-07 20:11:42 -07:00
Andreas Gal
5322ed0408 JSString::mLengthAndFlags and mChars are not constant (585309, r=apierce). 2010-08-07 20:01:02 -07:00
Gregor Wagner
35c318f12b Bug 583598 - GC-related JS_ASSERT (r=igor) 2010-08-07 18:56:24 -07:00
Jason Orendorff
6e4e0d61ae Bug 458271 - Property cache causes resolve hooks not to be called. r=brendan. 2010-08-07 14:57:59 -05:00
Igor Bukanov
c834b35395 bug 583763 - followup to add more information into printout about missing roots and an extra assert.
--HG--
extra : rebase_source : 1889cc878be4e8fdf1c1902139208ad12cc28760
2010-08-06 21:45:25 +02:00
Luke Wagner
940ef90c85 Bug 584653 - increase JSVAL_SHIFTED_TAG_MAX_DOUBLE to include innocuous qnans (r=brendan) 2010-08-06 22:10:07 -07:00
Andreas Gal
ea8ed0fbf0 Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 20:24:49 -07:00
Dave Herman
9f5d2e6532 bug 584786, r=shu: s/CompilerContext/StaticContext/g 2010-08-06 19:37:24 -07:00
David Anderson
bbead0c23f Fixed assertion failure in callNative (bug 579740, r=jorendorff). 2010-08-06 18:54:51 -07:00
Dave Herman
667d82cfcc bug 585208, r=taustin: reference to undefined Object.getOwnProperties 2010-08-06 17:23:17 -07:00
Luke Wagner
8d67384340 Bug 585231 - Remove ArgsPrivateNative (r=dmandelin) 2010-08-06 17:19:22 -07:00
Robert Sayre
d1662b9077 Backed out changeset 504bc84513b0. Andreas Gal – Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). default tip 2010-08-06 18:15:51 -07:00
Andreas Gal
fe2812701c Ensure that JSOPTION_UNROOTED_GLOBAL is set when we cycle collect (stop-gap measure for bug 584495, r=brendan). 2010-08-06 16:37:26 -07:00
Dave Herman
b097f3a7a8 bug 584103, r=taustin: Narcissus Harmony mode 2010-08-06 16:26:59 -07:00
Dave Herman
a9b8553184 bug 583001, r=pwalton: narcissus REPL 2010-08-06 16:16:39 -07:00
Robert Sayre
ca10e5d657 Merge mozilla-central to tracemonkey. 2010-08-06 15:41:41 -07:00
Paul Biggar
8bee826b83 Bug 584993 - Expose js_DumpObject as a shell function. r=jorendorff. 2010-08-06 15:45:14 -05:00
Tom Austin
ce1464db45 Bug 584807 - Simplify Narcissus testing setup. (r=gal) 2010-08-06 11:06:30 -07:00
Chris Leary
83f59dce41 Unbreak narcissus. (r=red) 2010-08-06 10:40:31 -07:00
Chris Leary
d254245df1 Submillisecond now() shell function for benchmark stability. (r=jorendorff) 2010-08-06 10:18:44 -07:00
Jason Orendorff
fbf41f6a18 Bug 584565 - TM: When f.length is resolved at record time, we can fail to emit a shape guard. r=brendan. 2010-08-05 13:44:31 -05:00
Bob Clary
117454e744 bug 584868 - do not use fake document object in test js1_5/extensions/regress-361964.js as it can interfere with test reporting object detection, r=sparky. 2010-08-06 03:42:54 -07:00
Andreas Gal
ed7dc4ad2d Inline unit string comparison (577883, r=njn). 2010-08-06 03:29:14 -07:00
Andreas Gal
db59ff9fcf Fix int -> int32, msvc is being picky about it (follow-up for 584499, r=me). 2010-08-05 23:16:23 -07:00
Andreas Gal
9bfcb05899 Optimize string[idx] on trace (584499, r=lw). 2010-08-05 22:54:34 -07:00
Nicholas Nethercote
b92ac5d6d0 Bug 584275 - nanojit: preparation for adding many more access regions (TM-specific part). r=gal. 2010-08-05 22:17:22 -07:00
Nicholas Nethercote
4d7ec36521 Update nanojit-import-rev stamp. 2010-08-05 22:10:48 -07:00
Nicholas Nethercote
d92d97864a Fix more Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 982cd218ddb049bdbbcdda4fa3a9d7e40e45e0be
2010-08-05 21:38:39 -07:00
Nicholas Nethercote
771a1472de Fix Windows bustage for bug 584275. r=me.
--HG--
extra : convert_revision : 50ab6cea085bd699f13ebac102756531e8c0640f
2010-08-05 18:09:23 -07:00
Nicholas Nethercote
3b63712fcf Bug 584275 - nanojit: preparation for adding many more access regions. r=edwsmith.
--HG--
extra : convert_revision : 64ae262a02031c276f58c3a4c71cfd92828f883f
2010-08-05 17:37:42 -07:00
Dan Witte
37e120853b Bug 573087 - Automangle ctypes stdcall symbols. r=bsmedberg, a=blocker 2010-08-05 16:49:52 -07:00
Dan Witte
348d0617cf Update libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
9f61d27e6a Apply libffi.patch. 2010-08-05 16:49:52 -07:00
Dan Witte
883d6ca049 Mark script files as executable. 2010-08-05 16:49:52 -07:00
Dan Witte
fbed7fb6e0 Pull libffi git revision 3aeecc9eb1a6feba6549849cdd335c926415a4fc to fix bug 528129, bug 556902, bug 538002, bug 581909, bug 573066, bug 564966, and bug 556521. r+a=bsmedberg 2010-08-05 16:49:52 -07:00
Gregor Wagner
e265b8c778 Bug 581589 - TM: add defaultCompartment to compartments array (r=gal) 2010-08-05 15:48:34 -07:00
Luke Wagner
8bb1230898 Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) 2010-08-05 13:40:21 -07:00
Blake Kaplan
1cdd12f48b Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor 2010-08-05 12:38:07 -07:00
Kyle Huey
634b63f3af Turn off error-on-double-including-config.mk for the moment on this CLOSED TREE 2010-08-06 09:21:41 -07:00
Kyle Huey
d7397260c9 Fix build dependencies in content/html/content/src and make double-including config.mk fatal. irc-r=ted
--HG--
extra : rebase_source : 3362befa95b5ab3aff581b49f58652d653d1a8ac
2010-08-06 08:26:20 -07:00
Wan-Teh Chang
c415ddd0a4 Bug 561510: fix unrecognized option /L... linker warning on
Windows.  Define MOZALLOC_LIB using EXPAND_LIBNAME_PATH instead
of EXPAND_MOZLIBNAME.  r=bsmedberg,ginn.chen.  approval2.0+ by
bsmedberg.
2010-08-06 06:51:38 -07:00
Jacek Caban
c279f260e5 Backed out changeset f10fc9e3be99 (orange test_request_line_split_in_two_packets.js tests). 2010-08-07 22:13:06 +02:00
Jacek Caban
bae482540c Bug 508905 - /Zc:wchar_t- is no longer required r=ted a=dbaron 2010-08-07 17:41:41 +02:00
Robert Sayre
f4f6b295e7 Merge tracemonkey to mozilla-central. 2010-08-06 22:46:37 -07:00
Robert Sayre
aa1e8901ac Merge tracemonkey to mozilla-central. 2010-08-06 19:01:14 -07:00
Boris Zbarsky
32175657dc Bug 584298. Do a bit less work in ReadableToJSVal on the fast path. r=jst 2010-08-06 20:46:52 -04:00
Blake Kaplan
45243e880e Bug 546573 - EnsureInnerWindow from wrappers. r=jst sr=bzbarsky 2010-07-20 21:05:11 -07:00
Bob Clary
7faee100e4 bug 583155 - reduce log noise from jsreftest in the browser, r=mrbkap,jorendorff. 2010-08-05 07:14:34 -07:00
Igor Bukanov
e48bf454d2 bug 583763 - conservative GC cleanup and better reporting of missing conservative roots. r=anygregor 2010-08-05 14:16:56 +02:00
Chris Leary
c4e96f6d5e Bug 583868: increase heap size to avoid V8 OOM in shell. (r=anygregor) 2010-08-04 16:23:49 -07:00
Shu-yu Guo
d7c1565c57 Bug 584264 - Whitespace cleanup for narcissus and small fix for parser. r=pwalton 2010-08-04 12:07:41 -07:00
Ginn Chen
41d11b7d84 Bug 584219 Sun Studio doesn't support __attribute__ packed for enum r=lw 2010-08-04 19:40:39 +08:00
Luke Wagner
c650a3d7e3 Bug 584168 - consider canonicalizing nans passed to the JSAPI (r=brendan) 2010-08-04 04:13:19 -07:00
Luke Wagner
70799ce02c Bug 584158 - ensure that typed arrays cannot produce non-canonical nans (r=gal) 2010-08-03 22:06:44 -07:00
Tom Austin
7aea5118ff Bug 584265 - Fix Narcissus error message format. r=gal. 2010-08-03 21:14:49 -07:00
Nicholas Nethercote
787502bbde Update nanojit-import-rev stamp. 2010-08-03 20:48:34 -07:00
Andreas Gal
00c966f8e3 Bug 580534 - implement LIR_cmovd. r=nnethercote.
--HG--
extra : convert_revision : 186f3f376d662375ff9182cf0b470468335ef442
2010-08-03 20:39:21 -07:00
William Maddox
356836d1b5 Bug 570276 - Fix code generation for address load on SPARC (r=leon.sha+)
Special case code for LEA formerly fell through to the general case,
resulting in generation of redundant "junk" code.

--HG--
extra : convert_revision : 639cf2aa65734e43194b8b62f4c95f462c918cf0
2010-07-29 19:10:27 -07:00
Nicholas Nethercote
bdd9c63662 Bug 582191 - nanojit: fix formatImm[IQ] bogons. r=edwsmith.
--HG--
extra : convert_revision : ce704edcab9d092627ad29e60efc0991ee2682e0
2010-07-28 17:06:14 -07:00
Edwin Smith
06143a5acb Fixed initialization of Assembler::nHints (bug 581702, r=nnethercote+)
--HG--
extra : convert_revision : d8dccd548db136e88ea1a8be0627088b6a78cc78
2010-07-28 11:24:25 -04:00
Jacek Caban
f504194cd6 Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith
--HG--
extra : convert_revision : 85b2cf98c09be7ba490c85f2ffcf8dd38cfa4929
2010-07-28 13:44:01 +02:00
Jacek Caban
ea42f28b0d Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander
--HG--
extra : convert_revision : bb90a35c6382aeb519a789e1f018d52000a4d6fe
2010-07-28 13:40:37 +02:00
Tom Austin
e4536e1112 Refactored Narcissus to use the module pattern (bug 583913, r=pwalton) 2010-08-03 17:15:02 -07:00
Neil
5846822884 Bug 581909 - Don't pass -safeseh to ml64 because the behaviour is buggy. r=dwitte 2010-08-03 14:05:54 -07:00
Eli Friedman
dc13880547 Bug 579686 - StringToInteger not declared before first use in CTypes.cpp. r=dwitte, a=blocking 2010-08-03 14:01:47 -07:00
Jeff Walden
7b1b9cb9db Fix trace-test bustage from bug 583925. r=smokeythebear 2010-08-03 08:26:20 -07:00
Jim Blandy
0201054fcc Bug 583925: parseInt should not depend on its caller's strictness. r=waldo 2010-08-02 18:04:29 -07:00
Dave Herman
f5415ad358 bug 582999, r=gal: putstr function for JS shell 2010-08-02 15:02:15 -07:00
Jeff Walden
b22a1c4599 Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
a38463c8a4 Bug 577536 - parseInt() uses radix 8 if the string starts with '0' but not 0x or 0X, and the digit string should be stringified before the radix is integerized. r=jorendorff 2010-07-23 02:29:44 -05:00
Jason Orendorff
7947f2514c Make CheckScopeChainValidity local to jsobj.cpp. No bug#, rs=gal on IRC. 2010-07-29 16:25:06 -05:00
Jason Orendorff
90eb236531 jsapi-tests: Remove unnecessary #include that causes warnings on MSVC. no_r=me.
--HG--
extra : rebase_source : 687fcbb5901d4484750665189afeec284db759f0
2010-07-29 15:55:22 -05:00
Chris Leary
de4f1f12a2 Fix trace-test.py to work on symlinks. (r=self). 2010-07-29 11:02:54 -07:00
Peter Van der Beken
1de207af3c Fix for bug 565742 (too much QIing/Addrefing/Releasing under NativeInterface2JSObject). r=smaug, a=bsmedberg. 2010-07-13 17:44:51 +02:00
Peter Van der Beken
72204735c9 Fix for bug 582649 (Too-much-recursion crash with setUserData [@ * | XPCConvert::JSArray2Native]). r=mrbkap, a=bsmedberg. 2010-08-24 15:50:15 +02:00
Peter Van der Beken
c31bfecbe1 Fix for bug 585714 (crash (assert) in nanojit: "LIR type error (start of writer pipeline): arg 1 of 'eqi' is 'callq' which has type int64 (expected int32): 0"). r=luke. 2010-08-24 15:50:15 +02:00
Clint Talbert
1afdc1b8df Backed out changeset 49beef9387a0 due to Xpcshell orange a=backout
--HG--
extra : rebase_source : 01307f705ab07b7784401d69a53921b200544978
2010-08-25 14:03:44 -07:00
Boris Zbarsky
952d64f0de Bug 585783. Faster wrapping in quickstubs when we have a cache. r=peterv 2010-08-25 14:54:47 -04:00
Boris Zbarsky
a3e2f80919 Bug 580167 part 2. Add a construct() signature with 4 args for js::LazilyConstructed. r=lw 2010-08-25 14:54:47 -04:00
Joel Maher
51fff79f07 Bug 586754 Change xpcshell to use $relativesrcdir instead of $module for android support a=NPOTB r=mitchell.field 2010-08-25 11:47:39 -07:00
David Humphrey
07de814ba1 bug 490705 - Support Audio Data API: Get, Manipulate, Play & Save. r=smaug+kinetik+peterv, sr=vlad, a=vlad 2010-08-25 09:10:00 -04:00
Robert Sayre
baaa6120b6 Merge tracemonkey to mozilla-central. 2010-08-25 12:24:39 -04:00
Benjamin Smedberg
89760e61ed Bug 588563 - Add a ctypes global within the jetpack process, r=dwitte
--HG--
extra : rebase_source : 91334359c5b597f99bfce7c7a58af50e889bd19a
2010-08-24 13:26:31 -04:00
Benoit Jacob
996e56543a Bug 584840 - Fix texParameter methods - r=vladimir a=blocking2.0 2010-08-23 17:03:44 -04:00
Joel Maher
ce269022ab Bug 574189 - Fix chrome tests to work from an extension for android and e10s support a=NPOTB r=ctalbert 2010-08-24 10:29:34 -07:00
David Zbarsky
f1c4604ccc Remove unneeded nsIDOMNSHTMLSelectElement interface by merging it into nsIDOMHTMLSelectElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
David Zbarsky
91c644282f Remove unneeded nsIDOMNSHTMLOptionElement interface by merging it into nsIDOMHTMLOptionElement. (Bug 582303) r=jst 2010-07-28 16:43:52 -07:00
Benjamin Smedberg
ced3d9c3f2 Revert bug 578478 because of issues in parallel builds (generating the yacc/lex tables), and because of a conflict with fatvals 2010-08-09 15:22:40 -04:00
Benjamin Smedberg
ad169ffd0f Bug 578478 part B - Create and use dependencies from the python IDL parser, r=khuey 2010-08-09 14:38:44 -04:00
Benjamin Smedberg
afbda24a70 Bug 578478 - Make header.py process the following new attributes: deprecated, optional_argc, implicit_jscontext, r=jorendorff 2010-08-09 14:38:44 -04:00
Mark Banner
acb2967879 Bug 585628 Shared builds broken building xpcshell by bug 579178 - manifest enumeration changes - link xpcshell against libxul as well. r+a=bsmedberg 2010-08-09 19:34:41 +01:00
Benjamin Smedberg
ccb16680db Merge bug 579178 to mozilla-central. reviews by Mossop/khuey/jwalden/ted 2010-08-09 10:04:10 -04:00
Benjamin Smedberg
c622433f07 Merge mozilla-central into single-chrome-manifest. 2010-08-04 14:23:04 -04:00
Robert Sayre
dec08d2ceb Merge tracemonkey to mozilla-central. (CLOSED TREE) 2010-08-04 00:47:26 -07:00
Alan Pierce
0c38ca9fee Fix alignment issue causing Bug 583779 - 8/2 Android Nightly Build does not open on start-up. r=vlad (CLOSED TREE) 2010-08-03 20:31:48 -07:00
Benjamin Smedberg
df60ea581b Bug 579178 part C - Allow xpcshell to register additional manifests from the command line, and use this to load httpd.manifest in the xpcshell test harness, r=jwalden 2010-07-22 10:42:43 -04:00
Benjamin Smedberg
1815abc007 Bug 579718 part B - packaging and build changes to ship a single chrome.manifest from which other manifests are read. r=khuey See long-form commit details below:
In a nonpackaged build, we have the following manifests:
* chrome.manifest is just a series of manifest directives for all the other manifests, generated in rules.mk using buildlist.py
** components/interfaces.manifest is also generated in rules.mk using buildlist.py
** components/components.manifest contains only the *binary* components. JS components each have their own manifest which is installed to dist/bin/components
** Each chrome/jarfile.jar has a matching chrome/jarfile.manifest, and JarMaker.py inserts this filename into the root chrome.manifest by importing buildlist.py

In a packaged build, we end up with the following manifests:

* chrome.manifest lists the four manifests below
** components/interfaces.manifest
** components/components.manifest
** chrome/nonlocalized.manifest
** chrome/localized.manifest

In the future it should be possible to integrate the three non-localized manifests directly into the root chrome.manifest for increased performance, but this is slightly tricky because it involves rewriting some manifest instructions which may include relative JAR URIs. That is left for a future followup.

When we repackage a l10n build, we only have to replace chrome/localized.manifest.
2010-07-22 10:38:59 -04:00
Johnny Stenback
19253e0ece Disable tests on 64-bit systems where they don't behave. r=bclary@bclary.com 2010-07-21 01:34:14 -07:00
Bob Clary
d7a8bf3550 Fixing orange caused by fix for bug 572190. r=jst 2010-07-21 00:22:52 -07:00
Johnny Stenback
0615a5aa7c Fixing at least part of bug 572190. Make JS stack size a factor of size_t so that roughly as much fits on the stack whether we're on a 32 or 64 bit system. r=mrbkap@gmail.com 2010-06-29 18:25:56 -07:00
Rail Aliev
18907551f2 Bug 580010, bump versions to Fx4.0b3pre/Gecko 2.0b3pre, r=nthomas (CLOSED TREE) 2010-07-21 12:49:22 +12:00
Benjamin Smedberg
b16a03ab95 Back out bug 578751 to help solve bug 580360 (all dynamic components fail to load). The patch was not properly reviewed to begin with :-( 2010-07-20 17:52:27 -04:00
Benjamin Smedberg
736a902d51 Backed out changeset 0c116ba35956 2010-07-20 17:49:10 -04:00
Mitchell Field
fc426c6d37 Clean up configure.in a bit. r=khuey 2010-07-20 15:43:54 +10:00
Ted Mielczarek
337fe01582 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
Blake Kaplan
2f0d8f1b3a Bug 582100 - Only enumerate exposed properties. r=gal
--HG--
extra : rebase_source : 462b9167d01a699ae67effae1c1a710a8f7bece1
2010-08-02 18:45:19 -07:00
Dan Witte
552a61eec8 Bug 583846 - ctypes assertion when using readString() on zero-length arrays. r=jorendorff, a=dolske 2010-08-02 13:48:24 -07:00
Kyle Huey
2dd5c7a553 Fix TestWindowsDND bustage (fallout from fakelibs)
--HG--
extra : rebase_source : e64dd9e1ad4e60ad2a1fe8968c309b13726760bd
2010-08-02 00:08:38 -07:00
Robert O'Callahan
b88214cae4 Backed out changeset edd01aafe372 2010-08-02 15:20:05 +12:00
David Zbarsky
ae961dd518 Bug 582303. Move nsIDOMNSHTMLImageElement into nsIDOMHTMLImageElement. r=jst 2010-08-02 15:07:06 +12:00
Ginn Chen
f57e198f42 Bug 580590 js/src/xpconnect/wrappers failed to compile with Sun Studio r=bsmedberg a=NPOTB 2010-08-06 15:04:09 +08:00
Craig Topper
8972b3e08e Bug 585616 - Merge nsIDOMNSCSS2Properties and nsIDOMSVGCSS2Properties into nsIDOMCSS2Properties. r=bz 2010-08-05 22:32:01 -07:00
L. David Baron
cdb8da9eca Make nsIDOMSVGCSS2Properties use the specialized shorter quickstubs. (Bug 584301) r=bzbarsky 2010-08-05 21:59:18 -07:00
Kyle Huey
4414156fcc Bustage fix on a CLOSED TREE. r=bz 2010-08-05 19:15:11 -07:00
Boris Zbarsky
ff911ada1d Bug 584293. Make .style faster. r=peterv 2010-08-05 17:59:36 -04:00
Boris Zbarsky
04e7ae7395 Bug 584287. Speed up unwrapping for nsIDOMHTMLElement quickstubs. r=peterv 2010-08-05 17:59:35 -04:00
Robert Sayre
d05da4930e Bug 584252 - disallow non-standard extensions to float syntax (r=jorendorff) (CLOSED TREE) 2010-08-05 14:33:34 -07:00
Blake Kaplan
a79111f6e6 Bug 584551 - Do things that require entering a request on the old compartment before entering a request on the new one. r=igor a=blocking-beta3
--HG--
extra : rebase_source : 6480bb872de3268230813d2bddda27a4d552daba
2010-08-05 12:38:07 -07:00
Boris Zbarsky
ce8e88bc2b Bug 583839. Also skip the string buffer refcounting for traceable native quickstubs, not just fastnative ones. r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
de6582a359 Remove unneeded nsIDOMNSHTMLInputElement interface by merging it into nsIDOMHTMLInputElement. (Bug 582303) r=jst 2010-08-04 22:40:18 -04:00
David Zbarsky
9f2162a376 Remove unneeded nsIDOMNSHTMLImageElement interface by merging it into nsIDOMHTMLImageElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
David Zbarsky
ad200f8dad Remove unneeded nsIDOMNSHTMLAnchorElement interface by merging it into nsIDOMHTMLAnchorElement. (Bug 582303) r=jst 2010-08-04 22:40:17 -04:00
Zack Weinberg
4eb7f5f0e0 Bug 568863 follow-up: add reset() to the JavaScript API. r=waldo a2.0=sayrer 2010-08-04 17:22:26 -07:00
Kyle Huey
c5fc54ad89 Bug 518136: Use -showIncludes to generate dependencies for MSVC for a substantial build performance win. r=ted 2010-08-04 16:59:23 -07:00
Robert Sayre
377ebdefe1 Merge backout. 2010-08-04 13:45:02 -07:00
Robert Sayre
02b2a7ec6d Backed out changeset c6131ed87e9c. Jason Orendorff — Bug 583262 - Remove security checks on f.prototype.constructor property at last. r=mrbkap. Causing nightly topcrash. 2010-08-04 13:44:48 -07:00
Dave Herman
484e1a2751 bug 533874, r=jimb: expose the parser as a JS API 2010-06-15 13:32:32 -07:00
Igor Bukanov
2019c722fb bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Nicholas Nethercote
16044c576a Fix GCC warning. No bug, r=sayrer via IRC. 2010-07-28 17:48:52 -07:00
Dan Witte
593ae31d51 Bug 582521 - Fix xpconnect 'char' conversions in DEBUG builds. r=bz, a=sayrer 2010-07-28 12:10:27 -07:00
Andreas Gal
69df940a4e Back out bug 580803. 2010-07-28 11:20:19 -07:00
Gregor Wagner
c026160d8e Bug 582471 - TM: followup for Bug 579100 (r=igor) 2010-07-28 10:48:28 -07:00
Igor Bukanov
181c2cdf3a Backed out changeset 7b2b90efe57d -- the patch was landed against a tree with a lot of orange. This will hinder the orange resolution. 2010-07-28 14:36:06 +02:00
Igor Bukanov
a69fd0a49f bug 571789 - merging JSObjectOps and JSExtendedClass into JSClass. r=jorendorff 2010-06-12 18:29:04 +02:00
Brendan Eich
6ae55f3819 Bug 582479 - TM: "Assertion failure: (&cx->regs->sp[1 - (iargc + 2)].toObject())->isFunction()." 2010-07-28 01:41:50 -07:00
Andreas Gal
988aed587b Don't read past capacity in js_IsDensePrimitiveArray (582451, r=brendan). 2010-07-27 22:43:49 -07:00
Nicholas Nethercote
9dfbe8877d Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3, TM-specific part). r=gal. 2010-07-27 22:33:42 -07:00
Nicholas Nethercote
fa8162041e Update nanojit-import-rev stamp. 2010-07-27 21:37:31 -07:00
Nicholas Nethercote
c591888546 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 3). r=edwsmith.
--HG--
extra : convert_revision : 962916dc590fe3f55d15f00ac91b13e4ec4409a2
2010-07-27 21:28:02 -07:00
Alan Pierce
c34904d121 Bug 578171 - Keep a static table of all length-2 strings (r=lw) 2010-07-27 21:14:31 -07:00
Gregor Wagner
97974d7867 Bug 582424 - TM: JSRopeNodeIterator warning (r=apierce) 2010-07-27 18:39:47 -07:00
Jeff Walden
d81f0c30eb Back out b17c8b926585, seems to not work any more. :-\ 2010-07-27 18:23:30 -07:00
Jeff Walden
ffaaf06153 Followup patch for bug 581744 to remove uses of JSFUN_GETTER and JSFUN_SETTER from the tree, now that they've been removed. r=redness 2010-07-27 17:10:54 -07:00
Jeff Walden
561338434b Bug 571062 - Add slow-test annotation functionality to reftest and the JS test harness. r=dbaron, r=dmandelin 2010-07-13 18:04:29 -05:00
Jeff Walden
27898e866f Bug 581744 - Deprecate JSFUN_GETTER and JSFUN_SETTER; they never did much, and they're very nearly dead code already. r=brendan 2010-07-26 16:11:37 -07:00
Andreas Gal
d23600e449 Bug 582081 - Dense array patches regressed empty Array creation on Dromaeo. r=jwalden 2010-07-27 16:42:58 -07:00
Robert Sayre
3b1c4d70d7 Merge 2010-07-27 13:09:42 -07:00
Robert Sayre
55a8586519 Merge mozilla-central to tracemonkey. 2010-07-27 13:09:04 -07:00
Luke Wagner
4cb99f6493 Bug 582162 - assignment needs to ignore the setter's result (r=brendan) 2010-07-27 11:40:19 -07:00
Neil Rashbrook
ee7000c1b2 Bug 581903 Make --enable-xterm-updates work with PARALLEL_DIRS r=khuey 2010-07-27 12:44:21 +01:00
Takanori Matsuura
7d9279646c Bug 580175: Make --with-ccache more powerful. r=khuey 2010-07-26 12:31:52 -07:00
Ted Mielczarek
01a35302ce bug 542504 - SIMPLE_PROGRAMS (and CPP_UNIT_TESTS) don't get re-linked in a PGO build. r=mitch, a=mossop
--HG--
extra : rebase_source : b33997adcd4567057adf01d8d3e4ac857e4df502
2010-07-26 15:21:55 -04:00
Brendan Eich
794e678554 Arguments.callee.caller does not work in FF 4 under certain circumstances (577648, r=jwalden). 2010-07-23 14:41:56 -07:00
Neil Rashbrook
b573c81af3 Bug 581151 Make 'make chrome' work again (regression from bug 466492) r=khuey 2010-07-25 17:57:22 +01:00
Jacek Caban
ea46c1e1f9 Bug 573341 - Wrong AVMPLUS_ALIGN16 declaration on mingw r=dvander 2010-06-27 01:28:10 +02:00
Jacek Caban
f6ed6f676b Bug 569819 - Fix nanojit compilation failure on mingw-w64. r=edwsmith 2010-06-25 15:59:05 +02:00
Luke Wagner
d6d1d9681f Merge 2010-07-26 22:20:09 -07:00
Luke Wagner
4d78015a11 Backed out changeset 89dc3a238da0 2010-07-26 22:19:04 -07:00
Luke Wagner
05a3a958d0 Move jsprvtd.h above jshashtable.h include in jscntxt.h to hopefully fix msvc bustage 2010-07-26 21:52:00 -07:00
Luke Wagner
d5094d4883 Bug 581875 - use js::HashSet in JSAtomState (r=igor) 2010-07-26 21:09:23 -07:00
Luke Wagner
3d018beb23 Bug 581784 - Update this in the tracker (r=gal) 2010-07-26 20:55:15 -07:00
Luke Wagner
aa7965a17e Bug 581769 - fix JS_ValueToId on xml object. remove spurious iterator assert (r=waldo)
--HG--
extra : rebase_source : e3485c5d7b586303a35d169cd2e51413f85c33c5
2010-07-26 17:05:17 -07:00
Jeff Walden
8dd21fe50e Bug 562448 - Function.prototype.apply should accept any arraylike arguments. r=brendan
--HG--
extra : rebase_source : 1c6fc72b2b6a30d18e15c30ff84fa529e70709b0
2010-07-16 14:53:37 -05:00
Jeff Walden
173c4d1adf Bug 531675 - Ignore the second argument of eval, except to warn once per JSScript (per function, or per global script for uses not in functions) that it's not supported. (Again.) r=mrbkap
--HG--
extra : rebase_source : 2a0b9670e7c2c90ab0c41d37e3ab99c3bbc4c819
2010-07-23 11:27:07 -05:00
Jason Orendorff
b1284554d5 Bug 566637 - TM: "this.a" reads from stale global object slots after global variable "a" changes value. r=gal.
--HG--
extra : rebase_source : 7f6cce244ea8cdf429e9467eef4f3feb31978d27
2010-07-26 18:19:23 -05:00
Andreas Gal
56d9d112e9 Use LIR_qasd for 64-bit unbox code (582076, r=luke). 2010-07-26 14:41:44 -07:00
Jason Orendorff
66e365186f Bug 581356 - Silence another MSVC warning. (dmandelin just checked in half of the patch in the bug.) r=Waldo. 2010-07-26 13:46:13 -05:00
David Mandelin
3125a566c7 No bug, fix MSVC warnings, no_r=me 2010-07-26 12:04:53 -07:00
Igor Bukanov
5a2d54d6b1 bug 552266 - followup to fix jslock.cpp to use cx->thread->requestContext, not cx->requestDepth, when claiming titles. 2010-07-26 21:02:10 +02:00
Igor Bukanov
248a67333b bug 579100 - various GC cleanups. r=anygregor 2010-07-26 20:44:04 +02:00
Chris Leary
4c5fd024ab Bug 578272: Remove Algol-like display optimization. (r=brendan) 2010-07-26 06:35:38 -07:00
Nicholas Nethercote
be11c2f1c9 Backout TM-specific patches for bug 552812 due to assertion failures on Win2003. 2010-07-26 00:03:02 -07:00
Nicholas Nethercote
a5a53b1d2e Update nanojit-import-rev stamp. 2010-07-25 23:47:10 -07:00
Nicholas Nethercote
da850ce005 Backout the last four patches for bug 552812 due to downstream Windows assertion failures on TM. Argh.
--HG--
extra : convert_revision : eb7dfecbdf2fd32d78673e10eb2289129966f6ce
2010-07-25 23:42:51 -07:00
Nicholas Nethercote
13a120823a Fix Win2003 bustage for bug 552812. 2010-07-25 22:29:20 -07:00
Nicholas Nethercote
73f4f96e19 Bustage fix for bug 552812. 2010-07-25 22:02:18 -07:00
Nicholas Nethercote
03a540e016 Bug 552812 - nanojit: factor out AccSet differences into TM and TR (TM-specific part). r=gal. 2010-07-25 21:23:02 -07:00
Nicholas Nethercote
91f9fc9591 Update nanojit-import-rev stamp. 2010-07-25 21:17:28 -07:00
Nicholas Nethercote
dc9e1d9cf8 One more Windows fix, this time get it right, sigh.
--HG--
extra : convert_revision : a02f8611cec9efe5feb8d7ccb19f03b9b86e0b68
2010-07-25 19:58:45 -07:00
Nicholas Nethercote
ddd6c611f8 Fix more (unrelated) Windows breakage.
--HG--
extra : convert_revision : a9c4abf9041e1a0190c0f4788d0df7a242593601
2010-07-25 19:53:27 -07:00
Nicholas Nethercote
21a5ae4df8 Try to force MSVC to pack bit-fields properly, argh.
--HG--
extra : convert_revision : 09d69292e4ade9c77ce88f32e1840bd06071e2d6
2010-07-25 19:49:58 -07:00
Nicholas Nethercote
e82972a6ac Bug 552812 - nanojit: factor out AccSet differences into TM and TR (take 2). r=edwsmith.
--HG--
extra : convert_revision : 7e11df137a4d30bd8411cf3b35cb26a003188f86
2010-07-25 19:17:39 -07:00
Nicholas Nethercote
5272ac360b Backout last three patches for bug 552812 due to further Windows breakage, sigh.
--HG--
extra : convert_revision : 1909331461436f43dad16a22e502f332e7ad3488
2010-07-25 18:39:41 -07:00
Nicholas Nethercote
3013ab8162 Groan, fix syntax error.
--HG--
extra : convert_revision : 8dd52f216fd251c7ae0d250f64afdfade4892fbc
2010-07-25 18:32:15 -07:00
Nicholas Nethercote
c179be068c Fix Windows bustage from bug 552812.
--HG--
extra : convert_revision : bd1e180e8836da69c228bac3bb8e268020ccaba4
2010-07-25 18:27:49 -07:00
Nicholas Nethercote
208a727c1b Bug 552812 - nanojit: factor out AccSet differences into TM and TR. r=edwsmith.
--HG--
extra : convert_revision : 2d211c925ffabfc0a5dcc6ba9a6eaf02a32b47d4
2010-07-25 18:20:42 -07:00
Edwin Smith
0e52940a92 Fix Sparc bustage (just add unreachable return statement)
--HG--
extra : convert_revision : 27cc2c4bbcb9b103bed3c5803078f7d7ee58f599
2010-07-24 10:01:18 -04:00