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
85d7c9b6c5
core: add command line option "-t" (or "--temp-dir") to create a temporary WeeChat home (deleted on exit)
2018-11-17 10:36:58 +01: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
b072586d79
core: add missing includes of stdio.h
2017-11-04 21:03:15 +01:00
Sébastien Helleu
5aab494dd6
core, plugins: check return code of strftime function
2017-09-23 15:06:28 +02:00
Sébastien Helleu
94cd1b037f
core: add constant WEECHAT_EXTRA_LIBDIR
2017-07-05 19:56:41 +02:00
Linus Heckemann
d6c1d02eca
core: search WEECHAT_EXTRA_LIBDIR for plugins ( closes #971 , issue #979 )
...
In addition to searching the statically configured WEECHAT_LIBDIR
(weechat's installation directory) for plugins, search the path
given in the environment variable WEECHAT_EXTRA_LIBDIR. This makes
departing from the FHS standard while keeping the plugins packaged
separately easier. This change was made specifically with the Nix
package manager in mind, but can easily be used by others.
2017-07-05 19:52:48 +02:00
Sébastien Helleu
f70c2e521e
core: use PATH_MAX for size of variable with complete filename in exec_on_files
2017-07-04 22:14:44 +02:00
Sébastien Helleu
ff448b9096
api: add argument "recurse_subdirs" in function exec_on_files()
2017-07-04 22:01:14 +02:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
668bb3a4ad
api: add info "uptime" (WeeChat uptime)
2016-12-31 18:28:55 +01:00
Sébastien Helleu
997f47f77a
core: fix integer overflow in calls to realloc (issue #809 )
2016-10-08 13:10:56 +02:00
Sébastien Helleu
3e35df9bce
core: free file pointer in case of memory error in util_file_get_content()
2016-08-13 14:48:33 +02: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
23fd23fd1a
api: fix type of value returned by function util_get_time_string
2015-07-04 16:23:04 +02:00
Sébastien Helleu
4ecd8a505f
api: fix type of value returned by functions utf8_prev_char, utf8_next_char and utf8_add_offset
2015-07-04 08:39:55 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
083a6c741d
core: check that filename is not NULL in function util_file_get_content
2015-01-19 23:15:30 +01:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
7b546bea2e
api: use microseconds instead of milliseconds in functions util_timeval_diff and util_timeval_add
2014-08-29 18:17:27 +02:00
Sébastien Helleu
823db4475c
core: check that timeval arguments are not NULL in timeval functions
2014-07-05 10:25:28 +02:00
Sebastien Helleu
42b416af19
api: add option "signal" in function hook_set to send a signal to the child process
2014-03-11 11:14:07 +01:00
Sebastien Helleu
c8cd6c4639
core: fix size used in some snprintf
2014-02-26 09:17:20 +01:00
Sebastien Helleu
892aa79fb5
core: update copyright dates
2014-01-01 00:14:12 +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
d685d5fb42
core: add option weechat.startup.sys_rlimit to set system resource limits for WeeChat process
2012-08-01 17:31:48 +02:00
Sebastien Helleu
508bfe5c7a
core: fix memory leak in function util_search_full_lib_name
2012-02-19 19:14:06 +01:00
Sebastien Helleu
47e4a03be6
core: update copyright dates
2012-01-08 18:59:50 +01:00
Sebastien Helleu
41b5ef1e4c
core: check pointer returned by function localtime
2011-11-27 11:48:35 +01:00
Sebastien Helleu
8ba8e62580
irc: fix crash when signon time in message 317 (whois, idle) is invalid (too large) (bug #34905 )
2011-11-27 10:06:24 +01:00
Sebastien Helleu
e5a74fca72
core: allow list for option weechat.plugin.extension (makes weechat.conf portable accross Un*x and Windows) (task #11479 )
2011-11-15 10:42:46 +01:00
Sebastien Helleu
4646e5c17c
core: fix typo: occured -> occurred
2011-11-03 16:59:54 +01:00
Sebastien Helleu
dfdf42e27b
core: remove unneeded whitespace
2011-10-26 20:37:03 +02:00
Sebastien Helleu
0a2c938dae
core: fix freeze when calling function util_file_get_content with a directory instead of a filename
2011-10-19 13:41:34 +02:00
Sebastien Helleu
f843f904bc
core: fix bugs with calls to realloc
2011-08-28 15:25:30 +02:00
Sebastien Helleu
aa948c76a3
core: remove some compilation warnings under Cygwin
2011-08-18 11:09:46 +02:00
Sebastien Helleu
d24f6e9e17
Update copyright dates
2011-01-01 18:06:29 +01:00
Sebastien Helleu
b6662ee3cf
Add color support in option weechat.look.buffer_time_format
2010-12-07 19:43:19 +01:00
Sebastien Helleu
88b8767eed
Fix bug with version number when version ends with "-rcX"
2010-08-03 23:37:05 +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
2801b8437c
Reformat multi-line comments
2010-03-19 23:33:14 +01:00
Sebastien Helleu
3799d2c2a5
Add "version_number" for API function weechat_info_get to get WeeChat version as number
2010-02-10 11:21:25 +01:00
Sebastien Helleu
7850668327
Add new option weechat.look.time_format to customize default format for date/time displayed (localized date by default), add function weechat_util_get_time_string in plugin API (patch #6914 )
2010-02-09 17:19:14 +01:00