Commit graph

53 commits

Author SHA1 Message Date
David Major
2c709a3e82 Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG--
extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
2019-02-16 00:01:18 +08:00
Gaming4JC
7e4ac9f3a2 backport mozbug #546387: fix assert failure in gtk which prints to the console. 2019-02-16 00:01:17 +08:00
wolfbeast
1a823f5ad6 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2019-02-15 23:58:37 +08:00
wolfbeast
74df182488 Remove other gonk widget conditionals and unused files.
Tag #288.
2019-02-15 23:57:15 +08:00
wolfbeast
2531de02eb Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2019-02-15 23:57:10 +08:00
wolfbeast
9195e9e4e3 Convert uses of KEY_MAP_ANDROID_EXCEPT_B2G to KEY_MAP_ANDROID 2019-02-15 23:57:07 +08:00
wolfbeast
719ac1bc38 Remove MOZ_B2G leftovers and some dead B2G-only components. 2019-02-15 23:57:05 +08:00
wolfbeast
66ea8f0645 Remove Gonk build directories 2019-02-15 23:56:58 +08:00
janekptacijarabaci
901d2a277f moebius#89: DOM - implement animationcancel event
Issue #55
2019-02-15 23:54:00 +08:00
janekptacijarabaci
a89e7c6858 Bug 1264125: Fire transitioncancel event when a transition is canceled - part 1 (in the description)
Issue #55
part 1 - Add transitioncancel event handler
part 2 - Add ontransitioncancel EventHandler to WebIDL
part 3 - Add member of active time to ComputedTiming
2019-02-15 23:53:52 +08:00
janekptacijarabaci
ea3430429d Implement auxclick
Bug(s):
https://bugzilla.mozilla.org/show_bug.cgi?id=1304044
(native in moebius)
2019-02-15 23:53:46 +08:00
janekptacijarabaci
37c73e0634 moebius#56: Fix: DataTransfer - Pasting image from clipboard fails in some cases
https://github.com/MoonchildProductions/moebius/pull/56
2019-02-15 23:48:56 +08:00
janekptacijarabaci
40c62c205b moebius#71: DOM - Pointer Events - improvements
https://github.com/MoonchildProductions/moebius/pull/71
2019-02-15 23:48:43 +08:00
janekptacijarabaci
f0a5f99021 Bug 1299197 Part2: Serialize WidgetPointerHelper in IPC message
native in moebius
2019-02-15 23:48:40 +08:00
janekptacijarabaci
d49e470d3d Bug 1299197 Part1: Refine WidgetPointerHelper
native in moebius
2019-02-15 23:48:39 +08:00
trav90
2871772641 Use -1 instead of 0 to indicate absent glxtest_pipe fd 2019-02-15 23:48:30 +08:00
janekptacijarabaci
36d469a74f Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code 2019-02-15 23:45:58 +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
wolfbeast
b77496b276 Remove unused LSPAnnotator 2019-02-15 23:39:56 +08:00
wolfbeast
434f3590e3 Remove base conditional code for crash reporter and injector. 2019-02-15 23:39:53 +08:00
janekptacijarabaci
3a4e49d048 Implement DOM page onvisibilitychange. 2019-02-15 23:36:06 +08:00
wolfbeast
2ce8b3b74e 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.
2019-02-15 23:32:15 +08:00
wolfbeast
d2dfb814c1 Use more logical pref names for mouse button 4&5
Also improves comment wording.
2019-02-15 23:32:00 +08:00
wolfbeast
d07bf4bba2 Un-fold browsercomps.* from libxul
This resolves #16.
2019-02-15 23:31:09 +08:00
wolfbeast
8aa201ff06 Add -moz-windows-accent-color-is-dark
#31 point 4
2019-02-15 23:29:12 +08:00
wolfbeast
41ee5136f4 Split out the check for accent color luminance. 2019-02-15 23:29:10 +08:00