Commit graph

849 commits

Author SHA1 Message Date
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
wolfbeast
a194aefa0d Leverage strings to get working dirs in nsUpdateDriver. 2019-10-25 12:00:21 +08:00
wolfbeast
c87432ab7e Issue #1229 - Remove fallback for $INSTDIR
This resolves #1229
2019-10-25 12:00:05 +08:00
Roy Tam
18869d3807 Merge remote-tracking branch 'origin/master' into custom 2019-08-17 13:34:39 +08:00
wolfbeast
1f68992bee Issue #1124: Remove Firefox Developer Edition code.
Removes all occurrences of MOZ_DEV_EDITION code and some helpers.
2019-08-17 13:32:31 +08:00
wolfbeast
06634f6495 Issue #1134: Reinstate postDataString for about:home searches. 2019-08-17 13:31:01 +08:00
Roy Tam
a85a33f6de Merge remote-tracking branch 'origin/master' into custom 2019-08-02 14:09:49 +08:00
wolfbeast
aa1fc0720e Hide and disable open_all/cut/copy/delete/properties when opening
bookmarks/history context menu with no selection

This resolves #882 (by not offering options that can't be used)
2019-08-02 13:48:47 +08:00
Roy Tam
5fda7c378f Merge remote-tracking branch 'origin/master' into custom 2019-07-22 20:08:59 +08:00
adeshkp
675dada294 Issue #701 - Support spaces in Mac app name 2019-07-22 19:55:55 +08:00
Roy Tam
2afee714fb Merge remote-tracking branch 'origin/master' into custom 2019-07-19 10:08:05 +08:00
wolfbeast
d2baf53a14 Revert "Capture delayed events and cancel as necessary."
Tag #1052 (backout).
Backed out for creating issues like #1191 and other issue-less problems
with e.g. losing the caret from text boxes. Of note: this was also
backed out from m-c for similar reasons in Bug 1332433.
This fixes #1191.
This reverts commit 3424afccaebc71c4acd4fa9eadf519c408c5965b.
2019-07-19 10:04:49 +08:00
FranklinDM
f256af1571 Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up 2019-07-19 10:04:03 +08:00
Roy Tam
d5766e5971 fix typo in rev 7da25d73be 2019-07-15 06:47:06 +08:00
Roy Tam
7da25d73be revert and rewrite "Remove e10s info from about:support (f7f7224de)" to not relying on string bundle (i.e. becoming non-translable) in order to compatible to official language packs 2019-07-11 22:32:57 +08:00
Roy Tam
b415378cc3 Merge remote-tracking branch 'origin/master' into custom 2019-07-11 22:26:06 +08:00
wolfbeast
f88da927a6 Remove e10s info from about:support
tag #953
2019-07-11 22:25:10 +08:00
Roy Tam
5158861de1 Merge remote-tracking branch 'origin/master' into custom 2019-07-08 20:30:09 +08:00
Gaming4JC
b4fa30b382 Issue #1160 - Remove HotFix Preferences from Telemetry 2019-07-08 20:29:14 +08:00
Roy Tam
c2b2ce2c5c Merge remote-tracking branch 'origin/master' into custom 2019-06-29 06:11:18 +08:00
wolfbeast
512a3ba8e8 Revert "Treat *.jnlp as an executable class file, like *.jar"
Rationale: This was a Mozilla oversight and/or error.
This change has caused harm and is causing users to switch back to
Chrome, Safari or Edge for their WebStart needs.

JNLP is not an executable and should not be treated as such. JNLP should
be treated the same as any (e.g. Word) document and allowed to be opened
with the designated program.
A JNLP file will not cause execution on a system unless it has a valid
signature, and the user explicitly authorizes the launching based on
information provided by the signature. Moreover, there will even be a
check by the Java environment to see if the Java runtime (if there is
one) is current, and prompt the user to update if required.

This reverts commit 21495c58976e3cbbfe54d2e54d1fd67e36dff2a6 and
modifies ApplicationReputation.cpp to keep the list in sync (was a
discrepancy before).
2019-06-29 06:03:55 +08:00
Roy Tam
679eb8464d Merge remote-tracking branch 'origin/master' into custom 2019-06-28 07:04:39 +08:00
wolfbeast
6430102bfc Installer: Stop trying to read stub installer data from ini file 2019-06-28 07:02:15 +08:00
Roy Tam
fbb9e05a43 Merge remote-tracking branch 'origin/master' into custom 2019-06-21 10:00:27 +08:00
Ascrod
7801a344b4 Issue #1132 - Add application executable location to the about:support page. 2019-06-21 09:58:18 +08:00
Roy Tam
ef715102e7 revert "Remove e10s code from browser widget. (083d322b7)" to keep e10s useful. 2019-06-15 10:16:21 +08:00
Roy Tam
f05d85ff6b import change from mozilla upstream: Bug 1384330 - Blocking the mozAddonManager when pref 'privacy.resistFingerprinting.block_mozAddonManager' is true. r=arthuredelstein,mossop 2019-06-08 20:30:03 +08:00
Roy Tam
6431b85501 Merge remote-tracking branch 'origin/master' into custom 2019-05-31 07:28:33 +08:00
wolfbeast
d7fad8539b Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31cfb84449241e363a595540b8810c217
2019-05-31 07:22:21 +08:00
Matt A. Tobin
9592fe29c8 Show the update UI instantly instead of after 10 minutes of inactivity 2019-05-31 07:21:11 +08:00
wolfbeast
b3deb955e9 [places] Prevent some abuse of smart queries. 2019-05-31 07:21:02 +08:00