Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[RFC] Getting exit status from job with job-control #1844

Closed
wants to merge 51 commits into from

Commits on Feb 8, 2015

  1. fix neovim#1839: decrement mouse row and col

    - regression by 04c0658
    glebtv authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    5629317 View commit details
    Browse the repository at this point in the history
  2. vim-patch:31f7581

    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    c2e8abe View commit details
    Browse the repository at this point in the history
  3. vim-patch:7.4.514

    Problem:    Memory access error. (Dominique Pelle)
    Solution:   Update tpos. (Christian Brabandt)
    
    https://code.google.com/p/vim/source/detail?r=v7-4-514
    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    b8a2594 View commit details
    Browse the repository at this point in the history
  4. vim-patch:7.4.517

    Problem:    With a wrapping line the cursor may not end up in the right place.
                (Nazri Ramliy)
    Solution:   Adjust n_extra for a Tab that wraps. (Christian Brabandt)
    
    https://code.google.com/p/vim/source/detail?r=v7-4-517
    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    ea2cb92 View commit details
    Browse the repository at this point in the history
  5. vim-patch: Mark 7.4.522, 7.4.591 as NA.

    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    1ffcf5d View commit details
    Browse the repository at this point in the history
  6. tools: add .clang-format

    Configuration for clang-format and related utilities.
    
    Examples:
    
        clang-format -style=file <file>
        git clang-format -style=file <commit>
        git diff -U0 HEAD^ | clang-format-diff.py -i -p1 -style=file
    fmoralesc authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    9931ee6 View commit details
    Browse the repository at this point in the history
  7. api/*.c: Comment cleanup

    - @justinmk: Clarify comments
    - Match verbiage used in other api/*.c files
    - Fix a few typos/missing words
    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    0c972ce View commit details
    Browse the repository at this point in the history
  8. Remove nonnullret deadcode: Mark new nonnullret functions.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    4d78b7c View commit details
    Browse the repository at this point in the history
  9. Remove nonnullret deadcode: addstar.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    592029e View commit details
    Browse the repository at this point in the history
  10. Remove nonnullret deadcode: enc_canonize.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    fc834ea View commit details
    Browse the repository at this point in the history
  11. Remove nonnullret deadcode: getroom.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    72381a4 View commit details
    Browse the repository at this point in the history
  12. Remove nonnullret deadcode: home_replace_save.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    7bfea0e View commit details
    Browse the repository at this point in the history
  13. Remove nonnullret deadcode: str_foldcase & vim_strnsave.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    d49f303 View commit details
    Browse the repository at this point in the history
  14. Remove nonnullret deadcode: transstr.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    5365755 View commit details
    Browse the repository at this point in the history
  15. Remove nonnullret deadcode: vim_strsave.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    304985c View commit details
    Browse the repository at this point in the history
  16. Remove nonnullret deadcode: viminfo_readstring.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    b9c8f70 View commit details
    Browse the repository at this point in the history
  17. Remove nonnullret deadcode: xcalloc.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    61ff9d8 View commit details
    Browse the repository at this point in the history
  18. Remove nonnullret deadcode: xmalloc.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    1e80161 View commit details
    Browse the repository at this point in the history
  19. Remove nonnullret deadcode: xmalloc & xrealloc.

    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    8c1d7ba View commit details
    Browse the repository at this point in the history
  20. Remove spurious file 'del' left after old tests.

    Executing old tests leaves an empty file 'del' that doesn't get removed
    by `make clean`.
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    8c04984 View commit details
    Browse the repository at this point in the history
  21. clipboard: don't clobber "0 when deleting to unnamed

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    c1161f3 View commit details
    Browse the repository at this point in the history
  22. clipboard: more register tests for delete

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    3dbc289 View commit details
    Browse the repository at this point in the history
  23. Fix the ctrl + left click test.

    The test was hoping to not find a tags file, but didn't actively guard
    against it.  In my case, I had a tags file present which was causing
    different output to be generated.  To fix this, let's set the tags
    option to look for an unlikely filename.
    jszakmeister authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    8c56599 View commit details
    Browse the repository at this point in the history
  24. hardcopy.c: Factor out float usage

    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    33f53b9 View commit details
    Browse the repository at this point in the history
  25. Remove '+float' references

    The corresponding code was already removed in
    b4ca3ab
    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    07dedda View commit details
    Browse the repository at this point in the history
  26. travis: Install neovim module for testing the python provider.

    python_spec.lua depends on the python client installed.
    tarruda authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    d4bfc7c View commit details
    Browse the repository at this point in the history
  27. test: Mark unreliable test as pending in job_spec.lua

    `job_send` is non-blocking and can potentially fail due to the following
    `job_stop` call.  Since we can't reliably verify that the "exit" event is only
    sent after the "stdout" event, mark the test as pending and fix after we can
    get a notification about `job_send` status.
    tarruda authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    4e9fb9f View commit details
    Browse the repository at this point in the history
  28. Update to libuv 1.3.0

    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    0d1ae0d View commit details
    Browse the repository at this point in the history
  29. Travis: Fix OS X builds.

    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    4b35b55 View commit details
    Browse the repository at this point in the history
  30. Travis: Run unit tests for Clang build.

    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    cb8ce8d View commit details
    Browse the repository at this point in the history
  31. Fall back to libuv 1.2.0 and fix neovim#1914.

    It appears that commit 393c1c59a27591d705648919b2d7fb921cba37bc (unix:
    set non-block mode in uv_{pipe,tcp,udp}_open) has broken Neovim's
    drawing under OSX.  Let's revert to 1.2.0 until we can figure out what
    is happening and get it fixed.
    jszakmeister authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    559b1d5 View commit details
    Browse the repository at this point in the history
  32. scripts/vim-patch: Allow equivalent shorthand args

    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    bfd06f4 View commit details
    Browse the repository at this point in the history
  33. Add EndOfBuffer hl group for ~ lines after the last line in buffers

    This makes it possible to highlight the lines starting with ~ at the end
    of buffers and other elements highlighted using NonText.
    
    As proposed by mhinz at
    https://groups.google.com/forum/#!topic/vim_dev/p3de1iU1GXI/discussion
    mhinz authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    73443d4 View commit details
    Browse the repository at this point in the history
  34. coverity/13750: Negative array index read: FP.

    Problem    : Negative array index read @ 909.
    Diagnostic : False positive.
    Rationale  : Suggested error path assigns a negative value to idx at
                 line 836 (`idx = find_command(ca.cmdchar);`). That's
                 impossible, as `ca.cmdchar` is set to Ctrl_BSL just two
                 lines above, so we know that value will be in the table.
    Resolution : Assert idx >= 0.
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    a7a8ee3 View commit details
    Browse the repository at this point in the history
  35. coverity/68610: Out-of-bounds access: FP.

    Diagnostic : False positive.
    Rationale  : Coverity thinks we are forgetting to add more char to hold
                 NULL, but it's not taking into account that two chars from
                 cntxformat will no be present in the result. In fact, we
                 can even allocate one byte less than currently done.
    Resolution : Add explanatory comment and allocate one less byte.
                 Marked as "Intentional" at coverity's database.
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    368ea5d View commit details
    Browse the repository at this point in the history
  36. coverity/15019: String not null terminated: FP.

    Problem    : String not null terminated @ 1165.
    Diagnostic : False positive.
    Rationale  : Code below terminates string (with NUL or '\n').
    Resolution : Add explanatory comment, and assert termination.
                 Mark as Intentional at coverity's database.
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    373a2fc View commit details
    Browse the repository at this point in the history
  37. coverity/13745: Argument cannot be negative: RI.

    Problem    : Argument cannot be negative @ 1165.
    Diagnostic : Real issue.
    Rationale  : len can be assigned a negative value @ 1162;
                 len is passed as an unsigned argument @ 1165.
    Resolution : Refactor variable's types:
                 - Use ftello instead of ftell to avoid using long.
                 - Assert ftello result is safely convertible to size_t.
                 - Introduce variable read_size to avoid using i (int).
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    02d6017 View commit details
    Browse the repository at this point in the history
  38. coverity/13810: Unitialized scalar variable: HI.

    Problem    : Unitialized scalar variable @ 3239.
    Diagnostic : Harmless issue.
    Rationale  : It's true pos.coladd is not initialized when calling
                 searchit(). But that's no problem, as coladd is only set in
                 that function.
    Resolution : Initialize variable to 0.
    elmart authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    2a3780e View commit details
    Browse the repository at this point in the history
  39. Travis: Fail fast, disable JIT for functional tests.

    Disable JIT to find cause for random `PANIC: unprotected error in call to Lua API` on Travis (OS X).
    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    02f7168 View commit details
    Browse the repository at this point in the history
  40. test/ui: more informative "unexpected highlight" errors

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    b977678 View commit details
    Browse the repository at this point in the history
  41. test/ui: enable strict mode by default (and in existing tests)

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    332c4c3 View commit details
    Browse the repository at this point in the history
  42. test/ui: update documentation for screen tests

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    000cbd5 View commit details
    Browse the repository at this point in the history
  43. api/vim: allow guis and tests to retrieve the entire color table

    bfredl authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    fc3d193 View commit details
    Browse the repository at this point in the history
  44. deps: Fix libuv md5sum

    tarruda authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    168cad5 View commit details
    Browse the repository at this point in the history
  45. Enable -Wconversion for version.c neovim#1923

    lucashn authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    b189d90 View commit details
    Browse the repository at this point in the history
  46. main.c: usage() improvement

    - Factor out main_msg() in favor of mch_msg() and manual indentation, as to
      provide a much closer representation to the actual output of '--help'.
      'gcc -E' reveals that main_msg() only consists of 3 printf calls
      anyways.
    - Factor out for loop used for printing top part of usage text; just
      print the text normally.
    
    usage() text:
    - Don't print the version; that's what '--version' is for.
    - Be consistent about nomenclature, e.g. '<arg>' denotes required
      argument, '-h | --help' denotes '-h' and '--help' are equivalent, etc.
    - Change some instances of vim{,rc,info} to nvim
    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    01e4c49 View commit details
    Browse the repository at this point in the history
  47. Remove vimdiff

    While we're here:
    - Remove references to the '+diff' feature, which has since been made
      non-optional.
    - Update a few Vim instances with Nvim.
    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    28f2a9e View commit details
    Browse the repository at this point in the history
  48. Remove vimdiff: Review suggestions

    Michael Reed authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    bfc96a7 View commit details
    Browse the repository at this point in the history
  49. doc: diff-mode: minor adjustments

    justinmk authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    d80e14f View commit details
    Browse the repository at this point in the history
  50. CMake: Hide stderr output for successful test runs.

    fwalch authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    45db528 View commit details
    Browse the repository at this point in the history
  51. test: Remove nondeterminism in systemlist interrupt tests

    The systemlist test currently calls the `echo` command which can potentially
    complete before being interrupted, causing random test failures.
    
    Use `yes | xargs` instead. A `yes` invocation that is not piped through `xargs`
    can produce a huge amount of lines in a very short time, leading memory
    starvation when the result is being converted into a list. `xargs` ensures only
    one line of output will be produced while allowing interrupt to be tested.
    tarruda authored and Paul Harper committed Feb 8, 2015
    Configuration menu
    Copy the full SHA
    9a0101c View commit details
    Browse the repository at this point in the history