summaryrefslogtreecommitdiff
path: root/src/hashtab.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.1.2387: using old C style commentsv8.1.2387Bram Moolenaar2019-12-041-28/+28
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.1752: resizing hashtable is inefficientv8.1.1752Bram Moolenaar2019-07-261-5/+3
| | | | | Problem: Resizing hashtable is inefficient. Solution: Avoid resizing when the final size is predictable.
* patch 8.1.1414: alloc() returning "char_u *" causes a lot of type castsv8.1.1414Bram Moolenaar2019-05-281-2/+2
| | | | | | 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/+1
| | | | | | 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.0785: depending on the configuration some functions are unusedv8.1.0785Bram Moolenaar2019-01-201-0/+4
| | | | | | Problem: Depending on the configuration some functions are unused. Solution: Add more #ifdefs, remove unused functions. (Dominique Pelle, closes #3822)
* patch 8.1.0743: giving error messages is not flexiblev8.1.0743Bram Moolenaar2019-01-131-2/+2
| | | | | | | | 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.0.0192: cannot build with tiny featuresv8.0.0192Bram Moolenaar2017-01-151-2/+0
| | | | | | Problem: Build fails with tiny features. Solution: Change #ifdef for hash_clear(). Avoid warning for unused argument.
* patch 8.0.0074v8.0.0074Bram Moolenaar2016-11-101-1/+1
| | | | | | Problem: Cannot make Vim fail on an internal error. Solution: Add IEMSG() and IEMSG2(). (Domenique Pelle) Avoid reporting an internal error without mentioning where.
* 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.2037v7.4.2037Bram Moolenaar2016-07-141-4/+2
| | | | | Problem: Small build fails. Solution: Adjust #ifdefs.
* patch 7.4.1707v7.4.1707Bram Moolenaar2016-04-031-2/+1
| | | | | Problem: Cannot use empty dictionary key, even though it can be useful. Solution: Allow using an empty dictionary key.
* patch 7.4.1208v7.4.1208Bram Moolenaar2016-01-301-42/+22
| | | | | | 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-1/+1
| | | | | | Problem: Still using __ARGS. Solution: Remove __ARGS in several files. (script by Hirohito Higashi) Also remove use of HAVE_STDARG_H.
* updated for version 7.3.740v7.3.740Bram Moolenaar2012-11-281-6/+6
| | | | | Problem: IOC tool complains about undefined behavior for int. Solution: Change to unsigned int. (Dominique Pelle)
* Remove unused code.Bram Moolenaar2010-08-081-15/+0
|
* updated for version 7.0e01v7.0e01Bram Moolenaar2006-04-171-8/+8
|
* updated for version 7.0bBram Moolenaar2006-03-241-0/+518