Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
... | ||||
* | move check_file_readonly() into /src/os/fs.c and rename it | Stefan Hoffmann | 2014-04-03 | |
| | ||||
* | check readonly by trying to open the file for writing... | Stefan Hoffmann | 2014-04-03 | |
| | | | | instead of mch_access, to avoid a possible race condition | |||
* | Use check_symbol_exists() instead of check_function_exists(). | John Szakmeister | 2014-04-03 | |
| | | | | | | | | This is mostly a revert of 477031c03b2c525b117fae8a9b61c98245a06908. Now that we are not setting `CMAKE_C_FLAGS`, the check can work correctly and it helps `pcc` (portable c compiler) make it further along--though it still doesn't produce usable results (see #427 for the details). | |||
* | vim-patch:7.4.166 | Justin M. Keyes | 2014-04-02 | |
| | | | | | | | Problem: Auto-loading a function for code that won't be executed. Solution: Do not auto-load when evaluation is off. (Yasuhiro Matsumoto) https://code.google.com/p/vim/source/detail?r=5d03c374712128077ac4c342aad02120ed98df70 | |||
* | Replace use of mch_rename with rename. | oni-link | 2014-04-02 | |
| | | | | | The macro mch_rename is no longer necessary, because C99 function rename is always available. | |||
* | remove HAVE_WCTYPE_H | oni-link | 2014-04-02 | |
| | ||||
* | remove HAVE_WCHAR_H | oni-link | 2014-04-02 | |
| | ||||
* | remove HAVE_STRTOL | oni-link | 2014-04-02 | |
| | | | | strtol is a C99 standard function. | |||
* | remove HAVE_STRPBRK | oni-link | 2014-04-02 | |
| | | | | strpbrk is a C99 standard function. | |||
* | remove HAVE_STRING_H | oni-link | 2014-04-02 | |
| | ||||
* | remove HAVE_STRFTIME | oni-link | 2014-04-02 | |
| | | | | strftime is a C99 standard function. | |||
* | remove HAVE_STRERROR | oni-link | 2014-04-02 | |
| | | | | strerror is a C99 standard function. | |||
* | remove HAVE_STDLIB_H | oni-link | 2014-04-02 | |
| | ||||
* | remove HAVE_RENAME | oni-link | 2014-04-02 | |
| | | | | rename is a C99 standard function. | |||
* | remove HAVE_DATE_TIME | oni-link | 2014-04-02 | |
| | | | | __DATE__ and __TIME__ are C99 standard predefined macros. | |||
* | Move signal handling to libuv event loop | Thiago de Arruda | 2014-04-01 | |
| | | | | | | | | | | | | | | | | | This removes all signal handling code from os_unix.c to os/signal.c. Now signal handling is done like this: - Watchers for signals are registered with libuv default event loop - `event_poll` continuously calls `poll_uv_loop` to produce events until it receives user input, SIGINT or a timeout - Any signals received in `poll_uv_loop` will push events to a queue that is drained and processed by `event_poll` Signals aren't handled directly in the libuv callback to avoid recursion in the event loop(which isn't supported by libuv). The same principle will apply to other events in the future: Push to a queue from a libuv callback and drain it from `event_poll` | |||
* | Move shorten_filenames back to fileio.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move match_suffix from misc1.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move expand_wildcards{,_eval} from misc1.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move shorten_fname{,1,s} and shorten_filenames from fileio.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move mch_expandpath from os_unix.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move pathcmp from misc2.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move same_directory from misc2.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move after_pathsep from misc2.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move fix_fname from buffer.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move functions from window.c | John Schmidt | 2014-04-01 | |
| | ||||
* | Move simplify_filename from tag.c | John Schmidt | 2014-04-01 | |
| | ||||
* | remove HAVE_{ISWUPPER,ISWLOWER,TOWUPPER,TOWLOWER} | Julian Orth | 2014-03-31 | |
| | ||||
* | remove HAVE_STDARG_H | Julian Orth | 2014-03-31 | |
| | ||||
* | remove HAVE_INTTYPES | Julian Orth | 2014-03-31 | |
| | ||||
* | remove HAVE_MATH_H | Julian Orth | 2014-03-31 | |
| | ||||
* | remove HAVE_SETJMP_H | Julian Orth | 2014-03-31 | |
| | ||||
* | Remove feature HAVE_QSORT | oni-link | 2014-03-31 | |
| | | | | qsort conforms to C99, so we don't need our own version. | |||
* | alloc: xmalloc and xrealloc can't return null | Nicolas Hillegeer | 2014-03-31 | |
| | | | | | With this annotation/function attribute, we can inform gcc that these functions never return null, which can save a lot of redundant null checks. | |||
* | func-attr: add some extra handy function attrs | Nicolas Hillegeer | 2014-03-31 | |
| | | | | | | | | | | | The attributes in question are: - nonnull: specify whether a function argument cannot/may not be null - returns_nonnull: specify whether a function will not return a null pointer (example: xmalloc can't return null, so it should be annotated as such). Only available from gcc 4.9 onwards. Currently these attributes are only supported by gcc. | |||
* | func-attr: clang 3.5 doesn't support alloc_size | Nicolas Hillegeer | 2014-03-31 | |
| | | | | | | | The attribute was removed in commit c047507 in the clang repository as it was never properly implemented anyway. This fixes compiling with clang 3.5. Fixes issue #429 | |||
* | Rename ga_init2() to ga_init() | John Schmidt | 2014-03-31 | |
| | ||||
* | Inline ga_init() | John Schmidt | 2014-03-31 | |
| | ||||
* | Fix shell.{c,h} comments to match the style guide | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Add doxygen comments to the functions in shell.c | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Rewrite `show_shell_mess` as a `ShellOpts` flag | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Update `call_shell` signature to use `ShellOpts` | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Refactor SHELL_* defines into enum typedef | Thiago de Arruda | 2014-03-31 | |
| | | | | | | The SHELL_* defines are the bitflags that can be passed to `mch_call_shell`. The enum is defined in 'os/shell.h', where all shell-related functions will eventually be defined. | |||
* | Refactor/cleanup argument parsing functions | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Extract `shell_build_argv` from `mch_call_shell` | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Make `extra_shell_arg` a `mch_call_shell` parameter | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Extract `shell_count_argc` from `mch_call_shell` | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Extract `shell_skip_word` from `mch_call_shell` | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Split code for counting and parsing arguments | Thiago de Arruda | 2014-03-31 | |
| | ||||
* | Add doxygen-style comments to functions from os/fs.c. | Thomas Wienecke | 2014-03-31 | |
| |