summaryrefslogtreecommitdiffstats
path: root/src/testdir/test_blob.vim
AgeCommit message (Collapse)Author
2023-01-28patch 9.0.1257: code style is not check in test scriptsv9.0.1257Bram Moolenaar
Problem: Code style is not check in test scripts. Solution: Add basic code style check for test files.
2022-10-21patch 9.0.0810: readblob() returns empty when trying to read too muchv9.0.0810Bram Moolenaar
Problem: readblob() returns empty when trying to read too much. Solution: Return what is available.
2022-10-20patch 9.0.0803: readblob() cannot read from character devicev9.0.0803K.Takata
Problem: readblob() cannot read from character device. Solution: Use S_ISCHR() to not check the size. (Ken Takata, closes #11407)
2022-10-19patch 9.0.0795: readblob() always reads the whole filev9.0.0795K.Takata
Problem: readblob() always reads the whole file. Solution: Add arguments to read part of the file. (Ken Takata, closes #11402)
2022-09-17patch 9.0.0491: no good reason to build without the float featurev9.0.0491Bram Moolenaar
Problem: No good reason to build without the float feature. Solution: Remove configure check for float and "#ifdef FEAT_FLOAT".
2022-09-09patch 9.0.0430: cannot use repeat() with a blobv9.0.0430Bakudankun
Problem: Cannot use repeat() with a blob. Solution: Implement blob repeat. (closes #11090)
2022-08-14patch 9.0.0204: indexof() may leak memoryv9.0.0204Yegappan Lakshmanan
Problem: indexof() may leak memory. Solution: Free allocated values. (Yegappan Lakshmanan, closes #10916)
2022-08-13patch 9.0.0196: finding value in list may require a for loopv9.0.0196Yegappan Lakshmanan
Problem: Finding value in list may require a for loop. Solution: Add indexof(). (Yegappan Lakshmanan, closes #10903)
2022-04-23patch 8.2.4809: various things no6 properly testedv8.2.4809Yegappan Lakshmanan
Problem: Various things no6 properly tested. Solution: Add various test cases. (Yegappan Lakshmanan, closes #10259)
2022-04-03patch 8.2.4670: memory allocation failures for new tab page not testedv8.2.4670Yegappan Lakshmanan
Problem: Memory allocation failures for new tab page not tested. Solution: Add tests with failing memory allocation. (Yegappan Lakshmanan, closes #10067)
2022-01-29patch 8.2.4257: Vim9: finding global function without g: prefix inconsistentv8.2.4257Bram Moolenaar
Problem: Vim9: finding global function without g: prefix but not finding global variable is inconsistent. Solution: Require using g: for a global function. Change the vim9.vim script into a Vim9 script with exports. Fix that import in legacy script does not work.
2021-12-26patch 8.2.3908: cannot use a script-local function for 'foldtext'v8.2.3908Yegappan Lakshmanan
Problem: Cannot use a script-local function for 'foldtext'. Solution: Expand "s:" and "<SID>". (Yegappan Lakshmanan, closes #9411)
2021-12-19patch 8.2.3855: illegal memory access when displaying a blobv8.2.3855Yegappan Lakshmanan
Problem: Illegal memory access when displaying a blob. Solution: Append a NUL at the end. (Yegappan Lakshmanan, closes #9372)
2021-12-03patch 8.2.3728: internal error when passing range() to list2blob()v8.2.3728kuuote
Problem: Internal error when passing range() to list2blob(). Solution: Materialize the list first. (closes #9262)
2021-09-17patch 8.2.3446: not enough tests for empty string argumentsv8.2.3446Yegappan Lakshmanan
Problem: Not enough tests for empty string arguments. Solution: Add tests, fix type check. (Yegappan Lakshmanan, closes #8881)
2021-09-14patch 8.2.3438: cannot manipulate blobsv8.2.3438Yegappan Lakshmanan
Problem: Cannot manipulate blobs. Solution: Add blob2list() and list2blob(). (Yegappan Lakshmanan, closes #8868)
2021-08-04patch 8.2.3284: no error for insert() or remove() changing a locked blobv8.2.3284Sean Dewar
Problem: No error for insert() or remove() changing a locked blob. Solution: Check a blob is not locked before changing it. (Sean Dewar, closes #8696)
2021-07-27patch 8.2.3229: Vim9: runtime and compile time type checks are not the samev8.2.3229Yegappan Lakshmanan
Problem: Vim9: runtime and compile time type checks are not the same. Solution: Add more runtime type checks for builtin functions. (Yegappan Lakshmanan, closes #8646)
2021-07-23patch 8.2.3206: Vim9: argument types are not checked at compile timev8.2.3206Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks. (Yegappan Lakshmanan, closes #8611)
2021-07-20patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan
Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
2021-04-18patch 8.2.2783: duplicate code for setting byte in blob, blob test may failv8.2.2783Bram Moolenaar
Problem: Duplicate code for setting byte in blob, blob test may fail. Solution: Call blob_set_append(). Test sort failure with "N".
2021-04-18patch 8.2.2782: Vim9: blob operations not fully testedv8.2.2782Bram Moolenaar
Problem: Vim9: blob operations not fully tested. Solution: Make more blob tests run in Vim9 script. Fix filter(). Make insert() give an error for a null blob, like add().
2021-04-18patch 8.2.2781: add() silently skips when adding to null list or blobv8.2.2781Bram Moolenaar
Problem: Add() silently skips when adding to null list or blob. Solution: Give an error in Vim9 script. Allocate blob when it is NULL like with list and dict.
2021-04-18patch 8.2.2780: Vim9: for loop over blob doesn't workv8.2.2780Bram Moolenaar
Problem: Vim9: for loop over blob doesn't work. Solution: Make it work.
2021-04-17patch 8.2.2777: Vim9: blob operations not tested in all waysv8.2.2777Bram Moolenaar
Problem: Vim9: blob operations not tested in all ways. Solution: Run tests with CheckLegacyAndVim9Success(). Make blob assign with index work.
2021-04-14patch 8.2.2765: Vim9: not all blob operations workv8.2.2765Bram Moolenaar
Problem: Vim9: not all blob operations work. Solution: Run more tests also with Vim9 script and :def functions. Fix what doesn't work.
2021-04-12patch 8.2.2757: Vim9: blob tests for legacy and Vim9 script are separatev8.2.2757Bram Moolenaar
Problem: Vim9: blob tests for legacy and Vim9 script are separate. Solution: Add CheckLegacyAndVim9Success(). Make blob index assign work.
2020-10-15patch 8.2.1852: map() returing zero for NULL list is unexpectedv8.2.1852Bram Moolenaar
Problem: map() returing zero for NULL list is unexpected. Solution: Return the empty list. (closes #7133)
2020-06-20patch 8.2.1022: various parts of code not covered by testsv8.2.1022Bram Moolenaar
Problem: Various parts of code not covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #6300)
2020-04-25patch 8.2.0634: crash with null partial and blobv8.2.0634Bram Moolenaar
Problem: Crash with null partial and blob. Solution: Check for NULL pointer. Add more tests. (Yegappan Lakshmanan, closes #5984)
2020-04-24patch 8.2.0633: crash when using null partial in filter()v8.2.0633Bram Moolenaar
Problem: Crash when using null partial in filter(). Solution: Fix crash. Add more tests. (Yegappan Lakshmanan, closes #5976)
2020-04-23patch 8.2.0619: null dict is not handled like an empty dictv8.2.0619Bram Moolenaar
Problem: Null dict is not handled like an empty dict. Solution: Fix the code and add tests. (Yegappan Lakshmanan, closes #5968)
2020-04-21patch 8.2.0615: regexp benchmark stest is old stylev8.2.0615Bram Moolenaar
Problem: Regexp benchmark stest is old style. Solution: Make it a new style test. Fix using a NULL list. Add more tests. (Yegappan Lakshmanan, closes #5963)
2020-04-20patch 8.2.0610: some tests are still old stylev8.2.0610Bram Moolenaar
Problem: Some tests are still old style. Solution: Convert to new style tests. (Yegappan Lakshmanan, closes #5957)
2020-04-06patch 8.2.0521: crash when reading a blob failsv8.2.0521Bram Moolenaar
Problem: Crash when reading a blob fails. Solution: Avoid keeping a pointer to a freed blob object. (Dominique Pelle, closes #5890) Adjust error messages.
2020-03-25patch 8.2.0448: various functions not properly testedv8.2.0448Bram Moolenaar
Problem: Various functions not properly tested. Solution: Add more tests, especially for failures. (Yegappan Lakshmanan, closes #5843)
2020-03-20patch 8.2.0418: code in eval.c not sufficiently covered by testsv8.2.0418Bram Moolenaar
Problem: Code in eval.c not sufficiently covered by tests. Solution: Add more tests. (Yegappan Lakshmanan, closes #5815)
2020-01-30patch 8.2.0184: blob test failsv8.2.0184Bram Moolenaar
Problem: Blob test fails. Solution: Check for different error when float feature is missing.
2020-01-30patch 8.2.0183: tests fail when the float feature is disabledv8.2.0183Bram Moolenaar
Problem: Tests fail when the float feature is disabled. Solution: Skip tests that don't work without float support.
2020-01-15patch 8.2.0121: filter() and map() on blob don't workv8.2.0121Bram Moolenaar
Problem: filter() and map() on blob don't work. Solution: Correct the code. (closes #5483)
2019-08-31patch 8.1.1953: more functions can be used as a methodv8.1.1953Bram Moolenaar
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
2019-07-12patch 8.1.1671: copying a blob may result in it being lockedv8.1.1671Bram Moolenaar
Problem: Copying a blob may result in it being locked. Solution: Reset v_lock. (Ken Takata, closes #4648)
2019-01-24patch 8.1.0802: negative index doesn't work for Blobv8.1.0802Bram Moolenaar
Problem: Negative index doesn't work for Blob. Solution: Make it work, add a test. (closes #3856)
2019-01-23patch 8.1.0798: changing a blob while iterating over it works strangelyv8.1.0798Bram Moolenaar
Problem: Changing a blob while iterating over it works strangely. Solution: Make a copy of the Blob before iterating.
2019-01-22patch 8.1.0793: incorrect error messages for functions that take a Blobv8.1.0793Bram Moolenaar
Problem: Incorrect error messages for functions that now take a Blob argument. Solution: Adjust the error messages. (Dominique Pelle, closes #3846)
2019-01-17patch 8.1.0765: string format of a Blob can't be parsed backv8.1.0765Bram Moolenaar
Problem: String format of a Blob can't be parsed back. Solution: Use 0z format.
2019-01-15patch 8.1.0756: copy() does not make a copy of a Blobv8.1.0756Bram Moolenaar
Problem: copy() does not make a copy of a Blob. Solution: Make a copy.
2019-01-15patch 8.1.0755: error message for get() on a Blob with invalid indexv8.1.0755Bram Moolenaar
Problem: Error message for get() on a Blob with invalid index. Solution: Return an empty Blob, like get() on a List does.
2019-01-13patch 8.1.0742: not all Blob operations are testedv8.1.0742Bram Moolenaar
Problem: Not all Blob operations are tested. Solution: Add more testing for Blob.
2019-01-13patch 8.1.0736: code for Blob not sufficiently testedv8.1.0736Bram Moolenaar
Problem: Code for Blob not sufficiently tested. Solution: Add more tests. Fix uncovered crash. Add test_null_blob().