97 Commits

Author SHA1 Message Date
sspitzer%netscape.com
11556f50d2 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.)
git-svn-id: svn://10.0.0.236/trunk@34163 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:22:10 +00:00
sspitzer%netscape.com
6250b1f442 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.)


git-svn-id: svn://10.0.0.236/trunk@34160 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-08 02:17:24 +00:00
mscott%netscape.com
8fd0c627d2 remove IGNORE_MANIFEST.
git-svn-id: svn://10.0.0.236/trunk@34083 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:28:20 +00:00
mscott%netscape.com
25b7bf1a12 remove IGNORE_MANIFEST and remove LCFLAGS since we don't have any.
git-svn-id: svn://10.0.0.236/trunk@34068 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 21:11:16 +00:00
putterman%netscape.com
c7c8ab9bed Fix some memory leaks.
git-svn-id: svn://10.0.0.236/trunk@34062 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 20:53:22 +00:00
mscott%netscape.com
170ca8965c 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.


git-svn-id: svn://10.0.0.236/trunk@33980 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-07 06:52:45 +00:00
mscott%netscape.com
de69ac5bb1 Remove unnecessary LINCS now that all headers are pushed to the same directory.
git-svn-id: svn://10.0.0.236/trunk@33687 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-04 01:21:24 +00:00
putterman%netscape.com
89dd1c2239 Make sure Mork Handles get freed.
git-svn-id: svn://10.0.0.236/trunk@33645 18797224-902f-48f8-a5cc-f745e15eee43
1999-06-03 22:57:41 +00:00
mcafee%netscape.com
0b716f067c Solaris needs explicit cast. a,r=kevinmc@netscape.com.
git-svn-id: svn://10.0.0.236/trunk@30056 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 03:24:13 +00:00
bienvenu%netscape.com
c947f043ad add FindRow api, fix lots of warnings, speed up msg threading
git-svn-id: svn://10.0.0.236/trunk@30040 18797224-902f-48f8-a5cc-f745e15eee43
1999-05-04 02:55:30 +00:00
bienvenu%netscape.com
6cec9fc4b2 fix header row copy to use mork, force invalid dbs to close
git-svn-id: svn://10.0.0.236/trunk@29571 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-27 22:58:18 +00:00
davidmc%netscape.com
9c681e5866 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.


git-svn-id: svn://10.0.0.236/trunk@28584 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:57:03 +00:00
davidmc%netscape.com
384e7119db 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.


git-svn-id: svn://10.0.0.236/trunk@28583 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:56:02 +00:00
davidmc%netscape.com
79c7b85c02 use new default atom space constant; init the new boolean
controlling whether auto assignment of atom IDs is allowed


git-svn-id: svn://10.0.0.236/trunk@28581 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:54:22 +00:00
davidmc%netscape.com
8eee3764b6 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).


git-svn-id: svn://10.0.0.236/trunk@28580 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:53:38 +00:00
davidmc%netscape.com
502113bf3e fix morkEnv::OidAsHex() to print a scope < 0x80 as
a plain text byte instead of ^hex hex when the character
is a name byte


git-svn-id: svn://10.0.0.236/trunk@28578 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:51:22 +00:00
davidmc%netscape.com
7571020113 change format to v1.4 to account for hex oids for single char
spaces changing from, eg., 1CE:^6D to 1CE:m


git-svn-id: svn://10.0.0.236/trunk@28577 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 23:50:03 +00:00
alecf%netscape.com
028e04df26 include NSPR libs from the right directory
git-svn-id: svn://10.0.0.236/trunk@28467 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-21 18:45:41 +00:00
davidmc%netscape.com
78be598983 also permit zero scope to be okay as column scope for value oids
inside metainfo cells.


git-svn-id: svn://10.0.0.236/trunk@28377 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:52:38 +00:00
davidmc%netscape.com
2ce3c9fab5 also turn on assertions for Mac
git-svn-id: svn://10.0.0.236/trunk@28376 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:51:57 +00:00
davidmc%netscape.com
bf236be73b append ":c" suffix to table kind hex refs so that column space
is used for the atom instead of the value space.


git-svn-id: svn://10.0.0.236/trunk@28375 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:51:31 +00:00
davidmc%netscape.com
d2e60ffe1c change Mork file format version number to 1.3 to protect folks
from badly formed files created during last day due to incorrect
table kind hex refs in Mork.


git-svn-id: svn://10.0.0.236/trunk@28374 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 23:50:46 +00:00
davidmc%netscape.com
5c99d5d6db replace tabs with (Mork canonical) two spaces
git-svn-id: svn://10.0.0.236/trunk@28333 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 22:14:35 +00:00
davidmc%netscape.com
ebeffecaed continue long values using \linebreak notation; this is done
in conjunction with a change to morkParser::ReadValue()
which will correctly interpret this notation.  Note this is
technically a format change in the sense that old versions
of Mork will not read such line continuations correctly; but
the change is forward compatible so folks should not notice.


git-svn-id: svn://10.0.0.236/trunk@28307 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:33:56 +00:00
davidmc%netscape.com
107c34982d fix morkParser::ReadValue() so that CR or LF following '\'
is consumed as a line continuation, rather than escaping the
byte after '\'; this is now done in conjunction with changing
morkWriter to continue long values with \linebreak.


git-svn-id: svn://10.0.0.236/trunk@28305 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 20:31:36 +00:00
davidmc%netscape.com
743f6cb931 several whitespace and content writing changes that do not
change the format; write table kind as hex reference because
this shortens overhead for small thread tables; suppress newline
for table meta row, because this tends to put thread tables on one
line when they have few rows; delay starting dict preceding table
as long as possible, so that no dict appears at all when no new alias
is written, because this also reduces per thread table overhead.


git-svn-id: svn://10.0.0.236/trunk@28294 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:58:16 +00:00
davidmc%netscape.com
043c5a16f9 increase kMaxIndent to 66 for better formatting;
add boolean to suppress dirty row newline for table's meta row
(because this more often causes a one line thread with few rows)


git-svn-id: svn://10.0.0.236/trunk@28293 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-20 19:55:08 +00:00
davidmc%netscape.com
976fc58c83 rename one accidentally named "Set..." method to "Get...";
fix class to actually work correctly (I think...)


git-svn-id: svn://10.0.0.236/trunk@28138 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:51 +00:00
davidmc%netscape.com
de4c63fdcb rename one accidentally named "Set..." method to "Get..."
git-svn-id: svn://10.0.0.236/trunk@28137 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:22 +00:00
davidmc%netscape.com
a76fb50c2f rename one accidentally named "Set..." method to "Get...";
implement a lot of methods for the first time


git-svn-id: svn://10.0.0.236/trunk@28136 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:30:10 +00:00
davidmc%netscape.com
7485e2f674 rename one accidentally named "Set..." method to "Get...";
return morkRow from CanUseCellCursor()


git-svn-id: svn://10.0.0.236/trunk@28134 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:29:26 +00:00
davidmc%netscape.com
34af8fd400 clarify and increase number of oid<->pos<-> row table methods
git-svn-id: svn://10.0.0.236/trunk@28133 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:28:03 +00:00
davidmc%netscape.com
6fede59c0e rename accidentally named "Set..." method to "Get...";
clarify and increase number of oid<->pos<-> row table methods


git-svn-id: svn://10.0.0.236/trunk@28132 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:27:02 +00:00
davidmc%netscape.com
c2c810a130 increase kMaxIndent to 64
git-svn-id: svn://10.0.0.236/trunk@28131 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:25:52 +00:00
davidmc%netscape.com
db6add5d02 subtle white space changes without changing format
git-svn-id: svn://10.0.0.236/trunk@28130 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:25:23 +00:00
davidmc%netscape.com
3a71b75160 add morkTable::SafeRowAt() so a row can be indexed in a table
with safety check on index within morkArray.


git-svn-id: svn://10.0.0.236/trunk@28129 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:24:50 +00:00
davidmc%netscape.com
26c379c0f9 reorder morkTable member construction to quell Unix warnings;
init mTable_CellUses to zero.


git-svn-id: svn://10.0.0.236/trunk@28128 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:24:06 +00:00
davidmc%netscape.com
7f6cf2a63e reorder morkStore member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28127 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:23:27 +00:00
davidmc%netscape.com
86c107f548 reorder morkRowSpace member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28126 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:23:06 +00:00
davidmc%netscape.com
84b82d9ef1 add NilRowObjectError();
git-svn-id: svn://10.0.0.236/trunk@28123 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:22:28 +00:00
davidmc%netscape.com
551d340dcd morkRow::CellAt(): check for negative mork_pos index
morkRow::Set(): call morkAtom::AddCellUse() in both if branches


git-svn-id: svn://10.0.0.236/trunk@28122 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:21:46 +00:00
davidmc%netscape.com
7b339c9d3a add checks for negative mork_pos values during qualification of
valid indexes into a morkArray.  Also cast integer types to
quell some compiler warnings about signed/unsigned.


git-svn-id: svn://10.0.0.236/trunk@28121 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:19:50 +00:00
davidmc%netscape.com
28409f45ad make morkPortTableCursor actually work
git-svn-id: svn://10.0.0.236/trunk@28120 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:18:34 +00:00
davidmc%netscape.com
3de881b44c fix morkParser::ReadValue() so it will notice '$' when reading values,
and unescape bytes written in hex earlier by morkWriter.


git-svn-id: svn://10.0.0.236/trunk@28118 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:17:10 +00:00
davidmc%netscape.com
8de8212446 reorder morkFactory member construction to quell Unix warnings
git-svn-id: svn://10.0.0.236/trunk@28115 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:16:03 +00:00
davidmc%netscape.com
de0e432e9f add morkEnv::HexToByte()
git-svn-id: svn://10.0.0.236/trunk@28114 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:15:35 +00:00
davidmc%netscape.com
4e13238634 add morkEnv::HexToByte();
git-svn-id: svn://10.0.0.236/trunk@28113 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:15:11 +00:00
davidmc%netscape.com
a6ad4135a3 type of morkCh_Type[] changed to mork_flags array
git-svn-id: svn://10.0.0.236/trunk@28112 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:14:44 +00:00
davidmc%netscape.com
ef788c49e4 change type of char pred array to mork_flag, so that callers
can pull and cache a byte of predicate bits, permitting many
predicates to be examined in a register value without any
implied memory access to slow a CPU in tight loops.


git-svn-id: svn://10.0.0.236/trunk@28110 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:14:04 +00:00
davidmc%netscape.com
d598b309e4 reorder morkCell member construction to quell Unix warmings.
git-svn-id: svn://10.0.0.236/trunk@28109 18797224-902f-48f8-a5cc-f745e15eee43
1999-04-19 22:12:14 +00:00