Граф коммитов

1371 Коммитов

Автор SHA1 Сообщение Дата
Tom Schuster 774a8bf34d Bug 1302163 - Change code to use SprintfLiteral instead of snprintf. r=ehsan 2016-10-04 17:57:51 +02:00
Robert Strong cd9aeee488 bug 1299583 - Don't create backup of files when staging an update. r=mhowell 2016-09-09 11:53:57 -07:00
Robert Strong b06816d820 bug 1301288 - set post update values earlier in startup so Firefox post update actions can be performed. r=mhowell 2016-09-08 13:07:15 -07:00
Fischer.json 7190eefb7f Bug 1120967 - Broken middle/right click on links via about:preferences pages. r=jaws
MozReview-Commit-ID: FejMTP3invj

--HG--
extra : transplant_source : xN3%8A%28%5D%B4%82U%FC%DF%CE%CD%22%D0%236%1A%83o
2016-08-19 17:32:31 +08:00
Robert Strong a9181df023 bug 1281586 - clean up logging in the hope it helps figure out this intermittent. r=mhowell 2016-09-06 12:28:56 -07:00
Robert Strong dfbe3dae65 Bug 1299570 - Remove code for MozUpdater dir removals from the temp dir. r=mhowell 2016-08-31 17:23:39 -07:00
Stephen A Pohl a72d356fc5 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-31 18:56:45 -04:00
Robert Strong 3fb6c49dbe Bug 1214421 - add more test logging to help with diagnosing. r=mhowell 2016-08-31 12:35:09 -07:00
Robert Strong dab62f3605 Bug 1299333 test code only - Fix app update test file in use checks. r=mhowell 2016-08-31 12:35:05 -07:00
Iris Hsiao 114e53ff4e Backed out changeset 4a42968b790d (bug 1250901) for Mochitest M(oth) failures on OS X 2016-08-30 16:54:29 +08:00
Stephen A Pohl 172ae502d6 Bug 1250901: Relaunch applications using NSTask instead of posix_spawnp on OSX. r=mstange 2016-08-29 21:14:36 -04:00
Matt Howell ef6bd6dd59 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD

--HG--
extra : source : 91b303801c0d20c5a7962e40e5d9dde4cbf37911
2016-08-25 15:31:13 -07:00
Robert Strong 529df92f7d Bug 1298222 - Fix showPrompt and showNeverForVersion checks in updateManagerXML.js. r=mhowell 2016-08-26 10:16:21 -07:00
Robert Strong 8ee2538619 bug 1291985 - disable updater xpcshell tests on XP debug to prevent intermittent failures due to Process32FirstW failures on debug. r=mhowell 2016-08-25 13:32:19 -07:00
Robert Strong 319980c082 bug 1296207 tests - Remove unused app update billboard capability. r=mhowell
--HG--
rename : toolkit/mozapps/update/tests/chrome/test_0021_available_basic.xul => toolkit/mozapps/update/tests/chrome/test_0010_background_basic.xul
rename : toolkit/mozapps/update/tests/chrome/test_0013_check_basic_staging.xul => toolkit/mozapps/update/tests/chrome/test_0012_check_basic_staging.xul
rename : toolkit/mozapps/update/tests/chrome/test_0052_check_no_updates.xul => toolkit/mozapps/update/tests/chrome/test_0013_check_no_updates.xul
rename : toolkit/mozapps/update/tests/chrome/test_0051_check_error_xml_malformed.xul => toolkit/mozapps/update/tests/chrome/test_0014_check_error_xml_malformed.xul
2016-08-25 13:32:15 -07:00
Robert Strong f371088109 bug 1296207 app update client code - Remove unused app update billboard capability. r=mhowell 2016-08-25 13:32:11 -07:00
Stephen A Pohl 6e5d1c263b Bug 1286490: Handle IPC timeout exceptions during elevated updates on OSX. r=mstange 2016-08-25 16:14:11 -04:00
Wes Kocher 2c15b0b1f8 Backed out 2 changesets (bug 1246972) for marSuccessComplete.js failures a=backout
Backed out changeset 4576637003b6 (bug 1246972)
Backed out changeset c079fb045b9d (bug 1246972)

--HG--
extra : rebase_source : 3a3acdca0561b777bb35f73746766904b21a7f00
2016-08-25 13:02:17 -07:00
Matt Howell f725243240 Bug 1246972 followup - Fix eslint errors; CLOSED TREE
MozReview-Commit-ID: FGTFeGOqpqw

--HG--
extra : rebase_source : d4bf641ba9166839b6c582f11fa194efa4d0354a
2016-08-25 11:05:51 -07:00
Matt Howell 2dd1325240 Bug 1246972 - Always require the update working directory to be within the installation path; r=rstrong
This required fixing a few chrome tests which broke on Mac because they were assuming updater-settings.ini would be at the same location as the executables.

Also, this patch removes many dependencies on the current working directory from updater.cpp by changing it to use absolute paths instead. Otherwise this patch would have required adding yet more chdir() calls to avoid invalidating existing assumptions about what the current directory is.

MozReview-Commit-ID: ASxfV4uVpmD

--HG--
extra : rebase_source : e9f7c5614ab7a90a290b3586dedde410ac21d5ac
extra : amend_source : 5c80ab53f2db066f6859b4f29479778d32734f3e
2016-08-23 14:11:23 -07:00
Robert Strong 009acbe783 Bug 1291985 - Remove failing check from tests that run in parallel. r=mhowell 2016-08-22 09:19:00 -07:00
Robert Strong 2caede3733 Bug 1296097 - Use new XMLHttpRequest() instead of nsIXMLHttpRequest. 2016-08-18 12:03:38 -07:00
Robert Strong 9fc2f04c5b Bug 1182352 test code - Remove custom cert check code from app update. r=mhowell 2016-08-18 10:34:28 -07:00
Robert Strong cf60dc6c6d Bug 1182352 client code - Remove custom cert check code from app update. r=mhowell 2016-08-18 10:34:23 -07:00
Wes Kocher a177bd0ff1 Merge m-c to inbound a=merge 2016-08-17 17:24:02 -07:00
Wes Kocher ae78ab94fa Merge fx-team to central, a=merge 2016-08-17 16:53:20 -07:00
Jared Wein e6276ea7f5 Bug 1294547 - Enable the comma-spacing rule for eslint. r=felipe
MozReview-Commit-ID: RCSDEvvk2I
2016-08-16 15:44:15 -04:00
Wes Kocher fee75658b6 Merge m-c to fx-team a=merge CLOSED TREE 2016-08-15 15:04:43 -07:00
Wes Kocher 03b3c20a6e Merge fx-team to central, a=merge 2016-08-15 14:49:11 -07:00
Jared Wein d3e296107e Bug 1294621 - Enable the no-lonely-if rule for eslint. r=gijs
MozReview-Commit-ID: 8izEqc8IyCu
2016-08-12 11:50:35 -04:00
Robert Strong 092b1b9be2 Bug 1295896 test code - Remove mock XMLHttpRequest from app update tests. r=mhowell 2016-08-17 13:31:07 -07:00
Robert Strong ad37c18940 Bug 1295896 client code - Remove mock XMLHttpRequest from app update tests. r=mhowell 2016-08-17 13:30:53 -07:00
Wes Kocher c84ec3b3f3 Merge m-c to inbound, a=merge 2016-08-16 22:06:58 -07:00
Robert Strong f2f3794312 Bug 1295734 - Remove dump override from app update tests. r=mhowell 2016-08-16 14:00:43 -07:00
Robert Strong dbddca3e70 Bug 1295517 - turn on app update xpcshell debug logging to get more information on marStageFailurePartial.js test failure. r=mhowell 2016-08-16 14:00:27 -07:00
Stephen A Pohl 63ccef1c60 Bug 1286490 - Improve logging when unable to clean up elevated updater on OSX. r=mstange 2016-08-12 09:53:00 -04:00
Robert Strong f829bffa9d Bug 1287176 test code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:45 -07:00
Robert Strong fffeb50078 Bug 1287176 client code - Status file not written for staging errors. r=mhowell 2016-08-12 22:52:24 -07:00
Jared Wein fd84c776c7 Bug 1292042 - Enable the keyword-spacing rule for eslint. Most of this patch was autogenerated by 'eslint --fix'. Files with .xml extension needed to be changed by hand due to limitations of custom plugin. r=markh
MozReview-Commit-ID: EMjJ3yWt9Wt

--HG--
extra : rebase_source : 2b8327e5a7cf0bfd190d696ad5fe475f13faa3cc
2016-08-04 03:28:58 -04:00
Jared Wein 169d66a3ed Bug 1292035 - Enable the space-before-blocks rule for eslint. This patch was generated using 'eslint --fix'. r=markh
MozReview-Commit-ID: 2XVoU05YvES

--HG--
extra : rebase_source : e7ed2d094c21b59dd59476b8930b75da2e6d6980
2016-08-04 03:20:25 -04:00
Jared Wein 871ed4e3ba Bug 1291855 - Enable the no-else-return rule for eslint. r=Felipe,kmag,mossop
MozReview-Commit-ID: DYOmE6xwMJh

--HG--
extra : rebase_source : bc81b68ea5599fd1815dc34dac7106eef7044483
2016-08-03 18:54:59 -04:00
Tom Tromey 5538d692d3 Bug 1286877 - do not set c-basic-offset for python-mode; r=gps
This removes the unnecessary setting of c-basic-offset from all
python-mode files.

This was automatically generated using

    perl -pi -e 's/; *c-basic-offset: *[0-9]+//'

... on the affected files.

The bulk of these files are moz.build files but there a few others as
well.

MozReview-Commit-ID: 2pPf3DEiZqx

--HG--
extra : rebase_source : 0a7dcac80b924174a2c429b093791148ea6ac204
2016-07-14 10:16:42 -06:00
Robert Strong 33be16a9cc Bug 1278248 - On Mac, don't download complete mar file when cancelling elevation of a partial mar file on Mac. r=spohl 2016-07-14 09:55:02 -07:00
Benjamin Smedberg be3857f963 Bug 1277905 - Remove in-product links to plugincheck. Also remove support for startup prompting about outdated plugins, since that's annoying to users. r=Gijs r=mconley
MozReview-Commit-ID: 69tMivPVxuW

--HG--
extra : rebase_source : bd4d2979beff0f460a20156b0f954e2f1a2a5e85
2016-07-01 11:01:07 -04:00
Robert Strong 80d6999ee4 Bug 1285099 - STATE_PENDING_SVC is not defined in nsUpdateService.js after bug 394984 landed. r=spohl 2016-07-07 07:43:49 -07:00
Chris Peterson 2b3b60f7b1 Bug 1277155 - Part 1: Remove snprintf() polyfills for VS2013 in Sprintf.h and #defines. r=froydnj r=mhowell 2016-06-27 20:45:03 -07:00
Stephen A Pohl 36a128ce82 Bug 1272585: Start handling NS_ERROR_DOCUMENT_NOT_CACHED the same way as network offline in app update. r=mhowell 2016-06-27 15:02:58 -04:00
Mike Hommey d1d2409fb5 Bug 1279108 - Disable leak detection for updater xpcshell tests. r=mccr8
With more recent version of ASAN, the updater program shows multiple
leaks, for different reasons.

One is that the updater code heavily relies on pointers into a large
buffer, with exceptions, making things difficult to avoid leaks of those
exceptions. At least it requires more effort than I'm willing to put for
the sake of upgrading the compiler we use for ASAN.

Another is that the leak suppressions are not currently used for
xpcshell tests, and some leaks attributed to libglib, that would
normally be suppressed, are not.

Moreover, even if the suppressions were used, it looks like some are not
rooted to already suppressed system libraries, and would require
investigation. Ideally, we'd have debug symbols installed for the system
libraries and would have full stack traces, but we don't, so this makes
the whole process harder than necessary.

All in all, the updater is a separate short-lived program, and until we
can address all the problems above, we can just ignore memory leaks in
it (which aren't new anyways and are ignored by not being detected by
the ASAN currently used on automation). We don't disable ASAN entirely,
though, only leak detection, and only for the updater program.
2016-06-12 18:53:00 +09:00
Robert Strong da8d36cca8 Bug 1168743 - test changes - Only use env vars in the test updater and general app update cleanup. r=mhowell 2016-06-11 08:31:20 -07:00
Robert Strong 61a8d4f0c1 Bug 1168743 - client changes - Only use env vars in the test updater and general app update cleanup. r=mhowell 2016-06-11 08:31:10 -07:00