Commit Graph

314 Commits

Author SHA1 Message Date
Mats Palmgren
8852b5e235 Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 11:36:14 -04:00
Mats Palmgren
e428944bb4 Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 11:35:25 -04:00
Carsten "Tomcat" Book
abd1345059 Backed out changeset 513192eb7df4 (bug 1148971) for causing bc2 memory leaks 2015-03-30 15:04:09 +02:00
Carsten "Tomcat" Book
837f11924f Backed out changeset 9534a3d38191 (bug 1149041) 2015-03-30 15:03:19 +02:00
Mats Palmgren
dd2ed0b574 Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Mats Palmgren
2268b8c0ad Bug 1148971 - Make nsITheme::GetMinimumWidgetSize return a LayoutDeviceIntSize result instead of the unit-less nsIntSize type. r=roc 2015-03-30 10:37:33 +00:00
Andrea Marchesini
b212600c95 Bug 1148527 - Indentation fix after bug 1145631, r=ehsan 2015-03-27 18:52:19 +00:00
George Wright
d57c49038b Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-16 14:30:41 -04:00
Martin Stransky
7319f8ce34 Bug 1073117 - Fixed Theme issues with GTK 3.14 - GtkButtons - use border style
property for focus rendering. Don't follow interior-focus which is always true in Gtk 3.14.
r=karlt
2015-03-25 11:41:21 -07:00
Martin Stransky
735fac5fa4 Bug 1073117 - Theme issues with GTK 3.14 - fix gtk button and entry size, r=karlt
Inner borders and focus theming has been removed in Gtk 3.14 so we can't use them to calculate button size.
The size should be computed as border + padding.
2015-03-25 11:41:01 -07:00
Martin Stransky
2a87e54379 Bug 1144643 - Render tooltips as transparent on Gtk3. r=karlt 2015-03-18 07:14:00 -04:00
Martin Stransky
0d5cb8174d Bug 1143686 - Gtk3 - Render scrollbar thumb with margin. r=karlt 2015-03-16 08:00:00 -04:00
Ehsan Akhgari
33bb32f549 Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
This patch was automatically generated using the following script:

function convert() {
echo "Converting $1 to $2..."
find . \
       ! -wholename "*/.git*" \
       ! -wholename "obj-ff-dbg*" \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.c" \
         -o -iname "*.cc" \
         -o -iname "*.idl" \
         -o -iname "*.ipdl" \
         -o -iname "*.ipdlh" \
         -o -iname "*.mm" \) | \
    xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Wes Kocher
55c1be6dc4 Backed out changeset 6ef7ca8f1db3 (bug 1066531) so I can get at a patch that caused near-permafailing bc3 2015-03-20 17:17:19 -07:00
George Wright
608af99113 Bug 1066531 - Delay tab switching until content is ready in e10s mode r=mconley,mstange 2015-03-20 15:09:58 -04:00
Masayuki Nakano
fdfa26211e Bug 1143197 part.2 Assume that composition is committed if a call of gtk_im_context_reset() causes composition string becomes empty r=m_kato 2015-03-20 01:52:25 +09:00
Masayuki Nakano
ab8308aa78 Bug 1143197 part.1 Use current IM context at handling key events rather than active IM context r=m_kato 2015-03-20 01:52:24 +09:00
Kevin Brosnan
fc67895ba3 Bug 1141207 add gtk_print_settings_foreach to mozgtk.c. r=karlt 2015-03-09 14:42:00 +01:00
Masayuki Nakano
23b86c9b04 Bug 1140832 Don't call gtk_im_context_reset() during "delete_surrounding" notification r=m_kato 2015-03-17 16:07:02 +09:00
David Anderson
5d39c89af1 Ensure input events account for APZ transforms on Gtk. (bug 1143567 part 2, r=kats) 2015-03-16 16:29:55 -07:00
Daniel Holbert
a1ce11ed38 Bug 1128934 followup: Add "mozilla::" namespace prefix to fix build bustage (hidden by unified builds on some systems) in nsWindow.h. rs=nical
CLOSED TREE
2015-03-09 11:12:20 -07:00
Daniel Holbert
829fec05df Bug 1082579 followup: Forward-declare 'PrintData' as 'class' instead of 'struct', since ipdl apparently converts 'struct' to 'class'. rs=mconley
CLOSED TREE
2015-03-09 10:52:18 -07:00
Nicolas Silva
d83a379f44 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Mike Conley
340a4385f3 Bug 1090448 - nsDeviceContextSpecG should not use GtkPrinter until the print job is ready. r=karlt.
In the multi-process case, we might need to query the system (and maybe the
network) for a printer with a name matching the one we're looking for. In
order to not spin an event loop at dangerous times (since searching for printers
is either asynchronous, or requires an event loop), we defer searching for
the printer until we've already finished reflowing and rendering the document
to be printed.
2015-03-05 16:05:33 -05:00
Mike Conley
1f2743fe21 Bug 1090448 - Add GTK-specific PrintData fields and serialization / deserialization. r=karlt. 2015-03-05 11:17:18 -05:00
Mike Conley
93d1ac8608 Bug 1090448 - Add initial serialization and deserialization capabilities for nsPrintOptionsGTK. r=karlt. 2015-01-30 20:54:43 -05:00
dvander@alliedmods.net
70d90515b1 Factor out how APZ-aware events are dispatched from widgets. (bug 1126090 part 2, r=kats) 2015-03-06 14:26:59 -08:00
Martin Stransky
9748ea506e Bug 635134 - Adds X11 run-time check for Gtk3 backend. r=karlt 2015-03-05 03:56:00 +01:00
Masayuki Nakano
0b52432e63 Bug 1119609 part.3 Implement converting methods from key/code value to key/code name index r=smaug 2015-02-19 15:50:19 +09:00
David Anderson
2147691b41 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Carsten "Tomcat" Book
ad716b71e4 Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
David Zbarsky
f180088d5f Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Nicolas Silva
d0462d286c Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Martin Stransky
6727c7a42d Bug 1097897 - Add HiDPI support (scale) for Gtk2 and update and fix calculation of scaled screen borders. r=karlt 2015-02-10 02:14:00 -05:00
Andrew Comminos
86ddf478ab Bug 1126094 - Adds high resolution display support to GdkScreen. r=karlt
--HG--
extra : rebase_source : e537c0be8ce98c46b81cb7e7e7cffb46c16e2c81
2015-01-26 17:21:00 +01:00
Nicholas Nethercote
6ee3666899 Bug 1127201 (attempt 2, part 1) - Replace most NS_ABORT_IF_FALSE calls with MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 488e401ff87e31a2074c4108c4df0572d9536667
2015-02-09 14:34:50 -08:00
Andrew McCreight
8413cc973c Back out Bug 1127201 (part 2) for various problems. 2015-02-06 15:04:32 -08:00
Robert O'Callahan
74edebf611 Bug 1129774. Part 5: Remove aContext parameter from nsIWidget::Create. r=jmathies
--HG--
extra : rebase_source : 517ff800c0307e69465a37da7e52605d2fcda0d1
2015-02-05 20:35:25 +13:00
Robert O'Callahan
378416b9f9 Bug 1129774. Part 3: Remove aContext parameter from BaseCreate and make it nonvirtual. r=jmathies
--HG--
extra : rebase_source : 9fd0a3e071b7d3ad273667f144889938bc5d9dc4
2015-02-05 18:18:30 +13:00
Nicholas Nethercote
3629781b69 Bug 1127201 (part 2) - Convert all NS_ABORT_IF_FALSE calls to MOZ_ASSERT. r=Waldo.
--HG--
extra : rebase_source : 99182e70335d2b5ff95f8c528ae992d37294be3a
2015-02-04 20:05:36 -08:00
David Zbarsky
32c35eeb2a Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Masatoshi Kimura
af0e987393 Bug 1126269 - Part 1: Remove nsError.h dependency from C sources in widget/gtk. r=roc 2015-01-30 08:53:46 +09:00
Jim Mathies
cb85ff4a2b Bug 1095754 - Add platform widget support for providing widget identifiers used in remote widget tracking and hookl this up on gtk and Windows. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies
d3c0a8cfc1 Bug 1095754 - Transfer bounds information from native plugin widgets to GTK socket widgets when the native plugin widget bounds update. r=roc 2015-01-29 13:41:57 -06:00
Jim Mathies
9ad8a70a71 Bug 1126164 - Avoid setting clip regions on plugin windows if the same clip region was already set. r=roc 2015-01-28 09:15:54 -06:00
Masayuki Nakano
3a205a6e4e Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Andrew Comminos
b44f7fe3c2 Bug 975919 - Add support for HiDPI on GTK 3.10+. r=karlt 2015-01-20 23:53:00 -05:00
Daniel Holbert
6964879aa3 Bug 1123836: Remove mostly-unused GetPath() impls from nsDeviceContextSpec[Qt,Android,G] classes. r=karlt 2015-01-21 14:09:34 -08:00
Daniel Holbert
890a89fc88 Bug 1123844: Add MOZ_OVERRIDE annotations (and a few 'virtual' annotations) where appropriate, for headers used in widget/gtk. r=karlt 2015-01-20 13:39:44 -08:00
David Anderson
1d45ba4ee3 Dispatch scroll wheel events through APZ on Gtk. (bug 1119743, r=nical)
--HG--
extra : rebase_source : c90e3ff64555bb8e121c1605628e2854ea10c823
2015-01-12 19:45:10 -08:00