summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2024-09-11Overhaul unicode parsingAlbert Cervin
It now instead iterates the actual unicode code points. This is better than what it was previously doing but it is still not entirely correct w.r.t to unicode sequences. This handling of unicode code points does however make it slightly easier to handle UTF-16 if needed in the future. This also adds some long needed tests for buffer methods.
2024-08-27Fix bug where abort switched windowsAlbert Cervin
The minibuffer code for handling going back to previous window after abort was a bit too greedy.
2024-08-15Do not update last write when openingAlbert Cervin
2024-08-14Add fancy welcome textAlbert Cervin
2024-08-14Do not reload buffer if it could not be watchedAlbert Cervin
Previously it tried to reload the buffer even though it could not be watched.
2024-08-14Use IN_CLOSE_WRITE for inotify on LinuxAlbert Cervin
This is safer since the event is only emitted once the file is closed, not every time it is modified and it seems to yield more reliable results.
2024-06-23Fix buffer list switch and search/replaceAlbert Cervin
Fix the buffer list return key action when buffers have the same name. Previously, it would pick the first it could find in the buffer list with the correct buffer name instead of the selected one. Now it uses text properties to pass the actual buffer pointer along instead. This however exposed a problem with the clearing of properties and where in the frame it happens. Search and replace highlighting assumed that they could color things in their respective command executions. However, ideally coloring should happen in update functions so now both search and replace implement the coloring in update hooks for the buffer they are operating on. For replace, this was already kinda how it worked and could be adapted with minimal effort. Search on the other hand needed a bit more rework.
2024-06-09Fix crash in completionAlbert Cervin
The crash happened when a new file was opened followed by another completion. The reason was that not accepting any of the completion suggestions caused the completion to stay active, causing the context to not be updated for the next completion.
2024-05-14And document the prefix flagAlbert Cervin
2024-05-14Actually support prefix arg in configureAlbert Cervin
2024-05-14Fix more errors in MakefileAlbert Cervin
2024-05-14Fix error in MakefileAlbert Cervin
2024-05-14Improve configure with docs and help flagAlbert Cervin
Also make targets dependent on config.mk so that the program is rebuilt when config.mk changes.
2024-05-14Make shebang more nix sandbox friendlyAlbert Cervin
2024-05-14Add indent for regionAlbert Cervin
If a region is active, indentation is added to the whole region.
2024-05-14Fix replace not updating after a replace opAlbert Cervin
If the replace happened on the same line as another match and was longer or shorter than the previous value, the highlights and following replaces would be offset.
2024-05-12Improve API docs and configure systemAlbert Cervin
There is now a super minimalistic configure script that automatically detects the event system (epoll/kqueue) and generates a config.h and a config.mk.
2024-05-06Make formatting target more portableAlbert Cervin
Previously it would fail if not using a dedicated build folder.
2024-05-06Add inverted colors modeAlbert Cervin
Also use color constants in some more places.
2024-05-06Fix slow buffer pasteAlbert Cervin
Was caused by updating all buffer hooks on every char insert. Particularily, the syntax update takes a little bit too long to call on every char. Now the keyboard parsing routine compresses all consecutive self-inserting chars into one "key press". Also fix some small issues with timers and update them with a min and max.
2024-05-06OpenBSD port workAlbert Cervin
2024-04-30Include version header in header listAlbert Cervin
2024-04-09Prepare 0.1.0Albert Cervin
Clarify a few things in the README.md and add a version macro that can be used with `-V/--version`.
2024-04-08Use conventional html filenameAlbert Cervin
2024-04-08Limit pages deployment to trunkAlbert Cervin
2024-04-08Github CIAlbert Cervin
2024-04-03Add completion to executeAlbert Cervin
Completes on the command, not on following arguments if written directly at the prompt.
2024-03-27Do something better when wcwidth returns -1Albert Cervin
On systems that has unkown widths for emojis for example, using -1 for width is not a good fallback.
2024-03-26Implement kill-buffer commandAlbert Cervin
Can be killed with the command `kill-buffer`, the shortcut `C-x k` or from the buffer menu.
2024-03-24Improve and simplify movement logicAlbert Cervin
It was very complicated and tried to handle cases that were specific to certain movement with a too general approach.
2024-03-22Add a sigsegv handlerAlbert Cervin
To try and reset the terminal to something useful.
2024-03-22Initial OpenBSD supportAlbert Cervin
Reactor is not really implemented yet but at least it builds and the tests run.
2024-03-18Portably print the 64-bit integerAlbert Cervin
2024-03-18Fix clang buildAlbert Cervin
2024-03-18Make makefile more portableAlbert Cervin
Should work with OpenBSDs make now
2024-03-18More work on languages/syntaxAlbert Cervin
Implement another predicate and add javascript.
2024-03-14Update README and man pageAlbert Cervin
Add all commands and keybinds to the manual.
2024-03-07Fix asan errorsAlbert Cervin
It found some really nasty ones :)
2024-03-07Implement timers properlyAlbert Cervin
The timers shown with `M-x timers` are now actual timings.
2024-03-05Make syntax path a proper search pathAlbert Cervin
Can be set with the $TREESITTER_GRAMMARS variable, separated by ':'
2024-02-28One missing file from last commitAlbert Cervin
2024-02-28More lang and buffer fixesAlbert Cervin
2024-02-27Fix follow up lang bugsAlbert Cervin
Some functions used "languages." and some did not.
2024-02-23Fix language path bugAlbert Cervin
Caused by previous commit
2024-02-23Make language less specificAlbert Cervin
Now it just contains id and name as static properties.
2024-02-23Disable automatic trigger of buffer completionAlbert Cervin
It breaks the default to switch back to prev buffer.
2024-02-18Update READMEAlbert Cervin
2024-02-18Add qml lang and fix some regexesAlbert Cervin
2024-02-18Fix completion of paths not retaining first letterAlbert Cervin
2024-02-18Fix undo of deletesAlbert Cervin
Missed a boundary causing it to undo more than expected.