Xidorn Quan
b8f6b5e5bf
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
84b71404df
Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj.
2016-01-05 17:08:45 -08:00
Jan Horak
1aea6b3e9f
Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt
2016-01-06 23:55:00 -05:00
Bob Owen
00e78ab6fc
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
4f4a302f65
Bug 1221659 - Make fullscreen transition on Linux take the designed time. r=roc
2016-01-05 10:00:37 +11:00
Nicholas Nethercote
c174c2e66e
Bug 1232219 (part 2) - Fix -Wunused warnings in widget/gtk/. r=karlt.
2015-12-16 22:24:21 -08:00
Jan Horak
4e9f1b175b
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
f01fa1274c
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
13cbcd9ebb
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
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