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

912 Коммитов

Автор SHA1 Сообщение Дата
putterman%netscape.com 04085b88ba Use nsIDateTimeFormat to prepare date string. 1999-05-17 21:28:03 +00:00
putterman%netscape.com 0defb73a37 Use nsCOMPtr. 1999-05-17 21:27:41 +00:00
putterman%netscape.com 8d831c87cc Include locale headers 1999-05-17 21:27:22 +00:00
putterman%netscape.com ea5e2518f9 Include locale headers. 1999-05-17 21:27:09 +00:00
bienvenu%netscape.com cb521fd800 more work on msg filters 1999-05-17 02:07:13 +00:00
putterman%netscape.com 3ffb83ebd9 Check for null pointers from js so we don't crash. 1999-05-16 23:28:45 +00:00
putterman%netscape.com 2e3d968c22 Implement GetTarget for child and message child so Move and Copy menu submenus
show up.
1999-05-16 22:41:39 +00:00
sspitzer%netscape.com 64ef10ab25 rename variable to prevent shadowing 1999-05-16 04:13:52 +00:00
sspitzer%netscape.com b2a57704f6 reorder to quiet compiler. stop shadowing. rename shadowed variable. 1999-05-16 04:13:37 +00:00
sspitzer%netscape.com 2d4b4ba111 touch point to quiet compiler 1999-05-16 04:12:57 +00:00
sspitzer%netscape.com 2e04eb75a8 add newline to end of file 1999-05-16 04:12:33 +00:00
bienvenu%netscape.com 1c0a79389f check in Scott's changes for not enumerating all arcs 1999-05-16 00:12:51 +00:00
bienvenu%netscape.com b5834119d5 checkpoint filter code 1999-05-16 00:07:56 +00:00
mscott%netscape.com 7d59af8b8b this file is not used by anyone.... 1999-05-15 21:10:15 +00:00
mscott%netscape.com 91c27103db add GetServer method to get the incoming server associated with a folder 1999-05-15 21:04:42 +00:00
mscott%netscape.com cab48caf44 add getsserver and GetIncomingServerType. This allows us to get the incoming server associated with a folder. 1999-05-15 21:03:02 +00:00
sspitzer%netscape.com 54235f0f0d use nsAutoCString instead of ToNewCString 1999-05-15 06:05:04 +00:00
sspitzer%netscape.com 2e34b5b33d add new line to the end of the file. use nsAutoCString instead of ToNewCString. 1999-05-15 05:58:24 +00:00
putterman%netscape.com 9febadf761 Do status flag notifications based on flags changed. 1999-05-14 21:03:26 +00:00
ducarroz%netscape.com 2bd5b91353 Add getIntpref & setIntPref. Add wrapColumn pref 1999-05-14 18:52:02 +00:00
ducarroz%netscape.com 6803bfe90e Add missing addref. Fix bug#6182 1999-05-14 18:52:00 +00:00
ducarroz%netscape.com aa1eeb643d Add pref WrapColumn 1999-05-14 18:51:59 +00:00
bienvenu%netscape.com a167dc8e88 checkpoint filter work, get filters loading 1999-05-14 00:57:19 +00:00
bienvenu%netscape.com 4a637cc152 add registration of filter component, under ifdef control 1999-05-14 00:56:13 +00:00
putterman%netscape.com b1ce7431f7 export nsMsgRDFDataSource.h 1999-05-14 00:49:29 +00:00
putterman%netscape.com 5a9c995039 Handle flag changes. 1999-05-14 00:45:25 +00:00
putterman%netscape.com 7b95950c4a Add Mark Read 1999-05-14 00:45:06 +00:00
putterman%netscape.com bb9b22f6f4 Add Mark Message commands. 1999-05-14 00:44:30 +00:00
putterman%netscape.com 32cb66b89e Add notify observer related functions. 1999-05-14 00:44:15 +00:00
putterman%netscape.com ec4f295a6d Mark Read. make a subclass of nsMsgRDFDataSource. Add as a folder listener. 1999-05-14 00:43:49 +00:00
putterman%netscape.com 358cdf3322 Add folder listener routines. 1999-05-14 00:43:19 +00:00
putterman%netscape.com 511b805dfa Delete folder. Make a subclass of nsMsgRDFDataSource and add as a folder listener. 1999-05-14 00:42:58 +00:00
putterman%netscape.com 4e6200de43 Delete Folders/Mark Messages Read 1999-05-14 00:42:18 +00:00
putterman%netscape.com 1234a1010e Add folder listeners. 1999-05-14 00:41:52 +00:00
putterman%netscape.com 6685cdc925 Add MarkRead 1999-05-14 00:41:37 +00:00
putterman%netscape.com 5852dcaf85 Flag changed methods. 1999-05-14 00:41:23 +00:00
putterman%netscape.com 81f73425ad Add Delete Folders and Mark Messages Read. 1999-05-14 00:41:03 +00:00
bienvenu%netscape.com 24afe5d573 add old flags to key change notification 1999-05-13 23:19:14 +00:00
mscott%netscape.com e2dd7ebc47 fix shadowed variable warning. 1999-05-13 21:45:13 +00:00
law%netscape.com 77263ad4e0 Adding Shutdown member per change to nsIAppShellComponent 1999-05-13 06:10:59 +00:00
warren%netscape.com 87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +00:00
bienvenu%netscape.com 23302098d4 search and filter checkpoint 1999-05-13 02:10:05 +00:00
alecf%netscape.com ca98a8e224 checkin first-pass at nsIMsgHdr interface 1999-05-13 00:11:12 +00:00
alecf%netscape.com 56bf2a3ae4 fix objdir build bustage in XPIDL idl files by forward declaring nsIMessage instead of including it 1999-05-12 23:57:26 +00:00
alecf%netscape.com 58db20b6f7 forward declare instead of including IDL 1999-05-12 21:21:54 +00:00
alecf%netscape.com 8058f7415f fix luxor's build bustage by adding nsIFolder and nsIFolderListener to IDL file list, which required regeneration of some header files 1999-05-12 19:11:22 +00:00
bienvenu%netscape.com 3b24385b61 search+filter checkpoint (not part of build) 1999-05-12 16:25:29 +00:00
alecf%netscape.com 0d6eaf8a20 remove include for nsIStreamListener.h 1999-05-12 08:46:14 +00:00
alecf%netscape.com 6d0c5b6466 remove entire nsIURL #include 1999-05-12 07:55:16 +00:00
alecf%netscape.com 97367bdc53 don't include nsIURL.h, just forward-declare it as a class/interface 1999-05-12 06:28:50 +00:00
alecf%netscape.com 20d16f2be3 rev these interfaces 1999-05-12 05:30:06 +00:00
alecf%netscape.com b46fb2db3e use forward-declared interfaces because IDL files for these interfaces are not available anymore 1999-05-12 04:40:44 +00:00
alecf%netscape.com cd491004c0 forward-declare nsICollection, and add new hasSubFolders attribute 1999-05-12 04:39:52 +00:00
alecf%netscape.com b0d5fd446c use forward-declared interfaces until DOM XPIDL files are available 1999-05-12 04:38:57 +00:00
alecf%netscape.com 2e41c2c443 IDL version of MailNewsTypes.idl 1999-05-12 04:38:11 +00:00
alecf%netscape.com a3c69e8b0f IDL version of nsIUrlListener 1999-05-12 04:37:56 +00:00
alecf%netscape.com 2950324c5b don't use idlc macros 1999-05-12 03:35:39 +00:00
alecf%netscape.com de47383344 Count() is no longer const 1999-05-12 03:24:36 +00:00
bienvenu%netscape.com ee5d1ad384 add utility for filing out priority 1999-05-12 03:16:20 +00:00
putterman%netscape.com 89e1e4a312 Fixed mismatched memory free. 1999-05-11 22:28:06 +00:00
mscott%netscape.com 296cff8c3d Fix memory leak. 1999-05-11 01:14:43 +00:00
putterman%netscape.com 8942e3da0f Changed DeleteMessage to DeleteMessages 1999-05-10 23:55:41 +00:00
bienvenu%netscape.com f4553aa1b4 resolve a few undefined symbols 1999-05-10 23:44:30 +00:00
bienvenu%netscape.com 7df9731d68 more search and filter porting 1999-05-10 23:25:37 +00:00
bienvenu%netscape.com b635b9a210 add cid's for search and filters 1999-05-10 23:25:08 +00:00
putterman%netscape.com 2e2b07fe3f added files: mozilla/mailnews/base/util/nsMsgDBFolder.cpp 1999-05-10 21:50:22 +00:00
putterman%netscape.com baf9ba08bc Separate db related folder code into separate class. 1999-05-10 21:47:07 +00:00
putterman%netscape.com 36e1b242ac Remove db related functions. 1999-05-10 21:46:18 +00:00
bienvenu%netscape.com 4c4d190029 add priority parsing util 1999-05-10 21:06:39 +00:00
bienvenu%netscape.com 2c41a6fb30 fix head mask define 1999-05-10 21:06:12 +00:00
mcafee%netscape.com 492b4cef0f Renaming nsQuickSort to NS_QuickSort so it doesn't look like a class name. r=brendan@netscape.com 1999-05-10 06:47:04 +00:00
bienvenu%netscape.com c94b64e307 more work on search and filters, not part of build yet 1999-05-10 01:59:23 +00:00
bienvenu%netscape.com cfeb915805 add error for filter parsing 1999-05-10 01:57:14 +00:00
sspitzer%netscape.com 2df54596aa changes for GetLineCount().
we had SetLineCount(), but no GetLineCount().

news will be using GetMessageSize() and SetMessageSize(), but we'll have
the line count, in case we need it.
1999-05-08 17:02:19 +00:00
putterman%netscape.com ac37b51b3b Write folder parent functions. 1999-05-07 20:21:47 +00:00
putterman%netscape.com cbec5edf49 use GetParent() 1999-05-07 20:21:25 +00:00
putterman%netscape.com cbddfe221f Added folder parent functions. 1999-05-07 20:21:09 +00:00
putterman%netscape.com 31e9a1f08a GetNewMessages and HasMessage are implemented. 1999-05-07 00:33:06 +00:00
putterman%netscape.com 4a8f6b0551 GetNewMessages and HasAssertions are implemented. 1999-05-07 00:32:36 +00:00
putterman%netscape.com 4baa1f5a06 Added GetTargetHasAssertion, GetNewMessages and use string instead of ints for
property names.
1999-05-07 00:32:10 +00:00
putterman%netscape.com 2abe7e7cae Add HasMessage and GetNewMessages 1999-05-07 00:29:56 +00:00
bienvenu%netscape.com b6cd915934 search session class 1999-05-07 00:29:11 +00:00
bienvenu%netscape.com 9fedeebda9 initial entry into cvs of searching and filter interfaces, not part of build 1999-05-07 00:28:35 +00:00
alecf%netscape.com 647043469e use nsCOMPtr and fix ownership model of account manager 1999-05-07 00:10:20 +00:00
alecf%netscape.com 6ffba108cb use nsCOMPtr and fix up ownership model in account manager 1999-05-07 00:09:08 +00:00
alecf%netscape.com ab2cb33c50 use nsCOMPtr 1999-05-07 00:07:58 +00:00
mscott%netscape.com 24657444c0 part of mailnews audit --> use nsCOMPtr. Fix ownership issue for url listeners by removing nsISupportsArray and using nsVoidArray. The listeners are the owners.. 1999-05-07 00:02:12 +00:00
rickg%netscape.com 80f580de9f sync with nsString2 1999-05-06 06:47:15 +00:00
putterman%netscape.com 7dcb4ea2d6 Fix 5988. Delete message works again. 1999-05-06 00:28:12 +00:00
putterman%netscape.com 586e2e1ce9 fixes mailnews crash when sending mail and opening folders. AddRef before
returning.
1999-05-05 20:09:20 +00:00
alecf%netscape.com 3f9d9e1fee use nsCOMPtr 1999-05-05 06:43:34 +00:00
alecf%netscape.com 8e8236674e minor cleanup and add a helpful comment 1999-05-05 06:40:28 +00:00
alecf%netscape.com da8927c94e use nsCOMPtr 1999-05-05 06:38:18 +00:00
alecf%netscape.com 31dda5d681 make sure QueryInterface returns the right GetIID() 1999-05-05 05:16:09 +00:00
alecf%netscape.com 2dc9f2d89f use the new lighter weight nsIAppShellComponent 1999-05-05 05:14:39 +00:00
alecf%netscape.com 5fb06f74bf remove unnecessary variable 1999-05-05 02:46:48 +00:00
alecf%netscape.com 81e74fdec0 some nsCOMPtr conversions 1999-05-05 02:45:49 +00:00
alecf%netscape.com 9976bf2421 fix variables named "time" so as not to conflict with global system function time() 1999-05-05 02:44:07 +00:00
alecf%netscape.com ff8af2a4f8 fix virtual destructor 1999-05-05 02:43:38 +00:00
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 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
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
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
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
mscott%netscape.com 35e56cb21b part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 20:54:35 +00:00
mscott%netscape.com 29535afa18 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 17:55:40 +00:00
waterson%netscape.com a2049e3b5a Remove nsIRDFResourceFactory.h: it is obsolete. 1999-05-04 05:16:16 +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 1428f907b0 fix for #5753. allow white space in the "mail.accountmanager.accounts" pref. 1999-05-01 15:47:21 +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
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
ducarroz%netscape.com d6ef985510 Fix build bustage. 1999-04-28 21:59:32 +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
alecf%netscape.com 05eda21272 handle uncreatable servers a little more gracefully 1999-04-28 04:04:30 +00:00
sspitzer%netscape.com c9fd1ba862 silly printf for my benefit 1999-04-28 02:43:20 +00:00
alecf%netscape.com 70a6f45af1 many fixes:
- initialize mAccountManager during construction
- always create an NS_ISupportsArray for ArcLabelsOut
- handle case of unknown data source by creating an enumerator anyway
- free leaked value from RDF node
1999-04-28 02:02:08 +00:00
alecf%netscape.com 13607efec5 add implementation for AccountManager() method 1999-04-28 01:57:25 +00:00
alecf%netscape.com a36238ddd0 don't forget to actually return the value! 1999-04-28 00:11:10 +00:00
ftang%netscape.com 2e97bf7dcc change S/GetDocumentCharacterSet method for nsIDocument interface. 1999-04-27 21:49:25 +00:00
hangas%netscape.com f0ee5a0f84 Fixed file path bug on Mac. Was using incorrect constructor that broke when running on Mac. 1999-04-27 21:27:17 +00:00
putterman%netscape.com dbf3f37765 Opening up a thread no longer crashes. 1999-04-27 20:59:02 +00:00
mscott%netscape.com b1a5200840 Fix build breakage for alecf. 1999-04-27 20:27:45 +00:00
alecf%netscape.com 2b28b2a6ab fix this with ugly code that works real well. 1999-04-27 20:06:12 +00:00
alecf%netscape.com fa616ed3cc fix casting problems by making nsIID a ref 1999-04-27 20:00:58 +00:00
alecf%netscape.com ca8ad5b0c5 update AccountManager data source to use nsMsgRDFDataSource base class, so that we don't have to implement most methods
also start implementing GetTargets() for msgaccounts:/ to return all the servers and their respective root URIs
1999-04-27 18:39:36 +00:00
alecf%netscape.com 71c7a53e42 add new FindServersByHostname() method 1999-04-27 18:37:58 +00:00
alecf%netscape.com 4a3e754a85 add identity test to --enable-tests build 1999-04-27 18:36:15 +00:00
alecf%netscape.com 6ff195aef4 fix identity test to use updated API 1999-04-27 18:35:39 +00:00
alecf%netscape.com 383ae9c9b7 add new AccountManager() method to bring up account manager 1999-04-27 18:33:05 +00:00
alecf%netscape.com 43cc22ebca link against libreg so that this library can stand on it's own 1999-04-27 18:30:13 +00:00
alecf%netscape.com 8a9e37f2a0 remove unnecessary libraries - now the only unresolved symbols are from netlib 1999-04-27 17:27:28 +00:00
bienvenu%netscape.com 2ef2fc6235 add option to create summary file specs automatically 1999-04-27 14:58:57 +00:00
waterson%netscape.com be6b8bc2e7 Fixed problems with XPConnect objects. 1999-04-27 04:20:16 +00:00
alecf%netscape.com 8f51f3a77b remove stupid debugging comment 1999-04-27 03:11:37 +00:00
mscott%netscape.com c8c1a023c3 Use MSG_LINEBREAK instead of LINEBREAK. 1999-04-27 03:06:34 +00:00
mscott%netscape.com c78f083c4d Remove nsIMessenger.cpp from the list of .cpp files. There is no such file. 1999-04-27 02:55:00 +00:00
mscott%netscape.com 8d2d60a12a Add MSG_LINEBREAK and MSG_LINEBREAK_LEN for mailnews. We need to transition all mailnews use of LINEBREAK to these new macros. I'm leaving the old LINEBREAK definition in place so I don't have to update all files that use it at once. Why can't we use LINEBREAK? Because it is incorrectly defined on the Mac and due to situations outside of our control, we can't change the value of LINEBREAK on the Mac (because it is defined elsewhere and they need it defined incorrectly). So we're going to use these new values (MSG_LINEBREAK and MSG_LINEBREAK_LEN) instead. 1999-04-27 02:53:29 +00:00
hangas%netscape.com a9e8c22319 Updated Mac Project file for DataSource files added to Windows makefile 1999-04-27 00:42:20 +00:00
ducarroz%netscape.com 01855c3b8e updated mac project 1999-04-26 22:57:32 +00:00
ducarroz%netscape.com 50276008ab update projects 1999-04-26 22:55:01 +00:00
alecf%netscape.com c06daa2756 remove all references to the old nsIMessenger 1999-04-26 22:52:38 +00:00
alecf%netscape.com d1323c7142 stop creating nsIMessenger objects 1999-04-26 22:47:13 +00:00
alecf%netscape.com 2d974a158b remove nsIMessenger from Mac/Windows 1999-04-26 22:43:09 +00:00
alecf%netscape.com 3fcb73e0a5 remove nsIMessenger entirely 1999-04-26 22:42:41 +00:00
sspitzer%netscape.com ebe314420d add newline to end of file 1999-04-26 22:31:42 +00:00
sspitzer%netscape.com 88bf38bebf make destructor virtual 1999-04-26 22:30:52 +00:00
alecf%netscape.com d2d0194c11 fix fprintf problem (and make it only DEBUG_alecf) 1999-04-26 22:15:03 +00:00
putterman%netscape.com bf7af54df4 Only return NS_OK if ptr is valid. 1999-04-26 22:02:48 +00:00
alecf%netscape.com 363def7a19 attempt to fix mail/news size issue 1999-04-26 21:52:26 +00:00
alecf%netscape.com a791266e10 fix QueryInterface so we're actually returning the right value 1999-04-26 21:33:58 +00:00
alecf%netscape.com 8a3695f2ab switch to using nsCOMPtr and the new GetLocalPath() api instead of doing something server-type-specific 1999-04-26 21:32:47 +00:00
alecf%netscape.com 6839dfab08 call the service manager directly instead of storing a copy of it in a member variable 1999-04-26 21:31:57 +00:00
alecf%netscape.com 53b7fde541 goodbye, yellow brick stub.. 1999-04-26 21:31:22 +00:00
alecf%netscape.com ed193a363f add new data sources to the factory 1999-04-26 21:29:44 +00:00
alecf%netscape.com df281a2c2f add new data source to unix build 1999-04-26 21:28:43 +00:00
alecf%netscape.com 432acf359c add new datasources to the windows build 1999-04-26 21:28:21 +00:00
alecf%netscape.com 859e0c7604 remove nsIMessenger stub code from the build 1999-04-26 21:20:08 +00:00
alecf%netscape.com 43b60b2656 remove some unnecessary source files from the build (some of these data sources will eventually return) 1999-04-26 21:17:59 +00:00
alecf%netscape.com 9d1ac53280 removed files: mozilla/mailnews/base/src/nsIMessenger.cpp 1999-04-26 21:16:47 +00:00
alecf%netscape.com f925982e9d remove references to stub nsIMessenger class 1999-04-26 19:03:36 +00:00
alecf%netscape.com 1d449a2481 oops, checked in the wrong file, backing this out (it's not ready yet) 1999-04-26 19:03:08 +00:00
alecf%netscape.com bb5d4b10ea remove references to unnecessary nsIMessenger stub class 1999-04-26 19:00:54 +00:00
alecf%netscape.com 963baf27b9 rename the IDL attributes so it's more friendly to javascript, and use the new GetLocalPath method when upgrading mail.directory on POP 1999-04-26 18:40:48 +00:00
alecf%netscape.com 87ea48afdb add new GetServerURI() method for asking a server for the root RDF URI and make a generic GetLocalPath() for getting the local directory for this server. 1999-04-26 18:38:26 +00:00
putterman%netscape.com ba2a8f56ee use NS_IF_RELEASE in case db is null. 1999-04-26 03:08:42 +00:00
mscott%netscape.com 9f7c1a2dbb Add new line to end of file. 1999-04-25 21:23:36 +00:00
mscott%netscape.com 419605d033 nsMsgLineStreamBuffer::ReadNextline now returns # bytes read.
nsMsgLineStreamBuffer now lets you pass in the delimeter string to be used for determing the end of a line. This allows the function to be platform friendly with line endings...
1999-04-25 19:51:08 +00:00
putterman%netscape.com 596f37bb9e added files: mozilla/mailnews/base/util/nsMessage.cpp 1999-04-24 20:51:22 +00:00
putterman%netscape.com d16d6c3924 Added enumerator to convert nsMsgDBHdr into message. 1999-04-24 20:37:00 +00:00
putterman%netscape.com 1ed57840f7 removed protocol dependent uri utilities and added CreateMessageFromMsgDBHdr. 1999-04-24 20:36:26 +00:00
putterman%netscape.com baca5e550b Removed protocol dependent uri utilities. 1999-04-24 20:36:00 +00:00
putterman%netscape.com 55286de9a6 Added nsMessage 1999-04-24 20:35:34 +00:00
putterman%netscape.com 0695594f7a Check for null pointer before using db in change view. 1999-04-24 20:34:51 +00:00
putterman%netscape.com 071598bddd Use new msghdr to message converter enumerator. 1999-04-24 20:34:25 +00:00
putterman%netscape.com a5e683a1e4 Use nsIMsgDBHdr. 1999-04-24 20:33:39 +00:00
putterman%netscape.com 02f487728c Added CreateMsgFromMsgDBHdr. 1999-04-24 20:33:20 +00:00
putterman%netscape.com 7620670d16 Added nsIMessage 1999-04-24 20:32:24 +00:00
waterson%netscape.com 7431df7cdc Fix a comment that I forgot to keep in sync. 1999-04-24 03:28:43 +00:00
waterson%netscape.com 933ff04dcb Whoops. Missed this one. 1999-04-24 03:28:22 +00:00
waterson%netscape.com 7b2a8f4939 The Great Cursor Excorcism. Dropped cursors in favor of enumerators. Details on RDF_19990422_BRANCH. 1999-04-24 02:41:54 +00:00
jefft%netscape.com 322c217660 initialize local variable, folderURI, to nsnull 1999-04-24 01:11:38 +00:00
alecf%netscape.com 85cbec924c add new accessor to nsIMsgIncomingServer to get local folder path 1999-04-23 22:57:31 +00:00
jefft%netscape.com 2b81869485 fixed build bustage 1999-04-23 15:18:25 +00:00
jefft%netscape.com ff1de19446 getting imap root folder directory from prefs instead of hard coded string 1999-04-23 13:55:53 +00:00
rickg%netscape.com f86b7f933d update to sync with nsString2 1999-04-22 06:39:40 +00:00
alecf%netscape.com c4bff4302d Add server RDF source 1999-04-22 03:02:35 +00:00
alecf%netscape.com 6141657ece add new datasources to windows build 1999-04-22 02:28:55 +00:00
alecf%netscape.com 5b2d214c74 start building new RDF datasources on unix 1999-04-22 02:26:25 +00:00
alecf%netscape.com 1518456dc6 check in skeleton source for RDF datasources for account system 1999-04-22 02:25:22 +00:00
alecf%netscape.com 7e2d826a6a add headers for new RDF data sources for account system 1999-04-22 02:24:39 +00:00
mscott%netscape.com 907c03e019 Fix fence post case in nsMsgLineBufferStream::ReadNextLine when we read n bytes and n == the size of the buffer...we were over-writing the n+1th byte with a null terminator.
Add (unimplemented) feature to nsMsgLineBufferStream to give caller the choice of allocating new memory for new lines or not.
1999-04-22 01:53:19 +00:00
putterman%netscape.com 4ddb23c6e9 added files: mozilla/mailnews/base/util/nsMsgUtils.cpp 1999-04-21 20:22:18 +00:00
putterman%netscape.com 69323103f5 Add utility functions so we can use nsIMsgMessageService correctly. 1999-04-21 20:17:23 +00:00
putterman%netscape.com 40c42f537c uses nsIMsgMessageService. 1999-04-21 20:16:16 +00:00
sspitzer%netscape.com a462087190 use nsCRT:strtok(), not strtok() 1999-04-21 19:54:44 +00:00
mscott%netscape.com e654a0431a OpenUrl no longer needs any knowledge of the nntp service. It should be able to go directly through the nsIMsgMessageService interface. 1999-04-21 18:59:51 +00:00
jefft%netscape.com f5a6ea8454 adding imap related URI 1999-04-21 05:13:31 +00:00
jefft%netscape.com 62fe459116 remove nsMsgImapMailFolder.cpp 1999-04-21 05:12:13 +00:00
jefft%netscape.com 7dad835d36 use nsNativeFileSpec& instead of nsNativeFileSpec* for GetPathName method 1999-04-21 05:10:58 +00:00
jefft%netscape.com 11c085fb96 added kImapRootURI, nsGetImapRoot() 1999-04-21 05:09:33 +00:00
sspitzer%netscape.com 4b92fe85ee these header files and CIDs aren't being used. comment them out. 1999-04-21 02:57:36 +00:00
sspitzer%netscape.com 2272de33f9 get the newsroot from the account manager.
remove the old #if 0 code
1999-04-21 02:54:40 +00:00
sspitzer%netscape.com 5bae97b8fd changes to parse the accountlist and add each of the accounts.
the accountlist must be delimited by commas
1999-04-21 02:52:21 +00:00
mscott%netscape.com 9c2d889626 for nsMsgLineStreamBuffer, let caller choose if they want CRLFs at the end of the new lines or not. 1999-04-20 23:44:34 +00:00
mscott%netscape.com f37bcffdf7 Update the idl file. 1999-04-20 23:33:19 +00:00
mscott%netscape.com 7666bdbd29 Pull out the mailbox service code for displaying and copying a message. Replace it with code that uses the new nsIMsgMessageService. In addition, we are no longer going to support message display from the demos menu. It is no longer necessary as we can display messages by selecting them on the thread pane. 1999-04-20 23:30:04 +00:00
mscott%netscape.com a6c07e75b9 Export nsIMsgMessageService.h 1999-04-20 23:19:40 +00:00
mscott%netscape.com 5a899f7ed6 Rev the interface... 1999-04-20 23:19:11 +00:00
alecf%netscape.com a713dbf60e fix newline-at-end-of-file problem 1999-04-20 22:50:08 +00:00
alecf%netscape.com 39d88dbe36 change nsIEnumerators to nsISupportsArrays and implement some of the getIdentities() getServers() etc 1999-04-20 22:48:32 +00:00
alecf%netscape.com 90cf042740 add accessor for getting the account manager from the mail session 1999-04-20 22:43:04 +00:00
putterman%netscape.com 16c1e86959 Moved folder listener code from local to base. 1999-04-20 22:24:21 +00:00
mscott%netscape.com 888c9ed9a7 Export nsIMsgMessageService.h 1999-04-20 21:50:51 +00:00
mscott%netscape.com 53527f46fd An interface designed to organize all message related operations such as copying and displaying messages under one umbrella. Each of our protocol services (imap, pop, news) will support this interface for message actions. 1999-04-20 21:49:21 +00:00
sspitzer%netscape.com b4e142b8f1 changes to get news in the folder pane 1999-04-20 19:08:10 +00:00
jdunn%netscape.com 444d30a864 Fix unix native compiler error: can't find libraries. TK_LIBS include both
the libraries and where to get them.
1999-04-20 19:03:53 +00:00
ducarroz%netscape.com 155c4abfdf updated mac project, added nsMsgRDFUtils.cpp 1999-04-20 18:42:04 +00:00
putterman%netscape.com 7152dd4a1b Added a couple of utility files for our RDF datasources with functions and declarations
that can be used by all.
1999-04-20 18:15:16 +00:00
ducarroz%netscape.com 062acfcba3 updated mac project, added nsMsgFolderDataSource.cpp & nsMsgMessageDataSource.cpp 1999-04-20 01:59:14 +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 412221c6f5 Split datasources into message and folder datasources and moved them to base.
Added these files.
1999-04-20 01:08:51 +00:00
mscott%netscape.com f95c28ad46 initialize more variables that weren't getting values if there wasn't a pref for the value. 1999-04-20 00:03:09 +00:00
mscott%netscape.com 70dd6752bd Take out pref initialization code which was always loading prefs50.js from the current directory. We need to be using the prefs for the default profile. This fixes the current windows problems where mail prefs weren't being read in. 1999-04-19 23:38:30 +00:00
mscott%netscape.com 571de914c4 Initialize some variables in SetKey which were causing a crash if the prefs file did not have values for them..... 1999-04-19 23:37:02 +00:00
bienvenu%netscape.com 2d81b1adba add imap messages to uri scheme 1999-04-19 21:39:29 +00:00
sspitzer%netscape.com 8d0786d921 my printfs are driving me insane 1999-04-19 21:36:39 +00:00
mscott%netscape.com 4bc2083f05 First checked in. The message service is an interface representing actions the different derived protocol services can perform on messages such as copying, displaying a message etc. 1999-04-19 21:32:26 +00:00
ducarroz%netscape.com ef67bb41aa updated mac project 1999-04-18 21:24:20 +00:00
ducarroz%netscape.com a5d95cb396 updated manifest to reflect rhp modification with msgRFC882 1999-04-18 21:22:21 +00:00
alecf%netscape.com 6323b72687 remove some debugging statements 1999-04-16 22:19:13 +00:00
mscott%netscape.com f25eb09a76 add new class nsMsgLineStreamBuffer which is used to efficiently read out lines from an input stream by buffering unprocessed content in a buffer. 1999-04-16 22:05:33 +00:00
rhp%netscape.com 599771aad8 Moving header parser interface 1999-04-16 19:02:22 +00:00
rhp%netscape.com 9efbcddad8 Removal of old files 1999-04-16 19:00:50 +00:00
rhp%netscape.com 5bebb7fed5 Removal of old file 1999-04-16 19:00:44 +00:00
alecf%netscape.com cafa628f49 return rv rather than losing the return value 1999-04-16 18:46:08 +00:00
alecf%netscape.com cab8e013a0 bulletproof the nsMsgAccount object 1999-04-16 18:44:53 +00:00
alecf%netscape.com ceb7169f78 clean up memory leaks 1999-04-16 00:55:04 +00:00
alecf%netscape.com d236f80d21 add a few more attributes to nsMsgIncomingServer 1999-04-16 00:36:52 +00:00
alecf%netscape.com e365475666 update these interfaces and headers - no more dependancies on nsIPref.h 1999-04-16 00:35:09 +00:00
alecf%netscape.com 1e9eb9b898 since nsIMsgAccountManager doesn't use nsIPref.h anymore, include it here 1999-04-16 00:32:59 +00:00
alecf%netscape.com 99e7600407 since nsIPref.h got removed from the interface, include it here 1999-04-16 00:30:57 +00:00
alecf%netscape.com a702386215 rev these files 1999-04-15 21:33:10 +00:00
putterman%netscape.com 8f60e96f9e Added NewFolder 1999-04-15 21:12:10 +00:00
sspitzer%netscape.com 163e2b7f28 checking in newly generated header 1999-04-15 20:16:35 +00:00
sspitzer%netscape.com 1e9ddb19f5 checking in newly generated headers 1999-04-15 20:11:33 +00:00
sspitzer%netscape.com d73e993651 checking in new generated header 1999-04-15 20:03:27 +00:00
sspitzer%netscape.com 8ed1691101 add the missing goto's 1999-04-15 20:01:31 +00:00
alecf%netscape.com 14f799fb0a add booleans to decide if we should attach signatures/vcards 1999-04-14 03:43:45 +00:00
alecf%netscape.com 86ad80de67 fix newline-at-end-of-file problem 1999-04-14 03:35:58 +00:00
alecf%netscape.com 2ad9dc0f9f now that nsQuickSort is correctly exported on Windows, use it. 1999-04-14 03:26:45 +00:00
alecf%netscape.com 82f7b5f935 check in header file to match to make use of new SetSize() 1999-04-13 22:11:57 +00:00
alecf%netscape.com 7fd4c187ed augh, don't use quicksort for now, I'm not sure why windows can't see it. 1999-04-13 22:11:22 +00:00
alecf%netscape.com dcf0040807 use new nsQuickSort routine in base, and fix signed/unsigned problem 1999-04-13 20:12:27 +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
ducarroz%netscape.com cd541fb9d2 update project files, added nsNewsSummarySpec.cpp 1999-04-13 18:21:30 +00:00
chuang%netscape.com 260026da45 Switch mailnews from prefs.js to prefs50.js 1999-04-13 07:41:24 +00:00
sspitzer%netscape.com 942f9d710e stop driving the mailnews team insane with my printfs 1999-04-12 23:26:21 +00:00
jdunn%netscape.com eac23ef438 use 'common' memcpy routine 1999-04-12 22:19:25 +00:00
jdunn%netscape.com 4b7b87047f fix compiler error, need to specify base class 'type' 1999-04-12 21:46:53 +00:00
sspitzer%netscape.com 70e2ff56a6 quiet the UNIX compiler. Thanks to bruce@cybersight.com for this patch. 1999-04-12 21:28:28 +00:00
jdunn%netscape.com b501a78d8a fix compiler error (NS_DECL_ISUPPORTS shouldn't have a ';' at the end 1999-04-12 20:40:13 +00:00
jdunn%netscape.com db13725843 fix native compiler error (NS_DECL_ISUPPORTS should not be followed by a ';' 1999-04-12 20:38:57 +00:00
putterman%netscape.com 4387035a4d Add GetBufferPos 1999-04-12 20:23:04 +00:00
putterman%netscape.com 728f20d460 use PR_FALSE instead of FALSE 1999-04-12 20:22:48 +00:00
putterman%netscape.com 5d1733a2af Some code cleanup. 1999-04-12 20:22:27 +00:00
putterman%netscape.com 938a9c1b01 Pass in old values to property changed. 1999-04-12 20:22:10 +00:00
sspitzer%netscape.com 6d58b2d1fd nsf is back to msf 1999-04-12 19:06:26 +00:00
sspitzer%netscape.com 3ec7607b7d use a more realistic example in the comment 1999-04-12 03:58:21 +00:00
sspitzer%netscape.com f1e1ce5736 add news_message:// URI to the example comment 1999-04-12 03:53:27 +00:00
sspitzer%netscape.com 6553448e41 more debugging printfs and comments to help explain what's going on 1999-04-12 03:37:29 +00:00
sspitzer%netscape.com ffb75126f1 changes required because I added nsNewsSummarySpec.h nsNewsSummarySpec.cpp 1999-04-12 03:35:38 +00:00
sspitzer%netscape.com 093454be4c initial add (for the newsdb work) 1999-04-12 03:32:22 +00:00
braddr%puremagic.com dacff9811c Fix linking for nspr libs 1999-04-11 22:12:29 +00:00
sspitzer%netscape.com 928b4dc9df more newsdb related stuff 1999-04-11 00:38:32 +00:00
sspitzer%netscape.com 8b605afd4d strcmp returns 0 if the strings match. doh! 1999-04-10 23:12:01 +00:00
sspitzer%netscape.com cad698a73a fix my typos 1999-04-10 22:14:23 +00:00
sspitzer%netscape.com bbedc07458 more newsdb work 1999-04-10 22:05:58 +00:00
alecf%netscape.com 4b111c2878 forgot to define getDefaultCharPref 1999-04-10 21:58:09 +00:00
alecf%netscape.com 8a8fae8fd5 oops, forgot to check in these updated interfaces
- add SetKey() and remove LoadPreferences() so that we can build these objects lazily
1999-04-10 21:04:50 +00:00
alecf%netscape.com edada51a55 implementation for updated Multiple Accounts. create accounts/identities lazily, etc 1999-04-10 20:55:30 +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 4823daa071 move nsIMsgThread to base/public, and create IDL source
nsIMsgThread.idl has to be in base/public because nsIMessage needs it during
IDL compilation
1999-04-10 20:23:54 +00:00
ducarroz%netscape.com d92c919f93 update project files 1999-04-10 01:40:20 +00:00
ducarroz%netscape.com daf77c1b85 update Manifest files 1999-04-10 01:36:30 +00:00
sspitzer%netscape.com 492d307670 ignore the test that gets built 1999-04-10 00:36:48 +00:00
mcafee%netscape.com d9e63ee4a0 XP way of specifying libz 1999-04-07 03:47:27 +00:00
putterman%netscape.com 357b3bff79 More work on threads. 1999-04-07 02:50:25 +00:00
alecf%netscape.com edff4973ec include the right RDF idl file 1999-04-07 00:43:04 +00:00
putterman%netscape.com 69a8c8e526 Started work on threading. 1999-04-07 00:03:26 +00:00
alecf%netscape.com b14036073c forgot to export nsMsgAccount and nsMsgAccountManager 1999-04-06 23:35:17 +00:00
alecf%netscape.com 3b92777151 oops, both parameters had the same name in the header 1999-04-06 23:28:03 +00:00
alecf%netscape.com 3f0382e1a4 oops, parameters had the same name 1999-04-06 23:26:38 +00:00
alecf%netscape.com f552311d79 landing multiple accounts
account information is now acquired by the account manager, which is held by the nsIMsgMailSession service.
1999-04-06 22:47:12 +00:00
alecf%netscape.com 9bd8050786 first addition of nsIMsgAccount and nsIMsgAccountManager implementations 1999-04-06 22:35:43 +00:00
alecf%netscape.com 6d8f88f1e8 first addition of account/identity interfaces, with IDL 1999-04-06 22:35:13 +00:00
alecf%netscape.com 44a799187b first addition of identity work
- Identity for outgoing mail
- Incoming Server for incoming mail
1999-04-06 22:34:19 +00:00
alecf%netscape.com e640f07865 first check in of identity tests 1999-04-06 22:30:47 +00:00
alecf%netscape.com 09e0f265cb remove dependancy on libxp so we can track this with ldd -r 1999-04-06 22:30:20 +00:00
alecf%netscape.com de4cee983f rev this interface 1999-04-06 22:23:11 +00:00
ducarroz%netscape.com 1a0321217a Update project, added nsRDFCursorUtil.cpp 1999-04-06 19:32:15 +00:00
putterman%netscape.com c8389034f3 More work on unread messages view. 1999-04-06 18:40:30 +00:00
alecf%netscape.com ca6e9c7f04 remove unused variable 1999-04-06 04:40:01 +00:00
alecf%netscape.com 5f172faeca resolve undefined symbols and fix library dependancies 1999-04-06 04:37:50 +00:00
mscott%netscape.com d22f5d494f fix ref counting bug in create instance. Update all NS_New*** functions to pass in the interface we want the object in... 1999-04-06 03:11:40 +00:00
mscott%netscape.com ecf84d223d NS_NewMessengerBootstrap & NS_NewMessenger now take an IID 1999-04-06 03:11:02 +00:00
mscott%netscape.com 9563568ae7 NS_NewMsgAppCore takes an IID & refcounts returned object 1999-04-06 03:10:17 +00:00
mscott%netscape.com 3ce209e97d NS_NewRFC822Parser takes an IID & refcounts returned object. 1999-04-06 03:09:36 +00:00
ducarroz%netscape.com 6852928ca5 Mac only, define LINEBREAK as \012 to avoid conflict with fe_proto.h 1999-04-06 02:05:51 +00:00
ducarroz%netscape.com 17e78f95a6 Update project, added nsIMessageViewDataSource.cpp 1999-04-06 01:57:28 +00:00
ducarroz%netscape.com e74de88d7a Update project 1999-04-06 00:59:38 +00:00
putterman%netscape.com d606f4acfd Implement OnAssert and OnUnassert so delete and move work again. 1999-04-06 00:42:51 +00:00
putterman%netscape.com 4c0d65449b Fixed subfolders. 1999-04-05 23:35:56 +00:00
putterman%netscape.com e379cbc2cd Added View All/Unread messages. 1999-04-05 23:35:35 +00:00
putterman%netscape.com 8331da1beb Added nsMessageViewDataSource 1999-04-05 23:35:10 +00:00
putterman%netscape.com 58bef020e2 Added ViewAllMessages ViewUnreadMessages. 1999-04-05 23:34:10 +00:00
putterman%netscape.com 9fd031ae06 Added nsIMessageView. 1999-04-05 23:33:43 +00:00
putterman%netscape.com e9c46278cd added message view datasource. 1999-04-05 23:32:46 +00:00
mscott%netscape.com c9e0d5940e Part of my mailnews reduce disk footprint cleanup effort. No longer need to link against xplib. 1999-04-04 22:09:04 +00:00
mscott%netscape.com aa830ff714 Oops...we still need to link against rdfutils_s (because of nsMsgFolder...) 1999-04-04 22:08:25 +00:00
mscott%netscape.com ef1f34e264 Part of my mailnews reduce disk footprint cleanup effort. We no longer need to link against xplib. 1999-04-04 22:00:06 +00:00
mscott%netscape.com 31590cf30d Part of my mailnews reduce disk footprint cleanup effort. Add macro defintions for IS_DIGIT, IS_ALPHA, etc. I know it is bad to do it here. I need to talk to a raptor base owner and look into adding the macros where everyone besides just mailnews can use them! 1999-04-04 21:59:22 +00:00
mscott%netscape.com f8ccb2f204 Part of my mailnews reduce disk footprint cleanup effort. Remove use of XP_IS* to help remove dependencies on xplib. don't include xp.h. Use nsCRT::mem* functions. 1999-04-04 21:57:28 +00:00
mscott%netscape.com cf034705a6 Part of my mailnews reduce disk footprint cleanup effort. We no longer need to be linking against rdfutils and xplib. 1999-04-04 21:44:51 +00:00
mscott%netscape.com 784be62d5c Part of my mailnews reduce disk footprint cleanup effort. We are linking against many many more libraries than we need to. Remvoing xplib, js, newstest among others... 1999-04-04 21:42:53 +00:00
mscott%netscape.com ff85fb3855 Part of my mailnews reduce disk footprint cleanup effort. Use PR_MAX and PR_MIN instead of the versions through xp.h. Use nsCRT::mem* functions instead of those obtained through xp.h. Remove dep. on XP_QSORT. 1999-04-04 21:42:02 +00:00
mscott%netscape.com 684ffaada7 Part of my mailnews reduce disk footprint cleanup effort. Remove needless dependencies on fe_proto and allxpstr.h 1999-04-04 21:39:53 +00:00
mscott%netscape.com 5d41e67886 We now need to link with msgcorutil since we are no longer linking with msgdb.lib directly (which is where we were getting it before). This fixes the unresolved symbols problem when loading this library. 1999-04-04 20:22:28 +00:00
bienvenu%netscape.com f4c3ca6058 make msgdb a dll 1999-04-04 17:48:16 +00:00
putterman%netscape.com 8552df8b47 Fix path problem in nsURI2Path. 1999-04-02 20:20:26 +00:00
putterman%netscape.com d712b11f1a This should work on all platforms now. 1999-04-02 03:13:25 +00:00
putterman%netscape.com 02d7145327 Fixes nsURI2Path. 1999-04-02 01:52:01 +00:00
putterman%netscape.com 8c3ed7e4b2 More work on copying/moving messages. 1999-04-01 23:42:41 +00:00
putterman%netscape.com 8ae9988cf7 Build uri correctly. 1999-04-01 23:41:13 +00:00
ducarroz%netscape.com 0226e8d3d0 part of messenger Mac landing 1999-04-01 23:19:59 +00:00
ducarroz%netscape.com b1db848797 First Checked In. 1999-04-01 18:36:02 +00:00
mscott%netscape.com bc5f2037ca file needs a new line at the end. 1999-04-01 05:49:49 +00:00
mscott%netscape.com 8c1a1aa382 Destructor should be virtual. Checked in on behalf of Bruce Mitchener <bruce@cybersight.com>. 1999-04-01 05:48:07 +00:00