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

498 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 5b817383ac alerts are too broken to use at this point. #7770 and other bugs. argh. 1999-06-15 00:35:43 +00:00
sspitzer%netscape.com 5ee0ddb19a fix my debugging printfs. if we are on a PC, allow the dialogs to show up. 1999-06-14 22:27:34 +00:00
putterman%netscape.com cf2c320d9d Add deleteStorage parameter. 1999-06-14 22:24:52 +00:00
sspitzer%netscape.com 0ce94250f1 clean up the cancel code. clean up the html error message that show up in the
message pane if you are viewing a cancelled message.  move alerts from the
nntp service and into the nntp protocol code.  print out any alerts, since bug #7770 isn't fixed.  check "us" vs. "them" before cancelling if the server
doesn't support the CANCELCHK extension.
1999-06-14 21:30:07 +00:00
bienvenu%netscape.com 53ebac20a8 prepare for msgdb idl 1999-06-14 02:20:41 +00:00
sspitzer%netscape.com 98fd10f0b4 clean up my original hack to display error messages in the message pane.
before I was using a .eml file, and so I need the error message to be an
rfc 822 message for things to work.  Now, the file is a .htm file, so I can
just write normal html to the file, and it will work.

all this will go away when we don't have to use files, and we can write
directly to the stream.
1999-06-13 20:37:56 +00:00
sspitzer%netscape.com a099148836 initialize previously uninitialized memory 1999-06-13 19:04:19 +00:00
sspitzer%netscape.com 3530a2095f changes to get news cancel working. more to be done, but the basics of
news cancel works for now.
1999-06-13 17:14:05 +00:00
sspitzer%netscape.com 9f14911272 initial work to make posting to any news host.
currently, you can only post to the server specified by the
"network.hosts.nntp_server" pref.  by default, the value of this pref "news".

more work needs to be done to complete this.

fix for #6655
1999-06-12 18:10:58 +00:00
mscott%netscape.com 2f4d83f1de Initialize mFilePath to nsnull. I was crashing in the dtor of the url because it was pointing to unitialized memory
whenever I tried to get msgs from a newsgroup on win32.
1999-06-12 01:06:22 +00:00
sspitzer%netscape.com 7db257f384 fix for #7795. get news posting to work again. 1999-06-11 22:39:17 +00:00
sspitzer%netscape.com 4710910427 temporary hack to fix #6912. still more work to be done here, obviously. 1999-06-11 05:37:54 +00:00
jefft%netscape.com a1a2c1c3a1 undo framework 1999-06-10 14:55:36 +00:00
sspitzer%netscape.com 9375915eff fix the crashing when I post news. 1999-06-10 08:08:22 +00:00
waterson%netscape.com fdcbf908a1 Fix build bustage: make sure overloaded function uses identical return
type.
1999-06-10 06:40:43 +00:00
sspitzer%netscape.com d5d2171a10 nsINNTPProtocol.h is going away, since it is not being used.
the only thing that uses nsNNTPProtocol is nsNntpService.
remove it from the news factory.

changes to get mark message read on display working.
1999-06-10 05:39:09 +00:00
sspitzer%netscape.com 497dafb30f work to get this test working again. it's not building right now. 1999-06-10 05:33:55 +00:00
sspitzer%netscape.com bcbfd03ef2 the tests are going to break, so I am turning them off. I'll be turning them back on once I figure out what to do. 1999-06-10 05:32:37 +00:00
sspitzer%netscape.com 0450f52038 get this to link on IRIX. thanks to Jason Heirtzler <jasonh@engr.sgi.com> for the patch. 1999-06-10 04:32:46 +00:00
mscott%netscape.com 53bde8bcd6 Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
NSRegisterSelf / NSUnregisterSelf.
1999-06-09 06:40:48 +00:00
sspitzer%netscape.com 72ca3bedea fix windows build breakage. 1999-06-09 06:18:08 +00:00
sspitzer%netscape.com dada2bda7f more fix for SunOS and other UNIX platform build bustage.
I don't need to include the .idl file since I'm not deriving from it.
but as I side effect, I need to add the include to the other .h file.
1999-06-09 05:42:57 +00:00
sspitzer%netscape.com ae0826e548 fix for build bustage on SunOS and other unix platforms..(but curiously, not
windows, mac, or linux.)

since we aren't deriving from these interfaces, I only need to declare
them as interfaces.  I don't have to include the idl files.
1999-06-09 05:22:30 +00:00
alecf%netscape.com 77f0e5e0ac remove unnecessary files, and fixup includes to avoid use of %{C++ 1999-06-09 00:34:51 +00:00
sspitzer%netscape.com ef436c5166 makefile fixes from reg@shale.csir.co.za (Jeremy Lea) 1999-06-08 06:25:56 +00:00
sspitzer%netscape.com a3228d6649 move StringHash to nsMsgUtils.cpp, and use NS_MsgHashIfNecessary() in all
the ns*URI2Path() calls in the ns*Utils.cpp files to hash the file
names if necessary.
also, don't use fprintf().
1999-06-08 05:08:31 +00:00
sspitzer%netscape.com 6e2a3cc01a giant cleanup of UNIX mail / news Makefiles. properly use MODULE, and
name things so that Windows and UNIX match.  (a big checkin for Windows
will follow shortly.)
1999-06-08 02:17:24 +00:00
mscott%netscape.com 8fe6c72078 Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step). 1999-06-07 22:32:10 +00:00
mscott%netscape.com ff35c93a2a Unification of LoadUrl signature to remove some warnings on Linux & Mac. (this is just the first step).
ParseURL returns a nsresult instead of a PRInt32.
1999-06-07 22:31:37 +00:00
mscott%netscape.com a80e4efdcf remove IGNORE_MANIFEST. 1999-06-07 21:28:20 +00:00
mscott%netscape.com e893d4dfe9 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any. 1999-06-07 21:19:08 +00:00
mscott%netscape.com a19d88af09 Don't build dll until the install phase, not the lib phase. 1999-06-07 08:22:54 +00:00
mscott%netscape.com 3d0e344c29 Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
Also removed extraneous CPP_SRCS info.
1999-06-07 06:52:45 +00:00
mscott%netscape.com d0d08e4abb Updates to include the fact that Initialialzing the protocol instance no longer requires the
transport object to be created. It does it for you. These changes are related to my
nsMsgProtocol changes.
1999-06-06 18:39:56 +00:00
mscott%netscape.com 882a2de9af Revamp of news protocol to use my new nsMsgProtocol base class. This caused the signature of
several functions to change.

I also added some code to properly kill the network connection after we have finished
a nntp command.
1999-06-06 18:38:43 +00:00
sspitzer%netscape.com acfff64b9c use NS_DEFINE_CID instead of NS_DEFINE_IID. 1999-06-06 00:01:02 +00:00
sspitzer%netscape.com 64cb26730d add dialogs and alerts to the cancel article process. 1999-06-05 23:48:50 +00:00
mscott%netscape.com ef65e64493 Add nsIMsgMailNewsUrl to the QueryInterface method. 1999-06-05 23:46:08 +00:00
sspitzer%netscape.com f0e5193813 initial work to get news CANCEL working 1999-06-05 22:11:38 +00:00
sspitzer%netscape.com 6fd8aee1bf Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up. 1999-06-04 23:37:16 +00:00
sspitzer%netscape.com 20ab8f00b3 follow briano's lead and use MOZ_DLL_SUFFIX 1999-06-04 22:30:45 +00:00
mscott%netscape.com b40f40a83d support SaveMessageToDisk (stub right now)
replace nsAutoCString with more efficient nsAutoString
1999-06-04 22:19:59 +00:00
mscott%netscape.com adc3b9422c replace nsAutoCString with more efficient nsAutoString. 1999-06-04 22:18:55 +00:00
alecf%netscape.com 1b681c61a5 fix leak 1999-06-04 04:17:26 +00:00
sspitzer%netscape.com 3dc6a24326 libnntp.a should be libnntp_s.a to indicate that is is always going to be a static library. (follow convention) 1999-06-04 03:48:25 +00:00
sspitzer%netscape.com 44470baa0f whoops, forgot one. 1999-06-04 03:45:57 +00:00
sspitzer%netscape.com e123976816 rename the windows library to libnntp_s.lib, since it is static as well 1999-06-04 03:37:41 +00:00
sspitzer%netscape.com 844818cc49 libnntp.a should be libnntp_s.a to indicate that is is always going to
be a static library.  (follow convention)
1999-06-04 03:27:00 +00:00
mscott%netscape.com 7524e01df7 Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-04 02:07:10 +00:00
sspitzer%netscape.com e25aa60f1b don't compare nsCOMPtrs with nsnull. 1999-06-03 23:35:58 +00:00