Commit Graph

18982 Commits

Author SHA1 Message Date
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
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
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
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
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