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

462296 Коммитов

Автор SHA1 Сообщение Дата
Boris Zbarsky 2e83741081 Bug 1248737. Improve documentation for WorkerRunnable and associated classes. r=khuey 2016-02-18 18:02:51 -05:00
Alexander Surkov aee776059c Bug 1248840 - rename TreeWalker::NextChild, r=yzen 2016-02-18 17:57:17 -05:00
Ben Kelly e532612e21 Bug 1246319 P3 Fix service worker registry value update. r=bz 2016-02-18 14:48:49 -08:00
Eric Faust 4db70c3293 Bug 1232685 - Prevent forcing illegal return values in derived class constructors. (r=shu) 2016-02-18 14:10:35 -08:00
Wes Kocher d32f836f75 Backed out changeset 15485839d79f (bug 1248909) for frequent wpt crashes during mediasource-append-buffer.html a=backout
--HG--
extra : commitid : 8D3aarBCm8E
2016-02-18 14:05:00 -08:00
Mike Hommey 07dc39e490 Bug 1249167 - Fix dependencies involving stdc++compat and clang-plugin. r=mshal 2016-02-19 07:00:03 +09:00
Nathan Froyd 689320c0d0 Bug 1249369 - use UniquePtr instead of nsAutoArrayPtr in MediaPipeline.cpp; r=jesup 2016-02-18 14:09:23 -05:00
Paul Kerr [:pkerr] 04967dd524 Bug 1240790: Add newlines to WEBRTC_TRACE_FILE. r=rjesup 2016-02-18 13:16:26 -08:00
Nathan Froyd 701d601a46 Bug 1249368 - use UniquePtr instead of nsAutoArrayPtr in gfxAlphaBoxBlur; r=jrmuizel 2016-02-18 14:10:00 -05:00
Hannes Verschore 042024dbab Bug 1249252: SharedStubs - Add typebarrier to getprop shared stub, r=jandem 2016-02-18 15:17:38 -05:00
Justin Dolske d342593533 Backout 44f79bbe2b51 (bug 1219788), not working as intended. 2016-02-18 12:16:52 -08:00
Dustin J. Mitchell 9dd6405de1 Bug 1231618: set MOZ_SOURCE_{REPO,CHANGESET}; r=ted.mielczarek
MozReview-Commit-ID: CSaXjrWmZtN

--HG--
extra : rebase_source : 146d12e846150bd072ec432775ce0f419b506267
extra : amend_source : 27e556502f9478d3351159c02a6948bd5040fa9f
2016-02-09 17:39:57 +00:00
Armen Zambrano Gasparnian 66e821274e Bug 1209932 - Enable Marionette normal and e10s modes. r=jmaher
MozReview-Commit-ID: 675sLap4Hrc
2016-02-18 12:27:42 -05:00
kearwood d2f423667c Bug 1237689 - Enable Oculus hardware latency tester r=daoshengmu
- Generate and pass sequential frame indexes into the ovr_GetTrackingState call and the corresponding call to ovr_SubmitFrame

MozReview-Commit-ID: 5tJl5YJt7Eo

--HG--
extra : rebase_source : 5dbb35ea1451a9f378e28d81a8704b63b1b72b4d
2016-01-08 18:50:10 -08:00
Jakob Stoklund Olesen 7aac99e67e Bug 1244889 - Disallow unsigned SIMD types for global variables. r=luke
Treat global variables the same as function arguments and return values: No
unsigned SIMD types allowed. This simplifies interoperation with WebAssembly.

Add a Type::isGloblVarType() which can be used to check for valid types.

Fold CheckGlobalVariableImportExpr into its single caller.

Remove Type::var(ValType) and Type::ret(ExprType). These backwards conversions
were only used for diagnostics, and we can use the existing ToCString() function
for that. Move this function form Wasm.cpp to WasmTypes.h so it can be used
everywhere.

MozReview-Commit-ID: FolGlCTVmgZ
2016-02-18 11:38:15 -08:00
Jakob Olesen 2ac6c34c37 Bug 1244889 - Fix Float32x4toUint32x4 for asm.js. r=bbouvier
The machine code needs to branch to wasm::JumpTarget::ConversionError instead of
bailing out.

MozReview-Commit-ID: 63vyHt2eJj
2016-02-18 11:38:15 -08:00
Jakob Stoklund Olesen f1fab21ec7 Bug 1244889 - Add support for Uint32x4 as an asm.js type. r=luke
Add Uint32x4 to NumLit and Type classes.

Reject unsigned SIMD types in function signatures to avoid confusion when
interoperating with WebAssembly.

MozReview-Commit-ID: 7FvQKKITVKR
2016-02-18 11:38:15 -08:00
Jakob Stoklund Olesen a54371fee5 Bug 1244889 - Handle all SIMD types in js::SimdTypeToName. r=bbouvier
Also move IsSimdTypeName() into builtin/SIMD.cpp and handle all SIMD type names
there too.

Use IsSimdValidOperationType(simdType, SimdOperation::Constructor) to check for
supported SIMD types in asm.js instead of depending on IsSimdTypeName() to only
return true on supported types.

MozReview-Commit-ID: FZrnPZc8zmJ
2016-02-18 11:38:15 -08:00
Jakob Stoklund Olesen f0f1ff5736 Bug 1244889 - Amend wasm opcodes for unsigned I32x4 operations. r=bbouvier
The wasm types don't have signed/unsigned SIMD integers. Add enumerators for
those unsigned simd operations that behave differently than their signed I32x4
counterparts.

Implement wasm code generation for unsigned SIMD types.

Split the convertSimd() function into two variants for conversions and bitcasts
respectively. Add a SimdSign argument to the conversion variants.

Add a SimdSign argument to the extractSimdElement() function. This is not
strictly needed for I32x4 since wasm uses I32 for both signed and unsigned ints.
It will be required for the I8x16 and I16x8 types, though, because the lane
value needs to be extended to an I32.

Split out the binarySimdComp function for binary comparisons, and thread
through a SimdSign argument.

Add a SimdSign to EmitSimdOp() and thread it through where needed.

MozReview-Commit-ID: B8FHOHzjbBX
2016-02-18 11:38:15 -08:00
Jakob Stoklund Olesen f98c4c02cd Bug 1244889 - Remove trivial SIMD NewAsmJS factories. r=bbouvier
The MSimd*::NewAsmJS() factory functions are not longer needed since the normal
MSimd*::New() functions also require the SIMD arguments to be unboxed since
bug 1244254.

Remove the trivial NewAsmJS functions here. The remaining SIMD NewAsmJS
functions will be removed in the next commit.

MozReview-Commit-ID: JtgRKZTmrzS
2016-02-18 11:38:15 -08:00
Jakob Olesen c398598d1a Bug 1244889 - Remove SimdTypeToLength(). r=bbouvier
Use the existing GetSimdLanes() defined in SIMD.h.

MozReview-Commit-ID: 5vQhY2XFdDC
2016-02-18 11:38:14 -08:00
Jakob Olesen f9d1911083 Bug 1244889 - Fix CheckCoercionArg and CheckReturnType. r=luke
These two functions can also take a Type argument instead of ValType/ExprType.

This makes it possible to avoid some explicit SIMD type enumerations, and the
Type <= ValType subtyping test is no longer needed.

MozReview-Commit-ID: 1nkMDUdgLkE
2016-02-18 11:38:14 -08:00
Jakob Olesen 073663f9de Bug 1244889 - Reduce dependency on wasm::ExprType. r=luke
When validating function calls and coercions, use a canonical Type instead of a
wasm::ExprType to express the desired return type.

This will make it possible to distinguish signed/unsigned SIMD types during
validation.

MozReview-Commit-ID: 4S0SuRRgCzm
2016-02-18 11:38:14 -08:00
Jakob Stoklund Olesen ce94b16991 Bug 1244889 - Reduce dependency on wasm::ValType. r=luke
The WebAssembly and the asm.js type systems are diverging. In particular,
WebAssembly will not distinguish signed/unsigned SIMD types, while asm.js must
since it is compatible with SIMD.js. The wasm::ValType enum also has an I64
which is not supported by asm.js

Reduce OdinMonkey's dependency on wasm::ValType by returning a canonical 'class
Type' instead from these functions:

- IsCoercionCall()
- CheckTypeAnnotation()
- CheckArgumentType()

Avoid wasm::ValType for asm.js locals. We want to allow signed/unsigned SIMD
locals.

Remove NumLit::type().

MozReview-Commit-ID: Eutj6QKqn02
2016-02-18 11:38:14 -08:00
Jakob Olesen 5883267c8a Bug 1244889 - Define a canonical subset of Type::Which. r=luke
This subset of the asm.js types corresponds to the Void type and all the
coercion targets. It corresponds to wasm::ExprType, except:

- asm.js does not support I64.
- asm.js distinguishes signed/unsigned SIMD types, wasm does not.

The function Type::canonicalize() maps a type into the canonical set.
Type::isCanonical() checks for membership.

This subset of Type::Which will be used to replace wasm::ValType and
wasm::ExprType in the asm.js type checking code. This makes it possible to
type-check unsigned SIMD types correctly.

Eliminate Type:checkedValueType(). Use Type::canonicalToValType() instead.

MozReview-Commit-ID: EBrCiPVYzh8
2016-02-18 11:38:14 -08:00
Jakob Stoklund Olesen 5b70026714 Bug 1244889 - Rename Type:isVarType() out of the way. r=luke
This function is only used by CheckIsVarType which is actually used for
checking function arguments.

Rename isVarType -> isArgType and CheckIsVarType -> CheckIsArgType to better
match the usage.

This frees up the concept of a "var type" for the following patch.

MozReview-Commit-ID: 4J63ammf3zS
2016-02-18 11:38:14 -08:00
Jakob Stoklund Olesen aa09e05d2a Bug 1244889 - Remove toMIRType() and simdType() methods. r=bbouvier
These methods on the asm.js Type class were unused.

MozReview-Commit-ID: 3JG3UxKR4nm
2016-02-18 11:38:14 -08:00
Dave Townsend 83e5f07a79 Bug 1249074: Don't offer existing sideloaded add-ons to users when creating a new profile. r=rhelmer
MozReview-Commit-ID: 7pnZhEvGRfj

--HG--
extra : rebase_source : 67e53f74a7d48f8a59e7fbf333879c9919e2f79b
2016-02-17 11:06:00 -08:00
Milan Sreckovic 2967cf9b23 Bug 1240160: Add the TimeStamp based uptime value to crash reports, tagging it as UptimeTS, to differentiate from an existing Uptime value. A bit of additional code, avoiding the usage of C libraries to format some strings and a way to gtest these. r=BenWa,ted.mielczarek carrying ted.mielczarek review for the exception handler changes.
MozReview-Commit-ID: 12pRuD7agIG

--HG--
extra : rebase_source : f4427c8a6fdc1054f0f74cdce8d42bbf470dd143
2016-02-17 17:44:21 -05:00
Byron Campen [:bwc] 87730e478f Bug 1241153: Stop blocking addTrack on GMP init, and update codecs on existing tracks when GMP init finishes. r=jesup
MozReview-Commit-ID: GqUBh0O5Dpk

--HG--
extra : rebase_source : 5b38531baf499b91c57ecc3cb6ddf9c10c8d5f15
2016-02-12 14:21:33 -06:00
Andrew Halberstadt b71b5156ea Bug 1231784 - Also override the startup.homepage_welcome_url.additional pref to avoid non-local connections on Beta/Release. r=jgriffin 2016-02-18 13:47:59 -05:00
James Graham 4815a899a5 Bug 1245559 - Updated expected wpt results for win7 e10s, a=test-only 2016-02-03 23:18:43 +00:00
Jeff Gilbert 1d19fc76c1 Bug 1201885,1247752,1247753 - Re-mark passing/failing tests. 2016-02-18 09:47:18 -08:00
Jakob Stoklund Olesen 9bd0a0fe08 Bug 1248503 - Disable test when SIMD is not available. r=me
MozReview-Commit-ID: LmJVS9VV7Ti

--HG--
extra : rebase_source : c37727e6672ffe60f100a698ecd9a6a8a21a7cc7
2016-02-18 09:11:02 -08:00
Andrew McCreight 0529e722df Bug 1243577, part 3 - Make test_blob_file_backed.js use SpecialPowers.createFiles(). r=khuey
This method is e10s-compatible. It is async, so it requires
rejiggering the test a little. This also requires fixing up a shim
version for xpcshell tests. Finally, this test is the only user of
SpecialPowers.createDOMFiles, so I removed it.
2016-02-18 09:09:28 -08:00
Andrew McCreight d9e6cb799e Bug 1243577, part 2 - Change file permissions to match SpecialPowers.createFiles. r=khuey
I don't think that this matters, but I split it into a separate change
set to avoid hiding it.
2016-02-18 09:09:28 -08:00
Andrew McCreight 6bb770cba7 Bug 1243577, part 1 - Delete trailing whitespace in xpcshell-head-parent-process.js. r=khuey 2016-02-18 09:09:28 -08:00
Andrew McCreight 2ddda3ac74 Bug 1248097, part 4 - Don't throw away the _createdFiles array every time. r=jmaher
This would cause us to not delete some created files if
SpecialPowers.createFiles() is called multiple times in a single test.
2016-02-18 09:09:28 -08:00
Andrew McCreight 4a6ef9bb88 Bug 1248097, part 3 - Add file creation support for options. r=jmaher 2016-02-18 09:09:28 -08:00
Andrew McCreight 0d35a4fff9 Bug 1248097, part 2 - If no name is specified for createFiles, use createUnique to create one. r=jmaher 2016-02-18 09:09:28 -08:00
Andrew McCreight b7841a51a8 Bug 1248097, part 1 - Fix indentation in SpecialPowersObserver.jsm. r=jmaher 2016-02-18 09:09:28 -08:00
Randell Jesup 267abe3945 Bug 1242724: add an export of runnable_utils.h unless/until it gets moved to xpcom/mfbt r=glandium
MozReview-Commit-ID: C577TmkWaWE
2016-02-18 11:44:55 -05:00
Mason Chang 579a548e8f Bug 1249033 - Enable Subpixel AA Text on Skia for Dwrite and GDI Fonts. r=jrmuizel 2016-02-18 08:37:43 -08:00
Luke Wagner cacec09ab2 Bug 1241233 - Odin: don't report symbolicLinks memory usage twice (r=bbouvier)
MozReview-Commit-ID: EH7pybiedfB

--HG--
extra : rebase_source : ddb3660c47a2b502219d18b418b473a2aebedce3
2016-02-18 10:33:57 -06:00
Gian-Carlo Pascutto 369929445b Bug 1247236. r=jesup 2016-02-18 17:25:22 +01:00
Honza Bambas 06ad5a472f Bug 961430 - Allow pid be added to the log file name automatically. r=froydnj 2016-02-18 07:56:00 -05:00
Honza Bambas fd14c17712 Bug 1247432 - Don't do any unnecessary I/O in cache2 after shutdown. r=michal 2016-02-12 09:36:00 -05:00
Patrick McManus 0acb222f9a Bug 1248203 - streamline h2 stream flow control buffer r=hurley 2016-02-13 12:10:02 -05:00
Lee Salzman 05c95317a9 Bug 1245241 - part 4 - move SharedMemorySysV details into nsShmImage. r=nical 2016-02-18 10:56:15 -05:00
Lee Salzman f5674ca6c2 Bug 1245241 - part 3 - remove unused AdoptShmem from IPDL. r=billm 2016-02-18 10:56:15 -05:00