aboutsummaryrefslogtreecommitdiff
path: root/server.c (unfollow)
Commit message (Expand)AuthorLines
2026-09-10server: fix use-after-free during shutdownCismonX-4/+2
2025-12-20config: add [colors-dark] and [colors-light], replacing [colors] and [colors2]Daniel Eklöf-10/+10
2025-08-01server: fix compilation error: return value ignoredDaniel Eklöf-1/+1
2025-08-01server/client: add support for sending SIGUSR to footclientDaniel Eklöf-4/+55
2025-07-30server: sigusr1/2: update conf object with the "new" themeDaniel Eklöf-2/+22
2025-02-16server: fix --server=<fd> on OSes returning SO_ACCEPTCONN > 1Guillaume Outters-1/+6
2025-02-05server: don't instantiate a client without a monitorsewn-0/+6
2024-08-02Remove a number of unused includesDaniel Eklöf-1/+0
2024-03-14Add support for opening an existing PTYAlyssa Ross-1/+1
2024-01-25Replace unchecked allocations with calls to xmalloc.h functionsCraig Barnes-1/+1
2024-01-11slave: don't skip setting environment variables when using a custom environmentDaniel Eklöf-1/+2
2022-04-12config: config_free(): pass conf struct by pointer, not by-valueDaniel Eklöf-1/+1
2022-04-12client: add -E,--client-environmentDaniel Eklöf-2/+19
2022-02-26Make foot able to receive a socket from its parentMax Gautier-26/+91
2021-11-01foot/client: implement xdga client activationRonan Pigott-1/+12
2021-09-05server: no need to clone the config to handle -N,--no-waitDaniel Eklöf-6/+2
2021-08-31server: verify primary font is monospacedDaniel Eklöf-0/+6
2021-07-31term: consolidate shutdown related state into an anonymous structDaniel Eklöf-2/+4
2021-07-11server: the terminal now purges SHM pixmaps on its ownDaniel Eklöf-7/+0
2021-06-23server: make sure ‘overrides’ have been initialized in all error pathsDaniel Eklöf-1/+1
2021-06-23server: avoid “member access within misaligned address” ASAN warningDaniel Eklöf-7/+6
2021-06-23client: send overrides for everything that is publicly visible in the confDaniel Eklöf-63/+17
2021-06-23server: use config_clone() + config_override_apply()Daniel Eklöf-22/+50
2021-06-17server: don’t clone the config unless we’re going to modify itDaniel Eklöf-28/+50
2021-05-04main/client: change exit codeDaniel Eklöf-2/+2
2021-05-04foot/footclient: use a custom exit code when foot/footclient fail to runDaniel Eklöf-2/+2
2021-03-13fix code style issues and memory leakFelipe Trzaskowski-13/+8
2021-03-13add option to detach the client process from the terminal instanceFelipe Trzaskowski-41/+101
2021-02-12server: send exit-code -1 when we fail to instantiate a new terminalDaniel Eklöf-0/+1
2021-01-23client/server: switch to POSIX header for sockaddr_unJan Beich-1/+1
2021-01-21client/server: switch to POSIX header for sockaddr_unJan Beich-1/+1
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-4/+4
2020-11-30config: replace union in config struct with simple width/height membersCraig Barnes-12/+2
2020-11-22client: add "--window-size-pixels" and "--window-size-chars" optionsCraig Barnes-0/+16
2020-11-21server: avoid doing unaligned struct accessesDaniel Eklöf-28/+31
2020-11-21server: verify strings are NULL terminatedDaniel Eklöf-5/+14
2020-11-21client/server: simplify setup packet handlingDaniel Eklöf-92/+27
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-341/+159
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-6/+12
2020-05-26client/server: implement '--hold' in footclientDaniel Eklöf-0/+4
2020-05-21term: don't double fork new terminal windowsDaniel Eklöf-2/+5
2020-04-18server: don't do misaligned loadsDaniel Eklöf-11/+23
2020-04-12Fix clang warningsDaniel Eklöf-5/+5
2020-04-01conf: add 'title' conf option and --title command line optionDaniel Eklöf-0/+16
2020-04-01conf: add app-id config option and --app-id command line optionDaniel Eklöf-0/+16
2020-03-27client: add --maximized and --fullscreenDaniel Eklöf-2/+23
2020-03-18server: purge *all* buffers when a terminal shuts downDaniel Eklöf-2/+7
2020-02-20slave: prefix argv[0] with a '-' when spawning a login-shellDaniel Eklöf-1/+4
2020-01-10Revert "server: use edge-triggered FDM handler for the client connections"Daniel Eklöf-13/+13
2020-01-10server: use edge-triggered FDM handler for the client connectionsDaniel Eklöf-13/+13
2020-01-10server: be more resilient against bad behaving clientsDaniel Eklöf-3/+16
2019-12-21server: verify CWD string length matches the indicated lengthDaniel Eklöf-0/+6
2019-12-21server: move forward the indicated number of TERM bytesDaniel Eklöf-1/+1
2019-12-21server: bug: move forward 2 bytes, not whatever the client sentDaniel Eklöf-1/+1
2019-12-21term: term_init: add 'cwd' argumentDaniel Eklöf-1/+1
2019-12-21client/server: client sends its CWD to serverDaniel Eklöf-1/+8
2019-12-21term: term_spawn_new: always spawn foot/footclient from PATHDaniel Eklöf-1/+1
2019-12-21term: term_spawn_new(): new function, spawns a new foot/footclient processDaniel Eklöf-1/+1
2019-12-14server: use socket-path from configDaniel Eklöf-19/+2
2019-12-13server: log socket packetDaniel Eklöf-1/+3
2019-12-01Add missing includesDaniel Eklöf-0/+1
2019-11-17tllist: is now an external "library", so use <> includesDaniel Eklöf-1/+2
2019-11-05server: disable debug outputDaniel Eklöf-1/+1
2019-11-05server/client: harden reading of initialization data, and make asyncDaniel Eklöf-31/+90
2019-11-05server: workaround evil clientsDaniel Eklöf-0/+6
2019-11-05server: don't cache argc/argv in client contextDaniel Eklöf-17/+18
2019-11-03Remove unneeded includeDaniel Eklöf-1/+0
2019-11-03server: set CLOEXEC | NONBLOCK directly in socket() callDaniel Eklöf-17/+2
2019-11-03server: FD_CLOEXEC is a file descriptor flag, not a file status flagDaniel Eklöf-1/+1
2019-11-02misc: fdm already logs failuresDaniel Eklöf-4/+1
2019-11-02server: server_destroy(): unlink UNIX socketDaniel Eklöf-0/+2
2019-11-02server: use a non-blocking socket when trying to connectDaniel Eklöf-4/+23
2019-11-02server: don't get stuck in read() if TERM length is 0Daniel Eklöf-2/+4
2019-11-02server: don't get stuck in read() if length of argv argument is 0Daniel Eklöf-0/+3
2019-11-01server: purge shm buffers when terminal is destroyedDaniel Eklöf-0/+6
2019-11-01server: add debug logging of client argc/argvDaniel Eklöf-0/+4
2019-11-01client/server: add -t,--term to footclientDaniel Eklöf-1/+15
2019-11-01term_init(): initialize slave TERM from term_init() argumentDaniel Eklöf-2/+2
2019-11-01server: implement a --server modeDaniel Eklöf-0/+310