Jonathan Kew
ce16a7dc51
Bug 1239855 - Fix for widget positioning/sizing on hidpi displays under Gtk. r=emk
2016-01-18 12:24:06 +00:00
Nicholas Nethercote
da19ce6e70
Bug 1239589 - Change nsBaseWidget::mBounds to a LayoutDeviceIntRect. r=kats.
...
This patch removes dozens of ToUnknown/FromUnknown conversions and doesn't add
any new ones, which is nice. It also removes UntypedDevPixelsToCocoaPoints(),
which is no longer needed.
2015-11-22 20:32:29 -08:00
Lee Salzman
8eafd627d2
Bug 1239040 - Fix DrawTargetCairo/DrawTargetSkia LockBits and BorrowedXlibDrawable to work inside PushLayer. r=jrmuizel
2016-01-13 13:11:07 -05:00
Nicholas Nethercote
21fd395339
Bug 1239530 (part 2) - Use LayoutDevice coordinates in {Start,End}RemoteDrawingInRegion() and related functions. r=kats.
2015-12-02 22:29:54 -08:00
Jonathan Kew
0d67c18f9e
Bug 890156 - patch 0.3 - Create a version of nsIWidget::Create that takes Desktop pixels, because that's what we actually need to pass in some cases. r=mstange
2016-01-13 07:32:55 +00:00
Jonathan Kew
d74daaf3aa
Bug 890156 - patch 0.2 - Remove the (unused) aRect parameter from nsBaseWidget::BaseCreate. r=kats
2016-01-13 07:32:55 +00:00
Jonathan Kew
441914872b
Bug 890156 - patch 0.1 - Switch from 'display pixels' to 'desktop pixels' terminology in widget code. r=kats
2015-11-25 19:11:58 +00:00
Xidorn Quan
8ec1ad9045
Bug 1189622 part 3 - Return failure if fullscreen support is not available for the X11 desktop. r=karlt
2016-01-12 15:18:47 +11:00
Nicholas Nethercote
6a634f5d75
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Jan Horak
e50785bc6f
Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt
2016-01-06 23:55:00 -05:00
Bob Owen
b4f6f23c16
Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
...
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2016-01-05 10:08:57 +00:00
Xidorn Quan
a4145f03ee
Bug 1221659 - Make fullscreen transition on Linux take the designed time. r=roc
2016-01-05 10:00:37 +11:00
Nicholas Nethercote
a68d3b918a
Bug 1232219 (part 2) - Fix -Wunused warnings in widget/gtk/. r=karlt.
2015-12-16 22:24:21 -08:00
Jan Horak
14e6f46e2b
Bug 1205643 - "Wrong scrollbar border prevents scrolling to cursor when mouse is on the screen edge". r=karlt
2015-12-22 05:05:00 +01:00
Wes Kocher
1a9a0126d8
Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
...
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
2015-12-21 13:47:33 -08:00
Bob Owen
6681f6ed62
Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
...
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2015-12-21 20:33:13 +00:00
Masayuki Nakano
4f019fe44a
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
21a40a0391
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
738f8217ba
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
ae857e0e63
Bug 1229665 - Convert widget clip regions to LayoutDevicePixels. r=botond.
2015-12-02 14:32:55 -08:00
Nicholas Nethercote
6f043f6b6e
Bug 1229237 (part 3) - Make nsIWidget::Invalidate() take a LayoutDeviceIntRect. r=botond.
2015-11-16 21:18:31 -08:00
Nicholas Nethercote
8da819977a
Bug 1229237 (part 1) - Make nsIWidget::{Create,CreateChildren}() take a LayoutDeviceIntRect. r=botond.
2015-11-16 00:35:18 -08:00
Mike Hommey
36755ad5a9
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
555160038d
Bug 1228281 - [GTK3] add padding to buttons. r=karlt
2015-11-30 05:26:00 +01:00
Nicholas Nethercote
5d4621e37d
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
b3312ed385
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
be3ee5bc1f
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
2015-11-18 14:11:58 +13:00
Karl Tomlinson
4016a6b368
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
7bf982d350
Bug 1224974 - fix GTK shaped window drawing. r=bas
2015-11-19 17:23:43 -05:00
Karl Tomlinson
878195ffb1
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
3b0c7b2370
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
2015-11-18 14:11:58 +13:00
Karl Tomlinson
8945e20f89
bug 1225970 dispatch an event to release the widget after draw r=roc
2015-11-19 16:41:12 +13:00
Martin Stransky
2f0cb7fca1
Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt
2015-11-18 01:03:00 +01:00
Nicholas Nethercote
23736f981c
Bug 1186795 (part 2) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc.
2015-11-17 18:18:10 -08:00
Neil Deakin
9e5e30ef30
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
927d45bfc0
Bug 1223366 - Update event.buttons on GDK_BUTTON_RELEASE [r=karlt]
2015-11-16 22:01:32 -08:00
Matt Brubeck
bb13ab3d32
Bug 431620 - Remove unused function GetToggledKeyState [r=roc]
2015-11-16 16:06:41 -08:00
Nicholas Nethercote
00492f0df0
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
eaf3acd738
Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
c265db3570
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
3dfaddf77b
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
a9b04a8e78
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
ecf3a02b22
Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
6b72094044
Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
2015-11-10 16:27:26 -08:00
Karl Tomlinson
eff74d4ab7
bug 726483 keep an extra reference to the window r=roc
2015-11-10 16:37:02 +13:00
Karl Tomlinson
e51f733f67
bug 726483 avoid DispatchResized() during size-allocate r=roc
2015-11-11 13:50:04 +13:00
Karl Tomlinson
649121d3e5
bug 726483 remove unnecessary DispatchResized() parameters r=roc
2015-11-10 15:09:52 +13:00
Botond Ballo
db5d15db66
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
2015-11-06 22:13:40 -05:00
Bas Schouten
deac142ea1
Bug 1210560 - Followup 2: Fix UniquePtr usage issue. r=bustage on a CLOSED TREE
2015-11-11 17:09:56 +01:00
Bas Schouten
b85ccf4edd
Bug 1210560 - Followup: Fix function definition prototype. r=bustage on a CLOSED TREE
2015-11-11 16:46:12 +01:00