Commit graph

469 commits

Author SHA1 Message Date
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
Matt A. Tobin
1e7859111e Allow Solaris to use alt packaging for Pale Moon and Basilisk 2019-11-29 11:36:41 +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
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
Matt A. Tobin
18ffebc2a1 Issue #1258 - Part 3: Make mailnews and friends build 2019-11-17 00:09:10 +08:00
wolfbeast
92b01bf08a Issue #1263 - Part 1: Remove DiskSpaceWatcher 2019-11-08 20:23:33 +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
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
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
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
adeshkp
675dada294 Issue #701 - Support spaces in Mac app name 2019-07-22 19:55:55 +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
wolfbeast
f88da927a6 Remove e10s info from about:support
tag #953
2019-07-11 22:25:10 +08:00
Gaming4JC
b4fa30b382 Issue #1160 - Remove HotFix Preferences from Telemetry 2019-07-08 20:29:14 +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
wolfbeast
6430102bfc Installer: Stop trying to read stub installer data from ini file 2019-06-28 07:02:15 +08:00
Ascrod
7801a344b4 Issue #1132 - Add application executable location to the about:support page. 2019-06-21 09:58:18 +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
adeshkp
05276951a7 Issue #246 - Remove "enhanced" newtab code from toolkit 2019-05-31 07:20:41 +08:00
adeshkp
9843f04b26 Remove a stubbed telemetry function from app AUS. 2019-05-24 21:57:20 +08:00
wolfbeast
0103cdc8a5 Rip broken telemetry out of the app AUS.
Tag #21
2019-05-17 22:17:15 +08:00
monikamaheshwari
cf0a5a54cd Bug 1429442 - Buttons in "type control" popup in reader mode should have tooltips r=Gijs,MarcoZ 2019-05-11 06:22:10 +08:00
Sonali9
03e0f27552 Bug 1151735 - Hide font panel when text is being selected r=Gijs 2019-05-11 06:22:08 +08:00
monikamaheshwari
deed413b53 Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs 2019-05-11 06:22:06 +08:00
Ascrod
a0ceaeace8 Bug 1399616 - add WP emoji styling to reader mode. 2019-05-11 06:22:04 +08:00
Ascrod
ecf329f733 Fix parse node limit preference. Tag #361. 2019-05-11 06:22:02 +08:00
Ascrod
14aede3cc5 Replace explicit pref observer with lazy preference getters. Tag #361. 2019-05-11 06:22:00 +08:00
Ascrod
85caaf571c Update surrounding code for new Readerable module. Tag #361. 2019-05-11 06:21:58 +08:00
Ascrod
5252a0779a Update Readability from mozilla-central release branch (FF 66.0.3). Tag #361. 2019-05-11 06:21:55 +08:00
Matt A. Tobin
dadaa3df44 Only change the default and hover text color on buttons for Windows 8+ HC Themes (aero-lite) 2019-05-04 10:40:59 +08:00
wolfbeast
e3827df1a0 Capture delayed events and cancel as necessary.
Tag #1052
2019-04-27 08:56:22 +08:00
Matt A. Tobin
4302912c0a Remove UpdateChannel.jsm 2019-04-27 08:55:44 +08:00
Matt A. Tobin
f7cf8d40bc Use UpdateUtils in GMPInstallManager.jsm 2019-04-27 08:55:41 +08:00