aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
| * | | Remove HAVE_LIBC_HPavel Platto2014-08-02
| | | | | | | | | | | | | | | | It was used in Vim for NeXT OS.
| * | | Remove HAVE_TOTAL_MEMPavel Platto2014-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | libuv provide uv_get_total_mem_kib. So HAVE_TOTAL_MEM should always be true. Before that commit in neovim maxmem=5120 and maxmemtot=10240. Now both equal to half of system memory.
| * | | Remove FEAT_TAG_ANYWHITEPavel Platto2014-08-02
| | | | | | | | | | | | | | | | | | | | | | | | This feature allow to use any white space characters instead of one <TAB> in tag files. It is disabled in vanilla Vim's default build configuration. Exuberant ctags use format with exactly one TAB.
| * | | Remove FEAT_OSFILETYPEPavel Platto2014-08-02
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Feature description from Vim documentation: NOTE: this code is currently disabled, as the RISC OS implementation was removed. In the future this will use the 'filetype' option. On operating systems which support storing a file type with the file, you can specify that an autocommand should only be executed if the file is of a certain type. The actual type checking depends on which platform you are running Vim on; see your system's documentation for details. To use osfiletype checking in an autocommand you should put a list of types to match in angle brackets in place of a pattern, like this: > :au BufRead *.html,<&faf;HTML> runtime! syntax/html.vim This will match: - Any file whose name ends in ".html" - Any file whose type is "&faf" or "HTML", where the meaning of these types depends on which version of Vim you are using. Unknown types are considered NOT to match.
| * | | Remove EBCDIC: Remove IF_EB macrosPavel Platto2014-08-02
| | | |
| * | | Remove EBCDIC: remove last #ifdef EBCDICPavel Platto2014-08-02
| | | |
| * | | Remove EBCDIC: Clean up commentsPavel Platto2014-08-02
| | | |
| * | | Remove DONT_ADD_PATHSEP_TO_DIR used only in legacy MacPavel Platto2014-08-02
| | | |
| * | | Show +cursorshape in :versionPavel Platto2014-08-02
| | | | | | | | | | | | | | | | | | | | All code which was inside #ifdef CURSOR_SHAPE is being used now, except one in version.c (that occurence is fixed by this commit).
| * | | Remove BEOS_PR_OR_BETTERPavel Platto2014-08-02
| | | |
| * | | Remove BeOS DR8 specific hackPavel Platto2014-08-02
| | |/ | |/| | | | | | | It is already partially removed from screen.c
* | | Remove unused USE_TERM_CONSOLE ifdefs #1015Fredrik Fornwall2014-08-07
| | | | | | | | | | | | This is unused after dropped amiga and msdos support.
* | | Drop SGI IRIS support. #1006Fredrik Fornwall2014-08-07
| | |
* | | Return bool from find_win_for_buf #1023Wayne Rowcliffe2014-08-07
| | |
* | | bugfix: set empty string as default for ipy/icpb to avoid segfaultThiago de Arruda2014-08-06
| |/ |/| | | | | Fixes #1039
* | vim-patch:7.4.315 #1021André Twupack2014-08-03
|/ | | | | | | Problem: Fixes for computation of topline not tested. Solution: Add test. (Hirohito Higashi) https://code.google.com/p/vim/source/detail?r=646616b6ff4defcc7bef0b198b540f6d965a8126
* Partial C99 cleanup of term.c #1020Fredrik Fornwall2014-08-01
|
* vim-patch:7.4.309 #843Will Stamper2014-07-31
| | | | | | | | Problem: When increasing the size of the lower window, the upper window jumps back to the top. (Ron Aaron) Solution: Change setting the topline. (Nobuhiro Takasaki) https://code.google.com/p/vim/source/detail?r=88a6e9f33822d33b6c32db578750c6c178c63f50
* eval: re-add has('mac') and has('macunix') #976Nicolas Hillegeer2014-07-30
| | | | | They were removed but they can be handy to separate some things to do at startup in a .vimrc for example.
* eval: re-remove USE_CR #1002Nicolas Hillegeer2014-07-30
| | | | | It was already removed in 01ca460 and I erroneously introduced it again in PR #978.
* Merge pull request #998 from war1025/dev/buffer_cleanupJustin M. Keyes2014-07-30
|\ | | | | Minor buffer.c style cleanups
| * Minor buffer.c style cleanupsWayne Rowcliffe2014-07-26
| |
* | Remove FEAT_MOUSE_JSBFredrik Fornwall2014-07-29
| | | | | | | | This is never built and references some obscure jsb terminal
* | Remove unused arg 'defer' in 'job_start' #1000oni-link2014-07-29
| | | | | | | | | | | | | | | | | | * With the changes in commit "events: Refactor how event deferral is handled" (2e4ea29d2c7b62eb8baf1c41cd43433e085dda0) the function argument 'defer' of 'job_start' and member variable 'defer' of 'struct job' can be removed. * Update/Fix the documentation for function 'job_start'.
* | rstream: remove 'reading' struct memberNicolas Hillegeer2014-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not necessary, as discussed in #980. From the libuv mailing list: https://groups.google.com/forum/#!topic/libuv/OD38PeGeVgQ E.g. this could happen (red: on Windows): > > alloc_cb(handle1); > > alloc_cb(handle2); > > read_cb(handle1); > > read_cb(handle2); But this couldn't: > > alloc_cb(handle1); > > alloc_cb(handle1); > > read_cb(handle1); > > read_cb(handle1); Because each stream has a 1-to-1 correspondance with a libuv handle. The code removed was never executed. Closes #980.
* | job: increase JOB_BUFFER_SIZE to 0xFFFFNicolas Hillegeer2014-07-27
| | | | | | | | | | | | | | | | | | It used to be 1024 bytes, which is very tiny and slows down some operations (imaging `cat`-ing a large file). Benchmarks show a large speedup for such cases. ref #978. For modern systems 0xFFFF bytes (65535 B = 64 KB = 0.0625 MB) per job shouldn't be a big problem.
* | eval: reimplement f_system() on top of os_system()Nicolas Hillegeer2014-07-27
| | | | | | | | | | | | This evades the tempfile problem (unless of course one manually adds redirects to the shell commandline, which some plugins seem to do, e.g.: vim-easytags).
* | os/shell: implement os_systemNicolas Hillegeer2014-07-27
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | With the goal to support pipe-only system() calls. Notes on the second (vim) argument to f_system() (i.e.: redirected input) and its implications: - When calling system('cat -', ['some', 'list']), vanilla vim (before a recent patch that added support for passing lists) just passes an empty file to the process. This is the same as immediately closing the pipe, which os_system does when no input is given. If we wouldn't close the pipe, the process will linger forever (as is the case with `cat -`). As of now, it's not allowed to pass a non-NULL pointer as the `output` parameter. In other words, it's not possible to signal disinterst in the process output. That may change in the future.
* | job: add in-pipe notification and closing supportNicolas Hillegeer2014-07-27
| | | | | | | | | | | | - One can now manually close the in-pipe, without having to tear down the job. - One can be notified of write success/failure.
* | wstream: allow empty release wbuffer cbNicolas Hillegeer2014-07-27
| | | | | | | | | | Sometimes a wbuffer is not supposed to be free()'d (such as when it comes from a constant (possibly static) string, for example.
* | wstream: write completion callbackNicolas Hillegeer2014-07-27
| | | | | | | | Now modules using the wstream can find out what's happening to their writes.
* | job: implement job_wait()Nicolas Hillegeer2014-07-27
| | | | | | | | Used to wait synchronously for a job to end.
* | os/shell: constify argumentsNicolas Hillegeer2014-07-27
| | | | | | | | Minor fixes
* | Merge pull request #975 from aktau/remove-gettimeofdayJustin M. Keyes2014-07-25
|\ \ | | | | | | remove gettimeofday() usage
| * | term: replace gettimeofday()Nicolas Hillegeer2014-07-21
| | | | | | | | | | | | | | | | | | | | | | | | gettimeofday() is not portable, replace with os_hrtime() wherever possible. The new code should behave equivalently to the old implementation. Because of this, HAVE_GETTIMEOFDAY is no longer necessary To be able to handle double clicks.
| * | sha256: replace gettimeofday()Nicolas Hillegeer2014-07-21
| | | | | | | | | | | | | | | gettimeofday() is not portable. I suspect os_hrtime() is also better as a seed than gettimeofday() or time() were.
| * | viml: re-add sha256() functionNicolas Hillegeer2014-07-21
| | | | | | | | | | | | Was removed in #699 but actually doesn't have anything to do with security.
* | | message: add missing stdarg.h include #993Andrew Chin2014-07-25
| | | | | | | | | | | | | | | | | | Fixes up gcc 4.1 (not specifically a supported compiler but it's standard for varargs anyway so it's good to have it included and depend less on implicit includes).
* | | Merge pull request #986 from aktau/func-attr-enable-more-clangJustin M. Keyes2014-07-24
|\ \ \ | | | | | | | | func_attr: clang/icc support NONNULL_* attr
| * | | func_attr: clang/icc support NONNULL_* attrNicolas Hillegeer2014-07-23
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | Both clang and (apparently) icc support the nonnull attribute. So I'm not sure why it wasn't enabled in the first place. - clang: http://clang-analyzer.llvm.org/annotations.html#attr_nonnull - icc: https://software.intel.com/en-us/forums/topic/280290 (not conclusive evidence, but the best I could find, lacking docs)
* | | Fix memory leaks for jobs.oni-link2014-07-23
| | | | | | | | | | | | | | | Free the data memory of process and pipe handles in the close callback for a job.
* | | Fix memory leak in provider_call.oni-link2014-07-23
|/ / | | | | | | | | If no channel can be found for a method, free argument arg before returning.
* | Change buffer.h #defines to enums so they can be used in testsWayne Rowcliffe2014-07-22
| |
* | Statically allocate NameBuffWayne Rowcliffe2014-07-22
|/
* os/time: fix os_localtime_r on win + add func_attrNicolas Hillegeer2014-07-20
| | | | | | - it makes no sense for these functions to take NULL pointers - if `localtime()` on Windows returns a NULL pointer, the old code would try to dereference it.
* os/time: make os_get_localtime more portableNicolas Hillegeer2014-07-20
| | | | | | gettimeofday() doesn't exist on Windows, as reported by @equalsraf. It seems a call to time() would be sufficient here, as only the seconds since the UNIX epoch are needed.
* os/time: include time.h in os/time.hNicolas Hillegeer2014-07-20
| | | | Include what you use, also in the positive direction.
* startuptime: print vim -> nvimNicolas Hillegeer2014-07-20
|
* startuptime: always enable startuptimeNicolas Hillegeer2014-07-20
| | | | Removes the STARTUPTIME define.
* globals.h: decouple vim.h and globals.hNicolas Hillegeer2014-07-20
| | | | | | | | | Allow globals.h to be included without including vim.h. Another small piece of the puzzle of dismantling vim.h. Moving some extra `#define`'s to globals.h is no better than having them in vim.h. We should, in a later PR, move them to the file where they belong or to a separate `constants.h` or something.