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

355 commits

Author SHA1 Message Date
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
Gabor Adam Toth
83e18a5f4a s/binary/length 2011-04-22 20:22:20 +02:00
tg(x)
4f86b6916b isRoutingVar, rendering, some renames 2011-04-22 17:09:32 +02:00
Gabor Adam Toth
ec76ea765e isRoutingVar, rendering, some renames 2011-04-22 17:09:32 +02:00
psyc://psyced.org/~lynX
893a318b82 RenderHeader 2011-04-22 11:50:13 +02:00
psyc://psyced.org/~lynX
f31a44ea6a RenderHeader 2011-04-22 11:50:13 +02:00
tg(x)
9fd39c72a1 renaming & moving stuff around; psyc logo 2011-04-21 14:20:24 +02:00
Gabor Adam Toth
0841b3676f renaming & moving stuff around; psyc logo 2011-04-21 14:20:24 +02:00
psyc://psyced.org/~lynX
ca844efdb4 PSYC_inherits() 2011-04-20 23:08:20 +02:00
psyc://psyced.org/~lynX
13ffb3a120 PSYC_inherits() 2011-04-20 23:08:20 +02:00
psyc://psyced.org/~lynX
e229ea79f4 some typedef renames 2011-04-20 22:31:04 +02:00
psyc://psyced.org/~lynX
44950099a1 some typedef renames 2011-04-20 22:31:04 +02:00
psyc://psyced.org/~lynX
a3fdc3d6b7 memmem, not rendering yet 2011-04-20 22:22:55 +02:00
psyc://psyced.org/~lynX
2efca8dc96 memmem, not rendering yet 2011-04-20 22:22:55 +02:00
tg(x)
cbd90eacac Merge branch 'master' of supraverse.net:libpsyc 2011-04-20 19:18:43 +02:00
Gabor Adam Toth
8d2a2c4e6b Merge branch 'master' of supraverse.net:libpsyc 2011-04-20 19:18:43 +02:00
tg(x)
dfb6512a5d moved types to psyc.h; added getVarType & isRoutingVar definitions; more doc 2011-04-20 19:18:35 +02:00
Gabor Adam Toth
8e7236009a moved types to psyc.h; added getVarType & isRoutingVar definitions; more doc 2011-04-20 19:18:35 +02:00
psyc://psyced.org/~lynX
d1ebbd7b3b clean version of PSYC_matches() 2011-04-20 18:59:27 +02:00
psyc://psyced.org/~lynX
4a8a77d4f4 clean version of PSYC_matches() 2011-04-20 18:59:27 +02:00
tg(x)
f7adce9461 typedef enums, more doc 2011-04-20 16:28:15 +02:00
Gabor Adam Toth
45efc9e050 typedef enums, more doc 2011-04-20 16:28:15 +02:00
psyc://psyced.org/~lynX
2f59265338 typedef my enum! 2011-04-20 15:36:56 +02:00
psyc://psyced.org/~lynX
d019c261c4 typedef my enum! 2011-04-20 15:36:56 +02:00
tg(x)
138a16e7a7 Makefile improvements 2011-04-19 22:52:08 +02:00
Gabor Adam Toth
8e1a107b87 Makefile improvements 2011-04-19 22:52:08 +02:00
tg(x)
15b1c906bf moved tests dir 2011-04-19 22:37:42 +02:00
Gabor Adam Toth
59c453d9bc moved tests dir 2011-04-19 22:37:42 +02:00
tg(x)
9efcaa7da3 comment fixes 2011-04-19 21:54:44 +02:00
Gabor Adam Toth
fc7d22f604 comment fixes 2011-04-19 21:54:44 +02:00
tg(x)
e41822ed2b list parsing 2011-04-19 19:41:25 +02:00
Gabor Adam Toth
875d48ee07 list parsing 2011-04-19 19:41:25 +02:00
tg(x)
0bc8555b47 size_t 2011-04-19 12:26:51 +02:00
Gabor Adam Toth
eb34439925 size_t 2011-04-19 12:26:51 +02:00
tg(x)
00093b518a size_t 2011-04-19 09:42:43 +02:00
Gabor Adam Toth
1e3e7c2f78 size_t 2011-04-19 09:42:43 +02:00
tg(x)
a0ab246127 parser fixes & refactoring; added more tests 2011-04-19 09:21:00 +02:00
Gabor Adam Toth
e3d1bbd66f parser fixes & refactoring; added more tests 2011-04-19 09:21:00 +02:00
psyc://psyced.org/~lynX
344f327e19 render.h & size_t 2011-04-18 16:54:56 +02:00
psyc://psyced.org/~lynX
b44cca63dc render.h & size_t 2011-04-18 16:54:56 +02:00
psyc://psyced.org/~lynX
ef2589ec42 definition of PSYC_text() 2011-04-18 16:51:54 +02:00
psyc://psyced.org/~lynX
e7772acb02 definition of PSYC_text() 2011-04-18 16:51:54 +02:00
tg(x)
501e7bc317 compiles again 2011-04-18 13:27:48 +02:00
Gabor Adam Toth
561174798f compiles again 2011-04-18 13:27:48 +02:00
Marenz
9db7dceee2 Merge branch 'master' of supraverse.net:libpsyc 2011-04-18 10:09:57 +02:00
Marenz
a97063210d Merge branch 'master' of supraverse.net:libpsyc 2011-04-18 10:09:57 +02:00
Marenz
1f89fb579b commiting broken state 2011-04-18 10:09:35 +02:00
Marenz
33d4896e0a commiting broken state 2011-04-18 10:09:35 +02:00
psyc://psyced.org/~lynX
3a4b5d8abb + 2011-04-17 21:46:00 +02:00
psyc://psyced.org/~lynX
e3192d3c12 + 2011-04-17 21:46:00 +02:00
psyc://psyced.org/~lynX
12ff235aa7 + 2011-04-17 21:25:52 +02:00
psyc://psyced.org/~lynX
1c9d85eec9 + 2011-04-17 21:25:52 +02:00
tg(x)
f07efe501d makefile fixes; gitignore 2011-04-17 14:17:11 +02:00
Marenz
a3cccb5fda fixed a bug 2011-04-17 14:22:01 +02:00
Gabor Adam Toth
890c2ad78d makefile fixes; gitignore 2011-04-17 14:17:11 +02:00
Marenz
9bb144b9ac fixed a bug 2011-04-17 14:22:01 +02:00
Marenz
fc829ecbb3 ready for testing now. 2011-04-17 13:59:07 +02:00
Marenz
eecbdc001c ready for testing now. 2011-04-17 13:59:07 +02:00
Marenz
b6ef420efa updated testparser to work with the new api. Debugging time now 2011-04-17 13:25:06 +02:00
Marenz
9178516d81 updated testparser to work with the new api. Debugging time now 2011-04-17 13:25:06 +02:00
Marenz
69ca100ed0 added flag for parsing header only 2011-04-17 12:56:24 +02:00
Marenz
c4ffec80c4 added flag for parsing header only 2011-04-17 12:56:24 +02:00
Marenz
e197d7ee1d started to fix the return values. WIP 2011-04-17 12:05:14 +02:00
Mathias L. Baumann
8507dd9659 started to fix the return values. WIP 2011-04-17 12:05:14 +02:00
psyc://psyced.org/~lynX
475eeb8121 debug macros 2011-04-16 17:30:03 +02:00
psyc://psyced.org/~lynX
dbadcf407d debug macros 2011-04-16 17:30:03 +02:00
psyc://psyced.org/~lynX
6b6e83db8f match in library style 2011-04-16 14:05:28 +02:00
psyc://psyced.org/~lynX
9f0bb8508e match in library style 2011-04-16 14:05:28 +02:00
psyc://psyced.org/~lynX
b9799ca597 match: intermediate version 2011-04-16 13:49:47 +02:00
psyc://psyced.org/~lynX
a08c6f3f1d match: intermediate version 2011-04-16 13:49:47 +02:00
psyc://psyced.org/~lynX
51b50c32b4 psycmatch() as a standalone command, being reworked into a function now 2011-04-16 13:13:57 +02:00
psyc://psyced.org/~lynX
50b9ccab36 psycmatch() as a standalone command, being reworked into a function now 2011-04-16 13:13:57 +02:00
Marenz
4da0a5b53a now parsing the number manually. Needs testing 2011-04-16 12:37:33 +02:00
Mathias L. Baumann
d4b0f33d7b now parsing the number manually. Needs testing 2011-04-16 12:37:33 +02:00
Marenz
cbfaeabdef compiles now. setting of expectedBytes and parsing of length is still missing 2011-04-16 11:30:26 +02:00
Mathias L. Baumann
c688bab1f8 compiles now. setting of expectedBytes and parsing of length is still missing 2011-04-16 11:30:26 +02:00
Marenz
35d33eda39 started new interface. incomplete. 2011-04-16 01:42:36 +02:00
Mathias Laurenz Baumann
453011001d started new interface. incomplete. 2011-04-16 01:42:36 +02:00
psyc://psyced.org/~lynX
dcda7bcb21 - 2011-02-18 14:03:45 +01:00
psyc://psyced.org/~lynX
b7efbaf678 - 2011-02-18 14:03:45 +01:00
Marenz
6aea0e0c84 moved include file to include dir. 2010-09-18 18:08:18 +02:00
Mathias Laurenz Baumann
01031ceca7 moved include file to include dir. 2010-09-18 18:08:18 +02:00
Marenz
4f25c87719 added usage for makefile 2010-09-18 18:08:02 +02:00
Mathias Laurenz Baumann
7a53273f2d added usage for makefile 2010-09-18 18:08:02 +02:00
Marenz
885ebb9937 reorganized test paths and makefile 2010-09-02 13:01:18 +02:00
Mathias Laurenz Baumann
39b9050e79 reorganized test paths and makefile 2010-09-02 13:01:18 +02:00
Marenz
19330a70ac fixed and extended makefile 2010-09-01 17:16:35 +02:00
Mathias Laurenz Baumann
eb7876b2d5 fixed and extended makefile 2010-09-01 17:16:35 +02:00
Marenz
49939114ab small changes for linking 2010-09-01 15:47:26 +02:00
Mathias Laurenz Baumann
d0c0958ddf small changes for linking 2010-09-01 15:47:26 +02:00
Marenz
f10e1801ad added makefile to compile lib 2010-02-21 00:20:55 +01:00
Mathias Laurenz Baumann
52eac395f6 added makefile to compile lib 2010-02-21 00:20:55 +01:00
Marenz
a2aca6a698 proper handling of method and data 2010-02-20 23:06:33 +01:00
Mathias Laurenz Baumann
001298b1de proper handling of method and data 2010-02-20 23:06:33 +01:00
Marenz
bae324db5f fixed method output in test and in parser 2010-02-20 22:29:09 +01:00
Mathias Laurenz Baumann
0063a98e5b fixed method output in test and in parser 2010-02-20 22:29:09 +01:00
Marenz
d39aef086c fixed bug in bin-var parsing 2010-02-20 22:18:39 +01:00
Mathias Laurenz Baumann
a96f01f355 fixed bug in bin-var parsing 2010-02-20 22:18:39 +01:00
Marenz
6f0dce0867 added support for binary packets, untested 2010-02-20 22:09:04 +01:00
Mathias Laurenz Baumann
472314568f added support for binary packets, untested 2010-02-20 22:09:04 +01:00
Marenz
2ee09a0179 Merge branch 'master' of supraverse.net:libpsyc 2010-02-20 20:32:09 +01:00
Mathias Laurenz Baumann
cccb5802e3 Merge branch 'master' of supraverse.net:libpsyc 2010-02-20 20:32:09 +01:00
Marenz
261e763586 added support for bin vars 2010-02-20 20:31:22 +01:00
Mathias Laurenz Baumann
583e61b6a1 added support for bin vars 2010-02-20 20:31:22 +01:00
psyc://psyced.org/~lynX
a8a9207b35 Merge commit 'origin' 2010-02-20 20:09:42 +01:00
psyc://psyced.org/~lynX
72a7ab463b Merge commit 'origin' 2010-02-20 20:09:42 +01:00
psyc://psyced.org/~lynX
733447ebb4 cryptic Makefile .. har har 2010-02-20 20:03:27 +01:00
psyc://psyced.org/~lynX
e6b838537a cryptic Makefile .. har har 2010-02-20 20:03:27 +01:00
Marenz
02feee8458 added parsing of empty variables 2010-02-20 19:50:10 +01:00