summaryrefslogtreecommitdiffstats
path: root/src/digraph.c
AgeCommit message (Collapse)Author
2023-12-19patch 9.0.2180: POSIX function name in exarg causes issuesv9.0.2180Zoltan Arpadffy
Problem: POSIX function name in exarg struct causes issues on OpenVMS Solution: Rename getline member in exarg struct to ea_getline, remove isinf() workaround for VMS There are compilers that do not treat well POSIX functions - like getline - usage in the structs. Older VMS compilers could digest this... but the newer OpenVMS compilers ( like VSI C x86-64 X7.4-843 (GEM 50XB9) ) cannot deal with these structs. This could be limited to getline() that is defined via getdelim() and might not affect all POSIX functions in general - but avoiding POSIX function names usage in the structs is a "safe side" practice without compromising the functionality or the code readability. The previous OpenVMS X86 port used a workaround limiting the compiler capabilities using __CRTL_VER_OVERRIDE=80400000 In order to make the OpenVMS port future proof, this pull request proposes a possible solution. closes: #13704 Signed-off-by: Zoltan Arpadffy <zoltan.arpadffy@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-10-20patch 9.0.2056: no digraph for quadruple primev9.0.2056Jonathan Wright
Problem: no digraph for quadruple prime Solution: add quadruple prime digraph using 4' closes: #13380 Signed-off-by: Jonathan Wright <quaggy@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Jonathan Wright <quaggy@gmail.com>
2023-01-27patch 9.0.1251: checking returned value of ga_grow() is inconsistentv9.0.1251Yegappan Lakshmanan
Problem: Checking returned value of ga_grow() is inconsistent. Solution: Check for FAIL instaed of "not OK". (Yegappan Lakshmanan, closes #11897)
2023-01-22patch 9.0.1234: the code style has to be checked manuallyv9.0.1234Bram Moolenaar
Problem: The code style has to be checked manually. Solution: Add basic code style checks in a test. Fix or avoid uncovered problems.
2023-01-09patch 9.0.1166: code is indented more than necessaryv9.0.1166Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11792)
2022-12-26patch 9.0.1098: code uses too much indentv9.0.1098Yegappan Lakshmanan
Problem: Code uses too much indent. Solution: Use an early return. (Yegappan Lakshmanan, closes #11747)
2022-10-13patch 9.0.0747: too many #ifdefsv9.0.0747Martin Tournoij
Problem: Too many #ifdefs. Solution: Gradudate the +cmdline_info feature. (Martin Tournoij, closes #11330)
2022-09-24patch 9.0.0576: unused loop variablesv9.0.0576dundargoc
Problem: Unused loop variables. Solution: Use a while loop instead. (closes #11214)
2022-08-30patch 9.0.0328: OLD_DIGRAPHS is unusedv9.0.0328Bram Moolenaar
Problem: OLD_DIGRAPHS is unused. Solution: Remove OLD_DIGRAPHS. Also drop HPUX_DIGRAPHS.
2022-08-22patch 9.0.0245: mechanism to prevent recursive screen updating is incompletev9.0.0245Bram Moolenaar
Problem: Mechanism to prevent recursive screen updating is incomplete. Solution: Add "redraw_not_allowed" and set it in build_stl_str_hl(). (issue #10952)
2022-08-14patch 9.0.0206: redraw flags are not named specificallyv9.0.0206Bram Moolenaar
Problem: Redraw flags are not named specifically. Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-06-16patch 8.2.5106: default cmdwin mappings are re-mappablev8.2.5106zeertzjq
Problem: Default cmdwin mappings are re-mappable. Solution: Make the default mappings not re-mappable. (closes #10580) Use symbols for the first do_map() argument.
2022-05-09patch 8.2.4928: various white space and cosmetic mistakesv8.2.4928Bram Moolenaar
Problem: Various white space and cosmetic mistakes. Solution: Change spaces to tabs, improve comments.
2022-05-07patch 8.2.4911: the mode #defines are not clearly namedv8.2.4911Bram Moolenaar
Problem: The mode #defines are not clearly named. Solution: Prepend MODE_. Renumber them to put the mapped modes first.
2022-03-19patch 8.2.4594: need to write script to a file to be able to source themv8.2.4594Yegappan Lakshmanan
Problem: Need to write script to a file to be able to source them. Solution: Make ":source" use lines from the current buffer. (Yegappan Lakshmanan et al., closes #9967)
2022-01-31patch 8.2.4273: the EBCDIC support is outdatedv8.2.4273Bram Moolenaar
Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support.
2022-01-08patch 8.2.4043: using int for second argument of ga_init2()v8.2.4043Bram Moolenaar
Problem: Using int for second argument of ga_init2(). Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-05patch 8.2.4008: error messages are spread outv8.2.4008Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2022-01-02patch 8.2.3987: error messages are spread outv8.2.3987Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2021-12-16patch 8.2.3830: error messages are spread outv8.2.3830Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
2021-09-08patch 8.2.3415: Vim9: not all function argument types are properly checkedv8.2.3415Yegappan Lakshmanan
Problem: Vim9: Not all function argument types are properly checked. Solution: Add and improve argument type checks. (Yegappan Lakshmanan, closes #8839)
2021-08-09patch 8.2.3320: some local functions are not staticv8.2.3320Yegappan Lakshmanan
Problem: Some local functions are not static. Solution: Add "static". Move snprintf() related code to strings.c. (Yegappan Lakshmanan, closes #8734)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
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)
2021-07-26patch 8.2.3226: new digraph functions use old naming schemev8.2.3226h-east
Problem: New digraph functions use old naming scheme. Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
2021-07-20patch 8.2.3190: error messages are spread outv8.2.3190Bram Moolenaar
Problem: Error messages are spread out. Solution: Move error messages to errors.h and give them a clear name.
2021-07-19patch 8.2.3184: cannot add a digraph with a leading spacev8.2.3184mityu
Problem: Cannot add a digraph with a leading space. It is not easy to list existing digraphs. Solution: Add setdigraph(), setdigraphlist(), getdigraph() and getdigraphlist(). (closes #8580)
2020-09-08patch 8.2.1635: no digraph for 0x2022 BULLETv8.2.1635Bram Moolenaar
Problem: No digraph for 0x2022 BULLET. Solution: Use "oo". (Hans Ginzel, closes #6904)
2020-07-14patch 8.2.1215: Atari MiNT support is outdatedv8.2.1215Bram Moolenaar
Problem: Atari MiNT support is outdated. Solution: Nobody responded this code is still useful, so let's delete it.
2020-06-07patch 8.2.0928: many type casts are used for vim_strnsave()v8.2.0928Bram Moolenaar
Problem: Many type casts are used for vim_strnsave(). Solution: Make the length argument size_t instead of int. (Ken Takata, closes #5633) Remove some type casts.
2019-12-01patch 8.1.2378: using old C style commentsv8.1.2378Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-08-24patch 8.1.1923: some source files are not in a normal encodingv8.1.1923Bram Moolenaar
Problem: Some source files are not in a normal encoding. Solution: Convert hangulin.c from euc-kr to utf-8 and digraph.c from latin1 to utf-8. (Daniel Hahler, closes #4731)
2019-08-20patch 8.1.1891: functions used in one file are globalv8.1.1891Bram Moolenaar
Problem: Functions used in one file are global. Solution: Add "static". (Yegappan Lakshmanan, closes #4840)
2019-06-25patch 8.1.1588: in :let-heredoc line continuation is recognizedv8.1.1588Bram Moolenaar
Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes #4580)
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
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-01-24patch 8.1.0805: too many #ifdefsv8.1.0805Bram Moolenaar
Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1.
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
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.
2018-12-14patch 8.1.0586: :digraph output is not easy to readv8.1.0586Bram Moolenaar
Problem: :digraph output is not easy to read. Solution: Add highlighting for :digraphs. (Marcin Szamotulski, closes #3572) Also add section headers for :digraphs!.
2018-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-06-16patch 8.1.0059: displayed digraph for "ga" wrong with 'encoding' "cp1251"v8.1.0059Bram Moolenaar
Problem: Displayed digraph for "ga" wrong with 'encoding' "cp1251". Solution: Convert from 'encoding' to "utf-8" if needed. (closes #3015)
2018-02-27patch 8.0.1553: cannot see what digraph is used to insert a characterv8.0.1553Bram Moolenaar
Problem: Cannot see what digraph is used to insert a character. Solution: Show the digraph with the "ga" command. (Christian Brabandt)
2018-01-28patch 8.0.1435: memory leak in test_arabicv8.0.1435Bram Moolenaar
Problem: Memory leak in test_arabic. Solution: Free the from and to parts. (Christian Brabandt, closes #2569)
2017-10-28patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar
Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
2017-09-16patch 8.0.1118: FEAT_WINDOWS adds a lot of #ifdefsv8.0.1118Bram Moolenaar
Problem: FEAT_WINDOWS adds a lot of #ifdefs while it is nearly always enabled and only adds 7% to the binary size of the tiny build. Solution: Graduate FEAT_WINDOWS.
2017-07-22patch 8.0.0749: some unicode digraphs are hard to rememberv8.0.0749Bram Moolenaar
Problem: Some unicode digraphs are hard to remember. Solution: Add alternatives with a backtick. (Chris Harding, closes #1861)
2016-11-04patch 8.0.0062v8.0.0062Bram Moolenaar
Problem: No digraph for HORIZONTAL ELLIPSIS. Solution: Use ",.". (Hans Ginzel, closes #1226)
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-31patch 7.4.2135v7.4.2135Bram Moolenaar
Problem: Various tiny issues. Solution: Update comments, white space, etc.
2016-03-12patch 7.4.1552v7.4.1552Bram Moolenaar
Problem: ":colorscheme" does not use 'packpath'. Solution: Also use in "start" and "opt" directories in 'packpath'.
2016-02-23patch 7.4.1399v7.4.1399Bram Moolenaar
Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
2016-01-30patch 7.4.1205v7.4.1205Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)