Sébastien Helleu
06685b6e68
core: add info "window" ( closes #2141 )
2024-07-01 21:23:36 +02:00
Sébastien Helleu
bdfa1bd51c
core, plugins: return "0x0" instead of "(nil)" for pointers formatted in strings
...
This is a partial revert of the commit
965beb37de .
2024-06-22 08:54:08 +02:00
Sébastien Helleu
3057d846d9
core: remove check of NULL pointers before calling string_free_split() (issue #865 )
2024-04-26 08:53:22 +02:00
Sébastien Helleu
b56b34711d
api: remove check of NULL pointers before calling free() (issue #865 )
2024-04-25 20:59:25 +02:00
90
8c3f16dbe3
core: add support for $XDG_STATE_HOME
2024-04-12 22:57:57 +02:00
Sébastien Helleu
965beb37de
core: fix print of pointer values
2024-04-01 21:08:52 +02:00
Sébastien Helleu
24c4029c96
core: remove "wee-" prefix from source files in src/core and src/core/hook
2024-03-12 21:27:37 +01:00
Sébastien Helleu
a167322d8b
api: add info "plugin_loaded"
2024-02-19 18:29:21 +01:00
Sébastien Helleu
eecb2a997e
core: update copyright dates
2024-01-01 22:29:58 +01:00
Sébastien Helleu
038eae07bd
api: add info "mouse"
2023-12-02 09:43:36 +01:00
Sébastien Helleu
445d1d0ec5
api: return NULL instead of empty infolist "key" when context is not found
2023-12-02 09:40:01 +01:00
Sébastien Helleu
51fec9257e
core: check that directory is not NULL in function plugin_api_info_absolute_path
2023-12-02 09:37:22 +01:00
Sébastien Helleu
de5b0aae47
core: rename variable "version" to "compilation_date"
2023-12-02 09:36:57 +01:00
Sébastien Helleu
6d69cde186
core, plugins: set error to NULL before calling strtol()
...
This is not strictly necessary, just in case the function strtol() doesn't
update the pointer.
2023-11-01 09:53:38 +01:00
Sébastien Helleu
5d9af29024
api: add infos "nick_color_ignore_case" and "nick_color_name_ignore_case" (issue #194 )
2023-08-24 18:19:32 +02:00
Sébastien Helleu
54dd19da92
api: add info "buffer" ( closes #1962 )
...
This info returns a pointer buffer with its full name.
2023-06-26 21:35:49 +02:00
Sébastien Helleu
71b85f1238
core: send all command line parameters not beginning with a dash to all plugins, add info "auto_load_scripts"
...
This fixes an issue with IRC URL given on command line when it starts with
`ircs://` or `irc6://`: the server is not created at all (only `irc://` works
fine).
2023-05-30 20:56:25 +02:00
Sébastien Helleu
91bcfbb4e8
core: move creation of info_hashtable "secured_data" in plugin-api-info.c
2023-05-16 20:00:48 +02:00
Sébastien Helleu
72477b49d7
api: add optional argument with version in info "version_number"
2023-04-15 11:09:59 +02:00
Sébastien Helleu
11ea0aecf4
core: make buffer name case sensitive in read of infolist "buffer" (issue #1872 )
2023-01-28 15:14:30 +01:00
Sébastien Helleu
b5350a3318
core: make proxy name case sensitive in read of infolist "proxy" (issue #1872 )
2023-01-28 15:14:29 +01:00
Sébastien Helleu
8744fdfaf3
core: make filter names case sensitive (issue #1872 )
2023-01-28 15:14:10 +01:00
Sébastien Helleu
5434f4f969
core, plugins: make plugin names case sensitive (issue #1872 )
2023-01-28 15:13:57 +01:00
Sébastien Helleu
4b5897f110
core: make bar and bar items case sensitive (issue #1872 )
2023-01-28 15:13:55 +01:00
Sébastien Helleu
33bba784c3
core: update copyright dates
2023-01-01 14:54:35 +01:00
Sébastien Helleu
e057c16b36
api: add info "uptime_current"
...
This info returns time duration between the start of the current WeeChat
process and now (so upgrades with /upgrade are ignored).
2022-07-10 13:02:35 +02:00
Sébastien Helleu
c44b79dce7
core: update copyright dates
2022-01-17 18:41:06 +01:00
Sébastien Helleu
0f9640a5f3
core: split WeeChat home in 4 directories, use XDG directories by default (issue #1285 )
...
The 4 directories (which can be the same):
- config: configuration files, certificates
- data: log/upgrade files, local plugins, scripts, xfer files
- cache: script repository, scripts downloaded (temporary location)
- runtime: FIFO pipe, relay UNIX sockets
2021-05-11 21:06:34 +02:00
Sébastien Helleu
bb41de8c02
api: add info "weechat_daemon"
2021-03-14 14:11:06 +01:00
Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Sébastien Helleu
d1cad18f01
core: increase buffer size in function plugin_api_info_uptime_cb
...
This fixes a compiler warning complaining about a too small buffer for
snprintf, even if this should never happen.
2020-11-22 14:59:06 +01:00
Sébastien Helleu
f8403c76db
api: add optional list of colors in infos "nick_color" and "nick_color_name" ( closes #1565 )
2020-10-04 08:46:36 +02:00
Sébastien Helleu
f500c972dd
core: update translations ( closes #1245 , closes #1257 )
2020-05-16 14:40:19 +02:00
Sébastien Helleu
aa86d82796
core: rename info_hashtable "gui_focus_info" to "focus_info" (issue #1257 )
2020-05-16 14:23:18 +02:00
Sébastien Helleu
a3747fefcd
core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c (issue #1257 )
2020-05-16 14:23:09 +02:00
Sébastien Helleu
c29b45a0f2
api: add info "auto_connect" ( closes #1453 )
2020-03-20 20:42:05 +01:00
Sébastien Helleu
9a6a27ef58
core: move crypto functions to wee-crypto.c, rename API function string_hash to crypto_hash
2020-03-01 21:24:27 +01:00
Sébastien Helleu
27266ccd02
core: rename function util_get_uptime to util_get_time_diff
...
The two times must be sent as parameters, which makes the function not specific
to uptime. It is now easier to test the function in unit tests.
2020-02-02 13:57:39 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Matthew Horan
f966329862
api: add info "weechat_headless"
2019-12-13 21:30:54 +01:00
Sébastien Helleu
68d6f1b415
api: add infos "term_colors" and "term_color_pairs"
2019-08-25 19:10:32 +02:00
Sébastien Helleu
9178156354
api: add argument "strip_items" in function string_split
2019-06-15 20:47:14 +02:00
Sébastien Helleu
3d95217745
api: return allocated string in hook_info callback and function info_get
2019-04-13 08:42:45 +02:00
Sébastien Helleu
2b70d71aa1
core: replace argument "keep_eol" by "flags" in function string_split ( closes #1322 )
2019-03-10 18:29:16 +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
dc7d99fa73
core: improve description of infos "totp_generate" and ""totp_validate"
2018-11-04 14:50:53 +01:00
Sébastien Helleu
a8b6fa08b7
core: split plugin-api.c into 2 files (API wrappers and infos/infolists)
2018-11-03 23:01:46 +01:00