Commit Graph

107787 Commits

Author SHA1 Message Date
Ehsan Akhgari
697bec41a5 Bug 793294 - Implement AudioBuffer; r=bzbarsky,smaug
This is the full implementation of the AudioBuffer object.  There are
two ways to create these objects from an audio context and this patch
implements only one of them.

The construction of the AudioBuffer object is a two step process: the
object should be created with operator new first, and then
InitializeBuffers should be called on it.  InitializeBuffers is
fallible, because it uses the JS API to create the underlying typed
arrays, but that's fine, since the length of the buffers comes from web
content, and we don't want to use infallible allocations for those
anyways.

We hold on to the JS objects from the C++ implementation, and trace
through all of those objects, so that a GC does not kill those object
without us knowing.

The buffer should be possible to manipulate from both C++ and JS, and
the C++ object probably needs to support a set of methods for the C++
callers at some point.
2012-09-25 17:58:50 -04:00
Karl Tomlinson
1c13765e67 b=763449 Finish X requests on mROFrontBuffer before deleting shadow layer r=cjones
--HG--
extra : rebase_source : 7381b234a29d648afdf76eff1f1e89f6e5cd88b5
2012-09-25 16:20:41 +12:00
Karl Tomlinson
131712b447 b=793079 set leaktest timeout to half buildbot timeout r=ted
--HG--
extra : rebase_source : e9541428bc26bf5e4e77a74f23f4d9496ef83117
2012-09-25 16:19:25 +12:00
Scott Johnson
a7993bec8a Bug 794231: Modify consecutive-inline font inflation reftests to specify an explicit font size for container. [r=NPOTB] 2012-09-25 16:44:29 -05:00
Ryan VanderMeulen
766e9443bf Bug 794101 - Update pdf.js to version 0.5.184. r=Mossop 2012-09-25 17:31:04 -04:00
Alexandre Poirot
cc7725aed0 Bug 787313 - Add /attach-console argument on Windows in order to attach Firefox std IO to parent console. r=ted 2012-09-25 12:58:08 -04:00
Ryan VanderMeulen
afd4f0c71e Merge m-c to inbound. 2012-09-25 17:31:00 -04:00
Ryan VanderMeulen
738790db90 Merge the last PGO-green inbound changeset to m-c. 2012-09-25 17:30:17 -04:00
Margaret Leibovic
9e70a97dd0 Bug 790897 - Capture clicks on find in page bar to prevent them from leaking into TabsTray. r=mfinkle 2012-09-25 13:43:55 -07:00
John Hopkins
f2064402cb Bug 793016 - Very frequent hangs during leak tests on new linux build system. r=ted,catlee 2012-09-25 15:51:59 -04:00
Kartikaya Gupta
ed2336ecaf Bug 791263 - Disable screenshotting under low-memory conditions. r=blassey 2012-09-25 15:46:17 -04:00
Jeff Hammel
ff5c764046 Bug 793746 - point to new talos.zip for dzclient;r=jmaher 2012-09-25 09:10:16 -07:00
Andrea Marchesini
5ddac65899 Bug 793311 - Crash in nsDOMFileFile::nsDOMFileFile. r=khuey 2012-09-25 11:04:25 -04:00
OHZEKI Tetsuharu
b810714776 Bug 791944 - Use Object.defineProperty() instead of __defineGetter__ in XPCOMUtils.defineLazyGetter(). r=mak77 2012-09-25 11:04:25 -04:00
Ed Morley
89011c37db Bug 793584 - Update Makefile to use i386-redhat-linux-gnu.sup too; rs=ted DONTBUILD since NPOTDB 2012-09-25 15:05:15 +01:00
Ed Morley
2df5fe831a Merge last PGO-green changeset of mozilla-inbound to mozilla-central 2012-09-25 14:14:43 +01:00
Marco Chen
02dc2fbc6f Bug 791329 - Let AudioManager set correct device (headset or headphone) into setDeviceConnectionState according to event from GonkSwitch.cpp. r=mwu 2012-09-25 19:03:50 +08:00
Marco Chen
b8303ae2fa Bug 791329 - Let GonkSwitch to know the status about headset or headphone from uevent. r=dhylands 2012-09-25 19:03:13 +08:00
Julian Reschke
8e67015219 Bug 782235 - Move HTTP convenience functions to nsHttp. r=bsmith 2012-09-25 11:04:25 -04:00
Andrea Marchesini
b13172b91d Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Ryan VanderMeulen
0de53ea78d Merge m-c to inbound. 2012-09-25 11:04:19 -04:00
Reuben Morais
a81853fb68 Bug 793418 - OS X Battery Backend: Report time to charge when available. r=mounir 2012-09-25 15:32:02 +01:00
Benjamin Peterson
d66436f7f5 backout 5f9951a2e6df (bug 785918) for breaking on osx 2012-09-25 10:24:09 -04:00
Jan de Mooij
94b8aa3d7d Bug 792944 - Idempotent caches should reject singleton properties that require monitoring. r=dvander 2012-09-25 16:16:46 +02:00
José Guilherme Vanz
8596bb0170 Bug 785918 - Replace the usages of PR_ARRAY_SIZE with mozilla::ArrayLength; r=ehsan 2012-09-25 09:57:08 -04:00
Andrea Marchesini
b97bcdcaf5 Bug 792471 - Fix crash in navigator.mozSms when child process doesn't have 'sms' permission. r=mounir 2012-09-25 14:46:41 +01:00
Benjamin Peterson
e4341d9607 Bug 793513 - Only set properties on the rest array if it doesn't have unknown ones. r=jandem 2012-09-25 09:21:40 -04:00
Tim Taubert
819f58fc51 merge m-c to fx-team 2012-09-25 09:48:00 +02:00
Chris Double
8a2bc1a463 Bug 790125 - Throbber not working in browser video controls on B2G - r=cjones 2012-09-25 16:45:30 +12:00
Blair McBride
ec03ad6747 Bug 671894 - Part 2: Add-ons Manager doesn't recover correctly in some cases when the database is locked. r=Mossop 2012-09-25 16:34:49 +12:00
Phil Ringnalda
dd13abdce5 Back out 85d6cbd01d39, 56fc051c1932, a2ad17b87332 (bug 781053) for OS X debug assertions and crashes
--HG--
extra : rebase_source : ab24a2f8e9eddcf33ea39344abb7afbf400bf6e0
2012-09-24 21:23:05 -07:00
Phil Ringnalda
a74c209e3e Back out 8bd13443d0bc (bug 579517) to get a clean backout
--HG--
extra : rebase_source : 63c8087f0a6de5adeddb8762ff9e410b2b818e22
2012-09-24 21:21:10 -07:00
Chris Jones
57b18a645d Bug 793365: Make sure (again) that the entire buffer is valid when we might be asynchronously composited. r=roc 2012-09-24 21:15:18 -07:00
Mark Hammond
d089cb7fb4 Bug 791901 - social provider should provide more strings for the share popup. r=jaws 2012-09-25 13:54:34 +10:00
Trevor Saunders
b90958959e bug 793316 - always return the gecko root atk object when possible r=surkov 2012-09-24 23:33:25 -04:00
Ryan VanderMeulen
84dd5fbb59 Merge the last PGO-green inbound changeset to m-c. 2012-09-24 20:47:13 -04:00
John Ford
c5eb8f618c bug 776783 - enable gaia packaging on Linux rs=cjones DONTBUILD 2012-09-24 13:38:15 -07:00
Brad Lassey
1b0639f560 bug 793829 - no debug symbols for in-tree freetype r=ted 2012-09-24 16:26:39 -04:00
Benoit Jacob
2249060a44 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
d4fa48d92a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey
2729e13909 Bug 792685 - Add a way to have automagically inherited variable definitions in Makefiles. r=ted 2012-09-25 14:47:20 +02:00
Mike Hommey
fb05de0176 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Ed Morley
9f14ce22ba Backout 9d9d8bf66243 (bug 785662) for mochitest-other leaks on Windows 2012-09-25 13:46:25 +01:00
Ted Mielczarek
6740b802b3 bug 791775 - Replace a diff hunk that got lost from the previous landing. r=me 2012-09-25 08:42:57 -04:00
Olli Pettay
91520a7f56 Bug 792385 - Try to skip nsJSEventListener in CC, r=mccr8 2012-09-24 23:25:35 +03:00
John Ford
a0648b9ee4 bug 776783 - enable gaia packaging on Mac OS X rs=cjones DONTBUILD 2012-09-24 12:50:53 -07:00
Gary Kwong
fdd94047d2 Bug 793551 - Add --disable-install-strip to Valgrind mozconfigs for Linux32 and Linux64, r=ted 2012-09-24 11:46:15 -07:00
Kyle Huey
0d24c3121d Bug 793554: Devirtualize mozilla::css::Loader::[AddRef|Release] r=dbaron 2012-09-24 07:29:24 -07:00
Olli Pettay
3373c511d2 Bug 793517 - Make nsDOMEventTargetHelper to unmark listeners during canSkip, r=mccr8 2012-09-24 14:05:30 +03:00
Ryan VanderMeulen
d62232002d Merge the last PGO-green inbound changeset to m-c. 2012-09-23 21:26:39 -04:00