Commit graph

646 commits

Author SHA1 Message Date
janekptacijarabaci
5cc122a538 Bug 1311798: Align XMLHttpRequest abort() with the spec 2019-02-15 23:44:21 +08:00
janekptacijarabaci
e95eff8e11 [PALEMOON] Downloads - throws an error
Issue #121
2019-02-15 23:44:20 +08:00
janekptacijarabaci
65356126cc Fix: TypeError: "this._richlistbox.selectedItems.slice is not a function" in allDownloadsViewOverlay.js
Issue #121
2019-02-15 23:44:18 +08:00
JustOff
1f560c7d2f Use modern syntax to call NetUtil.newChannel() in _SessionFile.jsm 2019-02-15 23:44:17 +08:00
JustOff
e05e624eb8 Use document's principal for favicons in browser 2019-02-15 23:44:14 +08:00
janekptacijarabaci
2ac3c5500f Style clean up in about.dtd
https://github.com/MoonchildProductions/moebius/issues/173
2019-02-15 23:44:13 +08:00
janekptacijarabaci
5371575837 moebius#173: Fix up "about:" page
https://github.com/MoonchildProductions/moebius/issues/173
2019-02-15 23:44:11 +08:00
wolfbeast
d37246737b Convert MOZILLA_OFFICIAL conditionals to MC_OFFICIAL where needed.
- `--enable-official-branding` implies `MC_OFFICIAL` (no need to specifically set it)
- `--enable-official-vendor` can be used to set `MC_OFFICIAL` on builds without `--enable-official-branding` that should still be considered official release versions.
- `MC_OFFICIAL` implies `--enable-release`, meaning `DEVELOPER_OPTIONS` isn't set
- `MC_OFFICIAL` makes `nsXULAppInfo.getIsOfficial` return `true`
- `MC_OFFICIAL` makes `AppConstants.MOZILLA_OFFICIAL` (for compatibility in extensions) and `AppConstants.MC_OFFICIAL` return `true`
- Optional, for the time being: `MOZILLA_OFFICIAL` is still present in some places in case someone wants to build a Mozilla-alike official application and has the rights and necessary keys to use Mozilla-official third-party services. This must always be combined with `MC_OFFICIAL` to have a sane combination of defines. This may be removed in the future.
2019-02-15 23:44:10 +08:00
janekptacijarabaci
81228c3a44 moebius#76: JS - DOM - Selection API - crashes
https://github.com/MoonchildProductions/moebius/pull/76
2019-02-15 23:44:08 +08:00
janekptacijarabaci
acfa05e886 moebius#126: [very minor fix] Fix typo in a comment in NSSCertDBTrustDomain.cpp
https://github.com/MoonchildProductions/moebius/pull/126
2019-02-15 23:44:07 +08:00
janekptacijarabaci
84b63aeae5 moebius#255: [minor fix] toolkit/themes/linux/global/jar.mn - style clean up (the columns alignment)
https://github.com/MoonchildProductions/moebius/pull/255
2019-02-15 23:44:05 +08:00
janekptacijarabaci
1a6e23fffd HTML - implement the labels attribute (added a test)
6be9e50707 (commitcomment-28047433)
2019-02-15 23:44:03 +08:00
JustOff
53f6a692d3 Make JS callers of ios.newChannel call ios.newChannel2 in browser/ 2019-02-15 23:44:02 +08:00
janekptacijarabaci
e37a6016b9 Fix a comment: "DevEdition theme" vs "DevTools theme"
Issue #102
2019-02-15 23:44:00 +08:00
janekptacijarabaci
ef8ecc5bcd Fix: Developer Toolbar (the command: cookie; themes)
Issue #102
2019-02-15 23:43:59 +08:00
NTD
53e8bd2ac0 Restyle the findbar 2019-02-15 23:43:57 +08:00
janekptacijarabaci
e2fbb83e3a Editable menulist loosing editable attribute gets focus stuck
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1142224
(native in moebius)
2019-02-15 23:43:56 +08:00
janekptacijarabaci
2b0e91b059 Fix typo in a property in tabbrowser.xml
Issue #138
2019-02-15 23:43:54 +08:00
janekptacijarabaci
fdeebefb1f Fix (to TODO): Findbar throws an error - "nsIPrefBranch.getBoolPref" is not exist in browser.js
Issue #138
2019-02-15 23:43:53 +08:00
janekptacijarabaci
25b7b3d1d3 Fix: Findbar broken (basic)
Issue #138
2019-02-15 23:43:51 +08:00
janekptacijarabaci
1476418612 Style clean up: saveImageURL() in nsContextMenu.js
Tag #139
2019-02-15 23:43:50 +08:00
janekptacijarabaci
df7ccbc7b5 Fix: DEPRECATION WARNING: saveImageURL should be passed the private state of the in nsContextMenu.js
Issue #121
2019-02-15 23:43:48 +08:00
janekptacijarabaci
e7edb2cd31 moebius#57: about:support - improvements (Copy text to clipboard)
https://github.com/MoonchildProductions/moebius/pull/57
2019-02-15 23:43:46 +08:00
trav90
c5af75551d [GTK3] Set alpha component appropriately in operator over for -moz-field 2019-02-15 23:43:45 +08:00
trav90
3e7ff78276 Fix GTK3 build bustage 2019-02-15 23:43:43 +08:00
trav90
88757310cd [GTK3] Ignore double-click on WM without _NET_WM_MOVERESIZE support
This fixes a crash with GTK3 builds used with a window manager that does not support _NET_WM_MOVERESIZE.
2019-02-15 23:43:42 +08:00
trav90
618138082f [GTK3] Get styles for menu label, button text and combobox text colors from WidgetCache 2019-02-15 23:43:40 +08:00
trav90
a144db2754 [GTK3] Don't invalidate style content for missing widgets 2019-02-15 23:43:39 +08:00
trav90
752c6892c2 [GTK3] Invalidate widget style contexts after their ancestors are set
Although this is only known to affect buttons with builtin child widgets, it is difficult to audit all GTK widgets for similar situations, and so the same defense is applied to all widgets.
2019-02-15 23:43:37 +08:00
trav90
0c21383d69 [GTK3] Force a style resolution on context creation to set GTK 3.4 theming_engine
This works around a GTK bug that led to the default engine being used instead for the first draw.
2019-02-15 23:43:35 +08:00
trav90
240fc2a6b6 [GTK3] For Gtk > 3.20 determine scale trough size from trough CSS node and also add border/padding/margin 2019-02-15 23:43:34 +08:00
trav90
cfed5f8df1 [GTK3] Consider also margin when determine range widget slider size 2019-02-15 23:43:32 +08:00
trav90
680970a479 [GTK3] With GTK versions < 3.8 draw menuitem background and frame only when in hover and not a separator 2019-02-15 23:43:31 +08:00
trav90
07991c52f4 [GTK3] Implement pre-3.20 MOZ_GTK_PROGRESS_CHUNK in WidgetStyleCache 2019-02-15 23:43:30 +08:00
trav90
459d7f575f [GTK3] Adjust textarea style contexts for GTK 3.20 theming ABI changes 2019-02-15 23:43:28 +08:00
trav90
a9302f7a0e [GTK3] Consider textview root node background in addition to text node for -moz-appearance:textfield-multiline
This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
2019-02-15 23:43:27 +08:00
trav90
5ba7568c8d [GTK3] Consider textview root node background in addition to text node for -moz-field
This is necessary for GTK versions > 3.18 because windows no longer clear their backgrounds since https://git.gnome.org/browse/gtk+/commit/?id=580ea227a6bb19ad6c6d4766b3a36dbad24583f3 and Ambiance for 3.20 has a transparent background for the "text" window.
2019-02-15 23:43:25 +08:00
trav90
3951327f27 [GTK3] Introduce MOZ_GTK_TEXT_VIEW_TEXT and move MOZ_GTK_RESIZER to WidgetStyleCache
The style context for MOZ_GTK_TEXT_VIEW is now created by copying from the widget instead of caching a widget and using its context.
No rendering changes are expected, unless themes are animating GtkTextView backgrounds.
2019-02-15 23:43:24 +08:00
trav90
f0e2977c10 [GTK3] Use WidgetCache to get colors at nsLookAndFeelfor menuitems, text and tree view 2019-02-15 23:43:22 +08:00
trav90
f84529230b [GTK3] Use WidgetCache to get colors at nsLookAndFeel for GtkButton, GtkWindow, GtkScrollBar 2019-02-15 23:43:21 +08:00
trav90
9461197f53 [GTK3] Use WidgetCache to get colors at nsLookAndFeel 2019-02-15 23:43:19 +08:00
trav90
6a029bbbad [GTK3] Adjust menuitem padding and check/radio indicator position for changes in GTK 3.20 2019-02-15 23:43:17 +08:00
trav90
aa3618bdd7 [GTK3] Rename subtract_margin and rectangle_inset to Inset* and swap InsetByMargin parameters for consistency. 2019-02-15 23:43:15 +08:00
trav90
cfd6edee95 [GTK] Rename radio/check menuitem and indicator as used with ClaimStyleContext.
The same name is retained for moz_gtk_widget_paint(), which is now more consistent.
2019-02-15 23:43:14 +08:00
trav90
7420a48c04 [GTK3] Use menuitem padding between menuitem and check indicator. 2019-02-15 23:43:12 +08:00
trav90
51ddd61925 [GTK3] Draw only background and frame of separator menuitems in GTK versions > 3.20
In GTK 3.20, gtk_menu_item_draw() just draws the root widget gadget, depending on the theme to style menu items with CSS name "separator" appropriately.
2019-02-15 23:43:11 +08:00
trav90
29821c238a [GTK3] Draw separator menuitem background and frame behind separator in menu 2019-02-15 23:43:09 +08:00
trav90
381de05df3 [GTK3] Draw menuitem background even when not in hover 2019-02-15 23:43:08 +08:00
janekptacijarabaci
a47dfd1d82 Fix: Using "View Source" from Browser Console
Issue #121
2019-02-15 23:43:06 +08:00
janekptacijarabaci
6a3c79040e Places - throws an error: 0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
Steps to reproduce:

1) The main menu:
"Tools" - "Options" - "Privacy" - "History":
[x] "Remember my browsing and download history"

2) The main menu:
"History" - "Clear Recent History...":
"Today"/"Everything" - "Browsing & Download History" - "OK"

3) Go to: "https://www.palemoon.org/"

4) The main menu:
"History" - "Show All History"

5) Clicking right mouse button on an item "https://www.palemoon.org" in
"History",
clicking on "Delete This Page".

6) Clicking on "History":

Throws an error in Browser Console:
NS_ERROR_FAILURE: Component returned failure code:
0x80004005 (NS_ERROR_FAILURE) [nsIEditor.transactionManager]
editBookmarkOverlay.js:341
2019-02-15 23:43:05 +08:00