mcmullen%netscape.com
2bcec516cb
Since I changed prefapi.h to use prtypes instead of the obsolete XP_ things, I have to change calls to match.
...
git-svn-id: svn://10.0.0.236/trunk@26084 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 20:41:58 +00:00
hyatt%netscape.com
790ed197d4
Landing changes to support chrome URLs in netlib. Approved by dp.
...
git-svn-id: svn://10.0.0.236/trunk@26053 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-02 19:05:52 +00:00
dp%netscape.com
daf4c4e183
Unix Only:
...
XPCOM was being initialized from a static initializer in netlib.
Removed the static inializer. This will get xpcom to be initialized
after main() not before it.
git-svn-id: svn://10.0.0.236/trunk@25834 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-01 07:48:25 +00:00
ramiro%netscape.com
52ef5e02cd
delete vs. delete[] vs. free fixes.
...
Thanks to "Bruce Mitchener, Jr." <bruce@cybersight.com for finding all these
and making patches.
git-svn-id: svn://10.0.0.236/trunk@25592 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-30 05:26:59 +00:00
hshaw%netscape.com
9748f5857f
Backout M3 Bug #1542 changes (to go on branch) mkgeturl.h mkgeturl.c nsNetService.cpp
...
git-svn-id: svn://10.0.0.236/trunk@24269 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 20:21:31 +00:00
hshaw%netscape.com
e0b10672b7
Timebomb workaround for static initialization of netlib, M3 Bug #1542
...
git-svn-id: svn://10.0.0.236/trunk@24267 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-17 19:25:22 +00:00
gagan%netscape.com
a7bed3561d
Fix for 1742. There is a bigger bug hiding behind this one... its about file:// urls. It needs to be revisited later.
...
git-svn-id: svn://10.0.0.236/trunk@24207 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-16 07:45:16 +00:00
ramiro%netscape.com
9407081b70
Change MOZILLA_HOME to MOZILLA_FIVE_HOME so that we dont fight Communicator
...
4.x installations.
git-svn-id: svn://10.0.0.236/trunk@23728 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-11 20:00:57 +00:00
warren%netscape.com
0b33372d99
nsRepository -> nsIComponentManager changes.
...
git-svn-id: svn://10.0.0.236/trunk@23300 18797224-902f-48f8-a5cc-f745e15eee43
1999-03-09 09:44:27 +00:00
mscott%netscape.com
36c56bfc85
Add the ability to open a file based socket. (Part of the nsITransport) code....
...
git-svn-id: svn://10.0.0.236/trunk@20343 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:59:53 +00:00
kipp%netscape.com
c0eabe2017
Removed some warnings; made the resource noise a one-shot
...
git-svn-id: svn://10.0.0.236/trunk@20341 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-11 02:53:38 +00:00
morse%netscape.com
235d8d73b9
removed single-signon dependency on lo_ele.h and MWContext
...
git-svn-id: svn://10.0.0.236/trunk@19876 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 22:05:59 +00:00
mscott%netscape.com
083638a290
When interrupting a url, query for the nsINetlibURL interface and not the nsIProtocolConnection interface. The http url only supports the first interface and not the later. Both interfaces have the same method though...we could probably scrap nsIProtocolConnection....
...
git-svn-id: svn://10.0.0.236/trunk@19783 18797224-902f-48f8-a5cc-f745e15eee43
1999-02-05 01:12:41 +00:00
mscott%netscape.com
f92f31446c
Add socket transport support to the nsINetService interface.
...
git-svn-id: svn://10.0.0.236/trunk@18883 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-28 01:57:30 +00:00
gagan%netscape.com
fe96f1475e
Replaced default 4.05 with 5.0 for User agent string.
...
git-svn-id: svn://10.0.0.236/trunk@18734 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-27 04:28:34 +00:00
mcmullen%netscape.com
9b9be1867f
Fixed some warnings.Added all the nucache files to the memory module project (as a group) so that NU_CACHE can be turned on with a flick of the wrist, made the modular memory library build with the NU_CACHE flag turned on, fixed build warnings and errors. The NU_CACHE flag is still OFF, because the database code doesn't exist for Macintosh or Unix :-(
...
git-svn-id: svn://10.0.0.236/trunk@17782 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 23:27:27 +00:00
rpotts%netscape.com
2c59a6eb70
Add some code that was lost from nsURL.cpp OpenStream(...). Use the nsIURLGroup if available to open the stream. This allows URL loads to be grouped together.
...
git-svn-id: svn://10.0.0.236/trunk@17710 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-14 06:12:36 +00:00
dougt%netscape.com
f0390cbaba
Added Byte-Range Support.
...
git-svn-id: svn://10.0.0.236/trunk@17437 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-09 01:16:40 +00:00
rpotts%netscape.com
ae0b875228
Added some null ptr tests to net new EventQueueService code...
...
git-svn-id: svn://10.0.0.236/trunk@17307 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-07 07:06:59 +00:00
dougt%netscape.com
70b72261c8
Exposing AreThereActiveConnections() from the nsNetServices class. This is
...
so that we can tell if netlib is busy without having to be compiled with it.
git-svn-id: svn://10.0.0.236/trunk@17183 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 21:11:42 +00:00
rpotts%netscape.com
7404fe4fa5
use the new EventQueueService to obtain the event queue used for marshalling data over to the UI thread...
...
git-svn-id: svn://10.0.0.236/trunk@17159 18797224-902f-48f8-a5cc-f745e15eee43
1999-01-05 09:51:28 +00:00
morse%netscape.com
e6905cd686
fix mac bustage
...
git-svn-id: svn://10.0.0.236/trunk@16983 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 02:25:05 +00:00
morse%netscape.com
ab6c2fa557
interfaces for routines need by privacy module
...
git-svn-id: svn://10.0.0.236/trunk@16972 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-30 00:20:46 +00:00
troy%netscape.com
62065135d1
Fixed memory leak in NS_MakeAbsoluteURL()
...
git-svn-id: svn://10.0.0.236/trunk@16920 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:22:57 +00:00
troy%netscape.com
cdbdb080a4
Fixed memory leak in ToString()
...
git-svn-id: svn://10.0.0.236/trunk@16917 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-29 01:03:26 +00:00
warren%netscape.com
5f54c1af03
Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener.
...
git-svn-id: svn://10.0.0.236/trunk@16495 18797224-902f-48f8-a5cc-f745e15eee43
1998-12-16 05:40:20 +00:00
kipp%netscape.com
5390fd74b1
Disabled the timebomb on the tip
...
git-svn-id: svn://10.0.0.236/trunk@15378 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-27 15:54:14 +00:00
joki%netscape.com
196391fbbd
Send a reasonable value for the JS useragent on Windows.
...
git-svn-id: svn://10.0.0.236/trunk@15225 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 02:29:46 +00:00
cyeh%netscape.com
49dfdd1b63
activate timebomb for technology demonstration.
...
THIS NEEDS TO BE REMOVED LATER
git-svn-id: svn://10.0.0.236/trunk@15211 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-24 01:08:47 +00:00
mcmullen%netscape.com
3914646b67
Fixed some warnings.
...
git-svn-id: svn://10.0.0.236/trunk@14887 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 20:49:15 +00:00
morse%netscape.com
8b86d09e16
update for single signon
...
git-svn-id: svn://10.0.0.236/trunk@14859 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-18 04:38:13 +00:00
akkana%netscape.com
64e5b75a45
Put back the old pwd code; otherwise it crashes if MOZILLA_HOME isn't set
...
git-svn-id: svn://10.0.0.236/trunk@14572 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-13 02:49:19 +00:00
rpotts%netscape.com
1d0fead886
fix bug #1112 . Added support for multipart/x-mixed-replace content type
...
git-svn-id: svn://10.0.0.236/trunk@14130 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-05 05:37:02 +00:00
valeski%netscape.com
90665d4586
fix for bugzilla 1219
...
git-svn-id: svn://10.0.0.236/trunk@14085 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 18:37:10 +00:00
ramiro%netscape.com
713b176c77
oops. Should use PR_GetEnv() instead of getenv().
...
git-svn-id: svn://10.0.0.236/trunk@14075 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 13:34:36 +00:00
ramiro%netscape.com
928e03821e
XP_UNIX only. Unhardcode the resource: url base path. It used to be the
...
working directory (pwd) which is not very useful. Use MOZILLA_HOME instead.
git-svn-id: svn://10.0.0.236/trunk@14073 18797224-902f-48f8-a5cc-f745e15eee43
1998-11-04 10:31:32 +00:00
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
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
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
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
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
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
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
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
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