Commit Graph

106 Commits

Author SHA1 Message Date
Valentin Gosu
7c670aecf4 Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 13:08:12 +00:00
Brindusan Cristian
2a324428d6 Backed out changeset 8fea79dcd428 (bug 1708125) for causing xpcshell failures in test_DownloadCore.js.
CLOSED TREE
2021-05-31 15:28:19 +03:00
Valentin Gosu
02335617c8 Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-31 07:33:29 +00:00
Dorel Luca
0a5ef97272 Backed out changeset 73abb8b1b4b5 (bug 1708125) for xpcshell failures in browser/components/urlbar/tests/unit/test_avoid_stripping_to_empty_tokens.js. CLOSED TREE 2021-05-07 12:15:35 +03:00
Valentin Gosu
bf24e6a36f Bug 1708125 - Remove some remaining FTP references from the tree r=necko-reviewers,dragana,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D114067
2021-05-07 08:20:14 +00:00
Markus Stange
658fa4ea13 Bug 1697331 - Set NSRequiresAquaSystemAppearance to false for the parent process and the updater. r=mac-reviewers,bradwerth
We have four instances of NSRequiresAquaSystemAppearance <true/> in the tree; this fixes two out of four:

 - The parent process is now protected by the widget.macos.require-system-appearance pref.
 - The updater never shows any UI, and if it does, it's probably using native controls which correctly adapt to Dark Mode.
 - We cannot yet flip the switch for content processes (ipc/app/macbuild/Contents/Info.plist.in) as long as we still allow using the native theme in content processes, due to bug 1688113.
 - And the crash reporter is tracked in bug 1697991.

Depends on D107749

Differential Revision: https://phabricator.services.mozilla.com/D108150
2021-03-12 18:36:00 +00:00
Mike Hommey
0ac1c4d07f Bug 1694380 - Add http3server to MacOS files. r=firefox-build-system-reviewers,andi,mhentges
Differential Revision: https://phabricator.services.mozilla.com/D106877
2021-03-08 23:44:26 +00:00
Steven Michaud
152232b602 Bug 1690604 - Get accurate system version info on all macOS builds. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D106148
2021-02-23 20:16:36 +00:00
Mike Hommey
53fee2f4c4 Bug 1675437 - Use preprocessor to create Info.plist files. r=firefox-build-system-reviewers,mhentges
While we're in the vicinity, change the manual preprocessing of
Info.plist.in to uses of the preprocessor.

Differential Revision: https://phabricator.services.mozilla.com/D96014
2020-11-05 15:03:47 +00:00
Mike Hommey
ead183252e Bug 1675437 - Avoid using iconv to create InfoPlist.strings. r=firefox-build-system-reviewers,mhentges
Since python creates little-endian utf-16 consistently whether
cross-compiling from Linux or compiling natively on macOS, we could
write a small script that essentially replaces iconv. On the other hand,
we're also doing some manual preprocessing on the InfoPlist.strings.in
files, and we might as well use the preprocessor for that.

So, we augment the preprocessor to allow an explicit output encoding
other than utf-8, and use the preprocessor instead of `sed | iconv`.

Differential Revision: https://phabricator.services.mozilla.com/D96013
2020-11-05 15:07:30 +00:00
Ricky Stewart
02a7b4ebdf Bug 1654103: Standardize on Black for Python code in mozilla-central.
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-26 18:34:53 +00:00
Bogdan Tara
da1098d4aa Backed out 10 changesets (bug 1654103, bug 1672023, bug 1518999) for PanZoomControllerTest.touchEventForResult gv-junit failures CLOSED TREE
Backed out changeset ff3fb0b4a512 (bug 1672023)
Backed out changeset e7834b600201 (bug 1654103)
Backed out changeset 807893ca8069 (bug 1518999)
Backed out changeset 13e6b92440e9 (bug 1518999)
Backed out changeset 8b2ac5a6c98a (bug 1518999)
Backed out changeset 575748295752 (bug 1518999)
Backed out changeset 65f07ce7b39b (bug 1518999)
Backed out changeset 4bb80556158d (bug 1518999)
Backed out changeset 8ac8461d7bd7 (bug 1518999)
Backed out changeset e8ba13ee17f5 (bug 1518999)
2020-10-24 03:36:18 +03:00
Ricky Stewart
c0cea3b0fa Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Make some ad-hoc manual updates to `testing/marionette/client/setup.py`, `testing/marionette/harness/setup.py`, and `testing/firefox-ui/harness/setup.py`, which have hard-coded regexes that break after the reformat.

5. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-23 20:40:42 +00:00
Dorel Luca
1ff59cb7a3 Backed out changeset 7558c8821a07 (bug 1654103) for multiple failures. CLOSED TREE 2020-10-22 03:51:06 +03:00
Ricky Stewart
50762dacab Bug 1654103: Standardize on Black for Python code in mozilla-central. r=remote-protocol-reviewers,marionette-reviewers,webdriver-reviewers,perftest-reviewers,devtools-backward-compat-reviewers,jgilbert,preferences-reviewers,sylvestre,maja_zf,webcompat-reviewers,denschub,ntim,whimboo,sparky
Allow-list all Python code in tree for use with the black linter, and re-format all code in-tree accordingly.

To produce this patch I did all of the following:

1. Make changes to tools/lint/black.yml to remove include: stanza and update list of source extensions.

2. Run ./mach lint --linter black --fix

3. Make some ad-hoc manual updates to python/mozbuild/mozbuild/test/configure/test_configure.py -- it has some hard-coded line numbers that the reformat breaks.

4. Add a set of exclusions to black.yml. These will be deleted in a follow-up bug (1672023).

# ignore-this-changeset

Differential Revision: https://phabricator.services.mozilla.com/D94045
2020-10-21 21:27:27 +00:00
Ricky Stewart
536be37164 Bug 1656273 - Allow mac packaging to use a non-Firefox MOZ_APP_NAME r=mhentges,nalexander
This happened because the `browser/app/macbuild/Contents/MacOS-files.in` file had the string `firefox-bin` hardcoded, which introduces packaging failures down the line. The naive solution didn't work however because we don't preprocess this file. (This is apparently an error. We SHOULD have been doing this from day one, since this file contains preprocessor directives that are ignored by `rsync` since `#` is its "comment" character.) So preprocess the file and update the `Makefile` accordingly.

Differential Revision: https://phabricator.services.mozilla.com/D86563
2020-08-10 20:29:22 +00:00
Stephen A Pohl
de3ad3747b Bug 1634765: Drop support for (and prevent from running on) macOS versions below 10.12. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D73516
2020-06-11 19:28:25 +00:00
Ryan VanderMeulen
96581380fe Backed out changeset 454c8a5739ac (bug 1634765) so an intent to deprecate email can be sent out first.
CLOSED TREE
2020-06-11 15:24:33 -04:00
Stephen A Pohl
35ee005dee Bug 1634765: Drop support for (and prevent from running on) macOS versions below 10.12. r=haik
Differential Revision: https://phabricator.services.mozilla.com/D73516
2020-06-11 15:41:46 +00:00
Dan Minor
fdcf957cca Bug 1634675 - Remove webrtc-gtests r=drno,froydnj
Differential Revision: https://phabricator.services.mozilla.com/D73451
2020-05-20 19:59:45 +00:00
Stephen A Pohl
b453cea3b8 Bug 1623684: Force macOS aqua appearance on. r=mstange
Differential Revision: https://phabricator.services.mozilla.com/D67525

--HG--
extra : moz-landing-system : lando
2020-03-20 12:59:19 +00:00
Gabriele Svelto
6ff1e8b815 Bug 1516367 - Move the minidump-analyzer out of the crash reporter application bundle r=spohl,dmajor
The minidump-analyzer tool was originally conceived to be used from the crash
report client and as such was installed in the crash reporter client
application bundle on macOS. It was later adapted to work from Firefox itself
but this caused linking problems when invoked from the Firefox app bundle.
This patch moves the minidump-analyzer into the Firefox app bundle and adapts
the relevant code to find it there.

The minidump-analyzer was also not signed like the rest of our executables and
this patch addresses that issue too.

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

--HG--
extra : moz-landing-system : lando
2019-11-14 21:11:59 +00:00
Haik Aftandilian
c5b3602ae4 Bug 1562684 - PR_GetLibraryFilePathname is returning absolute paths in MacOS Catalina r=froydnj
Instead of using symlinks, copy .dylib files to the ${OBJDIR}/dist/Nightly{Debug}.app/Contents/MacOS dir for local builds.

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

--HG--
extra : moz-landing-system : lando
2019-08-21 12:32:09 +00:00
Panos Astithas
6edc5a8fce Bug 1085391 - Support Yosemite Handoff 'web browsing' activity type. r=spohl
Differential Revision: https://phabricator.services.mozilla.com/D8665

--HG--
extra : moz-landing-system : lando
2018-10-20 04:47:38 +00:00
Haik Aftandilian
a7b469c9b9 Bug 1470833 - Add NSCameraUsageDescription and NSMicrophoneUsageDescription Info.plist Keys for 10.14 r=mstange
Add Info.plist string entries for the Firefox executable to customize Mojave camera and microphone permission dialogs.

UI text discussed and approved by Bram on bug 1479051 (https://bugzilla.mozilla.org/show_bug.cgi?id=1479051#c36)
on addition to this bug.

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

--HG--
extra : moz-landing-system : lando
2018-09-28 21:05:10 +00:00
Mike Hommey
e483ecaab0 Bug 1424709 - Force disable the OSX system "nano allocator". r=spohl
We're not actually using it, and it messes up with the zone allocator in
mozjemalloc after fork(). See the lengthy analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=1424709#c34 and following.

--HG--
extra : rebase_source : c58e13b897dde7b32d83c43fbb2a04a0db3a5dc9
2018-01-31 17:18:01 +09:00
Stephen A Pohl
aac02bb998 Bug 1405577: Restore the ability to open new windows in new spaces when a window is already in fullscreen mode on macOS. r=mstange 2017-11-29 23:14:11 -05:00
David Burns
c3e04fb1e5 Bug 1374263 - Make sure build places geckodriver binary in correct directory. r=froydnj
The geckodriver binary is not being moved to correct directory which is required
to be able to run web platform tests successfully.

MozReview-Commit-ID: HTxnACX2FLR

--HG--
extra : rebase_source : 816dc27bfad7d9e93ca1074f9ab05ba1c0bb578b
2017-10-09 21:09:09 +01:00
Matthew Noorenberghe
fff5d28c65 Bug 1387650 - Associate json files with the browser on OS X. r=spohl
MozReview-Commit-ID: 2ZdgqKDSvZk

--HG--
extra : rebase_source : 73e9426e4c22e39f89e3ee298cd37ad64fccc113
2017-08-04 22:58:17 -07:00
Haik Aftandilian
099bd2c89b Bug 1380690 - Part 1 - Save repo and object dir paths in Mac bundle Info.plist files. r=gps
On Mac developer builds, add $topsrcdir and $topobjdir paths to the application
bundle Info.plist files for the main process and plugin-container, removing the
dependency on MOZ_DEVELOPER_REPO_DIR and MOZ_DEVELOPER_OBJ_DIR environment variables.

MozReview-Commit-ID: JfFFK9sEayn

--HG--
extra : rebase_source : ab2d8dd625783326b4108eb1e4ebaf49ef8fbedb
2017-07-17 17:13:18 -07:00
Dan Minor
88cc0879a7 Bug 1379982 - fix mach webrtc-gtest command on mac; r=chmanchester
We need to add webrtc-gtest to MacOS-files.in in order for it to be built
in the place that mach expects to find it.

MozReview-Commit-ID: 74kWZeE65R1

--HG--
extra : rebase_source : 06b923f17d65dd491e071a1c1f37ae1c736f66db
2017-07-13 13:41:29 -04:00
Jesse Schwartzentruber
df40990bb3 Bug 1335411 - Fix --enable-address-sanitizer for Mac cross-compilation and adapt Linux ASan configs for Mac. r=froydnj
--HG--
extra : rebase_source : 493400a792fd50266a8d434b842710586c7947c5
2017-02-10 11:10:23 -05:00
Gabriele Svelto
276f7423bb Bug 1310703 - Introduce the pingsender executable; r=ted
MozReview-Commit-ID: 2SEwwGywahQ
2017-01-16 17:39:22 +01:00
Gijs Kruitbosch
2af350c632 Bug 1305339 - part 0: enable quarantine functionality when OSX doesn't do it for us, r=mstange
It's widely documented on the web that Apple enforces quarantine attributes
'for us' using the list in
/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/Exceptions.plist

Unfortunately, this is based on the bundle ID. Which means it won't apply to custom
builds, to Nightly, and potentially to other cases. It would also be much nicer
if we could just make these determinations ourselves. Step 1: opt-in from Info.plist

Without this, for e.g. local Nightly builds, asking for quarantine attributes
simply gets you a nil dictionary and our code bails out.

MozReview-Commit-ID: 4aLyz2901BS

--HG--
extra : rebase_source : 7aab5177276c20007036abd19efb56741d790ec2
2016-10-03 13:49:30 +01:00
Stephen Pohl
ca69495a8f Bug 394984: Add signing certificate info to Info.plist files for Firefox and updater. r=bhearsum
--HG--
rename : toolkit/mozapps/update/updater/macbuild/Contents/Info.plist => toolkit/mozapps/update/updater/macbuild/Contents/Info.plist.in
2016-05-24 22:25:52 -04:00
stefanh@inbox.com
15f3daeef2 Bug 1255588 - Make Mac OS X 10.9.0 the minimum supported OS version. r=spohl. 2016-05-14 14:02:26 +02:00
Nomis101
51b7105186 Bug 1271458 - Simplify Minimum System Version detection. r=mstange 2016-05-09 23:48:53 +02:00
Stephen Pohl
8ad576d66a Bug 1091109: Don't sign webapprt-stub on OSX because webapps fail to launch due to quarantine bit. r=smichaud,myk 2014-11-03 17:13:16 -05:00
Ryan VanderMeulen
b1e25526d8 Backed out changeset 5eebce6c8845 (bug 1091109) for webapp test failures. 2014-11-01 00:15:44 -04:00
Stephen Pohl
5070442475 Bug 1091109: Don't sign webapprt-stub on OSX because webapps fail to launch due to quarantine bit. r=smichaud,myk 2014-10-31 20:39:07 -04:00
Stephen Pohl
50407a9ef7 Bug 1079520: Ensure that GTest can also be run via mach on OSX. r=bsmedberg 2014-10-08 10:48:06 -04:00
Stephen Pohl
579061de7c Mac v2 signing - Bug 1060562 - Update xpcshell-tests for the new v2 bundle structure on OSX. r=jmaher 2014-09-29 11:51:29 -07:00
Stephen Pohl
f88b557bf2 Mac v2 signing - Bug 1060652 - Make mochitest harness work with the new bundle structure for v2 signatures on OSX. r=jmaher 2014-09-29 11:51:25 -07:00
Stephen Pohl
517f06ea2b Mac v2 signing - Bug 1047584 - Modify the .app file structure to allow for OSX v2 signing. r=bsmedberg 2014-09-29 11:50:56 -07:00
Mike Perry
3af52ab983 Bug 967970 - Disable 'Saved Application State' in MacOS via plist property. r=smichaud 2014-02-10 15:26:18 -06:00
Robert Strong
9b09ebdbf0 Bug 925747 - patch file extraction cleanup. r=bbondy 2014-01-22 17:16:39 -08:00
Ben Hearsum
f8d44aeb6f bug 805788: exclude override.ini from mac signatures. r=ted 2012-10-29 10:07:55 -04:00
Kohei Yoshino
c1df27d7e2 Bug 802703 - Add LSApplicationCategoryType to the Info.plist so that Firefox shows up under Productivity when sorting applications by Application Category in Finder. r=smichaud 2012-10-18 15:44:33 +01:00
Josh Aas
053a7abaca Bug 772682: Make Mac OS X 10.6 the minimum required OS version. r=gavin 2012-07-18 09:49:34 -04:00
Ben Hearsum
b3c08927b1 bug 770996: partial mars broken for mac partner builds - partial backout of bug 759318 to fix. a=akeybl 2012-07-11 08:28:38 -04:00