Commit Graph

8225 Commits

Author SHA1 Message Date
oni-link
fee0e2d977 vim-patch:7.4.280 #745
Problem:    When using a session file the relative position of the cursor is
            not restored if there is another tab. (Nobuhiro Takasaki)
Solution:   Update w_wrow before calculating the fraction.

https://code.google.com/p/vim/source/detail?r=daf7e98675cf395e1ef96f8040567affb2782a11
2014-06-05 18:13:17 -04:00
Douglas Schneider
e8b4fc53fc vim-patch:7.4.275
Problem:  When changing the type of a sign that hasn't been
          placed ther is no error message.
Solution: Add an error message. (Christian Brabandt)

Author: Bram Moolenaar

https://code.google.com/p/vim/source/detail?r=8a3117a4887c1e12a1165c9719491f96753
2014-06-04 07:12:46 +00:00
oni-link
b09334d571 vim-patch:7.4.277
Problem:    Using ":sign unplace *" may leave the cursor in the wrong position
            (Christian Brabandt)
Solution:   Update the cursor position when removing all signs.

https://code.google.com/p/vim/source/detail?r=373204662d82e894b27ee76bc3319bc62c91f6ae
2014-06-04 06:57:37 +00:00
Justin M. Keyes
1fb20575f1 Fix diagrams in ex_cmds.c #798 2014-06-02 18:56:06 -04:00
ZyX
4aecb71b0e Use generated static declarations in cursor.c 2014-06-02 11:04:18 -03:00
ZyX
1747d3d940 Use generated headers in os.h 2014-06-02 11:04:18 -03:00
ZyX
4cf17ad632 Add REAL_FATTR_ macros to func_attr.h, use them in lib/k*
Otherwise FUNC_ATTR_* macros may appear empty
2014-06-02 11:04:18 -03:00
ZyX
f0be78506f Move memory.h include above func_attr.h include 2014-06-02 11:04:18 -03:00
ZyX
d906708a43 Remove unneeded klist include in channel.c 2014-06-02 11:04:18 -03:00
ZyX
a7e3c4f6f6 Remove a number of unneeded func_attr includes 2014-06-02 11:04:18 -03:00
ZyX
6140f35eae Add missing include to mbyte.c 2014-06-02 11:04:18 -03:00
ZyX
dca28e55c7 Fix some styles 2014-06-02 11:04:18 -03:00
ZyX
bf4fb30121 Add include guard to ex_cmds_defs 2014-06-02 11:04:18 -03:00
ZyX
7dd0d9d2ab Make nvim/lib/k*.h headers be the last one in the list
So that they do the last nvim/func_attr.h include
2014-06-02 11:04:18 -03:00
ZyX
8c0ca573e5 Surround nvim/func_attr.h includes with define/undef DEFINE_FUNC_ATTRIBUTES
Required for FUNC_ATTR_UNUSED to work in lib/k*
2014-06-02 11:04:18 -03:00
ZyX
6498b281fa Remove remaining declarations with new script: finddeclarations.pl 2014-06-02 11:04:18 -03:00
ZyX
70929f7e16 Add automatic generation of headers
- The 'stripdecls.py' script replaces declarations in all headers by includes to
  generated headers.
  `ag '#\s*if(?!ndef NEOVIM_).*((?!#\s*endif).*\n)*#ifdef INCLUDE_GENERATED'`
  was used for this.
- Add and integrate gendeclarations.lua into the build system to generate the
  required includes.
- Add -Wno-unused-function
- Made a bunch of old-style definitions ANSI

This adds a requirement: all type and structure definitions must be present
before INCLUDE_GENERATED_DECLARATIONS-protected include.

Warning: mch_expandpath (path.h.generated.h) was moved manually. So far it is
the only exception.
2014-06-02 11:04:17 -03:00
ZyX
880957ad4e Move documentation from function declarations to definitions
Uses a perl script to move it (scripts/movedocs.pl)
2014-06-02 11:04:04 -03:00
Rui Abreu Ferreira
8f7d370f18 Rename --api-metadata to --api-msgpack-metadata 2014-06-02 10:34:51 -03:00
Rui Abreu Ferreira
1971cc30b5 Add --api-metadata command line option
- New command line option prints the binary API metadata object
  and exits
2014-06-02 10:34:51 -03:00
Justin M. Keyes
c0fae8b922 Fix unused variable when NDEBUG is defined.
Occurs when compiling with:
  rm -rf build/ && make clean && make cmake CFLAGS='-DNDEBUG' && make
  ^--important
2014-05-31 13:51:45 -04:00
Justin M. Keyes
005a4254c0 Initialize Object, Position
fix #778
thanks @genisaguilar
2014-05-31 09:08:58 -04:00
Thiago de Arruda
82e3e7047f Refactor: Redefine Map(T) as a more generic Map(T, U) macro
To replace `Map(T)`, a new macro `PMap(T)` was defined as `Map(T, ptr_t)` for
writing maps that store pointers with less boilerplate
2014-05-30 20:42:19 -03:00
John Szakmeister
79a96ec1a4 Add a few more sources to CONV_SRCS. 2014-05-29 16:36:01 -04:00
Pavel Platto
6fc2839795 Remove unused FEAT_* 2014-05-28 13:08:55 -04:00
Hinidu
76066e56fc Remove FEAT_TITLE
'title' and 'icon' options
2014-05-28 13:08:55 -04:00
Hinidu
1299d08be7 Remove FEAT_GETTEXT
Support for message translations using gettext()
2014-05-28 13:08:55 -04:00
Hinidu
3e93fedfe9 Remove FEAT_POSTSCRIPT
Printing using PostScript file output
2014-05-28 13:08:55 -04:00
Hinidu
b4ca3abc9f Remove FEAT_FLOAT
Support for floating point variables
2014-05-28 13:08:55 -04:00
Hinidu
ef5d9ccefe Remove FEAT_STL_OPT
'statusline', 'rulerformat' and special format of 'titlestring' and
'iconstring' options
2014-05-28 13:08:54 -04:00
Hinidu
bf87a83058 Remove FEAT_SESSION
Support for :mksession command
2014-05-28 13:08:54 -04:00
Hinidu
9db774df44 Remove FEAT_SEARCHPATH
Support for gf(edit the file whose name is under or after the cursor)
and <cfile>(is replaced with the path name under the cursor).
2014-05-28 13:08:54 -04:00
Hinidu
75f152d09b Remove FEAT_MENU
Support for :menu command. It can be used in terminal Vim too.
2014-05-28 13:08:54 -04:00
Hinidu
50429aee6e Remove FEAT_LISTCMDS
Vim commands for the buffer list and the argument list: ":buffer",
":bnext", ":bdel", ":argdelete", etc.
2014-05-28 13:08:54 -04:00
Hinidu
0b4d990adf Remove FEAT_EX_EXTRA
Vim's extra Ex commands: :center, :left, :normal, :retab and :right
2014-05-28 13:08:54 -04:00
Hinidu
a29b94e2f9 Remove FEAT_EVAL
Support for VimScript, :let, :if, etc.
2014-05-28 13:08:54 -04:00
Hinidu
5f2ccb94d2 Remove FEAT_CURSORBIND
Synchronization of cursor in split windows for diff mode
2014-05-28 13:08:54 -04:00
Hinidu
f65028e5a0 Remove FEAT_CON_DIALOG
Support for :confirm with console dialog.
2014-05-28 13:08:54 -04:00
Hinidu
cfea68db8e Remove FEAT_COMPL_FUNC
Insert mode completion with 'completefunc'
2014-05-28 13:08:54 -04:00
Hinidu
8fb4c551f4 Remove FEAT_COMMENTS
Special comments formatting, see 'comments' option.
2014-05-28 13:08:54 -04:00
Hinidu
ffc2ea372f Remove FEAT_CMDWIN
Command-line window which opens by q:, q/, q?
2014-05-28 13:08:54 -04:00
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