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

1342 Коммитов

Автор SHA1 Сообщение Дата
sspitzer%netscape.com 571284efc2 fix for #63994, fix string used in news error alert. sr=bienvenu. 2000-12-31 02:57:01 +00:00
sspitzer%netscape.com dc6f21a541 clean up some string code. thanks to disttsc@bart.nl for the suggestions.
sr=bienvenu
2000-12-30 23:54:53 +00:00
bienvenu%netscape.com 6f2568e88f more work on reading offline news, sr=sspitzer for mscott 15870 2000-12-29 22:49:05 +00:00
bryner%uiuc.edu c085503380 Eliminating mailnews dependencies on merrors.h and msgcom.h. Part of bug 38061. r=sspitzer, sr=scc. 2000-12-29 03:46:29 +00:00
sspitzer%netscape.com 55cac2cbf8 fix for #49319. when creating a news account from a news://host/group url,
make it so the associated identity composes messages in plain text.
sr=bienvenu.
2000-12-28 23:52:30 +00:00
sspitzer%netscape.com 8d839f9706 code clean up. sr=bienvenu 2000-12-28 00:29:12 +00:00
sspitzer%netscape.com 923fe95a7a fixes for #57912, #14295, #14301
1) add ui and backend support for "log into this account at startup".  all that is missing is the code to actually do the logging in at startup.  that comes next.

2) hide the user name for news servers in the account manager.

3) fix ui to allow users to edit the username and hostname for a server, but disable it until the back end can handle a live swap of those values.

sr=bienvenu
2000-12-22 23:32:32 +00:00
sspitzer%netscape.com 22cb14ad21 fix for #63625, sr=bienvenu.
nsINewsDatabase.h -> nsINewsDatabase.idl
2000-12-22 23:28:56 +00:00
bienvenu%netscape.com 508ee8530e fix build warning from last checkin 2000-12-22 02:13:58 +00:00
bienvenu%netscape.com af39cb5ee0 download news messages for offline sr=sspitzer for mscott 15865 2000-12-22 02:05:48 +00:00
sspitzer%netscape.com a3e9d4ceeb fix for #47829 and #63382. some code clean up, move hard coded string into
properties files.  sr=bienvenu.  thanks to jag for the initial patch.
2000-12-20 23:56:22 +00:00
sspitzer%netscape.com 905c7b19cc fix for #61791. use nsINewsDownloadDialogArgs instead of nsIDialogParamBlock
and some general cleanup.  sr=bienvenu
2000-12-20 06:31:54 +00:00
sspitzer%netscape.com a4b3e9562b mac part of the fix for #61791. sr=bienvenu 2000-12-20 06:31:12 +00:00
sspitzer%netscape.com b088df0bf7 fix for #63248. prevent crash when running news://host/group?list-ids urls.
I exposed this bug to the average user by fixing #24626.
now, to get list-ids urls to work.
sr=bienvenu.
2000-12-19 05:33:46 +00:00
sspitzer%netscape.com 2a48d3c1f2 rename DisplayHTMLInMessageWindow to DisplayHTMLInMessagePane.
sr=bienvenu
2000-12-19 03:45:21 +00:00
sspitzer%netscape.com a973090955 fix for #24626. when viewing a cancelled message, display the "error"
in the message pane like we did in 4.x.  add the code to display
random html in the message pane to nsMsgWindow, so bienvenu can use it
for offline imap.  known problems:  title isn't being set and headers
aren't being hidden.  but that's next.  sr=bienvenu.
2000-12-19 02:36:32 +00:00
bienvenu%netscape.com d2860dad97 make news and imap respect offline state r=sspitzer,sr=mscott 15865 2000-12-19 01:19:34 +00:00
bryner%uiuc.edu cc136ead8f Bug 55778 -- Don't descend into resources directories that don't have a jar.mn file. This is the Unix portion of the cleanup. r=dprice, sr=cls. 2000-12-15 07:32:25 +00:00
sspitzer%netscape.com 0dfb4f4150 fix for #60638. send "mode reader" to the nntp server. we only
send it once per connection.  also, changes to skip the code that
asks the server for the extensions it supports.  extensions are not
supported yet.  sr=mscott
2000-12-14 21:41:23 +00:00
dbaron%fas.harvard.edu 2b2160f1b0 Fix incorrect usage of nsCOMPtr where nsCOMPtr::operator& was used instead of getter_AddRefs. b=59414 r=disttsc@bart.nl sr=waterson@netscape.com 2000-12-09 04:21:51 +00:00
racham%netscape.com 9c8dd187c0 Fixing bug 48092. Enabling the ability to change the port value automatically depending on the state of secure checkbox option. r=sspitzer, sr=mscott 2000-12-09 03:03:58 +00:00
alecf%netscape.com af0eb76d7c fix for #45797 - remove deprecated NS_IMPL_ISUPPORTS from mail
r=sspitzer
sr=mscott
iho=warren
2000-12-06 22:24:41 +00:00
sspitzer%netscape.com c6c1da1db7 fix for #61857. better status text when downloading the list of newsgroups
from the server.  sr=bienvenu.
2000-12-05 01:17:22 +00:00
sspitzer%netscape.com 67cda4ba6e fix for #60783. when removing a news account, remove all the username and passwords stored in the password manager for that account. (there can be a username and password for the server and every newsgroups.) thanks to andrew.taylor@cal.montage.ca for the patch. r=sspitzer, sr=syd. 2000-12-02 05:14:32 +00:00
sspitzer%netscape.com a722f4ea85 fix for #61007 and #61176. improve performance when downloading list
of newsgroups over a fast connection.  compute the download rate for the UI.
sr=bienvenu,syd.  thanks to bratell@lysator.liu.se for the patch (for #61007).
2000-12-02 00:05:03 +00:00
sspitzer%netscape.com 94c89be713 fix for #59421. sr=bienvenu. prevent the crash when saving a news message with a unicode file name.
the save still fails, but at least you don't crash.
2000-11-30 21:59:01 +00:00
sspitzer%netscape.com 36e310c4c3 fix for #61464. when autosubscribing to a secure news server (clicking on a snews:// url)
set the port to be the default secure news port, if it is not specified in the snews:// url.

sr=mscott
2000-11-29 21:14:32 +00:00
naving%netscape.com e9e2a4419a 59063 59064, r=sspitzer, sr=bienvenu. Arguments changed 2000-11-29 01:18:37 +00:00
sspitzer%netscape.com 7c44d4f430 fix for #54491 and #60507
remove some more bloat from the subscribe code.  use the SubscribeTree
to build up the hostinfo.dat file instead of keeping a duplicate nsCStringArray
sr=bienvenu
2000-11-21 02:06:03 +00:00
cls%seawood.org 66a18fcbbf Resurrect REQUIRES so that we have some sort of means to track intermodule dependencies. Bug #59454 r=blizzard@mozilla.org 2000-11-20 07:16:06 +00:00
sspitzer%netscape.com a0f435b4cf fix for #60532. update the status and progress bar less frequently.
the less time I spend painting, the more time I spend doing the subscribe
work, which means we finish quicker.  sr=mscott
2000-11-18 00:24:13 +00:00
sspitzer%netscape.com 3a79a2ff9b fix #54491 (subscribe is a big fat pig)
fix #56971 (correct spelling mistake: suppress not supress)
fix #60244 (subscribe retains only last server subscribe changes)
fix #60242 (subscribe typedown should select first match in list)
fix #39156 (fix how I determine the delimiter in subscribe.js)
fix #59231 (make insecure imap login work if password has a \ in it)
fix #53654 (subscribe downloaded bytes don't start at zero)
fix #39393 (stop button in subscribe)
fix #60506 (switching servers doesn't clear text area in subscribe)
2000-11-17 20:47:31 +00:00
dbaron%fas.harvard.edu f41a011806 Backout part of blake's changes that he didn't mean to check in to fix speedracer bustage. (These changes were part of a different patch.) 2000-11-16 01:08:24 +00:00
blakeross%telocity.com 77b8600588 Fix 56971: logging should not log user's password. patch by Andrew Taylor (andrew.taylor@cal.montage.ca). r=jefft sr=mscott 2000-11-15 23:55:25 +00:00
sspitzer%netscape.com c366c33d26 fix uninitialized variable. #59673. sr=alecf 2000-11-10 15:20:46 +00:00
warren%netscape.com cd56c0575b Bug 47207. Backing out logging/PRINTF changes until we can fix stopwatch.h, introduce double parens, etc. 2000-10-28 22:17:53 +00:00
warren%netscape.com 9a6d92a433 Bug 47207. Changing printf to PRINTF to use new logging facility. r=valeski,sr=waterson 2000-10-27 22:43:51 +00:00
bienvenu%netscape.com c8a5f01f55 fix handling of interrupted news urls wrt connection cache r=sspitzer, sr=alecf 57665 2000-10-27 03:21:02 +00:00
mkaply%us.ibm.com 2b2a2a8d14 OS/2 Tinderbox break
Using true instead of PR_TRUE
2000-09-22 12:16:14 +00:00
sspitzer%netscape.com 2f6f849df8 fix for #53487. get open attachment to work from news messages.
code stolen from mscott's code for imap & local messages.
r/a=mscott.
2000-09-22 00:44:08 +00:00
sspitzer%netscape.com c3b1d31a36 fix for #53421. make it so we can save attachments from news messages.
the problem was to save attachments, we were calling DisplayMessage()
with news://host/article-id urls, instead of news_message://host/group#article-number
DisplayMessage() can handle news://host/article-id urls, so we just let it.
r/a=mscott
2000-09-21 03:54:17 +00:00
naving%netscape.com 31e9e1c724 r=sspitzer a=mscott 2000-09-21 00:19:23 +00:00
naving%netscape.com 751e2ae5af r=sspitzer a=mscott. Added CancelFailed() 2000-09-21 00:18:31 +00:00
naving%netscape.com edd63dd46a r=sspitzer a=mscott. Notifies failures for Cancel 2000-09-21 00:17:20 +00:00
locka%iol.ie b78abdf560 Changes to loadURI & reload methods on nsIDocShell, nsIWebNavigation. b=50949, r=radha, a=radha 2000-09-20 12:23:53 +00:00
bienvenu%netscape.com 9b64d1b576 fix problem printing news messages r=mscott 52194 2000-09-20 03:43:08 +00:00
sspitzer%netscape.com ece84d85ec part of the fix for #46888. after cancelling a news message, you can't
select another message.  fix by naving@netscape.com.  r=sspitzer,a=mscott
also a couple bullet proofing fixes to prevent crashes.
2000-09-19 22:40:52 +00:00
mscott%netscape.com b8c14822af Bug #51631 --> set correct password dialog text
r=sspitzer
2000-09-14 22:50:07 +00:00
bienvenu%netscape.com a188b9d078 fix for 50350 fix copying multiple news messages r=putterman 2000-09-14 13:45:26 +00:00
jst%netscape.com aa961f07d3 Fixing nsbeta3+ bug 48161. Fixing getAttribute() on a XUL element to conform to the DOM Level 2 spec. This requires some changes in XUL files where various attributes incorrectly have a 'rdf:' prefix. r=waterson@netscape.com & scottip@netscape.com 2000-09-14 05:36:52 +00:00
rayw%netscape.com 0257791053 Bug 37275, Changing value of all progids, and changing everywhere a progid
is mentioned to mention a contractid, including in identifiers.

r=warren
2000-09-13 23:57:52 +00:00
scc%mozilla.org 5acad16fdf if you want a pointer to the characters, you're going to have to |.get()| it 2000-09-13 07:11:08 +00:00
alecf%netscape.com c988aed446 FALSE->PR_FALSE for platform compatibility (no reviewer, simple fix) 2000-09-12 01:58:10 +00:00
putterman%netscape.com b77c3c2afa Fix for 50350. Can now copy and file news messages. r=mscott. 2000-09-08 04:55:43 +00:00
bienvenu%netscape.com f0370e6b85 some fixes for news memory leaks r=mscott 51359 2000-09-07 14:13:23 +00:00
dbaron%fas.harvard.edu cfceba7dca Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.
2000-09-06 02:17:26 +00:00
sspitzer%netscape.com 931da6e5f6 fix for #37673, old code being executed when doing a "LIST XACTIVE".
also making the subscribe dialog contact the server in cases where the hostinfo.dat
exists, but has no groups.  r=mscott.
2000-09-05 21:02:53 +00:00
scc%mozilla.org 8ebc9641fd fixing code that relied on implicit string construction 2000-09-02 23:43:20 +00:00
scc%mozilla.org babe4ad896 and the include file it will need 2000-09-02 22:46:16 +00:00
scc%mozilla.org 424a53f3a8 fixing anticipated bustage from previously mentioned bad pattern 2000-09-02 22:44:59 +00:00
scc%mozilla.org 798d32a8dc fixing code that relied on implicit string construction 2000-09-02 21:55:23 +00:00
sspitzer%netscape.com 910ec9b98d fix for crasher bug #51076. the old category code is not ready for prime time, commenting it out.
mozilla 6.0 doesn't support new categories.  r=mscott
2000-09-01 18:56:36 +00:00
bienvenu%netscape.com e4622d02ab add batching support for msg count notifications r=putterman 49212 and 17470 2000-09-01 14:25:09 +00:00
vidur%netscape.com e153192875 Fix for bug 46861. nsIDOMWindow is now split into two interfaces: a public interface (still called nsIDOMWindow) for embedders and an internal interface (nsIDOMWindowInternal) for internal use. The union of the two interfaces is still visible from JavaScript. r=jst@netscape.com 2000-09-01 01:54:35 +00:00
naving%netscape.com 3214bb75fd Setting the flag to NS_ERROR_FAILURE to signal that there are no more folders left 2000-09-01 01:10:15 +00:00
naving%netscape.com 778c55619f Clearing the NNTP_NEWSRC_PERFORMED flag when all the subscribed newsgroup for
a particular server have been iterated.
2000-09-01 01:08:56 +00:00
sspitzer%netscape.com a274b4baa7 fix for #47830. thanks to gemal@gemal.dk for starting the fix.
r=mscott
2000-09-01 00:52:51 +00:00
sfraser%netscape.com 36612d6514 Make dialogs have titlebars (fallout from bug 41741, fixes bugs 50388, 50389, 50738, 50739, 50747). Simple addition of "titlebar" to chrome flags. 2000-09-01 00:48:04 +00:00
sspitzer%netscape.com 4341729de1 most of the fix for #16336. implement "Get Next N (older) newsgroup messages".
a few tweaks coming soon.  r=mscott.
2000-08-30 23:22:22 +00:00
BlakeR1234%aol.com 58423a22f8 Fix 47829, minor wording change. r=gemal 2000-08-30 21:09:31 +00:00
bienvenu%netscape.com 4e28b71dc0 work for 25455 don't open sent mail db at startup r=putterman 2000-08-30 14:51:10 +00:00
putterman%netscape.com 3f98e61f56 Fix for 44834. Unsubscribe works when hitting delete button or delete menu item when a
newsgroup is selected. r=bienvenu.
2000-08-26 20:45:49 +00:00
alecf%netscape.com a7960ff192 next part of fix for #40357 - make news and local mail not support mail filters
r=putterman
2000-08-26 06:09:48 +00:00
bienvenu%netscape.com b4ac32e65e fix 50059 subscribing to newsgroups in new profile not working r=mscott 2000-08-25 01:52:12 +00:00
bienvenu%netscape.com 9cfbfa3c18 fix 49903 crash posting empty news message r=mscott 2000-08-24 00:58:54 +00:00
warren%netscape.com e05eef45e9 Bug 46777. Redesigned stream interfaces to allows stream observers to be decoupled from pipe implementation. Needed for embedding to fix 'spin' problem. r=rpotts,valeski,ruslan 2000-08-22 07:03:33 +00:00
ccarlen%netscape.com 19a9843607 Converted from using nsIFileLocator to using nsIDirectoryService r=alecf 2000-08-21 23:59:25 +00:00
scc%mozilla.org ad963283c3 fixing code that relied on implicit string construction 2000-08-20 06:59:07 +00:00
scc%mozilla.org bfdd57a088 fixing code that relied on implicit string construction 2000-08-20 06:08:14 +00:00
alecf%netscape.com ebc5b3c4b7 rework nsMessages so they are generic across all server/folder types, so that we can recycle them later
r=putterman
for bug #26456
2000-08-16 23:45:58 +00:00
bienvenu%netscape.com eebba15c70 part of fix for writing out newsrc files on a timer r=mscott 29743 2000-08-16 23:33:19 +00:00
naving%netscape.com 0ff37d2869 Fixed bugs #42998 and #44883.
Removed "this space for rent" from subscribe dlg and add progressmeter to the
subscribe dlg. r = scottip, alecf
2000-08-14 21:43:19 +00:00
alecf%netscape.com 205eefc4a7 speedup for 26456 - use autostring instead of PR_smprintf
r=putterman
2000-08-11 04:32:08 +00:00
mscott%netscape.com 8bb6d1056e Bug #46086 --> can't read forwarded messages in 4.x because we are setting
a bogus content type on the news article (when it's forwarded as an attachment)
Bug #48135 --> fix forwarding of news messages bustage. Clear the channel listener
and re-generate it every time we load a url.
r=bienvenu
2000-08-10 02:09:33 +00:00
bienvenu%netscape.com 085017417c fix stop of msg move/copy r=mscott 28129 2000-08-06 20:15:32 +00:00
bienvenu%netscape.com 7038f52191 fix news connection cache 13506 r=mscott 2000-07-26 21:05:06 +00:00
warren%netscape.com 2b01440bc0 Factored string bundles out of necko. Fixes bug 42107 - need to fix string bundle init workaround. Also bug 40506 - nsIWebProgressListener needs status text. Status messages now work in mozilla and viewer with internationalized and parameterized text! Added temporary error architecture until bug 13423 can be fixed. Extended nsIStringBundleService to provide method to format status message. r=valeski,jband,tao. verified=mstoltz 2000-07-25 05:45:56 +00:00
pavlov%netscape.com 20dc0118ea fix for secure imap and news bug 39154 r=mscott 2000-07-13 23:53:54 +00:00
cls%seawood.org e87a1b7b11 Start tedious process of removing obsolete mozilla/include files from build. This patch should take us down to 19 of 101. Bug #38061 2000-07-10 07:13:31 +00:00
bienvenu%netscape.com 6524bbb982 fix problem posting to wrong news server r=mscott 35678 2000-07-10 02:45:21 +00:00
bienvenu%netscape.com 3198c38bd1 fix problem posting to wrong news server r=mscott 35678 2000-07-10 02:38:22 +00:00
mscott%netscape.com 67e22c951f Bug #44166 --> fix news modal dialog problems by using correct nsIPrompt object
r=alecf
2000-07-08 01:13:08 +00:00
mscott%netscape.com 967ade904a Bug #44167 --> fix news modal dialog problems by using correct nsIPrompt object. part of this fix meant making
sure all news urls were initialized with the currect message window. Hence the change to ConstructNntpUrl.
r=alecf
2000-07-08 01:12:30 +00:00
mscott%netscape.com e6a9a0e1ce Bug #43661 --> open attachment needs to pass in the file name
r=bienvenu
2000-07-07 21:57:39 +00:00
morse%netscape.com 5524653464 fix bug 43886, single signon no longer works, r=jefft 2000-06-27 21:13:50 +00:00
sspitzer%netscape.com f9d98570e1 comment out my printf. 2000-06-24 21:45:08 +00:00
sspitzer%netscape.com edcae4fdcf fix for #39853. when populating the subscribe dialog from disk, we'd
block the entire ui.  this was bad if the hostinfo.dat file was big.
r=mscott
2000-06-24 21:35:59 +00:00
sspitzer%netscape.com db7b98397e fix for #41062. pop up an alert on news errors, like auth failure.
r=mscott.
2000-06-24 21:22:47 +00:00
mscott%netscape.com fd6d34605f 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 03af6b3cbe 10802 --> implement open attachment
r=bienvenu
2000-06-22 22:37:22 +00:00
sspitzer%netscape.com 32174e072b 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 7726bc3d76 Adding localization notes per Bugzilla #39775 Beta2+
r=rchen@netscape.com
2000-06-20 02:30:45 +00:00
ben%netscape.com 2d3e888817 partial fixes for 32347, 30536, 41120 2000-06-17 03:26:47 +00:00
warren%netscape.com 1927d0a1ce Bug 41390. js prompt() contains remember this value checkbox. r=morse 2000-06-17 01:57:36 +00:00
bienvenu%netscape.com f7cbeeb06d more work on search backend, fix scheduling of multiple urls, r=alecf 33101 2000-06-10 14:36:50 +00:00
sspitzer%netscape.com c5053a70b9 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 ef26d5c9be fix unescaping of search data before passing to server, r=sspitzer, 33101 2000-06-09 12:48:22 +00:00
valeski%netscape.com 74232ed5dd 41110. nsiwebshellwindow erradication 2000-06-05 21:42:02 +00:00
warren%netscape.com 512c8bf433 Renaming nsIAllocator to nsIMemory (and nsAllocator to nsMemory). API cleanup/freeze. Bug #18433 2000-06-03 09:46:12 +00:00
sspitzer%netscape.com f8d8906090 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 97504bf2d6 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 533c46ea39 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 60b8c9c046 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 3200cbacc7 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 8bfb5a6f05 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 fbe0cee7d7 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 4973834992 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 94b476cc20 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 76f92de73f 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 b8359d1fb8 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 b9a85aa153 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 634ff81936 Remove linkage with NetworkModular.shlb 2000-05-17 08:43:18 +00:00
cls%seawood.org a8000b8bb5 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 71f3f04b78 fix mac bustage until I get the PRInt64 macro's right. 2000-05-17 06:35:45 +00:00
sspitzer%netscape.com 163ed2f930 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 803190ad4b changes all usages of NS_NewTimer to CreateInstance 2000-05-17 02:49:35 +00:00
sspitzer%netscape.com b54c0dd560 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 25ebda65c9 a bit of code cleanup. start of the work to support hostinfo.dat 2000-05-16 22:14:23 +00:00
mscott%netscape.com afed35b8bc 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 bfdf847716 Reverted serverPasswordRealm back to serverURI. Bug 39453. 2000-05-16 21:17:55 +00:00
mscott%netscape.com 9c363526a9 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 618d468469 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 682a6e57bf preparation for new <radiogroup> widget 2000-05-16 03:26:34 +00:00
mscott%netscape.com b815277e38 Bug #5938 --> set the charset override on the url if there is one. 2000-05-16 00:22:53 +00:00
mscott%netscape.com fa152ce0ab Bug #5938 --> add get/set charset over-ride to I18N urls. 2000-05-15 22:40:47 +00:00
sspitzer%netscape.com 0e33b45466 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 69c0790065 Bug #31058 -->Add nsIMsgI18NUrl and Get/Set URI support. 2000-05-15 20:34:33 +00:00
danm%netscape.com c0ae0cbbf6 top-level chrome dirs are now packages,locales,skins 2000-05-13 21:29:08 +00:00
sspitzer%netscape.com 4ca2b3d567 add subscribe / unsubscribe to the nsISubscribable interface and use them. 2000-05-13 04:41:52 +00:00
sspitzer%netscape.com 40408e6fae whoops. 2000-05-13 00:55:20 +00:00
sspitzer%netscape.com f02481be2e 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 15f7763398 Replaced references to webshell with docshell equivalents 2000-05-12 20:41:19 +00:00
alecf%netscape.com ba23cf18f1 make this class="dialog" so it looks like a normal dialog! 2000-05-12 09:05:19 +00:00
sspitzer%netscape.com bbab58c258 fix assertion / problem with subscribe. duh. 2000-05-12 04:39:43 +00:00
sspitzer%netscape.com 97325cede8 more subscribe work. 2000-05-12 04:23:45 +00:00
sspitzer%netscape.com 51fc36d653 these skin files have moved. 2000-05-11 04:04:52 +00:00
sspitzer%netscape.com 8c54649d77 rename method names so they make more sense. 2000-05-09 05:41:45 +00:00
sspitzer%netscape.com 9d928c4542 fix some subscribe bugs. performance tweaks. more to come. 2000-05-09 05:36:02 +00:00
sspitzer%netscape.com 4db0bd1531 lower count, and remove printfs. 2000-05-05 07:12:51 +00:00
sspitzer%netscape.com 1829813e8d 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 392162f066 remove some obsolete #ifdefs 2000-05-03 21:21:57 +00:00
mscott%netscape.com 69cb8b7561 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 5364faa7cf remove unnecessary dependancy on prefs 2000-05-01 23:08:38 +00:00
sspitzer%netscape.com 7d2a3ebd79 skinability fixes for the download headers dialog. 2000-04-30 09:15:07 +00:00
sspitzer%netscape.com 26f0b8b125 fix warning. 2000-04-30 08:26:01 +00:00
sspitzer%netscape.com dcc969b722 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 532dda5081 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 2cfb602409 making string conversions explicit. scc 2000-04-26 01:13:55 +00:00
bienvenu%netscape.com 97e6203e00 fix linux bustage 2000-04-26 01:10:01 +00:00
bienvenu%netscape.com b4357e6c91 fix linux build problem 2000-04-26 01:08:05 +00:00
bienvenu%netscape.com 842e221a57 more work on news search 2000-04-26 01:04:11 +00:00
jefft%netscape.com da50b52420 fixed bug 17100 - [FEATURE] enabled partial message download for pop3 2000-04-25 01:48:00 +00:00
sspitzer%netscape.com 8cc2a5f33f 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 8754202470 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 ed4fa19be6 making string conversions explicit 2000-04-23 11:54:43 +00:00
sspitzer%netscape.com 470fa0ee52 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 9c7075c692 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 91744b5cc1 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 ace9709b28 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 2163121cfb printf to remind me to fix #36661 2000-04-21 08:34:34 +00:00
sspitzer%netscape.com 739533c309 get snews://<host>/<group> urls to work for autosubscribe. 2000-04-21 06:55:12 +00:00
sspitzer%netscape.com b5adff2a8d no newline at the end of the file. this will hork some compilers 2000-04-21 02:04:53 +00:00
sspitzer%netscape.com 9bc8a565f4 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 4d480438b9 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 65031d8367 fix warnings. 2000-04-20 05:18:55 +00:00
sspitzer%netscape.com 6944a086cd more work for the subscribe dialog. use PR_LOG instead of printfs. #35217 2000-04-20 05:12:14 +00:00
danm%netscape.com d0d8c4d5c3 dist...chrome restructuring 2000-04-19 21:42:30 +00:00
sspitzer%netscape.com 69b2ee163d 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 7f138cd541 add msg folder to Search interface, not run yet 2000-04-19 01:01:08 +00:00
bienvenu%netscape.com b459e719e2 add search method to message service, not used yet 2000-04-16 22:12:36 +00:00
sspitzer%netscape.com 09743b17ac more changes for the new subscribe dialog. 2000-04-14 06:54:19 +00:00
sspitzer%netscape.com fd9cfa6689 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 f7b6c32109 fix mac bustage 2000-04-13 14:58:30 +00:00
bienvenu%netscape.com 28590b38a9 work on nntp connection cache,not turned on yet r=sspitzer 13506 2000-04-13 14:41:35 +00:00
sspitzer%netscape.com c5fec07319 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 15475908d1 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 1a8b22579a make sure we mark the newsrc file as dirty if we update it. 2000-04-12 08:50:01 +00:00
putterman%netscape.com 8cbb6c9e43 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 adef1ac6f6 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 f6740baa20 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 3341f57d8f 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 8317473e41 add nsINNTPProtocol.idl to build 2000-04-04 02:02:40 +00:00
bienvenu%netscape.com 013c4fc5d2 added files: mozilla/mailnews/news/public/nsINNTPProtocol.idl 2000-04-04 01:59:21 +00:00
bienvenu%netscape.com 64e9d2f757 adding interface for nsINNTPProtocol, nOT PART OF BUILD YET 2000-04-04 01:29:08 +00:00
putterman%netscape.com 6d0c68ee48 Add new icons to mail news 3 pane UI. r=mscott 2000-04-03 02:58:21 +00:00
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