Skip to content

Releases: xyproto/orbiton

Orbiton 2.62.0

23 May 22:53
Compare
Choose a tag to compare
  • Use the betteralign utility to optimize structs.
  • Improve the man-page functionality so that it also works well on Fedora.
  • Always use tabs for makefiles.
  • Let ctrl-n and ctrl-p jump to matching parenthesis or bracket, but only if the cursor is on one and if the previous keypress was not ctrl-n/ctrl-p. This way, one can navigate to a parenthesis with the arrow keys and jump to the matching one with ctrl-n/ctrl-p, but scrolling down repeatedly with ctrl-n or up with ctrl-p will not be stopped.
  • Let ctrl-g show a friendly help message, but when ctrl-g is pressed a third time, let it either go to definition or toggle the status bar at the bottom. Go to definition is a new experimental feature, is only tested for Go code, and currently only works within the same file.
  • Press Esc 4 times in a row as an alternative way of opening the ctrl-o menu.
  • Let ctrl-space render Markdown files to HTML.
  • Add a menu option in the ctrl-o menu for rendering Markdown files to PDF with pandoc.
  • Add a "fix as you type" feature that can be enabled in the ctrl-o menu if the OPENAI_API_KEY, OPENAI_KEY or CHATGPT_API_KEY environment variables is set to a valid OpenAI API key. Every time return is pressed, the line will be sent to ChatGPT and be corrected. This is an experimental feature.
  • Also save the search history for "search and replace" (ctrl-f, then the tab key and then return).
  • Fix a bug in the WordAtCursor function.
  • Add a command line flag for clearing all file locks.
  • Show a status message when pasting through portals.
  • Add a Markdown table editor that can be activated by pressing ctrl-t while the cursor is on a Markdown table. Within the table editor, ctrl-n can be used for adding columns, ctrl-d can be used for deleting empty columns. return, tab and the arrow keys also work, see the README.md file for more information.
  • Let ctrl-w format Markdown tables, if the cursor is on one.
  • Add a menu option for sorting a block of lines.
  • Minor improvements to the Agda symbol insertion menu.
  • Update dependencies.
  • Update documentation.

Orbiton 2.61.0

19 Apr 13:29
Compare
Choose a tag to compare

Orbiton 2.61.0

  • Optimize the function that reads in files, and also add better support for loading large single-line files, like some SVG files.
  • Add a -c flag, for directly copying a file to the clipboard.
  • Add more tests and benchmarks.
  • Remove an unused function.
  • Update dependencies.

Orbiton 2.60.6

10 Apr 22:34
Compare
Choose a tag to compare

Orbiton 2.60.6

  • Fix the detection of Makefile indentation.
  • Add a -p flag for pasting the clipboard contents to a new file.
  • Let -f -p FILENAME paste the clipboard to a file, but also overwrite the file if it exists.
  • Improve the terminal title when using o to read man pages with ie. MANPAGER=o man ls.
  • Add flags to the README.md file.
  • Update dependencies.

Orbiton 2.60.5

05 Apr 14:34
Compare
Choose a tag to compare

Orbiton 2.60.5

  • Ignore warnings and notes from the C compiler when building Go programs that uses C.
  • Fix the mode dependency so that it uses the first 512 bytes to detect the file type. Some man pages have very long first lines.
  • Fix issues with reading data from stdin, ref #14.
  • Add binary/text detection for data given on stdin.
  • Improve the version.sh script so that it also works on macOS.
  • Improve the release.sh script so that it compiles for multiple platforms in parallel.
  • Update documentation.
  • Update dependencies.

Oribton 2.60.4

03 Apr 23:38
Compare
Choose a tag to compare

Performance improvements

  • Load files faster, with fewer system calls.
  • Postpone loading some files when o starts, and load them later on as needed.

Programming language support

  • Let double ctrl-space build and run Odin programs.
  • Also let the automatic iferr feature work for Odin.
  • Add initial support for Arduino and .ino files.

Syntax highlighting

  • Syntax highlight italics in Markdown, for some cases.
  • Improve syntax highlighting of URLs in source code.
  • Simplify some of the Python syntax highlighting code.
  • Minor improvement of the syntax highlighting for Nroff files.

Building and running

  • Improve the logic for finding the compiled executable name.

ChatGPT / OpenAI

  • Make it possible to enter an OpenAI API key from the ctrl-o menu.
  • Refresh the cursor after generating code.
  • Let Generate, generate, Write and write in single-line comments, with a blank line following, trigger code generation.
  • Let lines starting with ! trigger code generation.

GUI/VTE frontend and macOS

  • Change the default font for macOS.
  • Let the cmd key act similar to the ctrl key on macOS.
  • Add a Build option in the ctrl-o menu for macOS, since ctrl-space might not register.

General

  • Update documentation.
  • Update dependecies.
  • Update the CI configuration.

Orbiton 2.60.3

05 Mar 23:54
Compare
Choose a tag to compare
  • Fix an issue with reading the OPENAI_KEY environment variable.
  • Fix the file mode for the temporary search and location history files.
  • Let search actions be part of recorded macros.
  • Check that the next line is blank before generating code with a comment that starts with Write.
  • Add a CMake template.
  • Add zombies to the little built-in game.
  • Add experimental support for macOS for the VTE GUI application.
  • Update documentation.
  • Update dependencies.

Orbiton 2.60.2

21 Feb 22:45
Compare
Choose a tag to compare
  • Update the .desktop file.
  • Update the release script.
  • Fix a typo in go.mod that could cause issues for users of go install.
  • Update documentation.
  • Update dependencies.

Orbiton 2.60.1

20 Feb 18:51
Compare
Choose a tag to compare
  • Also rename the release files after the project was renamed from O to Orbiton.
  • Update dependencies.

Orbiton 2.60.0

20 Feb 13:02
Compare
Choose a tag to compare
  • Project rename, from o to Orbiton. The editor executables are still:
    • o - for the terminal
    • og - for the VTE GUI
  • Add built-in support for formatting /etc/fstab files.
  • Stop the arrow keys from doing anything while code is being generated an inserted by ChatGPT.
  • Support more environment variable names for the OpenAI key. Now these are supported: CHATGPT_API_KEY, OPENAI_API_KEY or OPENAI_KEY, in that order.
  • Update dependencies.
  • Update documentation.

o 2.59.5

12 Feb 20:19
Compare
Choose a tag to compare
  • Don't call os.Getenv several times. Call os.Environ once and then cache the variables. This is handled automatically by the github.com/xyproto/env/v2 package. There is a tiny performance improvement for o because of this.
  • Add a Makefile target for building with the trace build tag.
  • Set the default ChatGPT temperature to 0, for generating code and to 0.8 for generating other text.
  • In addition to ! for filetypes other than Markdown, only use Write and write as "trigger words" for starting to generate code or text with ChatGPT (and only if the CHATGPT_API_KEY is set).
  • Update dependencies.
  • Update documentation.