Commit graph

67 commits

Author SHA1 Message Date
Martijn Otto
5cab368af2 Add extra parenthesis around branched assignments 2018-02-21 09:11:53 +01:00
Martijn Otto
021c54308a Fix const correctness warnings 2018-02-20 18:18:43 +01:00
karantin2020
75438ef3d3 Changed r3 memory model, made few optimizing 2016-03-22 07:23:37 +05:00
c9s
973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
c9s
e5ef80a200 Move private function to src/str.h 2015-11-17 21:13:38 +08:00
c9s
63577cfecc Remove unused str_repeat function 2015-11-17 21:06:59 +08:00
Ricky Su
f445c261c6 add r3_slug_find_name and rename slug_count to r3_slug_count 2015-08-26 22:00:23 +08:00
c9s
72f10015d5 Fix copyright email 2014-06-27 13:24:40 +08:00
c9s
a697301c44 strndup polyfill for cmake 2014-06-18 20:47:06 +08:00
c9s
5609fd5f9e r3 function prefix
- Remove ltrim_slash.
- Add "r3_" prefix to r3_str.c functions.
2014-06-03 20:50:19 +08:00
c9s
7cc84867ce let slug_count returns -1 if error occurs 2014-06-02 15:47:02 +08:00
c9s
7597398c08 include config.h 2014-06-02 06:58:02 +08:00
c9s
57b4fde126 print errmsg 2014-06-02 06:48:00 +08:00
c9s
a6be7f5061 static inline 2014-06-02 06:32:30 +08:00
c9s
0eb9cad11c r3_path_contains_slug_char function 2014-06-02 06:27:35 +08:00
c9s
6dfd37d43d move slug related functions to slug.c and slug.h 2014-06-02 04:52:41 +08:00
c9s
2a75861741 Fix gvc graph 2014-06-02 01:35:58 +08:00
c9s
24b84d068d Merge branch 'master' into slugfix
Conflicts:
	tests/check_slug.c
2014-06-02 01:23:10 +08:00
c9s
0636c9dad3 fix slug compile pattern 2014-06-02 01:21:02 +08:00
c9s
c52639c431 slug parser 2014-06-02 01:01:29 +08:00
c9s
e1e5c3a4ae test incomplete slug 2014-06-02 00:27:30 +08:00
c9s
258128f30d slug_count return errstr 2014-06-02 00:22:12 +08:00
c9s
70693ea1f2 errstr parameter in slug 2014-06-01 20:51:47 +08:00
c9s
998560634e remove unused variable and add const 2014-06-01 02:58:03 +08:00
c9s
40fa19002a Add const for slug_compile 2014-06-01 02:56:29 +08:00
c9s
bc27293f36 more const 2014-06-01 02:54:48 +08:00
c9s
d400789d96 more const pointers 2014-05-28 21:09:37 +08:00
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