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

918 commits

Author SHA1 Message Date
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
0fe0be4e4b fix bug in partial list parsing (second try) 2016-09-05 12:58:11 +02:00
lurchi
678304a144 Revert "fix bug in partial list parsing"
This reverts commit c593d85742.
2016-09-05 12:55:37 +02:00
lurchi
d65ac87b9e hopefully fixed the static inline mess now 2016-09-05 12:50:37 +02:00
lurchi
516231b0ba small improvement: when calling parse_list after last element was reached, now PSYC_PARSE_LIST_END is returned 2016-09-05 12:37:35 +02:00
lurchi
c593d85742 fix bug in partial list parsing 2016-09-05 12:35:24 +02:00
lurchi
2614da4953 revert changes in parse.c 2016-09-05 11:53:54 +02:00
lurchi
48b9e626ed forgot for change some static inline functions, see commit 9d7ad2a; tests passing again 2016-09-05 11:33:42 +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
psyc://loupsycedyglgamf.onion/~lynX
a0abf99f72 Merge remote-tracking branch 'l/master' 1984-04-04 00:44:04 +00:00
psyc://loupsycedyglgamf.onion/~lynX
1da751f54c allow 'make check' from outside test directory 1984-04-04 00:44:06 +00:00
psyc://loupsycedyglgamf.onion/~lynX
12080f6071 got to support both DESTDIR and PREFIX 1984-04-04 00:44:06 +00:00
psyc://loupsycedyglgamf.onion/~lynX
3a7ca2fa05 handle gcc bug 1984-04-04 00:44:05 +00:00
psyc://loupsycedyglgamf.onion/~lynX
7ed845c4f2 support make install DESTDIR=... 1984-04-04 00:44:05 +00:00
psyc://loupsycedyglgamf.onion/~lynX
8b2d725514 Merging rust bindings from lurchi, thxaloz! 1984-04-04 00:44:04 +00:00
lurchi
dd62ec934c first version of the rust bindings: parsing and rendering is mostly functional 2016-08-23 00:04:57 +02:00
lurchi
9d7ad2a67f Switch static inline to inline
The linker does not create symbols for static functions so Rust FFI
can't find them. All static inline function have been changed to 'inline'
functions with an 'extern inline' declaration in the corresponding .c
files. Other than Rust FFI seeing the functions this has other
advantages. See [1] for a nice explanation.

[1]
https://gustedt.wordpress.com/2010/11/29/myth-and-reality-about-inline-in-c99/
2016-08-21 09:58:36 +02:00
psyc://loupsycedyglgamf.onion/~lynX
33f2862476 + 2016-01-29 23:33:29 +00:00
psyc://loupsycedyglgamf.onion/~lynX
2819fa86b4 - 2016-01-29 23:33:28 +00:00
psyc://loupsycedyglgamf.onion/~lynX
be9ceb909d avoid shadowing a global declaration from unistd.h 2016-01-29 23:33:27 +00:00
psyc://loupsycedyglgamf.onion/~lynX
f5e2ea036d Merge branch 'master' of l:libpsyc 2016-01-30 00:33:26 +01:00
psyc://psyced.org/~lynX
0db0869443 update org-mode syntax, include benchmark.html 2015-08-14 10:45:55 +02:00
psyc://psyced.org/~lynX
ba5245a6b0 _notice_peer_connect merger, gmake for BSD 2013-09-04 15:58:37 +02:00
psyc://psyced.org/~lynX
c66ef5227f BSD 2013-09-04 15:54:18 +02:00
tg(x)
3cc1c8127a license header 2013-07-16 16:53:51 +02:00
tg(x)
0ff2f220df copying 2013-06-23 21:20:49 +02:00
psyc://psyced.org/~lynX
d37879cae5 - 2012-09-07 21:57:30 +02:00
psyc://psyced.org/~lynX
359915a568 thx to urs, made it less confusing 2012-05-11 11:49:17 +02:00
psyc://psyced.org/~lynX
7d8b963cc7 Merge commit 'l/master' 2012-05-07 21:40:40 +02:00
psyc://psyced.org/~lynX
450af97612 Merge commit 'l/master' 2012-05-07 21:40:40 +02:00
psyc://psyced.org/~lynX
352575e329 criticism of "id" was inaccurate. fixed. 2012-05-06 15:39:02 +02:00
psyc://psyced.org/~lynX
a676950b28 criticism of "id" was inaccurate. fixed. 2012-05-06 15:39:02 +02:00
tg(x)
975a3cdd99 template var names 2012-03-08 10:29:43 +01:00
Gabor Adam Toth
cda6a4331e template var names 2012-03-08 10:29:43 +01:00
tg(x)
4dac647766 _notice_peer_(dis)connect methods 2012-03-06 02:36:30 +01:00
Gabor Adam Toth
7513578c43 _notice_peer_(dis)connect methods 2012-03-06 02:36:30 +01:00
psyc://psyced.org/~lynX
6727662171 having to look through docs if you just want to install things can be confusing.. mami just spent time finding the line that says "make" 2012-02-27 23:13:32 +01:00
psyc://psyced.org/~lynX
01a79a3755 having to look through docs if you just want to install things can be confusing.. mami just spent time finding the line that says "make" 2012-02-27 23:13:32 +01:00