Commit graph

769 commits

Author SHA1 Message Date
Michael Steinert 179ee52801 Attempt to update CI environment 2018-07-05 11:31:27 -05:00
Michael Steinert 081ccb2bde Fix issues with check_tree test
This patch fixes a few issues in the check_tree test:

* Fix various memory leaks in test code
* Fix a double-free in test code
* Fix a memory leak in r3_tree_compile_patterns

One memory leak remains in the library code but it isn't obvious to me
how to fix it at the moment.
2018-07-05 09:58:20 -05:00
Yo-An Lin cf92c9dc96
Merge pull request #108 from martijnotto/2.0
Initial working version of cmake builds
2018-02-25 02:02:25 +08:00
Martijn Otto 6565274ce8 We need 3rdparty for the normal build as well 2018-02-24 17:53:02 +01:00
Martijn Otto 1fceec760f We need to link to 3rdparty to be able to build the tests 2018-02-24 17:50:33 +01:00
Martijn Otto 2f96c59929 Further WIP, got the tests to link against pthread (was broken due to pkg-config not specifying -pthread as -lpthread and cmake thus not recognizing it as a library) 2018-02-24 17:45:15 +01:00
Martijn Otto a2396fe15b WIP on support for CMake builds, fails to build tests (probably error in FindCheck not declaring dependency on pthread) 2018-02-23 09:39:39 +01:00
Yo-An Lin 2b37680087
Merge pull request #107 from martijnotto/2.0
const correctness, branched assignment, unused variables, non-standard feature test, example UB, incorrect memset declaration
2018-02-21 23:01:03 +08:00
Martijn Otto 59d182b1c1 Use the generated config.h instead to enable feature macros 2018-02-21 15:57:25 +01:00
Martijn Otto 1eeff1598a Fix declaration of memset 2018-02-21 10:04:07 +01:00
Martijn Otto f8131b53d6 Fix UB in examples 2018-02-21 09:50:34 +01:00
Martijn Otto 55de164023 Set the feature test macro before including the header to enable non-standard functions used by libr3 2018-02-21 09:49:54 +01:00
Martijn Otto 8d0b90f6e1 Remove unused variables 2018-02-21 09:14:31 +01:00
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
Yo-An Lin 0d78599a57 Merge pull request #103 from yohanboniface/fix-configure
Fix syntax error in configure.ac (fix #96)
2017-08-26 16:56:50 +08:00
Yohan Boniface 234e64f584 Fix syntax error in configure.ac (fix #96) 2017-08-26 10:50:30 +02:00
Yo-An Lin 7e4c74d625 Merge pull request #98 from phynalle/2.0
Add include headers
2017-07-02 10:00:11 +08:00
phynalle 267ab34c36 Add include headers 2016-04-27 03:45:11 +09:00
c9s cefefb239a Fix fprintf warning 2016-04-05 16:59:27 +08:00
c9s 341a29387b Merge branch 'krn_feature' of https://github.com/karantin2020/r3 into 2.0 2016-04-05 16:55:54 +08:00
karantin2020 9411039fce Router match logic corrected 2016-03-26 23:32:37 +05:00
karantin2020 ffc9e8571b Added memory files 2016-03-26 21:34:07 +05:00
karantin2020 75438ef3d3 Changed r3 memory model, made few optimizing 2016-03-22 07:23:37 +05:00
Yo-An Lin 0ba956159c Check is not running, fix check
Also update .travis.yml
2016-03-12 12:46:05 +08:00
Yo-An Lin 5a644ee046 Update README.md 2016-03-12 12:40:21 +08:00
karantin2020 ef910789c0 Added gitignored files 2016-03-08 22:30:44 +05:00
karantin2020 67fa8929f7 Clean heap after use in simple example 2016-03-08 19:52:47 +05:00
karantin2020 839001afec Changed routing example 2016-03-08 19:24:21 +05:00
karantin2020 40e0e1c2a0 Changed slug parsing 2016-03-08 14:51:42 +05:00
karantin2020 b7c0132fa9 Added routing example 2016-03-08 12:17:33 +05:00
karantin2020 400768394d Added slug parser and repaired few memory leaks 2016-03-08 11:19:54 +05:00
c9s c609003c95 optimize c flags for development/production mode 2015-11-21 10:39:49 +08:00
c9s 44ee48724f update link 2015-11-18 14:57:01 +08:00
c9s 82611c93b5 Update readme 2015-11-18 14:56:16 +08:00
c9s daee40756c Add -O2 flag as default 2015-11-18 14:46:18 +08:00
c9s 03031e02aa Fix r3 json writer 2015-11-18 14:27:28 +08:00
c9s c3ef959539 Add route namespace
Summary:

    type route now becomes R3Route

Related issue #63
2015-11-18 14:16:26 +08:00
c9s 29a2a934d0 Update examples in README 2015-11-18 14:09:04 +08:00
c9s ca5ad7497e Update changelog
Related: #63
2015-11-18 12:54:35 +08:00
c9s 49ffb454f7 Add namespace for node/edge structs
node => R3Node
edge => R3Edge

Related issue #63
2015-11-18 12:53:46 +08:00
c9s ef55fb9cdb Another fix for stdbool types 2015-11-17 21:43:10 +08:00
c9s 1f1ab15cdd Fix for stdbool type 2015-11-17 21:40:21 +08:00
c9s b0971e1553 Fix include 2015-11-17 21:35:18 +08:00
c9s c128cdef13 Provide better feature checking for stdbool 2015-11-17 21:31:33 +08:00
c9s 3808cb37aa Move debug macros to private header files 2015-11-17 21:24:36 +08:00
c9s a2f5205bc5 Update benchmark result 2015-11-17 21:18:41 +08:00
c9s 973a2cb85c Move private functions to private header files 2015-11-17 21:17:35 +08:00
c9s 6275e8724c Traivs: Add allow_failures section to matrix 2015-11-17 21:13:38 +08:00
c9s e5ef80a200 Move private function to src/str.h 2015-11-17 21:13:38 +08:00