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
7ee88fb46c
core: fix some styles
2018-01-07 09:11:45 +01:00
Sébastien Helleu
ed4837b2f6
core: update copyright dates
2018-01-05 00:54:18 +01:00
Sébastien Helleu
bfb8499d61
core: fix display of groups/nicks in nicklist in case of empty groups (issue #1079 )
2017-10-09 09:10:36 +02:00
Sébastien Helleu
7a452ce8bc
core: fix display of nicks in nicklist when they are in a group with sub-groups ( closes #1079 )
2017-10-08 14:09:02 +02:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
cf6aca1619
core: add pointer in some callbacks ( closes #406 )
...
This pointer is the first argument received by callbacks, and the
existing argument "data" is now automatically freed by WeeChat when the
object containing the callback is removed.
With this new pointer, the linked list of callbacks in scripts has been
removed. This will improve speed of scripts (using a lot of hooks),
reduce memory used by scripts and reduce time to unload scripts.
Following functions are affected in the C API:
* exec_on_files
* config_new
* config_new_section
* config_new_option
* hook_command
* hook_command_run
* hook_timer
* hook_fd
* hook_process
* hook_process_hashtable
* hook_connect
* hook_print
* hook_signal
* hook_hsignal
* hook_config
* hook_completion
* hook_modifier
* hook_info
* hook_info_hashtable
* hook_infolist
* hook_hdata
* hook_focus
* unhook_all_plugin
* buffer_new
* bar_item_new
* upgrade_new
* upgrade_read
2016-03-21 18:11:21 +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
Sebastien Helleu
437767c0ca
api: add integer return code for functions hook_{signal|hsignal}_send
2014-02-10 17:42:53 +01:00
Sebastien Helleu
846dde00aa
core: fix crash with hdata_update on shared strings, add hdata type "shared_string" (bug #41104 )
2014-01-05 14:37:27 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +01:00
Sebastien Helleu
0b94d3c3bc
core: free nicklist data (for hsignal) on exit
2013-11-23 16:20:19 +01:00
Sebastien Helleu
a4f789810a
core: use shared strings for groups/nicks in nicklist
2013-08-17 18:14:31 +02:00
Sebastien Helleu
9fdeef247e
core: add signals and hsignals for nicklist events
...
New signals: nicklist_group_removing and nicklist_nick_removing.
New hsignals: nicklist_group_added, nicklist_nick_added, nicklist_group_removing,
nicklist_nick_removing, nicklist_group_changed, nicklist_nick_changed.
2013-03-08 23:13:58 +01:00
Sebastien Helleu
8b925baa3c
core: add count for groups, nicks, and total in nicklist
2013-03-03 11:30:58 +01:00
Sebastien Helleu
844ba9e1c0
core: optimize function nicklist_remove_all (don't remove and create again "root" group)
2013-03-02 09:35:02 +01:00
Sebastien Helleu
f97598b4aa
core: update copyright dates
2013-01-01 13:12:49 +01:00
Sebastien Helleu
7eb5cc4b97
core: move comments with description of C file to top of files
2012-12-15 12:27:57 +01:00
Sebastien Helleu
7d34812f1c
core: reformat comments for functions
2012-12-13 18:51:44 +01:00
Sebastien Helleu
641de51bdb
api: allow creation of structure with hdata_update (allowed for hdata "history")
2012-12-08 23:54:07 +01:00
Sebastien Helleu
df80aa5fc9
api: allow update for some variables of hdata, add new functions hdata_update and hdata_set
2012-08-27 09:47:46 +02:00
Sebastien Helleu
eab0110732
core: add support of arrays in hdata variables
2012-07-20 18:12:07 +02:00
Sebastien Helleu
d66555f387
core: add callback "nickcmp" for nick comparison in buffers
2012-06-14 20:06:42 +02:00
Sebastien Helleu
49f4e4cfa4
core: fix refresh of offline nicks (in chat) when nicklist bar is hidden
2012-06-09 12:35:44 +02:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
d6f4f6e74c
core: fix typo: childs -> children
2011-10-25 09:13:18 +02:00
Sebastien Helleu
aa948c76a3
core: remove some compilation warnings under Cygwin
2011-08-18 11:09:46 +02:00
Sebastien Helleu
19bc95b961
core: many improvements on hdata
...
New features:
- add optional hdata name for variables in hdata
- add plugin API functions: hdata_get_var_hdata
- use hashtable to store hdata (created by WeeChat and plugins)
- free hdata and infolists created by plugin on plugin unload
- free all hdata on exit
- add "free" option to command /debug hdata
- remove hdata for hooks
2011-06-26 18:15:42 +02:00
Sebastien Helleu
c8b2a6a084
core: add "hdata" (direct access to WeeChat/plugin data)
2011-06-13 12:32:27 +02:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
97ea89c44f
Allow search of nicklist group with name not including leading digits (for nicklist sort)
2010-11-10 12:11:31 +01:00
Sebastien Helleu
32db2eac25
Add new functions in plugin API to get/set nicks/groups properties in nicklist
...
8 new functions added:
- nicklist_group_get_integer
- nicklist_group_get_string
- nicklist_group_get_pointer
- nicklist_group_set
- nicklist_nick_get_integer
- nicklist_nick_get_string
- nicklist_nick_get_pointer
- nicklist_nick_set
2010-10-29 18:40:25 +02:00
Sebastien Helleu
5e5a926e99
Fix bug when counting number of groups/nicks displayed in nicklist
2010-10-28 19:32:57 +02:00
Sebastien Helleu
6562d676fe
Update licenses and copyrights, add missing author names in sources
2010-06-22 19:46:28 +02:00
Sebastien Helleu
31bfcf96c7
Reformat and add comments for description of C sources
2010-04-08 18:15:00 +02:00
Sebastien Helleu
483b63f360
Add signals "nicklist_{group|nick}_{added|removed}", remove signal "nicklist_changed"
...
Data for new signals is a string with format: "buffer,name", where:
- buffer is a pointer, for example 0x123456
- name is group or nick name added/removed from nicklist on this buffer.
2010-03-25 17:02:37 +01:00
Sebastien Helleu
3e2943a0e0
Fix bug with nicklist prefix in log file
2010-03-24 10:03:57 +01:00
Sebastien Helleu
8d25a75200
Use arguments for infolist "nicklist" to return only one nick or group
...
Format is: nick_xxx or group_xxx to return only nick/group called "xxx".
2010-02-12 12:50:16 +01:00
Sebastien Helleu
2133eb30ff
Update copyright dates
2010-01-03 19:31:55 +01:00
Sebastien Helleu
a498402e78
Fix crash when searching nick in buffer without nicklist (function nicklist_search_nick)
2009-12-06 23:35:46 +01:00
Sebastien Helleu
6ec9b638ce
Fix crash when giving empty buffer pointer to nicklist API functions (bug #26328 )
2009-04-24 21:35:16 +02:00
Sebastien Helleu
a938ef736a
Remove some messages during startup about scripts and plugins loaded
...
It is still possible to see messages by changing debug level for "core" or
plugins (perl, python, ruby, lua, tcl).
2009-03-18 15:11:18 +01:00
Sebastien Helleu
b5f27d3fea
Use string instead of char for prefixes in nicklist
2009-02-17 19:23:16 +01:00
Sebastien Helleu
2115f3f675
Update copyright dates
2009-01-03 10:06:53 +01:00
Sebastien Helleu
d32b22f76f
Fix bug with pointer conversions on 64 bits architecture
2008-11-04 15:34:44 +01:00