Commit Graph

775 Commits

Author SHA1 Message Date
Chris Jones
5dece3352a 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
8082289165 Bug 645094 - Stop using [deprecated] Storage methods in the disk cache
r=bz
2011-03-31 10:19:31 -07:00
Kyle Huey
d8f8921188 Backed out changeset a5dbece71e4a due to test failures 2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
c31f9241b1 Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg 2011-03-31 07:22:55 -04:00
Alon Zakai
eb8d46d97b 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
02a6d6af4a Bug 592557 - Eliminate uses of PR_Atomic{Increment,Decrement} functions in favor of PR_ATOMIC_{INCREMENT,DECREMENT} macros. r=bsmedberg,gal 2011-03-28 15:58:49 -04:00
Ehsan Akhgari
2d31c3255c Merge mozila-central onto cedar 2011-03-23 12:06:04 -04:00
Bjarne
9fa099d977 Bug 633146 - Remove unnecessary locking in nsCacheService::OpenCacheEntry; r=michal.novotny,bzbarsky 2011-03-22 15:17:13 -04:00
Mitchell Field
907029389d 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
955fe76539 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
5c8450dc2f 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
4a1a0d05e0 Bug 614513 - Crash in nsCacheService::DeactivateEntry during Linux Talos. r=bzbarsky@mit.edu, a=blocker 2011-01-27 17:02:44 +02:00
376a940ab2 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
d927909982 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
23e84528e9 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
af26b8e011 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
993e1e0959 bug 617123: workaround: bump cache version to clear corrupted imgs from cache. a=bustage 2010-12-10 14:03:39 -08:00
Jason Duell
d60dc74ffc bug 617123: workaround by removing fallocate calls. a=beltzner 2010-12-10 10:03:19 -08:00
Michal Novotny
980868c4f5 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
33ab7636c6 Bug 592422 - preallocate individual (non-block) cache files. r=jduell a=blocking-bN 2010-11-24 16:42:30 +01:00
Jason Duell
572ebdf471 Bug 559714 - bustage fix. a=fennec-2.0b2 2010-10-28 03:44:48 -07:00
Bjarne Herland
1169189f34 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
aad06de3a8 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
53923d6afa Backed out changeset ddc9d5258911 due to a=bustage 2010-10-24 10:46:04 -07:00
Josh Matthews
8bd7cc1c2d Bug 559714 - Backout bug 595293. Followup to the rest of bug 559714 landing. r=jduell a=blocking-fennec 2010-10-24 13:34:44 -04:00
Michal Novotny
5dbb973ca2 Bug 559714 - Turn off cache in the child process. r=jduell a=blocking-fennec 2010-05-04 17:07:00 -04:00
Michal Novotny
690dec9adf 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
c2a2cdc3a9 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
8518a2293d Backed out changeset e72707266b4a because of orange on Win Debug. a=backout 2010-10-21 15:16:34 +02:00
Michal Novotny
09c776450b Bug 592422 - preallocate individual (non-block) cache files. r=jduell,taras a=b 2010-09-22 11:47:46 +02:00
Honza Bambas
554d2d6a38 Bug 536295 - e10s HTTP: offline application cache, r=dwitte, sr=cbiesinger, a=fennec-2.0b2+ 2010-10-20 19:12:32 +02:00
Jason Duell
40c86690b9 Bug 596476 followup: Forgot to change name of constant. r=me a=beta7 2010-09-30 11:39:39 -07:00
Jason Duell
8fe108e40f Guarantee smart_size algorithm using correct directory, and safely. r=jst, a=beta7 2010-09-29 16:41:03 -07:00
Jason Duell
03c85baa16 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
a8d5641874 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
712feed545 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
6018615b80 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
51c0314514 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
ba45c27035 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
519739d6ba Bug 595293 - e10s: shrink cache on child. r=dwitte, a=beta7 2010-09-16 01:34:37 -07:00
Honza Bambas
849f42fc11 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
8849b759fb Bug 595413: crash in nsCacheService::SetDiskCacheCapacity. r=jst, a=blocking-beta7 2010-09-15 11:42:40 -07:00
Byron Milligan
3f34d06d50 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
2ec4a46fb3 Back out bug 559942 2010-09-11 02:57:06 +02:00
Byron Milligan
086ba2ce05 Bug 559942, Part 3: Modifies nsCacheService to support UI changes. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
0831f268bd Bug 559942, Part 2: Check for disk space available asynchronously. r=dwitte,
a=beta6+
2010-09-08 17:49:17 -07:00
Byron Milligan
fa1f77f3ff 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
43372396e1 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
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
Dan Witte
a649f9f177 Merge e10s -> m-c. 2010-09-07 15:34:44 -07:00