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

257 Коммитов

Автор SHA1 Сообщение Дата
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
mscott%netscape.com 65f206cdac Url implementations of nsINntpUrl.h for news... 1999-01-31 06:32:49 +00:00
mscott%netscape.com 611dddc332 Export and build a heck of a lot more stuff... 1999-01-31 06:31:42 +00:00
mscott%netscape.com 7bf69f5644 Removing the delete operator from the interface. The IDL compiler will no longer generate these. So the next time the header files
were generated, the calls would have been removed anyway....
1999-01-31 06:30:32 +00:00
mscott%netscape.com bd90c7dbcc removing from repository so I can rename it to nsINntpUrl.h. 1999-01-28 21:31:59 +00:00
alecf%netscape.com 22fdf15ccf implement the full nsISupports interface 1999-01-28 03:20:17 +00:00
alecf%netscape.com de6c711312 slight change to the way nsINNTPNewsgroupLists are used - NewsgroupLists are contained by folders, so we don't create them. 1999-01-28 01:11:45 +00:00
mscott%netscape.com 64f34fb645 Externally define msg_LineBuffer.... 1999-01-27 04:23:11 +00:00
mscott%netscape.com f405a11f9a Include rdf to fix build breakage when nsIMsgFolder started inheriting from an RDF interface.... 1999-01-27 04:19:26 +00:00
mscott%netscape.com 9e1d7b3368 Use nsMsgFolderFlags.h instead of msgFolderFlags.h... 1999-01-27 04:03:17 +00:00
mscott%netscape.com 0a6810b20c include rosetta.h in this file. 1999-01-27 03:58:45 +00:00
mscott%netscape.com fc8f4e1fe7 Export nsINNTPCategoryContainer.h 1999-01-27 03:52:53 +00:00
alecf%netscape.com 8f69509b5c remove some cruft, fix some indenting 1999-01-27 03:12:49 +00:00
alecf%netscape.com ca38dfb9ae add nsNNTPHost to build 1999-01-27 03:12:24 +00:00
alecf%netscape.com a75da9a89d slight case change in new interface 1999-01-27 03:12:11 +00:00
mscott%netscape.com 88a5229020 Adding code to parse a news url and to load a news url for the test harness... 1999-01-27 02:58:53 +00:00
alecf%netscape.com 3e75b8c0d2 add declarations for factories 1999-01-26 23:17:39 +00:00
alecf%netscape.com 0c717b4e53 fix build bustage - API change for GetRangeOfArtsToDownload and
special case for Windows to use char* instead of const char* for XP_AppCodeName
1999-01-26 21:41:55 +00:00
alecf%netscape.com 1233e34fac nsNNTPNewsgroupList should be implementing nsINNTPNewsgroupList, not nsINNTPArticleList.
Made some API changes and class changes to bring them in sync
1999-01-26 21:32:51 +00:00
alecf%netscape.com bb07ebe20a the IDL compiler is smart enough to handle nsINNTPHost now 1999-01-26 21:32:04 +00:00
mscott%netscape.com cde2bdb7dd Temporarily add NET_SaCat/Copy to nsNNTPProtocol. Include allxpstr.h as well.... 1999-01-26 21:26:48 +00:00
alecf%netscape.com 302889dc70 add delete operator so this will compile 1999-01-26 20:08:34 +00:00
alecf%netscape.com 75745b8e61 add factory and declarations for interface methods 1999-01-26 20:07:48 +00:00
alecf%netscape.com 5ce9355d5a rename Initialize->Init to match interface, and add factory 1999-01-26 20:04:41 +00:00
alecf%netscape.com a67de5046e reflect Is -> Get getter stuff from XPIDL compiler change 1999-01-26 04:30:10 +00:00
alecf%netscape.com 1f6a025b8f fix an api change 1999-01-26 04:15:20 +00:00
alecf%netscape.com 655cf9bb5f fix a few more functions to bring this up to match the IDL 1999-01-26 04:14:57 +00:00
alecf%netscape.com b3015cda16 fix some warnings, etc 1999-01-26 04:14:30 +00:00
alecf%netscape.com e3c4424e0d add new function so nsNNTPHost can compile 1999-01-26 04:12:46 +00:00
alecf%netscape.com 9fedff34b0 remove pane-specific AddSubscribedNewsgroup for now, and rename function 1999-01-26 04:12:10 +00:00
alecf%netscape.com 7b41b2c405 do lots of implementation of nsINNTPHost interface so that this class is instantiable. 1999-01-26 02:17:07 +00:00
alecf%netscape.com 152b43be0e nsNNTPArticleList should be implementing the right interface
and implementing nsISupports
1999-01-26 02:15:59 +00:00
alecf%netscape.com 8ed0d481a1 fix return types 1999-01-26 02:14:12 +00:00
alecf%netscape.com b8d810af3b nsNNTPHost finally compiles. Adding it to the build system 1999-01-25 23:45:57 +00:00
alecf%netscape.com eef01e3c92 newsgroups keep track of thier pretty names
newsgroups don't keep track of flags (that's a job for nsIMsgFolder)
1999-01-25 23:45:29 +00:00
alecf%netscape.com 1f1be21c36 add dummy nsIMsgFolder so that other things can compile.
putterman will check a real interface
1999-01-23 02:48:58 +00:00
alecf%netscape.com b58d43ee0a get rid of all references to MSG_FolderInfo (should be nsIMsgFolder) 1999-01-23 02:46:15 +00:00
alecf%netscape.com ec520b92e1 more updates to make this thing compile!
Fix alot of the GetType() and IsCategory() routines to use QueryInterface instead.
1999-01-23 02:45:28 +00:00
alecf%netscape.com e411e271f7 add new nsINNTPCategoryContainer to be exported 1999-01-23 02:42:26 +00:00
alecf%netscape.com 063a117aec forgot to check in generated header 1999-01-23 02:42:05 +00:00
alecf%netscape.com e13bf0724b update attributes - flag is not an attribute, it's an accessor for many
different newsgroup (folder?) flags
1999-01-23 02:41:32 +00:00
alecf%netscape.com d506b30655 add new nsINNTPCategoryContainer interface 1999-01-23 02:40:27 +00:00
alecf%netscape.com dfebe8eca9 fix #include (unix is case sensitive) 1999-01-23 01:04:28 +00:00
alecf%netscape.com f121f74faa forgot uuid 1999-01-23 01:02:16 +00:00
mscott%netscape.com eeb966f91a Use the transport interface for communicating across the thread boundary... 1999-01-21 01:14:03 +00:00
mscott%netscape.com d2bf976a23 Cosmetic changes to build on windows... 1999-01-21 01:13:08 +00:00
mscott%netscape.com 806a88fe61 Added new event sink files to makefile. nsINNTPHost should support ISupports.... 1999-01-21 01:09:10 +00:00
mscott%netscape.com a3e476bd70 First checked in. 1999-01-21 01:07:44 +00:00
alecf%netscape.com 79a301a603 change RemoveGroup a bit so we can remove by name and by newsgropu 1999-01-16 05:54:02 +00:00
alecf%netscape.com 0365bff46d adding new Category interface 1999-01-16 05:53:21 +00:00
alecf%netscape.com 9706c14732 a little more - many more functions updated to match interface 1999-01-16 05:52:51 +00:00
alecf%netscape.com 996efc0f3b more work trying to get this thing to compile - XPCOMify some interfaces 1999-01-16 03:57:39 +00:00
alecf%netscape.com 3dba435af8 adding new attributes subscribed and category 1999-01-16 03:56:56 +00:00
alecf%netscape.com dcc89d4ab6 update to reflect renaming nsIMsgNewsgroup -> nsINNTPNewsgroup 1999-01-15 23:38:04 +00:00
alecf%netscape.com 24ae7fd358 update idl and header files to reflect nsIMsgNewsgroup->nsINNTPNewsgroup change 1999-01-15 23:34:20 +00:00
alecf%netscape.com 95b0e31d7c rename nsIMsgNewsgroup -> nsINNTPNewsgroup 1999-01-15 23:31:39 +00:00
alecf%netscape.com 221052859c add useful constants 1999-01-15 18:28:52 +00:00
alecf%netscape.com 8014829da3 nsINNTPHost and nsNNTPHost now compile. 1999-01-15 00:08:34 +00:00
alecf%netscape.com eda26cc409 fix Emacs identing line 1999-01-15 00:07:52 +00:00
alecf%netscape.com d2645012ed fix Emacs indenting 1999-01-15 00:06:12 +00:00
alecf%netscape.com 606c6af8e4 update NSPR APIs and fix Emacs identing 1999-01-15 00:05:47 +00:00
alecf%netscape.com e010fff2cc fix Emacs identing 1999-01-15 00:03:24 +00:00
alecf%netscape.com d3dc2ddc02 fix string routines to use NSPR 1999-01-12 21:01:54 +00:00
alecf%netscape.com d52a39539b rename nsIMsgNewsHost -> nsINNTPHost in all files that use it 1999-01-12 20:44:13 +00:00
alecf%netscape.com 136b27aad4 add new nsNNTPHost implementation - NNTP specific version of nsIMsgHost, implementation of nsINNTPHost 1999-01-12 20:42:22 +00:00
alecf%netscape.com 4f90040796 get Emacs mode line right for IDL! 1999-01-12 20:41:04 +00:00
alecf%netscape.com 03d89200b9 rename nsIMsgNewsHost -> nsINNTPHost and start adding old MSG_NewsHost methods 1999-01-12 20:36:37 +00:00
alecf%netscape.com 3a514406b6 update windows makefile to export the right XPCOM headers 1999-01-12 01:10:13 +00:00
alecf%netscape.com 153d1d3f66 update windows makefile 1999-01-12 01:06:39 +00:00
alecf%netscape.com 22ce9c50b8 add new files to the Unix build process 1999-01-12 01:05:21 +00:00
alecf%netscape.com f91935aedb nsNNTPArticleSet compiles now 1999-01-12 00:48:47 +00:00
alecf%netscape.com 23b5548202 needed MarkDirty so that nsNNTPArticleSet could compile 1999-01-12 00:48:28 +00:00
alecf%netscape.com 0b629f6bf1 InitXOVER does not need most of these parameters! 1999-01-12 00:38:46 +00:00
alecf%netscape.com 3e3e334d90 move to NSPR2 1999-01-12 00:38:14 +00:00
alecf%netscape.com 8800ad9bef data structure types have changed, and move XP_ASSERT to PR_ASSERT 1999-01-12 00:37:36 +00:00
alecf%netscape.com 2a57747423 make net_NewsChunkSize global for now, so that we can change it from outside
the file
1999-01-12 00:36:49 +00:00
alecf%netscape.com 6822f50da8 this almost compiles now 1999-01-12 00:32:55 +00:00
alecf%netscape.com 73fecdcd69 update to NSPR2 1999-01-11 23:31:40 +00:00
alecf%netscape.com c0c8cc59c2 updated to NSPR2 1999-01-11 23:30:16 +00:00
alecf%netscape.com 0e5e2b8311 adding new article set code 1999-01-11 23:25:32 +00:00
alecf%netscape.com 95a8e4a06a changes to make it compile 1999-01-11 22:54:51 +00:00
alecf%netscape.com 4c6131fa16 adding new nsNNTPNewsgroupList and nsNNTPArticleList objects 1999-01-11 20:56:39 +00:00
alecf%netscape.com 111e7e37ca updated to match new interfaces, and some general cleanup 1999-01-11 19:20:59 +00:00
alecf%netscape.com 485fef776b merge in XOVER parser 1999-01-11 19:17:19 +00:00
alecf%netscape.com 2b7d13ceac rename nsINNTPArticleKeysState to nsINNTPArticleList 1999-01-11 19:16:52 +00:00
alecf%netscape.com 1a57296b2e newly generated files from updated XPIDL parser 1999-01-11 19:16:09 +00:00
alecf%netscape.com c6e02c089d MsgNewsHost has a newsgroupList associated with it. 1999-01-11 19:14:03 +00:00
alecf%netscape.com c348729b8d merged XOVER parser back into nsINNTPNewsgroupList 1999-01-11 19:13:16 +00:00
alecf%netscape.com bf64adbc6d use C++ mode in emacs 1999-01-11 18:38:00 +00:00
alecf%netscape.com c63a7febb1 rename
nsIMsgNewsArticleList-> nsINNTPNewsgroupList
nsINNTPArticleKeysState -> nsINNTPArticleList
1999-01-09 00:29:21 +00:00
alecf%netscape.com c6670e9abd add nsINNTPArticleKeysState to the build 1999-01-09 00:16:41 +00:00
alecf%netscape.com d788930235 adding nsINNTPArticleKeysState for the first time - broke these three
methods out of nsIMsgNewsArticleList.idl
1999-01-09 00:15:46 +00:00
mscott%netscape.com 4dfa2b6985 Don't try to build the test directory until we get something in there. 1999-01-07 03:35:32 +00:00
mscott%netscape.com ea9d1891b6 More changes to the nsProtocol stuff. Added initialization and a SendData method for writing to the output stream. 1999-01-07 03:34:10 +00:00
mscott%netscape.com b1a67869ac Build nsNNTPProtocol. 1999-01-07 02:49:23 +00:00
mscott%netscape.com 874f802902 Some core definitions that are pertinent only to our NNTP protocol implementation. 1999-01-07 02:48:51 +00:00
mscott%netscape.com 4fb5527bdf More work on generating a nsNNTPProtocol instance. 1999-01-06 21:44:28 +00:00
mscott%netscape.com b4defa6f71 First checked in. These files are the foundation for our nntp protocol implementation. 1999-01-04 23:59:59 +00:00
alecf%netscape.com 4623b73bfb add comments to IDL files so they show up in LXR
add new newsgroup attribute to offline interface
1998-12-24 00:55:13 +00:00
alecf%netscape.com 7829aa1ed8 add new offline state interface 1998-12-22 21:11:32 +00:00
alecf%netscape.com 20dae8317b update nsIMsgNewsHost to deal with newsgroups directly rather than as group names 1998-12-22 04:34:11 +00:00