1
0
Fork 0
mirror of git://git.psyc.eu/libpsyc synced 2024-08-15 03:19:02 +00:00
Commit graph

26 commits

Author SHA1 Message Date
lurchi
4d0d0bb9b6 switch modifier names and PSYC methods from str to [u8] 2017-01-05 22:51:38 +01:00
lurchi
6bdcd1273b PsycOperator instead of char
let the parser return PsycOperator instead of char. Move the type
definitions PsycOperator and PsycStateOp to types.rs because they are
commonly used.
2017-01-05 22:37:46 +01:00
lurchi
99b86d3faa add test: multiple packets in one buffer 2017-01-03 17:18:07 +01:00
lurchi
5d7bdfd7be added psyctext 2016-09-14 00:04:40 +02:00
lurchi
4de756b5fd bundle bitflags 2016-09-13 16:18:07 +02:00
lurchi
3f527b176c be explicit about imported and exported types 2016-09-11 12:19:35 +02:00
lurchi
749d0abf79 add variable and method modules 2016-09-11 03:11:14 +02:00
lurchi
27dc1292ba body members are now called method and data (according to spec) 2016-09-10 19:55:52 +02:00
lurchi
f146435e99 add uniform tests 2016-09-10 13:12:06 +02:00
lurchi
393d3d0883 change uniform interface for more comprehensive access to entity data 2016-09-10 13:11:50 +02:00
lurchi
006ed09bb1 add uniform parsing 2016-09-07 19:25:44 +02:00
lurchi
700e5fff8b slice::from_raw_parts must not be called on null pointer 2016-09-07 15:14:35 +02:00
lurchi
76f11a4c10 remove the unneeded parser structs 2016-09-05 15:35:57 +02:00
lurchi
2ca0949327 fixed bug in PacketId::from_bytes 2016-09-04 18:10:19 +02:00
lurchi
5fb7482565 improves packet_id test 2016-09-04 17:44:55 +02:00
lurchi
dfe9ba6a0b parsing and rendering of packet IDs 2016-09-04 17:37:35 +02:00
lurchi
2486b4a82a accidentally removed PsycElem 2016-09-04 15:04:07 +02:00
lurchi
d5768a3040 remove dictionary parsing/rendering for now 2016-09-04 13:57:44 +02:00
lurchi
f892d406f4 change parse methods: the buffer must be passed on every call to simplify the parser lifetime 2016-09-04 13:47:37 +02:00
lurchi
dd8cc059c5 partial parsing possible with PsycParser and PsycListParser 2016-09-03 22:38:47 +02:00
lurchi
6330086b77 discovered byte string literals 2016-08-31 22:17:06 +02:00
lurchi
b3b5757deb Also make the last portion of a value available (when parsing values partially) 2016-08-31 19:44:55 +02:00
lurchi
d12047ee18 change PsycParser API to make it possible to parse large packets and process them partially; prepare PsycDictParser 2016-08-31 19:14:41 +02:00
lurchi
ec261f3e20 fix usage restriction by adding lifetime specifier 2016-08-29 10:02:33 +02:00
lurchi
2003e77ae3 improve parser: incomplete data is handled internally 2016-08-29 01:00:31 +02:00
lurchi
dd62ec934c first version of the rust bindings: parsing and rendering is mostly functional 2016-08-23 00:04:57 +02:00