Commit Graph

239496 Commits

Author SHA1 Message Date
Jim Blandy
b818a4adbe Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium 2015-03-19 00:46:40 -07:00
Jim Blandy
bb247ca22e Bug 1145051: Replace uses of NS_ATTR_MALLOC with new MOZ_ALLOCATOR from mfbt/Attributes.h. r=glandium 2015-03-18 23:56:08 -07:00
Boris Zbarsky
b246ea2ae9 Bug 1154366. Pass in a JSContext to StructuredCloneContainer::InitFromJSVal so it will throw its exceptions somewhere where people might see them. r=bholley 2015-04-16 13:22:15 -04:00
Boris Zbarsky
a4b3a42f20 Bug 1154598. Keep better track of our script requests. r=smaug 2015-04-16 13:22:02 -04:00
Eitan Isaacson
441aaedd35 Bug 1154741 - Disable test_speech_cancel.html on b2g. r=me 2015-04-16 10:07:08 -07:00
David Keeler
ef38913727 bug 1147497 - Add API for querying site pin status. Disallow overrides for sites that have pins. r=mmc r=smaug r=cykesiopka r=past 2015-03-25 11:04:49 -07:00
Bobby Holley
dfdc32a333 Bug 1154805 - Followup bustage fix. r=me CLOSED TREE 2015-04-16 09:54:23 -07:00
Bobby Holley
37683d6104 Bug 1154805 - Remove unused AbstractThread::InTailDispatch. r=jww
This is unnecessary now that we pass this explicitly during dispatch.
2015-04-16 09:28:57 -07:00
Bobby Holley
161ad41b60 Bug 1154805 - Stop manually passing TaskDispatchers everywhere. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
09820383ff Bug 1154805 - Remove MaybeTailDispatch. r=jww
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Bobby Holley
e6a9a60f0d Bug 1154805 - Do tail dispatch automatically. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
22820108d3 Bug 1154805 - Rejigger tail dispatching assertions. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley
23d07f80a1 Bug 1154805 - Hoist the GetCurrent TLS logic into AbstractThread. r=jww 2015-04-16 09:28:55 -07:00
Ryan VanderMeulen
b194af2156 Backed out changeset 5c83a36d9eba (bug 1153832) for Gip(a) failures.
CLOSED TREE
2015-04-16 12:20:48 -04:00
Ryan VanderMeulen
4b4367be07 Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
Paul Adenot
8c600ca84e Bug 1136360 - Take into account the output device latency in the clock, and be more robust about rounding error accumulation, in cubeb_wasapi.cpp. r=kinetik 2015-03-16 18:12:38 +01:00
Nathan Froyd
4ac32b4479 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Andreas Tolfsen
a73b52ebf9 Bug 1153832: New dispatch style framework in Marionette listener
Takes advantage of the new dispatching technique introduced in bug
1107706 on the content side.

The patch introduces the framework to write simpler command handlers
in content space, but does not convert all commands in listener.js to
use this.  This can be done gradually, as both techniques are still
compatible.

r=dburns
2015-04-15 12:18:00 +01:00
Sotaro Ikeda
e44bd1f136 Bug 1153344 - Suppress DispatchOnAudioSinkComplete() r=cpearce 2015-04-16 06:46:01 -07:00
Paul Adenot
312251badd Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
EKR
480c7ce21e Bug 1151080: Rewrite NR_async_timer_set(0) to use direct dispatch. r=mt 2015-04-16 06:33:49 -07:00
Julien Pagès
3c8061eb0f Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default; r=ahal 2015-02-27 15:11:14 -05:00
Tooru Fujisawa
77c9a07ff5 Bug 1154234 - Remove unnecessary return in BezierCanvas.prototype.plot in CubicBezierWidget.js. r=pbrosset 2015-04-16 21:55:59 +09:00
Tooru Fujisawa
bcc9883477 Bug 1155048 - Remove redundant return statement in CustomizableUI.jsm. r=Gijs 2015-04-16 21:55:57 +09:00
Paul Adenot
cdfde43ff6 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
Carsten "Tomcat" Book
a39954a551 Backed out changeset cc8eb386f147 (bug 1154691) for b2g test bustage on a CLOSED TREE 2015-04-16 13:47:51 +02:00
Chris Lord
f2866652e0 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Nicolas Silva
d0876f309d Bug 1155092 - Disable the test browser_PopupNotification on Linux asan. r=roc 2015-04-16 13:36:33 +02:00
Ehsan Akhgari
c710827c16 Bug 1154831 - Remove the gcc-4.6-warning-silencing code in ErrorResult::ErrorResult; r=bzbarsky 2015-04-16 07:29:31 -04:00
Andrea Marchesini
eecf391129 Bug 1152169 - DataStoreService should check if the first revision exists, r=bent 2015-04-16 12:25:42 +01:00
Carsten "Tomcat" Book
2a1251a294 Merge mozilla-central to mozilla-inbound 2015-04-16 12:46:00 +02:00
Carsten "Tomcat" Book
23a850f16d merge mozilla-inbound to mozilla-central a=merge 2015-04-16 12:35:31 +02:00
Carsten "Tomcat" Book
057fe66207 merge fx-team to mozilla-central a=merge 2015-04-16 12:34:23 +02:00
Mark Hammond
05528cd87b Bug 1153121 - have the readinglist sync engine log existing local items if trace logging is enabled. r=adw 2015-04-16 16:16:10 +10:00
Mark Hammond
ff3f9579f4 Bug 1152698 - certain readinglist server response codes should cause the sync engine to throw/abort. r=adw 2015-04-16 16:16:10 +10:00
Phil Ringnalda
e77a29408d Back out 364bc6209cc5 (bug 1134501) for jetpack bustage 2015-04-15 22:08:20 -07:00
Shu-yu Guo
b9e2fa2e4f Bug 1147939 - The expression decompiler can't assume that it's called directly from script. (r=bhackett) 2015-04-15 21:55:21 -07:00
Shu-yu Guo
4de70a3ed5 Bug 1152304 - Add displaying of block notes to dis() in the JS shell. (r=jimb) 2015-04-15 21:55:21 -07:00
Shu-yu Guo
1abff36f03 Bug 1152304 - Record the end of block scope notes to be after emission of JSOP_POPBLOCKSCOPE. (r=jimb) 2015-04-15 21:55:21 -07:00
B2G Bumper Bot
b3a68a5c7e Bumping manifests a=b2g-bump 2015-04-15 20:52:19 -07:00
B2G Bumper Bot
a87cf460f1 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/2511908f59de
Author: autolander <bug.autolander@gmail.com>
Desc: Bug 1132666 - merge pull request #28737 from jimporter:music-rtl-tiles to mozilla-b2g:master

========

https://hg.mozilla.org/integration/gaia-central/rev/6d16c741cd1a
Author: Jim <jporter@mozilla.com>
Desc: Bug 1132666 - [RTL][Music] Translated text on music tiles is not right aligned in Arabic
2015-04-15 20:50:08 -07:00
Wes Kocher
6776cc632f Merge m-c to b2g-inbound to prevent W3 permafail 2015-04-15 18:34:33 -07:00
Ryan VanderMeulen
f9318031ff Merge m-c to b2g-inbound. a=merge 2015-04-15 21:25:43 -04:00
Ryan VanderMeulen
66f788b23d Merge fx-team to m-c. a=merge 2015-04-15 21:23:40 -04:00
Ryan VanderMeulen
dad7bc91fe Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Jim Blandy
c58464cd43 Bug 1155006: Fix unified build sensitivities in js/src. r=shu 2015-04-15 17:50:15 -07:00
Jim Blandy
3be5921a64 Bug 1155006: Fix unified build sensitivities in js/src/jit. r=shu 2015-04-15 17:48:30 -07:00
Bill McCloskey
3ab620085f Bug 1154465 - Test for add-on compat warnings (r=gabor) 2015-04-15 20:01:13 -07:00
Bill McCloskey
5dd19bb438 Bug 1154465 - Fix add-on shim telemetry (r=gabor) 2015-04-15 20:00:37 -07:00
Valentin Gosu
bc4ddb96ea Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00