Bram Moolenaar
0efd1bdcf4
patch 8.1.2419: with a long file name the hit-enter prompt appears
...
Problem: With a long file name the hit-enter prompt appears. (J. Lewis
Muir)
Solution: When checking for text to wrap don't do this when outputing a CR.
2019-12-11 19:00:04 +01:00
Bram Moolenaar
f48ee3c284
patch 8.1.2402: typos and other small things
...
Problem: Typos and other small things.
Solution: Small fixes.
2019-12-06 22:18:20 +01:00
Bram Moolenaar
32aa10203b
patch 8.1.2243: typos in comments
...
Problem: Typos in comments.
Solution: Fix the typos. (Dominique Pelle, closes #5160 ) Also adjust
formatting a bit.
2019-11-02 22:54:41 +01:00
Bram Moolenaar
a1cb1d1dce
patch 8.1.2171: mouse support not always available
...
Problem: Mouse support not always available.
Solution: Enable mouse support also in tiny version. Do not define
FEAT_MOUSE_XTERM on MS-Windows (didn't really work).
2019-10-17 23:00:07 +02:00
Bram Moolenaar
e3a22cb1ba
patch 8.1.2149: crash when running out of memory very early
...
Problem: Crash when running out of memory very early.
Solution: Do not use IObuff when it's NULL. (closes #5052 )
2019-10-14 22:01:57 +02:00
Bram Moolenaar
e8070987c6
patch 8.1.2141: :tselect has an extra hit-enter prompt
...
Problem: :tselect has an extra hit-enter prompt.
Solution: Do not set need_wait_return when only moving the cursor.
(closes #5040 )
2019-10-12 17:07:06 +02:00
Bram Moolenaar
ce0fac2897
patch 8.1.2083: multi-byte chars do not work properly with "%.*S" in printf()
...
Problem: Multi-byte chars do not work properly with "%.*S" in printf().
Solution: Use mb_ptr2cells(). Daniel Hahler, closes #4989 )
2019-09-27 13:32:06 +02:00
Bram Moolenaar
b20b9e14dd
patch 8.1.2062: the mouse code is spread out
...
Problem: The mouse code is spread out.
Solution: Move all the mouse code to mouse.c. (Yegappan Lakshmanan,
closes #4959 )
2019-09-21 20:48:04 +02:00
Bram Moolenaar
e5fbd73930
patch 8.1.2018: using freed memory when out of memory and displaying message
...
Problem: Using freed memory when out of memory and displaying message.
Solution: Make a copy of the message first.
2019-09-09 20:04:13 +02:00
Bram Moolenaar
b005cd80cf
patch 8.1.1979: code for handling file names is spread out
...
Problem: Code for handling file names is spread out.
Solution: Move code to new filepath.c file. Graduate FEAT_MODIFY_FNAME.
2019-09-04 15:54:55 +02:00
Bram Moolenaar
6f10c70b59
patch 8.1.1895: using NULL pointer when out of memory
...
Problem: Using NULL pointer when out of memory.
Solution: Bail out or skip the code using the pointer. (Zu-Ming Jiang,
closes #4805 , closes #4843 , closes #4939 , closes #4844 )
2019-08-20 22:58:37 +02:00
Bram Moolenaar
5843f5f37b
patch 8.1.1891: functions used in one file are global
...
Problem: Functions used in one file are global.
Solution: Add "static". (Yegappan Lakshmanan, closes #4840 )
2019-08-20 20:13:45 +02:00
Bram Moolenaar
e809a4ed30
patch 8.1.1630: various small problems
...
Problem: Various small problems.
Solution: Various small improvements.
2019-07-04 17:35:05 +02:00
Bram Moolenaar
c799fe206e
patch 8.1.1414: alloc() returning "char_u *" causes a lot of type casts
...
Problem: Alloc() returning "char_u *" causes a lot of type casts.
Solution: Have it return "void *". (Mike Williams) Define ALLOC_ONE() to
check the simple allocations.
2019-05-28 23:08:19 +02:00
Bram Moolenaar
51e14387f1
patch 8.1.1393: unnecessary type casts
...
Problem: Unnecessary type casts.
Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
2019-05-25 20:21:28 +02:00
Bram Moolenaar
964b3746b9
patch 8.1.1384: using "int" for alloc() often results in compiler warnings
...
Problem: Using "int" for alloc() often results in compiler warnings.
Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim
only works with 32 bit ints anyway.
2019-05-24 18:54:09 +02:00
Bram Moolenaar
eae1b91fea
patch 8.1.1306: Borland support is outdated and doesn't work
...
Problem: Borland support is outdated and doesn't work.
Solution: Remove Borland support, there are other (free) compilers
available. (Thomas Dziedzic, Ken Takata, closes #4364 )
2019-05-09 15:12:55 +02:00
Bram Moolenaar
0b75f7c97c
patch 8.1.1301: when compiled with VIMDLL some messages are not shown
...
Problem: When compiled with VIMDLL some messages are not shown.
Solution: Set/reset gui.in_use and gui.starting as needed. (Ken Takata,
closes #4361 )
2019-05-08 22:28:46 +02:00
Bram Moolenaar
c779c674ac
patch 8.1.1233: cannot build tiny version
...
Problem: Cannot build tiny version.
Solution: Remove #ifdef for verb_msg().
2019-04-28 22:53:41 +02:00
Bram Moolenaar
afde13b62b
patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exe
...
Problem: A lot of code is shared between vim.exe and gvim.exe.
Solution: Optionally put the shared code in vim.dll. (Ken Takata,
closes #4287 )
2019-04-28 19:46:49 +02:00
Bram Moolenaar
725310d89e
patch 8.1.1201: output of :command is hard to read
...
Problem: Output of :command is hard to read.
Solution: Make some columns wider, some narrower. Truncate the command when
listing all.
2019-04-24 23:08:23 +02:00
Bram Moolenaar
2c519cf3bf
patch 8.1.1032: warnings from clang static analyzer
...
Problem: Warnings from clang static analyzer. (Yegappan Lakshmanan)
Solution: Fix relevant warnings.
2019-03-21 21:45:34 +01:00
Bram Moolenaar
97c2c05ead
patch 8.1.0969: message written during startup is truncated
...
Problem: Message written during startup is truncated.
Solution: Restore message after truncating. (closes 3969)
2019-02-22 13:42:07 +01:00
Bram Moolenaar
0d8562a999
patch 8.1.0954: arguments of semsg() and siemsg() are not checked
...
Problem: Arguments of semsg() and siemsg() are not checked.
Solution: Add function prototype with __attribute__.
2019-02-19 21:34:05 +01:00
Bram Moolenaar
4f97475d32
patch 8.1.0941: macros for MS-Windows are inconsistent
...
Problem: Macros for MS-Windows are inconsistent, using "32", "3264 and
others.
Solution: Use MSWIN for all MS-Windows builds. Use FEAT_GUI_MSWIN for the
GUI build. (Hirohito Higashi, closes #3932 )
2019-02-17 17:44:42 +01:00
Bram Moolenaar
0059074008
patch 8.1.0927: USE_CR is never defined
...
Problem: USE_CR is never defined.
Solution: Remove usage of USE_CR. (Ken Takata, closes #3958 )
2019-02-15 21:06:09 +01:00
Bram Moolenaar
0f77d6afd5
patch 8.1.0919: compiler warnings
...
Problem: Compiler warnings.
Solution: Add type casts. (Mike Williams)
2019-02-14 20:55:09 +01:00
Bram Moolenaar
9b5c1fcdea
patch 8.1.0918: MS-Windows: startup messages are not converted
...
Problem: MS-Windows: startup messages are not converted.
Solution: Convert messages when the current codepage differs from
'encoding'. (Yasuhiro Matsumoto, closes #3914 )
2019-02-14 14:08:04 +01:00
Bram Moolenaar
30276f2beb
patch 8.1.0811: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, the final chapter.
2019-01-24 17:59:39 +01:00
Bram Moolenaar
fc3abf47fb
patch 8.1.0806: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 2.
2019-01-24 15:54:21 +01:00
Bram Moolenaar
113e10721f
patch 8.1.0785: depending on the configuration some functions are unused
...
Problem: Depending on the configuration some functions are unused.
Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle,
closes #3822 )
2019-01-20 15:30:40 +01:00
Bram Moolenaar
63c0ccd2b6
patch 8.1.0783: compiler warning for signed/unsigned
...
Problem: Compiler warning for signed/unsigned.
Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes #3827 )
2019-01-19 21:06:58 +01:00
Bram Moolenaar
32526b3c18
patch 8.1.0779: argument for message functions is inconsistent
...
Problem: Argument for message functions is inconsistent.
Solution: Make first argument to msg() "char *".
2019-01-19 17:43:09 +01:00
Bram Moolenaar
83a52171ba
patch 8.1.0759: showing two characters for tab is limited
...
Problem: Showing two characters for tab is limited.
Solution: Allow for a third character for "tab:" in 'listchars'. (Nathaniel
Braun, Ken Takata, closes #3810 )
2019-01-16 22:41:54 +01:00
Bram Moolenaar
f9e3e09fdc
patch 8.1.0743: giving error messages is not flexible
...
Problem: Giving error messages is not flexible.
Solution: Add semsg(). Change argument from "char_u *" to "char *", also
for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes
#3302 ) Also make emsg() accept a "char *" argument. Get rid of
an enormous number of type casts.
2019-01-13 23:38:42 +01:00
Bram Moolenaar
461a7fcfce
patch 8.1.0619: :echomsg and :echoerr do not handle List and Dict
...
Problem: :echomsg and :echoerr do not handle List and Dict like :echo does.
(Daniel Hahler)
Solution: Be more tolerant about the expression result type.
2018-12-22 13:28:07 +01:00
Bram Moolenaar
d155d7a851
patch 8.1.0615: get_tv function names are not consistent
...
Problem: Get_tv function names are not consistent.
Solution: Rename to tv_get.
2018-12-21 16:04:21 +01:00
Bram Moolenaar
76a6345433
patch 8.1.0550: expression evaluation may repeat an error message
...
Problem: Expression evaluation may repeat an error message. (Jason
Franklin)
Solution: Increment did_emsg and check for the value when giving an error
for the echo command.
2018-11-28 20:38:37 +01:00
Bram Moolenaar
6a2633b00b
patch 8.1.0466: autocmd test fails
...
Problem: Autocmd test fails.
Solution: Do call inchar() when flushing typeahead.
2018-10-07 23:16:36 +02:00
Bram Moolenaar
6dff58f15c
patch 8.1.0443: unnecessary static function prototypes
...
Problem: Unnecessary static function prototypes.
Solution: Remove unnecessary prototypes.
2018-09-30 21:43:26 +02:00
Bram Moolenaar
e0429681ae
patch 8.1.0135: undo message delays screen update for CTRL-O u
...
Problem: Undo message delays screen update for CTRL-O u.
Solution: Add smsg_attr_keep(). (closes #3125 )
2018-07-01 16:44:03 +02:00
Bram Moolenaar
0c18319872
patch 8.1.0122: translators don't always understand the maintainer message
...
Problem: Translators don't always understand the maintainer message.
Solution: Add a comment that ends up in the generated po file. (Christian
Brabandt, closes #3037 )
2018-06-28 14:54:43 +02:00
Bram Moolenaar
04958cbaf2
patch 8.1.0105: all tab stops are the same
...
Problem: All tab stops are the same.
Solution: Add the variable tabstop feature. (Christian Brabandt,
closes #2711 )
2018-06-23 19:23:02 +02:00
Bram Moolenaar
1d4754f96f
patch 8.1.0082: in terminal window, typing : at more prompt, inserts ':'
...
Problem: In terminal window, typing : at more prompt, inserts ':' instead
of starting another Ex command.
Solution: Add skip_term_loop and set it when putting ':' in the typeahead
buffer.
2018-06-19 17:49:24 +02:00
Bram Moolenaar
0b6d911e5d
patch 8.1.0020: cannot tell whether a register is executing or recording
...
Problem: Cannot tell whether a register is being used for executing or
recording.
Solution: Add reg_executing() and reg_recording(). (Hirohito Higashi,
closes #2745 ) Rename the global variables for consistency. Store
the register name in reg_executing.
2018-05-22 20:35:17 +02:00
Bram Moolenaar
c36651b4b9
patch 8.0.1773: dialog messages are not translated
...
Problem: Dialog messages are not translated.
Solution: Add N_() and _() where needed. (Sergey Alyoshin)
2018-04-29 12:22:56 +02:00
Bram Moolenaar
1feab2b9cc
patch 8.0.1728: condition always false, useless code
...
Problem: Condition always false, useless code.
Solution: Remove the code. (Nikolai Pavlov, closes #2808 )
2018-04-17 20:12:08 +02:00
Bram Moolenaar
d23a823669
patch 8.0.1496: clearing a pointer takes two lines
...
Problem: Clearing a pointer takes two lines.
Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi,
closes #2629 )
2018-02-10 18:45:26 +01:00
Bram Moolenaar
191f18bad0
patch 8.0.1468: illegal memory access in del_bytes()
...
Problem: Illegal memory access in del_bytes().
Solution: Check for negative byte count. (Christian Brabandt, closes #2466 )
2018-02-04 16:38:47 +01:00
Bram Moolenaar
a338adcf22
patch 8.0.1449: slow redrawing with DirectX
...
Problem: Slow redrawing with DirectX.
Solution: Avoid calling gui_mch_flush() unnecessarily, especially when
updating the cursor. (Ken Takata, closes #2560 )
2018-01-31 20:51:47 +01:00