Masayuki Nakano
e6e250467e
Bug 1179632 part.2 WidgetCompositionEvent should store NativeIMEContext which caused the event and PuppetWidget should store it for GetNativeIMEContext() r=smaug, sr=smaug
2015-12-11 15:15:57 +09:00
Masayuki Nakano
24944df82e
Bug 1179632 part.1 native IME context should not be stored in InputContext but should be able to retrieve with nsIWidget::GetNativeData() r=smaug
2015-12-11 15:15:57 +09:00
Nicholas Nethercote
b4513bb5c0
Bug 1230047 (part 2) - Make several PaintWindow() functions use LayoutDevice coordinates. r=kats.
...
Specifically, the PaintWindow() functions in the following classes:
- nsIWidgetListener, and its subclasses nsView and nsWebBrowser;
- nsChildView;
- nsWindow (the one in widget/uikit/);
- nsViewManager.
2015-12-02 21:45:41 -08:00
Nicholas Nethercote
ca0f34e019
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
086ae9a5bb
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
aa1114c018
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Mike Hommey
2662fa94e2
Bug 1225682 - Don't use nsAuto{,C}String as class member variables in widget/. r=roc
2015-12-02 11:04:37 +09:00
Martin Stransky
8bcec4ebaf
Bug 1228281 - [GTK3] add padding to buttons. r=karlt
2015-11-30 05:26:00 +01:00
Nicholas Nethercote
f64ae33631
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
bae167ebf7
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
2015-11-25 20:32:47 -08:00
Andrew Comminos
b85d12ee54
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
2015-11-18 14:11:58 +13:00
Karl Tomlinson
21cb188113
bug 1227008 use GtkPaperSize in GtkPageSetup directly, instead of maintaining a separate copy r=acomminos
...
Fixes a leak in nsPrintSettingsGTK::SetGtkPrintSettings() and
missed paper size copy in operator= (bug 965991).
GtkPageSetup always has a GtkPaperSize [1], which is returned from
gtk_page_setup_get_paper_size() as indicated in the docs [2]:
"Return value: the paper size" without "or NULL".
[1] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n68
[2] https://git.gnome.org/browse/gtk+/tree/gtk/gtkpagesetup.c?h=2.18.0#n164
2015-11-25 11:07:21 +13:00
Lee Salzman
f5ef2e5557
Bug 1224974 - fix GTK shaped window drawing. r=bas
2015-11-19 17:23:43 -05:00
Karl Tomlinson
0ad09a4d56
back out 938041e183e5 from bug 1198613 for assertion failure in 423107-1.xhtml
...
"Placeholder relationship should have been torn down already; this might mean we have a stray placeholder in the tree."
2015-11-20 11:44:29 +13:00
Andrew Comminos
fc8b58a762
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
2015-11-18 14:11:58 +13:00
Karl Tomlinson
e9e119631d
bug 1225970 dispatch an event to release the widget after draw r=roc
2015-11-19 16:41:12 +13:00
Martin Stransky
c916dfed4a
Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt
2015-11-18 01:03:00 +01:00
Nicholas Nethercote
659f2d2515
Bug 1186795 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc.
2015-11-17 18:18:10 -08:00
Neil Deakin
f281bc5024
Bug 1212733, cache dnd window state instead of using gtk_window_get_type_hint, r=karlt
2015-11-17 07:13:22 -05:00
Matt Brubeck
edf01dff2d
Bug 1223366 - Update event.buttons on GDK_BUTTON_RELEASE [r=karlt]
2015-11-16 22:01:32 -08:00
Matt Brubeck
9bd90550ae
Bug 431620 - Remove unused function GetToggledKeyState [r=roc]
2015-11-16 16:06:41 -08:00
Nicholas Nethercote
49db2e3321
Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats.
...
A couple of typedefs make things a lot nicer.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
2828d6ed1d
Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
dd42850a5b
Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
...
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
7cd70b33b4
Bug 1224482 (part 1) - Tweak typed/untyped versions of Get{,Client,Screen}Bounds(). r=kats.
...
In nsIWidget, GetBoundsUntyped(), GetClientBoundsUntyped() and
GetScreenBoundsUntyped() are currently the primary implementations, and the
untyped versions are defined on top of them. This patch flips that around.
2015-11-12 16:04:52 -08:00
Nicholas Nethercote
e757101f7d
Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats.
...
There are few enough calls now that using WidgetToScreenOffset() +
ToUnknownPoint() is a better approach.
2015-11-12 15:37:18 -08:00
Nicholas Nethercote
92d3c8eb1b
Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
0dd9ab6cb8
Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
2015-11-10 16:27:26 -08:00
Karl Tomlinson
dca0e12009
bug 726483 keep an extra reference to the window r=roc
2015-11-10 16:37:02 +13:00
Karl Tomlinson
3b24874b77
bug 726483 avoid DispatchResized() during size-allocate r=roc
2015-11-11 13:50:04 +13:00
Karl Tomlinson
ed506cb235
bug 726483 remove unnecessary DispatchResized() parameters r=roc
2015-11-10 15:09:52 +13:00
Botond Ballo
c16d0046cf
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
2015-11-06 22:13:40 -05:00
Bas Schouten
04dabe8e24
Bug 1210560 - Followup 2: Fix UniquePtr usage issue. r=bustage on a CLOSED TREE
2015-11-11 17:09:56 +01:00
Bas Schouten
754f030a2e
Bug 1210560 - Followup: Fix function definition prototype. r=bustage on a CLOSED TREE
2015-11-11 16:46:12 +01:00
Bas Schouten
5d2740d8c3
Bug 1210560 - Part 7: Convert GTK widget code to use Moz2D instead of PushGroup/PopGroup. r=jwatt
2015-11-11 16:15:40 +01:00
Nicholas Nethercote
7215329de9
Bug 1223310 (part 2) - Use LayoutDeviceIntRect for bounds-related functions in nsIWidget. r=kats.
...
The patch renames the existing functions (GetBounds(), GetClientBounds(), etc)
by adding an |Untyped| suffix. It then adds typed equivalents, and uses those
typed equivalents in all the call sites where it's easy to do so. The trickier
remaining call sites are converted to use the Untyped-suffix version.
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
6474cc9afe
Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
...
This adds a three missing unit conversions for touch radii.
2015-11-09 21:37:31 -08:00
Nathan Froyd
2258a5261d
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
Nicholas Nethercote
a4852a0e89
Bug 1221610 - Remove ToIntMargin(). r=jrmuizel.
...
It's now a no-op.
2015-11-04 09:40:16 -08:00
Bill McCloskey
4bd574629c
Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt)
2015-11-04 13:40:15 -08:00
Christoph Kerschbaumer
bc8b658c1b
Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking)
2015-11-02 17:31:08 -08:00
Nathan Froyd
db08727d19
Bug 1220392 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in widget/; r=roc
2015-10-30 14:35:28 -04:00
Martin Stransky
670d05b8b2
Bug 1219717 - Derive text color/background from GtkTextView. r=karlt
2015-10-30 09:08:00 +01:00
Birunthan Mohanathas
94998cf5fe
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
5619b513f9
Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest.
2015-10-30 19:41:18 -04:00
Wes Kocher
e0e08e48f6
Backed out changeset 47d076aeb8c4 (bug 1218552) for build bustage CLOSED TREE
2015-10-30 13:37:50 -07:00
Bill McCloskey
164b197f13
Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt)
2015-10-30 13:01:58 -07:00
Benoit Girard
65639b03cf
Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
2015-10-26 16:06:49 -04:00
Andrew Comminos
650bf4cef9
Bug 1218008 - Fix progress bar rendering on the Ambiance GTK3 theme. r=karlt
2015-10-29 15:35:49 -07:00
Masayuki Nakano
1b476cab10
Bug 1184890 part.2 IMContextWrapper shouldn't commit composition when a selection change notification occurred before starting current composition r=m_kato
2015-10-27 07:21:37 +09:00