Commit Graph

254842 Commits

Author SHA1 Message Date
Atte Kettunen ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
2432c731f1 test for bug 1041466 2015-07-27 17:50:30 +12:00
Karl Tomlinson
20b091019c test for bug 1020205 2015-07-27 17:31:49 +12:00
Holger Fuhrmannek ext:(%20and%20Paul%20Adenot%20%3Cpaul%40paul.cx%3E)
d3255d2915 test for bug 1012609 r=karlt 2015-07-27 17:27:19 +12:00
Karl Tomlinson
8254d8857b bug 1186781 skip reallocation when audio block is not shared r=padenot 2015-07-22 18:51:11 +12:00
Karl Tomlinson
46ec8b6785 bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot 2015-07-22 17:59:21 +12:00
Karl Tomlinson
4c499cd8dd bug 1186779 add a method to cast AudioChunk data for writing when not shared r=padenot 2015-07-22 18:43:30 +12:00
Karl Tomlinson
8ccf2f9f99 bug 1184801 process AnalyserNode input only when required r=padenot
This moves the application of volume and averaging of channels to the main
thread, performed when required.  It avoids a potential allocation on the
graph thread.  If doing a full analysis for frequency data, the extra work on
the main thread should be negligible.  I assume that repeatedly fetching the
same time domain data with getFloatFrequencyData() is not something we need to
optimize for.  If, in rare circumstances, the extra main thread work turns out
to be significant, then the main thread work in getters is self-regulating,
but too much load on the graph thread leads to catastrophic failure in the
audio.

This also fixes some bugs:

Input and output streams for other consumers are not corrupted by in-place
scaling of data intended to be read-only.

When there are additional channels and fftSize < WEBAUDIO_BLOCK_SIZE, the
channels are not written past the current length of a buffer, so there is no
longer a dependency on nsTArray's behavior of never not reducing allocation
size on length changes.

The most recent fftSize samples are now used even when fftSize <
WEBAUDIO_BLOCK_SIZE, instead of the first fftSize samples in the most recent
block.

Enough time domain data is recorded so that getters will work immediately
following a change in fftSize.
2015-07-22 19:50:37 +12:00
Karl Tomlinson
ea648c1b2d bug 1184801 crashtest for AnalyserNode with channels and small fftSize 2015-07-21 15:21:38 +12:00
Karl Tomlinson
49f72551d3 bug 1184801 Test effect of AnalyserNode on GainNode output 2015-07-17 13:24:54 +12:00
Mike Hommey
684778963f Bug 1186748 - Move gtk-related things in a separate mozconfig. r=mshal
Some mozconfigs don't include mozconfig.linux*, and don't get gtk-related
definitions, so move them in a separate mozconfig. To avoid having two
files, one for 32-bit builds and one for 64-bit builds, rely on the
includer to set PKG_CONFIG_LIBDIR appropriately.

At the same time, move all the --enable-default-toolkit=cairo-gtk2 in that
new file in the case the gtk3 package wasn't pulled from tooltool.
2015-07-28 08:19:15 +09:00
Mike Hommey
484986b581 Bug 1187245 - Make .mozconfig.mk environment variables available to mach valgrind-test. r=gps 2015-07-28 08:19:14 +09:00
Mike Hommey
97965f64fc Bug 1187245 - Set things up to use Gtk+3 from the tooltool package during PGO builds. r=gps
The mk_add_options exports are meant to end up in $topobjdir/.mozconfig.mk,
which is included every time make runs.
2015-07-28 08:19:13 +09:00
Mike Hommey
5cb6216446 Bug 1187533 - Change how Gtk+2 plugin-container is started on Gtk+3 builds. r=billm
The current situation looks like this: Firefox launches the plugin-container
with two environment variables set:
  LD_LIBRARY_PATH=$FIREFOX_DIR:$LD_LIBRARY_PATH
  LD_PRELOAD=$FIREFOX_DIR/libmozgtk2.so:$LD_PRELOAD

libxul.so has a dependency on libmozgtk.so (without "2"), but libmozgtk2.so
has a SONAME of libmozgtk.so, so ld.so recognizes libmozgtk2.so as a
dependency of libxul.so, and uses it instead of the actual libmozgtk.so,
making the plugin-container use Gtk+2 instead of Gtk+3 to load Gtk+2 plugins.

Now, ASan sets things up in shared libraries such that they needs a symbol
from the executable binary. So in the case of plugin-container, the
plugin-container executable itself contains some ASan symbols such as
__asan_init_v3. libmozgtk2.so, OTOH, contains an undefined weak reference to
that symbol, like all other Firefox shared libraries.

Since libmozgtk2.so is LD_PRELOADed, it is loaded _before_ the
plugin-container executable, and __asan_init_v3 can't be resolved.

Disabling ASan for libmozgtk2.so would be a possibility, but the build system
doesn't really know how to do that, and filtering out -fsanitize=address
can be fragile.

The alternative possibility, implemented here, is to change the library
loading strategy, renaming libmozgtk2.so to gtk2/libmozgtk.so, and setting
the following environment variable when Firefox launches the plugin-container:
  LD_LIBRARY_PATH=$FIREFOX_DIR/gtk2:$FIREFOX_DIR:$LD_LIBRARY_PATH
2015-07-28 08:19:13 +09:00
Mike Hommey
dc8fd15dc0 Bug 1187101 - Add -Wl,-Bsymbolic to LDFLAGS for ASan builds. r=mshal 2015-07-28 08:19:12 +09:00
Francois Marier
01fb93f5b2 Bug 1187711 - Enable -Wshadow in DOM::Security. r=ckerschb 2015-07-27 16:14:56 -07:00
Wes Kocher
17b007efa1 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-27 15:45:44 -07:00
Wes Kocher
40d73129f1 Skip dom/plugins tests on OSX 10.6 even harder (bug 1188052) a=me 2015-07-27 15:40:19 -07:00
Wes Kocher
2dac94773b Backed out changeset e01d0f7a3c6f (bug 1135708) for spidermonkey errors CLOSED TREE 2015-07-27 15:22:40 -07:00
Wes Kocher
a8b40ced0f Backed out changeset 43e7461188dc (bug 1135708) 2015-07-27 15:22:07 -07:00
Andrew McCreight
30c3e77d57 Bug 1089816 - use && not and. CLOSED TREE 2015-07-27 14:01:05 -07:00
Eric Faust
e528f8b46f Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo) 2015-07-27 13:44:44 -07:00
Jean-Yves Avenard
e512b7da33 Bug 1186718 - Ensure ESDS have valid size. r=kentuckyfriedtakahe 2015-07-27 16:25:17 -04:00
Mariusz Kierski
237561569e Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem) 2015-07-27 13:21:11 -07:00
Ryan VanderMeulen
2e8222bd19 Merge m-c to inbound. a=merge 2015-07-27 16:06:20 -04:00
Ryan VanderMeulen
1f08fd1eaf Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts. 2015-07-27 16:06:03 -04:00
Ryan VanderMeulen
baaeb55211 Merge m-c to inbound. a=merge 2015-07-27 15:52:11 -04:00
Ryan VanderMeulen
3a588a1e6e Backed out changeset beed8e3e86d9 (bug 1181478) for B2G test_interfaces.html failures. 2015-07-27 15:51:54 -04:00
Andrew McCreight
065d0b780a Bug 1089816 - Let ASan content processes run to completion. r=billm
There are a variety of ways that the parent and child process ensure that
the child process exits quickly in opt builds, but for AddressSanitizer
builds we want to let the child process to run to completion, so that we
can get a LeakSanitizer report.

This requires adding some addition LSan suppressions, because running
LSan in child processes detects some new leaks.
2015-07-27 12:49:48 -07:00
Andrew McCreight
06711ab05c Bug 964669 - Increase timeout for browser_social_multiworker because shutting down child processes is slow. r=mixedpuppy 2015-07-27 12:49:48 -07:00
Ryan VanderMeulen
e61c108865 Merge m-c to inbound. a=merge 2015-07-27 15:47:22 -04:00
Ryan VanderMeulen
cd38b366a4 Bug 1188052 - Skip dom/plugins tests on OSX 10.6 debug due to frequent timeouts. rs=aklotz, a=me 2015-07-27 15:43:58 -04:00
Ryan VanderMeulen
12913cf357 Merge inbound to m-c. a=merge 2015-07-27 15:34:42 -04:00
Ryan VanderMeulen
bf2ab571c4 Merge fx-team to m-c. a=merge 2015-07-27 15:28:51 -04:00
Ryan VanderMeulen
3a97eee82c Backed out changeset 4fd14cf6b415 (bug 1186158) for OSX Werror bustage. 2015-07-27 15:21:52 -04:00
Jeff Gilbert
36058d3f15 Bug 1187174 - Use 'webgl2' not 'experimental-webgl2'. - r=kamidphish 2015-07-27 12:10:17 -07:00
Steven Michaud
85b9d6fdc1 Bug 1186158 - Receive notifications of sandbox violations in the browser on OS X. r=spohl 2015-07-27 13:56:08 -05:00
Ryan VanderMeulen
0aac8791a5 Backed out changeset adbd8a7608e4 (bug 1176363) for mochitest-gl permacrashes. 2015-07-27 13:54:56 -04:00
B2G Bumper Bot
a00a81b7b8 Bumping manifests a=b2g-bump 2015-07-27 10:12:44 -07:00
B2G Bumper Bot
b0c987062d Bumping gaia.json for 4 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/8b7476489ad4
Author: Zibi Braniecki <zbigniew.braniecki@gmail.com>
Desc: Merge pull request #30385 from zbraniecki/1170963-remove-not-used-l10ndate-methods

Bug 1170963: Remove not used functions from l10n_date. r=stas

========

https://hg.mozilla.org/integration/gaia-central/rev/1e1ffd93c52c
Author: Zibi Braniecki <gandalf@mozilla.com>
Desc: Bug 1170963: Remove not used functions from l10n_date

========

https://hg.mozilla.org/integration/gaia-central/rev/1fa59774195d
Author: Ryan VanderMeulen <ryanvm@gmail.com>
Desc: Merge pull request #30947 from TheoChevalier/new-gaia-locales

Bug 1183379 - Add Amharic (am), Upper Sorbian (hsb), Lower Sorbian (d…

========

https://hg.mozilla.org/integration/gaia-central/rev/d802e083d4bb
Author: TheoChevalier <theo.chevalier11@gmail.com>
Desc: Bug 1183379 - Add Amharic (am), Upper Sorbian (hsb), Lower Sorbian (dsb), Miahuatlán Zapotec (zam) locales to Gaia on master and 2.2 branches
2015-07-27 10:10:14 -07:00
Julien Pagès
0fd73e1540 Bug 1187082 - Ensure talos always produces TALOSDATA json structure in logs so perfherder can ingest data. r=jlund 2015-07-25 15:29:55 +02:00
Alastor Wu
0ae8182e7b Bug 1187195 - Remove all agents with null window. r=baku 2015-07-24 12:29:26 +08:00
Michael Comella
908bd5beb5 Bug 1184708 - Set progress view private mode when visibility is changed. r=mhaigh 2015-07-22 19:03:47 -07:00
Ryan VanderMeulen
ad0bc4b229 Merge m-c to fx-team. a=merge 2015-07-27 12:13:29 -04:00
Ryan VanderMeulen
b87718f020 Merge m-c to b2g-inbound. a=merge 2015-07-27 10:43:09 -04:00
Ryan VanderMeulen
89f3a33336 Merge fx-team to m-c. a=merge 2015-07-27 10:39:37 -04:00
Ryan VanderMeulen
e43a544a0f Merge b2g-inbound to m-c. a=merge 2015-07-27 10:32:33 -04:00
B2G Bumper Bot
b399911857 Bumping manifests a=b2g-bump 2015-07-27 07:27:08 -07:00
B2G Bumper Bot
4783411373 Bumping gaia.json for 2 gaia revision(s) a=gaia-bump
========

https://hg.mozilla.org/integration/gaia-central/rev/6b3d9ecc195e
Author: Julien Wajsberg <felash@gmail.com>
Desc: Merge pull request #30864 from julienw/1181136-fix-race-sending-error-mms

Bug 1181136 - [Messages] When sending a MMS in airplane mode, the dis…

========

https://hg.mozilla.org/integration/gaia-central/rev/c12be9fc6c61
Author: Julien Wajsberg <felash@gmail.com>
Desc: Bug 1181136 - [Messages] When sending a MMS in airplane mode, the display stays in "sending" state after the error r=schung
2015-07-27 07:25:08 -07:00
B2G Bumper Bot
e53468d4cc Bumping manifests a=b2g-bump 2015-07-27 06:23:12 -07:00
B2G Bumper Bot
54c2f4ccfb Bumping manifests a=b2g-bump 2015-07-27 06:18:07 -07:00