Commit Graph

238 Commits

Author SHA1 Message Date
bienvenu%netscape.com
b1301ddd69 check for ISupports in QI 1999-06-30 23:20:34 +00:00
ducarroz%netscape.com
9c8e49df80 Replace time_t by PRTime 1999-06-30 21:04:29 +00:00
mcafee%netscape.com
644ece7b3e BeOS changes 1999-06-29 09:19:14 +00:00
alecf%netscape.com
687601d166 - make getCharPref() return null when there is no such pref, instead of returning an error
- make identityName default to Full Name <email@address.com> if the identityName is missing
1999-06-29 02:59:06 +00:00
bienvenu%netscape.com
77ead97514 make name and pretty name unichar's 1999-06-28 21:56:33 +00:00
rickg%netscape.com
d7fd3aea6c nsString API fixup 1999-06-27 18:53:46 +00:00
rickg%netscape.com
c00c4e3868 fixup to nsString API 1999-06-27 18:12:01 +00:00
alecf%netscape.com
45cb5af6ae get ready for some XPIDLIZING! 1999-06-27 04:09:41 +00:00
jefft%netscape.com
a38214030d stub implement CopyMessages() & CopyFileMessage() methods 1999-06-26 18:22:55 +00:00
sspitzer%netscape.com
25ab407d2a more work to get respecting the newsrc set working. move the set into the db. this isn't done yet, but it's shaping up. 1999-06-25 22:29:44 +00:00
ducarroz%netscape.com
8d7f41b9f3 replace pref "mail.identity.<idn>.send_html" by "mail.identity.id1.compose_html". replace pref "mail.identity.<idn>.wrap_column" by "mail.wraplength" 1999-06-25 21:47:43 +00:00
putterman%netscape.com
8c5fcdb576 Add GetPath to nsIMsgFolder. 1999-06-25 03:56:02 +00:00
warren%netscape.com
4001aade80 Renamed nsIURLGroup to nsILoadGroup in preparation for necko. 1999-06-25 02:17:37 +00:00
warren%netscape.com
1f76168d21 Renamed nsIURL to nsIURI in preperation for necko. More NECKO ifdefs too. 1999-06-23 03:29:44 +00:00
sspitzer%netscape.com
deff73af4a start of work to respect the newsrc files. code cleanup. use nsCOMPtr. 1999-06-22 04:45:15 +00:00
alecf%netscape.com
05fd122471 add userid@ to all mail/news URIs and add parsing code to support this
this change allows servers to be unique by {userid, hostname, type} combination and allows nsIMsgAccountManager::FindServer() to search for servers this way.
1999-06-22 03:03:48 +00:00
putterman%netscape.com
9ae981dede GetFoldersWithFlag now AddRefs its results. 1999-06-21 23:24:29 +00:00
jefft%netscape.com
da1c3fd40b added readonly attribute nsIMsgDatabase msgDatabase for undo work 1999-06-21 22:56:18 +00:00
mscott%netscape.com
4502f7816e added files: mozilla/mailnews/base/util/nsMsgMailNewsUrl.cpp 1999-06-21 22:21:19 +00:00
mscott%netscape.com
d4b0c59119 Export nsMsgMailNewsUrl.h 1999-06-21 22:20:07 +00:00
mscott%netscape.com
f741219424 Add threadsafe check in Query Interface call. 1999-06-21 21:11:29 +00:00
mscott%netscape.com
dfd783611b Start building nsMsgMailNewsUrl.... 1999-06-21 21:09:53 +00:00
mscott%netscape.com
a71f224adb Start building nsMsgMailNewsUrl....(no one is actually using it in any implementation though). 1999-06-21 21:09:16 +00:00
mscott%netscape.com
cddba9c895 Necko prep-integration work...add a base implementation class for mailnews urls. This encapsulates some common code that was shared across mailnews protocols. It should make my necko integration work easier as well.
(not part of the build yet).
1999-06-21 20:36:03 +00:00
bienvenu%netscape.com
fa296bd02b implement FindSubFolder 1999-06-15 23:18:57 +00:00
jefft%netscape.com
fe5c0ab7ad added files: mozilla/mailnews/base/util/nsMsgTxn.cpp 1999-06-15 13:17:46 +00:00
jefft%netscape.com
af8c153330 more on undowork -- adding base nsMsgTxn class for base undo object 1999-06-15 13:10:47 +00:00
alecf%netscape.com
7532075779 add type attribute to nsIMsgIncomingServer, and reduce warnings by not using "value" 1999-06-15 03:47:59 +00:00
putterman%netscape.com
23b41af5b2 Commit after setting charset. 1999-06-15 01:25:15 +00:00
alecf%netscape.com
a16cc81bf2 implement GetPrettyName() correctly - return the hostname if no prettyname is known 1999-06-14 22:53:09 +00:00
putterman%netscape.com
7f68ca1c73 Added GetRootFolder. 1999-06-14 22:22:51 +00:00
bienvenu%netscape.com
33e7b223dc prepare for msgdb idl 1999-06-14 02:20:41 +00:00
putterman%netscape.com
c2289c8757 More work on Biff. 1999-06-11 22:10:42 +00:00
jefft%netscape.com
5343385862 undo framework 1999-06-10 14:55:36 +00:00
mscott%netscape.com
c3a0128e26 Change comment to reflect tthe appropriate interface. (it was confusing before). 1999-06-10 07:21:06 +00:00
sspitzer%netscape.com
b4725335ab turn off my debugging printfs. 1999-06-08 21:25:39 +00:00
sspitzer%netscape.com
58cd4c16c1 25 is the right max for Mac. from ns/lib/libmsg/newshost.cpp in the old world. 1999-06-08 18:33:30 +00:00
sspitzer%netscape.com
82354feb6e move StringHash to nsMsgUtils.cpp, and use NS_MsgHashIfNecessary() in all
the ns*URI2Path() calls in the ns*Utils.cpp files to hash the file
names if necessary.
also, don't use fprintf().
1999-06-08 05:08:31 +00:00
mscott%netscape.com
9ea5079e21 LoadUrl signature takes a display consumer 1999-06-08 00:02:27 +00:00
mscott%netscape.com
f8396a3a2b remove IGNORE_MANIFEST 1999-06-07 21:04:04 +00:00
mscott%netscape.com
b010b6ca4e Part of makefile clean up for windows. Changes include removing old cruft, giving each
component it's own module name (this helps clear up problems with the xp connect type lib
name for each component), making sure libs built in src directories have _s suffix as
they are static libraries and unifying component names with "msg" prefixes.
1999-06-07 06:41:51 +00:00
alecf%netscape.com
ca776f901e XPConnect doesn't seem to like returning NULL from string accessors 1999-06-07 04:29:18 +00:00
alecf%netscape.com
3ea7a6c876 make a little more robust so that we can easily call this from JS 1999-06-06 18:46:03 +00:00
mscott%netscape.com
95ffb1e54d Make LoadUrl public and not protected. 1999-06-05 21:47:04 +00:00
mscott%netscape.com
21065e6ab3 Comment out text following #endif to fix unix warning. 1999-06-05 20:33:36 +00:00
mscott%netscape.com
b9ae714a11 Add default implemenations for OnDataAvailable, OnStartBinding, OnStopBinding. Push even more functionality for loading a url up into the base class. 1999-06-05 20:21:27 +00:00
sspitzer%netscape.com
8b8a341189 *** empty log message *** 1999-06-04 23:24:27 +00:00
mscott%netscape.com
1b9e6ee34d Export nsMsgProtocol.h 1999-06-04 23:17:38 +00:00
mscott%netscape.com
a3a8a59bd7 Build nsMsgProtocol. 1999-06-04 23:10:24 +00:00
mscott%netscape.com
81fc669270 Build nsMsgProtocol.h nsMsgProtocol.cpp.
Clean up the makefile by removing extraneous CPP_SRCS declaration...
1999-06-04 22:59:05 +00:00
mscott%netscape.com
4301f6ee9f use nsAutoString and nsAutoString.GetBuffer in place of calling nsAutoCString. This is much more memory friendly and doesn't require an extra copy of the object getting created on the healp like nsAutoCString does. 1999-06-04 22:07:26 +00:00
mscott%netscape.com
825323d0e7 First checked in. New files used to encapsulate much of the cross mail-news protocol code. this is mostly mail protocol to core netlib integration code. Over the next couple days, I'll be updating the mailnews protocols to inherit from nsMsgProtocol and pushing commonality up to the nsMsgProtocol level. 1999-06-04 21:41:47 +00:00
mscott%netscape.com
932a7ae28c Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-03 23:31:57 +00:00
putterman%netscape.com
8dc4664732 Added Charset functions. 1999-06-03 22:56:14 +00:00
rickg%netscape.com
2525d04098 replaced nsString2.h references with nsString.h 1999-06-02 01:03:41 +00:00
alecf%netscape.com
960301ec8f stop using [] operator (going away for scriptability) 1999-06-01 23:10:12 +00:00
alecf%netscape.com
ef4312b827 rename GetUserName -> GetUsername because Win32 substitutes all GetUserName's with GetUserNameA 1999-05-27 05:36:10 +00:00
bienvenu%netscape.com
1bc29c3671 add GetPriority 1999-05-27 05:09:00 +00:00
bienvenu%netscape.com
729931951f changes for mail filters, including setting root folder for server 1999-05-26 23:56:21 +00:00
putterman%netscape.com
9f92f3e16c More work on DeleteFolders. 1999-05-26 23:47:01 +00:00
alecf%netscape.com
95d34e3a21 add CID to prepare for moving CIDs into the factory 1999-05-26 21:59:45 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +00:00
putterman%netscape.com
fd5c7cfad6 Fix for 7002. Speed up mail by commenting out call to UpdateSummaryTotals. Reviewed by
mscott and approved by chofmann.
1999-05-24 22:03:47 +00:00
sspitzer%netscape.com
9e1116af2d fix for #6031. the summary file names for newsgroups are based on
the newsgroup name.  if the name is too long for the native file
system, use the hash function to come up with a new name.

move that has code out of xp_hash.c and into newsSummarySpec.cpp

in 4.x, this was the only place it was used anyways.

fix my debugging printf.

re-arrange addressbook makefiles in mailnews/makefiles so that people
who use obj-dir can build.
1999-05-21 22:21:23 +00:00
sspitzer%netscape.com
8b25978ce3 added files: mozilla/mailnews/base/util/nsMsgKeySet.cpp, removed files: mozilla/mailnews/base/util/nsNewsSet.cpp 1999-05-20 02:56:02 +00:00
sspitzer%netscape.com
4a56b0473c remove duplicate implementations of nsNewsSet. rename nsNewsSet to nsMsgKeySet.
heed the news set.  this fixes #6730 and #6244.
1999-05-20 02:54:25 +00:00
mscott%netscape.com
0e1ed4ef9c Make base\util build as a dll. This includes defining IMPL_NS_MSG_BASE and adding makefile code to generate the dll. 1999-05-18 23:56:48 +00:00
mscott%netscape.com
368b7fb42c Add NS_MSG_BASE to class declaration to help make base\util build as a dll on win32. 1999-05-18 23:55:39 +00:00
bienvenu%netscape.com
84997f013a move GetChildNamed implementation from local subclass 1999-05-17 22:50:04 +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
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
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
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
bienvenu%netscape.com
24afe5d573 add old flags to key change notification 1999-05-13 23:19:14 +00:00
warren%netscape.com
87b26617d5 Fixed nsICollection (and Count in particular) to be xpidl friendly. 1999-05-13 04:56:04 +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
8942e3da0f Changed DeleteMessage to DeleteMessages 1999-05-10 23:55:41 +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
bienvenu%netscape.com
4c4d190029 add priority parsing util 1999-05-10 21:06:39 +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
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
31e9a1f08a GetNewMessages and HasMessage are implemented. 1999-05-07 00:33:06 +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
putterman%netscape.com
60852f1cb3 use nsCOMPtr's. 1999-05-04 22:34:35 +00:00
waterson%netscape.com
a2049e3b5a Remove nsIRDFResourceFactory.h: it is obsolete. 1999-05-04 05:16:16 +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
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
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
bienvenu%netscape.com
2ef2fc6235 add option to create summary file specs automatically 1999-04-27 14:58:57 +00:00
mscott%netscape.com
c8c1a023c3 Use MSG_LINEBREAK instead of LINEBREAK. 1999-04-27 03:06:34 +00:00