Commit Graph

232 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
870639f5e4 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
ffb20c1b6e Bug 647391 - Increase maximum size for objects stored in disk cache. 2011-09-13 21:24:01 +02:00
Geoff Brown
36e0e95bf0 Bug 661900 - LRU-SP not fully implemented in memory cache; r=michal 2011-09-08 14:00:24 +02:00
bjarne@runitsoft.com
8c1a4598d0 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
295fdd3f3a Bug 529733 - Crash in nsCacheMetaData::SetElement; r=michal,jduell 2011-08-23 17:45:10 +01:00
Michal Novotny
c04a96be6b Bug 681085 - sync cache map file after writing the header 2011-08-23 00:24:23 +02:00
Benjamin Smedberg
9260a95563 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
69fcec8956 Bug 678794 - Remove NECKO_OFFLINE_CACHE checks. r=jduell 2011-08-18 11:53:28 +02:00
Matheus Kerschbaum
ebb12b7023 Bug 678792 - Remove --disable-necko-disk-cache. r=khuey,jduell 2011-08-18 11:53:26 +02:00
Michael Wu
ccaba60ed1 Bug 676465 - Replace PRBool with boolean in IDL files, r=bsmedberg 2011-08-06 22:03:32 -07:00
Matheus Kerschbaum
4b5262767d Bug 675500 - Remove --disable-storage. r=khuey 2011-08-06 19:05:49 +02:00
Marco Bonardo
b92ca56a08 Merge last green changeset from mozilla-inbound to mozilla-central 2011-08-03 10:46:22 +02:00
Matt Brubeck
b4edd24765 Back out 52702d275995 (bug 647391) because of xpcshell test failures 2011-08-02 19:59:22 -07:00
Jason Duell
120257bba4 Bug 647391 - Increase maximum size for objects stored in disk cache. r=michal 2011-08-02 17:12:25 -07:00
Jason Duell
36eefd61dd bug 674689: Delay Cache.trash delete to avoid startup I/O contention. r=michal 2011-08-02 16:54:55 -07:00
Michal Novotny
f0dc83dd33 Bug 675420 - cache is now cleared on every startup 2011-08-03 00:23:54 +02:00
Michal Novotny
a16b9682fa 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
1588ac238a 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
403f552f24 Bug 672651 - Track cache init times via telemetry r=jduell 2011-07-20 17:02:58 -07:00
Nicholas Nethercote
44f3c270fd 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
14b041f05f Bug 650995 - Support max_entry_size prefs for disk & memory cache, r=michal.novotny 2011-06-27 14:21:15 +02:00
Ed Morley
af1d9c6c2b 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
ec668f29cd 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
1264376be3 Bug 665610 - Fix unused debug variable warnings in netwerk/; r=biesi 2011-06-20 15:49:13 -07:00
Neil Rashbrook
26adff7f97 Bug 660527 Remove useless uses of PromiseFlatCString r=biesi 2011-06-16 21:25:20 +01:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Michal Novotny
e2449dc59b Bug 651100 - Browser becomes unresponsive while watching embedded Youtube <video>. r=bjarne a=sheriff 2011-05-20 19:27:11 +02:00
Mounir Lamouri
7818f38b2c Backout bug 654926 because of perma orange on Win Opt xpcshell. 2011-05-19 18:54:26 +02:00
Bjarne
22342d3341 Bug 654926 - Hang in nsDiskCacheStreamIO::CloseOutputStream while downloading WebM video from YouTube. r=michal 2011-05-19 12:45:51 +02:00
Ed Morley
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Ed Morley
082d53f39b Bug 655756 - Remove final XP_MAC remnants; r=josh 2011-05-10 20:24:48 +02:00
Bjarne
61e359bef6 Bug 549767 - Write/flush cache metadata off main-thread. r=michal.novotny 2011-04-17 19:31:15 +02:00
Jim Mathies
c5696bfd88 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
e700949b8a Bug 617123 - Images are randomly corrupted with fallocate. r=jduell 2011-01-12 04:38:12 +02:00
timeless@mozdev.org
d5226cebcd Bug 619685 unused variable dataSize in nsDiskCacheStreamIO::FlushBufferToFile
r=jduell
2011-04-06 11:14:10 -07:00
Matheus Kerschbaum
93480c6366 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)
0bb511a3d7 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
a75fb12531 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)
cc8b4c9c6c 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
3da28b62b8 Bug 645094 - Stop using [deprecated] Storage methods in the disk cache
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
61ff9410c4 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Alon Zakai
44a2c9090a 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
7e2c5ae50d 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
47cf269311 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
de005f5932 Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky 2011-03-22 15:17:13 -04:00
Mitchell Field
2e8a7d546f 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
6acd0a66d9 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
85046fcaa6 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
d0331cfa9d 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
295120a137 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
a1913869ad 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
b43d447142 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
81ec8f913f 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
d2ae10dafb bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage 2010-12-10 14:03:39 -08:00
Jason Duell
cea83e2a0f bug 617123: workaround by removing fallocate calls. a=beltzner 2010-12-10 10:03:19 -08:00
Michal Novotny
4d935d0e94 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
ed3636fead Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Jason Duell
2cf0fe0695 Bug 559714 - bustage fix. a=fennec-2.0b2 2010-10-28 03:44:48 -07:00
Bjarne Herland
c3c3ef1802 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
e1c8aa002e 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
0c457777f2 Backed out changeset ddc9d5258911 due to a=bustage 2010-10-24 10:46:04 -07:00
Josh Matthews
662ca79f78 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
8e74cf8334 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
2ebf307d81 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
9336a300ba 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
4291f1e845 Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
c12906c97c Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02: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
Jason Duell
6fbe21f5ba Bug 596476 followup: Forgot to change name of constant. r=me a=beta7 2010-09-30 11:39:39 -07:00
Jason Duell
5618b62fd6 Guarantee smart_size algorithm using correct directory, and safely. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
3fdec5a382 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
bb69c203d1 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
a0e7fe6406 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
5ae2b286c8 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
6e12c675dc 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
beb03cd5bb 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
d1d99752fe Bug 595293 - e10s: shrink cache on child. r=dwitte, a=beta7 2010-09-16 01:34:37 -07:00
Honza Bambas
2cdecb4172 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
5b651ac6a2 Bug 595413: crash in nsCacheService::SetDiskCacheCapacity. r=jst, a=blocking-beta7 2010-09-15 11:42:40 -07:00
Byron Milligan
1a24c21c2d 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
de9895d42c Back out bug 559942 2010-09-11 02:57:06 +02:00
Byron Milligan
c445727468 Bug 559942, Part 3: Modifies nsCacheService to support UI changes. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
3fdab59d3e Bug 559942, Part 2: Check for disk space available asynchronously. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
3015ca11e0 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
0d034c6f66 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
3c2cca6244 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
ca321bb701 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00
Byron Milligan
9dead272fc Bug 81640: Set max cache entry size to be MIN (5MB, 1/8 Cache Capacity) 2010-09-01 14:47:39 -07:00
Honza Bambas
483f745ef0 Backout nsHttpChannel part of bug 513008, r=michal a=bsmedberg 2010-09-02 19:11:11 +02:00
Michal Novotny
246844ffaa 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
dbab389475 Backed out changeset d0b284052d29 for Talos regression investigation on tp4. 2010-08-22 20:16:05 +02:00
Michal Novotny
d265e0adb1 Bug 513008 - Eliminate synchronous reads from cache, r=jduell,sdwilsh, sr=shaver, a=betaN+ 2010-08-21 11:16:40 -07:00
Honza Bambas
70f84aa4ff Bug 570616: increment cache version to avoid compat issues with nsNSSSocketInfo changes. r=biesi 2010-08-13 10:15:25 -07:00
Byron Milligan
4dfda2d6d2 Bug 193911. Increase the disk cache size from 50 megs to 250 megs. This will show a significant increase in talos numbers, and it will thus look like a cpu usage regression since all of talos now fits in the cache. r=cbiesinger@gmail.com, sr=bzbarsky@mit.edu, a=jst@mozilla.org 2010-08-12 16:19:59 -07:00
Michael Wu
271a19caf3 Bug 584585 - Unused nsCOMPtr<nsIInputStream> input in nsInputStreamWrapper::LazyInit(), r=biesi a=bsmedberg 2010-08-12 12:10:40 -07:00
Steffen Wilberg
0635da26cf Bug 538813. Make about:cache and about:cache-entry pretty. r=bzbarsky 2010-07-02 16:56:09 -04:00
Benjamin Smedberg
4d172dd53d Merge mozilla-central, including the Electrolysis changes, into the branch for bug 568691. 2010-07-01 11:55:57 -04:00
Benjamin Smedberg
45af085fff Merge mozilla-central into the "branch" for but 568691. The omnijar XPT/component/chrome registration was removed during this merge, and will be re-added to the component manager shortly.
--HG--
rename : content/base/public/nsIChromeRegistry.idl => chrome/public/nsIChromeRegistry.idl
2010-06-21 11:41:42 -04:00