summaryrefslogtreecommitdiffstats
path: root/src/hashtab.c
AgeCommit message (Collapse)Author
2023-03-07patch 9.0.1390: FOR_ALL_ macros are defined in an unexpected filev9.0.1390Yegappan Lakshmanan
Problem: FOR_ALL_ macros are defined in an unexpected file. Solution: Move FOR_ALL_ macros to macros.h. Add FOR_ALL_HASHTAB_ITEMS. (Yegappan Lakshmanan, closes #12109)
2022-12-26patch 9.0.1100: a hashtab with many removed items is not cleaned upv9.0.1100Bram Moolenaar
Problem: A hashtab with many removed items is not cleaned up. Solution: Re-hash a hashtab even when the size didn't change if too many items were removed.
2022-12-26patch 9.0.1099: trying to resize a hashtab may cause a problemv9.0.1099Bram Moolenaar
Problem: Trying to resize a hashtab may cause a problem. Solution: Do not try to resize a hashtab before adding an item.
2022-12-25patch 9.0.1097: tests are failingv9.0.1097Bram Moolenaar
Problem: Tests are failing. Solution: Do clean up a hashtab when at the initial size.
2022-12-25patch 9.0.1096: reallocating hashtab when the size didn't changev9.0.1096Bram Moolenaar
Problem: Reallocating hashtab when the size didn't change. Solution: Bail out when the hashtab is already the desired size.
2022-11-25patch 9.0.0949: crash when unletting a variable while listing variablesv9.0.0949Bram Moolenaar
Problem: Crash when unletting a variable while listing variables. Solution: Disallow changing a hashtable while going over the entries. (closes #11435)
2022-02-03patch 8.2.4288: preprocessor indents are inconsistentv8.2.4288K.Takata
Problem: Preprocessor indents are inconsistent. Solution: Fix preprocessor indents. (Ken Takata, closes #9691)
2022-01-08patch 8.2.4038: various code not used when features are disabledv8.2.4038Dominique Pelle
Problem: Various code not used when features are disabled. Solution: Add #ifdefs. (Dominique Pellé, closes #9491)
2020-09-11patch 8.2.1662: :mksession does not restore shared terminal buffer properlyv8.2.1662Bram Moolenaar
Problem: :mksession does not restore shared terminal buffer properly. Solution: Keep a hashtab with terminal buffers. (Rob Pilling, closes #6930)
2020-07-14patch 8.2.1209: Vim9: test failurev8.2.1209Bram Moolenaar
Problem: Vim9: test failure. Solution: Add missing changes to hashtab.
2020-04-12patch 8.2.0559: clearing a struct is verbosev8.2.0559Bram Moolenaar
Problem: Clearing a struct is verbose. Solution: Define and use CLEAR_FIELD() and CLEAR_POINTER().
2019-12-04patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar
Problem: Using old C style comments. Solution: Use // comments where appropriate.
2019-07-26patch 8.1.1752: resizing hashtable is inefficientv8.1.1752Bram Moolenaar
Problem: Resizing hashtable is inefficient. Solution: Avoid resizing when the final size is predictable.
2019-05-28patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar
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.
2019-05-24patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar
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.
2019-01-20patch 8.1.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar
Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
2019-01-13patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar
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.
2017-01-15patch 8.0.0192: cannot build with tiny featuresv8.0.0192Bram Moolenaar
Problem: Build fails with tiny features. Solution: Change #ifdef for hash_clear(). Avoid warning for unused argument.
2016-11-10patch 8.0.0074v8.0.0074Bram Moolenaar
Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
2016-08-29patch 7.4.2293v7.4.2293Bram Moolenaar
Problem: Modelines in source code are inconsistant. Solution: Use the same line in most files. Add 'noet'. (Naruhiko Nishino)
2016-07-14patch 7.4.2037v7.4.2037Bram Moolenaar
Problem: Small build fails. Solution: Adjust #ifdefs.
2016-04-03patch 7.4.1707v7.4.1707Bram Moolenaar
Problem: Cannot use empty dictionary key, even though it can be useful. Solution: Allow using an empty dictionary key.
2016-01-30patch 7.4.1208v7.4.1208Bram Moolenaar
Problem: Using old style function declarations. Solution: Change to new style function declarations. (script by Hirohito Higashi)
2016-01-29patch 7.4.1198v7.4.1198Bram Moolenaar
Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
2012-11-28updated for version 7.3.740v7.3.740Bram Moolenaar
Problem: IOC tool complains about undefined behavior for int. Solution: Change to unsigned int. (Dominique Pelle)
2010-08-08Remove unused code.Bram Moolenaar
2006-04-17updated for version 7.0e01v7.0e01Bram Moolenaar
2006-03-24updated for version 7.0bBram Moolenaar