Hinidu
9d6c5de4f1
Remove FEAT_CMDL_INFO
...
'showcmd' and 'ruler' options
2014-05-28 13:08:54 -04:00
Hinidu
7c188b5498
Remove FEAT_CMDL_COMPL
...
Completion of mappings/abbreviations in command line mode
2014-05-28 13:08:54 -04:00
Hinidu
ceb069116f
Remove FEAT_BYTEOFF
...
Support for byte2line(), line2byte(), go and :goto.
2014-05-28 13:08:54 -04:00
Hinidu
99fec73d1f
Remove FEAT_CINDENT
...
C code indenting
2014-05-28 13:08:54 -04:00
Hinidu
df4127919a
Remove FEAT_AUTOCMD
...
Support for :autocmd command
2014-05-28 13:08:54 -04:00
Hinidu
ac116088af
Remove FEAT_QUICKFIX
2014-05-28 13:08:54 -04:00
Hinidu
4e0fc575d7
Remove FEAT_MBYTE
...
Multi-byte character handling.
2014-05-28 13:08:54 -04:00
Hinidu
6f38fe39c4
Remove FEAT_DIFF
...
Support for vim's diff mode.
2014-05-28 13:08:54 -04:00
Hinidu
dd7657c160
Removed FEAT_WINDOWS
...
Support for multiple windows and status line.
2014-05-28 13:08:53 -04:00
Justin M. Keyes
3dddceedce
Merge #674 'Extract cursor.h from misc{1,2}.h and memline.h'
2014-05-28 10:47:58 -04:00
Pavel Platto
7e3681c32e
Remove code duplication in get_cursor_rel_lnum
2014-05-28 10:42:06 -04:00
Pavel Platto
a01f7948bc
Add cursor.{c,h} to clint-files.txt
2014-05-28 10:42:06 -04:00
Pavel Platto
baaa428785
Remove ml_ prefix from cursor.h functions
...
s/ml_get_curline/get_cursor_line_ptr
s/ml_get_cursor/get_cursor_pos_ptr
2014-05-28 10:42:06 -04:00
Pavel Platto
2a154ef71d
Enable -Wconversion on cursor.c
2014-05-28 10:42:06 -04:00
Hinidu
e62722922b
Extract cursor.h from misc{1,2}.h and memline.h
2014-05-28 10:42:06 -04:00
Thiago de Arruda
e4fe2dbd77
Merge 'Refactor WStream to enable writing the same buffer to multiple targets'
2014-05-28 09:05:13 -03:00
Thiago de Arruda
cd84215370
Channel: Refactor: Extract register_channel function
2014-05-28 08:52:54 -03:00
Thiago de Arruda
d5c1e6b0fc
Channel: Refactor: Extract serialize_event function
2014-05-28 08:52:54 -03:00
Thiago de Arruda
a001b8cb0c
Build: Fix autocmd removal from cleanup function
2014-05-28 08:52:54 -03:00
Thiago de Arruda
c3c826da34
API: Events: Add functions for {un}subscribing to broadcasted events
2014-05-28 08:52:54 -03:00
Thiago de Arruda
6b006dd7a2
API: Events: Automatically pass channel ids to API functions
...
The dispatch function generator was customized to allow for API functions to
declare a 'channel_id' as first argument.
2014-05-28 08:52:54 -03:00
Thiago de Arruda
5e3fb4ae95
API: Events: Add support for broadcasting events
...
The channel_send_event will now broadcast events to all subscribed channels if
the 'id' parameter is 0.
2014-05-28 08:52:54 -03:00
Thiago de Arruda
48ac06506b
API: Bugfix: Remove possible double-free in buffer_get_line
2014-05-28 08:52:54 -03:00
Thiago de Arruda
89ded2dac8
Add kvec.h macro library
2014-05-28 08:52:54 -03:00
Thiago de Arruda
09bcd97023
WStream: Refactor: Use reference count for memory management
...
Now `wstream_write` receives pointers for WBuffer objects(created with
wstream_new_buffer), which stores a reference count to determine when it's safe
the free the buffer. This was done to enable writing of the same buffer to
multiple WStream instances
2014-05-28 08:52:54 -03:00
Thiago de Arruda
1c308e28f1
Refactor: Use size_t for {w,r}streams.c
2014-05-28 08:52:54 -03:00
Justin M. Keyes
1faf546ea2
Merge #713 'Fix localization'
2014-05-27 20:38:10 -04:00
Eliseo Martínez
3390be96bf
Fix localization: Update po files.
...
Sync po files to code at 3a68a4861a
.
2014-05-27 19:58:42 -04:00
Eliseo Martínez
5e83fa0e66
Fix localization: Fix po files.
...
Problem: Build fails because of some messages being repeated.
Curiously, all repeated messages have this comment:
"Explicit typecast avoids warning on Mac OS X 10.6".
No idea why.
Solution: Remove repeated messages.
2014-05-27 19:58:42 -04:00
Eliseo Martínez
89bdcb1ed8
Fix localization: Fix build: Improve checking.
...
Problem : Currently, 'make check' gives no explanations when it fails,
only the name of the po file which caused the halt. Then,
you have to manually run check.vim on that file to see what
happened.
Solution : Generate a 'check.log' file on every execution of check.vim
(overwriting if already existing). That way, when make halts,
you can go there and see details about failure.
2014-05-27 19:58:42 -04:00
Eliseo Martínez
8e3634212d
Fix localization: Fix build: Fix sjis-fixing executable.
...
Problem: Executable used to fix japanese files with sjis encoding
(sjiscorr) fails to compile.
Solution: - Add mising includes.
- Remove __END_DECLS.
- Add removed comments.
2014-05-27 19:58:41 -04:00
Eliseo Martínez
0e9d2464b4
Fix localization: Fix build: Fix sed issue on OSX.
...
Problem: On OSX, sed commands processing files converted to encodings
other that UTF-8 fail with "RE error: illegal byte sequence".
Solution: Make sed execute with C locale throgh environment variables
(LANG=C, LC_ALL=C, LC_CTYPE=C).
2014-05-27 19:58:41 -04:00
Eliseo Martínez
a0b78b5733
Fix localization: Fix build: Fix included source files.
...
Problem : Previous build assumed all *.c files were in parent dir. It
only included globals.h, too.
Solution : Include all *.c and *.h files under parent dir (including
subdirs).
2014-05-27 19:58:41 -04:00
Eliseo Martínez
cd49b073e9
Fix localization: Fix build: Fix dangling references.
...
Problem: Makefile references some files that don't exist anymore.
Solution: Remove those references.
2014-05-27 19:58:41 -04:00
Justin M. Keyes
dcc2b25529
Merge #756 'vim-patch:7.4.267'
2014-05-27 16:52:01 -04:00
oni-link
753401ab4c
vim-patch:7.4.267
...
Problem: The '[ mark is in the wrong position after "gq". (Ingo Karkat)
Solution: Add the setmark argument to do_join(). (Christian Brabandt)
https://code.google.com/p/vim/source/detail?r=75f222d67cea335efbe0274de6340dba174c1e7e
2014-05-27 16:51:10 -04:00
Thiago de Arruda
1b43e5c47e
Merge branch 'remove-multiple-protocol-support'
2014-05-27 15:09:14 -03:00
Thiago de Arruda
b8e563f516
Refactor: Remove support for multiple protocols
...
This removes the boilerplate code supporting more than one RPC protocol as it
was becoming hard to maintain and we probably won't ever need it.
2014-05-27 10:19:38 -03:00
Justin M. Keyes
277554a9eb
Merge pull request #749 from oni-link/vim-patch-7-4-285
...
vim-patch:7.4.285
2014-05-26 20:44:32 -04:00
Thiago de Arruda
7df7d6bb5b
Merge branch 'api-events'
2014-05-26 14:10:38 -03:00
Thiago de Arruda
cbf9564ee0
API: Bugfix: Remove memory leak from buffer_get_line
2014-05-26 14:02:13 -03:00
Thiago de Arruda
327347e3b4
API: Bugfix: Remove memory leak from buffer_set_name
2014-05-26 14:02:13 -03:00
Thiago de Arruda
807f940aa4
API: Bugfix: Remove memory leak from buffer_set_slice
2014-05-26 14:02:12 -03:00
Thiago de Arruda
0cc6050300
API: Bugfix: Remove memory leak from set_option_to
2014-05-26 14:02:12 -03:00
Thiago de Arruda
a80a68c927
Build: Enable valgrind's --leak-check when testing the API
2014-05-26 14:02:12 -03:00
Thiago de Arruda
d6291894d4
Build: Add more files to clint-files.txt and fix errors
2014-05-26 14:02:12 -03:00
Thiago de Arruda
3f990f1afb
Build: Add api/{helpers,handle}.c to CONV_SRCS
2014-05-26 14:02:12 -03:00
Thiago de Arruda
e994b6f1b1
Build: Add 'nonnull' attributes to msgpack_rpc functions
2014-05-26 14:02:12 -03:00
Thiago de Arruda
f3dc04bf7f
API: Events: Implement channel_send_event and vimscript wrapper
...
This function can be used to send arbitrary objects via the API channel back to
connected clients, identified by channel id.
2014-05-26 14:02:12 -03:00
Thiago de Arruda
139c7ffdc7
API: Events: Return channel id from the API discover request
...
This refactors msgapck_rpc_{dipatch,call} to receive the channel id as
argument. Now the discovery request returns the [id, metadata] array.
2014-05-26 14:02:12 -03:00