Releases: xyproto/orbiton
Releases · xyproto/orbiton
Orbiton 2.66.0
UX
- When the status line is enabled AND a maximum column width is specified, the column limit is indicated with
|
characters, behind the text. ctrl-g
can now toggle "block mode" where multiple lines can be edited at once (this is an experimental feature).- Replace the "Insert time" menu choice with a "Toggle status line" menu choice.
AI
- Remove support for "fix as you type" and inserting generated text with OpenAI / GPT3. Initial support for Gemini is in the
gemini
branch, but the whole interaction with AI /LLMs was not as useful as I thought. Perhaps a future menu option for fixing bugs would be more useful.
Performance and size improvements
- Noticeably faster rendering, due to improvements in the
github.com/xyproto/vt100
package. - Much smaller executable (12 MiB vs 24 MiB) due to the temporary removal of AI-support.
- Update the default profile guided optimization file.
- Let some string variables be constants.
- Detect the current platform at build-time rather than at run-time.
Editing Markdown
- Let
ctrl-w
in a Markdown file attempt to sort all tables in the document, when the cursor is not over a specific table.
Programming language and file support
- Better handling of tabs and spaces when saving Makefiles.
- Recognize more GLSL shader types.
- When pressing
ctrl-w
in an empty Python file named__init__.py
, leave it empty and don't insert a Python template.
Building and testing
- Make it possible to run tests when
ctrl-space
is pressed in a Go file with a_test.go
suffix. - Add initial support for the C3 programming language, including "jump to error" when
ctrl-space
is pressed. - Make it possible to compile some GLSL shaders to SPIR-V by pressing
ctrl-space
.
Man page related
- Let the
space
key scroll down when viewing man pages. - Also make it possible to quit with
q
when viewing man pages.
Syntax highlighting
- Add initial syntax highlighting for the C3 programming language.
- Improve syntax highlighting for Python.
- Improve syntax highlighting for Hare.
Build-related
- Revert a
.PHONY
-related change to theMakefile
. - Remove
--sort-common
from the default Arch LinuxLDFLAGS
in theMakefile
.
Various changes
- Minor improvements, as suggested by
staticcheck
. - Update the URL to the web page.
- Update dependencies.
- Update documentation.
- Performance improvements.
Orbiton 2.65.12
New features
- Copy to the clipboard if the executable starts with
c
. For example, if/usr/local/bin/copyfile
is a symlink to/usr/local/bin/o
, thencopyfile somefile.txt
will copy that file into the clipboard. - Paste the clipboard into a file if the executable starts with
p
. For example, if/usr/local/bin/pastefile
is a symlink to/usr/local/bin/o
, thenpastefile somefile.txt
will paste the contents of the clipboard into that file.pastefile -f
can be used if the file already exists and should be overwritten.
Fixes
- Fix an issue that could happen if the terminal was resized, while signals were sent, and while the user was hammering the
Esc
button.
Improvements
- Adjust the placement of a menu item in the
ctrl-o
menu, when editing HTML or XML. - Move the cursor to the start of the first line when sorting a block of lines.
- Do not try to expand XML and HTML tags by default. This can be enabled in the
ctrl-o
menu. - Skip the status message if
SIGTERM
is received. - Better syntax highlighting when editing Dockerfiles.
- Temporarily remove the HTML formatting feature since it could not handle JS within HTML and was annoying.
- Modify how
ctrl-a
andctrl-e
behaves if a macro is being replayed.
Various
- Build the release binaries with Go 1.22.4.
- Minor changes to the
Makefile
. - Minor changes to the GTK-3 front-end.
- Update documentation.
- Update dependencies.
Orbiton 2.65.11
- Fix an issue with a mutex when redrawing, in connection with signals and
ctrl-c
. - Make
ctrl-k
a bit faster, when removing lines or deleting to the end of the current line. - Add initial support for CSS.
- Update dependencies.
- Update documentation.
Orbiton 2.65.10
- Add a file that was missing from the vendored dependencies.
Orbiton 2.65.9
Improvements
- Disregard copy/paste portals that are older than 25 minutes when starting
o
. - Improve the status message when copying lines to the clipboard.
- Improve the text/binary detection to also support UTF-16.
- Improve how signals are handled.
Language support
- Respect
#
as the single line comment marker for R and Ruby. - Add initial support for Objective-C.
- Switch from
autopep8
toblack
as the tool used to format Python code whenctrl-w
is pressed. - Adjust the
ktlint
parameters (for formatting Kotlin).
Syntax highlighting
- Minor improvements to the JavaScript syntax highlighting.
- Minor improvements to the C syntax highlighting.
Various
- Improve the OpenBSD, FreeBSD and NetBSD support.
- Update documentation.
- Update dependencies.
Orbiton 2.65.8
- Revert a commit that made tests stop working in the GitHub workflow.
Orbiton 2.65.7
Redrawing
- Lock the statusbar for redrawing when
ctrl-c
is pressed. - Try a different approach to redrawing if
SIGWINCH
happens. - Fix the redraw if
esc
is pressed afterctrl-l
has been pressed.
User interface
- Use a better placement for the initial "quick help" box.
- Adjust the right hand side progress bar movement.
- Let the run output box have smarter resizing.
Programming
- Use exact imports when formatting Java or Kotlin code (not
x.*
). - Add an
-i
flag for being able to specify an input file for when the program is being built and run with doublectrl-space
. This can be useful when solving Advent of Code tasks. The default input file isinput.txt
, if it exists. - Let
ctrl-g
look for more files when searching for definitions. - Do not use
kotlin-native
by default for Kotlin code ifkotlin-native
is installed. Look forkotlinx.cinterop
.
User experience
- Improve the filename completion at start.
- If a search is active and
ctrl-g
is pressed, then clear the search, but don't stop there. - Fix the
Export
menu option on macOS, for exporting Markdown toHTML
ifctrl-space
might not be available. - Minor changes to the (experimental) screenshot feature (available when the high-score has been beaten in the little built-in game).
Syntax highlighting
- Improve the syntax highlighting for Go.
- Improve the syntax highlighting for configuration files.
Improvements to the code
- Simplify the
Makefile
. - Remove several unused functions with the help of the
deadcode
utility.
General
- Update documentation.
- Update dependencies.
Orbiton 2.65.6
Markdown
- Add a template for Markdown so that a simple template can be inserted by pressing
ctrl-w
in a blank file. - Disable
ctrl-t
as an alias for toggling checkboxes in Markdown.ctrl-space
can still be used.
User experience
- When browsing up and down with
ctrl-n
orctrl-p
, do not insert ann
orp
if it is pressed within 50 ms of browsing up and down. This helps avoid strayn
orp
letters by accident after browsing up and down repeatedly. - When displaying the last run command with
o -l
on the command line, strings that looks like filenames are double quoted.
Programming
- Make the indentation smarter for switch/case statements.
- When displaying the output from running programs by pressing
ctrl-space
twice, only trim whitespace from the right side of the output (and also display a couple more lines). - Use the IntelliJ style when formatting code with
ktlint
. - Fix a bug where the editor tried to insert parenthesis for a bare
while {
statement in Kotlin.
New language support
- Add initial support for Swift.
- Add initial support for Inko.
- Improve syntax highlighting of single line comment markers.
Syntax highlighting
- Improve syntax highlighting for Kotlin.
- Improve syntax highlighting for configuration files.
- Improve syntax highlighting for Makefiles.
General
- Update dependencies.
- Update documentation.
Orbiton 2.65.5
- Fix a bug with the progress indicator that appears when pressing
ctrl-n
orctrl-p
. - Improve how the tutorial and the quick help text is presented.
Orbiton 2.65.4
Performance
- Allocate memory before loading data from a file.
Editor Behavior
- When pasting code at a place that is indented, try to respect the current indentation level.
- After pressing
ctrl-l
to jump somewhere, also letctrl-n
andctrl-p
work in this mode. - Use a scroll-bar like indicator on the right hand side instead of the experimental mini-map.
Syntax Highlighting
- Improve syntax highlighting for configuration files.
- Handle backticks (`) in Markdown in a more correct way.
- Improve syntax highlighting for code blocks in Markdown.
User Help
- Adjust the wording of the
--help
output. - Improve how the Quick Help box is being drawn.
- If the user opens up a source code file, edits and saves it within 30 seconds, recognize the user as a developer and disable the quick help screen.
General
- Build releases with (and also require) Go 1.21.
- Update CI configuration.
- Update documentation.
- Update dependencies.