Commit graph

87 commits

Author SHA1 Message Date
wolfbeast
eabcbe5672 [AM] Clean up addon-signing build leftovers. 2020-05-02 08:23:23 +08:00
New Tobin Paradigm
011949484d Issue #1497 - Re-implement an un-preprocessed file check 2020-04-11 09:40:28 +08:00
wolfbeast
744b768ede Issue #1497 Revert "Check if there are any unpreprocessed files"
This reverts PR #429
2020-04-03 09:23:26 +08:00
wolfbeast
be6ba06651 Issue #1497 Revert "MoonchildProductions#1251 - Part 19"
"Make the unpreprocessed file script work on Solaris."

This reverts commit e51afbcc2fe7360bbcf5654f6e31752c48098ca0.
2020-04-03 09:23:23 +08:00
Matt A. Tobin
648b7278f6 Issue #1477 - Fix finding config.guess on builds not using MOZ_OBJDIR
* So far this seems to only affect Macintosh builds but other unix builds may be affected. Windows doesn't seem to be.
* This maintains consistency with other one-off file invocations and backwards compatibility with older comm setups
2020-03-20 08:58:07 +08:00
Matt A. Tobin
ecbe2bbe25 Issue #1470 - Part 3: Remove now unused update.locale
This requires changes to package-manifest in all applications
2020-03-13 10:16:47 +08:00
Matt A. Tobin
2aca38b372 Issue #1359 - Pointlessly rename greprefs.. again. 2020-01-24 09:28:10 +08:00
wolfbeast
48adbfd454 Issue #1322 - Part 2: Remove --enable-sm-promise buildconfig switch. 2019-12-20 09:07:26 +08:00
Matt A. Tobin
36914a3c5c No Issue - Add checking in platform/ for clobber.py because it can only know hardcoded values in comm-style configurations 2019-12-02 15:46:28 +08:00
Matt A. Tobin
2ddb294c26 Issue #1303 - Add langpack generation targets for Pale Moon and Basilisk
* The langpack is not generated via the package target but IS for mozpackage target using old behavior
* Add mach command to specifically generate the langpack when needed without the rest of the packaging routine (mach langpack)
2019-11-29 11:36:36 +08:00
Matt A. Tobin
94b1e61383 No Issue - Use alternative packaging for Pale Moon and Basilisk
* This adds what will eventually be a rewritten packaging routine while maintaining backwards compatibility with the original mozilla routine
* Changes the build target and installer makefile to use the alternative packaging
* Adds build target to specifically invoke the original mozilla routine
* Update mach commands accordingly
2019-11-28 10:32:44 +08:00
Matt A. Tobin
ac1fe973f4 [Mach] Add stage command to execute stage-package 2019-11-15 14:24:10 +08:00
athenian200
362f15fbfc MoonchildProductions#1251 - Part 19: Make the unpreprocessed file script work on Solaris.
https://www.tachytelic.net/2019/01/grep-recursively/

During testing, I tried simply replacing grep with ggrep, which was non-portable but worked fine. Using an environment variable with os.getenv set to 'g' also worked, but the problem with that approach is that you have to set it manually and some times the script will mess up if you don't explictly define it to an empty string for platforms that don't need it.

Setting TOOLCHAIN_PREFIX to 'g' seemed to solve all of my problems except this one, and it appears to be the only non-portable use of GNU grep in the whole tree. To understand what I tried to do here, let me present with you with two commands that yield the same output on my machine:

find . -name '*.xul' | xargs grep -E "#include"

ggrep -E -r "#include" --include="*.xul" .

I just tried to make the Python script follow the logic of those two commands, though I'm not sure how well I succeeded since I got no errors. I visualized everything this way:

ggrep -E -r "<strings>" --include="<filesuffixes>" <path>

find <path> -name '<filesuffixes>' | xargs grep -E "<strings>"

And arranged it all accordingly to the best of my ability, though I should point out that Python is not my strong suit.
2019-11-04 11:53:54 +08:00
athenian200
afb2e3a054 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-11-04 11:52:17 +08:00
athenian200
f7e2b86c94 MoonchildProductions#1251 - Part 2: Make the mozconfig loader POSIX-compliant.
https://bugzilla.mozilla.org/show_bug.cgi?id=1360571

Solaris uses ksh as the default shell, and furthermore bash doesn't seem to support the 'local' keyword feature when invoked as sh on OpenIndiana. We could just change the script to use bash (it is an option even on Solaris), but this fix is available and Mozilla has been using it since Firefox 55 with no issues on any other platforms. It was specfically done this way to avoid any need to change existing mozconfig files, so I feel confident saying the change is totally benign and if anything the way it is now is technically a POSIX compliance issue inherited from Mozilla that we'll hit if we ever try to compile this on any Unix platform where bash isn't sh.
2019-11-04 11:52:14 +08:00
JustOff
2999a8e031 Fix false positives in the preprocessor-checker 2019-02-16 00:22:47 +08:00
wolfbeast
20acf1e808 Flush some more buildlog output to screen when prudent. 2019-02-16 00:13:39 +08:00
trav90
cfdaeb9645 Shell quote environment variable values when dumping them in dump_env.py
The mozconfig output parsing code already (mostly) handles shell quoted strings, because that's what `set` outputs. By quoting environment variable values, we avoid a bunch of problems with "weird" values.
2019-02-16 00:10:53 +08:00
wolfbeast
9879cbdd88 Make sure the waiting message is actually displayed. 2019-02-16 00:02:05 +08:00
JustOff
5dd561425b Don't search for directives that are never used alone 2019-02-16 00:00:22 +08:00
JustOff
c7ed9dfd46 Refine the file extensions even more 2019-02-16 00:00:20 +08:00
JustOff
51d60c1b89 Update the list of directives and file extensions for check 2019-02-16 00:00:19 +08:00
JustOff
f13c934a8f Check if there are any unpreprocessed files 2019-02-16 00:00:17 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
d37246737b Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2019-02-15 23:44:10 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
wolfbeast
29af2b9023 Get rid of link to irrelevant information after build. 2019-02-15 23:39:50 +08:00
wolfbeast
963560a1d2 Remove Rust from the tree.
Part 4 for #58
2019-02-15 23:36:42 +08:00
janekptacijarabaci
54f2e6eafd DevTools - network - implement the secureConnectionStart property for the PerformanceTiming
https://github.com/MoonchildProductions/moebius/pull/116
("/testing" and "/toolkit" in in the previous commit)
2019-02-15 23:34:40 +08:00
NTD
b4c6885d32 Remove MOZ_MULET 2019-02-15 23:34:18 +08:00
wolfbeast
29c96b568b Pick up major+minor milestone version from GRE milestone file. 2019-02-15 23:33:01 +08:00
NTD
943b6627ef Add mach installer and mach mar for Windows Installer and MAR file generation 2019-02-15 23:32:37 +08:00
trav90
1eecf39f2b Require at least GCC 4.9 to build 2019-02-15 23:28:57 +08:00
NTD
28bbfef589 Use MOZ_PHOENIX instead of checking for 'browser' in MOZ_BUILD_APP 2019-02-14 14:35:08 +08:00
NTD
30d5f081aa Use UTC where appropriate in python files 2019-02-14 14:28:19 +08:00
NTD
0066c408f1 Preprocessor warnings should not be fatal errors 2019-02-14 14:28:14 +08:00
Roy Tam
dcd9973243 import FIREFOX_52_6_0esr_RELEASE from mozilla-esr52 hg repo 2018-01-19 03:59:58 +08:00