Ehsan Akhgari
f91c18e8fa
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
c8db8050ae
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
ac30fffef2
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
2962d2eed1
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
8c296bbcd4
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
c1b35e7b2a
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
ad10d0e5c3
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
a36b6983f0
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
d66bdba6ff
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
13388d7565
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Mike Hommey
2c40a7fa85
Backout changeset 6984dace6afb (bug 763987) because of OSX opt jsreftest bustage
2012-06-20 10:55:59 +02:00
Mike Hommey
7d33543b83
Bug 763987 - Normalize autoconf.mk.in. r=ted
2012-06-20 09:00:48 +02:00
Brian R. Bondy
a17abf507b
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
3bc64d4216
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
40be4b6271
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
ac82ce6e75
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
f0f2c4c6f3
Merge mozilla-central into mozilla-inbound
2012-06-01 17:22:53 -04:00
Ehsan Akhgari
d98ade3af7
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
6da3ccb587
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
741f3aa5e4
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
b80be89a87
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
638c878b13
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
0ea3be6ccb
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
12f3ec812b
Bug 757611 - pass a FILE* to ferror(), fixes build on OpenBSD - r=ehsan
2012-05-22 17:24:42 -04:00
Ehsan Akhgari
904efc4f7a
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
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian R. Bondy
1b38735da3
Bug 750850 - Delayed loading. r=ehsan
2012-05-05 09:21:53 -04:00
Brian R. Bondy
2a4bd445d4
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
2fbc22e590
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
2603dd257a
Bug 735969 - Revert the disable version downgrade check workaround from Bug 735784. r=rstrong
2012-04-12 19:06:19 -04:00
Chris Jones
3230be69f4
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
24ef69a7c8
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
8556581fe1
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
e3ed3939b7
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
c69bcdf686
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
22c90e2a57
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
3612e788bd
Bug 730792 - Enable new security checks for updates without the service. r=rstrong
2012-03-05 15:47:46 -05:00
Brian R. Bondy
5f2c644ddf
Bug 725180 - Misc libmar fixes found from tests. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
2e8d83a148
Bug 728301 - Enable new security checks only for the service. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
52f09e123c
Bug 721758 - Ability to configure updater to accept multiple MAR IDs. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
7710522f5d
Bug 708690 - XPCShell test enhancements for product information blocks. r=rstrong
2012-02-24 16:29:42 -05:00
Brian R. Bondy
c12098b4fa
Bug 708690 - Updater enhancements for product information blocks. r=rstrong
2012-02-24 16:29:41 -05:00
Brian R. Bondy
2f4e84f6b1
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
c9e0f526ad
Bug 704285 - Certificates for updater cert check. r=rstrong
2012-02-24 16:29:41 -05:00
Brian R. Bondy
20efb99369
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
6b5c28e8df
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
32679407a0
Bug 674478 Implement rmdir rf without FTS on Solaris r=bbondy
2012-02-22 10:12:54 +08:00
Nathan Froyd
067defe024
Bug 727156 - fix compiler warnings in toolkit/mozapps/update/; r=bbondy
2012-02-14 10:48:23 -08:00
Brian R. Bondy
665be9d14b
Bug 719947 - Add an indeterminate progress bar for updates applied from service. r=rstrong
2012-02-03 08:51:22 -05:00
Brian R. Bondy
5b975c3835
Bug 719066 - Callback application should relaunch with the same privileges it had last. r=rstrong
2012-01-22 16:18:15 -05:00