Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
a48a615613
api: remember insertion order in hashtables
2021-06-26 21:37:02 +02:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
2b0057239b
core: update copyright dates
2019-01-01 15:40:51 +01:00
Sébastien Helleu
4712d0bb06
core: use https for links to GNU GPL license
2018-11-29 23:16:07 +01:00
Sébastien Helleu
8abd05fe3d
core: replace "long unsigned int" by "unsigned long"
2018-10-01 22:21:25 +02:00
Sébastien Helleu
3bdab1c538
core: fix type of variables "buffer_name" and "buffer_type" sent to the hook_line callback
2018-08-14 14:51:18 +02:00
Sébastien Helleu
42be1a74a0
api: add function hook_line
2018-08-12 21:45:00 +02:00
Sébastien Helleu
8a929c8668
core: fix code style in function hashtable_add_from_infolist
2018-05-20 16:25:43 +02:00
Sébastien Helleu
afb1d03053
Merge remote-tracking branch 'origin/pr/623' into irc-3.2-cap
2018-05-20 15:21:07 +02:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
9bad3f44db
core: remove value for first #define in headers, add "PLUGIN" in plugin headers
2017-08-10 20:05:16 +02:00
Simmo Saan
0a4be02dc3
core: add hashtable_add_from_infolist to API
2017-06-17 20:03:40 +03:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Andrew Potter
62d891aea9
core: callback_free_key shouldn't point to already free'd value
2014-08-11 22:51:20 +02:00
Sébastien Helleu
cf3e0ccbfd
core: fix result of hash function (in hashtables) on 32-bit systems
2014-08-02 16:53:12 +02:00
Sebastien Helleu
9b380a935b
core: fix use of reserved C identifiers in headers ( closes #31 )
2014-03-19 10:39:13 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
d12c9efdbc
core: change type of hashtable key hash to unsigned long, return item 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-10 09:35:06 +02:00
Sebastien Helleu
abb574ec4e
core: add "callback_free_key" in hashtable
2013-08-09 23:00:12 +02:00
Sebastien Helleu
f4dce04723
core: use default hash/comparison callback for keys of type integer/pointer/time in hashtable
2013-01-26 18:48:26 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
6f3fd239be
core: add type "hashtable" for hdata, new api functions: hdata_hashtable and hashtable_map_string
2011-12-19 22:39:24 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
7ebb91f69b
core: add function hashtable_dup (duplicate a hashtable)
2011-08-13 12:00:25 +02:00
Sebastien Helleu
44e16c0511
Add function "hashtable_set_pointer" in plugin API
2011-01-02 16:32:54 +01:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
ebf94445b9
Use const void * for keys and values in some hashtable functions
2010-10-17 10:39:51 +02:00
Sebastien Helleu
9186a5b7e3
Add properties "values" and "keys_values" for hashtable_get_string (return string with list of values or keys/values)
2010-10-15 23:48:45 +02:00
Sebastien Helleu
f32e18c717
Add function "hashtable_has_key" in WeeChat and plugin API
2010-10-11 13:56:57 +02:00
Sebastien Helleu
b9d6c5c5a0
Add property "keys" for hashtable_get_string (return string with list of keys)
2010-10-10 19:44:29 +02:00
Sebastien Helleu
712623547f
Add new functions in plugin API (hashtable_get_string, hook_info_hashtable, info_get_hashtable), add IRC info_hashtable "irc_parse_message"
...
Note: tcl >= 8.5 is now required (for tcl plugin).
2010-08-27 15:59:06 +02:00
Sebastien Helleu
b153d82b78
Remove unneeded spaces and tabs
2010-07-19 15:36:51 +02:00
Sebastien Helleu
94fbbc0a7f
Use of hashtable for local variables of buffers
2010-07-05 17:05:49 +02:00
Sebastien Helleu
cb18bdb10b
Add hashtable in core and plugin API
2010-06-28 10:40:30 +02:00