Commit Graph

19407 Commits

Author SHA1 Message Date
Andrea Marchesini
d4b954e4fa Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 19:18:15 +00:00
Andrea Marchesini
caa2f9b456 Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 18:16:59 +00:00
Jim Mathies
6f0e60feab Bug 1096804 - Fix debug build error, remove use of non-existent HRESULT and assert. r=buildfix 2016-01-12 11:55:20 -06:00
Markus Stange
808bbc8624 Bug 1238755 - Use Skia for BasicCompositor composition on Mac. r=mattwoodrow
--HG--
extra : commitid : FWQX2HXwWzG
extra : rebase_source : 6fbe3f57a937e755a711ffa57a09070262de7a57
2016-01-11 20:22:33 +01:00
Markus Stange
f61c03e766 Bug 1238755 - Avoid a copy when uploading the BasicCompositor result to a texture. r=mattwoodrow
--HG--
extra : commitid : 5qEEfOpgYfb
extra : rebase_source : 5a9425952fc358a3c5cc7bba392809fcf65137f4
2016-01-12 14:20:08 +01:00
Markus Stange
4739df03c1 Bug 1238753 - Use StartRemoteDrawingInRegion on Mac. r=mattwoodrow
This improves upload performance and lets us override the invalid region if we need more than what BasicCompositor thinks we need.

--HG--
extra : commitid : Kk418GAOqzR
extra : rebase_source : daded4e660d2fe20f8ffc654c4ef38ac53cda16e
2016-01-11 20:12:25 +01:00
Jim Mathies
9e48f3f866 Bug 1096804 - Update taskbar thumbnail and preview handler code to support an asynchronous response that receives a canvas from front end js. Deprecate old sync apis. r=roc 2016-01-12 11:08:34 -06:00
Jim Mathies
44daa19658 Bug 1096804 - Add a new asynchronous callback interface for Windows taskbar thumbnail and preview image requests. r=roc 2016-01-12 11:08:33 -06:00
Kartikaya Gupta
6e12e0b31f Bug 1234838 - Update the windows backwards time skew fix code to use a PostMessage rather than a gecko NS_DispatchToMainThread. r=karlt
--HG--
extra : commitid : 9yGf6w0Xo6k
2016-01-12 11:53:55 -05:00
Carsten "Tomcat" Book
3589aeeb8a Backed out changeset d6b0ffe1a7b3 (bug 1231378) 2016-01-12 15:48:54 +01:00
Andrea Marchesini
2609a149da Bug 1231378 - part 4 - Fix uninitialized members of classes in netwerk/widget/storage/uriloader/memory/tools, r=smaug 2016-01-12 13:57:37 +00:00
Carsten "Tomcat" Book
de28b5128f Backed out changeset b5e8cd00d7ef (bug 1238515) for Android Test failures
--HG--
extra : rebase_source : d7883a0923a22c676f26946ab8950a9bf01490a9
2016-01-12 14:15:08 +01:00
Andrea Marchesini
923de404a2 Bug 1238515 - nsIFilePicker methods should clearly say when they return directories and files, r=smaug 2016-01-12 10:23:13 +00:00
Xidorn Quan
4bbc84cc04 Bug 1189622 part 3 - Return failure if fullscreen support is not available for the X11 desktop. r=karlt
--HG--
extra : source : 26b74750e3c4ff26bc8e467a7d2db6699864d319
extra : amend_source : beb5649f71ff14f68b2073a761159857242ce178
2016-01-12 15:18:47 +11:00
Xidorn Quan
42b9ed4bfc Bug 1189622 part 2 - Allow widget's MakeFullScreen to fail, and call FinishFullscreenChange directly if that happens. r=smaug
--HG--
extra : source : a851e10d72b71dbd7bab21e3e6ef80214f680b9b
2016-01-12 15:18:47 +11:00
Masayuki Nakano
5733b55a52 Bug 1208977 TSFTextStore::GetTextExt() shouldn't return TS_E_NOLAYOUT for MS-IME for Japanese becasue it may position its candidate window at top-left of the screen in e10s mode r=emk 2016-01-11 17:25:43 +09:00
Nicholas Nethercote
88696a303a Bug 1209812 (part 6) - Convert all gfxImageFormat values to SurfaceFormat equivalents. r=jrmuizel.
This patch:

- Makes the following substitutions (plus necessary namespace qualifiers:

    gfxImageFormat::ARGB32      --> SurfaceFormat::A8R8G8B8_UINT32
    gfxImageFormat::RGB24       --> SurfaceFormat::X8R8G8B8_UINT32
    gfxImageFormat::A8          --> SurfaceFormat::A8
    gfxImageFormat::RGB16_565   --> SurfaceFormat::R5G6B5_UINT16
    gfxImageFormat::Unknown     --> SurfaceFormat::UNKNOWN

- Changes gfxImageFormat to be a typedef to gfx::SurfaceFormat. This will be
  removed soon.

- Removes gfxCairoFormatToImageFormat() and gfxImageFormatToCairoFormat() and
  replace calls to them with CairoFormatToGfxFormat() and
  GfxFormatToCairoFormat().

- Removes ParamTraits<gfxImageFormat>.

- Add namespace qualifiers to SurfaceFormat instances where necessary.

--HG--
extra : rebase_source : f56e92b1593957a9e4e00171100bc7605816e696
2016-01-07 20:57:38 -08:00
Wes Kocher
cf9b6c8840 Backed out changeset e5a4787cccce (bug 1237463) for being the apparent cause of frequent Windows 8 debug Cpp failures ending in return code 2147483651 a=backout
--HG--
extra : commitid : 1vTnhB6kl4f
extra : amend_source : 93768a25189bda3a52826d16fe1912e05b95fc73
2016-01-08 14:42:37 -08:00
Karl Tomlinson
e8feab9b63 bug 726265 don't activate ELAN swipe hack unless ScanCode is zero r=heycam
On some hardware, GetKeyState(0xFF) returns negative even when Elantech
messages are not involved.  This change permits Page Up and Page Down keys
to function as expected on this hardware.

--HG--
extra : rebase_source : 175d6288bef78eea054fcf577a61cb18ea1f0061
extra : amend_source : 69c66a12e8f27331515f8a60f256a5ba663583bd
2016-01-07 17:31:35 +13:00
Aaron Klotz
edd70043d1 Bug 1237463: LSP Annotator Enhancements; r=jimm
--HG--
extra : rebase_source : 6e40ed6188a73ee1c0fa719055262a72bd2b4aed
2016-01-06 16:58:13 -07:00
Nicholas Nethercote
ec89bbf7f2 Bug 1237151 (part 3) - Remove ignored qualifiers in all remaining code. r=froydnj. 2016-01-05 17:08:45 -08:00
Jan Horak
5a90e8dbd8 Bug 1205643 - Move scrollbar borders to slider to receive button events. r=karlt 2016-01-06 23:55:00 -05:00
Ian Stakenvicius
06e4a6f988 Bug 1168219 - Make nsIWidget::Configuration::mChild a smart pointer on widget/qt too. r=froydnj 2016-01-07 09:45:00 -05:00
Kartikaya Gupta
0c40233914 Bug 1235994 - Add a flag to wheel events to track if they may have momentum following them. r=mstange
--HG--
extra : commitid : EAEUoOFxeOj
2016-01-07 10:39:37 -05:00
Carsten "Tomcat" Book
c3c9e7c565 merge mozilla-inbound to mozilla-central a=merge 2016-01-07 11:50:57 +01:00
Chris H-C
4236137699 Bug 1235821 - Don't track mouseleave when capturing mouse. r=jimm
Since, in Windows, the tabbar overlays the "nonclient" area, TrackMouseEvent
will report a WM_MOUSELEAVE when you move your mouse when dragging a tab.

So, suspend mouseleave tracking when capturing and resume when we end capture.

A nice effect of TrackMouseEvent is that it'll immediately post a WM_MOUSELEAVE
if called when the mouse is outside the client area, so when capture ends, we
are either over the client area and tracking resumes or we aren't and we get
an immediate WM_MOUSELEAVE.
2016-01-06 10:48:00 -05:00
Andrzej Hunt
b2f4ef185e Bug 826400 - Part 3: Simplify homescreen shortcut creation, and use apple-touch-icon if available r=nalexander,jchen
--HG--
extra : commitid : Lrq38uwy1sQ
2015-12-29 11:49:54 -08:00
Sotaro Ikeda
22854d8a96 Bug 1234472 - Add gonk sideband stream handling to gfx ipc r=nical 2016-01-05 20:50:39 -08:00
Wes Kocher
e0dc3b7265 Merge m-c to inbound, a=merge CLOSED TREE
--HG--
extra : commitid : 4JS7aaOzaVD
extra : amend_source : 249ac0feaf4a6ea8ad5d2ef9de63d4c5baee012b
2016-01-05 16:52:09 -08:00
Wes Kocher
5c5db39163 Merge fx-team to m-c a=merge CLOSED TREE
--HG--
extra : commitid : 8cnDWzxc5CW
2016-01-05 16:34:06 -08:00
Wes Kocher
9b5c90690e Merge inbound to m-c a=merge
--HG--
extra : commitid : I44HufYdnXT
2016-01-05 16:02:49 -08:00
Carsten "Tomcat" Book
d92e3c9113 Merge mozilla-central to b2g-inbound 2016-01-05 12:03:29 +01:00
Gabriele Svelto
6f8e5e39bd Bug 1234176 - Introduce a dynamic trigger to send memory pressure events before background applications are reaped by the LMK. r=dhylands
--HG--
extra : rebase_source : 3aab2373d3064854ff4639e78feff052c06ada8d
2015-12-29 11:55:41 +01:00
Ryan VanderMeulen
9d6dd58a96 Backout changeset 2f4991bbb9fb2fc97b1dadf9b8fb9b465f12b87b (bug 1221659) for making test_fullscreen-api-race.html and test_fullscreen-api.html nearly perma-timeout on Linux32. 2016-01-01 17:17:21 -05:00
Bob Owen
6e3ae6eaf0 Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen
e1c9d379a7 Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley 2016-01-05 10:08:57 +00:00
Bob Owen
fdd98bfb6b Bug 1156742 Part 9: Add a new nsIDeviceContextSpec for proxied printing. r=roc
This also changes aPrintToFileName parameter for BeginDocument to an nsAString& from char16_t*.
Having a char16_t* caused a pain with VS2105 where wchar_t != char16_t (as on VS2103), after it had been sent over IPDL.
This could have been worked around with casting, but this seemed like the tidier solution.
2016-01-05 10:08:57 +00:00
Bob Owen
f35de7e1be Bug 1156742 Part 7: Refactor nsDeviceContext.cpp to use printing surface for size and nsIDeviceContextSpec for DPI and scale. r=roc
These changes are to make using an off screen surface behind our DrawTarget in the child easier.
It still creates the real printing surface for some of the calculations,
removing this will be required for future tightening of the sandbox.
2016-01-05 10:08:57 +00:00
Bob Owen
c38abff973 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2016-01-05 10:08:57 +00:00
Milan Sreckovic
3ebd8ac2fd Bug 1235858 - Record the time stamp, use it for crash reports. r=botond 2015-12-30 11:47:00 +01:00
Jonathan Griffin
59f626fe96 Bug 1232780 - Disable mochitests which fail on e10s so we can get that suite running, a=test-only 2016-01-05 12:02:47 -08:00
Nathan Froyd
b8d9784912 Bug 1236566 - add override declarations for widget/windows/GfxInfo.h; r=roc 2015-12-16 11:58:46 -05:00
Xidorn Quan
fa0a8a0dab Bug 1221659 - Make fullscreen transition on Linux take the designed time. r=roc
--HG--
extra : source : 21cfbbcc327aff9b56a8f10579d9dd485afc9be3
2016-01-05 10:00:37 +11:00
Nicholas Nethercote
13900c6d32 Bug 1232219 (part 2) - Fix -Wunused warnings in widget/gtk/. r=karlt.
--HG--
extra : rebase_source : 795375a10cb8358a83be25560823be13c50b5180
2015-12-16 22:24:21 -08:00
Kit Cambridge
e17e098be0 Bug 1227300, Part 3 - Implement showAlert for the OS X alerts backend. r=mstange
--HG--
extra : commitid : t8LugdlKXX
extra : rebase_source : 936e72ffc69476f86b7c02cce9de59ec9eb6bcde
2015-12-31 12:08:22 -07:00
Jim Chen
e9f77a4e94 Bug 1236654 - Properly shut down GLController on nsWindow closing; r=snorp
When nsWindow closes, notify GLController to shut down. To ensure any
pending calls on the UI thread are processed first, post a Runnable to
the UI thread that disposes the GLController on the UI thread.
2016-01-06 21:33:18 -05:00
Jim Chen
b1d1302458 Bug 1236643 - Reorder GeckoEditable destruction sequence; r=esawin
To guarantee that GeckoInputConnection and GeckoEditable are not used by
GeckoView after GeckoEditable has been destroyed, we need to make sure a
certain sequence is followed. We should first unset the
InputConnectionListener in GeckoView on the UI thread; then unset the
GeckoEditableListener on the IC thread; and finally finish destroying
the GeckoEditable instance through disposeNative. This patch merges this
logic with the initialization logic in GeckoEditable.onViewChange, so
that onViewChange can be used for both initialization and destruction.
2016-01-06 21:33:18 -05:00
Jim Chen
ae79cbc8c0 Bug 1236640 - Make selection change part of the IME change transaction; r=esawin
We notify IME text changes in transactions. We should make selection
change notification part of that transaction.
2016-01-06 21:33:18 -05:00
Jim Chen
4eb690b916 Bug 1235246 - Configure GeckoLayerClient after GLController is initialized; r=snorp
LayerView used to call GeckoLayerClient.onGeckoReady directly if Gecko
is sufficiently loaded. However, onGeckoReady indirectly calls
GLController.createCompositor, and it's possible for the
createCompositor event to be prioritized so that it happens before we
initialize GLController, causing a crash. This patch moves the
onGeckoReady call to the Gecko thread, after GLController is
initialized, to avoid this race condition.
2016-01-06 21:33:18 -05:00
Jim Chen
da40f09d48 Bug 1235246 - Only prioritize compositor events in GLController; r=snorp
Only three GLController events -- CreateCompositor, PauseCompositor, and
OnResumedCompositor should be prioritized through GLControllerEvent. The
other GLController events should follow the normal event queue ordering
to prevent race conditions.
2016-01-06 21:33:17 -05:00