aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * channel: Extract function for sending errors that are not responsesThiago de Arruda2014-06-24
| |
| * channel: Extract 'channel_write' functionThiago de Arruda2014-06-24
| |
| * job: Add a `maxmem` parameter to job_startThiago de Arruda2014-06-24
| | | | | | | | The value is forwarded to it's own WStream instance
| * wstream: Make wstream_write consider the return value from uv_writeThiago de Arruda2014-06-24
| |
| * wstream: Use a default value of 10mb for `maxmem` when 0 is passedThiago de Arruda2014-06-24
| |
| * wstream: Refactor buffer memory managementThiago de Arruda2014-06-24
| | | | | | | | | | - Extract code to release WBuffer instances into `release_wbuffer` - Fix memory leak when wstream_write returns false
| * job: Fix vimscript wrapper by returning when an invalid id is passedThiago de Arruda2014-06-24
| |
| * event: Decouple user input checks from `event_poll`Thiago de Arruda2014-06-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This was done to generalize the usage of `event_poll`, which will now return `true` only if a event has been processed/deferred before the timeout(if not -1). To do that, the `input_ready` calls have been extracted to the input.c module(the `event_poll` call has been surrounded by `input_ready` calls, resulting in the same behavior). The `input_start`/`input_stop` calls still present in `event_poll` are temporary: When the API becomes the only way to read user input, it will no longer be necessary to start/stop the input stream.
| * event: Bail out of event_poll when any event is processedThiago de Arruda2014-06-24
|/ | | | | The loop condition was set to only exit when user input is processed, but we must exit on any event to properly notify `event_poll` callers
* update style guide URLJustin M. Keyes2014-06-23
|
* Use generated declarations in cursor.h #849Pavel Platto2014-06-20
|
* coverity/15010: Remove dead code. #829oni-link2014-06-20
| | | | | | | In win_close_othertab: Code can never be reached because of a logical contradiction (CWE-561). Pointer tp cannot be NULL at this point, so conditional operator ? can be replaced with its second expression.
* vim-patch:7.4.303 #818oni-link2014-06-20
| | | | | | | | Problem: When using double-width characters the text displayed on the command line is sometimes truncated. Solution: Reset the string lenght. (Nobuhiro Takasaki) https://code.google.com/p/vim/source/detail?r=463ef551e9f62b63ac3f85f1f297b668b14bcd09
* vim-patch:7.4.302 #817oni-link2014-06-20
| | | | | | | | Problem: Signs placed with 'foldcolumn' set don't show up after filler lines. Solution: Take filler lines into account. (Olaf Dabrunz) https://code.google.com/p/vim/source/detail?r=df141c80ea3a1ffcbf82d05c1314675231fcfa75
* vim-patch:7.4.301 #816oni-link2014-06-20
| | | | | | | Problem: Still a scrolling problem when loading a session file. Solution: Fix off-by-one mistake. (Nobuhiro Takasaki) https://code.google.com/p/vim/source/detail?r=8cb42aa3c4957a543e5dffe307475dbab969612f
* vim-patch:7.4.298 #815oni-link2014-06-20
| | | | | | | Problem: Can't have a funcref start with "t:". Solution: Add "t" to the list of accepted names. (Yukihiro Nakadaira) https://code.google.com/p/vim/source/detail?r=156f891d520e93eab5d3ce02784660fb13a3b0d3
* Merge #824 'Doxygen neovim.org theme'Justin M. Keyes2014-06-19
|\
| * update customdoxygen.css for doxygen 1.8.7Stefan Hoffmann2014-06-19
| | | | | | | | some icon images in the html are replaced with css.
| * update theme to match neovim.orgStefan Hoffmann2014-06-19
| |
| * add default doxygen 1.8.6 theme filesStefan Hoffmann2014-06-19
| |
| * move documentation output to build/doxygenStefan Hoffmann2014-06-19
|/
* coverity/68215: removed failed variable + dead code from f_readfile #860Will Stamper2014-06-18
|
* spatch to drop check after alloc/lalloc/xmalloc #690Nikolay Orlyuk2014-06-18
|
* Merge pull request #845 'Testdir and top-level Makefile improvements'John Szakmeister2014-06-18
|\
| * Make indentation consistent: use 2-space indent alwaysZyX2014-06-18
| |
| * Use MAKEOVERRIDES to pass SCRIPTS/TESTNUM arguments for `make test`ZyX2014-06-18
| |
| * test1.in is not a test and it must be run alwaysZyX2014-06-18
| | | | | | | | | | test1.in generates files like small.vim, tiny.vim, mbyte.vim, mzscheme.vim, lua.vim which are then used by other tests. So it must be run always.
| * Avoid ever creating .deps directoryZyX2014-06-18
|/ | | | Thanks to @jszakmeister this uses make own features.
* Merge PR #853Thiago de Arruda2014-06-18
|\
| * api: Add helper macros for dealing with API type castsThiago de Arruda2014-06-18
| |
| * api: Enable usage of Arrays and Dictionaries as [k]vectorsThiago de Arruda2014-06-18
| | | | | | | | | | - Rename a/n/m to items/size/capactity in kvec.h - Add capactity field to Arrays/Dictionaries
| * api: Change type of event data to `Object` from `typval_T`Thiago de Arruda2014-06-18
| |
| * api: Rename find_{buffer,window,tabpage}Thiago de Arruda2014-06-18
| | | | | | | | | | They were renamed to find_{buffer,window,tabpage}_by_handle to avoid conflicts with existing functions of the same name.
| * build: increase timeout for run-api-tests.expThiago de Arruda2014-06-18
| |
| * build: Fix error in dispatch generator for functions with channel_idThiago de Arruda2014-06-18
| |
| * events: Refactor how events are queued for processingThiago de Arruda2014-06-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | To make it possible reuse `event_poll` recursively and in other blocking function calls, this changes how deferred/immediate events are processed: - There are two queues in event.c, one for immediate events and another for deferred events. The queue used when pushing/processing events is determined with boolean arguments passed to `event_push`/`event_process` respectively. - Events pushed to the immediate queue are processed inside `event_poll` but after the `uv_run` call. This is required because libuv event loop does not support recursion, and processing events may result in other `event_poll` calls. - Events pushed to the deferred queue are processed later by calling `event_process(true)`. This is required to "trick" vim into treating all asynchronous events as special keypresses, which is the least obtrusive way of introducing asynchronicity into the editor. - RStream instances will now forward the `defer` flag to the `event_push` call.
| * events: Refactor event_poll to use stack-allocated timer handlesThiago de Arruda2014-06-18
| |
| * channel: Make channel_{un}subscribe abort the program for invalid idsThiago de Arruda2014-06-18
| | | | | | | | | | | | These functions will never be called directly by the user so bugs are the only reason for passing invalid channel ids. Instead of returning silently we abort to improve bug detection.
| * job: Refactor job_write to receive WBuffer instances.Thiago de Arruda2014-06-18
| | | | | | | | This was done to give more control over memory management to job_write callers.
| * job: Add defer flag and setter methodThiago de Arruda2014-06-18
| | | | | | | | | | This is has the same effect as the RStream 'defer' flag, but also works for the job's exit event.
| * job: Refactor to use pointers instead of idsThiago de Arruda2014-06-18
| | | | | | | | | | 'job_start' returns the id as an out paramter, and the 'job_find' function is now used by eval.c to translate job ids into pointers.
| * rstream: Implement the rstream_set_defer functionThiago de Arruda2014-06-18
| | | | | | | | | | This function will be used to temporarily change the `defer` flag on rstream instances.
| * rstream: Rename RStream `async` flag to `defer`Thiago de Arruda2014-06-18
| | | | | | | | | | The name `async` was not appropriate to describe the behavior enabled by the flag.
| * wstream: Refactor wstream_new_buffer/wstream_writeThiago de Arruda2014-06-18
| | | | | | | | | | | | | | | | - Removed 'copy' parameter from `wstream_new_buffer`. Callers simply pass a copy of the buffer if required. - Added a callback parameter, which is used to notify callers when the data is successfully written. The callback is also used to free the buffer(if required) and is compatible with `free` from the standard library.
| * wstream: Change wstream_write failure behaviorThiago de Arruda2014-06-17
| | | | | | | | | | | | | | | | | | | | | | Before this change, any write that could cause a WStream instance to use more than `maxmem` would fail, which is not acceptable when writing big chunks of data. (This could happen when returning contents from a big buffer through the API, for example). Writes of any size are now allowed, but before we check if the currently used memory doesn't break the limit. This should be enough to prevent us from stacking data when talking to a locked process.
| * msgpack_rpc: Deal with deserialization failuresThiago de Arruda2014-06-17
|/ | | | | | | | | There seems to be no way to deal with failures when calling `msgpack_unpacker_next`, so this reimplements that function as `msgpack_rpc_unpack`, which has an additional result for detecting failures. On top of that, we make use of the new function to properly return msgpack-rpc errors when something bad happens.
* Merge #787 'removal of redundant OOM error handling'Justin M. Keyes2014-06-16
|\
| * Remove unnecessary comments and unnecessary returnFelipe Oliveira Carvalho2014-06-16
| |
| * Refator return logic in ses_put_fname()Felipe Oliveira Carvalho2014-06-16
| |
| * No OOM for list_alloc()Felipe Oliveira Carvalho2014-06-16
| |