rpotts%netscape.com
a2302d6ea3
Checked in some cheesy timebomb support until we can pull the timebomb vaules from all.js
...
git-svn-id: svn://10.0.0.236/trunk@13646 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-29 07:55:12 +00:00
rpotts%netscape.com
44d663eb20
Removed the container pointer from the nsConnectionInfo struct. The container is held by the nsIURL...
...
git-svn-id: svn://10.0.0.236/trunk@13629 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:40:51 +00:00
valeski%netscape.com
400853b281
fixed malformed user agent string. added GetUserAgent() method to nsINetService interface.
...
git-svn-id: svn://10.0.0.236/trunk@13624 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-28 21:12:50 +00:00
valeski%netscape.com
5cb570fb1f
long shot at fixing the build
...
git-svn-id: svn://10.0.0.236/trunk@13243 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 05:36:30 +00:00
cls%seawood.org
909945b91f
Sync'd various Makefile.ins to their Makefile counterparts.
...
Removed nspr & nspr20 from REQUIRES. Removed NSPR_LDFLAGS.
Changed LIBNSPR refs to NSPR_LIBS.
Removed leftover NSPR20 ifdefs.
git-svn-id: svn://10.0.0.236/trunk@13233 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-21 02:13:56 +00:00
valeski%netscape.com
749291404c
setting WIN32_LEAN_AND_MEAN as a compiler define for windows builds.
...
git-svn-id: svn://10.0.0.236/trunk@13228 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-20 23:17:58 +00:00
rpotts%netscape.com
f6ecab2fe9
Added support for interrupting streams via the nsINetService::InterruptStream() method.
...
git-svn-id: svn://10.0.0.236/trunk@13043 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:44:20 +00:00
rpotts%netscape.com
ec3d7d579a
Added support for interrupting streams via the nsINetService::InterruptStream() method.
...
git-svn-id: svn://10.0.0.236/trunk@13033 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-16 22:20:05 +00:00
rpotts%netscape.com
3c6600b488
Create an initial LoadAttributes instance.
...
git-svn-id: svn://10.0.0.236/trunk@12515 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:57:18 +00:00
rpotts%netscape.com
433fa79a05
Added a load type and reload type to the nsILoadAttribs interface and underlying implementation...
...
git-svn-id: svn://10.0.0.236/trunk@12502 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-10 04:32:18 +00:00
rpotts%netscape.com
bac0341f1d
temporary fix to get unix building again... Get rid of the constness before calling PR_Free(...)
...
git-svn-id: svn://10.0.0.236/trunk@12267 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-08 05:06:30 +00:00
valeski%netscape.com
5a91e6e10a
Removed the nsINetContainerApplication interface. The methods that were part of this interface are now implemented by nsINetService.
...
Changed mozilla\network\module\makefiles so they no longer export nsINetContainerApplication.h.
M dom/src/base/nsGlobalWindow.cpp
Changed javascript so it retreives the user-agent tokens via nsINetService.
M network/module/nsINetService.h
Added the application user-agent token methods to the nsINetService interface.
M network/module/nsNetFactory.cpp
The netservice constructor no longer takes a pointer to a nsINetContainerApplication.
M network/module/nsNetService.cpp
M network/module/nsNetService.h
Added the implementation of the application user-agent token methods.
M webshell/tests/viewer/nsViewerApp.cpp
M webshell/tests/viewer/nsViewerApp.h
Removed old containerapplication implementation
M xpfe/xpviewer/src/nsViewerApp.cpp
M xpfe/xpviewer/src/nsViewerApp.h
Removed old containerapplication implementation
git-svn-id: svn://10.0.0.236/trunk@12240 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-07 23:19:39 +00:00
rpotts%netscape.com
1a35e3c209
Added an include for <windows.h> to declare the InterlockedIncrement/Decrement APIs which are now used in the Win32 threadsafe ISupports implementation...
...
git-svn-id: svn://10.0.0.236/trunk@12034 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:17:25 +00:00
rpotts%netscape.com
f0011a1546
Changed the proxy routines to only call via PL_Events when needed (ie a thread boundary will be crossed...)
...
git-svn-id: svn://10.0.0.236/trunk@12033 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 06:15:47 +00:00
pierre%netscape.com
eae35a983d
fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions
...
git-svn-id: svn://10.0.0.236/trunk@12017 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-06 03:00:28 +00:00
rpotts%netscape.com
900e52ffbe
Added a Clone(...) method.
...
git-svn-id: svn://10.0.0.236/trunk@11692 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:37:32 +00:00
rpotts%netscape.com
74c9fed21f
Added nsIURLGroup interface...
...
git-svn-id: svn://10.0.0.236/trunk@11690 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 21:36:57 +00:00
pierre%netscape.com
df1f7f1a55
Raptor only. Display images on Mac.
...
git-svn-id: svn://10.0.0.236/trunk@11674 18797224-902f-48f8-a5cc-f745e15eee43
1998-10-01 19:17:51 +00:00
valeski%netscape.com
373f454837
Added get/set methods to nsINetService interface for http request version manipulation. You can specify whether or not you want 1.1 or 1.0.
...
git-svn-id: svn://10.0.0.236/trunk@11464 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-29 22:43:32 +00:00
valeski%netscape.com
62f772cb7b
Raptor only. Fix crasher.
...
git-svn-id: svn://10.0.0.236/trunk@11265 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-28 20:47:49 +00:00
rpotts%netscape.com
341298f9e8
Added reference counting to modular netlib Contexts...
...
git-svn-id: svn://10.0.0.236/trunk@11104 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:32 +00:00
rpotts%netscape.com
2f92cab9c9
Added a proxy routine for net_CallexitRoutine(...) so it would be called on the correct thread at the proper time...
...
git-svn-id: svn://10.0.0.236/trunk@11103 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:24:09 +00:00
rpotts%netscape.com
27c06f1cd0
moved the define of NETLIB_THREAD out into config/config.mak
...
git-svn-id: svn://10.0.0.236/trunk@11099 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-25 22:22:32 +00:00
valeski%netscape.com
cee7486dc6
NGLayout only. Setting the default dirs for NS_NET_FILE to be rooted in the current working directory rather than hardcoded.
...
git-svn-id: svn://10.0.0.236/trunk@10855 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-23 23:29:25 +00:00
cls%seawood.org
e6336bfaee
Sync'd Makefile.ins
...
git-svn-id: svn://10.0.0.236/trunk@10718 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 23:01:29 +00:00
valeski%netscape.com
cea5b8a6ec
mozilla - added mkprefs.h to the builds and replaced "*" pref strings with #defines.
...
nglayout - added get & set methods for http proxies to nsINetService.
git-svn-id: svn://10.0.0.236/trunk@10714 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 22:41:27 +00:00
rpotts%netscape.com
fb2abb314f
Initialize Async DNS during the rest of the netlib initialization. This will take place on the netlib thread (where appropriate...)
...
git-svn-id: svn://10.0.0.236/trunk@10687 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 07:03:54 +00:00
cls%seawood.org
8039a94c6a
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>.
...
git-svn-id: svn://10.0.0.236/trunk@10673 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-22 03:47:27 +00:00
rpotts%netscape.com
bba6403a16
Fixes for platforms where NETLIB_THREAD is not defined... only create proxies if NETLIB_THREAD is defined
...
git-svn-id: svn://10.0.0.236/trunk@10638 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 23:58:55 +00:00
rpotts%netscape.com
34d304090c
Moved the code to mangle resource: URLs into file: URLs out of the Url::Open(...) method and into the NetServiceManager...
...
git-svn-id: svn://10.0.0.236/trunk@10592 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-21 18:15:26 +00:00
rpotts%netscape.com
ca38b8546f
Added NPL and made the implementation threadsafe.
...
git-svn-id: svn://10.0.0.236/trunk@10535 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:41 +00:00
rpotts%netscape.com
32ede4839b
Added NPL and fixed typo in GUID #define
...
git-svn-id: svn://10.0.0.236/trunk@10534 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:56:11 +00:00
rpotts%netscape.com
d0c8f23dbc
Fixed nettest to work with threaded netlib...
...
git-svn-id: svn://10.0.0.236/trunk@10531 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-20 05:13:42 +00:00
mcafee%netscape.com
4a2e9a7966
Fixing Linux breakage
...
git-svn-id: svn://10.0.0.236/trunk@10512 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 08:42:51 +00:00
rpotts%netscape.com
9bda26caf9
Added new file nsNetThread.cpp
...
git-svn-id: svn://10.0.0.236/trunk@10506 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:09:45 +00:00
rpotts%netscape.com
5d24c277c9
Added a new file nsNetThread.cpp and the NETLIB_THREAD define
...
git-svn-id: svn://10.0.0.236/trunk@10505 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:47 +00:00
rpotts%netscape.com
dc73b41e94
changed the nsNetService to create a dedicated thread for netlib (on windows only for now)
...
git-svn-id: svn://10.0.0.236/trunk@10504 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:08:09 +00:00
rpotts%netscape.com
39dc7e01c5
Added NSPR DLL to the link which is required for monitors...
...
git-svn-id: svn://10.0.0.236/trunk@10501 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:04:00 +00:00
rpotts%netscape.com
97fe271a46
made URLImpl threadsafe...
...
git-svn-id: svn://10.0.0.236/trunk@10500 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:03:19 +00:00
rpotts%netscape.com
da9754e0a3
Made the netlib blocking stream work correctly when netlib is running on its own thread
...
git-svn-id: svn://10.0.0.236/trunk@10499 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:02:25 +00:00
rpotts%netscape.com
7ba26a9d15
Fixed the reference counting of the URL_Struct being held by the HttpUrl.
...
git-svn-id: svn://10.0.0.236/trunk@10498 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 07:00:29 +00:00
rpotts%netscape.com
9536efd914
new files which create a dedicated thread for netlib
...
git-svn-id: svn://10.0.0.236/trunk@10497 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:59:33 +00:00
rpotts%netscape.com
e5b7068791
Added correct NPL
...
git-svn-id: svn://10.0.0.236/trunk@10495 18797224-902f-48f8-a5cc-f745e15eee43
1998-09-19 06:58:32 +00:00
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
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
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
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