summaryrefslogtreecommitdiff
path: root/src/core/weechat.c
AgeCommit message (Collapse)Author
2023-05-30core: send all command line parameters not beginning with a dash to all ↵Sébastien Helleu
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-03-30doc: convert docgen.py to C, remove autogen files from repository, add ↵Sébastien Helleu
parameter `--doc-gen` Changes: - build of doc now requires weechat-headless, translations and all plugins - convert docgen.py to C - remove `autogen_*` files from repository - add command line parameter `--doc-gen` in `weechat-headless` to build autogen files - build .mo files with directories like the installed ones (eg: "<lang>/LC_MESSAGES/weechat.mo") - remove javascript chapter from user's guide
2023-01-29core: force ctrl keys to lower case when they are added (closes #1875)Sébastien Helleu
2023-01-01core: update copyright datesSébastien Helleu
2022-09-03core: remove debug printSébastien Helleu
2022-09-03xfer: fix DCC file receive on Termux (closes #1811)Sébastien Helleu
This fixes such error displayed on Termux when receiving a DCC file: xfer: invalid address "96747949": error 8 hostname nor servname provided, or not known
2022-06-18core: add trailing slashes in URLsSébastien Helleu
2022-01-17core: update copyright datesSébastien Helleu
2021-12-03core: fix typo in weechat --helpSébastien Helleu
2021-08-03api: add random integer number in evaluation of expressions with ↵Sébastien Helleu
"random:min,max"
2021-05-22core: split startup command before evaluating it (issue #1643)Sébastien Helleu
2021-05-11core: update translations (issue #1285)Sébastien Helleu
2021-05-11core: split WeeChat home in 4 directories, use XDG directories by default ↵Sébastien Helleu
(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-11core: move home directory functions from weechat.c to wee-dir.c (issue #1285)Sébastien Helleu
2021-05-11core: move directory/file functions from wee-util.c to wee-dir.c (issue #1285)Sébastien Helleu
2021-05-11core: set WeeChat home to empty string by default in CMake and autotools ↵Sébastien Helleu
(issue #1285)
2021-03-16core: add options to customize commands on system signals, quit by default ↵Sébastien Helleu
on SIGHUP when not running headless (closes #1595) New options to customize behavior on signals received, with the default behavior: - weechat.signal.sighup: quit in normal mode, reload config in headless - weechat.signal.sigquit: quit - weechat.signal.sigterm: quit - weechat.signal.sigusr1: no command executed by default - weechat.signal.sigusr2: no command executed by default The signals SIGUSR1 and SIGUSR2 are introduced by this commit, so it's now possible to run commands when they are received. The SIGHUP signal makes now WeeChat quit, it was the behavior before version 2.9 of WeeChat (see commit de1e61f7cd50cbd1a99777fe6611642a51abf5f6).
2021-01-02core: update copyright datesSébastien Helleu
2020-11-28docs: fix simple typo, confiuration -> configurationTim Gates
There is a small typo in src/core/weechat.c. Should read `configuration` rather than `confiuration`.
2020-05-16core: move creation of info_hashtable from gui-focus.c to plugin-api-info.c ↵Sébastien Helleu
(issue #1257)
2020-05-16gui: add gui_focus_info hashtable info (#1245)Simmo Saan
2020-04-21core: restore signal "signal_sighup", and if eaten do not reload configurationSébastien Helleu
2020-04-22core: reload config on SIGHUPTom Fitzhenry
fixes https://github.com/weechat/weechat/issues/1476
2020-04-19core: add command line option "--stdout" in weechat-headless binary (closes ↵Sébastien Helleu
#1475, closes #1477)
2020-04-19core: log to stdout, if headlessTom Fitzhenry
Fixes https://github.com/weechat/weechat/issues/1475 .
2020-03-20api: add info "auto_connect" (closes #1453)Sébastien Helleu
2020-01-04core: update copyright datesSébastien Helleu
2019-06-24core: auto disable upgrade process (command line option "--upgrade") if the ↵Sébastien Helleu
file weechat.upgrade is not found
2019-04-14core: use getopt to parse command line argumentsSébastien Helleu
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-03-31core: add documentation on command line debug options (in --help and man pages)Sébastien Helleu
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-02-18core: fix compilation on Mac OS (closes #1308)Sébastien Helleu
This adds the missing include "unistd.h" for function "mkdtemp" (required on Mac OS only).
2019-01-01core: update copyright datesSébastien Helleu
2018-11-29core: use https for links to GNU GPL licenseSébastien Helleu
2018-11-17core: add command line option "-t" (or "--temp-dir") to create a temporary ↵Sébastien Helleu
WeeChat home (deleted on exit)
2018-10-27core: split wee-secure.c into 3 files (secured data functions, buffer and ↵Sébastien Helleu
config)
2018-09-06core: allow multiple options "-r" ("--run-command") in command line ↵Sébastien Helleu
arguments (closes #1248)
2018-08-17core: add option "-P" (or "--plugins") to customize the plugins to load at ↵Sébastien Helleu
startup If given, the option replaces the option weechat.plugin.autoload.
2018-05-19core: remove unneeded test on variable argvSébastien Helleu
2018-03-16core: quit WeeChat on ctrl-C (signal SIGINT) in headless modeSébastien Helleu
2018-03-11core: add binary weechat-headless to run WeeChat without interface (closes ↵Sébastien Helleu
#1120) The optional command line option "--daemon" runs WeeChat like a daemon (fork, new process group, file descriptors closed).
2018-01-07core: fix some stylesSébastien Helleu
2018-01-05core: update copyright datesSébastien Helleu
2017-08-10core: remove unneeded argument in call to string_fprintfSébastien Helleu
2017-07-22core: replace /iset by /fset in welcome messageSébastien Helleu
2017-04-07core: remove duplicate util_catch_signal for SIGQUITarza
2017-01-01core: update copyright datesSébastien Helleu
2016-11-13core: fix deadlock when quitting after a signal is received (closes #32)Sébastien Helleu
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-07-09core: rename function string_iconv_fprintf to string_fprintfSébastien Helleu
2016-01-01core: update copyright datesSébastien Helleu
2015-12-23core: free global variables at the very endSébastien Helleu