aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
...
* | | | Merge pull request #1803 from elmart/small-fixesJustin M. Keyes2015-01-16
|\ \ \ \ | |_|_|/ |/| | | Small fixes.
| * | | coverity/100248: Operands don't affect result: HI.Eliseo Martínez2015-01-16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Operands don't affect results (CONSTANT_EXPRESSION_RESULT). Diagnostic : Harmless issue. Rationale : n >= LONG_MIN, n being intmax_t, is always true for architectures where sizeof(intmax_t) == sizeof(long). Resolution : Add sizes check.
| * | | Fix bad assert.Eliseo Martínez2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem : Assert can fail for legal values. Modulo-arithmetic of unsigned types can make so that n * 100 > n, but n has overflowed. Solution : Use alternative form of expression.
* | | | Merge pull request #1816 from Pyrohh/macro_cleanupJustin M. Keyes2015-01-15
|\ \ \ \ | | | | | | | | | | Macro cleanup
| * | | | Macro cleanup: MiscellaneousMichael Reed2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | These were found with -Wunused-macros. There are many more macros which triggered that warning, but they were primarily part of larger sets of macros so leave them alone.
| * | | | Macro cleanup: HAS_SWAP_EXISTS_ACTIONMichael Reed2015-01-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Neovim always ships with all features[0], so this serves no purpose. Besides, this always evaluated to true. [0]: https://github.com/neovim/neovim/wiki/Differences-from-vim
| * | | | Macro cleanup: PROTOMichael Reed2015-01-14
| |/ / / | | | | | | | | | | | | | | | | | | | | Regarding dict_lookup() in eval.c: both definitions are the same, the only difference being the spacing between the indirection operator and the indentation level.
* | | | screen: Fix screen_resize to consider minimum screen sizeThiago de Arruda2015-01-15
| | | |
* | | | input: Fix check for mouse coordinatesThiago de Arruda2015-01-15
| | | | | | | | | | | | | | | | Must check for EOF which will result in row/col being uninitialized.
* | | | input: Read row/col position when processing mouse wheelThiago de Arruda2015-01-14
| | | |
* | | | ui: Implement set_{title,icon}Thiago de Arruda2015-01-14
| | | |
* | | | term: Fix shell_resized for abstract_uiThiago de Arruda2015-01-13
| | | |
* | | | screen: Fix highlight reset for abstract_uiThiago de Arruda2015-01-13
| | | |
* | | | main: Fix color schemes for abstract_uiThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Set 't_Co' to 256 at startup. The value can be changed by the user for compatibility with terminals that are less capable. - `has('gui_running')` will return 1 if at least one rgb UI is attached. Even though these changes are hacky, they are necessary to make the transition to the new UI architecture smoother.
* | | | syntax: Refresh UI when the color scheme changesThiago de Arruda2015-01-13
| | | |
* | | | ui: Fix redraw bug caused by race conditions with remote clientsThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | Before sending a resize command to the UIs, flush the current output buffer to ensure no redraw commands for a screen with invalid size are processed.
* | | | shell: When executing command, use screen functions to display outputThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | By calling ui_write directly, the internal screen isn't updated and invalid bytes aren't handled, which breaks the abstract UI model.
* | | | ui: Use ui_linefeed to handle line breaks correctlyThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | ui_linefeed will scroll the screen when it becomes full. This can happen when executing external commands.
* | | | ui: Fix out_flush/ui_write behavior to always flush for abstract_uiThiago de Arruda2015-01-13
| | | |
* | | | channel: Make pending_requests a field of the Channel typeThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | This is required to send redraw notifications while a msgpack-rpc call is being performed by another channel.
* | | | ui: Fix `:suspend` command for remote UIsThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | Forward the command to the remote UI and flush immediately. The semantics/handling is UI-specific.
* | | | ui: Don't parse abstract_ui codes if there are no attached UIsThiago de Arruda2015-01-13
| | | |
* | | | channel: Free channels created from libuv streamsThiago de Arruda2015-01-13
| | | |
* | | | ui: Add 'rgb' parameter to ui_attachThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | When set to false, nvim will send cterm color numbers with `highlight_set`.
* | | | syntax: Take rgb fg/bg when allocating cterm attr numberThiago de Arruda2015-01-13
| | | |
* | | | ui: Merge standout and reverse into one attributeThiago de Arruda2015-01-13
| | | |
* | | | input: Ignore invalid "<" key sequencesThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | Ignoring invalid key sequences simplifies input handling in UIs. The only downside is having to use "<lt>" everytime a "<" is needed on functional tests.
* | | | ui: Fix ui resizing and change some method namesThiago de Arruda2015-01-13
| | | |
* | | | remote_ui: Move handler registration to remote_ui.cThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | Also disable deferral of attach_ui
* | | | ui: Add mising T_CSV code to abstract_ui termcapThiago de Arruda2015-01-13
| | | | | | | | | | | | | | | | | | | | This code is required for screen.c to set a vertical scroll region, which is a great optimization when scrolling vertically split windows.
* | | | ui: Increase cursor row when text being rendered would cross its limitThiago de Arruda2015-01-13
| | | |
* | | | ui: Add update_fg/update_bg methodsThiago de Arruda2015-01-13
|/ / / | | | | | | | | | | | | It is necessary to notify the UI when the default background/foreground colors change in order to render correctly.
* | | Merge pull request #1782 from fwalch/small-patchesJustin M. Keyes2015-01-13
|\ \ \ | | | | | | | | vim-patch: Multiple small patches
| * | | vim-patch:7.4.563Florian Walch2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: No test for replacing on a tab in Virtual replace mode. Solution: Add a test. (Elias Diem) https://code.google.com/p/vim/source/detail?r=v7-4-563
| * | | vim-patch:7.4.567Florian Walch2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Non-ascii vertical separater characters are always redrawn. Solution: Compare only the one byte that's stored. (Thiago Padilha) https://code.google.com/p/vim/source/detail?r=v7-4-567
| * | | version.c: Add patch numbers until 7.4.567.Florian Walch2015-01-08
| | | |
| * | | vim-patch:7.4.466Florian Walch2015-01-08
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: CTRL-W } does not open preview window. (Erik Falor) Solution: Don't set g_do_tagpreview for CTRL-W }. https://code.google.com/p/vim/source/detail?r=v7-4-466
* | | | Merge pull request #1801 from Pyrohh/qnx_cleanupJustin M. Keyes2015-01-13
|\ \ \ \ | | | | | | | | | | Remove QNX/pterm remnants
| * | | | Remove QNX/pterm remnantsMichael Reed2015-01-11
| | |/ / | |/| | | | | | | | | | | | | | The function qnx_init() (wrapped in an ifdef in main.c) doesn't even exist.
* | | | Merge pull request #1792 from fwalch/clint_remove-rand_rJustin M. Keyes2015-01-12
|\ \ \ \ | | | | | | | | | | Linting: Recommend os_* instead of POSIX functions.
| * | | | Linting: Recommend os_* instead of POSIX functions.Florian Walch2015-01-11
| | | | |
* | | | | Revert "[WIP] "abstract_ui" fixes and improvements"Justin M. Keyes2015-01-12
| | | | |
* | | | | Merge pull request #1657 from tarruda/abstract-ui-fixesJustin M. Keyes2015-01-12
|\ \ \ \ \ | |_|/ / / |/| | | | [WIP] "abstract_ui" fixes and improvements
| * | | | syntax: Refresh UI when the color scheme changesThiago de Arruda2015-01-12
| | | | |
| * | | | ui: Fix redraw bug caused by race conditions with remote clientsThiago de Arruda2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | Before sending a resize command to the UIs, flush the current output buffer to ensure no redraw commands for a screen with invalid size are processed.
| * | | | shell: When executing command, use screen functions to display outputThiago de Arruda2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | By calling ui_write directly, the internal screen isn't updated and invalid bytes aren't handled, which breaks the abstract UI model.
| * | | | ui: Use ui_linefeed to handle line breaks correctlyThiago de Arruda2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | ui_linefeed will scroll the screen when it becomes full. This can happen when executing external commands.
| * | | | ui: Fix out_flush/ui_write behavior to always flush for abstract_uiThiago de Arruda2015-01-12
| | | | |
| * | | | channel: Make pending_requests a field of the Channel typeThiago de Arruda2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | This is required to send redraw notifications while a msgpack-rpc call is being performed by another channel.
| * | | | ui: Reimplement `:suspend` command for remote UIs.Thiago de Arruda2015-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Remove suspend method from the UI protocol - Handle `:suspend` by disconnecting the last channel that sent a request to nvim.