Commit Graph

997 Commits

Author SHA1 Message Date
sspitzer%netscape.com
7e88616d44 add PerformExpand() to the nsIMsgIncomingServer interface. in the base case, it does nothing.
we override it in news, and we'll use this as our hook to update the counts for all the
newsgroups for a give server.  right now, PerformExpand() only gets called on a double
click but eventually, it will be hooked up to the twisty.  r=bienvenu
2000-04-03 02:06:57 +00:00
sspitzer%netscape.com
5b450c8310 remove the news-test.* files, they are no longer used. so why make people check them out? 2000-04-03 00:09:09 +00:00
sspitzer%netscape.com
8727cafafb fix a bunch of bugs, including #31079 and #14435. when setting the local path for a server, or the newsrc file for
a news server, make sure the folder or file is unique.
use the hostname as part of the suggestion when creating the directory for the server.

r=bienvenu.
2000-04-01 09:37:24 +00:00
sspitzer%netscape.com
3c2bcff92a fix warning. r=bienvenu. 2000-04-01 06:29:15 +00:00
sspitzer%netscape.com
5a2998e649 fix warnings. r=bienvenu 2000-04-01 06:25:29 +00:00
sspitzer%netscape.com
da78ce03ea removing the nsISubscribeDialog* interfaces, they aren't being used.
change for the new subscribe dialog, which isn't turned on yet.
r=bienvenu, a=leaf.
2000-04-01 04:23:53 +00:00
tbogard%aol.net
b52d8a2a80 Use the docShell APIs to do the Load rather than nsIWebShell methods. 2000-04-01 00:26:21 +00:00
warren%netscape.com
727f312b32 Necko API changes: primarily nsIChannel, changing initialization parameters to accessors. Got javascript: evaluation to happen at the right time (when AsyncRead is called) as well as on the right thread. 2000-03-29 03:58:50 +00:00
bienvenu%netscape.com
3444cfa790 get downloading of imap attachments working, r=alecf 32767 2000-03-29 00:58:21 +00:00
sspitzer%netscape.com
df67dbe077 fix crasher in #33615. uninitialized variables. clicking on a news url
would crash.  r=alecf
2000-03-28 22:32:06 +00:00
sspitzer%netscape.com
ea9125798a more thrashing, sorry about this. 2000-03-28 07:50:41 +00:00
sspitzer%netscape.com
d7183cd781 whoops, fix build bustage. 2000-03-28 07:47:51 +00:00
sspitzer%netscape.com
d6f856b55b HandleLine() should be defined as virtual, as we are overriding it.
some more stuff for real subscribe, only for windows right now.
general clean up.
2000-03-28 07:44:24 +00:00
scc%netscape.com
d893cc931c small changes to clients of string converting APIs 2000-03-26 13:44:07 +00:00
putterman%netscape.com
02e52d2580 fix for 16349 - shift delete works. Also more work on multiple windows by removing GetTemporaryMsgWindow.
various reviewers = mscott, hangas, rhp, and jefft.
2000-03-25 00:58:20 +00:00
bienvenu%netscape.com
e4ae6e7e78 more work on mpod 32767 r=mscott 2000-03-24 06:20:01 +00:00
sspitzer%netscape.com
a55b60f3eb make the dialog truly modal. 2000-03-17 09:09:41 +00:00
sspitzer%netscape.com
7222c120db fix for #32202. open the "download headers" dialog modal to the messenger window.
r=bienvenu
2000-03-17 06:30:43 +00:00
sspitzer%netscape.com
ccb360fd50 fix assertion when adding a new news account. check that the newsrc file exists before trying
to open it and parse it.
2000-03-15 08:17:06 +00:00
sspitzer%netscape.com
0b61fb23a1 fix for #31057. using prefs, you can turn off the confirm and alerts you get when you
cancel a news message.  suresh needs this for his automatic tinderbox test.
r=mscott
2000-03-15 02:47:53 +00:00
jefft%netscape.com
489aa96a47 fix bug 27396 - shouldn't display error message when selecting uw folder-only mailbox, 28301 - failed to store/read folder flags from folderInfo, 28916 - need to handle /NoSelect folder as 4.x does; r=bienvenu 2000-03-14 13:37:54 +00:00
sspitzer%netscape.com
b624fe2894 fix for #31715. pass the nsIMsgWindow when trying to post a message.
(we may need it, if we have to authenticate the use for posting.)

also, clean up the code to handle NS_ERROR_* properly.
2000-03-14 07:21:44 +00:00
sspitzer%netscape.com
fa9ec86bb0 changes for news over SSL. initial changes needed for SMTP over SSL, but
that isn't going to happen yet.  cleanup changes for nsNewsDownloadDialogArgs (still not used yet.)
2000-03-12 08:58:02 +00:00
putterman%netscape.com
8884b756dc Fixing mac bustage. 2000-03-09 04:58:38 +00:00
putterman%netscape.com
36a0950773 a=phil. r=jefft and mscott. Fix for 30918. Can now move messages from imap to local
and local to imap.
2000-03-09 04:17:02 +00:00
sspitzer%netscape.com
27c24a0b41 filenames too long for the mac's little brain. thanks to big-brained beard for catching my mistake. 2000-03-05 02:13:24 +00:00
sspitzer%netscape.com
607a0a14fa filenames too long for the mac's little brain.
thanks to big-brained beard for catching my mistake.
2000-03-05 02:11:15 +00:00
sspitzer%netscape.com
1af4a5481e fix for #26146, get the download news headers dialog to work properly.
r=blizzard, a=jevering
2000-03-04 23:13:00 +00:00
sspitzer%netscape.com
17e9a3a4d7 not part of the build yet. 2000-03-04 18:18:44 +00:00
sspitzer%netscape.com
fc15ea4ee1 fix for #29894, newsrc file corruption. need to truncate the newsrc when
we open it.  otherwise, if we go to write it out and it has gotten smaller,
we will leave garbage at the end of the file.  big thanks to Ken Dowling (kdowling@concentric.net) reporting this bug. a=jar
2000-03-02 05:19:18 +00:00
blizzard%redhat.com
a6d97b2321 fix spelling of hander to handler. bug #29407. r=sspitzer 2000-02-27 20:51:11 +00:00
sspitzer%netscape.com
7cb570ad1b fix for #28911, r=alecf, a=jar. avoid loading in unnecessary dlls at startup. 2000-02-26 03:52:06 +00:00
sspitzer%netscape.com
09b7b9db4f fix for #26773, alert when there is a network error in mailnews. r=mscott, a=phil 2000-02-26 01:04:50 +00:00
sspitzer%netscape.com
56fb0c4bb2 clean up -help output. fix bug #26959, make it so when you start
a browser window, the right page (home, blank or last page visted) gets
loaded.  clean up tasksOverlay.js, navigator.js and Ensure1Window()
use the browser's command line handler (remove duplicate code).
remove uri dispatching ui and js.  r=mscott
2000-02-16 06:22:03 +00:00
putterman%netscape.com
de272ba0ac Fix for 21469. r=jefft. Deleting a message in a thread now goes to the next message and scrolls
to it so that you don't lose your place in the thread pane.  More work on 26456.  r=alecf.
Some performance improvements for loading folders by speeding up building up a uri.
2000-02-16 00:39:23 +00:00
rhp%netscape.com
0d5876b1d2 Changes to implement printing correctly - Buf #12505 - r: jefft 2000-02-15 23:05:06 +00:00
sspitzer%netscape.com
03dd9e5a6e fix for #8075. use the newsrc files (~/.mozilla/<profile>/News/newsrc-<hostname>) for the unread/read status instead of the msgdb. r=alecf 2000-02-15 08:35:40 +00:00
sspitzer%netscape.com
7deaca5cb8 fix for bug #26944. nsStdUrl is returning an escaped url. r=alecf 2000-02-12 19:50:49 +00:00
alecf%netscape.com
8b80d95351 don't access mFolder directly, instead go through base class
r=putterman
2000-02-08 06:00:57 +00:00
sspitzer%netscape.com
72e8a9e317 make it so -chrome <chrome url> does the right thing.
r=mscott
2000-02-08 03:12:39 +00:00
sspitzer%netscape.com
9431eb3736 more changes to get everyone using my arbitrary command line handling.
removing "calendar" from the appearance pref panel, there is no calendar in
5.0.
r=mscott
2000-02-08 01:11:13 +00:00
scc%netscape.com
73802d6f2e Pro5 update 2000-02-07 23:06:04 +00:00
bienvenu%netscape.com
ece14626a0 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
sspitzer%netscape.com
c00837ec56 I hate copy and pasted code. write two macros to do all the work for me.
r=alecf
2000-02-06 12:21:22 +00:00
sspitzer%netscape.com
91a9eaba60 clean up. these should be progids, not cids, that I register with the category manager.
r=alecf
2000-02-06 11:04:43 +00:00
sspitzer%netscape.com
72d8e4bf7a be consistent with how we define the incoming server prog ids. add a debugging
printf (for me only).  r=alecf
2000-02-06 06:51:24 +00:00
pp%ludusdesign.com
cc01ef5223 Converting ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-06 03:18:27 +00:00
alecf%netscape.com
f161287e46 move from nsAutoCString to nsCAutoString r=sspitzer 2000-02-05 06:11:46 +00:00
sspitzer%netscape.com
53bd4b89b6 work on making -news handled arbitrarily. not working yet, as I can't
call the category manager from C++ yet. r=alecf
2000-02-04 23:11:19 +00:00
sspitzer%netscape.com
638eb227da clean up how we generate a single signon url for news auth.
this fixes the problem where you had to log in twice (once when downloading and
once when reading a message.)
2000-02-03 23:40:08 +00:00
sspitzer%netscape.com
508ced0e82 make it so if we enter the wrong username or password, and we get auth failed, we
forget the password, so we can log in again.  r=mscott
2000-02-03 07:35:58 +00:00
sspitzer%netscape.com
efbb62e4f6 make mailnews use the "no stripping url" wallet interface.
fix the url mangler and single signon to work when we use the "no stripping url" interface.
2000-02-03 06:43:12 +00:00
sspitzer%netscape.com
96a0249281 change to allow someone to use the "no strip url" interface in wallet.
no one is using it yet, because it doesn't work.

r=mscott
2000-02-03 05:01:42 +00:00
sspitzer%netscape.com
5f51e90caf printfs hinting of work to come. 2000-02-01 12:18:23 +00:00
sspitzer%netscape.com
c94fd161be fix crasher when posting, and some more cleanup. 2000-02-01 11:40:32 +00:00
sspitzer%netscape.com
0fecff9d06 convert auth news to use single sign on. convert the nsINntpService interface
to have proper interCaps.  remove dead code, clean up other code.  r=alecf
2000-02-01 08:46:03 +00:00
sspitzer%netscape.com
3a9dcf96cf clean up. r=alecf 2000-02-01 07:41:10 +00:00
ducarroz%netscape.com
4f851be879 fix part of bug 25949, update project path for compatibilty with CW Pro 5. R=n/a 2000-02-01 01:53:01 +00:00
sspitzer%netscape.com
d2866d5a80 add a #define for the secure imap default, and move the #defines for news ports out of core and into the right place. 2000-01-28 09:06:33 +00:00
bienvenu%netscape.com
c13a9dce89 add nsIMsgWindow to a bunch of apis so we can stop urls, r=putterman 2000-01-28 01:22:33 +00:00
sspitzer%netscape.com
b18624d734 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com
947621f16a added files: mozilla/mailnews/news/public/nsIMsgNewsFolder.idl 2000-01-26 09:59:20 +00:00
sspitzer%netscape.com
d6ed37c13f I'm taking this out of nsIMsgFolder. not part of build yet. 2000-01-26 09:50:06 +00:00
sspitzer%netscape.com
9343668fc1 remove the old method, it's gone now. 2000-01-26 08:19:56 +00:00
sspitzer%netscape.com
cc0d62ff60 fix warning (on the mac) that sfraser pointed out, by renaming
nsNewsFolder::AddSubfolder to nsNewsFolder::AddNewsgroup

implement cross-session newsgroup username / password by using prefs.
this will get re-written to use wallet, eventually.

remove cruft, where possible.

r=mscott
2000-01-26 06:46:01 +00:00
sspitzer%netscape.com
60e2eca42b the real fix. I need to cast to (const char *) for certain platforms. 2000-01-25 05:51:41 +00:00
sspitzer%netscape.com
7e43815d3a "Local Folders" doesn't have an identity anymore. r=mscott
initial changes for authenticated news.  still more to be done.  r=mscott
bulletproofing changes for migration, never set the port of a server to zero.
2000-01-25 04:57:22 +00:00
sspitzer%netscape.com
96ce0ff115 removing the extra quotes from the strings. 2000-01-25 03:21:54 +00:00
sspitzer%netscape.com
e2b053e9b0 fix for #24882, initialize member to null. 2000-01-25 02:40:53 +00:00
bienvenu%netscape.com
dc6da4bc94 add ability to copy multiple imap messages efficiently, r=jefft,mscott 23302 2000-01-18 22:33:35 +00:00
alecf%netscape.com
8cf359a674 back my changes out 2000-01-14 22:53:16 +00:00
alecf%netscape.com
523131d38d fix usages of GetPreHost so that local/imap/news folders can be displayed
a=granrose
2000-01-14 20:17:14 +00:00
alecf%netscape.com
151c9ac450 make the mail notification systems use nsIAtoms instead of char*s, and add capability to notify on PRUnichar* data that changes
(in preparationfor #19079)
r=scottip
2000-01-14 09:01:39 +00:00
sspitzer%netscape.com
e706278316 we don't have panes in 5.0, remove some of this HAVE_PANES cruft. 2000-01-13 09:31:20 +00:00
sspitzer%netscape.com
230b5320a7 fix that annoying off by one bug. 2000-01-13 09:27:08 +00:00
sspitzer%netscape.com
36b0a01555 polish and shine. 2000-01-13 09:08:35 +00:00
sspitzer%netscape.com
464dcb3188 fix some minor problems with the download header dialog. 2000-01-13 08:51:53 +00:00
sspitzer%netscape.com
84219d96dc clean this up. since I'm passing the server id through, I don't
need to pass the markOldRead and max_articles values through.
I can get them in JS.  no doy.
2000-01-13 08:37:26 +00:00
sspitzer%netscape.com
943f4cfb7f heed the per server "news.notify.on" pref. 2000-01-13 08:22:19 +00:00
sspitzer%netscape.com
49ccc5989b changes for the per server (instead of global) news.mark_old_read, max_messages, and news.notify.on
prefs.  hook up the download news headers dialog to use and set these prefs.
2000-01-13 08:12:12 +00:00
sspitzer%netscape.com
567c4a4565 "news.notify.size" is not used anymore 2000-01-13 04:09:43 +00:00
bienvenu%netscape.com
5c4612c424 add copymessages to message service,r=mscott 2000-01-12 21:43:59 +00:00
bienvenu%netscape.com
687319afb6 set new flag for all new news messages, not just ones with re:,r=sspitzer 23647 2000-01-11 23:38:53 +00:00
sspitzer%netscape.com
9ca75194ad fix for bug #23457. when we create a new account, set the copies and folders prefs for the associated identity to the right defaults.
added to the nsIMsgProtocolInfo interface defaultCopiesAndFoldersPrefsToServer,
which we use to see for a given server type, do the defaults live on the server
or not (where not would mean "Local Folders").

fix the getFoldersWithFlag method in the nsIMsgFolder interface so it
would be easier to use in JS.

r=alecf
2000-01-11 08:01:37 +00:00
bryner%uiuc.edu
77ecf71c68 Fix build bustage. r=pinkerton. 2000-01-11 00:03:15 +00:00
bienvenu%netscape.com
78e2bb3f76 use string bundles for news messages,r=sspitzer 12105 2000-01-10 20:57:49 +00:00
bienvenu%netscape.com
11b38602ec hook up stop for news, r=mscott 2000-01-09 23:38:31 +00:00
bienvenu%netscape.com
2a16f19801 set new flag for new news headers,r=mscott 23425 2000-01-09 22:19:18 +00:00
sspitzer%netscape.com
da6aaee871 fix #23372, remove hard coded string from account manager and account wizard
js.  fix #23313, don't allow user to delete "local folders" account.
fix #23413, implement delete account.  further divorce "none" from "pop3"
(which will be useful once we get to movemail and other incoming mail server types)

r=alecf
2000-01-08 04:01:06 +00:00
sspitzer%netscape.com
c40113f7f6 fix bug #23317. when using the account wizard, check the
protocol info to see if username is required and how to preflight
the pretty name.  (news does it different than imap and pop.)

to help the insane clown posse, create a string bundle to be used
by the account wizard.

fix the bug that I just introduced where creating accounts
would fail at the very end, so the folder pane would fail to refresh.

r=alecf
2000-01-07 07:49:37 +00:00
jdunn%netscape.com
587ded3bf0 resolving all unresolved symbols at link time
#= 18896 (continuation)
r= pepper@netscape.com - but ramiro and I talked about these types of changes ages ago
2000-01-07 02:48:46 +00:00
mscott%netscape.com
134f73a40c DisplayMessage now takes in the nsIMsgWindow
r=bienvenu
2000-01-06 00:47:58 +00:00
alecf%netscape.com
69bfd0011e pass 2 off XPIDLizing nsIMsgHdr - clean up IDL to use attributes where appropriate, and fix up API calls where necessary (#7808) 2000-01-05 02:02:50 +00:00
putterman%netscape.com
823521f8ff Fixes 22570. r=alecf. Use base class mPath so that counts show up correctly. 2000-01-03 23:43:05 +00:00
sspitzer%netscape.com
1402548aeb fixed the build bustage. r=ducarroz 2000-01-03 23:15:36 +00:00
sspitzer%netscape.com
85bba6cd51 turn on the download headers dialog on the mac, link in the js library. r=mscott. 2000-01-03 22:31:29 +00:00
sspitzer%netscape.com
79fabcdd17 turn this code off until I can fix the mac project file. 2000-01-03 07:12:32 +00:00
sspitzer%netscape.com
b914fc7c59 fix for build bustage, thanks to rpotts for the help. 2000-01-03 07:04:32 +00:00
sspitzer%netscape.com
27a016eafe fix build bustage, I hope. 2000-01-03 06:16:35 +00:00
sspitzer%netscape.com
e802ab3643 more changes to the new download headers dialog.
it isn't complete, but at least the basics are there.
2000-01-03 05:11:51 +00:00
sspitzer%netscape.com
059e639e29 more changes for the new download headers dialog. don't use hard coded
string, get them from a string bundle.  stop building and exporting
the news-test.* resources.  add the MPL to some files.
2000-01-03 04:09:55 +00:00
sspitzer%netscape.com
cac344c777 more work to get the download headers dialog to work. 1999-12-29 03:48:46 +00:00
sspitzer%netscape.com
a322cf0f41 more changes for the download headers dialog ui. 1999-12-28 23:45:57 +00:00
sspitzer%netscape.com
94debc603c include the js file to get the OnLoad handler. 1999-12-28 23:16:57 +00:00
sspitzer%netscape.com
e8f57a0dd1 more changes for the new "download headers" dialog. 1999-12-28 23:08:33 +00:00
sspitzer%netscape.com
36ccb33875 ignore generated Makefiles 1999-12-28 23:03:23 +00:00
sspitzer%netscape.com
bb8aa67787 new files for the "dowload header" dialog. not part of build yet. 1999-12-28 22:57:49 +00:00
sspitzer%netscape.com
33107dab44 fix for #17665, allow the user to configure if they want to use
the newsgroup name abbreviations in the folder pane.
default is yes.  comment out some dumps.  make it so the account manager
can deal with radio inputs.
1999-12-24 08:57:54 +00:00
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
alecf%netscape.com
172de2dfa6 checkin new image file names
not part of build
no reviewer 'cause you can't review images :)
no bug #, just maintenance for skins a la German
all files added with -kb
1999-10-13 03:57:13 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
jefft%netscape.com
33672e6f76 fixed bug 10801 -- [Featuure] Save Messages, bug 14794 - message sent from unsent folder display as raw message; we need to pay attention to where we want to save the message as template, if the message goes to the local mail folder we have to add the dummy envelope header plus the x mozilla status lines; when sending unsent messages we need to set from/sender information to pass the sanity check at the send time; reviewed by rhp 1999-10-07 14:27:11 +00:00
mscott%netscape.com
d50b1fcc45 Bug #14739 --> fix use of unitiailized variable.
r=sspitzer
1999-10-05 20:48:37 +00:00
sspitzer%netscape.com
e3cdd7da27 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

Many thanks to Alec Flett (alecf@netscape.com) for preparing diffs for the mailnews portion of the signature changes; thanks also to Ariel Backenroth (arielb@rice.edu) and Mike Shaver (shaver@mozilla.org) for help with updating the tree with NS_DECL_NSIFOO macros; everwhere where one of these macros was used was one less place I had to manually add 'const'.

Also removed extraneous space from generated method signatures, leftover from Brendan's capitalization spam, and made 'const decl must be of type short or long' an error rather than just a warning.
1999-09-19 23:46:35 +00:00
sspitzer%netscape.com
d9bde9f94b fix for #14268. change all PR_ASSERT() to NS_ASSERTION(). PR_ASSERT() calls abort and that ain't cool. 1999-09-19 22:19:27 +00:00
sspitzer%netscape.com
b51994cbe8 fix a couple of my warnings. 1999-09-19 19:43:25 +00:00
alecf%netscape.com
05e5230991 implement mapping from server.type to IID 1999-09-17 23:59:51 +00:00
putterman%netscape.com
a3e720e049 more performance work for loading folders without .msf files or that have to have
headers downloaded.
1999-09-17 23:12:44 +00:00
bienvenu%netscape.com
ec7fff420e fix news to use folder cache 1999-09-17 20:13:22 +00:00
sspitzer%netscape.com
ce93235c0f more changes for simple subscribe. now, it writes out the new newsgroup to the newsrc file, so it will be there when you quit and come back. 1999-09-17 11:43:24 +00:00
sspitzer%netscape.com
9b4362409f don't create the empty file. (cut and paste error.) pass PR_TRUE to Open() so it creates the summary file. all that's left is writing out <newsgroupname>: to the newsrc file, and simple subscribe is done! 1999-09-17 10:59:54 +00:00
sspitzer%netscape.com
e63507631f don't make it unique.
later, we may need to has the newsgroup name so that it's safe for
the native file system.
1999-09-17 10:35:26 +00:00
sspitzer%netscape.com
d9ec0050b2 remove unused / dead code that I copied and pasted a while ago.
start the work to make "New Folder" behave like simple subscribe for news.
1999-09-17 10:17:26 +00:00
sspitzer%netscape.com
455d3c18b6 fix for #14125
when creating a new news server with the account wizard, the newsrc file that it creates
should be a file, and not a directory.
1999-09-17 06:38:51 +00:00
putterman%netscape.com
afbff3d0db Don't call GetNewMessages in GetMessages. 1999-09-16 21:10:07 +00:00
mscott%netscape.com
b019973e07 set rv to the result of RunNewsUrl. This fixes the reply bug where the subject wasn't showing up for news. 1999-09-16 20:39:02 +00:00
cls%seawood.org
cb3abff6ef Remove unnecessary -D_BSD_SOURCE now that __STRICT_ANSI__ is set in <prinet.h> 1999-09-16 14:50:19 +00:00
sspitzer%netscape.com
f4fbf93b0c clean up my code. 1999-09-16 11:03:56 +00:00
sspitzer%netscape.com
8baa5349c4 add support for the the markOldRead, notifySize, notifyOn attributes of nsINntpIncomingServer. make sure we migrate these prefs, too. 1999-09-16 07:01:17 +00:00
sspitzer%netscape.com
8ee260f294 make the postMessageFile in the nsINNTPNewsgroupPost be a nsIFileSpec, instead
of a nsFilePath.  this means nsINNTPNewsgroupPost is fully scriptable.
it also allowed me to clean up a lot of code.
most of these changes are results of this change.

add notifyOn, maxArticles, and markOldRead attributes to nsINntpIncomingServer
these correspond to "news.max_articles","news.mark_old_read", and "news.notify.o
n" prefs in 4.x.  (in 5.0, they are on a per server basis now.)
rewrite nsNNTPProtocol.cpp to use these attributes, instead of the old 4.x globa
l prefs.

fix warnings.
1999-09-15 21:29:30 +00:00
bienvenu%netscape.com
cbb6e71f55 pass folder in as listener to getnewnews 1999-09-15 05:40:39 +00:00
bienvenu%netscape.com
6ed63b2dd7 do folder loaded notification for news 1999-09-15 04:04:44 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00
jefft%netscape.com
a46c88cc36 fixed bug 13574 -- use stream converter instead of temp file for reply quoting 1999-09-15 02:13:04 +00:00
briano%netscape.com
b849f37e00 General cleanup. 1999-09-15 00:10:25 +00:00
sspitzer%netscape.com
829bf9dd2f adding a string to match the addition state. we need this, or we crash when DEBUG_NEWS is set. 1999-09-14 21:24:44 +00:00
sspitzer%netscape.com
6e6ad7cc7c mail.root.nntp wasn't getting set when I called SetDefaultLocalPath() on a nntp incoming server because QueryInterface for nsNttpService was not fixed to support nsIMsgProtocolInfo. use the cool macro and the problem goes away. woo-hoo! 1999-09-14 09:34:23 +00:00
sspitzer%netscape.com
5ed079462d my mistake, news is correct in this case. this case. 1999-09-14 09:14:22 +00:00
sspitzer%netscape.com
80d5ac54f4 nsIMsgIncomingServer needs a SetDefaultLocalPath(). we use this when migrating prefs.
add the newsrcRootPath attribute to the nsINntpIncomingServer interface.
implement Set/GetNewsrcRootPath(), similar to how Set/GetDefaultLocalPath() are implemented.

rewrite nsMsgAccountManager to use
Set/GetDefaultLocalPath() and Set/GetNewsrcRootPath()

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
sspitzer%netscape.com
f7e2446777 the type is nntp, not news. this was preventing me from setting mail.root.nntp 1999-09-14 08:57:34 +00:00
sspitzer%netscape.com
532077a63a when you get the default local path, and it wasn't set, and you make one up, you need to set it so the pref will get set. 1999-09-14 08:32:58 +00:00
bienvenu%netscape.com
3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com
b6a9d0a97f make the defaultLocalPath attribute of the nsIMsgProtocolInfo interface NOT read only. when we do pref migration, I have to call the setter (which will set the pref for me) 1999-09-14 03:16:02 +00:00
alecf%netscape.com
6932d80141 register news protocol info 1999-09-14 00:34:02 +00:00
alecf%netscape.com
f9e4ffdaf0 implement nsIMsgProtocolInfo in news 1999-09-13 23:53:33 +00:00
cls%seawood.org
a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
bruce%cybersight.com
3d6a5579ca Add newline to end of file to fix HPUX bustage. 1999-09-12 16:34:14 +00:00