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

654 Коммитов

Автор SHA1 Сообщение Дата
gagan%netscape.com 1b2c02b833 Wrong version went in. Correcting. 1998-09-29 21:30:00 +00:00
gagan%netscape.com b9a3a75996 Inlined pref accessor/modifiers. 1998-09-29 21:18:53 +00:00
cyeh%netscape.com 007c8243a7 this file isn't used anymore and is very obsolete 1998-09-29 21:13:14 +00:00
cyeh%netscape.com 38486b6baf Remove old NSPR20 and MOCHA #ifdefs 1998-09-29 21:12:32 +00:00
cyeh%netscape.com eec5d10a4a Remove old NSPR20 #ifdefs 1998-09-29 21:02:23 +00:00
valeski%netscape.com 0d4d2b0658 we're now respecting the "Proxy-Connection: close" header. we used to ignore it and eventually discover that the connection had closed. Now we close it when asked to by the proxy. 1998-09-29 20:50:20 +00:00
pinkerton%netscape.com 1fff0d4271 Updated projects for Pro4. Turned off mod-date caching for depend builds. Using InterfacesStubs wrapper where appropriate for Carbon. 1998-09-29 17:11:00 +00:00
valeski%netscape.com 820ba8c388 Raptor only. Fix crasher. 1998-09-28 20:47:49 +00:00
gagan%netscape.com db3c059500 Prefs changes. 1998-09-28 20:42:58 +00:00
gagan%netscape.com 403f0fde80 Assertion added. 1998-09-28 20:34:28 +00:00
gagan%netscape.com 32c4eadcab Cache Prefs changes. All cache prefs are now read directly by NuCache. 1998-09-28 20:32:40 +00:00
gagan%netscape.com 57bcdca26e Prefs changes. All cache preferences are now read directly by NuCache. 1998-09-28 20:30:54 +00:00
morse%netscape.com e4641f4df5 fix bug 325820 1998-09-26 21:46:15 +00:00
rpotts%netscape.com a7c2bc1be9 Fix build bustage of MODULAR_NETLIB... 1998-09-25 23:08:21 +00:00
rpotts%netscape.com c48bbe1bc7 Added reference counting to modular netlib Contexts... 1998-09-25 22:24:32 +00:00
rpotts%netscape.com 4a2281dfda Added a proxy routine for net_CallexitRoutine(...) so it would be called on the correct thread at the proper time... 1998-09-25 22:24:09 +00:00
rpotts%netscape.com d5dfdad33d moved the define of NETLIB_THREAD out into config/config.mak 1998-09-25 22:22:32 +00:00
rpotts%netscape.com 0959ec3d2d changed the call to net_CallExitRoutine to net_CallExitRoutineProxy() so that if netlib is running in its own thread, the call can be dispatched to the correct thread... IF netlib is running in the mozilla thread, net_CallExitRoutine(...) is called directly. 1998-09-25 22:21:50 +00:00
mlm%netscape.com bad7e1142a Branch landing: Multithreading libmocha in mozilla.
- Add context parameter to LM_LockJS and friends.
1998-09-25 22:12:33 +00:00
mlm%netscape.com 6355bc6035 Branch landing: Multithreading libmocha in mozilla.
- Move jscookie.h to include directory.
- Add JS_BeginRequest and JS_EndRequest for thread safety.
1998-09-25 22:11:47 +00:00
mlm%netscape.com 4f9004db76 Branch landing: Multithreading in mozilla.
- Move JSCF_Execute to the mocha thread.
- Add JS_BeginRequest and JS_EndRequest for thread safety.
1998-09-25 22:10:49 +00:00
saari%netscape.com e024b28c9e MacOS only Modifications to StringLib. It now functions like the Unix version where we have all of the strings in a giant case statement instead of in resources. This is necessary for moving to Pro4 and reducing the number of resources in the Mac Navigator. 1998-09-25 14:45:53 +00:00
akkana%netscape.com cd464db8f4 Remove rosetta references from mail compose code 1998-09-24 21:46:32 +00:00
valeski%netscape.com 03a209d464 NGLayout only. Setting the default dirs for NS_NET_FILE to be rooted in the current working directory rather than hardcoded. 1998-09-23 23:29:25 +00:00
gagan%netscape.com 2b836dc799 Using NET_IsURLInCache instead of NET_IsURLInDiskCache and NET_IsURLInMemCache. 1998-09-23 06:06:18 +00:00
gagan%netscape.com 3c8046969c Added NET_IsURLInCache function. 1998-09-23 06:03:45 +00:00
gagan%netscape.com b0651c8db7 Correct check for memory objects. 1998-09-23 06:03:27 +00:00
gagan%netscape.com 3998f7fe7e Added NET_IsURLInCache function. This replaces most cases of NET_IsURLInMemCache || NET_IsURLInDiskCache. 1998-09-23 06:03:03 +00:00
gagan%netscape.com 16e7a2b00a Misc. changes. 1998-09-23 06:01:07 +00:00
gagan%netscape.com add3b6463e Removed m_Flag, replaced with state variable. 1998-09-23 06:00:45 +00:00
gagan%netscape.com 497c20cab9 Disk access for streams to file. 1998-09-23 06:00:13 +00:00
gagan%netscape.com 537738b5e8 Cache Object's state functions. 1998-09-23 05:59:04 +00:00
gagan%netscape.com 1f58ad4893 PRFileDesc instead of XP_file*. 1998-09-23 05:58:03 +00:00
gagan%netscape.com 77831a238e Added State accessor functions. 1998-09-23 05:57:06 +00:00
valeski%netscape.com d683bea0a8 added mkprefs.h to the makefile.in file. 1998-09-23 03:03:21 +00:00
cls%seawood.org 39b7c91072 Sync'd Makefile.ins 1998-09-22 23:01:29 +00:00
valeski%netscape.com 376dc6bfe3 mozilla - added mkprefs.h to the builds and replaced "*" pref strings with #defines.
nglayout - added get & set methods for http proxies to nsINetService.
1998-09-22 22:41:27 +00:00
wtc%netscape.com 96a6a02078 NO_NSPR_PRIVATE_HEADER_BRANCH landing. Removed the inclusions of
private NSPR headers (prosdep.h and primpl.h) from the Mozilla source.
The part of prosdep.h that is actually needed by Mozilla was extracted
and put in the new file mozilla/include/xp_path.h.
1998-09-22 16:59:57 +00:00
rpotts%netscape.com 08f706df27 Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...) 1998-09-22 07:03:54 +00:00
rpotts%netscape.com f18f85177c Move DNS initialization out to when Netlib is initialized. This ensures that the initialization takes place on the Netlib Thread. 1998-09-22 07:02:20 +00:00
raman%netscape.com 30ecf2e39d Create autoupdt directory if it doesn't exist 1998-09-22 04:15:00 +00:00
cls%seawood.org 62d121236f Sync'd Makefile.ins with corresponding Makefiles. Fixed problems with autoconf build. Thanks to Christopher Blizzard <blizzard@appliedtheory.com> and Tom Rini <trini@kernel.crashing.org>. 1998-09-22 03:47:27 +00:00
rpotts%netscape.com a1e3e65f01 Fixes for platforms where NETLIB_THREAD is not defined... only create proxies if NETLIB_THREAD is defined 1998-09-21 23:58:55 +00:00
pierre%netscape.com 0319f1ab5b fixed raptor build: added nsNetThread.cpp to the 'modular' targets 1998-09-21 23:45:52 +00:00
rpotts%netscape.com 28a407986c Moved the code to mangle resource: URLs into file: URLs out of the Url::Open(...) method and into the NetServiceManager... 1998-09-21 18:15:26 +00:00
rpotts%netscape.com 17e2437191 Added NPL and made the implementation threadsafe. 1998-09-20 05:56:41 +00:00
rpotts%netscape.com c570f1e633 Added NPL and fixed typo in GUID #define 1998-09-20 05:56:11 +00:00
rpotts%netscape.com 8d757a6b64 Fixed nettest to work with threaded netlib... 1998-09-20 05:13:42 +00:00
morse%netscape.com e62b32d8ea avoid js crash in cookie viewer if cookie->host or cookie->path contain a quote 1998-09-19 15:15:59 +00:00
mcafee%netscape.com a750166b23 Fixing Linux breakage 1998-09-19 08:42:51 +00:00
rpotts%netscape.com c61599860a Added new file nsNetThread.cpp 1998-09-19 07:09:45 +00:00
rpotts%netscape.com 6b62aa2d74 Added a new file nsNetThread.cpp and the NETLIB_THREAD define 1998-09-19 07:08:47 +00:00
rpotts%netscape.com ba3d5d328a 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 91656ea73f Added NSPR DLL to the link which is required for monitors... 1998-09-19 07:04:00 +00:00
rpotts%netscape.com 6b12f28940 made URLImpl threadsafe... 1998-09-19 07:03:19 +00:00
rpotts%netscape.com 685c1d1b7c 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 214e63f7ed Fixed the reference counting of the URL_Struct being held by the HttpUrl. 1998-09-19 07:00:29 +00:00
rpotts%netscape.com 17dd34ec69 new files which create a dedicated thread for netlib 1998-09-19 06:59:33 +00:00
rpotts%netscape.com 5f55a42ced Added correct NPL 1998-09-19 06:58:32 +00:00
rpotts%netscape.com 05b902c803 enabled thread-safe code which was previously only used when JAVA was defined. 1998-09-19 06:57:29 +00:00
gagan%netscape.com 6d4515bdc4 Streams fix for MemCache. 1998-09-18 05:49:47 +00:00
gagan%netscape.com ed5c25c058 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 ec67fe7c53 "This doesn't make it work, but it makes it 'better'" - Kipp 1998-09-17 22:08:35 +00:00
kipp%netscape.com 2f44ed8ee1 Register inet service so that the test works again 1998-09-17 21:33:14 +00:00
kipp%netscape.com 511247f78f Fixed deref of unitialized memory bug in URLImpl::Open 1998-09-17 21:32:52 +00:00
valeski%netscape.com c1b711408e Now nulling out a variable that was causing a crash on url open. 1998-09-17 19:56:30 +00:00
morse%netscape.com 54e31c00b0 display domain name instead of host name if domain is setting a cookie 1998-09-17 10:30:45 +00:00
pierre%netscape.com 63fad5200b fixing mac build: renamed the factory entry point 1998-09-17 09:17:39 +00:00
pierre%netscape.com e416b123db added nsNetFactory 1998-09-17 09:16:23 +00:00
valeski%netscape.com bab22077b8 ? 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 e72a74649c second attempt to change Bool to PRBool 1998-09-16 20:18:05 +00:00
gagan%netscape.com 375b63e858 Ooops.... Forgot the #ifdef NU_CACHE around this addition. 1998-09-16 10:23:21 +00:00
gagan%netscape.com 28161513a2 Initializing NuCacheProtocol instead of the MemCacheProtocol. Only in NuCache. 1998-09-16 10:20:18 +00:00
gagan%netscape.com dc7c56f42b 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 ef02d0cbf7 Miscellaneous changes for streams based objects. Added more comments. 1998-09-16 10:13:48 +00:00
gagan%netscape.com 8a2851d090 Added class description comments. 1998-09-16 10:12:12 +00:00
gagan%netscape.com e312e8a19d Added default comments to header files. 1998-09-16 10:10:01 +00:00
gagan%netscape.com d8fd6aa03f Updated tests for nsMemStream testing. 1998-09-16 10:09:34 +00:00
gagan%netscape.com 182ceecabe 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 c00277015f Moved the nucacheprotoimpl stuff here. 1998-09-16 10:04:07 +00:00
gagan%netscape.com 64f00b0f3c Removed nucacheproto from its own file to mkmemcac.c. 1998-09-16 10:03:41 +00:00
valeski%netscape.com 235357382b General memory repairs (leakage, freeing mismatched mem, umrs) 1998-09-16 07:17:34 +00:00
mcafee%netscape.com 8c7b38617a Fixing Linux breakage. r=valeski 1998-09-16 05:48:26 +00:00
mcafee%netscape.com a5b934d83b Uninitialized variable compiler warnings on Linux 1998-09-16 04:59:00 +00:00
valeski%netscape.com d25ce9aeb9 Fixing build bustage. c++ comments in c file 1998-09-16 02:39:16 +00:00
pierre%netscape.com e9bfaf4eda fixed raptor build: added nsLoadAttribs.cpp to the 'modular' targets 1998-09-16 02:09:08 +00:00
valeski%netscape.com 8bc9f6b3e5 ? 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 a540b2abf7 Fix for bug # 323918. 1998-09-16 00:01:02 +00:00
raman%netscape.com f49eb6d2b2 Added some more preferences for AutoUpdate 1998-09-13 02:02:51 +00:00
kipp%netscape.com d5502d087e whitespace tweak 1998-09-12 19:31:10 +00:00
mcafee%netscape.com cfa10d426d Fixing Solaris bustage 1998-09-12 05:55:51 +00:00
mcafee%netscape.com 4a931020d6 Solaris needs EOF character 1998-09-12 05:52:39 +00:00
rjc%netscape.com 2083b19aff Exported autoupdt.h to dist area. 1998-09-12 02:54:33 +00:00
rjc%netscape.com ac638a9651 Control the autoupdate via prefereneces. Changes from raman. Reviewed by rjc 1998-09-12 02:37:24 +00:00
rjc%netscape.com fe5ec96fd6 Moved autoupdt code out od MOZ_SMARTUPDATE. Changes from raman. Reviewed by rjc 1998-09-12 02:37:01 +00:00
cls%seawood.org d6219bdb2b Sync'd. 1998-09-11 01:24:33 +00:00
morse%netscape.com 5b9d478efe fix mac bustage 1998-09-10 23:02:23 +00:00
morse%netscape.com 82d0f7f157 remove 'remember this decision' from signon nag box 1998-09-10 21:27:13 +00:00
gagan%netscape.com a333974915 Removed the silly useless parameter in NET_CleanUpCache. 1998-09-10 20:55:22 +00:00
gagan%netscape.com 349108add4 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 a68dfaf6ec Remaining changes from Nu_Cache. Added nucacheproto.c/h. 1998-09-10 20:11:13 +00:00
gagan%netscape.com 6ac5b82560 Nu_cache leftover changes. 1998-09-10 20:00:57 +00:00
gagan%netscape.com 0c36334a81 nu_cache changes. 1998-09-10 19:58:35 +00:00
gagan%netscape.com 8eb9fd6fa9 remaining changes from nu_cache. 1998-09-10 19:57:12 +00:00
valeski%netscape.com 24d2cbf92b fixing build bustage. 1998-09-10 03:28:20 +00:00
valeski%netscape.com eb216ab0c2 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 9c061f1136 fixing compile warning 1998-09-10 00:08:33 +00:00
vidur%netscape.com e86eb9d216 Adjusted to change in signature for FE_SetRefreshURLTimer 1998-09-09 20:56:47 +00:00
pnunn%netscape.com 23327d8cb9 fix for #309770. Porting "RefreshURLTimer" fix from 4.06 to Moz. 1998-09-09 19:11:22 +00:00
gagan%netscape.com 1358f7ee83 Resetting cache_objects. 1998-09-09 02:19:30 +00:00
akkana%netscape.com 56e9b75334 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 402336f936 Added building of autoupdt.c 1998-09-08 21:00:51 +00:00
kipp%netscape.com 3a5caa94af Stub out fe routine so that app will link 1998-09-05 20:13:34 +00:00
cls%seawood.org 94d0672b0c Updated. 1998-09-05 10:25:13 +00:00
akkana%netscape.com 9368d69852 Mailto landing (ifdef MOZ_MAIL_COMPOSE). Approved by valeski. 1998-09-04 18:59:53 +00:00
pierre%netscape.com 7f5dd88910 set resourceBase to the magic string "usr/local/netscape/bin/" 1998-09-03 06:19:13 +00:00
sar%netscape.com 4780c5206f Smartupdate landing. Added autoinstl to project. 1998-09-02 19:19:51 +00:00
raman%netscape.com c2f26441cf Added a background/autoupdate pulling of URLs 1998-09-02 19:08:32 +00:00
raman%netscape.com 94c71eea30 Added a background, autoupdate pulling of URLs 1998-09-02 19:08:00 +00:00
cls%seawood.org 52c74ded1d 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 efc4421e7b enable trust labels for unix 1998-09-02 05:06:15 +00:00
valeski%netscape.com 7308624784 added net_xp_file.h to #include 1998-09-02 03:01:14 +00:00
mcafee%netscape.com 8c8b81fd84 Solaris wants EOF character, added comment for #endif. 1998-09-02 01:35:54 +00:00
valeski%netscape.com 827d7f1fe5 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 c764d0bf4e Sync'd Makefile.ins 1998-09-02 00:54:34 +00:00
rpotts%netscape.com 3ed30d363b Fixed return value from PerformNastyWindowsAsyncDNSHack(...) 1998-09-02 00:27:54 +00:00
pinkerton%netscape.com 42cd5b5865 turn on trust labels for mac. 1998-09-01 20:23:44 +00:00
pinkerton%netscape.com 1b6d31bd8f add mkaccess.h to dist 1998-09-01 20:22:23 +00:00
pinkerton%netscape.com daf1ee2a34 turn on trust labels on mac. 1998-09-01 20:21:19 +00:00
gagan%netscape.com 24a63a42a1 Changes from NuCache. Should'nt affect the build. 1998-09-01 20:00:07 +00:00
valeski%netscape.com b96d1b7784 xp_dir to pr_dir 1998-09-01 19:18:00 +00:00
valeski%netscape.com a858be150e adding net_xp_file.h to the list of exports 1998-09-01 18:59:17 +00:00
valeski%netscape.com 8c2a70ec0d this file adds a level of abstraction between netlib and xp_file routines. 1998-09-01 18:55:22 +00:00
ebina%netscape.com eb654c8114 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 f65058fecc fix bustage on all platforms 1998-08-30 16:42:20 +00:00
morse%netscape.com 0c2ddd9225 still trying to fix up mac 1998-08-30 15:59:53 +00:00
morse%netscape.com eaccbb83f6 one more attempt to clean up mac build 1998-08-30 15:43:56 +00:00
morse%netscape.com 9762f635fc I give up, backing out trust labels 1998-08-30 08:49:56 +00:00
morse%netscape.com d8b702b5c4 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 fbacae5a4b fix compile error 1998-08-30 06:01:22 +00:00
morse%netscape.com e96c77be7e *** empty log message *** 1998-08-30 05:54:08 +00:00
morse%netscape.com fac3e0ab83 attempt to fix bustage on the mac 1998-08-30 05:09:35 +00:00
morse%netscape.com 2b6d38fe3c added trust labels 1998-08-30 03:40:51 +00:00
morse%netscape.com a747f68910 mkaccess.h 1998-08-30 03:23:42 +00:00
morse%netscape.com fb6166a5c1 fixed background color on signon viewer 1998-08-30 03:22:40 +00:00
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
valeski%netscape.com e99ebbae97 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 427b7b0bb3 Fixed problem with mSpec being allocated with something other than PR_Malloc 1998-08-13 19:05:36 +00:00
rpotts%netscape.com ca2c7d9353 Fixed OnDataAvailable(...) to abort the stream if it returns a failure code... 1998-08-13 08:19:49 +00:00
vidur%netscape.com c9ac421d98 Added better handling of search component of URL. Added GetSearch() method to nsIURL. 1998-08-13 04:35:37 +00:00
michaelp%netscape.com ec31b76e60 fixed build. 1998-08-13 00:07:09 +00:00