summaryrefslogtreecommitdiff
path: root/src/sign.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar2022-08-141-5/+5
| | | | | Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
* patch 9.0.0063: too many type casts for dict_get functionsv9.0.0063Bram Moolenaar2022-07-231-9/+9
| | | | | Problem: Too many type casts for dict_get functions. Solution: Change the key argument from "char_u *" to "char *".
* patch 8.2.5107: some callers of rettv_list_alloc() check for not OKv8.2.5107Bram Moolenaar2022-06-161-6/+6
| | | | | | Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van Willegen) Solution: Use "==" instead of "!=" when checking the return value.
* patch 8.2.4683: verbose check with dict_find() to see if a key is presentv8.2.4683Yegappan Lakshmanan2022-04-041-1/+1
| | | | | Problem: Verbose check with dict_find() to see if a key is present. Solution: Add dict_has_key(). (Yegappan Lakshmanan, closes #10074)
* patch 8.2.4610: some conditions are always truev8.2.4610Bram Moolenaar2022-03-221-1/+1
| | | | | Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
* patch 8.2.4241: some type casts are redundantv8.2.4241=?UTF-8?q?Dundar=20G=C3=B6c?=2022-01-281-7/+7
| | | | | Problem: Some type casts are redundant. Solution: Remove the type casts. (closes #9643)
* patch 8.2.4012: error messages are spread outv8.2.4012Bram Moolenaar2022-01-051-2/+2
| | | | | Problem: Error messages are spread out. Solution: Move the last error messages to errors.h.
* patch 8.2.4003: error messages are spread outv8.2.4003Bram Moolenaar2022-01-041-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3975: error messages are spread outv8.2.3975Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
* patch 8.2.3970: error messages are spread outv8.2.3970Bram Moolenaar2022-01-011-1/+1
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3967: error messages are spread outv8.2.3967Bram Moolenaar2022-01-011-9/+9
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar2021-12-311-13/+13
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3955: error messages are spread outv8.2.3955Bram Moolenaar2021-12-311-8/+8
| | | | | Problem: Error messages are spread out. Solution: Move more errors to errors.h.
* patch 8.2.3874: cannot highlight the number column for a signv8.2.3874James McCoy2021-12-221-5/+47
| | | | | Problem: Cannot highlight the number column for a sign. Solution: Add the "numhl" argument. (James McCoy, closes #9381)
* patch 8.2.3748: giving an error for an empty sign argument breaks a pluginv8.2.3748Bram Moolenaar2021-12-051-30/+0
| | | | | Problem: Giving an error for an empty sign argument breaks a plugin. Solution: Do not give an error.
* patch 8.2.3747: cannot remove highlight from an existing signv8.2.3747Bram Moolenaar2021-12-051-7/+26
| | | | | Problem: Cannot remove highlight from an existing sign. (James McCoy) Solution: Only reject empty argument for a new sign.
* patch 8.2.3743: ":sign" can add a highlight group without a namev8.2.3743Bram Moolenaar2021-12-051-0/+26
| | | | | Problem: ":sign" can add a highlight group without a name. Solution: Give an error if the group name is missing. (closes #9280)
* patch 8.2.3664: cannot adjust sign highlighting for 'cursorline'v8.2.3664Bram Moolenaar2021-11-241-3/+38
| | | | | | Problem: Cannot adjust sign highlighting for 'cursorline'. Solution: Add CursorLineSign and CursorLineFold highlight groups. (Gregory Anders, closes #9201)
* patch 8.2.3446: not enough tests for empty string argumentsv8.2.3446Yegappan Lakshmanan2021-09-171-4/+0
| | | | | Problem: Not enough tests for empty string arguments. Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
* patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan2021-07-271-0/+18
| | | | | | Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
* patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan2021-07-231-0/+19
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
* patch 8.2.3194: Vim9: argument types are not checked at compile timev8.2.3194Yegappan Lakshmanan2021-07-211-1/+1
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, simplify some. (Yegappan Lakshmanan, closes #8598)
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-201-0/+6
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.3162: Vim9: argument types are not checked at compile timev8.2.3162Yegappan Lakshmanan2021-07-151-0/+4
| | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add more type checks. (Yegappan Lakshmanan, closes #8560)
* patch 8.2.1558: signs test failsv8.2.1558Bram Moolenaar2020-08-311-0/+1
| | | | | Problem: Signs test fails. Solution: Add missing change to sign.c.
* patch 8.2.1281: the "trailing characters" error can be hard to understandv8.2.1281Bram Moolenaar2020-07-231-1/+1
| | | | | Problem: The "trailing characters" error can be hard to understand. Solution: Add the trailing characters to the message.
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-4/+4
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar2020-04-121-1/+1
| | | | | Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-11/+14
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0281: two placed signs in the same line are not combinedv8.2.0281Bram Moolenaar2020-02-191-0/+24
| | | | | | | Problem: Two placed signs in the same line are not combined. E.g. in the terminal debugger a breakpoint and the PC cannot be both be displayed. Solution: Combine the sign column and line highlight attributes.
* patch 8.2.0108: when sign text is changed a manual redraw is neededv8.2.0108Bram Moolenaar2020-01-091-2/+10
| | | | | | Problem: When sign text is changed a manual redraw is needed. (Pontus Lietzler) Solution: Redraw automatically. (closes #5455)
* patch 8.1.2394: using old C style commentsv8.1.2394Bram Moolenaar2019-12-051-3/+3
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2371: FEAT_TEXT_PROP is a confusing namev8.1.2371Bram Moolenaar2019-11-301-2/+2
| | | | | Problem: FEAT_TEXT_PROP is a confusing name. Solution: Use FEAT_PROP_POPUP. (Naruhiko Nishino, closes #5291)
* patch 8.1.2362: cannot place signs in a popup windowv8.1.2362Bram Moolenaar2019-11-301-5/+16
| | | | | | Problem: Cannot place signs in a popup window. (Maxim Kim) Solution: Use the group prefix "PopUp" to specify which signs should show up in a popup window. (closes #5277)
* patch 8.1.2295: if buffer of popup is in another window cursorline sign showsv8.1.2295Bram Moolenaar2019-11-121-2/+44
| | | | | Problem: If buffer of popup is in another window cursorline sign shows. Solution: Check the group of the sign.
* patch 8.1.2205: sign entry structure has confusing namev8.1.2205Bram Moolenaar2019-10-241-157/+157
| | | | | Problem: Sign entry structure has confusing name. Solution: Rename signlist_T to sign_entry_T and prefix se_ to the fields.
* patch 8.1.1899: sign_place() does not work as documentedv8.1.1899Bram Moolenaar2019-08-211-2/+5
| | | | | | Problem: sign_place() does not work as documented. Solution: Make accept line numbers like line(). (Yegappan Lakshmanan, closes #4848)
* patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar2019-08-181-2/+0
| | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
* patch 8.1.1827: allocating more memory than needed for extended structsv8.1.1827Bram Moolenaar2019-08-081-1/+1
| | | | | | Problem: Allocating more memory than needed for extended structs. Solution: Use offsetof() instead of sizeof(). (Dominique Pelle, closes #4786)
* patch 8.1.1718: popup menu highlighting does not look goodv8.1.1718Bram Moolenaar2019-07-201-6/+16
| | | | | | Problem: Popup menu highlighting does not look good. Solution: Highlight the whole window line. Fix that sign line HL is not displayed in a window with a background color.
* patch 8.1.1682: placing a larger number of signs is slowv8.1.1682Bram Moolenaar2019-07-131-115/+349
| | | | | | Problem: Placing a larger number of signs is slow. Solution: Add functions for dealing with a list of signs. (Yegappan Lakshmanan, closes #4636)
* patch 8.1.1631: displaying signs is inefficientv8.1.1631Bram Moolenaar2019-07-041-60/+66
| | | | | | Problem: Displaying signs is inefficient. Solution: Avoid making multiple calls to get information about a placed sign. (Yegappan Lakshmanan, closes #4586)
* patch 8.1.1623: display wrong with signs in narrow number columnv8.1.1623Bram Moolenaar2019-07-041-0/+26
| | | | | | Problem: Display wrong with signs in narrow number column. Solution: Increase the numbercolumn width if needed. (Yegappan Lakshmanan, closes #4606)
* patch 8.1.1608: the evalfunc.c file is too bigv8.1.1608Bram Moolenaar2019-06-291-5/+356
| | | | | Problem: The evalfunc.c file is too big. Solution: Move sign functionality to sign.c.
* patch 8.1.1552: cursor position is wrong after sign column changesv8.1.1552Bram Moolenaar2019-06-161-3/+3
| | | | | | Problem: Cursor position is wrong after sign column appears or disappears. (Yegappan Lakshmanan) Solution: Call changed_line_abv_curs() instead of changed_cline_bef_curs().
* patch 8.1.1489: sign order wrong when priority was changedv8.1.1489Bram Moolenaar2019-06-071-0/+73
| | | | | | Problem: Sign order wrong when priority was changed. Solution: Reorder signs when priority is changed. (Yegappan Lakshmanan, closes #4502)
* patch 8.1.1466: not updating priority on existing signv8.1.1466Bram Moolenaar2019-06-041-0/+1
| | | | | Problem: Not updating priority on existing sign. Solution: Set the sign priority. Add a test. (Yegappan Lakshmanan)
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-4/+3
| | | | | | 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.
* patch 8.1.1393: unnecessary type castsv8.1.1393Bram Moolenaar2019-05-251-4/+2
| | | | | Problem: Unnecessary type casts. Solution: Remove type casts from alloc() and lalloc() calls. (Mike Williams)
* patch 8.1.1386: unessesary type casts for lalloc()v8.1.1386Bram Moolenaar2019-05-241-3/+3
| | | | | Problem: Unessesary type casts for lalloc(). Solution: Remove type casts. Change lalloc(size, TRUE) to alloc(size).