Commit graph

40 commits

Author SHA1 Message Date
c9s cd16d67663 fix zcalloc bug 2014-05-27 14:18:45 +08:00
c9s 9f8176447b const char * 2014-05-27 01:08:01 +08:00
c9s 7aaed3e5d7 merge str_array.h 2014-05-26 21:39:36 +08:00
c9s 628f09a8f4 Add OP_EXPECT_MORE_ALPHA opcode 2014-05-23 22:58:20 +08:00
c9s 333fabd795 insert path for opcode 2014-05-23 16:18:58 +08:00
c9s fe70b55253 Add node type for comparison 2014-05-23 16:18:57 +08:00
c9s c1e5ea4393 Add OP_EXPECT_NODASH opcode 2014-05-23 16:18:56 +08:00
c9s 4d93d217a4 test r3_pattern_to_opcode 2014-05-23 16:18:56 +08:00
c9s a41c9187ac Add some basic opcode 2014-05-23 16:18:56 +08:00
c9s eaa11d5380 found flag for slug char 2014-05-22 11:06:34 +08:00
c9s 33eea25926 check length 2014-05-21 20:30:35 +08:00
Omer Katz 3ea9354e0b Implemented zstrndup. 2014-05-21 11:39:49 +03:00
Omer Katz 9c191682da Added zmalloc from redis in order to allow different allocators. 2014-05-20 20:50:15 +03:00
c9s 92e2ddf066 remove r3_define.h 2014-05-20 23:54:57 +08:00
c9s 02b4008a69 str_split is unused 2014-05-20 23:29:17 +08:00
c9s 85001c6327 Rename compile_slug to slug_compile 2014-05-20 23:25:55 +08:00
c9s 99819c4bbb move strndiff and strdiff to node.c and make it private 2014-05-20 23:25:12 +08:00
c9s 26c7e8896e Rename count_slug to slug_count 2014-05-20 23:21:15 +08:00
c9s 9499432084 remove debug print 2014-05-20 21:41:24 +08:00
c9s 898ea300a9 Fix placeholder finder 2014-05-20 21:38:37 +08:00
c9s baf23fafb0 fix pattern matching for /user/{id}-{user} 2014-05-18 20:09:42 +08:00
c9s 7d6113d17d truncate edge pattern in r3_edge_branch 2014-05-18 20:09:42 +08:00
c9s cda897a9a7 fix slug compilation 2014-05-18 14:30:00 +08:00
c9s b25a68eaac Add --enable-debug option + *i is unused. 2014-05-18 11:03:15 +08:00
Pedro 6c0b3c3e90 Merge pull request #6 from CindyLinz/master
my_strdup / my_strndup  malloc smaller
2014-05-17 15:06:44 +08:00
Cindy Wang (CindyLinz) 1c9a42dd82 my_strdup / my_strndup malloc smaller 2014-05-17 13:01:33 +08:00
c9s 0c6afd03b7 use HAVE_STR*DUP config to check function definitions 2014-05-17 07:26:47 +08:00
Cindy Wang (CindyLinz) 1f91b8ea35 my_strdup / my_strndup size_t -> int 2014-05-17 03:17:51 +08:00
Cindy Wang (CindyLinz) df4dbbe2a6 self provided strndup & strdup 2014-05-17 00:35:56 +08:00
c9s 6b9c15febb File renaming 2014-05-16 20:22:25 +08:00
c9s fe21914e00 include files 2014-05-16 12:33:59 +08:00
c9s 9ee066fa3f Fix slug branch problem 2014-05-16 00:00:19 +08:00
c9s 824ae8784e redge_branch function to branch the edge 2014-05-15 23:46:49 +08:00
c9s cd3e98465b build a really prefix tree 2014-05-15 22:57:13 +08:00
c9s 89eaad6006 Add slug_to_pcre pattern function 2014-05-15 20:38:07 +08:00
c9s 2348387f3c more tests 2014-05-15 18:02:10 +08:00
c9s 3989f2150f ltrim_slash and related test 2014-05-15 12:53:48 +08:00
c9s c91c06ec3b Add token list tests 2014-05-15 12:47:14 +08:00
c9s f8539fd950 Add token list struct 2014-05-15 11:52:45 +08:00
c9s fec873b411 update testing framework with "Check" 2014-05-15 10:08:42 +08:00