John Szakmeister
0d35369324
build: install with the correct permissions
...
The install() command will create the parent directories, but it does so
with the user's umask. We want to do our best to make sure the correct
permissions are being set, without clobbering existing permissions.
To do this, this commit introduces an install_helper(), which is similar
in signature to the install() command, to help ensure that directories
are created ahead of the actual install() command. This will attempt to
use 0644 permissions for files and 0755 permissions for directories by
default--though they can be overridden.
To make this work correctly, without trying to introduce some mechanism
with setting the umask, it meant that there's a small portion that makes
use of an "internal" version of the file() command. It has been tested
on CMake 2.8.11, 2.8.12, and 3.0.2, and works correctly on all versions.
This fixes #1201 and #1086 .
2014-09-22 05:56:52 -04:00
John Szakmeister
ba7472c54d
runtime: fix executable bit on some files
2014-09-22 05:56:52 -04:00
Justin M. Keyes
2f212ca2eb
Merge pull request #1011 from stefan991/cleanup-docs
...
Cleanup user documentation build
2014-09-21 11:54:34 -04:00
Stefan Hoffmann
bb176f4a7e
doc: fix links to index.html and vimindex.html
2014-09-21 15:20:21 +02:00
Justin M. Keyes
0ed9f3ec83
Merge pull request #1197 from Shougo/vim-patch-7.4.392
...
vim-patch:7.4.392
2014-09-20 18:57:10 -04:00
Justin M. Keyes
9d4e8fffa1
Merge pull request #1204 from Shougo/version-7.4.444
...
Update version.c to Vim 7.4.444
2014-09-20 18:55:41 -04:00
Shougo Matsushita
0171d4a269
Update version.c to Vim 7.4.444
2014-09-21 06:46:10 +09:00
Stefan Hoffmann
ac882bb738
doc: add new doc files to Makefile
2014-09-20 14:24:47 +02:00
Stefan Hoffmann
ef3c63f73d
doc: use cat
instead of more
to display errors
...
`more` may cause the travis build to hang
2014-09-20 14:24:16 +02:00
Stefan Hoffmann
f9ca9e43c3
doc: update gitignore
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
a7dad2b72e
doc: remove links that point nowhere
...
`make html` displays errors for links that are not in the tagfile
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
9c8008e252
doc: move manpages into their own folder
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
856e01e622
doc: remove uganda.nsis.txt target
...
It seems that this file was used in the windows installer as license
file.
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
98315a364f
doc: rename *.UTF-8.1
files
2014-09-20 14:03:14 +02:00
Stefan Hoffmann
7860b09f65
doc: remove encoding conversion targets
...
this deletes the source files wich have an utf-8 generated file.
in the next step the generated *UTF-8.1* files will be renamed.
2014-09-20 14:03:13 +02:00
Stefan Hoffmann
1f7289b407
doc: remove some unnecessary targets
...
these files got all imported, no ned to create them
2014-09-20 14:03:13 +02:00
Stefan Hoffmann
787f879b83
doc: remove generated manpages
2014-09-20 14:03:13 +02:00
Stefan Hoffmann
178bafc290
doc: remove reference to config.mk, hangulin.txt
...
needed to get `make html` to work.
2014-09-20 14:03:13 +02:00
Justin M. Keyes
0375128377
Merge pull request #1150 from splinterofchaos/vim-patch-7.4.305
...
Vim patch 7.4.305 + Vim patch 7.4.359
2014-09-19 20:42:03 -04:00
Scott Prager
3253e7ec09
vim-patch:7.4.359
...
Problem: When 'ttymouse' is set to 'uxterm' the xterm version is not
requested. (Tomas Janousek)
Solution: Do not mark uxterm as a conflict mouse and add
resume_get_esc_sequence().
https://code.google.com/p/vim/source/detail?r=v7-4-359
2014-09-19 20:23:06 -04:00
Scott Prager
83cd2979a1
vim-patch:7.4.305
...
Problem: Making 'ttymouse' empty after the xterm version was requested
causes problems. (Elijah Griffin)
Solution: Do not check for DEC mouse sequences when the xterm version was
requested. Also don't request the xterm version when DEC mouse
was enabled.
https://code.google.com/p/vim/source/detail?r=v7-4-305
2014-09-19 20:23:06 -04:00
Justin M. Keyes
dc6db20feb
Merge pull request #1194 from Shougo/vim-patch-7.4.410
...
vim-patch:7.4.410
2014-09-19 18:03:17 -04:00
Justin M. Keyes
a85f7d35d8
Merge pull request #1189 from Shougo/vim-patch-7.4.374
...
vim-patch:7.4.374
2014-09-19 17:47:51 -04:00
Justin M. Keyes
1fdfe3a484
Merge pull request #1188 from Shougo/vim-patch-7.4.364
...
vim-patch:7.4.364
2014-09-19 17:46:55 -04:00
Justin M. Keyes
8eef40deaf
Merge pull request #1187 from Shougo/vim-patch-7.4.361
...
vim-patch:7.4.361
2014-09-19 16:09:00 -04:00
Justin M. Keyes
6cc6b0ff9e
Merge pull request #1192 from Shougo/vim-patch-7.4.382
...
vim-patch:7.4.382
2014-09-19 10:59:27 -04:00
Shougo Matsushita
c5c506666c
vim-patch:7.4.382
...
Problem: Mapping characters may not work after typing Esc in Insert mode.
Solution: Fix the noremap flags for inserted characters. (Jacob Niehus)
https://code.google.com/p/vim/source/detail?r=v7-4-382
2014-09-19 21:41:59 +09:00
Shougo Matsushita
102af4f823
vim-patch:7.4.410
...
Problem: Fold does not open after search when there is a CmdwinLeave
autocommand.
Solution: Restore KeyTyped. (Jacob Niehus)
https://code.google.com/p/vim/source/detail?r=v7-4-410
2014-09-19 19:53:02 +09:00
Shougo Matsushita
1fe6dc03aa
vim-patch:7.4.374
...
Problem: Character after "fb" command not mapped if it might be a composing
character.
Solution: Don't disable mapping when looking for a composing character.
(Jacob Niehus)
https://code.google.com/p/vim/source/detail?r=v7-4-374
2014-09-19 19:51:21 +09:00
Shougo Matsushita
9829febebc
vim-patch:7.4.364
...
Problem: When the viminfo file can't be renamed there is no error message.
(Vladimir Berezhnoy)
Solution: Check for the rename to fail.
https://code.google.com/p/vim/source/detail?r=v7-4-364
2014-09-19 19:48:39 +09:00
Shougo Matsushita
3654cce0bf
vim-patch:7.4.361
...
Problem: Lots of flickering when filling the preview window for 'omnifunc'.
Solution: Disable redrawing. (Hirohito Higashi)
https://code.google.com/p/vim/source/detail?r=v7-4-361
2014-09-19 19:45:52 +09:00
Thiago de Arruda
53d15c2c25
Merge PR #1199 'Improvements to API error handling'
2014-09-18 22:37:59 -03:00
Thiago de Arruda
4a8b52ea08
api/msgpack-rpc: Improve error infrastructure
...
- Add error type information to `Error`
- Rename `set_api_error` to `api_set_error` for consistency with other api_*
functions/macros.
- Refactor the api_set_error macro to accept formatted strings and error types
- Improve error messages
- Wrap error messages with gettext macro
- Refactor msgpack-rpc serialization to transform Error instances into [type,
message] arrays
- Add error type information to API metadata
- Normalize nvim->client and client->nvim error handling(change
channel_send_call to accept an Error pointer instead of the `errored` boolean
pointer)
- Use macro to initialize Error structures
2014-09-18 21:30:31 -03:00
Justin M. Keyes
67a16384a4
Merge pull request #1193 from Shougo/vim-patch-7.4.383
...
vim-patch:7.4.383
2014-09-18 17:51:19 -04:00
Justin M. Keyes
fe446c86cf
Merge pull request #1196 from Shougo/vim-patch-7.4.381
...
vim-patch: 7.4.381
2014-09-18 17:23:47 -04:00
Justin M. Keyes
e2c111384b
Merge pull request #1195 from Shougo/vim-patch-7.4.379
...
vim-patch:7.4.379
2014-09-18 17:23:38 -04:00
Justin M. Keyes
39882b85b6
Merge pull request #1168 from atwupack/vp-7.4.365
...
vim-patch:7.4.365, 7.4.372, 7.4.373, 7.4.377
2014-09-18 17:20:44 -04:00
André Twupack
f379b44747
vim-patch:7.4.377
...
Problem: When 'equalalways' is set a split may report "no room" even though
there is plenty of room.
Solution: Compute the available room properly. (Yukihiro Nakadaira)
https://code.google.com/p/vim/source/detail?r=v7-4-377
2014-09-18 22:34:55 +02:00
André Twupack
ab4feeac82
vim-patch:7.4.373
...
Problem: Compiler warning for unused argument and unused variable.
Solution: Add UNUSED. Move variable inside #ifdef.
https://code.google.com/p/vim/source/detail?r=v7-4-373
2014-09-18 22:31:01 +02:00
André Twupack
781d129445
vim-patch:7.4.372
...
Problem: When 'winminheight' is zero there might not be one line for the
current window.
Solution: Change the size computations. (Yukihiro Nakadaira)
https://code.google.com/p/vim/source/detail?r=v7-4-372
2014-09-18 22:31:01 +02:00
André Twupack
16fb7fa960
vim-patch:7.4.365
...
Problem: Crash when using ":botright split" when there isn't much space.
Solution: Add a check for the minimum width/height. (Yukihiro Nakadaira)
https://code.google.com/p/vim/source/detail?r=v7-4-365
2014-09-18 22:31:01 +02:00
Shougo Matsushita
b57d6ef09a
vim-patch:7.4.392
...
Problem: Not easy to detect type of command line window.
Solution: Add the getcmdwintype() function. (Jacob Niehus)
https://code.google.com/p/vim/source/detail?r=v7-4-392
2014-09-18 20:44:36 +09:00
Shougo Matsushita
693bf89f2a
vim-patch:7.4.383
...
Problem: Bad interaction between preview window and omnifunc.
Solution: Avoid redrawing the status line. (Hirohito Higashi)
https://code.google.com/p/vim/source/detail?r=v7-4-383
2014-09-18 20:19:03 +09:00
Shougo Matsushita
3b9a44fbea
vim-patch: 7.4.381
...
Problem: Get u_undo error when backspacing in Insert mode deletes more than
one line break. (Ayberk Ozgur)
Solution: Also decrement Insstart.lnum.
https://code.google.com/p/vim/source/detail?r=v7-4-381
2014-09-18 20:08:42 +09:00
Shougo Matsushita
1a2338bbad
vim-patch:7.4.379
...
Problem: Accessing freed memory after using setqflist(list, 'r'). (Lcd)
Solution: Reset qf_index.
https://code.google.com/p/vim/source/detail?r=v7-4-379
2014-09-18 20:06:17 +09:00
Justin M. Keyes
a447160a6c
Merge pull request #953 from splinterofchaos/patch235-exepath
...
vim-patch:7.4.235
2014-09-17 01:28:35 -04:00
Scott Prager
8b3e5829e4
update os_can_exe unit test
2014-09-17 01:01:25 -04:00
Scott Prager
9445eaa297
vim-patch:7.4.235
...
Problem: It is not easy to get the full path of a command.
Solution: Add the exepath() function.
https://code.google.com/p/vim/source/detail?r=5ab2946f7ce560985830fbc3c453bb0f7a01f385
2014-09-17 01:00:24 -04:00
Scott Prager
899878d347
path: learn save_absolute_path().
2014-09-17 00:57:27 -04:00
Justin M. Keyes
8249e4ac72
Merge pull request #919 from munshkr/p7.4.310
...
vim-patch:7.4.310, vim-patch:7.4.313
2014-09-16 23:28:35 -04:00