summaryrefslogtreecommitdiffstats
path: root/src/gui_photon.c
AgeCommit message (Collapse)Author
2024-01-04patch 9.1.0006: is*() and to*() function may be unsafev9.1.0006Keith Thompson
Problem: is*() and to*() function may be unsafe Solution: Add SAFE_* macros and start using those instead (Keith Thompson) Use SAFE_() macros for is*() and to*() functions The standard is*() and to*() functions declared in <ctype.h> have undefined behavior for negative arguments other than EOF. If plain char is signed, passing an unchecked value from argv for from user input to one of these functions has undefined behavior. Solution: Add SAFE_*() macros that cast the argument to unsigned char. Most implementations behave sanely for negative arguments, and most character values in practice are non-negative, but it's still best to avoid undefined behavior. The change from #13347 has been omitted, as this has already been separately fixed in commit ac709e2fc0db6d31abb7da96f743c40956b60c3a (v9.0.2054) fixes: #13332 closes: #13347 Signed-off-by: Keith Thompson <Keith.S.Thompson@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
2023-05-20patch 9.0.1572: error messages are not translatedv9.0.1572Bram Moolenaar
Problem: Error messages are not translated. Solution: Add _().
2023-03-07patch 9.0.1391: "clear" macros are not always usedv9.0.1391Yegappan Lakshmanan
Problem: "clear" macros are not always used. Solution: Use ALLOC_ONE, VIM_CLEAR, CLEAR_POINTER and CLEAR_FIELD in more places. (Yegappan Lakshmanan, closes #12104)
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-08patch 9.0.1158: code is indented more than necessaryv9.0.1158Yegappan Lakshmanan
Problem: Code is indented more than necessary. Solution: Use an early return where it makes sense. (Yegappan Lakshmanan, closes #11787)
2021-12-31patch 8.2.3961: error messages are spread outv8.2.3961Bram Moolenaar
Problem: Error messages are spread out. Solution: Move more errors to errors.h.
2021-12-27patch 8.2.3914: various spelling mistakes in commentsv8.2.3914Dominique Pelle
Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pellé, closes #9416)
2021-06-02patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata
Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
2020-08-01patch 8.2.1335: CTRL-C in the GUI doesn't interruptv8.2.1335Bram Moolenaar
Problem: CTRL-C in the GUI doesn't interrupt. (Sergey Vlasov) Solution: Recognize "C" with CTRL modifier as CTRL-C. (issue #6565)
2020-07-17patch 8.2.1228: scrollbars not flush against the window edges when maximisedv8.2.1228Bram Moolenaar
Problem: Scrollbars not flush against the window edges when maximised. Solution: Add padding. (Ken Takata, closes #5602, closes #6466)
2020-01-26patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar
Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
2019-12-02patch 8.1.2383: using old C style commentsv8.1.2383Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
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-03-30patch 8.1.1086: too many curly bracesv8.1.1086Bram Moolenaar
Problem: Too many curly braces. Solution: Remove curly braces where they are not needed. (Hirohito Higashi, closes #3982)
2019-01-28patch 8.1.0840: getchar(0) never returns a character in the terminalv8.1.0840Bram Moolenaar
Problem: getchar(0) never returns a character in the terminal. Solution: Call wait_func() at least once.
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-09-30patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar
Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
2018-02-10patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar
Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
2018-01-31patch 8.0.1450: GUI: endless loop when stopping cursor blinkingv8.0.1450Bram Moolenaar
Problem: Endless loop when gui_mch_stop_blink() is called while blink_state is BLINK_OFF. (zdohnal) Solution: Avoid calling gui_update_cursor() recursively.
2017-07-23patch 8.0.0755: terminal window does not have colors in the GUIv8.0.0755Bram Moolenaar
Problem: Terminal window does not have colors in the GUI. Solution: Lookup the GUI color.
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-08-22patch 7.4.2243v7.4.2243Bram Moolenaar
Problem: Warning for assigning negative value to unsigned. (Danek Duvall) Solution: Make cterm_normal_fg_gui_color and _bg_ guicolor_T, cast to long_u only when an unsigned is needed.
2016-07-07patch 7.4.1995v7.4.1995Bram Moolenaar
Problem: GUI: cursor drawn in wrong place if a timer callback causes a screen update. (David Samvelyan) Solution: Also redraw the cursor when it's blinking and on.
2016-06-04patch 7.4.1890v7.4.1890Bram Moolenaar
Problem: GUI: When channel data is received the cursor blinking is interrupted. (Ramel Eshed) Solution: Don't update the cursor when it is blinking.
2016-04-26patch 7.4.1792v7.4.1792Bram Moolenaar
Problem: Color name decoding is implemented several times. Solution: Move it to term.c. (Christian Brabandt)
2016-01-30patch 7.4.1208v7.4.1208Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2013-05-06updated for version 7.3.925v7.3.925Bram Moolenaar
Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
2012-11-20updated for version 7.3.719v7.3.719Bram Moolenaar
Problem: Cannot run new version of cproto, it fails on missing include files. Solution: Add lots of #ifndef PROTO
2011-09-14updated for version 7.3.310v7.3.310Bram Moolenaar
Problem: Code not following Vim style. Solution: Fix the style. (Elias Diem)
2011-09-07updated for version 7.3.299v7.3.299Bram Moolenaar
Problem: Source code not in Vim style. Solution: Adjust the style. (Elias Diem)
2011-09-07updated for version 7.3.298v7.3.298Bram Moolenaar
Problem: Built-in colors are different from rgb.txt. Solution: Adjust the color values. (Benjamin Haskell)
2011-08-10updated for version 7.3.271v7.3.271Bram Moolenaar
Problem: Code not following Vim coding style. Solution: Fix the style. (Elias Diem)
2011-07-27updated for version 7.3.262v7.3.262Bram Moolenaar
Problem: Photon code style doesn't match Vim style. Solution: Clean up some of it. (Elias Diem)
2011-01-17updated for version 7.3.102v7.3.102Bram Moolenaar
Problem: When using ":make", typing the next command and then getting the "reload" prompt the next command is (partly) eaten by the reload prompt. Solution: Accept ':' as a special character at the reload prompt to accept the default choice and execute the command.
2009-07-01updated for version 7.2-219v7.2.219Bram Moolenaar
2007-05-10updated for version 7.1bBram Moolenaar
2006-04-16updated for version 7.0ev7.0eBram Moolenaar
2006-03-29updated for version 7.0c03v7.0c03Bram Moolenaar
2006-03-27updated for version 7.0c01Bram Moolenaar
2005-07-25updated for version 7.0116Bram Moolenaar
2005-03-15updated for version 7.0060Bram Moolenaar
2005-01-11updated for version 7.0037Bram Moolenaar
2005-01-08updated for version 7.0035Bram Moolenaar
2004-12-31updated for version 7.0027Bram Moolenaar
2004-12-12updated for version 7.0022Bram Moolenaar
2004-06-13updated for version 7.0001v7.0001Bram Moolenaar