442 Commits

Author SHA1 Message Date
ebina%netscape.com
a08fa2244d "This doesn't make it work, but it makes it 'better'" - Kipp
git-svn-id: svn://10.0.0.236/trunk@10321 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 22:08:35 +00:00
kipp%netscape.com
4e20f650e6 Register inet service so that the test works again
git-svn-id: svn://10.0.0.236/trunk@10317 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:33:14 +00:00
kipp%netscape.com
90becafe72 Fixed deref of unitialized memory bug in URLImpl::Open
git-svn-id: svn://10.0.0.236/trunk@10316 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 21:32:52 +00:00
valeski%netscape.com
22ce87e890 Now nulling out a variable that was causing a crash on url open.
git-svn-id: svn://10.0.0.236/trunk@10304 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 19:56:30 +00:00
morse%netscape.com
69565eea61 display domain name instead of host name if domain is setting a cookie
git-svn-id: svn://10.0.0.236/trunk@10261 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 10:30:45 +00:00
pierre%netscape.com
402408abd7 fixing mac build: renamed the factory entry point
git-svn-id: svn://10.0.0.236/trunk@10258 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:17:39 +00:00
pierre%netscape.com
882df377a4 added nsNetFactory
git-svn-id: svn://10.0.0.236/trunk@10256 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 09:16:23 +00:00
valeski%netscape.com
edf8a94dff ? 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.


git-svn-id: svn://10.0.0.236/trunk@10234 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-17 00:55:35 +00:00
morse%netscape.com
65c8c4221c second attempt to change Bool to PRBool
git-svn-id: svn://10.0.0.236/trunk@10185 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 20:18:05 +00:00
gagan%netscape.com
4643c44d68 Ooops.... Forgot the #ifdef NU_CACHE around this addition.
git-svn-id: svn://10.0.0.236/trunk@10142 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:23:21 +00:00
gagan%netscape.com
a93f248631 Initializing NuCacheProtocol instead of the MemCacheProtocol. Only in NuCache.
git-svn-id: svn://10.0.0.236/trunk@10141 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:20:18 +00:00
gagan%netscape.com
345fb3eadb 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.
git-svn-id: svn://10.0.0.236/trunk@10140 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:18:40 +00:00
gagan%netscape.com
58f88ff535 Miscellaneous changes for streams based objects. Added more comments.
git-svn-id: svn://10.0.0.236/trunk@10139 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:13:48 +00:00
gagan%netscape.com
1efbd33f60 Added class description comments.
git-svn-id: svn://10.0.0.236/trunk@10138 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:12:12 +00:00
gagan%netscape.com
dbeba878ff Added default comments to header files.
git-svn-id: svn://10.0.0.236/trunk@10137 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:10:01 +00:00
gagan%netscape.com
f5bf4b3144 Updated tests for nsMemStream testing.
git-svn-id: svn://10.0.0.236/trunk@10136 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:09:34 +00:00
gagan%netscape.com
2a8f50f5c9 Added URL_s updating for content_type, content_encoding, etc. Removed CacheObject_Destroy from complete which was messing up the objects.
git-svn-id: svn://10.0.0.236/trunk@10135 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:08:47 +00:00
gagan%netscape.com
37346ef741 Moved the nucacheprotoimpl stuff here.
git-svn-id: svn://10.0.0.236/trunk@10134 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:04:07 +00:00
gagan%netscape.com
119964e429 Removed nucacheproto from its own file to mkmemcac.c.
git-svn-id: svn://10.0.0.236/trunk@10133 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 10:03:41 +00:00
valeski%netscape.com
9287d6504d General memory repairs (leakage, freeing mismatched mem, umrs)
git-svn-id: svn://10.0.0.236/trunk@10125 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 07:17:34 +00:00
mcafee%netscape.com
981afce29a Fixing Linux breakage. r=valeski
git-svn-id: svn://10.0.0.236/trunk@10121 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 05:48:26 +00:00
mcafee%netscape.com
e0251b80be Uninitialized variable compiler warnings on Linux
git-svn-id: svn://10.0.0.236/trunk@10119 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 04:59:00 +00:00
valeski%netscape.com
faf12721d1 Fixing build bustage. c++ comments in c file
git-svn-id: svn://10.0.0.236/trunk@10117 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 02:39:16 +00:00
pierre%netscape.com
50d0c06aec fixed raptor build: added nsLoadAttribs.cpp to the 'modular' targets
git-svn-id: svn://10.0.0.236/trunk@10116 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 02:09:08 +00:00
valeski%netscape.com
8304001d60 ? 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().


git-svn-id: svn://10.0.0.236/trunk@10102 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:35:32 +00:00
gagan%netscape.com
75906a59fc Fix for bug # 323918.
git-svn-id: svn://10.0.0.236/trunk@10098 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-16 00:01:02 +00:00
raman%netscape.com
4ed88cebba Added some more preferences for AutoUpdate
git-svn-id: svn://10.0.0.236/trunk@9960 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-13 02:02:51 +00:00
kipp%netscape.com
fff296425d whitespace tweak
git-svn-id: svn://10.0.0.236/trunk@9954 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 19:31:10 +00:00
mcafee%netscape.com
dba7583631 Fixing Solaris bustage
git-svn-id: svn://10.0.0.236/trunk@9937 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:55:51 +00:00
mcafee%netscape.com
2c5daf4cc9 Solaris needs EOF character
git-svn-id: svn://10.0.0.236/trunk@9936 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 05:52:39 +00:00
rjc%netscape.com
6c49d37ebf Exported autoupdt.h to dist area.
git-svn-id: svn://10.0.0.236/trunk@9928 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:54:33 +00:00
rjc%netscape.com
921e6a3882 Control the autoupdate via prefereneces. Changes from raman. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9920 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:37:24 +00:00
rjc%netscape.com
9fd5f78185 Moved autoupdt code out od MOZ_SMARTUPDATE. Changes from raman. Reviewed by rjc
git-svn-id: svn://10.0.0.236/trunk@9919 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-12 02:37:01 +00:00
cls%seawood.org
d406d1f9c9 Sync'd.
git-svn-id: svn://10.0.0.236/trunk@9796 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-11 01:24:33 +00:00
morse%netscape.com
cd1fc89bea fix mac bustage
git-svn-id: svn://10.0.0.236/trunk@9783 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 23:02:23 +00:00
morse%netscape.com
5bde2697ba remove 'remember this decision' from signon nag box
git-svn-id: svn://10.0.0.236/trunk@9769 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 21:27:13 +00:00
gagan%netscape.com
3b534f76f8 Removed the silly useless parameter in NET_CleanUpCache.
git-svn-id: svn://10.0.0.236/trunk@9760 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:55:22 +00:00
gagan%netscape.com
4d5a191c8b cvs to be blamed for a bad merge. Moving to void parameter on NET_CleanupCache. Was giving errors on Mac.
git-svn-id: svn://10.0.0.236/trunk@9759 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:54:41 +00:00
gagan%netscape.com
ec0bf10c03 Remaining changes from Nu_Cache. Added nucacheproto.c/h.
git-svn-id: svn://10.0.0.236/trunk@9749 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:11:13 +00:00
gagan%netscape.com
14caf39fd4 Nu_cache leftover changes.
git-svn-id: svn://10.0.0.236/trunk@9747 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 20:00:57 +00:00
gagan%netscape.com
e621d4348a nu_cache changes.
git-svn-id: svn://10.0.0.236/trunk@9746 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:58:35 +00:00
gagan%netscape.com
79ca86c7de remaining changes from nu_cache.
git-svn-id: svn://10.0.0.236/trunk@9743 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 19:57:12 +00:00
valeski%netscape.com
c33b41f8cc fixing build bustage.
git-svn-id: svn://10.0.0.236/trunk@9709 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 03:28:20 +00:00
valeski%netscape.com
e0eaf7f00b 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.


git-svn-id: svn://10.0.0.236/trunk@9689 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:32:40 +00:00
valeski%netscape.com
78ea06c997 fixing compile warning
git-svn-id: svn://10.0.0.236/trunk@9686 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-10 00:08:33 +00:00
vidur%netscape.com
c63cdad1a0 Adjusted to change in signature for FE_SetRefreshURLTimer
git-svn-id: svn://10.0.0.236/trunk@9665 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 20:56:47 +00:00
pnunn%netscape.com
9f7e6c5e8a fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to Moz.
git-svn-id: svn://10.0.0.236/trunk@9646 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 19:11:22 +00:00
gagan%netscape.com
93979e7a13 Resetting cache_objects.
git-svn-id: svn://10.0.0.236/trunk@9591 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-09 02:19:30 +00:00
akkana%netscape.com
c93a7af987 Register type converters for mail compose. This makes "Send Page" work.
Approved by gagan.


git-svn-id: svn://10.0.0.236/trunk@9551 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 22:14:51 +00:00
raman%netscape.com
7d0b7c66d6 Added building of autoupdt.c
git-svn-id: svn://10.0.0.236/trunk@9539 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-08 21:00:51 +00:00