Граф коммитов

466 Коммитов

Автор SHA1 Сообщение Дата
Andrew Comminos 906ea4c271 Bug 1197059 - Disable JasPer support in GDK-PixBuf. r=karlt 2015-08-28 17:15:27 -04:00
Ryan VanderMeulen 91d401abec Backed out changeset 376965bcb1f7 (bug 1197059) for Valgrind leaks. 2015-08-27 19:20:32 -04:00
Andrew Comminos 1d59f8d210 Bug 1197059 - Disable JasPer support in GDK-PixBuf. r=karlt 2015-08-27 18:35:14 -04:00
Masayuki Nakano 0d22745cda Bug 895274 part.3 Make the enum of event messages a named enum IGNORE IDL r=smaug 2015-08-26 21:56:59 +09:00
Chris Peterson 7d28169642 Bug 1198128 - Fix -Wshadow warnings in widget/gtk. r=karlt 2015-08-23 17:55:09 -07:00
Lee Salzman c864a9b192 Bug 1194397 - Force gdk_window_ensure_native on gdk window creation. r=acomminos
--HG--
extra : rebase_source : 5c40a4fc9f3bef1d1034609e2e6e5f03dc36c88b
2015-08-25 18:42:40 -04:00
Brian Birtles 3ae8210730 Fix bustage from changeset 5c5dc6f367ac (bug 1026803) r=bustage on CLOSED TREE
--HG--
extra : rebase_source : 34d0ad10e3cd76e558ce8792672e3a6289a84edb
2015-08-24 15:24:42 +02:00
Brian Birtles 2a6e6986a9 Bug 1026803 part 8 - Add ability for CurrentX11TimeGetter to perform an asynchronous request of the current time; r=karlt
--HG--
extra : rebase_source : 0f0fa181535e5c0f132cbefc9bc6d3ae2bb69c50
2015-08-12 10:35:38 +09:00
Brian Birtles 68ca603000 Bug 1026803 part 7 - Store the CurrentX11TimeGetter as a member object on nsWindow; r=karlt
In preparation for making CurrentX11TimeGetter capable of performing an
asynchronous request of the current time, this patch revises the lifetime of
such objects so that they are stored on nsWindow.

--HG--
extra : rebase_source : 486c81ad5e64ee6420907babcc97262412ff5caa
2015-08-11 17:13:44 +09:00
Brian Birtles 9a127183cd Bug 1026803 part 5 - Convert CurrentXXXTimeGetter classes from functors to helper classes; r=karlt
Previously the CurrentX11TimeGetter and CurrentWindowsTimeGetter classes acted
as functors with a single operator() method. In preparation for handling clock
skew, this patch refactors these two helper classes into regular classes with
two named methods:

  GetCurrentTime which matches the existing operator() method, and

  GetTimeAsyncForPossibleBackwardsSkew which will be used when possible
  backwards skew is detected to fetch the current time asynchronously.

Some renaming is also included to match the expanded role of these classes.

--HG--
extra : rebase_source : 4d46e09bd09cbb0dbffcb0aa46742157384d37e8
2015-02-19 14:10:00 +09:00
Brian Birtles 1f60d5ca37 Bug 1026803 part 4 - Convert GTK native event times to timestamps; r=karlt
This patch adds a helper class to widgets/gtk/nsWindow.cpp similar to the one in
widgets/windows/nsWindow.cpp and uses it to convert native event times to
mozilla::TimeStamp objects on events returned by this class.

This is similar to the operations performed for Windows native event times that
were added in bug 77992.

--HG--
extra : rebase_source : a6c4769e7da88bb4644edf8954c923a88e1c04fd
2015-08-11 16:40:34 +09:00
Masayuki Nakano 66f2c27305 Bug 895274 part.1 Rename WidgetEvent::message to WidgetEvent::mMessage r=smaug 2015-08-22 10:34:51 +09:00
Andrew Comminos bf63f14959 Bug 1187203 - Implement GtkInfoBar appearance style on GTK3. r=karlt 2015-08-21 16:38:15 -04:00
Masayuki Nakano a8be9560f4 Bug 1189396 part.3 Make IMENotification::SelectionChangeData useful even outside of IMENotification r=smaug 2015-08-22 01:43:41 +09:00
Mike Conley 5eee8c5286 Bug 1184604 - Lazily override printer output format on Linux if not already set. r=karlt
GTK versions prior to 2.24 incorrectly advertise themselves as able to print PDFs,
even when they can't. We were wholesale setting the output format to PostScript for
these older GTK versions, without giving the user the opportunity to override
it. We now lazily determine whether or not the output should be in PostScript,
which should give the user the opportunity to override.

--HG--
extra : commitid : A30C51CukFd
extra : rebase_source : 8800e463753a554902cc22fe6e973dfdab1d7c0d
extra : amend_source : 43b58fd7c2c1605351cbb24d216fb5f781625a3a
2015-07-31 13:53:49 -04:00
Masayuki Nakano c45505d74b Bug 299603 part.8 Rename aLastDispatchedData with aCompositionString in IMContextWrapper::CreateTextRangeArray() r=m_kato 2015-08-19 16:37:39 +09:00
Masayuki Nakano a115b2e0b3 Bug 299603 part.7 IMContextWrapper::CreateTextRange() should convert the caret offset from offset in characters to offset in UTF-16 r=m_kato 2015-08-19 16:37:39 +09:00
Masayuki Nakano 90cbd5150d Bug 299603 part.6 Guess the meaning of each clause in the composition string with caret position r=m_kato 2015-08-19 16:37:39 +09:00
Masayuki Nakano 3cbdc83c7d Bug 299603 part.3 IMContextWrapper::SetTextRange() shold set the style of the range which is specified by the IME r=m_kato 2015-08-19 16:37:39 +09:00
Masayuki Nakano 7d2b010aeb Bug 299603 part.2 IMContextWrapper::SetTextRange() should initialize the range offsets and fail if the range is collapsed r=m_kato 2015-08-19 16:37:39 +09:00
Masayuki Nakano d943ae3d8c Bug 299603 part.1 IMContextWrapper should have a method to initialize a TextRange r=m_kato 2015-08-19 16:37:39 +09:00
Xidorn Quan f63a930fb6 Bug 1190316 - Apply fullscreen transition on only the target monitor. r=roc
--HG--
extra : source : b3015229dd6997970ce2634b6fcf393f2f702e85
2015-08-13 08:53:53 +10:00
Nick Robson 49e872dc7e Bug 1075089 - Move popup menu frame offset to LookAndFeel and fix default offset for OS X. r=Enn
--HG--
extra : rebase_source : 7817fea6ea95e9dfc486f797114e1cfb778d5230
2015-08-04 16:41:00 -04:00
Gabor Krizsanits 8996db91c1 Bug 863512 - Fixing xul dnd panels for linux. r=enndeakin 2015-08-05 13:19:44 +02:00
Andrew Comminos 90d3c44131 Bug 1189028 - Draw a toplevel popup behind popup menus on GTK3. r=karlt 2015-08-06 14:20:00 -04:00
Lee Salzman 0c7ff08984 Bug 1184009 - Limit gtk file picker preview source sizes. r=acomminos 2015-08-07 12:24:22 -04:00
Petr Jasicek e19231c364 Bug 1160154 - Decrease padding between icons in the personal toolbar with Gtk3 by using "image-button" css style class. r=karlt
CLOSED TREE

--HG--
extra : rebase_source : b8c2ed8403294ac2b1931141794f184af2a11cbd
2015-08-07 01:09:00 -04:00
Lee Salzman 7ac4d202b1 Bug 1190935 - Fix race condition in gtk window EndRemoteDrawingInRegion. r=nical 2015-08-06 11:02:03 -04:00
Masayuki Nakano 61074e4e20 Bug 1191213 nsBaseWidget::NotifyWindowMoved() shouldn't notify IME when native IME handler doesn't have focus r=m_kato 2015-08-06 15:57:58 +09:00
Birunthan Mohanathas 7315345693 Bug 1191100 - Remove XPIDL signature comments in .cpp files. r=ehsan
Comment-only so DONTBUILD.
2015-08-04 16:17:36 -07:00
Carsten "Tomcat" Book 060e1dcfe0 Backed out changeset 7edc58c272f1 (bug 1075089) for causing OS X 10.6 marionette failures in test_single_finger_desktop.py testSingleFingerMouse.test_double_tap on a CLOSED TREE 2015-07-31 14:49:40 +02:00
Andrew Comminos 5bd79fe54d Bug 1187237 - Correct range slider drawing on GTK3. r=karlt
--HG--
extra : rebase_source : 0f3a2416b4ca08c913b51303f69e06b8cd859324
2015-07-30 11:29:00 +02:00
Nick Robson 58f8aa5dac Bug 1075089 - Moved popup menu frame offset to LookAndFeel, fixed default offset for OS X. r=enn 2015-07-30 15:00:00 +02:00
Mike Conley 20ee63d181 Bug 1145916 - [e10s] Defer starting a GTK Print Job during printer enumeration until the next tick. r=karlt
Before, we were calling nsDeviceContextSpecGTK::StartPrintJob within the
gtk_enumerate_printers callback function as soon as we found the printer
we wanted to print from. This was causing the GTK printing backend to get
confused about what the capabilities of the selected printer were when running
in the content process, due to https://bugzilla.gnome.org/show_bug.cgi?id=753041.
This moves the call to StartPrintJob to the next tick of the event loop.

--HG--
extra : commitid : CZ5P0hh51QC
extra : rebase_source : 279c6c56a2a22b42d5bbf094fd976a4d8f9c8031
2015-07-27 17:11:46 -04:00
Andrew Comminos c14fa3aed4 Bug 1188138 - Prevent default buttons from being drawn twice on GTK3. r=karlt 2015-07-27 15:08:00 -04:00
Andrew Comminos caa85e1906 Bug 1186661 - Draw drag and drop alpha pixmap correctly on GTK3. r=karlt 2015-07-28 07:13:00 -04:00
Andrew Comminos 4800e74696 Bug 1186661 - Use monitors-changed signal to update screen manager on GTK. r=karlt 2015-07-25 19:07:00 -04:00
Andrew Comminos 482e0ca788 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-28 06:28:00 -04:00
Carsten "Tomcat" Book 9f95ffe014 Backed out changeset ac04ab483fba (bug 1187649) for bustage on a CLOSED TREE 2015-07-28 13:05:48 +02:00
Andrew Comminos 0dbd6187d5 Bug 1187649 - Free constructed widget path in nsLookAndFeel on GTK. r=karlt 2015-07-27 11:21:00 +02:00
Mike Hommey 6a956c6f97 Bug 1187533 - Change how Gtk+2 plugin-container is started on Gtk+3 builds. r=billm
The current situation looks like this: Firefox launches the plugin-container
with two environment variables set:
  LD_LIBRARY_PATH=$FIREFOX_DIR:$LD_LIBRARY_PATH
  LD_PRELOAD=$FIREFOX_DIR/libmozgtk2.so:$LD_PRELOAD

libxul.so has a dependency on libmozgtk.so (without "2"), but libmozgtk2.so
has a SONAME of libmozgtk.so, so ld.so recognizes libmozgtk2.so as a
dependency of libxul.so, and uses it instead of the actual libmozgtk.so,
making the plugin-container use Gtk+2 instead of Gtk+3 to load Gtk+2 plugins.

Now, ASan sets things up in shared libraries such that they needs a symbol
from the executable binary. So in the case of plugin-container, the
plugin-container executable itself contains some ASan symbols such as
__asan_init_v3. libmozgtk2.so, OTOH, contains an undefined weak reference to
that symbol, like all other Firefox shared libraries.

Since libmozgtk2.so is LD_PRELOADed, it is loaded _before_ the
plugin-container executable, and __asan_init_v3 can't be resolved.

Disabling ASan for libmozgtk2.so would be a possibility, but the build system
doesn't really know how to do that, and filtering out -fsanitize=address
can be fragile.

The alternative possibility, implemented here, is to change the library
loading strategy, renaming libmozgtk2.so to gtk2/libmozgtk.so, and setting
the following environment variable when Firefox launches the plugin-container:
  LD_LIBRARY_PATH=$FIREFOX_DIR/gtk2:$FIREFOX_DIR:$LD_LIBRARY_PATH
2015-07-28 08:19:13 +09:00
Makoto Kato 51adbe4deb Bug 1181000 - Use logical pixel to set IME candidate window. r=karlt 2015-07-27 14:37:02 +09:00
Masayuki Nakano b38c1b7f77 Bug 1186017 part.2 Rename GetBoolName() in IMContextWrapper.cpp to ToChar() r=kerlt 2015-07-27 08:23:04 +09:00
Masayuki Nakano b45368f471 Bug 1186017 part.1 Rename nsGtkIMModule to mozilla::widget::IMContextWrapper r=m_kato+kerlt
--HG--
rename : widget/gtk/nsGtkIMModule.cpp => widget/gtk/IMContextWrapper.cpp
rename : widget/gtk/nsGtkIMModule.h => widget/gtk/IMContextWrapper.h
2015-07-27 08:23:04 +09:00
Xidorn Quan 7ec583cc8f Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc
--HG--
extra : source : ae8bf45b7efcd297ad92039b5ea6985dbfa725e9
2015-07-24 09:45:00 +10:00
Mike Hommey 9ca903bc81 Bug 1063359 - Unconditionally use -Wl,--no-as-needed when building with GNU ld/gold. r=mshal 2015-07-24 06:49:49 +09:00
Lee Salzman b54a311fe2 Bug 1184009 - Limit image preview sizes. r=acomminos 2015-07-21 13:16:44 -04:00
Masayuki Nakano 9d9bd4c975 Bug 1184449 part.1 IMENotifiation::SelectionChangeData should store selected string r=smaug 2015-07-22 12:40:32 +09:00
Wes Kocher ff3207dea9 Backed out changeset b3d392163411 (bug 1160014) (Linux part), too CLOSED TREE 2015-07-21 16:54:09 -07:00
Xidorn Quan 1828b64f06 Bug 1160014 part 6 - Implement fullscreen transition for GTK. r=roc
--HG--
extra : source : 2bcd5eb4c07c7ec201a8a023756d3bba18575cdd
2015-07-22 09:07:46 +10:00