Commit Graph

606 Commits

Author SHA1 Message Date
mscott%netscape.com
edf7cd7000 Overhaul of smtp url to use new nsMsgMailNewsUrl class. This should make necko integration easier and reduce footprint a bit. 1999-06-21 23:20:50 +00:00
mscott%netscape.com
46ad3452fc We now don't inherit directly from nsIMsgMailNewsUrl 1999-06-21 23:20:05 +00:00
mscott%netscape.com
8e0ded137c Add smtp url to the factory. 1999-06-21 23:19:37 +00:00
mscott%netscape.com
cabd905fc8 Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsISmtpUrl, nsIMsgMailNewsUrl, etc).

Use the factory to create an instance of the smtp url for running urls.
1999-06-21 23:19:13 +00:00
mscott%netscape.com
1ada3b7e46 Because of my over-haul for mailnews urls, we now need to be more explicit about the url interfac
we are calling the method on (nsIURL, nsISmtpUrl, nsIMsgMailNewsUrl, etc).
1999-06-21 23:18:45 +00:00
mscott%netscape.com
8bb10539b7 Add CID for smtp url. 1999-06-21 23:10:54 +00:00
sfraser%netscape.com
2f6066904d Removal of old EditorAppCore code. 1999-06-21 22:33:29 +00:00
ducarroz%netscape.com
415558b4d0 File Removed. 1999-06-21 20:51:48 +00:00
mscott%netscape.com
1248a5134a In prep of my use of nsMsgMailNewsUrl, include nsIMsgMailNewsUrl.h. 1999-06-21 20:38:12 +00:00
ducarroz%netscape.com
2d3cbd0b95 File Removed. 1999-06-21 20:32:04 +00:00
ducarroz%netscape.com
58294b1648 Remove forward as quoted. Don't addref/release m_editor, fix for bug 8570 1999-06-21 20:28:40 +00:00
ducarroz%netscape.com
cc671bb812 Remove forward as quoted. 1999-06-21 20:28:39 +00:00
ducarroz%netscape.com
c8d18e11d2 Clean up old and unused code. Set the focus to the "to" field. Initialize var "contentWindow" used by editor JS 1999-06-21 20:28:05 +00:00
waterson%netscape.com
b9e133c07e Fix VC5 compiler bustage. 1999-06-20 05:15:02 +00:00
sfraser%netscape.com
e5c2d001e2 Fix build bustage. 1999-06-20 00:04:05 +00:00
sfraser%netscape.com
2fd1880823 Leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. 1999-06-19 22:08:49 +00:00
sfraser%netscape.com
7ec882a272 Leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. Also comment out the extra release, with comment about why. 1999-06-19 22:04:20 +00:00
sfraser%netscape.com
0e2aa5d823 Leak fixing. CreateNewTopLevel window returns an AddReffed window. You must release it. 1999-06-19 21:53:00 +00:00
ducarroz%netscape.com
dc9595749d Turn off the new quoting code that was causing bug #8483 and #8481, A=chofmann. 1999-06-19 00:16:39 +00:00
rhp%netscape.com
db625ad65a This will enable the old quoting hack for non local mailbox messages. This
checkin was approved by chofmann.
1999-06-18 02:37:25 +00:00
ducarroz%netscape.com
5bd25a7778 Fix for bug 7508, A=chofmann, R=bienvenu 1999-06-16 22:58:02 +00:00
alecf%netscape.com
75be6d7408 fix vc5 bustage - don't use nsCOMPtr on implementations, only on interfaces 1999-06-16 04:09:33 +00:00
mscott%netscape.com
0124f4b62b Don't attempt to read from the file we are sending unless the file stream is in fact open. 1999-06-16 02:19:49 +00:00
sspitzer%netscape.com
62e5a55ab1 no newline at the end of the file 1999-06-16 00:24:39 +00:00
sspitzer%netscape.com
7214b158cc rename s to s2 to stop shadowing. we don't need to get the prefs service again, we already have it. 1999-06-16 00:24:17 +00:00
mscott%netscape.com
28288f9834 Bug #8221 fix memory problems with nsCOMPtr & using do_QI around methods. We were also making a com ptr out of a non interface so I added a dirty hack to fix that. 1999-06-16 00:00:55 +00:00
putterman%netscape.com
41143724ac use chrome url for PrefsWindow.js 1999-06-15 23:54:32 +00:00
rhp%netscape.com
2fc63fda49 Changes for quoting 1999-06-15 23:26:37 +00:00
rhp%netscape.com
4902e7b8f1 changes for quoting 1999-06-15 23:25:52 +00:00
ducarroz%netscape.com
259394d8c6 update project for rhp landing 1999-06-15 23:24:09 +00:00
rhp%netscape.com
1d71c93760 New quoting functionality 1999-06-15 23:22:34 +00:00
ducarroz%netscape.com
75fab88934 replace /*nsIDOMEditorAppCore*/nsISupports by nsIEditorShell 1999-06-15 14:25:26 +00:00
rhp%netscape.com
ebb4679beb Checking in changes for new files (not in build yet) 1999-06-15 14:11:56 +00:00
sspitzer%netscape.com
44c82c1f92 fix for #8126. crashing when posting to a non-existant newsgroup. 1999-06-15 07:28:54 +00:00
sspitzer%netscape.com
500ef17e37 alerts are too broken to use at this point. #7770 and other bugs. argh. 1999-06-15 00:35:43 +00:00
ducarroz%netscape.com
91f9c5fa68 fix bug #8124, catch JS execption while setting the wrapColumn. 1999-06-15 00:24:10 +00:00
ducarroz%netscape.com
1401b07d3f update Editor toolbar 1999-06-15 00:23:00 +00:00
rhp%netscape.com
aa81289584 Fix for GMT offset bug 1999-06-15 00:10:34 +00:00
sspitzer%netscape.com
b0a4a38719 if we are on a PC, allow the dialogs to pop up. 1999-06-14 22:26:47 +00:00
putterman%netscape.com
1ea80282cc DeleteStorage on delete message. 1999-06-14 22:24:16 +00:00
sspitzer%netscape.com
3cb58269b2 make the alert messages show up in the console window. this is just
a hack until 7770 gets fixed.  note:  it only works for single byte languages.
1999-06-14 21:22:13 +00:00
mscott%netscape.com
fa6ebcb1a6 Fix a memory leak. 1999-06-14 21:05:37 +00:00
rhp%netscape.com
04b7d1e78f New quoting interface 1999-06-14 05:23:06 +00:00
rhp%netscape.com
a99aa038bc Adding new quoting interface 1999-06-14 05:22:07 +00:00
sspitzer%netscape.com
80afae942f 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
sspitzer%netscape.com
402719b4ee we only nsIMsgSendLater.h once 1999-06-12 00:47:09 +00:00
ducarroz%netscape.com
60af720478 re-add nsIMsgSendLater.h as rhp has removed it from the idl project 1999-06-12 00:25:19 +00:00
sspitzer%netscape.com
1ec1e7eac0 second half of mac build bustage fix for rhp. 1999-06-12 00:17:25 +00:00
sspitzer%netscape.com
55e7615320 firsh have of fix for rhp build bustage. 1999-06-12 00:16:25 +00:00
rhp%netscape.com
804622c1e9 new feature work 1999-06-11 23:44:44 +00:00
rhp%netscape.com
c41ee84f6a New send later functionality 1999-06-11 23:42:45 +00:00
sspitzer%netscape.com
5b9a8f1310 turn off alert code because of #7770. 1999-06-11 22:58:46 +00:00
sspitzer%netscape.com
967045644e fix for #7795. get news posting to work again. 1999-06-11 22:39:17 +00:00
ducarroz%netscape.com
cb135fdfb5 update manifest 1999-06-11 22:19:33 +00:00
sfraser%netscape.com
57b3c3e5d8 Fix include nsIDOMEditorAppCore -> nsIEditorShell 1999-06-11 20:28:39 +00:00
sfraser%netscape.com
83413f9834 Synch with editorAppCore -> editorShell changes 1999-06-11 19:04:04 +00:00
sfraser%netscape.com
13b35c5300 editorAppCore is no more; use XPIDL'd editorShell instead. 1999-06-11 18:59:09 +00:00
rhp%netscape.com
b373155b34 New test program for back end functionality 1999-06-11 14:21:23 +00:00
sspitzer%netscape.com
dd3b61fc31 wrap printf with #ifdef DEBUG 1999-06-11 05:50:13 +00:00
sspitzer%netscape.com
acf309cc4f comment out alert code until #7770 is fixed. sigh. 1999-06-11 05:46:31 +00:00
sspitzer%netscape.com
7c4741fca1 changes for ducarroz's checkin 1999-06-11 00:25:31 +00:00
ducarroz%netscape.com
99d80efa24 Add more IDL files 1999-06-11 00:25:26 +00:00
ducarroz%netscape.com
1638d7c128 need to include "nsMsgComposeBE.h" as it not include by the interface anymore 1999-06-11 00:25:21 +00:00
ducarroz%netscape.com
2134bee9a1 Replace ComposeAppcore stuff by nsIMsgComposeService & nsIMsgCompose 1999-06-11 00:25:19 +00:00
ducarroz%netscape.com
f0214f916a Replace Compose Appcore by nsIMsgComposeService/nsIMsgCompose 1999-06-11 00:25:18 +00:00
ducarroz%netscape.com
f3cb15a9ad update make file 1999-06-11 00:25:16 +00:00
ducarroz%netscape.com
36da6727bb Replace Compose Appcore by XPConnect object nsIMsgComposeService & nsIMsgCompose. 1999-06-11 00:25:15 +00:00
ducarroz%netscape.com
9944505151 Add Message Compose Service CID 1999-06-11 00:25:14 +00:00
ducarroz%netscape.com
643e642824 don't addref a null ptr, that hurts! 1999-06-10 23:31:44 +00:00
ducarroz%netscape.com
b686c976a3 make it scriptable, sync. with current implementation 1999-06-10 22:09:17 +00:00
ducarroz%netscape.com
68f29c9fd6 Add a temporary hack to make the reply/forward kind of work 1999-06-10 22:08:35 +00:00
ducarroz%netscape.com
ed9d9bb15b Add temporary an argument to OpenComposeWindow 1999-06-10 22:06:01 +00:00
ducarroz%netscape.com
febcf18fcc total rewrite 1999-06-10 22:04:21 +00:00
ducarroz%netscape.com
f75fb7468c make it scriptable 1999-06-10 22:03:28 +00:00
mscott%netscape.com
a01b5a1250 Fix smtp send problem. I was over zealous in fixing a memory leak and we were appending an extra
comma to the list of recipients.
1999-06-10 19:37:18 +00:00
mscott%netscape.com
b059e57e90 Trying to clear some stuff up to make it easier for Seth and I to track down the build breakage. 1999-06-10 06:55:14 +00:00
mscott%netscape.com
90b9875120 Fix for SunOS build. we were using a nsCOMPtr on two interfaces without explicitly including the interface header file. 1999-06-10 05:49:17 +00:00
mscott%netscape.com
7834f208ee fix memory leak 1999-06-10 03:06:28 +00:00
ducarroz%netscape.com
08eedc8641 fix build bustage 1999-06-10 03:05:22 +00:00
ducarroz%netscape.com
dc514d6887 add a missing declarations, fix build bustage 1999-06-10 03:04:54 +00:00
mscott%netscape.com
1f5deba4a8 Fix memory leaks. 1999-06-10 02:47:29 +00:00
ducarroz%netscape.com
db2bae8af1 add some missing declarations 1999-06-10 02:02:14 +00:00
ducarroz%netscape.com
b2a5baa4c0 remove any use of nsMsgCompose (it's the old one nsMsgCompose will conflic with the new one I will add soon!) 1999-06-10 02:01:37 +00:00
ducarroz%netscape.com
bfe41f9793 use CreateAndSendMessage instance of SendMessage 1999-06-10 01:50:05 +00:00
ducarroz%netscape.com
5c498f568a need to addref/release the object pass to the callback to avoid crash 1999-06-10 01:11:12 +00:00
rhp%netscape.com
a290a615b2 Changes for composition reorg 1999-06-10 00:52:47 +00:00
ducarroz%netscape.com
1341917654 First Checked In. 1999-06-10 00:41:28 +00:00
rhp%netscape.com
2ef018fe56 New file for back end reorganization 1999-06-09 19:34:33 +00:00
mscott%netscape.com
14b921cb3a Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
NSRegisterSelf / NSUnregisterSelf.
1999-06-09 06:40:48 +00:00
mscott%netscape.com
9fdb96a266 Bug #6722 -- part of PR_Open removal. 1999-06-08 18:04:30 +00:00
sspitzer%netscape.com
e76d622b2f makefile fixes from reg@shale.csir.co.za (Jeremy Lea) 1999-06-08 06:25:56 +00:00
rhp%netscape.com
106f845dea a new test harness for send unsent messages (send later) interfaces 1999-06-08 04:46:08 +00:00
sspitzer%netscape.com
026c93aa61 giant cleanup of Windows mail / news makefile.wins. properly use MODULE, and name things so that Windows and UNIX match. (a big checkin for UNIX proceeded this.) 1999-06-08 02:22:10 +00:00
sspitzer%netscape.com
614b25751b 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
jefft%netscape.com
94952b1e31 call Release() instead of NS_RELEASE(this) 1999-06-08 00:32:18 +00:00
mscott%netscape.com
16d8890834 Unification of LoadUrl signature to remove some warnings on Linux & Mac. LoadUrl signature takes a display consumer. 1999-06-08 00:01:54 +00:00
mscott%netscape.com
03aa22e351 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any. 1999-06-07 21:28:45 +00:00
mscott%netscape.com
989344b80b remove IGNORE_MANIFEST. 1999-06-07 21:28:20 +00:00
rhp%netscape.com
6177cab787 Change for dialog feedback 1999-06-07 20:29:09 +00:00
rhp%netscape.com
15cafdc3a6 update for test program 1999-06-07 20:25:12 +00:00
sspitzer%netscape.com
21588f4bd2 fix runtime bustage. GetWidth nowhere to be found yet. 1999-06-07 20:23:08 +00:00
sspitzer%netscape.com
cbc6fd02d4 fix warnings (comments within comments). use nsAutoString correctly. 1999-06-07 20:17:47 +00:00
ducarroz%netscape.com
1c86e127a4 fix sprintf problem, Mac only. 1999-06-07 20:13:42 +00:00
rhp%netscape.com
803a359100 fix for mac 1999-06-07 20:09:27 +00:00
sspitzer%netscape.com
5a8be8c084 renaming nsMsgUtils.*, this was already being used in mozilla/mailnews/base/src 1999-06-07 20:03:40 +00:00
ducarroz%netscape.com
bf2ca7ad84 add nsMsgCompUtils.cpp 1999-06-07 20:03:34 +00:00
rhp%netscape.com
d3aba96171 Fix checkin 1999-06-07 19:52:01 +00:00
sspitzer%netscape.com
cf584f2449 fix build bustage. rhp says we need this now. 1999-06-07 19:26:48 +00:00
sspitzer%netscape.com
e494ab598f fix build bustage. 1999-06-07 19:23:07 +00:00
sspitzer%netscape.com
d77b191329 fix build bustage. case sensitivity problem. 1999-06-07 19:22:21 +00:00
law%netscape.com
475e0fa63c "First step towards exorcism of nsIXULWindowCallbacks" 1999-06-07 19:21:33 +00:00
rhp%netscape.com
81d53b8ce0 More fixe 1999-06-07 19:18:34 +00:00
rhp%netscape.com
e529311adc Dumb typo 1999-06-07 19:17:23 +00:00
rhp%netscape.com
4c2e0b52e7 Fixes for recent checkins 1999-06-07 19:14:45 +00:00
rhp%netscape.com
b515b7b905 Transition header file 1999-06-07 19:12:21 +00:00
rhp%netscape.com
a19356c31d Changes for composition BE 1999-06-07 18:58:27 +00:00
rhp%netscape.com
0993d9274c Changes for mail composition 1999-06-07 18:55:28 +00:00
rhp%netscape.com
cec8446911 Adding files to Makefiles 1999-06-07 18:54:37 +00:00
rhp%netscape.com
f44f77db4b More composer BE changes 1999-06-07 18:54:18 +00:00
rhp%netscape.com
bfd5dfb563 New back end composition functionality 1999-06-07 18:53:47 +00:00
rhp%netscape.com
fb10658a30 added files: mozilla/mailnews/compose/src/nsMsgZapIt.cpp, mozilla/mailnews/compose/src/nsMsgCreate.cpp, mozilla/mailnews/compose/src/nsMsgCopy.cpp, mozilla/mailnews/compose/src/nsMsgSendLater.cpp, mozilla/mailnews/compose/src/nsMsgDeliveryListener.cpp, mozilla/mailnews/compose/src/nsMsgComposeStringBundle.cpp, mozilla/mailnews/compose/src/nsMsgEncoders.cpp, mozilla/mailnews/compose/src/nsMsgI18N.cpp, mozilla/mailnews/compose/src/nsMsgAttachmentHandler.cpp, mozilla/mailnews/compose/src/nsMsgPrompts.cpp 1999-06-07 18:53:19 +00:00
hangas%netscape.com
59855d71b5 Added AddressBook.js 1999-06-07 18:52:09 +00:00
rhp%netscape.com
0add99469e removed files: mozilla/mailnews/compose/src/nsMsgCompose.cpp 1999-06-07 18:51:32 +00:00
rhp%netscape.com
b6e1445779 New compose BE functionality 1999-06-07 18:48:32 +00:00
rhp%netscape.com
1304273d5d Cleanup of compose back end 1999-06-07 18:46:14 +00:00
mscott%netscape.com
c78ee2032c Don't build dll until the install phase, not the lib phase. 1999-06-07 08:22:54 +00:00
mscott%netscape.com
266ed15e24 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
sspitzer%netscape.com
c4ac24f55e fix the mac, again. 1999-06-05 22:02:31 +00:00
sspitzer%netscape.com
b6a66c52f3 fix the mac, because it sucks. 1999-06-05 21:26:48 +00:00
mscott%netscape.com
de584878f8 Link against msgcoreutil for nsMsgProtocol. 1999-06-05 20:29:15 +00:00
mscott%netscape.com
f3a476d32b LoadURL is now LoadUrl on the smtp protocol. 1999-06-05 20:28:49 +00:00
mscott%netscape.com
e4c9eeb3f4 Major revamping of the smtp protocol. The main changes were to use my new nsMsgProtocol base class for most of the core netlib interaction. While i was here, I also fixed a leak where we weren't closing the file stream for the message we were sending. Fixed a leak that was preventing the smtp protocol instance from getting released & destroyed.
Also rewrote the protocol state methods to use nsAutoString instead of allocating buffers for the protocol commands.
1999-06-05 20:28:21 +00:00
mscott%netscape.com
d41d51bcad 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. We still return the last failure error code though. 1999-06-04 23:56:20 +00:00
sspitzer%netscape.com
28add8ce53 even though it isn't building yet, follow briano's lead and use
MOZ_DLL_SUFFIX
1999-06-04 22:32:46 +00:00
sspitzer%netscape.com
0f006d9ad0 follow briano's lead and use MOZ_DLL_SUFFIX. also fix warnings while I'm here. 1999-06-04 22:17:19 +00:00
jefft%netscape.com
acdbe02182 temporary fix for build bustage by ducarroz 1999-06-04 16:53:05 +00:00
ducarroz%netscape.com
f653723f82 oops, forget to reactivate one line for the function Dispose 1999-06-04 15:50:54 +00:00
ducarroz%netscape.com
d76353507e Add function Dispose. Fix for build bustage 1999-06-04 15:47:05 +00:00
ducarroz%netscape.com
ad40d4ac48 Add function Dispose, fix build bustage 1999-06-04 15:38:53 +00:00
ducarroz%netscape.com
231eb75070 Add function Dispose, fix also js problem with NewMessage, fix for build bustage 1999-06-04 15:38:43 +00:00
ducarroz%netscape.com
ac639ba166 add some missing includes for C++ only. 1999-06-04 08:49:46 +00:00
sspitzer%netscape.com
3336835e3a fix mac build bustage. 1999-06-04 04:42:24 +00:00
alecf%netscape.com
3dc683beab Killing the messenger appcore once and for all.
Don't be frightened by the size of this checkin, most of the appcore conversion to XPConnect was fairly simple. Some of this is just fixing code that depended on the old appcore
1999-06-04 04:00:58 +00:00
mscott%netscape.com
932a7ae28c Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-03 23:31:57 +00:00
sspitzer%netscape.com
dbeb60ec20 fix more build breakage 1999-06-02 04:07:09 +00:00
nhotta%netscape.com
e7601c2c62 Bug fix for 7425. 1999-06-02 00:16:23 +00:00
ducarroz%netscape.com
7dbaf5428f Update the IDL file in order to be able to use it finally... Part of mailnews Mac XPIDL landing. 1999-06-02 00:07:23 +00:00
ducarroz%netscape.com
6ddaf266ac Close message compose window after sending the message. Fix for bug #7161 1999-06-02 00:07:22 +00:00
ducarroz%netscape.com
7161234e94 Don't export header files that are generated by the XPIDL compiler. Part of mailnews Mac XPIDL landing. 1999-06-02 00:07:21 +00:00
ducarroz%netscape.com
7f790e91a1 First Checked In. 1999-06-01 23:12:32 +00:00