Commit Graph

214 Commits

Author SHA1 Message Date
mscott%netscape.com
890a088089 replace nsAutoCString with more efficient nsAutoString.GetBuffer calls. 1999-06-04 22:47:53 +00:00
alecf%netscape.com
96cb99cd23 fix leaks 1999-06-04 04:19:46 +00:00
sspitzer%netscape.com
04a6356f8e return NS_ERROR_NOT_IMPLEMENTED, and not 0. remove dead code. get mark message read working for news. (the m_newSet code isn't being populated from the newsrc file yet, so don't use it.) 1999-06-04 03:38:26 +00:00
mscott%netscape.com
28d6ea8627 Remove unnecessary LINCS now that all headers are pushed to the same directory. 1999-06-04 01:21:24 +00:00
rickg%netscape.com
2525d04098 replaced nsString2.h references with nsString.h 1999-06-02 01:03:41 +00:00
dp%netscape.com
b21d1e72dc Fixing nsrefcnt to be unsigned long to maintain binary compatibility. All Addref() and Release() prototypes modified appropriately 1999-05-28 04:53:17 +00:00
bienvenu%netscape.com
f49d72587d add GetPriority method 1999-05-27 04:40:52 +00:00
mcafee%netscape.com
979fb7f491 There is no tests directory here. 1999-05-27 01:11:39 +00:00
bienvenu%netscape.com
45408ab3a3 try to fix unix build bustage 1999-05-27 00:52:18 +00:00
bienvenu%netscape.com
ba91ff4c95 fix memory leaks and problem with stale msf files after marking read via reading a msg 1999-05-26 23:57:21 +00:00
mscott%netscape.com
7d16fe001c Quiet noisy printf... 1999-05-26 23:05:30 +00:00
sspitzer%netscape.com
dfeb81ab79 turn DEBUG_sspitzer into DEBUG_NEWS.
use PR_sscanf instead of sscanf.
add more debugging printfs
1999-05-26 21:45:19 +00:00
dp%netscape.com
94344009c8 Landing xpcom20/21 branch. 1999-05-26 01:38:36 +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
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
sspitzer%netscape.com
54f0c3ccdf alter code to quiet warnings 1999-05-16 04:14:57 +00:00
bienvenu%netscape.com
459ba98623 check for null store when adding headers 1999-05-15 02:28:01 +00:00
jefft%netscape.com
83de70cafe fixed ForceClosed() crashes con CloseDB() 1999-05-15 00:47:47 +00:00
sspitzer%netscape.com
34bb2ea121 code cleanup 1999-05-15 00:22:23 +00:00
sspitzer%netscape.com
99f8493664 fix a bug in nsMsgDBEnumerator. this means I don't have to use
2 enuermators for my "show me only the last n news message" hack.
1999-05-14 22:25:31 +00:00
putterman%netscape.com
0df0812d8c Added Mark Read. 1999-05-14 00:45:48 +00:00
mscott%netscape.com
c8634d3c27 Fix warnings. Use nsAutoCString. 1999-05-13 23:24:59 +00:00
bienvenu%netscape.com
6d0429b17c add old flags to key change notification, use PRUint32 exclusively 1999-05-13 23:16:39 +00:00
bienvenu%netscape.com
a912ed4efa don't addref the db, don't release it 1999-05-13 02:34:36 +00:00
sspitzer%netscape.com
5ee84fbaf5 news, like imap and local mail, needs to use the db cache to make sure that when several
Open()'s happen, they get the same db object.  this fixes the problem where getting new
news wouldn't update the db listers (folder pane and thread pane, in this case.)
1999-05-11 04:04:10 +00:00
sspitzer%netscape.com
82dd7ee142 don't delete m_newsgroupSpec here. causes sigsegv on linux. 1999-05-11 01:55:42 +00:00
sspitzer%netscape.com
58156b8401 fix memory leak 1999-05-11 00:49:14 +00:00
ducarroz%netscape.com
672fe09e01 Don't create anymore a nsFileSpec from a unix path 1999-05-11 00:38:08 +00:00
ducarroz%netscape.com
3a2cca9097 fix bug #6175 due to new behavior of nsFileSpec on Mac 1999-05-10 22:02:39 +00:00
bienvenu%netscape.com
8a4994d751 fix priority enum names 1999-05-10 21:08:18 +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
08564454d8 ContainsKey added and now remove header before notifying observers about delete. 1999-05-07 00:33:56 +00:00
putterman%netscape.com
59c22ec54f ContainsKey added. 1999-05-07 00:33:29 +00:00
bienvenu%netscape.com
2fd0934917 fix ref counting problems, write code for deleteing a header from a thread 1999-05-07 00:11:18 +00:00
dp%netscape.com
b5707f7a96 Converting stray UnregisterFactory calls to UnregisterComponent 1999-05-06 01:37:04 +00:00
alecf%netscape.com
9688b96475 fix some warnings on unix:
- fix shadow variable "key"
- rename "index" to "kindex"
- rename shadow "err" to mdberr because the outter one was a nsresult
1999-05-06 01:01:11 +00:00
bienvenu%netscape.com
3a3729dac6 make Close not release db 1999-05-05 02:03:47 +00:00
mscott%netscape.com
22be4352a5 part of mailnews audit --> Conversion to NS_WITH_SERVICE 1999-05-04 21:05:30 +00:00
rickg%netscape.com
effb5affa6 fixed API mismatch 1999-05-04 06:48:45 +00:00
sspitzer%netscape.com
27dda9ab79 adding newline at end of file 1999-05-04 03:01:16 +00:00
sspitzer%netscape.com
ca10577ff8 use the NS_WITH_SERVICE macro 1999-05-04 02:55:59 +00:00
bienvenu%netscape.com
70a4d09b51 add FindRow api, fix lots of warnings, speed up msg threading 1999-05-04 02:55:30 +00:00
sspitzer%netscape.com
b82a0d7263 fix for bug #5668. now multiple news hosts really works. 1999-04-29 04:10:49 +00:00
putterman%netscape.com
daaaf8e951 Fixed ref counting problems associated with deleting messages. Reviewed by bienvenu
and approved by chofmann.
1999-04-29 01:38:25 +00:00
jefft%netscape.com
9be572b643 fixed bug 5662 - imap failed to discover folders and downloading mail messages; added NotifyAnnouncerGoingAway() to ForceClosed(); r=bienvenu, a=chofmann 1999-04-29 00:05:16 +00:00
bienvenu%netscape.com
dc1006fcee fix header row copy to use mork, force invalid dbs to close 1999-04-27 22:58:18 +00:00
mscott%netscape.com
465dbab063 Fix build breakage for hangas. 1999-04-27 22:49:15 +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
sspitzer%netscape.com
29b6b4cad2 change int32 to PRInt32 1999-04-26 23:10:23 +00:00