Commit Graph

12185 Commits

Author SHA1 Message Date
Ehsan Akhgari
23e1abde57 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
Sid Stamm
cf8d576337 bug 768029 - Apply CSP Policy to trusted and certified apps. r=sicking. Parts by sicking, r=mounir. 2012-08-02 12:13:53 -07:00
Fernando Rodríguez Sela
87877f1fb4 Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 2), r=philikon 2012-09-25 12:22:38 -07:00
Fernando Rodríguez Sela
1bd3305413 Bug 744700 - B2G 3G: Notify connection errors in the WebMobileConnection API (part 1), r=bent 2012-09-25 12:21:39 -07:00
Chris Jones
b7f90c6b8c Bug 793479: Update C++ permission-checking API to match that of the message-manager one. r=jlebar 2012-09-25 11:52:30 -07:00
Kannan Vijayan
5baa27268e Bug 792215 part 2. Convert old proxy bindings to JSNative getters and setters. r=peterv,ejpbruel 2012-09-25 14:44:40 -04:00
Honza Bambas
62c6cf834b Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Andrea Marchesini
90a2380a37 Bug 793311 - Crash in nsDOMFileFile::nsDOMFileFile. r=khuey 2012-09-25 11:04:25 -04:00
Marco Chen
371f9b4e53 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
Andrea Marchesini
3d78e7416e Bug 779982 - Change behaviour of getSelf and add amInstalled function. r=sicking 2012-09-25 11:04:24 -04:00
Andrea Marchesini
cb4376662b 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
Benoit Jacob
64b67de1c3 Bug 750862 - Implement WEBGL_compressed_texture_pvrtc - r=jgilbert 2012-09-25 08:49:28 -04:00
Benoit Jacob
faf08d911a Bug 790712 - Implement WEBGL_compressed_texture_atc - r=jgilbert 2012-09-25 08:49:28 -04:00
Mike Hommey
a94a46d3c8 Bug 793634 - Force builds to be compatible with gtk 2.18/glib 2.22. r=karlt 2012-09-25 14:47:18 +02:00
Ted Mielczarek
b666926039 bug 705047 - re-enable OOP crashreporter tests on mac. r=philor 2012-09-20 10:50:21 -04:00
Yoshi Huang
f204519538 Bug 790550 - Part 2: Update RIL for MozStkResponse. r=philikon 2012-09-11 15:06:56 +08:00
Yoshi Huang
d422501fb2 Bug 790550 - Part 1: Update MozStkResponse. r=philikon 2012-09-11 15:05:17 +08:00
Yoshi Huang
5854d02c97 Bug 790543 - Part 2: Add SET_UP_EVENT_LIST in RIL. r=philikon 2012-09-11 10:57:54 +08:00
Yoshi Huang
5759c68c25 Bug 790543 - Part 1: Update IDL. r=philikon. 2012-09-11 12:30:32 +08:00
Yoshi Huang
11b19a4164 Bug 787477 - Part 3: Add errorMsg for getICCContacts in RIL. r=philikon 2012-09-07 14:33:16 +08:00
Yoshi Huang
5993bed41a Bug 787477 - Part 2: Update ContactManager and ContactService. r=gwagner 2012-09-07 12:31:20 +08:00
Yoshi Huang
0d5fda16ef Bug 787477 - Part 1: Update IDL of getICCContacts. r=philikon. sr=sicking 2012-09-06 16:10:52 +08:00
Hsin-Yi Tsai
ef42a8465e Bug 782489 - Use system messages to notify incoming sms events. r=philikon, sr=sicking 2012-09-06 11:03:54 +08:00
Eric Chou
8e3120a9f4 Bug 793609 - [b2g-bluetooth] Wrong value passed into KeepDBusPairingMessage(), r=qdot 2012-09-25 10:44:00 +08:00
Myk Melez
8d6302be69 Bug 791943. r=fabrice 2012-09-24 22:41:21 -04:00
Vincent Chang
089c3fcafc Bug 787421 - Wifi implementation. r=mrbkap 2012-09-13 15:19:47 +08:00
Vincent Chang
9f4a16227a Bug 787421 - NetworkManager implementation. r=philikon 2012-09-13 15:19:08 +08:00
Vincent Chang
13e112b9b5 Bug 787421 - nsINetworkManager.idl changes. r=philikon 2012-09-13 15:18:48 +08:00
Vincent Chang
2151dcfd8e Bug 787421 - nsIWifi.idl changes. r=mrbkap 2012-09-13 15:19:26 +08:00
Vincent Chang
ca01bac3e5 Bug 784733 - Implementation of wifi power saving mode api interface. r=mrbkap 2012-09-24 17:05:47 +08:00
Vincent Chang
1b2e358fc6 Bug 784733 - Define wifi power saving mode api interface. r=mrbkap 2012-09-18 15:03:46 +08:00
Ryan VanderMeulen
c52e012505 Merge the last PGO-green inbound changeset to m-c. 2012-09-24 20:47:13 -04:00
Olli Pettay
4ce749b448 Bug 792385 - Try to skip nsJSEventListener in CC, r=mccr8 2012-09-24 23:25:35 +03:00
Olli Pettay
9b91f77333 Bug 793517 - Make nsDOMEventTargetHelper to unmark listeners during canSkip, r=mccr8 2012-09-24 14:05:30 +03:00
Philipp von Weitershausen
0b50e5e911 Back out bug 787420 (changeset a5ad096174ea) due to radio breakage 2012-09-23 00:52:25 -07:00
Philipp von Weitershausen
68b95e5973 Back out bug 793450 (changeset 5dc812bc69dc) as part of the bug 787420 backout. 2012-09-23 00:50:56 -07:00
Philipp von Weitershausen
e1647c1888 Bug 793450 - RadioInterfaceLayer broken after bug 787420. r=cjones 2012-09-22 23:45:15 -07:00
Diogo Golovanevsky Monteiro
d270b3bc06 Bug 784402 - Pointer Lock must respect iframe sandbox flag. r=smaug 2012-09-22 20:56:55 -04:00
Marco Castelluccio
b9929b3705 Bug 789341 - Webapps.js catch eats everything. r=fabrice 2012-09-22 20:48:27 -04:00
Marco Castelluccio
4f52d488a8 Bug 786710 - Tests for valid and invalid cases. r=fabrice 2012-09-22 20:48:27 -04:00
Marco Castelluccio
20fcb2b377 Bug 786710 - Don't allow the launch_path of a manifest for absolute URLs to launch an app. r=fabrice 2012-09-22 20:48:26 -04:00
Kyle Huey
458f2ebcba Bug 793434. r=smaug 2012-09-22 12:45:03 -07:00
Jim Mathies
88ccb13216 Bug 726615 - Implement w3c touch events for Windows. Original patch by Makoto Kato. r=wesj, smaug, mbrubeck 2012-09-22 14:28:35 -05:00
Jim Mathies
063a9840ee Bug 726615 - Completely remove MozTouch event support from mc. r=smaug 2012-09-22 14:28:08 -05:00
Rob Wood
832b3ac381 Bug 792494 - Develop WebTelephony tests to verify onstatechange events, and redundant operations, update manifiest; r=jgriffin, DONTBUILD (NPOTB) 2012-09-22 14:51:43 -04:00
Bobby Holley
1b5d4b63ec Bug 792036 - More manual fixes requested by Andrew. r=mccr8 2012-09-24 14:46:29 +02:00
Bobby Holley
a25701a3f7 Bug 792036 - Automated fixups. r=mccr8
find /files/mozilla/build/d/_tests/testing/mochitest/tests/ | egrep "\.(xhtml|html|xml|js)$" | grep -v SimpleTest | grep -vi mochikit | grep -v simpleThread | grep -v test_ipc_messagemanager_blob.html | grep -v "indexedDB/test" | xargs grep -l Components |  xargs grep -L enablePrivilege | perl -pe 's#.*mochitest/tests/##' | xargs perl -p -i.bakkk -e 's/Components\.interfaces(\s|;|\.|\[)/SpecialPowers\.Ci$1/g, s/SpecialPowers\.wrap\(Components\)\.(.)(lasses|tils|nterfaces|esults)/SpecialPowers.C$1/g, s/(?<![\.a-zA-Z])Components/SpecialPowers\.Components/g, s/window\.Components/window\.SpecialPowers\.Components/g'
2012-09-24 14:46:29 +02:00
Bobby Holley
8188b09b4e Bug 792036 - Fix up tests to avoid relying on the existence of window.Components (MANUAL). r=mccr8
These are the manual fixes that the ensuing auto-generation can't deal with. Some of them
just fix up formatting (such as Components.\nFoo, so that subsequent auto-generation can
work better).
2012-09-24 14:46:28 +02:00
Bobby Holley
ab4caba217 Bug 792036 - Expose |Components| to content in the indexedDB test harness. r=bent 2012-09-24 14:46:27 +02:00
Robert O'Callahan
f876b8f52e Bug 792665. Stop allowing HTMLMediaElement.src = mediaStream, and support HTMLMediaElement.mozSrcObject = mediaStream instead. r=cpearce,jesup
--HG--
extra : rebase_source : 1986b88dc293939055b12ec7065c37dae394af8c
2012-09-24 15:47:30 +12:00