1. 27 Feb, 2002 1 commit
  2. 24 Jan, 2002 1 commit
  3. 30 Oct, 2001 1 commit
  4. 02 Oct, 2001 1 commit
  5. 30 Sep, 2001 1 commit
  6. 28 Sep, 2001 1 commit
    • Niels Möller's avatar
      * src/io.c (do_write_close): Deleted function. · 29fa4c03
      Niels Möller authored
      (close_fd): Set the flag write_buffer->closed directly, instead of
      calling FD_WRITE_CLOSE.
      (close_fd_nicely): Don't use FD_WRITE_CLOSE, instead, set the
      write_buffer->closed flag, and close the fd if the write_buffer is
      empty.
      
      Rev: src/io.c:1.153
      29fa4c03
  7. 27 Sep, 2001 2 commits
    • Niels Möller's avatar
      Deleted some dead code. · f275a817
      Niels Möller authored
      Rev: src/client.c:1.133
      Rev: src/gc.c:1.26
      Rev: src/gc.h:1.11
      Rev: src/io.c:1.152
      Rev: src/io.h:1.82
      Rev: src/io_commands.c:1.49
      Rev: src/io_commands.h:1.23
      Rev: src/lsh.c:1.151
      Rev: src/read_file.c:1.3
      Rev: src/reaper.c:1.22
      Rev: src/unix_interact.c:1.13
      f275a817
    • Niels Möller's avatar
      * src/io.c: Deleted old backend code. · 458b2455
      Niels Möller authored
      (io_run): Check for OOP_ERROR. #if:ed out for now, as it is not
      defined in liboop-0.7.
      
      Rev: src/io.c:1.151
      458b2455
  8. 25 Sep, 2001 2 commits
    • Niels Möller's avatar
      * src/io.c (lsh_oop_time_callback): New function. · 13ea8a83
      Niels Möller authored
      (lsh_oop_register_callout): New function.
      (lsh_oop_cancel_callout): New function.
      (do_kill_callout): New function.
      (io_callout): Deleted delay argument, as delays are not currently
      implemented.
      
      * src/io.c (io_final): Call gc_final. That makes sure that all
      callbacks are cancelled. Updated callers to not use gc_final, only
      io_final.
      
      Rev: src/io.c:1.150
      Rev: src/io.h:1.81
      13ea8a83
    • Niels Möller's avatar
      (io_final): Call gc_final. That makes sure that all · b2df8a7c
      Niels Möller authored
      callbacks are cancelled.
      
      Rev: src/io.c:1.149
      b2df8a7c
  9. 24 Sep, 2001 2 commits
    • Niels Möller's avatar
      * src/io.c: Deleted class io_backend. Register signal handlers and · 1307f1fc
      Niels Möller authored
      files with gc_global() instead. Deleted all references to
      io_backend in the rest of the source files. Doesn't quite work yet.
      
      Rev: src/client.c:1.130
      Rev: src/client.h:1.45
      Rev: src/client_x11.c:1.12
      Rev: src/gc.h:1.9
      Rev: src/interact.h:1.9
      Rev: src/io.c:1.148
      Rev: src/io.h:1.80
      Rev: src/io_commands.c:1.45
      Rev: src/io_commands.h:1.20
      Rev: src/lsh-decode-key.c:1.10
      Rev: src/lsh-export-key.c:1.10
      Rev: src/lsh-writekey.c:1.16
      Rev: src/lsh.c:1.147
      Rev: src/lsh.h:1.22
      Rev: src/lsh_proxy.c:1.24
      Rev: src/lshd.c:1.124
      Rev: src/lshg.c:1.14
      Rev: src/reaper.c:1.21
      Rev: src/reaper.h:1.10
      Rev: src/resource.h:1.12
      Rev: src/server_session.c:1.68
      Rev: src/server_session.h:1.16
      Rev: src/server_userauth.h:1.19
      Rev: src/sexp-conv.c:1.9
      Rev: src/srp-gen.c:1.11
      Rev: src/tcpforward_commands.c:1.36
      Rev: src/tcpforward_commands.h:1.6
      Rev: src/unix_interact.c:1.12
      Rev: src/unix_user.c:1.41
      1307f1fc
    • Niels Möller's avatar
      (lsh_oop_signal_callback): Better trace message. · 66819b5b
      Niels Möller authored
      (lsh_oop_signal_callback): Return OOP_CONTINUE.
      (lsh_oop_fd_read_callback): Return OOP_CONTINUE.
      (lsh_oop_register_read_fd): Check want_read, so we don't try to
      register the callback twice.
      (lsh_oop_fd_write_callback): Fixed assertion.
      (lsh_oop_fd_write_callback): Return OOP_CONTINUE.
      (lsh_oop_register_write_fd): Check want_write, so we don't try to
      register the callback twice.
      (io_run): Print a trace message if/when oop_sys_run returns.
      (do_connect_callback): Improved trace messages.
      (io_connect): Initialize fd->write before calling
      lsh_oop_register_write_fd.
      (io_listen): Initialize fd->read before calling
      lsh_oop_register_read_fd.
      (close_fd): Call lsh_oop_cancel_read_fd and
      lsh_oop_cancel_write_fd before clearing the alive flag.
      
      Rev: src/io.c:1.147
      66819b5b
  10. 23 Sep, 2001 1 commit
  11. 21 Sep, 2001 1 commit
    • Niels Möller's avatar
      (make_io_backend): Call new function io_init(). · bc7389dc
      Niels Möller authored
      (lsh_oop_register_read_fd): Updated the want_read flag. Changed
      most functions to call this function instead of updating the flag
      directly.
      (lsh_oop_cancel_read_fd): Likewise.
      (lsh_oop_register_write_fd): Analogous changes for the want_write flag.
      (lsh_oop_cancel_write_fd): Likewise.
      (do_exc_finish_read_handler): Use lsh_oop_register_read_fd and
      lsh_oop_cancel_read_fd.
      
      Rev: src/io.c:1.145
      bc7389dc
  12. 18 Sep, 2001 1 commit
  13. 17 Sep, 2001 2 commits
  14. 13 Sep, 2001 1 commit
  15. 01 Sep, 2001 1 commit
  16. 28 Aug, 2001 1 commit
  17. 26 Jun, 2001 1 commit
  18. 09 Jun, 2001 1 commit
    • Niels Möller's avatar
      * src/io.c (do_consuming_read): In the EOF case, call · 0ed2df12
      Niels Möller authored
      close_fd_read after A_WRITE.
      
      * src/io.c (do_kill_io_backend): Let close_fd do it's work.
      
      * src/io.c (close_fd): Really close the fd, and invoke any close
      callback.
      (io_iter): Simplified handling of closed files. Simply unlink
      them, close_fd has to do the rest of the work.
      
      Rev: src/io.c:1.137
      0ed2df12
  19. 26 Apr, 2001 1 commit
  20. 12 Apr, 2001 1 commit
  21. 11 Apr, 2001 1 commit
  22. 08 Apr, 2001 3 commits
  23. 05 Apr, 2001 1 commit
  24. 04 Apr, 2001 1 commit
  25. 12 Mar, 2001 2 commits
  26. 25 Feb, 2001 1 commit
    • Niels Möller's avatar
      * Refer to a function foo as "foo", not "foo()", in messages and · 52f1626b
      Niels Möller authored
      comments. (GNU coding standard).
      
      Rev: src/bignum.c:1.19
      Rev: src/channel.c:1.93
      Rev: src/channel_commands.c:1.23
      Rev: src/client.c:1.106
      Rev: src/client_keyexchange.c:1.57
      Rev: src/client_userauth.c:1.46
      Rev: src/connection.c:1.62
      Rev: src/daemon.c:1.7
      Rev: src/dh_exchange.c:1.12
      Rev: src/gateway_channel.c:1.8
      Rev: src/gateway_commands.c:1.8
      Rev: src/gc.c:1.15
      Rev: src/io.c:1.126
      Rev: src/io_commands.c:1.36
      Rev: src/jpoll.c:1.7
      Rev: src/lsh_proxy.c:1.21
      Rev: src/proxy_channel.c:1.5
      Rev: src/proxy_session.c:1.9
      Rev: src/proxy_tcpforward.c:1.6
      Rev: src/proxy_userauth.c:1.7
      Rev: src/reaper.c:1.19
      Rev: src/server_keyexchange.c:1.47
      Rev: src/server_pty.c:1.19
      Rev: src/server_session.c:1.58
      Rev: src/server_userauth.c:1.31
      Rev: src/sexp.c:1.35
      Rev: src/sexp_streamed_parser.c:1.29
      Rev: src/spki_commands.c:1.18
      Rev: src/tcpforward.c:1.60
      Rev: src/tcpforward_commands.c:1.29
      Rev: src/translate_signal.c:1.3
      Rev: src/unix_interact.c:1.4
      Rev: src/unix_random.c:1.8
      Rev: src/unix_user.c:1.32
      Rev: src/werror.c:1.50
      Rev: src/zlib.c:1.30
      52f1626b
  27. 22 Feb, 2001 1 commit
    • Niels Möller's avatar
      (close_fd_read): New function. · ced67145
      Niels Möller authored
      (do_buffered_read): Call close_fd_read on EOF. This stops reading
      from the file, and also marks it for closing unless it has a write
      callback.
      (do_consuming_read): Likewise.
      
      Rev: ChangeLog:1.308
      Rev: src/io.c:1.125
      Rev: src/io.h:1.73
      ced67145
  28. 21 Feb, 2001 1 commit
  29. 20 Feb, 2001 1 commit
    • Niels Möller's avatar
      Added · a22eadbf
      Niels Möller authored
      volatile modifier to all uses of sig_atomic_t.
      
      Rev: src/io.c:1.123
      Rev: src/io.h:1.72
      Rev: src/reaper.c:1.18
      Rev: src/unix_interact.c:1.3
      a22eadbf
  30. 18 Feb, 2001 1 commit
  31. 31 Jan, 2001 1 commit
  32. 30 Jan, 2001 1 commit
  33. 20 Nov, 2000 1 commit
    • Niels Möller's avatar
      Removed old #if:ed out code · 2d064ff3
      Niels Möller authored
      Rev: src/algorithms.h:1.8
      Rev: src/client.h:1.34
      Rev: src/client_keyexchange.c:1.55
      Rev: src/client_userauth.c:1.44
      Rev: src/connection.c:1.61
      Rev: src/format.h:1.32
      Rev: src/interact.c:1.5
      Rev: src/interact.h:1.5
      Rev: src/io.c:1.119
      Rev: src/io.h:1.69
      Rev: src/lsh-writekey.c:1.9
      Rev: src/lsh.c:1.126
      Rev: src/lshd.c:1.104
      Rev: src/reaper.c:1.16
      Rev: src/reaper.h:1.9
      Rev: src/server_session.c:1.53
      Rev: src/spki.c:1.27
      Rev: src/spki_commands.c:1.13
      Rev: src/srp-gen.c:1.7
      Rev: src/tty.c:1.11
      Rev: src/tty.h:1.11
      2d064ff3