Commit Graph

280 Commits

Author SHA1 Message Date
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
79b6b7fa0b Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell 2012-08-25 11:19:00 -07:00
Nick Hurley
29786cc7dd bug 783755 - Make the new default cache size stick. r=michal 2012-08-21 14:52:44 -07:00
Brian R. Bondy
45c4c5ef77 Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal 2012-08-23 22:23:10 -04:00
Brian R. Bondy
46f7faac48 Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal 2012-08-23 22:22:14 -04:00
Nathan Froyd
c31911aafd Bug 781200 - fixup several cache histograms; r=bsmith,hurley 2012-08-23 13:23:03 -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
Phil Ringnalda
9dd734f9d1 Back out cbb72643bbae (bug 723362) for leaking 2012-08-20 20:28:19 -07:00
Michal Novotny
e0dd387b14 Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley 2012-08-21 03:30:40 +02:00
Brian R. Bondy
9eadcef903 Bug 777328 - Gather telemetry data for how much cache corruption reduction plan would help. r=michal 2012-08-20 08:08:46 -04:00
Aryeh Gregor
982100775b Bug 780618 - Move all error codes to nsError.h; r=ehsan 2012-07-27 17:03:27 +03:00
Honza Bambas
5fe7a22e2c Bug 215450: Allow uploading of files greater than 2gb in size. Involves making input streams 64-bit capable. Significant work done by Makoto Kato, finished by Honza Bambas. r=hbambas,bsmedberg,jdrew,sicking 2012-08-10 22:44:11 -04:00
Ms2ger
331accfcb4 Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg 2012-08-09 09:09:40 +02:00
Michal Novotny
687176c615 Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley 2012-08-08 12:23:15 +02:00
Michal Novotny
f183bfabc4 Bug 779461 - Do not transfer the ownership of the key string from nsCacheRequest to nsCacheEntry, r=honzab 2012-08-08 02:06:06 +02:00
Nick Hurley
26e03b83c6 bug 709297 - reduce max cache size to 350MiB the next time we have to trash the cache. r=jduell 2012-08-07 15:46:33 -07:00
Jason Duell
3135796129 bug 780750 - HTTP cache never gets used/fixed if wrong permissions on CACHE_MAP file. r=hurley 2012-08-07 15:46:33 -07:00
Mike Hommey
c1b35e7b2a Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted 2012-08-04 20:26:44 +02:00
Ehsan Akhgari
c80897316e Merge the nullptr conversion from mozilla-central into mozilla-inbound 2012-07-30 10:28:15 -04:00
Aryeh Gregor
57c0ad57fb Bug 777292 part 2 - Change all nsnull to nullptr 2012-07-30 17:20:58 +03:00
Aryeh Gregor
58769bb9d6 Bug 777292 - Don't use |= on nsresult; r=ehsan 2012-07-27 17:03:08 +03:00
Brian R. Bondy
01b7d925e3 Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell 2012-07-25 10:24:25 -04:00
Brian R. Bondy
c6ee9bb613 Bug 774146 - Get more detail on reason for DISK_CACHE_CORRUPT failures. r=michal 2012-07-20 19:47:52 -04:00
Thinker K.F. Li
1840997011 Bug 769184 - Update cache entry only for new. r=honzab
Update entries in offline cache device only for new ones.  It means the entries returned by BindEntry(), not FindEntry().
2012-07-16 20:38:47 -04:00
Thinker K.F. Li
092e6569c2 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
b1e99ff6c5 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
cf693a708f Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-11 20:20:17 +02:00
Honza Bambas
1cae6b45ae 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
Ehsan Akhgari
7e7a121ae3 Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal 2012-07-11 09:39:06 -04:00
Thinker K.F. Li
691678b553 Bug 769291 - Move nsOfflineCacheDevice::Discard() to cache IO thread. r=honzab
Discard() is called from destructor of nsApplicationCache.  Instances
of nsApplicationCache is released by last reference, it can be in main
thread.  We move Discard() tasks to cache IO thread to avoid blocking
the main thread.
2012-07-11 14:16:00 +08:00
Ryan VanderMeulen
d803ddbb37 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
57b6ddeca3 Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker 2012-07-10 23:49:18 +02:00
Honza Bambas
e2a8bfcd65 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
d9cc4ea6dc Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
DONTBUILD
2012-07-10 14:41:42 -04:00
Brian Smith
152e0e6588 Bug 767275 - Add more detailed cache lock telemetry, r=michal, r=nfroyd
--HG--
extra : rebase_source : 60962876704a945ba83dc8ccfde938aa1957cb96
2012-06-29 16:20:34 -07:00
Brian Smith
dd8d24ead3 Bug 765665: Stop acquiring the cache service lock in nsICacheService::GetCacheIOTarget when on the main thread, r=michal
--HG--
extra : rebase_source : 1c364e317d11f024774952a89784609a68b8f6f2
2012-06-21 13:47:44 -07:00
Ehsan Akhgari
c8be8664d9 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
Honza Bambas
f29e1ac591 Bug 720778 - Important threads should have a name for better debugability, r=bsmith, sr=bsmedberg+glandium 2012-06-12 19:06:20 +02:00
Mark Finkle
6288461550 Bug 754575 - Cache.Trash* files fill up disk space r=blassey r=jduell 2012-06-11 16:06:07 -04:00
Geoff Lankow
1214b72681 Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg 2012-06-06 14:08:30 +12:00
Honza Bambas
22565351ec 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
Michal Novotny
f7170ae8c4 Bug 722034 - Part 1 - Make AsyncOpenCacheEntry call the listener for non-blocking async requests from background threads, r=hurley 2012-05-31 15:20:04 -07:00
Brian Smith
18e40e79f0 Bug 746018 - Part 4 - More cache logging, r=jduell 2012-05-31 15:20:03 -07:00
Brian Smith
7a2c44f12b Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell 2012-05-31 15:20:02 -07:00
Geoff Brown
ef64098bfc Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell 2012-05-30 22:59:33 -04:00
Josh Matthews
7bd0db46c8 Bug 722845 - Part 3: Remove cache service use of private browsing service, and replace it with a single observer notification. r=michal.novotny 2012-05-24 16:31:54 +01:00
Josh Matthews
8e750c8313 Bug 722845 - Part 0: Add private flag for cache entries/sessions/requests. r=michal.novotny 2012-05-24 16:31:53 +01:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Benjamin Smedberg
2187798a40 Bug 734847 part 2 - treewide changes resulting from the default-infallibility of hashtables; either remove useless result checks, or use the fallible version of APIs, depending on context, r=jlebar
--HG--
extra : rebase_source : 844b008c5167e6ca39a7ba9eeec8b30672938704
2012-05-18 13:30:49 -04:00
Brian R. Bondy
4e98f0541b Bug 753813 - Cache is disabled if you have too many old cache directories to delete
Bug 753813 - Cache is disabled if you have too many old cache directories to delete. r=jduell
2012-05-10 09:18:00 -07:00
Brian Nicholson
4183a953ab Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab 2012-04-30 10:57:09 -07:00