Commit Graph

421 Commits

Author SHA1 Message Date
Edwin Flores
eb58c23a12 Bug 801467 - Give SVG glyph documents a legitimate principal and URI so that references to paint servers are able to be resolved. r=roc,bz 2013-06-10 13:25:12 +01:00
Ms2ger
c575317dac Bug 900978 - Remove remaining ENABLE_EDITOR_API_LOG cruft; r=ehsan+khuey 2013-08-14 08:53:56 +02:00
Ehsan Akhgari
1ab9c7bcb4 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])
2013-07-18 13:59:53 -04:00
Tomoaki Konno
e6ceccc826 Bug 797561 - Expose a server tcp socket API to web applications r=honza 2013-07-29 10:36:43 -07:00
Jeff Gilbert
e9c3a3beb9 Bug 881997 - Use confvars to establish webgl conformance for different products. - r=bjacob,ted 2013-07-11 14:12:32 -07:00
Matthew Gregan
3483772ec1 Bug 855130 - Implement URL::createObjectURL overload for
MediaSources.  Add MediaSources to HostObjectProtocolHandler.  Make
 MediaSource a real interface.  r=khuey
2013-06-21 15:15:15 +12:00
Phil Ringnalda
09abf1f125 Backed out 5fa1f7715c19:7a300d1d1b23 (bug 855130) for Windows build failures
CLOSED TREE
2013-07-01 21:23:37 -07:00
Matthew Gregan
869a25d782 Bug 855130 - Implement URL::createObjectURL overload for MediaSources. r=khuey
---
 content/base/public/nsHostObjectProtocolHandler.h | 26 +++++++++
 content/base/src/nsHostObjectProtocolHandler.cpp  | 65 +++++++++++++++++------
 content/base/src/nsHostObjectURI.h                |  5 +-
 content/media/mediasource/MediaSource.cpp         |  1 +
 content/media/mediasource/MediaSource.h           |  7 +++
 dom/base/URL.cpp                                  | 12 +++++
 dom/base/URL.h                                    |  7 +++
 dom/webidl/URL.webidl                             |  6 +++
 layout/build/nsLayoutModule.cpp                   |  4 ++
 9 files changed, 116 insertions(+), 17 deletions(-)
2013-07-02 15:46:49 +12:00
Honza Bambas
f4a7523dde Bug 883928 - Keep the old storagemanager ContractID for backward compatibility. r=ehsan, a=akeybl 2013-06-24 16:36:09 -04:00
Jan Varga
25bc314d58 Bug 884936 - Add Blob/File support to xpcshell. r=bent 2013-06-21 17:15:46 +02:00
Boris Zbarsky
05e8eeb934 Bug 884109. Remove GetDocumentFromCaller from NS_NewHTMLImage/OptionElement and remove the XPCOM-y bits for creating those, since WebIDL bindings don't use those. r=smaug 2013-06-19 10:24:37 -04:00
Jeff Gilbert
4f22464b8d Bug 870232 - Enable 'webgl' requests for Desktop FF. - r=bjacob 2013-06-07 17:44:51 -07:00
Trevor Saunders
ccbabd3a62 bug 870594 - remove accessible/build/ r=bsmedberg f=surkov 2013-03-30 18:29:47 -04:00
Honza Bambas
bfdde0b947 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-15 14:38:48 +02:00
Guilherme Gonçalves
a91ec2ac6c Bug 850442 - Part 5 - Rename nsGeolocation to Geolocation. r=bz 2013-04-12 13:01:29 -07:00
Ryan VanderMeulen
4ff6d23854 Backed out 2 changesets (bug 850362, bug 600307) for Windows XP leaks on a CLOSED TREE. 2013-04-11 17:00:28 -04:00
Honza Bambas
2b5babae31 Bug 600307 - localStorage and sessionStorage implementation overhaul, r=mak77+smaug, sr=smaug 2013-04-11 18:26:06 +02:00
Patrick Wang
d82e1491a1 Bug 847744: Part 1 - Create MmsService for content process. r=vicamo 2013-04-10 20:18:32 +08:00
Ralph Giles
9deca0afc4 Bug 857022 - Remove MOZ_MEDIA from the layout module. r=cpearce
Enable this code unconditionally.
2013-04-04 15:08:00 -07:00
Trevor Saunders
9986f2949d bug 856779 - kill NS_NewPresShell() r=bz 2013-03-31 16:39:27 -04:00
Ms2ger
edd27005e4 Bug 853818 - Remove HTMLMediaElement CI/nsIJSNativeInitializer; r=mounir 2013-04-04 09:04:29 +02:00
Eitan Isaacson
f1f4aea26b Bug 525444 - (Part 1/3) Basic SpeechSynthesis setup and voice registration. r=smaug 2013-04-03 15:13:16 -07:00
Guilherme Goncalves
30c1887c29 Bug 650295 - Add tests for speech recognition. r=smaug 2013-03-27 14:14:22 -07:00
Jan Varga
d067a001e6 Bug 767944 - Implement a manager for centralized quota and storage handling. r=bent 2013-03-26 12:13:17 +01:00
Ted Mielczarek
8a2ebe0370 bug 604039 - Add DOM Gamepad APIs. r=smaug 2011-08-03 14:12:08 -04:00
Gene Lian
4be3742180 Bug 844431 - B2G MMS: provide nsIDOMMobileMessageManager interface (with sendMMS() first) (part 4-2, nsIMmsService.send()). r=vicamo a=leo+ 2013-03-09 15:22:25 +08:00
David Zbarsky
045d72cfab Backout bug 830221 so binary addons can create DOMImplementation 2013-03-12 17:31:53 -04:00
Ms2ger
dc01d232a1 Bug 825285 - Part b: Move ArchiveReader to Paris bindings, remove XPCOM goop; r=khuey 2013-03-10 08:57:14 +01:00
Gene Lian
466e249b56 Bug 844429 - B2G SMS & MMS: move SMS codes into dom/mobilemessage to make it generic for MMS. r=vicamo 2013-03-01 16:38:47 +08:00
Peter Van der Beken
14b4db0cf5 Fix for bug 825628 (Implement NamedConstructor) - use NamedConstructor for Image() and Option(). r=bz. 2013-01-22 11:53:13 +01:00
Gene Lian
c5cf412c78 Bug 831683 - B2G SMS & B2G MMS: make SMS database more generic for MMS (part 2, create dom/mobilemessage to put DB codes). r=vicamo 2013-02-05 19:39:44 +08:00
Gene Lian
9c15ce4254 Bug 831683 - B2G SMS & B2G MMS: make SMS database more generic for MMS (part 1, s/SmsDatabaseService/MobileMessageDatabaseService). r=vicamo 2013-02-05 19:10:39 +08:00
David Zbarsky
4b34c4092c Bug 830221 - Remove nsIDOMDOMImplementation r=bz 2013-01-14 21:06:20 -05:00
Dave Hylands
e122c2c0cd Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Phil Ringnalda
d137321fea Back out 6737ce4d3ce6:599c37ed628c (bug 785124) for b2g Arm xpcshell orange in update tests 2013-01-07 22:59:32 -08:00
Dave Hylands
80270c8d7f Bug 785124 - Pt 1 - Add VolumeMountLock which allows SDCard to be locked. r=dougt
From 8e39b8e5f3ab7e6344b0a8a5eeabdcf672de8fb4 Mon Sep 17 00:00:00 2001
---
 dom/ipc/ContentChild.cpp                  |   18 +++-
 dom/ipc/ContentChild.h                    |    5 +-
 dom/ipc/ContentParent.cpp                 |   22 +++-
 dom/ipc/ContentParent.h                   |    2 +
 dom/ipc/PContent.ipdl                     |    6 +-
 dom/system/gonk/AutoMounter.cpp           |   19 +++-
 dom/system/gonk/Makefile.in               |    4 +-
 dom/system/gonk/Volume.cpp                |   62 ++++++++++-
 dom/system/gonk/Volume.h                  |   11 +-
 dom/system/gonk/VolumeServiceIOThread.cpp |   11 +-
 dom/system/gonk/VolumeServiceIOThread.h   |    7 +-
 dom/system/gonk/nsIVolume.idl             |   21 +++-
 dom/system/gonk/nsIVolumeMountLock.idl    |   12 +++
 dom/system/gonk/nsIVolumeService.idl      |    9 +-
 dom/system/gonk/nsVolume.cpp              |   96 ++++++++++++++++-
 dom/system/gonk/nsVolume.h                |   43 ++++++--
 dom/system/gonk/nsVolumeMountLock.cpp     |  157 +++++++++++++++++++++++++++
 dom/system/gonk/nsVolumeMountLock.h       |   55 ++++++++++
 dom/system/gonk/nsVolumeService.cpp       |  168 +++++++++++++++++++++++------
 dom/system/gonk/nsVolumeService.h         |   20 +++-
 layout/build/nsLayoutModule.cpp           |    5 +-
 layout/build/nsLayoutStatics.cpp          |    9 ++
 22 files changed, 684 insertions(+), 78 deletions(-)
 create mode 100644 dom/system/gonk/nsIVolumeMountLock.idl
 create mode 100644 dom/system/gonk/nsVolumeMountLock.cpp
 create mode 100644 dom/system/gonk/nsVolumeMountLock.h
2012-12-14 16:01:34 -08:00
Robert O'Callahan
afd18647c0 Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel 2013-01-05 16:12:49 +13:00
Phil Ringnalda
f40517090e Back out 5e76dfb1d426 (bug 826635) and 0df74b1a4543:20df426b6111 (bug 826632) for bustage
CLOSED TREE
2013-01-04 21:30:14 -08:00
Robert O'Callahan
b4b1f96941 Bug 826632. Part 3: Create nsViewManagers directly instead of using XPCOM. r=tnikkel 2013-01-05 16:12:49 +13:00
Ms2ger
bdd1c82f34 Merge m-c to inbound. 2012-12-22 14:42:37 +01:00
Ms2ger
7f4563a975 Bug 819639 - Part a: Rename nsEventSource to dom::EventSource; r=bz 2012-12-22 09:17:05 +01:00
Randell Jesup
2c6035b8fb Bug 799417: Backend support for list of documents that have active gUM MediaStreams r=derf 2012-12-22 03:09:36 -05:00
Olli Pettay
d9b6bd4fa2 Bug 790978 - Convert MutationObserver to webidl, r=bz 2012-12-18 16:50:52 +02:00
Marco Chen
225fd5f2b4 Bug 815069 - Part 2: AudioChannelAgent Implementation. r=roc, a=blocking-basecamp
[Audio ] mechanism for Gecko components without media element to join audio competing policy.
2012-12-06 22:29:20 +08:00
Andrea Marchesini
78f3f9b6ee Bug 805333 part 1 - AudioChannelService, r=kinetik, a=blocking-basecamp 2012-12-04 11:46:07 -08:00
Olli Pettay
3b6b9443e1 Bug 749448 - Remove XTF, r=bz 2012-11-15 14:27:13 +02:00
Nicholas Cameron
49fc61d364 Bug 800556; remove nsIDOMCanvasRenderingContext2D; r=Ms2ger,sr=bz 2012-11-13 16:35:36 -08:00
Robert O'Callahan
56230b7bcb Bug 792675. Part 5: Extend nsHostObjectProtocolHandler with support for 'mediastream' scheme. r=sicking 2012-09-25 15:24:44 +12:00
Robert O'Callahan
7bf10781dc Bug 792675. Part 4: Refactor nsBlobURI/nsBlobProtocolHandler to nsHostObjectURI/nsHostObjectProtocolHandler. r=sicking
The code to handle MediaStream URIs is almost the same as for Blobs, so share it.
nsHostObjectProtocolHandler is modified a bit to simplify method names. Also
we make nsHostObjectProtocolHandler::AddDataEntry take responsibility for
generating the URI to avoid duplicating that code later.
We need separate subclasses for each kind of host object protocol handler,
but we don't need separate subclasses for each kind of host object URI.
2012-09-25 15:24:44 +12:00
Gregor Wagner
7942d44cab Bug 775997 - Message app crashes when run OOP. Part 1/2. r=bent 2012-11-06 13:29:30 -08:00