Commit Graph

56 Commits

Author SHA1 Message Date
Benoit Jacob
7c9bc170a1 Bug 1028588 - Fix dangerous public destructors in uriloader - r=smaug 2014-06-23 14:49:09 -04:00
Honza Bambas
4f2a59d172 Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 20:14:07 +02:00
Ryan VanderMeulen
d4516e53a4 Backed out changeset d405928cb934 (bug 999577) and changeset 940d041073c7 (bug 938186) for xpcshell failures.
CLOSED TREE
2014-06-05 13:32:04 -04:00
Honza Bambas
b1feb7e13a Bug 999577 - disable addon access to cache v1 IDLs, r=michal+jduell 2014-06-05 18:27:38 +02:00
Ehsan Akhgari
8212be10db Bug 935778 - Part 0.2: Spray some MOZ_DECLARE_REFCOUNTED_TYPENAME across the tree 2014-02-20 21:33:49 -05:00
Olli Pettay
7bba9e8fa0 Bug 964462, simplify ipc offline resource refcounting, r=mayhemer
--HG--
extra : rebase_source : 362ce98a10c25f7e3263f23736a18d2bcfb16e75
2014-02-06 16:16:41 +02:00
Honza Bambas
4fc7ebc647 Bug 918880 - MaybeAllowOfflineAppByDefault must work on child processes, r=jduell 2013-11-19 23:15:59 +01:00
Masatoshi Kimura
0ca884d24e Bug 950311 - deCOM nsIDOMLoadStatus. r=mayhemer 2013-12-19 00:11:54 +09:00
Fernando Jiménez
d9c0277fa7 Bug 861894 - Avoid apps to schedule new offline cache downloads while device free space is low. r=honzab 2013-05-10 16:16:56 +02:00
Fernando Jiménez
d3ab989f15 Bug 819971 - Expose nsOfflineCacheUpdate::Cancel() via nsIOfflineCacheUpdate.idl; r=honzab 2012-12-18 22:41:15 +01:00
Honza Bambas
61a507cc68 Bug 794663 - Allow downloading appcache for a specific appid/browserflag, r=jduell 2012-10-26 13:02:47 +02:00
Honza Bambas
f58e5a0d57 Bug 751754 - Allow separation between the update-available and start-download states in appcache, r=jduell 2012-10-02 15:55:00 +02:00
Nick Hurley
31985d7fa6 Bug 536324 part 3 - Change consumers of nsIChannel. r=sworkman 2012-10-22 10:51:07 -07:00
Honza Bambas
41c12a706a Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell 2012-07-31 02:36:00 -04:00
Aryeh Gregor
87ee7da27f Bug 782594 - Make some methods in uriloader/ infallible; r=bz 2012-08-14 12:10:42 +03:00
Ehsan Akhgari
0fd9123eac 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
e806eeab4f Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Honza Bambas
a5c1861217 Bug 765203 - Support mode 'unknown' when parsing cache manifest, r=jduell 2012-07-14 11:52:35 +02:00
Honza Bambas
d08a526246 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Ryan VanderMeulen
881389a4b2 Backout 3bf8ff8836d1 too 2012-07-10 19:39:01 -04:00
Ryan VanderMeulen
89aff4650d 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
a344f9ba91 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, remove unused member from nsOfflineCacheUpdate, r=sinker DONTBUILD 2012-07-11 00:06:26 +02:00
Honza Bambas
24c40e8525 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Ehsan Akhgari
5f1dca309f 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
Geoff Lankow
00f3a215c9 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas
5087829839 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
Honza Bambas
680e33b76d Bug 744719 - Change offline cache update to load files in parallel, r=michal.novotny 2012-06-04 16:12:23 +02:00
Honza Bambas
acf15bad5e Bug 744710 - Enable getting updates on how many bytes of an appcache update have been downloaded, r=michal 2012-05-22 22:12:40 +02:00
Gervase Markham
ca171eec44 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Ryan VanderMeulen
0c2f2d9626 Backout bug 674728 part 3 due to missing reviews. 2012-03-31 18:18:08 -04:00
Sinker Li
954be9a5df Bug 674728 - Part 3: Evict cache asynchronized. r=honzab 2012-03-30 20:52:07 -04:00
Sinker Li
f140262449 Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab 2012-03-30 20:52:06 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04: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
Honza Bambas
e618ce3cbb Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+
--HG--
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/OfflineCacheUpdateChild.cpp
rename : uriloader/prefetch/nsOfflineCacheUpdate.cpp => uriloader/prefetch/nsOfflineCacheUpdateService.cpp
2010-10-20 19:12:32 +02:00
Dan Witte
c4091d7694 Back out Bug 536324 part 3. 2010-08-30 13:20:39 -07:00
Dan Witte
5f4dbe5953 Bug 536324 - e10s HTTP: refactor nsHashPropertyBag. Part 3: contentLength consumers. r=jduell, a=beta5+ 2010-08-21 00:31:35 -07:00
Dave Camp
2ddf9e1741 Bug 482370 - after noupdate documents are associated with the wrong application cache. r+sr=jst 2009-03-10 14:58:00 -07:00
Dave Camp
c2401372fd Bug 471227 - rework offline update scheduling a bit to avoid losing/misscheduling updates. r+sr=bz 2009-03-04 13:37:29 -08:00
Honza Bambas
762ed65762 Bug 460335 - disallow redirects when updating an application cache, r=dcamp, sr=cbiesinger 2009-02-27 15:09:06 +01:00
Dave Camp
edf30b277b Bug 477747 - appcache 'noupdate' event fired too early for master entries. r+sr=jst 2009-02-22 11:09:10 -08:00
Honza Bambas
c8fedd2705 Bug 461325: Cache implicit entries when the manifest is not changed. r=dcamp, sr=biesi 2008-11-05 16:01:08 -08:00
Dave Camp
7d7819f834 Bug 462549: Verify that an appcache manifest hasn't changed at the end of an update. r+sr=biesi 2008-11-05 16:01:07 -08:00
Dave Camp
78a7554f63 Bug 461071: Allow application caches to be obsoleted. r=honzab, r+sr=bz 2008-11-04 10:59:12 -08:00
Dave Camp
e65d37733f Bug 443023: Associate documents with their caches after an initial update. r=honzab, r+sr=biesi 2008-11-04 02:20:27 -08:00
Dave Camp
5a11a16230 Bug 442813: Implement fallback/opportunistic caching for application caches. p=me, Honza Bambas <honzab@allpeers.com>, r+sr=biesi 2008-09-30 11:34:23 -07:00
Dave Camp
ace5a3bf61 Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz
* * *
2008-08-26 16:09:02 -07:00
Dave Camp
0356f133d4 Backed out changeset ebafb9df6ce0 (bug 442806) 2008-08-24 23:11:31 -07:00
Dave Camp
ac150ad11b Bug 442806: Use seperate, versioned caches for offline apps. r+sr=bz 2008-08-24 21:51:19 -07:00
Dave Camp
234fd1844f Backed out changeset ea551e6f0f40 (bug 442806) 2008-08-19 22:53:20 -07:00