Commit Graph

2449 Commits

Author SHA1 Message Date
blizzard%redhat.com
faab80400e bug #58258 - warning fixes for nsIChannel::LOAD_NORMAL. r=scc sr=mscott,brendan 2000-10-29 17:44:42 +00:00
morse%netscape.com
7a35ab0fd7 bug 55731, files on disk need explicit html suffix, r=valeski, a=gagan, sr=mscott 2000-10-29 01:57:24 +00:00
warren%netscape.com
cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com
0735771512 Removed extra 0 arg 2000-10-27 23:21:30 +00:00
warren%netscape.com
9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
mscott%netscape.com
a372473038 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
 success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).

this also means making sure the http channel properly sets it's status code in ResponseComplete (r=gagan)
 sr=rpotts, r=sspitzer
2000-10-27 04:13:51 +00:00
darin%netscape.com
82d8519f52 Fixes bug 56785. 303 HTTP response now handled. r=gagan, sr=mscott 2000-10-27 00:04:18 +00:00
neeti%netscape.com
74330e429c fix for rtm++ bug 57746 crashes [@ nsDBAccessor::EnumEntry],r=gagan, sr=buster 2000-10-26 19:41:07 +00:00
mscott%netscape.com
f5614e7782 Bug #56934 --> properly determine the status for on end document load. We used to
use the status of the last request processed in loading the document to determine
success or failure. That's incorrect. Instead, test to see if the load group is being
canceled. If it is, use that as the status for the entire document. Otherwise, ignore
the status for the last request and instead use the status for the main document
(the default load channel).
sr=rpotts, r=sspitzer
2000-10-26 06:34:20 +00:00
morse%netscape.com
056b6817df bug 57840, tre blocker, r=gagan,don 2000-10-25 18:14:23 +00:00
neeti%netscape.com
8e953029ea fix for rtm++ bug 57326, Crash trying to use the save link as context menu, r=gagan, sr=mscott. 2000-10-25 13:28:39 +00:00
mscott%netscape.com
2435093250 Bug #56934 --> propogate the error returned by
OnDataAvailable so nsAsyncStreamListener can properly
cancel the load. This fixes the zdnet benchmark
problem. r=gagan, sr=rpotts
2000-10-25 03:10:49 +00:00
nhotta%netscape.com
8e39c30f3c Changed not to call the localized date format function but instead calls PR_FormatTimeUSEnglish()
so later it can be parsed by PR_ParseTimeString() correctly,
bug 30994, r=rjc,sr=mscott.
2000-10-24 21:53:12 +00:00
jst%netscape.com
c1ccea8268 Fixing rtm++ bug 56529. Necko was unescaping the content of URL's if a segment of the URL is requested (but not if the whole URL is requested), the DOM code used this unescaped string as is and that caused backwards compatibility problems. a=gagan&brendan, r=andreas.otte@primus-online.de 2000-10-24 04:56:10 +00:00
darin%netscape.com
3c271c19c7 Fixes bug 54081. Uploading large files (>50k). r=warren, sr=mscott. 2000-10-24 02:35:18 +00:00
darin%netscape.com
cabf7cc50d Fixes for bug 49168. Corrects HTTP authentication lookup semantics. r=gagan, sr=mscott. 2000-10-20 21:08:58 +00:00
mkaply%us.ibm.com
ef3ca7c3e7 #56763
r=gagan, sr=mscott
Race condition in netwerk was causing timeouts on fast systems/slow connections
2000-10-20 04:39:44 +00:00
gagan%netscape.com
fb20999bc3 Temp fix for tree bustage... :-( 2000-10-20 03:14:19 +00:00
gagan%netscape.com
fe4616394d Fixes for bug 53580. No longer sending user/passwd in referrers. r=mscott, sr=scc. 2000-10-20 02:03:15 +00:00
gagan%netscape.com
1d14333aec Fix for bug 53965. Thanks Nikolay. Fixes posting with SSL proxies. r=gagan, sr=mscott. 2000-10-19 23:21:49 +00:00
morse%netscape.com
693abc1d79 bug 27687, can't log into yahoo mail, r=dveditz,gagan, a=gagan, sr=mscott 2000-10-19 21:15:20 +00:00
blizzard%redhat.com
56525a7354 Fix bug #56753. Assertions when initializing the http handler. r=gagan, sr=mscott 2000-10-19 20:05:00 +00:00
dougt%netscape.com
55772c357c makes the about:bloat log (a) using nsIFile, and (b) next to the bin directory 2000-10-19 19:05:37 +00:00
gagan%netscape.com
7642ed6405 Fixing the last addref I added. Part of the bug 32335 cleanup. 2000-10-19 07:08:22 +00:00
gagan%netscape.com
bcb3c01e60 Fixes for bug 32335. Include the fix for the leak, changed to voidarray from ISupportsArray, and removed dependency on nsISupports for nsAuth. r=gagan, sr=mscott,brendan 2000-10-19 07:06:50 +00:00
neeti%netscape.com
3132bbdac2 Fix for rtm++ bug 55405 SetSizeEntry(..) called during shutdown could lead to corrupted cache, r=dp,sr=rpotts 2000-10-18 03:59:34 +00:00
waterson%netscape.com
b7f566951c Bug 53415. about:credits points to http://www.mozilla.org/credits/. r=brendan, a=scc 2000-10-17 03:35:27 +00:00
blizzard%redhat.com
6161f6aad2 Fix bug #56753. The HTTP handler will now recognize if someone changes the misc field of the user agent after it's been created. r=gagan, sr=mscott 2000-10-16 19:24:11 +00:00
mstoltz%netscape.com
f1137e89ec Fixing 56009, exploit allowing XPConnect access. r,a=hyatt, sr=scc 2000-10-13 22:59:47 +00:00
gordon%netscape.com
01c2a16c4d Fix for Bug 41433 "Crash clicking offline icon in browser window" rtm++, r=gagan, sr=sfraser, a=jar. Protected calls to OTCloseProvider() so we only call it when mServiceRef is not null. Also set gNeedLateInitialization so we reallocate mServiceRef next time we're online and make a dns request. 2000-10-13 21:05:11 +00:00
gagan%netscape.com
5475b63c24 Fixing the solaris bustage. 2000-10-13 05:05:10 +00:00
gagan%netscape.com
bbeb713db3 Fix for bug 32335. Fixes to make basic auth use the realm for authenticating. Thanks to darin@netscape.com r=gagan, sr=shaver. 2000-10-13 04:01:48 +00:00
gagan%netscape.com
34549dbcd5 Fix for bug 31174. Misc. ssl related fixes for getting SSL proxies to work. r=ruslan,pavlov sr=dougt. Thanks nikolay.igotti@eng.sun.com 2000-10-13 03:18:55 +00:00
neeti%netscape.com
70a7f66f5c fix for rtm++ bug 54630 - Disk cache not writing files after 512 files reached. r=dp, sr=rpotts 2000-10-13 03:01:10 +00:00
mscott%netscape.com
e4420663eb Bug #54381 --> if we are loading an http url that ends in .dll and the server didn't
give us a content type, then assume it is an unknown content type instead of
looking it up in the OS. This fixes the case were sites use ISAPI.dll and don't
specify content types.
r=gagan, sr=rpotts
2000-10-11 22:54:19 +00:00
mscott%netscape.com
1906e8a12d Bug #54381 --> add <BODY> tag to the unknown decoder's attempt to figure out
if content is html or not.
r=gagan, sr=rpotts
2000-10-11 22:53:18 +00:00
tao%netscape.com
ca062d6d3e 54784: Chrome registry should flush stringbundle and XUL caching after
profile selection. r=hyatt,sr=alecf.
55156: localizable values are cached in the HTTP header. r=gagan, racham,
 sr=mscott.
2000-10-11 22:07:04 +00:00
neeti%netscape.com
5903029d99 fix for bug 54072,r=dp, sr=rpotts/mscott 2000-10-11 03:03:40 +00:00
gordon%netscape.com
7d6a3a55c5 Fix bustage in optimized build for nsDnsService.cpp. 2000-10-09 23:41:19 +00:00
gordon%netscape.com
4b12cfdd46 Fix for bug 49990 "Networking fails after sleep/wake cycle" on Mac. rtm+, r=pinkerton, sr =sfraser. Added support for provide will/has closed OT events. 2000-10-09 21:59:49 +00:00
blakeross%telocity.com
05fd519397 Fix 50730, wording change in the Tasks menu. r=matt sr=ben 2000-10-08 05:13:40 +00:00
rjc%netscape.com
e75494be4b Secon attempt to fix RTM++ bug # 54626: ftp dir resolution. r=waterson sr=gagan 2000-10-04 22:58:54 +00:00
rjc%netscape.com
618e09bc65 Backing out previous checkin while I investigate orange. 2000-10-04 04:27:01 +00:00
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