Commit Graph

19084 Commits

Author SHA1 Message Date
Luke Wagner
c797a64626 Bug 756918 - Fix aliased, empty destructuring let (r=waldo) 2012-05-25 11:44:38 +02:00
Jeff Walden
733e55cddf Bug 757562 - Remove JSRESOLVE_CLASSNAME. r=dmandelin
--HG--
extra : rebase_source : 9b5a920f7c7441ee21b2dd2331a98fc70b42ed41
2012-05-21 18:08:11 -07:00
Mike Hommey
81d7a61a74 Bug 746794 - Always use the STL wrappers when #pragma visibility is supported. r=ted 2012-05-25 08:31:33 +02:00
Steve Fink
1603983ba5 Bug 758108 - Display test failures immediately. r=terrence
--HG--
extra : rebase_source : 193d233c56c684a63b3f93daf5903f7aef4ccfa2
2012-05-24 22:06:48 -07:00
Ryan VanderMeulen
a988aa6623 Backout 3a9f8be665a4 (bug 757469) due to orange. 2012-05-23 22:42:53 -04:00
David Rajchenbach-Teller
9b5237d71c Bug 757469 - Implement ctypes.off_t. r=jorendorff 2012-05-23 20:56:40 -04:00
Nicholas Nethercote
81edab3471 Bug 757690 - Follow-up: don't use a line number of 0 in the JS shell. r=jorendorff.
--HG--
extra : rebase_source : df78cd577d256c5b75aaeb496950d5af287e1b90
2012-05-23 17:43:10 -07:00
Bill McCloskey
8eb4a8104a Backout bug 757667 for bustage 2012-05-23 17:14:26 -07:00
Nicholas Nethercote
dee1e014ca No bug - Remove dead JS_SCRIPT_COOKIE. r=jorendorff (via IRC).
--HG--
extra : rebase_source : 35e8b3919f4566dda17bbaa5b8f8738bc71669d0
2012-05-23 16:19:39 -07:00
Nicholas Nethercote
ff539b503d Bug 757690 - Merge TokenStream::TokenStream() and TokenStream::init(). r=jorendorff.
--HG--
extra : rebase_source : a389e46e1c633a133a2f8b68b3cb5fa186c8c1fd
2012-05-23 16:18:51 -07:00
Bill McCloskey
7ef82bb0e8 Bug 757667 - Clean up Proxy tracing (r=terrence) 2012-05-23 16:31:26 -07:00
Bill McCloskey
62c14c9821 Bug 757483 - Don't throw away JIT code during later incremental slices (r=bhackett) 2012-05-23 16:27:15 -07:00
Bill McCloskey
762b5ce3a4 Bug 731423 - Don't do incremental GC when hitting alloc trigger (r=gwagner) 2012-05-23 16:24:26 -07:00
Phil Ringnalda
df4734c415 Back out 58ca5bf07352 (bug 738480) for xpcshell and browser-chrome orange on a CLOSED TREE 2012-05-23 15:21:55 -07:00
Terrence Cole
8543692492 Bug 730933 - Make IsAboutToBeFinalized indirect; r=billm
This additionally moves the interface into js::gc:: and renames it to
CheckFooMarked.

--HG--
extra : rebase_source : cbe66c7219cfc637f8655e3356040e532252183a
2012-05-23 10:34:29 -07:00
Bill McCloskey
a09fc7a134 Bug 754989 - Fix copy-paste error (r=bholley) 2012-05-23 10:32:13 -07:00
Bill McCloskey
c59f4426a6 Bug 754989 - Assert for cross-compartment wrappers (r=bholley) 2012-05-23 10:17:21 -07:00
Jason Orendorff
c7dbc89b0c Bug 738480 - Debugger.prototype.findScripts does not find non-compileAndGo scripts. r=jimb.
--HG--
extra : rebase_source : e66841593e3a8d05fda50e1cdbbb7068713eff81
2012-05-23 12:06:02 -05:00
Benjamin Peterson
39bc920a58 Bug 574132 - Implement rest parameters for JavaScript. r=jorendorff. 2012-05-23 10:31:35 -05:00
Gregory Szorc
3831df8bd3 Bug 757397 - Make test package generation quieter; r=ted
This may reduce the size of the buildbot build logs by up to half!

--HG--
extra : rebase_source : 87b3f2f40654d69ecd91e19520e2341fc8aac9a6
2012-05-23 16:51:21 +02:00
Jan de Mooij
fd4475790b Bug 756600 - Initialize TokenStream::sourceMap in constructor instead of init. r=njn 2012-05-23 13:37:43 +02:00
Nicholas Nethercote
071de96c1e Bug 754641 - Fix 32-bit --disable-methodjit builds after bug 739512. r=luke. 2012-05-22 18:37:09 -07:00
Chris Coulson
9d45082c82 Bug 757518 - Don't get stuck in a loop on systems where /usr/bin/makedepend does not exist. r=ted 2012-05-22 20:21:46 -04:00
Nils Maier
35431284b1 Bug 754771 - Add identifying information to all system compartments. r=bz 2012-05-16 19:42:10 +02:00
Gabor Krizsanits
63a5c4284b Bug 747434 - Part 2: Optional Components object in sandbox. r=bholley 2012-05-22 20:21:45 -04:00
Gabor Krizsanits
c2807c5ab1 Bug 747434 - Part 1: Remove DEBUG_CheckForComponentsInScope. r=bholley 2012-05-22 20:21:45 -04:00
David Rajchenbach-Teller
6851acb366 Bug 732936 - ImplicitConvert can convert an ArrayBuffer to C array or pointer. r=jorendorff 2012-05-15 14:59:21 +02:00
Nicholas Nethercote
44fa613fa9 Bug 757336 - Clean up probes handling in CompileScript(). r=sfink.
--HG--
extra : rebase_source : e615f67b96949c56d60fec01ab542a2401943e4f
2012-05-22 16:50:10 -07:00
Bill McCloskey
25432a4139 Bug 754989 - Change cross-compartment wrapper map keying (r=bholley) 2012-05-22 14:54:50 -07:00
Bill McCloskey
f841660ab2 Bug 754989 - Nuke dead cross-compartment wrappers during brain transplant (r=bholley) 2012-05-22 14:54:08 -07:00
Bill McCloskey
66b701ad81 Bug 754588 - Set rt->gcPoke when doing xpconnect unrooting (r=mccr8) 2012-05-22 14:06:58 -07:00
Eddy Bruel
6cf9ac7eb4 Bug 757063 - Make sure ScriptedProxyHandler::defaultValue forwards to BaseProxyHandler, not IndirectProxyHandler; r=bholley 2012-05-22 21:42:21 +02:00
Jim Blandy
d79b51732d Bug 754146: Root *all* the objects we encounter while reversing the heap. r=billm 2012-05-22 12:16:17 -07:00
Bill McCloskey
2bd1d49b08 Bug 756732 - Add implements barrier flag to block class (r=luke) 2012-05-22 12:11:07 -07:00
Eddy Bruel
6e67896cd9 Bug 703537 - Add DirectProxyHandler; r=bholley 2012-05-22 20:21:21 +02:00
Ehsan Akhgari
c3c06d86cd Merge from mozilla-central 2012-05-22 10:51:49 -04:00
Ehsan Akhgari
ab9253304f Bug 307181 - Stage Firefox updates in the background after they're downloaded, and replace the application directory on restart; r=rstrong,bbondy
When Firefox downloads an update, it previously kept the update around to apply
it on the next restart.  This patch changes this so that the updater program
is launched in the background as soon as the update has finished downloading
in order to stage the updated version of the application by copying the
existing installation directory to a temporary location and applying the update
on top of it, and replace the existing installation directory with the staged
directory on the next restart.

Because the replacing step is typically very fast, this patch eliminates the
wait for the update to be applied on restart, making it unnecessary to show a
progress dialog when restarting.

--HG--
rename : toolkit/mozapps/update/test/chrome/test_0092_finishedBackground.xul => toolkit/mozapps/update/test/chrome/test_0093_stagedBackground.xul
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test/unit/test_0113_general.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test/unit/test_0114_general.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test/unit/test_0115_general.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test/unit/test_0172_fileLocked_xp_win_complete.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test/unit/test_0173_fileLocked_xp_win_partial.js
rename : toolkit/mozapps/update/test/unit/test_0110_general.js => toolkit/mozapps/update/test_svc/unit/test_0113_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0111_general.js => toolkit/mozapps/update/test_svc/unit/test_0114_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0112_general.js => toolkit/mozapps/update/test_svc/unit/test_0115_general_svc.js
rename : toolkit/mozapps/update/test/unit/test_0170_fileLocked_xp_win_complete.js => toolkit/mozapps/update/test_svc/unit/test_0172_fileLocked_xp_win_complete_svc.js
rename : toolkit/mozapps/update/test/unit/test_0171_fileLocked_xp_win_partial.js => toolkit/mozapps/update/test_svc/unit/test_0173_fileLocked_xp_win_partial_svc.js
2012-05-22 10:50:04 -04:00
Mike Hommey
bee280e4c7 Bug 703833 - Add an uintptr_t alternative to the jsval payload, and use it for MarkStackRangeConservatively. r=luke 2012-05-22 08:45:13 +02:00
Mike Hommey
2682d05bb2 Bug 756740 - Allow to build for mipsel with Android NDK r8 (libffi part). r=ted 2012-05-22 08:40:39 +02:00
Mike Hommey
b997ff5138 Bug 756740 - Allow to build for mipsel with Android NDK r8. r=ted 2012-05-22 08:40:32 +02:00
Mike Hommey
c435208046 Bug 756575 - Fix android-platform detection for android-x86. r=ted 2012-05-22 08:40:05 +02:00
Mike Hommey
4403092150 Bug 735223 - Drop support for ancient NDKs. r=ted 2012-05-22 08:37:37 +02:00
Brian Hackett
cac83a8747 Throw on incompatible calls to gcPreserveCode() and mjitChunkLimit(), bug 755639. r=dvander 2012-05-21 20:34:22 -07:00
Brian Hackett
198870bd80 Monitor results of initializer opcodes, bug 755750. r=dvander 2012-05-21 20:30:14 -07:00
Ryan VanderMeulen
aa8d11c9a8 Backout 5130ffc92faf (bug 574132) due to debug orange. 2012-05-21 21:30:18 -04:00
Matthew Gregan
806cc4fe30 Bug 756944 - Import ALSA cubeb backend. r=doublec 2012-05-21 15:54:17 +12:00
Benjamin Peterson
510dbca21f Bug 574132 - Implement harmony rest parameters. r=jorendorff 2012-05-21 20:38:05 -04:00
Bill McCloskey
c6408b1ccb Backout bug 723350 for OOMs (rs=akeybl) 2012-05-21 16:44:19 -07:00
Benjamin Smedberg
e96ca303eb Bug 740795 part C - Don't ship pdf.js as an extension, build changes, r=ted
--HG--
extra : rebase_source : 2008d063ce9969f1e3846a69b403016c0f60db60
2012-05-18 12:42:01 -04:00
Gervase Markham
5d77e60a9e Bug 716478 - update line numbers in XPCshell tests, necessary because of updating licence to MPL 2 with new, shorter boilerplate. 2012-05-21 12:13:52 +01:00
Gervase Markham
7577a2a738 Bug 716478 - update line numbers in JS reftests, necessary because of updating licence to MPL 2 with new, shorter boilerplate. 2012-05-21 12:13:36 +01:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Till Schneidereit
67bd58de49 Bug 756851 - add missing call to object->markIfUnmarked before GCMarker::pushObject. r=billm 2012-05-20 14:34:21 -07:00
Brian Hackett
c07eaa0e3e Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 15:03:45 -07:00
Michael Wu
e377eceec8 Bug 756746 - Quote paths in linker scripts, r=glandium 2012-05-19 17:02:34 -04:00
Andrew McCreight
380a75cc8d Bug 714725 - use deferred release in XPC_WN_Helper_Finalize. r=bholley 2012-05-19 13:56:29 -07:00
Tom Schuster
40afae87d0 Bug 673499 - revert unwanted change to js/src/ETWProvider.man 2012-05-19 22:03:17 +02:00
Tom Schuster
a22157c5ee Bug 707911 - Rewrite StackTraceToString to use StringBuffer. r=bhackett 2012-05-19 21:56:23 +02:00
Tom Schuster
55fd8ff0a0 Bug 673499 - remove some trailing whitespace from js/src. r=jorendorff 2012-05-19 21:56:17 +02:00
Brian Hackett
9ae1966596 Backed out changeset 5fc7462dd394 for android orange. 2012-05-19 11:52:55 -07:00
Brian Hackett
a863456144 Use handles in API object hooks where possible, bug 750733. r=billm 2012-05-19 09:48:09 -07:00
Blake Kaplan
1fdfdd21f2 Bug 756584 - Crashtest for bug 720305. r=dveditz 2012-05-19 11:32:46 -04:00
Terrence Cole
a0e0ea194e Bug 744579 - Implement a relocatable version of HeapPtr; r=billm
We cannot store HeapPtrs in memory that may be realloced outside of the GC.
Instead we should use the RelocatablePtr, which is more expensive, but is able
to handle being moved, or EncapsulatedPtr which requires external barriers.

--HG--
extra : rebase_source : 949c71cfdab8005339aea49437922f7f00a6f73a
2012-05-15 17:21:23 -07:00
Luke Wagner
8e3396e56b Bug 746601 - unexpected 'arguments' read from the debugger should work like f.arguments (r=jimb) 2012-04-25 18:21:16 -07:00
Ryan VanderMeulen
b847a7163c Backout 2ee09416b1d7 (bug 754181) due to jsreftest crashes. 2012-05-24 20:43:40 -04:00
Nicholas Nethercote
9a619771e0 Bug 754181 - Don't store the strict mode code flag twice. r=jwalden,luke.
--HG--
extra : rebase_source : 652c8c235cfa55193346bba4933584f9cc4652f2
2012-05-21 20:06:43 -07:00
Brian Hackett
1573459c2b Rename RootedVar to Rooted, bug 756823. r=billm 2012-05-24 16:05:18 -07:00
Marco Perez
bac7888148 Bug 752067 - Build broken in ipc after prctl changes. r=cjones 2012-05-24 18:45:10 -04:00
Steve Fink
9cb1dfa7f9 Bug 751425 - Fix JS shell exit status on -e script failure. r=jimb
--HG--
extra : rebase_source : efbb774944c282b4a2744c85ca7dea15dbb18650
2012-05-09 15:12:27 -07:00
Steve Fink
12fee613a0 Bug 757682 - Add JSProto_DataView to the setFlagsFromKey assert. r=bhackett
--HG--
extra : rebase_source : 9bffcb95273680a5a6c47a4751215d61ebc889fd
2012-05-24 13:25:49 -07:00
Luke Wagner
48a4a689d4 Bug 690135 - create scope objects eagerly or not at all (r=jimb)
--HG--
extra : rebase_source : 6b1e37699e0556685b1ed88fa15ab380428b6ffa
2011-12-20 17:42:45 -08:00
Benjamin Smedberg
4f91700da9 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Till Schneidereit
0908574a18 Bug 755604 - Incrementalize JSCompartment::markTypes. r=billm 2012-05-18 13:35:43 -04:00
Luke Wagner
af4a583560 Bug 755916 - All early returns of CheckStackAndEnterMethodJIT should return Jaeger_ThrowBeforeEnter (r=bhackett)
--HG--
extra : rebase_source : b613305f2d5020d1437ffcba93a4058fe052d88f
2012-05-16 17:48:25 -07:00
Luke Wagner
3b66de444e Bug 755396 - fix definition of 'aliased' when a formal is aliased by the arguments object (r=waldo)
--HG--
extra : rebase_source : 6fd207aaee05aef52798340664888998fb89baca
2012-05-08 19:12:33 -07:00
Luke Wagner
e2f2a41d4e Bug 755578 - simplify Compiler::generatePrologue a tiny bit (r=bhackett)
--HG--
extra : rebase_source : 8f615944126881886684b787f5df4d1ee1c8d650
2012-05-14 12:42:46 -07:00
Ms2ger
8f629ee514 Bug 744935 - Remove JS_PROPERTY_TREE; r=Waldo 2012-05-18 10:29:40 +02:00
Ms2ger
d442f7e17f Bug 755875 - Use ValueToInt64/ValueToUint64 in XPCConvert::JSData2Native; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
5623a92079 Bug 754968 - Part c: Make BindingUtils.h not require private xpconnect headers; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
a44e3f805c Bug 754968 - Part b: Export qsObjectHelper; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
2883604225 Bug 754968 - Part a: Export xpcObjectHelper; r=bholley 2012-05-18 10:29:40 +02:00
Ms2ger
69a5e8ca53 Bug 755889 - Inline NonstandardToInt32 into JS_ValueToInt32; r=luke 2012-05-18 10:29:38 +02:00
David Zbarsky
aae99ea660 Bug 756227: Fix TreeContext warnings. r=nnethercote.
--HG--
extra : rebase_source : c6ab31cfd64ebecb4a8bd4069d03fc2f41d3203b
2012-05-17 18:29:30 -07:00
Nicholas Nethercote
82518cb83c Bug 755583 (part 1) - Introduce "sundries" entries for aggregating small entries in per-compartment memory reporters. r=luke.
--HG--
extra : rebase_source : 797fc0deb2a438cbb7f4c64f4c03dd4b6378e498
2012-05-16 20:43:36 -07:00
Nicholas Nethercote
b55e7d8641 Bug 755581 - Follow-up: replace js::RuntimeSizes with JS::RuntimeSizes. r=luke.
--HG--
extra : rebase_source : a1081266cec2f249f8acac782c2c806e5db705aa
2012-05-17 17:08:57 -07:00
Jason Orendorff
4feb4ce1dc Bug 749697 - Support debugging when multiple JSContexts are on the stack. Part 2, fix evcross-context eval-in-frame. r=luke.
--HG--
extra : rebase_source : 216bdac31ec88af4130ffd9ffac9bf0ebb1a9b39
2012-05-17 18:57:34 -05:00
Jason Orendorff
cd9e3fa468 Bug 749697 - Support debugging when multiple JSContexts are on the stack. Part 1, weaken a too-strict assertion in JS_GetFrameScopeChain. r=luke.
--HG--
extra : rebase_source : 86803d6edc44cd4b3a7238b808e48bbf5ac205a1
2012-05-17 18:56:45 -05:00
Jason Orendorff
bb34a88747 Bug 755808 - Add more options to JS shell evaluate() function. r=jimb.
--HG--
extra : rebase_source : f22059d97fbaae885f3b052ed0b84523df3d5ef8
2012-05-17 18:54:30 -05:00
Jason Orendorff
7bbae7c493 Bug 756260 - Fix up building without JS_HAS_XML_SUPPORT, again. r=terrence.
--HG--
extra : rebase_source : 9b0bc4f31db387e4e98821d712309792c07eac1c
2012-05-17 16:24:32 -05:00
Ed Morley
ec4fb61f6f Backout a97741bbd972 (bug 755604) for compilation failures 2012-05-17 19:34:56 +01:00
Till Schneidereit
3578fc11d3 Bug 755604 - Incrementalize JSCompartment::markTypes. r=billm 2012-05-17 14:25:08 -04:00
David Rajchenbach-Teller
c8e286f0be Bug 748745 - Supporting readString in a CDataFinalizer. r=jorendorff 2012-05-07 08:59:28 +02:00
Eddy Bruel
36436d48e3 Bug 703537 - Add IndirectProxyhandler; r=bholley,jorendorff 2012-05-17 13:19:37 +02:00
Nicholas Nethercote
24a56044bf Bug 754180 - Give ObjectBox and FunctionBox constructors. r=jorendorff. 2012-05-16 18:42:34 -07:00
Nicholas Nethercote
4a1242fee5 Bug 754179 - Remove some dead front-end code. r=jorendorff.
--HG--
extra : rebase_source : 6483ba3654782181b89fb5ac3c8f352929efbaa7
2012-05-16 18:12:47 -07:00
Nicholas Nethercote
14ad857e16 Bug 755581 (part 5) - Add "cross-compartment-wrappers" reporter. r=luke.
--HG--
extra : rebase_source : 1dfb5eb522008acd59f6bce5e1724af1dc0da9f0
2012-05-15 19:31:01 -07:00
Nicholas Nethercote
9e31860570 Bug 755581 (part 4) - Add "math-cache", "script-filenames" and "compartment-objects" reporters. r=luke.
--HG--
extra : rebase_source : cc1fc8ff91a7b63b8a1fd48aac3b5f37c7e84393
2012-05-15 19:30:28 -07:00
Nicholas Nethercote
56b8cb2a5a Bug 755581 (part 3) - Clean up JSRuntime::sizeOfIncludingThis(). r=luke.
--HG--
extra : rebase_source : 892163d96148ed86a190ee7221235dc529445fef
2012-05-15 19:29:14 -07:00
Nicholas Nethercote
a57ef676b8 Bug 755581 (part 2) - Change "runtime/normal" reporter to "runtime/dtoa". r=luke.
--HG--
extra : rebase_source : 6dfe281494588628c3335058d333080f86bb3487
2012-05-15 19:28:31 -07:00
Nicholas Nethercote
7c43883893 Bug 755581 (part 1) - Change "mjit/data" reporter to "mjit-data". r=luke.
--HG--
extra : rebase_source : e45b376ff1710e9f1bf3b14363f884bb7fb71d48
2012-05-15 19:27:34 -07:00