Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Modules: AbortBlock() API implemented. | antirez | 2016-10-13 | 1 | -0/+2 |
| | |||||
* | Modules: RM_Milliseconds() API added. | antirez | 2016-10-07 | 1 | -0/+2 |
| | |||||
* | Modules: blocking commands WIP: API exported, a first example. | antirez | 2016-10-07 | 1 | -0/+11 |
| | |||||
* | Modules: introduce warning suppression macro for unused args. | antirez | 2016-10-07 | 1 | -0/+2 |
| | |||||
* | Fix typos in GetContextFromIO API declaration.module-io-context | antirez | 2016-10-06 | 1 | -3/+2 |
| | |||||
* | Module: Ability to get context from IO context. | antirez | 2016-10-06 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | It was noted by @dvirsky that it is not possible to use string functions when writing the AOF file. This sometimes is critical since the command rewriting may need to be built in the context of the AOF callback, and without access to the context, and the limited types that the AOF production functions will accept, this can be an issue. Moreover there are other needs that we can't anticipate regarding the ability to use Redis Modules APIs using the context in order to build representations to emit AOF / RDB. Because of this a new API was added that allows the user to get a temporary context from the IO context. The context is auto released if obtained when the RDB / AOF callback returns. Calling multiple time the function to get the context, always returns the same one, since it is invalid to have more than a single context. | ||||
* | Modules: API to save/load single precision floating point numbers. | antirez | 2016-10-03 | 1 | -0/+4 |
| | | | | | When double precision is not needed, to take 2x space in the serialization is not good. | ||||
* | Modules: API to log from module I/O callbacks. | antirez | 2016-10-02 | 1 | -0/+2 |
| | |||||
* | added RM_CreateStringPrintf | Dvir Volk | 2016-09-21 | 1 | -0/+2 |
| | |||||
* | Modules: initial draft for a testing module. | antirez | 2016-08-03 | 1 | -0/+2 |
| | |||||
* | Modules: StringAppendBuffer() and ability to retain strings. | antirez | 2016-08-02 | 1 | -0/+4 |
| | | | | | | | | | | | | | 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. | ||||
* | Fix RedisModule_Calloc() definition typo. | Yossi Gottlieb | 2016-06-23 | 1 | -1/+1 |
| | |||||
* | Merge pull request #3335 from dvirsky/rm_calloc | Salvatore Sanfilippo | 2016-06-23 | 1 | -0/+3 |
|\ | | | | | added RM_Calloc implementation | ||||
| * | added RM_Calloc implementation | Dvir Volk | 2016-06-22 | 1 | -0/+3 |
| | | |||||
* | | Merge pull request #3336 from yossigo/create_string_from_string | Salvatore Sanfilippo | 2016-06-23 | 1 | -0/+2 |
|\ \ | | | | | | | Add RedisModule_CreateStringFromString(). | ||||
| * | | Add RedisModule_CreateStringFromString(). | Yossi Gottlieb | 2016-06-22 | 1 | -0/+2 |
| |/ | |||||
* | | Merge pull request #3330 from yossigo/fix_const | Salvatore Sanfilippo | 2016-06-23 | 1 | -3/+3 |
|\ \ | | | | | | | Use const in Redis Module API where possible. | ||||
| * | | Use const in Redis Module API where possible. | Yossi Gottlieb | 2016-06-20 | 1 | -3/+3 |
| |/ | |||||
* | | Modules: changes to logging function. | antirez | 2016-06-23 | 1 | -8/+1 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | Add RedisModule_Log() logging API function. | Yossi Gottlieb | 2016-06-23 | 1 | -0/+9 |
|/ | |||||
* | Remove gcc warning when redismodule.h is included by a multi-file | Yossi Gottlieb | 2016-06-07 | 1 | -0/+1 |
| | | | | module. | ||||
* | Modules: support for modules native data types. | antirez | 2016-06-03 | 1 | -0/+48 |
| | |||||
* | Modules: initial pool allocator and a LEFTPAD usage example. | antirez | 2016-05-14 | 1 | -0/+2 |
| | |||||
* | Modules: RM_GetClientId() implemented. | antirez | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | Modules: command <-> core interface modified to get flags & keys. | antirez | 2016-05-10 | 1 | -1/+5 |
| | |||||
* | Modules: Hash API defines made more uniform. | antirez | 2016-05-10 | 1 | -10/+6 |
| | |||||
* | Modules: Hash type API WIP #2. | antirez | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | Modules: Hash type API WIP #1. | antirez | 2016-05-10 | 1 | -0/+17 |
| | |||||
* | Modules: postponed array lengths. | antirez | 2016-05-10 | 1 | -0/+6 |
| | |||||
* | Modules: zset lex iterator #3. | antirez | 2016-05-10 | 1 | -1/+5 |
| | |||||
* | Modules: zset iterator redesign #1. | antirez | 2016-05-10 | 1 | -26/+4 |
| | |||||
* | Modules: sorted set iterators WIP #3. | antirez | 2016-05-10 | 1 | -0/+4 |
| | |||||
* | Modules: sorted set iterators WIP. | antirez | 2016-05-10 | 1 | -0/+40 |
| | |||||
* | Modules: ZSET API WIP #4. | antirez | 2016-05-10 | 1 | -1/+3 |
| | |||||
* | Modules: ZSET API WIP #3. | antirez | 2016-05-10 | 1 | -0/+6 |
| | |||||
* | Modules: ZSET API WIP #2. | antirez | 2016-05-10 | 1 | -0/+7 |
| | |||||
* | Modules: expire API and documentation. | antirez | 2016-05-10 | 1 | -0/+9 |
| | |||||
* | Modules: RedisModule_ReplyWithCallReply(). | antirez | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | Modules: RedisModule_ReplyWithNull() implemented. | antirez | 2016-05-10 | 1 | -0/+2 |
| | |||||
* | Modules: avoid conflict between modules func pointers and dynamic symbols. | antirez | 2016-05-10 | 1 | -1/+2 |
| | | | | | | | | | | | | | | | | | | | | In modules we fill a set of function pointers defined in redismodule.h, populating a set of APIs that are callable from the module. We use this manual process instead of resorting to dynamic linking so that we have exact control on how we pass the API to the module, and we can even pass different functions for the same name, depending on the API version declared by the module. However if the function pointers in redismodule.h and the functions defined in module.c have the same name, they conflict since the core exports the symbols to the module. There is probably some compiler flags trick to avoid this, but in order to be safer in the future and be more easily compatible with different builidng systems, this commit changes the internal function prefix from RedisModule_ to RM_, so for example: RM_StringSet() will be exported as RedisModule_StringSet() | ||||
* | Modules: first preview 31 March 2016. | antirez | 2016-05-10 | 1 | -0/+152 |