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
Ben Kelly
568567e9f3
Bug 1210941 P3 Make jar channels use LOAD_BYPASS_SERVICE_WORKER internally. r=jduell
2015-10-06 06:37:06 -07:00
Jeff Gibat
ed5bd85360
Bug 1173171 - Disable external jar: via preference. r=jduell
2015-08-04 23:55:00 -04:00
Carsten "Tomcat" Book
a8354ccdc9
Backed out changeset bf18c1865e7d (bug 1173171) for test failures like test_bug1173171.html
2015-08-05 08:35:19 +02:00
Jeff Gibat
17da5d8512
Bug 1173171 - Disable external jar: via preference. r=jduell
2015-07-30 13:10:00 +02:00
Shian-Yow Wu
f76903c7b4
Bug 1069081 - Part 1: Always cache fd in JAR cache except Windows. r=mwu
2015-07-30 16:05:57 +08:00
Fernando Jimenez
d595c8facc
Bug 1174078 - Calling "fetch" inside Service Worker's "onfetch" handler in b2g causes "onfetch" again that leads to an infinite loop. r=nsm
2015-06-17 11:50:07 +02:00
Ehsan Akhgari
49e9a3140d
Bug 1164397 - Part 3: Add an API for overriding the original URI on nsJARChannel; r=jdm
2015-06-05 15:57:40 -04:00
Fernando Jimenez
83a6109df4
Bug 1169613 - Use content type of synthesized response for JAR channel requests if available. Part 1: Set Content-Type of synthesized reponses for JAR channel requests. r=jdm
2015-06-05 12:53:58 +02:00
Fernando Jimenez
b999a63de7
Bug 1169296 - Intercepting top-level document loads is not working with JAR channels. r=jdm
2015-06-03 10:41:44 +02:00
Ehsan Akhgari
021ed38d58
Bug 1168208 - Refactor the existing logic for syncing the security info between Response and channel objects into a new helper class; r=nsm,jdm,bkelly
2015-05-27 14:22:53 -04:00
Fernando Jimenez
9d0565a371
Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm
2015-05-22 09:32:25 +02:00
Sebastian Hengst
e7143df6e7
Backout 068cc6419d1e (Bug 1161684) for M4 perma-failures on opt. r=backout
2015-05-22 10:48:03 +02:00
Fernando Jimenez
814cb01df9
Bug 1161684 - Allow JAR channels to be intercepted by service workers. r=jdm
2015-05-22 09:32:25 +02:00
Eric Rahm
32b4ff6b18
Bug 1165518 - Part 2: Replace prlog.h with Logging.h. rs=froydnj
2015-05-19 11:15:34 -07:00
Eric Rahm
fb1cf677ff
Bug 1164620 - Part 1: Remove instances of #ifdef PR_LOGGING in various places. r=froydnj
...
PR_LOGGING is now always defined, we can remove #ifdefs checking for it.
2015-05-14 10:13:24 -07:00
Andrea Marchesini
94545cbb2e
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
5cccea6f0f
Bug 1145631 - Part 1: Replace MOZ_OVERRIDE and MOZ_FINAL with override and final in the tree; r=froydnj
...
This patch was automatically generated using the following script:
function convert() {
echo "Converting $1 to $2..."
find . \
! -wholename "*/.git*" \
! -wholename "obj-ff-dbg*" \
-type f \
\( -iname "*.cpp" \
-o -iname "*.h" \
-o -iname "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert MOZ_OVERRIDE override
convert MOZ_FINAL final
2015-03-21 12:28:04 -04:00
Jed Davis
62f87643e8
Bug 1043143: Step 3: Convert nsJARChannel from temporary files to temporary memory. r=honzab
...
This also requires changing XMLHttpRequest so that it doesn't crash if
memory-mapping would be applicable but the channel has no associated
nsIFile; a regression test for that case is added.
Bonus fix: nsJARChannel::AsyncOpen now checks whether the inner channel's
AsyncOpen failed.
2015-03-10 17:00:01 -07:00
Josh Matthews
7e273e8979
Bug 1059832 - Disallow initiating asynchronous remote JAR channel requests for synchronous operations. r=jduell
2014-09-15 13:00:08 -04:00
Trevor Saunders
e1a88eb1fb
bug 1059490 - mark more classes MOZ_FINAL r=froydnj
2014-08-27 14:26:48 -04:00
Shian-Yow Wu
98b6d14607
Bug 1048615 - Fix crash when simultaneously opening remote JAR file with mEnsureChildFd enabled. r=jduell
2014-08-21 19:09:35 +08:00
Shian-Yow Wu
a968b880df
Bug 988816 - Support multiple OpenNSPRFileOpen() on RemoteOpenFile. r=aklotz, jduell
2014-07-18 10:46:22 +08:00
Andrew McCreight
1ee07d58d6
Bug 1038207 - Fix various classes that reimplement nsISupports. r=ehsan
2014-07-14 12:21:34 -07:00
Boris Zbarsky
f22144a471
Bug 965413 part 3. Add a .loadInfo property to channels. r=mcmanus
2014-07-10 02:56:36 -04:00
Kyle Huey
796107136a
Bug 1024388: Allow JAR channels to retarget to a different thread. r=bz,jduell
2014-06-17 09:39:23 -07:00
Joshua Cranmer
3ca10f9d0e
Bug 884061 - Part 3p: Use NS_DECL_THREADSAFE_ISUPPORTS in modules/, r=taras,bsmedberg
...
--HG--
extra : rebase_source : e7b1a1d25ae9e602cae50f11d718dd1a94db782d
2013-07-18 21:23:44 -05:00
Ben Turner
46bed5f017
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-15 14:27:21 -08:00
Ryan VanderMeulen
dc75c6b11c
Backed out changeset 1646e649878a (bug 835698) for causing bug 839256.
2013-02-11 17:38:41 -05:00
Ben Turner
b66d3a5418
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-09 17:59:47 +00:00
Ed Morley
5c728f13b8
Backout 1646e649878a (bug 835698) on suspicion of causing mochitest-1 shutdown hangs on Windows on a rather sad looking CLOSED TREE
2013-02-11 15:41:36 +00:00
Ben Turner
8c08a3ad5e
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-09 17:59:47 +00:00
Jason Duell
a8d9b74416
Backed out changeset 1a2e34c9ebc7 (bug 835698) a=bustage_from_bug_839688
2013-02-08 17:18:28 -08:00
Ben Turner
7555d5addc
Bug 835698 - 'Pre-open() and send the fd for app process's application.zip'. r=jduell.
2013-02-01 04:23:23 -08:00
Phil Ringnalda
4263f1a634
Back out 4b47185f48f8 (bug 835698) for Win debug crashes in test_jarchannel_e10s.js
2013-02-06 22:23:33 -08:00
ben turner
61b0a67172
Bug 835698 - Pre-open() and send the fd for app process's application.zip r=jduell
2013-02-06 05:18:00 -08:00
Jason Duell
e7f09d1290
Bug 815523 - Remote the app: and jar: protocols. r=fabrice,mwu,jdm
2012-12-22 05:56:21 -08:00
Nils Maier
bd5c1b8f5c
Bug 719180: Part 1 - Correct jar channel stream ownership; r=taras
...
Avoid potential file locking issues by not keeping references to the input
stream in the first place, analog to how nsBaseChannel/nsFileChannel are
implemented. The file locks will now be released as soon as either the stream
is explictly closed or the stream instance gets destroyed.
This means that a synchronous ::Open() will transfer the input stream
ownership to the caller, while asynchronous ::AsyncOpen() will transfer it to
the pump handling the asynchronous transfer to the caller's listener.
2012-11-28 13:12:56 -05:00
Nick Hurley
36fa1cbed9
Bug 536324 part 2 - Change implementers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Andrea Marchesini
db9770f171
Bug 783562 - blob: protocol wrong Content-Type header. r=sicking
2012-08-27 19:34:30 -04:00
Ehsan Akhgari
8c296bbcd4
Bug 579517 - Part 1: Automated conversion of NSPR numeric types to stdint types in Gecko; r=bsmedberg
...
This patch was generated by a script. Here's the source of the script for
future reference:
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 "*.c" \
-o -iname "*.cc" \
-o -iname "*.idl" \
-o -iname "*.ipdl" \
-o -iname "*.ipdlh" \
-o -iname "*.mm" \) | \
xargs -n 1 sed -i -e "s/\b$1\b/$2/g"
}
convert PRInt8 int8_t
convert PRUint8 uint8_t
convert PRInt16 int16_t
convert PRUint16 uint16_t
convert PRInt32 int32_t
convert PRUint32 uint32_t
convert PRInt64 int64_t
convert PRUint64 uint64_t
convert PRIntn int
convert PRUintn unsigned
convert PRSize size_t
convert PROffset32 int32_t
convert PROffset64 int64_t
convert PRPtrdiff ptrdiff_t
convert PRFloat64 double
2012-08-22 11:56:38 -04:00
Fabrice Desré
34d55862d3
Bug 769350 - Implement trusted/certified app scheme support [r=vingtetun]
2012-07-11 08:38:36 -07:00
Gervase Markham
87620f5676
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
d8e503c38b
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
...
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Nick Hurley
7400a85df3
bug 589292 - add contentDisposition{Filename} props to nsIChannel. r=honzab sr=bzbarsky
2011-09-09 15:41:04 -07:00
Michael Wu
ccd55337cc
Bug 533038 - 4. Fully support reading jars inside jars, r=taras a=blocking-beta6
2010-09-08 20:38:34 -07:00
Dan Witte
ccd3c28130
Back out Bug 536324 part 2.
2010-08-30 13:20:39 -07:00
Dan Witte
86583b1783
Back out Bug 589292.
2010-08-30 13:20:38 -07:00
Dan Witte
8937bd5738
Bug 589292 - e10s necko: add contentDisposition prop to nsIChannel. r=jduell, sr=biesi, a=beta5+
2010-08-25 17:51:21 -07:00
Dan Witte
4439f97632
Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 2: contentLength implementors. r=jduell, a=beta5+
2010-08-21 00:31:11 -07:00