Sébastien Helleu
efc7a588d6
core: update copyright dates
2021-01-02 21:34:16 +01:00
Tim Gates
08db4407ed
docs: fix simple typo, confiuration -> configuration
...
There is a small typo in src/core/weechat.c.
Should read `configuration` rather than `confiuration`.
2020-11-28 09:46:23 +01: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
Simmo Saan
3f0c6ac96b
gui: add gui_focus_info hashtable info ( #1245 )
2020-05-16 14:23:09 +02:00
Sébastien Helleu
100440c8a1
core: restore signal "signal_sighup", and if eaten do not reload configuration
2020-04-21 22:34:42 +02:00
Tom Fitzhenry
de1e61f7cd
core: reload config on SIGHUP
...
fixes https://github.com/weechat/weechat/issues/1476
2020-04-22 01:25:08 +10:00
Sébastien Helleu
0b994d718d
core: add command line option "--stdout" in weechat-headless binary ( closes #1475 , closes #1477 )
2020-04-19 11:28:39 +02:00
Tom Fitzhenry
18a837c55b
core: log to stdout, if headless
...
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-04-19 11:05:22 +02:00
Sébastien Helleu
c29b45a0f2
api: add info "auto_connect" ( closes #1453 )
2020-03-20 20:42:05 +01:00
Sébastien Helleu
feb6258910
core: update copyright dates
2020-01-04 10:41:26 +01:00
Sébastien Helleu
1d6714e428
core: auto disable upgrade process (command line option "--upgrade") if the file weechat.upgrade is not found
2019-06-24 21:35:37 +02:00
Sébastien Helleu
1582d923e6
core: use getopt to parse command line arguments
...
Multiple options can now be given in a single flag, for example:
weechat -ast
Following formats were allowed for command line argument with a value:
weechat -d /tmp/weechat
weechat --dir /tmp/weechat
Now these extra formats are supported as well:
weechat -d/tmp/weechat
weechat --dir=/tmp/weechat
2019-04-14 13:35:47 +02:00
Sébastien Helleu
413aa499cc
core: add documentation on command line debug options (in --help and man pages)
...
Command line debug options are now documented:
* --no-dlclose: do not call the function dlclose after plugins are unloaded
* --no-gnutls: do not call the init and deinit functions of GnuTLS library
* --no-gcrypt: do not call the init and deinit functions of Gcrypt library
These options must not be used in production, they're for debug only and can be
used with tools like Valgrind or electric-fence.
2019-03-31 23:53:54 +02:00
Sébastien Helleu
6a9937f08a
core: fix compilation on Mac OS ( closes #1308 )
...
This adds the missing include "unistd.h" for function "mkdtemp" (required on
Mac OS only).
2019-02-18 19:28:20 +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
70c2e27110
core: split wee-secure.c into 3 files (secured data functions, buffer and config)
2018-10-27 08:54:10 +02:00
Sébastien Helleu
fcf7469d76
core: allow multiple options "-r" ("--run-command") in command line arguments ( closes #1248 )
2018-09-06 21:52:02 +02:00
Sébastien Helleu
466dbbe75b
core: add option "-P" (or "--plugins") to customize the plugins to load at startup
...
If given, the option replaces the option weechat.plugin.autoload.
2018-08-17 19:44:41 +02:00
Sébastien Helleu
4b784a631c
core: remove unneeded test on variable argv
2018-05-19 08:14:52 +02:00
Sébastien Helleu
71999e17c6
core: quit WeeChat on ctrl-C (signal SIGINT) in headless mode
2018-03-16 20:10:57 +01:00
Sébastien Helleu
805717e9ec
core: add binary weechat-headless to run WeeChat without interface ( closes #1120 )
...
The optional command line option "--daemon" runs WeeChat like a daemon
(fork, new process group, file descriptors closed).
2018-03-11 09:59:39 +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
c58716809c
core: remove unneeded argument in call to string_fprintf
2017-08-10 19:55:29 +02:00
Sébastien Helleu
33e5991791
core: replace /iset by /fset in welcome message
2017-07-22 12:45:39 +02:00
arza
e7edebfaee
core: remove duplicate util_catch_signal for SIGQUIT
2017-04-07 20:46:47 +03:00
Sébastien Helleu
705d86e684
core: update copyright dates
2017-01-01 11:32:04 +01:00
Sébastien Helleu
018b969381
core: fix deadlock when quitting after a signal is received ( closes #32 )
...
The code in signal handers (SIGHUP, SIGQUIT, SIGTERM) is moved into main
loop, this hopefully fixes the deadlock when quitting after receiving
one of these signals.
The code in SIGWINCH signal handler is moved too (even if it shouldn't
be a problem).
2016-11-13 16:07:24 +01:00
Sébastien Helleu
eb86def400
core: rename function string_iconv_fprintf to string_fprintf
2016-07-09 18:28:03 +02:00
Sébastien Helleu
3330724574
core: update copyright dates
2016-01-01 11:09:53 +01:00
Sébastien Helleu
f5f6a13586
core: free global variables at the very end
2015-12-23 07:33:22 +01:00
Sébastien Helleu
841444b68c
core: fix memory leak when using multiple "-d" or "-r" in command line arguments
2015-12-23 07:17:37 +01:00
Sébastien Helleu
b492c1b1e2
core: add "tmux" and "tmux-256color" in supported $TERM values ( closes #519 )
2015-11-12 21:25:28 +01:00
Sébastien Helleu
393434237c
core: fix long lines in weechat.c
2015-08-09 07:58:20 +02:00
Sébastien Helleu
00abc2bde5
core: add signal "signal_sighup"
2015-06-06 14:48:03 +02:00
Sébastien Helleu
7c6c450662
core: replace "create" by "add" in messages and docs for IRC servers and proxies
2015-06-04 22:00:10 +02:00
Sébastien Helleu
d8d44d6138
core: add signals "signal_sigterm" and "signal_sigquit" ( closes #114 )
2015-05-01 08:33:52 +02:00
Sébastien Helleu
71dd64678c
core: add comments after some #endif
2015-04-30 21:15:30 +02:00
Sébastien Helleu
f7ff3bcadd
core: add environment variable WEECHAT_HOME in "weechat --help"
2015-04-25 13:01:36 +02:00
Sébastien Helleu
ae1211d4ab
core: rename function and argument to set home path
2015-04-25 12:56:44 +02:00
Sébastien Helleu
da184957b9
Merge remote-tracking branch 'origin/pr/391'
2015-04-25 12:34:29 +02:00
Sébastien Helleu
6c4c4a37fd
core: display the welcome message immediately after the startup message, move source code to weechat.c
2015-04-25 08:38:44 +02:00
Karthik K
1eaf0e36e8
core: Respect environment variable WEECHAT_HOME
...
If environment variable WEECHAT_HOME is set to a non-empty value, this
is taken as the path for Weechat home directory.
"--dir" command-line switch has higher precedence over this
environment variable.
2015-04-17 22:09:43 +05:30
Sébastien Helleu
32d165f1c4
core: add a welcome message on first WeeChat run ( closes #318 )
2015-04-17 07:57:31 +02:00
Sébastien Helleu
6d8f2d3e97
core: display a warning on startup if the locale can not be set ( closes #373 )
2015-03-30 19:16:28 +02:00
Sébastien Helleu
a020c28ea6
core: update copyright dates
2015-01-01 09:23:23 +01:00
Sébastien Helleu
0cd2aff765
core: use https for WeeChat URLs
2014-12-13 09:16:09 +01:00
Sébastien Helleu
0a641bdf0b
core: add debug functions to measure time spent in code/functions
2014-08-30 16:07:37 +02:00