summaryrefslogtreecommitdiff
path: root/src/mbyte.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.0.0652: unicode information is outdatedv8.0.0652Bram Moolenaar2017-06-221-49/+112
| | | | | Problem: Unicode information is outdated. Solution: Update to Unicode 10. (Christian Brabandt)
* patch 8.0.0620: checking for HAVE_GTK_MULTIHEAD is not neededv8.0.0620Bram Moolenaar2017-06-051-11/+2
| | | | | | Problem: Since we only support GTK versions that have it, the ckeck for HAVE_GTK_MULTIHEAD is no longer needed. Solution: Remove HAVE_GTK_MULTIHEAD. (Kazunobu Kuriyama)
* patch 8.0.0452: some macros are in lower casev8.0.0452Bram Moolenaar2017-03-121-1/+1
| | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case.
* patch 8.0.0451: some macros are in lower casev8.0.0451Bram Moolenaar2017-03-121-2/+1
| | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice.
* patch 8.0.0252: not properly recognizing word characters between 128 and 255v8.0.0252Bram Moolenaar2017-01-281-2/+8
| | | | | | | 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)
* patch 8.0.0175: setting language on MS-Windows does not always workv8.0.0175Bram Moolenaar2017-01-121-42/+1
| | | | | | Problem: Setting language in gvim on MS-Windows does not work when libintl.dll is dynamically linked with msvcrt.dll. Solution: Use putenv() from libintl as well. (Ken Takata, closes #1082)
* patch 8.0.0123v8.0.0123Bram Moolenaar2016-12-031-1/+1
| | | | | Problem: Modern Sun compilers define "__sun" instead of "sun". Solution: Use __sun. (closes #1296)
* patch 7.4.2293v7.4.2293Bram Moolenaar2016-08-291-1/+1
| | | | | Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
* patch 7.4.2028v7.4.2028Bram Moolenaar2016-07-111-1/+1
| | | | | Problem: cppcheck warns for using index before limits check. Solution: Swap the expressions. (Dominique Pelle)
* patch 7.4.2019v7.4.2019Bram Moolenaar2016-07-101-0/+3
| | | | | Problem: When ignoring case utf_fold() may consume a lot of time. Solution: Optimize for ASCII.
* patch 7.4.1960v7.4.1960Bram Moolenaar2016-06-261-14/+130
| | | | | Problem: Unicode standard 9 was released. Solution: Update the character property tables. (Christian Brabandt)
* patch 7.4.1697v7.4.1697Bram Moolenaar2016-04-021-295/+302
| | | | | | | Problem: Display problems when the 'ambiwidth' and 'emoji' options are not set properly or the terminal doesn't behave as expected. Solution: After drawing an ambiguous width character always position the cursor.
* patch 7.4.1642v7.4.1642Bram Moolenaar2016-03-241-58/+0
| | | | | | Problem: Handling emoji characters as full width has problems with backwards compatibility. Solution: Only put characters in the 1f000 range in the emoji table.
* patch 7.4.1630v7.4.1630Bram Moolenaar2016-03-211-0/+6
| | | | | Problem: Unicode table for double width is outdated. Solution: Update to the latest Unicode standard.
* patch 7.4.1629v7.4.1629Bram Moolenaar2016-03-211-144/+203
| | | | | | | | Problem: Handling emoji characters as full width has problems with backwards compatibility. Solution: Remove ambiguous and double width characters from the emoji table. Use a separate table for the character class. (partly by Yasuhiro Matsumoto)
* patch 7.4.1620v7.4.1620Bram Moolenaar2016-03-201-144/+147
| | | | | Problem: Emoji characters are not considered as a kind of word character. Solution: Give emoji characters a word class number. (Yasuhiro Matsumoto)
* patch 7.4.1604v7.4.1604Bram Moolenaar2016-03-191-5/+144
| | | | | | | Problem: Although emoji characters are ambiguous width, best is to treat them as full width. Solution: Update the Unicode character tables. Add the 'emoji' options. (Yasuhiro Matsumoto)
* patch 7.4.1402v7.4.1402Bram Moolenaar2016-02-231-1/+22
| | | | | Problem: GTK 3 is not supported. Solution: Add GTK 3 support. (Kazunobu Kuriyama)
* patch 7.4.1399v7.4.1399Bram Moolenaar2016-02-231-1/+1
| | | | | Problem: The MS-DOS code does not build. Solution: Remove the old MS-DOS code.
* patch 7.4.1334v7.4.1334Bram Moolenaar2016-02-161-8/+10
| | | | | Problem: Many compiler warnings with MingW. Solution: Add type casts. (Yasuhiro Matsumoto)
* patch 7.4.1210v7.4.1210Bram Moolenaar2016-01-301-271/+154
| | | | | | Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
* patch 7.4.1198v7.4.1198Bram Moolenaar2016-01-291-18/+18
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* patch 7.4.1165v7.4.1165Bram Moolenaar2016-01-241-16/+24
| | | | | Problem: When defining DYNAMIC_ICONV_DLL in the makefile, the build fails. Solution: Add #ifdef's. (Taro Muraoka) Try the newer version first.
* patch 7.4.970v7.4.970Bram Moolenaar2015-12-121-1/+1
| | | | | | Problem: Rare crash in getvcol(). (Timo Mihaljov) Solution: Check for the buffer being NULL in init_preedit_start_col. (Hirohito Higashi, Christian Brabandt)
* patch 7.4.892v7.4.892Bram Moolenaar2015-10-131-3/+12
| | | | | Problem: On MS-Windows the iconv DLL may have a different name. Solution: Also try libiconv2.dll and libiconv-2.dll. (Yasuhiro Matsumoto)
* patch 7.4.752v7.4.752Bram Moolenaar2015-06-211-6/+31
| | | | | | Problem: Unicode 8.0 not supported. Solution: Update tables for Unicode 8.0. Avoid E36 when running the script. (James McCoy)
* updated for version 7.4.575v7.4.575Bram Moolenaar2015-01-141-61/+127
| | | | | Problem: Unicode character properties are outdated. Solution: Update the tables with the latest version.
* updated for version 7.4.520v7.4.520Bram Moolenaar2014-11-191-0/+1
| | | | | Problem: Sun PCK locale is not recognzed. Solution: Add PCK in the table. (Keiichi Oono)
* updated for version 7.4.444v7.4.444Bram Moolenaar2014-09-151-0/+1
| | | | | Problem: Reversed question mark not recognized as punctuation. (Issue 258) Solution: Add the Supplemental Punctuation range.
* updated for version 7.4.194v7.4.194Bram Moolenaar2014-03-121-1/+1
| | | | | Problem: Can't build for Android. Solution: Add #if condition. (Fredrik Fornwall)
* updated for version 7.4.148v7.4.148Bram Moolenaar2014-01-141-2/+10
| | | | | Problem: Cannot build with Cygwin and X11. Solution: Include Xwindows.h instead of windows.h. (Lech Lorens)
* updated for version 7.4.088v7.4.088Bram Moolenaar2013-11-121-7/+11
| | | | | | | Problem: When spell checking is enabled Asian characters are always marked as error. Solution: When 'spelllang' contains "cjk" do not mark Asian characters as error. (Ken Takata)
* updated for version 7.3.1311v7.3.1311Bram Moolenaar2013-07-051-1/+1
| | | | | Problem: Compiler warnings on Cygwin. Solution: Add type casts. Add windows include files. (Ken Takata)
* updated for version 7.3.1256v7.3.1256Bram Moolenaar2013-06-281-2/+11
| | | | | Problem: Can't build without eval or autocmd feature. Solution: Add #ifdefs.
* updated for version 7.3.1248v7.3.1248Bram Moolenaar2013-06-261-31/+26
| | | | | | Problem: Still have old hacking code for Input Method. Solution: Add 'imactivatefunc' and 'imstatusfunc' as a generic solution to Input Method activation. (Yukihiro Nakadaira)
* updated for version 7.3.925v7.3.925Bram Moolenaar2013-05-061-4/+4
| | | | | Problem: Typos in source files. Solution: Fix the typos. (Ken Takata)
* updated for version 7.3.836v7.3.836Bram Moolenaar2013-02-261-2/+2
| | | | | | Problem: Clipboard does not work on Win32 when compiled with Cygwin. Solution: Move the Win32 clipboard code to a separate file and use it when building with os_unix.c. (Frodak Baksik, Ken Takata)
* updated for version 7.3.814v7.3.814Bram Moolenaar2013-02-131-2/+17
| | | | | | | | Problem: Can't input multibyte characters on Win32 console if 'encoding' is different from current codepage. Solution: Use convert_input_safe() instead of convert_input(). Make string_convert_ext() return an error for incomplete input. (Ken Takata)
* updated for version 7.3.789v7.3.789Bram Moolenaar2013-01-301-1/+9
| | | | | Problem: "\k" in regexp does not work in other window. Solution: Use the right buffer. (Yukihiro Nakadaira)
* updated for version 7.3.778v7.3.778Bram Moolenaar2013-01-231-1/+2
| | | | | Problem: Compiler error for adding up two pointers. (Titov Anatoly) Solution: Add a type cast. (Ken Takata)
* updated for version 7.3.773v7.3.773Bram Moolenaar2013-01-191-0/+2
| | | | | Problem: Crash when OriginalFirstThunk is zero. Solution: Skip items with OriginalFirstThunk not set. (Ken Takata)
* updated for version 7.3.767v7.3.767Bram Moolenaar2013-01-171-2/+42
| | | | | Problem: (Win32) The _errno used for iconv may be the wrong one. Solution: Use the _errno from iconv.dll. (Ken Takata)
* updated for version 7.3.664v7.3.664Bram Moolenaar2012-09-181-4/+10
| | | | | Problem: Buffer overflow in unescaping text. (Raymond Ko) Solution: Limit check for multi-byte character to 4 bytes.
* updated for version 7.3.536v7.3.536Bram Moolenaar2012-06-011-2/+3
| | | | | | | Problem: When spell checking the German sharp s is not seen as a word character. (Aexl Bender) Solution: In utf_islower() return true for the sharp s. Note: also need updated spell file for this to take effect.
* updated for version 7.3.535v7.3.535Bram Moolenaar2012-06-011-2/+2
| | | | | | Problem: Many #ifdefs for MB_MAXBYTES. Solution: Also define MB_MAXBYTES without the +multi_byte feature. Fix places where the buffer didn't include space for a NUL byte.
* updated for version 7.3.467v7.3.467Bram Moolenaar2012-03-071-1/+2
| | | | | | Problem: Cursor positioned wrong at the command line when regaining focus and using some input method. Solution: Do not position the cursor in command line mode.
* updated for version 7.3.365v7.3.365Bram Moolenaar2011-12-081-6/+9
| | | | | | Problem: Crash when using a large Unicode character in a file that has syntax highlighting. (ngollan) Solution: Check for going past the end of the utf tables. (Dominique Pelle)
* updated for version 7.3.273v7.3.273Bram Moolenaar2011-08-101-0/+21
| | | | | | Problem: A BOM in an error file is seen as text. (Aleksey Baibarin) Solution: Remove the BOM from the text before evaluating. (idea by Christian Brabandt)
* updated for version 7.3.266v7.3.266Bram Moolenaar2011-07-271-0/+4
| | | | | Problem: In Gvim with iBus typing space in Insert mode doesn't work. Solution: Clear xim_expected_char after checking it.
* updated for version 7.3.253v7.3.253Bram Moolenaar2011-07-151-39/+147
| | | | | | | | | Problem: "echo 'abc' > ''" returns 0 or 1, depending on 'ignorecase'. Checks in mb_strnicmp() for illegal and truncated bytes are wrong. Should not assume that byte length is equal before case folding. Solution: Add utf_safe_read_char_adv() and utf_strnicmp(). Add a test for this. (Ivan Krasilnikov)