]> git.lizzy.rs Git - micro.git/log
micro.git
4 years agoFinish support for a fake cursor v2.0.0-rc2
Zachary Yedidia [Thu, 2 Jan 2020 03:40:51 +0000 (22:40 -0500)]
Finish support for a fake cursor

4 years agoBetter support for fake cursor
Zachary Yedidia [Thu, 2 Jan 2020 02:29:18 +0000 (21:29 -0500)]
Better support for fake cursor

4 years agoRemove no longer necessary terminfo package
Zachary Yedidia [Thu, 2 Jan 2020 01:58:01 +0000 (20:58 -0500)]
Remove no longer necessary terminfo package

4 years agoUse fake cursor for windows
Zachary Yedidia [Thu, 2 Jan 2020 01:47:05 +0000 (20:47 -0500)]
Use fake cursor for windows

4 years agoUpdate deps
Zachary Yedidia [Thu, 2 Jan 2020 01:44:45 +0000 (20:44 -0500)]
Update deps

4 years agoUpdate tcell
Zachary Yedidia [Wed, 1 Jan 2020 23:24:39 +0000 (18:24 -0500)]
Update tcell

Ref #1447

4 years agoUpdate tcell
Zachary Yedidia [Wed, 1 Jan 2020 22:57:16 +0000 (17:57 -0500)]
Update tcell

This update includes a fix for screen flashing on Windows.

Fixes #1447

4 years agoUpdate building from source info
Zachary Yedidia [Wed, 1 Jan 2020 22:41:59 +0000 (17:41 -0500)]
Update building from source info

4 years agoUpdate tcell
Zachary Yedidia [Wed, 1 Jan 2020 22:26:49 +0000 (17:26 -0500)]
Update tcell

4 years agoUpdate tcell
Zachary Yedidia [Wed, 1 Jan 2020 22:16:18 +0000 (17:16 -0500)]
Update tcell

4 years agoDisable true color by default
Zachary Yedidia [Wed, 1 Jan 2020 04:09:33 +0000 (23:09 -0500)]
Disable true color by default

4 years agoAdd extra nightly release message
Zachary Yedidia [Wed, 1 Jan 2020 03:49:21 +0000 (22:49 -0500)]
Add extra nightly release message

4 years agoUpdate tcell
Zachary Yedidia [Wed, 1 Jan 2020 03:46:30 +0000 (22:46 -0500)]
Update tcell

4 years agoUpdate runtime
Zachary Yedidia [Wed, 1 Jan 2020 03:42:35 +0000 (22:42 -0500)]
Update runtime

4 years agoRaw event support with new tcell
Zachary Yedidia [Wed, 1 Jan 2020 03:34:43 +0000 (22:34 -0500)]
Raw event support with new tcell

4 years agoEscape sequence support
Zachary Yedidia [Wed, 1 Jan 2020 02:50:26 +0000 (21:50 -0500)]
Escape sequence support

4 years agoUse upstream updated zyedidia tcell
Zachary Yedidia [Wed, 1 Jan 2020 01:15:45 +0000 (20:15 -0500)]
Use upstream updated zyedidia tcell

4 years agoSwitch to gdamore/tcell
Zachary Yedidia [Tue, 31 Dec 2019 22:23:12 +0000 (17:23 -0500)]
Switch to gdamore/tcell

4 years agoMerge
Zachary Yedidia [Tue, 31 Dec 2019 22:53:00 +0000 (17:53 -0500)]
Merge

4 years agoFix openbuffer view creation
Zachary Yedidia [Tue, 31 Dec 2019 22:52:55 +0000 (17:52 -0500)]
Fix openbuffer view creation

4 years agoMerge
Zachary Yedidia [Tue, 31 Dec 2019 21:49:21 +0000 (16:49 -0500)]
Merge

4 years agoCreate all parents of micro config automatically
Zachary Yedidia [Tue, 31 Dec 2019 21:48:45 +0000 (16:48 -0500)]
Create all parents of micro config automatically

Ref #1184

4 years agoAdd linux static binary to release scripts
Zachary Yedidia [Tue, 31 Dec 2019 21:23:37 +0000 (16:23 -0500)]
Add linux static binary to release scripts

4 years agoAdd fully static linux build to automated builder
Zachary Yedidia [Tue, 31 Dec 2019 21:20:54 +0000 (16:20 -0500)]
Add fully static linux build to automated builder

Ref #1184

4 years agoMerge
Zachary Yedidia [Tue, 31 Dec 2019 21:12:59 +0000 (16:12 -0500)]
Merge

4 years agoAdd xclip message for pasting if unsupported
Zachary Yedidia [Tue, 31 Dec 2019 21:12:39 +0000 (16:12 -0500)]
Add xclip message for pasting if unsupported

4 years agoMerge pull request #1327 from Osmose/git-commit-diff
Zachary Yedidia [Mon, 30 Dec 2019 19:43:50 +0000 (14:43 -0500)]
Merge pull request #1327 from Osmose/git-commit-diff

Fix #1314: Add support for diffs from `git commit --verbose`.

4 years agoMerge pull request #1437 from serebit/patch-2
Zachary Yedidia [Mon, 30 Dec 2019 19:42:48 +0000 (14:42 -0500)]
Merge pull request #1437 from serebit/patch-2

Enable syntax highlighting for Kotlin script files

4 years agoMerge branch 'ariasuni-fix-xml-highlighting'
Zachary Yedidia [Mon, 30 Dec 2019 19:40:58 +0000 (14:40 -0500)]
Merge branch 'ariasuni-fix-xml-highlighting'

4 years agoMerge branch 'fix-xml-highlighting' of https://github.com/ariasuni/micro into ariasun...
Zachary Yedidia [Mon, 30 Dec 2019 19:40:41 +0000 (14:40 -0500)]
Merge branch 'fix-xml-highlighting' of https://github.com/ariasuni/micro into ariasuni-fix-xml-highlighting

4 years agoDelete runtime.go
Zachary Yedidia [Mon, 30 Dec 2019 19:32:36 +0000 (14:32 -0500)]
Delete runtime.go

4 years agoMerge pull request #1386 from jncraton/docfix
Zachary Yedidia [Mon, 30 Dec 2019 19:28:46 +0000 (14:28 -0500)]
Merge pull request #1386 from jncraton/docfix

Minor grammar fix addressing #1377

4 years agoMerge pull request #1393 from raziel2244/patch-1
Zachary Yedidia [Mon, 30 Dec 2019 19:24:33 +0000 (14:24 -0500)]
Merge pull request #1393 from raziel2244/patch-1

ES6 - ES2019 additions

4 years agoMerge branch 'master' into patch-1
Zachary Yedidia [Mon, 30 Dec 2019 19:24:27 +0000 (14:24 -0500)]
Merge branch 'master' into patch-1

4 years agoMerge pull request #1361 from Lisiadito/master
Zachary Yedidia [Mon, 30 Dec 2019 19:23:27 +0000 (14:23 -0500)]
Merge pull request #1361 from Lisiadito/master

fix #1318. fix html comments and make them work multiline

4 years agoMerge pull request #1287 from didactic-drunk/ruby_syntax
Zachary Yedidia [Mon, 30 Dec 2019 19:23:06 +0000 (14:23 -0500)]
Merge pull request #1287 from didactic-drunk/ruby_syntax

Ruby syntax improvements.

4 years agoMerge pull request #1281 from Calinou/highlight-nimscript
Zachary Yedidia [Mon, 30 Dec 2019 19:22:38 +0000 (14:22 -0500)]
Merge pull request #1281 from Calinou/highlight-nimscript

Highlight NimScript files (.nims) as Nim

4 years agoMerge branch 'master' into highlight-nimscript
Zachary Yedidia [Mon, 30 Dec 2019 19:22:22 +0000 (14:22 -0500)]
Merge branch 'master' into highlight-nimscript

4 years agoMerge pull request #1315 from matbesancon/patch-1
Zachary Yedidia [Mon, 30 Dec 2019 19:21:20 +0000 (14:21 -0500)]
Merge pull request #1315 from matbesancon/patch-1

Update julia.yaml

4 years agoMerge pull request #1406 from LeapofAzzam/LeapofAzzam-patch-1
Zachary Yedidia [Mon, 30 Dec 2019 19:20:27 +0000 (14:20 -0500)]
Merge pull request #1406 from LeapofAzzam/LeapofAzzam-patch-1

Update vi syntax

4 years agoMerge pull request #1412 from tommyshem/batSyntaxHighlighting
Zachary Yedidia [Mon, 30 Dec 2019 19:20:13 +0000 (14:20 -0500)]
Merge pull request #1412 from tommyshem/batSyntaxHighlighting

Add windows .bat syntax highlighting file #1388

4 years agoMerge pull request #1426 from Nergel3/master
Zachary Yedidia [Mon, 30 Dec 2019 19:19:59 +0000 (14:19 -0500)]
Merge pull request #1426 from Nergel3/master

vue syntax (+typescript) & svelte syntax

4 years agoadd system verilog syntax file
Zachary Yedidia [Mon, 30 Dec 2019 19:05:06 +0000 (14:05 -0500)]
add system verilog syntax file

4 years agoMerge pull request #1445 from spytheman/spytheman-v-micro-highlight-syntax
Zachary Yedidia [Mon, 30 Dec 2019 17:27:31 +0000 (12:27 -0500)]
Merge pull request #1445 from spytheman/spytheman-v-micro-highlight-syntax

Added V syntax support

4 years agoAdd V syntax highlighting.
Delyan Angelov [Mon, 30 Dec 2019 14:13:15 +0000 (16:13 +0200)]
Add V syntax highlighting.

V is a new general purpose language, inspired mainly by Go, Rust, Pascal and C.
Main site: https://vlang.io/
Github: https://github.com/vlang/v

4 years agoFix some formatting
Zachary Yedidia [Mon, 30 Dec 2019 03:02:14 +0000 (22:02 -0500)]
Fix some formatting

4 years agoAdd message if xclip/xsel not found
Zachary Yedidia [Mon, 30 Dec 2019 02:43:29 +0000 (21:43 -0500)]
Add message if xclip/xsel not found

Ref #1236
Fixes #1031

4 years agoFix race condition with events channel
Zachary Yedidia [Sun, 29 Dec 2019 23:53:59 +0000 (18:53 -0500)]
Fix race condition with events channel

4 years agoMerge
Zachary Yedidia [Sun, 29 Dec 2019 23:23:22 +0000 (18:23 -0500)]
Merge

4 years agoRun action completion on saves with prompts at the right time
Zachary Yedidia [Sun, 29 Dec 2019 23:23:17 +0000 (18:23 -0500)]
Run action completion on saves with prompts at the right time

4 years agoSupport tcell EventPaste
Zachary Yedidia [Sun, 29 Dec 2019 18:45:08 +0000 (13:45 -0500)]
Support tcell EventPaste

4 years agoFix formatting in plugin info.json
Zachary Yedidia [Sun, 29 Dec 2019 05:03:21 +0000 (00:03 -0500)]
Fix formatting in plugin info.json

4 years agoSetGlobalOption access for plugins
Zachary Yedidia [Sun, 29 Dec 2019 04:40:44 +0000 (23:40 -0500)]
SetGlobalOption access for plugins

4 years agoUse MICRO_CONFIG_HOME before trying XDG_CONFIG_HOME
Zachary Yedidia [Sun, 29 Dec 2019 04:10:51 +0000 (23:10 -0500)]
Use MICRO_CONFIG_HOME before trying XDG_CONFIG_HOME

4 years agoAdd GetGlobalOption access for plugins
Zachary Yedidia [Sun, 29 Dec 2019 03:48:38 +0000 (22:48 -0500)]
Add GetGlobalOption access for plugins

4 years agoUpdate default plugins slightly
Zachary Yedidia [Sun, 29 Dec 2019 03:39:57 +0000 (22:39 -0500)]
Update default plugins slightly

4 years agoRemove detect requirement and detect in jinja file
Zachary Yedidia [Sun, 29 Dec 2019 03:27:44 +0000 (22:27 -0500)]
Remove detect requirement and detect in jinja file

Ref #1415

4 years agoMerge
Zachary Yedidia [Sun, 29 Dec 2019 02:57:11 +0000 (21:57 -0500)]
Merge

4 years agoSupport includes
Zachary Yedidia [Sun, 29 Dec 2019 02:57:03 +0000 (21:57 -0500)]
Support includes

4 years agoMerge pull request #1443 from onodera-punpun/patch-1
Zachary Yedidia [Sun, 29 Dec 2019 02:56:40 +0000 (21:56 -0500)]
Merge pull request #1443 from onodera-punpun/patch-1

Replace tab with spaces

4 years agoMore efficient loading for default syntax files
Zachary Yedidia [Sun, 29 Dec 2019 02:26:22 +0000 (21:26 -0500)]
More efficient loading for default syntax files

This change introduces header files for syntax files. The header
files only contain the filetype and detection info and can be
parsed much faster than parsing a full yaml file. To determine
which filetype a file is, only scanning the headers is necessary
and afterwards only one yaml file needs to be parsed. Use the
make_headers.go file to generate the header files. Micro expects
that all default syntax files will have header files and that
custom user syntax files may or may not have them. Resolving
includes within syntax has not yet been implemented. This
optimization improves startup time.

Ref #1427

4 years agoAdd support for syntax headers and update tcell
Zachary Yedidia [Sat, 28 Dec 2019 23:53:51 +0000 (18:53 -0500)]
Add support for syntax headers and update tcell

4 years agoReplace tab with spaces
Camille [Sat, 28 Dec 2019 21:38:41 +0000 (22:38 +0100)]
Replace tab with spaces

4 years agoFix issues related to tabbar/infobar mouse events
Zachary Yedidia [Sat, 28 Dec 2019 20:56:56 +0000 (15:56 -0500)]
Fix issues related to tabbar/infobar mouse events

Fixes #1440

4 years agoMerge
Zachary Yedidia [Sat, 28 Dec 2019 17:04:48 +0000 (12:04 -0500)]
Merge

4 years agoImprove mouse selection performance
Zachary Yedidia [Sat, 28 Dec 2019 17:04:43 +0000 (12:04 -0500)]
Improve mouse selection performance

4 years agoFix windows compilation in auto-builder
Zachary Yedidia [Sat, 28 Dec 2019 01:56:03 +0000 (01:56 +0000)]
Fix windows compilation in auto-builder

4 years agoFix add runtime file for local plugins
Zachary Yedidia [Sat, 28 Dec 2019 01:28:25 +0000 (20:28 -0500)]
Fix add runtime file for local plugins

4 years agoMerge
Zachary Yedidia [Fri, 27 Dec 2019 23:43:53 +0000 (18:43 -0500)]
Merge

4 years agoUpdate tcell version
Zachary Yedidia [Fri, 27 Dec 2019 23:43:47 +0000 (18:43 -0500)]
Update tcell version

4 years agoUse makefile to build for cross compilation
Zachary Yedidia [Fri, 27 Dec 2019 17:26:03 +0000 (17:26 +0000)]
Use makefile to build for cross compilation

4 years agoCommand binding fix
Zachary Yedidia [Fri, 27 Dec 2019 05:43:45 +0000 (00:43 -0500)]
Command binding fix

4 years agoSearch and replace fixes
Zachary Yedidia [Fri, 27 Dec 2019 05:06:02 +0000 (00:06 -0500)]
Search and replace fixes

4 years agoUpdate makefile and vendor script
Zachary Yedidia [Fri, 27 Dec 2019 03:03:30 +0000 (22:03 -0500)]
Update makefile and vendor script

4 years agoNo patchelf for snap build
Zachary Yedidia [Fri, 27 Dec 2019 02:41:19 +0000 (21:41 -0500)]
No patchelf for snap build

Ref #1078

4 years agoClean up build tools
Zachary Yedidia [Fri, 27 Dec 2019 01:43:43 +0000 (20:43 -0500)]
Clean up build tools

4 years agoUse osusergo build tag
Zachary Yedidia [Fri, 27 Dec 2019 01:32:33 +0000 (20:32 -0500)]
Use osusergo build tag

4 years agoEnable syntax highlighting for Kotlin script files
Campbell Jones [Fri, 27 Dec 2019 00:13:23 +0000 (19:13 -0500)]
Enable syntax highlighting for Kotlin script files

In addition, make the following changes to the kotlin syntax highlighting:
- Add new unsigned types to type.storage
- Add const as a statement keyword
- Remove typeof from type keywords

4 years agoFix snap install metadata
Zachary Yedidia [Thu, 26 Dec 2019 23:54:40 +0000 (18:54 -0500)]
Fix snap install metadata

4 years agoSupport for file reloading if changed externally
Zachary Yedidia [Thu, 26 Dec 2019 22:59:23 +0000 (17:59 -0500)]
Support for file reloading if changed externally

4 years agoSupport arm64 in cross compilation script
Zachary Yedidia [Thu, 26 Dec 2019 22:06:55 +0000 (17:06 -0500)]
Support arm64 in cross compilation script

Ref #1431

4 years agoDon't forward tabbar mouse events to panes
Zachary Yedidia [Thu, 26 Dec 2019 22:02:02 +0000 (17:02 -0500)]
Don't forward tabbar mouse events to panes

Fixes #1435

4 years agoMerge
Zachary Yedidia [Thu, 26 Dec 2019 21:57:33 +0000 (16:57 -0500)]
Merge

4 years agoScroll up as much as possible
Zachary Yedidia [Thu, 26 Dec 2019 21:57:09 +0000 (16:57 -0500)]
Scroll up as much as possible

Fixes #1434

4 years agoFix poller mod version for osx
Zachary Yedidia [Thu, 26 Dec 2019 21:53:45 +0000 (21:53 +0000)]
Fix poller mod version for osx

4 years agoFix go module issue
Zachary Yedidia [Thu, 26 Dec 2019 21:37:02 +0000 (16:37 -0500)]
Fix go module issue

4 years agoRemove autosave option
Zachary Yedidia [Thu, 26 Dec 2019 19:35:48 +0000 (14:35 -0500)]
Remove autosave option

With the new backup option, the autosave option is no longer useful.
Since it never really worked well in the first place, it has been
removed.

Closes #1420

4 years agoImprove lua interface for statusline
Zachary Yedidia [Thu, 26 Dec 2019 17:46:10 +0000 (12:46 -0500)]
Improve lua interface for statusline

4 years agoMinor edit to statusline format
Zachary Yedidia [Thu, 26 Dec 2019 17:25:42 +0000 (12:25 -0500)]
Minor edit to statusline format

Ref #1432

4 years agoFix bottomline when softwrap enabled
Zachary Yedidia [Thu, 26 Dec 2019 00:44:58 +0000 (19:44 -0500)]
Fix bottomline when softwrap enabled

4 years agoSome documentation
Zachary Yedidia [Thu, 26 Dec 2019 00:37:51 +0000 (19:37 -0500)]
Some documentation

4 years agoSupport rc tags in build version v2.0.0-rc1
Zachary Yedidia [Wed, 25 Dec 2019 22:42:57 +0000 (17:42 -0500)]
Support rc tags in build version

4 years agoClean unused go modules
Zachary Yedidia [Wed, 25 Dec 2019 22:23:39 +0000 (17:23 -0500)]
Clean unused go modules

4 years agoMerge branch refactor2.0
Zachary Yedidia [Wed, 25 Dec 2019 22:07:30 +0000 (17:07 -0500)]
Merge branch refactor2.0

The code from the refactor that I have been working on is
now more or less ready to be merged. These changes make some
breaking changes, notably with regards to the plugin
interface. Once a lot more documentation has been written, I
will release this code as micro 2.0. There are a lot of new
features, and in the coming days I will try to go through
the open issues to see exactly which ones are addressed by
the new features, and write lots more documentation
regarding what has been implemented.

Some highlights include:

* Simple autocompletion.
    * Autocompletion (tab by default) will do a simple
      "buffer completion" which will autocomplete according
      to words used elsewhere in the buffer. In the future
      plugin support could be added along with support for
      interfacing with language-specific autocompletion
      tools.
* Automatic backups.
    * Backup files are stored in `~/.config/micro/backups`
      for every open buffer and are saved roughly every 8
      seconds if the buffer is being modified. Backups
      are removed when the buffer is closed, but if micro
      or the system crashes, any unsaved changes can be
      recovered by re-opening the file (micro will auto-
      recover) or by manually viewing the backup in the
      `~/.config/micro/backups` directory.
* Configurable statusline.
* Configurable linter plugin.
* Resizeable splits.
* Complete re-organization of the code to support better go
  modules and maintain a better directory structure.
* Better plugin interface with better access to the Go
  standard library and internal Micro functions (lots of
  documentation still needs to be written).
    * Documentation still needs to be written, but in the
      meantime please see the default plugins as examples
      as they have been converted from their old versions
      to be compatible with the new interface.
* Buffer synchronization when the same file is opened
  multiple times.
* Keybindings and mouse support in the command bar.
* Support for non-utf8 encodings.
* General QoL improvements and bug fixes.
    * Notably I believe the autoclose plugin crash issue is
      fixed.
* No more plugin manager.
    * Plugin installation will now be performed manually
      by git cloning into the `~/.config/micro/plug`
      directory. This may not be a highlight for some but
      I believe it is much simpler, and there is no need
      to have a heavyweight dependency manager. Perhaps
      in the future, a good command-line tool can be made
      to manage plugins if people would find it useful.
* Other features that I have forgotten.

Next I plan to write up more documentation for all the new
features, and make a "release candidate" for micro 2.0. I
will also be working to fix any bugs that come up (hopefully
not too many, but this is a big change and bound to have
some issues). After release I hope to focus more on
optimization (for example loading syntax files is currently
somewhat inefficient, and the bottleneck for startup time #1427).

Sorry for not being so active recently, but I hope merging
this big change can help me get back to more regular
development. Thanks to everyone for using micro and for
giving feedback and engaging with development online (even
if I don't always respond).

Merry Christmas!

Issues that are fixed/affected by this change:

Ref #1419 (configurable statusline)
Ref #1413 (cursor behaves better)
Ref #1401 (softwrap problems)
Ref #1383 (better save with sudo)
Ref #1424 (better save with sudo)
Ref #1382 (go modules)
Ref #1381 (install plugins from command line)
Ref #1357 (sorting -- textfilter)
Ref #1351 (custom linting)
Ref #1350 (sudo problem might be fixed)
Ref #1298 (readonly option)
Ref #1250 (autoclose bug)
Ref #1239 (go modules)
Ref #813  (autoclose bug)
Ref #812  (cursor sync across same buffers)
Ref #770  (resizeable panes)
Ref #635  (keybindings in infobar)
Ref #596  (disable builtin plugins)
Ref #550  (backups)
Ref #174  (autocompletion)

4 years agoAutocompletion fix for infobuffer
Zachary Yedidia [Wed, 25 Dec 2019 18:11:38 +0000 (13:11 -0500)]
Autocompletion fix for infobuffer

4 years agoSupport for more complex action chaining
Zachary Yedidia [Wed, 25 Dec 2019 17:54:51 +0000 (12:54 -0500)]
Support for more complex action chaining

4 years agoLua prompt support and plugin improvements
Zachary Yedidia [Tue, 24 Dec 2019 22:17:44 +0000 (17:17 -0500)]
Lua prompt support and plugin improvements

4 years agoBetter softwrap
Zachary Yedidia [Tue, 24 Dec 2019 21:01:08 +0000 (16:01 -0500)]
Better softwrap

4 years agoMinor relocate improvement
Zachary Yedidia [Mon, 23 Dec 2019 21:16:54 +0000 (16:16 -0500)]
Minor relocate improvement

4 years agoFix highlighting issue
Zachary Yedidia [Mon, 23 Dec 2019 20:36:53 +0000 (15:36 -0500)]
Fix highlighting issue