Commit graph

679 commits

Author SHA1 Message Date
Matt A. Tobin
905663865e Issue #65 - Remove AppConstants from toolkit/mozapps/extensions 2020-02-08 07:14:20 +08:00
Matt A. Tobin
f77d815b53 Issue #65 - Remove AppConstants from toolkit/mozapps/update 2020-02-08 07:12:32 +08:00
Matt A. Tobin
b358ba2a2c Issue #65 - Remove AppConstants from toolkit/profile 2020-02-08 07:12:30 +08:00
Roy Tam
c9f0b81b06 Merge remote-tracking branch 'origin/master' into custom 2020-02-07 08:01:35 +08:00
Matt A. Tobin
b244d44891 Issue #1390 - Remove secondscreen modules from toolkit 2020-02-07 08:00:27 +08:00
Matt A. Tobin
cc403750d3 Issue #65 - Remove AppConstants from toolkit/modules
Except for secondscreen
2020-02-07 07:55:51 +08:00
Matt A. Tobin
cf41a9dd87 Issue #65 - Remove AppConstants from toolkit/content 2020-02-07 07:52:36 +08:00
wolfbeast
fced04faa2 Issue #1342 - Remove support for system libvpx 2020-02-07 07:52:18 +08:00
wolfbeast
7f94258c9a Issue #1342 - Remove support for system linbpng 2020-02-07 07:52:11 +08:00
Roy Tam
65ca6d8036 Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-02-07 07:49:44 +08:00
Roy Tam
2b2df633f6 Revert "[WebRequest] Remove AddonManagerPermissions leftovers" 2020-01-31 08:14:25 +08:00
Roy Tam
c7bc87cff9 Merge remote-tracking branch 'origin/master' into custom 2020-01-31 07:59:13 +08:00
wolfbeast
0070369171 Issue #1342 - Remove support for system NSPR/NSS 2020-01-31 07:44:03 +08:00
wolfbeast
690fb97392 [WebRequest] Remove AddonManagerPermissions leftovers
This was added as part of the WebExtension sec issue CVE-2017-5389.
Since we no longer have this interface, it needed to be removed to
prevent errors in the WebRequest channel callback.
2020-01-31 07:43:09 +08:00
Roy Tam
678ad26488 Merge remote-tracking branch 'origin/master' into custom 2020-01-24 09:39:16 +08:00
wolfbeast
25ae10aaec Issue #1342 - Remove support for system libevent 2020-01-24 09:36:30 +08:00
Matt A. Tobin
2aca38b372 Issue #1359 - Pointlessly rename greprefs.. again. 2020-01-24 09:28:10 +08:00
Roy Tam
969d239b65 Merge remote-tracking branch 'origin/master' into custom 2020-01-17 09:24:31 +08:00
wolfbeast
47e85541f1 Fix comments for NSS PBKDF setup (no code change) 2020-01-17 09:17:04 +08:00
Roy Tam
37e153f594 Revert "Issue #1259 - Adjust Widewine strings after removing Adobe Primetime support"
This reverts commit e50e93cd7f.
2019-12-12 07:34:43 +08:00
Roy Tam
39b5cb2fd9 Merge remote-tracking branch 'origin/master' into custom 2019-12-10 10:51:12 +08:00
Matt A. Tobin
70be4df40f No Issue - Execute the precomplete command on *nix AltPackaging
Windows does not need this as mar generation is dependent on the NSIS Installer which already contains the call
2019-12-10 10:50:31 +08:00
Roy Tam
1b93e051f2 Merge remote-tracking branch 'origin/master' into custom 2019-12-02 15:47:09 +08:00
Matt A. Tobin
a4b95f5c0a Issue #1306 - Move bundled fonts to toolkit 2019-12-02 15:46:26 +08:00
wolfbeast
6fe976071e No issue - Clean up libxul mozbuild a little
- Remove delayload dlls from which there are no imports
- Remove leftover MOZ_RUST config bit.
2019-12-02 15:45:59 +08:00
Roy Tam
d8c66d5b56 fix master branch build 2019-11-30 21:02:50 +08:00
Roy Tam
33f029715a Merge remote-tracking branch 'origin/master' into custom 2019-11-29 11:37:55 +08:00
Matt A. Tobin
1e7859111e Allow Solaris to use alt packaging for Pale Moon and Basilisk 2019-11-29 11:36:41 +08:00
Roy Tam
09a915bd50 Merge remote-tracking branch 'origin/master' into custom 2019-11-28 10:34:50 +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
JustOff
c12890f12c Issue #1300 - Clear the message manager script cache when updating and removing add-ons 2019-11-28 10:32:39 +08:00
Roy Tam
01a4bc1e3b Merge remote-tracking branch 'origin/master' into custom 2019-11-22 10:59:44 +08:00
Moonchild
fecf417219 Remove duplicate localization note
The note -used- to be where I inserted it but was apparently moved further down by Mozilla, outside of my FoV.
2019-11-22 10:53:13 +08:00
wolfbeast
8ee4a445b0 Issue #1242 - Reinstate GPU Accelerated Windows entry in about:support
This resolves #1242.
2019-11-22 10:52:07 +08:00
JustOff
e50e93cd7f Issue #1259 - Adjust Widewine strings after removing Adobe Primetime support 2019-11-22 10:48:13 +08:00
Mathwi
d9fb4e872d Hidden preference to toggle addon version in addon manager (#10) (#9)
1. Restore add-on version numbers
2. Hidden preference to toggle add-on version in add-on manager

Puts Show add-on version in add-on manager add-on list behind user preference "extensions.addonVersionInfo", currently on by default
(Change ported from Waterfox)
2019-11-17 07:15:39 +08:00
Roy Tam
701781251b Merge remote-tracking branch 'origin/master' into custom 2019-11-17 00:13:40 +08:00
Matt A. Tobin
18ffebc2a1 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-17 00:09:10 +08:00
Roy Tam
27884ac351 Merge remote-tracking branch 'origin/master' into custom 2019-11-08 20:30:31 +08:00
wolfbeast
92b01bf08a Issue #1263 - Part 1: Remove DiskSpaceWatcher 2019-11-08 20:23:33 +08:00
Roy Tam
09a00ad3bd Merge remote-tracking branch 'origin/master' into custom 2019-11-04 11:56:53 +08:00
Gaming4JC
84c1e8ce10 Issue #1265 - Expose sndio as a build option for any supporting system 2019-11-04 11:54:32 +08:00
athenian200
1e75eb89f3 Fix nits.
I hope this addresses everything.
2019-11-04 11:54:09 +08:00
athenian200
45bf760ac5 MoonchildProductions#1251 - Part 27: Fix ifdef style.
This should do it for all the commits to files I changed, but while I'm in here I could probably go ahead and turn ALL the singular if defined statements into ifdef statements by using grep/find on the tree. On the other hand, perhaps we should do that as a separate issue so that this doesn't become a case of scope creep.
2019-11-04 11:54:07 +08:00
athenian200
cbf60a2058 Fix a bunch of dumb typos and omissions. 2019-11-04 11:53:57 +08:00
athenian200
84f95c4d6d MoonchildProductions#1251 - Part 18: (Hopefully) final version of build system fixes.
I hope I can just apply these nice, clean changes and have everything work without having to make a mess again.
2019-11-04 11:53:50 +08:00
athenian200
5b946dc15f MoonchildProductions#1251 - Part 17: All the libffi and libxul.so issues, resolved.
https://bugzilla.mozilla.org/show_bug.cgi?id=1185424
http://www.mindfruit.co.uk/2012/06/relocations-relocations.html

The libxul.so fix was implemented by Mozilla in Firefox 57 and personally recommended to me by an Oracle employee on the OpenIndiana mailing list. It can easily be made ifdef XP_SOLARIS, but it seems like the new way is considered a better solution overall by the original author of the code that had it use that null pointer hack to begin with.

I can't link where I found the fix for libffi because I came up with it myself while looking at the way sysv.S does things. Something clicked in my brain while reading that mindfruit link above, though, and gave me enough of a sense of what was going on to be able to fix libffi.

The libffi fix looks a bit hairy because of all the FDE_ENCODE statements, but if you examine the code closely, you should find that it does exactly what it did before on all platforms besides Solaris. I later discovered that people who originally ported Firefox to Solaris never figured this out during the Firefox 52 era and had to use GNU LD for linking libxul.so while using the Sun LD for the rest of the build to make it work. For whatever reason, it works for me now without the GNU LD trick.
2019-11-04 11:52:58 +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
6de8a0f12d MoonchildProductions#1251 - Part 1: Restore initial Solaris support, fixed up.
Compared with what Pale Moon had for Solaris originally, this is mostly the same zero point I started patching from, but I've made the following changes here after reviewing all this initial code I never looked at closely before.

1. In package-manifest.in for both Basilisk and Pale Moon, I've made the SPARC code for libfreebl not interefere with the x86 code, use the proper build flags, and also updated it to allow a SPARC64 build which is more likely to be used than the 32-bit SPARC code we had there.

2. See Mozilla bug #832272 and the old rules.mk patch from around Firefox 30 in oracle/solaris-userland. I believe they screwed up NSINSTALL on Solaris when they were trying to streamline the NSS buildsystem, because they started having unexplained issues with it around that time after Firefox 22 that they never properly resolved until Mozilla began building NSS with gyp files. I'm actually not even sure how relevant the thing they broke actually is to Solaris at this point, bug 665509 is so old it predates Firefox itself and goes back to the Mozilla suite days. I believe $(INSTALL) -t was wrong, and they meant $(NSINSTALL) -t because that makes more sense and is closer to what was there originally. It's what they have for WINNT, and it's possible a fix more like that could serve for Solaris as well. Alternatively, we could get rid of all these half-broken Makefiles and start building NSS with gyp files like Mozilla did.

3. I've completely cut out support for the Sun compiler and taken into account the reality that everyone builds Firefox (and therefore its forks) with GCC now on Solaris. This alone helped clean up a lot of the uglier parts of the code.

4. I've updated all remaining SOLARIS build flags to the newer XP_SOLARIS, because the SOLARIS flag is no longer set when building Solaris.

5. I've confirmed the workaround in gtxFontconfigFonts.cpp is no longer necessary. The Solaris people got impatient about implementing a half-baked patch for a fontconfig feature that wasn't ready yet back in 2009, and somehow convinced Mozilla to patch their software to work around it when really they should have just fixed or removed their broken fontconfig patch. The feature they wanted has since been implemented properly, and no version of Solaris still uses the broken patch that required this fix. If anyone had ever properly audited this code, it would have been removed a long time ago.
2019-11-04 11:52:13 +08:00
Roy Tam
f55c7f6d89 Merge remote-tracking branch 'origin/master' into custom 2019-10-25 12:02:58 +08:00