283 Commits

Author SHA1 Message Date
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
mcafee%netscape.com
e13247b103 Solaris needs explicit cast. a,r=kevinmc@netscape.com. 1999-05-04 03:24:13 +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
jj%netscape.com
363f26f993 changed output shlb creator to 'MOZZ' in one or more targets. a=cyeh 1999-04-29 22:18:44 +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
ducarroz%netscape.com
d6ef985510 Fix build bustage. 1999-04-28 21:59:32 +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
ducarroz%netscape.com
50276008ab update projects 1999-04-26 22:55:01 +00:00
bienvenu%netscape.com
881f8a3ac5 add interface to set mailboxname 1999-04-25 22:00:58 +00:00
putterman%netscape.com
bf579127bb use nsIMsgDBHdr instead of nsIMessage. Part of removing rdf dependency. 1999-04-24 20:40:47 +00:00
putterman%netscape.com
05469bbe4d Added nsIMsgHdr 1999-04-24 20:38:57 +00:00
putterman%netscape.com
a98f4fa1d5 removed RDF dependency from db. 1999-04-24 20:38:04 +00:00
rickg%netscape.com
f86b7f933d update to sync with nsString2 1999-04-22 06:39:40 +00:00
davidmc%netscape.com
3895aebe28 set morkStore::mStore_CanAutoAssignAtomIdentity to true in places where MDB clients can access a store instance, so that this bool is enabled only at the last possible moment. 1999-04-21 23:57:03 +00:00
davidmc%netscape.com
a5c518cc46 fix morkAtomSpace::MakeBookAtomCopy() so it will use new boolean slot on morkStore, mStore_CanAutoAssignAtomIdentity, to decide whether new atoms with auto assigned identity is allowed. 1999-04-21 23:56:02 +00:00
davidmc%netscape.com
0ab7f37525 use new default atom space constant; init the new boolean controlling whether auto assignment of atom IDs is allowed 1999-04-21 23:54:22 +00:00
davidmc%netscape.com
e9aab5b668 add new constant kValueSpaceScope to replace old ambiguous ground atom space constant to fix problem with default atom spacing 'a' being used instead of the 'v' space expected by the parser (causing more than one atom space to be used ... bad). Also add a boolean controlling whether auto-assignment of atom IDs is permitted by atom spaces (so this can be disabled during parsing, so it can be detected when it's inappropriate). 1999-04-21 23:53:38 +00:00