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
18a4ba29ae
patch 8.1.1386: unessesary type casts for lalloc()
...
Problem: Unessesary type casts for lalloc().
Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).
2019-05-24 19:39:03 +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
d6896731ec
patch 8.1.1316: duplicated localtime() call
...
Problem: Duplicated localtime() call.
Solution: Delete one.
2019-05-11 13:09:42 +02:00
Bram Moolenaar
63d2555c9c
patch 8.1.1313: warnings for using localtime() and ctime()
...
Problem: Warnings for using localtime() and ctime().
Solution: Use localtime_r() if available. Avoid using ctime().
2019-05-10 21:28:38 +02:00
Bram Moolenaar
1f3601e92e
patch 8.1.1207: some compilers give warning messages
...
Problem: Some compilers give warning messages.
Solution: Initialize variables, change printf() argument. (Christian
Brabandt, closes #4305 )
2019-04-26 20:33:00 +02:00
Bram Moolenaar
d6c3f1fa2b
patch 8.1.1053: warning for missing return statement
...
Problem: Warning for missing return statement. (Dominique Pelle)
Solution: Add return statement.
2019-03-26 00:31:21 +01:00
Bram Moolenaar
a84a3dd663
patch 8.1.1049: when user tries to exit with CTRL-C message is confusing
...
Problem: When user tries to exit with CTRL-C message is confusing.
Solution: Only mention ":qa!" when there is a changed buffer. (closes #4163 )
2019-03-25 22:21:24 +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
29ddebef40
patch 8.1.0826: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
2019-01-26 17:28:26 +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
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
8aef43b66c
patch 8.1.0703: compiler warnings with 64-bit compiler
...
Problem: Compiler warnings with 64-bit compiler.
Solution: Change types, add type casts. (Mike Williams)
2019-01-08 20:14:35 +01:00
Bram Moolenaar
ccae4672fd
patch 8.1.0688: text properties are not restored by undo
...
Problem: Text properties are not restored by undo.
Solution: Also save text properties for undo.
2019-01-04 15:09:57 +01: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
fd6100b2aa
patch 8.1.0308: a quick undo shows "1 seconds ago"
...
Problem: A quick undo shows "1 seconds ago". (Tony Mechelynck)
Solution: Add singular/plural message.
2018-08-21 17:07:45 +02:00
Bram Moolenaar
efc81331e7
patch 8.1.0179: redundant condition for boundary check
...
Problem: Redundant condition for boundary check.
Solution: Remove the condition. (Dominique Pelle). Change FALSE to FAIL.
2018-07-13 16:31:19 +02:00
Bram Moolenaar
e0be167a80
patch 8.1.0166: using dict_add_nr_str() is clumsy
...
Problem: Using dict_add_nr_str() is clumsy.
Solution: Split into two functions. (Ozaki Kiichi, closes #3154 )
2018-07-08 16:50:37 +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
4551c0a9fc
patch 8.1.0091: MS-Windows: Cannot interrupt gdb when program is running
...
Problem: MS-Windows: Cannot interrupt gdb when program is running.
Solution: Add debugbreak() and use it in the terminal debugger.
Respect 'modified' in a prompt buffer.
2018-06-20 22:38:21 +02:00
Bram Moolenaar
ea39176baa
patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()
...
Problem: No compiler warning for wrong format in vim_snprintf().
Solution: Add printf attribute for gcc. Fix reported problems.
2018-04-08 13:07:22 +02:00
Bram Moolenaar
f2bd8ef2b4
patch 8.0.1564: too many #ifdefs
...
Problem: Too many #ifdefs.
Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and
increases code size of tiny Vim by only 40 Kbyte.
2018-03-04 18:08:14 +01: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
059fd01021
patch 8.0.1443: compiler complains about uninitialized variable
...
Problem: Compiler complains about uninitialized variable. (Tony Mechelynck)
Solution: Assign a value to the variable.
2018-01-31 14:25:53 +01:00
Bram Moolenaar
ce46d934af
patch 8.0.1441: using ":undo 0" leaves undo in wrong state
...
Problem: Using ":undo 0" leaves undo in wrong state.
Solution: Instead of searching for state 1 and go above, just use the start.
(Ozaki Kiichi, closes #2595 )
2018-01-30 22:46:06 +01:00
Bram Moolenaar
f405c8fe85
patch 8.0.1382: get "no write since last change" message if terminal is open
...
Problem: Get "no write since last change" message if a terminal is open.
(Fritz mehner)
Solution: Don't consider a buffer changed if it's a terminal window.
2017-12-09 19:51:49 +01:00
Bram Moolenaar
80eaddd3a0
patch 8.0.1290: seq_cur of undotree() wrong after undo
...
Problem: seq_cur of undotree() wrong after undo.
Solution: Get the actual sequence number instead of decrementing the current
one. (Ozaki Kiichi, closes #2319 )
2017-11-11 23:37:08 +01:00
Bram Moolenaar
d057301b1f
patch 8.0.1236: Mac features are confusing
...
Problem: Mac features are confusing.
Solution: Make feature names more consistent, add "osxdarwin". Rename
feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178 )
2017-10-28 21:11:06 +02:00
Bram Moolenaar
5c6dbcb03f
patch 8.0.1026: GTK on-the-spot input has problems
...
Problem: GTK on-the-spot input has problems. (Gerd Wachsmuth)
Solution: Support over-the-spot. (Yukihiro Nakadaira, Ketn Takata, closes
#1215 )
2017-08-30 22:00:20 +02:00
Bram Moolenaar
829aa64cf5
patch 8.0.0988: warning from Covscan about using NULL pointer
...
Problem: Warning from Covscan about using NULL pointer.
Solution: Add extra check for NULL. (zdohnal)
2017-08-23 22:32:35 +02:00
Bram Moolenaar
eb44a68b42
patch 8.0.0858: can exit while a terminal is still running a job
...
Problem: Can exit while a terminal is still running a job.
Solution: Consider a buffer with a running job like a changed file.
2017-08-03 22:44:55 +02:00
Bram Moolenaar
63ecddab6d
patch 8.0.0798: no highlighting in a terminal window with a finished job
...
Problem: No highlighting in a terminal window with a finished job.
Solution: Highlight the text.
2017-07-28 22:29:35 +02:00
Bram Moolenaar
56f2db562d
patch 8.0.0636: when reading the undo file fails may use uninitialized data
...
Problem: When reading the undo file fails may use uninitialized data.
Solution: Always clear the buffer on failure.
2017-06-11 23:09:15 +02:00
Bram Moolenaar
8820b48654
patch 8.0.0466: still macros that should be all-caps
...
Problem: There are still a few macros that should be all-caps.
Solution: Make a few more macros all-caps.
2017-03-16 17:23:31 +01:00
Bram Moolenaar
91acfffc1e
patch 8.0.0451: some macros are in lower case
...
Problem: Some macros are in lower case.
Solution: Make a few more macros upper case. Avoid lower case macros use an
argument twice.
2017-03-12 19:22:36 +01:00
Bram Moolenaar
b5aedf3e22
patch 8.0.0448: some macros are in lower case
...
Problem: Some macros are in lower case, which can be confusing.
Solution: Make a few lower case macros upper case.
2017-03-12 18:23:53 +01:00
Bram Moolenaar
0c8485f0e4
patch 8.0.0378: possible overflow when reading corrupted undo file
...
Problem: Another possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
2017-02-26 18:17:10 +01:00
Bram Moolenaar
3eb1637b1b
patch 8.0.0377: possible overflow when reading corrupted undo file
...
Problem: Possible overflow when reading corrupted undo file.
Solution: Check if allocated size is not too big. (King)
2017-02-26 18:11:36 +01:00
Bram Moolenaar
5e4e1b1299
patch 8.0.0205: wrong behavior after :undojoin
...
Problem: After :undojoin some commands don't work properly, such as :redo.
(Matthew Malcomson)
Solution: Don't set curbuf->b_u_curhead. (closes #1390 )
2017-01-17 22:09:45 +01:00
Bram Moolenaar
cbd4de44e8
patch 8.0.0149: :earlier does not work after reading the undo file
...
Problem: ":earlier" and ":later" do not work after startup or reading the
undo file.
Solution: Use absolute time stamps instead of relative to the Vim start
time. (Christian Brabandt, Pavel Juhas, closes #1300 , closes
#1254 )
2017-01-07 16:14:57 +01:00
Bram Moolenaar
95f096030e
patch 8.0.0074
...
Problem: Cannot make Vim fail on an internal error.
Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an
internal error without mentioning where.
2016-11-10 20:01:45 +01:00
Bram Moolenaar
55952d4dd4
patch 8.0.0063
...
Problem: Compiler warning for comparing with unsigned. (Zoltan Arpadffy)
Solution: Change <= to ==.
2016-11-05 14:58:34 +01:00
Bram Moolenaar
edf3f97ae2
patch 7.4.2293
...
Problem: Modelines in source code are inconsistant.
Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-08-29 22:49:24 +02:00
Bram Moolenaar
170b10b421
patch 7.4.2113
...
Problem: Test for undo is flaky.
Solution: Turn it into a new style test. Use test_settime() to avoid
flakyness.
2016-07-29 16:15:27 +02:00
Bram Moolenaar
a06ecab7a5
patch 7.4.2048
...
Problem: There is still code and help for unsupported systems.
Solution: Remove the code and text. (Hirohito Higashi)
2016-07-16 14:47:36 +02:00
Bram Moolenaar
8767f52fbf
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)
2016-07-01 17:17:39 +02:00
Bram Moolenaar
d22e9465f6
patch 7.4.1574
...
Problem: ":undo 0" does not work. (Florent Fayolle)
Solution: Make it undo all the way. (closes #688 )
2016-03-15 17:43:55 +01:00
Bram Moolenaar
48e330aff9
patch 7.4.1399
...
Problem: The MS-DOS code does not build.
Solution: Remove the old MS-DOS code.
2016-02-23 14:53:34 +01:00
Bram Moolenaar
1d6fbe6540
patch 7.4.1358
...
Problem: Compiler warning when not building with +crypt.
Solution: Add #ifdef. (John Marriott)
2016-02-19 22:46:34 +01:00
Bram Moolenaar
764b23c8fd
patch 7.4.1214
...
Problem: Using old style function declarations.
Solution: Change to new style function declarations. (script by Hirohito
Higashi)
2016-01-30 21:10:09 +01:00