Nicholas Hurley
1f3e7e88b7
Bug 1213443 - Parallelism for <link rel=prefetch> r=bz
...
--HG--
extra : rebase_source : 386f6fb7b4fb5513bb4821ba59d2d205ce9b75b4
2015-10-19 12:46:57 -07:00
Nathan Froyd
01583602a9
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
--HG--
rename : mfbt/nsRefPtr.h => mfbt/RefPtr.h
2015-10-18 01:24:48 -04:00
Andrea Marchesini
cb54385682
Bug 1156632 - Remove unused forward class declarations - patch 4 - netwerk image and dom, r=ehsan
2015-04-22 08:29:20 +02:00
Andrea Marchesini
e6f385fb3d
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
883849ee32
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
Benoit Jacob
6cbcf7b515
Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug
2014-06-23 14:49:09 -04:00
Masatoshi Kimura
5658a0e904
Bug 950311 - deCOM nsIDOMLoadStatus. r=mayhemer
2013-12-19 00:11:54 +09:00
Nick Hurley
3b308213ec
Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman
2012-10-22 10:51:07 -07:00
Ehsan Akhgari
e368dc9c85
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
Honza Bambas
a5142cc259
Bug 766210 - Delay updating nsPrefetchNode's reference to redirect channel until we know redirect is approved, r=jduell
2012-07-31 20:59:17 +02:00
David Zbarsky
d2ee12f6f9
Bug 763350 - Clean up some includes in content/ and dom/ r=smaug
2012-07-01 16:45:59 -07:00
Ehsan Akhgari
ebe2cd619b
Bug 758992 - Make the classes which use the XPCOM nsISupports implementation macros final, to avoid the warning about deleting using a pointer to a base class with virtual functions and no virtual dtor (uriloader parts); r=bzbarsky
2012-06-12 23:53:09 -04:00
Gervase Markham
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Michael Wu
d2b70213ac
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
Dan Witte
cf69667c0d
Back out Bug 536324 part 3.
2010-08-30 13:20:39 -07:00
Dan Witte
9d758b2bce
Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+
2010-08-21 00:31:35 -07:00
Benjamin Smedberg
a7e67d32ad
Bug 568691 part B - mechanical changes to in-tree binary modules needed to get them building and registering correctly. After this patch, xpcshell appears to work.
2010-06-10 14:11:40 -04:00
Dave Camp
0968273f82
Bug 442803: Remove offline fetching from nsPrefetchService.cpp. r+sr=bz
2008-08-24 20:37:10 -07:00
Dave Camp
01ca11fc8d
Backed out changeset bbaf0d5fef61 (bug 442803)
2008-08-19 22:54:37 -07:00
Dave Camp
c57900b94b
Bug 442803: Remove offline fetching from nsPrefetchService.cpp. r+sr=bz
2008-08-19 19:28:46 -07:00
dcamp@mozilla.com
c164c6d8ce
implement navigator.pendingOfflineLoads. b=372969, r=biesi, r+sr=jst
2007-07-08 23:19:27 -07:00
roc+@cs.cmu.edu
1e64c60d76
Bug 372970. Implement navigator.offlineResources. patch by Dave Camp, r+sr=jst
2007-05-29 02:45:30 -07:00
cbiesinger@web.de
383c82c5d9
Bug 370195 – sql device for the offline cachepatch by Dave Camp <dcamp@mozilla.com> r=jst (content part) r=biesi (rest)
2007-05-14 13:09:20 -07:00
roc+%cs.cmu.edu
81867edd87
Bug 367447. Support <link rel="offline-resource">. Patch by Dave Camp, r+sr=biesi
2007-03-14 01:52:07 +00:00
darin%meer.net
60ba096f4c
fixes bug 323852 "redirect after a prefetch does not include X-moz: prefetch header" r=biesi sr=bzbarsky
2006-01-25 00:48:40 +00:00
darin%meer.net
2444b0a94f
fixes bug 294535 "Prefetch Service should only follow redirects to http:// locations." r=biesi a=bsmedberg
2005-06-29 20:57:34 +00:00
suresh%netscape.com
5d6141fab6
bug 166648 - allow link prefetching to be disabled via user prefs. r-dougt, sr-alecf, a-asa.
2003-01-27 22:23:28 +00:00
darin%netscape.com
0194395e7e
fixes bug 174984 "Prefetch requests should send Referer" r=gagan,mstoltz
...
sr=bzbarsky a=dbaron
2002-10-24 03:17:44 +00:00
darin%netscape.com
f83410ff28
fixes bug 166647 "allow link prefetching from a META tag + other fixes"
...
r=dougt,hixie sr=rpotts
2002-09-11 03:12:13 +00:00
darin%netscape.com
1a8358e655
adding new files for link prefetching (b=12274) [NOT PART OF THE BUILD]
...
r=dougt sr=rpotts
2002-09-02 00:14:20 +00:00