Commit Graph

760 Commits (113e6255ea62554fca8179611916099ea7ce4b3f)

Author SHA1 Message Date
Mathieu Lacage 113e6255ea simplify GetTotalSize 2007-06-06 09:45:23 +02:00
Mathieu Lacage cbac246ffb fix simple bugs in RemoveAtEnd 2007-06-06 09:43:54 +02:00
Mathieu Lacage e829515b02 fix fragment printing 2007-06-06 09:23:47 +02:00
Mathieu Lacage 3e511d1457 rewrite PacketHistory::RemoveAtstart 2007-06-06 09:13:21 +02:00
Mathieu Lacage aabed928b1 make sure that we set the low bit for typeUid when writing a 'big' item 2007-06-06 08:54:11 +02:00
Mathieu Lacage 6816e303ec implement PacketHistory::RemoveAtStart 2007-06-06 08:49:15 +02:00
Mathieu Lacage 1bbf7ce1a2 when doing a copy of a buffer, make sure to clear the prev and next fields 2007-06-05 21:48:26 +02:00
Mathieu Lacage 969ff1267e the mask to filter out the low bit is 0xfe, not 0xfd 2007-06-05 18:28:37 +02:00
Mathieu Lacage 3634046dc7 fix a bunch of buggy asserts 2007-06-05 17:35:22 +02:00
Mathieu Lacage c3ff0ad584 fix the list iteration logic 2007-06-05 16:40:05 +02:00
Mathieu Lacage ebfe75384c rename begin to head and end to tail 2007-06-05 16:36:53 +02:00
Mathieu Lacage bd1dcf3f97 fix field ordering. 2007-06-05 16:33:45 +02:00
Mathieu Lacage d5e147d400 deal with packet with zero headers correctly 2007-06-05 15:59:07 +02:00
Mathieu Lacage 35dbade0a9 implement PacketHistory::Print 2007-06-05 15:47:29 +02:00
Mathieu Lacage dc62fabc0b fix addition of a trailer or a header 2007-06-05 14:06:58 +02:00
Mathieu Lacage 47f2db1e23 a new implementation of the PacketHistory API 2007-06-05 13:44:43 +02:00
Mathieu Lacage 62aa29999b remove dead typedef 2007-06-04 09:33:38 +02:00
Mathieu Lacage a4f727f68d a bunch of optimizations 2007-06-03 20:09:56 +02:00
Mathieu Lacage a6c8a11881 fix the packet benchmark and enable it 2007-06-02 19:10:35 +02:00
Mathieu Lacage ce4bcba2e6 Added tag packet-history-working for changeset 0dc81e76166c 2007-06-02 18:36:56 +02:00
Mathieu Lacage a88ff1f2c4 more tests, fix 2007-06-02 18:32:31 +02:00
Mathieu Lacage a986e81353 more tests, initial fix. 2007-06-02 18:24:44 +02:00
Mathieu Lacage b9899de6df more tests 2007-06-02 18:13:19 +02:00
Mathieu Lacage bebb4eb281 fix build for g++ 4.1 2007-06-02 18:08:04 +02:00
Mathieu Lacage 03ca60cd50 merge with trunk 2007-06-02 17:59:14 +02:00
Mathieu Lacage 1c46ed54e5 merge with trunk 2007-06-02 17:58:39 +02:00
Mathieu Lacage 34c6957f95 more tests 2007-06-01 15:26:21 +02:00
Mathieu Lacage 8a62c228b2 ensure that packets are real buffers before concatenating them 2007-06-01 15:23:30 +02:00
Mathieu Lacage 4c92dfe914 add more asserts, make TransformIntoRealBuffer public for Packet class 2007-06-01 15:23:07 +02:00
Mathieu Lacage 5f2b952521 enable more tests 2007-06-01 14:50:04 +02:00
Mathieu Lacage 3485d9829c more tests 2007-06-01 14:35:18 +02:00
Mathieu Lacage 00d6bb5c8a add more tests 2007-06-01 13:06:35 +02:00
Mathieu Lacage 89fc9310db calculate the correct size of header and trailer to remove from buffer 2007-06-01 13:06:21 +02:00
Mathieu Lacage 26e52f0da4 more tests 2007-06-01 12:49:10 +02:00
Mathieu Lacage 99c235760e new test and fix to make it pass 2007-06-01 12:46:23 +02:00
Mathieu Lacage 438e58cc1c add test and fix buggy assert 2007-06-01 12:42:29 +02:00
Mathieu Lacage 4bfd1c4a2a Packet API must call Trailer::DoSerialize on end of trailer, not start of trailer 2007-06-01 11:37:19 +02:00
Mathieu Lacage abfdb4befc test payload 2007-06-01 11:17:59 +02:00
Mathieu Lacage 5a1ffabd03 test fragments 2007-06-01 11:12:55 +02:00
Mathieu Lacage 66bf48b6e6 make the tests pass again 2007-06-01 11:03:56 +02:00
Mathieu Lacage bf7acebc30 fix buggy assert 2007-06-01 10:49:17 +02:00
Mathieu Lacage 975c1dc46f build the ItemList into the input list, not a temporary stack variable. 2007-06-01 10:35:05 +02:00
Mathieu Lacage 8cf2162121 remove PrintSimple and revert order of history data written in data buffer 2007-06-01 10:06:35 +02:00
Mathieu Lacage 9980528f1e make chunkUid zero and invalid uid to improve debugging 2007-06-01 09:55:47 +02:00
Tom Henderson 0e34f6cfb8 Touch file for test checkin 2007-05-31 08:20:09 -07:00
Mathieu Lacage 581b34b586 force use of the ItemList to test it 2007-05-31 14:52:15 +02:00
Mathieu Lacage 20581afe80 re-implement PacketHistory to use the PacketPrinter and work on ItemList::Print 2007-05-31 14:30:34 +02:00
Mathieu Lacage 3861a96d5a implement forgotten PacketPrinter::AddDefaultPrinter 2007-05-31 14:30:07 +02:00
Mathieu Lacage af44bde349 fix off-by-one in uid allocation 2007-05-31 14:00:03 +02:00
Mathieu Lacage 4736067ed2 avoid recursive initialization of uid static variable 2007-05-31 13:52:29 +02:00