summaryrefslogtreecommitdiff
path: root/src/mbyte.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.0320: no Haiku supportv8.2.0320Bram Moolenaar2020-02-261-1/+1
| | | | | Problem: No Haiku support. Solution: Add support for Haiku. (Emir Sari, closes #5605)
* patch 8.2.0156: various typos in source files and testsv8.2.0156Bram Moolenaar2020-01-261-3/+3
| | | | | Problem: Various typos in source files and tests. Solution: Fix the typos. (Emir Sari, closes #5532)
* patch 8.1.2388: using old C style commentsv8.1.2388Bram Moolenaar2019-12-041-516/+514
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2361: MS-Windows: test failures related to VIMDLLv8.1.2361Bram Moolenaar2019-11-291-3/+12
| | | | | Problem: MS-Windows: test failures related to VIMDLL. Solution: Adjust code and tests. (Ken Takata, closes #5283)
* patch 8.1.2327: cannot build with Hangul inputv8.1.2327Bram Moolenaar2019-11-211-9/+0
| | | | | Problem: Cannot build with Hangul input. Solution: Remove Hangul input support.
* patch 8.1.2021: some global functions can be local to the filev8.1.2021Bram Moolenaar2019-09-101-1/+2
| | | | | Problem: Some global functions can be local to the file. Solution: Add "static". (Yegappan Lakshmanan, closes #4917)
* patch 8.1.2003: MS-Windows: code page 65001 is not recognizedv8.1.2003Bram Moolenaar2019-09-071-1/+3
| | | | | Problem: MS-Windows: code page 65001 is not recognized. Solution: Use utf-8 for code page 65001. (Dan Thompson, closes #4902)
* patch 8.1.2000: plugin cannot get the current IME statusv8.1.2000Bram Moolenaar2019-09-071-0/+12
| | | | | Problem: Plugin cannot get the current IME status. Solution: Add the getimstatus() function. (closes #4904)
* patch 8.1.1655: popup window border drawn wrong with multi-byte charv8.1.1655Bram Moolenaar2019-07-081-3/+7
| | | | | | Problem: Popup window border drawn wrong with multi-byte char. (Marcin Szamotulski) Solution: Correct check in mb_fix_col(). (closes #4635)
* patch 8.1.1647: build error with GTK and hangulinput featurev8.1.1647Bram Moolenaar2019-07-071-0/+5
| | | | | | Problem: Build error with GTK and hangulinput feature, im_get_status() defined twice. (Dominique Pelle) Solution: Adjust im_get_status(). (closes #4628)
* patch 8.1.1470: new Unicode character U32FF missing from double-width tablev8.1.1470Bram Moolenaar2019-06-051-2/+1
| | | | | Problem: New Unicode character U32FF missing from double-width table. Solution: Add the character.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-1/+1
| | | | | | 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.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-2/+2
| | | | | | 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.
* patch 8.1.1230: a lot of code is shared between vim.exe and gvim.exev8.1.1230Bram Moolenaar2019-04-281-1/+1
| | | | | | Problem: A lot of code is shared between vim.exe and gvim.exe. Solution: Optionally put the shared code in vim.dll. (Ken Takata, closes #4287)
* patch 8.1.1157: Unicode tables are out of datev8.1.1157Bram Moolenaar2019-04-121-20/+44
| | | | | Problem: Unicode tables are out of date. Solution: Update to Unicode 12. (Christian Brabandt, closes #4240)
* patch 8.1.1156: Unicode emoji and other image characters not recognizedv8.1.1156Bram Moolenaar2019-04-121-0/+4
| | | | | | Problem: Unicode emoji and other image characters not recognized. Solution: Add ranges for musical notation, game pieces, etc. (Martin Tournoij, closes #4238)
* patch 8.1.1038: Arabic support excludes Farsiv8.1.1038Bram Moolenaar2019-03-221-29/+0
| | | | | | Problem: Arabic support excludes Farsi. Solution: Add Farsi support to the Arabic support. (Ali Gholami Rudi, Ameretat Reith)
* patch 8.1.0941: macros for MS-Windows are inconsistentv8.1.0941Bram Moolenaar2019-02-171-20/+20
| | | | | | | 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)
* patch 8.1.0826: too many #ifdefsv8.1.0826Bram Moolenaar2019-01-261-9/+1
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
* patch 8.1.0806: too many #ifdefsv8.1.0806Bram Moolenaar2019-01-241-36/+19
| | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 2.
* patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-0/+2
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0779: argument for message functions is inconsistentv8.1.0779Bram Moolenaar2019-01-191-2/+2
| | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *".
* patch 8.1.0745: compiler warnings for signed/unsigned stringv8.1.0745Bram Moolenaar2019-01-141-1/+1
| | | | | Problem: Compiler warnings for signed/unsigned string. Solution: Remove type casts. (John Marriott)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-10/+10
| | | | | | | | 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.
* patch 8.1.0443: unnecessary static function prototypesv8.1.0443Bram Moolenaar2018-09-301-9/+0
| | | | | Problem: Unnecessary static function prototypes. Solution: Remove unnecessary prototypes.
* patch 8.1.0377: xdiff doesn't use the Vim memory allocation functionsv8.1.0377Bram Moolenaar2018-09-131-1/+1
| | | | | | Problem: Xdiff doesn't use the Vim memory allocation functions. Solution: Change the xdl_ defines. Check for out-of-memory. Rename "ignored" to "vim_ignored".
* patch 8.1.0368: GTK code has too many #ifdefs and GTK 2.10 building failsv8.1.0368Bram Moolenaar2018-09-111-20/+0
| | | | | | Problem: GTK code has too many #ifdefs and building fails with GTK 2.10. Solution: Always use gtk_widget_get_window() and define it for older GTK versions. (Ken Takata, closes #3421)
* patch 8.1.0301: GTK: input method popup displayed on wrong screen.v8.1.0301Bram Moolenaar2018-08-191-7/+9
| | | | | Problem: GTK: Input method popup displayed on wrong screen. Solution: Add the screen position offset. (Ken Takata, closes #3268)
* patch 8.1.0233: "safe" argument of call_vim_function() is always FALSEv8.1.0233Bram Moolenaar2018-08-011-2/+2
| | | | | Problem: "safe" argument of call_vim_function() is always FALSE. Solution: Remove the argument.
* patch 8.1.0182: Unicode standard was updatedv8.1.0182Bram Moolenaar2018-07-141-23/+48
| | | | | Problem: Unicode standard was updated. Solution: Include the changes. (Christian Brabandt)
* patch 8.1.0055: complete test has wrong order of argumentsv8.1.0055Bram Moolenaar2018-06-131-1/+1
| | | | | | Problem: Complete test has wrong order of arguments. Wrong type for sentinel variable. Solution: Swap arguments, use VAR_UNKNOWN. (Ozaki Kiichi)
* patch 8.1.0053: first argument of 'completefunc' has inconsistent typev8.1.0053Bram Moolenaar2018-06-121-5/+4
| | | | | | | Problem: The first argument given to 'completefunc' can be Number or String, depending on the value. Solution: Avoid guessing the type of an argument, use typval_T in the callers of call_vim_function(). (Ozaki Kiichi, closes #2993)
* patch 8.0.1849: compiler warning for unused arguments, missing prototypev8.0.1849Bram Moolenaar2018-05-171-1/+1
| | | | | Problem: compiler warning for unused arguments and missing prototype Solution: Add UNUSED. Add static.
* patch 8.0.1677: no compiler warning for wrong format in vim_snprintf()v8.0.1677Bram Moolenaar2018-04-081-2/+2
| | | | | Problem: No compiler warning for wrong format in vim_snprintf(). Solution: Add printf attribute for gcc. Fix reported problems.
* patch 8.0.1564: too many #ifdefsv8.0.1564Bram Moolenaar2018-03-041-12/+7
| | | | | | Problem: Too many #ifdefs. Solution: Graduate the +autocmd feature. Takes away 450 #ifdefs and increases code size of tiny Vim by only 40 Kbyte.
* patch 8.0.1550: various small problems in source filesv8.0.1550Bram Moolenaar2018-02-271-1/+0
| | | | | Problem: Various small problems in source files. Solution: Fix the problems.
* patch 8.0.1496: clearing a pointer takes two linesv8.0.1496Bram Moolenaar2018-02-101-2/+1
| | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629)
* patch 8.0.1433: illegal memory access after undov8.0.1433Bram Moolenaar2018-01-271-1/+5
| | | | | | Problem: Illegal memory access after undo. (Dominique Pelle) Solution: Avoid the column becomes negative. (Christian Brabandt, closes #2533)
* patch 8.0.1350: cannot build with +eval and -multi_bytev8.0.1350Bram Moolenaar2017-11-271-2/+2
| | | | | | Problem: Cannot build with +eval and -multi_byte. Solution: Adjust #ifdefs. (John Marriott) Always include the multi_byte feature when an input method feature is enabled.
* patch 8.0.1344: using 'imactivatefunc' in the GUI does not workv8.0.1344Bram Moolenaar2017-11-261-9/+16
| | | | | Problem: Using 'imactivatefunc' in the GUI does not work. Solution: Do not use 'imactivatefunc' and 'imstatusfunc' in the GUI.
* patch 8.0.1342: cannot build with Motif and multi-bytev8.0.1342Bram Moolenaar2017-11-251-1/+1
| | | | | Problem: Cannot build with Motif and multi-byte. (Mohamed Boughaba) Solution: Use the right input method status flag. (closes #2374)
* patch 8.0.1340: MS-Windows: cannot build GUI without IMEv8.0.1340Bram Moolenaar2017-11-251-1/+8
| | | | | Problem: MS-Windows: cannot build GUI without IME. Solution: Define im_get_status() and im_set_active() when IME is not used.
* patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338Bram Moolenaar2017-11-251-82/+89
| | | | | Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
* patch 8.0.1337: typo in #ifdefv8.0.1337Bram Moolenaar2017-11-251-1/+1
| | | | | Problem: Typo in #ifdef. Solution: Fix the #if line.
* patch 8.0.1336: cannot use imactivatefunc() unless compiled with +ximv8.0.1336Bram Moolenaar2017-11-251-10/+62
| | | | | | Problem: Cannot use imactivatefunc() unless compiled with +xim. Solution: Allow using imactivatefunc() when not compiled with +xim. (Yasuhiro Matsumoto, closes #2349)
* patch 8.0.1236: Mac features are confusingv8.0.1236Bram Moolenaar2017-10-281-13/+13
| | | | | | Problem: Mac features are confusing. Solution: Make feature names more consistent, add "osxdarwin". Rename feature flags, cleanup Mac code. (Kazunobu Kuriyama, closes #2178)
* patch 8.0.1203: terminal window mistreats composing charactersv8.0.1203Bram Moolenaar2017-10-151-0/+2
| | | | | | Problem: Terminal window mistreats composing characters. Solution: Count composing characters with the base character. (Ozaki Kiichi, closes #2195)
* patch 8.0.1152: encoding of error message wrong in Cygwin terminalv8.0.1152Bram Moolenaar2017-09-261-30/+50
| | | | | Problem: Encoding of error message wrong in Cygwin terminal. Solution: Get locale from environment variables. (Ken Takata)
* patch 8.0.1099: warnings for GDK callsv8.0.1099Bram Moolenaar2017-09-131-0/+74
| | | | | | Problem: Warnings for GDK calls. Solution: Use other calls for GTK 3 and fix a few problems. (Kazunobu Kuriyama)
* patch 8.0.1084: GTK build has compiler warningsv8.0.1084Bram Moolenaar2017-09-091-2/+1
| | | | | | Problem: GTK build has compiler warnings. (Christian Brabandt) Solution: Get screen size with a different function. (Ken Takata, Yasuhiro Matsumoto)