antirez
8acbe45ac1
Modules: basic call/reply tests in test module.
2016-08-03 18:10:11 +02:00
antirez
e3cb70f2e4
Modules: initial draft for a testing module.
2016-08-03 10:23:03 +02:00
antirez
f7a8b65f3d
Modules: StringAppendBuffer() and ability to retain strings.
...
RedisModule_StringRetain() allows, when automatic memory management is
on, to keep string objects living after the callback returns. Can also
be used in order to use Redis reference counting of objects inside
modules.
The reason why this is useful is that sometimes when implementing new
data types we want to reference RedisModuleString objects inside the
module private data structures, so those string objects must be valid
after the callback returns even if not referenced inside the Redis key
space.
2016-08-02 15:29:04 +02:00
antirez
ab5f761493
Remove extra "-" from ASCII horizontal bar in comment.
2016-08-02 10:32:44 +02:00
antirez
f846c9a692
Modules: mention RedisModule_Calloc() in the doc.
2016-06-23 16:20:48 +02:00
Salvatore Sanfilippo
cea51549b8
Merge pull request #3336 from yossigo/create_string_from_string
...
Add RedisModule_CreateStringFromString().
2016-06-23 16:16:28 +02:00
antirez
d2ace2c15a
Modules: changes to logging function.
...
This commit changes what provided by PR #3315 (merged) in order to
let the user specify the log level as a string.
The define could be also used, but when this happens, they must be
decoupled from the defines in the Redis core, like in the other part of
the Redis modules implementations, so that a switch statement (or a
function) remaps between the two, otherwise we are no longer free to
change the internal Redis defines.
2016-06-23 12:11:30 +02:00
Yossi Gottlieb
ee0ea33013
Add RedisModule_Log() logging API function.
2016-06-23 12:01:44 +02:00
Yossi Gottlieb
c7ec9f280f
Add RedisModule_CreateStringFromString().
2016-06-22 21:02:40 +03:00
antirez
13c31161bf
Modules doc: hint about replacing libc malloc calls.
2016-06-22 15:24:51 +02:00
Salvatore Sanfilippo
d22997b6c6
Merge pull request #3281 from jamespedwards42/unstable
...
Fix modules intro typos.
2016-06-15 12:51:15 +02:00
antirez
0447d174d4
Modules: document how to pass config params to modules.
...
Related to #3293 .
2016-06-13 10:05:28 +02:00
antirez
ef30aa5fc8
Fix example modules to have the right OnLoad() prototype.
...
Related to #3293 .
2016-06-13 09:57:19 +02:00
antirez
976f8a2911
Fix typo: after -> before.
2016-06-10 10:39:38 +02:00
antirez
71174b8d33
Explain why module type names are 9 chars.
2016-06-10 10:36:09 +02:00
antirez
2aed003127
modules API.md updated.
2016-06-04 12:55:39 +02:00
antirez
4819313e84
Modules: native types doc, 70% done.
2016-06-04 12:54:18 +02:00
antirez
9a2d153985
Modules: pool allocator doc.
2016-06-03 18:32:35 +02:00
antirez
5932f87aa2
Modules: top comments in helloworld.c and hellotype.c.
2016-06-03 18:19:31 +02:00
antirez
9deb98167b
Modules: support for modules native data types.
2016-06-03 18:14:04 +02:00
jamespedwards42
3a1c815a6a
Fix modules intro typos.
2016-05-29 15:53:24 -07:00
antirez
cae2bd9aca
Modules: initial pool allocator and a LEFTPAD usage example.
2016-05-14 19:42:31 +02:00
antirez
ff44da7d45
Modules: doc layout improved.
2016-05-10 18:54:58 +02:00
antirez
c30eda1876
Modules doc: mention the functions not yet documented.
2016-05-10 15:50:21 +02:00
Ramon Snir
89356469b5
vector of strings is implemented now
2016-05-10 06:40:10 +02:00
antirez
8ff424c77f
Modules: command <-> core interface modified to get flags & keys.
2016-05-10 06:40:09 +02:00
antirez
74213de9f0
Modules: REDISMODULE_POSTPONED_ARRAY_LEN doc.
2016-05-10 06:40:09 +02:00
antirez
e147db3f80
Modules: Hash API defines made more uniform.
2016-05-10 06:40:09 +02:00
antirez
efddfedc5d
Modules: Hash type API WIP #2 .
2016-05-10 06:40:09 +02:00
antirez
b1778b855d
Modules: Hash type API WIP #1 .
2016-05-10 06:40:09 +02:00
antirez
415e58b0b7
Modules: a few fixes for the zset iterator.
2016-05-10 06:40:09 +02:00
antirez
46ea6fd58b
Modules: zset lex iterator #3 .
2016-05-10 06:40:09 +02:00
antirez
5b8a856d14
Modules: zset iterator redesign #1 .
2016-05-10 06:40:08 +02:00
antirez
5602b24cff
Simple Ruby script to generate reference doc added.
2016-05-10 06:40:08 +02:00
antirez
073e9a3213
Modules: sorted set iterators WIP #3 .
2016-05-10 06:40:08 +02:00
antirez
d43b5498f4
Modules: sorted set iterators WIP.
2016-05-10 06:40:08 +02:00
antirez
760ec75e45
Modules: ZSET API WIP.
2016-05-10 06:40:07 +02:00
antirez
2154600f4d
Modules: expire API and documentation.
2016-05-10 06:40:07 +02:00
antirez
2deb684011
Modules: RedisModule_ReplyWithCallReply().
2016-05-10 06:40:07 +02:00
Itamar Haber
2648ddb7c4
Stops SPLICE from accepting negative counts
2016-05-10 06:40:07 +02:00
Dvir Volk
614dac78e9
fixed the doc with a right function name
2016-05-10 06:40:06 +02:00
Dvir Volk
a70f8779b7
fixed makefile for linux
2016-05-10 06:40:05 +02:00
antirez
83fe739fb6
Modules: first preview 31 March 2016.
2016-05-10 06:40:05 +02:00