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

363 commits

Author SHA1 Message Date
Gabor Adam Toth
653fbcc156 number, date & time parsing functions; psycString variant for isRoutingVar & getVarType 2011-05-20 02:58:32 +02:00
tg(x)
1cc5499777 bench: added test tools, updated results; added inline option for parse & render 2011-05-17 00:27:26 +02:00
Gabor Adam Toth
6e68b6a17d bench: added test tools, updated results; added inline option for parse & render 2011-05-17 00:27:26 +02:00
tg(x)
5f4e56a5e1 parseList: removed unused value parameter 2011-05-13 17:02:31 +02:00
Gabor Adam Toth
0b823493f9 parseList: removed unused value parameter 2011-05-13 17:02:31 +02:00
tg(x)
6dbea6a69b make clean 2011-05-10 16:54:40 +02:00
Gabor Adam Toth
248e9234e1 make clean 2011-05-10 16:54:40 +02:00
tg(x)
b1ae67135d added psyc_isListVar(), removed name param from psyc_parseList(), added more documentation 2011-05-09 19:21:26 +02:00
Gabor Adam Toth
79d3adcd9c added psyc_isListVar(), removed name param from psyc_parseList(), added more documentation 2011-05-09 19:21:26 +02:00
tg(x)
29ad98a924 moar doc 2011-05-09 16:32:39 +02:00
Gabor Adam Toth
a1e1419f29 moar doc 2011-05-09 16:32:39 +02:00
psyc://psyced.org/~lynX
2e39b26207 more death to the parser 2011-05-09 09:06:52 +02:00
psyc://psyced.org/~lynX
ad868c83f4 more death to the parser 2011-05-09 09:06:52 +02:00
psyc://psyced.org/~lynX
ee44312e5c death the parser 2011-05-09 09:02:15 +02:00
psyc://psyced.org/~lynX
36491b4886 death the parser 2011-05-09 09:02:15 +02:00
tg(x)
bc1f3e9083 parser: cleaned up psycParseRC 2011-05-09 01:47:06 +02:00
Gabor Adam Toth
dea9b8edb9 parser: cleaned up psycParseRC 2011-05-09 01:47:06 +02:00
Marenz
ab8f70150e moved debug.h lib.h to src 2011-05-08 23:40:26 +02:00
Marenz
19d0d000f0 moved debug.h lib.h to src 2011-05-08 23:40:26 +02:00
tg(x)
1bed39e5d6 parser: fix for partial content in routing-only mode 2011-05-08 22:08:48 +02:00
Gabor Adam Toth
fa877024ae parser: fix for partial content in routing-only mode 2011-05-08 22:08:48 +02:00
tg(x)
72ed9a3eff parser: more detailed return codes for incomplete values 2011-05-07 18:13:59 +02:00
Gabor Adam Toth
84ef512168 parser: more detailed return codes for incomplete values 2011-05-07 18:13:59 +02:00
tg(x)
f9b6b9a41d + 2011-05-06 00:18:25 +02:00
Gabor Adam Toth
03a33c7a5e + 2011-05-06 00:18:25 +02:00
tg(x)
fd5d886053 parser: fixes routing-only mode, set valueParsed & valueLength for data as well; render: added support for rendering raw content 2011-05-06 00:13:37 +02:00
Gabor Adam Toth
07c6711db0 parser: fixes routing-only mode, set valueParsed & valueLength for data as well; render: added support for rendering raw content 2011-05-06 00:13:37 +02:00
tg(x)
fea30e3688 fix for 0 length modifier value 2011-05-04 18:58:46 +02:00
Gabor Adam Toth
289de97bea fix for 0 length modifier value 2011-05-04 18:58:46 +02:00
tg(x)
c4340bae9f tests & fix for 0 length modifier value 2011-05-04 17:59:51 +02:00
Gabor Adam Toth
44622925f5 tests & fix for 0 length modifier value 2011-05-04 17:59:51 +02:00
tg(x)
e7a4df6180 fix for 0 length content/modifiers 2011-05-04 17:46:20 +02:00
Gabor Adam Toth
29a72caf6f fix for 0 length content/modifiers 2011-05-04 17:46:20 +02:00
tg(x)
e47139f059 render: added error codes for missing method & modifier name; fixes for test tools 2011-05-04 15:41:35 +02:00
Gabor Adam Toth
4394aa5e0c render: added error codes for missing method & modifier name; fixes for test tools 2011-05-04 15:41:35 +02:00
tg(x)
c9402a5a42 parser: fix for binary body length 2011-05-04 15:40:05 +02:00
Gabor Adam Toth
a11c632e3d parser: fix for binary body length 2011-05-04 15:40:05 +02:00
tg(x)
259b51966c fixes for inline functions, c99 mode, formatting 2011-05-04 01:00:35 +02:00
Gabor Adam Toth
aaf480b782 fixes for inline functions, c99 mode, formatting 2011-05-04 01:00:35 +02:00
tg(x)
c92bfd3a91 text: moved inline functions to .h, fixed warnings 2011-05-03 23:03:52 +02:00
Gabor Adam Toth
9941b82761 text: moved inline functions to .h, fixed warnings 2011-05-03 23:03:52 +02:00
Marenz
51c95d0858 Merge branch 'master' of supraverse.net:libpsyc 2011-05-03 22:57:37 +02:00
Mathias Laurenz Baumann
7320d5671e Merge branch 'master' of supraverse.net:libpsyc 2011-05-03 22:57:37 +02:00
Marenz
0fd0cd6e7a moved inline functions back to the header
shouldn't result in any problems when used with static inline
2011-05-03 22:56:54 +02:00
Mathias Laurenz Baumann
d139e1a191 moved inline functions back to the header
shouldn't result in any problems when used with static inline
2011-05-03 22:56:54 +02:00
tg(x)
f3804c4b3f render: -inline 2011-05-03 22:54:34 +02:00
Gabor Adam Toth
e05081b074 render: -inline 2011-05-03 22:54:34 +02:00
tg(x)
5bbcda7da0 parser: next*Buffer -> set*Buffer, added setParse*Buffer2, added PSYC_ prefix to macro 2011-05-03 22:24:50 +02:00
Gabor Adam Toth
86f997eddd parser: next*Buffer -> set*Buffer, added setParse*Buffer2, added PSYC_ prefix to macro 2011-05-03 22:24:50 +02:00
tg(x)
f8d44070cc psyc_text + tests 2011-05-03 22:18:35 +02:00
Gabor Adam Toth
804a2ab394 psyc_text + tests 2011-05-03 22:18:35 +02:00
tg(x)
cf3150a461 render: removed old code 2011-05-01 00:30:25 +02:00
Gabor Adam Toth
d60d694d7f render: removed old code 2011-05-01 00:30:25 +02:00
tg(x)
b898965e47 fixed content length issues in parser & renderer 2011-04-30 18:34:43 +02:00
Gabor Adam Toth
2b70735aea fixed content length issues in parser & renderer 2011-04-30 18:34:43 +02:00
tg(x)
4f61f07ff2 parser: renamed flags, testServer: added routing only option 2011-04-30 17:07:01 +02:00
Gabor Adam Toth
1315363410 parser: renamed flags, testServer: added routing only option 2011-04-30 17:07:01 +02:00
tg(x)
23096ebf4b parser: only check flags in debug mode 2011-04-30 16:45:17 +02:00
Gabor Adam Toth
bd3b098423 parser: only check flags in debug mode 2011-04-30 16:45:17 +02:00
tg(x)
42af715bc0 Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:42:15 +02:00
Gabor Adam Toth
959eb3a86f Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:42:15 +02:00
tg(x)
af619d664d parser: fixes for header only parsing 2011-04-30 16:42:03 +02:00
Gabor Adam Toth
357f0f6de4 parser: fixes for header only parsing 2011-04-30 16:42:03 +02:00
Marenz
4dcc49817b Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:08:08 +02:00
Marenz
172cf34c3c Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:08:08 +02:00
tg(x)
811156f98d Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:06:58 +02:00
Gabor Adam Toth
9a971fc3bc Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 16:06:58 +02:00
tg(x)
5496700af0 Makefile fixes 2011-04-30 16:05:48 +02:00
Gabor Adam Toth
65f5906484 Makefile fixes 2011-04-30 16:05:48 +02:00
Marenz
edc8188c20 added check to wrong function 2011-04-30 15:59:11 +02:00
Marenz
7bfd705b49 added check to wrong function 2011-04-30 15:59:11 +02:00
Marenz
007aca1a6d Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 15:49:09 +02:00
Marenz
b1396504b3 Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 15:49:09 +02:00
Marenz
3e90a87c45 added check for invalid flags combination 2011-04-30 15:48:52 +02:00
Marenz
293f9160ae added check for invalid flags combination 2011-04-30 15:48:52 +02:00
tg(x)
c0e4edadb3 Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 15:46:24 +02:00
Gabor Adam Toth
a5b980a301 Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 15:46:24 +02:00
tg(x)
41c1c5c9f8 + 2011-04-30 15:46:17 +02:00
Gabor Adam Toth
b4c6008ffd + 2011-04-30 15:46:17 +02:00
tg(x)
57583fb344 match: fixed warnings 2011-04-30 15:44:12 +02:00
Gabor Adam Toth
b24592cf02 match: fixed warnings 2011-04-30 15:44:12 +02:00
Marenz
6463c3e9bb adjusted functions for flag PARSE_BEGIN_AT_CONTENT 2011-04-30 15:43:00 +02:00
Marenz
10e8deff47 adjusted functions for flag PARSE_BEGIN_AT_CONTENT 2011-04-30 15:43:00 +02:00
tg(x)
1b49ff9605 Makefile improvements 2011-04-30 15:42:48 +02:00
Gabor Adam Toth
166b73d5ab Makefile improvements 2011-04-30 15:42:48 +02:00
Marenz
3265b2fea9 Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 12:57:39 +02:00
Marenz
e9664de2ad Merge branch 'master' of supraverse.net:libpsyc 2011-04-30 12:57:39 +02:00
Marenz
3201a5fa23 renamed lib target to glibc. Puts .a file now in lib/ 2011-04-30 12:56:07 +02:00
Marenz
9dfa030e49 renamed lib target to glibc. Puts .a file now in lib/ 2011-04-30 12:56:07 +02:00
tg(x)
b0a2cf88fa test: positive return codes; match: disabled strlen check 2011-04-29 23:00:03 +02:00
Gabor Adam Toth
56371a3792 test: positive return codes; match: disabled strlen check 2011-04-29 23:00:03 +02:00
tg(x)
f722733f08 getVarType 2011-04-29 22:58:19 +02:00
Gabor Adam Toth
ea3e40d575 getVarType 2011-04-29 22:58:19 +02:00
tg(x)
8abc3c85e9 parser: fixes for partial packets 2011-04-29 16:00:48 +02:00
Gabor Adam Toth
23633f0eb6 parser: fixes for partial packets 2011-04-29 16:00:48 +02:00
tg(x)
35e33b7a2d render: no \n after routing headers if content is empty 2011-04-29 03:15:36 +02:00
Gabor Adam Toth
a4e3dcc515 render: no \n after routing headers if content is empty 2011-04-29 03:15:36 +02:00
tg(x)
b362a999ce fix for parsing empty data 2011-04-28 12:33:06 +02:00
Gabor Adam Toth
119822d1b2 fix for parsing empty data 2011-04-28 12:33:06 +02:00
tg(x)
2d8eb96f0d fixes for parsing partial packets 2011-04-27 18:37:03 +02:00
Gabor Adam Toth
ac60e2b4f0 fixes for parsing partial packets 2011-04-27 18:37:03 +02:00
psyc://psyced.org/~lynX
92fcc1a604 THAT'S where the bug was!?!?!!!! 2011-04-26 23:16:56 +02:00
psyc://psyced.org/~lynX
031d960a99 THAT'S where the bug was!?!?!!!! 2011-04-26 23:16:56 +02:00
tg(x)
ec69b5ee3f render: restructuring into more functions, added some docs 2011-04-26 22:44:48 +02:00
Gabor Adam Toth
e77cb20b70 render: restructuring into more functions, added some docs 2011-04-26 22:44:48 +02:00
tg(x)
a252040c62 list rendering 2011-04-26 17:23:06 +02:00
Gabor Adam Toth
7a225b79c5 list rendering 2011-04-26 17:23:06 +02:00
tg(x)
1a0b28003d parser: fix for empty data, testParser: verbose mode 2011-04-26 03:43:49 +02:00
Gabor Adam Toth
7e29ca4e5a parser: fix for empty data, testParser: verbose mode 2011-04-26 03:43:49 +02:00
psyc://psyced.org/~lynX
e48a6ab1eb new style: psyc_functions, psycTypes, PSYC_MACROS 2011-04-25 23:40:38 +02:00
psyc://psyced.org/~lynX
d1ec497ef3 new style: psyc_functions, psycTypes, PSYC_MACROS 2011-04-25 23:40:38 +02:00
tg(x)
7dc8effab6 render doc 2011-04-25 23:14:22 +02:00
Gabor Adam Toth
0f9f1bdc94 render doc 2011-04-25 23:14:22 +02:00
tg(x)
0226b1bba7 render: delim 2011-04-25 22:57:08 +02:00
Gabor Adam Toth
4ceb768639 render: delim 2011-04-25 22:57:08 +02:00
tg(x)
d71313dd14 + 2011-04-25 22:47:24 +02:00
Gabor Adam Toth
156b57c2e9 + 2011-04-25 22:47:24 +02:00
psyc://psyced.org/~lynX
b3cea3e614 renamed: psyc.c -> packet.c 2011-04-25 22:38:42 +02:00
psyc://psyced.org/~lynX
da7f39edc3 renamed: psyc.c -> packet.c 2011-04-25 22:38:42 +02:00
tg(x)
16d24be752 added assert for render, removed LPC assert 2011-04-25 22:31:21 +02:00
Gabor Adam Toth
a253f96283 added assert for render, removed LPC assert 2011-04-25 22:31:21 +02:00
psyc://psyced.org/~lynX
62814badae used by psyclpc's configure script 2011-04-25 22:02:24 +02:00
psyc://psyced.org/~lynX
d1d4e3c516 used by psyclpc's configure script 2011-04-25 22:02:24 +02:00
tg(x)
0ee3404bda fixes & test for rendering 2011-04-25 21:57:03 +02:00
Gabor Adam Toth
4fbaf4ecec fixes & test for rendering 2011-04-25 21:57:03 +02:00
psyc://psyced.org/~lynX
f4791db17c don't use sprintf for rendering numbers 2011-04-25 16:11:47 +02:00
psyc://psyced.org/~lynX
8d47fdee40 don't use sprintf for rendering numbers 2011-04-25 16:11:47 +02:00
psyc://psyced.org/~lynX
97d40c09bd Merge commit 'origin' 2011-04-25 14:47:27 +02:00
psyc://psyced.org/~lynX
498fdf14b9 Merge commit 'origin' 2011-04-25 14:47:27 +02:00
psyc://psyced.org/~lynX
e7e022a05a did you actually mean PSYC_MODIFIER_NEED_LENGTH ? 2011-04-25 14:47:16 +02:00
psyc://psyced.org/~lynX
9946307d00 did you actually mean PSYC_MODIFIER_NEED_LENGTH ? 2011-04-25 14:47:16 +02:00
tg(x)
a6a2512af7 - 2011-04-25 14:46:14 +02:00
Gabor Adam Toth
a5e7b7f281 - 2011-04-25 14:46:14 +02:00
tg(x)
14a62b568e fixed modifier array 2011-04-25 14:39:58 +02:00
Gabor Adam Toth
a7c928f4e5 fixed modifier array 2011-04-25 14:39:58 +02:00
tg(x)
3afb723bf8 functions for creating packet & modifier structs, rendering 2011-04-25 14:20:13 +02:00
Gabor Adam Toth
5a1e4825ad functions for creating packet & modifier structs, rendering 2011-04-25 14:20:13 +02:00
tg(x)
d52f1a90ee bsd memmem 2011-04-24 17:23:44 +02:00
Gabor Adam Toth
592aa596e8 bsd memmem 2011-04-24 17:23:44 +02:00
psyc://psyced.org/~lynX
742323e414 how to pass constrant strings with length at compile time 2011-04-23 17:16:05 +02:00
psyc://psyced.org/~lynX
2e71c012f1 how to pass constrant strings with length at compile time 2011-04-23 17:16:05 +02:00
tg(x)
f6448c8fe7 more PSYC_Packet fields; s/Var/Modifier/ 2011-04-22 23:16:50 +02:00
Gabor Adam Toth
c2ad0f0bd7 more PSYC_Packet fields; s/Var/Modifier/ 2011-04-22 23:16:50 +02:00
tg(x)
29f6e6c432 s/operator/oper/ 2011-04-22 22:59:15 +02:00
Gabor Adam Toth
427ef9ac56 s/operator/oper/ 2011-04-22 22:59:15 +02:00
tg(x)
8359215d98 s/modifier/operator/ 2011-04-22 20:50:59 +02:00
Gabor Adam Toth
4de626227a s/modifier/operator/ 2011-04-22 20:50:59 +02:00
tg(x)
35342caced compiles again 2011-04-22 20:33:22 +02:00
Gabor Adam Toth
0e54f3f76a compiles again 2011-04-22 20:33:22 +02:00
tg(x)
d278cbb0b7 s/binary/length 2011-04-22 20:22:20 +02:00