aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* move check_file_readonly() into /src/os/fs.c and rename itStefan Hoffmann2014-04-03
|
* check readonly by trying to open the file for writing...Stefan Hoffmann2014-04-03
| | | | instead of mch_access, to avoid a possible race condition
* Use check_symbol_exists() instead of check_function_exists().John Szakmeister2014-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.166Justin M. Keyes2014-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-link2014-04-02
| | | | | The macro mch_rename is no longer necessary, because C99 function rename is always available.
* remove HAVE_WCTYPE_Honi-link2014-04-02
|
* remove HAVE_WCHAR_Honi-link2014-04-02
|
* remove HAVE_STRTOLoni-link2014-04-02
| | | | strtol is a C99 standard function.
* remove HAVE_STRPBRKoni-link2014-04-02
| | | | strpbrk is a C99 standard function.
* remove HAVE_STRING_Honi-link2014-04-02
|
* remove HAVE_STRFTIMEoni-link2014-04-02
| | | | strftime is a C99 standard function.
* remove HAVE_STRERRORoni-link2014-04-02
| | | | strerror is a C99 standard function.
* remove HAVE_STDLIB_Honi-link2014-04-02
|
* remove HAVE_RENAMEoni-link2014-04-02
| | | | rename is a C99 standard function.
* remove HAVE_DATE_TIMEoni-link2014-04-02
| | | | __DATE__ and __TIME__ are C99 standard predefined macros.
* Move signal handling to libuv event loopThiago de Arruda2014-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.cJohn Schmidt2014-04-01
|
* Move match_suffix from misc1.cJohn Schmidt2014-04-01
|
* Move expand_wildcards{,_eval} from misc1.cJohn Schmidt2014-04-01
|
* Move shorten_fname{,1,s} and shorten_filenames from fileio.cJohn Schmidt2014-04-01
|
* Move mch_expandpath from os_unix.cJohn Schmidt2014-04-01
|
* Move pathcmp from misc2.cJohn Schmidt2014-04-01
|
* Move same_directory from misc2.cJohn Schmidt2014-04-01
|
* Move after_pathsep from misc2.cJohn Schmidt2014-04-01
|
* Move fix_fname from buffer.cJohn Schmidt2014-04-01
|
* Move functions from window.cJohn Schmidt2014-04-01
|
* Move simplify_filename from tag.cJohn Schmidt2014-04-01
|
* remove HAVE_{ISWUPPER,ISWLOWER,TOWUPPER,TOWLOWER}Julian Orth2014-03-31
|
* remove HAVE_STDARG_HJulian Orth2014-03-31
|
* remove HAVE_INTTYPESJulian Orth2014-03-31
|
* remove HAVE_MATH_HJulian Orth2014-03-31
|
* remove HAVE_SETJMP_HJulian Orth2014-03-31
|
* Remove feature HAVE_QSORToni-link2014-03-31
| | | | qsort conforms to C99, so we don't need our own version.
* alloc: xmalloc and xrealloc can't return nullNicolas Hillegeer2014-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 attrsNicolas Hillegeer2014-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_sizeNicolas Hillegeer2014-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 Schmidt2014-03-31
|
* Inline ga_init()John Schmidt2014-03-31
|
* Fix shell.{c,h} comments to match the style guideThiago de Arruda2014-03-31
|
* Add doxygen comments to the functions in shell.cThiago de Arruda2014-03-31
|
* Rewrite `show_shell_mess` as a `ShellOpts` flagThiago de Arruda2014-03-31
|
* Update `call_shell` signature to use `ShellOpts`Thiago de Arruda2014-03-31
|
* Refactor SHELL_* defines into enum typedefThiago de Arruda2014-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 functionsThiago de Arruda2014-03-31
|
* Extract `shell_build_argv` from `mch_call_shell`Thiago de Arruda2014-03-31
|
* Make `extra_shell_arg` a `mch_call_shell` parameterThiago de Arruda2014-03-31
|
* Extract `shell_count_argc` from `mch_call_shell`Thiago de Arruda2014-03-31
|
* Extract `shell_skip_word` from `mch_call_shell`Thiago de Arruda2014-03-31
|
* Split code for counting and parsing argumentsThiago de Arruda2014-03-31
|
* Add doxygen-style comments to functions from os/fs.c.Thomas Wienecke2014-03-31
|