aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/testdir/test_regexp_utf8.vim
Commit message (Collapse)AuthorAge
* test: move oldtests to test directory (#22536)dundargoc2023-03-07
| | | | | The new oldtest directory is in test/old/testdir. The reason for this is that many tests have hardcoded the parent directory name to be 'testdir'.
* vim-patch:9.0.0700: there is no real need for a "big" build (#20563)zeertzjq2022-10-10
| | | | | | Problem: There is no real need for a "big" build. Solution: Move common features to "normal" build, less often used features to the "huge" build. (Martin Tournoij, closes vim/vim#11283) https://github.com/vim/vim/commit/25f3a146a0e4c731b8608f4cfbbfdf7a71b2d05e
* vim-patch:8.2.1786: various Normal mode commands not fully testedzeertzjq2022-08-15
| | | | | | | | Problem: Various Normal mode commands not fully tested. Solution: Add more tests. (Yegappan Lakshmanan, closes vim/vim#7059) https://github.com/vim/vim/commit/8a9bc95eaec53f4e0c951ff8f2686ae5113a5709 Cherry-pick Test_normal_gdollar_cmd() change from patch 8.2.0540.
* vim-patch:8.2.2716: the equivalent class regexp is missing some characterszeertzjq2022-03-19
| | | | | | | | | Problem: The equivalent class regexp is missing some characters. Solution: Update the list of equivalent characters. (Dominique Pellé, closes vim/vim#8029) https://github.com/vim/vim/commit/0b94e297afd072c51bf2eed12c7ffe3978d93399 Match upstream's indent in s:equivalence_class().
* vim-patch:8.2.4443: regexp pattern test fails on Maczeertzjq2022-03-11
| | | | | | Problem: Regexp pattern test fails on Mac. Solution: Do not use a swapfile for the buffer. https://github.com/vim/vim/commit/2457b2bbc28cce6e8c1106d427b8e867d4f58cfa
* vim-patch:8.2.4440: crash with specific regexp pattern and stringzeertzjq2022-03-11
| | | | | | Problem: Crash with specific regexp pattern and string. Solution: Stop at the start of the string. https://github.com/vim/vim/commit/6456fae9ba8e72c74b2c0c499eaf09974604ff30
* vim-patch:8.2.4273: the EBCDIC support is outdatedzeertzjq2022-02-01
| | | | | | | | | | | Problem: The EBCDIC support is outdated. Solution: Remove the EBCDIC support. https://github.com/vim/vim/commit/424bcae1fb0f69e0aef5e0cf84fd771cf34a0fb7 Also remove a comment in buf_init_chartab() as it is for enc_dbcs only. Skip test_expr.vim: the check was already removed when patch 7.4.2265 was first ported.
* vim-patch:8.2.3409: reading beyond end of line with invalid utf-8 characterf380cedric2022-01-06
| | | | | | | | Problem: Reading beyond end of line with invalid utf-8 character. Solution: Check for NUL when advancing. https://github.com/vim/vim/commit/65b605665997fad54ef39a93199e305af2fe4d7f Dropped the non-test part, since it is only non-utf8 related.
* vim-patch:8.2.2278: falling back to old regexp engine can some patternsJan Edmund Lazo2021-05-26
| | | | | | | Problem: Falling back to old regexp engine can some patterns. Solution: Do not fall back once [[:lower:]] or [[:upper:]] is used. (Christian Brabandt, closes vim/vim#7572) https://github.com/vim/vim/commit/66c50c565321d4d49d8d5620912e5e8fe4825644
* vim-patch:8.2.2177: pattern "^" does not match if first character is combiningJan Edmund Lazo2020-12-21
| | | | | | | Problem: Pattern "^" does not match if the first character in the line is combining. (Rene Kita) Solution: Do accept a match at the start of the line. (closes vim/vim#6963) https://github.com/vim/vim/commit/ef2dff52de52c17fe1bd7c06cbb32d8955901f5a
* vim-patch:8.1.0862: no verbose version of character classesJan Edmund Lazo2020-08-02
| | | | | | | Problem: No verbose version of character classes. Solution: Add [:ident:], [:keyword:] and [:fname:]. (Ozaki Kiichi, closes vim/vim#1373) https://github.com/vim/vim/commit/221cd9f4dd866503777b2fffa721c1403716ad63
* vim-patch:8.2.1295: tests 44 and 99 are old styleJan Edmund Lazo2020-08-02
| | | | | | Problem: Tests 44 and 99 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#6536) https://github.com/vim/vim/commit/7d40b8a532fa2ce768f200ab118870d17875a7fe
* vim-patch:8.2.1254: MS-Windows: regexp test may fail if 'iskeyword' set wronglyJan Edmund Lazo2020-08-02
| | | | | | Problem: MS-Windows: regexp test may fail if 'iskeyword' set wrongly. Solution: Override the 'iskeyword' value. (Taro Muraoka, closes vim/vim#6502) https://github.com/vim/vim/commit/470adb827f3d9e6cf62f685738d2db216daf3738
* vim-patch:8.2.0938: NFA regexp uses tolower ()to compare ignore-caseJan Edmund Lazo2020-06-18
| | | | | | Problem: NFA regexp uses tolower() to compare ignore-case. (Thayne McCombs) Solution: Use utf_fold() when possible. (ref. neovim vim/vim#12456) https://github.com/vim/vim/commit/59de417b904bbd204e313f015839317b577bd124
* vim-patch:8.2.0014: test69 and test95 are old styleJan Edmund Lazo2020-01-30
| | | | | | Problem: Test69 and test95 are old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes vim/vim#5365) https://github.com/vim/vim/commit/afc13bd8271819c7871ff2ae2cfebb22190a0d39
* vim-patch:8.1.1720: crash with very long %[] patternJan Edmund Lazo2019-07-20
| | | | | | Problem: Crash with very long %[] pattern. (Reza Mirzazade farkhani) Solution: Check for reg_toolong. (closes vim/vim#4703) https://github.com/vim/vim/commit/2a5b52758bb327b89d22660cc28c157ec29782e5
* vim-patch:8.0.0623: error for invalid regexp is not very informativeJan Edmund Lazo2018-06-04
| | | | | | Problem: The message "Invalid range" is used for multiple errors. Solution: Add two more specific error messages. (Itchyny, Ken Hamada) https://github.com/vim/vim/commit/966e58e413ffa88af8d748e697aa2999571fcd7b
* vim-patch:8.0.0529: line in test commented outJan Edmund Lazo2018-06-04
| | | | | | | Problem: Line in test commented out. Solution: Uncomment the lines for character classes that were failing before 8.0.0519. (Dominique Pelle, closes vim/vim#1599) https://github.com/vim/vim/commit/13489b9c41922b9ecb16fa47564ec76641515c08
* vim-patch:8.0.0519: character classes not well tested (#8460)KunMing Xie2018-06-01
| | | | | | | | | Problem: Character classes are not well tested. They can differ between platforms. Solution: Add tests. In the documentation make clear which classes depend on what library function. Only use :cntrl: and :graph: for ASCII. (Kazunobu Kuriyama, Dominique Pelle, closes vim/vim#1560) Update the documentation. https://github.com/vim/vim/commit/0c078fc7db2902d4ccba04506db082ddbef45a8c
* vim-patch:7.4.2354Shougo Matsushita2017-07-12
| | | | | | | | Problem: The example that explains nested backreferences does not work properly with the new regexp engine. (Harm te Hennepe) Solution: Also save the end position when adding a state. (closes vim/vim#990) https://github.com/vim/vim/commit/d563883a1fb5ec6cf4a2758c5e36ac1ff4e9bb3d
* vim-patch:7.4.2355Justin M. Keyes2017-03-22
| | | | | | | | Problem: Regexp fails to match when using "\>\)\?". (Ramel) Solution: When a state is already in the list, but addstate_here() is used and the existing state comes later, add the new state anyway. https://github.com/vim/vim/commit/16b3578f355282846f2600ce77fb344950f0b9ce
* vim-patch:7.4.2223James McCoy2017-03-11
| | | | | | | Problem: Buffer overflow when using latin1 character with feedkeys(). Solution: Check for an illegal character. Add a test. https://github.com/vim/vim/commit/d3c907b5d2b352482b580a0cf687cbbea4c19ea1
* vim-patch:7.4.2222James McCoy2017-03-11
| | | | | | | | | Problem: Sourcing a script where a character has 0x80 as a second byte does not work. (Filipe L B Correia) Solution: Turn 0x80 into K_SPECIAL KS_SPECIAL KE_FILLER. (Christian Brabandt, closes vim/vim#728) Add a test case. https://github.com/vim/vim/commit/6bff02eb530aa29aafa2cb5627399837be7a5dd5
* vim-patch:7.4.2086Justin M. Keyes2016-11-25
| | | | | | | | Problem: Using the system default encoding makes tests unpredictable. Solution: Always use utf-8 or latin1 in the new style tests. Remove setting encoding and scriptencoding where it is not needed. https://github.com/vim/vim/commit/ac105ed3c420660ddbddc501c97875c48220817e
* vim-patch:7.4.2219James McCoy2016-08-20
| | | | | | | | | | | Problem: Recursive call to substitute gets stuck in sandbox. (Nikolai Pavlov) Solution: Handle the recursive call. (Christian Brabandt, closes vim/vim#950) Add a test. https://github.com/vim/vim/commit/f5a39447a8ebe162ee62caa2ee502cd0e65eecaa Closes #5118
* vim-patch:7.4.1700James McCoy2016-08-20
Problem: Equivalence classes are not properly tested. Solution: Add tests for multi-byte and latin1. Fix an error. (Owen Leibman) https://github.com/vim/vim/commit/22e421549d54147d003f6444de007cb1d73f1d27 src/regexp.c changes weren't applied because they're specific to EBCDIC handling, which has been dropped from nvim. The latin1-specific tests were also removed since neovim intends to remove the ability to have 'encoding' set to anything other than utf8.