Commit Graph

18267 Commits

Author SHA1 Message Date
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
Robert O'Callahan
84a1b0dd5a Bug 1143575. Android's screenshotting code should invalidate the LayerManagerComposite to ensure composition will actually happen. r=nical
There is some ambiguity about whether ScheduleComposite will necessarily
trigger a composite all the way to nsWindow::DrawWindowUnderlay. Android
robocop tests assume it will, because they rely on DrawWindowOverlay
being called so they can take a screenshot and make progress,
but this is a very fragile assumption. They also rely on the entire
window being painted, which is also a fragile assumption.

This patch improves the situation by explicitly invalidating the current
window area when Android Java code needs to trigger a composite. This avoids
regressions from future patches in this series which make composition bail
out when there is nothing invalid.

The resulting setup is still a bit fragile for my taste but I'm not sure
what the ideal solution would be.

--HG--
extra : commitid : 3t3xqRdZs24
extra : rebase_source : b23749613663ca805484776ccf5e36b4ff00e3fe
2015-06-12 03:20:04 +12:00
Robert O'Callahan
5088734876 Bug 1143575. Avoid including Android's GraphicBuffer.h from LayersTypes.h. r=nical
On some Android versions, GraphicBuffer.h ends up including libui's
hardware.h, which #defines the symbols version_minor and version_major, which
are used as field names in Ogg Theora's th_info struct. Later patches will
require some files to include both Theora headers and LayerTypes.h.

--HG--
extra : commitid : HM7e5zfyoAz
extra : rebase_source : de8dd7e5bc6bfcfeb729cfab86fe44b8bb12ab80
2015-06-08 21:27:23 +12: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
George Wright
ae8c7d0697 Bug 1157941 - If the current PresShell is suppressed, paint the old one if it is available r=tn 2015-07-02 15:42:35 -04:00
Bill McCloskey
43786e09b5 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-06 19:58:44 -07:00
James Willcox
3d20b06cfe Bug 1178365 - Fix DOM fullscreen support on Android r=blassey,xidorn 2015-07-06 10:21:17 -05: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
Sotaro Ikeda
813272f335 Bug 1112219 - Implement platform independent MediaResourceManager r=cpearce,bwu,nical 2015-07-05 11:56:04 -07:00
Juan Gomez
258ad59e3f Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj 2015-07-03 18:29:00 -07:00
Kevin Wern
c4068c3470 Bug 1120683 - Properly handle unapplying 3D projective transforms throughout APZ code. r=botond
Whenever the inverse of a 3D projective transform is applied to a point, only use the result if it has a positive w-coordinate.

When transforming by a matrix that we know should be 2D, assert to that effect.

Transformations of rectangles (as opposed to points) remain to be audited.

--HG--
extra : source : a183e31473fcca0d20e2331fdbd93b8cc0cee824
2015-07-03 15:06:26 -04:00
Phil Ringnalda
166cfe8460 Back out 12 changesets (bug 1177013) on suspicion of causing b2g emulator debug test bustage
CLOSED TREE

Backed out changeset 912aae0815f8 (bug 1177013)
Backed out changeset 3b6448172e50 (bug 1177013)
Backed out changeset 2af18bef5703 (bug 1177013)
Backed out changeset e6bf35115c11 (bug 1177013)
Backed out changeset 4d7f5205b60b (bug 1177013)
Backed out changeset f7de893911bc (bug 1177013)
Backed out changeset de79eba232f0 (bug 1177013)
Backed out changeset 978a77b60f2a (bug 1177013)
Backed out changeset f5b52fa19511 (bug 1177013)
Backed out changeset e14a7b70b6fa (bug 1177013)
Backed out changeset d0f5a3474659 (bug 1177013)
Backed out changeset bff9f07dad52 (bug 1177013)
2015-07-02 22:08:54 -07:00
Bill McCloskey
72a845c0e6 Bug 1177013 - Use CancelCurrentTransaction to avoid crashes (r=dvander) 2015-07-02 17:18:10 -07:00
Hamzata Diallo
3f61ec7708 Bug 1178513 - Export libxul symbols needed by ACL. r=mattwoodrow
--HG--
extra : rebase_source : 77ebb8e1195c0e2570dbf5dbee54edfa5ecdab28
2015-07-02 15:19:35 -07: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
Carsten "Tomcat" Book
ad3fbbadfa Merge mozilla-central to mozilla-inbound on a CLOSED TREE 2015-07-02 15:47:27 +02:00
Carsten "Tomcat" Book
90ad3cb68a merge mozilla-inbound to mozilla-central a=merge 2015-07-02 15:44:14 +02:00
Nicolas Silva
930d9df184 Bug 1156182 - Ensure nsWindow::Destroy() is called before destroying mPresentLock to avoid a race with the compositor thread. r=Bas 2015-07-02 11:40:53 +02:00
Gijs Kruitbosch
6c7bdf6516 Bug 1170522 - expose whether or not we're in tablet mode to xul/js/css, r=jimm,ted
--HG--
extra : commitid : 1L4B5pNkYee
extra : rebase_source : 46f0e98bbd152a2cca96f59cd08162c36765af01
extra : amend_source : 6c51f311f57777dd146a85d1de885468f8876271
2015-06-16 19:51:29 +01: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
Ryan VanderMeulen
f933e5409c Backed out 3 changesets (bug 1000870) for frequent Linux test failures.
Backed out changeset 7983770003a3 (bug 1000870)
Backed out changeset 80d8e9adb532 (bug 1000870)
Backed out changeset 6a730e15246e (bug 1000870)
2015-06-29 13:42:45 -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
Maksim Lebedev
8f8ca66887 Bug 1000870 - Add some features in testing system. r=smaug
--HG--
extra : rebase_source : 73ec4b22aec9a57a4031956922c4479c24566ebf
2015-05-19 07:03:00 +02:00
Maksim Lebedev
f741e102c2 Bug 1171073 - Suppress content scrolling issue on 64-bit platforms. r=kats 2015-06-26 08:45:00 +02:00
Andrew Comminos
7a31276561 Bug 1131978 - Acknowledge GDK's scale factor in scale calculation. r=karlt 2015-06-26 10:19:00 +02:00
Boris Chiou
b595350fe5 Bug 1170061 - ClearOnShutdown for hwcomposer, r=sotaro
Call ClearOnShutdown while creaing HwcComposer2D object.
2015-06-24 17:51: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
Ryan VanderMeulen
5f5c327690 Backed out changeset 8b4e4083639e (bug 1171931) for B2G debug emulator bustage. 2015-06-25 19:48:42 -04:00
Masayuki Nakano
8750e33449 Bug 1177388 Create ContentCacheInParent and ContentCacheInChild for making their purpose clearer r=m_kato 2015-06-26 08:21:13 +09:00
Juan Gomez
702a59d135 Bug 1171931 - Refactor duplicated code using XRE_IsParent/ContentProcess. r=froydnj
--HG--
extra : rebase_source : 2ecbe6c1dd8a7ad8dc529b53349ad431cf1116c9
2015-06-24 14:11:00 -04: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
Boris Chiou
cfe9c42db4 Bug 1144012 - Part 4: Remove the usage of mHwc from GonkDisplayICS. r=sotaro 2015-06-23 15:06:00 +02:00
Boris Chiou
a92b13f8f5 Bug 1144012 - Part 3: Wrap vsync code. r=sotaro 2015-06-23 15:05:00 +02:00
Boris Chiou
62c2a9cf9c Bug 1144012 - Part 2: Use wrapper in HwcComposer2D. r=sotaro
Use UniquePtr to access HwcHAL Object becasue only HwcComposer2D
takes the responsibility of HwcHAL.
2015-06-23 15:03:00 +02:00
Boris Chiou
3402b88b06 Bug 1144012 - Part 1: Create HwcDevice wrapper. r=sotaro
Use HwcHALBase as a base class which has two subclasses, HwcICS and HwcHAL.
1. HwcICS for Android ICS
2. HwcHAL for Android JB/KK/L or later.
3. mHwc is wrappd into HwcHAL/HwcICS.
2015-06-23 15:02:00 +02:00
Chris Peterson
cd8ae89cff Bug 1175049 - Fix non-universal 32-bit build on OS X with Xcode 6.3 tools. r=josh 2015-06-14 00:20:27 -07:00
Seth Fowler
dab8830c77 Bug 1150534 - Synchronously decode favicons before calling GetFrame. r=tn 2015-06-19 21:49:50 -07: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
Carsten "Tomcat" Book
550b1bc44d Backed out changeset ed0707ffd26f (bug 1000870) for ongoing test failures in test_pointerevent 2015-06-19 12:50:20 +02:00
Milan Sreckovic
50bc2f0ddc Bug 1019063 - Check for ::CreateDCW failing when printing. r=dvander 2015-06-18 08:18:00 +02:00
Maksim Lebedev
7670d9560b Bug 1000870 - Add some features in testing system. r=smaug 2015-05-19 07:03:00 +02:00
David Anderson
1445a2c07f Fix a widget size check bug in nsWindow::CaptureWidgetOnScreen. (bug 1173117 part 3, r=mattwoodrow) 2015-06-18 13:42:42 -07:00
Daniel Holbert
1e009d6b0f Bug 1175005 followup: Add 'override' annotation to new GetMonitors() method in GfxInfoBase.h. rs=ehsan 2015-06-18 12:09:08 -07:00
Masayuki Nakano
ecdd7a7f0f Bug 549674 part.1 Commit composition string at setting value of <input> or <textarea> r=smaug 2015-06-18 23:56:20 +09:00
Jim Mathies
a0edcafb63 Bug 1152326 - When processing plugin updates only update the visibility of the set of plugins associated with the same compositor. r=aklotz 2015-06-17 15:39:09 -05:00
Bob Owen
dce35c582d Bug 1165903: For Windows NPAPI do window re-parenting in the chrome process to allow for sandboxing. r=jimm 2015-06-15 16:08:51 +01:00
David Anderson
4b7b78ab53 Add nsIGfxInfo::GetMonitor support for Linux. (bug 1175005 part 4, r=nical) 2015-06-17 23:12:13 -07:00
David Anderson
d50c97dfca Add nsIGfxInfo::ListMonitors support for OS X. (bug 1175005 part 3, r=mstange) 2015-06-17 23:12:06 -07:00
David Anderson
a88d8de555 Add nsIGfxInfo::GetMonitor support for Windows. (bug 1175005 part 2, r=jimm) 2015-06-17 23:12:00 -07:00
David Anderson
4bf6becfe3 Add an nsIGfxInfo function to query monitors. (bug 1175005 part 1, r=mattwoodrow) 2015-06-17 23:11:55 -07: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
Matt Woodrow
330af331a0 Bug 1175366 - Don't use DXVA if D3D11 texture sharing is broken. r=jrmuizel
--HG--
extra : rebase_source : dbfeb9aaa25ab1fbedbcae63f63886bb12d8bb9e
2015-06-17 21:09:16 -07:00
Kartikaya Gupta
d216c84c8b Bug 1055557 - Ensure the right presShell resolution is used in ApplyCallbackTransform for fennec-apz scenarios. r=botond 2015-06-17 12:34:42 -04:00
Kartikaya Gupta
49c13c1c35 Bug 1055557 - Add a ZoomConstraintsClient class to manage pushing zoom constraints updates to the APZ code. r=botond
Original patch by Danilo Cesar Lemes de Paula <danilo.cesar@collabora.co.uk>.
2015-06-17 12:32:42 -04:00
Tom Tromey
c924c51529 Bug 1159486 - Make profiler use the process creation time. r=shu, r=jsantell 2015-06-16 22:28:00 -04: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
Andrea Marchesini
c6f3ac81de Bug 1174479 - Improve the AnimationPart file reading algorithm, r=ehsan 2015-06-17 12:16:31 +01:00
Masayuki Nakano
0334e767a2 Bug 1172219 part.3 Modify nsTextStore::mSelection with new selection in OnSelectionChangeInternal() r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
1bf1f161f4 Bug 1172219 part.2 Notify TSF of layout creation and destruction r=emk 2015-06-17 14:00:34 +09:00
Masayuki Nakano
a4c5e98133 Bug 1172219 part.1 nsTextStore shouldn't notify IME while events are being dispatched and until they have not been handled yet r=emk 2015-06-17 14:00:33 +09: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
Masayuki Nakano
729d547dd5 Bug 1173678 ContentCache should return union rect even if some character rects are not cached but the first character of the range is cached r=m_kato 2015-06-17 10:03:58 +09:00
Masayuki Nakano
5ff01538e0 Bug 1171814 ContentCache should store first character rect because Yosemite's Japanese IME sometimes tries to query it r=m_kato 2015-06-17 10:03:58 +09:00
Jim Chen
7d5c85e670 Bug 1112212 - Implement dummy-key-events mode for Android; r=esawin 2015-06-16 19:02:39 -04:00
Jim Chen
ada45abfc5 bug 1112212 - Set flag in InputContext for IME-unaware webapps; r=masayuki 2015-06-16 19:02:39 -04:00
Mason Chang
b7b584a47e Bug 1156135. Add runtime testing of graphics features. r=mattwoodrow,mossop 2015-06-16 15:49:26 -07: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
Maksim Lebedev
422b4a8ae2 Bug 1171712 - Implement separated InkColletor and InkCollectorEvent classes. r=smaug, r=jimm 2015-06-12 08:35:00 -04:00
Mason Chang
d9bbdbb005 Bug 1173617. Don't cache titlebar caption sizes unless the widget has a titlebar. r=jimm 2015-06-15 08:53:20 -07: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
Ted Mielczarek
21b8690fc3 bug 1163872 - Fix a unified build issue in nsXPLookAndFeel.cpp. r=jimm
--HG--
extra : commitid : Fh9bM3M3ZIX
extra : rebase_source : da73332217b07b896723fa858ae8ef1ace6693ae
2015-05-07 13:32:01 -04:00
Ted Mielczarek
7916ef866c bug 1171113 - Add widget/uikit. r=roc (NPOTB)
--HG--
extra : commitid : 1I5FPzgYF3d
extra : rebase_source : d96adf156c955a77d3303cf69301d133371244d3
2015-06-12 08:49:57 -04: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
Wes Kocher
c07c3dd3d8 Merge fx-team to central, a=merge 2015-06-11 17:18:11 -07: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
Gijs Kruitbosch
6edca573d9 Bug 1165303 - avoid hiding and reshowing the window in response to our own settext messages because it makes Windows 10 unhappy, r=jimm
--HG--
extra : rebase_source : 8099bd5d3d59d6014f0e5f4fff9da040c66a7d06
extra : histedit_source : 94cc3d18dd5976310066392fcbc076c4256c4205
2015-06-09 20:18:36 +01:00
Wes Kocher
b124d4653d Merge b2ginbound to central, a=merge 2015-06-10 18:36:06 -07:00
Carsten "Tomcat" Book
13d8c8bc5a Merge mozilla-central to b2g-inbound 2015-06-10 15:27:48 +02:00
Sotaro Ikeda
578a7dc69f Bug 1171671 - Simplify Boot Animation control r=mwu 2015-06-10 07:55:28 -07: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
Wes Kocher
c6d76d7fd9 Merge m-c to inbound, a=merge CLOSED TREE 2015-06-09 19:29:20 -07:00
Wes Kocher
516ac5b38c Merge b2ginbound to central, a=merge 2015-06-09 19:25:38 -07:00
Ryan VanderMeulen
acb544810a Merge m-c to b2g-inbound. a=merge
--HG--
rename : js/src/jit/BaselineIC.cpp => js/src/jit/SharedIC.cpp
rename : js/src/jit/BaselineIC.h => js/src/jit/SharedIC.h
rename : js/src/jit/BaselineHelpers.h => js/src/jit/SharedICHelpers.h
rename : js/src/jit/BaselineRegisters.h => js/src/jit/SharedICRegisters.h
rename : js/src/jit/arm/BaselineHelpers-arm.h => js/src/jit/arm/SharedICHelpers-arm.h
rename : js/src/jit/arm/BaselineRegisters-arm.h => js/src/jit/arm/SharedICRegisters-arm.h
rename : js/src/jit/mips/BaselineHelpers-mips.h => js/src/jit/mips/SharedICHelpers-mips.h
rename : js/src/jit/mips/BaselineRegisters-mips.h => js/src/jit/mips/SharedICRegisters-mips.h
rename : js/src/jit/none/BaselineHelpers-none.h => js/src/jit/none/SharedICHelpers-none.h
rename : js/src/jit/none/BaselineRegisters-none.h => js/src/jit/none/SharedICRegisters-none.h
rename : js/src/jit/x64/BaselineHelpers-x64.h => js/src/jit/x64/SharedICHelpers-x64.h
rename : js/src/jit/x64/BaselineRegisters-x64.h => js/src/jit/x64/SharedICRegisters-x64.h
rename : js/src/jit/x86/BaselineHelpers-x86.h => js/src/jit/x86/SharedICHelpers-x86.h
rename : js/src/jit/x86/BaselineRegisters-x86.h => js/src/jit/x86/SharedICRegisters-x86.h
extra : rebase_source : 5d6b69f1e3a8cbad9cab2a5b3fb5ab6eec57ae8f
2015-06-09 13:27:49 -04:00
Maksim Lebedev
7d95c85ba5 Bug 1171101 - Remove pointer events and gesture scrolling dependencies. r=smaug 2015-06-05 03:34:00 -04:00
Shelly Lin
fba7c0fcc2 Bug 1138287 - Part 2: Support multi-screen on Gonk platform. r=mwu, r=sotaro, r=jgilbert, r=mattwoodrow
--HG--
extra : histedit_source : 02c96bba0e933c85d9af2566d1c9c8d04d120a31
2015-06-05 11:29:30 +08:00
Xidorn Quan
6822bb6669 Bug 1172664 - Use [NSApplication setPresentationOptions:] instead of SetSystemUIMode for hide os chrome. r=smichaud
--HG--
extra : source : 2508b0bb8b91a883e39a1026364bab0947266288
2015-06-10 13:13:49 +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
Boris Chiou
af54ebf11f Bug 1172805 - Fix enum comparison warnings in nsAppShell. r=mwu 2015-06-09 00:11: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
Henry Chang
7c705ecfcd Bug 1138287 - Part 1: Extract nsScreenGonk/nsScreenManagerGonk implementation to a separate file. r=mwu
--HG--
extra : histedit_source : 582f469228fa7a8e2699bc6db06031b93bc232b0
2015-05-22 16:40:09 +08:00
Masayuki Nakano
952a6f274e Bug 1171810 ContentCache should store union text rect of whole selected text r=m_kato 2015-06-08 11:46:17 +09: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
Neil Deakin
0fb1a1b843 Bug 1121946, Implement e10 cursor drag feedback on Windows, r=jmathies 2015-06-05 08:33:29 -04:00
Neil Deakin
9e7bedeacf Bug 1121947, Implement e10 cursor drag feedback on Mac, r=smaug 2015-06-05 08:33:29 -04:00
Masayuki Nakano
56767ce3c5 Bug 1171847 Remove unnecessary ',' in logging code in nsTextStore::Initialize() r=m_kato 2015-06-05 19:19:35 +09:00
Masayuki Nakano
e91d94ba0d Bug 1166436 part.19 ContentCache::mSelection should have invalid state and it should be checked r=m_kato 2015-06-05 18:28:21 +09:00
Masayuki Nakano
fefa36dd36 Bug 1166436 part.18 ContentCache should guess caret rect if there is a text rect cache of the previous character r=m_kato 2015-06-05 18:28:21 +09:00
Masayuki Nakano
649a872a61 Bug 1166436 part.17 ContentCache::HandleQueryContentEvent() should return caret rect if mInput.mLength of NS_QUERY_TEXT_RECT event is 0 r=m_kato 2015-06-05 18:28:21 +09:00
Masayuki Nakano
1bd6e63d5b Bug 1166436 part.16 Make each member of mozilla::ContentCache used by chrome process or content process r=m_kato 2015-06-05 18:28:21 +09:00
Masayuki Nakano
6f27274bd3 Bug 1166436 part.15 ContentCache::CacheTextRects() should refer TextComposition::LastData() because TextComposition::String() may not be modified yet when it's called r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
7531a3da6d Bug 1166436 part.14 Store text rects after focus/anchor of selection r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
44db9df79b Bug 1166436 part.13 mozilla::ContentCache should guess caret offset if the offset is in the range of cached text rects r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
d2a5eb4391 Bug 1166436 part.12 Log the behavior of mozilla::ContentCache r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
0f0df4d078 Bug 1166436 part.11 Remove unnecessary public methods of mozilla::ContentCache r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
dcfea181de Bug 1166436 part.10 Optimize IME notification handling in PuppetWidget r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
496d6e76c8 Bug 1166436 part.9 PuppetWidget should have mozilla::ContentCache and send it to TabParent r=m_kato 2015-06-05 18:28:20 +09:00
Masayuki Nakano
1f582bf6c1 Bug 1166436 part.8 Make mozilla::ContentCache available in IPC r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
f9c84bfa0a Bug 1166436 part.7 mozilla::ContentCache should handle WidgetQueryContentEvent r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
fb3acd697b Bug 1166436 part.6 mContentCache should store editor rect and TabParent should use it r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
3f89cfacd1 Bug 1166436 part.5 mContentCache should store writing mode at selection and TabParent should use it r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
afe24ee3a4 Bug 1166436 part.4 mozilla::ContentCache should store text rects and caret rect and TabParent should use them r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
cbee1c5997 Bug 1166436 part.3 mozilla::ContentCache should store active composition information and TabParent should use them r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
28550f1773 Bug 1166436 part.2 mozilla::ContentCache should store a selection range and TabParent should use it r=m_kato 2015-06-05 18:28:19 +09:00
Masayuki Nakano
31dd7f05de Bug 1166436 part.1 Create mozilla::ContentCache and TabParent should store the text to it r=m_kato 2015-06-05 18:28:18 +09:00
Markus Stange
5113a01350 Bug 1119106 - Give these enums better names. r=smichaud
--HG--
extra : rebase_source : 6bbfde25fd11ebc8fbc4574a803d4f0ef58b1713
2015-06-08 16:19:47 -04:00
Markus Stange
e11fa56d49 Bug 1119106 - Add an explanatory comment. r=smichaud
--HG--
extra : rebase_source : df67c54a8f1702cfa065118473eb7cb232e1fd16
2015-06-08 16:17:41 -04:00
Markus Stange
f06291ba8d Bug 1119106 - Increase the radio button rendering bottom margin on 10.10 so that the button hits its frame more accurately. r=smichaud
--HG--
extra : rebase_source : 34db754cd1ddbd811ef032551e2fbeec05ce3234
2015-06-02 17:49:57 -04:00
Markus Stange
9aa09929e3 Bug 1119106 - Increase the maximum focus ring width on 10.10 to 7 pixels. r=smichaud
--HG--
extra : rebase_source : ba0709ad72f16c494bf000f76a553cfeebed5b04
2015-06-02 18:05:17 -04:00
Markus Stange
d510bed052 Bug 1119106 - Stop double-drawing focus rings for checkboxes and radio buttons on 10.10. r=smichaud
--HG--
extra : rebase_source : 9fa5c99fce184329121dd3020f4eb75b9ecae578
2015-06-10 19:02:30 -04:00
JerryShih
b31a33ca20 Bug 1165161 - stop bootAnim with "browser-ui-startup-complete" event. r=mwu
--HG--
extra : rebase_source : 3dc5523f292d83eefbb9b2afe895f1a12e9e4776
2015-06-05 00:30:00 +02: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
Masayuki Nakano
87e3205abe Bug 1119133 Implement TextEventDispatcher::EndInputTransaction() for ensuring TextEventDispatcher forgets the link with TextInputProcessor r=smaug 2015-06-11 12:53:42 +09:00
Karl Tomlinson
9f04c7696f bug 1172377 change RunInStableState API to receive ownership of nsIRunnable r=roc
--HG--
extra : rebase_source : f5bd76c6f7592fed7add6d8988ee2261dbf10d7f
2015-06-08 11:06:38 +12:00
David Anderson
46807997bc Add an API for snapshotting widgets as they are presented by the operating system. (bug 1167477, r=mattwoodrow, dom r=khuey)
--HG--
extra : rebase_source : f750028018bc04eddf31a1e3810e013b1d8f1631
2015-06-04 14:19:06 -07:00
David Anderson
b2eb29a9c5 Use widgets for APZ checks, rather than gfxPrefs. (bug 1162064, r=kats,mstange) 2015-06-04 16:51:10 -04:00
Masayuki Nakano
5c6b7ed14c Bug 1162818 part.7 Add test for reframing focused editor when it has composition r=smaug 2015-06-05 02:06:10 +09: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
Sotaro Ikeda
2e1a40399a Bug 1169093 - Do not use HWC when a region of layer is too small r=mattwoodrow 2015-06-04 07:07:36 -07:00
Xidorn Quan
67ff323331 Bug 1105939 part 7 - Use tranditional fullscreen on Mac for DOM fullscreen. r=smichaud
--HG--
extra : source : 5e5b3e8eb96f07b24e2c10522ba92fe13c3f9c05
2015-06-04 13:49:34 +12:00
Xidorn Quan
571b237a91 Bug 1105939 part 6 - Add a method to nsIWidget for widget to distinguish between fullscreen mode and DOM fullscreen. r=roc
--HG--
extra : source : 9a40e94d9ddb089bf09ac110333080ec8f84835a
2015-06-04 13:49:34 +12:00
Xidorn Quan
de413a07a8 Bug 1105939 part 4 - Treat cocoa window without titlebar as fullscreen to avoid drawing rounded corners on it. r=mstange
--HG--
extra : source : d78709d5377839af0ae698ee75474558dea15053
2015-06-04 13:49:34 +12:00
Xidorn Quan
f01f25d5ae Bug 1105939 part 3 - Save and restore window collection behavior when showing/hiding window chrome. r=mstange
--HG--
extra : source : d27f4451457a57a25bdc5e25b8ede4f9d81d6e9c
2015-06-04 13:49:34 +12:00