Commit graph

603 commits

Author SHA1 Message Date
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 80b9f00739 update 2014-06-02 01:24:49 +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 39fc24e3fa fix pattern compiler 2014-06-02 01:05:57 +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 da2f2311c9 CHECK_PTR macro to check pointer 2014-06-01 21:58:29 +08:00
c9s 70693ea1f2 errstr parameter in slug 2014-06-01 20:51:47 +08:00
c9s 2858ede695 Update new combined graphviz image 2014-06-01 20:30:22 +08:00
c9s dc407f2cac fix 2014-06-01 20:23:11 +08:00
c9s 8d2a473f54 Merge branch 'master' of github.com:c9s/r3
Conflicts:
	include/r3.h
2014-06-01 20:20:51 +08:00
c9s 779d9a9859 Merge branch 'feature/json' 2014-06-01 20:19:30 +08:00
c9s 76182660f9 remove trailing newline 2014-06-01 20:15:25 +08:00
c9s c5501ab5f6 fix configure options:
1. fix --enable-json
2. fix --enable-graphviz
2014-06-01 20:14:56 +08:00
c9s 8f9c2acc5c include config.h 2014-06-01 19:49:56 +08:00
c9s 9820384ed5 take off useless header files 2014-06-01 19:45:56 +08:00
c9s 7d6209d99c build with 3rdparty objects
use -static linking when linking libr3

AM_CFLAGS and AM_LDFLAGS are Makefile.am scope options

disable valgrind tracing check-tree

Makefile.am fix

Add json support

remove useless c files
2014-06-01 19:43:45 +08:00
Pedro 93c3d0769b Merge pull request #44 from whitglint/master
Add extern "C".
2014-06-01 17:00:07 +08:00
whitglint 9417bc76eb Add extern "C". 2014-06-01 16:48:54 +08:00
c9s 7cdfaa0f7f Add AC_PROG_INSTALL 2014-06-01 16:39:32 +08:00
c9s b139d8d3f2 add const to node 2014-06-01 14:54:16 +08:00
c9s 7d69e79535 gvc fix 2014-06-01 14:53:12 +08:00
c9s 6e6de35fd0 fix tests for graphviz 2014-06-01 14:41:45 +08:00
c9s adde7bc361 remove unused variables 2014-06-01 14:35:29 +08:00
c9s 8ee11aaa6f reduce variables and add const char* to insert_pathl. 2014-06-01 14:33:56 +08:00
c9s f5f24aa15e fix readme 2014-06-01 03:04:59 +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 8f8dbd520b remove const from match_entry pointer 2014-06-01 02:39:39 +08:00
Pedro 89fb801cfd Merge pull request #43 from c9s/errno
errno support
2014-06-01 02:33:13 +08:00
c9s 2df5c11d09 use ck_assert 2014-06-01 02:29:12 +08:00
c9s a946a79223 include assert.h 2014-06-01 02:28:58 +08:00
c9s 4c26995e41 assert errno == NULL 2014-06-01 02:13:38 +08:00
c9s f670f08639 update error code for compile function 2014-06-01 02:08:16 +08:00
c9s 1a4eb14a05 error code support
- return error code if compilation error occurs
- use asprintf to sprint errstr
2014-06-01 02:03:44 +08:00
c9s 642fdfca88 include assert 2014-06-01 01:40:28 +08:00
c9s fe57cbf54d check pointer 2014-06-01 01:38:22 +08:00
c9s 4bb3ba9d04 assert(entry); 2014-06-01 01:26:59 +08:00
c9s 4f93a530e1 assert free 2014-06-01 01:26:36 +08:00
c9s 188a687150 check the pointer returns from zmalloc 2014-06-01 01:25:34 +08:00
c9s a19d2377cc check the pointer returns from zmalloc 2014-06-01 01:24:57 +08:00
c9s 7d9b6c8889 check match_entry->vars 2014-06-01 01:20:28 +08:00
c9s b61d5a78ae fix match_route 2014-06-01 01:16:53 +08:00
c9s e182dd3a7b remove duplicated edge free function 2014-05-31 19:58:10 +08:00
c9s 9433e2192a route api improvement 2014-05-31 19:56:46 +08:00
c9s 15933a061e update include header files 2014-05-29 10:14:25 +08:00