aboutsummaryrefslogtreecommitdiff
path: root/main.c (unfollow)
Commit message (Expand)AuthorLines
2021-03-26features: --version now logs +/-pgoDaniel Eklöf-2/+4
2021-02-26config: reuse HAVE_TERMINFO via DEFAULT_TERMChloe Kudryavtsev-2/+2
2021-02-21main: initialize pseudo-random generatorDaniel Eklöf-0/+2
2021-02-13main: -D,--working-directory: check path exists and is a directoryDaniel Eklöf-1/+7
2021-02-12main/client: add -D,--working-directory=DIRDaniel Eklöf-8/+18
2021-02-12main: monitor SIGINT+SIGTERM using the FDMDaniel Eklöf-9/+10
2021-02-12main/client: add missing short options to usage (--help output)Daniel Eklöf-6/+6
2021-02-11main: monitor SIGINT+SIGTERM using the FDMDaniel Eklöf-9/+10
2021-02-11main: client: factor out some common code for "--log-level" optionCraig Barnes-29/+8
2021-02-09main: add -d,--log-level=[debug,info,warning,error]Daniel Eklöf-20/+59
2021-02-07main: include uname.sysname when logging host architectureDaniel Eklöf-1/+2
2021-01-23main: correct header for mode macrosJan Beich-1/+1
2021-01-21main: correct header for mode macrosJan Beich-1/+1
2021-01-21Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes-2/+3
2021-01-16debug: rename assert() to xassert(), to avoid clashing with <assert.h>Craig Barnes-2/+2
2021-01-14Add xsnprintf() and remove some unnecessary strlen(3) callsCraig Barnes-2/+3
2021-01-13main: remove deprecated "--geometry" optionCraig Barnes-15/+3
2020-12-15config_font_parse(): return fail/successDaniel Eklöf-2/+7
2020-12-07features: include compile-time enable/disable state of features when printing versionDaniel Eklöf-2/+12
2020-11-30config: replace union in config struct with simple width/height membersCraig Barnes-12/+2
2020-11-26main: tag fdm loop with likely() and unlikely()Daniel Eklöf-2/+2
2020-11-23foot/footclient: add short options to all command line optionsDaniel Eklöf-1/+1
2020-11-06main: remove trailing ‘, ’ from arch log lineDaniel Eklöf-1/+1
2020-10-25main: remove trailing ‘, ’ from arch log lineDaniel Eklöf-1/+1
2020-10-20config: add font-bold, font-italic and font-bold-italic optionsDaniel Eklöf-4/+7
2020-10-10selection: use appropriate check for PRIMARY pasteSergey Nazaryev-112/+75
2020-10-09main: configure locale *before* loading the configDaniel Eklöf-7/+7
2020-09-13config: add tweak.scaling-filterDaniel Eklöf-0/+2
2020-09-08Add -W,--window-size-chars, and foot.ini:initial-window-size-charsDaniel Eklöf-27/+68
2020-08-27main: usage: footrc -> foot.iniDaniel Eklöf-1/+1
2020-08-11main: include our own bitness when logging the architectureDaniel Eklöf-1/+1
2020-08-08Convert most dynamic allocations to use functions from xmalloc.hCraig Barnes-5/+6
2020-08-02server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket pathDaniel Eklöf-1/+1
2020-08-02main: update --help with correct default path for -s,--serverDaniel Eklöf-2/+2
2020-07-31config: configuration errors are no longer fatalDaniel Eklöf-1/+1
2020-07-29main: add --check-config command line optionDaniel Eklöf-1/+13
2020-07-13main: free 'cwd' at exitDaniel Eklöf-1/+2
2020-07-07term: don't use deprecated fcft_size_adjust()Daniel Eklöf-3/+5
2020-06-09main: log architecture at startupDaniel Eklöf-0/+9
2020-05-21term: don't double fork new terminal windowsDaniel Eklöf-2/+2
2020-05-21reaper: new module, uses a signalfd to wait() on child processesDaniel Eklöf-0/+6
2020-05-08main/client: be POSIXLY_CORRECT when parsing command lineDaniel Eklöf-3/+3
2020-04-29main: only set LC_CTYPEDaniel Eklöf-1/+1
2020-04-21main: log localeDaniel Eklöf-0/+1
2020-04-01conf: add 'title' conf option and --title command line optionDaniel Eklöf-0/+11
2020-04-01conf: add app-id config option and --app-id command line optionDaniel Eklöf-1/+12
2020-03-27client: add --maximized and --fullscreenDaniel Eklöf-2/+1
2020-03-26foot: add --maximized and --fullscreen command line optionsDaniel Eklöf-0/+20
2020-03-25shm: make max pool size user configurable (via a 'tweak' setting)Daniel Eklöf-0/+2
2020-03-15main: log version at startupDaniel Eklöf-0/+2
2020-03-09main: free config if we fail to load the configDaniel Eklöf-1/+3
2020-02-20main: check return value of getcwd()Daniel Eklöf-1/+5
2020-02-20slave: prefix argv[0] with a '-' when spawning a login-shellDaniel Eklöf-1/+2
2020-02-20config: add 'login-shell' optionDaniel Eklöf-0/+2
2020-02-20main: add --login-shell command line optionDaniel Eklöf-1/+8
2020-02-15main: bug: -t requires an argumentDaniel Eklöf-1/+1
2020-02-05main: add --print-pid=FILE|FDDaniel Eklöf-2/+26
2020-02-05main: add --print-pid=FILE|FDDaniel Eklöf-10/+65
2020-02-03Implement --holdDaniel Eklöf-0/+8
2020-01-04render: trigger terminal refreshes in an FDM hookDaniel Eklöf-0/+6
2019-12-31wayland: only bind to 'presentation' interface if -p,--presentation-timingsDaniel Eklöf-1/+1
2019-12-31wayland: optionally use the presentation time protocol to measure input lagDaniel Eklöf-9/+16
2019-12-29main: let getopt_long() print error messageDaniel Eklöf-6/+1
2019-12-29main: third member in "struct option" is a pointerDaniel Eklöf-8/+8
2019-12-29main: use a single printf() when printing usageDaniel Eklöf-11/+13
2019-12-21term: term_init: add 'cwd' argumentDaniel Eklöf-2/+16
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-2/+3
2019-12-19main: verify locale is UTF-8Daniel Eklöf-2/+23
2019-12-17config: enable user to specify path to configuration fileDaniel Eklöf-21/+44
2019-12-17main: remove unused macrosDaniel Eklöf-3/+0
2019-12-17log: caller can control syslog levelDaniel Eklöf-2/+2
2019-12-14main: allow server socket path to be set on the command lineDaniel Eklöf-3/+9
2019-12-04main: stop initializing a default set of fontsDaniel Eklöf-25/+0
2019-12-01fcft: font_from_name() no longer accepts a tllistDaniel Eklöf-13/+10
2019-12-01fcft: include <fcft/fcft.h>, and use fcft/stride.h instead of local copyDaniel Eklöf-1/+1
2019-12-01fcft: use fcft instead of local copy of font.c/font.hDaniel Eklöf-1/+2
2019-11-26font: pass dpi=96 to fontconfigDaniel Eklöf-4/+4
2019-11-20log: set syslog facility to LOG_DAEMON when run in server modeDaniel Eklöf-0/+3
2019-11-20main: mention why we initialize a font setDaniel Eklöf-0/+1
2019-11-19fonts: use 'weight' and 'slant', not 'style' when loading fontsDaniel Eklöf-3/+3
2019-11-05scan-build: fix a couple of minor warnings from a scan-build runDaniel Eklöf-0/+1
2019-11-05main: destroy cached SHM buffers *after* terminals have been destroyedDaniel Eklöf-2/+2
2019-11-03main: usage for --server now hints about 'footclient'Daniel Eklöf-1/+1
2019-11-03slave: restore signals before calling exec()Daniel Eklöf-0/+1
2019-11-03main: ignore SIGHUP in master processDaniel Eklöf-0/+5
2019-11-02main: pre-allocate fontsDaniel Eklöf-1/+28
2019-11-01term_init(): initialize slave TERM from term_init() argumentDaniel Eklöf-1/+1
2019-11-01slave: set TERM environment variable in slave processDaniel Eklöf-1/+0
2019-11-01server: implement a --server modeDaniel Eklöf-2/+14
2019-11-01main: register signal handlers for SIGINT and SIGTERMDaniel Eklöf-0/+15
2019-11-01terminal: call user-defined callback when destroying terminalDaniel Eklöf-10/+23
2019-11-01render: call wl_display_flush() after renderingDaniel Eklöf-1/+0
2019-10-30main: get exit value from wayland structDaniel Eklöf-2/+3
2019-10-30wayland: track multiple terminalsDaniel Eklöf-5/+7
2019-10-30main: free 'config' on command line parse errorDaniel Eklöf-0/+4
2019-10-28term: integrate directly with FDMDaniel Eklöf-217/+1
2019-10-28terminal: implement term_init() and term_destroy()Daniel Eklöf-328/+17
2019-10-27main: remove a couple of includesDaniel Eklöf-3/+1
2019-10-27main: kbd repeat FD is handled by the wayland backendDaniel Eklöf-1/+1