1. 09 Oct, 2021 3 commits
  2. 06 Oct, 2021 1 commit
    • Juhani Krekelä's avatar
      Make command-not-found(1) data-driven. · d605911d
      Juhani Krekelä authored
      Previously command-not-found(1) encoded all its suggestions in code.
      This changes it to use a data table to make it easier to understand and
      to modify with new suggestions.
      d605911d
  3. 13 Sep, 2021 1 commit
  4. 20 Aug, 2021 2 commits
  5. 16 Aug, 2021 2 commits
  6. 15 Aug, 2021 1 commit
  7. 28 Jul, 2021 2 commits
  8. 26 Jul, 2021 1 commit
  9. 21 Jul, 2021 1 commit
  10. 20 Jul, 2021 2 commits
  11. 15 Jul, 2021 1 commit
  12. 14 Jul, 2021 1 commit
  13. 27 Jun, 2021 2 commits
  14. 24 Jun, 2021 4 commits
  15. 23 Jun, 2021 2 commits
    • Jonas Termansen's avatar
      Implement threading primitives that truly sleep. · 5e7605fa
      Jonas Termansen authored
      The idle thread is now actually run when the system is idle because it
      truly goes idle. The idle thread is made power efficient by using the hlt
      instruction rather than a busy loop.
      
      The new futex(2) system call is used to implement fast user-space mutexes,
      condition variables, and semaphores. The same backend and design is used as
      kutexes for truly sleeping kernel mutexes and condition variables.
      
      The new exit_thread(2) flag EXIT_THREAD_FUTEX_WAKE wakes a futex.
      
      Sleeping on clocks in the kernel now uses timers for true sleep.
      
      The interrupt worker thread now truly sleeps when idle.
      
      Kernel threads are now named.
      
      This is a compatible ABI change.
      5e7605fa
    • Jonas Termansen's avatar
      29b14378
  16. 22 Jun, 2021 1 commit
  17. 17 Jun, 2021 1 commit
  18. 13 Jun, 2021 2 commits
  19. 30 May, 2021 2 commits
  20. 28 May, 2021 3 commits
  21. 10 May, 2021 1 commit
  22. 04 May, 2021 2 commits
  23. 02 May, 2021 2 commits
    • Juhani Krekelä's avatar
      Change `go to line` keybind in editor(1) from ^I to ^G · 5e666dce
      Juhani Krekelä authored and Jonas Termansen's avatar Jonas Termansen committed
      Since this is a console program, ctrl + letter gets mapped to a
      control character in the range 1 to 26. Most of these control
      characters are no longer in use and can safely be assumed to be
      result of ctrl + letter, but ^I maps to the tab character.
      
      I chose ^G since the keybind is memorable, and a user is unlikely
      to try to type the BEL character.
      5e666dce
    • Juhani Krekelä's avatar
      Do not try to copy zero-length buffers in editor_type_newline() · 86fa692c
      Juhani Krekelä authored and Jonas Termansen's avatar Jonas Termansen committed
      While under Sortix these operations ought to be safe, UBSan will
      complain regardless if you do a zero-byte memmove from NULL. This
      caused the editor forcibly quit whenever it tried to open a file
      that had an empty first line and at least one another line.
      86fa692c