Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Lua debugger: infinite loop detection.ldb | antirez | 2015-11-18 | 1 | -7/+35 |
| | |||||
* | Lua debugger: fix trace command infinite loop. | antirez | 2015-11-17 | 1 | -5/+6 |
| | | | | Thanks to Itamar Haber for bug report and test case to reproduce. | ||||
* | Lua debugger: maxlen command implemented. | antirez | 2015-11-17 | 1 | -14/+54 |
| | | | | Let the user control the replies truncation. | ||||
* | Lua debugger: trace command implemented. | antirez | 2015-11-17 | 1 | -0/+24 |
| | |||||
* | Lua debugger: print without args show all local vars. | antirez | 2015-11-17 | 1 | -5/+34 |
| | |||||
* | Lua debugger: default behavior of "list" command changed. | antirez | 2015-11-17 | 1 | -4/+14 |
| | | | | | | Now it lists code around the current position by default. Can list any other part using other arguments, but a new "whole" command was added in order to show the whole source code easily. | ||||
* | Lua debugging: fix error message for SCRIPT DEBUG. | antirez | 2015-11-17 | 1 | -1/+1 |
| | | | | | | "async" -> "sync". Thanks to Itamar Haber for reporting. | ||||
* | Lua debugger: reply +OK to SCRIPT DEBUG no. | antirez | 2015-11-17 | 1 | -0/+1 |
| | | | | Thanks to Itamar Haber for reporting. | ||||
* | Lua debugger: call wait3() if there are pending forked debugging sessions. | antirez | 2015-11-17 | 1 | -0/+6 |
| | |||||
* | Lua debugger: abort implemented. | antirez | 2015-11-17 | 1 | -0/+5 |
| | |||||
* | Lua debugger: ldbSendLogs() memory leak fixed. | antirez | 2015-11-17 | 1 | -0/+1 |
| | |||||
* | Lua debugger: better support for synchronous mode. | antirez | 2015-11-17 | 1 | -0/+6 |
| | |||||
* | Lua debugger: handle forked sessions children during shutdown. | antirez | 2015-11-17 | 1 | -1/+41 |
| | |||||
* | Lua debugger: fix help typo, beark -> break. | antirez | 2015-11-17 | 1 | -4/+4 |
| | |||||
* | Lua debugger: clear end of session protocol. | antirez | 2015-11-17 | 1 | -0/+4 |
| | | | | | | | When the debugger exits now it produces an <endsession> tag that informs redis-cli (or other debugging clients) that the session terminated. This way the client knows there is yet another reply to read (the one of the EVAL script itself), and can switch to non-debugging mode ASAP. | ||||
* | Lua debugger: redis.debug() implemented. | antirez | 2015-11-17 | 1 | -15/+43 |
| | |||||
* | Lua debugger: removing breakpoints now works. | antirez | 2015-11-17 | 1 | -1/+1 |
| | |||||
* | Lua debugger: redis command implemented. | antirez | 2015-11-17 | 1 | -1/+26 |
| | |||||
* | Lua debugger: try to eval as expression first. | antirez | 2015-11-17 | 1 | -4/+13 |
| | | | | | | | | | It's handly to just eval "5+5" without the return and see it printed on the screen as result. However prepending "return" does not always result into valid Lua code. So what we do is to exploit a common Lua community trick of trying to compile with return prepended, and if compilation fails then it's not an expression that can be returned, so we try again without prepending "return". Works great apparently. | ||||
* | Lua debugger: much better Lua values pretty printer. | antirez | 2015-11-17 | 1 | -16/+69 |
| | |||||
* | Lua debugger: print now handles ARGV and KEYS. | antirez | 2015-11-17 | 1 | -2/+10 |
| | |||||
* | Lua debugger: added comment about helper functions. | antirez | 2015-11-17 | 1 | -0/+3 |
| | |||||
* | Lua debugger: redis.breakpoint() implemented. | antirez | 2015-11-17 | 1 | -2/+27 |
| | |||||
* | Lua debugger: output improvements, eval command. | antirez | 2015-11-17 | 1 | -48/+160 |
| | |||||
* | Lua debugger: breakpoints. | antirez | 2015-11-17 | 1 | -11/+95 |
| | |||||
* | Lua debugger: ability to show local vars content. | antirez | 2015-11-17 | 1 | -7/+85 |
| | |||||
* | Lua debugger: log Redis commands. List command. | antirez | 2015-11-17 | 1 | -7/+80 |
| | |||||
* | Lua debugger: initial REPL. | antirez | 2015-11-17 | 1 | -18/+154 |
| | |||||
* | Lua debugger: foundations implemented. | antirez | 2015-11-17 | 1 | -17/+181 |
| | |||||
* | Merge pull request #2848 from badboy/removed-printf | Salvatore Sanfilippo | 2015-11-09 | 1 | -1/+0 |
|\ | | | | | Remove printf | ||||
| * | Remove printf | Jan-Erik Rediger | 2015-11-04 | 1 | -1/+0 |
| | | |||||
* | | Scripting: fix redis.call() error reporting. | antirez | 2015-11-09 | 1 | -5/+18 |
| | | | | | | | | | | | | | | Arguments arity and arguments type error of redis.call() were not reported correctly to Lua, so the command acted in this regard like redis.pcall(), but just for two commands. Redis.call() should always raise errors instead. | ||||
* | | Initialize all Lua scripting related things into scripting.c | antirez | 2015-11-05 | 1 | -5/+31 |
| | | |||||
* | | scripting.c source code better organized into sections. | antirez | 2015-11-05 | 1 | -155/+181 |
|/ | |||||
* | Scripting: ability to turn on Lua commands style replication globally. | antirez | 2015-10-30 | 1 | -1/+1 |
| | | | | | | Currently this feature is only accessible via DEBUG for testing, since otherwise depending on the instance configuration a given script works or is broken, which is against the Redis philosophy. | ||||
* | Scripting: fix error reporting of many Redis provided functions. | antirez | 2015-10-30 | 1 | -14/+14 |
| | |||||
* | Fix call() FORCE_REPL/AOF flags setting. | antirez | 2015-10-30 | 1 | -13/+14 |
| | | | | | This commit also inverts two stanzas of the code just becuase they are more logical like that, not because currently it makes any difference. | ||||
* | Lua script selective replication fixes. | antirez | 2015-10-30 | 1 | -5/+5 |
| | |||||
* | Lua script selective replication WIP. | antirez | 2015-10-30 | 1 | -2/+56 |
| | |||||
* | Scripting: single commands replication mode implemented. | antirez | 2015-10-30 | 1 | -7/+67 |
| | | | | | | | | | | | | | | | | | By calling redis.replicate_commands(), the scripting engine of Redis switches to commands replication instead of replicating whole scripts. This is useful when the script execution is costly but only results in a few writes performed to the dataset. Morover, in this mode, it is possible to call functions with side effects freely, since the script execution does not need to be deterministic: anyway we'll capture the outcome from the point of view of changes to the dataset. In this mode math.random() returns different sequences at every call. If redis.replicate_commnads() is not called before any other write, the command returns false and sticks to whole scripts replication instead. | ||||
* | Lazyfree: client output buffers no longer use Redis Objects. | antirez | 2015-10-01 | 1 | -2/+2 |
| | |||||
* | RDMF: More consistent define names. | antirez | 2015-07-27 | 1 | -29/+29 |
| | |||||
* | RDMF: REDIS_OK REDIS_ERR -> C_OK C_ERR. | antirez | 2015-07-26 | 1 | -11/+11 |
| | |||||
* | RDMF: redisAssert -> serverAssert. | antirez | 2015-07-26 | 1 | -3/+3 |
| | |||||
* | RDMF: OBJ_ macros for object related stuff. | antirez | 2015-07-26 | 1 | -2/+2 |
| | |||||
* | RDMF: use client instead of redisClient, like Disque. | antirez | 2015-07-26 | 1 | -7/+7 |
| | |||||
* | RDMF: redisLog -> serverLog. | antirez | 2015-07-26 | 1 | -4/+4 |
| | |||||
* | RDMF (Redis/Disque merge friendlyness) refactoring WIP 1. | antirez | 2015-07-26 | 1 | -1/+1 |
| | |||||
* | Merge branch 'sds' into unstable | antirez | 2015-07-24 | 1 | -8/+4 |
|\ | |||||
| * | sds size classes - memory optimization | Oran Agra | 2015-07-14 | 1 | -8/+4 |
| | |