| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | features: include compile-time enable/disable state of features when printing version | Daniel Eklöf | 2020-12-07 | -1/+11 |
| | | ||||
| * | client: add new "--window-size-*" options to docs and CHANGELOG.md | Craig Barnes | 2020-11-22 | -0/+2 |
| | | ||||
| * | client: add "--window-size-pixels" and "--window-size-chars" options | Craig Barnes | 2020-11-22 | -13/+37 |
| | | ||||
| * | client: fix handling of "-m" command-line flag | Craig Barnes | 2020-11-22 | -1/+1 |
| | | ||||
| * | client: add missing options to getopt_long(3) optstring argument | Craig Barnes | 2020-11-21 | -1/+1 |
| | | ||||
| * | client: we added argv lengths twice | Daniel Eklöf | 2020-11-21 | -1/+0 |
| | | ||||
| * | client: avoid doing a signed vs. unsigned comparison | Daniel Eklöf | 2020-11-21 | -1/+1 |
| | | ||||
| * | client/server: simplify setup packet handling | Daniel Eklöf | 2020-11-21 | -75/+58 |
| | | | | | | | Instead of writing (and logging errors for) every parameter, one at a time, send all fixed size data in a single struct, followed by all the variable length data. | |||
| * | client: let getopt_long(3) print error messages | Daniel Eklöf | 2020-11-10 | -6/+1 |
| | | | | | Closes #191 | |||
| * | Convert most dynamic allocations to use functions from xmalloc.h | Craig Barnes | 2020-08-08 | -1/+2 |
| | | ||||
| * | server/client: use $WAYLAND_DISPLAY instead of $XDG_SESSION_ID in default socket path | Daniel Eklöf | 2020-08-02 | -5/+8 |
| | | | | | | | | | | Foot is a Wayland client and cannot be run outside of a Wayland session. As such, it makes more sense to use $WAYLAND_SESSION instead of $XDG_SESSION_ID in the default socket path since this makes it clearer which Wayland session we belong to. Closes #55. | |||
| * | doc: foot.1: fix default path in -s,--server | Daniel Eklöf | 2020-08-02 | -1/+1 |
| | | | | | | | | | | | | | | | | | | | | The documentation incorrectly stated that the default path is $XDG_RUNTIME_DIR/foot.sock. The correct default path is * $XDG_RUNTIME_DIR/foot-$XDG_SESSION_ID.sock * $XDG_RUNTIME_DIR/foot-no-session.sock * /tmp/foot.sock Depending on whether XDG_RUNTIME_DIR and XDG_SESSION_ID has been set or not. This also removes the '<>' from the default when XDG_SESSION_ID is not set. Closes #53. | |||
| * | client/server: implement '--hold' in footclient | Daniel Eklöf | 2020-05-26 | -0/+13 |
| | | ||||
| * | main/client: be POSIXLY_CORRECT when parsing command line | Daniel Eklöf | 2020-05-08 | -3/+3 |
| | | | | | | | | | | | | | | | | | | | | | This means command line parsing stops when it encounters the first nonoption argument. The result is that one no longer need to use '--' to ensure arguments are passed to the shell/command, instead of parsed by foot. That is, instead of foot -- sh -c true one can now do foot sh -c true Arguments to foot *must* go before the command: foot --fullscreen sh -c true | |||
| * | conf: add 'title' conf option and --title command line option | Daniel Eklöf | 2020-04-01 | -0/+16 |
| | | ||||
| * | conf: add app-id config option and --app-id command line option | Daniel Eklöf | 2020-04-01 | -10/+25 |
| | | ||||
| * | client: add --maximized and --fullscreen | Daniel Eklöf | 2020-03-27 | -0/+28 |
| | | | | | | | | | | We now create a copy of the config for each client, and updates it with the values passed from the client. Since we're not actually cloning it (and e.g. strdup() all strings etc) we can't call conf_destroy() to free it, but need to free just the strings we've replaced. | |||
| * | client: log path we actually tried to connect to (and failed) | Daniel Eklöf | 2020-03-10 | -1/+1 |
| | | ||||
| * | client: update --server-socket usage to mention XDG_SESSION_ID | Daniel Eklöf | 2020-03-10 | -1/+1 |
| | | ||||
| * | server/client: add XDG_SESSION_ID to the default socket path | Daniel Eklöf | 2020-03-09 | -1/+4 |
| | | | | | This allows multiple foot servers to run in multiple sessions. | |||
| * | client: make sure 'cwd' is in scope of all goto's | Daniel Eklöf | 2020-02-20 | -1/+3 |
| | | ||||
| * | client: allocate current working directory buffer dynamically | Daniel Eklöf | 2020-02-20 | -2/+14 |
| | | ||||
| * | slave: prefix argv[0] with a '-' when spawning a login-shell | Daniel Eklöf | 2020-02-20 | -0/+6 |
| | | ||||
| * | client: add --login-shell command line option | Daniel Eklöf | 2020-02-20 | -0/+7 |
| | | ||||
| * | main: add --print-pid=FILE|FD | Daniel Eklöf | 2020-02-05 | -5/+22 |
| | | | | | | When specified, our PID is written to the specified file (or FD), after we've successfully started up. | |||
| * | client/server: client sends its CWD to server | Daniel Eklöf | 2019-12-21 | -0/+12 |
| | | ||||
| * | log: caller can control syslog level | Daniel Eklöf | 2019-12-17 | -1/+1 |
| | | ||||
| * | client: strncpy() size limit must be less than destination size | Daniel Eklöf | 2019-12-14 | -1/+1 |
| | | ||||
| * | client: add missing break after handling -t,--term | Daniel Eklöf | 2019-12-14 | -0/+1 |
| | | ||||
| * | client: add 's:' to the list of recognized short options | Daniel Eklöf | 2019-12-14 | -1/+1 |
| | | ||||
| * | client: initialize/deinitialize the logging system | Daniel Eklöf | 2019-12-14 | -0/+2 |
| | | ||||
| * | client: add -s,--server-socket command line option | Daniel Eklöf | 2019-12-14 | -16/+34 |
| | | | | | | This allows the user to override the default path (XDG_RUNTIME_DIR/foot.sock) we try to connect to. | |||
| * | server/client: harden reading of initialization data, and make async | Daniel Eklöf | 2019-11-05 | -2/+21 |
| | | | | | | | | | | | | | | | | | | | | | * Client terminal initialization data is now received asynchronously. To facilitate this, a couple of minor changes to the protocol was made: - The client now starts with sending a 4-byte unsigned integer with the *total* size of the initialization data (*not* including the size field itself. - Strings (TERM variable + argv) are now sent NULL-terminated * The server allocates a single buffer, and fills it asynchronously. When full (as indicated by the initial 'total size' integer), we parse it (taking care not to read outside boundaries etc, and verifies the lengths (of the TERM variable and argv array) indicated by the client matches the actual lengths of the strings received. * The server now ignores 'unexpected' data received from the client, after the terminal has been instantiated. | |||
| * | client: bug: verify argv was sent correctly | Daniel Eklöf | 2019-11-01 | -1/+1 |
| | | | | | We checked we had written 2 bytes (sizeof(len)), not <len> bytes. | |||
| * | client: add debug logging of argc/argv | Daniel Eklöf | 2019-11-01 | -0/+4 |
| | | ||||
| * | client: register signal handler for SIGTERM too | Daniel Eklöf | 2019-11-01 | -1/+2 |
| | | ||||
| * | client/server: add -t,--term to footclient | Daniel Eklöf | 2019-11-01 | -2/+18 |
| | | ||||
| * | client: add long options for --verbose and --help | Daniel Eklöf | 2019-11-01 | -1/+7 |
| | | ||||
| * | client: a standalone binary that connects to a foot --server | Daniel Eklöf | 2019-11-01 | -0/+130 |
