aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/mbyte.c
Commit message (Collapse)AuthorAge
* refactor: reformat with uncrustify #15736dundargoc2021-09-20
| | | | * fix function parameter comments * remove space after star in function names
* refactor: format files with uncrustify #15607dundargoc2021-09-10
|
* fixup! remove DYNAMIC_ICONVJan Edmund Lazo2021-08-01
| | | | | Code for "DYNAMIC_ICONV" macro was dead since v0.3.0. https://github.com/neovim/neovim/commit/d87e5d70163addaa4ab140425c8bf875ea3b747f
* refactor: replace TRUE/FALSE macros with C99 true/falseDundar Göc2021-07-25
|
* floats: add borders (MS-DOS MODE)Björn Linse2021-03-22
|
* vim-patch:8.2.0901: formatting CJK text isn't optimalJan Edmund Lazo2020-10-23
| | | | | | Problem: Formatting CJK text isn't optimal. Solution: Properly break CJK lines. (closes vim/vim#3875) https://github.com/vim/vim/commit/e52702f00322c8a8861efd0bd6a3775e685e5685
* vim-patch:8.2.1547: various comment problemsJan Edmund Lazo2020-10-18
| | | | | | Problem: Various comment problems. Solution: Update comments. https://github.com/vim/vim/commit/02c037a4be6aeb7f6376e7dcc3ab41cfc6db3ede
* Merge #11805 'vim-patch:8.1.0619'Justin M. Keyes2020-02-29
|
* win/l10n: add zh-* locale aliases #11963cyy2020-02-29
|
* vim-patch:8.0.1550: various small problems in source filesJan Edmund Lazo2019-09-07
| | | | | | Problem: Various small problems in source files. Solution: Fix the problems. https://github.com/vim/vim/commit/792f0e36593d1ec13ccb8a622ca5542c500577b4
* utf16_to_utf8: align with libuvJustin M. Keyes2019-08-15
| | | | | | | | | - take a size parameter - return libuv error code - handle error in caller only (avoid redundant messages) https://github.com/libuv/libuv/commit/53995a3825d23eacd01e2bcfa35642c4a188d32b https://github.com/libuv/libuv/commit/4c945f49365ab4d6e1b07bf0ef2893455dc04622
* utf8_to_utf16: align with libuvJustin M. Keyes2019-08-15
| | | | | | | | | | - take a size parameter - always NUL-terminate the result - return libuv error code - handle error in caller only (avoid redundant messages) https://github.com/libuv/libuv/commit/53995a3825d23eacd01e2bcfa35642c4a188d32b https://github.com/libuv/libuv/commit/4c945f49365ab4d6e1b07bf0ef2893455dc04622
* Merge #10708 'remove DYNAMIC_ICONV'Justin M. Keyes2019-08-09
|\ | | | | | | closes #3457
| * remove DYNAMIC_ICONVerw72019-08-06
| |
* | lua: minimal UTF-16 support needed for LSPBjörn Linse2019-08-08
| |
* | lua: support getting UTF-32 and UTF-16 sizes of replaced textBjörn Linse2019-08-06
|/
* doc [ci skip] #10129Justin M. Keyes2019-06-10
| | | - document lua vim.loop #10123
* lintAndrej Zieger2019-05-26
|
* vim-patch:8.0.1496: VIM_CLEAR()Justin M. Keyes2019-05-25
| | | | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629) vim-patch:8.0.1481
* lintJan Edmund Lazo2019-04-12
|
* vim-patch:8.1.1156: Unicode emoji and other image characters not recognizedJan Edmund Lazo2019-04-12
| | | | | | | Problem: Unicode emoji and other image characters not recognized. Solution: Add ranges for musical notation, game pieces, etc. (Martin Tournoij, closes vim/vim#4238) https://github.com/vim/vim/commit/d489c9801b3aaf284d42643507bbfb9ce3bc0f2f
* Allow using internal popupmenu or ext_popupmenu for wildmenuBjörn Linse2019-03-16
| | | | | Deprecate ext_wildmenu. ext_popupmenu already contains more state (anchor position), and will allow further expansion (info about items).
* cleanup: remove legacy `enc_dbcs` global #9660Justin M. Keyes2019-03-02
|
* utf16_to_utf8: minor fixesJustin M. Keyes2019-02-25
|
* multigrid: various cleanup (types, unused parameters)Björn Linse2018-12-31
| | | | Handle the rare case of full highlight table properly
* multigrid: avoid allocation when not ext_multigrid.Björn Linse2018-12-31
| | | | Move grid specific functions from mbyte.c to screen.c
* multigrid: Add ScreenGrid as a param to multibyte functionsUtkarsh Maheshwari2018-12-31
|
* multigrid: Get rid of global ScreenLines and set_screengridUtkarsh Maheshwari2018-12-31
|
* lint: clean-up after parent commitsZviRackover2018-08-31
|
* Refactor: remove mb_ptr2len_len, mb_ptr2cells and mb_ptr2cells_lenZviRackover2018-08-31
| | | | Remove occurences of these macros.
* Remove occurences of mb_head_offZviRackover2018-08-15
|
* lint: clean up after parent commitZviRackover2018-08-14
|
* Remove all occurrences of mb_off2cellsZviRackover2018-08-13
|
* vim-patch:8.0.1433: illegal memory access after undoJan Edmund Lazo2018-08-09
| | | | | | | Problem: Illegal memory access after undo. (Dominique Pelle) Solution: Avoid the column becomes negative. (Christian Brabandt, closes vim/vim#2533) https://github.com/vim/vim/commit/95dbcbea6d85a5b79d9617ab3863458fdf0217a0
* Remove all occurences of the mb_ptr2char macroZviRackover2018-08-06
| | | | | | | First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
* vim-patch:8.0.0252: not properly recognizing word characters between 128 and 255Jan Edmund Lazo2018-07-01
| | | | | | | | Problem: Characters below 256 that are not one byte are not always recognized as word characters. Solution: Make vim_iswordc() and vim_iswordp() work the same way. Add a test for this. (Ozaki Kiichi) https://github.com/vim/vim/commit/4019cf90b8657d4ab1c39744db63550f44f405a2
* use wchar_t instead of WCHAR #6998Matt Kline2018-06-18
| | | | wchar_t has better cross-platform support and seems to fix an issue on MinGW when building with `-std=c99`.
* Merge #8526 from janlazo/vim-8.0.0451Justin M. Keyes2018-06-16
|\
| * vim-patch:8.0.0451: some macros are in lower caseJan Edmund Lazo2018-06-12
| | | | | | | | | | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
* | screen: use UTF-8 representationBjörn Linse2018-06-13
|/ | | | | | | | | | | | | | Store text in ScreenLines as UTF-8, so it can be sent as-is to the UI layer. `utfc_char2bytes(off,buf)` is removed, as `ScreenLines[off]` now already contains this representation. To recover the codepoints that the screen arrays previously contained, use utfc_ptr2char (or utf_ptr2char to ignore composing chars). NB: This commit does NOT change how screen.c processes incoming UTF-8 data from buffers, cmdline, messages etc. Any algorithm that operates on UCS-4 (like arabic shaping, treatment of non-printable chars) is left unchanged for now.
* win: enable DYNAMIC_ICONVJustin M. Keyes2018-06-06
|
* mbyte: Fix PVS/V557: do not do useless jobZyX2018-04-15
| | | | I do not see how array overrun is actually possible, but still EUC encodings may do fine without a cycle.
* charset,*: Refactor transstr()ZyX2018-04-09
|
* *: Fix linter errorsZyX2017-10-30
| | | | Big function in expressions.c may be refactored, if I ever catch the idea how to split it right.
* ex_getln: Make use of new parser to color expressionsZyX2017-10-29
| | | Retires g:Nvim_color_expr callback.
* mbyte: Lint some functions which are to be copied for symbolic testsZyX2017-10-15
|
* Merge branch 'master' into colored-cmdlineZyX2017-07-31
|\
| * menu_get(): docJustin M. Keyes2017-07-28
| |
| * viml: introduce menu_get() function #6322Matthieu Coudron2017-07-28
| | | | | | | | menu_get({path}, {modes}). See :h menu_get.
* | Merge branch 'master' into colored-cmdlineZyX2017-07-15
|\|