summaryrefslogtreecommitdiff
path: root/src/core/wee-hashtable.c
AgeCommit message (Collapse)Author
2022-01-17core: update copyright datesSébastien Helleu
2022-01-15api: fix add of infolist items in hashtable when prefix contains UTF-8 chars ↵Sébastien Helleu
in function hashtable_add_from_infolist (issue #1739)
2021-06-26api: remember insertion order in hashtablesSébastien Helleu
2021-01-02core: update copyright datesSébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-08-19core: use fixed-width integer for computing hashtable DJB2 key hash (closes ↵Sébastien Helleu
#1394)
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-10-01core: fix format of variables in printf-like functions (from int to long and ↵Sébastien Helleu
long long)
2018-10-01core: replace "long unsigned int" by "unsigned long"Sébastien Helleu
2018-05-20core: remove unneeded commentSébastien Helleu
2018-05-20core: fix code style in function hashtable_add_from_infolistSébastien Helleu
2018-05-20core: return an error if the infolist has no pointer to current item in ↵Sébastien Helleu
function hashtable_add_from_infolist
2018-05-20Merge remote-tracking branch 'origin/pr/623' into irc-3.2-capSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-12core: fix cast of time_t (to "long long" instead of "long") (closes #1051)Sébastien Helleu
2017-06-17core: implement buffer type in hashtable_add_from_infolistSimmo Saan
2017-06-17core: add hashtable_add_from_infolist to APISimmo Saan
2017-01-01core: update copyright datesSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-01-01core: update copyright datesSébastien Helleu
2014-08-11core: callback_free_key shouldn't point to already free'd valueAndrew Potter
2014-08-10core: fix zero-length malloc of an hashtable item with type "buffer"Sébastien Helleu
2014-08-02core: fix result of hash function (in hashtables) on 32-bit systemsSébastien Helleu
2014-01-01core: update copyright datesSebastien Helleu
2013-08-10core: change type of hashtable key hash to unsigned long, return item ↵Sebastien Helleu
pointer in functions hashtable_set(_with_size) The key hash has been changed from unsigned int to unsigned long, and now the callback can return any value (not only between 0 and size-1), the modulo is computed after the call to the callback by the hashtable functions. Functions hashtable_set and hashtable_set_with_size were returning 1 if OK, 0 if error. Now they return pointer to hashtable item, or NULL if error.
2013-08-09core: check that value is not NULL before calling free in hashtable_free_valueSebastien Helleu
2013-08-09core: add "callback_free_key" in hashtableSebastien Helleu
2013-03-07api: allow hashtable with keys that are not strings in function ↵Sebastien Helleu
hashtable_add_to_infolist
2013-01-26core: use default hash/comparison callback for keys of type ↵Sebastien Helleu
integer/pointer/time in hashtable
2013-01-01core: update copyright datesSebastien Helleu
2012-12-15core: move comments with description of C file to top of filesSebastien Helleu
2012-12-13core: reformat comments for functionsSebastien Helleu
2012-08-05core: fix crash if key of hashtable_get(_item) is NULL (just return NULL)Sebastien Helleu
2012-01-08core: update copyright datesSebastien Helleu
2011-12-19core: add type "hashtable" for hdata, new api functions: hdata_hashtable and ↵Sebastien Helleu
hashtable_map_string
2011-10-26core: remove unneeded whitespaceSebastien Helleu
2011-08-13core: add function hashtable_dup (duplicate a hashtable)Sebastien Helleu
2011-08-01core: add info about position where mouse button is released in hook_focus ↵Sebastien Helleu
(for mouse gestures)
2011-07-30core: fix crash when building hashtable string with keys and valuesSebastien Helleu
2011-06-13core: add string representation for types pointer, buffer and time in ↵Sebastien Helleu
properties "keys", "values" and "keys_values"
2011-03-15Allow removal of hashtable entry in callback of hashtable_mapSebastien Helleu
2011-01-02Add function "hashtable_set_pointer" in plugin APISebastien Helleu
2011-01-01Update copyright datesSebastien Helleu
2010-10-17Use const void * for keys and values in some hashtable functionsSebastien Helleu
2010-10-16Fix crash in hashtable_get_string with "values" or "keys_values" when some ↵Sebastien Helleu
values in hashtable are NULL
2010-10-15Add properties "values" and "keys_values" for hashtable_get_string (return ↵Sebastien Helleu
string with list of values or keys/values)
2010-10-11Add function "hashtable_has_key" in WeeChat and plugin APISebastien Helleu
2010-10-10Add property "keys" for hashtable_get_string (return string with list of keys)Sebastien Helleu
2010-10-10Allow null value for hashtable entriesSebastien Helleu