Commit Graph

739 Commits

Author SHA1 Message Date
sspitzer%netscape.com
f1e2c9a33e remove unused code. 1999-12-22 08:27:50 +00:00
sspitzer%netscape.com
f6042e8153 fix for #22345. we were unescaping a message id when we shouldn't be.
a=sdagley
1999-12-22 05:43:06 +00:00
sspitzer%netscape.com
74dfd0c85a rest of fix for #22099, r=mscott, a=syd.
on Linux, new newsrc files are "newsrc-"<host>, not ".newsrc-"<host>
1999-12-22 04:18:18 +00:00
sspitzer%netscape.com
8e791656e2 rest of fix for #22099, r=mscott, a=syd.
on UNIX, when we don't have a newsrc root value, use ~/.mozilla/<profile>/News, like we do on the other platforms.

until now, we had been using $(HOME)
1999-12-22 04:07:13 +00:00
alecf%netscape.com
fe72f1219a move GetPath/SetPath into a base class, combining all the .sbd directory creators. reduces calls to FindServer() by about 2 calls per folder
r=sspitzer
a=chofmann
1999-12-18 01:09:51 +00:00
sspitzer%netscape.com
c36aaf7aae fixes for #21999, #21607, #17655
initialize some uninitialized variables.
remove nsMsgNewsFolder::GetChildNamed(), the base class has the same implementation.
when posting, if the host name is not explictly given, look for the news
host that is subscribed to the group.
fix a free memory read.  (thanks to suresh for finding it)
1999-12-18 00:30:59 +00:00
sspitzer%netscape.com
02c333dc00 fix for #21839, r=mscott, a=leaf.
jump to the end of the file and append the new newsgroup.
1999-12-16 05:58:50 +00:00
jefft%netscape.com
1438c6a790 possibly fix bug 20230, save template requires canonical line ending when uploading to an imap server; r=rhp; 1999-12-06 15:40:24 +00:00
sspitzer%netscape.com
862031a04c remove CanBeRenamed and CanCreateChildren. In most cases, these weren't
implemented or they were just stubs.  I added CanRename and CanCreateSubfolder
(which follow the naming convention, so we'll keep them) without knowing these were there.  I move over the additional logic for special folders (like INBOX, TRASH, etc) in CanBeRenamed to CanRename, and put the logic in one place, in nsMsgFolder::CanRename(), instead of in multiple places.  thanks to alecf for pointing out that CanBeRenamed and CanCreateChildren were already there.
1999-12-04 19:56:06 +00:00
warren%netscape.com
6af4802e75 Added buffer size parameters to NewChannel. Allows for optimization of amount of image data consumed. Bug #20408 1999-12-04 10:01:32 +00:00
alecf%netscape.com
79f24d5d40 move SetParent call to earlier in the subfolder creation process so that the folder has a parent much earlier. This allows us to benefit from the lazy URI parsing I just checked in.
r=sspitzer
just some cleanup work after the previous checkins to fix #20706
1999-12-04 03:08:03 +00:00
sspitzer%netscape.com
91d20aadc4 fix for #17402, stationary -> stationery.
r=alecf

major fixes for the new folder / rename folder / subscribe dialogs.
we no longer use an html select for the folder picker.
now we use cascading menu popups, like the copy and move menus.
this fixes a lot of bugs, and allows pre-flighting to finally work.

our folder data source has some new properies:
CanFileMessages, CanSubscribe, CanRename, and CanCreateSubfolders
we use these to determine what cascading menu to build, what to disable, etc.

also, nsMessenger::NewFolder() and nsMessenger::RenameFolder() were changes to
take a nsIRDFResource instead of a nsIDOMXULElement.  Before we were
passing through to the back end the selected xul element, now we pass
the resource in.

other cool side effects:
in the copy & move menus, you don't get the choice to file or copy to a server, on folders
in the rename dialog, you can't pick a server, on a folder
in the new folder dialog, you can't pick the imap inbox. (* more needs to be done here.)

bugs fixed: #14773, #14254, #20599, #20646
r=alecf

a couple bullet proofing fixes to prevent some crashes reported on fullcircle
r=bienvenu
1999-12-03 08:10:09 +00:00
alecf%netscape.com
df62407466 mail architecture cleanup (no bug - emptying my tree before next week's closure)
- get rid of GetAccountManager call (it's now a service)
- move hacks GetCurrentIdentity and GetCurrentServer into the account manager for now
- eliminate these calls from nsMsgMailSession
- update all call sites (C++ and JS)
r=mscott
1999-12-02 06:59:28 +00:00
buster%netscape.com
b3ed19480f trivial code cleanup, just removed webshell includes from files where they are not used. 1999-12-01 22:25:01 +00:00
warren%netscape.com
2db26922a6 Landing no_neckoutil2_branch. Bug #11159. Removes neckoutil_s.lib from build which helps beos and openvms. 1999-11-30 04:50:42 +00:00
warren%netscape.com
96ec037ac6 Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
mscott%netscape.com
da43e82a45 Bug #19955 --> QI was incorrectly going to nsmsgFolder if it couldn't handle it
instead of going to nsMsgDBFolder
r=alecf
1999-11-24 00:38:35 +00:00
putterman%netscape.com
e71f346f0f Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com
8efa7d5934 fixed bug 8889 - cannot post messages with attachments to the news server; rv=mscott; Added base PostMessage() method to remove duplicate code in smtp and nntp protocol 1999-11-22 14:41:20 +00:00
warren%netscape.com
59ef7fadbf Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com
34ecf73507 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
cls%seawood.org
0ea4864d1d Removing dependency upon security/freenav module. r=alecf 1999-11-13 23:51:49 +00:00
warren%netscape.com
7f04320416 Added NS_NewGenericModule. Made NS_IMPL_NSGETFACTORY use it to save space. r=dp,alecf 1999-11-12 09:07:26 +00:00
sspitzer%netscape.com
1871265825 fix for #16341
from putterman, who gave me the fix:

"Whenever you add something to RDF through an observer notification, RDF
verifies that you really have it by calling HasAssertion.  Our implementation of HasAssertion for adding a folder to a folder consists of seeing if the the
child folder's parent is equal to the parent passed in.  Because we weren't setting the parent, the child's parent was null which wasn't equal to the parent
passed in and the whole operation failed.  This prevents that from happening."
1999-11-11 21:55:39 +00:00
putterman%netscape.com
38dfa802ce Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
sspitzer%netscape.com
3f791421b8 fix warning. 1999-11-10 23:51:45 +00:00
sspitzer%netscape.com
3dfc2083ef fix warnings. 1999-11-10 00:12:22 +00:00
dmose%mozilla.org
142ac52eaf updated xPL license boilerplate to v1.1, a=chofmann@netscape.com,r=endico@mozilla.org 1999-11-06 03:43:54 +00:00
sspitzer%netscape.com
a6a1846e05 better fix for #17597, r=mscott, a=chofmann.
instead of setting the action for the url, check if we have a channel listener.
this is a cleaner fix, and now the quoting back end doesn't need to know about
the nntp url.
1999-11-04 20:02:31 +00:00
sspitzer%netscape.com
55c3a9b47c fix for #17597. reply to a news article doesn't quote the body.
the problem was when we ran the nntp url to get the message we weren't
calling OnDataAvailabe() on the channel listener.  the reason is the channel
listener only got poked when ActionDisplayArticle was set as the action on
the nntp url.  but this wouldn't be the case when we got run from the Quoting backend.  I added a new action, and made sure to set it when running the url from the quoting back end, and then made sure the nntp backend did the right thing.

r=alecf, a=chofmann
1999-11-04 04:31:09 +00:00
alecf%netscape.com
5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com
8c680d77b3 add cancel method to nntp protocol r=mscott 1999-11-03 03:17:36 +00:00
bienvenu%netscape.com
fbbac1c0dc more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
putterman%netscape.com
7d2a82beee Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com
075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com
ceca73761d fix a couple ref-counting problems on news dbs, reviewed last week by sspitzer 1999-10-27 22:19:42 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
mscott%netscape.com
8028448766 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
bienvenu%netscape.com
40ebbb8427 one more news leak fix r=sspitzer 1999-10-22 21:11:17 +00:00
bienvenu%netscape.com
dfb0501d5c fix leaks in news/nntp r=sspitzer 1999-10-22 20:33:04 +00:00
alecf%netscape.com
4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
alecf%netscape.com
08d038131e turn news into a nsIModule
r=sspitzer
(porkjockey work)
1999-10-20 22:30:02 +00:00
alecf%netscape.com
a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
sspitzer%netscape.com
af4500add9 fix warnings. following alecf's recommendations, remove the FindServerUsingURI() method from the nsIMsgAccountManager, remove CreateFolderInDatasource() from nsIMsgFolder, change several methods in nsMsgCopy to return nsresult, and have nsIMsgFolder ** as an outparam, use GetResource() instead of CreateFolderInDatasource(). use NS_SUCCEEDED() instead of comparing against NS_OK directly. 1999-10-18 20:42:06 +00:00
alecf%netscape.com
cd2c94286c get rid of old poorly cased gif file 1999-10-13 04:18:00 +00:00
alecf%netscape.com
bc629c312d export new gifs on Mac 1999-10-13 04:10:49 +00:00
alecf%netscape.com
dddb1a32a5 export new images on windows
r=mscott
no bug
1999-10-13 04:09:25 +00:00
alecf%netscape.com
0084bc2df1 export new gifs on unix
r=sspitzer
1999-10-13 04:08:15 +00:00