Commit Graph

432384 Commits

Author SHA1 Message Date
Kartikaya Gupta
67be4e1c9c Bug 1187792 - Don't set the SPCSPS unless meta-viewport or zooming is enabled. r=botond 2015-07-27 22:09:37 -04:00
Wes Kocher
8c8c620553 Backed out 8 changesets (bug 1028418) for assertions in SavedStacks.cpp:103 CLOSED TREE
Backed out changeset 8f20146ce3c8 (bug 1028418)
Backed out changeset f6e78ff75f4b (bug 1028418)
Backed out changeset caf840e71590 (bug 1028418)
Backed out changeset ba47cb00a938 (bug 1028418)
Backed out changeset 3f298220d712 (bug 1028418)
Backed out changeset 7c2555a6e32e (bug 1028418)
Backed out changeset ed9287cd152a (bug 1028418)
Backed out changeset 88a5c0415403 (bug 1028418)
2015-07-27 17:52:01 -07:00
Francois Marier
7080a1190a Bug 1187711 - Restrict -Wshadow to gcc and clang. r=KWierso CLOSED TREE 2015-07-27 17:12:58 -07:00
Kyle Huey
6dad638eb2 Bug 1186780: Replace EnumerateRead with new iterators in cycle collection code. r=mccr8 2015-07-26 19:29:52 -07:00
Mariusz Kierski
c897d05bdb Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem)
* * *
Bug 1135708 - Followup: Fix a few warnings-as-errors related build problems on a CLOSED TREE. (rs=Waldo)
2015-07-27 13:21:11 -07:00
Nicholas Nethercote
dbc67380bd Bug 1187767 - Ensure PLDHashTable's generation is always updated when the entry store is modified. r=froydnj.
--HG--
extra : rebase_source : e70d253257eac422a454d20de0fb94d2ac736e84
2015-07-26 19:57:23 -07:00
Nick Fitzgerald
7b4828fcdf Bug 1028418 - Part 7: Tests for caching edge cases; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
47c99b513c Bug 1028418 - Part 6: Fix GC + SavedFrame test that made assumptions that are no longer true; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
0d13e50daf Bug 1028418 - Part 5: Minimize stack walking when capturing SavedFrame stacks with a cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
b14b62b41c Bug 1028418 - Part 4: Fix whitespace alignment in the InterpreterFrame::Flags enum; r=me 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
2aa99a0d31 Bug 1028418 - Part 3: Take a bit on each of interpreter, baseline, and rematerialized frames for marking whether there is a js::SavedFrame for the given frame in the js::SavedStacks cache; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
35403e6c00 Bug 1028418 - Part 2: Make the BaselineFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
faccf78e75 Bug 1028418 - Part 1: Make the InterpreterFrame::Flags enum typed the way it is used; r=shu 2015-07-27 16:33:34 -07:00
Nick Fitzgerald
3f547195c0 Bug 1028418 - Part 0: Fix typo in js/src/vm/Stack.h; r=me 2015-07-27 16:33:34 -07:00
Bobby Holley
cbc518f4c3 Bug 1186155 - Use UNIFIED_SOURCES in netwerk/protocol/res. r=billm,sr=mcmanus 2015-07-27 16:30:43 -07:00
Holger Fuhrmannek ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
2aad1beb5d test for bug 1045650
--HG--
extra : rebase_source : f972477172b2c100e6a4506d323c6ae8a290e496
2015-07-27 18:12:04 +12:00
Atte Kettunen ext:(%20and%20Karl%20Tomlinson%20%3Ckarlt%2B%40karlt.net%3E)
86da475e86 test for bug 1041466
--HG--
extra : rebase_source : 0e72d65ce24a25ca3c5935163ebf03cc06deec79
2015-07-27 17:50:30 +12:00
Karl Tomlinson
e040fd3850 test for bug 1020205
--HG--
extra : rebase_source : 607f8ae62490379c9ce02e2c4fa045b8bc2ff139
2015-07-27 17:31:49 +12:00
Holger Fuhrmannek ext:(%20and%20Paul%20Adenot%20%3Cpaul%40paul.cx%3E)
63ad946e5b test for bug 1012609 r=karlt
--HG--
extra : rebase_source : b0ee860f5da05b6af0bcfa797d5b470664775d74
2015-07-27 17:27:19 +12:00
Karl Tomlinson
a6cc0725e8 bug 1186781 skip reallocation when audio block is not shared r=padenot
--HG--
extra : rebase_source : d470e7d14716606bf97b06be05637441b4d2a9ef
2015-07-22 18:51:11 +12:00
Karl Tomlinson
639872f1ff bug 1186779 use ChannelFloatsForWrite() instead of const_cast r=padenot
--HG--
extra : rebase_source : 324b2fbf4addbac848b7a74b048d67ba7c461b0c
2015-07-22 17:59:21 +12:00
Karl Tomlinson
63508ac5a4 bug 1186779 add a method to cast AudioChunk data for writing when not shared r=padenot
--HG--
extra : rebase_source : 3c86cdf69877e4e13a2e7b3c208c2ccb3107390f
2015-07-22 18:43:30 +12:00
Karl Tomlinson
e33037127f 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.

--HG--
extra : rebase_source : bbd8a3e705d73781bb838a47261bf7d60cd1a9a7
2015-07-22 19:50:37 +12:00
Karl Tomlinson
1d1c742d3b bug 1184801 crashtest for AnalyserNode with channels and small fftSize
--HG--
extra : rebase_source : 6a85e33b768c37df44cc7eb3229fc716b3d11d10
2015-07-21 15:21:38 +12:00
Karl Tomlinson
15660ce0a3 bug 1184801 Test effect of AnalyserNode on GainNode output
--HG--
extra : rebase_source : 76315743a411d75937dfa85ecfaddce66864bd87
2015-07-17 13:24:54 +12:00
Mike Hommey
dfdf59058d 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
a356ea8421 Bug 1187245 - Make .mozconfig.mk environment variables available to mach valgrind-test. r=gps 2015-07-28 08:19:14 +09:00
Mike Hommey
e26476c1ed 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
6a956c6f97 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
4275fcc9a3 Bug 1187101 - Add -Wl,-Bsymbolic to LDFLAGS for ASan builds. r=mshal 2015-07-28 08:19:12 +09:00
Francois Marier
5556697f0b Bug 1187711 - Enable -Wshadow in DOM::Security. r=ckerschb 2015-07-27 16:14:56 -07:00
Wes Kocher
32bf37f626 Merge m-c to inbound, a=merge CLOSED TREE 2015-07-27 15:45:44 -07:00
Wes Kocher
06e7c8d55e Skip dom/plugins tests on OSX 10.6 even harder (bug 1188052) a=me 2015-07-27 15:40:19 -07:00
Wes Kocher
9c5c217c21 Backed out changeset e01d0f7a3c6f (bug 1135708) for spidermonkey errors CLOSED TREE 2015-07-27 15:22:40 -07:00
Wes Kocher
f29d04329b Backed out changeset 43e7461188dc (bug 1135708) 2015-07-27 15:22:07 -07:00
Andrew McCreight
cdb6b84dc1 Bug 1089816 - use && not and. CLOSED TREE 2015-07-27 14:01:05 -07:00
Eric Faust
499c01e9ed 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
89e5d96fae Bug 1186718 - Ensure ESDS have valid size. r=kentuckyfriedtakahe
--HG--
extra : rebase_source : 7040d05738365d164bb0891130d04a16daa273cc
2015-07-27 16:25:17 -04:00
Mariusz Kierski
c049301781 Bug 1135708 - Implement es7 exponentiation operator. (r=efaust, f=jandem) 2015-07-27 13:21:11 -07:00
Ryan VanderMeulen
cbf28fb149 Merge m-c to inbound. a=merge 2015-07-27 16:06:20 -04:00
Ryan VanderMeulen
555a3164b2 Backed out changeset b2d0e28fe539 (bug 1185639) test_plugin_focus.html timeouts. 2015-07-27 16:06:03 -04:00
Ryan VanderMeulen
604f7429c0 Merge m-c to inbound. a=merge 2015-07-27 15:52:11 -04:00
Ryan VanderMeulen
c78e298211 Backed out changeset beed8e3e86d9 (bug 1181478) for B2G test_interfaces.html failures. 2015-07-27 15:51:54 -04:00
Andrew McCreight
ef6d1e9493 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
a5dd663397 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
23b78d739f Merge m-c to inbound. a=merge 2015-07-27 15:47:22 -04:00
Ryan VanderMeulen
7322d17cc4 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
01499c3bc0 Merge inbound to m-c. a=merge 2015-07-27 15:34:42 -04:00
Ryan VanderMeulen
2023641b4b Merge fx-team to m-c. a=merge 2015-07-27 15:28:51 -04:00
Ryan VanderMeulen
0b120e2884 Backed out changeset 4fd14cf6b415 (bug 1186158) for OSX Werror bustage. 2015-07-27 15:21:52 -04:00