Commit Graph

200 Commits

Author SHA1 Message Date
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
ducarroz%netscape.com
50276008ab update projects 1999-04-26 22:55:01 +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
putterman%netscape.com
bf7af54df4 Only return NS_OK if ptr is valid. 1999-04-26 22:02:48 +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
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
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
jefft%netscape.com
f5a6ea8454 adding imap related URI 1999-04-21 05:13:31 +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
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
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
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
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
alecf%netscape.com
d236f80d21 add a few more attributes to nsMsgIncomingServer 1999-04-16 00:36:52 +00:00
putterman%netscape.com
8f60e96f9e Added NewFolder 1999-04-15 21:12:10 +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
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
ducarroz%netscape.com
cd541fb9d2 update project files, added nsNewsSummarySpec.cpp 1999-04-13 18:21:30 +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
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
putterman%netscape.com
4387035a4d Add GetBufferPos 1999-04-12 20:23:04 +00:00