Martin Stransky
3c958b324c
Bug 1228281 - [GTK3] add padding to buttons. r=karlt
...
--HG--
extra : rebase_source : 4972b69d30730c10fbe450568cd2b1a7f3404c96
2015-11-30 05:26:00 +01:00
Nicholas Nethercote
d6e3e8a5a8
Bug 1228125 (part 2) - Remove nsIWidget::GetScreenBoundsUntyped(). r=botond.
...
--HG--
extra : rebase_source : 46118bfc0152322cfdf8a82913c8b056a3f53bdc
2015-11-25 20:55:34 -08:00
Nicholas Nethercote
e60696c015
Bug 1228125 (part 1) - Remove nsIWidget::GetBoundsUntyped(). r=botond.
...
This requires adding a new overloading of LayoutDevicePixel::ToAppUnits and a
new PixelCastJustification: LayoutDeviceIsParentLayerForRCDRSF.
--HG--
extra : rebase_source : b6d044619918818815b40c1173aa4e0551db28a1
2015-11-25 20:32:47 -08:00
Andrew Comminos
1bc0d5d5c3
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
...
--HG--
extra : rebase_source : 2d36fcd0925ff497ad717317cc656db1552a55dd
2015-11-18 14:11:58 +13:00
Karl Tomlinson
42c19dece3
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
--HG--
extra : rebase_source : c554c9cb2c30380301fb4286efb9b52497c10d9d
2015-11-25 11:07:21 +13:00
Lee Salzman
6fea42974e
Bug 1224974 - fix GTK shaped window drawing. r=bas
2015-11-19 17:23:43 -05:00
Karl Tomlinson
0fd339415f
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
22dfcf8089
Bug 1198613 - Use GTK style padding for dropdown boxes in HTML. r=karlt
...
--HG--
extra : rebase_source : b67e5c9e54429c755471bb2bceb618ed30feac60
2015-11-18 14:11:58 +13:00
Karl Tomlinson
d492b7f418
bug 1225970 dispatch an event to release the widget after draw r=roc
...
--HG--
extra : rebase_source : 11fb4b79b3a245d178e935e41a140ead22c33d31
2015-11-19 16:41:12 +13:00
Martin Stransky
b0130333d6
Bug 1209659 - Disable client-side decorations on broken Gtk3 versions (<3.20). r=karlt
2015-11-18 01:03:00 +01:00
Nicholas Nethercote
8115be87bf
Bug 1186795
(part 2) - Replace nsBaseHashtable::EnumerateRead() calls in widget/ with iterators. r=roc.
2015-11-17 18:18:10 -08:00
Neil Deakin
4f9e89b42d
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
57c0314350
Bug 1223366 - Update event.buttons on GDK_BUTTON_RELEASE [r=karlt]
...
--HG--
extra : rebase_source : 9d798ee413a11cf70d9e217ad98a5bbcd2a6cf59
2015-11-16 22:01:32 -08:00
Matt Brubeck
0954e27b0a
Bug 431620 - Remove unused function GetToggledKeyState [r=roc]
2015-11-16 16:06:41 -08:00
Nicholas Nethercote
1615245145
Bug 1224482 (part 5) - Avoid excessive mozilla:: prefixes in nsIWidget and its subclasses. r=kats.
...
A couple of typedefs make things a lot nicer.
--HG--
extra : rebase_source : ca9f02e31301601af1b0f975c5c111945af4d5e7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
e48ef7f5e0
Bug 1224482 (part 4) - Make GetClientSize() return a LayoutDeviceIntSize. r=kats.
...
--HG--
extra : rebase_source : 6364076d0924ed1cd5a952ffa1fcb0543c05c0f7
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
f38ebf7649
Bug 1224482 (part 3) - Replace GetClientOffsetUntyped() with GetClientOffset(). r=kats.
...
The patch also changes nsMenuPopupFrame::mLastClientOffset to
LayoutDeviceIntPoint.
--HG--
extra : rebase_source : d7c0784efd332e382db3f2857c8f43eabc1c807c
2015-11-13 01:37:02 -08:00
Nicholas Nethercote
369f54f3a3
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.
--HG--
extra : rebase_source : 15b2f08f90bf4d1e209c6cb885f6a6e3b8db6708
2015-11-12 16:04:52 -08:00
Nicholas Nethercote
f1b954f437
Bug 1224403 (part 12) - Remove WidgetToScreenOffsetUntyped(). r=kats.
...
There are few enough calls now that using WidgetToScreenOffset() +
ToUnknownPoint() is a better approach.
--HG--
extra : rebase_source : 18ec6677f6416b02069a646b6f45dcfaa4045671
2015-11-12 15:37:18 -08:00
Nicholas Nethercote
7922110bde
Bug 1224403 (part 2) - Split GetClientOffset() into typed and untyped versions. r=kats.
...
--HG--
extra : rebase_source : 5197f42325d36313ad8c6178baaabcf6f7df532c
2015-11-11 19:56:06 -08:00
Nicholas Nethercote
ff5231e6d2
Bug 1224403 (part 1) - Make Configuration::mBounds a LayoutDeviceIntRect. r=kats.
...
--HG--
extra : rebase_source : a0ae2779dfd9bc10730c8b38bc082453845daa1f
2015-11-10 16:27:26 -08:00
Karl Tomlinson
6f30bac4d2
bug 726483 keep an extra reference to the window r=roc
...
--HG--
extra : rebase_source : 96a7021722e411d15100cfeba7708838cfd022c2
2015-11-10 16:37:02 +13:00
Karl Tomlinson
694c7820e4
bug 726483 avoid DispatchResized() during size-allocate r=roc
...
--HG--
extra : rebase_source : 1675342413c17694ce49041ba8b368c84c98c440
2015-11-11 13:50:04 +13:00
Karl Tomlinson
a21405714b
bug 726483 remove unnecessary DispatchResized() parameters r=roc
...
--HG--
extra : rebase_source : 70e8eac6d1ce0ec713f553c50c85a724602008a7
2015-11-10 15:09:52 +13:00
Botond Ballo
a592a77364
Bug 1222661 - Replace ToUntyped(obj) calls with obj.ToUnknown*(). r=nical
...
--HG--
extra : rebase_source : 1cab46638599d8c4e6183c42a6fa9d41702392cb
extra : source : cabc28a2200b9b4e5e137d331ee5b86b3c09f065
2015-11-06 22:13:40 -05:00
Bas Schouten
2cb5ac748c
Bug 1210560 - Followup 2: Fix UniquePtr usage issue. r=bustage on a CLOSED TREE
2015-11-11 17:09:56 +01:00
Bas Schouten
a9e797cc6b
Bug 1210560 - Followup: Fix function definition prototype. r=bustage on a CLOSED TREE
2015-11-11 16:46:12 +01:00
Bas Schouten
8ea007d683
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
ad0dd8414a
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.
--HG--
extra : rebase_source : 6bfb15bfc4698e2eba7d4db55497299d3dffcd51
2015-11-09 21:37:32 -08:00
Nicholas Nethercote
ab7974e9a5
Bug 1222943 (part 1) - Change Touch::mRadius from nsIntPoint to LayoutDeviceIntPoint. r=kats.
...
This adds a three missing unit conversions for touch radii.
--HG--
extra : rebase_source : 353494783099ed0520cc69ae691a4cf5360c9b20
2015-11-09 21:37:31 -08:00
Nathan Froyd
e763192040
Bug 1216611 - add mozilla::MakeUniqueFallible and convert uses throughout the tree; r=Waldo
2015-11-05 16:24:24 -05:00
Nicholas Nethercote
4a551425d8
Bug 1221610 - Remove ToIntMargin(). r=jrmuizel.
...
It's now a no-op.
2015-11-04 09:40:16 -08:00
Bill McCloskey
253fd15a51
Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt)
2015-11-04 13:40:15 -08:00
Christoph Kerschbaumer
1ee2473768
Bug 1206964 - Use channel->AsyncOpen2() in netwerk/base/nsNetUtil.cpp (r=sicking)
2015-11-02 17:31:08 -08:00
Nathan Froyd
e255b900f5
Bug 1220392 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in widget/; r=roc
2015-10-30 14:35:28 -04:00
Martin Stransky
c60b430e10
Bug 1219717 - Derive text color/background from GtkTextView. r=karlt
2015-10-30 09:08:00 +01:00
Birunthan Mohanathas
9985829ecc
Bug 1219392 - Capitalize mozilla::unused to avoid conflicts. r=froydnj
2015-11-02 07:53:26 +02:00
Ryan VanderMeulen
58e04dabc8
Bug 540078 - Remove assertion annotations that are no longer needed and add crashtest.
2015-10-30 19:41:18 -04:00
Wes Kocher
5f4bea7be9
Backed out changeset 47d076aeb8c4 (bug 1218552) for build bustage CLOSED TREE
...
--HG--
extra : commitid : 6iivEDq5EWc
2015-10-30 13:37:50 -07:00
Bill McCloskey
1c7268802f
Bug 1218552 - Fix GTK drag-and-drop coordinate scaling on HiDPI displays (r=karlt)
2015-10-30 13:01:58 -07:00
Benoit Girard
698006ddf9
Bug 1211612 - Add DragInputBlock for async scrollbars. r=kats
...
--HG--
extra : commitid : Grx9aF2UvH2
extra : rebase_source : ea2601a2a3ac2870383fa86d8e7bd90342424ce1
2015-10-26 16:06:49 -04:00
Andrew Comminos
df747d18d1
Bug 1218008 - Fix progress bar rendering on the Ambiance GTK3 theme. r=karlt
2015-10-29 15:35:49 -07:00
Masayuki Nakano
d9e6fc64a8
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
Jan Horak
6e34049b00
Bug 1216582 - [gtk3] Scrollbar buttons not drawn correctly. r=karlt
2015-10-22 01:00:00 +02:00
Robert O'Callahan
941a7115cd
Bug 978679. Convert GDK touch event coordinates properly. r=karlt
...
--HG--
extra : commitid : 7fYbzS8U8OD
extra : rebase_source : 0a97ccf94d9a98390c6911b71eec6d8f4c1cbf08
2015-10-22 17:06:14 +13:00
Karl Tomlinson
92cf9adfb9
bug 1216916 clean up when InvokeDragSession() fails r=roc
...
--HG--
extra : rebase_source : 3e29c8454779b50d9eef9f4ea24aec537b8f865c
2015-10-21 22:16:40 +13:00
Makoto Kato
26c8790fb2
Bug 978679. Implement touch events for GTK3. r=karlt
...
--HG--
extra : commitid : 7Sm7XcTb8Do
extra : rebase_source : c10ad90f03b90eb34349edc80be110b90cc2a663
2015-04-30 08:29:34 +12:00
Carsten "Tomcat" Book
81454198ef
Backed out changeset 2f909d41108b (bug 978679) for bustage on a CLOSED TREE
2015-10-19 13:22:55 +02:00
Makato Kato
5a68a1b8d5
Bug 978679 - Implement touch events for GTK3. r=karlt
...
--HG--
extra : commitid : 2tbZZf41zmN
extra : rebase_source : d861252c9bf78b6ffd68dd2c7f14fbf4ef5afdf1
2015-10-19 23:04:52 +13:00
Arnaud Bienner
d7ee653555
Bug 1198256 - Reactivate the old Gtk color picker for now. r=karlt
...
--HG--
extra : rebase_source : 276de3f70ed876a75fb4f768a03e575ffb33ce04
2015-10-17 14:57:22 +02:00