2.0 changelog and modversion updates.

This commit is contained in:
Adam Harrison 2021-08-17 09:46:21 -04:00 committed by Francesco
parent 419cd58c8f
commit b6af395fc7
27 changed files with 63 additions and 27 deletions

View File

@ -1,5 +1,41 @@
This files document the changes done in Lite XL for each release. This files document the changes done in Lite XL for each release.
### 2.0
The 2.0 version of lite contains *breaking changes* to lite, in terms of how plugin settings are structured;
any custom plugins may need to be adjusted accordingly (see note below about plugin namespacing).
Contains the following new features:
Full PCRE (regex) support for find and replace, as well as in language syntax definitions. Can be accessed
programatically via the lua `regex` module.
A full, finalized subprocess API, using libreproc. Subprocess can be started and interacted with using
`Process.new`.
Support for multi-cursor editing. Cursors can be created by either ctrl+clicking on the screen, or by using
the keyboard shortcuts ctrl+shift+up/down to create an additional cursor on the previous/next line.
All build systems other than meson removed.
A more organized directory structure has been implemented; in particular a docs folder which contains C api
documentation, and a resource folder which houses all build resources.
Plugin config namespacing has been implemented. This means that instead of using `config.myplugin.a`,
to read settings, and `config.myplugin = false` to disable plugins, this has been changed to
`config.plugins.myplugin.a`, and `config.plugins.myplugin = false` repsectively. This may require changes to
your user plugin, or to any custom plugins you have.
A context menu on right click has been added.
Changes to how we deal with indentation have been implemented; in particular, hitting home no longer brings you
to the start of a line, it'll bring you to the start of indentation, which is more in line with other editors.
Lineguide, and scale plugins moved into the core, and removed from `lite-plugins`. This may also require you to
adjust your personal plugin folder to remove these if they're present.
In addition, there have been many other small fixes and improvements, too numerous to list here.
### 1.16.11 ### 1.16.11
When opening directories with too many files lite-xl now keep diplaying files and directories in the treeview. When opening directories with too many files lite-xl now keep diplaying files and directories in the treeview.

View File

@ -661,8 +661,8 @@ local function check_plugin_version(filename)
-- Future versions will look only at the mod-version tag. -- Future versions will look only at the mod-version tag.
local version = line:match('%-%-%s*lite%-xl%s*(%d+%.%d+)$') local version = line:match('%-%-%s*lite%-xl%s*(%d+%.%d+)$')
if version then if version then
-- we consider the version tag 1.16 equivalent to mod-version:1 -- we consider the version tag 2.0 equivalent to mod-version:2
version_match = (version == '1.16' and MOD_VERSION == "1") version_match = (version == '2.0' and MOD_VERSION == "2")
break break
end end
end end

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local config = require "core.config" local config = require "core.config"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local config = require "core.config" local config = require "core.config"
local Doc = require "core.doc" local Doc = require "core.doc"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local keymap = require "core.keymap" local keymap = require "core.keymap"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local common = require "core.common" local common = require "core.common"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
pcall(require, "plugins.language_c") pcall(require, "plugins.language_c")
local syntax = require "core.syntax" local syntax = require "core.syntax"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local syntax = require "core.syntax" local syntax = require "core.syntax"
syntax.add { syntax.add {

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local config = require "core.config" local config = require "core.config"
local style = require "core.style" local style = require "core.style"
local DocView = require "core.docview" local DocView = require "core.docview"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local keymap = require "core.keymap" local keymap = require "core.keymap"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local keymap = require "core.keymap" local keymap = require "core.keymap"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local keymap = require "core.keymap" local keymap = require "core.keymap"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local config = require "core.config" local config = require "core.config"
local command = require "core.command" local command = require "core.command"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local command = require "core.command" local command = require "core.command"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local translate = require "core.doc.translate" local translate = require "core.doc.translate"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local command = require "core.command" local command = require "core.command"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local command = require "core.command" local command = require "core.command"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local command = require "core.command" local command = require "core.command"
local Doc = require "core.doc" local Doc = require "core.doc"

View File

@ -1,4 +1,4 @@
-- mod-version:1 -- lite-xl 1.16 -- mod-version:2 -- lite-xl 2.0
local core = require "core" local core = require "core"
local common = require "core.common" local common = require "core.common"
local DocView = require "core.docview" local DocView = require "core.docview"

View File

@ -19,7 +19,7 @@
<key>NSDesktopFolderUsageDescription</key><string>To access, edit and index your projects.</string> <key>NSDesktopFolderUsageDescription</key><string>To access, edit and index your projects.</string>
<key>NSDownloadsFolderUsageDescription</key><string>To access, edit and index your projects.</string> <key>NSDownloadsFolderUsageDescription</key><string>To access, edit and index your projects.</string>
<key>CFBundleShortVersionString</key> <key>CFBundleShortVersionString</key>
<string>1.16.10</string> <string>2.0</string>
<key>NSHumanReadableCopyright</key> <key>NSHumanReadableCopyright</key>
<string>© 2019-2021 Francesco Abbate</string> <string>© 2019-2021 Francesco Abbate</string>
</dict> </dict>