Commit Graph

392 Commits

Author SHA1 Message Date
warren%netscape.com
4b2d56fbaa nsRepository -> nsIComponentManager changes. 1999-03-09 09:44:27 +00:00
mscott%netscape.com
ad915c754c Move read/write file io stream changes....Read and write no longer take offsets... 1999-03-07 21:21:25 +00:00
mcmullen%netscape.com
2ac9435ff3 More lurking calls to Read() with the old API. 1999-03-06 02:38:27 +00:00
cyeh%netscape.com
b27fdb082f fix pdb file generation so that the go into $(OBJDIR) and also
have more useful names other than "none.pdb". some cleanup remains.
1999-03-05 23:24:48 +00:00
mcmullen%netscape.com
9798175c73 Removed the offset parameter from the base stream interfaces. Implemented string streams. 1999-03-05 22:53:56 +00:00
mcafee%netscape.com
87892281ff Uninitialized variables 1999-03-05 04:40:14 +00:00
kipp%netscape.com
58cffeb8c0 Clean up query-interface; attempt to work around bug (failed; left some commentary in to help the netlib crew) 1999-03-05 04:35:37 +00:00
scc%netscape.com
2ec0a397ea rename |IID()| --> |GetIID()| 1999-03-03 19:48:57 +00:00
ebina%netscape.com
38b464566c Changing RegisterFactory to use the new API. 1999-02-26 17:19:00 +00:00
warren%netscape.com
44cae3cd3f Changes for RDF component registration using nsRepository. Also changed args to NSGetFactory and friends. 1999-02-26 10:17:14 +00:00
kipp%netscape.com
2088ef6999 Avoid crashing if the url doesn't have a container 1999-02-25 16:43:17 +00:00
sdagley%netscape.com
e0e1b47cbc Fix bugzilla bug #2568 nsHttpUrlImpl::GetContainer was always returning with NS_OK even if the container is nil. After discussing it with rpotts I've changed it to return NS_ERROR_UNEXPECTED if mContainer is nil which fixes the Mac crash (calling QueryInterface on a nil container is probably bad everywhere though). 1999-02-25 01:28:24 +00:00
mcafee%netscape.com
c2f574d147 Yanking fe_GetConfigDir() which is now in prefs. 1999-02-19 13:34:20 +00:00
ebina%netscape.com
0bffef2fc0 Have generic text, image, and application look for plugins in
NET_PluginStream
1999-02-18 17:14:25 +00:00
mscott%netscape.com
c089e3d938 Adding ::IID() methods to these interfaces... 1999-02-18 00:34:33 +00:00
kipp%netscape.com
52afc2c4c6 Fix mac build issue 1999-02-17 19:24:02 +00:00
troy%netscape.com
b92726dd0f Fixed a ref counting problem and added a cast so we're pointing at the
object and not the interface in function Equals()
1999-02-12 04:26:43 +00:00
mscott%netscape.com
435e274507 Add the ability to open a file based socket. (Part of the nsITransport) code.... 1999-02-11 02:59:53 +00:00
mscott%netscape.com
34b1e85458 Added code to make a file based socket transport. nsSocketTransport can now open a file or a network based socket.
When opening a url through a transport, convert the application url scheme to either file or 'sockstub' based on the type
of socket connection.
1999-02-11 02:56:58 +00:00
kipp%netscape.com
0217b5dbb4 Removed some warnings; made the resource noise a one-shot 1999-02-11 02:53:38 +00:00
dp%netscape.com
81c281f428 Adding libreg as xpcom depends on it 1999-02-10 02:01:50 +00:00
mcafee%netscape.com
25369007bc nettest now builds on Solaris 1999-02-07 21:55:34 +00:00
morse%netscape.com
aabe3e8b27 removed single-signon dependency on lo_ele.h and MWContext 1999-02-05 22:05:59 +00:00
mscott%netscape.com
628d17297c 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.... 1999-02-05 01:12:41 +00:00
mscott%netscape.com
7d5b5f344c Use new open call on the transport instead of LoadUrl.... 1999-02-05 00:51:28 +00:00
mscott%netscape.com
7c98230114 support the open inteface. Add ability to close a socket without closing the transport.
cleaned up the destructor to release some interfaces it wasn't releasing before..
1999-02-04 23:50:37 +00:00
vidur%netscape.com
ec4594cb9b Added temporary handling for about: URLs in HTTP url code 1999-02-03 19:36:24 +00:00
michaelp%netscape.com
07f4a212b3 kill related links and single signon (for now). 1999-02-02 19:26:42 +00:00
kipp%netscape.com
96926732c3 Removed call to RL_Init 1999-02-02 17:36:46 +00:00
kipp%netscape.com
fd4c0ae7b3 Stop building related links junk 1999-02-02 17:36:31 +00:00
alecf%netscape.com
5f5802f623 implement generic Netlib main loop for non-PC platforms 1999-02-02 07:58:39 +00:00
alecf%netscape.com
bc55677bba make this thread safer by addreffing it before storing the variable
Also check pURL before dereferencing
1999-02-02 07:57:56 +00:00
mcafee%netscape.com
d9f360bf18 Ignore generated nettest executable 1999-02-02 06:17:14 +00:00
alecf%netscape.com
94af0d03e7 rename old MOZ_MAIL_NEWS macro to OLD_MOZ_MAIL_NEWS so that we can turn on MOZ_MAIL_NEWS flag to build the whole client 1999-02-02 04:13:24 +00:00
mcafee%netscape.com
d9f7993357 Removing unnecessary rules 1999-01-31 10:06:38 +00:00
mscott%netscape.com
6377e3a655 *sigh* I checked in the same change twice...(added sockstuburl twice) removing one of the ocurrences... 1999-01-28 02:34:50 +00:00
mscott%netscape.com
160af16727 The real check in to build with sockstub
CVSi ----------------------------------------------------------------------
1999-01-28 02:23:01 +00:00
mscott%netscape.com
2f7268e175 Link with sockstub url directory 1999-01-28 02:12:09 +00:00
mscott%netscape.com
3f0c9d8f46 Initialize sockstub protocol when starting up the netlib thread. 1999-01-28 01:57:58 +00:00
mscott%netscape.com
02cedbd20b Add socket transport support to the nsINetService interface. 1999-01-28 01:57:30 +00:00
mscott%netscape.com
0963740ab9 Add support for transport interface. 1999-01-28 01:56:50 +00:00
mscott%netscape.com
5b16c58aaa Register sockstub protocol. 1999-01-28 01:56:20 +00:00
mscott%netscape.com
45d6b30fe5 Build nsSocketTransport. 1999-01-28 01:55:40 +00:00
mscott%netscape.com
e2bd42bd14 Build nsTransportSocket 1999-01-28 01:54:04 +00:00
ducarroz%netscape.com
f4285cee13 Added nsSocketTransport.h 1999-01-28 01:50:36 +00:00
slamm%netscape.com
b1a5887a71 Use TK_LIBS instead of TK_GTK_LIBS and clean up the makefile a bit 1999-01-27 19:52:45 +00:00
gagan%netscape.com
00d7f6af59 Replaced default 4.05 with 5.0 for User agent string. 1999-01-27 04:28:34 +00:00
gagan%netscape.com
f69b15285e Fix for 2107. 1999-01-26 07:23:51 +00:00
mscott%netscape.com
7871624541 Include netutils.h before including mktcp.h for Linux build. 1999-01-25 23:08:27 +00:00
mscott%netscape.com
204f07d111 Test app for verifying the socket implmeentation of nsITransport. (not currently being built by any of the public makefiles) 1999-01-25 19:42:32 +00:00
mscott%netscape.com
410d14bb55 socket implementation of the transport interface. (not currently being built by checked in makefiles) 1999-01-25 19:10:04 +00:00
sudu%netscape.com
c94385ee94 OJI MozClassic to raptor merge 1999-01-25 08:05:00 +00:00
gagan%netscape.com
e61cef1f35 See diffs. Thanks wtc. 1999-01-23 06:15:22 +00:00
radha%netscape.com
7dcfd26799 Don't need that gWebShell_UnixEventQueue anymore. Unix uses the event queue
service just like XP_PC
1999-01-23 00:50:08 +00:00
mcafee%netscape.com
ff0bc214f8 Better link line, closer to linking... 1999-01-22 11:19:42 +00:00
mcafee%netscape.com
3f29f4d579 Unhard-coded library suffixes, yanked rules that are already in rules.mk 1999-01-22 11:11:16 +00:00
mcafee%netscape.com
0ea83f846e Removing unneeded rule, we are closer to linking now 1999-01-22 11:05:34 +00:00
mcafee%netscape.com
d7cac94daa Add tests if ENABLE_TESTS=1, cleaning up a bit 1999-01-22 11:05:00 +00:00
mscott%netscape.com
5acad2a25f Checking in the real fix for nsBufferedStream this time... 1999-01-22 01:46:37 +00:00
mscott%netscape.com
f97c320ffb nsBufferedStream::GetLength should return the data length instead of the write offset. 1999-01-22 01:35:44 +00:00
rpotts%netscape.com
d425ad9a24 Always fire the OnStopBinding() notification... Even if a previous call to the stream listener returned an error... 1999-01-15 10:23:32 +00:00
kipp%netscape.com
ea077d77d9 Fix build bustage 1999-01-15 01:01:39 +00:00
mcmullen%netscape.com
5355b8f907 Fix build bustage 1999-01-15 00:57:14 +00:00
mcmullen%netscape.com
331c150d47 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 :-( 1999-01-14 23:27:36 +00:00
mcmullen%netscape.com
36523a3489 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 :-( 1999-01-14 23:27:27 +00:00
mcmullen%netscape.com
df728321d8 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 :-( 1999-01-14 23:21:06 +00:00
mcmullen%netscape.com
349c48b044 First Checked In. 1999-01-14 19:46:11 +00:00
rpotts%netscape.com
20d092c7b8 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. 1999-01-14 06:12:36 +00:00
rpotts%netscape.com
9d1c0761c5 If no range headers are set then return NULL from GetByteRangeHeader() not an empty string... 1999-01-13 07:17:39 +00:00
ebina%netscape.com
74ac3d86af Add the gzip decoder back in. 1999-01-13 01:43:28 +00:00
ebina%netscape.com
6e88931482 Once I turn on automatic decompressing gain we will have a dependency
on the zip library here.
1999-01-13 00:19:29 +00:00
dougt%netscape.com
3dda89dc13 Added GetContentLength and GetServerStatus to nsIURL class 1999-01-12 19:45:46 +00:00
dougt%netscape.com
66f36fba6d Added Byte-Range Support. 1999-01-09 01:16:40 +00:00
rpotts%netscape.com
3f7f18ae47 Changed over to the EventQueueService... 1999-01-07 07:15:02 +00:00
rpotts%netscape.com
0a148aa16f Added some null ptr tests to net new EventQueueService code... 1999-01-07 07:06:59 +00:00
dougt%netscape.com
250a4716f8 Exposing AreThereActiveConnections() from the nsNetServices class. This is
so that we can tell if netlib is busy without having to be compiled with it.
1999-01-05 21:11:42 +00:00
rpotts%netscape.com
6037b8f2c5 use the new EventQueueService to obtain the event queue used for marshalling data over to the UI thread... 1999-01-05 09:51:28 +00:00
leaf%mozilla.org
a2dc7d1334 applying patches from Joe Keane <jgk@jgk.org> changing gets to fgets 1999-01-01 02:47:52 +00:00
brade%netscape.com
7c2aa0f8a3 make several functions PRIVATE to reduce compiler warnings on Macintosh 1998-12-30 16:06:22 +00:00
brade%netscape.com
91e57f777e add #includes and prototypes to reduce compiler warnings on Macintosh 1998-12-30 16:05:27 +00:00
brade%netscape.com
1b75dc5096 add prototype and PRIVATE to several functions to reduce compiler warnings on Macintosh 1998-12-30 16:03:43 +00:00
brade%netscape.com
a2fb996e8a add prototype for net_ReleaseContext to reduce compiler warnings on Macintosh 1998-12-30 16:01:54 +00:00
morse%netscape.com
dec03b41b1 fix mac bustage 1998-12-30 02:25:05 +00:00
morse%netscape.com
90fa3c72ac interfaces for routines need by privacy module 1998-12-30 00:20:46 +00:00
troy%netscape.com
60883dc433 Fixed memory leak in nsHttpUrlImpl::SetSpec() 1998-12-29 01:32:39 +00:00
troy%netscape.com
1c0ceef338 Fixed memory leak in NS_MakeAbsoluteURL() 1998-12-29 01:22:57 +00:00
troy%netscape.com
de15a8198e Fixed memory leak in ToString() 1998-12-29 01:03:26 +00:00
brade%netscape.com
91479969e9 add include to reduce warnings on Macintosh compiler 1998-12-22 19:14:13 +00:00
troy%netscape.com
6202d355f7 Fixed two memory leaks of the status msg (Unicode string) in OnStopBindingProxyEvent
and OnStatusProxyEvent
1998-12-22 18:49:12 +00:00
troy%netscape.com
c59c9ed51f Fixed QueryInterface() so it doesn't do a AddRef() for interface NS_ISTHREADSAFE_IID.
This fixes a DEBUG (only) memory leak of the object which in turn causes the web shell
(and the whole world) to leak
1998-12-22 18:22:40 +00:00
brade%netscape.com
0b0b013a4b add XP_MAC to the ifdef around dbopen (was in macToBeImplemented.cp) 1998-12-21 16:46:17 +00:00
shaver%netscape.com
af51904fec resprinkle NO_STATIC_LIB, but spare libpng so that viewer is cool. Also, repair some viewer/apprunner link foibles 1998-12-18 02:55:23 +00:00
vidur%netscape.com
df3ac56c3c Added stream loader 1998-12-18 01:34:30 +00:00
warren%netscape.com
b457ad5f1f Obsolete 1998-12-16 09:51:02 +00:00
warren%netscape.com
bc325cc1e3 Removed nsURL.cpp 1998-12-16 09:50:19 +00:00
beard%netscape.com
3425122c7a Fixed up exports. 1998-12-16 06:06:51 +00:00
beard%netscape.com
2b53e73250 Removed nsIPostToServer.h (moved to public dir). 1998-12-16 05:59:42 +00:00
warren%netscape.com
0580a8e5c4 Networking changes: Reworked nsIURL, adding setters, factoring Open. Unsigned arguments for nsIStreamListener. 1998-12-16 05:40:20 +00:00
donm%netscape.com
37804b7a40 backing out Shaver's changes. -donm 1998-12-16 00:49:36 +00:00
shaver%netscape.com
0161071aef Make apprunner link dynamically.
Sprinkle Makefile.ins with NO_STATIC_LIB to speed the build and reduce the disk
requirements.
1998-12-15 22:17:14 +00:00
raman%netscape.com
27869a72de Bug fix for 1741. For XP_FILE_READ_BIN permission types, set mode as nsRead. 1998-12-07 21:49:29 +00:00
rhp%netscape.com
18975a6b8c This is to export the function for stream converter registration in
netlib. This is a temporary change until the XP-COM interface is in
place for this functionality.
1998-12-07 13:51:23 +00:00
ramiro%netscape.com
e2b921bf3c Add cvsignore entries for makefiles generated bu autoconf. 1998-12-05 09:07:33 +00:00
raman%netscape.com
c8661b26e2 Bug fix for 1420. Get filename from HashTable if fileTok is not NULL. If fileTok is NULL return aName for now. Approved by gagan 1998-12-05 03:10:43 +00:00
gagan%netscape.com
3b1e716a4d Was not pulling in env changes from config.mak because of the missing include. 1998-12-01 04:46:24 +00:00
beard%netscape.com
c0c7bc482d Mac shared library migration. 1998-11-30 22:15:00 +00:00
morse%netscape.com
1d86ef20ba fix single-signon problem 1998-11-28 17:16:47 +00:00
kipp%netscape.com
d01fa74c40 Disabled the timebomb on the tip 1998-11-27 15:54:14 +00:00
joki%netscape.com
4c95fedc33 Send a reasonable value for the JS useragent on Windows. 1998-11-24 02:29:46 +00:00
cyeh%netscape.com
605bcc77c3 activate timebomb for technology demonstration.
THIS NEEDS TO BE REMOVED LATER
1998-11-24 01:08:47 +00:00
rpotts%netscape.com
2fdf4a3780 fix up the places where the C and C++ memory managers were being mixed for allocs and frees... 1998-11-22 09:32:06 +00:00
rpotts%netscape.com
687a62895d Force the URL exit routine to be called via a PLEvent. This insures that the LIBNET() lock is not being held during the call... 1998-11-22 09:31:10 +00:00
rpotts%netscape.com
e473d04d9d Disable async Winsock notifications until we figure out why it exhausts *all* system resources on Win95... 1998-11-22 09:30:00 +00:00
cyeh%netscape.com
65038e9551 Removing static makefiles as a part of the transition to Autoconf. I have taken great
care to only remove makefiles affailiated with building nglayout. I have also verified that
the build at this point in time succesfully builds with autoconf.

If you must recover one of these makefiles, you can use the static tag STATIC_MAKEFILES.
If I removed a makefile that you need, please e-mail cyeh@netscape.com.
1998-11-21 00:34:32 +00:00
gagan%netscape.com
37637f0c46 NuCache lib added. 1998-11-20 23:09:25 +00:00
troy%netscape.com
53587597f7 Fixed ref counting problem in stub_GraphProgressDestroy() 1998-11-20 04:28:06 +00:00
mcmullen%netscape.com
a5aae75a2c Fixed some warnings. 1998-11-18 20:49:15 +00:00
morse%netscape.com
cbcbe77b8a update for single signon 1998-11-18 04:38:13 +00:00
morse%netscape.com
a312ef1aea updates for single signon 1998-11-18 04:35:47 +00:00
kipp%netscape.com
5c24b7909f Added missing init of the net-file's refcnt 1998-11-17 01:21:04 +00:00
akkana%netscape.com
cf2313ec58 Put back the old pwd code; otherwise it crashes if MOZILLA_HOME isn't set 1998-11-13 02:49:19 +00:00
cls%seawood.org
288a1c7f8c Fixes to resource install for xpfe. Fixes to make MOZ_NATIVE_* work again. Thanks to Jeremy Lea <reg@shale.csir.co.za> for the diffs. 1998-11-11 01:53:49 +00:00
morse%netscape.com
2e637b3ff4 attempt to fix build bustage 1998-11-10 06:33:14 +00:00
morse%netscape.com
a02b658e50 separate trust labels from cookie management 1998-11-10 04:31:26 +00:00
rpotts%netscape.com
886ca3e0d3 Support asynchronous network notifications (instead of polling) if NO_NETWORK_POLLING is defined. Currently, this is only implemented for Win32 1998-11-08 09:04:54 +00:00
rpotts%netscape.com
3f8b2d5296 fix bug #1112. Added support for multipart/x-mixed-replace content type 1998-11-05 05:37:02 +00:00
valeski%netscape.com
076f72db88 fix for bugzilla 1219 1998-11-04 18:37:10 +00:00
ramiro%netscape.com
994a9bab46 oops. Should use PR_GetEnv() instead of getenv(). 1998-11-04 13:34:36 +00:00
ramiro%netscape.com
011b77ea09 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.
1998-11-04 10:31:32 +00:00
rpotts%netscape.com
aaa816f7f8 removed the export for kINetSupportIID 1998-11-03 08:31:21 +00:00
rpotts%netscape.com
5291a2d8bb Changed the IID to not use NS_DECLARE_ID... 1998-11-03 08:01:51 +00:00
rpotts%netscape.com
9a4a51d584 Moved the implementation of the nsINetSupport interface from the nsdocumentBindInfo over to the URL container... 1998-11-03 08:01:29 +00:00
gagan%netscape.com
df177820b7 Replaced obsoleted macro usage. 1998-11-02 23:01:45 +00:00
gagan%netscape.com
052f36c725 NuCache changes. 1998-11-02 23:01:00 +00:00
valeski%netscape.com
f4757fae3a solaris compiler choking on trailing comma in enumeration. submitted by tor@cs.brown.edu 1998-10-30 19:43:25 +00:00
rpotts%netscape.com
5cf116e2df Checked in some cheesy timebomb support until we can pull the timebomb vaules from all.js 1998-10-29 07:55:12 +00:00
rpotts%netscape.com
d6a6283218 Removed the container pointer from the nsConnectionInfo struct. The container is held by the nsIURL... 1998-10-28 21:40:51 +00:00
valeski%netscape.com
167d302c86 fixed malformed user agent string. added GetUserAgent() method to nsINetService interface. 1998-10-28 21:12:50 +00:00
valeski%netscape.com
ed1c1a17a7 long shot at fixing the build 1998-10-21 05:36:30 +00:00
cls%seawood.org
ed2a7f5f65 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.
1998-10-21 02:13:56 +00:00
valeski%netscape.com
4ed2480867 setting WIN32_LEAN_AND_MEAN as a compiler define for windows builds. 1998-10-20 23:17:58 +00:00
rpotts%netscape.com
26b1c2655d Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:44:20 +00:00
rpotts%netscape.com
ff2991ca05 Added support for interrupting streams via the nsINetService::InterruptStream() method. 1998-10-16 22:20:05 +00:00
rpotts%netscape.com
90ae9e345e Create an initial LoadAttributes instance. 1998-10-10 04:57:18 +00:00
rpotts%netscape.com
a8689af8b1 Added a load type and reload type to the nsILoadAttribs interface and underlying implementation... 1998-10-10 04:32:18 +00:00
rpotts%netscape.com
6943ce1ed2 temporary fix to get unix building again... Get rid of the constness before calling PR_Free(...) 1998-10-08 05:06:30 +00:00
valeski%netscape.com
8ba523d9f7 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
1998-10-07 23:19:39 +00:00
rpotts%netscape.com
af531d7285 Added an include for <windows.h> to declare the InterlockedIncrement/Decrement APIs which are now used in the Win32 threadsafe ISupports implementation... 1998-10-06 06:17:25 +00:00
rpotts%netscape.com
e738fa839a Changed the proxy routines to only call via PL_Events when needed (ie a thread boundary will be crossed...) 1998-10-06 06:15:47 +00:00
pierre%netscape.com
87764930d1 fix 1000s of link warnings in Mac Raptor / some XP stubs were hiding actual functions 1998-10-06 03:00:28 +00:00