Commit Graph

194 Commits

Author SHA1 Message Date
wolfbeast 60c83971fb Issue #1263 - Part 1: Remove DiskSpaceWatcher 2019-11-08 10:49:03 +01: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 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 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
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
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 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
Moonchild d0b65e8b38 Merge pull request #1080 from Ascrod/readerview
Reader Updates
2019-05-06 14:17:55 +00:00
monikamaheshwari 5c350eebcd Bug 1429442 - Buttons in "type control" popup in reader mode should have tooltips r=Gijs,MarcoZ 2019-04-27 09:35:59 -04:00
Sonali9 b430def773 Bug 1151735 - Hide font panel when text is being selected r=Gijs 2019-04-27 09:18:44 -04:00
monikamaheshwari 0612246b04 Bug 1422680 - simplify aboutReader.css font-size classes using CSS variables r=Gijs 2019-04-27 09:15:22 -04:00
Ascrod 742f5aa24d Bug 1399616 - add WP emoji styling to reader mode. 2019-04-27 08:49:17 -04:00
Ascrod 2db53003e9 Fix parse node limit preference. Tag #361. 2019-04-27 07:43:14 -04:00
Ascrod 952e655903 Replace explicit pref observer with lazy preference getters. Tag #361. 2019-04-27 07:43:13 -04:00
Ascrod 945b032656 Update surrounding code for new Readerable module. Tag #361. 2019-04-27 07:43:12 -04:00
Ascrod ccc4363462 Update Readability from mozilla-central release branch (FF 66.0.3). Tag #361. 2019-04-27 07:43:11 -04:00
wolfbeast 3424afccae Capture delayed events and cancel as necessary.
Tag #1052
2019-04-26 14:13:32 +02:00
Matt A. Tobin a9ae199570 Don't use UpdateChannel.jsm in nsBlocklistService.js 2019-04-25 06:34:26 -04:00
Matt A. Tobin 325b204d26 Issue #1053 - Drop support Android and remove Fennec - Part 1b: Remove MOZ_FENNEC 2019-04-23 15:56:35 -04:00
Matt A. Tobin 63295d0087 Sort out search service
The ESR52 implementation is now Basilisk specific and the older implementation is the shared toolkit one
2019-04-23 14:44:40 -04:00
Matt A. Tobin 0c84220a4f Remove tests from search service 2019-04-23 13:38:38 -04:00
New Tobin Paradigm 228e55129b Merge pull request #1048 from Ascrod/geodefaults
Remove geo-specific selection of default search engines.
2019-04-23 13:15:22 -04:00
New Tobin Paradigm 864f1cfdb2 Merge pull request #1045 from ThosRTanner/patch-1
Remove unused parameter from call
2019-04-21 18:02:50 -04:00
Ascrod a3a34dad18 Remove browser.search.region usage. Tag #245. 2019-04-20 07:35:31 -04:00
Ascrod 60e2837156 Remove geoip lookup for search engine defaults. Tag #245. 2019-04-20 07:31:51 -04:00
ThosRTanner b732878110 Remove unused parameter from call
Fixes #1043
2019-04-20 09:14:36 +01:00
Ascrod 21b4cb27ca Remove unused try/catch block. Tag #991. 2019-04-18 20:37:23 -04:00
Ascrod af7e140d4e Merge branch 'master' into default-pref 2019-04-18 20:35:10 -04:00
Moonchild cdc962dca5 Remove various FxA tests 2019-04-18 15:49:19 +00:00
Ascrod 40fc723764 Pref try/catch block fixup. Tag #991. 2019-04-13 17:27:59 -04:00
Ascrod 714e9c9074 Issue #991 Part 7: Toolkit Components 2019-04-13 11:37:45 -04:00
wolfbeast 6b968b13d9 Issue #187: Remove solaris 1st party code OS checks. 2019-03-30 20:03:33 +01:00
Moonchild aa816b3d84 Merge pull request #834 from g4jc/remove_contextid
Issue #756 - Remove Contextual Identity
2019-03-25 18:03:03 +01:00
Ascrod c9d2e9bcfb Remove obsolete getPref helpers. 2019-03-24 20:22:03 -04:00
Gaming4JC 2d20c38f83 Issue #756 - Remove Contextual Identity from UnifiedComplete
reverts m-c 1287866
2019-03-18 20:53:41 -04:00
Gaming4JC d0b4eb41bb Issue #756 - Remove contextual identity from BackgroundPageThumbs.jsm
reverts m-c 1279568, 1309699, 1310112
2019-03-18 19:28:33 -04:00
Matt A. Tobin 7e0d3b80f1 Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-06 12:02:27 -05:00
Matt A. Tobin 011610259b Revert "Don't include nsDownloadManagerUI if the Communicator version is used"
This reverts commit 853fe00ba0.
2019-03-06 12:01:25 -05:00
Matt A. Tobin 853fe00ba0 Don't include nsDownloadManagerUI if the Communicator version is used
Maintain backwards compatibility with MOZ_SUITE
2019-03-06 11:37:20 -05:00
wolfbeast c1ece93c2b Make the Auth prompt DOS protection a browser-element opt-in feature. 2019-03-01 14:01:09 +01:00
wolfbeast c962e2051a WIP fix 1 2019-02-28 10:02:19 +01:00
wolfbeast 664f6385ad Remove toolkit/components/maintenanceservice/
Tag #145
2019-02-20 12:40:02 +01:00
wolfbeast 43d44975b1 Remove WebExtension support from the platform.
- Conditional code
- WE APIs
- WE toolkit theming
2019-02-13 19:11:37 +01:00
wolfbeast f560671b66 Include blankthumb in the correct file. 2019-02-05 11:00:30 +01:00
wolfbeast 9a8a050294 Merge branch 'cycle_collector-work' 2019-02-03 08:34:08 +01:00
adeshkp 493c956d8d Remove telemetry leftovers from JS engine. 2019-01-30 13:56:07 -05:00