Mathieu Lacage
|
02763bf7cb
|
fix bug introduced in commit 767
|
2007-06-06 14:19:21 +02:00 |
|
Mathieu Lacage
|
e5b63ce34d
|
add counters
|
2007-06-06 14:14:22 +02:00 |
|
Mathieu Lacage
|
4ed6463d22
|
remove Update call from within AddSmall and AddBig
|
2007-06-06 14:11:22 +02:00 |
|
Mathieu Lacage
|
f348fc4fbc
|
remove useless CanAdd
|
2007-06-06 13:56:42 +02:00 |
|
Mathieu Lacage
|
07489e7e9c
|
a few micro-optimizations
|
2007-06-06 13:51:15 +02:00 |
|
Mathieu Lacage
|
eb6eea0f72
|
make all tests pass
|
2007-06-06 13:02:00 +02:00 |
|
Mathieu Lacage
|
b0a30b32bb
|
implement ReplaceTail
|
2007-06-06 12:39:33 +02:00 |
|
Mathieu Lacage
|
2caaf90037
|
simplify calls to AddBig and AddSmall
|
2007-06-06 11:30:17 +02:00 |
|
Mathieu Lacage
|
929ea4dab0
|
share some code, implement AddAtEnd
|
2007-06-06 11:01:59 +02:00 |
|
Mathieu Lacage
|
5698e745c9
|
fix a few bugs in ::RemoveAtEnd
|
2007-06-06 10:04:02 +02:00 |
|
Mathieu Lacage
|
8c03ce9e0c
|
remove data from end of trailer, not start of header
|
2007-06-06 09:55:01 +02:00 |
|
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
|
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
|
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 |
|