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

2406 Коммитов

Автор SHA1 Сообщение Дата
rjc%netscape.com 9450f5b29f Fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan 2000-10-04 02:06:03 +00:00
dp%netscape.com ba73f394e8 bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.29.4.2 to tip)
2000-10-03 22:54:55 +00:00
dp%netscape.com ed5775fa0e bug 54470 Deleting orphaned entries (no record associated with them)
rather than holding them forever in memory on evict.
r=neeti sr=rpotts
(updating fix from branch 1.28.2.2 to tip)
2000-10-03 22:04:15 +00:00
rpotts%netscape.com 355a21abce bug #54239 (r=dougt). PSM can be initialized on the wrong thread... 2000-10-03 04:49:51 +00:00
rpotts%netscape.com 6ee197932d bug #41398. The cache manager is now a memory-pressure observer and flushed the memory cache on each notification. 2000-09-30 05:30:22 +00:00
rpotts%netscape.com b9d9430ccd when RemoveAll() is called do not double count the storage being freed... 2000-09-28 23:03:03 +00:00
neeti%netscape.com eb4a98084f fix for crasher nsbeta3++ bug 52818, r=dp, r/a=rpotts 2000-09-28 04:08:22 +00:00
valeski%netscape.com b0217bd1ff whoops, that's supposed to be a 32bit int 2000-09-27 20:25:15 +00:00
valeski%netscape.com 8e3f2ce2da r=brendan,a=brendan. 54127. This change cleans up a leak when we run out of memory, and reduces allocation of the file extension buffer by 2x. it also dumps the count to a local variable to do away w/ memory ambiguity using a pointer to elementCount 2000-09-27 19:50:59 +00:00
akhil.arora%sun.com 3de56aad0e fixes for making auto proxies work again (phase1) b=53080 r=gagan@netscape.com a=brendan@mozilla.org 2000-09-27 02:03:43 +00:00
warren%netscape.com 094af23a1f Bug 52111. Fix for race condition between file transport and async stream listener -- mStatus was temporarily getting set to WOULD_BLOCK. code=alex@cendio.se, r=warren 2000-09-26 05:03:30 +00:00
scc%mozilla.org 5f4ef0a1e8 bug #36908: checking in for endico, r=scc, a=brendan 2000-09-22 09:05:57 +00:00
scc%mozilla.org 6db32983b4 bug #36908: checking in for endico, r=scc, a=brendan 2000-09-22 07:51:47 +00:00
mstoltz%netscape.com 69980043ac bug 24765, hooking up necko file cache to jar protocol. Hopefully without leaks this time. Also fixed leak in nsJARURI. r=beard, warren 2000-09-22 06:21:18 +00:00
scc%mozilla.org d8a1d0bced bug#53648: including IDL from the security world; actually bryner's change; r=scc, a=gagan,brendan 2000-09-22 04:42:21 +00:00
bryner%uiuc.edu 43b47e9463 Moving files out of security/base at request of security team. The new home for these files is in netwerk. Bug 53648. r=scc. a=gagan,brendan. 2000-09-22 04:42:20 +00:00
neeti%netscape.com 011f1101ed fix for bug 51095- mStorageInUse grows faster than required if we update files.r=dp,a=mscott 2000-09-22 04:17:22 +00:00
rpotts%netscape.com 63db1a7028 bug #53273 (r=neeti,fur a=me).Clear the TRUNCATED_CONTENT flag when all of the data arrives for a URI. This handles the case where the entry was evicted (and the content was truncated) and is later reused... 2000-09-22 04:12:42 +00:00
mscott%netscape.com 3e8306773b Bug #44176 --> pass in the length as the max progress for the download. This allows implementors of
nsIWebProgressLIstener to get notifications for ftp downloads.
r=valeski r=gagan
2000-09-22 03:46:11 +00:00
mscott%netscape.com e5ecd9e189 Bug #44176 --> in order to have a progress dialog for helper apps, we reset the notifications. http
wasn't regenerating the proxied notifciation calls.
r=gagan
2000-09-22 03:44:13 +00:00
gordon%netscape.com 65ee2066b4 Change for bug 21095 "about:cache and logging cache requests." Enabling changes for Macintosh. Added nsAboutCache.cpp to project file, and removed #if defs from nsNetModule.cpp. r=pinkerton a=brendan. 2000-09-21 23:08:12 +00:00
warren%netscape.com 94d7f48d6e Backing out jar protocol change because it introduced a big memory leak on tinderbox test. a=jag 2000-09-21 08:26:07 +00:00
mstoltz%netscape.com 504b6630e9 Final (I hope) fix for 24765, using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-21 05:01:16 +00:00
warren%netscape.com 181bb2dcb2 Landing jar packaging from jar_restructuring_branch. r=hyatt,dprice,sfraser,dveditz,vishy,sgehani 2000-09-20 19:35:24 +00:00
dp%netscape.com 8d3608aa5e bug 53122 OnFileAvailable() not being called due to release of
mCacheEntry by nsHTTPChannel before calling stop request. Delaying
release until after onStopRequest is called.

bug 51043 Caching cgi when we are not supposed to. Now we refetch a
page if there isn't Modified-Since header being sent. That isolates
cgis pretty well and keeps normal pages working as is.

bug 53272 Cache corruption triggers when we hit DNS errors. This is
due to the entry being in memory and never being flushed to
disk. Calling CacheAbort() on the error condition from
ResponseCompleted() takes care of that.
r=neeti, gagan
2000-09-20 07:13:03 +00:00
rpotts%netscape.com 415c5d1008 bug #21095. Registering about:cache handler for windows and unix. The mac is excluded until some project work is done... 2000-09-19 22:33:55 +00:00
gagan%netscape.com 77bc43b390 Fix for bug 52257. mResponseDataListener could be null. r=valeski, brendan. 2000-09-18 23:29:30 +00:00
warren%netscape.com a53ac69e4e Backing mstoltz out to get things back up and running with jar packaging. Also, I don't approve of the changes made to nsJARURI.cpp 2000-09-18 02:18:00 +00:00
mozilla.BenB%bucksch.org 7c381585fa 40024: Point to local copy of the contributors page. a=endico,brendan 2000-09-18 00:12:15 +00:00
warren%netscape.com fff6a0fc41 Implementing bufferSegmentSize/bufferMaxSize -- don't know why they weren't implemented before. 2000-09-17 22:22:08 +00:00
mstoltz%netscape.com 35d66fed08 Better bustage fix without leak r=scc 2000-09-15 21:12:36 +00:00
bryner%uiuc.edu 8f6f0e85e7 Fixing bustage. 2000-09-15 20:46:06 +00:00
mstoltz%netscape.com 9c40decb1a Fixing bustage. r=dveditz 2000-09-15 20:38:52 +00:00
mstoltz%netscape.com 1b123d9dd4 Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files. 2000-09-15 19:36:10 +00:00
mstoltz%netscape.com 04f1130628 Fix for bugs 24765, 49288. Using Necko file cache for the jar protocol. r=beard, a=warren. 2000-09-15 19:27:05 +00:00
mstoltz%netscape.com 96af09d722 Bugs 24765, 59288. Hooking up Necko file cache for jar protocol. r=beard, a=warren. Mac project files. 2000-09-15 19:26:57 +00:00
warren%netscape.com 6be2561bee Bug 52701 - bringing MOZ_DISABLE_JAR_PACKAGING back to life. 2000-09-15 08:08:11 +00:00
dveditz%netscape.com 1e0b99299b Bug 48504 correct user-agent for Windows ME. patch from Frank Faubert <frank@sane.com>
a=brendan, r=brendan,dveditz
2000-09-15 08:00:16 +00:00
rayw%netscape.com 3cd14f5878 Bug fix for 52648 -- remaining stash of progids which I missed on
the mega-change yesterday.  This will fix a few more issues.

r=warren
2000-09-14 23:20:49 +00:00
dougt%netscape.com c2923c8476 + Added OnSecurityChange() to nsIWebProgressListener interface.
+ Added dummy function to all users of nsIWebProgressListener
+ Added new security event sink.
+ Hooked up new event sink to docloader and friends.
+ Fixed memory leaks and crashes in nsSecureBrowserImpl.
+ Added AlertPrompt to nsIPrompt Interface.
+ Enabling xpcom test on unix.

Fixes bug 46872.  r=valeski/rpotts
2000-09-14 22:56:56 +00:00
ccarlen%netscape.com 4ff41c7f9e checkin for dougt 2000-09-14 22:49:59 +00:00
bryner%uiuc.edu 14b39559f7 This is the rest of the checkin to remove mozilla's dependency on building psm-glue. All security glue
interfaces and resources that aren't specific to PSM have moved to security/base.  The remaining psm-glue
interfaces which are used elsewhere in the code have been abstracted to be non-PSM-specific, and the call
sites changed to use the abstracted interface.  Bug 18352.  r=brendan,pavlov,shaver.  a=brendan.
2000-09-14 19:27:23 +00:00
neeti%netscape.com f41b42ce08 Fix for bug 48401.
Number of entries and records limited to 512. All known evict situations fixed.
Causing evict to start happening.
r=dp
2000-09-14 19:12:03 +00:00
dougt%netscape.com b9beecb0b7 First checkin of security event sink. not part of build yet. 2000-09-14 18:57:11 +00:00
dp%netscape.com 161724a90b bug 46147 Adding CacheAbort() for handing 400 errors from http
server and flushing the cache entry appropriately.
Also, releasing cache entry and cache channel before calling
OnStopRequest() from nsHTTPChannel::ResponseCompleted().
This should eliminate most of the cases of cache corruption
situations.
r=gagan,neeti
2000-09-14 18:52:57 +00:00
dp%netscape.com f578184e52 - Fixing deletion of cache on version change
- DBRecovery(): removing all fancy moves to trash folder. Just delete
  the cache when it is corrupted.
r=neeti
2000-09-14 18:48:57 +00:00
dp%netscape.com bd315704e3 Bumping cache version number up so everyone's corrupted caches uptil
now will be automatically deleted. r=neeti
2000-09-14 18:47:30 +00:00
dp%netscape.com bcd45e9a44 bug 46147 Ignoring record get failures to accomodate uncommited new
entries r=gagan,neeti
2000-09-14 13:51:18 +00:00
dp%netscape.com 42ca1df110 bug 46147 nsDiskCacheRecord::Delete() can ignore file delete errors as
for the file might not exist. r=gagan,neeti
2000-09-14 13:49:07 +00:00
vishy%netscape.com 6fbb9dbc07 Jar packaging fixup - changes by warren. Looked at by dveditz and ssu.
r=vishy. verified this solution works for mozilla, commercial and shrimp.
dont have bug number handy but this should be world++. basically from
now on, jar.mn rules will both create the jar and publish the flat files
to dist. the flat files are needed so that installers can compose the
files into a new naming system or delete some or whatever.
2000-09-14 04:45:15 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
brendan%mozilla.org 62b6238e92 Temporarily back out shaver's needed cleanup to remove wallet dependencies. 2000-09-13 21:49:39 +00:00
rpotts%netscape.com 580046560f bug #21095. First pass at a simple about:cache implementation... 2000-09-13 06:10:03 +00:00
rpotts%netscape.com e11ee74882 Keep the cache size correct when deleting cache entries. 2000-09-13 06:05:06 +00:00
mozilla.BenB%bucksch.org 180bef7f8a 52042: "Escape" classes inserted by our TXT recognizer(s) by prepending "moz-"
39771: * -> <b> (not <strong>), / -> <i> (not <em>)
18427, Step 1: Add |class=moz-text-html | to wrapping <div>, so users can add rules specific to HTML msgs to their user stylesheets (e.g. to ignore certain formatting). r=rhp
Updating msg body UA stylesheets
r=a=alecf
2000-09-13 02:11:00 +00:00
gordon%netscape.com 5eefa29523 Fix for bug 44627 "[mac]local files without .html extension are not loaded correctly". Changed logic for files of type TEXT without an extension to allow nsUnknownDecoder to parse data to determine MIME type. r=gagan 2000-09-12 23:23:54 +00:00
shaver%mozilla.org 13f37d3aa4 #18352: remove extensions/ dependencies. This breaks single-signon for now, r=valeski, a=brendan 2000-09-12 20:45:58 +00:00
scc%mozilla.org dbc332fee0 bug #18352: added "nsIPasswordManager.idl" on shaver's behalf 2000-09-12 19:54:55 +00:00
warren%netscape.com f1e20aeb6c Fixed error code. 2000-09-12 05:11:11 +00:00
shaver%mozilla.org bc4ba277fb Part 1.1 of 18352 (remove extensions/ dependencies from non-extensions/ code):
Teach netwerk about nsIPasswordManager.
  (Craves better interfaces, current versions just C&P'd from wallet's.)
r=valeski,a=brendan
2000-09-12 02:35:29 +00:00
neeti%netscape.com fbbe14b2af fix for bug 50977-After surfing, web pages stop loading. Tossing cache fixes,r=dp 2000-09-11 19:00:40 +00:00
ccarlen%netscape.com 3335f30fbd Fix for #51459 For Mac, in nsStdURL::GetFile, only convert '/' to ':' in directory portion of path, not leaf name. r=rjc 2000-09-11 12:51:52 +00:00
gagan%netscape.com 3dacfdb699 Fixing mac bustage. 2000-09-11 07:01:28 +00:00
gagan%netscape.com 4c9c982273 Fix for bug 44041. Part changes from justin@ukans.edu. We were not handling multiple WWW-Authenticate headers. Basic auth was also busted becuz of a trailing nul problem that I've cleaned up. r=me. 2000-09-11 06:15:14 +00:00
rpotts%netscape.com 8e087079f1 Do not crash when calling GetNExtCache() if the Disk Cache is not available... 2000-09-10 08:11:40 +00:00
rpotts%netscape.com a6a9fc832c Fixed memory leak when calling nsCachedNetData::GetUriSpec(...). 2000-09-10 07:58:27 +00:00
rpotts%netscape.com 77de77a99c Cleaned up the cache selection code in GetCacheAndReplacementPolicy(...). 2000-09-10 06:13:30 +00:00
rpotts%netscape.com 547b224ba4 do not try to evict cache entries that are active... 2000-09-10 06:11:57 +00:00
rpotts%netscape.com b1fc56b6b2 Random improvements to the memory cache... 2000-09-10 06:10:52 +00:00
gordon%netscape.com 75155a5171 Fix bug 35564 '[MLK] Potential nsIIOService Leak' - integrated Patrick's changes 2000-09-08 23:31:26 +00:00
jband%netscape.com 2730e37efd warren's fix for the new/free mismatch undid kin's fix for the same problem. Also fix an off by one in the backwards 'for' loop. r=warren 2000-09-08 09:36:35 +00:00
warren%netscape.com 161e98314b Bug 50844. Fixed mismatched memory free. 2000-09-08 04:39:17 +00:00
mscott%netscape.com 81b816da2e Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
2000-09-08 00:24:13 +00:00
mscott%netscape.com 259e029521 Bug #43556 --> remove obsolete reference to old class id for the mime service. use the new one.
r=valeski
make the http event sync proxy async instead of sync. r=gagan
2000-09-08 00:21:44 +00:00
mscott%netscape.com 9c55bccd7f Bug #43556 --> remove obsolete progid reference to force callers through the new nsIMimeService in the uriloader.
r=valeski
2000-09-08 00:16:53 +00:00
mscott%netscape.com 195f9dbdca Bug #43556 --> inpreparation for mime service over-haul, remove 2 obsolete methods.
r=valeski
2000-09-08 00:10:48 +00:00
bryner%uiuc.edu 3c518ddb8a Changing NPL to MPL license, and correcting the Initial Developer to be
myself.  Change has been approved by all contributors to this code.
2000-09-07 21:26:29 +00:00
kin%netscape.com 872a42a450 Fix for bug #50927: UMR and FMM: nsJARChannel::GetContentType().
Added check for NULL mJAREntry and we now free filename with 'delete'.
r=warren@netscape.com
2000-09-07 19:31:10 +00:00
dp%netscape.com c1968dcd47 bug 48292 Releasing cache entry as soon as we are done rather than
waiting until nsHTTPChannel gets deleted, which apparently happens
after the next page finishes loading giving rise to all kinds of
interesting conditions if the current and next page are same. r=neeti
2000-09-07 18:24:28 +00:00
rjc%netscape.com 9e6106beea Fix bug # 33122: FTP proxy problems. r=gagan 2000-09-06 23:44:21 +00:00
rjc%netscape.com a588547fa4 Comment out assert() for bug # 46723. 2000-09-06 00:58:41 +00:00
dp%netscape.com b6eb1bee31 Fixing mac. No more friends. Making WriteComplete() public. That is
actually what we really want.
2000-09-05 22:32:00 +00:00
dp%netscape.com f56f1fb911 bug 50922 Removing content length hacks as we fixed the real cause of
the problem: mFile's stat cache not being updated. Also after writing
to the cache file, the writeStreamWrapper updates the content length
appropriately. So we dont have to manipulate from this level high. r=neeti
2000-09-05 21:45:10 +00:00
dp%netscape.com 8a016036c2 bug 50922 mFile's stat cache isnt refreshed after file changed on
disk. This causes wrong content length and incorrect cache
updates. r=neeti
2000-09-05 21:42:10 +00:00
ruslan%netscape.com bed1612d85 Fix 50471, a=gagan,r=morse 2000-09-05 21:22:33 +00:00
jband%netscape.com b0e445587e fix uninitialized variable 2000-09-05 19:00:02 +00:00
rjc%netscape.com cb06aeba5e Fix bug # 51016: FTP being too eager with assuming directory vs file. r=me 2000-09-04 23:36:56 +00:00
scc%mozilla.org 9aa980c04a explicit constructors stop the automatic construction of a string for a comparison. Really, they want the equivalent of |IsEmpty()| here; let's just test the value of the char[0] in the buffer. 2000-09-03 05:47:01 +00:00
scc%mozilla.org 5c29f2b9d9 fixing bustage 2000-09-03 04:49:45 +00:00
scc%mozilla.org 2c01b7988d it's a repeating bad pattern ... several of the compilers don't want to make the change from |nsC[Auto]String foo = NS_ConvertASCIItoUCS2(x);| to |nsC[Auto]String foo(NS_ConvertASCIItoUCS2(x);| and so we have to use |CopyASCIItoUCS2(nsLiteralCString(x), foo);| instead 2000-09-02 22:39:18 +00:00
scc%mozilla.org 6e3c3421c6 compiler is confused; giving it a more digestible meal 2000-09-02 22:18:57 +00:00
scc%mozilla.org 44952a090c fixing code that relied on implicit string construction 2000-09-02 21:47:30 +00:00
cls%seawood.org beaefaeca8 Including nsString.h 2000-09-02 00:21:03 +00:00
alecf%netscape.com c4017575b7 another fix for #42102 - removing consumers of nsIFileSpec
r=valeski
2000-09-01 23:36:28 +00:00
gordon%netscape.com b48bfc8c83 Fix for Bug 31900 "[MLK] Leaking CacheInfo objects". The mCaches field is the head of a linked list. I've added code to nsReplacementPolicy destructor to walk the list, deleting the objects along the way, rather than simply deleting the head of the list. 2000-09-01 21:24:40 +00:00
pavlov%netscape.com b956215375 fix for secure smtp bug 30321 r=mscott for the smtp part and r=bryner for the rest 2000-09-01 09:00:37 +00:00
ruslan%netscape.com 19e9e19187 Finally fix the last dogfood regression (big http posts), 47936 2000-09-01 00:59:48 +00:00
neeti%netscape.com 5581c703e6 Checking in dp's patch for bug 50619, Cache doesn't get updated after reload. r=neeti 2000-08-30 19:48:12 +00:00
dp%netscape.com ebc676cc3e - bug 41950 Getting redirects to work. Adding in LOAD_REPLACE to channel
attributes.
- checking return value from GetCacheContentLegth()
r=mscott,neeti
2000-08-29 03:16:16 +00:00
dp%netscape.com 1931787d13 bug 41950 Preventing garbage content lengths from cache. r=neeti 2000-08-29 03:14:28 +00:00