Skip to content

Releases: xyproto/orbiton

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.

o 2.59.3

08 Feb 16:35
Compare
Choose a tag to compare

Fixes

  • Fix a bug that happened when trying to run a program by pressing ctrl-space twice.
  • Stop the search function from saving duplicate entries in a row.

New features

  • Add support for generating code with ChatGPT, if the API key is set and a line is prefixed with ! or ie. // generate a function that .... and return is pressed.
  • Make it possible to view images on the terminal (.png, .jpg, .jpeg, .gif, .ico and bmp are supported. If CGO_ENABLED is not set to 0 at compile time, .webp is also supported). This is an experimental feature and how the images are scaled is not always optimal.

Minor improvements

  • Read some environment variables only once.
  • Remove use of rand.Seed that is deprecated by Go 1.20 (used by the little built-in game).
  • Compile the release binaries with Go 1.20.
  • Also support Go 1.16 and 1.17 again.
  • Update the documentation.

o 2.59.0

26 Jan 11:03
Compare
Choose a tag to compare
  • Improve the syntax highlighting for Go, man pages, configuration files and Python.
  • Update the .desktop file.
  • Initial support for Koka and Haxe.
  • Skip /tmp/tmp.* files when writing the location history.
  • Fix the use of ktlint when formatting Kotlin.
  • Minor improvements to the Synthwave and BlueEdit themes.
  • When pasting, try pasting from the primary clipboard as well.
  • Make tests pass on macOS.
  • Try to run more programs by default, when ctrl-space is pressed twice.
  • Make the status header in the game slightly more useful.
  • Use go4.org/bytereplacer for better performance when replacing bytes.
  • Update documentation.
  • Update dependencies.

o 2.58.0

07 Dec 12:29
Compare
Choose a tag to compare

o 2.58.0

Highlights

  • Detect tabs/spaces when a file is opened.
  • Add support for pbcopy and pbpaste on macOS, and make the Makefile more macOS-friendly.
  • Make ctrl-space also run programs when pressed a second time. The last lines of the output will be shown on screen. For now, this feature is only supported for simple Go, Kotlin and Rust applications.

Minor changes

  • Recognize the ctrl-_ hotkey.
  • Minor changes to the chmod +x behavior, for scripts.
  • Use a g suffix for all GUI-related executables and symlinks.
  • Minor changes to how ctrl-c behaves.
  • Improve the light theme for dark backgrounds.
  • Update documentation.
  • Update dependencies.

o 2.57.0

16 Oct 19:48
Compare
Choose a tag to compare

Highlights

  • Make it possible to open, edit and save gzip-compressed files with a .gz ending.
  • Add the Synthwave theme (launch o with a sw symlink, launch ko -s or set THEME=synthwave).
  • Add initial support for GDScript (used by Godot).

Other changes

  • Make the color of unmatched parentheses themeable.
  • Handle ReStructuredText differently.
  • Also save when copying text with ctrl-c, since ctrl-c may interrupt the program in some terminal emulators.
  • Make it possible to build *_test.go files with ctrl-space.
  • Highlight static differently for C (and C++).
  • Minor improvements to the BlueEdit theme.
  • Fix the ctrl-~ hotkey for the Linux console.
  • Set up signal handlers in goroutines, for faster startups.
  • Make it possible to trace with fgtrace if the trace build tag is used.
  • Improve the syntax highlighting of old Pascal programs.
  • Let ctrl-i while in debug mode change the behavior of ctrl-space and ctrl-n between "step into" and "step next".
  • Modify the version.sh script to only use sed.
  • Update dependencies.
  • Update documentation.