Commit Graph

88 Commits

Author SHA1 Message Date
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
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
davidmc%netscape.com
0d2e7b461c also turn on assertions for Mac 1999-04-20 23:51:57 +00:00
davidmc%netscape.com
d9a06c27a2 append ":c" suffix to table kind hex refs so that column space is used for the atom instead of the value space. 1999-04-20 23:51:31 +00:00
davidmc%netscape.com
2d98fe9064 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. 1999-04-20 23:50:46 +00:00
davidmc%netscape.com
8392ec5504 replace tabs with (Mork canonical) two spaces 1999-04-20 22:14:35 +00:00
davidmc%netscape.com
afdd395a17 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. 1999-04-20 20:33:56 +00:00
davidmc%netscape.com
58f9b6cefb 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. 1999-04-20 20:31:36 +00:00
davidmc%netscape.com
7b327e8a74 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. 1999-04-20 19:58:16 +00:00
davidmc%netscape.com
09e7321118 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) 1999-04-20 19:55:08 +00:00
davidmc%netscape.com
86e54a7c0a rename one accidentally named "Set..." method to "Get..."; fix class to actually work correctly (I think...) 1999-04-19 22:30:51 +00:00
davidmc%netscape.com
144710f34b rename one accidentally named "Set..." method to "Get..." 1999-04-19 22:30:22 +00:00
davidmc%netscape.com
df9efb7b2a rename one accidentally named "Set..." method to "Get..."; implement a lot of methods for the first time 1999-04-19 22:30:10 +00:00
davidmc%netscape.com
e99fca6527 rename one accidentally named "Set..." method to "Get..."; return morkRow from CanUseCellCursor() 1999-04-19 22:29:26 +00:00
davidmc%netscape.com
ca25ddbe4b clarify and increase number of oid<->pos<-> row table methods 1999-04-19 22:28:03 +00:00
davidmc%netscape.com
d0e52c3d9a rename accidentally named "Set..." method to "Get..."; clarify and increase number of oid<->pos<-> row table methods 1999-04-19 22:27:02 +00:00
davidmc%netscape.com
e80498b516 increase kMaxIndent to 64 1999-04-19 22:25:52 +00:00
davidmc%netscape.com
a6e24e64c3 subtle white space changes without changing format 1999-04-19 22:25:23 +00:00
davidmc%netscape.com
ac0fa147a6 add morkTable::SafeRowAt() so a row can be indexed in a table with safety check on index within morkArray. 1999-04-19 22:24:50 +00:00
davidmc%netscape.com
a40a5ab19b reorder morkTable member construction to quell Unix warnings; init mTable_CellUses to zero. 1999-04-19 22:24:06 +00:00
davidmc%netscape.com
1dac0de835 reorder morkStore member construction to quell Unix warnings 1999-04-19 22:23:27 +00:00
davidmc%netscape.com
cc95b761c6 reorder morkRowSpace member construction to quell Unix warnings 1999-04-19 22:23:06 +00:00
davidmc%netscape.com
f715e17be4 add NilRowObjectError(); 1999-04-19 22:22:28 +00:00
davidmc%netscape.com
5278b0475f morkRow::CellAt(): check for negative mork_pos index morkRow::Set(): call morkAtom::AddCellUse() in both if branches 1999-04-19 22:21:46 +00:00
davidmc%netscape.com
45dee56b03 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. 1999-04-19 22:19:50 +00:00
davidmc%netscape.com
59fab9772f make morkPortTableCursor actually work 1999-04-19 22:18:34 +00:00
davidmc%netscape.com
7f60bdbf15 fix morkParser::ReadValue() so it will notice '$' when reading values, and unescape bytes written in hex earlier by morkWriter. 1999-04-19 22:17:10 +00:00
davidmc%netscape.com
66f0bf8853 reorder morkFactory member construction to quell Unix warnings 1999-04-19 22:16:03 +00:00
davidmc%netscape.com
ad28c79bd4 add morkEnv::HexToByte() 1999-04-19 22:15:35 +00:00
davidmc%netscape.com
40afc35456 add morkEnv::HexToByte(); 1999-04-19 22:15:11 +00:00
davidmc%netscape.com
0a686940ea type of morkCh_Type[] changed to mork_flags array 1999-04-19 22:14:44 +00:00
davidmc%netscape.com
dbfb43dc32 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. 1999-04-19 22:14:04 +00:00
davidmc%netscape.com
a209485333 reorder morkCell member construction to quell Unix warmings. 1999-04-19 22:12:14 +00:00
davidmc%netscape.com
8e40e54ee8 add new mork_u1 typedefs mork_ch and mork_flags, so that char predicates in morkCh.h can distinguish between methods that operate on characters themselves, or else upon a cached flag value pulled from a char predicate flag map. 1999-04-19 22:11:35 +00:00
bienvenu%netscape.com
34aa6f53a0 more work on threading, fix mork warnings, problem deleting out of date summary files 1999-04-05 22:50:45 +00:00
bienvenu%netscape.com
37092c03a4 start implementing port table cursor 1999-04-04 17:38:39 +00:00
ducarroz%netscape.com
069016e318 Part of Messenger Mac landing 1999-04-02 01:00:37 +00:00
bienvenu%netscape.com
86ab42b5eb couple bug fixes, fix memory leaks, table scope 1999-03-31 05:21:49 +00:00
bienvenu%netscape.com
0484e4a350 latest mork drop, fix ref counting bug, add meta table info 1999-03-30 05:43:09 +00:00
ducarroz%netscape.com
8ecc4e7b22 First Checked In. 1999-03-24 21:49:55 +00:00
bienvenu%netscape.com
e444566b12 make close mdb object close the object as well as the handle 1999-03-23 23:33:53 +00:00
bienvenu%netscape.com
324262095c get mork parsing working so we can read existing databases 1999-03-23 23:01:37 +00:00
bienvenu%netscape.com
a90b4473ab initial entry into cvs 1999-03-22 05:11:27 +00:00
alecf%netscape.com
616e7f1478 ignore generated files 1999-03-20 02:13:57 +00:00