bienvenu%netscape.com
217a0beaa9
fix build bustage
1999-05-27 05:47:52 +00:00
alecf%netscape.com
d35feb2ccc
API change - Get/SetUserName -> Get/SetUsername
1999-05-27 05:47:28 +00:00
alecf%netscape.com
836e1590ed
finish IDL-ifying these interfaces
...
Also stop caching the local mail directory in the pop3 sink and instead ask for it on demand from the nsIMsgIncomingServer
1999-05-27 04:56:53 +00:00
alecf%netscape.com
61f44071d7
remove unnecessary windows-specific code
1999-05-27 04:55:40 +00:00
alecf%netscape.com
33471006f5
fix these asserts so that we know which variable is bad
1999-05-27 04:55:10 +00:00
alecf%netscape.com
2d85796a7d
IDL-ify these interfaces
...
move CIDs into nsMsgLocalCID
1999-05-27 04:53:32 +00:00
alecf%netscape.com
add2439d4d
IDL-ify this interface
...
had to make nsFileSpec non-const for now
1999-05-27 04:51:20 +00:00
alecf%netscape.com
7ab5085bd5
include the CID file because CIDs are going away from interfaces
1999-05-27 04:47:13 +00:00
sspitzer%netscape.com
6b33aef859
fix build bustage on UNIX
1999-05-27 03:31:25 +00:00
sspitzer%netscape.com
700be91711
fix UNIX build bustage
1999-05-27 03:30:33 +00:00
mcafee%netscape.com
896a5f2268
Some code wasn't ifdef'd for DOING_FILTERS properly. a=bienvenu
1999-05-27 01:07:24 +00:00
bienvenu%netscape.com
c7691ca73c
changes for mail filters, including setting root folder for server
1999-05-26 23:56:21 +00:00
putterman%netscape.com
ad215426f7
More work on DeleteFolders.
1999-05-26 23:47:01 +00:00
mscott%netscape.com
8006e7d354
Bug 6722 --> replace PR_Open with nsFileSpec/nsFileStream.
1999-05-26 22:59:26 +00:00
alecf%netscape.com
e19f78aaee
fix bustage by adding gfx/img/mozutil
1999-05-26 08:07:54 +00:00
dp%netscape.com
0443b20e33
Landing xpcom20/21 branch.
1999-05-26 01:38:36 +00:00
putterman%netscape.com
17cb3c3ac3
Fix for 6975. Make sure there's a valid database before accessing it. Reviewed by
...
mscott. Approved by chofmann.
1999-05-24 22:02:50 +00:00
bienvenu%netscape.com
facf156af5
more work on filter actions
1999-05-19 01:56:32 +00:00
alecf%netscape.com
099e3c348d
fix for #5792 - remove leading '/' that occurs on unix
1999-05-19 00:36:58 +00:00
alecf%netscape.com
e86743fc10
fix newline at end of file
1999-05-19 00:36:13 +00:00
alecf%netscape.com
3169bcc548
remove unused variable
1999-05-19 00:30:13 +00:00
mscott%netscape.com
66d5cad94a
Updates with msgcoreutil building as a dll.
1999-05-18 23:59:45 +00:00
mscott%netscape.com
fd11036c5d
clean up makefile, remove unnecessary define.
1999-05-18 23:59:16 +00:00
sspitzer%netscape.com
f2cad24a4f
changes to get news to work at the same time as imap and pop. the news part of the fix for #6405
1999-05-18 21:46:56 +00:00
alecf%netscape.com
a07a555ac1
fix some warnings, get rid of variable named index() and cache value of GetSize()
1999-05-18 02:22:56 +00:00
bienvenu%netscape.com
8858955c4d
remove debugging statements, unused defines
1999-05-17 23:35:45 +00:00
bienvenu%netscape.com
b549c6d1ad
move GetChildNamed implementation from local subclass
1999-05-17 22:50:04 +00:00
bienvenu%netscape.com
19a23b87e7
start work on msg filters, ifdeff'ed out
1999-05-17 02:06:29 +00:00
putterman%netscape.com
99455de436
Implemented GetHostName.
1999-05-16 22:47:27 +00:00
mscott%netscape.com
b31445779b
implement GetIncomingServerType as part of adding a GetServer method for a folder.
1999-05-15 19:39:58 +00:00
mscott%netscape.com
cc2c9dc2f8
code cleanup --> use nsAutoCString instead of .newCString.
1999-05-15 19:37:27 +00:00
putterman%netscape.com
c65fb17774
call MarkRead instead of OrFlags.
1999-05-14 00:46:07 +00:00
mscott%netscape.com
d1aeb1d95d
Fix memory leak by removing unused QI to an object. this caused us to leak pop3 urls when getting new mail.
1999-05-14 00:40:11 +00:00
alecf%netscape.com
9eb1b1a2b9
nsCOMPtr audit and remove my stupid debugging comment
1999-05-14 00:21:52 +00:00
bienvenu%netscape.com
200ccf85c6
remove db listener in base class
1999-05-13 23:19:35 +00:00
mscott%netscape.com
178ffefb7b
fix shadowed variables
1999-05-13 21:58:53 +00:00
warren%netscape.com
7a41ef7d73
Fixed nsICollection (and Count in particular) to be xpidl friendly.
1999-05-13 04:56:04 +00:00
bienvenu%netscape.com
1c1a2c1c3b
remove self as listener when going away
1999-05-13 02:35:24 +00:00
mscott%netscape.com
1b720ad3ba
Whenever we display a message, be sure to mark it as read in the db. Use url method to get msghdr for a message instead of doing it ourselves.
1999-05-12 22:53:05 +00:00
mscott%netscape.com
8a469a559a
add accessor to get msg db hdr for a mailbox url.
1999-05-12 22:51:26 +00:00
mscott%netscape.com
71318d965d
part of mailnews audit --> use nsCOMPtr. Use NS_SUCCEEDED test instead of comparing directly against NS_OK. fix mem leak on msghdr & mismatched memory free.
1999-05-11 23:47:13 +00:00
putterman%netscape.com
f711445a1b
Fix mismatch memory free.
1999-05-11 22:28:34 +00:00
ducarroz%netscape.com
504b3d6482
Don't create anymore a nsFileSpec from a unix path
1999-05-11 00:38:08 +00:00
putterman%netscape.com
4b2b4f3696
Changed DeleteMessage to DeleteMessages
1999-05-10 23:55:41 +00:00
ducarroz%netscape.com
f1e63c02be
Fix bug #6175 due to nsFileSpec behavior changed on Mac
1999-05-10 22:23:28 +00:00
ducarroz%netscape.com
c18acc5c5e
fix bug #6175 due to new behavior of nsFileSpec on Mac
1999-05-10 22:02:39 +00:00
putterman%netscape.com
c8229dd492
Derive from nsMsgDBFolder.
1999-05-10 21:47:59 +00:00
bienvenu%netscape.com
15ae2bad4e
fix priority enum names
1999-05-10 21:08:18 +00:00
sspitzer%netscape.com
ac7cecccd8
kIsRead is now MSG_FLAG_READ
1999-05-08 17:23:30 +00:00
putterman%netscape.com
52c483561b
use SetParent()
1999-05-07 20:22:01 +00:00
putterman%netscape.com
4596bbbf10
HasMessage and GetNewMessages implemented.
1999-05-07 00:34:50 +00:00
alecf%netscape.com
713343f2cd
remove call to GetRootFolderPath
1999-05-07 00:27:24 +00:00
mscott%netscape.com
313ee6ca9a
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-07 00:11:43 +00:00
mscott%netscape.com
1f8ba398ee
part of mailnews audit --> use nsCOMPtr.
1999-05-07 00:06:23 +00:00
mscott%netscape.com
5296d9ca08
Calling close on a nsIMsgDatabase no longer releases a ref count so we can now use nsCOMPtr on it.
1999-05-07 00:03:12 +00:00
dp%netscape.com
cee9b8c834
Converting stray UnregisterFactory calls to UnregisterComponent
1999-05-06 01:37:04 +00:00
mscott%netscape.com
e9600c1db4
Bug 5991 --> Fix crash in pop3Test caused by the event queue carpool yesterday. We need to make sure the event queue is registered.
1999-05-06 01:35:40 +00:00
sspitzer%netscape.com
33a49b86bd
warnings be gone!
1999-05-06 00:17:15 +00:00
alecf%netscape.com
aef2fec925
remove some stupid debugging printfs
1999-05-05 02:35:53 +00:00
ducarroz%netscape.com
1eb1c32e00
First Checked In.
1999-05-05 00:04:48 +00:00
mscott%netscape.com
7a75412220
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
hyatt%netscape.com
2f4053dbab
Switching over to nsIEventQueues.
1999-05-04 23:31:07 +00:00
mscott%netscape.com
56ff61c011
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
900b8a5842
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:48:37 +00:00
mscott%netscape.com
efed5fafa6
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
ea0ce4975e
use nsCOMPtr and nsIDBMessage.
1999-05-04 22:35:41 +00:00
mscott%netscape.com
695e4c571c
part of mailnews audit --> use nsCOMPtr.
...
part of mailnews audit --> Conversion to NS_WITH_SERVICE
1999-05-04 22:21:48 +00:00
alecf%netscape.com
c7ba588b9d
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
alecf%netscape.com
52bfd889ad
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
ducarroz%netscape.com
185b1c375e
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
c23ef233b3
fix for bug #5804 . get pop3Test to build on Linux.
1999-05-01 02:12:10 +00:00
alecf%netscape.com
7a94857f9a
oops, forgot this extra fix for #5681 to take .sbd files into account
1999-04-30 22:12:56 +00:00
alecf%netscape.com
76eb2dfccb
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
60ed937e0b
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
sspitzer%netscape.com
ec6e26b471
fix for bug #5668 . now multiple news hosts really works.
1999-04-29 04:10:49 +00:00
jefft%netscape.com
cf44b1fccb
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
mscott%netscape.com
8bc671eaee
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
ce08e9af8f
fix string casting problem with varargs parameters
1999-04-28 06:26:41 +00:00
alecf%netscape.com
5119f285d0
remove stupid debugging statements
1999-04-28 06:22:26 +00:00
mscott%netscape.com
2dc8e95d18
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
02008476e9
fix newline at end of file problem
1999-04-28 06:12:26 +00:00
alecf%netscape.com
ba3c698d1d
- 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
73eade3d9d
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
0e0c103388
insert hostname into URI when getting ServerURI
1999-04-28 06:05:36 +00:00
alecf%netscape.com
5383fbb14c
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
c50332383b
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
bruce%cybersight.com
b06f2076eb
Remove -lnetutil from link lines in unix build.
1999-04-28 05:46:56 +00:00
mscott%netscape.com
6f81da795d
Comment out unwanted assertion as this kills the linux build.
1999-04-28 05:05:24 +00:00
mscott%netscape.com
41b5419572
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
alecf%netscape.com
12e8b8586a
fix some uninitialized and incorrectly initialized variables
1999-04-28 03:06:37 +00:00
mscott%netscape.com
c7253e4310
Fix memory leak by releasing the url we just retrieved through a QI. Thanks
...
to putterman for finding the leak.
1999-04-28 02:40:06 +00:00
sspitzer%netscape.com
393a79476b
fix for bug #5477 . thanks to mscott for the fix.
1999-04-27 20:45:04 +00:00
bienvenu%netscape.com
c5edf558ef
fix get new mail for pop, workaround PR_APPEND bustage, set m_position to file size
1999-04-27 19:31:41 +00:00
ducarroz%netscape.com
b7e2cb1aa0
Resolve File missing warning
1999-04-27 06:42:22 +00:00
mscott%netscape.com
4ac4709ac1
Use MSG_LINEBREAK instead of LINEBREAK.
1999-04-27 03:06:34 +00:00
mscott%netscape.com
30dac60b60
Use MSG_LINEBREAK instead of LINEBREAK. This should fix message display on the Mac.
1999-04-27 02:57:25 +00:00
bienvenu%netscape.com
c936eaee0f
add escaping of lines that start with From<space>
1999-04-27 01:03:52 +00:00
mscott%netscape.com
7d3d14d5e8
Updates from Jean-Francois --> repalce strtok with nsCRT::strtok. This should get us going with GetNewMsg on the Mac.
1999-04-27 00:00:53 +00:00
sspitzer%netscape.com
31ee0ec44a
change int32 to PRInt32
1999-04-26 23:10:23 +00:00
ducarroz%netscape.com
194610fd02
update projects
1999-04-26 22:55:01 +00:00
alecf%netscape.com
12dcfd29a0
move static libraries inside SHARED_LIBRARY_LIBS
1999-04-26 22:41:02 +00:00
mscott%netscape.com
5ba51cc861
Fix the hash table code such that we properly add and look up uids for messages in the hash table. This should fix Bug #4886
1999-04-26 22:10:00 +00:00
putterman%netscape.com
dd4a83c7db
Start using nsCOMPtr.
1999-04-26 22:03:26 +00:00
alecf%netscape.com
b8b0d1a092
switch to using new GetLocalPath() call and use nsCOMPtr
1999-04-26 21:34:58 +00:00
alecf%netscape.com
bed48ebdd7
add protocol-specific implementation of GetServerURI() in preparation for new method in nsIMsgIncomingServer interface
1999-04-26 18:37:15 +00:00
mscott%netscape.com
b5b694a1cc
Re-writing pop protocol to use nsMsgLineStreamBuffer instead of the old & slow ReadLine and Read functions that used to be here.
1999-04-25 20:04:08 +00:00
mscott%netscape.com
e8d1858881
nsMsgLineStreamBuffer::ReadNextLine now returns # bytes read.
...
use platform specfic line delimeter for nsMsgbufferStream input. This should fix the display message problem I was seeing on Mac and Linux.
1999-04-25 19:55:05 +00:00
mscott%netscape.com
46d956038b
Fix for Bug #5468 --> When adding new messages to the mail folder, we write a CRLF at the end of the message. However, we weren't informing the parser that we added a CRLF so the parser's total bytes for the message was always two bytes short...
1999-04-25 18:31:09 +00:00
bruce%cybersight.com
6a345a6387
Fix for calls to nsFileSpec::GetLeafName(). It allocates memory with strdup(), so use free() and not delete[].
1999-04-25 13:27:36 +00:00
putterman%netscape.com
8d25352852
added files: mozilla/mailnews/local/src/nsLocalMessage.cpp, mozilla/mailnews/local/src/nsLocalUtils.cpp
1999-04-24 20:53:22 +00:00
putterman%netscape.com
00176c8fd6
Added nsLocalMessage and nsLocalUtils. Use nsIMsgDBHdr.
1999-04-24 20:45:42 +00:00
putterman%netscape.com
5dd0409631
Added ability to create a message.
1999-04-24 20:44:40 +00:00
mscott%netscape.com
6ee7c51127
Updates to get the test running with preferences again. We need to manually register
...
the file locator. This test app will now read prefs out of the default profile directory.
1999-04-23 06:32:35 +00:00
warren%netscape.com
5fce6f0d42
Removed unnecessary nsIByteBuffer.h
1999-04-22 07:31:09 +00:00
rickg%netscape.com
60d6e75581
update to sync with nsString2
1999-04-22 06:39:40 +00:00
mscott%netscape.com
2f08be5390
Remove old & slow ReadLine code. Replace it with nsMsgLineStreamBuffer. This also involved cleaning out a lot of code for displaying messages as the logic of the read line loop changed.
1999-04-22 02:13:42 +00:00
mcmullen%netscape.com
670521ba61
Prefs API changed to use filespecs instead of string paths. Added Get/SetFilePref. Cleaned up the API so that StartUp() does not need to be called.
1999-04-21 22:04:35 +00:00
putterman%netscape.com
545ddcd507
Added mailbox_message registration.
1999-04-21 20:17:43 +00:00
sspitzer%netscape.com
b90191d04b
fix a typo in the comment
1999-04-21 02:55:04 +00:00
mscott%netscape.com
39768ba5e9
remove linkage against xplib.
1999-04-20 23:30:42 +00:00
mscott%netscape.com
31bea2a1d8
Register the new nsMsgMessageService which is supported by the mailbox service. Add progids for both the mailbox version of the message service and for the mailbox service.
1999-04-20 23:28:42 +00:00
mscott%netscape.com
3416377578
Add Queryinterface method such that it includes nsIMsgMessageService which is a new interface this class supports.
1999-04-20 23:27:32 +00:00
mscott%netscape.com
37c9d0a9b0
Inherit the new nsIMsgMessageService interface.
1999-04-20 23:26:37 +00:00
mscott%netscape.com
cfdc4a0951
Remove Copy and display messages from mailbox service interface.
1999-04-20 23:25:59 +00:00
putterman%netscape.com
177bbc0c96
Moved folder listener code from local to base.
1999-04-20 22:24:21 +00:00
sspitzer%netscape.com
9623299d87
changes to get news in the folder pane
1999-04-20 19:08:10 +00:00
rickg%netscape.com
0d1b06ca19
sync with nsString2 API
1999-04-20 07:20:21 +00:00
ducarroz%netscape.com
40e2eda72c
update project files, removed nsMsgFolderDataSource.cpp (now in msgCore.mcp)
1999-04-20 02:00:04 +00:00
putterman%netscape.com
3f95df240b
Split datasources into message and folder datasources and moved them to base.
1999-04-20 01:11:11 +00:00
putterman%netscape.com
f9b09ad8c7
Split datasources into message and folder datasources and moved them to base.
...
Removed this file.
1999-04-20 01:10:44 +00:00
putterman%netscape.com
5cc898556f
Split datasources into message and folder datasources and moved them to base.
...
Removed these files.
1999-04-20 01:10:21 +00:00
mscott%netscape.com
809548ec8e
Temporary fix until mcmullen updates some back end prefs code. We need to manually specify the pref file to use. We can't get at the profile information so look in the current directory.
1999-04-20 00:43:23 +00:00
bienvenu%netscape.com
86941162d2
fix msg parser to use nsIMsgDatabase, not maildatabase
1999-04-19 21:40:32 +00:00
sspitzer%netscape.com
68539f6e4a
remove ShouldIgnoreFile from nsMSGDataSource.cpp (it wasn't being used.)
...
remove the XP_MAC and XP_PC if defs, every platforms should be ignoring the same files.
1999-04-17 01:18:59 +00:00
alecf%netscape.com
ed254052f2
don't use global variables for RDF service and header parser if we're going to keep recreating/reaccessing them in every constructor
1999-04-16 23:53:32 +00:00
alecf%netscape.com
543228d205
componentization of mail data source: break out folders/messages for ArcLabelsOut
1999-04-16 23:45:23 +00:00
alecf%netscape.com
e10891da81
componentizing nsMSGFolderDataSource
...
- break out folderNode creation
1999-04-16 23:18:58 +00:00
putterman%netscape.com
c5e288fe92
Fixes a memory leak.
1999-04-16 22:56:38 +00:00
rhp%netscape.com
428ea843e4
Moving header parser interface
1999-04-16 19:02:22 +00:00
ducarroz%netscape.com
7a88b22f67
fix build problem on windows
1999-04-16 04:46:20 +00:00
ducarroz%netscape.com
869aa35d64
remove hard coded constant MESSAGE_PATH_URL, and use instance of it a string which it build at run time. Now we can use relative as well as absolute path.
1999-04-16 03:32:36 +00:00
putterman%netscape.com
123831fb6d
Added NewFolder.
1999-04-15 21:14:40 +00:00
sspitzer%netscape.com
810da10961
checking in newly generated header
1999-04-15 20:16:35 +00:00
nhotta%netscape.com
3151ac176f
nsIMsgRFC822Parser and related changes, removed old i18n functions, instead passing charset name.
1999-04-13 19:18:22 +00:00
chuang%netscape.com
de6aa60779
Switch mailnews from prefs.js to prefs50.js
1999-04-13 07:41:24 +00:00
mscott%netscape.com
9604a38b8d
When finished running a pop3 url, change the state of the pop3 url.
1999-04-13 01:29:28 +00:00
mscott%netscape.com
80e42c8cb3
Build pop3Test again.
1999-04-13 01:00:18 +00:00
mscott%netscape.com
62c12de652
Fixes to update pop3 test with Alec's latest identity/account drop.
1999-04-13 00:59:44 +00:00
putterman%netscape.com
4ce3f866e4
Provide notification for folder count changes.
1999-04-12 23:57:58 +00:00
sspitzer%netscape.com
75fb2e072f
fix for bug #4977 . curse unitialized variables
1999-04-12 23:31:37 +00:00