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

257 Коммитов

Автор SHA1 Сообщение Дата
alecf%netscape.com 027a070282 rev the interface, update char* to const char* 1999-03-10 22:32:46 +00:00
alecf%netscape.com 5805c769fa don't build tests by default 1999-03-10 06:01:40 +00:00
alecf%netscape.com 3352f0978c don't link against base libmailnews 1999-03-10 06:00:59 +00:00
alecf%netscape.com 23120a594f remove old call to NS_NewRFC822Parser 1999-03-10 06:00:11 +00:00
alecf%netscape.com a15117ca9c use CreateInstance to create a parser rather than linking directly with libmailnews.so 1999-03-10 04:22:52 +00:00
warren%netscape.com 1baf19439b Removed nsService stuff. 1999-03-09 12:29:08 +00:00
warren%netscape.com 3d21ed5037 nsRepository -> nsIComponentManager changes. nsIMsgDatabase interface. Message enumerators. Misc. 1999-03-09 09:52:30 +00:00
mscott%netscape.com e32b33f6d7 fix build breakage. file stream updates for mcmullen. 1999-03-06 01:17:55 +00:00
alecf%netscape.com 4cd4aa2a01 rev IDL-generated headers, won't bust on nsIID this time. 1999-03-06 00:05:51 +00:00
alecf%netscape.com f4568a3e25 only build tests when ENABLE_TESTS (i.e. --enable-tests) is turned on 1999-03-04 01:36:25 +00:00
mscott%netscape.com 2378c3cf18 part of scc's merge: change interface calls to IID() to GetIID(). 1999-03-04 00:57:51 +00:00
putterman%netscape.com 5ff2a9715a Works with RegisterComponent 1999-02-27 07:15:41 +00:00
mscott%netscape.com d87aaf9b8b Stop building nntptest until I fix the factory problems and come up with a progID... 1999-02-27 03:48:15 +00:00
mscott%netscape.com f27d3b917b Link with nntpTest library. 1999-02-27 00:43:54 +00:00
mscott%netscape.com 697f7718fc Fix build breakage remove nsIID.h and nsISupportUtils.h from all interfaces until we can figure out where these files come from. I know this is the wrong long term solution so I'm not even changing the idl files. 1999-02-26 03:59:33 +00:00
alecf%netscape.com 9a9aae17fd rev the XPIDL-generated headers, and update API calls to match
includes dropping "const"ness from parameters
some nsString routines were converted back to char* for the time being.
also added nsIMsg.h, it seemed to be missing

Also many fixes to get Unix building again.
1999-02-26 01:56:15 +00:00
warren%netscape.com 59a5c261e9 Reorganization. Changes for collections, enumerations, generic folders, file paths, etc. 1999-02-24 10:39:06 +00:00
bienvenu%netscape.com ade369d1c2 start getting nntp hooked up to news database 1999-02-19 03:09:39 +00:00
mscott%netscape.com 16a331eb5f Change default path for writing tempArticle.eml into to c:\temp. 1999-02-18 04:46:54 +00:00
mscott%netscape.com 8874310149 Makefile to build the nntpTest harness 1999-02-18 01:16:12 +00:00
mscott%netscape.com 83b3b059e0 Oops...build the nntp sub directory as well 1999-02-18 01:15:40 +00:00
mscott%netscape.com 18c5656f95 Build the stub code as a library. 1999-02-18 01:14:05 +00:00
mscott%netscape.com cd3f5f8553 build nntp sub directory... 1999-02-18 00:54:37 +00:00
mscott%netscape.com 3ca3e64f0e NNTP test harness. This code was moved here from news\tests. 1999-02-18 00:54:06 +00:00
mscott%netscape.com d469b784b6 Removing from repository. This file now lives in tests\nntp. 1999-02-18 00:53:29 +00:00
mscott%netscape.com ff51a9a22d For now, disable the nntp test executable. (I'll look into moving this into a separate makefile...)
Build the test stubs as a stand alone library...
1999-02-18 00:29:11 +00:00
mscott%netscape.com 8242c9320e Don't use ::IID() function for the webshell interface because it doesn't support it.... 1999-02-18 00:28:10 +00:00
mscott%netscape.com 5fc73425e2 Move some convience functions into nsNNTPProtocol. LoadUrl now takes a consumer. 1999-02-17 08:19:49 +00:00
mscott%netscape.com 237c42a360 LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo). Added code to call webshell->LoadUrl after retrieving a news article and writing it to a temp file. This will cause the url to be displayed in the ui. 1999-02-17 08:18:07 +00:00
mscott%netscape.com 1e721e74de LoadUrl now takes a nsISupports which could be the consumer display stream. Externally declared convience functions for building and runnning a news url (which can be used in our messenger demo). 1999-02-17 08:17:04 +00:00
alecf%netscape.com 18358985ef fix for egcs 1.0.x multiple inheritance bug 1999-02-17 05:59:01 +00:00
bienvenu%netscape.com 468c14e0a2 get this to compile for debug me 1999-02-17 00:10:48 +00:00
bienvenu%netscape.com 1d21e06b68 override IID method 1999-02-14 19:16:49 +00:00
warren%netscape.com e8114e350d Converted nsIMsg into nsIMessage, unifying with nsMsgHdr. Removed NS_DEFINE_IID macros. Renamed a few types and enums. 1999-02-13 10:39:59 +00:00
putterman%netscape.com 24794afa2c removing const from functions dealing with Init(); 1999-02-12 19:03:08 +00:00
putterman%netscape.com 323b75ec65 removing const from Init(); 1999-02-12 19:02:18 +00:00
alecf%netscape.com 189927c7a1 update libraries because RDF now depends on layout (which has a zillion other dependancies) 1999-02-11 07:27:39 +00:00
mscott%netscape.com 3ba1fa6479 use of sockstub protocol to implement a socket connection for a url is now BLIND to the protocol. So let the protocol use its original scheme when building urls. The transport layer will now worry about chaning the scheme to sockstub when appropriate.... 1999-02-11 03:10:28 +00:00
mscott%netscape.com 73e6a78269 Remove in-appropriate assertion...the rules have changed... 1999-02-11 03:03:51 +00:00
warren%netscape.com 6025c5369c Changed uses of MsgErr to nsresult. Moved CR LF macros to base/src/nsCRT.h. 1999-02-09 04:20:46 +00:00
mscott%netscape.com 42bcff3720 Oops...one of my changes got lost...if you are reading in user data, don't write it into m_userData unless the user
actually entered a value...if you do write in it, we step on the default value which is alredy in m_userData...
1999-02-09 03:21:34 +00:00
alecf%netscape.com d5c6aee3a4 Some headers aren't required after all.
reorder some of them and change HEADER_TOTAL to HEADER_LAST for consistency.
1999-02-09 02:55:39 +00:00
alecf%netscape.com d2b793432e terminate posts with "."
move FORCE_PR_LOG above the include for msgCore so that we can log in release builds
remove unnecessary assert
get ready for the next state after we post the message
1999-02-09 02:54:44 +00:00
alecf%netscape.com f71411b43d fix up test harness for posting 1999-02-09 02:49:58 +00:00
alecf%netscape.com f18568846b first shot at NNTP Newsgroup Post implementation...still have a few kinks to work out 1999-02-08 23:09:26 +00:00
alecf%netscape.com 524107ae90 make this newsheader valid for now 1999-02-08 23:05:05 +00:00
mscott%netscape.com e94e61a4db Include msgCore.h as first include file for use as a precompiled header... 1999-02-07 01:11:39 +00:00
alecf%netscape.com 90b9059b8b minor fixes to make unix keep building 1999-02-06 03:37:12 +00:00
warren%netscape.com d343f7cbab More cleanup of XPPtrArray. Factored nsMsgFolder, adding nsMsgLocalMailFolder. 1999-02-06 02:11:54 +00:00
alecf%netscape.com b26b0af4a1 update test app to use new posting 1999-02-05 07:50:57 +00:00
alecf%netscape.com 20e362a95c add support for posting messages
Not complete - the nsINNTPNewsgroupPost is not completely finished (it doesn't assemble the message)
1999-02-05 07:50:40 +00:00
alecf%netscape.com 44bb50c9f2 finish implementing nsINNTPNewsgroupPost, and fix factory function 1999-02-05 07:49:28 +00:00
warren%netscape.com 45b98e50f0 Ported XPPtrArray (and MSG_FolderArray) to use nsVoidArray and nsISupportsArray. 1999-02-05 07:02:51 +00:00
alecf%netscape.com 953bb13843 first shot implementation of nsNNTPNewsgroupPost 1999-02-05 06:12:44 +00:00
alecf%netscape.com 39a61e0df6 minor warnings cleanup 1999-02-05 05:43:53 +00:00
alecf%netscape.com da4626cde6 new NewsgroupPost interface 1999-02-05 05:43:21 +00:00
alecf%netscape.com 727bc7e23f minor warnings fixes 1999-02-05 05:42:27 +00:00
alecf%netscape.com e2ff32db97 minor warnings fixes 1999-02-05 05:25:55 +00:00
warren%netscape.com 937d09c5f1 Added nsIMsg and nsMsg impl. Changed counts to be unsigned. 1999-02-05 03:08:00 +00:00
mscott%netscape.com ca38bf39ae Get rid of m_isSocketOpen variable. Rely on new transport Open method to determine if
the transport needs opened. Release some more interfaces when we go away...
1999-02-04 23:52:04 +00:00
mscott%netscape.com 1cf0713ecb Only replace m_userData in the prompt call if the user entered some legitimate data...otherwise we risk stepping on our default
value.
1999-02-04 23:04:07 +00:00
mscott%netscape.com 856fcc5168 Remove dependency on mime.lib because we don't need it just yet... 1999-02-04 21:02:06 +00:00
mscott%netscape.com 4cbdc68c5d SetupUrl should return a value...this fixes build problem on windows... 1999-02-04 19:44:31 +00:00
alecf%netscape.com 211511b630 more fixes to allow for Message posting (not there yet...) 1999-02-04 04:27:10 +00:00
alecf%netscape.com 098773c2a6 add new accessor for message member 1999-02-04 04:26:29 +00:00
alecf%netscape.com da74cd1591 minor fixes to prevent dereferencing NULL pointers 1999-02-04 04:26:03 +00:00
mscott%netscape.com 2127ac5c7d Small stuff..fixed some windows build breakages by returning a value in SetupUrl and PostData... 1999-02-04 02:36:57 +00:00
alecf%netscape.com 1ee9410915 move URL setup to a common function
change scanf -> fgets
initial skeleton for posting
1999-02-04 01:11:25 +00:00
mscott%netscape.com 0ab856b299 newsgroup call to GetName is no longer a const method so the nsINNTPNewsgroup passed into the article list can't be const either....
performing clean up on the interface and implementation to fix this...
1999-02-03 00:19:55 +00:00
warren%netscape.com 097f98a9ab Made objs build into objdir. 1999-02-02 05:39:41 +00:00
mscott%netscape.com bbda218b52 Fix a bug in my ReadLine implementation where I wasn't properly killing off CRLFs before returning the line. Added code which writes article contents to a file as RFC-822. Now we just need a hook into the viewer app to display the file and we can display articles in HTML. Yeah!. 1999-02-02 03:09:50 +00:00
mscott%netscape.com 383db939c2 Cast away constness for newsgroup interface for testing purposes...If we need to do this in the real news host, we'll change the news host interface such that the newsgroup passed in is not const.. 1999-02-02 03:05:39 +00:00
mscott%netscape.com 07602b3936 Changed file name. 1999-02-02 02:50:46 +00:00
leaf%mozilla.org dcbed07465 readding file for mscott 1999-02-02 02:33:32 +00:00
alecf%netscape.com 94e1191641 first attempt at using PL_ProcessEventQueue as the Unix main loop 1999-02-02 00:19:40 +00:00
alecf%netscape.com a3316468f4 update to reflect new XPIDL generated API 1999-02-02 00:18:11 +00:00
alecf%netscape.com 1fc96b3fcc fix case error so that we include the right file 1999-02-02 00:16:50 +00:00
alecf%netscape.com 939afa6099 update header files with output from new XPIDL compiler 1999-02-02 00:15:54 +00:00
mscott%netscape.com 6208368dec Build tests directory as part of the news build.... 1999-02-01 22:20:37 +00:00
mscott%netscape.com 25b784262e Add ReadNewsRC test to nntp test suite... 1999-02-01 22:19:55 +00:00
mscott%netscape.com b3461532c2 Added some code for supporting readnewsrc stuff... 1999-02-01 22:19:11 +00:00
mscott%netscape.com fc126d9630 Removing extra printf.... 1999-02-01 22:18:52 +00:00
mscott%netscape.com 2785a2ab17 More changes for the test harness to build on Linux.... 1999-01-31 08:20:41 +00:00
mscott%netscape.com a2422cb06c define fe_configTemp to build on linux...comment out mime calls for now. 1999-01-31 08:18:02 +00:00
mscott%netscape.com 919071402d Implement init call in order to link... 1999-01-31 08:13:37 +00:00
mscott%netscape.com 0d7427b1f1 Remove reference to static delete operator 1999-01-31 08:10:30 +00:00
mscott%netscape.com caf4984b6a Export some header files for the test harness.. 1999-01-31 07:29:47 +00:00
mscott%netscape.com d0576f756d Build the nntpTest application. 1999-01-31 07:03:13 +00:00
mscott%netscape.com 93f85bccd5 Nntp test harness and associated stub files.... 1999-01-31 07:02:24 +00:00
mscott%netscape.com 9f1c544f61 Export nsINntpUrl.h 1999-01-31 07:01:11 +00:00
mscott%netscape.com 8b31186ed8 Build nsINntpUrl.cpp lh 1999-01-31 07:00:14 +00:00
mscott%netscape.com e849d57e45 Use correct key for implementing Isupports... 1999-01-31 06:53:34 +00:00
mscott%netscape.com b0d6efb158 Export nsNntpUrl.h 1999-01-31 06:41:41 +00:00
mscott%netscape.com a2aacd262a Declare the "factory" generator for newsgoup lists as an extern so I can implement it in my test code... 1999-01-31 06:40:13 +00:00
mscott%netscape.com c61eb91c33 Extra code that came about from my test code. Cleaned up how we load a URL. When processing the state, if we don't have an input stream and the current state is a "response" state then kick out and pause for read. Also cleared up some #ifdef UNREADY_CODE. Incorporated new code added to nsINntpUrl. 1999-01-31 06:39:23 +00:00
mscott%netscape.com c4ca5bd594 Implement ISupports for this class... 1999-01-31 06:37:17 +00:00
mscott%netscape.com 0b816d1168 Added some extra debug code and declared the creation method as an extern so I can use it in my debug code... 1999-01-31 06:36:26 +00:00
mscott%netscape.com 872d5ea99e Temporarily hiding link errors using very large #ifdefs.... 1999-01-31 06:35:13 +00:00
mscott%netscape.com 3b9bf5b01d Creating a news host requires a host and port.... 1999-01-31 06:34:01 +00:00
mscott%netscape.com 82e0719f2c Remove state flag debug information from header file and into nsNNTPProtocol.cpp.... 1999-01-31 06:33:25 +00:00