Pieter Noordhuis
2ccb6e58ef
Merge CCLINK with LDFLAGS
2011-06-18 16:28:57 +02:00
Pieter Noordhuis
367ac44ac1
Remove private feature macros for Solaris from compiler flags
2011-06-18 16:28:57 +02:00
Pieter Noordhuis
2cd46456c0
Add myself to Makefile license
2011-06-18 16:28:57 +02:00
Pieter Noordhuis
8ee630875a
Remove unused libraries from link flags
2011-06-18 16:28:57 +02:00
Pieter Noordhuis
d7dc9ca7c9
Fallback to gcc when $CC is not in $PATH
2011-06-18 16:28:52 +02:00
Pieter Noordhuis
7a8de1fe25
Exit with a non-zero status when tests failed
2011-05-29 10:03:39 -07:00
Pieter Noordhuis
82ad944412
Test against unix socket connection in make check target
2011-05-22 16:35:20 +02:00
Piotr Sikora
5793b999a9
Add "make check" target (useful for automated tests).
...
While there, add "-p" option to "hiredis-test", so that we could run
tests without interrupting Redis instance running on the default port.
2011-05-22 15:24:11 +02:00
Pieter Noordhuis
df203bc328
cp on Solaris doesn't have -a
2011-04-22 13:00:04 +02:00
Pieter Noordhuis
81c00aab32
Add versioned symlinks for install target
2011-04-22 12:54:19 +02:00
Pieter Noordhuis
dd9f0810dc
Solaris needs the static lib as last argument
2011-04-22 12:53:23 +02:00
Pieter Noordhuis
1381e22db1
Move OBJ argument
2011-04-22 12:01:46 +02:00
Pieter Noordhuis
595f2f88dd
Braces -> parentheses
2011-04-22 12:00:56 +02:00
Pieter Noordhuis
721e390de5
Separate basename and suffix for library filename
2011-04-22 11:54:16 +02:00
Pieter Noordhuis
5c205359d9
Configurable paths for install target
2011-04-22 09:59:30 +02:00
Pieter Noordhuis
4feec1f252
Remove rpath from linker flags; link artifacts statically
2011-04-21 23:24:58 +02:00
Pieter Noordhuis
8f27c9684a
Remove util.h from Makefile
2011-04-21 22:50:02 +02:00
Pieter Noordhuis
75bc8595c7
Only use C99 for compiling hiredis itself
...
The libevent example cannot be compiled when -std=c99 is passed. It is
not necessary that the adapters nor the examples follow this standard,
as long as the code for hiredis itself is compliant.
2011-04-21 18:13:30 +02:00
Pieter Noordhuis
df1d693b03
Include fmacros.h to make sure strerror_p is defined on Linux
2011-04-21 16:24:03 +02:00
Pieter Noordhuis
7f11360604
Recompile net.c when hiredis.h changes
2011-04-21 15:04:45 +02:00
Pieter Noordhuis
d5b18b5d28
Work with make v3.80
2011-04-07 17:31:23 +02:00
Pieter Noordhuis
fbe756d838
Avoid warnings with -Wstrict-prototypes
2011-01-27 12:50:55 +01:00
Pieter Noordhuis
c6b8bd77c0
Make dictionary functions static and include the .c file
2011-01-14 12:07:29 +01:00
Pieter Noordhuis
4e8c8e74ee
Replace zmalloc with regular malloc
2010-12-31 15:49:26 +01:00
Pieter Noordhuis
c6a51d19c5
Forgot to add -L. to remaining LDFLAGS
2010-12-16 23:20:39 +01:00
Pieter Noordhuis
be51c8398f
Fix building shared library on Solaris
2010-12-16 23:10:13 +01:00
Pieter Noordhuis
a2e28901a0
Use generic $(MAKE) in Makefile
2010-12-16 21:59:28 +01:00
Pieter Noordhuis
ff50dff70d
Use more aggressive optimization
2010-12-02 14:34:10 +01:00
Pieter Noordhuis
f625d97b9b
Whitespace
2010-12-02 14:34:03 +01:00
Pieter Noordhuis
9af1574d6e
Add adapter for the Redis-bundled ae event library
2010-12-01 13:47:58 +01:00
Pieter Noordhuis
8322162e52
Don't compile object files for examples twice
2010-12-01 13:30:22 +01:00
Pieter Noordhuis
314c04840b
Update examples
2010-11-02 17:37:22 +01:00
Pieter Noordhuis
dd8a34de84
Move anet.{c,h} to net.{c,h}
2010-11-02 16:44:44 +01:00
Pieter Noordhuis
46fdce7da0
Build universal binaries on OSX by default
2010-11-01 20:17:14 +01:00
Pieter Noordhuis
b028dda359
Return from getCallback if there is no reply
2010-11-01 11:11:43 +01:00
Pieter Noordhuis
e16340f2db
Add install target in Makefile
2010-11-01 10:53:48 +01:00
Pieter Noordhuis
89e0622535
Move libev/libevent headers to adapters directory
2010-11-01 10:42:32 +01:00
Pieter Noordhuis
ae5a13f557
Regenerated Makefile dependencies
2010-10-31 21:22:07 +01:00
Pieter Noordhuis
0152f12807
Extracted code to support callbacks in an asynchronous context
2010-10-31 21:20:47 +01:00
Pieter Noordhuis
e245ab48ec
Added header file and example for usage from libev
2010-10-19 21:24:24 +02:00
Pieter Noordhuis
96510ce86a
Factor out reusable include for libevent
2010-10-07 17:48:03 +02:00
Pieter Noordhuis
5a38356cc4
Add example for non-blocking usage of hiredis with libevent
2010-09-25 22:34:22 +02:00
Pieter Noordhuis
510bbf1721
Make target for building static library
2010-09-21 14:05:22 +02:00
Mina Naguib
857c9212d3
Build a shared library
2010-06-03 11:33:54 -04:00
Pierre Riteau
4693a51707
Constify the API and enable -Wwrite-strings
...
The API is more similar to printf now.
2010-05-25 14:02:14 +02:00
antirez
bd4ec57059
minimalistic test suite...
2010-05-18 20:12:03 +02:00
antirez
4f6fc6dfb1
hiredis was extracted from redis-tools, reverted to standard malloc/free, ported to the new protocol, and started as a stand alone project in order to support the need of a C client in the Redis community
2010-05-18 17:11:09 +02:00