Commit graph

  • bf58b9ea8e
    csi: implement force cursor position Daniel Eklöf 2019-11-05 11:10:19 +01:00
  • 15b12f45c6
    scan-build: fix a couple of minor warnings from a scan-build run Daniel Eklöf 2019-11-05 10:39:36 +01:00
  • 9abc5ca971
    server/client: harden reading of initialization data, and make async Daniel Eklöf 2019-11-05 10:08:30 +01:00
  • 5b3fe4492c
    server: workaround evil clients Daniel Eklöf 2019-11-05 09:31:47 +01:00
  • 5f77f0e999
    server: don't cache argc/argv in client context Daniel Eklöf 2019-11-05 09:31:14 +01:00
  • 1c7fb2869d
    main: destroy cached SHM buffers *after* terminals have been destroyed Daniel Eklöf 2019-11-05 09:30:24 +01:00
  • fef07138b3
    terminal: ptmx: ignore *both* EPOLLIN and EPOLLOUT on EPOLLHUP Daniel Eklöf 2019-11-05 09:23:13 +01:00
  • fd82caad42
    selection: document the asynchronous behavior of text_from_{primary,clipboard} Daniel Eklöf 2019-11-05 09:13:47 +01:00
  • b17358bd0a
    selection: make text_from_{clipboard,primary} async Daniel Eklöf 2019-11-05 09:09:51 +01:00
  • dd57418494
    selection: initialize 'ctx' before jumping into its scope Daniel Eklöf 2019-11-05 08:51:10 +01:00
  • b15032d223
    selection: text_from_{clipboard,primary}: add 'done' callback Daniel Eklöf 2019-11-05 08:49:32 +01:00
  • 9cd22dc398
    selection: async send: handle POLLHUP Daniel Eklöf 2019-11-05 08:40:39 +01:00
  • 1207ad1502
    selection: free strdup:ed clipboard data on fdm failure Daniel Eklöf 2019-11-05 08:40:24 +01:00
  • 8824e3823e
    selection: remove debug assert Daniel Eklöf 2019-11-05 08:40:01 +01:00
  • bb9dad18f4
    selection: typedef not needed here (copy-paste from fdm.h) Daniel Eklöf 2019-11-05 08:39:39 +01:00
  • dbb51ed4c9
    selection: we don't set user data on primary/clipboard data sources Daniel Eklöf 2019-11-04 14:11:18 +01:00
  • 739c5cf7f0
    input: remove unneeded(?) term_reset_view() calls Daniel Eklöf 2019-11-04 14:10:37 +01:00
  • cebeb390e4
    selection: try to write selection data synchronously first Daniel Eklöf 2019-11-04 14:00:51 +01:00
  • 3081898caf
    terminal: use async_write() when writing to ptmx Daniel Eklöf 2019-11-04 13:46:04 +01:00
  • 9ae5c311d1
    async: add async_write(), a write primitive to write to a NONBLOCK:ing FD Daniel Eklöf 2019-11-04 13:45:38 +01:00
  • 60c3ff8737
    selection: send primary/clipboard data asynchronously Daniel Eklöf 2019-11-04 13:11:15 +01:00
  • a706c1e804
    terminal: add comments describing the sync/async writing modes Daniel Eklöf 2019-11-04 12:36:43 +01:00
  • a3f79ead94
    Merge branch 'window-urgency' Daniel Eklöf 2019-11-04 12:24:03 +01:00
  • 5f6d230c10
    csi: comment out handling of CSI ? 1042/1043 h/l Daniel Eklöf 2019-11-04 12:23:02 +01:00
  • 42eef90268
    csi: recognize CSI ? 1042/1043 h/l Daniel Eklöf 2019-11-04 12:00:50 +01:00
  • e46b963139
    doc: foot.5: don't upper case 'one' in the middle of a sentence Daniel Eklöf 2019-11-03 16:28:00 +01:00
  • db9fd03283
    doc: foot.1: add description of the (mouse) wheel Daniel Eklöf 2019-11-03 16:23:18 +01:00
  • ef101f0c96
    doc: foot.1: spelling Daniel Eklöf 2019-11-03 16:23:09 +01:00
  • 988134717f
    wayland: verify xdg-output-manager interface version Daniel Eklöf 2019-11-03 16:14:35 +01:00
  • 4e93b3a2d8
    wayland: verify server implements the required interface versions Daniel Eklöf 2019-11-03 15:39:26 +01:00
  • f84a59bea7
    README: remove extra period Daniel Eklöf 2019-11-03 13:54:12 +01:00
  • d51bee6bb3
    man: foot.1: add reference to footclient(1) Daniel Eklöf 2019-11-03 13:47:28 +01:00
  • 0c4d43e285
    man: footclient.1: initial documentation Daniel Eklöf 2019-11-03 13:47:19 +01:00
  • f63c5a66ac
    man: foot.1: add a DESCRIPTION Daniel Eklöf 2019-11-03 13:47:03 +01:00
  • 0712a6dbff
    man: foot.1: document -s,--server Daniel Eklöf 2019-11-03 13:46:47 +01:00
  • 567989e9f3
    main: usage for --server now hints about 'footclient' Daniel Eklöf 2019-11-03 13:46:09 +01:00
  • 61dfa1365e
    slave: restore signals before calling exec() Daniel Eklöf 2019-11-03 13:24:15 +01:00
  • d26c67e589
    main: ignore SIGHUP in master process Daniel Eklöf 2019-11-03 13:23:49 +01:00
  • a8cb6c531e
    Remove unneeded include Daniel Eklöf 2019-11-03 13:07:19 +01:00
  • d3e4ba6c94
    slave: remove unneeded define Daniel Eklöf 2019-11-03 13:02:16 +01:00
  • 78cd93f030
    terminal: malloc_trim() is a GNU extension Daniel Eklöf 2019-11-03 12:57:47 +01:00
  • 2195e2cf71
    terminal: trim memory after free:ing a terminal Daniel Eklöf 2019-11-03 12:48:18 +01:00
  • ffadb5f020
    README: updates Daniel Eklöf 2019-11-03 12:24:14 +01:00
  • e76357eabb
    terminal: ptmx fdm handler: tag unlikely branches Daniel Eklöf 2019-11-03 12:14:09 +01:00
  • 79945419eb
    terminal: comments and cleanup Daniel Eklöf 2019-11-03 12:13:51 +01:00
  • a326427caf
    server: set CLOEXEC | NONBLOCK directly in socket() call Daniel Eklöf 2019-11-03 01:48:40 +01:00
  • e1b6aa87fb
    Merge branch 'async-ptmx' Daniel Eklöf 2019-11-03 01:26:42 +01:00
  • cba1551b03
    terminal: cleanup asynchronous ptmx output handling Daniel Eklöf 2019-11-03 01:25:41 +01:00
  • b4c810cf50
    Merge branch 'master' into async-ptmx Daniel Eklöf 2019-11-03 01:14:48 +01:00
  • 8cf981ca12
    slave: turn on FD_CLOEXEC after slave has been spawned Daniel Eklöf 2019-11-03 01:14:02 +01:00
  • 8d9ad96b52
    server: FD_CLOEXEC is a file descriptor flag, not a file status flag Daniel Eklöf 2019-11-03 01:11:02 +01:00
  • f00c5fdac6
    term: asynchronous writes to slave Daniel Eklöf 2019-11-03 01:03:52 +01:00
  • 777d851282
    fdm: invert check to get rid of one level of indentation Daniel Eklöf 2019-11-03 00:42:34 +01:00
  • 9f1525aef7
    Rename: vt_to_slave() -> term_to_slave() Daniel Eklöf 2019-11-03 00:27:39 +01:00
  • 79c3121aa3
    misc: fdm already logs failures Daniel Eklöf 2019-11-03 00:25:17 +01:00
  • 89997b97a0
    fdm: add fdm_event_add() and fdm_event_del() Daniel Eklöf 2019-11-03 00:22:22 +01:00
  • e09bda322a
    fdm: bug: 'ret' was renamed to 'r', and replaced with another 'ret' Daniel Eklöf 2019-11-03 00:51:47 +01:00
  • 8ffa021de8
    fdm: rename struct fd -> struct handler Daniel Eklöf 2019-11-02 23:37:19 +01:00
  • 9b67a6627a
    fdm: fdm_destroy(): assert deferred delete list is empty Daniel Eklöf 2019-11-02 23:36:02 +01:00
  • ba7f79af18
    fdm: purge deferred delete list also when handler fails Daniel Eklöf 2019-11-02 23:35:42 +01:00
  • 1543c71f78
    server: server_destroy(): unlink UNIX socket Daniel Eklöf 2019-11-02 23:32:13 +01:00
  • ad26914631
    server: use a non-blocking socket when trying to connect Daniel Eklöf 2019-11-02 23:25:14 +01:00
  • 32129083bd
    main: pre-allocate fonts Daniel Eklöf 2019-11-02 13:50:40 +01:00
  • c99c0285dc
    fdm: fdm_poll(): disallow nested calls Daniel Eklöf 2019-11-02 13:46:54 +01:00
  • 338747dc5a
    server: don't get stuck in read() if TERM length is 0 Daniel Eklöf 2019-11-02 12:17:30 +01:00
  • a1ba4cb010
    server: don't get stuck in read() if length of argv argument is 0 Daniel Eklöf 2019-11-02 12:16:50 +01:00
  • 965d8a3a8e
    terminal: don't get stuck waiting for misbehaving slaves to terminate Daniel Eklöf 2019-11-02 12:02:11 +01:00
  • 563c910127
    terminal: 'child_ret' variables isn't needed Daniel Eklöf 2019-11-02 11:30:32 +01:00
  • f28fb6c039
    timerfd: read() returns -1 with errno == EAGAIN, not 0 Daniel Eklöf 2019-11-02 01:44:01 +01:00
  • 6ed97a47be
    shm: purge buffers *before* we (maybe) return one from the cache Daniel Eklöf 2019-11-02 01:31:48 +01:00
  • bf9aff056a
    Revert "render: last_buf may point to a free:d buffer" Daniel Eklöf 2019-11-02 01:28:29 +01:00
  • c6c75298f3
    shm: automatic buffer purging is now delayed one cycle Daniel Eklöf 2019-11-02 01:27:05 +01:00
  • b27cd9cedf
    timerfd: use non-blocking mode, fixes dead lock Daniel Eklöf 2019-11-02 01:14:40 +01:00
  • 035ace33b6
    server: purge shm buffers when terminal is destroyed Daniel Eklöf 2019-11-02 00:49:25 +01:00
  • 8e5d386afc
    shm: add shm_purge() Daniel Eklöf 2019-11-02 00:49:00 +01:00
  • 4d3251a93b
    render: last_buf may point to a free:d buffer Daniel Eklöf 2019-11-02 00:48:07 +01:00
  • 5812242405
    shm: purge unused buffers Daniel Eklöf 2019-11-02 00:35:02 +01:00
  • 00b46455a0
    shm: associate a 'cookie' with each buffer Daniel Eklöf 2019-11-02 00:33:37 +01:00
  • 8df82938b0
    shm: get_buffer(): remove 'copies' argument; it's not used Daniel Eklöf 2019-11-02 00:23:51 +01:00
  • 632b6ee0ea
    shm: add debug logging of how large the allocated memory buffer is Daniel Eklöf 2019-11-02 00:23:23 +01:00
  • f884f77d99
    shm: fix name of memfd Daniel Eklöf 2019-11-02 00:05:07 +01:00
  • 17024b4431
    client: bug: verify argv was sent correctly Daniel Eklöf 2019-11-02 00:01:16 +01:00
  • 570b3ac25a
    client: add debug logging of argc/argv Daniel Eklöf 2019-11-02 00:01:08 +01:00
  • 19c099236b
    server: add debug logging of client argc/argv Daniel Eklöf 2019-11-02 00:00:31 +01:00
  • 25311fc4eb
    Merge branch 'multi-window' Daniel Eklöf 2019-11-01 23:49:54 +01:00
  • 2544e93c0e
    client: register signal handler for SIGTERM too Daniel Eklöf 2019-11-01 21:13:37 +01:00
  • 438d6eaff0
    client/server: add -t,--term to footclient Daniel Eklöf 2019-11-01 21:10:47 +01:00
  • 0bd2ddd8ad
    term_init(): initialize slave TERM from term_init() argument Daniel Eklöf 2019-11-01 21:03:08 +01:00
  • 69d62d3cd2
    slave: set TERM environment variable in slave process Daniel Eklöf 2019-11-01 21:01:15 +01:00
  • d2b395bd43
    PKGBUILD: need to execute footclient, to generate profiling data Daniel Eklöf 2019-11-01 20:51:09 +01:00
  • 77ea7fc61c
    client: add long options for --verbose and --help Daniel Eklöf 2019-11-01 20:50:00 +01:00
  • 8b4ef78f7a
    wayland: wayl_win_destroy(): looks like we need another roundtrip Daniel Eklöf 2019-11-01 20:45:57 +01:00
  • 43462b24f3
    font: cache loaded fonts globally Daniel Eklöf 2019-11-01 20:40:42 +01:00
  • 3032ac33da
    completions: zsh: add --server and --term to completions Daniel Eklöf 2019-11-01 20:40:10 +01:00
  • 6637c8aeda
    client: a standalone binary that connects to a foot --server Daniel Eklöf 2019-11-01 20:39:34 +01:00
  • a1efd65746
    server: implement a --server mode Daniel Eklöf 2019-11-01 20:37:22 +01:00
  • 32c6ed7069
    main: register signal handlers for SIGINT and SIGTERM Daniel Eklöf 2019-11-01 20:35:42 +01:00
  • 1e41a25f00
    terminal: call user-defined callback when destroying terminal Daniel Eklöf 2019-11-01 20:34:32 +01:00
  • 70b236d66d
    term_shutdown(): cleanup Daniel Eklöf 2019-11-01 20:30:58 +01:00
  • c824aa2ef5
    terminal: fdm_del() closes the FD Daniel Eklöf 2019-11-01 20:29:16 +01:00