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

448 Коммитов

Автор SHA1 Сообщение Дата
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 2b215866ac use nsCOMPtr and nsIDBMessage. 1999-05-04 22:35:41 +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
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
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
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 b18c4a7c00 fix for bug #5804. get pop3Test to build on Linux. 1999-05-01 02:12:10 +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
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
sspitzer%netscape.com b82a0d7263 fix for bug #5668. now multiple news hosts really works. 1999-04-29 04:10:49 +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
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 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
bruce%cybersight.com 0eae38cc92 Remove -lnetutil from link lines in unix build. 1999-04-28 05:46:56 +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
alecf%netscape.com c14a5e0f1b fix some uninitialized and incorrectly initialized variables 1999-04-28 03:06:37 +00:00
mscott%netscape.com dd5a631a47 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 782b1873d3 fix for bug #5477. thanks to mscott for the fix. 1999-04-27 20:45:04 +00:00
bienvenu%netscape.com 63fb11d8a3 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 2bd75e97dc Resolve File missing warning 1999-04-27 06:42:22 +00:00
mscott%netscape.com c8c1a023c3 Use MSG_LINEBREAK instead of LINEBREAK. 1999-04-27 03:06:34 +00:00
mscott%netscape.com 77987e7605 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 4913ab0962 add escaping of lines that start with From<space> 1999-04-27 01:03:52 +00:00
mscott%netscape.com 31bfff0585 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 29b6b4cad2 change int32 to PRInt32 1999-04-26 23:10:23 +00:00
ducarroz%netscape.com 50276008ab update projects 1999-04-26 22:55:01 +00:00
alecf%netscape.com 87f98b15b3 move static libraries inside SHARED_LIBRARY_LIBS 1999-04-26 22:41:02 +00:00
mscott%netscape.com 788817b691 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 b3c0218eac Start using nsCOMPtr. 1999-04-26 22:03:26 +00:00
alecf%netscape.com 277a648746 switch to using new GetLocalPath() call and use nsCOMPtr 1999-04-26 21:34:58 +00:00
alecf%netscape.com 5dfd5bc2ec 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 04d8d75b27 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 e30ed7eaa2 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 9aee0accc1 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 ff745bb2cd 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 69c05af794 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 37b198a443 Added nsLocalMessage and nsLocalUtils. Use nsIMsgDBHdr. 1999-04-24 20:45:42 +00:00
putterman%netscape.com 5d9639ccc0 Added ability to create a message. 1999-04-24 20:44:40 +00:00
mscott%netscape.com 7497d31533 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 154f8381b4 Removed unnecessary nsIByteBuffer.h 1999-04-22 07:31:09 +00:00
rickg%netscape.com f86b7f933d update to sync with nsString2 1999-04-22 06:39:40 +00:00
mscott%netscape.com 399e88d020 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 e4661eacd6 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 5abc728033 Added mailbox_message registration. 1999-04-21 20:17:43 +00:00
sspitzer%netscape.com ca9f0e1cb4 fix a typo in the comment 1999-04-21 02:55:04 +00:00
mscott%netscape.com 5138a5cd91 remove linkage against xplib. 1999-04-20 23:30:42 +00:00
mscott%netscape.com 00f300f846 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 41c192b7b1 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 24195ff1a3 Inherit the new nsIMsgMessageService interface. 1999-04-20 23:26:37 +00:00
mscott%netscape.com 94dab79908 Remove Copy and display messages from mailbox service interface. 1999-04-20 23:25:59 +00:00
putterman%netscape.com 16c1e86959 Moved folder listener code from local to base. 1999-04-20 22:24:21 +00:00
sspitzer%netscape.com b4e142b8f1 changes to get news in the folder pane 1999-04-20 19:08:10 +00:00
rickg%netscape.com e1012f40b9 sync with nsString2 API 1999-04-20 07:20:21 +00:00
ducarroz%netscape.com 3c9b98c2d0 update project files, removed nsMsgFolderDataSource.cpp (now in msgCore.mcp) 1999-04-20 02:00:04 +00:00
putterman%netscape.com e142b0db9b Split datasources into message and folder datasources and moved them to base. 1999-04-20 01:11:11 +00:00
putterman%netscape.com 0854186ce7 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 86bf19db4a 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 07a669c9ad 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 a08489e84b fix msg parser to use nsIMsgDatabase, not maildatabase 1999-04-19 21:40:32 +00:00
sspitzer%netscape.com 985207e342 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 5e0918eab2 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 9a0a399f96 componentization of mail data source: break out folders/messages for ArcLabelsOut 1999-04-16 23:45:23 +00:00
alecf%netscape.com eef9bf966b componentizing nsMSGFolderDataSource
- break out folderNode creation
1999-04-16 23:18:58 +00:00
putterman%netscape.com a1518f82b0 Fixes a memory leak. 1999-04-16 22:56:38 +00:00
rhp%netscape.com 599771aad8 Moving header parser interface 1999-04-16 19:02:22 +00:00
ducarroz%netscape.com 949719da80 fix build problem on windows 1999-04-16 04:46:20 +00:00
ducarroz%netscape.com 7c6a0242e1 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 a0db8a60ab Added NewFolder. 1999-04-15 21:14:40 +00:00
sspitzer%netscape.com 163e2b7f28 checking in newly generated header 1999-04-15 20:16:35 +00:00
nhotta%netscape.com 6d3502a293 nsIMsgRFC822Parser and related changes, removed old i18n functions, instead passing charset name. 1999-04-13 19:18:22 +00:00
chuang%netscape.com 260026da45 Switch mailnews from prefs.js to prefs50.js 1999-04-13 07:41:24 +00:00
mscott%netscape.com c340fd4f85 When finished running a pop3 url, change the state of the pop3 url. 1999-04-13 01:29:28 +00:00
mscott%netscape.com f56fff1124 Build pop3Test again. 1999-04-13 01:00:18 +00:00
mscott%netscape.com daf772d00a Fixes to update pop3 test with Alec's latest identity/account drop. 1999-04-13 00:59:44 +00:00
putterman%netscape.com 9cdf3d2327 Provide notification for folder count changes. 1999-04-12 23:57:58 +00:00
sspitzer%netscape.com 5efdaa4c0c fix for bug #4977. curse unitialized variables 1999-04-12 23:31:37 +00:00
jdunn%netscape.com 019862cec6 fixing compiler error (nsIMsgUriUrl base class must be declared public) 1999-04-12 21:35:45 +00:00
jdunn%netscape.com 40a6a44948 fix compiler error (NS_DECL_ISUPPORTS does not require a ';' 1999-04-12 20:51:52 +00:00
putterman%netscape.com 40675bcac9 Don't read past end of buffer. 1999-04-12 20:23:57 +00:00
putterman%netscape.com 9969718cdb View message counts in the folder pane. 1999-04-12 20:23:40 +00:00
braddr%puremagic.com 82c03050ce Changed direct uses of -lz or -lzlib to $(ZLIB_LIBS)
Changed direct use of -lnspr3 and friends to $(NSPR_LIBS)
1999-04-11 23:07:04 +00:00
sspitzer%netscape.com d4a8d9ba2e windows doesn't build the mailbox test, so UNIX isn't going to either. 1999-04-11 19:24:12 +00:00
sspitzer%netscape.com 6dd9cd30e4 commented out the pop3 test because alecf's recent changes cause it not
to build
1999-04-10 22:55:21 +00:00
sspitzer%netscape.com fed6068839 pop3Test is broken, due to alecf's recent changes. 1999-04-10 22:50:41 +00:00
sspitzer%netscape.com bbedc07458 more newsdb work 1999-04-10 22:05:58 +00:00
alecf%netscape.com 00c1c35b5f the POP3 service now takes an nsIPop3IncomingServer to get context for all pop3 activity.
nsIPop3Sink now contains an nsIPop3IncomingServer that gets passed down along
with the URL so that after the URL has run we still have information about which server this came from
1999-04-10 20:50:52 +00:00
alecf%netscape.com e3d0e63626 rev the Multiple Accounts system:
- remove LoadPreferences() function, make use of SetKey instead
- lazily create accounts/identities/servers are they are requested
- request pref service inside each object rather than passing the same service around
- start to support upgrading of preferences from 4.x world
- preference accessors ask prefs store directly instead of trying to maintain their own copy of each preference
- start to add support for shadow/default "fallback" account/server prefs
1999-04-10 20:46:47 +00:00
alecf%netscape.com f9fe45bb3e resort to the lowest common denomenator - don't make special cases for mac 1999-04-10 20:39:59 +00:00
alecf%netscape.com f7f65e36cc clean up the data source
- move much of the target-creation logic into seperate functions
- speed up enumeration by using enumeration function rather than element->GetAt() style loops
1999-04-10 20:38:53 +00:00