]> git.lizzy.rs Git - micro.git/log
micro.git
3 years agoAdd syntax support for Renpy (#1789)
Ryan Westlund [Wed, 22 Jul 2020 19:26:37 +0000 (15:26 -0400)]
Add syntax support for Renpy (#1789)

3 years agoTidy go mod
Zachary Yedidia [Wed, 22 Jul 2020 19:23:13 +0000 (15:23 -0400)]
Tidy go mod

3 years agoMerge
Zachary Yedidia [Sun, 19 Jul 2020 23:08:00 +0000 (19:08 -0400)]
Merge

3 years agoUpdate tcell
Zachary Yedidia [Sun, 19 Jul 2020 23:07:52 +0000 (19:07 -0400)]
Update tcell

3 years agoAdd comment support for OCaml (#1776)
Ryan Westlund [Wed, 15 Jul 2020 18:13:44 +0000 (14:13 -0400)]
Add comment support for OCaml (#1776)

3 years agoSupport for multiple modifiers in colorschemes (#1772)
franekjel [Tue, 14 Jul 2020 21:58:03 +0000 (23:58 +0200)]
Support for multiple modifiers in colorschemes (#1772)

* Support for multiple modifiers (eg. "bold italic")

* Test for multiple modifiers (bold + italic + underline)

3 years agoAdd flake8 linter, postinit and preinit
Zachary Yedidia [Mon, 13 Jul 2020 17:28:26 +0000 (13:28 -0400)]
Add flake8 linter, postinit and preinit

Closes #1768

3 years agoRead paste option in screen init
Zachary Yedidia [Fri, 10 Jul 2020 16:26:15 +0000 (12:26 -0400)]
Read paste option in screen init

Fixes #1767

3 years agoFix swift linting problem
Zachary Yedidia [Thu, 9 Jul 2020 22:08:14 +0000 (18:08 -0400)]
Fix swift linting problem

3 years agoUpdate linter to include eslint
Zachary Yedidia [Thu, 9 Jul 2020 22:04:40 +0000 (18:04 -0400)]
Update linter to include eslint

Ref #1766

3 years agoUpdate linter documentation
Zachary Yedidia [Thu, 9 Jul 2020 21:58:42 +0000 (17:58 -0400)]
Update linter documentation

Ref #1766

3 years agoName svg micro.svg in tarballs
Zachary Yedidia [Thu, 9 Jul 2020 17:29:48 +0000 (13:29 -0400)]
Name svg micro.svg in tarballs

Ref #1765

3 years agoAdd micro icon and desktop file to release zips
Zachary Yedidia [Thu, 9 Jul 2020 17:26:12 +0000 (13:26 -0400)]
Add micro icon and desktop file to release zips

Closes #1765

3 years agoHighlight multicharacter escape sequences in C and C++ string literals (#1761)
Ján Priner [Wed, 8 Jul 2020 04:17:48 +0000 (06:17 +0200)]
Highlight multicharacter escape sequences in C and C++ string literals (#1761)

3 years agoUpdate micro.desktop (#1759)
Ján Priner [Mon, 6 Jul 2020 21:55:13 +0000 (23:55 +0200)]
Update micro.desktop (#1759)

3 years agofix
Zachary Yedidia [Mon, 6 Jul 2020 17:32:41 +0000 (17:32 +0000)]
fix

3 years agoRename deb file in scripts
Zachary Yedidia [Mon, 6 Jul 2020 17:30:49 +0000 (17:30 +0000)]
Rename deb file in scripts

3 years agoImprove deb package
Zachary Yedidia [Mon, 6 Jul 2020 17:25:30 +0000 (17:25 +0000)]
Improve deb package

3 years agoChmod
Zachary Yedidia [Mon, 6 Jul 2020 03:21:13 +0000 (03:21 +0000)]
Chmod

3 years agoUpdate script
Zachary Yedidia [Mon, 6 Jul 2020 03:19:47 +0000 (03:19 +0000)]
Update script

3 years agoMerge
Zachary Yedidia [Mon, 6 Jul 2020 03:14:06 +0000 (03:14 +0000)]
Merge

3 years agoImprove packaging
Zachary Yedidia [Mon, 6 Jul 2020 03:13:02 +0000 (03:13 +0000)]
Improve packaging

Slight improvements to the man page, and the man page is now
provided in prebuilt binary tarballs. Also a .deb file is now
provided as an asset along with prebuilt binary tarballs.

3 years agoUpdate nightly release scripts
Zachary Yedidia [Sun, 5 Jul 2020 21:12:06 +0000 (17:12 -0400)]
Update nightly release scripts

3 years agoSlight performance improvement nightly
Zachary Yedidia [Sun, 5 Jul 2020 19:54:00 +0000 (15:54 -0400)]
Slight performance improvement

3 years agoImprove comment plugin
Zachary Yedidia [Sun, 5 Jul 2020 19:48:49 +0000 (15:48 -0400)]
Improve comment plugin

When commenting a selection, the plugin won't just toggle each
line individually but will only uncomment the block if it is all
comments.

The comment plugin also now takes into account any number of spaces
between the comment character and the text. For example '//comment' will
be uncommented properly, as well as '//      comment'.

Fixes #1758

3 years agoImprove multicursor clipboard
Zachary Yedidia [Sun, 5 Jul 2020 05:12:35 +0000 (01:12 -0400)]
Improve multicursor clipboard

Ref #1721

3 years agoAdd clipboard support for multicursors
Zachary Yedidia [Sun, 5 Jul 2020 01:26:36 +0000 (21:26 -0400)]
Add clipboard support for multicursors

Fixes #1721

3 years agoFix reading clipboard internally for OSC52
Zachary Yedidia [Sun, 5 Jul 2020 00:54:27 +0000 (20:54 -0400)]
Fix reading clipboard internally for OSC52

3 years agoDon't set fastdirty base if modified
Zachary Yedidia [Sun, 5 Jul 2020 00:09:44 +0000 (20:09 -0400)]
Don't set fastdirty base if modified

3 years agoUpdate runtime
Zachary Yedidia [Sun, 5 Jul 2020 00:06:37 +0000 (20:06 -0400)]
Update runtime

3 years agoMerge
Zachary Yedidia [Sun, 5 Jul 2020 00:01:02 +0000 (20:01 -0400)]
Merge

3 years agoAdd support for copy-paste via OSC 52
Zachary Yedidia [Sun, 5 Jul 2020 00:00:39 +0000 (20:00 -0400)]
Add support for copy-paste via OSC 52

Ref #1754

3 years agoFix README ToC link (#1757)
Jim Tittsler [Sat, 4 Jul 2020 23:47:10 +0000 (08:47 +0900)]
Fix README ToC link (#1757)

3 years agoFix escape not exiting prompt
Zachary Yedidia [Sat, 4 Jul 2020 02:12:58 +0000 (22:12 -0400)]
Fix escape not exiting prompt

3 years agoRebind escape to clear info and deselect
Zachary Yedidia [Sat, 4 Jul 2020 01:02:16 +0000 (21:02 -0400)]
Rebind escape to clear info and deselect

3 years agoUse tcell's CanDisplay instead of Go's IsPrint
Zachary Yedidia [Thu, 2 Jul 2020 21:57:50 +0000 (17:57 -0400)]
Use tcell's CanDisplay instead of Go's IsPrint

Fixes #1755

3 years agoImprove php string highlighting
Zachary Yedidia [Thu, 2 Jul 2020 03:38:47 +0000 (23:38 -0400)]
Improve php string highlighting

Fixes #1753

3 years agoUpdate clipboard verification
Zachary Yedidia [Wed, 1 Jul 2020 03:29:09 +0000 (23:29 -0400)]
Update clipboard verification

Ref #1752

3 years agoDrop unnecessary Ftoa and FtoaWithDigits function (#1751)
Utkarsh Gupta [Tue, 30 Jun 2020 17:19:27 +0000 (22:49 +0530)]
Drop unnecessary Ftoa and FtoaWithDigits function (#1751)

Fixes: #1749
Signed-off-by: Utkarsh Gupta <utkarsh@debian.org>
3 years agoOnly lock event handling
Zachary Yedidia [Sun, 28 Jun 2020 20:34:01 +0000 (16:34 -0400)]
Only lock event handling

3 years agoAdd a lock for plugins to use if using async code
Zachary Yedidia [Sun, 28 Jun 2020 20:29:32 +0000 (16:29 -0400)]
Add a lock for plugins to use if using async code

Ref #1539

3 years agoFix path escaping on Windows
Zachary Yedidia [Sat, 27 Jun 2020 21:59:28 +0000 (17:59 -0400)]
Fix path escaping on Windows

Windows does not allow ':' in a path, but for some reason previous
versions still worked, except the file for storing buffer info
(which had a ':' in the name) was not viewable except by opening
it with micro.

Ref #1736

3 years agoMerge
Zachary Yedidia [Sat, 27 Jun 2020 21:55:39 +0000 (17:55 -0400)]
Merge

3 years agoClose file properly in clean and update makefile
Zachary Yedidia [Sat, 27 Jun 2020 21:55:01 +0000 (17:55 -0400)]
Close file properly in clean and update makefile

3 years agoImprove Haskell syntax highlighting (#1745)
Ryan Westlund [Fri, 26 Jun 2020 21:53:43 +0000 (17:53 -0400)]
Improve Haskell syntax highlighting (#1745)

3 years agoUpdate plugin documentation v2.0.6
Zachary Yedidia [Wed, 24 Jun 2020 21:24:45 +0000 (17:24 -0400)]
Update plugin documentation

3 years agoAdd more functions to customize status bar
Zachary Yedidia [Wed, 24 Jun 2020 21:19:42 +0000 (17:19 -0400)]
Add more functions to customize status bar

Adds `status.lines`, `status.vcol`, `status.bytes`, `status.size`,
and exposes some functions from go-humanize to plugins.

Ref #1727

3 years agoSupport month and day names in crontab syntax
Zachary Yedidia [Wed, 24 Jun 2020 20:33:22 +0000 (16:33 -0400)]
Support month and day names in crontab syntax

Ref #1739

3 years agoUse boundaries in cron syntax rules
Zachary Yedidia [Wed, 24 Jun 2020 20:00:56 +0000 (16:00 -0400)]
Use boundaries in cron syntax rules

Fixes #1739

3 years agoAdd Search function to BufPane
Zachary Yedidia [Tue, 23 Jun 2020 22:47:42 +0000 (18:47 -0400)]
Add Search function to BufPane

3 years agoUpdate readme
Zachary Yedidia [Tue, 23 Jun 2020 21:37:58 +0000 (17:37 -0400)]
Update readme

Ref #1741

3 years agoDon't delete user settings if a parse error occurs
Zachary Yedidia [Tue, 23 Jun 2020 21:29:20 +0000 (17:29 -0400)]
Don't delete user settings if a parse error occurs

3 years agoTreat CRLF as LF when inserting text
Zachary Yedidia [Tue, 23 Jun 2020 21:17:22 +0000 (17:17 -0400)]
Treat CRLF as LF when inserting text

In effect, pasting text with \r\n will remove the \r character and
delegate whether or not the file will be saved with CRLF or LF line
endings to the `fileformat` option.

Ref #1742

3 years agoFix backup call in test
Zachary Yedidia [Mon, 22 Jun 2020 22:20:01 +0000 (18:20 -0400)]
Fix backup call in test

3 years agoImprove backup system
Zachary Yedidia [Mon, 22 Jun 2020 21:54:56 +0000 (17:54 -0400)]
Improve backup system

This commit introduces several improvements to the backup system.

* Backups are made every 8 seconds for buffers that have been modified
  since the last backup.

* The `permbackup` option allows users to specify that backups should
  be kept permanently.

* `The backupdir` option allows users to store backups in a custom
   directory.

Fixes #1641
Fixes #1536
Ref #1539 (removes possibility of race condition for backups)

3 years agoDon't use make in travis script
Zachary Yedidia [Sun, 21 Jun 2020 00:39:20 +0000 (20:39 -0400)]
Don't use make in travis script

3 years agoUpgrade travis to go 1.13.x
Zachary Yedidia [Sun, 21 Jun 2020 00:29:58 +0000 (20:29 -0400)]
Upgrade travis to go 1.13.x

3 years agoUpgrade Travis Go to 1.12.x
Zachary Yedidia [Sun, 21 Jun 2020 00:22:31 +0000 (20:22 -0400)]
Upgrade Travis Go to 1.12.x

Fixes Travis Windows build problem because go modules are enabled
by default in 1.12.x and don't need an environment variable to be
set.

3 years agoInclude windows for travis
Zachary Yedidia [Sun, 21 Jun 2020 00:12:15 +0000 (20:12 -0400)]
Include windows for travis

3 years agoPersist plugin options correctly
Zachary Yedidia [Sun, 21 Jun 2020 00:07:33 +0000 (20:07 -0400)]
Persist plugin options correctly

3 years agoAdd simulation screen tests
Zachary Yedidia [Sat, 20 Jun 2020 22:24:12 +0000 (18:24 -0400)]
Add simulation screen tests

3 years agoImprove message in micro -clean
Zachary Yedidia [Sat, 20 Jun 2020 17:44:52 +0000 (13:44 -0400)]
Improve message in micro -clean

Ref #1736

3 years agoFix backspace on Windows
Zachary Yedidia [Sat, 20 Jun 2020 17:22:01 +0000 (13:22 -0400)]
Fix backspace on Windows

Fixes #1735

4 years agoClean default settings in micro -clean v2.0.5
Zachary Yedidia [Thu, 18 Jun 2020 21:22:21 +0000 (17:22 -0400)]
Clean default settings in micro -clean

4 years agoBind Ctrl-/ (CtrlUnderscore) in comment plugin
Zachary Yedidia [Thu, 18 Jun 2020 21:18:34 +0000 (17:18 -0400)]
Bind Ctrl-/ (CtrlUnderscore) in comment plugin

4 years agoFix issue with search and replace at the end of a range
Zachary Yedidia [Thu, 18 Jun 2020 20:38:10 +0000 (16:38 -0400)]
Fix issue with search and replace at the end of a range

4 years agoUpdate tcell version
Zachary Yedidia [Thu, 18 Jun 2020 03:24:53 +0000 (23:24 -0400)]
Update tcell version

4 years agoMerge
Zachary Yedidia [Thu, 18 Jun 2020 03:14:03 +0000 (23:14 -0400)]
Merge

4 years agoImprove keybinding label consistency
Zachary Yedidia [Thu, 18 Jun 2020 03:11:50 +0000 (23:11 -0400)]
Improve keybinding label consistency

The old notation (for example `CtrlG`) causes confusion when combined
with new notation needed for alt (`Alt-g`) due to Alt being case
sensitive. Previously both formats were supported, but the documentation
and defaults used a combination. This commit only uses the new notation
for consistency.

Ref #1470

4 years agoStart replacement search at cursor location
Zachary Yedidia [Thu, 18 Jun 2020 02:43:22 +0000 (22:43 -0400)]
Start replacement search at cursor location

Fixes #1731

4 years agoFix typo in defaultkeys (#1730)
Matthias [Wed, 17 Jun 2020 17:35:59 +0000 (10:35 -0700)]
Fix typo in defaultkeys (#1730)

4 years agoDon't move nightly tag
Zachary Yedidia [Wed, 17 Jun 2020 00:48:17 +0000 (00:48 +0000)]
Don't move nightly tag

4 years agoEdit nightly release instead of replacing
Zachary Yedidia [Wed, 17 Jun 2020 00:33:59 +0000 (20:33 -0400)]
Edit nightly release instead of replacing

4 years agoCross compile binaries in release scripts
Zachary Yedidia [Sun, 16 Feb 2020 00:40:51 +0000 (00:40 +0000)]
Cross compile binaries in release scripts

4 years agoUse hub for creating releases
Zachary Yedidia [Sun, 16 Feb 2020 00:33:49 +0000 (19:33 -0500)]
Use hub for creating releases

4 years agoAdd support for dozens more languages to the comment plugin (#1729)
Hugo Locurcio [Tue, 16 Jun 2020 04:49:07 +0000 (06:49 +0200)]
Add support for dozens more languages to the comment plugin (#1729)

4 years agoAdd comment support for Haskell (#1728)
Ryan Westlund [Mon, 15 Jun 2020 20:11:51 +0000 (16:11 -0400)]
Add comment support for Haskell (#1728)

4 years agoMerge branch 'p-e-w-faster-runewidth'
Zachary Yedidia [Sat, 13 Jun 2020 21:00:03 +0000 (17:00 -0400)]
Merge branch 'p-e-w-faster-runewidth'

4 years agoMerge branch 'faster-runewidth' of https://github.com/p-e-w/micro into p-e-w-faster...
Zachary Yedidia [Sat, 13 Jun 2020 20:59:52 +0000 (16:59 -0400)]
Merge branch 'faster-runewidth' of https://github.com/p-e-w/micro into p-e-w-faster-runewidth

4 years agoUpdate go-shellquote for windows
Zachary Yedidia [Sat, 13 Jun 2020 20:58:20 +0000 (16:58 -0400)]
Update go-shellquote for windows

4 years agoMake determining rune width faster
Philipp Emanuel Weidmann [Sat, 13 Jun 2020 03:29:17 +0000 (08:59 +0530)]
Make determining rune width faster

4 years agoUpdate runtime build script
Zachary Yedidia [Sat, 13 Jun 2020 00:54:37 +0000 (20:54 -0400)]
Update runtime build script

Ref #1687

4 years agoFix MoveLines on last line of buffer
Zachary Yedidia [Fri, 12 Jun 2020 19:16:27 +0000 (15:16 -0400)]
Fix MoveLines on last line of buffer

Fixes #1723
Fixes #1724

4 years agoMore consistent key labels in docs
Zachary Yedidia [Fri, 12 Jun 2020 18:41:57 +0000 (14:41 -0400)]
More consistent key labels in docs

4 years agoAdd note for macOS terminals in docs
Zachary Yedidia [Fri, 12 Jun 2020 18:20:26 +0000 (14:20 -0400)]
Add note for macOS terminals in docs

4 years agoMerge branch 'master' of https://github.com/zyedidia/micro
Zachary Yedidia [Fri, 12 Jun 2020 18:16:53 +0000 (14:16 -0400)]
Merge branch 'master' of https://github.com/zyedidia/micro

4 years agoUpdate readme
Zachary Yedidia [Fri, 12 Jun 2020 18:16:47 +0000 (14:16 -0400)]
Update readme

4 years agoAdd latex support in comment plugin (#1725)
Ján Priner [Fri, 12 Jun 2020 16:58:51 +0000 (18:58 +0200)]
Add latex support in comment plugin (#1725)

4 years agoMake determining whether a code point represents a combining mark faster (#1719)
Philipp Emanuel Weidmann [Fri, 12 Jun 2020 04:10:00 +0000 (09:40 +0530)]
Make determining whether a code point represents a combining mark faster (#1719)

4 years agoMerge branch 'settings-config'
Zachary Yedidia [Tue, 9 Jun 2020 20:34:37 +0000 (16:34 -0400)]
Merge branch 'settings-config'

With these changes, settings.json should only contain options that
have been modified from their default values. Micro will actively
options that are set to default values from the settings.json file.
To see a full list of settings and their defaults, see the "options"
documentation, as well as `micro -options`.

4 years agoShow key name in raw pane
Zachary Yedidia [Tue, 9 Jun 2020 19:57:52 +0000 (15:57 -0400)]
Show key name in raw pane

4 years agoDon't apply cli options to settings.json
Zachary Yedidia [Tue, 9 Jun 2020 02:19:15 +0000 (22:19 -0400)]
Don't apply cli options to settings.json

4 years agoLower priority of cursorline and colorcolumn highlighting (#1697)
Dmitry Maluka [Mon, 8 Jun 2020 20:15:54 +0000 (22:15 +0200)]
Lower priority of cursorline and colorcolumn highlighting (#1697)

Fixes #1665

4 years agosettings.json only contains modified settings
Zachary Yedidia [Mon, 8 Jun 2020 19:33:38 +0000 (15:33 -0400)]
settings.json only contains modified settings

If a setting has a default value it will not be listed in settings.json.

4 years agoMerge
Zachary Yedidia [Mon, 8 Jun 2020 17:55:24 +0000 (13:55 -0400)]
Merge

4 years agoOnly start autocompletion for alphanumerics
Zachary Yedidia [Mon, 8 Jun 2020 17:54:31 +0000 (13:54 -0400)]
Only start autocompletion for alphanumerics

Ref #1712

4 years agopython.yaml: add async as a keyword (#1713)
Ryan Westlund [Mon, 8 Jun 2020 17:45:05 +0000 (13:45 -0400)]
python.yaml: add async as a keyword (#1713)

await is already a keyword, but async is not.

4 years agoExpose ConfigDir and Tabs to plugins
Zachary Yedidia [Sun, 7 Jun 2020 22:21:46 +0000 (18:21 -0400)]
Expose ConfigDir and Tabs to plugins

Access with `micro.ConfigDir` (constant value) and `micro.Tabs()`.

4 years agoVerify that all settings have correct type
Zachary Yedidia [Sun, 7 Jun 2020 21:31:16 +0000 (17:31 -0400)]
Verify that all settings have correct type

This prevents crashes that occur when the user has put the wrong
type for a setting manually in the settings.json file.

4 years agoFix mouse support in command bar
Zachary Yedidia [Sun, 7 Jun 2020 19:46:12 +0000 (15:46 -0400)]
Fix mouse support in command bar