Commit Graph

2505 Commits

Author SHA1 Message Date
alecf%netscape.com
9215a5fb5c remove some impossible PR_ASSERTs 1999-05-05 02:43:23 +00:00
alecf%netscape.com
dc496e39a3 fix some unused variables, fix the signed/unsigned issue with total and total unread messages, and fix some variable shadowing 1999-05-05 02:42:12 +00:00
alecf%netscape.com
3e743b0a8b remove some stupid debugging printfs 1999-05-05 02:35:53 +00:00
alecf%netscape.com
c5839cfcfb name variables correctly so as not to conflict with system functions 1999-05-05 02:34:52 +00:00
alecf%netscape.com
a060e83ab0 fix some NS_ADDREF things, and fix a local variable shadowing another variable 1999-05-05 02:33:35 +00:00
alecf%netscape.com
8bb75e4445 update this interface 1999-05-05 02:30:46 +00:00
alecf%netscape.com
52b1bb5fdc fix signed/unsigned problem (because -1 is a magic value) 1999-05-05 02:30:24 +00:00
alecf%netscape.com
fa3c883ab7 AddRef() -> NS_ADDREF and fix signed/unsigned problems 1999-05-05 02:29:00 +00:00
alecf%netscape.com
0502a12bf9 fix uninitialized variable problem 1999-05-05 02:27:35 +00:00
alecf%netscape.com
8de8ce6162 remove stupid debugging statements 1999-05-05 02:27:11 +00:00
alecf%netscape.com
b665bacac7 remove unused variables 1999-05-05 02:26:41 +00:00
bienvenu%netscape.com
b66512971c initial entry into CVS, not currently used in build 1999-05-05 02:08:31 +00:00
bienvenu%netscape.com
3a3729dac6 make Close not release db 1999-05-05 02:03:47 +00:00
ducarroz%netscape.com
dfb1117ca7 First Checked In. 1999-05-05 00:04:48 +00:00
mscott%netscape.com
a74fc4e741 Changes for QA smoketest. Be noisy for release builds when getting new mail --> print out results of BIFF and report when get new mail is completed. 1999-05-05 00:02:23 +00:00
jefft%netscape.com
f10ffb10a4 uncommented out check for inbox folder name 1999-05-04 23:34:42 +00:00
hyatt%netscape.com
d5d409566a Switching from PLEventQueues to nsIEventQueues. 1999-05-04 23:34:41 +00:00
hyatt%netscape.com
ae4e8ae9ca Switching over to nsIEventQueues. 1999-05-04 23:31:07 +00:00
hyatt%netscape.com
adfa4ca905 Switching to nsIEventQueues and tweaking the AppCore createWindow function's args. 1999-05-04 23:29:53 +00:00
hyatt%netscape.com
97aaeb8e8f Switching to nsIEventQueues instead of PLEventQueues. 1999-05-04 23:29:28 +00:00
nhotta%netscape.com
051d4df938 Changed SetDocumentCharset, synchronized with browser implementation. 1999-05-04 23:19:28 +00:00
mscott%netscape.com
215c6a5834 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:51:14 +00:00
mscott%netscape.com
1b4e862aa7 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 22:48:37 +00:00
mscott%netscape.com
91448507d2 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:43:09 +00:00
putterman%netscape.com
d8ce82864a use nsIDBMessage 1999-05-04 22:35:55 +00:00
putterman%netscape.com
2b215866ac use nsCOMPtr and nsIDBMessage. 1999-05-04 22:35:41 +00:00
putterman%netscape.com
60852f1cb3 use nsCOMPtr's. 1999-05-04 22:34:35 +00:00
putterman%netscape.com
62c68e7922 Use nsCOMPtr's. 1999-05-04 22:34:11 +00:00
putterman%netscape.com
3ff58f2af4 Add nsIDBMessage interface and remove GetPath from nsIImapFolder. 1999-05-04 22:33:40 +00:00
nhotta%netscape.com
b582876aab Fix memory leaks. 1999-05-04 22:28:17 +00:00
mscott%netscape.com
1ae5e91207 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:21:48 +00:00
ducarroz%netscape.com
bbcafe3185 replace unique by s_unique to avoid conflict error with std::unique 1999-05-04 22:09:31 +00:00
sspitzer%netscape.com
cbde14fb62 whoops, didn't mean to check this in 1999-05-04 21:53:17 +00:00
sspitzer%netscape.com
4e8f7659df remove warnings. stop using sscanf. stop hardcoding news://news.mozilla.org
as our server uri.
1999-05-04 21:43:28 +00:00
alecf%netscape.com
0d5818ca9e massive cleanup of the message factory - make sure to delete objects when the QueryInterface fails
and fix the message factory constructor since we no longer hold onto the service manager
1999-05-04 21:39:54 +00:00
sspitzer%netscape.com
3fdf8c9b12 comment for clarity 1999-05-04 21:26:28 +00:00
mscott%netscape.com
22be4352a5 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 21:05:30 +00:00
mscott%netscape.com
35e56cb21b part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 20:54:35 +00:00
mscott%netscape.com
b9ffae9716 part of mailnews audit --> Conversion to NS_WITH_SERVICE
part of mailnews audit --> use nsCOMPtr.
1999-05-04 20:51:30 +00:00
putterman%netscape.com
56e9fc4fde change DEBUG to DEBUG_rhp 1999-05-04 20:37:35 +00:00
mscott%netscape.com
a4b12e306d part of mailnews audit --> Conversion to NS_WITH_SERVICE
part of mailnews audit --> use nsCOMPtr.
1999-05-04 20:36:34 +00:00
mscott%netscape.com
d7bce8632c part of mailnews audit --> use nsCOMPtr. 1999-05-04 20:34:31 +00:00
mscott%netscape.com
9fd7908941 part of mailnews audit --> use nsCOMPtr.
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 20:33:07 +00:00
ducarroz%netscape.com
8e3ffd0041 First Checked In. 1999-05-04 20:00:38 +00:00
mcmullen%netscape.com
f39da6fd6d Checking in profile wizard on behalf of gayatrib and racham. 1999-05-04 19:37:51 +00:00
rhp%netscape.com
f88db81a84 Changes for LINEBREAK 1999-05-04 19:34:25 +00:00
rhp%netscape.com
42758c784a Cleanup for debug output 1999-05-04 19:31:20 +00:00
mcmullen%netscape.com
8d94650b8c Checking in profile wizard on behalf of gayatrib and racham. 1999-05-04 19:29:52 +00:00
mscott%netscape.com
33308e2fbc part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 18:41:02 +00:00
ducarroz%netscape.com
46b43cbad0 Adapt for Mac build 1999-05-04 18:22:46 +00:00
ducarroz%netscape.com
d22ce7df98 #undef StrAllocCopy to avoid redefinition conflict on Mac, Replace XP_MEMCPY by nsCRT:memcpy 1999-05-04 18:21:59 +00:00
ducarroz%netscape.com
7f620ca794 First Checked In. 1999-05-04 18:19:30 +00:00
jefft%netscape.com
f85e0a8118 making selecting message/folder within a folder works; extract imap msg incoming server from url spec 1999-05-04 18:17:33 +00:00
jefft%netscape.com
d048ea1d3a removed SetServer(); imap msg incoming server will be extract out from the url spec 1999-05-04 18:14:09 +00:00
ducarroz%netscape.com
d24b0c60d6 files check in in wrong directory! 1999-05-04 18:12:21 +00:00
ducarroz%netscape.com
64286a9c6b First Checked In. 1999-05-04 18:03:53 +00:00
mscott%netscape.com
29535afa18 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 17:55:40 +00:00
mscott%netscape.com
8a47591813 part of mailnews audit --> Conversion to NS_WITH_SERVICE
quiet some noisy printfs which were printing out the message we were sending.
1999-05-04 17:53:59 +00:00
rickg%netscape.com
effb5affa6 fixed API mismatch 1999-05-04 06:48:45 +00:00
waterson%netscape.com
a2049e3b5a Remove nsIRDFResourceFactory.h: it is obsolete. 1999-05-04 05:16:16 +00:00
alecf%netscape.com
bec9130110 second attempt at a fix for #5792 - this time take into account platforms which cannot use "/" as a directory seperator 1999-05-04 05:03:04 +00:00
waterson%netscape.com
e339032125 Don't rely on headers including stuff: be sure to include nsIRDFResource.h and nsIRDFService.h. 1999-05-04 05:01:24 +00:00
sspitzer%netscape.com
5f607a4f39 remove warning. use #if 0, not comments, to take out code that isn't ready yet 1999-05-04 04:20:33 +00:00
mcafee%netscape.com
bbe2b9f442 Solaris needs a newline at the end of the file. 1999-05-04 04:09:20 +00:00
mcafee%netscape.com
4f7eb7e87d Ah, that ever elusive new line at the end of the file.. 1999-05-04 03:56:54 +00:00
sspitzer%netscape.com
ab6d11a928 removed files: mozilla/mailnews/compose/src/nsMsgPost.cpp 1999-05-04 03:55:11 +00:00
sspitzer%netscape.com
6cfa5d0410 fix build bustage on UNIX 1999-05-04 03:25:25 +00:00
mcafee%netscape.com
e13247b103 Solaris needs explicit cast. a,r=kevinmc@netscape.com. 1999-05-04 03:24:13 +00:00
sspitzer%netscape.com
6850393f67 hook up the wiring so that when you click on news message in the threadpane,
right news url is run to load the correct message in the message pane
1999-05-04 03:16:24 +00:00
sspitzer%netscape.com
cfe0e1f82c fixage for build bustage 1999-05-04 03:13:00 +00:00
sspitzer%netscape.com
0efa8e1508 use the NS_WITH_SERVICE macro 1999-05-04 03:04:03 +00:00
sspitzer%netscape.com
3f92f3951e extend the parser test to add two headers to a public newsgroup 1999-05-04 03:03:29 +00:00
sspitzer%netscape.com
0643d21fb2 use NEWS_PORT instead of -1 as the default 1999-05-04 03:03:05 +00:00
sspitzer%netscape.com
77b1c66c7a #define the lengths of the string constants, and use this instead of
PL_strlen()
1999-05-04 03:02:18 +00:00
sspitzer%netscape.com
27dda9ab79 adding newline at end of file 1999-05-04 03:01:16 +00:00
sspitzer%netscape.com
ee7b31ef8f use #define instead of doing PL_strlen 1999-05-04 02:59:05 +00:00
sspitzer%netscape.com
ae728a9650 make the news factory handle news messages 1999-05-04 02:56:33 +00:00
sspitzer%netscape.com
ca10577ff8 use the NS_WITH_SERVICE macro 1999-05-04 02:55:59 +00:00
bienvenu%netscape.com
70a4d09b51 add FindRow api, fix lots of warnings, speed up msg threading 1999-05-04 02:55:30 +00:00
sspitzer%netscape.com
dc100eadbb exit on failure 1999-05-04 02:55:16 +00:00
sspitzer%netscape.com
1cb93659f5 nsMsgPost is extinct 1999-05-04 02:54:57 +00:00
sspitzer%netscape.com
96ae8f5fc0 nsMsgPost is extinct 1999-05-04 02:42:21 +00:00
sspitzer%netscape.com
f4e3232236 MsgPost is extinct 1999-05-04 02:41:24 +00:00
sspitzer%netscape.com
9a149648af more changes to get posting to a news server working 1999-05-04 02:38:20 +00:00
sspitzer%netscape.com
f161dc9c1b more changes to get nntpTest (and eventually news) working 1999-05-04 02:37:15 +00:00
sspitzer%netscape.com
2f4ed1b383 changes to get nntpTest (and eventually news) working 1999-05-04 02:35:32 +00:00
sspitzer%netscape.com
96a461e7e6 these stub files are history. 1999-05-04 02:27:11 +00:00
sspitzer%netscape.com
2c070ebbe0 removing libnntpTest.
adding functionality to nntpTest
1999-05-04 02:26:10 +00:00
sspitzer%netscape.com
5ad02bb708 there is no libnntpTest.so anymore 1999-05-04 02:25:23 +00:00
alecf%netscape.com
9b9373e4b5 fix for #5792 - pass the URI, not the local file path to nsBuildLocalMessageURI, and add a helper function to do a hacky conversion from the local file path to the URI
a=chofmann
1999-05-03 23:52:12 +00:00
alecf%netscape.com
26d3d4dc2c fix for #5792 - fix move/copy message in message menu to use the new account manager datasource 1999-05-03 23:50:58 +00:00
ducarroz%netscape.com
1617a3f8e2 fix for #5855, A=chofmann. delay Creation of mPath to avoid avoid to create a nsFileSpec without knowing the path. Propagate error returned by nsGetMailboxRoot() in nsLocalURI2Path(). 1999-05-03 21:40:44 +00:00
sspitzer%netscape.com
ac0c1e05b5 fix for #5839. problems on startup on windows nt, because
tree body in threadPane.xul is rooted at mailbox://Inbox, which
doesn't make sense in the new multiple account world.
1999-05-01 16:28:25 +00:00
sspitzer%netscape.com
ae94aa23e6 rest of fix for pointing news demo to article on news.mozilla.org 1999-05-01 16:10:36 +00:00
sspitzer%netscape.com
1428f907b0 fix for #5753. allow white space in the "mail.accountmanager.accounts" pref. 1999-05-01 15:47:21 +00:00
sspitzer%netscape.com
650a57a5f4 point the demo news article to an article on news.mozilla.org. This way,
those on the outside can use it.  (also, remove some of the "."'s for
mailnewsqa.
1999-05-01 14:39:36 +00:00
sspitzer%netscape.com
36488a0e29 whoops. typo. I suck 1999-05-01 02:57:07 +00:00
sspitzer%netscape.com
46075b752f fix for #5814. get newsParserTest to work on Windows 1999-05-01 02:17:09 +00:00
sspitzer%netscape.com
99f2609790 fix for bug #5814. get newsParserTest to build on Windows 1999-05-01 02:15:54 +00:00
sspitzer%netscape.com
153e26c390 check in for bug #5814. get newsParserTest to build on Windows 1999-05-01 02:13:53 +00:00
sspitzer%netscape.com
b18c4a7c00 fix for bug #5804. get pop3Test to build on Linux. 1999-05-01 02:12:10 +00:00
bienvenu%netscape.com
d35f7cd5c7 fix part of 5781, imap folders not showing up correctly 1999-04-30 23:26:12 +00:00
mscott%netscape.com
7ad6636651 Bug #5781 --> more connection cache fixes. ProcessCurrentUrl wasn't set up to run multiple urls as it was setting the connection status to -1 whenever it finished. This was causing the next call to process current url to fall out. I also re-organized SetupUrl to make sure m_runningUrl gets properly initialized on multiple calls to LoadUrl. 1999-04-30 23:09:21 +00:00
alecf%netscape.com
93cade1202 oops, forgot this extra fix for #5681 to take .sbd files into account 1999-04-30 22:12:56 +00:00
jefft%netscape.com
c2e9fead94 Part of fixing bug 5781 - fixed creating multiple mail folders problem 1999-04-30 21:38:53 +00:00
jefft%netscape.com
65be78c906 Part of fixing bug 5781 - fixed creating multiple mail folders problem 1999-04-30 21:27:22 +00:00
jefft%netscape.com
9e5f1db3b1 Part of fixing bug 5781 -- nsImapURI2Path failed to generate local path for folders within another folder 1999-04-30 21:24:49 +00:00
mscott%netscape.com
ac733c1124 Bug 5781 --> releasing the imap service twice! that's not good. 1999-04-30 20:38:18 +00:00
alecf%netscape.com
5716f0d507 fix for #5609 - don't add trailing "/" to base server URI
r=scottip a=chofmann (as with the last checkin as well)
1999-04-30 19:59:11 +00:00
alecf%netscape.com
7ed0c1c399 fix for #5609: check for trailing / in URIs when extracting the name
fix for #5681: fix URI->file path converter to take into account subdirectories along the way
1999-04-30 19:58:19 +00:00
bienvenu%netscape.com
48773180ac more fixes for 5781 (only affects imap) 1999-04-30 19:50:00 +00:00
mscott%netscape.com
65d7001050 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Synch with new imap service createnewconnection changes.
a=chofmann.
1999-04-30 18:48:39 +00:00
mscott%netscape.com
1c1589778b Bug #5781 --> as a side effect of adding the connection cache, I made GetImapUserName return a const char *.
a=chofmann.
1999-04-30 18:47:15 +00:00
mscott%netscape.com
e606574539 Bug #5781 --> add ReleaseUrlState. Support IsBusy interface. Support CanHandleUrl interface. These changes are part of the imap connection cache. GetImapUserName now returns a const char *.
a=chofmann
1999-04-30 18:46:21 +00:00
mscott%netscape.com
f4fe445695 Bug #5781 --> part of mailnews audit --> Conversion to NS_WITH_SERVICE. Hook up a connection cache to CreateImapConnection.
a=chofmann
1999-04-30 18:45:16 +00:00
mscott%netscape.com
febeff2a75 Bug #5781--> part of mailnews audit --> Conversion to NS_WITH_SERVICE. fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder as part of the uri.
a=chofmann
1999-04-30 18:44:23 +00:00
mscott%netscape.com
b2111543c4 Bug #5781 --> fix nsImapUri2Path where we were appending the host name twice if there wasn't a folder attached to the URI.part of mailnews audit --> conversion to NS_WITH_SERVICE
a=chofmann
1999-04-30 18:43:14 +00:00
mscott%netscape.com
8d187baade Bug #5781 --> Add IsBusy method & CanHandleUrl.
a=chofmann
1999-04-30 18:42:09 +00:00
mscott%netscape.com
f6045a01fa Bug #5781 --> CreateImapConnection now takes the url to be loaded into the connection.
a=chofmann
1999-04-30 18:41:26 +00:00
jj%netscape.com
363f26f993 changed output shlb creator to 'MOZZ' in one or more targets. a=cyeh 1999-04-29 22:18:44 +00:00
waterson%netscape.com
ae88e2e6fc Bug 5637. Don't release each observer in the destructor, because we only hold a weak ref to it. r=putterman,a=chofmann. 1999-04-29 04:21:12 +00:00
sspitzer%netscape.com
b82a0d7263 fix for bug #5668. now multiple news hosts really works. 1999-04-29 04:10:49 +00:00
putterman%netscape.com
daaaf8e951 Fixed ref counting problems associated with deleting messages. Reviewed by bienvenu
and approved by chofmann.
1999-04-29 01:38:25 +00:00
putterman%netscape.com
8f9a72c301 Fixed ref counting problems related to deleting a message. Reviewed by bienvenu and
approved by chofmann
1999-04-29 01:37:40 +00:00
jefft%netscape.com
cdc904218d fixed bug 5662 - imap failed to discover folders and downloading mail messages; fixed memory leaks when building message URI; r=mscott, a=chofmann 1999-04-29 00:13:55 +00:00
jefft%netscape.com
f02b3f9711 fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; merge in with multiple identies/accounts work; r=mscott, a=chofmann 1999-04-29 00:12:21 +00:00
jefft%netscape.com
0838f40932 fixed bug 5662 - imap failed to discover folders and downloading mail messages; make sure we are generating correct message URI; r=mscott,bienvenu; a=chofmann 1999-04-29 00:10:55 +00:00
jefft%netscape.com
c01cc9db81 fixed bug 5662 - imap failed to discover folders and downloading mail messages; removed GetRootFolderPath() & SetRootFolderPath(); checkin for mscott; r=jefft, a=chofmann 1999-04-29 00:08:18 +00:00
jefft%netscape.com
9be572b643 fixed bug 5662 - imap failed to discover folders and downloading mail messages; added NotifyAnnouncerGoingAway() to ForceClosed(); r=bienvenu, a=chofmann 1999-04-29 00:05:16 +00:00
ducarroz%netscape.com
d6ef985510 Fix build bustage. 1999-04-28 21:59:32 +00:00
sspitzer%netscape.com
b8dfffdb5d fix for #5627. case sensitivity problem in Makefile.in 1999-04-28 20:53:26 +00:00
mscott%netscape.com
1e25c4063c nsLocalUri2Path fix. If the folder part of the uri is "" don't try to append it to the local path as that adds an unwanted '\' on windows. 1999-04-28 06:58:59 +00:00
alecf%netscape.com
1b40c12b63 fix string casting problem with varargs parameters 1999-04-28 06:26:41 +00:00
alecf%netscape.com
fec2cc609e remove stupid debugging statements 1999-04-28 06:22:26 +00:00
mscott%netscape.com
a23d526f99 Fix windows build problem. you can't delete a const char * without casting i.. I changed the codeto use a nsAutoCString. 1999-04-28 06:21:58 +00:00
alecf%netscape.com
bcb5770549 fix folder pane to only show the account manager (and let the account manager populate the server list) 1999-04-28 06:14:43 +00:00
alecf%netscape.com
18ab667877 instead of getting the first server from the account manager, get the first one named news.mozilla.org (eventually we have to figure out our own hostname from the URI) 1999-04-28 06:13:22 +00:00
alecf%netscape.com
626b99354b fix newline at end of file problem 1999-04-28 06:12:26 +00:00
alecf%netscape.com
7f0aa5ba68 - use new NS_WITH_SERVICE macro to get rdf service
- now recognize host-specific mailbox://hostname/ roots
- build the mailbox_message URI using the URI instead of the path
- override the nsIRDFResource::Init() method for debugging purposes
1999-04-28 06:11:36 +00:00
alecf%netscape.com
b0932a12d4 depricate nsLocalPath2URI
fix mailbox:/ URI parsing to recognize hostnames
fix mailbox_message:/ builder to recognize hostnames
1999-04-28 06:07:40 +00:00
alecf%netscape.com
47ecfa9330 insert hostname into URI when getting ServerURI 1999-04-28 06:05:36 +00:00
alecf%netscape.com
f24724c728 remove SetFilePath so we aren't tempted to set it (it's supposed to be coming directly from the URI) 1999-04-28 06:04:40 +00:00
alecf%netscape.com
ce44a49dd2 change DisplayMessage to take a URI instead of a path (this method probably isn't used anymore anyway) 1999-04-28 06:03:28 +00:00
alecf%netscape.com
0650253888 - remove debugging lines
- return NS_RDF_NO_VALUE on all GetTarget() calls
- return a complete array fro GetTargets() instead of NS_RDF_NO_VALUE (may be unnecessary?)
1999-04-28 06:00:50 +00:00
bruce%cybersight.com
0eae38cc92 Remove -lnetutil from link lines in unix build. 1999-04-28 05:46:56 +00:00
jefft%netscape.com
ea3c6c661b get imap folder discovery & display message working 1999-04-28 05:19:24 +00:00
mscott%netscape.com
82dad43a87 Comment out unwanted assertion as this kills the linux build. 1999-04-28 05:05:24 +00:00
mscott%netscape.com
ab385626c4 Fixes for get new mail which should bring get new mail back to life for linux and mac. When we were told to wait for more data by the new nsMsgLineStreamBuffer, we weren't setting the pause for read flag in all cases. 1999-04-28 05:02:50 +00:00
sspitzer%netscape.com
27156b1495 use PR_smprintf, not sprintf().
for news, we aren't going to have .sdb for directories.
put the summary files in <newsdir>/host-<hostname>
1999-04-28 05:00:02 +00:00
ducarroz%netscape.com
c778414dd1 For some reason, since few hours ago, apprunner refuse to load msgcompose.xul because the heigth of the fields isn't set correctly!!! I have changed the way we declare the input fields, I've just copied how they do in navigator.xul with the url field. 1999-04-28 04:24:10 +00:00