Commit Graph

885 Commits

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

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

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

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

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

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

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

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

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

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

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

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

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

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

rename some methods in nsMsgAccountManager for correctness.
1999-09-14 09:03:40 +00:00
sspitzer%netscape.com
f7e2446777 the type is nntp, not news. this was preventing me from setting mail.root.nntp 1999-09-14 08:57:34 +00:00
sspitzer%netscape.com
532077a63a when you get the default local path, and it wasn't set, and you make one up, you need to set it so the pref will get set. 1999-09-14 08:32:58 +00:00
bienvenu%netscape.com
3456144dd5 break out UpdateFolder method from GetMessages 1999-09-14 04:02:34 +00:00
sspitzer%netscape.com
b6a9d0a97f make the defaultLocalPath attribute of the nsIMsgProtocolInfo interface NOT read only. when we do pref migration, I have to call the setter (which will set the pref for me) 1999-09-14 03:16:02 +00:00
alecf%netscape.com
6932d80141 register news protocol info 1999-09-14 00:34:02 +00:00
alecf%netscape.com
f9e4ffdaf0 implement nsIMsgProtocolInfo in news 1999-09-13 23:53:33 +00:00
cls%seawood.org
a87b20551f Fix my bustage using -D_BSD_SOURCE 1999-09-12 17:15:57 +00:00
bruce%cybersight.com
3d6a5579ca Add newline to end of file to fix HPUX bustage. 1999-09-12 16:34:14 +00:00
mscott%netscape.com
50e5ac4e1b Bug #10933 displaying a message no longer involves spooling to a temp file! *yeah*
unfify copy and display code.
add save mesage to disk support.
1999-09-12 05:12:30 +00:00
mscott%netscape.com
d49399016b displaying a message no longer involves spooling to a temp file! *yeah*
Run display article urls through the webshell.
unify copy and display article code.
1999-09-12 05:11:45 +00:00
mscott%netscape.com
3a0b703487 news url action work. Also added save message to disk implementation. 1999-09-12 05:11:16 +00:00
mscott%netscape.com
ed77e4f208 Remove run news url method which shouldn't be exposed in the service. 1999-09-12 05:10:49 +00:00
mscott%netscape.com
0596f3245a Add notion of news actions to the url. 1999-09-12 05:10:08 +00:00
warren%netscape.com
40ed9d6ad2 Removed NS_BASE_STREAM_EOF in favor of returning a count of 0 from Read to indicate EOF. Renamed GetLength to Available. Fixed a number of places where AppendElement's broken error code wasn't checked. 1999-09-09 22:05:05 +00:00
sspitzer%netscape.com
8457354b34 do some clean up in preperation of migrating the fcc prefs. (for bug #10583)
change the newsrcFilePath attribute to be a nsIFileSpec, instead of a string.(bug #13306)
add code to do hashing of hostname. [not turned on yet].  (for bug #13480)
remove the obsolete GetRootFolderPath() code from the incoming servers.
1999-09-09 21:17:32 +00:00
arielb%rice.edu
061c211972 spamming mailnews/news with NS_DECL_NSIFOO's, voucher mccabe 1999-09-09 07:44:24 +00:00
sspitzer%netscape.com
e249df99ca bulletproofing fixes for #12712, crash when your directory pref for a news server points a non-existant directory. the second half of this fix is to make sure it always exists. that fix is coming soon. 1999-09-09 04:37:11 +00:00
alecf%netscape.com
22703b41c3 change nsIMsgIncomingServer->SetLocalPath/GetLocalPath to be an nsIFileSpec instead of a string 1999-09-09 04:11:38 +00:00
colin%theblakes.com
956aa62e1d Add -lrdfutil_s to EXTRA_DSO_LDOPTS 1999-09-08 18:57:45 +00:00
alecf%netscape.com
20ea43da36 switch to using PR_FALSE/PR_TRUE and some nsCRT string routines 1999-09-08 03:55:56 +00:00
mscott%netscape.com
3161ca1600 rename Cancel() to DoCancel so we don't over-write method from base class (which we will be doing
when the protocol inherits from nsIChannel).
1999-09-02 21:06:18 +00:00
briano%netscape.com
5469ae0334 Fix for objdir builds. 1999-09-02 02:44:15 +00:00
mscott%netscape.com
3110bc82ef Bug #8076/9836 --> use specialDirectory::OS_TemporaryDirectory to determine the directory to write tempMessage.eml out to. 1999-09-01 04:09:07 +00:00
ramiro%netscape.com
18b5e04d18 Cleanup linkin of mozdbm. 1999-08-31 14:31:50 +00:00
sspitzer%netscape.com
29a4df5a10 code clean up. fix bug #8362, pop up server error message as alerts. since #7770 is fixed, remove the ifdefs. 1999-08-30 22:31:45 +00:00
putterman%netscape.com
82d604a5a0 msgbaseutil.dll isn't 8.3 so change to msgbsutl.dll 1999-08-30 22:17:13 +00:00
sspitzer%netscape.com
7f50fd738b initial pass at hooking up news to the progress bar and status area. more to be done here. 1999-08-28 17:29:15 +00:00
sspitzer%netscape.com
4cbf66f6c3 turn off my debugging noise 1999-08-28 17:26:13 +00:00
sspitzer%netscape.com
804a7e88a4 fix for #12595, #12596, #12570, and #10672. migrate some more 4.x prefs, and fix some crashers, and clear 4.x prefs after migrating. 1999-08-27 06:16:14 +00:00
rpotts%netscape.com
0085d83ab0 M9 BRANCH landing... 1999-08-26 22:45:55 +00:00
bienvenu%netscape.com
922a55a1b7 replace nsIEnumerator with nsISimpleEnumerator 1999-08-26 04:41:07 +00:00
sspitzer%netscape.com
f9f7f6c363 fix for #12464. initialize memory. fixes news on mac and windows. 1999-08-25 19:03:26 +00:00
ramiro%netscape.com
7ee0e69965 Cleanup zlib cruft. 1999-08-25 14:39:53 +00:00
ramiro%netscape.com
5c9835cc68 Cleanup linking of libimg. 1999-08-25 13:37:11 +00:00
sspitzer%netscape.com
71d5f558d2 revert by build breakage checkin. brendan fixed the xpidl compiler. I hadn't
picked up the changes yet.  interCaps in IDL and JS, and InterCaps in C++.
1999-08-25 07:17:21 +00:00
sspitzer%netscape.com
e8ccfec4d8 more fixage for build spankage. thank you sir, may I have another? 1999-08-25 06:35:01 +00:00
sspitzer%netscape.com
767d06c436 fix logic and add a cast to fix #12435 1999-08-25 06:07:44 +00:00
brendan%mozilla.org
defeffaabd Massive spankage to capitalize C++ method and attribute name bindings, per
Architecture Item 6.3 (news://news.mozilla.org/37BA89CF.3823D6F9%40meer.net).
1999-08-25 05:26:25 +00:00
sspitzer%netscape.com
3932f95759 changes to get a news server to work with a userName. fixes bug #12407. 1999-08-24 22:39:40 +00:00
ramiro%netscape.com
ec21b9ecbc Set the timer lib flags in one place. 1999-08-24 14:54:59 +00:00
alecf%netscape.com
b22a966f53 fix GetUsername to return the right value 1999-08-24 08:12:23 +00:00
alecf%netscape.com
962c56ab3e add a helper routine to get the Username out of the news URI (will eventually go away) 1999-08-24 08:10:59 +00:00
mscott%netscape.com
1a47c7dd01 nsString(eOneByte) --> nsCString nsString(eTwoByte) --> nsString, nsString2 --> nsString changes 1999-08-24 00:52:36 +00:00
mscott%netscape.com
a5f3469989 cleanup some of the interfaces to make the service scriptable 1999-08-24 00:51:56 +00:00
mccabe%netscape.com
a900e17559 Replace declarations of interface methods in implementation classes with xpidl-generated NS_DECL_NSIFOO.
Remainder of the netwerk portion of the NS_DECL_NSIFOO spam.
1999-08-22 23:52:07 +00:00
mscott%netscape.com
5f44addf6a Remove unnecessary windows.h include which was used to get InterlockedIncrement for threadsafe interfaces.
I fixed the implementation of threadsafe addref and release for windows to not require it so people no longer
need to include windows.h whenever you are using a threadsafe interface.

return NS_ERROR_NOT_IMPLEMENTED for some of the channel interface implementations

Use NS_GET_IID.
1999-08-22 22:55:47 +00:00
ramiro%netscape.com
56b62f3790 Cleanup the jsdom and jsurl linking mess. 1999-08-22 11:05:45 +00:00
ramiro%netscape.com
2c19866af3 cleanup linking of libmozreg. 1999-08-21 15:41:53 +00:00
mscott%netscape.com
adf0904760 Bug #11686 --> remove comparisons of an unsigned int to something < 0 because that condition could never happen. 1999-08-20 02:25:59 +00:00
sspitzer%netscape.com
171befab8e the other half of my checkin. 1999-08-19 22:13:56 +00:00
sspitzer%netscape.com
c3b3d2424e clean up the code a bit. 1999-08-19 22:01:57 +00:00
sspitzer%netscape.com
e774df68c5 fix #8515, #11815. I was failing to send QUIT to the nntp server. this would leave all nntp connections open. eventually the nntp server would stop respond to us. (probably a denial-of-service prevention mechanism). the second side effect is the throbber would spin and spin. now, both are fixed. eventually, I'll need to implement a nntp connection pool...but that's not necessary yet. 1999-08-19 07:08:19 +00:00
bienvenu%netscape.com
b0429b043c add RemoveSubFolder for Jefft 1999-08-18 05:35:54 +00:00
ramiro%netscape.com
6eeeaf7730 Fix for -lpref linking problems. Dont link with libpref, its not needed. 1999-08-18 00:27:50 +00:00
ramiro%netscape.com
ee33c47ded Link in secfree dynamically only where needed. 1999-08-17 15:46:57 +00:00
ramiro%netscape.com
04349cdd68 Link expat and xmltok into the htmlparser statically. Not into the app. 1999-08-17 12:46:23 +00:00
warren%netscape.com
d944d70a84 Fix for bug 7682: StringBundle can't load URLs from imap thread. 1999-08-13 00:43:48 +00:00
sspitzer%netscape.com
0a8bb17086 nsString(eOneByte) -> nsCString work 1999-08-10 22:45:44 +00:00
sspitzer%netscape.com
cac29eecd9 nsString(eOneByte) -> nsCString work. Get the prompts / alert code building again. 1999-08-10 22:45:31 +00:00
mscott%netscape.com
8fc13baa57 Add SetUserName support which is going to be needed in order to figure out the server for a url. 1999-08-10 18:12:37 +00:00
sspitzer%netscape.com
630f570a32 here's an idea: return the error. 1999-08-10 18:06:02 +00:00
mccabe%netscape.com
2a403483de Changes to the xpidl compiler -
Error if an interface is declared [scriptable], but contains methods that can't be scripted because they refer to native-declared types, unless the method is declared [noscript].

This change is intended to make it easier to determine when an interface is not scriptable, and to make it easier to see what changes need to be made to make it scriptable.

As many of the .idl files in the tree defined [scriptable] interfaces that contained non-scriptable methods, I've sprinkled [noscript] throughout.  As the interfaces weren't scriptable anyway, this shouldn't change their visibility to javascript.
1999-08-10 12:18:01 +00:00
sspitzer%netscape.com
28790a7662 fix #10591. get news posting to work again. 1999-08-10 02:21:25 +00:00
alecf%netscape.com
1fb958f7ba news doesn't need it's own nsNewsURI2Name anymore 1999-08-10 01:01:00 +00:00
alecf%netscape.com
1605deb0ad news doesn't need to link against JS 1999-08-10 00:48:47 +00:00
alecf%netscape.com
586ee5c8c5 news doesn't need its own implementation of GetName 1999-08-10 00:48:09 +00:00
bienvenu%netscape.com
61dc733433 remove nsString2 1999-08-07 16:28:43 +00:00
bienvenu%netscape.com
3653ea8d06 get rid of nsString2 1999-08-07 02:32:02 +00:00
arielb%netscape.com
88fb6f5c7f removing reference to lcaps in makefile.in 1999-08-07 01:46:01 +00:00
bienvenu%netscape.com
bf989a5b90 add explicit includes to prepare for idl cleanup 1999-08-06 17:45:38 +00:00
sspitzer%netscape.com
fdcbe50278 use /tmp instead of /usr/tmp. /tmp should always be there, where /usr/tmp will not be. eventually, this will go away anyways. 1999-08-05 22:43:15 +00:00
mscott%netscape.com
16f3cd4cc3 Changes for:
nsString(eOneByte) --> nsCString
nsString(eTwoByte) nsString
nsString2 --> nsString
1999-08-05 04:28:28 +00:00
sspitzer%netscape.com
de90d57b26 fix warnings. 1999-08-03 20:47:52 +00:00
sspitzer%netscape.com
8035a9d87c turn of my debugging printfs. 1999-07-31 19:07:05 +00:00
briano%netscape.com
0212559fff Added NSPR_LIBS so it the shared lib would build on IRIX. 1999-07-30 23:36:14 +00:00
rpotts%netscape.com
7fa9608d2e Fixed crash when clicking on news: URLs... 1999-07-29 21:35:14 +00:00
mscott%netscape.com
01ab699db6 Landing the MailNews_Necko_BRANCH. These are the changes that will enable mailnews to run with necko. 1999-07-29 00:42:25 +00:00
briano%netscape.com
007ea62765 Cleaned it up and changed the name of libreg.{a,so} to libmozreg.{a,so} to fix the conflict reported in bug 8568. 1999-07-27 23:27:44 +00:00
sspitzer%netscape.com
10ddce94f7 fix solaris bustage. 1999-07-26 04:03:24 +00:00
rickg%netscape.com
418cac6b88 replaced call to deprecated nsString API 1999-07-26 01:01:10 +00:00
sspitzer%netscape.com
b7169a4501 fix for #9896. make nsMsgLineBuffer work for buffers that use CR, LF, and CRLF. (before, only CRLF and LF worked.) the mac uses CR, and we'd lose the last line of the newsrc file. 1999-07-24 18:15:19 +00:00
sspitzer%netscape.com
4dfdb3d910 remove these header files. all idl files for news, now! 1999-07-24 01:36:44 +00:00
sspitzer%netscape.com
34d5e2e364 turn on the new idl files for the mac now. 1999-07-24 01:36:36 +00:00
sspitzer%netscape.com
7cd4f9ea86 turn on new idl files for windows 1999-07-23 08:33:10 +00:00
sspitzer%netscape.com
199fafc79f turn on the new news idl files for unix. I'll do windows and mac tomorrow. 1999-07-23 07:32:48 +00:00
sspitzer%netscape.com
7087d52b52 removing const-ness, in prep for turning on new idl files. 1999-07-23 07:32:20 +00:00
sspitzer%netscape.com
89a5320023 not part of build, yet. one step closer to IDLifying all of news. 1999-07-23 06:26:09 +00:00
sspitzer%netscape.com
170e0af68d adding this idl file. not part of the build yet. 1999-07-23 06:00:50 +00:00
sspitzer%netscape.com
0e4f0c1ce2 fix assertion on post. remove crufty code. 1999-07-22 21:33:49 +00:00
sspitzer%netscape.com
09daaf1df5 clean up my #defines. wrap another printf with #ifdef DEBUG_NEWS 1999-07-22 05:05:28 +00:00
sspitzer%netscape.com
366eb415fb changes to support News migration from 4.x. Right now, only works on Windows. Mac and UNIX next. 1999-07-21 05:15:44 +00:00
sspitzer%netscape.com
d52fce4474 here's an idea: spell messenger correctly in the PROG IDS. 1999-07-20 04:04:09 +00:00
sspitzer%netscape.com
de6ef74bca get my test app to work with hyatt's xul changes. (window is now a box). remove the do it button. now it works when you hit return. 1999-07-19 20:39:47 +00:00
rickg%netscape.com
23b232d248 switch to faster string search API 1999-07-19 03:29:56 +00:00
jefft%netscape.com
5f5eabc97c more on uber copy service - enable move/copy messages from news to pop3 & imap4, from imap4 to imap4, from imap4 to pop3 1999-07-18 22:33:25 +00:00
ramiro%netscape.com
fda4120340 Step 3 of cleaning up link time toolkit dependencies. Name the timer libs
according to the toolkit they match.  Also set the damn name in one place to
make it easy to change in the future.
1999-07-17 23:52:12 +00:00
bienvenu%netscape.com
7d4724fe66 more work on folder cache 1999-07-17 20:33:15 +00:00
sspitzer%netscape.com
d9e90ad858 more #define clean up 1999-07-17 19:08:20 +00:00
sspitzer%netscape.com
76b5b5310b clean up #defines 1999-07-17 18:32:39 +00:00
sspitzer%netscape.com
4aed0216c8 fix warnings 1999-07-17 18:32:18 +00:00
ramiro%netscape.com
a09ea8b7ca Landing timer move on unix. 1999-07-17 14:22:51 +00:00
sspitzer%netscape.com
c204719c91 add some debugging printfs. cache if the folder is a host or not. no need to parse this every time. 1999-07-16 06:23:24 +00:00
sspitzer%netscape.com
b7e161ce37 code clean up. do a GetNewMessages() in GetMessages() so that when you select a newsgroup 1999-07-16 05:39:07 +00:00
sspitzer%netscape.com
13f816a9f1 fix for #9761. when doing the client-side cancel check, compare against all the identities. 1999-07-15 05:44:34 +00:00
jefft%netscape.com
e265144874 fixed minor variable not initialized problem 1999-07-13 20:15:45 +00:00
sspitzer%netscape.com
1402dd8bed changes to automatically migrate 4.x mail prefs to 5.0 prefs. news doesn't migrate gracefully yet. also, changes to newsrc.file pref and the directory path differently for news. 1999-07-13 19:23:40 +00:00
sspitzer%netscape.com
e1dca8ae38 testing the PostMessage interface of nsINntpService. this isn't complete yet. 1999-07-13 18:55:29 +00:00
bienvenu%netscape.com
9c9d4be83b changes for msgdb idl 1999-07-13 18:52:56 +00:00
bienvenu%netscape.com
2b31f9e8da change db open for idl 1999-07-13 18:45:54 +00:00
rhp%netscape.com
e4c1bf272c Compose back end cleanup 1999-07-13 18:38:36 +00:00
putterman%netscape.com
6f9a292bc7 Fix nsCOMPtr problem. 1999-07-07 05:34:21 +00:00
ramiro%netscape.com
5cdb03367b Define the toolkit flags in one place an reuse that. Hopefully this will
put an end to the cut-n-paste insanity.
1999-07-07 04:38:18 +00:00
bienvenu%netscape.com
09a5217674 work around 9306, unable to load more than one message 1999-07-07 04:01:38 +00:00
sspitzer%netscape.com
9f2956a994 more tests. 1999-07-06 23:47:10 +00:00
sspitzer%netscape.com
eaf77983a5 return and error if we are trying to post to ldap:/ or http:/ or something like that. 1999-07-06 23:45:44 +00:00
sspitzer%netscape.com
0920387097 changes to support the news pretty name abbreviation feature.
not turn on yet.
thanks to Oleg Rekutin <rekusha@asan.com> for contributing this code.
1999-07-06 23:06:42 +00:00
sspitzer%netscape.com
52bbd20ff4 resurrect nntpTest. a lot left to be done. check back soon. 1999-07-06 22:59:57 +00:00
dveditz%netscape.com
d3f47f37f5 makefile cleanups 1999-07-02 13:40:18 +00:00
ramiro%netscape.com
f41e67c622 Separate the widget and gfx toolkits into two variables.
Instead of MOZ_TOOLKIT, we now have MOZ_WIDGET_TOOLKIT and MOZ_GFX_TOOLKIT.
There is also a new configure flag, --enable-gfx-toolkit which does what its
name implies.
The configure script should continue to work as before.
1999-07-02 13:06:48 +00:00
dveditz%netscape.com
17864a291d Trying to fix Win32 dependencies. Lots of broken cut-n-paste makefiles 1999-07-02 11:50:19 +00:00