Commit Graph

478 Commits

Author SHA1 Message Date
bienvenu%netscape.com
b2c3ead607 turn off debug output 1999-07-16 01:46:36 +00:00
bienvenu%netscape.com
00a60ba1af check for null resultIndex 1999-07-14 17:33:21 +00:00
bienvenu%netscape.com
963984e79e turn off forcing of compress commit 1999-07-14 15:53:31 +00:00
bienvenu%netscape.com
3d0e42f707 incremental writing, memory leak fixed for davidmc 1999-07-14 15:52:46 +00:00
bienvenu%netscape.com
a06f49f1ef make enums scriptable to fix startup assert 1999-07-13 19:18:35 +00:00
ducarroz%netscape.com
3bdf034280 Updated project for bienvenu 1999-07-13 18:43:33 +00:00
bienvenu%netscape.com
d55bbf93f0 add msg db as idl 1999-07-13 18:43:04 +00:00
bienvenu%netscape.com
27b0414155 idl for msg db 1999-07-13 18:42:04 +00:00
jefft%netscape.com
f998e41867 check for valid msgHdr prior calling DeleteHeader() 1999-07-07 05:25:44 +00:00
bienvenu%netscape.com
e70c2e0711 more work on threading, fix unread child counts 1999-07-06 22:53:10 +00:00
bienvenu%netscape.com
90ccc541c4 fix unix warning 1999-07-03 22:09:11 +00:00
bienvenu%netscape.com
7d5f7ee761 more work on subject threading 1999-07-02 19:19:32 +00:00
dveditz%netscape.com
0eb6c820cf nakefile cleanups 1999-07-02 13:42:17 +00:00
briano%netscape.com
53726b6464 Unix fixes, specifically for SunOS 4. 1999-07-02 02:05:41 +00:00
jefft%netscape.com
0a08b501ff implement UndoDelete() method 1999-07-01 14:48:38 +00:00
sspitzer%netscape.com
68be6f7e3f fix warnings 1999-07-01 08:01:48 +00:00
sspitzer%netscape.com
dc1ba6945d add support for unread set. still working on this. 1999-07-01 06:13:06 +00:00
bienvenu%netscape.com
e657c833b8 add subject to thread, fix nsCOMPtr stuff, some warnings 1999-06-30 23:18:43 +00:00
ducarroz%netscape.com
9c8e49df80 Replace time_t by PRTime 1999-06-30 21:04:29 +00:00
bienvenu%netscape.com
15edba34e6 add subject attribute, add threading fixes 1999-06-30 19:45:32 +00:00
bienvenu%netscape.com
65ea3cd87f add check for allocation failure 1999-06-30 00:11:02 +00:00
scc%netscape.com
f79508bc68 |nsISupports::GetIID()| --> |nsCOMTypeInfo<nsISupports>::GetIID()| 1999-06-29 21:01:31 +00:00
bienvenu%netscape.com
1eba4d9ed1 no longer needed 1999-06-29 21:00:01 +00:00
scc%netscape.com
b88737fa70 Added |GetIID()| 1999-06-29 20:35:23 +00:00
scc%netscape.com
bed1be4bac added |GetIID()|, and an IID to go with it 1999-06-29 20:27:02 +00:00
mcafee%netscape.com
644ece7b3e BeOS changes 1999-06-29 09:19:14 +00:00
briano%netscape.com
c04acb13c9 Cleanup and fixes for OpenBSD. 1999-06-29 02:30:42 +00:00
briano%netscape.com
82817df725 Cleanup and deleted the reference to NSPR_LIBS to fix the OpenBSD build. 1999-06-28 23:27:40 +00:00
sspitzer%netscape.com
fa49f7a7de fix warnings 1999-06-26 20:47:13 +00:00
sspitzer%netscape.com
04de969511 fix the assertion I was causing on IMAP. need to talk to bienvenu about how imap plans to use the msg key set 1999-06-26 20:46:56 +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
bienvenu%netscape.com
93b02eda2b start working on threading stuff 1999-06-25 22:04:32 +00:00
ducarroz%netscape.com
9466cd421f add nsIDBChangeAnnouncer.idl and nsIDBChangeListener.idl 1999-06-25 22:03:51 +00:00
bienvenu%netscape.com
fcb9a5a95c add idl files for change listener and announcer 1999-06-25 22:00:00 +00:00
bienvenu%netscape.com
76235c5533 idl for db change listener and announcer 1999-06-25 20:15:29 +00:00
bienvenu%netscape.com
5374b0377c start working on making nsMsgDatabase scriptable 1999-06-25 19:46:47 +00:00
bienvenu%netscape.com
2a0b730db7 fix warnings, don't close local maildb when setting summary valid 1999-06-24 20:55:42 +00:00
sspitzer%netscape.com
2111d69f33 don't compare an nsCOMPtr with NULL 1999-06-22 23:26:06 +00:00
bienvenu%netscape.com
e1d1561ba8 get rid of link against dso 1999-06-22 23:15:58 +00:00
bienvenu%netscape.com
e5a56dc643 replace mork with msgmork 1999-06-22 23:08:25 +00:00
alecf%netscape.com
6dd8e3da22 remove -lmork 1999-06-22 23:08:24 +00:00
alecf%netscape.com
83ea59f0b2 ignore generated files 1999-06-22 23:01:01 +00:00
bienvenu%netscape.com
0914dc3274 change name of mork lib to libmsgmork 1999-06-22 20:40:17 +00:00
ducarroz%netscape.com
f7886af499 Removed mork source files as they are now part of mork.mcp 1999-06-22 20:37:40 +00:00
bienvenu%netscape.com
96a1f19ba3 make mork a dll 1999-06-22 20:36:04 +00:00
bienvenu%netscape.com
ca3a9995a7 make mork a dll /so 1999-06-22 20:34:14 +00:00
ducarroz%netscape.com
5b24805b13 fix wrong PPC target in debug 1999-06-22 18:59:54 +00:00
mscott%netscape.com
37b144e003 Remove NS_IMAPMESSAGERESOURCE_CID definition which doesn't belong here. 1999-06-22 04:54:44 +00:00
ducarroz%netscape.com
28dd2fe6fb First Checked In. 1999-06-21 23:04:20 +00:00
jefft%netscape.com
766dde0f4a CutAllColumns() after CutRow() from m_mdbAllMsgHeadersTable 1999-06-21 23:00:09 +00:00
bienvenu%netscape.com
eac8f03076 make mork a dll 1999-06-21 21:24:08 +00:00
bienvenu%netscape.com
05bb634fd5 fix warnings 1999-06-20 15:33:31 +00:00
sspitzer%netscape.com
3f12c659bc remove several warnings 1999-06-19 21:34:32 +00:00
ducarroz%netscape.com
5bd25a7778 Fix for bug 7508, A=chofmann, R=bienvenu 1999-06-16 22:58:02 +00:00
bienvenu%netscape.com
7a90886028 check for null mdb row when setting property, perhaps fix #7443 1999-06-16 02:17:08 +00:00
bienvenu%netscape.com
86716ae5bd add commit after deleting msg 1999-06-16 02:07:00 +00:00
bienvenu%netscape.com
0e569c8fa7 use character set stored in dbfolderino 1999-06-15 03:41:05 +00:00
ducarroz%netscape.com
4b085ce46a do not export an auto-generated interface file (nsIDBFolderInfo.h) 1999-06-14 22:13:56 +00:00
bienvenu%netscape.com
ac1154404d remove nsIDBFolderInfo.h from exports 1999-06-14 22:02:20 +00:00
bienvenu%netscape.com
29c1034ee4 convert to idl for nsIDBFolderInfo 1999-06-14 21:46:37 +00:00
ducarroz%netscape.com
1cc721a8db First Checked In. 1999-06-14 21:41:14 +00:00
bienvenu%netscape.com
9db4a8bff6 convert to idl for nsIDBFolderInfo 1999-06-14 21:03:45 +00:00
bienvenu%netscape.com
33e7b223dc prepare for msgdb idl 1999-06-14 02:20:41 +00:00
sspitzer%netscape.com
21c0e6686c fix for #7891. commit db after we mark a header read. 1999-06-12 18:07:21 +00:00
bienvenu%netscape.com
d0f17077e7 remove offline code which isn't used yet to get rid of mac warnings, add bulletproofing on header copy 1999-06-11 07:04:22 +00:00
sspitzer%netscape.com
ed24a82e14 clean up the nsIMsgHdr and nIMessage idl and header insanity. 1999-06-10 20:25:23 +00:00
sspitzer%netscape.com
9d88aaa6b9 clean up the nsIMsgHdr & nsIMessage idl and header insanity 1999-06-10 20:24:43 +00:00
alecf%netscape.com
8e75c8bbe4 fix leak 1999-06-10 02:19:01 +00:00
mscott%netscape.com
14b921cb3a Use NS_WITH_SERVICE1 which uses the service manager that was passed in to
NSRegisterSelf / NSUnregisterSelf.
1999-06-09 06:40:48 +00:00
tague%netscape.com
9dd8d20230 Fix for #7798: Spelling error in locale GetCategory API. Made one change to mailnews to reflect new spelling 1999-06-09 02:37:14 +00:00
sspitzer%netscape.com
026c93aa61 giant cleanup of Windows mail / news makefile.wins. properly use MODULE, and name things so that Windows and UNIX match. (a big checkin for UNIX proceeded this.) 1999-06-08 02:22:10 +00:00
sspitzer%netscape.com
614b25751b giant cleanup of UNIX mail / news Makefiles. properly use MODULE, and
name things so that Windows and UNIX match.  (a big checkin for Windows
will follow shortly.)
1999-06-08 02:17:24 +00:00
mscott%netscape.com
989344b80b remove IGNORE_MANIFEST. 1999-06-07 21:28:20 +00:00
mscott%netscape.com
7076a0c3d5 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any. 1999-06-07 21:11:16 +00:00
putterman%netscape.com
744ced8b1f Remove extra PR_FREEIF. 1999-06-07 21:05:13 +00:00
putterman%netscape.com
dfe0cf574d Fix some memory leaks. 1999-06-07 20:53:22 +00:00
mscott%netscape.com
c78ee2032c Don't build dll until the install phase, not the lib phase. 1999-06-07 08:22:54 +00:00
mscott%netscape.com
266ed15e24 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.
Also removed extraneous CPP_SRCS info.
1999-06-07 06:52:45 +00:00
mscott%netscape.com
853e1ab67e Build mork before msgdb. 1999-06-07 06:45:56 +00:00
mscott%netscape.com
087b7b5fb2 Bug #5633 -- use NS_WITH_SERVICE macro. Also cleaned up goto statements such that if we fail to register or unregister a component, we try to register/unregister the rest of the components before giving up. 1999-06-05 00:06:05 +00:00
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
putterman%netscape.com
7b69f65bfd Make sure Mork Handles get freed. 1999-06-03 22:57:41 +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
mcmullen%netscape.com
7dce873c56 Removed base/baseDebug.shlb 1999-05-28 00:48:24 +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
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
davidmc%netscape.com
b8fb0c0949 fix morkEnv::OidAsHex() to print a scope < 0x80 as a plain text byte instead of ^hex hex when the character is a name byte 1999-04-21 23:51:22 +00:00
davidmc%netscape.com
c78445c3eb change format to v1.4 to account for hex oids for single char spaces changing from, eg., 1CE:^6D to 1CE:m 1999-04-21 23:50:03 +00:00
alecf%netscape.com
287cda8c88 include NSPR libs from the right directory 1999-04-21 18:45:41 +00:00
bienvenu%netscape.com
f0840d8426 fix double commits and problem loading imap uid 1999-04-21 02:35:19 +00:00
davidmc%netscape.com
2355c92688 also permit zero scope to be okay as column scope for value oids inside metainfo cells. 1999-04-20 23:52:38 +00:00