Commit Graph

206 Commits

Author SHA1 Message Date
Pale Moon 4e4dc6042e Remove preprocessing of safemode.js again.
With the correct header, the preprocessor is no longer needed to strip the license block.
2018-07-25 09:27:13 +08:00
Pale Moon c6a2173509 Convert C-style license blocks to native XML/JS style. 2018-07-25 09:27:06 +08:00
Pale Moon 60236e137e Rewrite the safe mode dialog script and preprocess it. 2018-07-25 09:26:52 +08:00
Pale Moon e5d660c9c9 Fix incorrect MPL 1.1 header in safemode dialog. 2018-07-25 09:26:45 +08:00
janekptacijarabaci bd5178f34a gre/components/nsINIProcessor.js (etc.)
JavaScript strict warning: resource://gre/components/nsINIProcessor.js,
line 147:
etc.
SyntaxError: octal literals and octal escape sequences are deprecated
https://bugzilla.mozilla.org/show_bug.cgi?id=1248252
2018-07-25 09:19:00 +08:00
JustOff 30cb2f7f12 Fix preprocessor build warnings 2018-07-25 09:12:43 +08:00
Pale Moon de1e624634 Focus the address bar if opened content in a new window is blank. 2018-07-25 09:12:22 +08:00
JustOff f5c222f66d Add option to clear site connectivity data (HSTS/HPKP) 2018-07-25 09:10:34 +08:00
Pale Moon a07eb87057 Change default styling for when no accent color is applied on Win 10 to black-on-white.
This resolves #1368.
2018-07-25 09:09:52 +08:00
JustOff 30deb91d78 Clear QuotaManager storage along with Offline Website Data 2018-07-25 09:08:04 +08:00
janekptacijarabaci 7d523538c5 PopupNotifications - support "learnMoreURL" 2018-07-25 09:07:22 +08:00
janekptacijarabaci fc601e477e Urlbar - Switch to tab (alt, shift)
This resolves #717 and #1350
2018-07-25 09:06:53 +08:00
janekptacijarabaci a408bbfc3d The Context Menu - search (improvements) 2018-07-25 09:06:32 +08:00
Pale Moon 968210a1b7 Fix minor style nit. 2018-07-25 09:04:34 +08:00
Pale Moon 81ff3172d0 Work around an old regression in Web Panels.
See also: https://bugzilla.mozilla.org/show_bug.cgi?id=483919#c13
This should fix #1344.
2018-07-25 09:03:51 +08:00
janekptacijarabaci bea98a2fc0 Main menu - Restart (improvements - notify all windows that an application quit has been requested) 2018-07-25 08:12:48 +08:00
janekptacijarabaci 237edff1e3 [suggestion] Main menu - Restart normally (improvements) 2018-07-25 08:12:40 +08:00
janekptacijarabaci 3c430ca88b Main menu - Restart normally (improvements) 2018-07-25 08:12:33 +08:00
janekptacijarabaci 23c995b14e Main menu - Restart normally (move this item) 2018-07-25 08:12:26 +08:00
janekptacijarabaci 38664e4234 Main menu - Restart normally 2018-07-25 08:12:19 +08:00
janekptacijarabaci 41e3c3aaec DevTools - Browser Console - restore sessions 2018-07-25 08:12:04 +08:00
janekptacijarabaci dc961477b7 Places - Bookmarks - The context menu - After customize 2018-07-25 08:11:35 +08:00
adeshkp 22eb5492cd Be more liberal in matching URL in the selected text
Current regex only allows matching of domain names not complete URIs. Also, selection must be delimited by non-word character for a match to occur. For example, "example.com/fun/" will not produce a match when selected out of "example.com/fun/activity-1.html".
This commit allows any selection to produce a match as long as it is a valid URI, and hence to show "open link" entries in context menu.
2018-07-25 08:11:21 +08:00
Pale Moon f0b7381317 Add option to escape to a no-content page from net error pages.
browser.escape_to_blank:
true: "get me out of here" button leads to about:logopage.
false (default): button leads to default supplied home page.
2018-07-25 08:04:19 +08:00
janekptacijarabaci b45a526528 CSS - selectors - "-moz-handler" css pseudo-classes leak plugin state to content (bug 1025267) 2018-07-25 08:04:04 +08:00
Pale Moon 112747f5cb Align ToolbarIconColor luminance computation with UWP guideline as well to make it consistent with the rest of the browser. 2018-07-25 08:02:38 +08:00
Pale Moon 95fa208152 Add a signal preference for dynamic color changes to adjust "brighttext" in the front-end.
This makes all relevant toolbars pick up the fact that the Windows accent color has changed and should check and if necessary update the "brighttext" property on them for styling of controls.
This is a bit of a hack-around to the fact that there is no real easy way otherwise to notify the front-end of color changes without needing a change in focus of the window.
There is a deliberate 300ms delay built in, because otherwise the styles might not have propagated yet, resulting in brighttext not being updated properly.
2018-07-25 08:02:31 +08:00
Pale Moon e04973ade9 Windows 8: Replace WCAG 2.0 spec color ratio formula with Microsoft's UWP guideline to decide if a window frame color is "dark". 2018-07-25 08:00:49 +08:00
Pale Moon b8cfa5c263 Remove "darkwindowframe" for Windows 10 since it interferes with dynamic updates of colors.
Obsoleted by d1069c70e82b5cd58a5cf5735a17163dd00923d6 and needed for #1222
2018-07-25 07:59:23 +08:00
Lootyhoof b0c1db3ef8 Clean up Windows 10 theme styling
- Use Windows accent color to determine caption button and title styling
- Fix hover animations
- Add styling for inactive windows
2018-07-25 07:56:53 +08:00
Pale Moon 77ec314cab Set the relative contrast for switching to white text/controls to 7:1 2018-07-25 07:56:31 +08:00
Lootyhoof 103bc95957 Use Windows 10 accent color for background styling 2018-07-25 07:55:14 +08:00
janekptacijarabaci 9368c663a0 [minor fix] about:feeds - throws a warning (deprecated) 2018-07-25 07:51:02 +08:00
Pale Moon 98c8f345d5 Update the about dialog text. 2018-07-25 07:47:55 +08:00
janekptacijarabaci 69b95fc707 [minor fix] Throws an errors - aTab is null 2018-07-25 07:47:11 +08:00
janekptacijarabaci cbd38efe23 Pageinfo - General - the site's security information (regression) 2018-07-25 07:34:55 +08:00
janekptacijarabaci 904ccbeb27 Page Info - indexedDB - a remnant from ancient times (reversed value) 2018-07-25 07:26:58 +08:00
Pale Moon b649e7fdbd Remove hotfix add-on provisions.
This resolves #844.
2018-07-25 07:19:54 +08:00
Franklin DM 55c0407f7f R 2018-07-25 07:15:27 +08:00
Franklin DM fd537c522a Fix when resetting toolbars and controls
Instead of just clearing localstore.rdf (the old one), also clear xulstore.json.
2018-07-25 07:15:25 +08:00
Pale Moon d91a67b5be Address review comments:
- add missing return
- convert alert() to a confirm() to offer quitting the application straight away.
2018-07-25 07:13:51 +08:00
Pale Moon 56b023c005 Implement browser startup autorecovery module. 2018-07-25 07:13:50 +08:00
Pale Moon 2a8a05c70b Remove LP recovery hack.
This is no longer needed by doing this on the actual LP side.
Supersedes #1063 #1068 and makes #713 obsolete.
2018-07-25 07:13:45 +08:00
Pale Moon 7e692796f5 Try fully-automated recovery in case of incompatible language pack. (reprise)
Follow-up to 7988657bf5d5bc7fa7f7ac84acdacf6826ac552b ; inform the user what's happening before restarting.
2018-07-25 07:12:44 +08:00
Pale Moon fab0f30817 Revert "Smart browser recovery in case of incompatible language pack"
This reverts commit cf03b1f17054f26dd986bc349cb3bddc4cd01b75.
2018-07-25 07:12:41 +08:00
JustOff 3e291011fd Smart browser recovery in case of incompatible language pack 2018-07-25 07:12:35 +08:00
Pale Moon d1b4fc063b Try fully-automated recovery in case of incompatible language pack.
Follow-up to #1063:
- Check if the locale is user-set, first.
- If so, reset the pref and trigger a browser restart
- Otherwise, something else is going on that has gBrowser be nonexistent; do nothing and return early.
2018-07-25 07:12:28 +08:00
JustOff 09d736f1e6 Add extra patch description 2018-07-25 07:12:21 +08:00
JustOff 941e8466ff Add patch description 2018-07-25 07:12:19 +08:00
JustOff a0f68c6768 Reset general.useragent.locale if gBrowser isn't defined 2018-07-25 07:11:44 +08:00