455951 Commits

Author SHA1 Message Date
Bob Owen
20e589aec1 Bug 1156742 Part 13: Create a Moz2D PrintTranslator. r=bas
A better solution to the ScaledFonts issue comes in Part 24.
2016-01-05 10:08:57 +00:00
Bob Owen
e707786501 Bug 1156742 Part 12: Record CreateSimilarDrawTarget separately for Moz2D. r=bas
This is so we can create the real print DrawTarget from our nsDeviceContext at the beginning of each page.
Default behaviour for other Translators is still to always use CreateSimilarDrawTarget.
2016-01-05 10:08:57 +00:00
Bob Owen
ffbb94296a Bug 1156742 Part 11: Allow RemotePrintJobChild to abort the print. r=roc
This is so the RemotePrintJobParent can abort the printing in the child when something goes wrong.
2016-01-05 10:08:57 +00:00
Bob Owen
dd481e414a Bug 1156742 Part 10: Allow RemotePrintJob to influence nsPagePrintTimer. r=roc
Adds a new timer for the RemotePrintJob to notify the nsPagePrintTimer when the last page has finished printing in the parent.
Changed the page delay timer to reset the watch dog count on every page to prevent timeouts due to remote printing.
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
b8e80a4a76 Bug 1156742 Part 8: Change gfxWindowsSurface, so that a non-printing surface can be used when recording a print. r=roc 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
Bob Owen
5f9cb1f258 Bug 1156742 Part 5: Add a skeleton RemotePrintJob. r=mconley
The methods will get filled out by later patches, this sets up the IPDL and lifetime management.
2016-01-05 10:08:57 +00:00
Bob Owen
c6e61e8846 Bug 1156742 Part 4: Add an in memory DrawEventRecorder. r=bas 2016-01-05 10:08:57 +00:00
Bob Owen
9536340a3a Bug 1156742 Part 3: Add support for FontType::CAIRO to CreateScaledFontForTrueTypeData on Windows. r=bas
Parts of this change and related code get moved around in Part 24.
2016-01-05 10:08:56 +00:00
Bob Owen
7b7cad771e Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2016-01-05 10:08:56 +00:00
Bob Owen
940fb516d4 Bug 1156742 Part 1: Change Moz2D recording, so that it can be used in isolation. r=bas
These are mainly changes to make sure we have recorded relevant dependencies to each draw operation.
Where we can't record them on the fly like this, it makes sure the object has originated from our DrawTarget.
2016-01-05 10:08:56 +00:00
Bob Owen
b78efb440f Bug 1234566: Use LoadLibraryA instead of LoadLibrary in some skia Windows code to allow UNICODE to be defined. r=lsalzman
Patch already landed upstream on skia in commit 7a897c0f796df0a1c5b4ee5930b29bfed17ad1b4.
2016-01-05 10:08:56 +00:00
Andrea Marchesini
9b34c64d31 Bug 1235576 - Fix the indentation in dom/ipc, r=smaug 2016-01-05 09:59:30 +00:00
Morris Tseng
084b138ad2 Bug 1024149 - Use element size for upload texture when using SVG image. r=jgilbert r=roc
--HG--
extra : commitid : E5x4DxqzQ3k
2016-01-05 17:51:04 +08:00
David Rajchenbach-Teller
2b6f00954d Bug 1200169 - Making the slow add-on watcher more tolerant;r=Felipe
Showing alerts more than once is annoying for the user and basically
useless. We therefore change a bit our strategy:

- if an add-on has behaved correctly for the last 5 minutes, reset our counter of offences;
- don't display alerts for an add-on more than once per 6 hours.

The only exception is if the add-on freezes the browser (i.e. causes
it to stop for more than 5 seconds at a time), in which case we
display the alert regardless of past offences, up to once per 10
minutes.

--HG--
extra : rebase_source : 7c2a875cc0b68eb2e212abdd6a7c1cf8e30c774e
2015-12-15 11:21:37 +01: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
Tim Chien
a64d29e25a Bug 1234459 - Expose full text in the input box to InputMethod API, r=masayuki, sr=smaug 2016-01-05 00:37:00 +01:00
Benjamin Bouvier
caee5ab97b Bug 1221361: Mark SetARMHwCapFlags as unsafe for fuzzing; r=jolesen
--HG--
extra : rebase_source : 31d5492d1262019f39c5b295feed2ad02b09c2cb
2015-12-24 09:08:31 +01:00
Jonathan Kew
fa2496310f Bug 1153237 - Testcase for failure to select last word in a contenteditable div when using physical select-by-word command. r=roc 2016-01-05 07:13:53 +00:00
Jonathan Kew
7a361a7ce7 Bug 1153237 - nsFrameSelection::PhysicalMove should fall back to CompleteMove if an intra-line move fails to execute completely. r=roc 2016-01-04 12:33:45 +00:00
Jean-Yves Avenard
ea13a5a2fb Bug 1236746: Let FFmpeg manages its own memory allocation. r=gerald
Additionally, the API to override memory allocation has been deprecated years ago and it completely removed in libavcodec 57.
2016-01-05 16:55:11 +11:00
Andy McKay
5847404799 Bug 1214007 - Implement chrome.tabs.move. r=billm 2015-12-23 17:04:23 -08:00
Jim Mathies
9981852508 Bug 1227312 - Avoid calling FinalizeChildData twice in GenerateCompleteMinidump. r=ted
--HG--
extra : amend_source : 5d2f68cc58b0aa910a32ad59dc1300eb7557eff1
2015-12-03 10:25:10 -06:00
Bogdan Postelnicu
4486adb46d Bug 1235041 - Cast value to uint64_t in order to prevent int overflow when value is greater than 2^12. r=jonco
--HG--
extra : rebase_source : df473012e5b66abc80513cbd2e83e7fe7129a853
2015-12-24 02:57:00 -05:00
Bogdan Postelnicu
7917ac7e86 Bug 1234535 - Avoid spurious null dereference complaint from Coverity. r=froydnj
--HG--
extra : rebase_source : e41c19b316dfc4b7e1ce81203a61691c69315e5f
2016-01-04 07:24:00 -05:00
Bogdan Postelnicu
a2071162e7 Bug 1234542 - Don't use fallible Add in SetStringProperty. r=froydnj
--HG--
extra : rebase_source : 697c493e0150953f6a8fb152109ef228673f15a0
2016-01-04 07:14:00 -05:00
Bogdan Postelnicu
c6013bd937 Bug 1228507 - Initialize mBlendOpacity. r=Bas
--HG--
extra : rebase_source : d596023a4d50572ef597d9a34772354d25c8fcc9
2015-11-27 00:10:00 -05:00
Bogdan Postelnicu
a56f7319b3 Bug 1235373 - Add an assert to check validity of pointers: mElement->GetPrimaryFrame() and frame. r=surkov
--HG--
extra : rebase_source : 6cf3d00ebb79b7af38bff66535d908af048fc279
2015-12-28 06:25:00 -05:00
Jan-Ivar Bruaroey
9e558597cc Bug 1229240 - test that applyConstraints() rejects on non-Gum track. r=jesup
--HG--
extra : rebase_source : 394b7438a06768ce79aa248c8941d9a4a842f62b
2016-01-04 10:50:13 -05:00
Jan-Ivar Bruaroey
b2ed80be62 Bug 1229240 - make applyConstraints() reject instead of crash on non-gUM tracks. r=jesup
--HG--
extra : rebase_source : fa199b551ddc750b1dbdb20c1d0feafa8e8bc908
2015-12-01 15:27:26 -05:00
Hannes Verschore
4370e997ad Bug 1233343: SharedStubs: Count frames pushed correctly on ARM when entering an ion stub frame, r=jandem 2016-01-04 22:27:12 -05:00
Nicholas Nethercote
6d81cd6a30 Bug 1233632 - Moz2Dify GetBlurAndSpreadRadius(). r=dholbert.
The CurrentMatrix()-to-GetTransform() change in GetBlurAndSpreadRadius() is
valid because the operations performed on the resulting |transform| only
consult the _11, _12, _21 and _22 members; not the _31 and _32 members (which
are different in gfxContext vs. DrawTarget).

--HG--
extra : rebase_source : 4f40eb223e3e2153607c9c336fc1c850d0e1776f
2015-12-17 20:04:12 -08:00
Nicholas Nethercote
9ac2c3e3be Bug 1233631 - Moz2Dify CanvasBidiProcessor. r=jfkthame.
--HG--
extra : rebase_source : 4e255a8b622251d1283fd4b1ebb6954797f0aa09
2015-12-17 19:59:04 -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
Mike Taylor
c0da37b8f5 Bug 1236194. Use a string rather than URL interface to prevent DNS lookups. r=mfinkle 2016-01-04 20:08:12 -06:00
Cameron McCormack
dde4b8dc8e Bug 1234758 - Back out test. 2016-01-05 13:02:34 +11:00
Nicholas Nethercote
4c2f5d70aa Bug 1232219 (follow-up) - Fix nsinstall.c bustage in SM(e) builds. r=me.
--HG--
extra : rebase_source : 7a20a75c01fda19f04b6db9df88c09dc681d9ef0
2016-01-04 17:11:21 -08:00
Jean-Yves Avenard
3c25c690a7 Bug 1207220: Ensure MediaShutdownManager waits until all MediaDecoder have completed their shutdown. r=cpearce
XPCOM when shutting down expects all tasks to be run synchronously. As such, we must ensure that the remaining MediaDecoder are shut down before continuing on the next task.
In particular destroying gfxPlatforms must only ever happen after, as it is possible for the MediaDecoderReader to make use of gfx resources during shutdown.
2016-01-05 11:55:50 +11:00
Nicholas Nethercote
a9f31c44eb Bug 1232219 (part 4) - Enable -Wunused for C code, except where it's too annoying. r=glandium.
--HG--
extra : rebase_source : febc9aac7ec5e3699742e728065c370dcee4f0f3
2015-12-16 22:59:42 -08:00
Olli Pettay
424c4549bf Bug 1236607, pointerlock code should null check inner window before using it, r=xidorn
--HG--
extra : rebase_source : a7fb6d88673ffe40c3ee0ff59b140adbcc5fd769
2016-01-05 02:11:36 +02:00
Mason Chang
6bad741446 Bug 1231518. Load about:blank if thumbnail service fails. r=adw 2016-01-04 16:24:58 -08:00
Chris Peterson
c9b006d167 Bug 1235717 - Enable clang's -Wunreachable-code warnings. r=glandium 2015-12-28 00:17:02 -07:00
Chris Peterson
de68dcb191 Bug 1235502 - Fix -Wunreachable-code warning in tools/profiler/. r=BenWa
tools/profiler/core/shared-libraries-linux.cc:115:15: warning: code will never be executed [-Wunreachable-code]
2015-12-28 19:12:21 -07:00
Botond Ballo
b65904a270 Bug 1194851 - Remove the second parameter of IsFixedPosFrameInDisplayPort(). r=kats
No one was using it.

--HG--
extra : source : cf1a0a7146c18850f7619974bad31f888e7e1402
2015-12-16 17:58:52 -05:00
Botond Ballo
b9aee9ebb5 Bug 1194851 - Add helper functions HasDisplayPort() and HasCriticalDisplayPort(). r=kats
This makes it clearer whether we're just checking if a displayport exists,
or we're actually consuming its value.

--HG--
extra : source : 70bb222e860669a6cf6e803dbd57f088ca4fbc04
2015-12-16 17:22:23 -05:00
Xidorn Quan
77eb73d8f1 Bug 1200092 - Add time gap between subtests of fullscreen-api-race test. r=smaug
--HG--
extra : source : 5d2f62e707089a6748f57f6a28b7b57d6ff9cedc
2016-01-05 10:00:37 +11: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
Kit Cambridge
8f689a5c00 Bug 1234054 - Enable Push and service worker notifications on Desktop release builds. r=ehsan
--HG--
extra : commitid : 6vRoS2CYj3v
extra : rebase_source : a2d776215cfbc97b583afeb83141c7878b014d34
2016-01-04 14:32:33 -07:00