Jason Duell
1a4c79869e
Bug 786299 - Delete app-cache related to an app when uninstalled, part 1 r=jduell
2012-09-28 16:13:15 -07:00
Isaac Aggrey
b95ab79e45
Bug 795351: Replace LL_MAXINT, LL_MININT, LL_MAXUINT with stdint versions; r=ehsan
2012-09-28 14:55:23 -05:00
Isaac Aggrey
481e7dfb0b
Bug 791906: Replace NSPR integer limit constants with stdint ones; r=ehsan
2012-09-28 01:57:33 -05:00
foudfou
35bc9a72e8
Bug 785542 - Convert usages of PR_MIN and PR_MAX to NS_MIN and NS_MAX; r=ehsan
...
Occurences of PR_MAX in layout/style/nsCSSProps.cpp and xpcom/glue/nsTArray.h
can not be converted without C++11 support (constexpr).
--HG--
extra : rebase_source : 3b4f7e26690fad487dd11594449948411d4e79bc
2012-09-27 23:44:47 +02:00
Honza Bambas
62c6cf834b
Bug 756717 - Implement 'appcache jar' for apps, r=tlee+jduell
2012-07-31 02:36:00 -04:00
Ehsan Akhgari
8cc30b88b2
Bug 792502 - Kill the FunctionTimer code; r=vlad
2012-09-19 16:59:38 -04:00
Michal Novotny
d4b22d7ab5
Bug 695399 - Remove calls to nsICacheSession::openCacheEntry on the main thread - netwerk part, r=hurley
2012-09-18 20:06:35 +02:00
Michal Novotny
245dcc3f73
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-09-17 23:31:46 +02:00
Brian R. Bondy
96079d18bc
Bug 789936 - Cache reduction telemetry now ignores doom list check due to an unrelated bug with it. r=michal
2012-09-10 10:59:41 -04:00
Josh Aas
59dde21fb2
Bug 405407: Merge nsDiskCacheStreamIO and nsDiskCacheStreamOutput. Patch originally by Alfred Kayser, updated by Josh Aas, final fix from Michal Novotny. r=michal
2012-09-06 10:10:08 -04:00
Brian R. Bondy
e0bc8fa130
Bug 787576 - Refine telemetry data for how much cache corruption reduction plan would help. r=michal
2012-09-04 15:05:19 -04:00
Randell Jesup
65539ef89c
Bug 773151: Convert nsCAutoString->nsAutoCString CLOSED TREE r=bsmedberg
2012-09-01 22:35:17 -04:00
Valentin Gosu ext:(%2C%20Jason%20Duell%20%3Cjduell.mcbugs%40gmail.com%3E%2C%20Ms2ger%20%3CMs2ger%40gmail.com%3E)
05d997c6df
Bug 745296 - Enable FAIL_ON_WARNINGS in more of /netwerk r=jduell
2012-08-25 11:19:00 -07:00
Nick Hurley
752d843e21
bug 783755 - Make the new default cache size stick. r=michal
2012-08-21 14:52:44 -07:00
Brian R. Bondy
28255340f8
Bug 784657 - Fix potential problem in nsDIskCacheMap timer handling. r=michal
2012-08-23 22:23:10 -04:00
Brian R. Bondy
e5bc6dcf33
Bug 784414 - Ensure cache clean file is open before seeking in it. r=michal
2012-08-23 22:22:14 -04:00
Nathan Froyd
2afd43df22
Bug 781200 - fixup several cache histograms; r=bsmith,hurley
2012-08-23 13:23:03 -04: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
Phil Ringnalda
f1e8434c4e
Back out cbb72643bbae (bug 723362) for leaking
2012-08-20 20:28:19 -07:00
Michal Novotny
0fc5116bca
Bug 723362 - Make an asynchronous variant of nsCacheEntryDescriptor::Doom, r=hurley
2012-08-21 03:30:40 +02:00
Brian R. Bondy
b737469453
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
4e199a1679
Bug 780618 - Move all error codes to nsError.h; r=ehsan
2012-07-27 17:03:27 +03:00
Honza Bambas
15daadba69
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
75ab7efb95
Bug 780387 - Part b: Stop using PRIntn; r=bsmedberg
2012-08-09 09:09:40 +02:00
Michal Novotny
706334a7b6
Bug 746920 - Uninitialised value use in nsDiskCacheMap::FlushRecords, r=hurley
2012-08-08 12:23:15 +02:00
Michal Novotny
fed01c4c70
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
8ba592bd41
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
056b8973b8
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
70d7c821af
Bug 774032 bonus - Use @DEPTH@ and @relativesrcdir@ in Makefile.in. r=ted
2012-08-04 20:26:44 +02:00
Ehsan Akhgari
3ad40dbf10
Merge the nullptr conversion from mozilla-central into mozilla-inbound
2012-07-30 10:28:15 -04:00
Aryeh Gregor
d0ad5a7d0c
Bug 777292 part 2 - Change all nsnull to nullptr
2012-07-30 17:20:58 +03:00
Aryeh Gregor
587e4453db
Bug 777292 - Don't use |= on nsresult; r=ehsan
2012-07-27 17:03:08 +03:00
Brian R. Bondy
0420e74079
Bug 773518 - Necko nsDeleteDir should lower IO prioritization. r=jduell
2012-07-25 10:24:25 -04:00
Brian R. Bondy
343d8a43ac
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
a90aaede1a
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
5570177a07
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
1d1330f61d
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
10ccc90535
Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker
2012-07-11 20:20:17 +02:00
Honza Bambas
0abfde411a
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
35d6ba9c3b
Bug 772523 - Remove the unused nsMemoryCacheDevice::mEvictionThreshold member; r=michal
2012-07-11 09:39:06 -04:00
Thinker K.F. Li
68ea4f962a
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
13fc9bf9b8
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
3c33725683
Bug 767096 - Optimize nsICachingChannel interface for offline cache writing, r=sinker
2012-07-10 23:49:18 +02:00
Honza Bambas
4c04a1f793
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
f3dc77d62d
Bug 772525 - Remove the unused variable on in nsCacheService::Lock; r=bsmith
...
DONTBUILD
2012-07-10 14:41:42 -04:00
Brian Smith
aaebfde4e6
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
f4f627ae83
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
e0f2ea75a7
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
fc7084f564
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
d80b2ddb63
Bug 754575 - Cache.Trash* files fill up disk space r=blassey r=jduell
2012-06-11 16:06:07 -04:00
Geoff Lankow
5cefea8480
Bug 749930 - Replace uses of nsILocalFile with nsIFile (compiled code only); r=bsmedberg
2012-06-06 14:08:30 +12:00
Honza Bambas
ae90275e78
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
7650594949
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
0184bfe5df
Bug 746018 - Part 4 - More cache logging, r=jduell
2012-05-31 15:20:03 -07:00
Brian Smith
0499d869d8
Bug 746018 - Part 3 - Do more logging in nsInputStreamWrapper, r=jduell
2012-05-31 15:20:02 -07:00
Geoff Brown
1d11fd0b04
Bug 745340 - Improve disk cache smart sizing for mobile; r=jduell
2012-05-30 22:59:33 -04:00
Josh Matthews
447c9b5f07
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
c45b403049
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
82ff7027aa
Bug 716478 - update licence to MPL 2.
2012-05-21 12:12:37 +01:00
Benjamin Smedberg
eaa4878487
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
1d10d8833a
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
3529eb4647
Bug 746697 - Create nsApplicationCacheService to wrap nsOfflineCacheDevice. r=honzab
2012-04-30 10:57:09 -07:00
Nicholas Nethercote
43f329dbbd
Bug 744311 (part 1) - Preliminary whitespace and code order changes. r=jlebar.
...
--HG--
extra : rebase_source : f700733d8aa1aed1ae1f9206b4ee9063f9a03341
2012-04-09 22:52:33 -07:00
Patrick Wong
4ccd1d2fbb
Bug 745659 - Removed the nsPrintfCString constructor which takes a length and all corresponding instances that call that particular constructor. This is accomplished by removing the length component from the instantiation. r=jlebar
2012-04-24 14:43:00 -04:00
Michal Novotny
d2271848cf
Bug 713203 - nsMemoryCacheDevice::mTotalSize can go negative after clearing the memory cache
2012-04-25 01:11:39 +02:00
Michal Novotny
64844ac62e
Bug 745200 - nsDiskCacheStreamIO::Flush() is sometimes called without holding the cache lock
2012-04-25 01:07:06 +02:00
Michal Novotny
e733ddbd8d
Bug 691108 - Make sure that no entry can be bound to the disk cache when nsDiskCacheDevice::ClearDiskCache() is in progress
2012-04-12 18:27:38 +02:00
Michal Novotny
bba2343bce
Bug 673543 - ensure that no entry is activated while the main thread is blocked by SyncWithCacheIOThread()
2012-04-12 18:24:57 +02:00
Ms2ger
4af44f872a
Bug 605180 - Fix build warnings in netwerk/. r=jduell
2012-04-07 14:25:00 -07:00
Jason Duell
d8e747c9ba
Bug 705796 - telemetry data on how often cache is corrupt at startup. r=michal
2012-04-06 13:10:32 -07:00
Veeraya Pupatwibul
344b2b1753
Bug 741333 - Remove PRBool/PR_TRUE/PR_FALSE that crept in r=Ms2ger
2012-04-04 11:15:10 +02:00
Ryan VanderMeulen
d72a2f5230
Backout bug 674728 part 3 due to missing reviews.
2012-03-31 18:18:08 -04:00
Sinker Li
84ddddcba8
Bug 674728 - Part 3: Evict cache asynchronized. r=honzab
2012-03-30 20:52:07 -04:00
Sinker Li
a861ebdc6c
Bug 674728 - Part 1: Pinned apps get higher priority for cache. r=honzab
2012-03-30 20:52:06 -04:00
Nick Hurley
729c70c97b
bug 712914 - add some sanity checking when (de)serializing security info in the disk cache. r=michal
2012-03-30 11:21:01 +02:00
Michal Novotny
8620563b3e
Bug 649194 - Abort when the cache IO thread can't be created
2012-03-27 10:20:54 +02:00
Michal Novotny
6251530d71
Bug 722033 - Invalidate cache entry in nsHttpChannel::DoInvalidateCacheEntry() asynchronously
2012-03-22 23:54:20 +01:00
Michal Novotny
19e7c0e85c
Bug 722033 - Use asyncOpenCacheEntry() in nsHttpChannel when flag LOAD_BYPASS_LOCAL_CACHE_IF_BUSY is set
2012-03-22 23:53:10 +01:00
Justin Lebar
1fc1dc1879
Bug 729940 - Part 2: Stop using crappy hash functions in Gecko. r=bz
...
--HG--
extra : rebase_source : 6fa267a89878cc1a766d8618569debcea9b12e48
2012-03-12 18:53:18 -04:00
Nick Hurley
6d87368126
Bug 730163 - Telemetry for how long we wait to acquire the cache service lock. r=michal.novotny
2012-02-28 18:40:39 -05:00
Nathan Froyd
4349e91452
Bug 700659 - Slay nsHashSets in netwerk. r=jduell
2011-11-08 15:22:15 -05:00
Geoff Lankow
ffee27c39f
Bug 718255 - Merge nsIPrefBranch2 with nsIPrefBranch - Part E, remove uses of nsIPrefBranch2 in netwerk/ ; r=bsmedberg
2012-01-17 14:48:29 +13:00
Ms2ger
1e8da7ac11
Bug 726417: Signed/unsigned comparison in nsCacheMetaData::UnflattenMetaData r=jduell
2012-02-13 11:32:31 -08:00
Gijs Kruitbosch
2a27fd8d44
Bug 715098 - nsICacheMetaData shouldn't blow up in debug mode if visitor returns false.
2012-01-28 16:13:43 +01:00
Nicholas Nethercote
7559a70a04
Bug 715453 - Remove computedSize from nsMallocSizeOfFun. r=jlebar,bhackett.
...
--HG--
extra : rebase_source : a65039a407daab45360a5b375b53cbf1bc05b7f6
2012-01-25 00:52:51 -08:00
bjarne@runitsoft.com
4e09b859ed
Bug 673543 - crash nsDiskCacheMap::DeleteRecord r=michal.novotny
2012-01-26 12:23:45 +01:00
Geoff Brown
c0d5fe5799
Bug 712277 - Avoid crash in zlib adler32 following compression failure; r=michal.novotny
2012-01-25 14:52:29 +01:00
Geoff Brown
f871209d7f
Bug 715198 - disable cache compression (avoid failures when new profile accessed by old software versions); r=bjarne
2012-01-17 12:51:17 +01:00
Michal Novotny
a4b53eb49e
Bug 716289 - crash in nsCacheService::SearchCacheDevices
2012-01-12 16:13:09 +01:00
Rafael Ávila de Espíndola
e7c93a9ba8
Bug 716576 - nsCacheService closes its databases too late. r=michal.novotny.
...
--HG--
extra : rebase_source : 7884a6e0aa247e7a5fff39863a2d29a8fbab7a8e
2012-01-11 17:41:21 -05:00
Michal Novotny
9ae8731187
Bug 716146 - Telemetry - close disk cache output stream
2012-01-07 02:45:46 +01:00
Michal Novotny
610908a7b2
Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread
2012-01-06 16:19:10 +01:00
Phil Ringnalda
e18a9fe91e
Back out 8d1b087b9713 (bug 707436) for mochitest-ipcplugins leaks
2011-12-23 19:21:17 -08:00
Michal Novotny
1875c5ce30
Bug 707436 - nsSetSmartSizeEvent can cause a lot of IO on the main thread
2011-12-24 02:51:25 +01:00
Ed Morley
14d7ce0332
Backout b02402b95e5c (bug 708277) for build failures on all platforms
2011-12-22 11:07:12 +00:00
Thomas Prip Vestergaard
62e57cac37
Bug 708277 - Replace PR_MAX with NS_MAX. r=roc
2011-12-22 11:47:59 +01:00
Josh Matthews
b0da6f4787
Bug 709262 - Disable disk cache if the user chooses to sanitize private data on shutdown. r=michal.novotny
2011-12-19 12:18:29 -05:00
Geoff Brown
e00c78182d
Bug 648429: delay pref observer destruction on shutdown to avoid crash; r=michal.novotny
2011-12-17 11:32:41 +01:00
Geoff Brown
573196b0e0
Bug 648429: HTTP cache: compress all compressible files; r=michal.novotny
2011-12-17 11:30:29 +01:00
Michal Novotny
ff08b0851d
Bug 695003 - Race condition when deleting cache directory
2011-12-02 18:10:57 +01:00
Nicholas Nethercote
6c6258e659
Bug 698968 - Add mallocSizeOf functions and start using them. r=jlebar,bhackett,jfkthame, sr=bz.
2011-11-27 19:03:14 -08:00
Nick Hurley
46c161085d
bug 699409 - telemetry for memory used by records in the disk cache map. r=jduell
2011-11-07 23:41:52 -05:00
Nick Hurley
9d76bb72bc
Bug 687081 - Time how long it takes to find (or not) things in the cache. r=jduell
2011-10-30 15:39:53 +01:00
Jonathan Watt
66f54fe5a4
Bug 695303 - Add a mozilla::clamped function to replace NS_CLAMP (so side affects of args are evaluated no more than once) and NS_MIN(max, NS_MAX(val, min)) (to make code clearer). r=bsmedberg.
2011-10-28 19:33:28 +01:00
Michal Novotny
32357727bd
Bug 681546 - Avoid large cache evictions as disk fills by smoothing "smart" max cache size.
2011-10-19 14:35:57 +02:00
Ehsan Akhgari
92064e6d3f
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
Jeff Walden
b5e57820bf
Bug 693469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. (Exceptions: assigning to static initializers, use in static assertions, as template parameters, etc. These will go away when the relevant compilers have C++11 constexpr support.) r=cjones
...
--HG--
extra : rebase_source : b4bae9a0f85abf2feb828609b50e756916b99a6f
2011-10-10 22:50:08 -07:00
Jeff Walden
d0532c3e95
Back out everything since 5435ee09cf7b. Tinderbox compilers hate me. r=epic-fail
2011-10-12 12:21:53 -07:00
Jeff Walden
0f30b277bf
Bug 639469 - Implement mozilla::ArrayLength and mozilla::ArrayEnd, and replace uses of NS_ARRAY_LENGTH whenever possible. r=cjones
...
--HG--
extra : rebase_source : 860a8271bf7e51cde358f2a4185c410de1fc2960
2011-10-10 22:50:08 -07:00
Geoff Brown
4b2fb5f4b5
Bug 661900 - Correct memory cache implementation of LRU-SP. TP4M REGRESSION OK -- SEE BUG; r=michal
2011-10-05 20:42:02 -04: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
Ehsan Akhgari
ace43d2150
Backout changeset d469840a370f (bug 661900) to see if it helps resolve the Mobile NoChrome Tp4 regression
2011-09-14 13:37:54 -04:00
Michal Novotny
795b4e1cc8
Bug 647391 - Increase maximum size for objects stored in disk cache.
2011-09-13 21:24:01 +02:00
Geoff Brown
f47fc7a087
Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal
2011-09-08 14:00:24 +02:00
bjarne@runitsoft.com
aff6ae0036
Bug 667593 - Intermittent runtime abort in netwerk/test/unit/test_bug650955.js r=michal.novotny
2011-09-06 12:23:26 -04:00
Alfred Kayser
6e7615bef7
Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell
2011-08-23 17:45:10 +01:00
Michal Novotny
a2acbf5621
Bug 681085 - sync cache map file after writing the header
2011-08-23 00:24:23 +02:00
Benjamin Smedberg
43c6b83772
Bug 675221 part C - Remove XPCOM proxy usage from necko, r=jduell
...
--HG--
extra : rebase_source : 7bf53b5ac6f52df0224f4fdad78e172762fa7c64
2011-08-19 11:47:43 -04:00
Matheus Kerschbaum
b694a82634
Bug 678794 - Remove NECKO_OFFLINE_CACHE checks. r=jduell
2011-08-18 11:53:28 +02:00
Matheus Kerschbaum
9582fca43b
Bug 678792 - Remove --disable-necko-disk-cache. r=khuey,jduell
2011-08-18 11:53:26 +02:00
Michael Wu
fbcd07dca0
Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg
2011-08-06 22:03:32 -07:00
Matheus Kerschbaum
e344eca605
Bug 675500 - Remove --disable-storage. r=khuey
2011-08-06 19:05:49 +02:00
Marco Bonardo
b245bb61dd
Merge last green changeset from mozilla-inbound to mozilla-central
2011-08-03 10:46:22 +02:00
Matt Brubeck
2da54ece27
Back out 52702d275995 (bug 647391) because of xpcshell test failures
2011-08-02 19:59:22 -07:00
Jason Duell
2a9915694e
Bug 647391 - Increase maximum size for objects stored in disk cache. r=michal
2011-08-02 17:12:25 -07:00
Jason Duell
4cff47b970
bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal
2011-08-02 16:54:55 -07:00
Michal Novotny
bc87676167
Bug 675420 - cache is now cleared on every startup
2011-08-03 00:23:54 +02:00
Michal Novotny
df17fe214d
Bug 673808 - _CACHE_MAP_ is storing nsDiskCacheRecord structs with uninitialized data containing bits of Fx memory
2011-07-26 13:09:42 +02:00
Jason Duell
d24b69a1d3
Bug 670911 Cache slow to clear after crash: rename to *.Trash in same directory to avoid NTFS ACL reset. r=michal
2011-07-28 04:12:38 -07:00
Taras Glek
692bbd7e4c
Bug 672651 - Track cache init times via telemetry r=jduell
2011-07-20 17:02:58 -07:00
Nicholas Nethercote
bdc1a7c1c9
Bug 669117 - Add a memory reporter for the Necko memory cache. r=khuey,jduell.
2011-07-18 18:22:36 -07:00
bjarne@runitsoft.com
8cbce8439c
Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny
2011-06-27 14:21:15 +02:00
Ed Morley
3f49fdcb2a
Bug 661584 - Code cleanup, substitute more PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc,ted
2011-06-25 16:06:02 +02:00
bjarne@runitsoft.com
f214931bd5
Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube r=michal.novotny, bjarne
2011-06-22 10:49:35 +02:00
Ed Morley
cdd2b64d2f
Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi
2011-06-20 15:49:13 -07:00
Neil Rashbrook
e7cd8cb3b5
Bug 660527 Remove useless uses of PromiseFlatCString r=biesi
2011-06-16 21:25:20 +01:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Michal Novotny
c6be565fcc
Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff
2011-05-20 19:27:11 +02:00
Mounir Lamouri
627dcdb633
Backout bug 654926 because of perma orange on Win Opt xpcshell.
2011-05-19 18:54:26 +02:00
Bjarne
3b62225eb0
Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube. r=michal
2011-05-19 12:45:51 +02:00
Ed Morley
91238e76b1
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Ed Morley
97cc9c4eea
Bug 655756 - Remove final XP_MAC remnants; r=josh
2011-05-10 20:24:48 +02:00
Bjarne
0bb0c3bf95
Bug 549767 - Write/flush cache metadata off main-thread. r=michal.novotny
2011-04-17 19:31:15 +02:00
Jim Mathies
17f44743ba
Bug 644431 - Adobe PDF Files Larger than 5 MB Won't Load in Browser. r=bz
2011-04-08 12:53:55 -07:00
Michal Novotny
799b01e82d
Bug 617123 - Images are randomly corrupted with fallocate. r=jduell
2011-01-12 04:38:12 +02:00
timeless@mozdev.org
bb4483f4d7
Bug 619685 unused variable dataSize in nsDiskCacheStreamIO::FlushBufferToFile
...
r=jduell
2011-04-06 11:14:10 -07:00
Matheus Kerschbaum
4eb6429f47
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now; r=bsmedberg
2011-04-02 19:14:00 -07:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
2c92e3ecd5
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 23:29:02 -05:00
Chris Jones
699024f868
Backed out changeset 4beec31b9ea9 for increasing frequency of intermittent orange bug 618052
2011-03-31 18:57:38 -05:00
Chris Jones ext:(%20and%20Kyle%20Huey%20%3Ckhuey%40kylehuey.com%3E)
0ce53bb598
Rollup of bug 645263 and bug 646259: Switch to mozilla:: sync primitives. r=cjones,dbaron,doublec,ehsan src=bsmedberg
...
Bug 645263, part 0: Count sync primitive ctor/dtors. r=dbaron
Bug 645263, part 1: Migrate content/media to mozilla:: sync primitives. r=doublec
Bug 645263, part 2: Migrate modules/plugin to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 3: Migrate nsComponentManagerImpl to mozilla:: sync primitives. sr=bsmedberg
Bug 645263, part 4: Migrate everything else to mozilla:: sync primitives. r=dbaron
Bug 645263, part 5: Remove nsAutoLock.*. sr=bsmedberg
Bug 645263, part 6: Make editor test be nicer to deadlock detector. r=ehsan
Bug 645263, part 7: Disable tracemalloc backtraces for xpcshell tests. r=dbaron
Bug 646259: Fix nsCacheService to use a CondVar for notifying. r=cjones
2011-03-31 14:51:19 -05:00
Shawn Wilsher
8a438a4fbe
Bug 645094 - Stop using [deprecated] Storage methods in the disk cache
...
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
959ea8bc3e
Backed out changeset a5dbece71e4a due to test failures
2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
b06dc06820
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg
2011-03-31 07:22:55 -04:00
Alon Zakai
52f0022ac9
Bug 641663 - Add string size to reported size of nsCacheEntry. r=biesi a=blocking-fennec
2011-03-29 11:54:58 -07:00
Justin Lebar
d5dcbf68a6
Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal
...
--HG--
extra : rebase_source : 71069eb9c9d61131adee49279e136c8574dabc62
2011-03-28 15:58:49 -04:00
Ehsan Akhgari
7a74f6a5b4
Merge mozila-central onto cedar
...
--HG--
rename : toolkit/components/places/src/nsLivemarkService.js => toolkit/components/places/nsLivemarkService.js
2011-03-23 12:06:04 -04:00
Bjarne
28a4c2e085
Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky
2011-03-22 15:17:13 -04:00
Mitchell Field
a6788f0842
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Honza Bambas
32c0e9e64a
Bug 623996 - Offline Application Cache Breaks with Iframe and Shared Empty Files, r=michal.novotny, a2.0=jst
2011-02-12 14:06:02 +01:00
Sean Dunn
be2fa27065
Bug 632280 - Remove NS_NOTREACHED occurrences near nsCacheEntryDescriptor.cpp:686; r=bzbarsky,khuey a=bsmedberg
2011-02-11 16:49:07 -05:00
Michal Novotny
5e444a2dba
Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker
2011-01-27 17:02:44 +02:00
bjarne@runitsoft.com
370d0e7aa2
Bug 467392 - Docshell leak with document.write(document.body.innerHTML) and window.location.reload r=michal.novotny, a=blocking-final+
2011-01-21 15:13:26 -05:00
Bjarne
f8e1cb8de4
Bug 620660 - Ensure the disk-cache stays around until all cache-operations have finished. r=michal.novotny a=jst
2011-01-20 13:41:10 -08:00
Michal Novotny
eb3bdc4e7d
Bug 604897 - Unable to cache small entries when _CACHE_00[1-3]_ is full; r=mayhemer a=blocking-betaN+
2011-01-18 16:12:10 +02:00
Michal Novotny
649652344e
Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker
2010-12-29 03:25:14 +02:00
Jason Duell
dabc82dc8e
bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage
2010-12-10 14:03:39 -08:00
Jason Duell
a017b2c852
bug 617123: workaround by removing fallocate calls. a=beltzner
2010-12-10 10:03:19 -08:00
Michal Novotny
bcf48151a4
Bug 597224 - HTTP Cache: use directory tree to store cache files. sr=bzbarsky@mit.edu, a=blocker
2010-12-06 17:49:05 +02:00
Michal Novotny
bf0cd129cc
Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN
2010-11-24 16:42:30 +01:00
Jason Duell
0e39ea5ebf
Bug 559714 - bustage fix. a=fennec-2.0b2
2010-10-28 03:44:48 -07:00
Bjarne Herland
af9a00f9dc
Followup for bug 588804, bump the cache version to ensure that previously invalid caches get cleared. r=jst@mozilla.com, a=blocker
2010-10-26 17:34:58 -07:00
Bjarne Herland
6ad0c2f2f4
Bug 596443, SVG embedded by reference is not loading. r=bzbarsky@mit.edu, a=bzbarsky@mit.edu
2010-10-25 15:47:40 -07:00
Michael Wu
6d6ae758ad
Backed out changeset ddc9d5258911 due to a=bustage
2010-10-24 10:46:04 -07:00
Josh Matthews
0476e7c099
Bug 559714 - Backout bug 595293. Followup to the rest of bug 559714 landing. r=jduell a=blocking-fennec
...
--HG--
extra : rebase_source : 52a1040caf875007804c5b63a1e46938cd47fa39
2010-10-24 13:34:44 -04:00
Michal Novotny
118289595d
Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec
...
--HG--
extra : rebase_source : 1d91098b7ee3bc5c7971cdd4f13b7e0c0a815945
2010-05-04 17:07:00 -04:00
Michal Novotny
b2f027e6e7
bug 599200 - Too much space can be allocated for cache block files. r=tglek@mozilla.com, a=blocker
2010-09-24 14:20:23 +02:00
Michal Novotny
fc71ed1e7e
bug 604880 - Doom cache-entry if writing data and/or metadata fails. r=bjarne@runitsoft.com, sr=bzbzrsky@mit.edu, a=blocker
2010-10-19 19:26:38 +02:00
Mounir Lamouri
16ec37d275
Backed out changeset e72707266b4a because of orange on Win Debug. a=backout
2010-10-21 15:16:34 +02:00
Michal Novotny
9a20d36be1
Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b
2010-09-22 11:47:46 +02:00
Honza Bambas
2a43330d52
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
Jason Duell
abfe9f34b6
Bug 596476 followup: Forgot to change name of constant. r=me a=beta7
2010-09-30 11:39:39 -07:00
Jason Duell
8f0de5e398
Guarantee smart_size algorithm using correct directory, and safely. r=jst, a=beta7
2010-09-29 16:41:03 -07:00
Jason Duell
6ca5df820f
Use 1 GB cache size while we wait for the smart size event. r=jst, a=beta7
2010-09-29 16:41:03 -07:00
Jason Duell
2097d18eac
Convert all sizes in cache smart size logic to use KB. r=jst, a=beta7
2010-09-29 16:41:03 -07:00
Jason Duell
515d69dabc
Bug 596476 Previous default cache size was 50, not 250 MB. r=jst, a=beta7
2010-09-29 16:41:03 -07:00
Jason Duell
36504e00c0
Bug 598007: Bump HTTP cache version number to see if it affects crash rate. r=me a=beta7
2010-09-28 18:26:57 -07:00
Bjarne Herland
a554f1f1f7
Bug 596808 - nsDiskCacheDevice::Init() called twice resulting in no disk cache available r=jduell, a=betaN
2010-09-16 20:21:16 -07:00
Taras Glek
356cd6b696
Bug 592520 - Do not fragment the hell out of CACHE__00[1-3]__. r=bsmedberg/jduell, a=betaN+
2010-09-16 13:21:12 -07:00
Jason Duell
a3d5af6e95
Bug 595293 - e10s: shrink cache on child. r=dwitte, a=beta7
2010-09-16 01:34:37 -07:00
Honza Bambas
7b1f995f7c
Bug 594882 - URL classifier result ignored (malware site not blocked) because of bug 513008 + re-land of backout from bug 589296, r=cbiesinger, a=blocking:betaN+
2010-09-16 00:46:17 +02:00
Jason Duell
520cb3f469
Bug 595413: crash in nsCacheService::SetDiskCacheCapacity. r=jst, a=blocking-beta7
2010-09-15 11:42:40 -07:00
Byron Milligan
33fe9a1845
Bug 559942 - RE-LAND- Heuristic to pick default HTTP cache size. r=dwitte, gavin, ui=limi, a=blocks-beta7
2010-09-15 11:42:38 -07:00
Mounir Lamouri
d51fe93c4b
Back out bug 559942
2010-09-11 02:57:06 +02:00
Byron Milligan
9b85025057
Bug 559942, Part 3: Modifies nsCacheService to support UI changes. r=dwitte,
...
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
86ac62740b
Bug 559942, Part 2: Check for disk space available asynchronously. r=dwitte,
...
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
567cc5b7df
Bug 559942: Set cache size based on disk space available. Synchronous. r=jduell, a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
b169f8b65d
Fetch the Content-Length from the hash bag instead of directly from the channel. r=dwitte, a=betaN+
2010-09-07 15:39:28 -07:00
Byron Milligan
eb546c096c
Bug 588507: Skip caching if Content-Length is greater than eviction size. r=michal, a=betaN+
2010-09-07 15:39:28 -07:00
Dan Witte
eb0eeec501
Merge e10s -> m-c.
2010-09-07 15:34:44 -07:00
Byron Milligan
bea0432bc4
Bug 81640: Set max cache entry size to be MIN (5MB, 1/8 Cache Capacity)
2010-09-01 14:47:39 -07:00