Andrew Comminos
10a8163b58
Bug 1179780 - Render opaque scrollbar troughs in the root viewport on GTK3. r=karlt
...
--HG--
extra : rebase_source : 2fe41b3c52e1b692e1a18b3c8123fc87569f9a57
2015-07-14 07:35:00 -04:00
Karl Tomlinson
b90e0e52f5
bug 1182972 no need to pass member variable bounds to NativeResize r=acomminos
...
--HG--
extra : rebase_source : 5ede1fde53d0747571256e137656c84806f17dbf
2015-07-14 15:24:56 +12:00
Karl Tomlinson
00d0625ec1
bug 1182972 remove mNeedsMove/mNeedsResize logic; instead process changes immediately r=acomminos
...
--HG--
extra : rebase_source : 11e93975d7334a065c5305ab126f50be0feaedca
2015-07-14 15:23:47 +12:00
Karl Tomlinson
3c97c275f9
bug 1182972 create NativeMove helper method r=acomminos
...
--HG--
extra : rebase_source : 7a2eb54a0f1892a498251b4553b5f67794fcc365
2015-07-13 14:29:05 +12:00
Karl Tomlinson
055a5d09a9
bug 1182972 remove unused aRepaint parameter from NativeResize methods r=acomminos
...
--HG--
extra : rebase_source : 8b3f01e7c32e8cb5dc125fdd756e983538a4943d
2015-07-13 13:57:23 +12:00
Andrew Comminos
ce4cdce4b8
Bug 1178799 - Filter X11 SelectionRequest events with an invalid requestor on GTK3. r=karlt
...
--HG--
extra : rebase_source : cd7370af74195ad1c7736c8148d537e3a47bd4d1
2015-07-13 08:58:00 -04:00
Birunthan Mohanathas
a8939590de
Bug 1182996 - Fix and add missing namespace comments. rs=ehsan
...
The bulk of this commit was generated by running:
run-clang-tidy.py \
-checks='-*,llvm-namespace-comment' \
-header-filter=^/.../mozilla-central/.* \
-fix
2015-07-13 08:25:42 -07:00
Michael Layzell
dbe075d5b8
Bug 1180993 - Part 3: Correct use sites of functions which return already_AddRefed. r=ehsan
2015-07-10 08:36:00 -04:00
Andrew Comminos
21488f9240
Bug 1174248 - Workaround unico theme engine resizer bug on GTK3. r=karlt
2015-07-08 08:40:00 -04:00
Dragana Damjanovic
7987d2203e
Bug 905127 - Part 2 - remove unnecessary nsNetUtil.h includes r=jduell
2015-07-06 07:55:00 +02:00
Emanuel Hoogeveen
7d1e52f2ff
Bug 905127 - Part 1 - Make some functions from nsNetUtil not inline. r=jduell
2015-07-07 04:17:00 +02:00
Andrew Comminos
c186e55d71
Bug 1180971 - Fix X11 SHM invalidation regions on HiDPI with GTK3. r=karlt
...
--HG--
extra : rebase_source : 62d7a80d791cdd7685ae32178610b815745524c5
2015-07-06 16:57:00 +02:00
Andrew Comminos
3b68c90816
Bug 1180008 - Define gtk_window_get_window_type in mozgtk. r=karlt
...
--HG--
extra : rebase_source : a40f50fa12d8d86f62d77cd815c05616ac3136c3
2015-07-06 08:26:00 +02:00
Andrew Comminos
1b154e598d
Bug 1176109 - Don't attach menu popups to menubars on GTK3. r=karlt
...
--HG--
extra : rebase_source : c4edc3f54caa32b7641cd5895732daa7755e7e28
2015-07-06 21:55:00 +02:00
Andrew Comminos
e47140908b
Bug 983843 - Switch to GtkOffscreenWindow for drag source widget, fixing ghost tabs on some GTK versions. r=karlt
...
--HG--
extra : rebase_source : 278ba83eed30b1ff7d0824822a6ab6518f3313f7
2015-06-17 12:20:00 +02:00
Karl Tomlinson
41e62ce1ec
bug 1180008 don't measure size of decorations for override-redirect windows r=acomminos
...
--HG--
extra : rebase_source : fee0440498753be5b2c011d7915eb044cff90963
2015-04-21 19:52:00 +12:00
Karl Tomlinson
578ad122af
bug 1180008 use mGdkWindow instead of finding it from gtk_widget_get_window(mShell) r=acomminos
...
Since https://hg.mozilla.org/mozilla-central/rev/9541dbf6e020#l2.184
there is only one GdkWindow per nsWindow.
The mGdkWindow pointer is cleared in OnContainerUnrealize() before the shell
widget destruction completes:
https://hg.mozilla.org/mozilla-central/annotate/50b95032152c/widget/gtk/nsWindow.cpp#l2480
--HG--
extra : rebase_source : fe6da6f16514bbb18f3ab65da3b21a2816bc23a0
2015-04-21 19:06:41 +12:00
Karl Tomlinson
ff72a52865
bug 1180008 provide gtk_window_get_window_type for old GTK versions r=glandium
...
--HG--
extra : rebase_source : c1d1f1778f27152ce2e6470b44d77939f97cb777
2015-04-21 18:17:24 +12:00
Andrew Comminos
3bdf142d83
Bug 1177171 - Round widget coordinates on GTK3. r=karlt
...
--HG--
extra : rebase_source : ac32281d7251453c5075fc0dc22c7461af5f32f6
2015-06-29 11:50:00 -04:00
Nathan Froyd
974d8120f2
Bug 1161627 - part 2 - machine-convert TemporaryRef<T> to already_AddRefed<T>; r=ehsan
...
This conversion was done with the script:
find . -name '*.cpp' -o -name '*.h' -o -name '*.mm' -o -name '*.idl' | \
egrep -v 'cairo-win32-refptr.h|RefPtr.h|TestRefPtr.cpp' | \
xargs sed -i -e 's/mozilla::TemporaryRef</already_AddRefed</g' \
-e 's/TemporaryRef</already_AddRefed</g'
Manual fixups were performed in the following instances:
- We handled mfbt/RefPtr.h manually so as to not convert TemporaryRef itself
into already_AddRefed.
- The following files had explicit Move() calls added to make up for the lack
of a copy constructor on already_AddRefed:
dom/base/ImageEncoder.cpp
dom/media/MediaTaskQueue.{h,cpp}
dom/media/webaudio/PannerNode.cpp
- A redundant overload for MediaTaskQueue::Dispatch was deleted.
- A few manual fixups were required in mfbt/tests/TestRefPtr.cpp.
- Comments, using declarations, and forward declarations relating to
TemporaryRef in dom/canvas/ and gfx/layers/ were changed to refer to
already_AddRefed.
2015-06-17 10:00:52 -04:00
Andrew Comminos
69949017a1
Bug 1175171 - Deallocate GTK's KeymapWrapper on shutdown. r=karlt
...
--HG--
extra : rebase_source : 5ff0e22c28e8349902d4ca0146b63d604a0abd58
2015-06-26 11:28:00 -04:00
Andrew Comminos
7a31276561
Bug 1131978 - Acknowledge GDK's scale factor in scale calculation. r=karlt
2015-06-26 10:19:00 +02:00
Makoto Kato
2eaace5db3
Bug 1176843 - Don't query caret rect on layout change. r=masayuki
2015-06-26 00:08:29 -07:00
Botond Ballo
5c454a43e7
Bug 1177024 - Fix clang warnings-as-errors in GTK3 build. r=karlt
...
--HG--
extra : source : 22ae9b52ec5b25fab359ff32e04072df6412662e
2015-06-21 15:27:07 -04:00
Andrew Comminos
c32ccdaa18
Bug 1171696 - Require room for scrollbar sliders and draw troughs only when there is room for a slider or buttons on GTK. r=karlt
...
--HG--
extra : rebase_source : 3c9d3ce76209e5ae82164d0271cf93509f4be856
2015-06-17 07:27:00 -04:00
Masayuki Nakano
9805b3e4d3
Bug 1175382 TextRangeArray::TargetClauseOffset() and TextRangeArray::TargetClauseLength() shouldn't be public and same name methods of WidgetCompositionEvent should be used r=m_kato
2015-06-18 13:43:18 +09:00
Andrea Marchesini
45578e03fa
Bug 1170794 - Improve the length check of the input in nsUnicode*::GetMaxLength, r=dveditz
2015-06-17 12:21:39 +01:00
Karl Tomlinson
603b1ace02
bug 147419 remove ununsed plexName colorspace resolutionName and downloadFonts r=roc
...
This was only used to write to and read from otherwise unused preferences.
--HG--
extra : rebase_source : a538569807b8340dae3fe9f0cbfc68334e20ccc9
2015-06-11 09:34:27 +12:00
Karl Tomlinson
71e6f82be1
bug 147419 remove meaningless GetPrintMethod() r=roc
...
--HG--
extra : rebase_source : bd89c4f495cd14a190bb65aaea2e23e54591ca5d
2015-06-16 11:02:34 +12:00
Karl Tomlinson
bb37b9da4d
bug 147419 remove print(|.<modulename>)(|.printer_<printername>).filename pref reading code r=roc
...
There are no default pref values, and even if some have been set, the value
is subsequently overridden by the print.print_to_filename pref, which exists
if saved from a previous nsPrintSettingsGTK.
--HG--
extra : rebase_source : 6912584e537d77d4efb1b1c3716d6c38bda3899e
2015-06-10 19:11:49 +12:00
Karl Tomlinson
4c5d983774
bug 147419 use GTK default paper size and orientation r=roc
...
In the nsPrintSettingsGTK constructor, gtk_paper_size_new(nullptr) gets the
system default paper size from the locale and gtk_page_setup_new() sets
default orientation to portrait.
These are subsequently overridden by prefs if any have been saved from
a previous nsPrintSettingsGTK.
--HG--
extra : rebase_source : 37b626bb0ed93454f6adc8916dbc674cf37ed4fe
2015-06-10 18:51:46 +12:00
Karl Tomlinson
a19a1f0d0c
bug 147419 remove ununsed nsIPrintSettings::printCommand and print_command prefs r=roc
...
These was used only to write to and read from each other.
--HG--
extra : rebase_source : ef49678652f829fe23611fb2294a22c3ffd91cf1
2015-06-10 18:10:28 +12:00
Andrew Comminos
d9685f25c8
Bug 1167239 - Make GTK button activity require hover. r=karlt
...
--HG--
extra : rebase_source : 880240867939e93cd91eec3d11029c70baf8c077
2015-06-16 07:58:00 -04:00
Andrew Comminos
6021357a72
Bug 1171011 - Use only document padding for MOZ_GTK_ENTRY in XUL. r=karlt
2015-06-10 12:38:00 -04:00
Hubert Figuière
40a12f2005
Bug 1174374 - gdk_cursor_new() is deprecated in 3.16. Use gdk_cursor_new_for_display(). r=karlt
...
--HG--
extra : transplant_source : %DF%15%81%18%1A%93D%ADQ%BDO%3EN4%F7%3E%F9%8B%3C%0D
2015-06-12 22:38:20 -04:00
Makoto Kato
0597055c59
Bug 1120851 - Set candidate window position for prediction even if no composition. r=masayuki
2015-06-15 16:01:39 +09:00
Daniel Holbert
632bb46230
Bug 1174287: Use mozilla:: prefix for namespaced classes in nsGtkIMModule.h. r=Ms2ger
2015-06-12 14:19:41 -07:00
Hubert Figuière
1c7aad3a06
Bug 1168527 - Variable was re-declared causing a bustage on gcc 5. r=lsalzman
2015-06-12 14:19:34 -04:00
Andrew Comminos
40b78be093
Bug 1168527 - Replay clips into the system cairo on GTK3. r=lsalzman
...
--HG--
extra : rebase_source : 013e1811f6b3fa1f599531153c292d7a5136f087
extra : histedit_source : 7c3f596514ea87840a0bd231b247b119ed9d3048
2015-06-09 13:46:09 -04:00
Andrew Comminos
1013161996
Bug 1167356
- Handle return value of DataSourceSurface::Map wherever possible. r=Bas
...
--HG--
extra : rebase_source : fe4fcb9c3a89e2573e6fde423ed8d96f31e00f14
2015-06-11 13:06:23 -04:00
Masayuki Nakano
107d7e94f3
Bug 1130937 part.3 nsGtkIMModule should adjust candidate window position when layout is changed r=m_kato
2015-06-11 19:50:15 +09:00
Masayuki Nakano
f2a58d2261
Bug 1130937 part.2 nsGtkIMModule should set candidiate window position to bottom left of the target clause in vertical writing mode r=m_kato
2015-06-11 19:50:15 +09:00
Masayuki Nakano
91ed158c1d
Bug 1130937 part.1 nsGtkIMModule should cache selection r=m_kato
2015-06-11 19:50:15 +09:00
Mike Hommey
4b28879d7b
Fixup for bug 1129873 for bustage of GTK+3 builds on elm. r=karlt. DONTBUILD.
2015-06-11 13:21:02 +09:00
Xidorn Quan
7699870266
Bug 1161802 part 1 - Add FullscreenChanged callback in WidgetListener. r=roc
...
--HG--
extra : source : dcfb961149d8c8e56ff787fa812dc781a491ee53
2015-06-10 23:13:12 +12:00
Jan Horak
1f0864644b
Bug 1129873 - [GTK3] Implement wrapper to GtkAppChooserDialog to allow using native application chooser. r=karlt
2015-06-08 04:41:00 -04:00
Jonathan Kew
f05c9dee41
Bug 1113206 patch 2: Disable use of Cocoa and Gtk native-theme dropdown rendering that doesn't play well with vertical writing mode. r=roc
2015-06-08 07:21:42 +01:00
Andrew Comminos
bcf78111e1
Bug 1171029 - Only omit legacy scroll events on GTK3. r=karlt
...
--HG--
extra : rebase_source : c4badf1f606bbb5cf0052265f38514acc3eee63c
2015-06-03 07:47:00 -04:00
Martin Stransky
649e670ec4
Bug 1169233
- Get grey (inactive) text color from menu labels. r=karlt
2015-05-29 05:40:00 -04:00
Martin Stransky
3626e5799b
Bug 1169232 - [gtk3] Add background class to tooltip window to get correct background color. r=karlt
2015-06-01 05:01:00 -04:00