Commit Graph

3978 Commits

Author SHA1 Message Date
Justin M. Keyes
6d50f4d0c9 Merge #3297 'move.c refactor' 2015-09-10 00:32:43 -04:00
Rui Abreu Ferreira
b50cc42eb7 Windows: Link against libraries libuv needs on Windows. 2015-09-09 17:44:22 -04:00
Florian Walch
de3689a46f Merge #3307 'Travis: Rebuild third-party deps when updated'. 2015-09-09 20:22:00 +02:00
Florian Walch
fd23d588fe deps: Update unibilium to 1.2.0.
Changes since 1.1.4 (from [1]):

1.1.5   2015-07-17:
        - doc/unibi_{get,set}_ext_*_name: Fix man's “can't break line” warnings
        - Merge pull request #12 from Debian/manpage-warnings
        - fix variable name parsing in %g/%P (gh #14)

1.1.6   2015-07-23:
        - neatify formatting
        - factor out TAP pseudo-library
        - regenerate static tests
        - add screen-256color sanity test
        - make ok() accept printf varargs
        - regenerate static tests
        - mark test functions as potentially unused
        - more test stuff
        - use note for annotations instead of diag
        - regenerate static tests
        - fix nested conditionals
        - add ansi-pfkey test because why not

1.2.0   2015-08-14:
        - add helper functions for unibi_var_t manipulation
        - document semantics of zero-initializing unibi_var_t

[1] https://github.com/mauke/unibilium/compare/v1.1.4...v1.2.0
2015-09-09 17:23:22 +02:00
Florian Walch
10cdf8c286 Travis: Cache third-party build directory.
Instead of just caching the third-party build output, cache the full
build directory. Always run make to ensure that updated dependencies
are downloaded.
2015-09-09 17:23:22 +02:00
Florian Walch
b480eb069b CMake: Don't use existing third-party sources by default.
Introduce ALLOW_EXISTING_SRC_DIR option, turned off by default.

The Homebrew formula, which downloads and extracts the third-party
dependency sources before starting the build, would turn this option
ON.
2015-09-09 17:23:22 +02:00
Justin M. Keyes
41446715b4 Merge pull request #3298 from oni-link/vim-7.4.609
vim-patch:7.4.609
2015-09-09 00:43:04 -04:00
Justin M. Keyes
a5b4e943be Merge pull request #3308 from oni-link/fix.clang.report
Fix warning: stream.c: stream_init(): Dead store: HI.
2015-09-09 00:42:27 -04:00
Justin M. Keyes
87ffa7794b Merge pull request #3317 from fwalch/cmake/git-lookup
CMake: Use project directory to look for Git revision.
2015-09-09 00:40:34 -04:00
Enrico Ghirardi
1d1963e90e api: buffer_insert: fix bounds. #3315
buffer_insert calls buffer_set_line_slice excluding the start
line number and including the end, but it should be the opposite.

Closes https://github.com/neovim/neovim/issues/3212
Closes https://github.com/neovim/python-client/issues/103
2015-09-09 00:35:52 -04:00
Justin M. Keyes
3736a613e8 doc: 'encoding' 2015-09-09 00:04:39 -04:00
Florian Walch
231ac048aa CMake: Use project directory to look for Git revision.
If downloading Neovim as a tarball (i.e. without Git data),
building Neovim will search parent directories for a .git directory.
Explicitly set GIT_DIR to the project directory to avoid that.
2015-09-08 22:54:57 +02:00
Justin M. Keyes
9468e53869 Merge #2929 'Disallow "set encoding" after startup' 2015-09-08 08:51:59 -04:00
oni-link
217b6bc123 Fix warning: stream.c: stream_init(): Dead store: HI.
Problem     : Dead store @ 59.
Diagnostic  : Harmless issue.
Rationale   : loop is a function parameter that is not used anymore
              after this line.
Resolution  : Remove line.

Based on: http://neovim.io/doc/reports/clang/report-27475f.html#EndPath
2015-09-08 14:35:19 +02:00
Nicolas Cornu
23acaf8940 Scope variables in move.c 2015-09-08 13:51:36 +02:00
Björn Linse
087f3bacaf encoding: test that &encoding cannot be changed
Helped-By: Justin M. Keyes <justinkz@gmail.com>
2015-09-08 10:56:15 +02:00
Björn Linse
ffff2c9c47 encoding: Update handling of encoding in tests
Always run tests with encoding=utf-8, regardless of user locale
Don't set &encoding after startup in tests

Helped-By: Michael Reed <m.reed@mykolab.com>
2015-09-08 10:54:31 +02:00
Björn Linse
e99368104a encoding: update docs for encoding
Helped-By: Michael Reed <m.reed@mykolab.com>
Helped-By: Justin M. Keyes <justinkz@gmail.com>
2015-09-08 10:54:01 +02:00
Björn Linse
fa5827b144 encoding: simplify handling of encoding in TUI 2015-09-08 10:53:44 +02:00
Björn Linse
6769438cd1 encoding: don't allow changing encoding after startup scripts 2015-09-08 10:53:27 +02:00
Rui Abreu Ferreira
dc9652e68d Windows: disable libuv argument escaping for uv_spawn #3305
When calling uv_spawn to launch a process set the libuv process flag
UV_PROCESS_WINDOWS_VERBATIM_ARGUMENTS to disable escaping for the
arguments otherwise libuv will wrap arguments in quotes.
2015-09-08 01:23:21 -04:00
Nicolas Cornu
600bb285f6 Replace TRUE/FALSE with true/false in move.c 2015-09-08 02:34:50 +02:00
Nicolas Cornu
16e9c853df hasFolding return bool now 2015-09-08 02:34:50 +02:00
Nicolas Cornu
63a39015f5 hasFoldingWin now return bool 2015-09-08 02:34:43 +02:00
Rui Abreu Ferreira
5230aa8de9 MSVC: Fix declaration generation. #3301 2015-09-07 20:06:20 -04:00
Nicolas Cornu
41778e2e10 win_T.w_cline_folded from int to bool 2015-09-07 15:03:47 +02:00
oni-link
6ea21f5668 vim-patch:7.4.609
Problem:    For complicated list and dict use the garbage collector can run
            out of stack space.
Solution:   Use a stack of dicts and lists to be marked, thus making it
            iterative instead of recursive. (Ben Fritz)

2459a5ecaa
2015-09-07 13:03:15 +02:00
Thiago de Arruda
bb46cc2c9c Merge PR #3246 'Run builtin TUI in a another thread' 2015-09-07 07:47:17 -03:00
Thiago de Arruda
eb001a4abd tui: Refactor for running in another thread 2015-09-06 09:18:53 -03:00
Thiago de Arruda
9f9710aab4 ui: Implement module for thread-safe communication with U
The ui_bridge.c module implements a surrogate UI that forwards calls to another
thread.
2015-09-06 09:18:53 -03:00
Thiago de Arruda
c20b802511 loop: Improvements for thread-safety
- Implement `loop_schedule` method for queueing events from other threads
- Make `loop_poll_events` `recursive` static variable a field of the Loop
  structure
2015-09-06 09:18:53 -03:00
Thiago de Arruda
203a4d5650 queue: Allow direct appending to parent queues 2015-09-06 09:18:52 -03:00
Thiago de Arruda
2a0ff9f5cf log: Make logging thread-safe 2015-09-06 09:18:52 -03:00
Thiago de Arruda
9ec240e03f build: Disable gcov on TSAN builds
It seems GCOV does not play well with TSAN as it reports false data races
2015-09-06 09:18:52 -03:00
Thiago de Arruda
7eaeed112e travis: Enable TSAN for sanity checking the terminal UI 2015-09-06 09:18:52 -03:00
Thiago de Arruda
5bb4139e6c contrib: Implement gdb pretty printer for UGrid 2015-09-06 09:18:52 -03:00
Thiago de Arruda
f5c5cdb306 tui: Move screen state tracking to new "ugrid" module
The ugrid module implements a unicode "drawing" grid and is used to store TUI
screen state. Later this module will be reused in other layers.
2015-09-06 09:18:52 -03:00
Thiago de Arruda
cb9ae4e373 tui: move term_input.inl into the input.c module 2015-09-06 09:18:52 -03:00
oni-link
f39ac69824 Merge pull request #3288 from oni-link/vim-7.4.602
vim-patch:7.4.602 #3288
    
Problem:    ":set" does not accept hex numbers as documented.
Solution:   Use vim_str2nr(). (ZyX)
    
18400e6430
2015-09-06 08:11:29 +02:00
oni-link
615e298a94 vim-patch:7.4.602
Problem:    ":set" does not accept hex numbers as documented.
Solution:   Use vim_str2nr(). (ZyX)

18400e6430
2015-09-06 07:30:52 +02:00
Rui Abreu Ferreira
e2cbac7634 MSVC: Include limits.h for INT_MAX. #3290 2015-09-05 12:02:59 -04:00
Felipe Morales
77e416b711 do_path_expand: Avoid non-readable directories. #3273
Closes https://github.com/neovim/neovim/issues/3164
Closes https://github.com/neovim/neovim/issues/3194
Closes https://github.com/neovim/neovim/issues/3221

Helped-by: @splinterofchaos
Helped-by: @oni-link
Helped-by: @justinmk
2015-09-04 19:56:37 -04:00
Björn Linse
c51864b826 Merge "Remove instances of TRUE/FALSE" #3272 2015-09-04 11:18:39 +02:00
Felipe Morales
11b8c76e41 fixup: appease clint 2015-09-04 11:07:36 +02:00
Steven Oliver
f7c5dc4db2 Remove instances of TRUE/FALSE macro
memory.c
os_unix.c
path.c
2015-09-04 11:07:33 +02:00
Justin M. Keyes
ea33a75d07 Update to libuv 1.7.3 #3274 2015-09-01 19:23:13 -04:00
Aaron O'Leary
82c194d33b doc: fix some typos in nvim docs #3280
Reviewed-by: Michael Reed <Pyrohh@users.noreply.github.com>
2015-09-01 15:38:35 -04:00
Rui Abreu Ferreira
73db02b99c MSCV: FindLibUV: fix libname. #3261 2015-08-31 03:18:04 -04:00
Rui Abreu Ferreira
d00d37b486 Windows: FindLuaJit: fix libname. #3262 2015-08-31 03:16:35 -04:00
Rui Abreu Ferreira
8bf141dea7 Windows: Move file_info_old declaration out of UNIX block #3260 2015-08-31 03:08:33 -04:00