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

1141 Коммитов

Автор SHA1 Сообщение Дата
mscott%netscape.com 01eee688b7 Bug #43651 --> can't read news without crashing. Implement GetContentType for nntp protocol.
r=sspitzer
2000-06-24 01:17:02 +00:00
mscott%netscape.com ebc205add2 10802 --> implement open attachment
r=bienvenu
2000-06-22 22:37:22 +00:00
sspitzer%netscape.com 08c1a9315e fix for #40051. thanks to Henrik Gemal <gemal@gemal.dk> for the patch.
r=sspitzer
2000-06-21 01:17:32 +00:00
amasri%netscape.com 93e980b67b Adding localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com
2000-06-20 02:30:45 +00:00
ben%netscape.com bfc9ac7f98 partial fixes for 32347, 30536, 41120 2000-06-17 03:26:47 +00:00
warren%netscape.com 06dd25d8b6 Bug 41390. js prompt() contains remember this value checkbox. r=morse 2000-06-17 01:57:36 +00:00
bienvenu%netscape.com a7f80cf246 more work on search backend, fix scheduling of multiple urls, r=alecf 33101 2000-06-10 14:36:50 +00:00
sspitzer%netscape.com 5071c41433 fix for nsbeta2+ bug #39184. make news pay attention to the port. also remove some
bloat from nsNNTPHost.cpp which was not used and will eventually be going away.
2000-06-10 00:52:43 +00:00
bienvenu%netscape.com 8bdcbf7a2b fix unescaping of search data before passing to server, r=sspitzer, 33101 2000-06-09 12:48:22 +00:00
valeski%netscape.com ab815f8a4d 41110. nsiwebshellwindow erradication 2000-06-05 21:42:02 +00:00
warren%netscape.com 958ed96edd Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sspitzer%netscape.com 0054860e90 move the string parsing into the imap server code, since right now, it is only
needed for imap.  r=mscott.
2000-06-01 22:49:46 +00:00
sspitzer%netscape.com 04d4bab13c make the subscribe i18n friendly when drilling down to find imap folders.
I need to use the folder path, not the folder name.  r=mscott
2000-06-01 03:59:14 +00:00
sspitzer%netscape.com b4baf6207d fix for a bunch of subscribe problems.
#39263, imap subscribe only working to the second level deep
#40238, subscribed imap folders not showing up as subscribed.
#39261, imap folders showing up as full paths, not leaf names.

r=mscott
2000-06-01 02:41:03 +00:00
sspitzer%netscape.com 51c8e0f352 fix for bug #40241. messages stop loading after we attempt to cancel
a news message.  the problem is we were never notifying the folder
that the DeleteOrMoveMsgCompleted event happened.  other code cleanup
to consolidate some common code.  r=alecf
2000-05-31 23:52:22 +00:00
alecf%netscape.com 3685513be7 fix for #40390 - make nsMsgIncomingServer::GetPort fall back to the default
port for the specified server type using nsIMsgProtocolInfo.
Also clean up some of the GetDefaultPort stuff
r=sspitzer
2000-05-31 08:00:13 +00:00
sspitzer%netscape.com c0aad27cd7 fix for #37673. get the password dialog to work again if we don't have a msg window.
r=mscott
2000-05-31 04:48:31 +00:00
sspitzer%netscape.com 2eda7c7b6c fix for several bugs.
#34355, for a new pop server, the copies and folders prefs should point to the pop server,
not the local server.

#22889, #37464, news article urls not displaying, and they causing autosubscribe to happen.

#36661, fix problems with autosubscribe / article url problem, if they happen before
we migrated and if there is no accounts.

#8216,  a successful cancelling of a news posting removes message from thread pane

r=alecf
2000-05-23 02:38:00 +00:00
sspitzer%netscape.com 3c87ddc96d fix for #39913, no you can subscribe / unsubscribe from imap folders with japanese folder
names.  r=mscott
2000-05-20 02:36:30 +00:00
sspitzer%netscape.com 3c77570a67 changes for make the subscribe dialog i18n friendly. now, imap folders with
japanese names work.  thanks to ji@netscape.com for the help in getting
a japanese folder name.  remove the old news/tests.  they are old
and not used anymore.
2000-05-19 22:27:18 +00:00
sspitzer%netscape.com 3e767bed9b fix bug #39763, not marking subscribed groups as subscribed, when we get the list
from hostinfo.dat, which is most of the time.
fix bug #39760, make subscribe population faster for large numbers of groups.
still more to do.  r=mscott.
2000-05-18 20:52:23 +00:00
jefft%netscape.com 3d8430698d fixed 35908 - File/Copy multiple message selection NNTP->IMAP crashes; we call OnStopRequest() twice in a row; r=sspitzer 2000-05-18 20:31:29 +00:00
sspitzer%netscape.com d64e48579e fix my code that broke the mac. r=mscott, part of the "support hostinfo.dat" nsbeta2+ bugs. 2000-05-18 19:45:53 +00:00
sfraser%netscape.com b5e989ff6f Remove linkage with NetworkModular.shlb 2000-05-17 08:43:18 +00:00
cls%seawood.org 1165ad3a33 Mass replace of -lmozjs with $(MOZ_JS_LIBS) needed for OS/2 and consistency. 2000-05-17 06:45:45 +00:00
sspitzer%netscape.com 82e36c688a fix mac bustage until I get the PRInt64 macro's right. 2000-05-17 06:35:45 +00:00
sspitzer%netscape.com c451085eea get the refresh button to work in the subscribe dialog.
make it so when we get the list of newsgroups from the server, we'll
cache it, and write it to the newsrc file.

still a lot of clean up todo before we *truly* support hostinfo.dat, but the hard
parts are done.
2000-05-17 05:27:04 +00:00
pavlov%netscape.com 0c75802384 changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sspitzer%netscape.com bb477bd5f6 more work on the hostinfo.dat support. now, we can at least read the hostinfo.dat in
if we have on (say, from migration.)  if hostinfo.dat is there, we'll use it
to populate the subscribe dialog, instead of going to the server.  (woo-hoo!)

this is for bug #10854, still tons to do.
2000-05-16 23:51:10 +00:00
sspitzer%netscape.com 6b1b66d48a a bit of code cleanup. start of the work to support hostinfo.dat 2000-05-16 22:14:23 +00:00
mscott%netscape.com ecb5ecd242 Bug #39445 --> news folders don't have a charset...fixes a crash
when trying to display news messages.
2000-05-16 21:36:23 +00:00
warren%netscape.com be7f0d13bf Reverted serverPasswordRealm back to serverURI. Bug 39453. 2000-05-16 21:17:55 +00:00
mscott%netscape.com 363be47794 fix infinite recursion in the interface map macro. I wasn't jumping up to the base class (nsMsgMailNewsUrl) instead
I was re-enteringin nsNntpUrl =).
a=leaf
2000-05-16 18:43:05 +00:00
warren%netscape.com 4d1711e5f8 Changes to unify nsINetPrompt with nsIPrompt, making single sign-on work. Single sign-on API changes. Fixes bugs 34583, 34720, 34725, 24746, 33094. r=sspitzer,morse 2000-05-16 05:35:23 +00:00
ben%netscape.com 9304d48c94 preparation for new <radiogroup> widget 2000-05-16 03:26:34 +00:00
mscott%netscape.com 43373bb911 Bug #5938 --> set the charset override on the url if there is one. 2000-05-16 00:22:53 +00:00
mscott%netscape.com 8ef94464bd Bug #5938 --> add get/set charset over-ride to I18N urls. 2000-05-15 22:40:47 +00:00
sspitzer%netscape.com 151704cc87 comment out some dumps, printfs.
get unsubscribe working for news.
get ready to fix the problem of selecting a non-subscribable server and hitting subscribe.
2000-05-15 21:44:34 +00:00
mscott%netscape.com 5832bb244e Bug #31058 -->Add nsIMsgI18NUrl and Get/Set URI support. 2000-05-15 20:34:33 +00:00
danm%netscape.com e6b9efbec5 top-level chrome dirs are now packages,locales,skins 2000-05-13 21:29:08 +00:00
sspitzer%netscape.com 25a95f3788 add subscribe / unsubscribe to the nsISubscribable interface and use them. 2000-05-13 04:41:52 +00:00
sspitzer%netscape.com e1069aa268 whoops. 2000-05-13 00:55:20 +00:00
sspitzer%netscape.com 1891dcfbee fix for #38929, when building the subscribe dialog, don't block the ui thread.
using nsTimer to do this.  need to fix some performance problems, but that's
covered in other bugs.
2000-05-13 00:53:44 +00:00
locka%iol.ie ff164450dd Replaced references to webshell with docshell equivalents 2000-05-12 20:41:19 +00:00
alecf%netscape.com ed51d2ed02 make this class="dialog" so it looks like a normal dialog! 2000-05-12 09:05:19 +00:00
sspitzer%netscape.com 1c1b75a892 fix assertion / problem with subscribe. duh. 2000-05-12 04:39:43 +00:00
sspitzer%netscape.com f883228312 more subscribe work. 2000-05-12 04:23:45 +00:00
sspitzer%netscape.com 146551c9fa these skin files have moved. 2000-05-11 04:04:52 +00:00
sspitzer%netscape.com f99d57cc8d rename method names so they make more sense. 2000-05-09 05:41:45 +00:00
sspitzer%netscape.com 3410157bc6 fix some subscribe bugs. performance tweaks. more to come. 2000-05-09 05:36:02 +00:00
sspitzer%netscape.com 007aa66aec lower count, and remove printfs. 2000-05-05 07:12:51 +00:00
sspitzer%netscape.com ce6d909f61 make it so the UI doesn't block when building up the subscribe datasource.
thanks to mscott / waterson for the tips.
2000-05-05 05:52:38 +00:00
mscott%netscape.com 4301ff8862 remove some obsolete #ifdefs 2000-05-03 21:21:57 +00:00
mscott%netscape.com a70db6d245 pass progress not as a percent but with a current and max byte count
Use progress event sink instead of nsIMsgStatusFeedback.
2000-05-03 21:21:35 +00:00
alecf%netscape.com fea6d191ad remove unnecessary dependancy on prefs 2000-05-01 23:08:38 +00:00
sspitzer%netscape.com 9f44a9671e skinability fixes for the download headers dialog. 2000-04-30 09:15:07 +00:00
sspitzer%netscape.com e3956a6983 fix warning. 2000-04-30 08:26:01 +00:00
sspitzer%netscape.com 87b8d97bb2 finish the fix for a bad compatability bug with Typhoon news servers (and other types, too). 2000-04-30 02:39:59 +00:00
sspitzer%netscape.com d2dd1aeded for subscribe, root the tree in null, so that it goes blank when you switch servers.
start of fix for a bad news compatibility bug with Typhoon news servers.
(rest of fix coming soon.)

Fix it so if we don't have a msg window, we use the hidden window for the parent
of the username/password dialog.

general code cleanup.
2000-04-30 00:27:23 +00:00
mjudge%netscape.com 6622635cab making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
bienvenu%netscape.com 9177125dcb fix linux bustage 2000-04-26 01:10:01 +00:00
bienvenu%netscape.com 28f172e4eb fix linux build problem 2000-04-26 01:08:05 +00:00
bienvenu%netscape.com 1a7e66af8b more work on news search 2000-04-26 01:04:11 +00:00
jefft%netscape.com 223fa87dcf fixed bug 17100 - [FEATURE] enabled partial message download for pop3 2000-04-25 01:48:00 +00:00
sspitzer%netscape.com 02f1da358b more checkins for the new subscribe dialog.
make it so only subscribable servers show up in the server picker.
make it so "newsgroup" turns to "folder" if subscribing to imap.
do the basic wiring to imap servers are hooked in.
clean up my css.
2000-04-25 01:30:30 +00:00
cls%seawood.org 33edc21c9c General cleanup of the shared library rules.
Quick fix for bug #36844.
Since people kept forgetting to wrap SHARED_LIBRARY_LIBS inside MKSHLIB_FORCE_ALL & MKSHLIB_UNFORCE_ALL pairs, we now handle it in rules.mk.  Same goes for making $(SHARED_LIBRARY) dependent upon $(SHARED_LIBRARY_LIBS).
2000-04-23 17:48:04 +00:00
scc%netscape.com af88b827ee making string conversions explicit 2000-04-23 11:54:43 +00:00
sspitzer%netscape.com 290c1fba9a root the tree in the subscribe dialog after we are done building the datasource. 2000-04-23 05:18:23 +00:00
sspitzer%netscape.com 186a459557 changes for subscribe. it needs to be general, not just for news, since imap
will use the subscribe dialog as well.

also, some minor changes, the humble beginnings of the hostinfo.dat support.
2000-04-23 01:19:51 +00:00
sspitzer%netscape.com 9cc3b222b0 fix for #36663. make it so when you run a news://host/group url to autosubscribe, a new messenger window opens up. eventually I'll heed the 4.x pref for
this, so that it will open in an existing messenger window.
2000-04-22 23:16:45 +00:00
sspitzer%netscape.com 4493794339 PerformExpand() and UpdateCounts() need to take a nsIMsgWindow, because these
action may require the user to enter a password, which means a dialog must comes up,
which means we need the msg window for the parent.
2000-04-21 22:55:18 +00:00
sspitzer%netscape.com 1fac1a46bd printf to remind me to fix #36661 2000-04-21 08:34:34 +00:00
sspitzer%netscape.com 13277a193c get snews://<host>/<group> urls to work for autosubscribe. 2000-04-21 06:55:12 +00:00
sspitzer%netscape.com 0d3c6c65ed no newline at the end of the file. this will hork some compilers 2000-04-21 02:04:53 +00:00
sspitzer%netscape.com 2567b6015f changes for autosubscribe. bug #11075. handle the case where they have a news server
already, and the case where they don't.  still more work to be done here, but the basics
work.

also, turn nsMessengerMigrator::CopyIdentity() into nsMsgIdentity::Copy() and
use that in migration and news account creation during autosubscribe.  r=alecf
2000-04-21 00:03:02 +00:00
sspitzer%netscape.com 34354ac8b2 debug vs. opt problem. I need these labels at run time for PR_LOG. 2000-04-20 05:49:58 +00:00
sspitzer%netscape.com 2318009ec5 fix warnings. 2000-04-20 05:18:55 +00:00
sspitzer%netscape.com 6d2b3a4766 more work for the subscribe dialog. use PR_LOG instead of printfs. #35217 2000-04-20 05:12:14 +00:00
danm%netscape.com 622d6fe83b dist...chrome restructuring 2000-04-19 21:42:30 +00:00
sspitzer%netscape.com 038186e8c3 fix for #34739. when possible, ask for a news article by number, not by message id. 2000-04-19 04:14:33 +00:00
bienvenu%netscape.com d28e726806 add msg folder to Search interface, not run yet 2000-04-19 01:01:08 +00:00
bienvenu%netscape.com 502dcf9642 add search method to message service, not used yet 2000-04-16 22:12:36 +00:00
sspitzer%netscape.com aba9796ae7 more changes for the new subscribe dialog. 2000-04-14 06:54:19 +00:00
sspitzer%netscape.com 624579d41b more changes for the new subscribe dialog. instead of having all newsgroups as children
of the server, they are children of the appropriate container.

ie, netscape.public.mozilla.mail-news is a child of netscape.public.mozilla
2000-04-13 23:07:13 +00:00
bienvenu%netscape.com f3c36c90f0 fix mac bustage 2000-04-13 14:58:30 +00:00
bienvenu%netscape.com a3ebd05505 work on nntp connection cache,not turned on yet r=sspitzer 13506 2000-04-13 14:41:35 +00:00
sspitzer%netscape.com fefed47afa fix for #11043. implement news biff. thanks to tobias@adamson.com for contributing this patch. r=sspitzer 2000-04-13 02:59:01 +00:00
sspitzer%netscape.com c50633cd9e changes so that the alert for cross posting to multiple news server shows up.
(instead of a silent failure.)  note, we are still being too over-zealous when
deciding if you are cross posting to multiple servers.  see bug #35338
2000-04-12 09:48:25 +00:00
sspitzer%netscape.com c88c49d7f5 make sure we mark the newsrc file as dirty if we update it. 2000-04-12 08:50:01 +00:00
putterman%netscape.com ad63066e1a Add a standalone message window and make multiple 3 pane configurations work. r=mscott, sspitzer. 2000-04-11 20:19:32 +00:00
cls%seawood.org 3c1876ab59 Minor changes to incoporate OS/2 into our build system. Bug #34106
We now set MOZ_{JPEG,ZLIB,PNG}_{CFLAGS,LIBS}, XPCOM_LIBS, MOZ_COMPONENT*_LIBS, WIDGET_DLL, GFXWIN_DLL and MOZ_JS_LIBS in configure.
Added os2 specific arguments to configure.
Added os2 target arch section to configure.
Modified a handful of Makefile.ins to use MOZ_JS_LIBS, MOZ_COMPONENT_LIBS, & EXTRA_DSO_LIBS where necessary.
2000-04-05 06:08:04 +00:00
cls%seawood.org 57978e5c23 Moved static MOZ_COMPONENT_NSPR_LIBS, MOZ_COMPONENT_XPCOM_LIBS, MOZ_COMPONENT_LIBS definitions from configure.in to config.mk. Replaced -lxpcom in Makefiles to $(XPCOM_LIBS) so that we can optionally link against -lboehm when needed. Bug #31287 2000-04-04 04:46:38 +00:00
sspitzer%netscape.com 7e5cb5c8e3 fix for #10855. update newsgroup counts when expanding the server. still a few
edges to smooth.  also, continue clean up of the news code.  r=bienvenu
2000-04-04 02:31:43 +00:00
bienvenu%netscape.com 2fa5b2068d add nsINNTPProtocol.idl to build 2000-04-04 02:02:40 +00:00
bienvenu%netscape.com f1ef210ae2 added files: mozilla/mailnews/news/public/nsINNTPProtocol.idl 2000-04-04 01:59:21 +00:00
bienvenu%netscape.com cc6d181c6c adding interface for nsINNTPProtocol, nOT PART OF BUILD YET 2000-04-04 01:29:08 +00:00
putterman%netscape.com c6139de89e Add new icons to mail news 3 pane UI. r=mscott 2000-04-03 02:58:21 +00:00
sspitzer%netscape.com d8b0d54e85 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 03cf9527fa 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 1079a54739 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 d26d4a39a3 fix warning. r=bienvenu. 2000-04-01 06:29:15 +00:00
sspitzer%netscape.com bbf52a8a68 fix warnings. r=bienvenu 2000-04-01 06:25:29 +00:00
sspitzer%netscape.com eee2e831a8 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 734b1d0c2e Use the docShell APIs to do the Load rather than nsIWebShell methods. 2000-04-01 00:26:21 +00:00
warren%netscape.com d60b12b153 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 90210ce245 get downloading of imap attachments working, r=alecf 32767 2000-03-29 00:58:21 +00:00
sspitzer%netscape.com aec725293d 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 0ad60e5851 more thrashing, sorry about this. 2000-03-28 07:50:41 +00:00
sspitzer%netscape.com 25af75f74e whoops, fix build bustage. 2000-03-28 07:47:51 +00:00
sspitzer%netscape.com 237835bb3a 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 12a9f58718 small changes to clients of string converting APIs 2000-03-26 13:44:07 +00:00
putterman%netscape.com bed4678ea5 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 84362f8898 more work on mpod 32767 r=mscott 2000-03-24 06:20:01 +00:00
sspitzer%netscape.com 66aa2abd86 make the dialog truly modal. 2000-03-17 09:09:41 +00:00
sspitzer%netscape.com f75ee242c5 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 5aea821ab8 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 120ccd69b4 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 e03eefbbcd 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 5fc7d2ab75 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 85024cc3f0 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 1456a66cf6 Fixing mac bustage. 2000-03-09 04:58:38 +00:00
putterman%netscape.com aedadeea90 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 a0ac71c3eb 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 81801d584a 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 c508d58fe4 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 21db7556eb not part of the build yet. 2000-03-04 18:18:44 +00:00
sspitzer%netscape.com ef3666f4a3 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 8bbac10e64 fix spelling of hander to handler. bug #29407. r=sspitzer 2000-02-27 20:51:11 +00:00
sspitzer%netscape.com 83498d2ac6 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 f29abcb66f 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 26b267ec48 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 10f1f6ee30 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 b782f6e68a Changes to implement printing correctly - Buf #12505 - r: jefft 2000-02-15 23:05:06 +00:00
sspitzer%netscape.com c09728b293 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 4ae960fcd7 fix for bug #26944. nsStdUrl is returning an escaped url. r=alecf 2000-02-12 19:50:49 +00:00
alecf%netscape.com c91f4d6f7d don't access mFolder directly, instead go through base class
r=putterman
2000-02-08 06:00:57 +00:00
sspitzer%netscape.com ad5fa4d555 make it so -chrome <chrome url> does the right thing.
r=mscott
2000-02-08 03:12:39 +00:00
sspitzer%netscape.com 17eebe8a61 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 5e041e830f Pro5 update 2000-02-07 23:06:04 +00:00
bienvenu%netscape.com d7e992b034 allow creation of folders with double-byte characters r=putterman, 26745 2000-02-07 00:20:37 +00:00
sspitzer%netscape.com 3f0fb0c0d8 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 b0d82a621f 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 63e557c3c8 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 6281a9efd1 Converting ::GetIID() to NS_GET_IID(). Bug #20232, r=scc@netscape.com 2000-02-06 03:18:27 +00:00
alecf%netscape.com 2185a7333a move from nsAutoCString to nsCAutoString r=sspitzer 2000-02-05 06:11:46 +00:00
sspitzer%netscape.com d7dc57c074 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 1047da0bac 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 c027a8ae3d 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 1f40184cfe 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 20bb93971d 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 cbe216a7ba printfs hinting of work to come. 2000-02-01 12:18:23 +00:00
sspitzer%netscape.com 0f049681af fix crasher when posting, and some more cleanup. 2000-02-01 11:40:32 +00:00
sspitzer%netscape.com e2cbafada0 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 e479dea924 clean up. r=alecf 2000-02-01 07:41:10 +00:00
ducarroz%netscape.com af89452e49 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 2c30f7add0 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 4bee4994d2 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 315df8cb85 clean up nsIMsgFolder.idl and break it apart. r=alecf 2000-01-26 10:00:00 +00:00
sspitzer%netscape.com 5c2afda48a added files: mozilla/mailnews/news/public/nsIMsgNewsFolder.idl 2000-01-26 09:59:20 +00:00
sspitzer%netscape.com 96a68020b0 I'm taking this out of nsIMsgFolder. not part of build yet. 2000-01-26 09:50:06 +00:00
sspitzer%netscape.com 52fccc0e45 remove the old method, it's gone now. 2000-01-26 08:19:56 +00:00
sspitzer%netscape.com dda7d6cf40 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 3faa747d74 the real fix. I need to cast to (const char *) for certain platforms. 2000-01-25 05:51:41 +00:00
sspitzer%netscape.com 991a220f4c "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 de516b8dcd removing the extra quotes from the strings. 2000-01-25 03:21:54 +00:00
sspitzer%netscape.com c5475be197 fix for #24882, initialize member to null. 2000-01-25 02:40:53 +00:00
bienvenu%netscape.com b11c7a0430 add ability to copy multiple imap messages efficiently, r=jefft,mscott 23302 2000-01-18 22:33:35 +00:00
alecf%netscape.com b4c796b63d back my changes out 2000-01-14 22:53:16 +00:00
alecf%netscape.com 26dec628b3 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 76b7dad32e 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 7b6d2cca05 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 1e1d22cfe9 fix that annoying off by one bug. 2000-01-13 09:27:08 +00:00
sspitzer%netscape.com fdd118938a polish and shine. 2000-01-13 09:08:35 +00:00
sspitzer%netscape.com b1ba261894 fix some minor problems with the download header dialog. 2000-01-13 08:51:53 +00:00
sspitzer%netscape.com 421b30a8d1 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 088f19a6bd heed the per server "news.notify.on" pref. 2000-01-13 08:22:19 +00:00
sspitzer%netscape.com a62fc2b022 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 dc13b97a8f "news.notify.size" is not used anymore 2000-01-13 04:09:43 +00:00
bienvenu%netscape.com a1ff78fcb1 add copymessages to message service,r=mscott 2000-01-12 21:43:59 +00:00
bienvenu%netscape.com db9468616e 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 079c129409 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 a13b9b6139 Fix build bustage. r=pinkerton. 2000-01-11 00:03:15 +00:00
bienvenu%netscape.com 7e2a8bbfa8 use string bundles for news messages,r=sspitzer 12105 2000-01-10 20:57:49 +00:00
bienvenu%netscape.com 82d1fa71c9 hook up stop for news, r=mscott 2000-01-09 23:38:31 +00:00
bienvenu%netscape.com c637ef6dde set new flag for new news headers,r=mscott 23425 2000-01-09 22:19:18 +00:00
sspitzer%netscape.com 66a2024b3e 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 33ca74f641 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 3adcf16109 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 d0ae8fffc5 DisplayMessage now takes in the nsIMsgWindow
r=bienvenu
2000-01-06 00:47:58 +00:00
alecf%netscape.com a9926bbf8e 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 2cf9d22cd1 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 c39de9c766 fixed the build bustage. r=ducarroz 2000-01-03 23:15:36 +00:00
sspitzer%netscape.com 9554841a56 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 56c1bad89f turn this code off until I can fix the mac project file. 2000-01-03 07:12:32 +00:00
sspitzer%netscape.com 18e7783e27 fix for build bustage, thanks to rpotts for the help. 2000-01-03 07:04:32 +00:00
sspitzer%netscape.com 4bf77228a1 fix build bustage, I hope. 2000-01-03 06:16:35 +00:00
sspitzer%netscape.com 7b21073e3b 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 117f24ece3 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 78faa41b92 more work to get the download headers dialog to work. 1999-12-29 03:48:46 +00:00
sspitzer%netscape.com a6725d6f79 more changes for the download headers dialog ui. 1999-12-28 23:45:57 +00:00
sspitzer%netscape.com fe25096891 include the js file to get the OnLoad handler. 1999-12-28 23:16:57 +00:00
sspitzer%netscape.com 6abff4ac0a more changes for the new "download headers" dialog. 1999-12-28 23:08:33 +00:00
sspitzer%netscape.com 58d5774386 ignore generated Makefiles 1999-12-28 23:03:23 +00:00
sspitzer%netscape.com 3c34989063 new files for the "dowload header" dialog. not part of build yet. 1999-12-28 22:57:49 +00:00
sspitzer%netscape.com 0c9b7c6a74 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 b03314d5f0 remove unused code. 1999-12-22 08:27:50 +00:00
sspitzer%netscape.com 531f5f425d 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 7f84510024 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 fb53ff1de2 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 f0be7a9f12 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 b40d1d6f81 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 fc2a49ab8a 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 dd8ea8e802 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 40a565e1d0 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 bf4ef9672f 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 8432d84d0f 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 eca3788d93 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 8dfb58e0e1 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 faf0c7433f 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 a265a32348 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 4ab4ee4d4e Eliminated the libs build pass. 1999-11-28 03:05:01 +00:00
mscott%netscape.com 74e0aaff82 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 534276c25c Work on making folder pane look like spec. Fixes 17841. Reviewed by alecf. 1999-11-22 22:08:23 +00:00
jefft%netscape.com 4ce787a363 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 d8bbb844e6 Removed the nsICapabilities interface in favor of nsIInterfaceRequestor. 1999-11-18 07:36:41 +00:00
warren%netscape.com aaf83521f5 Necko API and implementation changes for retargeting. Needed for URL dispatching. r=mscott 1999-11-17 08:14:52 +00:00
cls%seawood.org b68d17371a Removing dependency upon security/freenav module. r=alecf 1999-11-13 23:51:49 +00:00
warren%netscape.com 4471ddf809 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 fce4a1883b 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 dbbbc837b6 Work on 12846 for making message threads work. Reviewed by bienvenu. 1999-11-11 00:23:29 +00:00
sspitzer%netscape.com 29be31b15d fix warning. 1999-11-10 23:51:45 +00:00
sspitzer%netscape.com 0b66101f18 fix warnings. 1999-11-10 00:12:22 +00:00
dmose%mozilla.org 8535dda53e 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 8ece75d962 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 661b08c9a6 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 5914bd716a 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 813f9f7c13 Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com 39acb37bf0 add cancel method to nntp protocol r=mscott 1999-11-03 03:17:36 +00:00
bienvenu%netscape.com 41638ccfc8 more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
alecf%netscape.com 13eaac5db2 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 c15e7eaa09 Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com 62902479e8 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com 71213061de 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 00dfd9d907 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 2bed8b10d1 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
bienvenu%netscape.com bed60f85a3 one more news leak fix r=sspitzer 1999-10-22 21:11:17 +00:00
bienvenu%netscape.com fbc05ba1de fix leaks in news/nntp r=sspitzer 1999-10-22 20:33:04 +00:00
alecf%netscape.com 40f011a9b6 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 5b73d05d67 turn news into a nsIModule
r=sspitzer
(porkjockey work)
1999-10-20 22:30:02 +00:00
alecf%netscape.com 0881139c13 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