Commit Graph

454725 Commits

Author SHA1 Message Date
Ehsan Akhgari
aa999694ec Bug 1234251 - Remove HttpChannelChild::mSynthesizedResponseHead; r=jdm 2015-12-21 17:01:28 -05:00
Wes Kocher
a5249b6201 Backed out 25 changesets (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE
Backed out changeset 31c0aadae8e7 (bug 1156742)
Backed out changeset f08df57ff700 (bug 1156742)
Backed out changeset 90c026d5dcb1 (bug 1156742)
Backed out changeset 8c6d14d80238 (bug 1156742)
Backed out changeset 72d86b0471c9 (bug 1156742)
Backed out changeset 363829accc09 (bug 1156742)
Backed out changeset 16360fe94d54 (bug 1156742)
Backed out changeset 5355c636a81a (bug 1156742)
Backed out changeset 18844d26b873 (bug 1156742)
Backed out changeset 99df86591613 (bug 1156742)
Backed out changeset 7ac1c7e15a11 (bug 1156742)
Backed out changeset de352000aae1 (bug 1156742)
Backed out changeset 4dd34ea230c6 (bug 1156742)
Backed out changeset 48c6ce65a5c2 (bug 1156742)
Backed out changeset dd52947f73c6 (bug 1156742)
Backed out changeset 5fe429ee880c (bug 1156742)
Backed out changeset dedca8fb19b0 (bug 1156742)
Backed out changeset d748b1354f92 (bug 1156742)
Backed out changeset 7f8e59588518 (bug 1156742)
Backed out changeset b90d302c57f6 (bug 1156742)
Backed out changeset 7a4da453572c (bug 1156742)
Backed out changeset a40eea914519 (bug 1156742)
Backed out changeset 99a8859afcdb (bug 1156742)
Backed out changeset 4934e88b2d7a (bug 1156742)
Backed out changeset 79733166f05e (bug 1156742) for build bustage in SkOSLibrary_win.cpp CLOSED TREE

--HG--
extra : amend_source : beeb6abbcc724b79ac166e828efa78dc4c5301da
2015-12-21 13:47:33 -08:00
Wes Kocher
c627bc38a1 Backed out changeset f3cb1eed6379 (bug 1234099) for browser_gmpProvider.js failures in bc1 CLOSED TREE 2015-12-21 13:37:06 -08:00
Nathan Froyd
5ffe77d9f2 Bug 1232450 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in xulrunner/; r=Yoric 2015-12-06 08:01:39 -05:00
Geoff Brown
ffbc30e76e Bug 1234281 - Use adb for Android x86 emulator tests; r=kmoir 2015-12-21 14:24:09 -07:00
Geoff Brown
c0573a940f Bug 1144393 - Use /storage/sdcard in preference to /sdcard for adb device root and enable test_file_equality.js; r=jmaher 2015-12-21 14:24:08 -07:00
Nathan Froyd
ddf1ea7512 Bug 1233234 - part 3 - clean up UniquePtr usage in WritePrefFile; r=njn
We shouldn't use .get() on UniquePtr<T[]> unless we have to, and it
makes the code clearer to not use pointer incrementing in any event.
2015-12-06 09:11:55 -05:00
Nathan Froyd
b88ea2e0d7 Bug 1233234 - part 2 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in pref_savePrefs; r=njn
Returning outparams with UniquePtr is not convenient or idiomatic, so in
addition to removing nsAutoArrayPtr usage, let's return a UniquePtr from
the function directly.
2015-12-06 09:06:02 -05:00
Nathan Froyd
bd9c024bdb Bug 1233234 - part 1 - use UniquePtr<T[]> instead of nsAutoArrayPtr<T> in openPrefFile; r=njn 2015-12-06 08:13:36 -05:00
Christoph Kerschbaumer
9f4842f614 Bug 1233843 - Convert 30 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-21 13:06:46 -08:00
Bob Owen
0f696fbe64 Bug 1156742 Part 25: Flip the big switch and wait for the lightning. r=mconley 2015-12-21 20:33:14 +00:00
Bob Owen
fb35888c83 Bug 1156742 Part 24: Add new Recorded event to record font data. r=bas
We create and destroy ScaledFonts for every piece of text we write.
That causes a huge amount of duplicated data within the recording.
This splits out the recording of the font data itself from the ScaledFont.
The key generated to determine uniqueness could probably be fairly easily faked, but for our purposes that doesn't matter.
2015-12-21 20:33:14 +00:00
Bob Owen
016d8435c1 Bug 1156742 Part 23: Assert in PrintTranslator when a lookup fails. r=bas
In theory these lookups should never fail.
The plan is to move them to release asserts when any bugs have been fixed, as failed lookups may be an indication of data being sent from a compromised renderer.
2015-12-21 20:33:14 +00:00
Bob Owen
e4d10bb475 Bug 1156742 Part 22: Change ScaledFontDWrite to support creation from TrueType Collection data. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
957b556822 Bug 1156742 Part 21: Use GetDirect3D11Device instead of DrawTargetD2D::GetDWriteFactory to determine if DWrite fonts should be used. r=Bas
This method will allow for acceleration being disabled through prefs and blacklisting.
2015-12-21 20:33:14 +00:00
Bob Owen
27ff57a6e6 Bug 1156742 Part 20: Move Moz2D PreferenceAccess into its own header. r=bas
This is so we can add a new preference in Part 21, which has nothing to do with logging.
2015-12-21 20:33:14 +00:00
Bob Owen
ff49466165 Bug 1156742 Part 19: Implement GetFontFileData for ScaledFontWin. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
9425bbddb9 Bug 1156742 Part 18: Fix the way we hold custom font data so that they can be recorded with Moz2D. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
f8497152ba Bug 1156742 Part 17: Add virtual destructor to RecorededEvent and fix subsequent crash with DWrite playback fonts. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
1f1916743e Bug 1156742 Part 16: Add recording and forwarding of Matrix attribute set for Moz2D recording. r=bas 2015-12-21 20:33:14 +00:00
Bob Owen
61ff168ec9 Bug 1156742 Part 15: Add pref for turning on printing via the parent process. r=mconley 2015-12-21 20:33:14 +00:00
Bob Owen
7c7bc68d35 Bug 1156742 Part 14: Complete RemotePrintJob using PrintTranslator. r=mconley 2015-12-21 20:33:14 +00:00
Bob Owen
982220b6d8 Bug 1156742 Part 13: Create a Moz2D PrintTranslator. r=bas
A better solution to the ScaledFonts issue comes in Part 24.
2015-12-21 20:33:13 +00:00
Bob Owen
661e04ae49 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.
2015-12-21 20:33:13 +00:00
Bob Owen
b1c615dd5b 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.
2015-12-21 20:33:13 +00:00
Bob Owen
48ebbb6b5a 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.
2015-12-21 20:33:13 +00:00
Bob Owen
529a96f97d 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.
2015-12-21 20:33:13 +00:00
Bob Owen
0a3b8185ed Bug 1156742 Part 8: Change gfxWindowsSurface, so that a non-printing surface can be used when recording a print. r=roc 2015-12-21 20:33:13 +00:00
Bob Owen
8e74e544d2 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.
2015-12-21 20:33:13 +00:00
Bob Owen
a3c64d5bb8 Bug 1156742 Part 6: Add RemotePrintJob to PrintSession and PrintData. r=roc, r=mconley
Someone knew that nsIPrintSession would come in handy one day.
2015-12-21 20:33:13 +00:00
Bob Owen
4797734560 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.
2015-12-21 20:33:13 +00:00
Bob Owen
e0674961f5 Bug 1156742 Part 4: Add an in memory DrawEventRecorder. r=bas 2015-12-21 20:33:13 +00:00
Bob Owen
2ce74bca79 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.
2015-12-21 20:33:13 +00:00
Bob Owen
477a386eec Bug 1156742 Part 2: Make gfx thebes/gl/2d work with UNICODE defined. r=bas, r=glandium 2015-12-21 20:33:13 +00:00
Bob Owen
c3f67cea48 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.
2015-12-21 20:33:12 +00:00
Wes Kocher
a4bead1f65 Backed out changeset 28da91dbe6c5 (bug 1233843) for failures in test_bug203271.js in various test suites 2015-12-21 12:29:10 -08:00
Chris Pearce
6bc4318a73 Bug 1234099 - Unhide Adobe GMP on Windows XP. r=spohl
--HG--
extra : rebase_source : 368ea98282668d270fee89a8321d076d2dcda127
2015-12-21 16:06:41 +13:00
Wes Kocher
b71c3763d0 Backed out changeset f103fd636405 (bug 1232582) for b2g debug xpcshell failures in test_name_constraints.js 2015-12-21 11:01:22 -08:00
Christoph Kerschbaumer
5ab4c2a41a Bug 1233843 - Convert 30 tests within netwerk/test to use AsyncOpen2 (r=mcmanus) 2015-12-18 14:56:57 -08:00
Benjamin Bouvier
45013c238f Bug 1229338: Rename OptimizationInfos to OptimizationLevelInfo; r=Waldo
--HG--
extra : rebase_source : c19020e10ed72b9d5ef54aae3613f669dc221344
extra : histedit_source : c4c3c79670f8fc85bc18328bd8c1f22b3e766624
2015-12-01 12:42:04 +01:00
Benjamin Bouvier
d6727ad6fb Bug 1229338: Make OptimizationLevel an enum class; r=Waldo
--HG--
extra : rebase_source : 2c4d48233965cbf0d65fccffd2d8497acc5f44cf
extra : histedit_source : 323d28acc01c987b6495232fb8bc1d276f1233fe
2015-12-03 21:03:14 +01:00
L. David Baron
7cbc3ab55d Bug 1233276 - Make css::Declaration::List more useful again, given that it degraded a bit in bug 978833 (/ bug 1221436). r=heycam
--HG--
extra : transplant_source : %F0%29w%87%DB%F7%D3%DD%3A%8B%9Dv7%1F%18%FB%24%F2%8F1
2015-12-21 13:11:32 -05:00
Jakob Stoklund Olesen
9dce194b45 Bug 1233863 - ARM64: Record the correct branch offset. r=sstangl
Don't depend on nextOffset() to get the address of the next inserted
instruction. Adding a single instruction could cause a constant pool to be
emitted first.

The b() method assembles a branch and returns its offset. Use this return value
when recording the location of a pending jump.

This fixes the MOZ_CRASH(Unrecognized jump instruction.) crashes.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen
d9a7e9b459 Bug 1233863 - ARM64: Avoid BumpSystemStackPointer(). r=sstangl
This function can only handle small immediate adjustments to the stack pointer
because it is not allowed to use scratch registers.

Don't call it from MacroAssembler::Claim() which may allocate large stack
frames. Simply synchronize the system stack pointer to the pseudo stack pointer
instead.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen
48cf77ddac Bug 1233863 - ARM64: Set up pseudo stack pointer in proglogues. r=sstangl
Use the existing masm.initStackPtr() function to set up the x28 register
correctly on entry to jitted code.

This is already done correctly in JitRuntime::generateEnterJIT().
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen
4e73b0e322 Bug 1233863 - ARM64: Disable tests that require ion.enable = 1. r=jimb
Since ARM64 doesn't have an Ion code generator yet, these tests will fail when
they check for ion-generated code.

This disables tests that look for frame.implementation == "ion" etc.
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen
d0e28569ed Bug 1233863 - ARM64: Don't advertise asm.js availability. r=luke
OdinMonkey does not yet support ARM64, so disable it just like we do in
IsIonEnabled().
2015-12-21 10:11:07 -08:00
Jakob Stoklund Olesen
3d9dd910cb Bug 1233863 - ARM64: Allow test to pass with --no-asmjs, and when no JIT exists. r=luke
When running with --no-asmjs, and when we don't have a JIT capable of asm.js,
the returned warning is different. This test should handle those cases too.
2015-12-21 10:11:07 -08:00
Stephen A Pohl
feca082657 Bug 1222555: Copy updater.app to the proper location for app update mochitest chrome tests. r=rstrong,ted 2015-12-21 12:21:57 -05:00
Gian-Carlo Pascutto
2652d00be1 Bug 1211090 - Don't fail to open databases if we can't do buffered IO. r=froydnj 2015-12-21 17:51:03 +01:00