Commit Graph

573 Commits

Author SHA1 Message Date
wolfbeast 217dca872b Fix comments for NSS PBKDF setup (no code change) 2020-01-14 13:14:57 +01:00
wolfbeast 24f97a1683 Issue #1338 - Part 4: Initialize NSS with desired run-time values.
This NSS version (and onward) has variables to enable PKDBF rounds for
master password hardening (combating brute-force guessing).
Since we use DBM, we need to explicitly enable iteration counts in DBM
mode, and adjust the rounds used with a lower maximum because the PKDBF
routine for DBM is considerably slower for which the NSS default of
10,000 is debilitatingly high.
The method for this is run-time configuration through environment
variables. We set these prior to NSS initialization from nsAppRunner.cpp
so the NSS lib picks them up and allows us to continue using the DBM
cert/key stores with stored rounds per record.
2020-01-02 21:24:54 +01:00
Matt A. Tobin 647d14de86 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-09 00:02:17 -05:00
Matt A. Tobin 5102aa579d Issue #1306 - Move bundled fonts to toolkit 2019-11-30 09:13:54 -05:00
wolfbeast a2a84fcb26 No issue - Clean up libxul mozbuild a little
- Remove delayload dlls from which there are no imports
- Remove leftover MOZ_RUST config bit.
2019-11-30 01:26:45 +01:00
Matt A. Tobin 8fea22c958 Allow Solaris to use alt packaging for Pale Moon and Basilisk 2019-11-28 02:23:54 -05:00
Matt A. Tobin 52cb294d2a 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-27 13:21:01 -05:00
JustOff f703f61eab Issue #1300 - Clear the message manager script cache when updating and removing add-ons 2019-11-22 14:05:53 +02:00
Moonchild e97cb2f75f 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-19 14:31:52 +01:00
wolfbeast 4f6a779e0c Issue #1242 - Reinstate GPU Accelerated Windows entry in about:support
This resolves #1242.
2019-11-19 03:40:50 +01:00
JustOff d034857122 Issue #1259 - Adjust Widewine strings after removing Adobe Primetime support 2019-11-16 16:01:44 +02:00
Matt A. Tobin b0e23e79e7 Merge branch 'master' into mailnews-work 2019-11-10 15:43:51 -05:00
adeshkp a6441a2a84 Issue #1259 - Part 4. Remove Adobe EME from GMPUtils 2019-11-10 06:03:11 -05:00
adeshkp 0aa805d1f5 Issue #1259 - Part 3. Remove Adobe EME as a GMP source 2019-11-10 06:02:47 -05:00
adeshkp c74e21f187 Issue #1259 - Part 2. Remove Adobe Primetime localization strings 2019-11-10 06:02:21 -05:00
wolfbeast 60c83971fb Issue #1263 - Part 1: Remove DiskSpaceWatcher 2019-11-08 10:49:03 +01:00
Matt A. Tobin 6e7b3df371 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-03 15:33:58 -05:00
Gaming4JC 873f2cf8cc Issue #1265 - Expose sndio as a build option for any supporting system 2019-11-02 20:31:13 -04:00
Moonchild 21b3f62474 Merge pull request #1262 from athenian200/solaris-work
Support Modern Solaris
2019-11-02 14:37:22 +01:00
athenian200 a9dc528a4a Fix nits.
I hope this addresses everything.
2019-10-31 19:35:03 -05:00
wolfbeast f9ea088b4f Leverage strings to get working dirs in nsUpdateDriver. 2019-10-23 16:40:29 +02:00
athenian200 687a798e6d 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-10-21 04:53:45 -05:00
athenian200 575f51a27d Fix a bunch of dumb typos and omissions. 2019-10-21 04:53:43 -05:00
athenian200 7e5ff857ee 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-10-21 04:53:42 -05:00
athenian200 beea314ffe 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-10-21 04:53:42 -05:00
athenian200 4105ebb6ed 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-10-21 04:53:39 -05:00
athenian200 afc187cc3f 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-10-21 04:53:39 -05:00
wolfbeast c4c4189933 Issue #1229 - Remove fallback for $INSTDIR
This resolves #1229
2019-10-21 11:16:19 +02:00
wolfbeast 9f7b943c1d Issue #1124: Remove Firefox Developer Edition code.
Removes all occurrences of MOZ_DEV_EDITION code and some helpers.
2019-08-14 17:19:40 +02:00
wolfbeast b5cbb4d2f8 Issue #1134: Reinstate postDataString for about:home searches. 2019-08-10 12:25:57 +02:00
wolfbeast 3170ee7692 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-07-28 21:24:32 +02:00
Moonchild 44455d8b48 Merge pull request #1190 from adeshkp/spaces-mac-appname
Issue #701 - Support spaces in Mac app name
2019-07-21 00:35:25 +00:00
wolfbeast 7979df5512 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 3424afccae.
2019-07-18 19:21:07 +02:00
adeshkp 4e464892a2 Issue #701 - Support spaces in Mac app name 2019-07-18 11:21:40 -04:00
FranklinDM 818cf20fc4 Issue #1183 - Fix incorrect conditional preventing Discover Error Page from showing up 2019-07-15 13:51:33 +08:00
wolfbeast dd924323c3 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-07-08 21:47:28 +02:00
wolfbeast f7f7224ded Remove e10s info from about:support
tag #953
2019-07-08 21:46:44 +02:00
Gaming4JC 24ad244d47 Issue #1160 - Remove HotFix Preferences from Telemetry 2019-07-05 21:18:04 -04:00
wolfbeast 32e6b0f471 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 21495c5897 and
modifies ApplicationReputation.cpp to keep the list in sync (was a
discrepancy before).
2019-06-28 19:57:38 +02:00
wolfbeast 610c5fc6ce Installer: Stop trying to read stub installer data from ini file 2019-06-27 13:06:55 +00:00
Ascrod a072b02d93 Issue #1132 - Add application executable location to the about:support page. 2019-06-10 16:34:50 -04:00
wolfbeast 19c0f5e9ff Remove e10s force-enable/-disable prefs and a11y considerations for
starting in e10s mode.

This resolves #1130
2019-06-07 12:40:36 +02:00
Matt A. Tobin 363bfeb2c0 Merge branch 'master' of https://github.com/MoonchildProductions/UXP 2019-05-29 16:01:50 -04:00
Matt A. Tobin cee913be91 Show the update UI instantly instead of after 10 minutes of inactivity 2019-05-29 15:59:36 -04:00
wolfbeast d873bd9695 Make nsFind::Find actually use a string type as input.
Futureproofing follow-up to b89570e31c
2019-05-29 11:25:58 +02:00
wolfbeast 5b5743eeeb [places] Prevent some abuse of smart queries. 2019-05-26 17:55:44 +02:00
adeshkp 8db31d5367 Issue #246 - Remove "enhanced" newtab code from toolkit 2019-05-25 15:59:01 -04:00
adeshkp bb5e0a1be4 Remove a stubbed telemetry function from app AUS. 2019-05-22 13:34:36 -04:00
wolfbeast 1595ee7da4 Rip broken telemetry out of the app AUS.
Tag #21
2019-05-14 12:16:07 +02:00
Moonchild d0b65e8b38 Merge pull request #1080 from Ascrod/readerview
Reader Updates
2019-05-06 14:17:55 +00:00