Commit Graph

962 Commits

Author SHA1 Message Date
Andrea Marchesini
b47ee21ee3 Bug 1231100 - Get rid of nsIDOMFileReader - patch 1, r=sicking 2015-12-09 15:52:15 -05:00
Andrea Marchesini
0f6eea2347 Bug 1231094 - patch 1 - nsDOMFileReader to mozilla::dom::FileReader, r=sicking 2015-12-09 06:22:40 -05:00
Jonas Sicking
87a045db11 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-06 18:33:14 -05:00
Sebastian Hengst
2d6490dc4b Backed out changeset 09d64535bcda (bug 1216687), a7f1a289dd78, 4dbf06183e6c, 26318a5e3006, 9ae2af3cf86d (bug 1226909) for M(1,2,5) oranges. r=backout 2015-12-05 16:34:47 +01:00
Jonas Sicking
224b3b9b00 Bug 1226909 part 1: Do security checks in a redirect handler rather than when opening the redirected channel. r=ckerschb 2015-12-05 01:46:20 -08:00
Jan Varga
46c99e3a1c Bug 961049 - Part 4: QuotaManager on PBackground core changes; r=baku 2015-11-22 10:43:55 +01:00
Mike Hommey
1db89374d8 Bug 1221453 - Use AbsolutePaths with LOCAL_INCLUDES instead of manual -I in CXXFLAGS. r=gps 2015-11-06 09:59:21 +09:00
dlee
be52a5a73d Bug 1214593 - Remove service worker periodic updater. r=ehsan 2015-11-02 16:08:44 +08:00
Andrea Marchesini
bc1db78ef1 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal 2015-10-28 19:10:20 +00:00
Carsten "Tomcat" Book
5a154f264e Backed out changeset 7393a036ce36 (bug 1215092) for failing on own tests on a CLOSED TREE 2015-10-28 14:28:59 +01:00
Andrea Marchesini
6addd278b1 Bug 1215092 - WebSocketEventService and WebSocket discovering - part 1 - Renaming WebSocketFrameService, r=michal 2015-10-28 11:41:24 +00:00
Andrea Marchesini
a2f1eba556 Bug 1203802 - Websocket Frame Listener API for devtool Network Inspector - part 2 - WebSocketFrameService, r=michal 2015-10-26 15:30:11 +00:00
Nathan Froyd
d7b3af33de Bug 1217662 - part 6 - remove Layers.h #include from FrameListBuilder.h; r=mattwoodrow
This change necessitates a few other header changes around the tree:
either places that we relying on FrameLayerBuilder.h to #include
ImageLayers.h for them, or places that were bootlegging headers from
ImageLayers.h.
2015-10-22 17:02:14 -04:00
Nathan Froyd
e4e2da55c9 Bug 1207245 - part 6 - rename nsRefPtr<T> to RefPtr<T>; r=ehsan; a=Tomcat
The bulk of this commit was generated with a script, executed at the top
level of a typical source code checkout.  The only non-machine-generated
part was modifying MFBT's moz.build to reflect the new naming.

CLOSED TREE makes big refactorings like this a piece of cake.

 # The main substitution.
find . -name '*.cpp' -o -name '*.cc' -o -name '*.h' -o -name '*.mm' -o -name '*.idl'| \
    xargs perl -p -i -e '
 s/nsRefPtr\.h/RefPtr\.h/g; # handle includes
 s/nsRefPtr ?</RefPtr</g;   # handle declarations and variables
'

 # Handle a special friend declaration in gfx/layers/AtomicRefCountedWithFinalize.h.
perl -p -i -e 's/::nsRefPtr;/::RefPtr;/' gfx/layers/AtomicRefCountedWithFinalize.h

 # Handle nsRefPtr.h itself, a couple places that define constructors
 # from nsRefPtr, and code generators specially.  We do this here, rather
 # than indiscriminantly s/nsRefPtr/RefPtr/, because that would rename
 # things like nsRefPtrHashtable.
perl -p -i -e 's/nsRefPtr/RefPtr/g' \
     mfbt/nsRefPtr.h \
     xpcom/glue/nsCOMPtr.h \
     xpcom/base/OwningNonNull.h \
     ipc/ipdl/ipdl/lower.py \
     ipc/ipdl/ipdl/builtin.py \
     dom/bindings/Codegen.py \
     python/lldbutils/lldbutils/utils.py

 # In our indiscriminate substitution above, we renamed
 # nsRefPtrGetterAddRefs, the class behind getter_AddRefs.  Fix that up.
find . -name '*.cpp' -o -name '*.h' -o -name '*.idl' | \
    xargs perl -p -i -e 's/nsRefPtrGetterAddRefs/RefPtrGetterAddRefs/g'

if [ -d .git ]; then
    git mv mfbt/nsRefPtr.h mfbt/RefPtr.h
else
    hg mv mfbt/nsRefPtr.h mfbt/RefPtr.h
fi
2015-10-18 01:24:48 -04:00
Yoshi Huang
349b7c0380 Bug 1191653 - Listen to clear-origin-data in nsPermissionManager. r=bholley 2015-10-13 10:27:42 +08:00
Tim Taubert
5612c000e9 Bug 1001691 - Implement WebCrypto thread pool r=bz 2015-09-11 16:01:20 +02:00
Boris Zbarsky
233fb264ff Bug 1209658 part 2. Add text/json and text/vtt as text MIME types. r=bkelly 2015-10-05 12:23:26 -04:00
Boris Zbarsky
d41c82f00d Bug 1209658 part 1. Refactor some parts of nsContentDLF to reduce code duplication and improve readability a bit. r=bkelly 2015-10-05 12:23:25 -04:00
Josh Matthews
6d7a9f43d5 Bug 885982 - Part 3: Add e10s support to TCPSocket and TCPServerSocket. r=asuth,mayhemer,bz 2015-03-25 10:36:56 -04:00
Christoph Kerschbaumer
794c9eb870 Bug 1204703 - Make nsContentSecurityManager scriptable (r=sicking) 2015-09-18 09:27:15 -07:00
Wes Kocher
0484e3d976 Backed out 3 changesets (bug 1143922) for landing with the wrong bug number
Backed out changeset 309b4d1ab81c (bug 1143922)
Backed out changeset deda472458fd (bug 1143922)
Backed out changeset 977d5b7ecba3 (bug 1143922)
2015-09-18 14:13:33 -07:00
Christoph Kerschbaumer
78ab63d19e Bug 1143922 - Make nsContentSecurityManager scriptable (r=sicking) 2015-09-18 09:27:15 -07:00
Hiroyuki Ikezoe
e92ce11cd1 Bug 1151694 - Part 1 - Move CommonAnimationManager::sLayerAnimationInfo into LayerAnimationInfo.(cpp|h). r=bbirtles 2015-09-03 22:59:00 +02:00
Nicholas Nethercote
69d088e45f Bug 1198334 (part 1) - Replace the opt-in FAIL_ON_WARNINGS with the opt-out ALLOW_COMPILER_WARNINGS. r=glandium.
The patch removes 455 occurrences of FAIL_ON_WARNINGS from moz.build files, and
adds 78 instances of ALLOW_COMPILER_WARNINGS. About half of those 78 are in
code we control and which should be removable with a little effort.
2015-08-27 20:44:53 -07:00
Ben Tian
1754b98de8 Bug 1193379 - Create dom/bluetooth/common/webapi folder. r=joliu 2015-08-21 15:15:41 +08:00
Ben Tian
59ae4a9ddc Bug 1193379 - Rename bluetooth2 folder to common. r=joliu 2015-08-21 15:19:12 +08:00
Andrew Osmond
c67ed45fb3 Bug 1186273 - Part 1. Move preferences and observers into dedicated threadsafe module. r=dhylands 2015-08-18 07:42:12 -04:00
Ben Tian
f24795378b Bug 1192693 - [02] Remove bluetooth1 folder and rename webidl files, r=joliu, r=mrbkap 2015-08-17 15:30:34 +08:00
Wes Kocher
82841444d6 Merge m-c to inbound, a=merge 2015-08-06 18:11:16 -07:00
Brian Birtles
9d081821b3 Bug 1180125 part 2 - Move AnimationCommon classes out of CSS namespace; r=dbaron
The long-term plan is to drop the mozilla::css namespace altogether. Before we
go to much further with refactoring code in AnimationCommon, we should drop
usage of the mozilla::css namespace. Specifically, this patch moves the
CommonAnimationManager and AnimValuesStyleRule classes to the mozilla namespace.
2015-07-29 10:57:39 +09:00
Kelly Davis
e7a4902d19 Bug 1185018 - Part 1 of 1 - Made speech recognition services language dependent and removed assumption of a single service. r=smaug 2015-08-02 13:43:00 +02:00
Sean Lin
9dd7d7ff7f Bug 1069230 - Presentation API implementation. Part 8 - Data transport channel. r=jdm 2015-04-22 16:01:38 +08:00
Carsten "Tomcat" Book
bf173a58e8 Backed out changeset a4fb4e4b1c8b (bug 1180125) 2015-07-29 17:32:19 +02:00
Brian Birtles
94af843455 Bug 1180125 part 2 - Move AnimationCommon classes out of CSS namespace; r=dbaron
The long-term plan is to drop the mozilla::css namespace altogether. Before we
go to much further with refactoring code in AnimationCommon, we should drop
usage of the mozilla::css namespace. Specifically, this patch moves the
CommonAnimationManager and AnimValuesStyleRule classes to the mozilla namespace.
2015-07-29 10:57:39 +09:00
Sean Lin
8c65319fc0 Bug 1069230 - Presentation API implementation. Part 2 - Presentation service and listeners. r=smaug 2015-03-25 19:47:56 +08:00
Sean Lin
d2cfdcf0f4 Bug 1069230 - Presentation API implementation. Part 1 - WebIDL Bindings. r=smaug 2015-03-19 15:48:28 +08:00
Ehsan Akhgari
f6ec5aa5a5 Bug 1183925 - Part 2: Clean up the AudioChannelService shutdown; r=baku
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers.  It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 17:47:28 -04:00
Ehsan Akhgari
9877ab828b Bug 1183925 - Part 1: Clean up the SpeakerManagerService shutdown; r=baku 2015-07-15 17:47:08 -04:00
Ryan VanderMeulen
536eb11c6c Backed out changeset 21a5c9152c3b (bug 1183925) for B2G debug mochitest crashes. 2015-07-15 11:29:50 -04:00
Ehsan Akhgari
cc9fac764a Bug 1183925 - Clean up the AudioChannelService shutdown; r=baku
Right now this function is called after the XPCOM component manager is
shut down, so it can never remove any observers.  It's better to do this
work in response to xpcom-shutdown while we still have a component
manager to be able to clean up after ourselves properly.
2015-07-15 08:12:36 -04:00
Andrea Marchesini
f4c10524b4 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Carsten "Tomcat" Book
85cc47ac7c Backed out changeset bcfbdb934c37 (bug 1113086) for breaking cpp tests with timeouts in TestAudioChannelService.exe 2015-07-11 14:14:58 +02:00
Andrea Marchesini
16db4ace47 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 21:08:43 -04:00
Xidorn Quan
1429282d8b Backed out 8 changesets (bug 1113086) for build bustage
Backed out changeset a20839dfd439 (bug 1113086)
Backed out changeset 675ea719b91c (bug 1113086)
Backed out changeset cfb34138bb9f (bug 1113086)
Backed out changeset b9525c60a737 (bug 1113086)
Backed out changeset 380859ae955b (bug 1113086)
Backed out changeset 5ec088f0892f (bug 1113086)
Backed out changeset caf57ae8cbce (bug 1113086)
Backed out changeset 0fc4dec6cd81 (bug 1113086)
2015-07-11 10:55:59 +10:00
Andrea Marchesini
be1995c816 Bug 1113086 - AudioChannel policy in Browser API - patch 1 - BrowserElementAudioChannel, r=ehsan 2015-07-10 17:38:44 +01:00
Cameron McCormack
7fe57acee1 Bug 77999 - Part 2: Add RuleProcessorCache. r=dbaron 2015-06-26 13:52:47 +10:00
Carsten "Tomcat" Book
ef590eebe8 merge mozilla-inbound to mozilla-central a=merge 2015-06-16 16:08:27 +02:00
Jocelyn Liu
cb94db24ac Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-16 09:38:50 +08:00
Shawn Huang
08e6a8dfbe Backed out changesets 0832ffdd8144 for Bug 1167064 2015-06-15 19:05:03 +08:00
Jocelyn Liu
571fe4aad6 Bug 1167064 - Patch1: Switch to bluetooth APIv2. r=shuang 2015-06-15 17:11:35 +08:00