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

75 Коммитов

Автор SHA1 Сообщение Дата
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
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 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
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 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
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
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 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
Eric Rahm 75c4bebb79 Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-03 15:25:57 -07:00
Eric Rahm 67f6de2a30 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-03 15:22:35 -07:00
Carsten "Tomcat" Book 5471309381 Backed out 14 changesets (bug 1165515) for linux x64 e10s m2 test failures
Backed out changeset d68dcf2ef372 (bug 1165515)
Backed out changeset 7c3b45a47811 (bug 1165515)
Backed out changeset b668b617bef2 (bug 1165515)
Backed out changeset d0916e1283a2 (bug 1165515)
Backed out changeset ac4dc7489942 (bug 1165515)
Backed out changeset e9632ce8bc65 (bug 1165515)
Backed out changeset c16d215cc7e4 (bug 1165515)
Backed out changeset e4d474f3c51a (bug 1165515)
Backed out changeset d87680bf9f7c (bug 1165515)
Backed out changeset b3c0a45ba99e (bug 1165515)
Backed out changeset 9370fa197674 (bug 1165515)
Backed out changeset 50970d668ca1 (bug 1165515)
Backed out changeset ffa4eb6d24b9 (bug 1165515)
Backed out changeset 5fcf1203cc1d (bug 1165515)

--HG--
extra : rebase_source : 6fb850d063cbabe738f97f0380302153e3eae97a
2015-06-02 13:05:56 +02:00
Eric Rahm a9afd68cef Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 22:17:33 -07:00
Eric Rahm fb40eb5516 Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 22:17:26 -07:00
Wes Kocher 4e9f80ed2e Backed out 14 changesets (bug 1165515) for b2g mochitest-6 permafail CLOSED TREE
Backed out changeset 9b97e2aa2ed9 (bug 1165515)
Backed out changeset 150606c022a2 (bug 1165515)
Backed out changeset 4e875a488349 (bug 1165515)
Backed out changeset 467e7feeb546 (bug 1165515)
Backed out changeset d6b6cc373197 (bug 1165515)
Backed out changeset 0615265b593c (bug 1165515)
Backed out changeset fafd1dce9f08 (bug 1165515)
Backed out changeset d1df869245f9 (bug 1165515)
Backed out changeset 6876a7c63611 (bug 1165515)
Backed out changeset b7841c94a9a3 (bug 1165515)
Backed out changeset e5e3617f7c73 (bug 1165515)
Backed out changeset 39be3db95978 (bug 1165515)
Backed out changeset 0ec74176f8de (bug 1165515)
Backed out changeset 5b928dd10d71 (bug 1165515)
2015-06-01 17:57:58 -07:00
Eric Rahm f82c0e7caf Bug 1165515 - Part 13-2: Replace usage of PRLogModuleLevel and PR_LOG_*. rs=froydnj
This is straightforward mapping of PR_LOG levels to their LogLevel
counterparts:
  PR_LOG_ERROR   -> LogLevel::Error
  PR_LOG_WARNING -> LogLevel::Warning
  PR_LOG_WARN    -> LogLevel::Warning
  PR_LOG_INFO    -> LogLevel::Info
  PR_LOG_DEBUG   -> LogLevel::Debug
  PR_LOG_NOTICE  -> LogLevel::Debug
  PR_LOG_VERBOSE -> LogLevel::Verbose

Instances of PRLogModuleLevel were mapped to a fully qualified
mozilla::LogLevel, instances of PR_LOG levels in #defines were mapped to a
fully qualified mozilla::LogLevel::* level, and all other instances were
mapped to us a shorter format of LogLevel::*.

Bustage for usage of the non-fully qualified LogLevel were fixed by adding
|using mozilla::LogLevel;| where appropriate.
2015-06-01 14:31:01 -07:00
Eric Rahm 4095cdb19f Bug 1165515 - Part 9: Remove instances of using numeric log levels 1-5. rs=froydnj 2015-06-01 14:31:00 -07:00
Eric Rahm 3925a960aa Bug 1165515 - Part 1: Convert PR_LOG to MOZ_LOG. r=froydnj 2015-05-21 13:22:04 -07:00
Eric Rahm 4879ae86f4 Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj 2015-05-19 11:15:34 -07:00
Lee Salzman e38cad0b37 Bug 1127752 - fixes for using Skia and OMTC with GTK3. r=jrmuizel 2015-05-13 11:54:17 +09:00
Kartikaya Gupta fd5c9ccd70 Bug 1161634 - Allow synthesizing native mouse-scroll events on Linux. r=karlt 2015-05-11 17:21:34 -04:00
Andrea Marchesini ade2831035 Bug 1156632 - Remove unused forward class declarations - patch 6 - the rest of the tree, r=ehsan 2015-04-22 08:29:24 +02:00
Kartikaya Gupta 5cf2d407fd Bug 1146349 - Make the native event synthesization functions in DOMWindowUtils async. r=smaug 2015-04-14 11:36:36 -04:00
Olli Pettay c3dca4be1e Backout Bug 930793 because of talos regressions,r=backout
--HG--
extra : rebase_source : bf5d4de1b80e114d3e2172a205bf850f68019d38
2015-04-13 19:02:27 +03:00
Olli Pettay eb314fb48f Bug 930793 - Remove favor performance mode, r=avih,roc
--HG--
extra : rebase_source : a112b660baa240afd5f0022cd869c96b59418789
2015-04-12 23:08:55 +03:00
Mats Palmgren 5b0f58f5ef 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 191c9180a5 Backed out changeset 9534a3d38191 (bug 1149041) 2015-03-30 15:03:19 +02:00
Mats Palmgren 2e8393adc7 Bug 1149041 - Make nsIWidget::SizeConstraints use LayoutDeviceIntSize instead of unit-less nsIntSize. r=roc 2015-03-30 10:37:34 +00:00
Ehsan Akhgari 883849ee32 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
Daniel Holbert 4c88a11a9a 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
Nicolas Silva 999b7333fe Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
David Anderson 8b68b8e3e8 Add weak reference support to nsBaseWidget. (bug 1133150, r=roc) 2015-02-17 22:27:53 -08:00
Carsten "Tomcat" Book 4ae7286acb Backed out changeset d81339c7ac52 (bug 1128934) 2015-02-17 14:32:11 +01:00
David Zbarsky e63a6defd2 Bug 1125040: Use LayoutDeviceIntPoint for synthesizing native events on widgets r=botond 2015-02-15 13:52:28 -05:00
Nicolas Silva b930f4e186 Bug 1128934 - Avoid calling GetClientBounds from BasicComposior. r=roc, karlt 2015-02-14 12:37:32 +01:00
Robert O'Callahan 7a165b59ca 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
David Zbarsky c73ec42d2d Bug 1125040: Use LayoutDeviceIntPoint for nsIWidget::WidgetToScreen r=botond 2015-02-04 15:21:03 -05:00
Jim Mathies f93fc49262 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 aa597c8906 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
Masayuki Nakano dd277f3277 Bug 917322 part.7 TextEventDispatcher should manage if it has composition r=smaug 2015-01-28 15:27:31 +09:00
Andrew Comminos cc7d995512 Bug 975919 - Add support for HiDPI on GTK 3.10+. r=karlt 2015-01-20 23:53:00 -05:00
Daniel Holbert 95a73f1e45 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
Jonathan Kew 6a598abe4a Bug 1077515 - part 11 - Remap arrow keys for vertical writing mode in the Gtk widget code. r=roc 2014-11-22 14:39:04 +00:00
Vladimir Vukicevic 54548bfc2b Bug 1036597 - extend widget's MakeFullScreen method to take an optional nsIScreen indicating the target; r=karlt 2014-07-09 12:29:28 -07:00
Jim Mathies a323270a8b Bug 669200 - Various widget changes to support two new types of plugin widget. r=roc 2014-11-12 14:59:19 -06:00