Commit Graph

417039 Commits

Author SHA1 Message Date
Jonathan Kew
91b3f58803 Bug 1152254 - Handle vertical text frames when clipping display list for drag image. r=smontagu 2015-04-08 11:36:05 +01:00
Daniel Holbert
6f842d2ca6 Bug 1148506: Remove unused variable 'bool result' from code generated by getDeleterBody(), in Codegen.py. r=jorendorff 2015-04-16 11:00:28 -07:00
Jonathan Kew
88640056a8 Bug 1151993 - Fix the reference for 1124636-2-fieldset-min-height to match new behavior. r=smontagu 2015-04-08 09:18:33 +01:00
Jonathan Kew
72d09817a0 Bug 1151993 - Reftest for inline-sizing of orthogonal block frames. r=smontagu 2015-04-07 22:50:48 +01:00
Jonathan Kew
e54c9bd678 Bug 1151993 - Apply shrink-wrapping to block frames that are orthogonal to their containing block. r=smontagu 2015-04-07 19:56:58 +01:00
Jonathan Kew
5da8fb24f9 Bug 1144501 - Reftest for sizing of orthogonal frame after block-end margin. r=smontagu 2015-04-07 16:54:07 +01:00
Jonathan Kew
a97792aed1 Bug 1144501 - Take account of orthogonal writing modes when adjusting available size to reflow a child frame. r=smontagu 2015-04-07 15:35:30 +01:00
Eitan Isaacson
21b7ceb7e9 Bug 1155034 - Let indirect audio speech services send their own events. Make pause/resume IPC safe. r=smaug 2015-04-16 10:36:47 -07:00
Timothy Nikkel
7f088bfbe8 Bug 1155025. Make the root layer on fennec have null scroll id with containerless scrolling. r=mstange
On Android we want the root xul document to get a null scroll id so that the root content document gets the first non-null scroll id.
2015-04-16 12:34:17 -05:00
Jim Blandy
1d40faa3cd Bug 1063257: Implement JS::ubi::Node::size for JSString. r=sfink
--HG--
extra : rebase_source : c126a5e626d666941b0fc657fbd7fcf1450e0e35
extra : histedit_source : f5cf97b77bf057c6ca47a072fde7b67e1f28e671
2015-03-22 23:06:51 -07:00
Jim Blandy
fc9d59392a Bug 1062473: Implement JS::ubi::Node::size for JSObjects. r=sfink,terrence
--HG--
extra : rebase_source : cc27cefa89ab9689cbfe7f62635a00c3363f4265
extra : histedit_source : fd7c1ca09c654b27536774d7b722319819dd74e0
2015-04-01 18:04:53 -07:00
Jim Blandy
161ee5e528 Bug 1155197: For JS::ubi::Node, provide jsObjectClassName directly in JSObject specialization. r=terrence
--HG--
extra : rebase_source : 2b192a3b74a6e9ac2e1bf9e967bcd8b2a7d41ce6
extra : histedit_source : 30b033cce6b71683240a117a8431d5c78cbc0581
2015-04-15 22:04:38 -07:00
Jim Blandy
b83ebdef63 Bug 1062473: Make JSObject::allocKindForTenure out of GetObjectAllocKindForCopy. r=terrence
--HG--
extra : rebase_source : 6fdd6fcf599e659cae925932b24a5a7a27ac1f3f
2015-04-01 17:57:41 -07:00
Jim Blandy
b665cd84f5 Bug 1062473: Add 'const' qualifiers to this for some NativeObject methods and free functions. r=terrence
--HG--
extra : rebase_source : 6042e1193a146e2bcd4bfc9c3da7aa706f0c474c
2015-03-11 16:54:11 -07:00
Jim Blandy
e7fadef8d5 Bug 1062473: Add 'pointer-byte-size' to getBuildConfiguration results. r=sfink
--HG--
extra : rebase_source : 405bef9d281a48e0781105a2158186d17544089f
2015-02-16 14:22:44 -08:00
Jim Blandy
a1f8669a0c Bug 1062473: Use mozalloc's moz_malloc_size_of in the JS shell, not our own custom copy. r=glandium
--HG--
extra : rebase_source : 0d35302f40bbc602d0338d1bcb563b045babd441
2015-04-13 16:11:32 -07:00
Jim Blandy
1121ad9a09 Bug 1145051: Don't include xpcom-config.h from mozalloc.h; it's unused. r=glandium
--HG--
extra : rebase_source : 7218f1f16db1d6c439583022c4dc73e4da8e4312
2015-03-19 01:03:05 -07:00
Jim Blandy
6afdd6c96b Bug 1145051: Use MOZ_WARN_UNUSED_RESULT instead of NS_WARN_UNUSED_RESULT. r=glandium
--HG--
extra : rebase_source : d210822225d307f3e3685cb5f95b461c48c0be7e
2015-03-19 00:46:40 -07:00
Jim Blandy
a778e9f970 Bug 1145051: Replace uses of NS_ATTR_MALLOC with new MOZ_ALLOCATOR from mfbt/Attributes.h. r=glandium
--HG--
extra : rebase_source : 294215445f084687ed7fa51b88e7a22e586447a2
2015-03-18 23:56:08 -07:00
Boris Zbarsky
9f8de4bfd5 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
86b08ed9b5 Bug 1154598. Keep better track of our script requests. r=smaug 2015-04-16 13:22:02 -04:00
Eitan Isaacson
48be9773bd Bug 1154741 - Disable test_speech_cancel.html on b2g. r=me 2015-04-16 10:07:08 -07:00
David Keeler
81764496cd 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
f026d499ed Bug 1154805 - Followup bustage fix. r=me CLOSED TREE 2015-04-16 09:54:23 -07:00
Bobby Holley
698e3f4e09 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
b99288ff18 Bug 1154805 - Stop manually passing TaskDispatchers everywhere. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
1590c33115 Bug 1154805 - Remove MaybeTailDispatch. r=jww
This is now the default behavior.
2015-04-16 09:28:56 -07:00
Bobby Holley
3c7d850355 Bug 1154805 - Do tail dispatch automatically. r=jww 2015-04-16 09:28:56 -07:00
Bobby Holley
4b2b5d54a0 Bug 1154805 - Rejigger tail dispatching assertions. r=jww 2015-04-16 09:28:55 -07:00
Bobby Holley
49eb65cfec Bug 1154805 - Hoist the GetCurrent TLS logic into AbstractThread. r=jww 2015-04-16 09:28:55 -07:00
Ryan VanderMeulen
a08d886394 Backed out changeset 5c83a36d9eba (bug 1153832) for Gip(a) failures.
CLOSED TREE
2015-04-16 12:20:48 -04:00
Ryan VanderMeulen
d827a7ffd1 Bug 994541 - Skip 789933-1.html on Linux debug due to frequent crashes. 2015-04-16 12:20:06 -04:00
Paul Adenot
af76d0abc7 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
d876b3e545 Bug 870891 - move DIST_FILES to moz.build; r=mshal 2015-04-15 16:04:49 -04:00
Andreas Tolfsen
9ad39929e4 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

--HG--
extra : rebase_source : 2fac74a40d529f4a9112d4cd1e8d3f0681fd3499
extra : source : 043a824dd7b749192a8c7ec3f1a8d3ba4d2619d0
2015-04-15 12:18:00 +01:00
Sotaro Ikeda
116aa5b895 Bug 1153344 - Suppress DispatchOnAudioSinkComplete() r=cpearce 2015-04-16 06:46:01 -07:00
Paul Adenot
af155473a0 Bug 1148354 - Deprecate the doppler effect from the PannerNode. r=ehsan 2015-04-16 15:35:19 +02:00
EKR
e4fc5c1d1c 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
4dc4420abe Bug 1124695 - [mozrunner] and/or [mozprocess] should send SIGTERM before sending SIGKILL by default; r=ahal
--HG--
extra : rebase_source : f748f2b0ed6e3cf17f7bc9da1be8a8d243dff468
2015-02-27 15:11:14 -05:00
Tooru Fujisawa
7bf06b2b49 Bug 1154234 - Remove unnecessary return in BezierCanvas.prototype.plot in CubicBezierWidget.js. r=pbrosset 2015-04-16 21:55:59 +09:00
Tooru Fujisawa
718d9aee96 Bug 1155048 - Remove redundant return statement in CustomizableUI.jsm. r=Gijs 2015-04-16 21:55:57 +09:00
Paul Adenot
e32b404e54 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
ef43ff7fe0 Backed out changeset cc8eb386f147 (bug 1154691) for b2g test bustage on a CLOSED TREE 2015-04-16 13:47:51 +02:00
Chris Lord
2b3b00dfd3 Bug 994541 - Enable BasicCompositor OMTC on linux. r=Bas 2015-03-12 14:01:23 +01:00
Nicolas Silva
3f0ffbe90e Bug 1155092 - Disable the test browser_PopupNotification on Linux asan. r=roc 2015-04-16 13:36:33 +02:00
Ehsan Akhgari
087743bda2 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
8246ba8f46 Bug 1152169 - DataStoreService should check if the first revision exists, r=bent 2015-04-16 12:25:42 +01:00
Carsten "Tomcat" Book
0978eed0db Merge mozilla-central to mozilla-inbound
--HG--
extra : rebase_source : 2d5726f46e414db50c1f956bb91dc1c6ec80c322
2015-04-16 12:46:00 +02:00
Carsten "Tomcat" Book
ad1f0f26c7 merge mozilla-inbound to mozilla-central a=merge 2015-04-16 12:35:31 +02:00
Carsten "Tomcat" Book
626f1ee6b8 merge fx-team to mozilla-central a=merge 2015-04-16 12:34:23 +02:00