Honza Bambas
730a380b59
Bug 1333568. r=valentin
2017-02-18 11:35:50 -05:00
Honza Bambas
77f04af9ec
Bug 1165256 - Make appcache fully work with OriginAttribues. r=jduell
2016-01-18 20:20:08 +01:00
Nicholas Nethercote
f1d8c3cff2
Bug 1186783 (part 1) - Replace nsBaseHashtable::EnumerateRead() calls in netwerk/ with iterators. r=valentin.
2015-11-19 15:31:28 -08:00
Yoshi Huang
47c69d1edb
Bug 1209162 - Create OriginAttributes subtypes. IGNORE IDL r=sicking.
2015-11-03 09:50:54 +08:00
Nathan Froyd
4e6d8f6705
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
Honza Bambas
213ca181dd
Bug 1165269 - Use OriginAttributes in nsILoadContextInfo, r=michal+allstars
2015-10-11 18:13:09 +02:00
Andrea Marchesini
ad97ae68b8
Bug 1148527 - Indentation fix after bug 1145631, r=ehsan
2015-03-27 18:52:19 +00:00
Ehsan Akhgari
ea41d8de48
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
Ehsan Akhgari
7943855e34
Bug 1117042 - Mark virtual overridden functions as MOZ_OVERRIDE in netwerk; r=mcmanus
2015-01-02 09:04:04 -05:00
Trevor Saunders
d67df400c1
bug 1047696 - mark a number of classes MOZ_FINAL to get compilers to devirtualize more r=froydnj
2014-08-05 13:33:55 -04:00
Ehsan Akhgari
cae4fa66a8
Bug 1048271 - Fix more bad implicit constructors in netwerk; r=mcmanus
2014-08-05 09:20:24 -04:00
Benoit Jacob
d66ff6a02f
Bug 1028588 - Fix dangerous public destructors in netwerk/ - r=mcmanus
2014-06-24 12:36:44 -04:00
Honza Bambas
a55f8e6460
Bug 913807 - HTTP cache v2: API+top service+integration+tests, off by default, r=michal+ehsan+mark.finkle+fabrice+mhammond+gavin
2013-09-20 11:11:25 +02:00
Honza Bambas
e0e4156609
Bug 877562 - protect appcache hash tables with a mutex, r=jduell
2013-08-15 12:42:02 +02:00
Joshua Cranmer
2bde801f36
Bug 884061 - Part 3q: Use NS_DECL_THREADSAFE_ISUPPORTS in netwerk/, r=macmanus
2013-07-18 21:24:13 -05:00
Honza Bambas
263e432049
Bug 842611 - Don't let nsOfflineCacheDevice::Init() create mozStorageService on non-main thread, r=michal
2013-04-10 02:21:07 +02:00
Honza Bambas
8d66114a8b
Bug 751754 - Allow separation between the update-available and start-download states in appcache, r=jduell
2012-10-02 15:55:00 +02:00
Jason Duell
0322390174
Bug 786299 - Delete app-cache related to an app when uninstalled. r=honza,jduell
2012-10-02 17:39:09 -07:00
Ed Morley
2227b84c96
Backout bec7e68cad9a & a6228bc28958 (bug 786299) for Windows compilation errors on a CLOSED TREE
2012-09-29 01:44:30 +01:00
Jason Duell
aa7967e955
Bug 786299 - Delete app-cache related to an app when uninstalled, part 1 r=jduell
2012-09-28 16:13:15 -07:00
Honza Bambas
005f85a9a0
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Ehsan Akhgari
243c878d26
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
Aryeh Gregor
8b4a23fc4c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Thinker K.F. Li
27a993efb2
Bug 767025 - Part 2: Track active entries in memory and refuse to delete by ignore. r=honzab,gal
...
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:27:03 +08:00
Thinker K.F. Li
7f99fcb05f
Bug 767025 - Part 1: Remove flags. r=honzab
...
The original patch is from Andreas Gal. Thinker did some bug fixing.
2012-06-29 06:26:55 +08:00
Honza Bambas
ccbac4dff5
Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal
2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
504c628c99
Backout 2838ba825479, 991404facac2, 7f6e22f10b99, 30a4e0cf7130, ad2c42efbe57, and 1f07f04ec01d (Bug 760067, Bug 767096, Bug 765158, Bug 729182) due to xpcshell orange.
2012-07-10 19:21:54 -04:00
Honza Bambas
3ac135b59e
Bug 760067 - Release all OfflineCache custom profile files ASAP after custom profile cache update has finished, r=michal
2012-07-10 23:49:17 +02:00
Ehsan Akhgari
63dec40b80
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 (netwerk parts); r=jduell
2012-06-05 23:18:25 -04:00
Geoff Lankow
7a64448b03
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Honza Bambas
bdef95098a
Bug 753990 - Allow appcache to work with a custom cache (profile) folder within a single application, r=michal.novotny
2012-06-04 16:12:24 +02:00
Gervase Markham
cb6a072c2a
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Brian Nicholson
db1ce06a58
Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab
2012-04-30 10:57:09 -07:00
Ryan VanderMeulen
0fabfaa619
Backout bug 674728 part 3 due to missing reviews.
2012-03-31 18:18:08 -04:00
Sinker Li
56eea89eb3
Bug 674728 - Part 3: Evict cache asynchronized. r=honzab
2012-03-30 20:52:07 -04:00
Sinker Li
b92b7eca81
Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab
2012-03-30 20:52:06 -04:00
Nathan Froyd
3032d3dd2c
Bug 700659 - Slay nsHashSets in netwerk. r=jduell
2011-11-08 15:22:15 -05:00
Rafael Ávila de Espíndola
719d3b53e5
Bug 716576 - nsCacheService closes its databases too late. r=michal.novotny.
2012-01-11 17:41:21 -05:00
Michael Wu
0fe7772ece
Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
2011-09-28 23:19:26 -07:00
Byron Milligan
df1fb8a97a
Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+
2010-09-07 15:39:28 -07:00
Michal Novotny
326209b452
Bug 513008 - Eliminate synchronous reads from cache. r=jduell,sdwilsh sr=shaver a2.0=blocking
2010-08-24 03:06:23 +02:00
Mounir Lamouri
8232afc103
Backed out changeset d0b284052d29 for Talos regression investigation on tp4.
2010-08-22 20:16:05 +02:00
Michal Novotny
9ae1d7f741
Bug 513008 - Eliminate synchronous reads from cache, r=jduell,sdwilsh, sr=shaver, a=betaN+
2010-08-21 11:16:40 -07:00
Mitchell Field
bc63774d7e
Bug 542222 - Reduce recursion in netwerk makefiles.
2010-06-05 21:18:12 -04:00