Commit Graph

4653 Commits

Author SHA1 Message Date
Nicholas Cowles
6cab4dbf63 Bug 1517528 - Capstone: convert about:privatebrowsing using gandalf's conversion script, r=jaws,zbraniecki,flod
Differential Revision: https://phabricator.services.mozilla.com/D19250

--HG--
extra : moz-landing-system : lando
2019-02-19 19:17:14 +00:00
Yuan Cheng
12a33aae75 Bug 1523737 - Migrate printProgress.dtd, printPageSetup.dtd, and printPreviewProgress.dtd to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D19322

--HG--
extra : moz-landing-system : lando
2019-02-19 17:59:05 +00:00
shindli
428bc0ca50 Backed out changeset cfb1a7fbbfa7 (bug 1517493) for bc failures in browser/base/content/test/static/browser_all_files_referenced.js 2019-02-18 22:49:05 +02:00
Christian Frey
59bf1f3f79 Bug 1517493 Migrating pageInfo to Fluent r=jaws,flod
Translating most string from pageInfo.properties and making pageInfo.js and security.js use Fluent

Differential Revision: https://phabricator.services.mozilla.com/D16931

--HG--
extra : moz-landing-system : lando
2019-02-07 06:31:04 +00:00
Emilio Cobos Álvarez
61afcd6fcc Bug 1528643 - Fix mach clang-format -c in mercurial. r=sylvestre
Turns out hg diff works differently, and when Miko tried to use this
option last week he realized it didn't work quite as expected.

Differential Revision: https://phabricator.services.mozilla.com/D20102

--HG--
extra : moz-landing-system : lando
2019-02-18 08:13:45 +00:00
Cosmin Sabou
8cb8ef3973 Merge mozilla-central to autoland. 2019-02-15 20:50:34 +02:00
Benjamin Bouvier
ab4bcb3e97 Bug 1521772: Run clang-format in parallel; r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D19943

--HG--
extra : moz-landing-system : lando
2019-02-15 16:32:48 +00:00
Daniel Varga
1e9aa9e1fc Merge mozilla-central to mozilla-inbound. a=merge on a CLOSED TREE
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
2019-02-15 03:51:05 +02:00
Mike Hommey
ef3ad686ee Bug 1512504 - Remove support for MSVC. r=froydnj
Consequently, this removes:
- MOZ_LIBPRIO, which is now always enabled.
- non_msvc_compiler, which is now always true.
- The cl.py wrapper, since it's not used anymore.
- CL_INCLUDES_PREFIX, which was only used for the cl.py wrapper.
- NONASCII, which was only there to ensure CL_INCLUDES_PREFIX still
  worked in non-ASCII cases.

This however keeps a large part of detecting and configuring for MSVC,
because we still do need it for at least headers, libraries, and midl.

Depends on D19614

Differential Revision: https://phabricator.services.mozilla.com/D19615

--HG--
extra : moz-landing-system : lando
2019-02-14 21:45:27 +00:00
Geoff Brown
7e2ceb9259 Bug 1527011 - Support win64-aarch64 artifact builds; r=nalexander 2019-02-12 18:03:38 -07:00
Andi-Bogdan Postelnicu
843d0d6fcf Bug 1527286 - For 'mach clang-format' don't pass files that we don't exist on the disk. r=sylvestre
Differential Revision: https://phabricator.services.mozilla.com/D19481

--HG--
extra : moz-landing-system : lando
2019-02-12 12:54:22 +00:00
Andi-Bogdan Postelnicu
1a6a9cbcf1 Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969

--HG--
extra : moz-landing-system : lando
2019-02-12 10:44:17 +00:00
Dorel Luca
7d3d8441a9 Backed out changeset d6bda0108d61 (bug 1520920) as requested by the dev 2019-02-12 12:38:48 +02:00
Andi-Bogdan Postelnicu
72161a32a3 Bug 1520920 - do not 'mach configure' when downloading clang-tidy artifact. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D16969

--HG--
extra : moz-landing-system : lando
2019-02-12 10:27:19 +00:00
Jeff Gilbert
721d8c2e22 Bug 1526509 - Remove lib32-libstdc++5 requirement from mozboot/archlinux.py. r=glandium
lib32-libstdc++5 moved from multilib to AUR, but it seems like we don't
need this anymore anyway.

Differential Revision: https://phabricator.services.mozilla.com/D19276

--HG--
extra : moz-landing-system : lando
2019-02-12 02:49:16 +00:00
Chris Manchester
7b468805c5 Bug 1525733 - Require rust 1.32 to build. r=firefox-build-system-reviewers,ted
Differential Revision: https://phabricator.services.mozilla.com/D19244

--HG--
extra : moz-landing-system : lando
2019-02-11 19:43:18 +00:00
Mike Hommey
e3b77d6ed3 Bug 1526062 - Add a configure lint for undefined variables. r=nalexander
There are cases that can be easily detected where an undefined variable
is used, and such mistakes seem to happen more often than they should,
as all the errors fixed in the previous patches (that this new lint
caught).

Depends on D19112

Differential Revision: https://phabricator.services.mozilla.com/D19113

--HG--
extra : moz-landing-system : lando
2019-02-08 20:38:05 +00:00
Mike Hommey
83b2adb600 Bug 1526062 - Improve error reporting by the configure lint. r=nalexander
Currently, running the configure lint will raise errors with little
context, if any, which can make finding the cause of the errors tedious.

So instead of raising exceptions directly, we use a hack to make the
exception appear as if they had been thrown at the code location an
issue is reported for, which makes the test harness print more useful
context.

With more context, printed out, some exception messages can be made
lighter.

The added _raise_from method does more than is necessary here, but will
be fully used in a new check shortly.

Depends on D19111

Differential Revision: https://phabricator.services.mozilla.com/D19112

--HG--
extra : moz-landing-system : lando
2019-02-08 22:47:02 +00:00
Mike Hommey
845718811d Bug 1526062 - Add AssertionError to the python configure sandbox builtins. r=nalexander
Using the `assert` keyword actually generates bytecode that uses the
`AssertionError` class under the hood. Ideally, we should probably not
use asserts in python configure, but there are currently so many that
it's easier to allow it, until a better strategy is decided upon.

Depends on D19110

Differential Revision: https://phabricator.services.mozilla.com/D19111

--HG--
extra : moz-landing-system : lando
2019-02-08 16:57:55 +00:00
Mike Hommey
39bdbdd823 Bug 1525999 - Default to arm instead of armv7a for android builds. r=nalexander
That makes target.toolchain match what the NDK provides.

Differential Revision: https://phabricator.services.mozilla.com/D19116

--HG--
extra : moz-landing-system : lando
2019-02-08 22:37:25 +00:00
Yuan Cheng
7be13dade4 Bug 1519923 - Migrate about:rights to Fluent, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D17731

--HG--
extra : moz-landing-system : lando
2019-02-08 17:36:15 +00:00
arthur.iakab
27c92bb1ae Backed out changeset 51697f8232c5 (bug 1525999) for causing multiple Android failures on build/target.raptor.tests.tar.gz CLOSED TREES 2019-02-08 19:48:55 +02:00
Mike Hommey
f36d444aa0 Bug 1525999 - Default to arm instead of armv7a for android builds. r=nalexander
That makes target.toolchain match what the NDK provides.

Differential Revision: https://phabricator.services.mozilla.com/D19116

--HG--
extra : moz-landing-system : lando
2019-02-08 16:45:55 +00:00
Kris Maglione
bb97eb4646 Bug 1524688: Part 2 - Convert BrowserGlue and friends to static registration. r=mconley
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
rename : browser/components/nsBrowserGlue.js => browser/components/BrowserGlue.jsm
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.js => browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm
extra : source : 9201a7ea3c543310df1612b57ab72b883c94e07e
2019-01-29 17:44:35 -08:00
Csoregi Natalia
ecd94d6986 Backed out 79 changesets (bug 1524687, bug 1524688) for crashes on mozilla::dom::ScreenOrientation::ScreenOrientation(nsPIDOMWindowInner *,nsScreen *). CLOSED TREE
Backed out changeset 68a001a42406 (bug 1524687)
Backed out changeset 328de611bcd3 (bug 1524688)
Backed out changeset 68cffca6927a (bug 1524687)
Backed out changeset 81dc12cc9257 (bug 1524688)
Backed out changeset c7c49f64048f (bug 1524688)
Backed out changeset fb23a0271da0 (bug 1524688)
Backed out changeset 0c1d1248e59e (bug 1524688)
Backed out changeset 9e9ec7de4160 (bug 1524688)
Backed out changeset de0b9993bd5d (bug 1524688)
Backed out changeset 92877cf4fe33 (bug 1524688)
Backed out changeset b4938f2ff8fd (bug 1524688)
Backed out changeset 230d2feaf941 (bug 1524688)
Backed out changeset 6c63bc240972 (bug 1524688)
Backed out changeset 0ad5465eace1 (bug 1524688)
Backed out changeset 1e75ce91029b (bug 1524688)
Backed out changeset 34a978503b1d (bug 1524688)
Backed out changeset 183602e8a30b (bug 1524688)
Backed out changeset 12a9135dc005 (bug 1524688)
Backed out changeset 978ef5dac9db (bug 1524688)
Backed out changeset 28105bf7bf6a (bug 1524688)
Backed out changeset a9fb74beaf2b (bug 1524688)
Backed out changeset fe106b369a72 (bug 1524688)
Backed out changeset e657e77d4271 (bug 1524688)
Backed out changeset 09f626870ad0 (bug 1524688)
Backed out changeset fe9b6695212e (bug 1524688)
Backed out changeset 995ea188bc31 (bug 1524688)
Backed out changeset 01c4d3edb1b0 (bug 1524688)
Backed out changeset 1bb7dfbb9f48 (bug 1524688)
Backed out changeset 56c61e0a1f45 (bug 1524688)
Backed out changeset c819943ff466 (bug 1524688)
Backed out changeset a1dd5cec066e (bug 1524688)
Backed out changeset 517838ee0c3c (bug 1524688)
Backed out changeset f509a5759fdf (bug 1524688)
Backed out changeset 56f5c8f0d708 (bug 1524688)
Backed out changeset 5746311ef859 (bug 1524688)
Backed out changeset df02f7d25212 (bug 1524688)
Backed out changeset c9846136d105 (bug 1524688)
Backed out changeset 2bd48db9cd0f (bug 1524688)
Backed out changeset ff120b4eeb79 (bug 1524688)
Backed out changeset fe583e7aae8d (bug 1524688)
Backed out changeset 18f156d6355a (bug 1524688)
Backed out changeset f4eaebbe2e0f (bug 1524688)
Backed out changeset bf6b18e23f69 (bug 1524688)
Backed out changeset dd89eb7e9b0d (bug 1524688)
Backed out changeset 4cbbb367ba0b (bug 1524688)
Backed out changeset 4ed0cf6be580 (bug 1524688)
Backed out changeset d8efb5ed62b1 (bug 1524688)
Backed out changeset ea347d57d73a (bug 1524688)
Backed out changeset 911689ef9f33 (bug 1524688)
Backed out changeset 28670fdc418d (bug 1524688)
Backed out changeset 38e1e42a0fb0 (bug 1524688)
Backed out changeset 35a5f031dd1e (bug 1524688)
Backed out changeset b586d55d76d5 (bug 1524688)
Backed out changeset 6dcacead1746 (bug 1524688)
Backed out changeset 9895239d8ac6 (bug 1524688)
Backed out changeset 25f982fd53bd (bug 1524688)
Backed out changeset 4fb0f0a59fe2 (bug 1524688)
Backed out changeset fdc6c4ed241a (bug 1524688)
Backed out changeset 5ce5986068f0 (bug 1524688)
Backed out changeset ab64ed7388ae (bug 1524688)
Backed out changeset 56607c5a301a (bug 1524688)
Backed out changeset 6b3684e7d8f9 (bug 1524688)
Backed out changeset ee28258a5724 (bug 1524688)
Backed out changeset 9201a7ea3c54 (bug 1524688)
Backed out changeset d5dca413e2da (bug 1524688)
Backed out changeset 68eb174a337b (bug 1524688)
Backed out changeset 625f71135038 (bug 1524687)
Backed out changeset 46e13c453538 (bug 1524687)
Backed out changeset 614be688767f (bug 1524687)
Backed out changeset 9c24919ac5c2 (bug 1524687)
Backed out changeset b9862758b98c (bug 1524687)
Backed out changeset 92d9e927deec (bug 1524687)
Backed out changeset f4ee175bc5bd (bug 1524687)
Backed out changeset 191afe83da2e (bug 1524687)
Backed out changeset c58caf41bb94 (bug 1524687)
Backed out changeset df95a56dae04 (bug 1524687)
Backed out changeset 10c69df4444d (bug 1524687)
Backed out changeset 219b84a58f50 (bug 1524687)
Backed out changeset e96e61bd282f (bug 1524687)

--HG--
rename : browser/components/migration/360seProfileMigrator.jsm => browser/components/migration/360seProfileMigrator.js
rename : browser/components/migration/ChromeProfileMigrator.jsm => browser/components/migration/ChromeProfileMigrator.js
rename : browser/components/migration/EdgeProfileMigrator.jsm => browser/components/migration/EdgeProfileMigrator.js
rename : browser/components/migration/FirefoxProfileMigrator.jsm => browser/components/migration/FirefoxProfileMigrator.js
rename : browser/components/migration/IEProfileMigrator.jsm => browser/components/migration/IEProfileMigrator.js
rename : browser/components/migration/ProfileMigrator.jsm => browser/components/migration/ProfileMigrator.js
rename : browser/components/migration/SafariProfileMigrator.jsm => browser/components/migration/SafariProfileMigrator.js
rename : browser/components/newtab/AboutNewTabService.jsm => browser/components/newtab/aboutNewTabService.js
rename : browser/components/BrowserContentHandler.jsm => browser/components/nsBrowserContentHandler.js
rename : browser/components/BrowserGlue.jsm => browser/components/nsBrowserGlue.js
rename : browser/components/payments/PaymentUIService.jsm => browser/components/payments/paymentUIService.js
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm => browser/components/protocolhandler/WebProtocolHandlerRegistrar.js
rename : devtools/startup/AboutDebuggingNewRegistration.jsm => devtools/startup/aboutdebugging-new-registration.js
rename : devtools/startup/AboutDebuggingRegistration.jsm => devtools/startup/aboutdebugging-registration.js
rename : devtools/startup/aboutdevtools/AboutDevToolsRegistration.jsm => devtools/startup/aboutdevtools/aboutdevtools-registration.js
rename : devtools/startup/AboutDevToolsToolboxRegistration.jsm => devtools/startup/aboutdevtoolstoolbox-registration.js
rename : devtools/startup/DevToolsStartup.jsm => devtools/startup/devtools-startup.js
rename : dom/base/ProcessSelector.jsm => dom/base/ProcessSelector.js
rename : dom/base/SlowScriptDebug.jsm => dom/base/SlowScriptDebug.js
rename : dom/base/ContentAreaDropListener.jsm => dom/base/contentAreaDropListener.js
rename : dom/browser-element/BrowserElementParent.jsm => dom/browser-element/BrowserElementParent.js
rename : dom/console/ConsoleAPIStorage.jsm => dom/console/ConsoleAPIStorage.js
rename : dom/html/HTMLMenuBuilder.jsm => dom/html/htmlMenuBuilder.js
rename : dom/media/PeerConnection.jsm => dom/media/PeerConnection.js
rename : dom/notification/NotificationStorage.jsm => dom/notification/NotificationStorage.js
rename : dom/presentation/PresentationDataChannelSessionTransport.jsm => dom/presentation/PresentationDataChannelSessionTransport.js
rename : dom/presentation/PresentationNetworkHelper.jsm => dom/presentation/PresentationNetworkHelper.js
rename : dom/presentation/provider/AndroidCastDeviceProvider.jsm => dom/presentation/provider/AndroidCastDeviceProvider.js
rename : dom/presentation/provider/PresentationControlService.jsm => dom/presentation/provider/PresentationControlService.js
rename : dom/push/Push.jsm => dom/push/Push.js
rename : dom/push/PushComponents.jsm => dom/push/PushComponents.js
rename : dom/system/NetworkGeolocationProvider.jsm => dom/system/NetworkGeolocationProvider.js
rename : layout/tools/recording/RecordingCmdLine.jsm => layout/tools/recording/recording-cmdline.js
rename : netwerk/dns/mdns/libmdns/DNSServiceDiscovery.jsm => netwerk/dns/mdns/libmdns/nsDNSServiceDiscovery.js
rename : netwerk/protocol/http/UAOverridesBootstrapper.jsm => netwerk/protocol/http/UAOverridesBootstrapper.js
rename : netwerk/protocol/http/WellKnownOpportunisticUtils.jsm => netwerk/protocol/http/WellKnownOpportunisticUtils.js
rename : services/fxaccounts/FxAccountsPush.jsm => services/fxaccounts/FxAccountsPush.js
rename : services/settings/RemoteSettingsComponents.jsm => services/settings/RemoteSettingsComponents.js
rename : services/sync/Weave.jsm => services/sync/Weave.js
rename : toolkit/components/asyncshutdown/nsAsyncShutdown.jsm => toolkit/components/asyncshutdown/nsAsyncShutdown.js
rename : toolkit/components/backgroundhangmonitor/BHRTelemetryService.jsm => toolkit/components/backgroundhangmonitor/BHRTelemetryService.js
rename : toolkit/components/captivedetect/CaptiveDetect.jsm => toolkit/components/captivedetect/captivedetect.js
rename : toolkit/components/cleardata/ClearDataService.jsm => toolkit/components/cleardata/ClearDataService.js
rename : toolkit/components/contentprefs/ContentPrefService2.jsm => toolkit/components/contentprefs/ContentPrefService2.js
rename : toolkit/components/crashes/CrashService.jsm => toolkit/components/crashes/CrashService.js
rename : toolkit/components/crashmonitor/nsCrashMonitor.jsm => toolkit/components/crashmonitor/nsCrashMonitor.js
rename : toolkit/components/downloads/DownloadLegacy.jsm => toolkit/components/downloads/DownloadLegacy.js
rename : toolkit/components/gfx/SanityTest.jsm => toolkit/components/gfx/SanityTest.js
rename : toolkit/components/mozintl/mozIntl.jsm => toolkit/components/mozintl/mozIntl.js
rename : toolkit/components/mozprotocol/MozProtocolHandler.jsm => toolkit/components/mozprotocol/mozProtocolHandler.js
rename : toolkit/components/normandy/ShieldContentProcess.jsm => toolkit/components/normandy/shield-content-process.js
rename : toolkit/components/DefaultCLH.jsm => toolkit/components/nsDefaultCLH.js
rename : toolkit/components/passwordmgr/LoginInfo.jsm => toolkit/components/passwordmgr/nsLoginInfo.js
rename : toolkit/components/passwordmgr/LoginManager.jsm => toolkit/components/passwordmgr/nsLoginManager.js
rename : toolkit/components/passwordmgr/LoginManagerPrompter.jsm => toolkit/components/passwordmgr/nsLoginManagerPrompter.js
rename : toolkit/components/places/ColorAnalyzer.jsm => toolkit/components/places/ColorAnalyzer.js
rename : toolkit/components/places/PageIconProtocolHandler.jsm => toolkit/components/places/PageIconProtocolHandler.js
rename : toolkit/components/places/PlacesCategoriesStarter.jsm => toolkit/components/places/PlacesCategoriesStarter.js
rename : toolkit/components/places/UnifiedComplete.jsm => toolkit/components/places/UnifiedComplete.js
rename : toolkit/components/places/PlacesExpiration.jsm => toolkit/components/places/nsPlacesExpiration.js
rename : toolkit/components/places/TaggingService.jsm => toolkit/components/places/nsTaggingService.js
rename : toolkit/components/processsingleton/ContentProcessSingleton.jsm => toolkit/components/processsingleton/ContentProcessSingleton.js
rename : toolkit/components/processsingleton/MainProcessSingleton.jsm => toolkit/components/processsingleton/MainProcessSingleton.js
rename : toolkit/components/prompts/src/Prompter.jsm => toolkit/components/prompts/src/nsPrompter.js
rename : toolkit/components/remotebrowserutils/RemoteWebNavigation.jsm => toolkit/components/remotebrowserutils/RemoteWebNavigation.js
rename : toolkit/components/satchel/FormHistoryStartup.jsm => toolkit/components/satchel/FormHistoryStartup.js
rename : toolkit/components/satchel/FormAutoComplete.jsm => toolkit/components/satchel/nsFormAutoComplete.js
rename : toolkit/components/satchel/InputListAutoComplete.jsm => toolkit/components/satchel/nsInputListAutoComplete.js
rename : toolkit/components/search/SearchService.jsm => toolkit/components/search/nsSearchService.js
rename : toolkit/components/search/SearchSuggestions.jsm => toolkit/components/search/nsSearchSuggestions.js
rename : toolkit/components/search/Sidebar.jsm => toolkit/components/search/nsSidebar.js
rename : toolkit/components/telemetry/TelemetryStartup.jsm => toolkit/components/telemetry/TelemetryStartup.js
rename : toolkit/components/terminator/TerminatorTelemetry.jsm => toolkit/components/terminator/nsTerminatorTelemetry.js
rename : toolkit/components/thumbnails/PageThumbsStorageService.jsm => toolkit/components/thumbnails/PageThumbsStorageService.js
rename : toolkit/components/timermanager/UpdateTimerManager.jsm => toolkit/components/timermanager/nsUpdateTimerManager.js
rename : toolkit/components/tooltiptext/TooltipTextProvider.jsm => toolkit/components/tooltiptext/TooltipTextProvider.js
rename : toolkit/components/url-classifier/UrlClassifierHashCompleter.jsm => toolkit/components/url-classifier/nsUrlClassifierHashCompleter.js
rename : toolkit/components/url-classifier/UrlClassifierLib.jsm => toolkit/components/url-classifier/nsUrlClassifierLib.js
rename : toolkit/components/url-classifier/UrlClassifierListManager.jsm => toolkit/components/url-classifier/nsUrlClassifierListManager.js
rename : toolkit/components/urlformatter/URLFormatter.jsm => toolkit/components/urlformatter/nsURLFormatter.js
rename : toolkit/components/utils/SimpleServices.jsm => toolkit/components/utils/simpleServices.js
rename : toolkit/components/xulstore/XULStore.jsm => toolkit/components/xulstore/XULStore.js
rename : toolkit/mozapps/downloads/HelperAppDlg.jsm => toolkit/mozapps/downloads/nsHelperAppDlg.js
rename : toolkit/mozapps/extensions/amContentHandler.jsm => toolkit/mozapps/extensions/amContentHandler.js
rename : toolkit/mozapps/extensions/amInstallTrigger.jsm => toolkit/mozapps/extensions/amInstallTrigger.js
rename : toolkit/mozapps/extensions/amWebAPI.jsm => toolkit/mozapps/extensions/amWebAPI.js
rename : toolkit/mozapps/handling/ContentDispatchChooser.jsm => toolkit/mozapps/handling/nsContentDispatchChooser.js
rename : toolkit/mozapps/update/UpdateService.jsm => toolkit/mozapps/update/nsUpdateService.js
rename : toolkit/mozapps/update/UpdateServiceStub.jsm => toolkit/mozapps/update/nsUpdateServiceStub.js
rename : uriloader/exthandler/WebHandlerApp.jsm => uriloader/exthandler/nsWebHandlerApp.js
2019-02-14 11:50:23 +02:00
Kris Maglione
075d41c086 Bug 1524688: Part 2 - Convert BrowserGlue and friends to static registration. r=mconley
--HG--
rename : browser/components/nsBrowserContentHandler.js => browser/components/BrowserContentHandler.jsm
rename : browser/components/nsBrowserGlue.js => browser/components/BrowserGlue.jsm
rename : browser/components/protocolhandler/WebProtocolHandlerRegistrar.js => browser/components/protocolhandler/WebProtocolHandlerRegistrar.jsm
extra : rebase_source : ce505f146ec12ec4c191039ae7004a723dc1c376
2019-01-29 17:44:35 -08:00
Mike Hommey
33a69b7eea Bug 1524467 - Use -m32/-m64 in more cases. r=froydnj
In upcoming changes, we're going to use the normal compiler flags for
bindgen instead of having a separate logic for essentially the same
flags (and there's not much reason not to use the same flags after all).

One hiccup, though is that for some reason, --target=i686-linux-gnu
doesn't work with bindgen while it works with clang in the same setup.
But -m32 does.

Considering -m32 and -m64 are standard flags and that we're using them
in many cases, it doesn't hurt to use them instead of --target with
clang.

While we're doing that, we might as well refactor a little to avoid the
multiple branches handling the use of -m32/-m64, and fix the theoretical
compile-x86_64-with-x86-clang-cl case, as well as the weird check for
aarch64.

And because only two cases actually require -Xclang, only one of which
requires a condition, and the control flow is not too complex to avoid
flag duplication, we just remove the append_flag function; it was too
confusing, with all the cases we skipped it when -Xclang was not wanted.

Differential Revision: https://phabricator.services.mozilla.com/D18316

--HG--
extra : moz-landing-system : lando
2019-02-04 17:22:58 +00:00
Tooru Fujisawa
b4ec772dc0 Bug 1525688 - Lazily import mozbuild.base in mozboot/util.py. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D18986

--HG--
extra : moz-landing-system : lando
2019-02-07 16:10:12 +00:00
Nabil Lamrabet
68cbcb9990 Bug 1518175 - Update bootstrap.py for ElementaryOS. r=froydnj
Differential Revision: https://phabricator.services.mozilla.com/D18701

--HG--
extra : moz-landing-system : lando
2019-02-06 17:18:04 +00:00
Oana Pop Rus
e00ea598e5 Merge inbound to mozilla-central. a=merge 2019-02-06 11:53:48 +02:00
Cosmin Sabou
dade738a6a Merge mozilla-central to autoland. a=merge CLOSED TREE 2019-02-06 01:07:08 +02:00
Cosmin Sabou
8bd3dcb455 Merge mozilla-inbound to mozilla-central. a=merge 2019-02-05 23:58:20 +02:00
Razvan Maries
f86459d5dc Merge mozilla-central to autoland. a=merge on a CLOSED TREE 2019-02-05 18:59:13 +02:00
Paolo Amadini
289bde6908 Bug 1523907 - Fix building the new "about:config" page on release channels. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D18082

--HG--
extra : rebase_source : 7094aa1a5dbfc33d7b77a387f12eb14cff66d9e9
2019-02-02 17:49:41 +00:00
Daniel Varga
69ace4b45f Backed out 3 changesets (bug 1525069) for linting failure at /builds/worker/checkouts/gecko/python/mozboot/mozboot/mozillabuild.p on a CLOSED TREE
Backed out changeset 1a41624ff365 (bug 1525069)
Backed out changeset ef7b4d60481f (bug 1525069)
Backed out changeset 898be859c1a4 (bug 1525069)
2019-02-04 23:50:08 +02:00
Nathan Froyd
94eb92d082 Bug 1525069 - part 3 - install 32-bit node on aarch64 devices; r=nalexander
One less paper cut for frontend developers.
2019-02-04 16:32:17 -05:00
Nathan Froyd
006caee023 Bug 1525069 - part 2 - add a 32-bit node variable for bootstrapping; r=nalexander
We don't use this yet, but it's easy enough to get out of the way.
2019-02-04 16:32:17 -05:00
Nathan Froyd
553faffae5 Bug 1525041 - avoid downloading rust packages when bootstrapping for artifact builds; r=Gijs
We do similar things for bindgen/clang.
2019-02-04 12:47:33 -05:00
Justin Wood
bf9836a1bb Bug 1524444 - Respect -n for linting in py3/py2 and better support it in other linters. r=ahal
Differential Revision: https://phabricator.services.mozilla.com/D6847

--HG--
extra : moz-landing-system : lando
2019-02-01 20:39:05 +00:00
Brian
8bc1981dda Convert resetProfile.dtd to Fluent (Bug 1517307) r=jaws,flod
Convert resetProfile.dtd to resetProfile.ftl. Modify dependencies for resetProfile.xul, safeMode.xul, aboutSupport.xhtml.

Differential Revision: https://phabricator.services.mozilla.com/D17416

--HG--
extra : moz-landing-system : lando
2019-02-03 21:33:23 +00:00
Coroiu Cristina
667401357b Merge mozilla-central to autoland a=merge on a CLOSED TREE 2019-02-04 23:47:17 +02:00
Andrew Halberstadt
83e75a8676 Bug 1483228 - [mozboot] Add ability to get a srcdir specific state dir r=nalexander
Sometimes we want to store state that only applies to a particular srcdir, but
there isn't a standard directory where this lives. Let's add an argument to
'get_state_dir()' to provide an "official" place.

The new API to get the local state dir is 'get_state_dir(srcdir=True)'. Like
the global state dir, this directory is not guaranteed to exist. A reference to
this value can also be obtained via 'self._mach_context.local_state_dir' from
within a mach command (in this case it will be created automatically if it
doesn't exist).

Note: we should probably just make sure both exist at mach startup, but it felt
outside the scope of this change.

Differential Revision: https://phabricator.services.mozilla.com/D15724

--HG--
extra : moz-landing-system : lando
2019-02-04 21:07:25 +00:00
Andrew Halberstadt
8bc7850637 Bug 1483228 - [mozboot] Simplify get_state_dir()'s return value r=nalexander
mozboot.util.get_state_dir() returns a tuple of (<path>, <bool). The bool
denotes whether or not the state dir came from an environment variable.

But this value is only used in a single place, and is very easy to test for
anyway. It's not worth the added complexity it imposes on all other consumers
of this function. Let's just make this function return the path.

Differential Revision: https://phabricator.services.mozilla.com/D15723

--HG--
extra : moz-landing-system : lando
2019-02-04 20:52:31 +00:00
Mike Hommey
6c620a55e7 Bug 1523341 - Allow to only pass the CPU to --target and get the right thing for Fennec builds. r=nalexander
Also use armv7a as the default when no target is given at all.

Also change bootstrap to create a simpler mozconfig. The downside is
that the resulting mozconfig would not work when building older
revisions.

Add unit tests for this as well as the simplications added in bug
1523341.

Differential Revision: https://phabricator.services.mozilla.com/D17906

--HG--
extra : moz-landing-system : lando
2019-01-31 18:08:44 +00:00
arthur.iakab
c152ccec1d Backed out 4 changesets (bug 1508381) for multiple Windows build bustages CLOSED TREE
Backed out changeset f01cec6f712e (bug 1508381)
Backed out changeset ba69e59924de (bug 1508381)
Backed out changeset 97fe4e5a665e (bug 1508381)
Backed out changeset 0c3065c12bef (bug 1508381)
2019-01-31 23:14:11 +02:00
Dustin J. Mitchell
a694ddb320 Bug 1508381 - update buglist_creator to use new version of tc client r=tomprince
Differential Revision: https://phabricator.services.mozilla.com/D18117

--HG--
extra : moz-landing-system : lando
2019-01-31 20:24:04 +00:00
Tom Prince
dee8c2fbb2 Bug 1517177: Fix hash verification of downloaded toolchains; r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D15961

--HG--
extra : moz-landing-system : lando
2019-01-30 17:26:26 +00:00
Gurzau Raul
7555c5cdea Merge inbound to mozilla-central. a=merge 2019-01-30 19:03:12 +02:00
Tom Ritter
55eb3434be Bug 1523003 - Remove the force-ms-compatibility for clang-cl r=glandium 2019-01-27 17:19:57 -06:00
Avery Berninger
c4951880ce Bug 1517519 - Migrated aboutTabCrashed dtd files to ftl files with migration script, r=jaws,flod
Differential Revision: https://phabricator.services.mozilla.com/D16789

--HG--
extra : moz-landing-system : lando
2019-01-30 14:12:39 +00:00