Граф коммитов

609 Коммитов

Автор SHA1 Сообщение Дата
mark%moxienet.com c671da062b 325765 Cache causes crash crossing architecture [@ nsDiskCacheRecord::HashNumber].[@ nsDiskCacheMap::FindRecord]. Disk cache is not endian-neutral as was intended. Byte-swap the entire cache header. r=darin sr=smfr a/1.8=darin 2006-02-04 22:01:22 +00:00
cbiesinger%web.de a898e666b8 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin
2006-02-03 14:18:39 +00:00
darin%meer.net 698fec901b fixes bug 321833 "Clearing the cache prevents disk cache from working" r=mconnor, alfredkayser 2006-01-24 14:47:06 +00:00
darin%meer.net 645a0a885e fixes bug 318193 "Input streams are not implemented consistently" r=biesi sr=bz 2006-01-02 02:30:32 +00:00
bzbarsky%mit.edu 974c8484e6 Just throw if a null visitor is passed. Bug 309459, patch by Adam Guthrie
<ispiked@gmail.com>, r+sr=darin
2005-12-07 05:35:39 +00:00
bzbarsky%mit.edu fa27c7e880 Fix deadlock on profile switch. Bug 309729, r=neil, sr=darin 2005-10-12 02:18:32 +00:00
darin%meer.net ba5e4322e3 Followup patch for bug 289352 "swap back the words from network to host format" patch by alfredkayser@nl.ibm.com, r=darin 2005-10-10 17:30:14 +00:00
bzbarsky%mit.edu 5d4d3b61ac Make sure to always set the right capacity on the memory cache device. Bug
309729, patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2005-10-09 19:58:06 +00:00
darin%meer.net 27d9608992 fixes bug 289352 "remove redundant seek, and optimize bitmap usage" patch by alfredkayser@nl.ibm.com, r+sr=darin 2005-10-08 01:20:36 +00:00
bryner%brianryner.com c9e270e353 Make clearing the disk/memory cache also evict cached viewers in bfcache. Bug 305462, r=marria@gmail.com, sr=darin@meer.net 2005-09-29 20:24:27 +00:00
darin%meer.net 0754e3b364 fixes bug 308972 "Shutdown crash in nsCacheService::SearchCacheDevices" patch by alfredkayser@nl.ibm.com, r=darin, sz=bz 2005-09-23 19:21:36 +00:00
darin%meer.net 7747b7f38a fixes bug 304444 "[W] UMR: Uninitialized memory read in nsDiskCacheEntry::Swap(void) {1 occurrence}" patch by alfredkayser@nl.ibm.com, r=timeless, sr=darin 2005-09-01 00:20:14 +00:00
jruderman%hmc.edu 8e9c3bc5eb Fix typo in a comment (bug 305292). r=darin, sr=bz. 2005-08-31 21:14:14 +00:00
darin%meer.net c2e5ab8c4d fixes bug 265028 "Clearing cache sometimes fails" patch by alfredkayser@nl.ibm.com, r+sr=darin 2005-08-31 13:28:34 +00:00
bzbarsky%mit.edu 1ec021c548 Update the file size only when we actually flush out our buffer. Bug 243486,
patch by Alfred Kayser <alfredkayser@nl.ibm.com>, r=darin, sr=bzbarsky
2005-08-19 18:38:28 +00:00
darin%meer.net 3722a4fe67 fixes bug 110163 "footprint: 135236 bytes allocated by disk cache on startup" patch by alfredkayser@nl.ibm.com, r+sr=darin, a=bsmedberg 2005-06-29 20:47:45 +00:00
bryner%brianryner.com a4c2e3baaf Fix units screwup in cache size computation (bug 297714). r+sr=darin. 2005-06-16 01:46:23 +00:00
bryner%brianryner.com b347871495 Convert the memory cache to use the new PR_GetPhysicalMemorySize API (bug 297714). r+sr=darin, a=asa. 2005-06-15 23:37:29 +00:00
timeless%mozdev.org 7c090bdf71 Bug 208909 compreg.dat protection problem [OpenVMS status is decimal 114690]
lock down permissions and sanitize with comments
r=dougt sr=dveditz a=asa
2005-06-10 17:32:48 +00:00
darin%meer.net 035f8ed08d fixes bug 291033 "Enable support for profile temp directory on local filesystem" aka "delete my cache please" r=bsmedberg a=chofmann 2005-04-26 00:37:23 +00:00
cst%andrew.cmu.edu ed4ef1bb38 Bug 289181 remove useless line from nsCacheService.cpp
r=biesi sr=darin
2005-04-06 03:51:44 +00:00
cbiesinger%web.de 763f225033 bug 283489 r=darin sr=bz
- Make the HTTP, FTP and file channels implement nsIPropertyBag2 and associated
  interfaces (by inheriting from nsHashPropertyBag)
- Use that interface to expose a "content-length" property giving the length of
  the data as a 64-bit value on the FTP and HTTP channels
- change docshell and xpinstall to use nsIPropertyBag2 instead of nsIProperties
  to read/write the referrer property
2005-04-05 17:40:32 +00:00
darin%meer.net cea0e40460 fixes bug 285519 "Shutdown assertions warning about potential dead-locks" r=biesi sr=brendan 2005-03-18 08:46:54 +00:00
bsmedberg%covad.net 4b68fa447a Bug 281414 - global s/nsIPrefBranchInternal/nsIPrefBranch2/ rs=darin (did not change backwards-compatible code in extensions/irc extensions/venkman or extensions/inspector) 2005-02-25 20:46:35 +00:00
cbiesinger%web.de 6706776bf1 Bug 282275 remove NS_NOTREACHED in ReadSegments implementations
r+sr=darin
2005-02-18 18:39:53 +00:00
bryner%brianryner.com 6c4ea68040 Change cache interfaces to use ACString for the key. Bug 277627, r+sr=darin. 2005-01-13 03:25:28 +00:00
bsmedberg%covad.net 7ccf6e4965 Bug 273876 - libxul step 2 (everything through widget, except spidermonkey) r=darin; again, this should not affect non-xulrunner trees. 2004-12-09 19:28:35 +00:00
db48x%yahoo.com 255364b683 bug 272277: Change to Append/Assign/Equals-Literal in networking
patch by Mikael Parknert <mikael@parknert.se>, r=cbiesinger, sr=darin
2004-12-04 10:19:29 +00:00
cbiesinger%web.de d75d0f934c Bug 266051 Remove init and shutdown from interface nsICacheService
r=darin sr=bz
2004-10-31 21:58:51 +00:00
darin%meer.net f2952fbd22 improvements to new disk cache (NOT PART OF THE BUILD) 2004-10-27 22:19:32 +00:00
darin%meer.net a628d4c8c8 Landing initial version of SQL-based disk cache (NOT PART OF THE BUILD) 2004-10-20 05:00:23 +00:00
cbiesinger%web.de 1269c8257a removing obsolete nmake makefile (r+sr=darin) 2004-09-20 20:52:30 +00:00
darin%meer.net a6e36d84b5 fixes bug 234608 "Removal of some deadcode in nsDiskCacheBinding" patch by alfredkayser@nl.ibm.com r=biesi sr=darin 2004-06-22 15:56:49 +00:00
bzbarsky%mit.edu f79a6813af Relanding, since backing out did not fix orange. Bug 232691. 2004-05-22 20:02:43 +00:00
bzbarsky%mit.edu 62f7fc6ea3 Backing out to attempt to fix Mac orange. Bug 232691 2004-05-22 19:26:52 +00:00
bzbarsky%mit.edu b733dd59da Convert users of nsC?String(), nsC?AutoString(), and NS_LITERAL_C?STRING("") to
using EmptyC?String instead.  Bug 232691, patch by Charles Fenwick
<clf03f@garnet.acns.fsu.edu>, r+sr=bzbarsky
2004-05-22 17:04:53 +00:00
darin%meer.net 26b1503f71 fixes bug 123662 ""File / cannot be found. Please check the location and try again" when loading page" patch by nallen@acm.org, r=gordon, sr=darin 2004-05-03 17:38:56 +00:00
gerv%gerv.net c40f4f93a2 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 22:01:16 +00:00
darin%meer.net 9bac57d8f3 fixes bug 229984 "HTTP download of over 64MB causes disk cache to break" r=gordon sr=bzbarsky 2004-02-25 23:01:08 +00:00
pinkerton%aol.net 60aa753170 add support for OSX 10.3 SDK support so build done on 10.3 can be run on
previous OS versions. Enabled with configure flag --with-macos-sdk=dir
(bug 224161, r=bryner)
2004-01-29 20:18:14 +00:00
bsmedberg%covad.net 34cd8e8bdf Bug 232201 part 2 - update consumers to use inherited nsIPrefBranchInternal interface. This should be happy for codesize. r=alecf sr=darin 2004-01-28 23:45:17 +00:00
timeless%mozdev.org c23df0d02b Bug 229476 about:cache title capitalization inconsistent
patch by jmd@pobox.com r=bz sr=darin
2004-01-11 08:11:53 +00:00
technutz%netscape.net 31a9832080 Bug 106618. Change KB to KiB across the application. Patch by Alexey Chernyak <alexey@optus.net>. r=bz, sr=darin 2003-12-26 07:11:58 +00:00
peter%propagandism.org a42e149448 Patch for bug 209699 (convert some consumers over to CopyUTF8toUTF16 / CopyUTF16toUTF8). r=jshin, sr=jst. 2003-12-23 16:48:40 +00:00
darin%meer.net b5031beec6 fixes bug 193917 "incorporate changes from bz's comments in bug 176919" r+sr=bzbarsky 2003-10-09 01:54:07 +00:00
bryner%brianryner.com cd60efa8ac Updating my email address 2003-09-29 06:04:02 +00:00
mkaply%us.ibm.com cd0e3711d8 Bug #201455
r=bz, sr=darin
Code from Alfred Kayser - optimization of nsCacheEntry
2003-09-11 16:57:40 +00:00
bryner%brianryner.com 70b73feae9 Fix build on gcc 3.4 by removing extra semicolons (bug 218551). r/sr=dbaron, a=brendan. 2003-09-07 23:12:15 +00:00
cls%seawood.org c08e99a287 Set MODULE in makefiles at the top of a heirarchy so that module-deps lists are more precise and builds will have the proper order if some subdirs contain other modules. 2003-08-16 00:42:35 +00:00
darin%netscape.com f2964b1ae0 fixes bug 212598 "netwerk/ should not use nsIPref" r=dougt,caillon sr=bzbarsky 2003-07-14 21:36:24 +00:00
jaggernaut%netscape.com c95bae9c84 Purging tabs, r+sr=darin 2003-07-09 02:28:07 +00:00
stephend%netscape.com 5d7dceb2e8 Bug 196917. Crash in nsDiskCacheMap::FindRecord clearing cache. patch by Gordon Sheridan <gordon@netscape.com> r=dougt@netscape.com, sr=darin@netscape.com, a=asa@mozilla.org 2003-05-23 05:44:15 +00:00
pkw%us.ibm.com 42e059ae1d Bug 206630 - Add AIX support for memory cache based on physical ram
(originally implemented in Bug 105344)
r=gordon@netscape.com, sr=darin@netscape.com, a=mkaply@us.ibm.com
2003-05-21 21:59:55 +00:00
bryner%netscape.com e0e54f2fec Cleaning up this file left over from when cache was its own component. Not part of the build. 2003-05-21 21:46:18 +00:00
bryner%netscape.com 2c5e2cd9d7 This makefile should not use EXPORT_LIBRARY since it's now part of libnecko. Bug 206143, r=darin, sr=alecf, a=mkaply. 2003-05-21 21:42:36 +00:00
gordon%netscape.com 41248bff35 Fix bug 204398, fixing alignment of about:cache.
patch=abecevello@sympatico.ca, r=gordon, sr=darin, a=asa
2003-05-13 23:15:20 +00:00
gordon%netscape.com b447b8a097 Fix AIX bustage. patch=jdunn, r=gordon, sr=darin, a=mkaply. 2003-04-23 21:43:12 +00:00
darin%netscape.com 6026a4294c fixing opt bustage 2003-04-23 06:37:36 +00:00
gordon%netscape.com c1c3cb1197 Fix bug 105344 "Memory cache should be based on amount of physical RAM"
This allows the cache to use a lot more memory than previously.
r=saari, sr=darin.
2003-04-23 05:15:48 +00:00
darin%netscape.com 3a4bdb8f85 patch for bug 191970 "necko configuration options for footprint reduction" r=seawood sr=dbaron 2003-04-23 03:47:43 +00:00
seawood%netscape.com 8893b1e6fd Remove global _POSIX_SOURCE & _SVID_SOURCE defines for linux.
Bug #202510 r=darin
2003-04-18 20:14:17 +00:00
darin%netscape.com e26ccddff3 fixes bug 201303 "Utilize new nsIAtom methods to reduce string conversions in nsCacheMetaData" r=gordon sr=alecf 2003-04-10 00:59:33 +00:00
gordon%netscape.com 9bcdf03dcd Fix bug 198267. Fix accounting of mInactiveSize to prevent assertion. rs=darin. 2003-03-26 05:14:27 +00:00
darin%netscape.com 8d2ce489b8 fixes bug 192353 "cache meta data is bloaty" r=gordon sr=alecf 2003-03-25 15:20:10 +00:00
gordon%netscape.com d15832db8a Fix bug 198267 and bug 191161. r=bryner, sr=darin. 2003-03-25 07:05:33 +00:00
bryner%netscape.com 80908122e5 trying to fix nebiros bustage - moving inline function before its first call site 2003-03-18 06:02:10 +00:00
bryner%netscape.com dd13b1e342 Implement an LRU-SP eviction policy for the memory cache (bug 188458). r=gordon, sr=darin. 2003-03-17 23:22:29 +00:00
gordon%netscape.com 18018b3148 fix bug 197429 "clear disk cache broken on MacOS X". Rederive mCacheDirectory from parent after moving old mCacheDirectory to Cache.Trash for deletion, rather than operate on clone of mCacheDirectory. r=bryner sr=sfraser. 2003-03-17 07:33:45 +00:00
gordon%netscape.com a0bcdb2e44 removing long obsolete files. r=darin. 2003-03-14 19:27:01 +00:00
gordon%netscape.com 17de9197d0 fix bustage on OS/2. Use PR_CALLBACK for run function in PR_CreateThread. 2003-03-11 01:38:55 +00:00
gordon%netscape.com 4719c0e0b9 for bug 103851 "move cache deletion to another thread", r=bryner, sr=darin. 2003-03-10 23:19:05 +00:00
darin%netscape.com 9fe64eac7f fixes bug 190194 "cache leak regression from recent checkin"
r=gordon sr=bzbarsky a=asa
2003-01-24 01:13:15 +00:00
darin%netscape.com acb702d6e5 minor tweak to last checkin 2003-01-21 23:29:31 +00:00
darin%netscape.com 2000e56f18 fixes bug 189779 "crashes quitting [@ nsDiskCacheOutputStream::~nsDiskCacheOutputStream]"
r=kaie sr=bz
2003-01-21 23:28:08 +00:00
darin%netscape.com 8f284ed984 modifications for bug 176919 "async streams" r=dougt,gordon sr=sspitzer a=valeski,asa 2003-01-18 02:15:14 +00:00
dbaron%dbaron.org 2d58cd8e80 Bug 178643: Remove uses of NS_INIT_ISUPPORTS, since it is no longer needed. r=timeless sr=jag 2003-01-08 22:35:09 +00:00
seawood%netscape.com 4588fb970a Start installing GRE libraries & components into a separate dist/gre directory as part of the default build.
Bug #186241 r=dougt
2002-12-28 01:15:07 +00:00
seawood%netscape.com 709da1357a Enable truncation of cache files for BeOS.
Bug #162588 r=gordon sr=darin
2002-12-19 06:27:57 +00:00
darin%netscape.com 703bf724e3 fixes bug 56629 "Proxy: Client->Proxy connection errors should show proxy,
not target hostname" r=bbaetz, sr=rpotts
2002-12-04 04:18:08 +00:00
seawood%netscape.com d1bef3cbe0 Define WIN32_LEAN_AND_MEAN globally for win32 builds.
Thanks to Stephen Walker <walk84@yahoo.com> for the patch.
Bug #172898 r=cls a=asa
2002-10-17 06:47:01 +00:00
gordon%netscape.com 654fb3c8bd Fix bug 164363 "nsDiskCacheEntry::Size() is incorrect" r=sdagley, sr=darin. 2002-10-09 03:01:11 +00:00
gordon%netscape.com 2bf4f28ed9 Fix bug 131727 "compiler warnings in nsDiskCacheBlockFile.cpp" r=sdagley,
sr=darin.
2002-10-09 03:00:09 +00:00
gordon%netscape.com 55243d83a4 Fix bug 113081 "cache capacity not updated until mozilla is relaunched".
r=bnesse, sr=darin.
2002-10-08 22:35:08 +00:00
gordon%netscape.com 580059dc0a Fix bug 167525 "error writing 1k, 4k, 16k documents". Off by one bug with
respect to CalculateFileIndex(). r=dougt, sr=darin.

Also fix bug 166361 "Incorrect comparison in nsDiskCacheMap.cpp". sr=darin.
2002-10-08 20:09:04 +00:00
alecf%netscape.com 9993af8a8a fix for bug 115217
merge cache dll into main necko dll for a minor startup improvement
r=dougt, sr=darin
2002-09-19 18:29:56 +00:00
dougt%netscape.com c5e8f896cd 166917. Clean up xpcom SDK includes. r=rpotts@netscape.com, sr=alecf@netscape.com, a=rjesup@wgate.com 2002-09-07 17:13:19 +00:00
darin%netscape.com 4776d6f1e7 cache fixes required for link prefetching (b=12274) r=dougt sr=rpotts 2002-09-02 00:17:00 +00:00
darin%netscape.com e6cb18cf5c fixes bug 163746 "cache block file patch horked support for partial cache
entries [large image requests never load once interrupted]"
r=dougt sr=rpotts
2002-09-01 21:40:45 +00:00
darin%netscape.com d190faeb20 fixes bug 163841 "Mozilla hangs in PR_Lock at ptsynch.c:190" r=dougt sr=rpotts 2002-08-29 04:30:54 +00:00
alecf%netscape.com 12b2fdd342 bug 162944 - FMM in cache
r=dougt/timeless, sr=darin
2002-08-16 00:08:14 +00:00
darin%netscape.com 2027e6ddd3 fixes bug 161417 - recent netwerk checkin upped warning count by 4
r=dougt sr=alecf
2002-08-12 14:25:40 +00:00
seawood%netscape.com 8ae6c40f5d Removing old nmake build makefiles. Bug #158528 r=pavlov 2002-08-10 07:55:43 +00:00
mkaply%us.ibm.com e842ce18e1 OS/2 bustage 2002-08-07 11:01:59 +00:00
darin%netscape.com 07863d7995 fixing planetoid (mach-o) bustage... GCC 2.95.2 seems awfully picky! 2002-08-07 02:17:48 +00:00
darin%netscape.com cfbada2cd9 landing gordon's patch for bug 81724 - disk cache needs stream wrappers
(disk cache phase 3) patch=gordon r=dougt sr=darin
2002-08-07 01:13:29 +00:00
bryner%netscape.com b1bd8f1222 Remove obsolete _IMPL_NS_NET and NS_NET defines (bug 159887). r=cls, sr=bzbarsky, a=asa. 2002-07-30 02:25:08 +00:00
darin%netscape.com cd4036f1e1 fixes bug 136210 "cannot view any https urls when memory cache size is set to 0"
r=beard sr=rpotts
2002-06-03 20:05:53 +00:00
dougt%netscape.com e96df2ad1b Fixes mozilla/strings requiring unfrozen nsCRT class. patch by scc, r=dougt, sr=jag, b=136756 2002-05-15 18:55:21 +00:00
bzbarsky%mit.edu db555c66cc Bug 142135 -- make cacheToken QI to nsICacheEntryInfo. Patch by
Antonio.Xu <antonio.xu@sun.com>, r=bzbarsky, sr=darin
2002-05-13 03:21:07 +00:00
gordon%netscape.com 99fe8f3daf fix for bug 91795 "large downloads cause mozilla to consume too much memory".
Changed OnDataSizeChange() to abort when entry size exceeds cache capacity.
r=dougt, sr=darin.
2002-05-10 23:44:53 +00:00