Commit Graph

14441 Commits

Author SHA1 Message Date
Thiago de Arruda
fdec1d126f Implement xstrdup and xstrndup
Utility functions for copying strings to newly-allocated chunks. They either
succeed or exit the program.
2014-04-06 11:32:47 -03:00
oni-link
461b939b01 vim-patch:7.4.178
Problem:    The J command does not update '[ and '] marks. (William Gardner)
Solution:   Set the marks. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=647e6bb15aa3f864eaf447fe77e3e3ae7e37b134
2014-04-06 11:31:12 -03:00
Thiago de Arruda
a02bcc0d2f Use early return for rejecting_deadly in signal_cb 2014-04-06 07:24:46 -03:00
oni-link
74f54d78d9 vim-patch:7.4.173
Problem:    When using scrollbind the cursor can end up below the last line.
            (mvxxc)
Solution:   Reset w_botfill when scrolling up. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=233ad7b960d0fbeb224b383918113b25c74ebe35
2014-04-06 06:56:13 -03:00
Stefan Hoffmann
e76249c813 Moved mch_get_host_name and renamed it to os_get_hostanme 2014-04-05 20:19:38 -03:00
Stefan Hoffmann
a8013f2bb1 Moved mch_get_pid and renamed it to os_get_pid 2014-04-05 20:19:38 -03:00
oni-link
f545afaed0 vim-patch:7.4.171
Problem:    Redo does not set v:count and v:count1.
Solution:   Use a separate buffer for redo, so that we can set the counts when
            performing redo.

https://code.google.com/p/vim/source/detail?r=beb037a6c2708f539d50840637f70eed0811d93c
2014-04-05 20:17:32 -03:00
Thiago de Arruda
57cd2d6614 Remove the old mch_call_shell implementation 2014-04-05 11:05:31 -03:00
Thiago de Arruda
2dcae28328 Rewrite mch_call_shell on top of libuv
- Rename to `os_call_shell`
- Use another entry point for libuv default event loop
- Fix the `call_shell` reference in misc2.c
2014-04-05 11:05:31 -03:00
Thiago de Arruda
796b79db8c Stop queueing events when signals are rejected
The only exception is SIGINT, which will set `got_int` directly. This will be
necessary for the new implementation of `mch_call_shell`
2014-04-05 11:05:31 -03:00
Thiago de Arruda
cb9afe0dc0 Add helpers for debugging with valgrind
The environment variable USE_VALGRIND can be set to run tests with valgrind. If
VALGRIND_GDB is set, valgrind will start it's own gdbserver for remote
debugging with `target remote | vgdb`. USE_GDB can still be used, but it will
be ignored if USE_VALGRIND is set.
2014-04-05 11:05:31 -03:00
oni-link
ade0c127e5 vim-patch:7.4.172
Problem:    The blowfish code mentions output feedback, but the code is
	        actually doing cipher feedback.
Solution:   Adjust names and comments.

https://code.google.com/p/vim/source/detail?r=391e10afccf6879dcfab8b28cb1587a13eb835c0
2014-04-05 10:10:08 -03:00
John Schmidt
26206d4cfd Remove mblen() check 2014-04-05 10:01:22 -03:00
John Schmidt
5ff29e00a5 Remove xterm_save 2014-04-05 10:01:22 -03:00
John Schmidt
866584542b Remove xpm 2014-04-05 10:01:22 -03:00
John Schmidt
8731d44996 Remove tcl 2014-04-05 10:01:22 -03:00
John Schmidt
f226a4c2cd Remove ole 2014-04-05 10:01:22 -03:00
John Schmidt
84b06b77bd Remove mzscheme 2014-04-05 10:01:22 -03:00
John Schmidt
8074945788 Remove python, perl, lua, ruby 2014-04-05 10:01:22 -03:00
John Schmidt
acf5757831 Remove Xim 2014-04-05 10:01:22 -03:00
John Schmidt
d568548aa1 Remove clientserver 2014-04-05 10:01:22 -03:00
John Schmidt
5ae8094fb4 Remove BalloonEval 2014-04-05 10:01:22 -03:00
John Schmidt
fe7160b1d7 Remove HPUX and Vim 5.x compatible digraphs 2014-04-05 10:01:21 -03:00
John Schmidt
44a6f194b4 Remove SniFF 2014-04-05 10:01:21 -03:00
John Schmidt
8a0043130f Remove Amiga stuff 2014-04-05 10:01:21 -03:00
John Schmidt
2fe018ab88 Remove netbeans and sun workshop 2014-04-05 10:01:21 -03:00
aph
23dc43919e remove reference to BROKEN_TOUPPER 2014-04-04 21:44:58 -03:00
aph
0954e608ce remove pchar from macros.h 2014-04-04 21:44:58 -03:00
aph
4c4880b69f remove MB_{IS,TO}{UPPER,LOWER} 2014-04-04 21:44:58 -03:00
aph
535c450c72 remove DO_AUTOCHDIR 2014-04-04 21:44:58 -03:00
Markus Breitenberger
94013a73f7 Remove unused define 2014-04-04 21:22:00 -03:00
Stefan Hoffmann
092bdcac90 Removed not defined prototypes in os_unix.h
* reset_signals, vim_handle_signal:
    signal handling was rewritten, not defined anywhere

  * related to x clipboard handling, not defined anywhere:
    * {setup,start,stop,clear}_xterm_clip
    * stop_xterm_trace
    * clip_xterm_{own_selection,lose_selection,request_selection,set_selection}

  * related to XSMP (x session management protocol):
    * xsmp_{handle_requests,init,close}
2014-04-04 19:09:01 -03:00
oni-link
04cdcfa604 vim-patch:7.4.170
Problem:    Some help tags don't work with ":help". (Tim Chase)
Solution:   Add exceptions.

https://code.google.com/p/vim/source/detail?r=8122eab8fcdbbdaac62dfbf7c6458cb3e6f46b04
2014-04-04 19:08:21 -03:00
Wilberto Morales
0f9ca8d7fa Possible string literals that have to be replaced 2014-04-04 16:39:49 -03:00
Wilberto Morales
8943a13d9b Try to find all other instances of vimrc and gvimrc and prefix them with n 2014-04-04 16:39:49 -03:00
John Schmidt
6f53cb1cc3 Extract memory.c from misc2.c 2014-04-04 16:33:12 -03:00
Keerthan Jaic
3fe0580a8e vim-patch:7.4.169
Problem:    ":sleep" puts cursor in the wrong column. (Liang Li)
Solution:   Add the window offset. (Christian Brabandt)

https://code.google.com/p/vim/source/detail?r=4e3a9dd25d428e7c08ed401afc244972e27e08e6
2014-04-04 16:05:12 -03:00
Hinidu
b83600f5a3 Restore vim_rename 2014-04-04 16:03:55 -03:00
Hinidu
a3ff83ce7e Replace mch_rename and vim_rename with libuv 2014-04-04 16:03:55 -03:00
Jared L Wong
86b6f1ccff Changed testdir/Makefile to use Makefile wildcards instead of SUFFIXES 2014-04-04 06:54:23 -04:00
Eliseo Martínez
ad48e7c648 Fix #451: Build broken on OSX.
Problem:  Build breaks in OSX if macports ncurses present, due to
          header conflict involving 'term.h'.
Solution: Modify include search order.
2014-04-03 21:00:43 +02:00
Thiago de Arruda
d9914a038a Remove mch_call_shell GUI printing code
This isn't needed right now because spawned shells will inherit stdout by
default
2014-04-03 12:08:26 -03:00
Thiago de Arruda
3fcff30d9a Remove :shell and suspend_shell
Issue #450 contains more details
2014-04-03 12:06:50 -03:00
Thiago de Arruda
b336eb46f0 Remove support for running interactive programs
This removes `mch_call_shell` code for feeding programs interactively. The
removed code was supporting interactive programs in the old GUI, but right now
we only have a terminal UI.

The code is currently safe to remove because interactive programs will just
simply take control of the terminal in cooked mode.
2014-04-03 11:59:27 -03:00
Thomas Wienecke
bfa4490aac Rename FPC_* constants. 2014-04-03 10:32:41 -03:00
Thomas Wienecke
c454030478 Initialize on declaration; use postincrements. 2014-04-03 10:32:41 -03:00
Thomas Wienecke
865e3280a8 Fix seperator->separator, path_tail_with_separator->path_tail_with_sep. 2014-04-03 10:32:41 -03:00
Thomas Wienecke
955d6a2949 Test and refactor getnextcomp -> path_next_component. 2014-04-03 10:32:41 -03:00
Thomas Wienecke
7021b970b9 Test and refactor gettail_sep -> path_tail_with_seperator. 2014-04-03 10:32:41 -03:00
Thomas Wienecke
77bfb6cd99 Test and refactor gettail -> path_tail. 2014-04-03 10:32:41 -03:00