Commit Graph

415841 Commits

Author SHA1 Message Date
Jeff Muizelaar
223de83115 Bug 1152509. Use Mask with alpha to avoid allocating a surface. r=bas
This should give a performance improvement on platforms
not using Cairo (especially D2D)

--HG--
extra : rebase_source : eea1167839113ac5a01dcf1efee4d67cc2a24937
2015-04-09 10:52:11 -04:00
Trevor Saunders
cec589153c bug 1151402 - proxy most of IAccessibleText and IAccessibleEditableText
r=davidb


--HG--
rename : accessible/windows/msaa/Platform.cpp => accessible/windows/ProxyWrappers.h
2015-04-09 11:18:23 -04:00
Ehsan Akhgari
e69f6f626a Bug 1141256 - Stop randomizing the URL for the service worker now that bug 931249 has been fixed 2015-04-09 11:11:14 -04:00
Mike Kaply
5475327904 Bug 1001158 - Handle an invalid distribution.ini gracefully, r=gijs
--HG--
extra : rebase_source : b5bc9647a5df1def549e34238881406b649ea272
extra : amend_source : beb455f572b9d27ece058af5ee9e7fbc1c9b2cb0
2015-04-08 14:18:31 -05:00
Benjamin Bouvier
2b93371895 Bug 1084319: Actually patter-match SIMD.bool (rebasing mistake); r=nbp
--HG--
extra : rebase_source : c94340db691ca8692911ce6a3b9663a776259531
extra : amend_source : bcefd108260f4ee0c56bf371ebe4fb3f39a90539
2015-04-09 16:08:07 +02:00
Ehsan Akhgari
7f2412ff3d Bug 1151873 - Unit test 2015-04-09 10:12:27 -04:00
Andrew Halberstadt
046e79ee98 Bug 1046992 - Consolidate desktop/b2g/b2g desktop mochitest mach commands, r=gbrown
--HG--
extra : rebase_source : 9b9fc8c9fa50530a4bfc574bd0782c2594237474
2015-04-08 11:12:52 -04:00
Mark Goodwin
2c5369d16e Bug 1132689 - Feb 2015 batch of EV root CA Changes. r=keeler
--HG--
extra : rebase_source : 43a28d1b97c569280979c8a2d95494e4d2f9a67c
extra : amend_source : 056721a65cc7d0738d9ab2a92071f8f7eaf48262
2015-03-30 08:57:00 +02:00
Nicholas Hurley
0b4c1de637 Bug 1127618 - make push caches work in e10s. r=mcmanus r=froydnj
--HG--
extra : rebase_source : 3da2229082ccd041a1ec47ba77d9f0940020f3c9
2015-04-08 14:42:00 +02:00
Ehsan Akhgari
3a36f66164 Bug 1151873 - Stop forcing text/plain-only content being copied to the clipboard when an ancestor of the selected node has significant whitespace; r=roc
When fixing bug 116083, I didn't understand the purpose of the original
code correctly.  Setting mIsTextWidget to true will force a text/plain
MIME type, and therefore disabling the copying of any HTML content.  I
don't know why this path in the code used to exist, but it is basically
the cause of this bug, so we should remove it.
2015-04-09 09:45:33 -04:00
Benjamin Bouvier
730757f275 Bug 1146363: Inline SIMD.int32x4.bool; r=sunfish
--HG--
extra : rebase_source : dd1a610b148f362f6e35f6c3a90f68b6e4c31420
extra : amend_source : 7cf7bb3b747f86d49bcc4787d15e220e323daee7
2015-03-23 15:45:05 +01:00
Carsten "Tomcat" Book
31c4421faf Backed out changeset 7fc52c48e6e3 (bug 1094764) for mulet m-3 perma failure in /test_dataChannel_basicAudioVideo.html 2015-04-09 13:44:27 +02:00
Jean-Yves Avenard
aa270b640c Bug 1152652: Part1. Use mStandardMozillaStyle for crypto classes. r=edwin 2015-04-09 21:14:56 +10:00
Jean-Yves Avenard
8a19b6772a Bug 1150853: Part3. Do not modify provided extradata array. r=edwin
The extradata provided may be modified elsewhere, prevent potential conflict.
2015-04-09 21:14:56 +10:00
Jean-Yves Avenard
e6858f0af5 Bug 1150853: Part2. Use new MediaRawObject across the board. r=cpearce. 2015-04-09 21:14:55 +10:00
Jean-Yves Avenard
a441d92aa3 Bug 1150853: Part1. Create MediaRawData object type. r=cpearce
This object extends MediaData and will be used to contain demuxed compressed
data.
2015-04-09 21:14:55 +10:00
Andreas Tolfsen
20e9c864e8 Bug 1152425: Fix unicode string lookup in Marionette client
r=jgraham

--HG--
extra : rebase_source : 56560133ebe51e82d47923dd69a993644da09528
extra : source : 2981a890a0365f7ff519362400c893dd2c0ba51d
2015-04-08 18:39:53 +01:00
Carsten "Tomcat" Book
2d13b44c69 Backed out changeset 35e6bbc2136b (bug 1134596) for Android Crashtest failures 2015-04-09 12:33:41 +02:00
Carsten "Tomcat" Book
550bcb19ad Backed out changeset 82d6b5523a2b (bug 1134596) 2015-04-09 12:31:51 +02:00
Carsten "Tomcat" Book
63274e410d Backed out changeset fb48ee62bab4 (bug 1134596) 2015-04-09 12:31:49 +02:00
Makoto Kato
125a6e2f73 Bug 1128365 - MOZ_TOOLS is unnecessary. r=glandium 2015-04-09 19:24:02 +09:00
Boris Egorov
7947703867 Bug 1152359 - Fix doppler shift calculation formula. r=padenot 2015-04-08 21:18:54 +06:00
Paul Adenot
70b6a9e143 Bug 1094764 - Implement AudioContext.suspend and friends. r=roc,ehsan
- Relevant spec text:
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-suspend-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-resume-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-close-Promise
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-state
    - http://webaudio.github.io/web-audio-api/#widl-AudioContext-onstatechange

- In a couple words, the behavior we want:
    - Closed context cannot have new nodes created, but can do decodeAudioData,
    and create buffers, and such.
    - OfflineAudioContexts don't support those methods, transitions happen at
    startRendering and at the end of processing. onstatechange is used to make
    this observable.
    - (regular) AudioContexts support those methods. The promises and
    onstatechange should be resolved/called when the operation has actually
    completed on the rendering thread.  Once a context has been closed, it
    cannot transition back to "running". An AudioContext switches to "running"
    when the audio callback start running, this allow authors to know how long
    the audio stack takes to start running.
    - MediaStreams that feed in/go out of a suspended graph should respectively
    not buffer at the graph input, and output silence
    - suspended context should not be doing much on the CPU, and we should try
    to pause audio streams if we can (this behaviour is the main reason we need
    this in the first place, for saving battery on mobile, and CPU on all
    platforms)

- Now, the implementation:
    - AudioNodeStreams are now tagged with a context id, to be able to operate
    on all the streams of a given AudioContext on the Graph thread without
    having to go and lock everytime to touch the AudioContext. This happens in
    the AudioNodeStream ctor. IDs are of course constant for the lifetime of the
    node.
    - When an AudioContext goes into suspended mode, streams for this
    AudioContext are moved out of the mStreams array to a second array,
    mSuspendedStreams. Streams in mSuspendedStream are not ordered, and are not
    processed.
    - The MSG will automatically switch to a SystemClockDriver when it finds
    that there are no more AudioNodeStream/Stream with an audio track. This is
    how pausing the audio subsystem and saving battery works. Subsequently, when
    the MSG finds that there are only streams in mSuspendedStreams, it will go
    to sleep (block on a monitor), so we save CPU, but it does not shut itself
    down. This is mostly not a new behaviour (this is what the MSG does since
    the refactoring), but is important to note.
    - Promises are gripped (addref-ed) on the main thread, and then shepherd
    down other threads and to the GraphDriver, if needed (sometimes we can
    resolve them right away). They move between threads as void* to prevent
    calling methods on them, as they are not thread safe. Then, the driver
    executes the operation, and when it's done (initializing and closing audio
    streams can take some time), we send the promise back to the main thread,
    and resolve it, casting back to Promise* after asserting we're back on the
    main thread. This way, we can send them back on the main thread once an
    operation has complete (suspending an audio stream, starting it again on
    resume(), etc.), without having to do bookkeeping between suspend calls and
    their result. Promises are not thread safe, so we can't move them around
    AddRef-ed.
    - The stream destruction logic now takes into account that a stream can be
    destroyed while not being in mStreams.
    - A graph can now switch GraphDriver twice or more per iteration, for
    example if an author goes suspend()/resume()/suspend() in the same script.
    - Some operation have to be done on suspended stream, so we now use double
    for-loop around mSuspendedStreams and mStreams in some places in
    MediaStreamGraph.cpp.
    - A tricky part was making sure everything worked at AudioContext
    boundaries.  TrackUnionStream that have one of their input stream suspended
    append null ticks instead.
    - The graph ordering algorithm had to be altered to not include suspended
    streams.
    - There are some edge cases (adding a stream on a suspended graph, calling
    suspend/resume when a graph has just been close()d).
2015-02-27 18:22:05 +01:00
Alfredo Yang
747b227596 Bug 1152236: OMX codec should use AnnexB as input format. r=jya 2015-04-09 01:18:00 +10:00
Hannes Verschore
be1717c62e Bug 1138881: IonMonkey - Part 4: Fold redudant OR compare away, r=bhackett 2015-04-09 09:45:09 +02:00
Lars T Hansen
797d1f085f Bug 1142593 - factor atomics into the platform layer. r=waldo 2015-04-09 08:09:58 +02:00
Eric Faust
66f5123027 Bug 1141862 - Followup: Remove erronously landed debug spew. r=me 2015-04-08 22:40:51 -07:00
Mason Chang
bc50990690 Bug 1151489. Enable software vsync on all b2g versions. r=kats 2015-04-08 22:02:01 -07:00
Eric Faust
2571dab641 Bug 1141862 - Part 6: Implement ES6 SuperProperty and SuperMember. (r=jorendorff) 2015-04-08 17:41:01 -07:00
Bobby Holley
72ad334118 Bug 1151656 - Use TailDispatch for the MDSM's task queue. r=mattwoodrow 2015-04-08 21:33:21 -07:00
Bobby Holley
018e5fc24d Bug 1151656 - Make MediaPromises operate with TaskDispatchers. r=mattwoodrow 2015-04-08 21:33:21 -07:00
Bobby Holley
07fc0fdd03 Bug 1151656 - Implement the ability to assert tail dispatch. r=mattwoodrow
In order to make sure that the MDSM properly dispatches everything via tail
dispatch, we want verification that is more robust than simple inspection.
2015-04-08 21:33:20 -07:00
Bobby Holley
0cf99d6b30 Bug 1151656 - Implement a post-run TaskDispatcher for MediaTaskQueue. r=mattwoodrow 2015-04-08 21:33:20 -07:00
Bobby Holley
a413743712 Bug 1151656 - Implement TaskDispatcher.h. r=mattwoodrow 2015-04-08 21:33:19 -07:00
Bobby Holley
9839891059 Bug 1151656 - Implement the ability to get the currently running task queue. r=mattwoodrow
I think this will generally be useful for asserting things. If we're concerned
about the TLS overhead we could make it debug-only, but my sense is that it's
negligible.
2015-04-08 21:33:19 -07:00
Bobby Holley
1571be1aab Bug 1151656 - Do static initialization explicitly. r=mattwoodrow 2015-04-08 21:33:18 -07:00
Bobby Holley
c71babaf43 Bug 1151656 - Stop doing sync dispatch of PlaybackEnded. r=mattwoodrow 2015-04-08 21:33:18 -07:00
Bobby Holley
1748d9ab1f Bug 1151656 - Add some more assertions. r=mattwoodrow 2015-04-08 21:33:17 -07:00
Kartikaya Gupta
1691ae220e Bug 1149613 - Remove unneded field. r=botond 2015-04-08 23:39:28 -04:00
Shu-yu Guo
3808d7b321 Bug 1148388 - Handle lost accesses in missing Debugger scopes for block objects. (r=jimb) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
2b4333d54b Bug 1151679 - Display the property name in the JIT Optimizations side pane. (r=jsantell) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
0ec63812df Bug 1151679 - Stream the property name of getprop and setprop optimization sites. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
54c57c920d Bug 1150654 - Add CantInlineNoSpecialization to distinguish natives for which there is no Ion specialization. (r=jandem) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
2df8d68f0d Bug 1151606 - Stream atoms instead of raw pointers for native functions in tracked optimizations. (r=djvj) 2015-04-08 20:36:20 -07:00
Shu-yu Guo
d2d1d675ec Bug 1151634 - Patch a valid return address for debug mode OSR from exception handler when profiling is enabled. (r=jandem) 2015-04-08 20:36:20 -07:00
Valentin Gosu
d1e3086f18 Bug 1134596 - SetOffline(false) in nsIOService::Init r=honzab 2015-04-09 06:33:08 +03:00
Valentin Gosu
49e6a369d1 Bug 1134596 - Add network.offline-mirrors-connectivity pref to preserve previous behaviour r=honzab 2015-04-09 06:33:03 +03:00
Valentin Gosu
375387ec80 Bug 1134596 - Separate nsIOService's network detection from offlineMode r=honzab 2015-04-09 06:32:53 +03:00
Andreas Pehrson
0efa763940 Bug 1149494 - Part 2. Add mochitest. r=jesup
--HG--
extra : rebase_source : 95a1de85dfe6c3036a16f9cdd09df43e70fa0888
2015-04-08 17:59:30 +12:00
Robert O'Callahan
1524dbeb74 Bug 1149494 - Part 1. Add a listener directly to the unblocked input stream that reports the size of the first non-empty frame seen. r=pehrsons
--HG--
extra : rebase_source : 79b92a9726670125cd028355e298e43a200785ab
2015-04-08 17:51:21 +12:00