simon-p-r
4423801c13
commit to build on windows and appveyor
2018-09-17 16:19:12 +01:00
Yo-An Lin
22a6b99b34
Merge pull request #115 from msteinert/remove-zmalloc
...
Remove zmalloc
2018-07-10 07:36:49 -07:00
Michael Steinert
8abc03ea56
cmake: Add some comments regarding r3.pc.in
2018-07-10 08:24:05 -05:00
Michael Steinert
b3dbf75da5
Remove zmalloc dependency
...
Zmalloc comes from Redis. It's purpose is to track total allocations so
that a maximum can be set. For more information see the following links:
https://groups.google.com/forum/#!topic/redis-db/dPRdpowqJsY
https://stackoverflow.com/questions/22729730/when-would-one-use-malloc-over-zmalloc
This allocator is slower, not needed, and conflicts with Zlib (when
linking statically). This patch removes Zmalloc in favor of the system
allocator. Application developers can still choose to override the
allocator in their applications, e.g. Jemalloc, TCMalloc, etc.
Fixes #104
2018-07-10 08:20:46 -05:00
Yo-An Lin
afd2c486c6
Merge pull request #113 from msteinert/cleanup-cmake
...
Cleanup cmake
2018-07-10 06:11:41 -07:00
Michael Steinert
e701bfd596
Add CMake to the CI matrix
2018-07-05 11:52:34 -05:00
Michael Steinert
d1c06cd3e9
Cleanup CMake build files
2018-07-05 11:43:22 -05:00
Michael Steinert
2be2a08750
Fix -Wincompatible-pointer-types warning
2018-07-05 11:43:22 -05:00
Michael Steinert
e9afe4b6cf
Fix -Wdiscarded-qualifiers warnings
2018-07-05 11:43:22 -05:00
Yo-An Lin
3b9bb5745a
Merge pull request #114 from msteinert/check-tree-fixes
...
Fix issues with check_tree test
2018-07-06 00:42:01 +08:00
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