Commit Graph

711 Commits

Author SHA1 Message Date
sspitzer%netscape.com
a6a1846e05 better fix for #17597, r=mscott, a=chofmann.
instead of setting the action for the url, check if we have a channel listener.
this is a cleaner fix, and now the quoting back end doesn't need to know about
the nntp url.
1999-11-04 20:02:31 +00:00
sspitzer%netscape.com
55c3a9b47c fix for #17597. reply to a news article doesn't quote the body.
the problem was when we ran the nntp url to get the message we weren't
calling OnDataAvailabe() on the channel listener.  the reason is the channel
listener only got poked when ActionDisplayArticle was set as the action on
the nntp url.  but this wouldn't be the case when we got run from the Quoting backend.  I added a new action, and made sure to set it when running the url from the quoting back end, and then made sure the nntp backend did the right thing.

r=alecf, a=chofmann
1999-11-04 04:31:09 +00:00
alecf%netscape.com
5b487df4b2 fix for #17214 - consolidate all username and hostname handling so that escaping/unescaping happens logically 1999-11-03 07:16:59 +00:00
warren%netscape.com
d3b9c9c3cc Structural changes for MakeAbsolute performance. bug#10736 r=valeski 1999-11-03 05:13:44 +00:00
bienvenu%netscape.com
8c680d77b3 add cancel method to nntp protocol r=mscott 1999-11-03 03:17:36 +00:00
bienvenu%netscape.com
fbbac1c0dc more work to hook up stop button, r=mscott 17743 1999-11-02 21:36:59 +00:00
alecf%netscape.com
649ac66265 cleanup NS_IMPL_MODULE and friends
- define new nsModuleComponentInfo and use it instead of components_t
- use size_t instead of unsigned int
- add some docs
- allow user to define own module name
1999-11-02 01:12:32 +00:00
putterman%netscape.com
7d2a82beee Fix for 17556. Reviewed by alecf. Newsgroups show abbreviated name in folder pane. 1999-10-29 20:46:15 +00:00
bienvenu%netscape.com
075caf0152 changes to use nsIMsgWindow r=putterman 1999-10-29 04:39:06 +00:00
bienvenu%netscape.com
ceca73761d fix a couple ref-counting problems on news dbs, reviewed last week by sspitzer 1999-10-27 22:19:42 +00:00
warren%netscape.com
f50d3df7c0 Added nsIChannel::GetOriginalURI so that we can get back to the original chrome file (bug#17144). r=rpotts,mscott 1999-10-26 09:16:24 +00:00
mscott%netscape.com
8028448766 Bug #16927 implement GetMessageUrlFromUri
r=sspitzer
1999-10-23 23:39:28 +00:00
bienvenu%netscape.com
40ebbb8427 one more news leak fix r=sspitzer 1999-10-22 21:11:17 +00:00
bienvenu%netscape.com
dfb0501d5c fix leaks in news/nntp r=sspitzer 1999-10-22 20:33:04 +00:00
alecf%netscape.com
4bd03fe287 start to consolidate URL and URI parsing into the base classes: remove a whole bunch of protocol-specific code in favor of generalization
basically, more fixes for #14437
r=scottip
1999-10-22 01:02:08 +00:00
alecf%netscape.com
08d038131e turn news into a nsIModule
r=sspitzer
(porkjockey work)
1999-10-20 22:30:02 +00:00
alecf%netscape.com
a33565470d clean up nsIMsgFolder API in preparation for fixing a number of bugs, most importantly #14437
r=scottip
1999-10-20 21:58:21 +00:00
sspitzer%netscape.com
af4500add9 fix warnings. following alecf's recommendations, remove the FindServerUsingURI() method from the nsIMsgAccountManager, remove CreateFolderInDatasource() from nsIMsgFolder, change several methods in nsMsgCopy to return nsresult, and have nsIMsgFolder ** as an outparam, use GetResource() instead of CreateFolderInDatasource(). use NS_SUCCEEDED() instead of comparing against NS_OK directly. 1999-10-18 20:42:06 +00:00
alecf%netscape.com
cd2c94286c get rid of old poorly cased gif file 1999-10-13 04:18:00 +00:00
alecf%netscape.com
bc629c312d export new gifs on Mac 1999-10-13 04:10:49 +00:00
alecf%netscape.com
dddb1a32a5 export new images on windows
r=mscott
no bug
1999-10-13 04:09:25 +00:00
alecf%netscape.com
0084bc2df1 export new gifs on unix
r=sspitzer
1999-10-13 04:08:15 +00:00
alecf%netscape.com
172de2dfa6 checkin new image file names
not part of build
no reviewer 'cause you can't review images :)
no bug #, just maintenance for skins a la German
all files added with -kb
1999-10-13 03:57:13 +00:00
waterson%netscape.com
bdfcaec321 Bug 16105. (Bugsplat 366256.) Ensure that nsISupports::Release() calls dtor only once by 'stabilizing' refcnt to a non-zero value before invoking the dtor. See also news://news.mozilla.org/37FD0F3C.3078AE5C%40netscape.com. r=scc,fur 1999-10-12 03:05:10 +00:00
dveditz%netscape.com
ff01d5e8f4 Fixing 8.3 library name problems, bugs 10355, 10359,10364, 10365, 10372, 11796, 11791. Checking in for cathleen, r=dveditz 1999-10-10 01:32:59 +00:00
jefft%netscape.com
33672e6f76 fixed bug 10801 -- [Featuure] Save Messages, bug 14794 - message sent from unsent folder display as raw message; we need to pay attention to where we want to save the message as template, if the message goes to the local mail folder we have to add the dummy envelope header plus the x mozilla status lines; when sending unsent messages we need to set from/sender information to pass the sanity check at the send time; reviewed by rhp 1999-10-07 14:27:11 +00:00
mscott%netscape.com
d50b1fcc45 Bug #14739 --> fix use of unitiailized variable.
r=sspitzer
1999-10-05 20:48:37 +00:00
sspitzer%netscape.com
e3cdd7da27 a bunch of changes, all reviewed by mscott.
fix some bugs with next, back, and cancel in the profile manager.
(#15223, #15271)
re-write all callers of nsProfile::GetCurrentProfileDir() to use the file locator.
(#15063)
more profile code clean up. (#15042)
rename the old 4.x history.dat file.  it's called history.dat in 5.0, but the file
formats are different.  (binary in 4.x, vs mork in 5.0)
1999-10-05 04:12:58 +00:00
beard%netscape.com
9eae33066d changed from directly using "MSL DropInRuntime.Lib" to using "NSComponentStartup.o" to enable GC leak detector. r=smfr 1999-10-03 20:46:23 +00:00
hyatt%netscape.com
0c1aef9920 Splitting xul.css into two files and making them load automatically at startup. R=danm@netscape.com 1999-10-01 20:49:07 +00:00
mccabe%netscape.com
4f7990cd94 Fix to 7610. Modify xpidl compiler to add 'const' to the method signature for generated attribute setter methods for string, wstring and nsid attributes.
As this changed the generated interface signatures, I had to change all of the uses to avoid bustage.  Any corners of the browser that aren't built by default, or that I haven't discovered how to build, may be at risk of bustage if they use string or wstring attributes.  (This could mean blackwood; sorry, guys!)

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

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

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

fix warnings.
1999-09-15 21:29:30 +00:00
bienvenu%netscape.com
cbb6e71f55 pass folder in as listener to getnewnews 1999-09-15 05:40:39 +00:00
bienvenu%netscape.com
6ed63b2dd7 do folder loaded notification for news 1999-09-15 04:04:44 +00:00
ramiro%netscape.com
e8ba593918 Cleanup the neckutil linking thing. 1999-09-15 02:15:11 +00:00