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

1371 Коммитов

Автор SHA1 Сообщение Дата
Robert Strong dffb5fb846 Bug 1159826 - ensure_copy_recursive() leaks directory streams. r=spohl 2015-04-29 17:27:33 -07:00
Robert Strong e120b3ebb9 Bug 1127481 - Run the updater from the install directory instead of copying it. r=spohl 2015-04-28 22:41:03 -07:00
Robert Strong b17bce13e6 Bug 1159118 - Minor code cleanup. r=spohl 2015-04-28 08:28:23 -07:00
Brian R. Bondy 812f6fd595 Bug 1158866 - Enable MAR verification on linux via NSS. r=rstrong 2015-04-21 16:39:59 -04:00
Kartikaya Gupta cd5b55f8d6 Bug 1039866 - Rip out a bunch of metro-only code. r=jimm,gavin,rstrong 2015-04-23 15:10:30 -04:00
Robert Strong 7167becd52 Bug 1155851 - Gonk incorrectly uses the app.update.service.enabled preference. r=marshall 2015-04-21 17:47:57 -07:00
Robert Strong 50d7b80d95 Bug 1156446 - run marFileLockedStageFailureComplete_win.js sequentially to assist with diagnostics. r=spohl 2015-04-21 07:31:06 -07:00
Robert Strong 6c8ba739ba Bug 1155896 - xpcshell log statements truncated due to equality checks for long strings. r=spohl 2015-04-21 07:30:42 -07:00
Ryan VanderMeulen bafac6e86d Merge m-c to fx-team. a=merge 2015-04-17 16:03:31 -04:00
Robert Strong 74ebd50763 Revert behavior for gonk - Bug 1149276. r=spohl, a=RyanVM 2015-04-17 12:46:58 -07:00
Robert Strong a2d87cd2f7 Bug 1149276 - Use Assert instead of do_check_ functions in xpcshell tests. r=spohl 2015-04-17 12:07:21 -07:00
Robert Strong 195c95a2d7 Bug 1155510 - app.update.service.errors and app.update.cancellations preferences are not correctly reset. r=spohl 2015-04-17 08:43:32 -07:00
Robert Strong d887929577 Bug 958793 - Add 'use strict' to application update. r=spohl 2015-04-17 08:43:24 -07:00
Robert Strong f3f5c3e99f Bug 1154591 - getCanStageUpdates has incorrect checks for Windows and B2G. r=bbondy, r=spohl 2015-04-15 08:44:48 -07:00
Robert Strong 2773a89419 Bug 1154179 - Add FAIL_ON_WARNINGS to app update. r=glandium 2015-04-14 17:00:11 -07:00
Robert Strong 91cf4cb89f Bug 1152997 - Cleanup app update build to exclude android. r=glandium, r=mossop
--HG--
rename : toolkit/mozapps/update/moz.build => toolkit/components/timermanager/moz.build
rename : toolkit/mozapps/update/nsIUpdateTimerManager.idl => toolkit/components/timermanager/nsIUpdateTimerManager.idl
rename : toolkit/mozapps/update/nsUpdateTimerManager.js => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/mozapps/update/nsUpdateTimerManager.manifest => toolkit/components/timermanager/nsUpdateTimerManager.manifest
rename : toolkit/mozapps/update/tests/unit_timermanager/consumerNotifications.js => toolkit/components/timermanager/tests/unit/consumerNotifications.js
rename : toolkit/mozapps/update/tests/unit_timermanager/xpcshell.ini => toolkit/components/timermanager/tests/unit/xpcshell.ini
2015-04-14 17:00:02 -07:00
Robert Strong 638ae38563 Bug 1151267 - app update telemetry for UPDATE_CANNOT_APPLY_* is reversed. r=spohl 2015-04-10 08:06:32 -07:00
Brian R. Bondy 07c78cb647 Bug 1151827 - Fix re-building toolkit/mozapps/update on Windows. r=rstrong
Test plan:
- On Windows, run `./mach clobber`
- On Windows, run `./mach build`, make sure it succeeds
- On Windows, run `./mach build toolkit/mozapps/update/updater` make sure it succeeds
2015-04-08 09:45:24 -04:00
Robert Strong 140d2fa062 Bug 1151266 - When test registry key is missing, binaries are not signed, etc. don't run app update tests that require these conditions. r=spohl 2015-04-07 22:43:09 -07:00
Wes Kocher 187f3295a6 Backed out 3 changesets (bug 1151266, bug 920750, bug 1138284) for Windows updater XPCshell test failures
Backed out changeset 816465912339 (bug 920750)
Backed out changeset 8cd18e65ef94 (bug 1138284)
Backed out changeset 8f9d45fcae6b (bug 1151266)
2015-04-07 18:19:46 -07:00
Robert Strong bbf600d8a6 Bug 1138284 - Extend telemetry for large number of SERVICE_UPDATER_SIGN_ERROR errors. r=spohl 2015-04-07 14:03:04 -07:00
Robert Strong 2af84cd19e Bug 1151266 - When test registry key is missing, binaries are not signed, etc. don't run app update tests that require these conditions. r=spohl 2015-04-07 14:03:00 -07:00
Brian R. Bondy 883e38f2fc Bug 973933 - Fix Nightly builds failing on updater-xpcshell. r=rstrong 2015-03-03 23:27:17 -05:00
Brian R. Bondy f5f7f0eac0 Bug 973933 - Temporarily disable Linux for MAR verification. r=rstrong 2015-04-06 12:03:19 -04:00
Brian R. Bondy 0cae4e498f Bug 973933 - Fix mochitest chrome updater tests. r=rstrong 2015-04-06 12:03:18 -04:00
Brian R. Bondy ab9ccba028 Bug 973933 - New updater-xpcshell binary for updater tests. r=rstrong
This is a rollup of recent work. Changes include:
- Creating an xpcshell only updater binary. This binary has an embedded xpcshell only cert for verifying test only mars.  It is only used by tests and is not signed w/ authenticode certs.
- Modifying tests to use that new binary
- Adding a check-cert option to the maintenance service
- Using that new cert-check option in new tests to test the authenticode path
- No longer doing an authenticode check during service updater tests on the xpcshell binary.
- Enables more tests for other platforms

--HG--
rename : toolkit/mozapps/update/updater/moz.build => toolkit/mozapps/update/updater/updater-common.build
2015-04-06 12:03:18 -04:00
Stephen Pohl 884903af05 Bug 991993: Disable NSS for updater on OSX and enable native APIs. r=smichaud,rstrong 2014-10-22 21:52:54 -04:00
Brian R. Bondy 4ac166357a Bug 903126 - Replace DER file with XPCShell cert. r=rstrong 2014-10-22 21:03:32 -04:00
Brian R. Bondy 82700d23b5 Bug 903126 - Don't use an xpcshell cert for verification. r=rstrong 2014-10-22 21:02:00 -04:00
Brian R. Bondy b20dd12523 Bug 903135 - Multi platform MAR verification updater support. r=rstrong 2014-10-22 21:00:26 -04:00
Brian R. Bondy 598238b91e Bug 903135 - Multi platform MAR verification build config. r=rstrong 2014-10-22 21:00:19 -04:00
Robert Strong 5b37e6b051 Bug 1083653 - fix intermittent failure for marStageSuccessPartialSvc.js and marStageFailurePartialSvc.js. r=spohl 2015-04-04 05:24:54 -07:00
Robert Strong 478a8e47e2 Bug 1138282 - Extend telemetry for large number of SERVICE_STILL_APPLYING_ON_FAILURE errors. r=bbondy 2015-04-03 11:19:01 -07:00
Robert Strong 7e1d991895 test for Bug 1149590 - Update/Upgrade for application dowloaded and installed, setting to ask/prompt for action ignored. r=spohl 2015-04-03 11:18:56 -07:00
Robert Strong 228de9e209 changes for nsUpdateService.js - Bug 1149334 - Remove preprocessing of nsUpdateService.js and use AppConstants.jsm. r=spohl 2015-04-02 18:29:42 -07:00
Robert Strong 5107e8261b Bug 1149363 - For xpcshell tests instead of throwing fail the test so it is easily understood what is going on. r=spohl 2015-04-02 03:36:47 -07:00
Robert Strong c97291f765 Bug 1149693 - Remove UpdaterHealthProvider.jsm from nsUpdateService.manifest. r=spohl 2015-03-31 14:17:56 -07:00
Robert Strong 7e8331155e Bug 1149590 - Update/Upgrade for application dowloaded and installed, setting to ask/prompt for action ignored. r=spohl 2015-03-31 14:17:38 -07:00
Andrew McCreight 2f48802ae0 Bug 1147572 - Remove implementation language field from DOM class info. r=jst 2015-03-30 10:45:39 -07:00
Hiroyuki Ikezoe 2cb5a25170 Bug 1139254 - Use MockRegistrar in toolkit/mozapps. r=Unfocused 2015-03-30 02:14:00 -04:00
Andrew McCreight 46dfeaba0b Bug 1148070 - Change nsIClassInfo::getHelperForLanguage() to getScriptableHelper(). r=bholley 2015-03-29 07:52:54 -07:00
Robert Strong ef58f7e085 Bug 1137447 - New app update telemetry for patch type (complete or partial), extended error codes, and general cleanup. r=bbondy 2015-03-28 20:20:53 -07:00
Robert Strong bb8cdf7256 Remove FHR from app update Bug 1121018 - FHR data migration: org.mozilla.update. r=spohl 2015-03-28 20:20:38 -07:00
Robert Strong f333ec2ca3 Bug 1081450 - Copy maintenance service binary into its install directory on Windows 8 when the installed binary is different. r=bbondy 2015-03-19 16:43:29 -07:00
Robert Strong 2dc35d42a4 Bug 1142716 - update/tests/TestAUSHelper.cpp CheckMsg leaks |inFP| and |mbuf|. r=bbondy 2015-03-18 16:25:05 -07:00
Jonathan Griffin d1c61bc9b6 Bug 1116187 - Disable failing mochitest-chrome tests for B2G, r=gbrown 2015-02-06 16:30:37 -08:00
Robert Strong 753efaddd0 Bug 1140672 - Remove app update file migration code for Windows. r=spohl 2015-03-09 19:58:30 -07:00
Robert Strong 282abbd0b0 Bug 1140147 - Non harmful JavaScript error: resource://gre/modules/FileUtils.jsm, line 63: NS_ERROR_FAILURE in urlConstruction.js and downloadAndHashCheckMar.js xpcshell tests. r=spohl 2015-03-05 20:59:51 -08:00
Robert Strong afdbf7de78 Bug 1140144 - Non harmful JavaScript Error: syntax error in xpcshell test remoteUpdateXML.js. r=spohl 2015-03-05 20:59:40 -08:00
Robert Strong 4c57dff834 Bug 1139780 - Only app update xpcshell tests that need debugging should have debug output. r=spohl 2015-03-05 15:55:48 -08:00
Robert Strong 08646be5bd Bug 1139765 - Non harmful app update xpcshell test error in the mock xmlhttprequest: undefined property 'QueryInterface'. r=spohl 2015-03-05 15:55:43 -08:00
Robert Strong 521f0b48da Bug 1139697 - Fix add-ons manager warnings during app update tests. r=spohl 2015-03-04 22:54:31 -08:00
Anish 4063a569ed Bug 958147 - Choose one of run-if or skip-if and get rid of the other.r=jmaher, mwargers 2015-03-03 08:46:37 -05:00
Robert Strong 124082b334 Bug 1137946 - Disable app update verbose mochitest-chrome logging. r=spohl 2015-03-02 11:09:17 -08:00
Robert Strong 120b2310e5 Bug 1137901 - Remove param from refreshUpdateStatus. r=spohl 2015-03-02 11:09:13 -08:00
Robert Strong 77226580a8 4. Use XPCOMUtils for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl 2015-02-27 14:51:19 -08:00
Robert Strong a9e155bc53 3. Main patch for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl 2015-02-27 14:51:17 -08:00
Robert Strong 9e38fce400 2. Build changes for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl, r=gps 2015-02-27 14:51:16 -08:00
Robert Strong 1716056b43 1. File renames for Bug 1136358 - Preprocessing and file includes make it difficult to debug app update tests. r=spohl
--HG--
rename : toolkit/mozapps/update/tests/shared.js => toolkit/mozapps/update/tests/data/shared.js
rename : toolkit/mozapps/update/tests/sharedUpdateXML.js => toolkit/mozapps/update/tests/data/sharedUpdateXML.js
rename : toolkit/mozapps/update/tests/unit_aus_update/head_update.js => toolkit/mozapps/update/tests/data/xpcshellUtilsAUS.js
2015-02-27 14:51:03 -08:00
Robert Strong 792229c28b Followup to Bug 1135563 - uiUnsupportedAlreadyNotified.js doesn't use httpd.js. r=me 2015-02-23 15:31:19 -08:00
Robert Strong f46bfb2ae3 Bug 1135563 - Fix several javascript warnings for xpcshell app update tests and cleanup style. r=spohl 2015-02-23 15:17:32 -08:00
Robert Strong e793fd04f4 Bug 1135319 - Fix several javascript warnings when for mochitest-chrome app update tests and cleanup style. r=spohl 2015-02-23 09:45:03 -08:00
Robert Strong 9d2513bd20 Bug 1134334 - Intermittent run-by-dir test_0900_deprecatedUpdateFormat_minor.xul | Checking currentPage.pageid equals checking in pageshow - got downloading, expected checking. r=spohl 2015-02-19 05:43:19 -08:00
Robert Strong ba1ede8629 Bug 1044443 - release off main thread crash in nsXPCWrappedJS::Release() via nsUpdateProcessor::~nsUpdateProcessor(). r=bbondy 2015-02-18 16:05:00 -08:00
Robert Strong df2965c8ac backout bug 1134334 - changeset 30d3e9381a50 2015-02-18 15:44:16 -08:00
Robert Strong e71fcfb6f4 Bug 1134334 - Intermittent run-by-dir test_0900_deprecatedUpdateFormat_minor.xul | Checking currentPage.pageid equals checking in pageshow - got downloading, expected checking. r=spohl 2015-02-18 13:39:31 -08:00
Robert Strong ccd1b8aeed Bug 1128005 - Re-enable unit_timermanager/consumerNotifications.js on Android. r=spohl 2015-02-12 16:06:35 -08:00
Christoph Kerschbaumer fe39ce0539 Bug 1087744: Make JS callers of ios.newChannel call ios.newChannel2 in toolkit/ (r=gijs) 2014-10-24 15:25:34 -07:00
Robert Strong 76a3743c4f Bug 1131725 - Don't clear app.update.enabled and app.update.staging.enabled test user prefs in test_9999_cleanup.xul. r=spohl 2015-02-10 19:58:43 -08:00
Robert Strong b555b1ca9c Bug 1062253 - Exception calling callback: TypeError: this._backgroundUpdateCheckCodePing is not a function @ nsUpdateService.js:2380:8. r=spohl 2015-02-10 17:41:27 -08:00
Robert Strong 7a9277815f Bug 1129209 - Use a separate manifest for comctl32.dll. r=bbondy 2015-02-05 14:12:39 -08:00
Robert Strong 0f48becd77 bug 945192 - add x64 support to loaddlls.cpp and general cleanup. r=bbondy 2015-01-29 11:50:33 -08:00
jp111 6137a8c380 Bug 958147 - Choose one of run-if or skip-if and get rid of the other. r=ted 2015-01-28 06:17:00 -05:00
Chris Peterson 7994f9c216 Bug 1125690 - Fix -Wtautological-compare warning in toolkit/mozapps/update/updater and mark as FAIL_ON_WARNINGS. r=rstrong 2015-01-25 00:24:34 -08:00
Brian Smith 57309dc719 Bug 1119072, Part 11: Do not conflate struct _stat with struct stat in MSVC 2015, r=rstrong
--HG--
extra : rebase_source : e7286c7e2de4a8500de19800e1b564348f4b0cce
2015-01-12 20:04:46 -08:00
Hector Zhao a58cd34c17 Bug 1035400 - Fix "restart to update" button. r=felipe 2015-01-14 17:39:01 +08:00
Trevor Saunders 5b86ecf80c bug 1077549 - remove useless gcc version checks r=glandium 2015-01-15 21:30:05 -05:00
Brian Smith ea66053341 Bug 1119776, Part 7: Avoid defining snprintf when MSVC provides it (other), r=bsmedberg
--HG--
extra : rebase_source : 3fc7e4e83f57252e15cf32846f23e497f8532ea5
2015-01-08 22:35:33 -08:00
Kai-Zhen Li d7c7759d90 Bug 1104655 - User syscall to implement ioprio_set for gonk-l. r=rstrong 2015-01-13 10:05:02 +08:00
Masatoshi Kimura bf312ad056 Bug 1120062 - Part 1: Remove most Nullptr.h includes. r=waldo 2015-01-11 11:34:52 +09:00
Robert Strong d81a78094b Bug 1098112 - Auto-updates broken on Linux when /tmp is mounted noexec. r=bbondy 2014-12-02 13:47:37 -05:00
Gregory Szorc 17de3241d3 Bug 1103825 - Move toolkit/mozapps/update/tests rules to misc tier; r=mshal
--HG--
extra : rebase_source : f2d3f5a9a86b25b449a8c5540fa6b39f3edd749f
extra : histedit_source : be7fde50ece8822cd356176717aa4e91873e37bc
2014-11-23 16:16:31 -08:00
Jacek Caban 416d586a14 Bug 1102809 - Fixed -Wunused-function warnings found in mingw build. r=mattwoodrow 2014-11-24 11:19:36 +01:00
Mike Hommey fe90037862 Bug 1043692 - Add a DIST_INSTALL variable to moz.build, and replace NO_DIST_INSTALL with it. r=gps 2015-05-12 07:55:21 +09:00
Robert Strong ec2cca3b4a Bug 771940 - '-bin' suffix no longer present on Linux and is no longer needed by app update tests. r=bbondy 2014-11-18 14:04:21 -08:00
Mike Hommey 264a1bccd3 Bug 1094521 - Rewrite export rules in toolkit/mozapps/update/updater/Makefile.in to not regenerate files every time. r=mshal 2014-11-07 10:16:41 +09:00
Mike Hommey 47c853314f Bug 1077148 part 4 - Add and use new moz.build templates for Gecko programs and libraries. r=gps
There are, sadly, many combinations of linkage in use throughout the tree.
The main differentiator, though, is between program/libraries related to
Gecko or not. Kind of. Some need mozglue, some don't. Some need dependent
linkage, some standalone.

Anyways, these new templates remove the need to manually define the
right dependencies against xpcomglue, nspr, mozalloc and mozglue
in most cases.

Places that build programs and were resetting MOZ_GLUE_PROGRAM_LDFLAGS
or that build libraries and were resetting MOZ_GLUE_LDFLAGS can now
just not use those Gecko-specific templates.
2014-10-30 13:06:12 +09:00
Mike Hommey 0cd72b4901 Bug 1077148 part 3 - Do not link PrimitiveTest, SimpleTypeLib, TestAUSHelper, TestAUSReadStrings and screentopng against mozglue on Linux. r=gps
There is no reason these should be linked to mozglue on Linux only. This
makes the intent clearer for the related changes in part 4.
2014-10-30 13:06:04 +09:00
Nicholas Nethercote c24a781566 Bug 1080302 (part 2) - Convert all mentions of -foo options to --foo options in comments, help messages and error messages. r=glandium. 2014-10-23 17:35:27 -07:00
Brian R. Bondy c5e46f7e4f Bug 902761 - Build configuration for turning .der files into .h files. r=rstrong 2014-10-15 23:00:23 -04:00
Brian R. Bondy bbbf509fe2 Bug 902761 - Stop storing certs used for MAR verification in EXE resource files. r=rstrong 2014-10-15 23:01:11 -04:00
Alexandre Poirot 503a9bb4af Bug 1083073 - Fix update tests when app.update.silent is true by default. r=bbondy 2014-10-15 01:24:00 +02:00
Brian R. Bondy 0f33b48015 Bug 1035562 - Re-enable maintenance service tests for x64 Windows. r=rstrong 2014-10-10 23:13:55 -04:00
Robert Strong 0baa1a37b4 Mac V2 signing - Bug 1077268 - Make app update tests use the GreBinD dir service key implemented in bug 1077099. r=spohl 2014-10-10 06:15:13 -07:00
Andrew Halberstadt d292ee73f1 Bug 1066735 - Remove root b2g and android specific xpcshell manifests, r=chmanchester 2014-10-07 18:18:28 -04:00
zhoubcfan@163.com 567fb422f4 Bug 1076926 - Add windows 10 support to exe manifest. r=jimm 2014-10-04 14:43:01 +09:00
Robert Strong 9ccdefca97 Mac v2 signing - Bug 1075169 - Copy staged update when renaming fails and fix crash on staging failure. r=spohl, a=RyanVM over irc 2014-09-30 20:36:45 -07:00
Robert Strong d9bf33dec4 Mac v2 signing - Bug 1072554 - Remove update directories when running xpcshell tests. r=spohl 2014-09-29 11:52:59 -07:00
Robert Strong e6dcf41620 Mac v2 signing - Bug 1071465 - old precomplete file is not removed on update. r=spohl 2014-09-29 11:52:48 -07:00
Robert Strong ad8df89b5c Mac v2 signing - Bug 1071134 - Fix command line help for updater. r=spohl 2014-09-29 11:52:44 -07:00
Robert Strong 0690c90f12 Mac v2 signing - Temporary workaround for Bug 1070148 - Copy maintenance service binary into its install directory when the installed binary is different. r=bbondy 2014-09-29 11:52:32 -07:00
Robert Strong ff50e5f369 Mac v2 signing - Bug 1070661 - Error setting access/modification time on application bundle. r=spohl 2014-09-29 11:52:21 -07:00
Robert Strong 916606c65a Mac v2 signing - Bug 1068439 - Move the distribution directory from Content/MacOS to Contents/Resources on app update due to v2 signing requirements. r=spohl 2014-09-29 11:52:18 -07:00
Robert Strong beff51a83a Mac v2 signing - Bug 1058182 - Fix app update xpcshell tests due to the Mac v2 bundle structure. r=bbondy 2014-09-29 11:52:14 -07:00
Robert Strong 076224aff0 Mac v2 signing - Bug 1064523 - Create staging directory outside of the Mac bundle. r=bbondy 2014-09-29 11:52:08 -07:00
Robert Strong 2230b3918e Mac v2 signing - Bug 1059467 - Move precomplete file from the root of the Mac bundle to Contents/Resources. r=bbondy, r=nthomas
--HG--
rename : tools/update-packaging/test/from-mac/precomplete => tools/update-packaging/test/from-mac/Contents/Resources/precomplete
rename : tools/update-packaging/test/to-mac/precomplete => tools/update-packaging/test/to-mac/Contents/Resources/precomplete
2014-09-29 11:51:55 -07:00
Stephen Pohl ec201051e3 Mac v2 signing - Bug 1046924 - Move updates directory out of the .app bundle. r=rstrong 2014-09-29 11:51:08 -07:00
Brian R. Bondy f7cb749319 Bug 958554 - Fix about window sometimes saying nightly is being updatd by another instance. r=rstrong
Note that if the process is hung, or there is another instance running in a  different user instance,
or another profile is running, the message is perfectly normal.  But this should prevent the bad case
of getting this message.

This handling was first added specifically for Metro and Firefox running the same intallation at the
same time.  Metro isn't being released but there are still other very valid reasons for having this
handling as noted above.
2014-09-28 21:26:34 -04:00
Brian R. Bondy 2175404bac Backout bug 945192 for intermittent failures. r=rstrong 2014-09-15 20:29:35 -04:00
Shu-yu Guo 59ccd2fecb Bug 1001090 - Part 5: Fix errors in tests throughout the tree. (r=robcee,gavin) 2014-09-15 16:30:47 -07:00
Antonio M. Amaya e741cf1dac Bug 1066543 - Add MS_VERBOSE to the remount options in the updater automounter. r=marshall_law 2014-09-12 10:33:00 -04:00
Chris Peterson d126c3c24f Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Brian R. Bondy da6579abe6 Bug 945192 - Changes for tests. r=rstrong. 2014-09-05 12:56:09 -04:00
Brian R. Bondy c581ce9932 Bug 945192. r=rstrong 2014-05-25 21:58:53 -04:00
Ehsan Akhgari a808a05adb Bug 1061054 - Fix more bad implicit constructors in updater; r=bbondy 2014-09-04 23:23:24 -04:00
Mike Hommey 0060683747 Bug 1059090 - Don't require SOURCES to be set for CPP_UNIT_TESTS and SIMPLE_PROGRAMS. r=mshal 2014-09-03 14:16:37 +09:00
Mike Hommey ed70c5f377 Bug 1041941 - Use templates for programs, simple programs, libraries and C++ unit tests. r=gps 2014-09-03 14:10:54 +09:00
Alexandre Lissy 071721792e Bug 1056034 - Avoid unassigned lastUpdateTime use. r=rstrong
Scope of 'let' variables is limited to the current block, however, there
is a later use of this variable that is done outside of the block where
it's declared as 'var'. We declare the variable as 'var' and at the top
level of the function to make sure that it is a legit one when we want
to assign it.
2014-08-20 07:02:00 -04:00
Nathan Froyd e1583db863 Bug 1042226 - move DEFINES += -DAB_CD=$(AB_CD) pattern into config.mk; r=mshal 2014-08-01 12:53:05 -04:00
Mike Hommey d9443ec932 Bug 1045783 - Move most OS_LIBS to moz.build and do some related cleanup. r=mshal 2014-08-06 07:25:33 +09:00
Nathan Froyd 12c76f15f7 Bug 1042878 - part 2 - move MOZ_CAIRO_CFLAGS et al additions to C*FLAGS into moz.build; r=glandium 2014-07-24 11:55:33 -04:00
Jeff Walden 235c1f7500 Bug 1037100 - Remove all use of ScopedDeleteArray from miscellaneous places. r=jcranmer
--HG--
extra : rebase_source : 937557b819742ee62e10a4afa6c5152b910cd8b2
2014-07-10 20:37:40 -07:00
Alexandre Poirot 7ea4dd517f Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Mike Hommey 95063176fa Bug 1036894 part 9 - Replace all EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS with EXTRA_LIBS, OS_LIBS or OS_LDFLAGS, appropriately. r=gps
OS_LIBS for libraries that are not part of the gecko tree, EXTRA_LIBS for
libraries, such as NSPR, that are in the tree, but are not handled by
moz.build just yet. Those EXTRA_LIBS may also come from a system library.
However, in cases where the expanded variables are always empty for the
in-tree case, OS_LIBS is used (as for, e.g. MOZ_ZLIB_LIBS). OS_LDFLAGS is
used exclusively for non-library linker flags.

Always pass EXTRA_LIBS before OS_LIBS on linker command lines.

Forbid EXTRA_DSO_LDOPTS, SHARED_LIBRARY_LIBS and LIBS in Makefiles.
2014-07-23 13:31:02 +09:00
Mike Hommey 5fab42fcaf Bug 1036894 part 8 - Move most in-tree library linkage information to moz.build, as USE_LIBS. r=gps 2014-07-23 13:30:52 +09:00
Jonathan Griffin 1c5d8636ac Backed out changeset 64586374a208 on a CLOSED TREE 2014-07-22 18:29:57 -07:00
Alexandre Poirot 98afd25e0d Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files; fix previous bustage on a CLOSED TREE, r=ahal 2014-07-02 15:40:56 -07:00
Jonathan Griffin 38f79ff899 Backout 4f6d9db92389 for bustage on a CLOSED TREE 2014-07-22 17:55:50 -07:00
Mike Hommey bc5d6801bb Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Alexandre Poirot 37506aa45c Bug 1027242 - Blacklist mulet's failing tests + expose 'mulet' to ini files. r=ahal 2014-07-02 15:40:56 -07:00
Jacek Caban eba3c46c8a Bug 1022847 - Fixed --enable-metro build.
--HG--
extra : rebase_source : ac9e1609d5dd2211b819083a88dad6e26d2c6479
2014-07-10 15:15:10 +02:00
Brian R. Bondy 470efdb581 Bug 1033159 - Only run maintenance service tests on x86 until x64 binaries are signed. r=rstrong 2014-07-07 17:48:34 -07:00
Robert Strong 7144fd5dec test only followup to Bug 1032559 - Fix for mochitest-chrome slow download mar tests fail when the app.update.download.backgroundInterval pref is 0. r=me 2014-07-03 10:19:31 -07:00
Robert Strong 0779744eff Bug 1032559 - Fix for mochitest-chrome slow download mar tests fail when the app.update.download.backgroundInterval pref is 0. r=spohl 2014-07-01 12:53:25 -07:00
Jacek Caban 1648da16ce Bug 1022847 - toolkit/mozapps/update fails to compile with MinGW r=netzen
--HG--
extra : rebase_source : d876570cbfb29bc86cf1435f8e0f79eda49b5764
2014-06-25 11:30:05 +02:00
Jim Blandy 7e20285e70 Bug 914753: Make Emacs file variable header lines correct, or at least consistent. DONTBUILD r=ehsan
The -*- file variable lines -*- establish per-file settings that Emacs will
pick up. This patch makes the following changes to those lines (and touches
nothing else):

 - Never set the buffer's mode.

   Years ago, Emacs did not have a good JavaScript mode, so it made sense
   to use Java or C++ mode in .js files. However, Emacs has had js-mode for
   years now; it's perfectly serviceable, and is available and enabled by
   default in all major Emacs packagings.

   Selecting a mode in the -*- file variable line -*- is almost always the
   wrong thing to do anyway. It overrides Emacs's default choice, which is
   (now) reasonable; and even worse, it overrides settings the user might
   have made in their '.emacs' file for that file extension. It's only
   useful when there's something specific about that particular file that
   makes a particular mode appropriate.

 - Correctly propagate settings that establish the correct indentation
   level for this file: c-basic-offset and js2-basic-offset should be
   js-indent-level. Whatever value they're given should be preserved;
   different parts of our tree use different indentation styles.

 - We don't use tabs in Mozilla JS code. Always set indent-tabs-mode: nil.
   Remove tab-width: settings, at least in files that don't contain tab
   characters.

 - Remove js2-mode settings that belong in the user's .emacs file, like
   js2-skip-preprocessor-directives.
2014-06-24 22:12:07 -07:00
Carsten "Tomcat" Book e60e00b67f Backed out changeset ccc885c8f4ac (bug 1003159) for causing test failures in mochitest-other on a CLOSED TREE 2014-06-05 09:32:19 +02:00
Mike Connor d39f623cc6 Bug 1003159 - Default the updater to downloading the entire update at once for Nightly/Aurora, r=rstrong
--HG--
extra : rebase_source : b02d9fc4717817e57c50e2149cbbeaba05097a30
2014-06-04 23:00:32 -04:00
Robert Strong bab62eea74 Bug 606415: Tests for bug 1009668. r=spohl 2014-05-23 10:42:58 -04:00
Stephen Pohl ddc77c5a19 Bug 1009668: Make retrieval of updater.ini more robust and predictable on OSX. r=smichaud,rstrong 2014-05-23 10:42:52 -04:00
Cykesiopka d0a5ea9350 Bug 622332 - Show cert SHA-256 fingerprint and remove MD5 fingerprint. r=keeler 2014-05-22 00:52:00 +02:00
Alexandre Poirot 52c608278d Bug 964778 - Fix app install. r=fabrice 2014-05-20 09:30:00 -04:00
Wes Kocher 90d00af26d Merge b2g-inbound to m-c 2014-05-15 15:46:14 -07:00
Mark Banner 6efcf56a9f Bug 1010984 Builds without Firefox Health Report are unable to check for updates or update. r=enndeakin 2014-05-15 15:35:50 +01:00
Neil Deakin 4612689b18 Bug 893098, record update starts, stops and errors in the health report, r=rnewman,rstrong 2014-05-14 08:01:45 -04:00
Wes Kocher b800043089 Merge m-c to b2g-inbound 2014-05-14 16:34:15 -07:00
Dave Hylands 77995c45f8 Bug 1001542 - Add PRODUCT_DEVICE to the list of url substitutable fields. r=rstrong 2014-05-14 11:50:23 -07:00
Robert O'Callahan 7043c985ba Bug 1006248. Part 1: Add MOZ_EXPORT in various places. r=glandium
--HG--
extra : rebase_source : cfe209a412cae28d405eae413415cebb6959072a
2014-05-06 17:26:46 +12:00
Robert Strong e5c0afdecb whitespace fix followup for Bug 1002086 - UpdateService uses the non-existent nsIAddonUpdateCheckListener interface. r=me 2014-04-27 17:30:17 -07:00
Robert Strong c189a0f00e Bug 1002086 - UpdateService uses the non-existent nsIAddonUpdateCheckListener interface. r=ehsan 2014-04-27 16:13:04 -07:00
Nochum Sossonko 02fe457dec bug 906466: Updates not properly signed on the nightly-ux branch: Certificate did not match issuer or name. r=rstrong
--HG--
extra : rebase_source : 1dc83f67c495d431e4ae4d2ed35b12e6f5eb03d4
2014-04-14 09:56:58 -04:00
Brian R. Bondy 25ae59ff55 Bug 961676. r=rstrong 2014-03-28 14:17:36 -04:00
Ehsan Akhgari 5bb8bfa8cf Bug 981428 - Move OSX -framework flags to moz.build; r=mshal 2014-03-10 20:18:33 -04:00
Robert Strong b35eeb1e93 Test cleanup and tests for Bug 759469 - Add new updater instruction to add a file if it doesn't exist in the destination. r=bbondy
--HG--
rename : toolkit/mozapps/update/tests/unit_base_updater/marDirLockedStageFailure_win.js => toolkit/mozapps/update/tests/unit_base_updater/marAppApplyDirLockedStageFailure_win.js
rename : toolkit/mozapps/update/tests/unit_base_updater/marFileInUseStageSuccessComplete_win.js => toolkit/mozapps/update/tests/unit_base_updater/marFileInUseStageFailureComplete_win.js
rename : toolkit/mozapps/update/tests/unit_base_updater/marFileInUseStageSuccessPartial_win.js => toolkit/mozapps/update/tests/unit_base_updater/marFileInUseStageFailurePartial_win.js
rename : toolkit/mozapps/update/tests/unit_base_updater/marRMRFDirFileInUseStageSuccessComplete_win.js => toolkit/mozapps/update/tests/unit_base_updater/marRMRFDirFileInUseStageFailureComplete_win.js
rename : toolkit/mozapps/update/tests/unit_base_updater/marRMRFDirFileInUseStageSuccessPartial_win.js => toolkit/mozapps/update/tests/unit_base_updater/marRMRFDirFileInUseStageFailurePartial_win.js
rename : toolkit/mozapps/update/tests/unit_service_updater/marDirLockedStageFailureSvc_win.js => toolkit/mozapps/update/tests/unit_service_updater/marAppApplyDirLockedStageFailureSvc_win.js
rename : toolkit/mozapps/update/tests/unit_service_updater/marFileInUseStageSuccessCompleteSvc_win.js => toolkit/mozapps/update/tests/unit_service_updater/marFileInUseStageFailureCompleteSvc_win.js
rename : toolkit/mozapps/update/tests/unit_service_updater/marFileInUseStageSuccessPartialSvc_win.js => toolkit/mozapps/update/tests/unit_service_updater/marFileInUseStageFailurePartialSvc_win.js
rename : toolkit/mozapps/update/tests/unit_service_updater/marRMRFDirFileInUseStageSuccessCompleteSvc_win.js => toolkit/mozapps/update/tests/unit_service_updater/marRMRFDirFileInUseStageFailureCompleteSvc_win.js
rename : toolkit/mozapps/update/tests/unit_service_updater/marRMRFDirFileInUseStageSuccessPartialSvc_win.js => toolkit/mozapps/update/tests/unit_service_updater/marRMRFDirFileInUseStageFailurePartialSvc_win.js
2014-03-05 11:43:28 -08:00
Robert Strong 29ae1e8242 Updated test binaries for Bug 759469 - Add new updater instruction to add a file if it doesn't exist in the destination. r=bbondy
--HG--
rename : toolkit/mozapps/update/tests/data/partial_in_use_win_before.exe => toolkit/mozapps/update/tests/data/complete.exe
rename : toolkit/mozapps/update/tests/data/partial_in_use_win_after.exe => toolkit/mozapps/update/tests/data/partial.exe
2014-03-05 11:43:20 -08:00
Robert Strong 5b22b1861b Main patch for Bug 759469 - Add new updater instruction to add a file if it doesn't exist in the destination. r=bbondy 2014-03-05 11:43:11 -08:00
Robert Strong d86e99dd28 Bug 896224 - Remove support for the version 1 manifest from the updater. r=bbondy 2014-03-05 11:43:03 -08:00
Ehsan Akhgari 17f4a32d8b Bug 976896 - Port STL_FLAGS to moz.build; r=mshal 2014-03-04 19:39:06 -05:00
Ehsan Akhgari 5ff28bc333 Bug 976886 - Port RCINCLUDE to moz.build; r=mshal
--HG--
extra : rebase_source : e8a75bc01c3f57516a1a1307de3d170ea07ca1ac
2014-03-04 17:19:24 -05:00
Robert Strong c7454331a1 bug 965955 and bug 966140 - possible fix for intermittent failures of marStageSuccessPartial.js, marStageSuccessComplete.js, and marAppInUseStageSuccessComplete_unix.js. r=bbondy 2014-02-27 12:03:13 -08:00
Ehsan Akhgari ae84232a40 Bug 976885 - Port RCFLAGS to moz.build; r=glandium 2014-02-26 09:12:49 -05:00
Ehsan Akhgari 39fc9361f6 Bug 975740 - Port WIN32_EXE_LDFLAGS to moz.build; r=mshal 2014-02-24 08:30:25 -05:00
Masatoshi Kimura a6d85af240 Bug 973181 - Check the unprompted elevation mode only if the current user can elevate. r=bbondy 2014-02-19 20:29:48 +09:00
Masatoshi Kimura 8ddf7de8a5 Bug 969918 - Use decltype to declare pointers for dynamic-loaded functions. r=jimm sr=roc 2014-02-18 07:32:52 +09:00
Ms2ger e5b03eb751 Bug 968900 - Move LOCAL_INCLUDES to moz.build in toolkit/; r=mshal 2014-02-15 21:25:20 +01:00
Ms2ger 33da18c67e Bug 968856 - Move unconditional LOCAL_INCLUDES into moz.build; r=mshal 2014-02-15 21:24:59 +01:00
Masatoshi Kimura 343387cf19 Bug 969728 - Make users using temporary profile possible to update using the maintenance service. r=bbondy 2014-02-12 06:01:29 +09:00
Ehsan Akhgari b7b6d52aef Bug 970745 - Move USE_STATIC_LIBS to moz.build; r=glandium 2014-02-11 09:12:33 -05:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Ehsan Akhgari 39001bcb42 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps 2014-02-06 14:17:44 -05:00
Ehsan Akhgari bdd531f68f Backed out changeset b54e8c328c32 (bug 944800) because of test failures on a CLOSED TREE 2014-02-04 17:03:17 -05:00
Ehsan Akhgari 6494b169e9 Bug 944800 - Move the information about delay loaded DLLs into moz.build; r=gps
--HG--
extra : rebase_source : 3eca29dae04c42fa8e7d113318b8a169a0cf22e4
2014-02-04 13:57:34 -05:00
Robert Strong 67d6e3f2e8 Bug 964550 - Make marStageSuccessComplete.js, marStageSuccessPartial.js, and marAppInUseStageSuccessComplete_unix.js xpcshell tests pass on Mac. r=bbondy 2014-01-28 19:14:15 -08:00
Robert Strong 1db58c3240 Bug 963848 - head_update.js is copied to unit_service_updater even when MOZ_MAINTENANCE_SERVICE is not defined. r=bbondy 2014-01-27 10:35:43 -08:00
Robert Strong bb76b8a40e Bug 963860 - fix macro redefinition when compiling TestAUSReadStrings.cpp. r=bbondy 2014-01-27 10:35:38 -08:00
Robert Strong 0ed9d5a85d Bug 885096 - hasMutex should not be called from a lazy getter. r=bbondy 2014-01-23 17:30:26 -08:00
Robert Strong 9b09ebdbf0 Bug 925747 - patch file extraction cleanup. r=bbondy 2014-01-22 17:16:39 -08:00
Robert Strong 0e1fc31ed1 Bug 959341 - Replace MOZ_B2G with MOZ_WIDGET_GONK for consistency. r=dhylands 2014-01-14 16:39:06 -08:00
Sachin Hosmani 3bf22859ba Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused
CLOSED TREE
2014-01-06 14:16:32 +05:30
Ryan VanderMeulen 72b3035461 Backed out changeset 933bf791b773 (bug 897735) for Windows test bustage.
CLOSED TREE
2014-01-14 11:10:33 -05:00
Sachin Hosmani ac557339b2 Bug 897735 - Support regular expression filters for name and creator in extension blocks. r=Unfocused 2014-01-06 14:16:32 +05:30
Chris Peterson 37cf564ad1 Bug 956468 - Fix "ReferenceError: assignment to undeclared variable res" in nsUpdateService.js. r=rstrong 2013-12-31 20:18:47 -08:00
Robert Strong 8f31c1cbae Bug 959004 - remove gVolumeMountLock declaration since it isn't used. r=bbondy 2014-01-12 18:18:16 -08:00
Robert Strong 70165d2e6f Part 11 - Bug 951662 - fix updates patch dir in use after staging, make the helper sleep timeout consistent across tests, and use STATE_APPLIED instead of STATE_APPLIED_SVC on Windows for non service tests. r=bbondy 2014-01-12 13:47:29 -08:00
Robert Strong 79087273b5 Part 10 - Bug 951662 - add ability to debug parallel test failures and declare gRegisteredServiceCleanup. r=bbondy 2014-01-12 13:47:12 -08:00
Robert Strong c709b77828 Part 9 - Bug 951662 - make tests handle the case where the update log has previous update text at the start of the log. r=bbondy 2014-01-12 13:46:56 -08:00
Robert Strong cfb3cff639 Part 8 - Bug 951662 - fix file removal race condition and only launch the callback app from the updater when the MOZ_PROCESS_UPDATES env var is not defined. r=bbondy 2014-01-12 13:46:43 -08:00
Robert Strong 9be1d0d81c Part 7 - Bug 951662 - add mock update directory for tests, remove code that is no longer needed, and test cleanup. r=bbondy 2014-01-12 13:46:29 -08:00
Robert Strong 324fedd7c7 Part 4 - Bug 951662 - don't finish updater logging unless error is not ERROR_SHARING_VIOLATION and make log text more consistent. r=bbondy 2014-01-12 13:45:26 -08:00
Robert Strong df886b48c9 Part 3 - Bug 951662 - build config changes needed for creating a mock update directory for tests. r=bbondy 2014-01-12 13:45:10 -08:00
Robert Strong bd77281d57 Part 1 - Bug 951662 - change background to staging for consistency. r=bbondy 2014-01-12 13:44:41 -08:00
Robert Strong da8ae98a29 Part 2 of Bug 930194 - Add prerequisite checks for MozillaMaintenance Service tests that fail the tests if the build system is not properly configured. r=bbondy 2014-01-10 18:45:54 -08:00
Fernando Jiménez dd2f2d0acc Bug 926737 - FOTA update includes device GUID for identification purpose. Part 3: Tests. r=rstrong 2014-01-10 11:02:59 +01:00
Fernando Jiménez 8da0d818e1 Bug 926737 - FOTA update includes device GUID for identification purpose. Part 2: nsUpdateService r=rstrong 2014-01-10 11:02:58 +01:00
Ehsan Akhgari 1b83407ce9 Bug 927728 - Part 1: Replace PRUnichar with char16_t; r=roc
This patch was automatically generated by the following script:

#!/bin/bash
# Command to convert PRUnichar to char16_t

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*modules/libmar*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name prtypes.h \
       ! -name Char16.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 PRUnichar char16_t
2014-01-04 10:02:17 -05:00
Gregory Szorc e396fc159d Bug 774572 - Part 2: Define JAR_MANIFESTS in moz.build files; r=glandium
Every directory with a jar.mn now has JAR_MANIFESTS defined in its
moz.build file.

We also removed the may_skip special consideration of jar.mn files
because this information is now available during tier traversal by the
reader courtesy of the variables being present in moz.build files.

--HG--
extra : rebase_source : 21049b15e6bd9cf65b0805ccaccc4ba5aae93c98
extra : amend_source : 0b1ea866d725beef92d37c6f6d475369ac002e19
2013-12-10 16:18:11 +09:00
Birunthan Mohanathas 3440613a39 Bug 713082 - Part 2: Rename Util.h to ArrayUtils.h. r=Waldo
--HG--
rename : mfbt/Util.h => mfbt/ArrayUtils.h
2013-12-08 21:52:54 -05:00
Mike Hommey 881a7c1554 Bug 943728 - Replace double quotes with single quotes in Makefiles (or remove them when it makes sense). r=mshal 2013-12-03 06:34:21 +09:00
Mike Hommey 8fd06cf41b Bug 874266 - Move all DEFINES that can be moved to moz.build. r=mshal 2013-11-27 22:55:07 +09:00
Mike Hommey b32a4ed166 Backout changeset 3fd4b546eed4 (bug 874266) and changeset a35d2e3a872f (bug 942043) for ASAN build bustage and Windows test bustage
--HG--
extra : amend_source : f20d09aeff1c8b5cbd0f1d24c7ce04e86f3aed1d
2013-11-28 14:24:05 +09:00