| Commit message (Collapse) | Author | Age | Lines | |
|---|---|---|---|---|
| * | 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 |
