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
Nicholas Nethercote
dc9e955005
Bug 753657 (part 3): Remove the remaining parts of TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : 7d62aac9f3049a5bb6e8821d2055e59348cf9d85
2012-05-15 00:03:39 -07:00
Nicholas Nethercote
0da09800c8
Bug 753657 (part 2): Simplify the setting of FunctionBox::tcflags. r=luke.
...
--HG--
extra : rebase_source : 6296f09bddf68b625c2011c273fc0c7267f3399a
2012-05-14 23:17:50 -07:00
Nicholas Nethercote
e168feaa96
Bug 753657 (part 1): remove TCF_FUN_FLAGS from TreeContextFlags. r=luke.
...
--HG--
extra : rebase_source : d59ebfd378e5b53d8ab4db50e593b2872ffef475
2012-05-14 23:16:24 -07:00
Bill McCloskey
075854c6dd
Backout bug 753283 (20619d227f29) for orange
2012-05-16 14:55:44 -07:00
Steve Fink
a3835d87d2
Test from bug 741041 is now shell-only, r=bustage.
2012-05-16 14:33:38 -07:00
Bill McCloskey
dc73485a13
Bug 753283 - Poison VM stack to help fuzzing (r=bhackett)
2012-05-16 14:10:58 -07:00
Bill McCloskey
7ab2fc7430
Bug 754150 - Add write barrier on JITChunk (r=bhackett)
2012-05-16 13:56:42 -07:00
Steve Fink
881a106d75
Bug 741041 - Use UnwrapObjectChecked, and ensure ArrayBufferViews and their buffers are in the same compartment. r=luke
...
--HG--
extra : rebase_source : c1b7957772e03ac2819d4ffb70f52fb46014648e
2012-03-28 14:43:02 -07:00
Steve Fink
84ee0c1367
Bug 741041 - Implement isProxy testing command for JS shell
...
--HG--
extra : rebase_source : 0beb5a22050916b5100d03314c257a48b19378ae
2012-03-28 14:43:02 -07:00
Doug Turner
b1a5286789
Bug 755836 - undef near in directory helper to avoid build errors. r=kyle
2012-05-16 13:27:56 -07:00
Doug Turner
225363eefe
Bug 751663 - Implement new device proximity like event that fires only when the screen is close to the user's face. r=smaug
2012-05-16 13:27:54 -07:00
Benjamin Peterson
3e852389e0
Bug 755163 - Kill a test which is not useful anymore and liable failure with different compilers. r=jwalden
...
--HG--
extra : rebase_source : 7bae87e7d74219c8a6e099c58a85445a7dfabcb1
2012-05-16 11:59:17 -07:00
Terrence Cole
af0232ff56
Bug 743854 - Do not call init on ArrayBuffer slots in NewObject. r=billm
...
ArrayBuffers use slotSpan to store their inline size. If we try to initialize
these, then we end up with their address in the StoreBuffer, but with arbitrary
bytes written in these fields by TypeArrays. This patch uses an exact class test
to prevent this initialization behavior.
--HG--
extra : rebase_source : 8aacef597dc7456c5e1e08524c84bbb0932b9a68
2012-05-16 12:01:50 -07:00
Joey Armstrong
a6c1197fc0
bug 742391: split config/rules.mk - file batch #1
2012-05-16 14:46:28 -04:00
Jim Blandy
33bffa4fd7
Bug 755778: Debugger.Environment.prototype.with should return "with" for 'with' statements' environments. r=jorendorff
2012-05-16 09:19:36 -07:00
Saurabh Anand
5d60d3107e
Bug 732262 - Add toSource() and toString() methods to js-ctypes ABI objects. r=jorendorff.
2012-05-15 16:48:54 +05:30
Jason Orendorff
f87eefb80b
Bug 752092 - Support building SpiderMonkey without JS_HAS_XML_SUPPORT. r=terrence.
2012-05-14 18:53:30 -05:00
Jason Orendorff
09d386c0ee
Bug 710479 - ASan reports invalid read in PopOffPrec. r=dmandelin.
2012-05-14 18:49:09 -05:00
Jason Orendorff
5fe9478bb6
Bug 721497 - Assertion failure: compartment mismatched, at ../jscntxtinlines.h:153 with dumpStack. r=luke.
2012-05-14 18:47:32 -05:00
Ed Morley
d055880ec8
Merge last PGO-green changeset of mozilla-inbound to mozilla-central
2012-05-16 10:06:15 +01:00
Till Schneidereit
7d942b379c
Bug 754299 - Update gcMaxMallocBytes of existing compartments in JSRuntime::setGCMaxMallocBytes. r=billm
2012-05-15 18:30:15 -04:00
Till Schneidereit
721ddcf010
Change nsXPConnect::CheckForDebugMode to trigger one multi-compartment GC instead of individual GCs for all compartments, to fix GC pauses when switching tabs with Firebug. Bug 754201, r=jorendorff, r=sfink.
2012-05-14 18:46:51 -05:00