Birunthan Mohanathas
50b0404404
Bug 784739 - Switch from NULL to nullptr in toolkit/mozapps/; r=ehsan
2013-10-10 16:40:03 -04:00
Gregory Szorc
dddfe93bb3
Backout fc9733225130 (bug 784739) for breaking VS2012 builds
...
While VS2012 isn't tier-1 platform, a significant number of Windows
developers rely on it and have complained about this issue.
2013-10-14 16:54:43 -07:00
Birunthan Mohanathas
f6616576dd
Bug 784739 - Switch from NULL to nullptr in toolkit/mozapps/; r=ehsan
2013-10-10 16:40:03 -04:00
Brian O'Keefe
916782e929
Bug 865673 - Convert objs.mk to objs.mozbuild. r=gps
2013-08-30 09:09:06 -04:00
Mike Hommey
f8bc7fa754
Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps
2013-09-05 09:01:46 +09:00
Ehsan Akhgari
ef4b479714
Bug 872127 - Part 2: Replace mozilla/StandardInteger.h with stdint.h; r=Waldo,ted
2013-07-30 10:25:31 -04:00
Masatoshi Kimura
78388690cb
Bug 888870 - Add Windows 8.1 support to WinUtils::GetWindowsVersion. r=jimm
2013-07-12 06:26:55 +09:00
Joey Armstrong
38ca368790
bug 870407: cleanup bug. r=mshal
2013-07-08 11:53:00 -04:00
Brian R. Bondy
dc84d6f83d
Bug 888314. r=rstrong
2013-07-01 19:11:59 -04:00
Brian R. Bondy
a41001a3c6
Bug 859072. r=rstrong
2013-07-01 19:12:06 -04:00
Brian R. Bondy
f1f93d51ca
Bug 874323 - wait longer for app to close for Metro since it launches updater directly. r=rstrong
2013-06-12 10:31:10 -04:00
Martin Stransky
03a912b269
Bug 877626 - Port GTK2 to GTK3 - build config - xpcom, toolkit, accessible, xulrunner dirs. r=ted, r=karlt
2013-06-10 08:36:26 -04:00
Joey Armstrong
cc66e06834
bug 870407: move CMMSRCS to moz.build (file batch #1 ). r=mshal
2013-06-07 11:43:39 -04:00
Mike Shal
5169c0a913
Bug 864774 - Part 2: Move CPPSRCS to moz.build as CPP_SOURCES; r=joey CLOSED TREE
...
From 9e0ba7f425143f545eb6c4b26a9a96b5ade4d8e9 Mon Sep 17 00:00:00 2001
2013-04-23 17:54:15 -04:00
Brian R. Bondy
e8753c74ec
Bug 794937 - Updater callback should launch Metro Firefox when updating from Metro Firefox. r=rstrong
2013-05-22 10:16:56 -04:00
Brian O'Keefe
8d90859ddb
Bug 862986 - Part 2a: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-05-01 14:05:40 -04:00
Stephen Kraemer
90ce4b84a3
Bug 836078 - Replace all gcc __GNUC__ version checks with MOZ_GCC_VERSION_AT_LEAST macro. r=dvander
2013-05-01 15:45:05 -04:00
Ryan VanderMeulen
8dd4074205
Backed out changesets c7937fb5f4bb and cf8db9b6bd61 (bug 862986) for bustage.
...
CLOSED TREE
2013-04-30 21:09:41 -04:00
Brian O'Keefe
7422d5ac7b
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 20:46:10 -04:00
Ryan VanderMeulen
b6cc74b921
Backed out changesets 64c7ba1d3d04 and 7e9d5bb4a9af (bug 862986) for test failures.
2013-04-30 10:08:38 -04:00
Brian O'Keefe
0baa2a32d6
Bug 862986 - Part 2: Migrate PROGRAM from Makefile.in to moz.build. r=gps
2013-04-30 09:08:31 -04:00
Brian R. Bondy
90265bf07c
Bug 715746 - Allow callback to be renamed and update to continue if in use. r=rstrong
2013-04-28 18:26:56 -04:00
Kyle Machulis
72a717a860
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
2013-04-01 11:36:59 -07:00
Kyle Machulis
43628a7867
Backout for changeset 03452b187c14 (Bug 855465) due to bustage on a CLOSED TREE; r=qdot
2013-03-29 15:12:58 -07:00
Kyle Machulis
334c0800cf
Bug 855465 - Add emacs python mode comments to moz.build files; r=gps
...
--HG--
extra : rebase_source : 004a756492323e1a049586e85b3be5037159df20
2013-03-29 13:56:18 -07:00
Brian R. Bondy
105bb95c15
Bug 843770. r=rstrong
2013-02-28 16:12:51 -05:00
Brian R. Bondy
681f48d68e
bug 830134. r=rstrong
2013-02-28 10:05:45 -05:00
Gregory Szorc
2f9c3f619e
Bug 784841 - Part 18θ: Convert /toolkit f=Mossop, Ms2ger; rs=ted
2013-02-25 13:19:09 -08:00
Dave Hylands
2bae95797b
Bug 802423 - Updater needs to set oom_adj and nice appropriately. e=ehsan a=b2g-only
2013-01-21 12:22:16 -08:00
Dave Hylands
319349c352
Bug 823695 - unsetenv LD_PRELOAD when running the updater. r=cjones
2013-01-14 23:18:44 -08:00
Dave Hylands
4eafc2a88b
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
b7289615c5
Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
...
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
file. Prefer sdcard for download
---
toolkit/mozapps/update/updater/updater.cpp | 53 +++++++++++++++++++++++++---
toolkit/xre/nsUpdateDriver.cpp | 13 +++++--
2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Phil Ringnalda
69566d191b
Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests
2013-01-07 22:59:32 -08:00
Dave Hylands
5f3fccd428
Bug 785124 - Pt 5 - Add extra asserts. r=dougt
2013-01-07 17:43:02 +01:00
Dave Hylands
6e678052db
Bug 785124 - Pt 3 - Modify the updater to support update.link file. r=rstrong
...
From 76c70c31f5362f7c91d567ca04329195d8126f26 Mon Sep 17 00:00:00 2001
file. Prefer sdcard for download
---
toolkit/mozapps/update/updater/updater.cpp | 53 +++++++++++++++++++++++++---
toolkit/xre/nsUpdateDriver.cpp | 13 +++++--
2 files changed, 60 insertions(+), 6 deletions(-)
2012-12-14 16:06:41 -08:00
Dave Hylands
3d15e785d7
Bug 821168 - Use hardlinks for backing up pre-update files. r=eshan
2013-01-03 16:53:33 -08:00
Jeff Muizelaar
13eb972dba
Bug 801437. Breakage fix for feof(). r=ehsan
...
Macros make me sad.
--HG--
extra : rebase_source : 1265c3ef7e187c307269273e098ee92c020c2f59
2012-11-09 15:40:56 -05:00
Jeff Muizelaar
4da2223394
Bug 801437. Reimplement ensure_copy. r=ehsan
...
The previous implementation would copy the entire file into memory which
would cause a huge amount of memory usage on when copying large files.
This version copies a block at a time to avoid this.
2012-11-08 16:57:49 -05:00
Brian R. Bondy
9656961ce4
Bug 701613 - Add Win7 as supported OS in updater.exe.manifest. r= rstrong
2012-11-02 11:19:33 -04:00
Ehsan Akhgari
74d047ce2a
Backed out changeset 73976ead8d6c (bug 800532) in order to fix bug 806028
2012-10-29 17:46:13 -04:00
Brian R. Bondy
df1c8174b6
Bug 790496 - Make maintenance service errors stand out more. r=ehsan
2012-10-25 22:34:03 -04:00
Jeff Muizelaar
c525c226b1
Bug 800532. updater: Use low priority IO on OS X and Windows. r=bbondy
...
Uses low priority IO when doing background updates with the hope
that it will interfere less with the users system.
2012-10-11 16:47:52 -04:00
Brian R. Bondy
19862fbff2
Bug 792452 - Updater code updates for multi signature changes. r=bsmith
2012-10-17 09:39:43 -04:00
Adri Hilviu
7029d3a950
Bug 794234 - Get more information on WRITE_ERROR_SHARING_VIOLATION errors (error 36). r=bbondy
2012-10-11 21:54:58 -04:00
Ehsan Akhgari
2e7ac32196
Bug 797257 - Only include nsAlgorithm.h in archivereader.cpp on Windows; r=bbondy
...
We only need this header on Windows since nsVersionComparator.cpp uses NS_MIN
on Windows. This change silences compiler warnings on other platforms.
--HG--
extra : rebase_source : dba778c59be41587c05e964f2328a4ae662130e3
2012-10-03 10:57:38 -04:00
Ehsan Akhgari
ee522a7bb2
Bug 797229 - Fix two warnings in updater.cpp; r=bbondy
2012-10-02 20:51:38 -04:00
Marshall Culpepper
7ad8f721a7
Bug 778349: Initial support for OS ("FOTA") updates in Gonk. r=rstrong r=bbondy r=fabrice
2012-09-30 21:55:51 -05:00
Chris Jones
6f9d988c50
Bug 791902: updater umask needs to be 0022. r=dhylands
2012-09-19 01:48:14 -07:00
Ehsan Akhgari
51d5a9e2b2
Bug 789422 - Part 2: Ensure that the update.status directory exists before attempting to write to it; r=rstrong
2012-09-11 14:12:34 -04:00
Ehsan Akhgari
f12ec046b4
Bug 789422 - Part 1: Remove UpdateStatusText because it does the exact same thing as UpdateStatusFile(const char*); r=rstrong
2012-09-11 14:11:54 -04:00
Ehsan Akhgari
eca4890894
Bug 789958 - Do not attempt to modify the file permissions in the updater if the file is being opened in read-only mode; r=rstrong
2012-09-10 23:43:12 -04:00
Ehsan Akhgari
5b9555fed1
Backout bug 789422 for test bustage
2012-09-10 17:40:58 -04:00
Ehsan Akhgari
22c79f9cc8
Bug 789422 - Part 2: Ensure that the update.status directory exists before attempting to write to it; r=rstrong
2012-09-10 16:32:59 -04:00
Ehsan Akhgari
eb75792255
Bug 789422 - Part 1: Remove UpdateStatusText because it does the exact same thing as UpdateStatusFile(const char*); r=rstrong
2012-09-10 16:32:48 -04:00
Marshall Culpepper
5ca7854451
Bug 764683: Manage /system mount permissions when applying Gecko updates in B2G, and download them to /data/local. r=rstrong r=bbondy r=cjones
2012-08-27 12:27:14 -03:00
Marshall Culpepper
07b2c651ad
Bug 781868: Clear WRAP_LDFLAGS for the updater in Gonk, so it doesn't link against mozglue. r=khuey
2012-08-27 12:23:09 -03:00
Ehsan Akhgari
845651448b
Bug 579517 - Part 5: Add missing StandardInteger.h #includes where needed; r=bsmedberg
...
Landing on a CLOSED TREE
2012-08-08 17:08:17 -04:00
Ehsan Akhgari
e368dc9c85
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
! -wholename "*security/nss*" \
! -wholename "*/.hg*" \
! -wholename "obj-ff-dbg*" \
! -name nsXPCOMCID.h \
! -name prtypes.h \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Mike Hommey
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
c7ea2799e3
Bug 771766 - Preserve the case of the application installation directory when replacing the application after an update for it has been staged; r=rstrong
2012-07-09 20:50:16 -04:00
Brian R. Bondy
b2e556276b
Bug 735975 - Get rid of UNEXPECTED_ERROR codes from updater error handling. r=ehsan
2012-06-21 19:40:47 -04:00
Brian R. Bondy
bd4d016646
Bug 766567 - Figure out the source of WRITE_ERROR (7) errors in updater code. r=ehsan
2012-06-21 19:40:43 -04:00
Mike Hommey
4e5eecb03d
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
a93eb5a48f
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
cd69374e33
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Brian R. Bondy
5260e14b57
bug 740842 - When updating Firefox the service is used although the UAC is off in win8. r=rstrong
2012-06-15 17:43:58 -04:00
Ehsan Akhgari
d62f8e7c8a
Bug 764269 - Handle symbolic links properly when copying the installation directory before staging an update; r=rstrong
2012-06-13 20:38:56 -04:00
Ehsan Akhgari
4ef5db6e16
Bug 760577 - Part 4: Add full round-trip tests for keeping the mar file around and falling back to apply it at startup if replacing the application fails; r=rstrong
...
--HG--
rename : toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js => toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js
rename : toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js => toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js
2012-06-08 15:06:53 -04:00
Ehsan Akhgari
7a457c1c85
Bug 760577 - Part 2: Fall back to regular updates if the replacing step fails after we've staged an update; r=rstrong
2012-06-14 09:25:24 -04:00
Ehsan Akhgari
d4e65606e5
Merge mozilla-central into mozilla-inbound
2012-06-01 17:22:53 -04:00
Ehsan Akhgari
77bfc13778
Bug 760027 - Attempt to retry moving the installation directory when performing the replace stage of an update 10 times; r=strong
...
This will hopefully give the applications which might have a handle to some
file in that directory open a chance to close them up so that the replace
operation would finish successfully.
2012-05-31 15:40:07 -04:00
Ginn Chen
15c352dc3c
Bug 758514 consistently use typedef for NS_tchar, also enable testing for Solaris r=rstrong
2012-06-01 17:50:35 +08:00
Ehsan Akhgari
e52d047f9d
Bug 759615 - Avoid running the PostUpdate step when only staging the update in the background; r=rstrong
2012-05-30 18:09:59 -04:00
Ehsan Akhgari
84a34d8b3f
Bug 758998 - Use the correct installation directory when attempting to upgrade the maintenance service; r=bbondy
2012-05-29 17:31:04 -04:00
Gervase Markham
68d38d677f
Bug 759095 - upgrade license to MPL 2, and other licensing cleanups.
...
--HG--
extra : rebase_source : da55a4937383eda2baf7c9a362501da8ee664146
2012-05-29 16:52:43 +01:00
Ehsan Akhgari
bd191c537f
Bug 757981 - Make sure to use the correct installation directory for regular updates; r=bbondy
2012-05-23 16:50:10 -04:00
Landry Breuil
64b2d94f70
Bug 757611 - pass a FILE* to ferror(), fixes build on OpenBSD - r=ehsan
2012-05-22 17:24:42 -04:00
Ehsan Akhgari
2362f4b5ee
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
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian R. Bondy
7969cb6bce
Bug 750850 - Delayed loading. r=ehsan
2012-05-05 09:21:53 -04:00
Brian R. Bondy
7686976dbe
Bug 748948 - Possible race condition when launching updates from service after security checks. r=rstrong, a=ehsan.
2012-05-02 15:40:33 -04:00
Peng Kang
3998834626
Bug 737056 - Replace NS_CompareVersions more intuitive C++ API called mozilla::Version. r=bsmedberg
2012-04-18 23:22:29 -04:00
Brian R. Bondy
990b6b1648
Bug 735969 - Revert the disable version downgrade check workaround from Bug 735784. r=rstrong
2012-04-12 19:06:19 -04:00
Chris Jones
6f633734b6
Bug 737368, part 2: Implement a trivial update-application-progress UI for Gonk that shows ASCII bars in logcat. r=mwu
...
--HG--
rename : toolkit/mozapps/update/updater/progressui_null.cpp => toolkit/mozapps/update/updater/progressui_gonk.cpp
2012-03-21 15:50:53 -07:00
Brian R. Bondy
3379754562
Bug 735784 - Workaround for 13.0a1 users who are getting version downgrade errors. r=rstrong
2012-03-14 22:42:42 -04:00
Ehsan Akhgari
12c232428a
Bug 735713 - Make sure that we can update users if the version of the application has been bumped up; r=rstrong
2012-03-14 14:08:01 -04:00
Ehsan Akhgari
39c744816c
Backed out changeset a888f210af4e (bug 735713) because of test failures on Windows
...
--HG--
extra : rebase_source : eb2c30597bd72049b57e3aed4a496e007d322d03
2012-03-14 17:45:18 -04:00
Ehsan Akhgari
4153b0b2e4
Bug 735713 - Make sure that we can update users if the version of the application has been bumped up; r=rstrong
2012-03-14 14:08:01 -04:00
Brian R. Bondy
7812985d9c
Bug 711054 - Stop using readstrings errors for updater. r=rstrong
...
--HG--
rename : toolkit/mozapps/readstrings/errors.h => toolkit/mozapps/update/common/errors.h
rename : toolkit/mozapps/readstrings/readstrings.cpp => toolkit/mozapps/update/common/readstrings.cpp
rename : toolkit/mozapps/readstrings/readstrings.h => toolkit/mozapps/update/common/readstrings.h
2012-03-05 15:47:46 -05:00
Brian R. Bondy
e35ec9e9b0
Bug 730792 - Enable new security checks for updates without the service. r=rstrong
2012-03-05 15:47:46 -05:00
Brian R. Bondy
36b8143b25
Bug 725180 - Misc libmar fixes found from tests. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
e2dd60568c
Bug 728301 - Enable new security checks only for the service. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
ff1d6465d0
Bug 721758 - Ability to configure updater to accept multiple MAR IDs. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
fab84214ee
Bug 708690 - XPCShell test enhancements for product information blocks. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
dbab800567
Bug 708690 - Updater enhancements for product information blocks. r=rstrong
2012-02-24 16:29:41 -05:00
Brian R. Bondy
5e82577acb
Bug 711139 - MOZ_VERIFY_MAR_SIGNATURE build option for verifying MAR signatures. r=rstrong. sr=khuey
2012-02-24 16:29:41 -05:00
Brian R. Bondy
ebbcfb8137
Bug 704285 - Certificates for updater cert check. r=rstrong
2012-02-24 16:29:41 -05:00
Brian R. Bondy
cce66ed493
Bug 704285 - Include certificates inside updater.exe and use them to verify MARs. r=rstrong
2012-02-24 16:29:41 -05:00
Brian R. Bondy
3458244776
Bug 699700 - Add support for signing and verifying MAR files in libmar and the mar program. r=bsmith
2012-02-24 16:29:41 -05:00
Ginn Chen
f11a63b005
Bug 674478 Implement rmdir rf without FTS on Solaris r=bbondy
2012-02-22 10:12:54 +08:00