History log of /redis-3.2.3/deps/ (Results 1 – 25 of 107)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
7153668429-Jul-2016 antirez <[email protected]>

Update linenoise to fix insecure redis-cli history file creation.

The problem was fixed in antirez/linenoise repository applying a patch
contributed by @lamby. Here the new version is updated in the

Update linenoise to fix insecure redis-cli history file creation.

The problem was fixed in antirez/linenoise repository applying a patch
contributed by @lamby. Here the new version is updated in the Redis
source tree.

Close #1418
Close #3322

show more ...

fdafe23327-Jul-2016 antirez <[email protected]>

Multiple GEORADIUS bugs fixed.

By grepping the continuous integration errors log a number of GEORADIUS
tests failures were detected.

Fortunately when a GEORADIUS failure happens, the test suite log

Multiple GEORADIUS bugs fixed.

By grepping the continuous integration errors log a number of GEORADIUS
tests failures were detected.

Fortunately when a GEORADIUS failure happens, the test suite logs enough
information in order to reproduce the problem: the PRNG seed,
coordinates and radius of the query.

By reproducing the issues, three different bugs were discovered and
fixed in this commit. This commit also improves the already good
reporting of the fuzzer and adds the failure vectors as regression
tests.

The issues found:

1. We need larger squares around the poles in order to cover the area
requested by the user. There were already checks in order to use a
smaller step (larger squares) but the limit set (+/- 67 degrees) is not
enough in certain edge cases, so 66 is used now.

2. Even near the equator, when the search area center is very near the
edge of the square, the north, south, west or ovest square may not be
able to fully cover the specified radius. Now a test is performed at the
edge of the initial guessed search area, and larger squares are used in
case the test fails.

3. Because of rounding errors between Redis and Tcl, sometimes the test
signaled false positives. This is now addressed.

Whenever possible the original code was improved a bit in other ways. A
debugging example stanza was added in order to make the next debugging
session simpler when the next bug is found.

show more ...

bb43f4ca30-May-2016 antirez <[email protected]>

Fix GEORADIUS wrong output with radius > Earth radius.

Close #3266

16102bc030-May-2016 antirez <[email protected]>

Geo: fix typo in geohashEstimateStepsByRadius().

I'm the author of this line but I can't see a good reason for it to
don't be a typo, a step of 26 should be valid with 52 bits per
coordinate, moreov

Geo: fix typo in geohashEstimateStepsByRadius().

I'm the author of this line but I can't see a good reason for it to
don't be a typo, a step of 26 should be valid with 52 bits per
coordinate, moreover the line was:

if (step > 26) step = 25;

So a step of 26 was actually already used, except when one of 27 was
computed (which is invalid) only then it was trimmed to 25 instead of
26.

All tests passing after the change.

show more ...

a7f0fb4418-May-2016 antirez <[email protected]>

Actually use --with-lg-quantum=3 to build jemalloc.

This change is documented in deps/README.md but was lost in one way or
the other, neutralizing the benefits of 24 bytes size classes (and
others).

Actually use --with-lg-quantum=3 to build jemalloc.

This change is documented in deps/README.md but was lost in one way or
the other, neutralizing the benefits of 24 bytes size classes (and
others).

Close #3208.

show more ...

3fd3fca013-Apr-2016 antirez <[email protected]>

redis-cli hints.

3435447312-Apr-2016 antirez <[email protected]>

Linenoise updated again (hints support).

58229cd706-Apr-2016 antirez <[email protected]>

Linenoise updated.

As a side effect, cat commands.txt | redis-cli now is able to handle
lines more than 4096 bytes.

0b4a628f10-Feb-2016 antirez <[email protected]>

Remove Lua state reference from buffers in lua_cmsgpack.

43509f6807-Feb-2016 [email protected] <[email protected]>

cmsgpack: pass correct osize values to lua allocator, update correct buf free space in cmsgpack

6521a6b113-Dec-2015 Sun He <[email protected]>

lua_struct.c/getnum: throw error if overflow happen

Fix issue #2855

b9429fd816-Nov-2015 antirez <[email protected]>

Lua debugger: use sds_malloc() to allocate eval cli array.

Redis-cli handles the debugger "eval" command in a special way since
sdssplitargs() would not be ok: we need to send the Redis debugger the

Lua debugger: use sds_malloc() to allocate eval cli array.

Redis-cli handles the debugger "eval" command in a special way since
sdssplitargs() would not be ok: we need to send the Redis debugger the
whole Lua script without any parsing. However in order to later free the
argument vector inside redis-cli using just sdsfreesplitres(), we need
to allocate the array of SDS pointers using the same allocator SDS is
using, that may differ to what Redis is using.

So now a newer version of SDS exports sds_malloc() and other allocator
functions to give access, to the program it is linked to, the allocator
used internally by SDS.

show more ...

ad8111ba06-Oct-2015 antirez <[email protected]>

Added a README into deps on dependencies and how to upgrade.

7b74d00507-Oct-2015 antirez <[email protected]>

Jemalloc configure script fixed to work nested.

Now way to make unmodified Jemalloc configure to work when the jemalloc
source tree is inside a subdirectory of a different git repository.

Problem s

Jemalloc configure script fixed to work nested.

Now way to make unmodified Jemalloc configure to work when the jemalloc
source tree is inside a subdirectory of a different git repository.

Problem signaled here:
http://www.canonware.com/pipermail/jemalloc-discuss/2015-October/001174.html

show more ...

5268379e06-Oct-2015 antirez <[email protected]>

Jemalloc updated to 4.0.3.


/redis-3.2.3/00-RELEASENOTES
jemalloc/.autom4te.cfg
jemalloc/.gitattributes
jemalloc/.gitignore
jemalloc/COPYING
jemalloc/ChangeLog
jemalloc/INSTALL
jemalloc/Makefile.in
jemalloc/VERSION
jemalloc/bin/jemalloc-config.in
jemalloc/bin/jeprof.in
jemalloc/config.guess
jemalloc/config.sub
jemalloc/configure
jemalloc/configure.ac
jemalloc/doc/jemalloc.3
jemalloc/doc/jemalloc.html
jemalloc/doc/jemalloc.xml.in
jemalloc/include/jemalloc/internal/arena.h
jemalloc/include/jemalloc/internal/atomic.h
jemalloc/include/jemalloc/internal/base.h
jemalloc/include/jemalloc/internal/bitmap.h
jemalloc/include/jemalloc/internal/chunk.h
jemalloc/include/jemalloc/internal/chunk_dss.h
jemalloc/include/jemalloc/internal/chunk_mmap.h
jemalloc/include/jemalloc/internal/ckh.h
jemalloc/include/jemalloc/internal/ctl.h
jemalloc/include/jemalloc/internal/extent.h
jemalloc/include/jemalloc/internal/hash.h
jemalloc/include/jemalloc/internal/huge.h
jemalloc/include/jemalloc/internal/jemalloc_internal.h.in
jemalloc/include/jemalloc/internal/jemalloc_internal_decls.h
jemalloc/include/jemalloc/internal/jemalloc_internal_defs.h.in
jemalloc/include/jemalloc/internal/jemalloc_internal_macros.h
jemalloc/include/jemalloc/internal/mutex.h
jemalloc/include/jemalloc/internal/pages.h
jemalloc/include/jemalloc/internal/private_symbols.txt
jemalloc/include/jemalloc/internal/prng.h
jemalloc/include/jemalloc/internal/prof.h
jemalloc/include/jemalloc/internal/ql.h
jemalloc/include/jemalloc/internal/qr.h
jemalloc/include/jemalloc/internal/quarantine.h
jemalloc/include/jemalloc/internal/rb.h
jemalloc/include/jemalloc/internal/rtree.h
jemalloc/include/jemalloc/internal/size_classes.sh
jemalloc/include/jemalloc/internal/stats.h
jemalloc/include/jemalloc/internal/tcache.h
jemalloc/include/jemalloc/internal/tsd.h
jemalloc/include/jemalloc/internal/util.h
jemalloc/include/jemalloc/internal/valgrind.h
jemalloc/include/jemalloc/jemalloc.sh
jemalloc/include/jemalloc/jemalloc_defs.h.in
jemalloc/include/jemalloc/jemalloc_macros.h.in
jemalloc/include/jemalloc/jemalloc_protos.h.in
jemalloc/include/jemalloc/jemalloc_typedefs.h.in
jemalloc/include/msvc_compat/C99/stdbool.h
jemalloc/include/msvc_compat/C99/stdint.h
jemalloc/include/msvc_compat/strings.h
jemalloc/include/msvc_compat/windows_extra.h
jemalloc/jemalloc.pc.in
jemalloc/src/arena.c
jemalloc/src/base.c
jemalloc/src/bitmap.c
jemalloc/src/chunk.c
jemalloc/src/chunk_dss.c
jemalloc/src/chunk_mmap.c
jemalloc/src/ckh.c
jemalloc/src/ctl.c
jemalloc/src/extent.c
jemalloc/src/huge.c
jemalloc/src/jemalloc.c
jemalloc/src/mutex.c
jemalloc/src/pages.c
jemalloc/src/prof.c
jemalloc/src/quarantine.c
jemalloc/src/rtree.c
jemalloc/src/stats.c
jemalloc/src/tcache.c
jemalloc/src/tsd.c
jemalloc/src/util.c
jemalloc/src/valgrind.c
jemalloc/src/zone.c
jemalloc/test/include/test/btalloc.h
jemalloc/test/include/test/jemalloc_test.h.in
jemalloc/test/include/test/jemalloc_test_defs.h.in
jemalloc/test/include/test/math.h
jemalloc/test/include/test/mq.h
jemalloc/test/include/test/test.h
jemalloc/test/include/test/thd.h
jemalloc/test/include/test/timer.h
jemalloc/test/integration/MALLOCX_ARENA.c
jemalloc/test/integration/chunk.c
jemalloc/test/integration/mallocx.c
jemalloc/test/integration/overflow.c
jemalloc/test/integration/rallocx.c
jemalloc/test/integration/sdallocx.c
jemalloc/test/integration/xallocx.c
jemalloc/test/src/SFMT.c
jemalloc/test/src/btalloc.c
jemalloc/test/src/btalloc_0.c
jemalloc/test/src/btalloc_1.c
jemalloc/test/src/mq.c
jemalloc/test/src/mtx.c
jemalloc/test/src/test.c
jemalloc/test/src/thd.c
jemalloc/test/src/timer.c
jemalloc/test/stress/microbench.c
jemalloc/test/unit/SFMT.c
jemalloc/test/unit/atomic.c
jemalloc/test/unit/bitmap.c
jemalloc/test/unit/ckh.c
jemalloc/test/unit/hash.c
jemalloc/test/unit/junk.c
jemalloc/test/unit/junk_alloc.c
jemalloc/test/unit/junk_free.c
jemalloc/test/unit/lg_chunk.c
jemalloc/test/unit/mallctl.c
jemalloc/test/unit/math.c
jemalloc/test/unit/mq.c
jemalloc/test/unit/prof_accum.c
jemalloc/test/unit/prof_active.c
jemalloc/test/unit/prof_gdump.c
jemalloc/test/unit/prof_reset.c
jemalloc/test/unit/prof_thread_name.c
jemalloc/test/unit/rb.c
jemalloc/test/unit/rtree.c
jemalloc/test/unit/size_classes.c
jemalloc/test/unit/stats.c
jemalloc/test/unit/tsd.c
jemalloc/test/unit/util.c
jemalloc/test/unit/zero.c
/redis-3.2.3/src/Makefile
/redis-3.2.3/src/Makefile.dep
/redis-3.2.3/src/aof.c
/redis-3.2.3/src/bio.c
/redis-3.2.3/src/bio.h
/redis-3.2.3/src/bitops.c
/redis-3.2.3/src/blocked.c
/redis-3.2.3/src/cluster.c
/redis-3.2.3/src/cluster.h
/redis-3.2.3/src/config.c
/redis-3.2.3/src/crc16.c
/redis-3.2.3/src/db.c
/redis-3.2.3/src/debug.c
/redis-3.2.3/src/geo.c
/redis-3.2.3/src/geo.h
/redis-3.2.3/src/hyperloglog.c
/redis-3.2.3/src/latency.c
/redis-3.2.3/src/multi.c
/redis-3.2.3/src/networking.c
/redis-3.2.3/src/notify.c
/redis-3.2.3/src/object.c
/redis-3.2.3/src/pubsub.c
/redis-3.2.3/src/rdb.c
/redis-3.2.3/src/rdb.h
/redis-3.2.3/src/redis-benchmark.c
/redis-3.2.3/src/redis-check-rdb.c
/redis-3.2.3/src/redis-cli.c
/redis-3.2.3/src/redisassert.h
/redis-3.2.3/src/replication.c
/redis-3.2.3/src/rio.c
/redis-3.2.3/src/scripting.c
/redis-3.2.3/src/sentinel.c
/redis-3.2.3/src/server.c
/redis-3.2.3/src/server.h
/redis-3.2.3/src/slowlog.c
/redis-3.2.3/src/slowlog.h
/redis-3.2.3/src/sort.c
/redis-3.2.3/src/sparkline.c
/redis-3.2.3/src/syncio.c
/redis-3.2.3/src/t_hash.c
/redis-3.2.3/src/t_list.c
/redis-3.2.3/src/t_set.c
/redis-3.2.3/src/t_string.c
/redis-3.2.3/src/t_zset.c
/redis-3.2.3/tests/integration/rdb.tcl
/redis-3.2.3/tests/integration/replication-psync.tcl
/redis-3.2.3/tests/support/util.tcl
/redis-3.2.3/tests/unit/geo.tcl
/redis-3.2.3/tests/unit/keyspace.tcl
/redis-3.2.3/tests/unit/type/hash.tcl
b684e2da25-Jul-2015 antirez <[email protected]>

deps/hiredis SDS updated to version 2.0.0.

6b836b6b24-Jul-2015 antirez <[email protected]>

Jemalloc: use LG_QUANTUM of 3 for AMD64 and I386.

This gives us a 24 bytes size class which is dict.c dictEntry size, thus
improving the memory efficiency of Redis significantly.
Moreover other non

Jemalloc: use LG_QUANTUM of 3 for AMD64 and I386.

This gives us a 24 bytes size class which is dict.c dictEntry size, thus
improving the memory efficiency of Redis significantly.
Moreover other non 16 bytes aligned tiny classes are added that further
reduce the fragmentation of the allocator.

Technically speaking LG_QUANTUM should be 4 on i386 / AMD64 because of
SSE types and other 16 bytes types, however we don't use those, and our
jemalloc only targets Redis.

New versions of Jemalloc will have an explicit configure switch in order
to specify the quantum value for a platform without requiring any change
to the Jemalloc source code: we'll switch to this system when available.

This change was originally proposed by Oran Agra (@oranagra) as a change
to the Jemalloc script to generate the size classes define. We ended
doing it differently by changing LG_QUANTUM since it is apparently the
supported Jemalloc method to obtain a 24 bytes size class, moreover it
also provides us other potentially useful size classes.

Related to issue #2510.

show more ...

965abcf109-Jul-2015 antirez <[email protected]>

Geo: use ULL suffix for unsigned 64 bit constants.

1e12784209-Jul-2015 antirez <[email protected]>

Geo: -Ofast breaks builds on older GCCs.

5e04189806-Jul-2015 antirez <[email protected]>

Geo: validate long,lat passed by user via API

4160bf0401-Jul-2015 antirez <[email protected]>

Geo: sync faster decoding from krtm that synched from Ardb.

Instead of successive divisions in iteration the new code uses bitwise
magic to interleave / deinterleave two 32bit values into a 64bit on

Geo: sync faster decoding from krtm that synched from Ardb.

Instead of successive divisions in iteration the new code uses bitwise
magic to interleave / deinterleave two 32bit values into a 64bit one.
All tests still passing and is measurably faster, so worth it.

show more ...

d308cadc29-Jun-2015 antirez <[email protected]>

Geo: added my copyright notice in modified files.

f108c68729-Jun-2015 antirez <[email protected]>

Geo: GEODIST and tests.

fa9d62d325-Jun-2015 antirez <[email protected]>

Geo: from lat,lon API to lon,lat API according to GIS standard

The GIS standard and all the major DBs implementing GIS related
functions take coordinates as x,y that is longitude,latitude.
It was a

Geo: from lat,lon API to lon,lat API according to GIS standard

The GIS standard and all the major DBs implementing GIS related
functions take coordinates as x,y that is longitude,latitude.
It was a bad start for Redis to do things differently, so even if this
means that existing users of the Geo module will be required to change
their code, Redis now conforms to the standard.

Usually Redis is very backward compatible, but this is not an exception
to this rule, since this is the first Geo implementation entering the
official Redis source code. It is not wise to try to be backward
compatible with code forks... :-)

Close #2637.

show more ...

55c4a36524-Jun-2015 antirez <[email protected]>

Geo: Fix geohashEstimateStepsByRadius() step underestimation.

The returned step was in some case not enough towards normal
coordinates (for example when our search position was was already near the

Geo: Fix geohashEstimateStepsByRadius() step underestimation.

The returned step was in some case not enough towards normal
coordinates (for example when our search position was was already near the
margin of the central area, and we had to match, using the east or west
neighbor, a very far point). Example:

geoadd points 67.575457940146066 -62.001317572780565 far
geoadd points 66.685439060295664 -58.925040587282297 center
georadius points 66.685439060295664 -58.925040587282297 200 km

In the above case the code failed to find a match (happens at smaller
latitudes too) even if far and center are at less than 200km.

Another fix introduced by this commit is a progressively larger area
towards the poles, since meridians are a lot less far away, so we need
to compensate for this.

The current implementation works comparably to the Tcl brute-force
stress tester implemented in the fuzzy test in the geo.tcl unit for
latitudes between -70 and 70, and is pretty accurate over +/-80 too,
with sporadic false negatives.

A more mathematically clean implementation is possible by computing the
meridian distance at the specified latitude and computing the step
according to it.

show more ...

12345