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c1, 3.0.6, 2.8.24, 3.0.5, 2.8.23, 2.8.22, 3.0.4, 3.0.3, 3.0.2, 2.8.21, 2.8.20, 3.0.1, 3.0.0, 3.0.0-rc6, 3.0.0-rc5 |
|
| #
0e5e8ca9 |
| 27-Feb-2015 |
antirez <[email protected]> |
Utils: Include stdint.h and fix signess in sdigits10().
|
| #
c9550788 |
| 27-Feb-2015 |
antirez <[email protected]> |
Utils: added function to get radix 10 string length of signed integer.
|
|
Revision tags: 3.0.0-rc4 |
|
| #
29b54db3 |
| 12-Feb-2015 |
antirez <[email protected]> |
Better memtoll() error checking.
Related to PR #2357.
|
|
Revision tags: 3.0.0-rc3 |
|
| #
e4d65e35 |
| 22-Jan-2015 |
antirez <[email protected]> |
The seed must be static in getRandomHexChars().
|
| #
a330b6ca |
| 22-Jan-2015 |
antirez <[email protected]> |
The seed must be static in getRandomHexChars().
|
| #
9826038f |
| 22-Jan-2015 |
antirez <[email protected]> |
counter must be static in getRandomHexChars().
|
| #
87301be1 |
| 21-Jan-2015 |
antirez <[email protected]> |
getRandomHexChars(): use /dev/urandom just to seed.
On Darwin /dev/urandom depletes terribly fast. This is not an issue normally, but with Redis Cluster we generate a lot of unique IDs, for example
getRandomHexChars(): use /dev/urandom just to seed.
On Darwin /dev/urandom depletes terribly fast. This is not an issue normally, but with Redis Cluster we generate a lot of unique IDs, for example during nodes handshakes. Our IDs need just to be unique without other strong crypto requirements, so this commit turns the function into something that gets a 20 bytes seed from /dev/urandom, and produces the rest of the output just using SHA1 in counter mode.
show more ...
|
|
Revision tags: 3.0.0-rc2, 2.8.19, 2.8.18 |
|
| #
9b343678 |
| 20-Nov-2014 |
Matt Stancliff <[email protected]> |
Add simple ll2string() tests
|
| #
8febcffd |
| 13-Nov-2014 |
Matt Stancliff <[email protected]> |
Allow all code tests to run using Redis args
Previously, many files had individual main() functions for testing, but each required being compiled with their own testing flags. That gets difficult wh
Allow all code tests to run using Redis args
Previously, many files had individual main() functions for testing, but each required being compiled with their own testing flags. That gets difficult when you have 8 different flags you need to set just to run all tests (plus, some test files required other files to be compiled aaginst them, and it seems some didn't build at all without including the rest of Redis).
Now all individual test main() funcions are renamed to a test function for the file itself and one global REDIS_TEST define enables testing across the entire codebase.
Tests can now be run with: - `./redis-server test <test>`
e.g. ./redis-server test ziplist
If REDIS_TEST is not defined, then no tests get included and no tests are included in the final redis-server binary.
show more ...
|
|
Revision tags: 3.0.0-rc1, 2.8.17, 2.8.16, 2.8.15, 2.8.14 |
|
| #
12d0195b |
| 31-Jul-2014 |
Matt Stancliff <[email protected]> |
Clean up text throughout project
- Remove trailing newlines from redis.conf - Fix comment misspelling - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242) - Fix cluster typos
Clean up text throughout project
- Remove trailing newlines from redis.conf - Fix comment misspelling - Clarifies zipEncodeLength usage and a C API mention (#1243, #1242) - Fix cluster typos (inspired by @papanikge #1507) - Fix rewite -> rewrite in a few places (inspired by #682)
Closes #1243, #1242, #1507
show more ...
|
| #
c951c3ee |
| 15-Aug-2014 |
antirez <[email protected]> |
Fix undefined behavior in ll2string().
The bug was found by @CAFxX, thanks! See issue #1940.
|
|
Revision tags: 3.0.0-beta8 |
|
| #
7eb47ae2 |
| 23-Jul-2014 |
antirez <[email protected]> |
Fix util.c compilation by including stdint.h.
|
|
Revision tags: 2.8.13, 3.0.0-beta7 |
|
| #
0ce352c1 |
| 24-Jun-2014 |
antirez <[email protected]> |
Faster ll2string() implementation.
Based on ideas documented in this blog post:
https://www.facebook.com/notes/facebook-engineering/three-optimization-tips-for-c/10151361643253920
The original cod
Faster ll2string() implementation.
Based on ideas documented in this blog post:
https://www.facebook.com/notes/facebook-engineering/three-optimization-tips-for-c/10151361643253920
The original code was modified to handle signed integers, reformetted to fit inside the Redis code base, and was stress-tested with a program in order to validate the implementation against snprintf().
Redis was measured to be measurably faster from the point of view of clients in real-world operations because of this change, since sometimes number to string conversion is used extensively (for example every time a GET results into an integer encoded object to be returned to the user).
show more ...
|
|
Revision tags: 2.8.12, 2.8.11, 3.0.0-beta6, 2.8.10, 3.0.0-beta5, 3.0.0-beta4, 3.0.0-beta3, 2.8.9 |
|
| #
7dd44327 |
| 08-Apr-2014 |
Glauber Costa <[email protected]> |
fix null pointer access with no file pointer
I happen to be working on a system that lacks urandom. While the code does try to handle this case and artificially create some bytes if the file pointer
fix null pointer access with no file pointer
I happen to be working on a system that lacks urandom. While the code does try to handle this case and artificially create some bytes if the file pointer is empty, it does try to close it unconditionally, leading to a segfault.
show more ...
|
|
Revision tags: 2.8.8, 3.0.0-beta2, 2.8.7, 2.8.6, 3.0.0-beta1, 2.8.5, 2.8.4, 2.6.17, 2.8.3, 2.8.2, 2.8.1, 2.8.0, 2.8.0-rc6, 2.8.0-rc5, 2.8.0-rc4, 2.6.16, 2.6.15, 2.8.0-rc3, 2.8.0-rc2 |
|
| #
3ccc17a4 |
| 24-Jul-2013 |
antirez <[email protected]> |
Ignore sdsrange return value.
|
|
Revision tags: 2.8.0-rc1, 2.6.14-2 |
|
| #
6978aeb3 |
| 02-Jul-2013 |
antirez <[email protected]> |
pathIsBaseName() added to utils.c
The function is used to test that the specified string looks like just as the basename of a path, without any absolute or relative path.
|
| #
0781ad68 |
| 02-Jul-2013 |
antirez <[email protected]> |
getAbsolutePath() moved into utils.c
|
|
Revision tags: 2.6.14-1, 2.6.14, 2.6.13, 2.6.12, 2.6.10-3, 2.6.10-2, 2.6.11, 2.6.10-1, 2.6.10, 2.6.9-1, 2.6.9, 2.6.8-1, 2.6.8, 2.6.7-1, 2.6.7, 2.6.6, 2.4.18, 2.6.5, 2.6.4 |
|
| #
4365e5b2 |
| 08-Nov-2012 |
antirez <[email protected]> |
BSD license added to every C source and header file.
|
|
Revision tags: 2.6.3, 2.6.2, 2.6.1, 2.6.0, 2.6.0-rc8, 2.6.0-rc7, 2.4.17, 2.6.0-rc6, 2.4.16 |
|
| #
f1d187bb |
| 26-Jul-2012 |
Michael Parker <[email protected]> |
Use correct variable name for value to convert.
Note by @antirez: this code was never compiled because utils.c lacked the float.h include, so we never noticed this variable was mispelled in the past
Use correct variable name for value to convert.
Note by @antirez: this code was never compiled because utils.c lacked the float.h include, so we never noticed this variable was mispelled in the past.
This should provide a noticeable speed boost when saving certain types of databases with many sorted sets inside.
show more ...
|
|
Revision tags: 2.4.15, 2.6.0-rc5, 2.6.0-rc4, 2.4.14, 2.6.0-rc3, 2.6.0-rc2, 2.4.13, 2.4.12, 2.6.0-rc1, 2.4.11, 2.4.10, 2.4.9 |
|
| #
44f508f1 |
| 08-Mar-2012 |
antirez <[email protected]> |
clusterGetRandomName() generalized into getRandomHexChars() so that we can use it for the run_id field as well.
|
|
Revision tags: 2.4.8, 2.4.7, 2.4.6 |
|
| #
9ea54fee |
| 02-Jan-2012 |
Pieter Noordhuis <[email protected]> |
string2* functions take a const pointer
|
|
Revision tags: 2.4.5, 2.4.4, 2.4.3, 2.4.2, 2.2.15, 2.4.1, 2.4.0, 2.2.14, 2.4.0-rc8, 2.2.13, 2.4.0-rc7, 2.4.0-rc6, 2.4.0-rc5, 2.4.0-rc4, 2.2.12, 2.4.0-rc3, with-deprecated-diskstore, 2.2.111-scripting, 2.2.11, 2.2.110-scripting, 2.2.10, 2.2.9, 2.4.0-rc2, 2.4.0-rc1, 2.2.8 |
|
| #
330c90b0 |
| 16-May-2011 |
antirez <antirez@metal.(none)> |
fmacros in utils.c to avoid warning about strcasecmp()
|
|
Revision tags: 2.2.107-scripting, 2.2.7, 2.2.106-scripting, 2.2.6, 2.2.105-scripting |
|
| #
3edbcab9 |
| 27-Apr-2011 |
Pieter Noordhuis <[email protected]> |
Extra tests for string2ll
|
| #
5d081931 |
| 27-Apr-2011 |
Pieter Noordhuis <[email protected]> |
Tests for string2ll; move isObject* to object.c
|
| #
5cbe90db |
| 01-May-2011 |
antirez <[email protected]> |
Fixed a problem with string2ll()
|