Commit Graph

359 Commits

Author SHA1 Message Date
morse%netscape.com
2cb728f66f fix bug found by mjudge 1998-08-28 04:10:08 +00:00
thom%netscape.com
584891891e fixed heap corruption in mac version of the function mangleResourceIntoFileURL. This change ONLY effects macs 1998-08-28 01:33:14 +00:00
morse%netscape.com
296faca4df added apple keychain 1998-08-27 21:14:41 +00:00
gagan%netscape.com
731c17fef0 Merge from NuCache_BRANCH. Will not affect the build process. 1998-08-26 18:35:28 +00:00
gagan%netscape.com
6f56051e9e Test checkin to verify merge. Not in build process. 1998-08-26 18:31:05 +00:00
cls%seawood.org
9020b80c52 Updates to autoconf files. 1998-08-26 04:04:57 +00:00
valeski%netscape.com
6a97080b91 removed some macros (for debugging ease). Changed the XP_OpenDir and an XP dir status routine to PR_* to get local file system directory listings working in Raptor. 1998-08-25 23:33:28 +00:00
valeski%netscape.com
6e76b6cca3 we're now respecting success/failure return values from PREF_Get* routines, for the most part. imap, pop, news weren't cleaned up (nor was nucache).
Default values are now used when PREFs are down.
1998-08-25 21:17:03 +00:00
jwz%mozilla.org
d87d1e35f3 All Unix versions of Mozilla link against libmime, so they should all
call MIME_RegisterConverters() to register the converter for documents
of type message/rfc822.

On Windows, that converter is currently only registered if SMART_MAIL is
defined.

On Mac, it's never registered at all.

Someone needs to consolidate all this.
1998-08-25 19:19:13 +00:00
rpotts%netscape.com
cf4d8e6925 Evil fix for deadlock during synchronous http url loads... 1998-08-25 05:51:40 +00:00
thom%netscape.com
4d14ad9a57 fixed mac compile error in the initialization code 1998-08-25 00:04:27 +00:00
rpotts%netscape.com
53c77d56fe NGLayout only... Added a synchronous command line option for testing synchronous URL fetching. 1998-08-24 20:46:44 +00:00
waterson%netscape.com
9a022988f6 Fixed bad read references noticed by Jud with Quantify. 1998-08-23 22:15:21 +00:00
morse%netscape.com
dad55125bf added routines for composer publishing 1998-08-23 15:19:19 +00:00
morse%netscape.com
f84ba1b8e7 fix up multi-user logic for single singon 1998-08-22 02:46:49 +00:00
rpotts%netscape.com
dcf275e458 Added support to shut down netlib and the nsINetService instance... 1998-08-22 00:12:54 +00:00
valeski%netscape.com
5478e948ce fixing UMR (unitialized memory read) error in netlib timer tracing. 1998-08-21 07:01:22 +00:00
morse%netscape.com
8ec22be133 fix problem caused by dereferencing null pointer 1998-08-21 01:53:08 +00:00
vidur%netscape.com
c050c0e7ac Fixed build bustage. 1998-08-20 23:07:31 +00:00
vidur%netscape.com
00f1de03b8 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing. 1998-08-20 22:28:09 +00:00
vidur%netscape.com
1c697055ef Exported NET_StreamBuilder and NET_RegisterProtocolImplementation for modular netlib 1998-08-20 22:27:20 +00:00
kmcclusk%netscape.com
105745e312 Added XP_UNIX code to leave the top slash for absolute file paths under UNIX.
This fixes a problem where all of the slashs get stripped off because the URL
is asked to parse a previously parsed url string.
1998-08-20 20:32:52 +00:00
morse%netscape.com
e8e5b9fcdf remove lock from SI_LogNewURL to assure it won't deadlock 1998-08-20 02:31:57 +00:00
valeski%netscape.com
0f008fad17 fixed memory leak a little more safely :) 1998-08-19 23:33:46 +00:00
valeski%netscape.com
0862ae1419 fixed memory leak 1998-08-19 23:32:43 +00:00
valeski%netscape.com
52bc32e1e1 RAPTOR ONLY CHECKIN
network/module/nsIURL.h
Added Get/Set ReloadType methods so a user can query/set the reload type for the url. The default is normal reload.

network/module/nsURL.cpp
Added support for the new nsIURL interface methods (Get/Set ReloadType).

network/module/nsNetService.cpp
OpenStream and OpenBlockingStream now query the nsIURL for it's reload type before creating the url struct. This way we can control how the url is loaded.
1998-08-19 23:00:15 +00:00
scullin%netscape.com
509a55fa3e Move resource hack to tip. 1998-08-19 21:38:57 +00:00
cls%seawood.org
84f1cedcbb AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
morse%netscape.com
fbd83c1497 fixed incorrect return type on NET_CookiePermission 1998-08-19 02:30:25 +00:00
valeski%netscape.com
f25f2cb5b2 network/module/nsIRefreshUrl.h
Extended the nsIRefreshUrl interface to include a cancel method.

network/module/nsNetService.cpp
1. Added code to hook the nsConnectionInfo object up to the nsISupports pointer in the url being loaded.
2. Removed the redirect logic in bam_exit_routine(). The backend dependency on the front end is gone.

network/module/nsNetStream.cpp
Added initialization/destruction of the nsISupports pointer in the nsConnectionInfo.

network/module/nsNetStream.h
Added the nsISupports member declaration to nsConnectionInfo, and remvoed the redirect member variable.

network/module/nsNetStubs.cpp
FE_SetRefreshURLTimer() routine has been modified so it no longer relies on the pConsumer (i.e. nsDocumentBindInfo) which was causing us to leak it. Now we use the nsISupports pointer in the nsConnectionInfo object to access the nsIRefreshURL interface so we can reload the url.

network/module/nsStubContext.cpp
Modified stub_complete() so we no longer pay attention to the redirect member of the nsConnectionInfo object.

network/module/nsIURL.h
1. Added GetContainer() method to nsIURL which returns the nsISupports pointer of the container for this url.
2. created a new NS_NewURL() routine which takes an nsISupports pointer as a parameter.

network/module/nsURL.cpp
1. Added a new nsURL constructor that takes a nsISupports pointer as a param.
2. Added GetContainer() method and nsISupports pointer initialization/destruction.
1998-08-18 23:24:28 +00:00
valeski%netscape.com
0a8c7afc42 fixed a memory leak 1998-08-18 22:38:03 +00:00
morse%netscape.com
614353a324 changes for privacy-central pane 1998-08-18 20:00:37 +00:00
morse%netscape.com
d1fd46a481 make it compile with rhapsody compiler 1998-08-18 19:40:55 +00:00
mcafee%netscape.com
d5b2c0b1ad Break up some logic so the Rhapsody compiler can handle it. 1998-08-18 08:06:12 +00:00
hshaw%netscape.com
ffd0ad0038 Fix build bustage, moral of the story, be very careful with macros which implicitly take & of your arguments 1998-08-18 02:54:13 +00:00
hshaw%netscape.com
41d57c981e Fix buffering problem and memory leak for gzip compressed content. Generic problem was causing assert failure on Windows only 1998-08-18 00:14:32 +00:00
morse%netscape.com
c56800ee15 restore reference to MK_SIGNON_SELECTUSER, Linux bustage is a dependency-build problem 1998-08-16 22:57:02 +00:00
morse%netscape.com
6cfa0fd74f removed MK_SIGNON_SELECTUSER until I determine why it broke Linux dep build on Gromit 1998-08-16 21:12:53 +00:00
morse%netscape.com
3d9da085c0 fixed problems when there are multiple usernames for the same form 1998-08-16 19:41:16 +00:00
morse%netscape.com
c04648b8c7 fix bug in cookie viewer 1998-08-15 15:42:18 +00:00
morse%netscape.com
2f3c9fe548 fixed bug in sigon viewer 1998-08-15 15:40:46 +00:00
troy%netscape.com
ef9d322093 Changed PR_FREEIF to delete[] (call to nsString::ToNewCString) 1998-08-15 01:53:38 +00:00
guha%netscape.com
df981badea output rfc822 (reviewed by rjc) 1998-08-15 01:33:39 +00:00
morse%netscape.com
b58ee92ed8 fix problems in signon viewer 1998-08-15 01:18:40 +00:00
morse%netscape.com
e9120b7a73 fix problems in cookie viewer 1998-08-15 01:17:50 +00:00
gagan%netscape.com
e58285dea7 First Checked In. 1998-08-14 23:48:05 +00:00
thom%netscape.com
6915e471fa added nsIRefreshUrl.h to manifest 1998-08-14 21:35:42 +00:00
sdagley%netscape.com
e314e40037 Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage. 1998-08-13 22:17:51 +00:00
sdagley%netscape.com
bafb230a6a Add MacFE stubs for FE_CheckConfirm and FE_SelectDialog for morse's privacy code. danm acquired the appropriate permissions from the module owners for the XP spammage. 1998-08-13 22:11:56 +00:00
valeski%netscape.com
88d5bf1ae9 network/module/Makefile -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/makefile.win -
1. 310133 - Added nsIRefreshUrl.h to the list of exports.

network/module/nsIHttpUrl.h -
1. 310133 - Extended the nsIHttpUrl interface to include the AddMimeHeader() method which adds an http header to the url.

network/module/nsHttpUrl.cpp -
310133 - 1. Added support for the AddMimeHeader() method so http urls can have headers added outside of the actual data retrieval in netlib. This method calls NET_ParseMimeHeader() directly.
2. Added a public member, a pointer to the netlib URL_Struct that was created for this nsHttpUrlImpl. This pointer is the link between netlib and the outside world; the adhesive agent between url structs and nsURLImpls.

network/module/nsNetStream.h -
1. 310133 - Added a public memeber variable to nsConnectionInfo. It's a bool that tells us whether or not a redirect has occurred.

network/module/nsNetStream.cpp -
1. 310133 - Added initialization (FALSE) of new redirect member.

network/module/nsNetStubs.cpp -
1. 310133 - Implemented FE_SetRefreshURLTimer(). This function is called from NET_GetURL() when we recognize that we have a url to refresh.

network/module/nsStubContext.cpp -
1. 310133 - Added check to see if we're redirecting in stub_complete() which gets called when a stream completes. If we are, we don't want to release/destroy the pConsumer, this will happen in nsNetService's bam_exit_routine().

network/module/nsNetService.cpp -
1. 310133 - added nsConnectionInfo->redirect check in bam_exit_routine() so we give the consumer a successful binding event if the consumer is still around. This is iffy.
1998-08-13 20:10:49 +00:00