Commit graph

78 commits

Author SHA1 Message Date
athenian200
a5dcb0f82a MoonchildProductions#1251 - Part 22: Remove some unused type declarations from IPC process_util.
https://bugzilla.mozilla.org/show_bug.cgi?id=1397928

Was looking into that _POSIX_PATH_MAX/NAME_MAX issue earlier because it didn't make a lot of sense and I was thinking of other approaches besides char arrays, and I wanted to make sure it didn't cause problems after they did it. Turns out that one commit after this was added, Mozilla determined the code I was working on fixing to be dead code as of Firefox 58. I don't know if it's dead code in Pale Moon as well, but given that it compiles fine without it and I can't find any other references to szExeFile in the IPC code, that seems like a safe bet.

Besides, I determined config/pathsub.c already seems to do what this code looks like it's trying to do, and implements the solution of just defining NAME_MAX to 256 and having done with it that I nearly adopted after realizing that even OS/2 and BeOS, let alone Unix/Linux systems, all basically use that value and there's just disagreement on which system header to check for it.
2019-11-04 11:54:00 +08:00
athenian200
afb2e3a054 MoonchildProductions#1251 - Part 4: Core build system changes, lots of libevent/IPC junk.
This is mostly ifdefs, but as you can see, Solaris is actually a lot like Linux. They're both more SysV than BSD at core, and most of the differences have more to do with Solaris not using glibc than anything else.

I still need to audit a lot of these changes and understand why they're needed and what the alternative approaches are. After this patch, most of the core functionality needed to build Solaris is here.
2019-11-04 11:52:17 +08:00
wolfbeast
1e7a9e0e28 No Issue - Expand HWA over RDP to Windows 8.1 and 10.
When Mozilla implemented this initially, only Windows 8 existed.
Because of the strict equal check, 8.1 and 10 didn't get HWA over RDP
while they are perfectly capable of doing so with RemoteFX. This change
allows any version of Windows from 8.0 onwards to use HWA over RDP.
2019-10-18 09:05:00 +08:00
Ascrod
53bfc43dbe Issue #999 - Disable native file picker by default. 2019-08-17 13:33:40 +08:00
Ascrod
4d854945cd Issue #999 - Use xdg-desktop-portal for file selection dialogs on Linux. 2019-08-17 13:33:37 +08:00
wolfbeast
5944b47f79 Perform a size check when dealing with clipboard data to be sure.
Follow-up to 0b6d9a47051be9ef4d064c6f7c60717da91d0bc2
2019-05-31 07:22:14 +08:00
wicknix
7dacd442cf Fix scroll bar orientation on MacOS 2019-05-17 22:17:18 +08:00
wicknix
a446734d20 Bug1408701: Ensure that we continue to show dark scrollbar thumbs on..
..macOS 10.13+ when scrollbars are always displayed. r=mstange
2019-04-19 09:35:10 +08:00
wolfbeast
5f10407c8c 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-16 00:28:33 +08:00
wolfbeast
c15f982d7a 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-16 00:28:11 +08:00
Alex Gaynor
84cc1f3239 Handle pasted data of certain types with an odd length. 2019-02-16 00:28:10 +08:00
wolfbeast
9b1124ccbd Remove VR hardware support.
This resolves #881
2019-02-16 00:20:27 +08:00
wolfbeast
107ddd1148 Don't allocate PendingAction twice. 2019-02-16 00:18:34 +08:00
wolfbeast
416ce4eb69 Protect main thread in-process access to WinCompositorWidget transparent surface. 2019-02-16 00:18:24 +08:00
wicknix
50f698eb3c 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
2019-02-16 00:18:08 +08:00
wicknix
6ae162ff84 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
2019-02-16 00:18:06 +08:00
Mihail Zenkov
640ededc60 Fix timer overflow on converting from sec to msec in idleService 2019-02-16 00:14:06 +08:00
wolfbeast
80e25ee7e5 Bug 1467363 - Protect access to mTransparentSurface with a lock. 2019-02-16 00:13:13 +08:00
wolfbeast
ad782894c8 Remove all C++ telemetry autotimers 2019-02-16 00:12:34 +08:00
wolfbeast
8c8145e620 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.
2019-02-16 00:12:32 +08:00
wolfbeast
adca8376ea 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.
2019-02-16 00:12:02 +08:00
wolfbeast
bb95fcfca5 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
2019-02-16 00:09:50 +08:00
SpockMan02
2d708bf86c Undo Mozilla Bug 1302937; Reinstate -moz-mac-lion-theme media query 2019-02-16 00:06:39 +08:00
wolfbeast
ea3ff24118 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.
2019-02-16 00:05:45 +08:00
wolfbeast
550c8977c1 Issue #12 Part 2: Stop using nsIDOMEvent in IsAcceptableInputEvent. 2019-02-16 00:05:40 +08:00
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