Commit Graph

239496 Commits

Author SHA1 Message Date
Jim Blandy
c49a3b9f79 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
207318c9b0 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
f5ba7ab446 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
bb3ce95071 Bug 1154598. Keep better track of our script requests. r=smaug 2015-04-16 13:22:02 -04:00
Eitan Isaacson
a2b11ac57d Bug 1154741 - Disable test_speech_cancel.html on b2g. r=me 2015-04-16 10:07:08 -07:00
David Keeler
34e15cf320 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
efb013394b Bug 1154805 - Followup bustage fix. r=me CLOSED TREE 2015-04-16 09:54:23 -07:00
Bobby Holley
72af190c4c 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
208b7a834f Bug 1154805 - Stop manually passing TaskDispatchers everywhere. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
0a40fe671f Bug 1154805 - Remove MaybeTailDispatch. r=jww
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Bobby Holley
887b50f3dc Bug 1154805 - Do tail dispatch automatically. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
26833e0f6f Bug 1154805 - Rejigger tail dispatching assertions. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley
e5fd29732f Bug 1154805 - Hoist the GetCurrent TLS logic into AbstractThread. r=jww 2015-04-16 09:28:55 -07:00
Ryan VanderMeulen
9b2dd4ad44 Backed out changeset 5c83a36d9eba (bug 1153832) for Gip(a) failures.
CLOSED TREE
2015-04-16 12:20:48 -04:00
Ryan VanderMeulen
9c34080b23 Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
Paul Adenot
04bd4586cb 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
1d766b1f34 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Andreas Tolfsen
df5e884614 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
3d461ba2bb Bug 1153344 - Suppress DispatchOnAudioSinkComplete() r=cpearce 2015-04-16 06:46:01 -07:00
Paul Adenot
ea18aad215 Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
EKR
099a8f17c2 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
4e1bef3f06 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
7121f5da60 Bug 1154234 - Remove unnecessary return in BezierCanvas.prototype.plot in CubicBezierWidget.js. r=pbrosset 2015-04-16 21:55:59 +09:00
Tooru Fujisawa
2947b8bc3c Bug 1155048 - Remove redundant return statement in CustomizableUI.jsm. r=Gijs 2015-04-16 21:55:57 +09:00
Paul Adenot
67071397ed 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
12381e7731 Backed out changeset cc8eb386f147 (bug 1154691) for b2g test bustage on a CLOSED TREE 2015-04-16 13:47:51 +02:00
Chris Lord
cf3d3d8217 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Nicolas Silva
db48565740 Bug 1155092 - Disable the test browser_PopupNotification on Linux asan. r=roc 2015-04-16 13:36:33 +02:00
Ehsan Akhgari
aed12567f8 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
96367a52b4 Bug 1152169 - DataStoreService should check if the first revision exists, r=bent 2015-04-16 12:25:42 +01:00
Carsten "Tomcat" Book
f81e70fc97 Merge mozilla-central to mozilla-inbound 2015-04-16 12:46:00 +02:00
Carsten "Tomcat" Book
44d7adbd93 merge mozilla-inbound to mozilla-central a=merge 2015-04-16 12:35:31 +02:00
Carsten "Tomcat" Book
dbcce67d6e merge fx-team to mozilla-central a=merge 2015-04-16 12:34:23 +02:00
Mark Hammond
910300a6b4 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
64cd1da11a 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
87f3bdecfd Back out 364bc6209cc5 (bug 1134501) for jetpack bustage 2015-04-15 22:08:20 -07:00
Shu-yu Guo
bf509ce7cf 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
f8e6b5e10b 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
0e4f326901 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
c99c5f1ebc Bumping manifests a=b2g-bump 2015-04-15 20:52:19 -07:00
B2G Bumper Bot
f820f01558 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
699b520eca Merge m-c to b2g-inbound to prevent W3 permafail 2015-04-15 18:34:33 -07:00
Ryan VanderMeulen
0f056b350d Merge m-c to b2g-inbound. a=merge 2015-04-15 21:25:43 -04:00
Ryan VanderMeulen
11dd1a3c60 Merge fx-team to m-c. a=merge 2015-04-15 21:23:40 -04:00
Ryan VanderMeulen
0e7e73dc54 Merge inbound to m-c. a=merge 2015-04-15 21:22:31 -04:00
Jim Blandy
719f643530 Bug 1155006: Fix unified build sensitivities in js/src. r=shu 2015-04-15 17:50:15 -07:00
Jim Blandy
bfed9f9eda Bug 1155006: Fix unified build sensitivities in js/src/jit. r=shu 2015-04-15 17:48:30 -07:00
Bill McCloskey
9d71dfce79 Bug 1154465 - Test for add-on compat warnings (r=gabor) 2015-04-15 20:01:13 -07:00
Bill McCloskey
6f6fb03b28 Bug 1154465 - Fix add-on shim telemetry (r=gabor) 2015-04-15 20:00:37 -07:00
Valentin Gosu
5e5b033f1a Bug 1149913 - Disable bug 1093611. Set pref dom.url.encode_decode_hash to true r=honzab 2015-04-16 05:25:10 +03:00