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

652 Коммитов

Автор SHA1 Сообщение Дата
rpotts%netscape.com cd7ae5aaf9 changed the nsNetService to create a dedicated thread for netlib (on windows only for now) 1998-09-19 07:08:09 +00:00
rpotts%netscape.com 75bc93f644 Added NSPR DLL to the link which is required for monitors... 1998-09-19 07:04:00 +00:00
rpotts%netscape.com 110dfed5c1 made URLImpl threadsafe... 1998-09-19 07:03:19 +00:00
rpotts%netscape.com 16b3d32f8b Made the netlib blocking stream work correctly when netlib is running on its own thread 1998-09-19 07:02:25 +00:00
rpotts%netscape.com 4decdd3357 Fixed the reference counting of the URL_Struct being held by the HttpUrl. 1998-09-19 07:00:29 +00:00
rpotts%netscape.com d1fc5a834d new files which create a dedicated thread for netlib 1998-09-19 06:59:33 +00:00
rpotts%netscape.com 40e8faf12e Added correct NPL 1998-09-19 06:58:32 +00:00
rpotts%netscape.com ca1e3e524f enabled thread-safe code which was previously only used when JAVA was defined. 1998-09-19 06:57:29 +00:00
gagan%netscape.com 6e70194579 Streams fix for MemCache. 1998-09-18 05:49:47 +00:00
gagan%netscape.com 3a32ef764f CacheStubs- Added InfoAsHTML for about:cache and CacheObject's Reset.
nsCacheManager- InfoAsHTML for about:cache.

nsCacheObject/nsMemStream- Reset function for rereads.
1998-09-18 05:49:01 +00:00
ebina%netscape.com 603988084a "This doesn't make it work, but it makes it 'better'" - Kipp 1998-09-17 22:08:35 +00:00
kipp%netscape.com df67a98b54 Register inet service so that the test works again 1998-09-17 21:33:14 +00:00
kipp%netscape.com 520d3bb2cf Fixed deref of unitialized memory bug in URLImpl::Open 1998-09-17 21:32:52 +00:00
valeski%netscape.com a89bc83c54 Now nulling out a variable that was causing a crash on url open. 1998-09-17 19:56:30 +00:00
morse%netscape.com e8e2b40fe1 display domain name instead of host name if domain is setting a cookie 1998-09-17 10:30:45 +00:00
pierre%netscape.com 0c08dfeeda fixing mac build: renamed the factory entry point 1998-09-17 09:17:39 +00:00
pierre%netscape.com 90ce3f3e18 added nsNetFactory 1998-09-17 09:16:23 +00:00
valeski%netscape.com 81cdcbe581 ? network/module/nsNetFactory.cpp
Added nsNetFactory implementation. This allows users to retrieve nsINetService pointers from the service factory manager.

M dom/src/base/nsGlobalWindow.cpp
M gfx/src/nsImageNetContextSync.cpp
M layout/html/document/src/nsHTMLDocument.cpp
M network/module/nsURL.cpp
Replaced NS_NewINetService() calls with nsServiceManager::GetService() calls.

M network/module/Makefile
M network/module/makefile.win
Added nsNetFactory.cpp to the builds.

M network/module/nsINetService.h
Added a #define for the class id of the nsNetService.

M network/module/nsIStreamListener.h
Removed the NS_DEFINE_IID of kIStreamListenerIID from the header file. Each module that wants this will need to delcare it themselves.

M network/module/nsNetFile.cpp
Fixed memory leak.

M network/module/nsNetService.cpp
Globalized the gNetlibService variable so the NetFactory can access it.

M webshell/src/nsDocLoader.cpp
M webshell/src/nsPluginViewer.cpp
NS_DEFINE_IID of kIStreamListenerIID

M webshell/tests/viewer/nsSetupRegistry.cpp
Added the netlib library to the list of libraries in the registry and register the nsNetFactory with the appropriate iid and clsids.
1998-09-17 00:55:35 +00:00
morse%netscape.com c93d6a5568 second attempt to change Bool to PRBool 1998-09-16 20:18:05 +00:00
gagan%netscape.com 44dba6a3d9 Ooops.... Forgot the #ifdef NU_CACHE around this addition. 1998-09-16 10:23:21 +00:00
gagan%netscape.com ae2416c436 Initializing NuCacheProtocol instead of the MemCacheProtocol. Only in NuCache. 1998-09-16 10:20:18 +00:00
gagan%netscape.com 6d6e70e1f6 Added CacheObject_Destroy, IsCompleted to mark end of streams. Added isCompleted field in CacheObject. Changed all PL_strncpy to PL_strncpyz to fix the missing trailing \0 problem. Now deleting streams objects correctly from nsMemCacheObjects. Other misc. changes. 1998-09-16 10:18:40 +00:00
gagan%netscape.com 75e46651b5 Miscellaneous changes for streams based objects. Added more comments. 1998-09-16 10:13:48 +00:00
gagan%netscape.com 79a1858b87 Added class description comments. 1998-09-16 10:12:12 +00:00
gagan%netscape.com 62be00f504 Added default comments to header files. 1998-09-16 10:10:01 +00:00
gagan%netscape.com 9994f01cc1 Updated tests for nsMemStream testing. 1998-09-16 10:09:34 +00:00
gagan%netscape.com 98f4b22f8a Added URL_s updating for content_type, content_encoding, etc. Removed CacheObject_Destroy from complete which was messing up the objects. 1998-09-16 10:08:47 +00:00
gagan%netscape.com 1223e246c9 Moved the nucacheprotoimpl stuff here. 1998-09-16 10:04:07 +00:00
gagan%netscape.com d5380127f5 Removed nucacheproto from its own file to mkmemcac.c. 1998-09-16 10:03:41 +00:00
valeski%netscape.com f0e8859cc2 General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +00:00
mcafee%netscape.com 88634b6864 Fixing Linux breakage. r=valeski 1998-09-16 05:48:26 +00:00
mcafee%netscape.com acab13c675 Uninitialized variable compiler warnings on Linux 1998-09-16 04:59:00 +00:00
valeski%netscape.com a25d36f490 Fixing build bustage. c++ comments in c file 1998-09-16 02:39:16 +00:00
pierre%netscape.com 01c4f5add7 fixed raptor build: added nsLoadAttribs.cpp to the 'modular' targets 1998-09-16 02:09:08 +00:00
valeski%netscape.com ea6eb8d229 ? network/module/nsILoadAttribs.h
New nsIloadAttribs interface that defines the load attributes that are will be associated with a url.

? network/module/nsLoadAttribs.cpp
New nsIloadAttribs interface implementation.

M network/main/mkconect.c
Check for a new local ip address to use. If found PR_Bind() is called to bind the connecting socket to the new address.

M network/main/mkgeturl.c
Added logic to determine whether or not skip the proxy for the given url.
M network/main/mktcp.h
api change. Changed NET_BeginConnect() and NET_FinishConnect() function prototypes.

M network/module/MANIFEST
Added nsILoadAttribs.h to exports list

M network/module/Makefile
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/makefile.win
Added nsILoadAttribs.h to exports list and nsILoadAttribs.cpp to compile lists.

M network/module/nsIURL.h
Added accessor methods to the url interface for nsILoadAttribs interface pointer.

M network/module/nsNetService.h
Added urlSetup method to class definition.

M network/module/nsNetService.cpp
Condensed url setup (from nsIURL properties to the actual url struct) into a helper routine. URL struct setup now transfers nsILoadAttributes over into the url struct.

M network/module/nsURL.cpp
Added nsILoadAttribs accessor method implementations to the url implementation.

M network/protocol/ftp/mkftp.c
api change. NET_*Connect().

M network/protocol/gopher/mkgopher.c
api change. NET_*Connect().

M network/protocol/http/mkhttp.c
api change. NET_*Connect().

M network/protocol/imap4/mkimap4.cpp
api change. NET_*Connect().

M network/protocol/nntp/mknews.c
api change. NET_*Connect().

M network/protocol/pop3/mkpop3.c
api change. NET_*Connect().

M network/protocol/smtp/mksmtp.c
api change. NET_*Connect().
1998-09-16 00:35:32 +00:00
gagan%netscape.com 6724c306e6 Fix for bug # 323918. 1998-09-16 00:01:02 +00:00
raman%netscape.com cf457f4d24 Added some more preferences for AutoUpdate 1998-09-13 02:02:51 +00:00
kipp%netscape.com 49239255bc whitespace tweak 1998-09-12 19:31:10 +00:00
mcafee%netscape.com 2114567189 Fixing Solaris bustage 1998-09-12 05:55:51 +00:00
mcafee%netscape.com 7661bcd355 Solaris needs EOF character 1998-09-12 05:52:39 +00:00
rjc%netscape.com 564b9697ea Exported autoupdt.h to dist area. 1998-09-12 02:54:33 +00:00
rjc%netscape.com ce1dbc6f08 Control the autoupdate via prefereneces. Changes from raman. Reviewed by rjc 1998-09-12 02:37:24 +00:00
rjc%netscape.com 4464880a49 Moved autoupdt code out od MOZ_SMARTUPDATE. Changes from raman. Reviewed by rjc 1998-09-12 02:37:01 +00:00
cls%seawood.org 096e90e3e0 Sync'd. 1998-09-11 01:24:33 +00:00
morse%netscape.com 93ad2e1e1a fix mac bustage 1998-09-10 23:02:23 +00:00
morse%netscape.com af5f3321d6 remove 'remember this decision' from signon nag box 1998-09-10 21:27:13 +00:00
gagan%netscape.com 15e071d11c Removed the silly useless parameter in NET_CleanUpCache. 1998-09-10 20:55:22 +00:00
gagan%netscape.com 5c4a9cd1d1 cvs to be blamed for a bad merge. Moving to void parameter on NET_CleanupCache. Was giving errors on Mac. 1998-09-10 20:54:41 +00:00
gagan%netscape.com 035351d940 Remaining changes from Nu_Cache. Added nucacheproto.c/h. 1998-09-10 20:11:13 +00:00
gagan%netscape.com 4102c0313b Nu_cache leftover changes. 1998-09-10 20:00:57 +00:00
gagan%netscape.com ed86de28ae nu_cache changes. 1998-09-10 19:58:35 +00:00
gagan%netscape.com 00ca1aba73 remaining changes from nu_cache. 1998-09-10 19:57:12 +00:00
valeski%netscape.com 3a9d22b79b fixing build bustage. 1998-09-10 03:28:20 +00:00
valeski%netscape.com 9bc115a2f8 The changes apply to MODULAR_NETLIB only
mozilla/module/nsINetFile.h
MODULAR_NETLIB only. Added the nsINetFile interface header.

mozilla/module/nsNetFile.cpp
MODULAR_NETLIB only. Added the nsINetFile interface implementation.

mozilla/module/nsNetFile.h
MODULAR_NETLIB only. Added the nsNetFile header.

mozilla/main/mkgeturl.c
MODULAR_NETLIB only. Added directory and file token initialization for new ns_net_file code.

mozilla/main/net_xp_file.h
MODULAR_NETLIB only. Added the new readline routine for ns_net_file.

mozilla/module/makefile.win
MODULAR_NETLIB only. Added the nsNetFile.cpp file to compilation list.

mozilla/module/nsNetService.cpp
MODULAR_NETLIB only. Added the static nsNetFile instance so it gets initailized.

mozilla/module/nsNetStubs.cpp
MODULAR_NETLIB only. Added NET_I_XP_FILE* versions of XP_FILE routines. These routines are compiled and used when NS_NET_FILE is defined.
1998-09-10 00:32:40 +00:00
valeski%netscape.com 4b57f4faf5 fixing compile warning 1998-09-10 00:08:33 +00:00
vidur%netscape.com 7792eb4aa2 Adjusted to change in signature for FE_SetRefreshURLTimer 1998-09-09 20:56:47 +00:00
pnunn%netscape.com 0cf952b55f fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to Moz. 1998-09-09 19:11:22 +00:00
gagan%netscape.com d83932e963 Resetting cache_objects. 1998-09-09 02:19:30 +00:00
akkana%netscape.com 4fc52c0f58 Register type converters for mail compose. This makes "Send Page" work.
Approved by gagan.
1998-09-08 22:14:51 +00:00
raman%netscape.com 1f9a764b70 Added building of autoupdt.c 1998-09-08 21:00:51 +00:00
kipp%netscape.com 63293e335d Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
cls%seawood.org a1294edb2f Updated. 1998-09-05 10:25:13 +00:00
akkana%netscape.com 6bcd465c89 Mailto landing (ifdef MOZ_MAIL_COMPOSE). Approved by valeski. 1998-09-04 18:59:53 +00:00
pierre%netscape.com 8e098f42ee set resourceBase to the magic string "usr/local/netscape/bin/" 1998-09-03 06:19:13 +00:00
sar%netscape.com ee43b7b27d Smartupdate landing. Added autoinstl to project. 1998-09-02 19:19:51 +00:00
raman%netscape.com 9dacca8e6d Added a background/autoupdate pulling of URLs 1998-09-02 19:08:32 +00:00
raman%netscape.com 2064a2efe0 Added a background, autoupdate pulling of URLs 1998-09-02 19:08:00 +00:00
cls%seawood.org 4f61ab80eb Tweaks to remove XFE dependencies from other parts of the tree. Approved by {gagan,malmer,ramiro}%netscape.com. 1998-09-02 07:02:04 +00:00
morse%netscape.com f567de491e enable trust labels for unix 1998-09-02 05:06:15 +00:00
valeski%netscape.com ecab01bad4 added net_xp_file.h to #include 1998-09-02 03:01:14 +00:00
mcafee%netscape.com 61da5a1056 Solaris wants EOF character, added comment for #endif. 1998-09-02 01:35:54 +00:00
valeski%netscape.com 9b318efd3d Adding layer of abstraction (via #defines) between netlib and file code (XP_File*). This will allow raptor to build with a different file implementation (nsINetFile) and no longer rely on XP_File*(). All XP_File*() routines were renamed to NET_XP_File*(). The #define to do the masking is mozilla/network/main/net_xp_file.h .
Aleks told me all I had to do in order to export net_xp_file.h on the mac was to include it in mozilla/network/main/manifest. I did that, so, if mac builds break in netlib, it's likely the exporting of the file isn't happening (I'm not sure of the state of manifest files anymore) and I don't have a mac. So if MAC BREAKS, please add the file to the mac project and check it in (thank you).

I'll be at 408.867.2701 or cell - 415.307.7101 tonight.
1998-09-02 01:00:42 +00:00
cls%seawood.org 876891e7ae Sync'd Makefile.ins 1998-09-02 00:54:34 +00:00
rpotts%netscape.com d28b236929 Fixed return value from PerformNastyWindowsAsyncDNSHack(...) 1998-09-02 00:27:54 +00:00
pinkerton%netscape.com b4e8c757f9 turn on trust labels for mac. 1998-09-01 20:23:44 +00:00
pinkerton%netscape.com 5f05f1e517 add mkaccess.h to dist 1998-09-01 20:22:23 +00:00
pinkerton%netscape.com 9a98b13993 turn on trust labels on mac. 1998-09-01 20:21:19 +00:00
gagan%netscape.com bfc860dee7 Changes from NuCache. Should'nt affect the build. 1998-09-01 20:00:07 +00:00
valeski%netscape.com 639327a58d xp_dir to pr_dir 1998-09-01 19:18:00 +00:00
valeski%netscape.com 58803750b3 adding net_xp_file.h to the list of exports 1998-09-01 18:59:17 +00:00
valeski%netscape.com aeb9ab9289 this file adds a level of abstraction between netlib and xp_file routines. 1998-09-01 18:55:22 +00:00
ebina%netscape.com d4b5040fa1 Transfer encoded gzip streams were sent to this converter, but the
transfer-encoding was never removed from the URL structure, causing
infinite recursion.  This fixes that bug.
1998-08-31 16:31:12 +00:00
morse%netscape.com 5c63d8dbd6 fix bustage on all platforms 1998-08-30 16:42:20 +00:00
morse%netscape.com eab2280708 still trying to fix up mac 1998-08-30 15:59:53 +00:00
morse%netscape.com b0d93947b9 one more attempt to clean up mac build 1998-08-30 15:43:56 +00:00
morse%netscape.com d9ff6c6bf6 I give up, backing out trust labels 1998-08-30 08:49:56 +00:00
morse%netscape.com 418f7d91c5 giving up on mac for now, backing out some but not all of the changes 1998-08-30 07:09:27 +00:00
morse%netscape.com 1c965781ef fix compile error 1998-08-30 06:01:22 +00:00
morse%netscape.com b06bddbbbb *** empty log message *** 1998-08-30 05:54:08 +00:00
morse%netscape.com d2a2fc75c2 attempt to fix bustage on the mac 1998-08-30 05:09:35 +00:00
morse%netscape.com 3b138266dd added trust labels 1998-08-30 03:40:51 +00:00
morse%netscape.com fe82ff45c3 mkaccess.h 1998-08-30 03:23:42 +00:00
morse%netscape.com d3e2e3dffe fixed background color on signon viewer 1998-08-30 03:22:40 +00:00
morse%netscape.com 3ce1172cb5 fix bug found by mjudge 1998-08-28 04:10:08 +00:00
thom%netscape.com bec672263f 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 09cf1ace57 added apple keychain 1998-08-27 21:14:41 +00:00
gagan%netscape.com 6ba394a95f Merge from NuCache_BRANCH. Will not affect the build process. 1998-08-26 18:35:28 +00:00
gagan%netscape.com fdf9df89ee Test checkin to verify merge. Not in build process. 1998-08-26 18:31:05 +00:00
cls%seawood.org 9c74df02ff Updates to autoconf files. 1998-08-26 04:04:57 +00:00
valeski%netscape.com 0390246b80 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 1d5bfd448d 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 d44ec6b836 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 36e1bfa687 Evil fix for deadlock during synchronous http url loads... 1998-08-25 05:51:40 +00:00
thom%netscape.com defaa3615a fixed mac compile error in the initialization code 1998-08-25 00:04:27 +00:00
rpotts%netscape.com 86ed65ac06 NGLayout only... Added a synchronous command line option for testing synchronous URL fetching. 1998-08-24 20:46:44 +00:00
waterson%netscape.com 7f71dd8c3c Fixed bad read references noticed by Jud with Quantify. 1998-08-23 22:15:21 +00:00
morse%netscape.com d32a637c2b added routines for composer publishing 1998-08-23 15:19:19 +00:00
morse%netscape.com c1b5ad7dc2 fix up multi-user logic for single singon 1998-08-22 02:46:49 +00:00
rpotts%netscape.com 858096eece Added support to shut down netlib and the nsINetService instance... 1998-08-22 00:12:54 +00:00
valeski%netscape.com 4252cbd65f fixing UMR (unitialized memory read) error in netlib timer tracing. 1998-08-21 07:01:22 +00:00
morse%netscape.com 44e0cdcd2c fix problem caused by dereferencing null pointer 1998-08-21 01:53:08 +00:00
vidur%netscape.com 49655aa9d6 Fixed build bustage. 1998-08-20 23:07:31 +00:00
vidur%netscape.com 6f24009862 Added nsIConnectionInfo interface. Temporarily special-cased javascript: URLs in URL parsing. 1998-08-20 22:28:09 +00:00
vidur%netscape.com 10296f3c83 Exported NET_StreamBuilder and NET_RegisterProtocolImplementation for modular netlib 1998-08-20 22:27:20 +00:00
kmcclusk%netscape.com 67de8bdacd 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 2e220886e1 remove lock from SI_LogNewURL to assure it won't deadlock 1998-08-20 02:31:57 +00:00
valeski%netscape.com 325635f76c fixed memory leak a little more safely :) 1998-08-19 23:33:46 +00:00
valeski%netscape.com 82dab1fc3a fixed memory leak 1998-08-19 23:32:43 +00:00
valeski%netscape.com bd04b0bff1 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 4fe774fe81 Move resource hack to tip. 1998-08-19 21:38:57 +00:00
cls%seawood.org 90d0af1408 AUTOCONF_1_0 landing. 1998-08-19 20:42:14 +00:00
morse%netscape.com 649e87efc2 fixed incorrect return type on NET_CookiePermission 1998-08-19 02:30:25 +00:00
valeski%netscape.com 22f10c8539 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 02099d72e5 fixed a memory leak 1998-08-18 22:38:03 +00:00
morse%netscape.com f7c322de3f changes for privacy-central pane 1998-08-18 20:00:37 +00:00
morse%netscape.com 762e203eac make it compile with rhapsody compiler 1998-08-18 19:40:55 +00:00
mcafee%netscape.com ddc23c5843 Break up some logic so the Rhapsody compiler can handle it. 1998-08-18 08:06:12 +00:00
hshaw%netscape.com 4f527027e4 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 2a728a51c2 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 605497f057 restore reference to MK_SIGNON_SELECTUSER, Linux bustage is a dependency-build problem 1998-08-16 22:57:02 +00:00
morse%netscape.com a34fe13651 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 e7fdcabdfd fixed problems when there are multiple usernames for the same form 1998-08-16 19:41:16 +00:00
morse%netscape.com 19cd8473fe fix bug in cookie viewer 1998-08-15 15:42:18 +00:00
morse%netscape.com f4523e0395 fixed bug in sigon viewer 1998-08-15 15:40:46 +00:00
troy%netscape.com a995892c08 Changed PR_FREEIF to delete[] (call to nsString::ToNewCString) 1998-08-15 01:53:38 +00:00
guha%netscape.com 77609883b0 output rfc822 (reviewed by rjc) 1998-08-15 01:33:39 +00:00
morse%netscape.com 6eb1d7c982 fix problems in signon viewer 1998-08-15 01:18:40 +00:00
morse%netscape.com 7444319825 fix problems in cookie viewer 1998-08-15 01:17:50 +00:00
gagan%netscape.com 33bce2cc76 First Checked In. 1998-08-14 23:48:05 +00:00
thom%netscape.com ce45547fa2 added nsIRefreshUrl.h to manifest 1998-08-14 21:35:42 +00:00
sdagley%netscape.com 049fa0d6c2 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 02ff6820f9 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 d791bc8379 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
valeski%netscape.com d276dc3f47 310133 - Added nsIRefreshUrl.h to the build. This file defines the nsIRefreshUrl interface which simply declares a method that allows a url to be refreshed/reloaded after a given interval. 1998-08-13 20:05:13 +00:00
vidur%netscape.com 87efb86929 Fixed problem with mSpec being allocated with something other than PR_Malloc 1998-08-13 19:05:36 +00:00
rpotts%netscape.com 6d987306b9 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code... 1998-08-13 08:19:49 +00:00
vidur%netscape.com d183e5debb Added better handling of search component of URL. Added GetSearch() method to nsIURL. 1998-08-13 04:35:37 +00:00
michaelp%netscape.com f199e896c4 fixed build. 1998-08-13 00:07:09 +00:00
toshok%netscape.com 170148f272 Fix non windows build - FE_CheckConfirm needs to have the same number of arguments in both the XP_WIN/not XPWIN cases. 1998-08-12 22:59:36 +00:00
danm%netscape.com e7eccbbf13 XP_WIN versions of the privacy FE dialogs 1998-08-12 21:46:09 +00:00
saari%netscape.com 4f01f56a85 Mac only I/O buffer size increases Eliminating speed bottlenecks. 1998-08-12 21:30:26 +00:00
morse%netscape.com 85f71dc88f improved signon viewer 1998-08-12 04:03:33 +00:00
morse%netscape.com 52e7734fff improved cookie viewer, approved by valeski 1998-08-12 03:59:45 +00:00
jgellman%netscape.com 7493d1b4fd added ifdef's needed 1998-08-11 21:27:14 +00:00
jgellman%netscape.com f1d319ce75 got jwz's libmime changes building on windows 1998-08-11 21:24:29 +00:00
valeski%netscape.com 7e6f750228 added the transfer_encoding reset code to all builds (no longer #ifdef'd) and placed it everywhere we were doing content_encoding clearing. Also did some reformatting. Ran the transfer_encoding stuff by gagan. 1998-08-11 19:07:55 +00:00
valeski%netscape.com a1d79335a3 nglayout - clear the transfer encoding field in the url_s before doing a redirect so it doesn't interfer with the redirecting url stream selection 1998-08-11 05:19:03 +00:00
valeski%netscape.com c07f086539 another memory leak and formatting changes 1998-08-11 04:52:12 +00:00
valeski%netscape.com a587fbf475 someone forgot to add parenthesis which could cause memory leaks on redirects. Not anymore! Parenthesis added. 1998-08-11 02:59:31 +00:00
donm%netscape.com ba8400e0d7 Fixes Unix build problem with MOZ_COOKIEMANAGE and MOZ_SINGLESIGNON
flags turned on.  Approved by: Steve Morse
1998-08-10 20:38:26 +00:00
morse%netscape.com c09154ac62 fixed bug involving freeing of memory that was never allocated, reviewed by Pinkerton 1998-08-10 20:36:41 +00:00
waterson%netscape.com 7d6d0c2535 Added some info to the begin-session timing trace. 1998-08-09 20:32:48 +00:00
waterson%netscape.com e4563540c7 Modified timing macros to include MWContext parameter. 1998-08-09 20:32:30 +00:00
jwz%mozilla.org b0b51df865 oops, typo'ed an extra ";" that gcc doesn't like. 1998-08-09 06:02:27 +00:00
jwz%mozilla.org 6ce77c912a build and link against libmime (on Unix only, until I find some victims to
test things out on the other platforms.)
1998-08-09 03:53:14 +00:00
jwz%mozilla.org 65f8cfd443 in order to make libmime compile without libmsg, moved some
utility functions from libmsg/msgutil.c to new files
libxp/xp_linebuf.c and libnet/mkbuf.c:

	msg_GrowBuffer ==> XP_GrowBuffer
	msg_LineBuffer ==> XP_LineBuffer
	msg_ReBuffer ==> XP_ReBuffer
	msg_MakeRebufferingStream ==> NET_MakeRebufferingStream
1998-08-09 03:49:12 +00:00
cmanske%netscape.com f42a4d48f7 Fixed image loading problem in composer. Bug 312056. Reviewed and checkin permission by gagan 1998-08-08 01:23:26 +00:00
gagan%netscape.com 52de2988c8 Fix schtupid warning on schMac. 1998-08-07 06:24:05 +00:00
morse%netscape.com cc0b1cc693 fix build bustage on mac 1998-08-07 05:15:03 +00:00
morse%netscape.com ccfdae5aed alphabetize entries in viewers, put up nag boxes 1998-08-07 03:15:53 +00:00
guha%netscape.com e1aa427b2b pop in client 1998-08-05 22:47:23 +00:00
morse%netscape.com fbe932d725 fix minor bugs, alphabetize items in cookie viewer lists 1998-08-05 03:34:16 +00:00
warren%netscape.com ab6b8457c2 Fixed version umber for js3250.lib. 1998-08-05 01:33:36 +00:00
jgellman%netscape.com 48829a3a23 whups! cpp ifdefs aren't the same as nmake ifdefs! 1998-08-04 22:59:24 +00:00
waterson%netscape.com 146b7393cc Added timing/tracking for cache hits. 1998-08-04 22:55:25 +00:00
waterson%netscape.com 18f5085562 Fixed bustage that I'd missed while merging. 1998-08-04 19:44:07 +00:00
waterson%netscape.com 7de0f7bb02 Changes to timing to support clocks. Layout changes approved by toshok, netlib changes approved by gagan. 1998-08-04 19:35:56 +00:00
gagan%netscape.com e5cfe823bb Fix for 309403. Support for WebSTAR FTP server added. 1998-08-04 00:24:06 +00:00
gagan%netscape.com 112fe15914 Prefetching enabled and architechtural changes put in. Anchor tags for prefetching is deprecated. 1998-08-04 00:20:38 +00:00
dfm%netscape.com e057627cb0 Removed ifdefs from netlib privacy-policy code. Approved: gagan 1998-08-03 23:29:48 +00:00
guha%netscape.com 8acd4b32a9 More random mail stuff 1998-08-03 22:22:40 +00:00
guha%netscape.com b6afc1fc83 Additions for Pop mail. Approved by Judson.
(ifdefed out)
1998-08-01 23:17:45 +00:00
morse%netscape.com c66d97b762 changes for anonymous mode, reviewed by rdf 1998-08-01 15:00:35 +00:00
morse%netscape.com 03ee881e2f change for anonymous mode, reviewed by valeski 1998-08-01 14:52:41 +00:00
morse%netscape.com e9563747e3 changes for anonymous mode, reviewed by valeski 1998-08-01 14:51:15 +00:00
rpotts%netscape.com 1828fc0787 Disable NET_PollSockets(...) optimization until it works correctly... 1998-08-01 09:13:20 +00:00
scullin%netscape.com 9a9d0ae491 Fixed date struct overflow. 1998-07-30 23:30:10 +00:00
gagan%netscape.com 56f203be3e Fix for 309717 and 64550. 1998-07-30 02:32:48 +00:00
pierre%netscape.com b25994fed8 changed the 'modular' targets: removed cvpics.c, added cvmime.c and nsRelatedLinks.cp 1998-07-29 20:57:11 +00:00
scullin%netscape.com a486e293af Safety check our automatic context deleting. (NGLayout only) 1998-07-29 18:44:23 +00:00
waterson%netscape.com 2f000d17c4 Added runtime tracing calls. Approved by gagan. 1998-07-29 06:03:10 +00:00
rpotts%netscape.com 9db3e077af Removed all calls to NET_PollSockets(...). Netlib now does the polling itself... 1998-07-29 06:01:57 +00:00
rpotts%netscape.com 9f09525795 Removed the need for clients to explicitly call NET_PollSockets(...). This has been replaced with a timer based polling scheme 1998-07-29 06:01:11 +00:00
pierre%netscape.com 032faabdf6 raptor: added mkstream.c to the 'modular' targets 1998-07-28 04:09:06 +00:00
pinkerton%netscape.com c7c473a967 backing out dcone's addition of nsRelatedLinks.cpp to project. 1998-07-27 22:15:18 +00:00
dcone%netscape.com efe6b8c5c3 defined a mac WH_TempName for modular Netlib. Raptor change. 1998-07-27 19:53:51 +00:00
dcone%netscape.com 988b60cc75 turned on the compilation of mkstream.c 1998-07-27 19:50:40 +00:00
vidur%netscape.com 556620adc9 Added methods to nsINetService to get and set cookie string for a URL 1998-07-25 00:32:32 +00:00
vidur%netscape.com c2d3765031 Added PR_EXTERN_C macros necessry for Raptor 1998-07-24 23:52:27 +00:00
morse%netscape.com 587f3b3686 fix bug 309831, reviewed by gagan 1998-07-24 23:38:25 +00:00
rpotts%netscape.com 9ede9bad4b Get rid of some unix warnings... 1998-07-24 20:53:38 +00:00
kipp%netscape.com e988af4f91 Handle absolute url's better 1998-07-24 18:16:05 +00:00
rpotts%netscape.com bd11b1339b Added IStreamListener::OnStatus(...)... 1998-07-24 10:02:50 +00:00
scullin%netscape.com 9a44c2c7a9 Really fix cookies for modular netlib. 1998-07-24 01:34:52 +00:00
michaelp%netscape.com 37a8d1a2cb modified for new streaming APIs. 1998-07-23 20:43:08 +00:00
scullin%netscape.com 6fc4b09559 Fixed build bustage. I can't believe people are still adding context
functions. They should be shot.
1998-07-23 18:31:05 +00:00
kipp%netscape.com 5274ae4d4b Added in parsing for references 1998-07-22 23:38:20 +00:00
jevering%netscape.com 9856195741 Fixed build problem on NT 5.0 with null exports line. 1998-07-22 23:25:35 +00:00
rpotts%netscape.com c2ceac69d9 Allow OnDataAvailable(...) to abort a binding operation by returning an error code... 1998-07-22 11:21:27 +00:00
rpotts%netscape.com 99613a04b7 Removed some signed/unsigned warnings... 1998-07-22 11:20:37 +00:00
scullin%netscape.com 190657d936 Fix crash _and_ memory leak? Is it too much to hope? 1998-07-22 03:48:17 +00:00
scullin%netscape.com b463f1b1f2 Fix crash, leak again. 1998-07-22 02:56:50 +00:00
valeski%netscape.com 15c32afc12 299916. no longer sending gratuitus connection header if we don't need to. and no longer sending uname/password in referer fields (edge case bug) 1998-07-22 01:04:01 +00:00
valeski%netscape.com f1fb013e12 123018, changing http authentication mechanism. 1998-07-22 00:49:51 +00:00
scullin%netscape.com ca9b7dbb27 Fix context leakage. 1998-07-22 00:16:00 +00:00
dcone%netscape.com 0f8cfd1a14 Fixed build for this, took out files not needed. 1998-07-21 21:53:32 +00:00
scullin%netscape.com dc9bf0a612 Added rules to install/clobber resource gifs. 1998-07-21 21:22:25 +00:00
valeski%netscape.com 725e4fb159 switching a trace macro around 1998-07-21 20:40:03 +00:00
scullin%netscape.com 31eb618849 Hook up status remarks from netlib, add interface for prompts and alerts. 1998-07-21 20:27:59 +00:00
scullin%netscape.com 3ab6e1888d Use resource urls for icons, close stream on completion, and clean up
generated html, all only for nglayout.
1998-07-21 20:16:16 +00:00
scullin%netscape.com dae21314f9 Include different types table in nglayout that uses resource urls instead
of internal icons.
1998-07-21 20:14:50 +00:00
scullin%netscape.com f892889336 mkformat.c was inadvertantly resurrected by montulli, re-removing. 1998-07-21 20:12:47 +00:00
scullin%netscape.com ed51cd430d Internal news url type is obsolete, according to montulli. 1998-07-21 20:12:21 +00:00
scullin%netscape.com cea3dffe40 Fix to allow stderr tracing on windows. 1998-07-21 20:11:17 +00:00
scullin%netscape.com 74620825fb Add cvmime back into nglayout build. Not hooked up, though. 1998-07-21 20:10:27 +00:00
scullin%netscape.com 98322650d6 Comment out assert that's problematic for ftp without a disk cache. 1998-07-21 20:09:08 +00:00
scullin%netscape.com 219f72200e Icons for ftp/file directories. 1998-07-21 19:35:35 +00:00
scullin%netscape.com b576ffc9bb Allow multipe urls on command line.
NGLayout only.
1998-07-21 18:44:20 +00:00
scullin%netscape.com 98644e2ede These were inadvertantly resurrected by montulli. Moved to network/mimetype.
Not part of any build.
1998-07-21 18:38:21 +00:00
danm%netscape.com d2a500c994 fix leak in NET_FreeURLStruct r:gagan 1998-07-21 02:20:45 +00:00
cmanske%netscape.com 85d21b57cd Removed clearing of is_new_document flag so images loaded into Composer do not kill the new doc state 1998-07-21 01:57:59 +00:00
dfm%netscape.com 91d899a2d0 Landed privacy features from PRIVACY_BRANCH_070898; Transaction Receipts
and Privacy Policies are still switched off, so mozilla/privacy doesn't
build by default.
1998-07-20 18:40:09 +00:00
scullin%netscape.com c855876871 Moved from branch 1998-07-17 18:07:21 +00:00
kipp%netscape.com dd93d55ca2 Build win-dns too 1998-07-16 23:29:34 +00:00
kipp%netscape.com c5e45ddb7a Enable async-dns for windows in the modular netlib 1998-07-16 23:29:18 +00:00
kipp%netscape.com 0b121465fe updated a comment 1998-07-16 23:28:47 +00:00
kipp%netscape.com cd67436776 new 1998-07-16 23:28:21 +00:00
guha%netscape.com 6b558d9170 Fix for bug reported by Mr. Hickman 1998-07-16 18:22:23 +00:00
gagan%netscape.com 32f5863c06 Fix for bug #300506 and #300207. Incompatible cache formats between gromit and mozilla were causing the crash/asserts. Cleaning your cache before using this should fix everything. 1998-07-16 03:33:34 +00:00
guha%netscape.com 316cf197a2 Fix bug in related links 1998-07-16 00:10:48 +00:00
guha%netscape.com 3ddba08d73 Remove duplicates from related links 1998-07-15 23:39:14 +00:00
rpotts%netscape.com 14a8c49f35 Added nsIURL argument to the nsIStreamListener interface 1998-07-15 22:38:01 +00:00
jevering a46743fe6e Related links stuff.. Guha's related links code stolen from 4.5 and
spanked seriously.. then jammed into netlib.  Nice huh?
1998-07-15 18:44:26 +00:00
radha 6991f6ff53 Fix for Gromit SF1 in bug # 123826. COde reviewed by Judson Valeski.
Type of change:
--------------
Set the timer to call NET_ProcessNet() after a request for network access
is made. See bug report for more details.
1998-07-14 23:40:16 +00:00
kipp 7436c02a75 Hack around url parsing bug; urls that start with / are not absolute even if they contain a colon 1998-07-14 15:24:32 +00:00
scullin 874bc1a1d1 Fix UNIX link problems. 1998-07-14 00:57:49 +00:00
scullin 7e77c0ace3 Fix nglayout UNIX build? 1998-07-14 00:17:00 +00:00
scullin 235eb54976 Fix build? 1998-07-14 00:13:49 +00:00
scullin 7821802134 Re-enable normal netlib stream handling. Caching and chunking should
work now.
1998-07-13 23:43:13 +00:00
scullin 76fa011e7e Re-add mkstream to nglayout build, give a default value to memory
cache pref if defaults aren't loaded.
Approved, reviewed by ltabb.
1998-07-13 23:41:21 +00:00