Re: More quickfix test changes

2016-07-01 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, >> >>> > >>> >> The attached patch makes the following changes to >>> >> the quickfix tests: >>> >> >>> >> 1. Extends several test cases which currently tests only >>> >> quickfix list to also test location lists. >>> >> 2. Uses command aliases for quickfix/location list commands, >>>

folding patch

2016-07-01 Fir de Conversatie Charles E Campbell
Hello: Here's my patch for neater folding displays, updated to apply cleanly for vim 7.4.1979. Regards, Chip Campbell -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org

Patch 7.4.1979

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1979 (after 7.4.1976) Problem:Getting value of binary option is wrong. (Kent Sibilev) Solution: Fix type cast. Add a test. Files: src/option.c, src/testdir/test_expr.vim *** ../vim-7.4.1978/src/option.c2016-07-01 18:16:47.497936191 +0200 --- src/option.c2016

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Bram Moolenaar
Kent Sibilev wrote: > After this change I've noticed the following discrepancy > > Before patch: > > echo &l:bomp You mean: echo &l:bomb > 0 > > After patch: > > echo &l:bomp > -6827100518448365568 > > It breaks one of my plugins. > > Regards, > Kent > > > Solution: Add the num64 fea

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Kent Sibilev
On Friday, July 1, 2016 at 4:39:49 PM UTC-4, Christian Brabandt wrote: > Hi Kent! > > On Fr, 01 Jul 2016, Kent Sibilev wrote: > > > Hi All, > > > > After this change I've noticed the following discrepancy > > > > Before patch: > > > > echo &l:bomp > > 0 > > > > After patch: > > > > echo &l:

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Christian Brabandt
Hi Kent! On Fr, 01 Jul 2016, Kent Sibilev wrote: > Hi All, > > After this change I've noticed the following discrepancy > > Before patch: > > echo &l:bomp > 0 > > After patch: > > echo &l:bomp > -6827100518448365568 > > It breaks one of my plugins. You mean 'bomb' setting? What system is

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Kent Sibilev
Hi All, After this change I've noticed the following discrepancy Before patch: echo &l:bomp 0 After patch: echo &l:bomp -6827100518448365568 It breaks one of my plugins. Regards, Kent > Solution: Add the num64 feature. (Ken Takata) > Files: runtime/doc/eval.txt, runtime/doc/various.

Re: Unable to use xxd to convert utf-16 file back from hex

2016-07-01 Fir de Conversatie Nikolay Aleksandrovich Pavlov
2016-07-01 16:11 GMT+03:00 Gabriel Barta : > <...> >> Which OS? > It is the same on linux, mac and windows. > > To see it happen, try: > new|exe 'norm iTest'|set fenc=utf-16le|set bomb|exe '%!xxd'|%!xxd -r > > You will get a --No lines in buffer-- message from vim, and an empty buffer > where it

Re: Patch 7.4.1975

2016-07-01 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/7/2 Sat 0:18:22 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.1975 > > Problem:On MS-Windows large files (> 2Gbyte) cause problems. > > Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct > > stat". Use 64 bit system functions if avai

Patch 7.4.1978

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1978 (after 7.4.1975) Problem:Large file test does not delete its output. Solution: Delete the output. Check size properly when possible. (Ken Takata) Files: src/testdir/test_largefile.vim *** ../vim-7.4.1977/src/testdir/test_largefile.vim 2016-07-01 17:17:13.298266645

Re: Patch 7.4.1975

2016-07-01 Fir de Conversatie Ken Takata
Hi Bram, 2016/7/2 Sat 0:18:22 UTC+9 Bram Moolenaar wrote: > Patch 7.4.1975 > Problem:On MS-Windows large files (> 2Gbyte) cause problems. > Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct > stat". Use 64 bit system functions if available. (Ken Takata)

Patch 7.4.1977

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1977 Problem:With 64 bit changes don't need three calls to sprintf(). Solution: Simplify the code, use vim_snprintf(). (Ken Takata) Files: src/fileio.c *** ../vim-7.4.1976/src/fileio.c2016-07-01 18:16:47.489936307 +0200 --- src/fileio.c2016-07-01 19:58:45.000

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Bram Moolenaar
Ken Takata wrote: > 2016/7/2 Sat 1:17:57 UTC+9 Bram Moolenaar wrote: > > Patch 7.4.1976 > > Problem:Number variables are not 64 bits while they could be. > > Solution: Add the num64 feature. (Ken Takata) > > Files: runtime/doc/eval.txt, runtime/doc/various.txt, > > src/Make_cyg

Re: Patch 7.4.1976

2016-07-01 Fir de Conversatie Ken Takata
Hi Bram, 2016/7/2 Sat 1:17:57 UTC+9 Bram Moolenaar wrote: > Patch 7.4.1976 > Problem:Number variables are not 64 bits while they could be. > Solution: Add the num64 feature. (Ken Takata) > Files: runtime/doc/eval.txt, runtime/doc/various.txt, > src/Make_cyg_ming.mak, src/Make_

Patch 7.4.1976

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1976 Problem:Number variables are not 64 bits while they could be. Solution: Add the num64 feature. (Ken Takata) Files: runtime/doc/eval.txt, runtime/doc/various.txt, src/Make_cyg_ming.mak, src/Make_mvc.mak, src/charset.c, src/eval.c, src/ex_cmds.c, src

Patch 7.4.1975

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1975 Problem:On MS-Windows large files (> 2Gbyte) cause problems. Solution: Use "off_T" instead of "off_t". Use "stat_T" instead of "struct stat". Use 64 bit system functions if available. (Ken Takata) Files: src/Makefile, src/buffer.c, src/diff.c, src/eval.c, s

Re: Patch 7.4.1969

2016-07-01 Fir de Conversatie Xavier de Gaye
On 07/01/2016 12:51 PM, Bram Moolenaar wrote: > > Patch 7.4.1969 > Problem:When the netbeans channel is closed consuming the buffer may cause > a crash. > Solution: Check for nb_channel not to be NULL. (Xavier de Gaye) > Files: src/netbeans.c The pyclewn test suite runs fi

Patch 7.4.1974

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1974 Problem:GUI has a problem with some termcodes. Solution: Handle negative numbers. (Kazunobu Kuriyama) Files: src/gui.c *** ../vim-7.4.1973/src/gui.c 2016-06-14 20:39:38.104512766 +0200 --- src/gui.c 2016-07-01 15:46:36.333959845 +0200 *** *** 1773,1779 *

Patch 7.4.1973

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1973 Problem:On MS-Windows the package directory may be added at the end because of forward/backward slash differences. (Matthew Desjardins) Solution: Ignore slash differences. Files: src/ex_cmds2.c *** ../vim-7.4.1972/src/ex_cmds2.c 2016-06-12 2

Re: Unable to use xxd to convert utf-16 file back from hex

2016-07-01 Fir de Conversatie Gabriel Barta
<...> > Which OS? It is the same on linux, mac and windows. To see it happen, try: new|exe 'norm iTest'|set fenc=utf-16le|set bomb|exe '%!xxd'|%!xxd -r You will get a --No lines in buffer-- message from vim, and an empty buffer where it should say Test. Removing the last command shows that it

Patch 7.4.1972

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1972 Problem:On Solaris select() does not work as expected when there is typeahead. Solution: Add ICANON when sleeping. (Ozaki Kiichi) Files: src/os_unix.c *** ../vim-7.4.1971/src/os_unix.c 2016-06-10 19:49:10.370889582 +0200 --- src/os_unix.c 2016-07

Patch 7.4.1971

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1971 Problem:It is not easy to see unrecognized error lines below the current error position. Solution: Add ":clist +count". Files: src/quickfix.c, runtime/doc/quickfix.txt *** ../vim-7.4.1970/src/quickfix.c 2016-06-28 21:11:17.511791102 +0200 --- src/quickf

Patch 7.4.1970

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1970 Problem:Using ":insert" in an empty buffer sets the jump mark. (Ingo Karkat) Solution: Don't adjust marks when replacing the empty line in an empty buffer. (closes #892) Files: src/ex_cmds.c, src/testdir/test_jumps.vim, src/testdir/test

Re: small update to eval.txt documentation

2016-07-01 Fir de Conversatie Bram Moolenaar
Christian Brabandt wrote: > this is a small update to the documentation of winwidth() > function. Thanks. -- Keep America beautiful. Swallow your beer cans. /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net \\\ ///sponsor Vim, vote for features -- http://www.Vim

Re: SIGSEGV in channel_consume()

2016-07-01 Fir de Conversatie Bram Moolenaar
Xavier de Gaye wrote: > :version > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 1 2016 10:03:37) > Included patches: 1-1967 > > The backtrace: > #0 0x7f603d2545c7 in kill () from /usr/lib/libc.so.6 > (gdb) bt > #0 0x7f603d2545c7 in kill () from /usr/lib/libc.so.6 > #1 0x0

Patch 7.4.1969

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1969 Problem:When the netbeans channel is closed consuming the buffer may cause a crash. Solution: Check for nb_channel not to be NULL. (Xavier de Gaye) Files: src/netbeans.c *** ../vim-7.4.1968/src/netbeans.c 2016-06-08 20:17:17.569243375 +0200 --- src/netb

Patch 7.4.1968

2016-07-01 Fir de Conversatie Bram Moolenaar
Patch 7.4.1968 Problem:Invalid memory access with "\. Solution: Do not recognize this as a special character. (Dominique Pelle) Files: src/misc2.c, src/testdir/test_expr.vim *** ../vim-7.4.1967/src/misc2.c 2016-06-26 16:44:19.519620863 +0200 --- src/misc2.c 2016-07-01 11:59:30.8020551

Re: [bug] invalid memory access with in string

2016-07-01 Fir de Conversatie Bram Moolenaar
> Dominique Pellé wrote: > > > Hi > > > > vim-7.4.1967 (and earlier) accesses invalid memory > > when running this command: > > > > $ valgrind --num-callers=20 vim -u NONE -c 'ec "\' -c q 2> log > > > > log file then contains: > > > > =5725== Memcheck, a memory error detector > > ==5725== Copyrig

small update to eval.txt documentation

2016-07-01 Fir de Conversatie Christian Brabandt
Hi, this is a small update to the documentation of winwidth() function. diff --git a/runtime/doc/eval.txt b/runtime/doc/eval.txt index 4d9df89..13bcd2c 100644 --- a/runtime/doc/eval.txt +++ b/runtime/doc/eval.txt @@ -7656,6 +7656,9 @@ winwidth({nr}) *win

SIGSEGV in channel_consume()

2016-07-01 Fir de Conversatie Xavier de Gaye
:version VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 1 2016 10:03:37) Included patches: 1-1967 The backtrace: #0 0x7f603d2545c7 in kill () from /usr/lib/libc.so.6 (gdb) bt #0 0x7f603d2545c7 in kill () from /usr/lib/libc.so.6 #1 0x005338d6 in may_core_dump () at os_unix.c: