Commit Graph

14476 Commits

Author SHA1 Message Date
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
Daniel Holbert
4eba537fff Bug 662086: Convert recently-added comment in jsval.h to be C-style, to fix build warning. r=mrbkap DONTBUILD 2011-06-11 17:28:48 -07:00
Ms2ger
a2b407958f Bug 660433 - Remove nsIDOMNSHTMLTextAreaElement; f=volkmar r=peterv 2011-06-11 09:52:24 +02:00
Chris Leary
b7aeb38134 Bug 660453: Proper regexp bytecode deallocation. (r=dmandelin) 2011-06-09 14:48:03 -07:00
Ted Mielczarek
c7f40506bf merge m-c to b-s 2011-06-10 12:58:21 -04:00
Nicholas Nethercote
5b874aa38c Bug 662963 - Add JSString::charsHeapSize(). r=luke. 2011-06-09 09:20:12 +10:00
Jim Blandy
3b47d4d410 Bug 599764: Define jsval in terms of a type we control, not a type defined, depending on circumstances, by either NSPR or our own headers. r=luke 2011-06-08 12:14:58 -07:00
Jim Blandy
3b7ea5d45a Bug 662836: Don't require JS_EvaluateUCScriptInStackFrame to be able to extend call objects that the bytecode compiler didn't expect to be extensible. r=dvander 2011-06-08 12:10:39 -07:00
Makoto Kato
5e8a381066 Backed out changeset c25968f1f4f0 2011-06-08 15:56:43 +09:00
Makoto Kato
f96bf9011f Bug 635617 - 64-bit crash [@ MakeDay]. r=jwalden 2011-06-08 10:41:37 +09:00
Kyle Huey
08c7819893 Fix MSVC warning. 2011-06-07 17:17:30 -07:00
Blake Kaplan
96c422f69a Bug 662114 - Don't use DummyFrameGuard directly to avoid Windows DLL-linkage warnings. r=luke
--HG--
extra : rebase_source : 8ef14ff1cecaa7f426adc55b3a1ad205f00d0b8c
2011-06-07 19:43:18 -04:00
Brendan Eich
f567b76676 Strict mode early error (strict option warning) on assignment to declared const (383902, r=jwalden). 2011-06-07 16:24:33 -07:00
Steve Fink
dc5fdefaa0 Bug 637393 - Give JSScript control over the lifetime of JSPCCounters, to allow freeing with cx (r=dmandelin)
--HG--
extra : rebase_source : 9e94ec8506bc3aac28c1dd0ef5b9047e33ff6e8d
2011-06-06 16:48:20 -07:00
Kyle Huey
2e0d728356 Merge m-c to b-s. 2011-05-31 15:29:32 -07:00
Jonathan Protzenko
39aa116d95 Bug 658351 - Add extra assertions to jsval.h to check for malformed JSBools r=mrbkap 2011-05-31 20:18:21 +02:00
Mitchell Field
5e5f1a616a Merge mozilla-central to build-system. 2011-05-29 14:10:30 +10:00
Blake Kaplan
e25afea942 Disable this test on Android as well since it's broken in Electrolysis. r=vingtetun 2011-05-24 11:21:42 +02:00
Ed Morley
d2d7cf35c3 Bug 591611 - Clean up FIREFOX_VERSION handling; r=khuey 2011-05-28 14:33:07 +02:00
Ms2ger
35e44f908f Bug 659113 - Remove nsIDOMNSHTMLDocument; r=bz 2011-05-28 09:43:57 +02:00
Ms2ger
b171b9ae5c Bug 658906 - Remove nsIDOMNSDocument; r=sicking 2011-05-28 09:43:53 +02:00
Michael Wu
d064b6eefe Backed out changeset eaa69ae330ab (bug 592943) for extensions bustage 2011-05-28 00:15:25 -07:00
Mitchell Field
d0794ce6a8 Merge mozilla-central to build-system. 2011-05-15 16:07:45 +10:00
Masatoshi Kimura
2a8de1f5f6 Bug 508905 - /Zc:wchar_t- is no longer required 2011-05-12 12:02:54 +00:00
Steve Fink
4fe2a2b264 Bug 637393 - Add a -D option to the shell to disassemble all scripts, with per-op per-runmode execution counts, at shutdown
--HG--
extra : rebase_source : da191562758eb5dc64e76be79d55a09153cce391
2011-05-10 11:26:39 -07:00
Steve Fink
f944ff55d2 Bug 637393 - Add JS_DumpProfile, JS_DumpAllProfiles to disassemble one or all scripts' along with execution counts of each op
--HG--
extra : rebase_source : 58afddcf73ded6505fabe3ef42495faa5cb6915a
2011-05-10 11:26:39 -07:00
Steve Fink
e760bcc0f4 Bug 637393 - Add an option to count number of executions of each JSOp, broken down by "run mode" (method JIT/trace JIT/interpreter)
--HG--
extra : rebase_source : ba9a916197f8c2e449b3096f1c31fe2b154feef4
2011-05-10 11:26:39 -07:00
Luke Wagner
0d7bf8cc22 Bug 656462, part 4 - Simplify stack code, keep track of native calls, create new iterator over native/scripted callstack, make JS_SaveFrameChain fallible (r=waldo,mrbkap)
--HG--
extra : rebase_source : 756a640568464d11fe6bb00104a2fdb6f6d02d02
2011-05-13 08:56:26 -07:00
Luke Wagner
67af97e094 Bug 656462, part 3 - Syntactic touchups (r=waldo)
--HG--
extra : rebase_source : 7a81c352a96b9e23fc8f7bee5cb1d095c5cdb998
2011-05-24 16:08:40 -07:00
Luke Wagner
fe7b0581ce Bug 656462, part 2 - Merge ContextStack::get* and push* operations (r=waldo)
--HG--
extra : rebase_source : bdc7a7ba9ee21435a20e77bf6cea8c4d34a840c9
2011-05-24 16:04:18 -07:00
Luke Wagner
78dc696e0e Bug 656462, part 1 - Remove StackSegment::initialVarObj (r=waldo)
--HG--
extra : rebase_source : 54ae58bec51c4c7fcc58db2148167be828dda8a3
2011-05-24 15:05:30 -07:00
Jeff Walden
f63e8d0dc3 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jeff Walden
9ed41bbdc2 Bug 657367 - Don't attempt to use the JSON parser to fast-path eval if the eval code contains either U+2028 or U+2029, which JSON permits within strings but which JavaScript doesn't permit in strings. (In case you missed it, this means that there's no subset relationship between JavaScript and JSON. (!)) r=njn
--HG--
extra : rebase_source : 5dfa4da6ec6b2238bc6e0e36bc349c9fabcbfd19
2011-06-03 16:53:31 -07:00
Nicholas Nethercote
a1825387bc Bug 645598 - Trim last bits of fat from the scanner, part 3 of 3. r=jwalden. 2011-06-07 13:48:55 +10:00
Nicholas Nethercote
af44ef61b4 Bug 645598 - Trim last bits of fat from the scanner, part 2 of 3. r=jwalden. 2011-06-07 13:48:21 +10:00
Nicholas Nethercote
5e87a0c3ea Bug 645598 - Trim last bits of fat from the scanner, part 1 of 3. r=jwalden. 2011-06-07 13:47:12 +10:00
Paul Biggar
33979e422d Bug 660681: Add NULL check to LeaveFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
118bf3fdae Bug 660670: Report an error on OOM in Parser::analyzeFunction (r=jimb) 2011-06-06 14:24:11 -07:00
Paul Biggar
08fcb0b61d Bug 660638: Add NULL check to Compiler::compileScript (r=jwalden) 2011-06-06 14:24:10 -07:00
David Mandelin
ea7d5ed079 Bug 662165: fix MSVC warning 2011-06-06 13:36:57 -07:00
Chris Leary
278e5141b8 Followup fix for merge, fix ifdef directive. 2011-06-06 09:58:15 -07:00
Chris Leary
f8e0e912ab Merge mozilla-central to tracemonkey. 2011-06-06 09:41:22 -07:00
timeless@mozdev.org
deceb8bf2b Bug 620182 [@ QuoteString | DecompileSwitch] when JSVAL_IS_DOUBLE(key) and SprintDoubleValue fails due to oom
r=jorendorff
2011-06-03 08:57:00 -07:00
Ed Morley
5f60af28bb Bug 316661 - Remove null-checks before delete: Part B; r=pbiggar,brendan,bzbarsky 2011-06-01 03:07:00 -07:00
Alon Zakai
5ea390381e Bug 644241 followup for compiler warning 2011-06-03 18:13:47 -07:00
Alon Zakai
f482160f72 Bug 644241, part 2: Disabling OOMing tests. r=igor 2011-06-03 17:54:30 -07:00
Alon Zakai
2f4274045c Bug 644241, part 1 - Remove script stack quota. r=igor 2011-06-03 17:54:26 -07:00
Chris Leary
ad6cf7c541 Bug 576828: Test self-referential backreference. (r=dmandelin)
--HG--
extra : rebase_source : 42b9319d8e9c5ae48a04e8f9e099ee2ea8d93294
2011-06-03 16:36:42 -07:00
Chris Leary
dae433fed7 Bug 661770: Avoid call overhead atomizing from js_AtomizeChars. (r=njn)
--HG--
extra : rebase_source : 0bcacc47c6171886e6d200c1de093df5aa326e8d
2011-06-03 15:36:07 -07:00
Chris Leary
db8f0665e7 Bug 661770: Make shell's compile builtin compile-and-go. (r=dvander)
--HG--
extra : rebase_source : d6ad31d173ff1b4c115957db23af034d3cee7ba2
2011-05-31 20:38:02 -07:00
Bill McCloskey
f7c5d49018 Bug 660778 - Deal with stack overflow in UnmarkGrayChildren (r=gal) 2011-06-03 13:08:21 -07:00
Nicholas Nethercote
f54b0fa19d Bug 546477 - add explicit/js/stack memory reporter. r=luke. 2011-06-02 19:40:57 -07:00
Phil Ringnalda
0344c24e80 Interim bug 660497 bustage fix, use $(OS_TARGET) until ANDROID is usable as a makefile define 2011-05-28 20:25:30 -07:00
Luke Wagner
6beaae8ad4 Dial down recursion in new test added by abd2dcd555f4 so as to not chew up so much C stack when the mjit is disabled (r=orange) 2011-06-02 18:39:48 -07:00
Luke Wagner
07c939e83e Bug 538293 - remove inlineCallCount and this STACK_QUOTA silliness (r=dvander)
--HG--
extra : rebase_source : 724910c67423b0720ca5c3732699bca4d64324ef
2011-05-27 18:15:39 -07:00
Luke Wagner
a710729944 Bug 656171 - Just remove this mutual subsumption assertion; with document.domain it's not strictly true (r=mrbkap)
--HG--
extra : rebase_source : 78247eba80e9196c929d9136273557faa717407c
2011-06-02 16:35:31 -07:00
Bill McCloskey
c23838f371 Fix jstest timeouts caused by patch for bug 650978 2011-06-02 15:07:01 -07:00
Gregor Wagner
9ce0f0d1ba Bug 660329 - GC: add reason for GC to GCTimer. r=igor 2011-06-02 13:02:21 -07:00
Brian Hackett
a804aa88fe Fix bug 650673, r=dmandelin. 2011-06-02 12:22:39 -07:00
Igor Bukanov
8e11a702b7 bug 656261 - followup to fix compilation warning 2011-06-02 19:36:59 +02:00
Paul Biggar
0a66b46e25 Bug 660668: Fix Shape::search() assertion after OOM (r=nnethercote)
Shape::search() assumes hasTable() will be false if Shape::search() OOMs - make it so.
2011-06-02 10:06:36 -07:00
Paul Biggar
459861e42c Bug 660630: Only error once in OOM in NewCompartment (r=igor) 2011-06-02 10:06:36 -07:00
Paul Biggar
c333f22f78 Bug 660610: Don't double-free execAlloc_ after OOM. (r=nnethercote) 2011-06-02 10:06:36 -07:00
Rafael Ávila de Espíndola
f9339f6813 b=661145, r=bsmedberg Move the function declarations passed to AC_TRY_COMPILE out of the body of main. 2011-06-03 16:34:42 -04:00
Mike Hommey
df686a06f3 Bug 626035 - Modify the way arm compiler flags are set in configure. r=ted 2011-06-03 01:49:28 +02:00
Mike Hommey
1cb5d6d328 Bug 658251 - Fix MK{,C}SHLIB when using wrap-malloc. r=ted 2011-06-03 01:27:07 +02:00
Igor Bukanov
3e2ef6c4ef bug 656261 - better GC arena layout. r=wmccloskey 2011-05-19 21:01:08 +02:00
Bill McCloskey
b902b98248 Bug 650978 - Add gczeal setting to GC on every allocation (r=gwagner) 2011-06-01 17:48:52 -07:00
Bill McCloskey
719f0678e9 Bug 652985 - Use off-the-books malloc in DumpHeap (r=pbiggar) 2011-06-01 17:48:02 -07:00
Makoto Kato
634f7d1946 Bug 660591 - Bug 625600 causes bustage on Win64. r=dmandelin 2011-06-01 14:05:36 +09:00
Justin Lebar
be822c8496 Bug 660930 - Force InlineGetProp to be inlined. r=dmandelin 2011-05-31 19:57:36 -04:00
Igor Bukanov
875a4ed0e8 bug 660430 - do not call the security manager during GC-marking of GC wrappers. r=gal 2011-05-30 21:36:16 +02:00
Luke Wagner
b99eb46ea1 Fix jit_test.py so that -g works again (rs=dmandelin) 2011-05-27 18:19:14 -07:00
Gregor Wagner
cbb17d528d Bug 658041 - Stack based marking for JSRopes. r=igor 2011-05-27 15:17:47 -07:00
David Mandelin
88e2fc9186 Remove some stray Ctrl-M characters 2011-05-27 14:05:05 -07:00
timeless@mozdev.org
c18f5ac818 Bug 619794 DECOMPILE_CODE leaks xval on failure in Decompile
r=jorendorff
2011-05-27 10:58:28 -07:00
timeless@mozdev.org
0333a7ce54 Bug 620251 js_CurrentThread and friends should have AndLockGC in their name
r=jorendorff
2011-05-27 10:58:26 -07:00
timeless@mozdev.org
ba16ed7739 Bug 621153 Add JS_ALWAYS_TRUE markers to ValueToNumber() for cases where it should be so
r=jorendorff
2011-05-27 10:58:22 -07:00
Jan de Mooij
ef0a847b87 Bug 624298 - Add an IC for JSOP_CALLNAME. r=dvander 2011-05-27 13:56:11 +02:00
Luke Wagner
bf3e38e9d2 Bug 656490 - Fix direct-eval assert (r=dmandelin) 2011-05-26 17:23:21 -07:00
David Mandelin
2299c54162 Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
--HG--
extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
2011-05-16 16:17:19 -07:00
Chris Leary
8a58ce9072 Bug 657537: clean up jschar inflation/deflation. (r=Waldo) 2011-05-26 15:50:05 -07:00
Jim Blandy
6f5851edb8 (no bug): Fix comments referring to allocation policies defined in jstl.h --- they're now in jsalloc.h. 2011-05-26 10:55:58 -07:00
Luke Wagner
e25124700b Bug 659462 - remove no-op JS_ClearNewbornRoots and uses in xpconnect (r=mrbkap) 2011-05-13 08:56:25 -07:00
Paul Biggar
a860fb2d95 Bug 634711 - Use nanojit::BitSet instead of avmplus::BitSet. r=nnethercote. 2011-05-25 22:47:49 -07:00
Nicholas Nethercote
0a71cf8b26 Update nanojit-import-rev stamp. 2011-05-25 20:32:19 -07:00
Nicholas Nethercote
d1a041757e Bug 634711: add BitSet::resetAndAlloc(). r=pbiggar.
--HG--
extra : convert_revision : 8eec2117b714ec754c483b681acb3737f63b994c
2011-05-25 19:46:02 -07:00
Makoto Kato
a365c30cae Bug 576247 - asm_stkarg not implemented for x86_64. r=edwsmith
--HG--
extra : convert_revision : 6176f4f11b273ddde0de661a2c2de0d2219515b2
2011-05-25 17:37:27 +09:00
Paul Biggar
998c7234fe Bug 634711 - Remove BitSet implementation from avmplus.h, because it's a duplicate of the one in Containers.h. r=nnethercote.
--HG--
extra : convert_revision : 8bf26319d7f15c6d22d69557d8b6d95ff65cd381
2011-05-23 21:47:43 -07:00
Ed Morley
08e3b18da0 Bug 656017 - Re-remove WinCE ifdef from js/src/vprof/vprof.cpp (was incorrectly added by bug 644900). r=jorendorff.
--HG--
extra : convert_revision : b6b89f27651adcc38be57ef25357ccc1d2e9ea8e
2011-05-23 21:13:06 -07:00
William Maddox
9be8135422 Bug 658389 - Make sure branch and delay slot remain contiguous in function epilogue [chris@mips.com] (r=wmaddox)
--HG--
extra : convert_revision : 9ffbe7d3623c705593139412b82a79ba87786d08
2011-05-23 11:46:21 -07:00
Jacob Bramley
0ebf6f47d9 When NJ back-tracks _nIns in the ARM back-end, back-track _nInsAfter too. [bug 658526] [r=nnethercote]
--HG--
extra : convert_revision : 070ac9dc74702ec0658384b0ec2c44cfe10d3fdd
2011-05-23 11:37:47 +01:00
Rick Reitmaier
778c1c64ce Bug 609393 - resourceConsistencyCheck x87 stack assert can fire (r+wmaddox)
--HG--
extra : convert_revision : 87a15611dc195b0f520299c6f5f317f779eb31ba
2011-05-20 16:01:11 -07:00
David Mandelin
216d4906f0 Bug 625600 followup: attempt to fix Android build 2011-05-25 14:50:59 -07:00
David Mandelin
508233ea30 Backout merge 2011-05-25 14:50:23 -07:00
David Mandelin
bd6d662fa8 Backed out changeset 6f4ca81b13d5 -- was temporary diagnostic 2011-05-25 14:50:07 -07:00
David Mandelin
4a0a44b095 Diagnostic for failing Android build 2011-05-25 13:27:24 -07:00
Tom Schuster
34b477e3fa Bug 608823. Speed up bitops on doubles. r=dvander 2011-05-25 16:26:26 -04:00
Igor Bukanov
19e8c49c32 bug 658864 - preventing GC when reporting OOM on other threads. r=anygregor
--HG--
extra : rebase_source : 611b09f30000688eba161b12803b1ca44d7adbab
2011-05-22 20:50:08 +02:00
Ehsan Akhgari
fd57a9f752 Merge mozilla-central into mozilla-inbound 2011-06-09 18:29:16 -04:00
Ed Morley
8d9b7f227d Bug 659997 - Remove typo'd ENVIRONMENT_MAC_OS_X_VERION_MIN_REQUIRED define; r=ted 2011-06-09 12:10:42 -07:00
Ehsan Akhgari
1601471f11 Merge mozilla-central into mozilla-inbound 2011-06-09 09:26:52 -04:00
Peter Van der Beken
ae44770a16 Fix for bug 658632 (Provide easy way to add non-leaky classinfo to JS components). r=gavin.
--HG--
extra : rebase_source : 8463c6f8ba1f969278d4e33bfa08495fa3e36071
2011-05-25 10:46:51 +02:00
Rafael Ávila de Espíndola
eb595ddfc3 Bug 657653. Check for libstdc++ versions in stdc++compat.cpp; r=ted,glandium 2011-06-08 22:35:24 -04:00
Jeff Walden
87ccff3aa5 Bug 662001 - Move js::RangeCheckedPointer<T> to mozilla::RangedPtr<T>, make it no longer implicitly convert to T*, and adjust users accordingly. r=cjones 2011-06-06 11:02:34 -07:00
Jonathan Protzenko
6e0a823a8a Bug 658351 - Add extra assertions to jsval.h to check for malformed JSBools r=bz 2011-06-07 20:05:08 +02:00
Mook
c671b3dec1 bug 651663 - mark TestXPC global class as JSCLASS_GLOBAL_FLAGS (r=jorendorff) 2011-04-20 15:19:43 -07:00
Ms2ger
941e819c63 Bug 616684 - Remove support for DOM Views; r=sicking,ehsan 2011-04-24 08:54:25 +02:00
Chris Jones
ed22df8f64 Bug 556214, parts 1 and 1.1: Rename Monitor to ReentrantMonitor and fix existing Monitor users. r=roc
--HG--
rename : xpcom/glue/Monitor.h => xpcom/glue/ReentrantMonitor.h
2011-04-29 14:21:57 -05:00
Justin Lebar
7af0c522be Bug 590181 part 2 - Switch default gcc optimize options to -O3. r=ted. a=philor CLOSED TREE 2011-04-28 15:49:16 +02:00
Olli Pettay
744a48fa95 Bug 652814 - Rename nsIDOMTouchPoint to nsIDOMTouch (and a *aRetVal = nsnull for bug 648573 comment 19), r=mbrubeck 2011-04-27 14:58:25 +03:00
Steve Fink
457647eddb Test for bug 638178 - new feature getExecutableLines (r=timeless)
--HG--
extra : rebase_source : d29194bf998a6dfcb2fadd5e2186d4d64396bd6f
2011-03-03 10:11:54 -08:00
Steve Fink
715faebf0e Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless)
--HG--
extra : rebase_source : a7d66e9ec47ccedfdf1abc3c1d339629c7eb5f3d
2011-03-03 10:11:54 -08:00
David Mandelin
4e818e3c46 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
098ec8fea9 Backed out changeset 10b4c261e3d0 -- Tracemonkey tinderbox is stricter than try 2011-05-25 08:53:26 -07:00
David Mandelin
64fee2ad60 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander
--HG--
extra : rebase_source : 80887364e39608eadb947d77ff80725642e41f31
2011-05-12 18:39:47 -07:00
Jan de Mooij
34004d56cb Bug 658968 - Don't clobber Registers::ReturnReg in emitStubCmpOp and jsop_relational_double. r=dvander 2011-05-25 16:59:32 +02:00
Paul Biggar
ec235df94c Bug 651595: Reinstate call to JSSourceHandler registered with JS_SetSourceHandler (r=dmandelin) 2011-05-25 06:48:11 -07:00
Steve Fink
093e050f1b Backout 8d39d7a5b85c 2011-05-24 16:53:07 -07:00
Steve Fink
d4de79130b Backout 6358f05bdd6d 2011-05-24 16:52:46 -07:00
David Mandelin
e60ba13e9e Bug 655368: Use Spidermonkey delete methods, r=gal 2011-05-24 15:05:55 -07:00
Steve Fink
72421370af Test for bug 638178 - new feature getExecutableLines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
baaa9a6514 Bug 638178 - Add jsdIScript.getExecutableLines for fast identification of breakable lines (r=timeless) 2011-03-03 10:11:54 -08:00
Steve Fink
4cc660c2ff Fix comment referring to "main thread" (r=comment-only) 2011-05-20 15:08:23 -07:00
Igor Bukanov
e41886ec1e bug 658510 - eliminating JSCOMPARTMENT_NEW and associated compartment initialization race. r=mrbkap 2011-05-22 12:09:28 +02:00
Blake Kaplan
1f0061e893 Bug 657292 - Don't create Xray wrappers in debugger compartments. r=gal 2011-05-24 11:33:44 +02:00
Blake Kaplan
2a476969e1 Disable this test on Android as well since it's broken in Electrolysis. r=vingtetun 2011-05-24 11:21:42 +02:00
Blake Kaplan
3065a0b71f bug 658560 - Don't call WaiveXray on an object that's already in the right compartment as that will leak the WaiveXrayWrapperWrapper to the calling JS code. r=gal
--HG--
extra : rebase_source : 0fba697513ca5cd0984ed3999a7a8df7f005b343
2011-05-23 17:20:28 +02:00
David Mandelin
46408c2ec4 Backed out changeset 119f17b3f03a -- still failing TB 2011-05-23 17:54:42 -07:00
David Mandelin
83c9f9dee2 Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
d52fa2f1b8 Backed out changeset 195f8cf8758f due to ARM bustage 2011-05-23 14:49:33 -07:00
David Mandelin
e60b7b472a Bug 625600: Update Yarr import to WebKit rev 86639, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
David Mandelin
37887345d9 Backed out changeset de6dfe16fd91 due to Linux/Mac build bustage 2011-05-23 14:22:03 -07:00
David Mandelin
f7eb07c405 Bug 625600: Update Yarr import to WebKit rev 83339, r=cdleary,dvander 2011-05-12 18:39:47 -07:00
Brian Hackett
4c008cf13d Add test, bug 614688. r=Waldo 2011-05-23 09:38:21 -07:00
Chris Leary
52221a8477 Merge mozilla-central and tracemonkey. 2011-05-23 00:02:05 -07:00
Jeff Walden
98949e34d6 Silence mega-spammy build warning on Windows. r=class-to-struct 2011-05-22 19:50:47 -07:00
Jeff Walden
6b07caee53 Fix Windows bustage. r=hate-windows.h-macros 2011-05-22 19:50:09 -07:00
Nicholas Nethercote
30e92c3349 Bug 657327 - about:memory: merge the "mapped" and "heap used" trees, and make the resulting tree flatter. r=sdwilsh,Jesse, sr=roc. 2011-05-22 19:49:56 -07:00
Nicholas Nethercote
4a6c88377c Bug 656520 - Make sure the gc-heap memory reporter is in the right place. r=gwagner. 2011-05-22 19:48:31 -07:00
Jeff Walden
e7f1497ce9 Fix --disable-tracejit bustage, make some headers #include some files they need, add a forward declaration to produce the same effect in another. r=¬t-redness 2011-05-22 18:50:12 -07:00
Jeff Walden
fb232cee35 Bug 657665 - Add documentation comments to ArgumentsObject detailing its structure, and add ArgumentsObject::getElement{,s} to abstract attempting to speedily get the value of one or more elements. r=bhackett 2011-05-18 11:45:27 -07:00
Igor Bukanov
71d7289d00 bug 658016 - followup to fix !JS_THREADSAFE builds. 2011-05-22 09:27:01 +02:00
Igor Bukanov
c6893bfa52 bug 658016 - properly synchronizing the free lists with arenas when dumping the heap. r=wmccloskey 2011-05-20 12:38:31 +02:00
Igor Bukanov
a74b534b3f bug 658505 - removal of thread synchronization when setting a prototype. r=jorendorff
--HG--
extra : rebase_source : 8ef87070a88a3323c3b657c043741f087a98d5d3
2011-05-20 18:40:35 +02:00
Chris Leary
a2d213f0d0 Bug 619561: GC telemetry hooks for TestPilot study. (r=billm) 2011-05-20 13:40:06 -07:00
Chris Leary
b2d9eba98e Merge mozilla-central and tracemonkey. 2011-05-20 14:29:36 -07:00
Blake Kaplan
21d04c350b Fix merge mistake. 2011-05-20 21:22:21 +02:00
Bill McCloskey
d98ff20cc1 Bug 658053 - Fix #ifdefs for disabling methodjit and tracejit (r=dmandelin) 2011-05-20 11:27:33 -07:00
Bill McCloskey
6a8823ab66 Bug 658055 - Always use getter to access fun->script() (r=dmandelin) 2011-05-20 11:27:27 -07:00
Bill McCloskey
6204deb7f6 Bug 653026 - Fix NoSuchMethod (r=Waldo) 2011-05-20 11:27:22 -07:00
Blake Kaplan
c303dfca62 Disable this test on Maemo for now. 2011-05-20 21:13:43 +02:00
Blake Kaplan
cfb87bd6b3 Attempting to fix bustage. r=bustage fix 2011-05-20 18:17:31 +02:00
Joel Maher
579034f58a Bug 658524 - annotate remaining jsreftest manifests for android. r=bear, a=test-only 2011-05-20 11:54:02 -04:00
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Joel Maher
8d37f99984 Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Daniel Holbert
f3cc3a9d15 Merging cedar with mozilla-central. 2011-05-21 16:18:49 -07:00
timeless@mozdev.org
bfb9019adf Bug 619769 FrameState::init leaks cursor when reifier.init() fails. r=jorendorff 2011-05-20 16:21:27 -04:00
Vladimir Vukicevic
4b2230fe03 Bug 630672 - implement WebGL OES_texture_float extension - r=bjacob
This implements floating-point textures in WebGL
2011-05-20 15:53:53 -04:00
Mike Hommey
b55239ba48 Bug 620931 part 6 - Add a -a option to xpcshell to set an application directory. r=bsmedberg 2011-05-06 10:40:51 +02:00
Blake Kaplan
fbea73993b Fix bug 657267. r=bz 2011-05-19 13:31:54 +02:00
Bill McCloskey
a572e3fb87 Bug 658137 - Add API for iterating over the entire GC heap. r=igor,nnethercote. 2011-05-19 17:11:16 -07:00
Nicholas Nethercote
a705714616 Bug 576175 - TM: rename js_Unbox{Double,Int32}. r=luke. 2011-05-19 17:02:46 -07:00
David Mandelin
7b38f467cb Bug 652054: tweak register allocation for 64-bit stores, r=njn 2011-05-19 10:55:36 -07:00
Igor Bukanov
82d8e149da bug 601234 - followup to restore tolerance of calling the allocator during the GC. 2011-05-19 15:34:37 +02:00
Igor Bukanov
397237b2b1 Backed out changeset 869479a8d3c8 - patch for bug 656261 caused jsreftest failure on Windows in the browser. 2011-05-19 00:59:19 +02:00
Igor Bukanov
8f8b62c845 bug 656261 - better GC arena layout. r=wmccloskey
--HG--
extra : rebase_source : d6b63d38ef586c7e1d7141c8e0859fe026803a5d
2011-04-22 00:47:46 +02:00
Jeff Walden
249a380f7b Bug 657713 - eval JSON parser hack misfires in strict mode, for objects with duplicate property names. r=njn
--HG--
extra : rebase_source : 148d1ea8255a38c967d7b7c74afc02be9474840a
2011-05-18 10:57:59 -07:00
Jeff Walden
a13a0634f7 Bug 657585 - Guard against runaway recursion converting |this| to string in all the String.prototype.* methods. r=luke
--HG--
extra : rebase_source : 76642de53803bfdbc3b4d02e83f1d0e5713bd206
2011-05-18 10:57:52 -07:00
Jeff Walden
a0caea8ac7 Bug 655921 - Check for Function being forbidden before creating the function private which would ordinarily be returned. Also create that function private with an explicitly specified parent, that being the Function function's global object. r=mrbkap
--HG--
extra : rebase_source : d0638bf75648e5dc0f9bb0c1fcf61559d1422771
2011-05-10 14:56:49 -07:00
Jeff Walden
90cdb85452 Bug 656365 - Creating an arguments object shouldn't require a parent, only a callee. r=luke
--HG--
extra : rebase_source : 0f4b0bc449bd7e0a2bd4e929c10e775d79e788ea
2011-05-11 14:04:25 -07:00
Jeff Walden
95c67a9cea Use a checked pointer rather than a raw pointer in one place in the JSON parser. r=trivial
--HG--
extra : rebase_source : 60bf8c5ac1e9e7294d4b9d6b5fd7807517c9b541
2011-05-16 11:43:39 -07:00
Jeff Walden
4cf43e2ca4 Bug 657013 - Remove the old JSON parser. r=njn
--HG--
extra : rebase_source : 5c11e9179d2291d498667c17c05ff7e5f8ace3f2
2011-05-13 14:27:07 -07:00
Bill McCloskey
68588bf424 Remove call to dis() in tests 2011-05-18 11:06:17 -07:00
Bill McCloskey
601bf94f18 Bug 634090 - Make jstests and jit-tests handle timeout better (r=dmandelin) 2011-05-18 10:30:56 -07:00
Bill McCloskey
e623b63357 Bug 656555 - Handle JSOP_TRAP inside JSOP_LAMBDA (r=dmandelin) 2011-05-18 10:30:47 -07:00
Bill McCloskey
88f9a88fb1 Bug 656381 - Handle JSOP_TRAP when looking up block chain (r=dmandelin) 2011-05-18 10:30:39 -07:00
Bill McCloskey
960a3d7b07 Bug 651563 - Comment new GC marking behavior (r=bhackett) 2011-05-18 10:30:32 -07:00
Bill McCloskey
f4933bcaae Bug 640265 - Don't GC during OOM reporting (r=dmandelin) 2011-05-17 11:23:31 -07:00
Bill McCloskey
194a0b290d Bug 657710 - Fix strict aliasing warning (r=luke) 2011-05-18 10:23:08 -07:00
Bob Clary
3346c44ea2 Bug 657608 - JavaScript tests - remove all Sisyphus and Antediluvian cruft, r=jorendorff 2011-05-18 09:55:15 -07:00
Igor Bukanov
678c5b61b2 bug 657227 - followup to fix the regression test not to throw an exception. 2011-05-18 15:31:48 +02:00
Igor Bukanov
cad92af0cc bug 657227 - IsCacheableProtoChain must check for a null proto. r=dvander 2011-05-18 14:26:22 +02:00
Blake Kaplan
b0ecb22bf5 Fix compilation warning on Linux. 2011-05-18 12:07:05 +02:00
Philipp von Weitershausen
4cba1e98dd Bug 655641 - Expose RegExp flags and source in JS API. r=gal 2011-05-08 22:10:21 -05:00
Philipp von Weitershausen
0a08fc9edf Tests for Bug 650931 (JS_ObjectIsRegExp). r=gal 2011-05-08 20:12:57 -05:00
Paul O'Shannessy
c6e3f311c7 Bug 650931 - No API to determine if a JSObject is a RegExp. r=gal 2011-05-17 20:04:28 -07:00
Nicholas Nethercote
e65f3e3ad3 merge 2011-05-18 12:22:25 +10:00
David Mandelin
8c1a69f7eb Fix MSVC warning. 2011-05-17 18:31:00 -07:00
Nicholas Nethercote
cb2e2e1fe6 Update nanojit-import-rev stamp. 2011-05-18 11:13:15 +10:00
Ed Morley
0df455e8fa Bug 648862 - nanojit: Remove WINCE code. r=edwsmith,Jacob.Bramley.
--HG--
extra : convert_revision : 37586d0b07857d871d1cc5184db25336bc0b8864
2011-05-18 10:38:17 +10:00
Chris Leary
a7253cc393 Bug 654301: Better interned string API, take 2. (r=Waldo) 2011-05-17 12:15:12 -07:00
Paul Biggar
57a34fb988 Backout merge (bug 600522, e0288c977846) 2011-05-17 05:24:30 -07:00
Paul Biggar
c556ef313c Backed out changeset e0288c977846 (bug 600522) due to windows oranges. 2011-05-17 05:23:21 -07:00
Blake Kaplan
08a8f3a6ab Bug 654370 - Initialize bp to false to avoid reading random memory. r=gal
--HG--
extra : rebase_source : 0a3b1b9e203d0ccc5bf33998f1509bef1beae36c
2011-05-17 09:25:06 +02:00
Dirkjan Ochtman
e5dbb597d1 Bug 600522 - Force TZ to US/Pacific for jit tests [r=pbiggar] 2011-05-16 21:11:54 +02:00
Paul Biggar
e0fa025e18 Bug 657384: Change new_ parameters to pass-by-copy, not pass-by-const-reference. (r=luke)
new_ [1] took a const reference for each of its parameters. Unfortunately, that
adds const-ness even when the constructor needs non-constness. Unfortunately,
the other way (turning off constness) can lead to excess copying.

According to the Forwarding Problem [2], there is no great solution here. C++
does not have a perfect way to write a function which wraps another function.
So we settle for non-constness, and we must rely on forbidding copying of
expensive objects.

[1] as in cx->new_<T>(p1)
[2] http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2002/n1385.htm
2011-05-17 04:25:39 -07:00
Nicholas Nethercote
12840cb477 Bug 657164 - disable the assertion because it's failing in xpcshell tests; bug 654820 will re-enable it. rs=philor. 2011-05-16 20:44:45 -07:00
Chris Leary
089bf2c468 Back out bug 654301 to run again on try. 2011-05-16 19:03:20 -07:00
Chris Leary
a2ba07f853 Followup fix for broken changeset 7fe5fb2450f4. 2011-05-16 18:39:59 -07:00