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

408838 Коммитов

Автор SHA1 Сообщение Дата
Jon Coppeard 8c8822c93b Bug 899979 - Remove unneeded test code r=waldo 2015-03-02 13:30:34 +00:00
Jon Coppeard bbd57fc536 Bug 1133377 - Make DataView constructor correctly handle undefined byteLength argument r=sfink 2015-03-02 13:30:34 +00:00
Jon Coppeard ed4ebb4b4d Bug 1128670 - Ignore intermittent timeout in compacting GC tests r=terrence 2015-03-02 13:30:34 +00:00
Mats Palmgren ddf90708d1 Bug 1137723 - Don't call ::IsBoxWrapped(this) with the current mParent intact b/c IsBoxWrapped uses GetParent() and it may have been destroyed while this frame is still sitting an overflow list waiting to be lazy re-parented. r=roc 2015-03-02 13:59:29 +00:00
Nigel Babu 16d71fc156 Backed out changeset a622dbe33efb (bug 1135544) for ASAN mochitest-3 bustage on CLOSED TREE 2015-03-02 18:13:39 +05:30
Nigel Babu 19d4481b2a Backout Bug 1132771 for spidermonkey build bustage on CLOSED TREE 2015-03-02 17:13:05 +05:30
Benjamin Bouvier a3007359df Bug 1135038: Inline SIMD.check as guard unbox; r=nbp
--HG--
extra : rebase_source : 166e5df79a0bba98d1f928da1ebd82f6b1e751e1
2015-02-27 09:33:34 +01:00
Benjamin Bouvier d4fd88d65b Bug 1134638: 16. Use more macros; r=nbp
--HG--
extra : rebase_source : da4f2ea01a5a3cec8d22f82b4a6c905ba09ff0f8
2015-02-26 16:47:04 +01:00
Benjamin Bouvier 1b04f3a08d Bug 1134638: 15. Inline select/bitselect in Ion; r=nbp
--HG--
extra : rebase_source : 678b97a3a417cbfcb24c04f6284c4cbd044fcf9e
2015-02-24 18:50:01 +01:00
Benjamin Bouvier 1c09b86cc2 Bug 1134638: 14. Inline SIMD getters (signMask, .x, .y, .z, .w) in Ion; r=nbp
--HG--
extra : rebase_source : ef4b04965069c83dc0c129cc86013fb484e7a1bd
2015-02-26 12:08:16 +01:00
Benjamin Bouvier d9f3eae184 Bug 1134638: 13. Inline splat in Ion; r=nbp
--HG--
extra : rebase_source : 0cbcde4f2438b3247db3ff192b734ceccf18f437
2015-02-26 12:34:34 +01:00
Benjamin Bouvier 77fe120513 Bug 1134638: 12. Inline with{X,Y,Z,W} in Ion; r=nbp
--HG--
extra : rebase_source : a263bbb64d4ba84079ff648a1c0d8bd63c96d62d
2015-02-25 14:44:37 +01:00
Benjamin Bouvier 3e2e07d1f5 Bug 1134638: 11. Add type checks in move emitter and LIR generation; r=nbp
--HG--
extra : rebase_source : 15d503589491815fcebe99efc912ba3dafc8fddc
2015-02-23 16:31:26 +01:00
Benjamin Bouvier 2469cafc12 Bug 1134638: 10. Inline SIMD comparisons in Ion; r=nbp
--HG--
extra : rebase_source : a3aca1b36c2991969236ea9cede151a1f159fc2d
2015-02-23 16:31:39 +01:00
Benjamin Bouvier 740fff1c0f Bug 1134638: 9. Drive-by cleanup: FloatingTypePolicy can just have SPECIALIZATION_DATA; r=nbp
--HG--
extra : rebase_source : 9d181f69a8bc8a1122232b57a2292053a6b1bb30
2015-02-20 18:42:11 +01:00
Benjamin Bouvier 53caeb1a31 Bug 1134638: 8. Inline SIMD conversions in Ion; r=nbp
--HG--
extra : rebase_source : 097ab6487f403260ad689ff6dda72635f9f842c3
2015-02-23 19:10:07 +01:00
Benjamin Bouvier e18bfb3bda Bug 1134638: 7. Add spew for MSimd{Binary{Bitwise,Arith},Unary}; r=sunfish
--HG--
extra : rebase_source : dd1f455db8261fd50548eb4a97c913d7aa2c2689
2015-02-20 16:34:53 +01:00
Benjamin Bouvier 129a1167f4 Bug 1134638: 6. Inline SIMD unary arithmetic operations; r=nbp
--HG--
extra : rebase_source : c948e16a2b6ada9d0e487ef3a6b251d4f54ab37c
2015-02-20 18:28:31 +01:00
Benjamin Bouvier 626215450b Bug 1134638: 5. Add OperationName to MSimdUnaryArith; r=sunfish
--HG--
extra : rebase_source : 0cad2c541e6e4a7401ccd24df3c8da1ffffc3453
2015-02-20 16:16:16 +01:00
Julian Seward 6e37e4a390 Bug 1132953 - Zero AsmJSModule::CodeRange and AsmJSModule::ExportedFunction::pod on construction, to avoid Valgrind warnings. r=luke.
--HG--
extra : rebase_source : 5dc08d0bd705aca6fbdae6a0a3d208321dcadb9f
2015-02-27 10:24:07 +01:00
Gregory Szorc b931cfa945 NO BUG - Fix reStructuredText warnings
Sphinx has been complaining about a number of reStructuredText warnings
for a while. Fix all the ones in .rst files.

Not asking for review because this is docs only and changing .rst files
can't break anything important.

DONTBUILD (NPOTB)
2015-03-01 22:51:32 -08:00
Gregory Szorc c9f8e8262b Bug 1132771 - Fix grammar nits in moz.build documentation
These were left over from a Ms2ger review and weren't seen before
landing.

DONTBUILD (NPOTB)
2015-03-01 22:15:07 -08:00
Anthony Jones 03ce020fb7 Bug 1135558 - Disable WebM support for MSE; r=rillian 2015-03-02 16:38:45 +13:00
Anthony Jones ad3b3d35da Bug 1135544 - Create an abstract base class for a track demuxer; r=kinetik 2015-03-02 16:34:44 +13:00
Bobby Holley 8ecafb0e29 Bug 1135785 - Hoist some work onto the state machine thread and tighten down our assertions. r=cpearce 2015-03-01 19:33:53 -08:00
Bobby Holley d7ab5a9b0f Bug 1135785 - Stop manually resetting mCurrentSeekTarget in MDSM::SeekCompleted and rely on the AutoSetOnScopeExit instead. r=cpearce
For some reason the current code is resetting it twice - once explicitly and
once with the AutoSetOnScopeExit. To make matters worse, we have a monitor drop
between the two. So when DecodeSeek runs on the decode task queue but SeekCompleted
runs on the state machine thread, we can start another DecodeSeek during the monitor
drop, and then clobber it with the AutoSeetOnScopeExit, causing us to hang.

This is a non-issue with the patches in bug 1135170, but necessary to make the
patches in this bug independently green.
2015-03-01 19:33:52 -08:00
Bobby Holley 8955631001 Bug 1135785 - Stop invoking StopPlayback in SetDormant. r=cpearce
This already gets incoded in the DECODER_STATE_DORMANT case of RunStateMachine,
which will run momentarily on the state machine thread. Doing this allows us to
avoid calling StopPlayback on the main thread.
2015-03-01 19:33:50 -08:00
Bobby Holley ba77f2e511 Bug 1135785 - Return samples on state machine thread. r=cpearce
This is necessary because we're going to want to start disconnecting sample
and seek requests directly from the state machine thread, and the machinery
asserts that disconnection happens on the same thread as resolution.

More generally, this is the right thing to do architecturally, and will help
wean us off the monitor.
2015-03-01 19:33:49 -08:00
Bobby Holley 5173a29934 Bug 1135785 - Make DecodeError safe to run on any thread. r=cpearce
This is necessary so that we can make On{Audio,Video}{,Not}Decoded run on the
state machine thread in the next patch.
2015-03-01 19:33:48 -08:00
Bobby Holley 820ba52b21 Bug 1135785 - Make MediaTaskQueue::IsCurrentThreadIn actually do the right thing on release builds. r=cpearce
The current situation is really dangerous because it compiles on release builds,
but just lies. This bit me when I tried to use it for non-assertion purposes.

My reading of the reasoning for the current setup in bug 968016 is that we didn't
trust nsIEventTarget::IsCurrentThreadOn or thought it might be slow. But the
implementation of MediaTaskQueue::IsCurrentThreadIn doesn't actually use that, and
indeed currently does all of the work for this feature in release builds anyway.
2015-03-01 19:33:46 -08:00
Bobby Holley 206603a7ab Bug 1135785 - Introduce a 1-argument overload of ProxyMediaCall. r=cpearce 2015-03-01 19:33:45 -08:00
Bobby Holley a0678bc6cb Bug 1138072 - Don't defer reading to a closed stream. r=roc
Other streams in the list bail out of the servicing loop if they're closed, so
we can wait indefinitely.
2015-03-01 19:33:44 -08:00
Gregory Szorc f2517a80b0 Bug 1132771 - Implement file-info mach command; r=glandium
Now that we have a mechanism for defining file-based metadata, let's add
a mach command to interface with it.

Currently, we limit ourselves to simple Bugzilla data dumping. Features
will be added over time.

--HG--
extra : rebase_source : 8f6c150f2f284097829aa495b4a043827fa5c8cd
extra : histedit_source : 41c71d0e9b20c73fc7524fd266e16bc7789ff463
2015-02-27 13:58:01 -08:00
Gregory Szorc 3ee0ca43a1 Bug 1132771 - Define some bug components; r=glandium
This patch defines bug components for code that I have historically
touched.

--HG--
extra : rebase_source : 738916cf41ac11c094f5c15667925a7221e6446e
extra : histedit_source : 0f7d5cd869a7b239def58877a8858159219cdf59
2015-02-26 11:43:45 -08:00
Gregory Szorc 06e4b253b9 Bug 1132771 - Add Files to moz.build with ability to define Bugzilla component; r=glandium
The Files sub-context allows us to attach metadata to files based on
pattern matching rules.

Patterns are matched against files in a last-write-wins fashion.

The sub-context defines the BUG_COMPONENT variable, which is a 2-tuple
(actually a named tuple) defining the Bugzilla product and component for
files. There are no consumers yet. But an eventual use case will be to
suggest a bug component for a patch/commit. Another will be to
automatically suggest a bug component for a failing test.

--HG--
extra : rebase_source : 0f4004d364f6c2fe2b7f306823cb94313f4ebfe5
extra : histedit_source : 2beea807a122e08ba152a37beec2fcbe80981b64
2015-02-27 13:56:26 -08:00
Gregory Szorc 8316cdb0b8 Bug 1132771 - Support and test for reading without a config object; r=glandium
We want the ability to read data from any moz.build file without needing
a full build configuration (running configure). This will enable tools
to consume metadata by merely having a copy of the source code and
nothing more.

This commit creates the EmptyConfig object. It is a config object that -
as its name implies - is empty. It will be used for reading moz.build
files in "no config" mode.

Many moz.build files make assumptions that variables in CONFIG are
defined and that they are strings. We create the EmptyValue type that
behaves like an empty unicode string. Since moz.build files also do some
type checking, we carve an exemption for EmptyValue, just like we do for
None.

We add a test to verify that reading moz.build files in "no config" mode
works. This required some minor changes to existing moz.build files to
make them work in the new execution mode.

--HG--
extra : rebase_source : 2f39e19c2eb11f937da85d41b9a514ca810d6be0
extra : source : af07351bf2d6e85293ae3edf0fe4ae6cbc0ce246
2015-02-26 10:21:52 -08:00
Gregory Szorc e1e291e35c Bug 1132771 - Add a test for reading all moz.build files in filesystem traversal mode; r=glandium
moz.build files should execute in filesystem traversal mode. Add a test
that verifies this is true.

This test performs a brute force filesystem scan to find relevant
moz.build files. This can be a little slow. That's unfortunate. But it's
a price we need to pay in order to ensure metadata extraction mode
continues to work.

--HG--
extra : rebase_source : 1b8a7110505a9b196b9b349103b581d2aeb8ddbe
2015-02-26 09:49:49 -08:00
Gregory Szorc 7561839aea Bug 1132771 - Support reading relevant moz.build files; r=glandium
Building on top of the API to retrieve relevant moz.build files for a
given path, we introduce a moz.build reading API that reads all
moz.build files relevant to a given set of paths. We plan to use this
new API to read metadata from moz.build files relevant to a set of
files.

This patch changes the generator behavior of read_mozbuild to emit the
main context before any processing occurs. This allows downstream
consumers to manipulate state of the context before things like
directory processing occurs. We utilize this capability in the new
reading API to forcefully declare the directory traversal order for
processed moz.build files, overriding DIRS and similar variables.

Since variable exporting doesn't work reliably in this new traversal
mode, variable exporting no-ops when this mode is activated.

--HG--
extra : rebase_source : 37e5d76bdcb1a626645bc0440994a3759571b578
2015-02-26 09:44:55 -08:00
Gregory Szorc 984b500de1 Bug 1132771 - Pass special types down to sandboxes via metadata; r=glandium
Currently, MozSandbox assumes that the FUNCTIONS, SPECIAL_VARIABLES, and
SUBCONTEXTS data structures are the instances that should be associated
with the sandbox. As we introduce new moz.build processing modes that
wish to change processing behavior, it is necessary for them to have
control over these special symbols.

This patch moves the declaration of these types to the special metadata
dictionary which is inherited during recursion. The "read_topsrcdir" API
now explicitly passes the initial metadata into "read_mozbuild".

--HG--
extra : rebase_source : c09d9b9b4c20554c4d380148822f36200b89ecf4
2015-02-26 09:43:55 -08:00
Gregory Szorc e02cad6206 Bug 1132771 - Implement strongly typed named tuples; r=glandium
An upcoming patch introduces a use case for a strongly typed named
tuple. So, we introduce a generic factory function that can produce these
types.

--HG--
extra : rebase_source : 4c04dcb511499fc4741f4da88472054b037abbed
2015-02-26 09:38:43 -08:00
Gregory Szorc 7877da7a8a Bug 1132771 - API to return moz.build files relevant for a set of paths; r=glandium
We have an eventual goal to store file-level metadata in moz.build files
and to have this metadata "cascade" down directory hierarchies. e.g.
metadata in the root directory will apply to all children directories.

A prerequisite for this feature is a way to query which moz.build files
are relevant to a given file. In this patch, we implement an API that
returns this information.

--HG--
extra : rebase_source : 294c9e5fe0be7a5e34803e693f5927c06eeee044
2015-02-25 14:10:10 -08:00
Chris Pearce ab0da08c2f Bug 1138240 - Fail faster if a CDM tries to resolve a resolved promise. r=edwin 2015-03-02 14:13:47 +13:00
Jean-Yves Avenard 79e326a1c4 Bug 1137529: Prefer Apple's VDA hardware acceleration for Hi-Def videos. r=rillian
With some GPUs (such as Intel HD-x000), Apple VideoTool box provides poor
decoding speed, causing us to drop frames for most HD videos.
VDA is around 50 times faster on those machines (31ms average to decode a 4K
frame with VT, while 0.6ms average with VDA)
2015-03-02 10:48:28 +11:00
Jean-Yves Avenard 04ed53a51a Bug 1128397: Work around EOS detection in MSE. r=mattwoodrow
This attempts to handle video and audio sourcebuffer not having exactly the
same duration, so the ended event is properly fired.
2015-03-02 10:47:54 +11:00
Jean-Yves Avenard 454c64d2cd Bug 1134387: Prevent crash when decoder couldn't be created. r=edwin 2015-02-27 11:31:46 +11:00
Mike Hommey 58419631ca Bug 762449 - Enable jemalloc 3 by default, but don't make it ride the trains yet. r=njn 2015-03-02 07:35:29 +09:00
Mike Hommey 6dd0c8c299 Bug 762449 - Fix "result of 32-bit shift implicitly converted to 64 bits" on win64. r=njn 2015-03-02 07:35:28 +09:00
Mike Hommey cefaffffe9 Bug 762449 - Make jemalloc's opt.lg_dirty_mult work as documented. r=njn 2015-03-02 07:35:28 +09:00
Brian Hackett 11d50f2069 Bug 1135423 - Use unboxed objects for object literals where possible, clean up object literal creation and property initialization code, r=jandem. 2015-03-01 16:31:41 -06:00
Chris Peterson d95a7455e3 Bug 1137987 - Remove nonstandard let block from dom/downloads/tests. r=aus 2015-02-27 18:31:21 -08:00