Commit Graph

87 Commits

Author SHA1 Message Date
wolfbeast 1fe365eba2 Perform a size check when dealing with clipboard data to be sure.
Follow-up to 0b6d9a4705
2019-05-29 11:05:41 +02:00
wicknix 06f7a03ffd Fix scroll bar orientation on MacOS 2019-05-15 01:37:09 -04:00
wicknix 577ca2cd60 Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..
..macOS 10.13+ when scrollbars are always displayed. r=mstange
2019-04-15 19:04:39 -05:00
wolfbeast 77e1b07f30 Preserve transparency when copying a DIB to/from the clipboard.
In order to get the alpha channel when encoding BMP images from a
surface, we need to supply bmp=32 in the encoder options.
2019-02-14 22:42:55 +01:00
wolfbeast 6992106dc7 Use existing image decoders to handle clipboard BMP data.
This gets rid of the old nsImageClipboard widget code in favor of using
the nsBMPDecoder in imglib.
2019-02-07 22:06:24 +01:00
Alex Gaynor 0b6d9a4705 Handle pasted data of certain types with an odd length. 2019-02-07 14:08:09 +01:00
wolfbeast 7504ca8ab4 Remove VR hardware support.
This resolves #881
2018-11-26 16:41:20 +01:00
wolfbeast 09fec033ec Don't allocate PendingAction twice. 2018-11-02 08:33:16 +01:00
wolfbeast e0de8181d9 Protect main thread in-process access to WinCompositorWidget transparent surface. 2018-11-01 20:16:11 +01:00
Moonchild f5b13e91d1 Merge pull request #852 from wicknix/master
Bug 1489785: Remove a workaround for gcc
2018-10-24 08:58:28 +02:00
wicknix 065f6f9e5e Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed that causes hangs in modal dialogs on macOS 10.14
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:16:11 -05:00
wicknix 6db23ae65e Bug 1489785: Remove a workaround for gcc
Introduced in bug 678607, that is no longer needed and causes hangs in modal dialogs on macOS 10.14.
https://hg.mozilla.org/mozilla-central/rev/3920c858319d
2018-10-24 01:10:07 -05:00
Mihail Zenkov 7214d60a12 Fix timer overflow on converting from sec to msec in idleService 2018-09-20 00:13:34 +03:00
wolfbeast 6ded94d38c Bug 1467363 - Protect access to mTransparentSurface with a lock. 2018-09-11 11:55:16 +02:00
wolfbeast 93cae908bc Remove all C++ telemetry autotimers 2018-09-04 09:41:24 +02:00
wolfbeast ab961aeb54 Remove all C++ Telemetry Accumulation calls.
This creates a number of stubs and leaves some surrounding code that may be irrelevant (eg. recorded time stamps, status variables).
Stub resolution/removal should be a follow-up to this.
2018-09-03 10:11:38 +02:00
wolfbeast 74c6c585ab Introduce ui.menu.allow_content_scroll
When true, overrides the OS convention to prevent scrolling of content when contextual menus are open.
This resolves #730.
2018-08-24 13:21:17 +02:00
wolfbeast 6e4c8dd34b Bypass transparency optimization with HC themes.
Don't use transparency optimization for theme items in Windows 8
or later with a high contrast theme in use.

See MoonchildProductions/Pale-Moon#1591
2018-07-26 17:58:48 +02:00
Moonchild c2fc3664d1 Merge pull request #567 from SpockMan02/moz-mac-lion-theme
Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query
2018-06-30 07:24:17 +02:00
SpockMan02 6151dca6ea Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2018-06-27 03:25:34 -07:00
wolfbeast 783b60aae1 Issue #12 Part 5: WidgetEvent shouldn't mark event as consumed if it's not cancelable.
Currently, EventListenerManager calls WidgetEvent::PreventDefault() when the status is nsEventStatus_eConsumeNoDefault.
That causes an unexpected state of events.
To solve this, WidgetEvent should do nothing when it's not cancelable but PreventDefault() is called.
2018-06-26 14:07:51 +02:00
wolfbeast a7bc62dcfe Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. 2018-06-26 13:53:12 +02:00
David Major 6b36aa089d Bug 1458270: Clean up in the shutdown observer. r=milan a=jcristau
--HG--
extra : amend_source : 7b1277a18a3ed4f441deef8b51cb4ec4dde614cc
2018-06-07 06:08:05 +02:00
Gaming4JC 8e9811c71b backport mozbug #546387: fix assert failure in gtk which prints to the console. 2018-06-06 19:29:03 -04:00
wolfbeast ac25827a87 Remove SPS profiler.
- Conditionals and code blocks. (MOZ_ENABLE_PROFILER_SPS)
- Stub out several profiler-only functions.
2018-05-24 14:06:04 +02:00
wolfbeast 1124fb525b Remove other gonk widget conditionals and unused files.
Tag #288.
2018-05-13 22:46:04 +02:00
wolfbeast e16bcd08aa Remove MOZ_WIDGET_GONK [2/2]
Tag #288
2018-05-13 00:08:52 +02:00
wolfbeast 2f359ed80c Convert uses of KEY_MAP_ANDROID_EXCEPT_B2G to KEY_MAP_ANDROID 2018-05-12 15:03:33 +02:00
wolfbeast b7d9dad58e Remove MOZ_B2G leftovers and some dead B2G-only components. 2018-05-12 14:32:03 +02:00
wolfbeast cfe5ef4ac7 Remove Gonk build directories 2018-05-12 11:09:44 +02:00
Moonchild b83c51a1a5 Merge pull request #296 from janekptacijarabaci/js_dom_animationcancel_1
DOM - implement animationcancel event
2018-04-29 18:48:43 +02:00
Moonchild 8c4783919b Merge pull request #295 from janekptacijarabaci/_native_52ESR_events_auxclick_1
UI Events - implement auxclick
2018-04-29 17:02:53 +02:00
janekptacijarabaci 306690e137 Merge branch 'master' of https://github.com/MoonchildProductions/UXP into data-transfer_1 2018-04-21 18:53:06 +02:00
Moonchild 844da4597f Merge pull request #221 from janekptacijarabaci/js_dom_pointer_events_1
moebius#71: Pointer Events - improvements
2018-04-21 14:53:24 +02:00
trav90 2828e5db82 Use -1 instead of 0 to indicate absent glxtest_pipe fd 2018-04-20 17:44:53 -05:00
janekptacijarabaci 4549256c2b moebius#56: Fix: DataTransfer - Pasting image from clipboard fails in some cases
https://github.com/MoonchildProductions/moebius/pull/56
2018-04-20 22:54:26 +02:00
janekptacijarabaci 09f456b280 moebius#71: DOM - Pointer Events - improvements
https://github.com/MoonchildProductions/moebius/pull/71
2018-04-20 22:18:52 +02:00
janekptacijarabaci e43cde864f Bug 1299197 Part2: Serialize WidgetPointerHelper in IPC message
native in moebius
2018-04-20 20:30:07 +02:00
janekptacijarabaci 8a6f654e95 Bug 1299197 Part1: Refine WidgetPointerHelper
native in moebius
2018-04-20 20:28:00 +02:00
janekptacijarabaci 054dde2728 Bug 1344642 - Part 1: Cleanup dom.forms.datepicker related code 2018-04-15 14:39:19 +02:00
New Tobin Paradigm a22bf0142f Merge pull request #136 from trav90/gtk-work
Improve GTK3 support
2018-04-13 00:46:18 -04:00
trav90 a0a79a9aa3 [GTK3] Set alpha component appropriately in operator over for -moz-field 2018-04-11 11:14:15 -05:00
trav90 54465cc4ac Fix GTK3 build bustage 2018-04-06 17:38:44 -05:00
trav90 2dba03fd2f [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.
2018-04-06 11:25:22 -05:00
trav90 e08833665d [GTK3] Get styles for menu label, button text and combobox text colors from WidgetCache 2018-04-06 11:14:42 -05:00
trav90 e7b059d943 [GTK3] Don't invalidate style content for missing widgets 2018-04-06 11:03:35 -05:00
trav90 5ddda9321c [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.
2018-04-06 11:02:43 -05:00
trav90 484a5de81d [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.
2018-04-06 10:58:03 -05:00
trav90 50217bd546 [GTK3] For Gtk > 3.20 determine scale trough size from trough CSS node and also add border/padding/margin 2018-04-06 10:37:03 -05:00
trav90 d75e9071f1 [GTK3] Consider also margin when determine range widget slider size 2018-04-06 10:34:41 -05:00