We try to derive the dictionary to use based on the following priorities:
1) Content preference: the language the user set for the site before.
2) The value of "spellchecker.dictionary.override" which reflects a
global choice of language explicitly set by the user.
3) Language set by the website, or any other dictionary that partly matches that.
Eg. if the website is "en-GB", a user who only has "en-US" will get that.
If the website is generic "en", the user will get one of the "en-*" installed,
pretty much at random.
4) The user's locale
5) Leave the current dictionary set.
6) The content of the "LANG" environment variable (if set)
7) The first spell check dictionary installed.
Stop using the (broken) spellchecker.dictionary "holding pref"
Can be enabled/disabled at runtime by toggling the 'media.jxr.enabled'
pref (disabled by default).
Two additional prefs are provided for testing purposes:
'media.jxr.autoaccept', and 'media.jxr.advertised_mime_type'
See comments in all.js for information on what these do.
This commit includes the MS OpenTech implementation of the decoder on
the browser side with some fixes applied; see the development in Pale
Moon GitGub issue #105 or my comments in the source code for more
information.
This code is apparently not working yet on *nix, because it uses its own font list system.
Additionally, SSUAO required for Google Fonts on *nix because they don't do anything but UA sniffing. *sigh*
media.format-reader.mp4=true: Will enable the new format decoder for normal MP4
media.mediasource.format-reader.mp4=true: Will enable new format decoder for
MP4 within MSE.
Both are currently defaulted to false.
- Pale Moon users have clearly indicated they don't want WebRTC
- WebRTC code includes a lot of potential security risks (including peer connection leaks)
- WebRTC code relies on old and poorly-supported third party libs
Can still be enabled with --enable-webrtc
Potentially offer as an alt package in the future if demand is high?
- Adds browser.display.standalone_images.background_color handling.
- Sets default image background color to dark slate.
- Removes noise.
- Removes forced light background for transparent images.
- Default Gecko Compatibility which is Gecko slice added to Native (for web compat)
- other modes pure native (no gecko slice) and Firefox compatibility (Gecko+Firefox+rv: changed to Firefox compat version)
This removes `general.useragent.compatMode.firefox` and `.gecko` in favor of an int pref.
See also: MoonchildProductions/Pale-Moon#466