From 1e9010594402705d709e7f1f1ef03b4854bdf884 Mon Sep 17 00:00:00 2001 From: George Sokianos Date: Sat, 30 Apr 2022 14:01:39 +0100 Subject: [PATCH] Prepare 2.0.3r1 release --- Makefile.os4 | 22 ++++++------- README_OS4.md | 71 +++++++++++++++++++++++++++++++++-------- data/core/start.lua | 2 +- src/platform/amigaos4.h | 2 +- 4 files changed, 71 insertions(+), 26 deletions(-) diff --git a/Makefile.os4 b/Makefile.os4 index f317bcdb..d8071676 100644 --- a/Makefile.os4 +++ b/Makefile.os4 @@ -68,15 +68,15 @@ src/platform/amigaos4.o: src/platform/amigaos4.c release: - mkdir -p release/LiteXL - cp release_files/* release/LiteXL/ -r - mv release/LiteXL/LiteXL.info release/ - cp data release/LiteXL/ -r - cp changelog.md release/LiteXL/ - cp lite release/LiteXL/ - strip release/LiteXL/lite - cp README.md release/LiteXL/ - cp README_OS4.md release/LiteXL/ - cp LICENSE release/LiteXL/ - lha -aeqr3 a LiteXL.lha release/ + mkdir -p release/LiteXL2 + cp release_files/* release/LiteXL2/ -r + mv release/LiteXL2/LiteXL2.info release/ + cp data release/LiteXL2/ -r + cp changelog.md release/LiteXL2/ + cp lite release/LiteXL2/ + strip release/LiteXL2/lite + cp README.md release/LiteXL2/ + cp README_OS4.md release/LiteXL2/ + cp LICENSE release/LiteXL2/ + lha -aeqr3 a LiteXL2.lha release/ diff --git a/README_OS4.md b/README_OS4.md index 7977083b..d63cdd94 100644 --- a/README_OS4.md +++ b/README_OS4.md @@ -2,6 +2,22 @@ Lite XL is a lightweight text editor written in Lua. +The port is not perfect and might has issues here and there. For example +the filesystem notifications are not working yet. So when you make changes +at a project folder those will not be reflected in Lite XL automatically. + +It might crash from time to time, if there is a path problem, but overall +it works pretty well. This is my daily editor for any kind of development. + +## New features against Lite XL v1 +- Faster file scrolling +- Faster switch between tabs +- Reposition tabs at the side or at the bottom of other tabs, making + multiple columns/rows of opened files +- Multiple cursor editing +- Better font manipulation and appearance +- Faster transitions + ## Installation You can extract the Lite XL archive wherever you want and run the *lite* editor. @@ -49,16 +65,20 @@ The themes can also be found at https://github.com/lite-xl/lite-xl-colors ### Plugins -The Lite XL that you are using on AmigaOS 4 is based on version 1.16.12 +The Lite XL that you are using on AmigaOS 4 is based on version 2.0.4 and not the latest version that is available by the development team. -This means that the latest plugins are not working at all or need some -modifications to work. +This means that some of the latest plugins might not working at all +or need some modifications to work. To make it easier for you, I gathered some of the plugins that are working -well, and I included them at the `addons/plugins`. For you to install the +well, and I included them under `addons/plugins`. For you to install the ones you would like to use, you have to copy the `.lua` files into the folder `.config/lite-xl/plugins/` and restart the editor. +Please, choose wisely, because adding all the plugins might make the editor +slower on your system. I would recommend you add only those that you really +need. + The included plugins are the following: **autoinsert** @@ -103,6 +123,10 @@ Automatically inserts indentation and closing bracket/text after newline **markers** Add markers to docs and jump between them quickly +**minimap** +Shows a minimap on the right-hand side of the docview. Please note that +this plugin will make the editor slower on file loading and scrolling. + **navigate** Allows moving back and forward between document positions, reducing the amount of scrolling @@ -117,14 +141,17 @@ cntrl+shift+t. **selectionhighlight** Highlights regions of code that match the current selection +**smallclock** +It adds a small clock at the bottom right corner. + ## Tips and tricks ### Transitions -If you want to disable the transitions and make the scrolling a little faster, -open your configuration by clicking at the cog icon at the toolbar -(bottom left sixth icon) and add the followline at the end of the file and -save it. +If you want to disable the transitions and make the editor faster, +open your configuration file by clicking at the cog icon at the toolbar +(bottom left, 6th icon) and add the following line at the end of the file, +and then save it. You might need to restart your editor (CTRL+SHIFT+R) ``` config.transitions = false @@ -136,24 +163,42 @@ If you would like to hide files or whole folder from the left side bar list, open your configuration by clicking at the cog icon at the toolbar (bottom left sixth icon) and add the followline at the end of the file and save it. This hides all the files that start with a dot, and all the `.info` -files. +files. You might need to restart your editor (CTRL+SHIFT+R) ``` config.ignore_files = {"^%.", "%.info$"} ``` -You can add as many rules as you want in there, to hide fore files or +You can add as many rules as you want in there, to hide files or folders, as you like. +## I would like to thank -## Know issues +- IconDesigner for the proper glow icons that are included in the release +- Capehill for his tireless work on SDL port +- Michael Trebilcock for his port on liblua +- Lite XL original team for being helpful and providing info + +Without all the above Lite XL would not be possible + +## Support +If you enjoy what I am doing and would like to keep me up during the night, +please consider to buy me a coffee at: +https://ko-fi.com/walkero + +## Known issues You can find the known issues at https://git.walkero.gr/walkero/lite-xl/issues - # Changelog -## [2.0.3.1] - 2022-01-18 +## [2.0.3r1] - 2022-03-30 ### Changed - Applied all the necessary changes to make it run under AmigaOS 4.1 FE +- Fixes and changes + +# Disclaimer +YOU MAY USE IT AT YOUR OWN RISK! +I will not be held responsible for any data loss or problem you might get +by using this software. diff --git a/data/core/start.lua b/data/core/start.lua index c5024ae6..f8d14283 100644 --- a/data/core/start.lua +++ b/data/core/start.lua @@ -1,5 +1,5 @@ -- this file is used by lite-xl to setup the Lua environment when starting -VERSION = "2.0.3" +VERSION = "2.0.3r1" MOD_VERSION = "2" SCALE = tonumber(os.getenv("LITE_SCALE") or os.getenv("GDK_SCALE") or os.getenv("QT_SCALE_FACTOR")) or SCALE diff --git a/src/platform/amigaos4.h b/src/platform/amigaos4.h index 8e2bc195..5b1b692f 100644 --- a/src/platform/amigaos4.h +++ b/src/platform/amigaos4.h @@ -4,7 +4,7 @@ #include #include -#define VSTRING "Lite XL OS4 2.0.4 (04.01.2022)" +#define VSTRING "Lite XL OS4 2.0.3r1 (30.04.2022)" #define VERSTAG "\0$VER: " VSTRING static CONST_STRPTR stack USED = "$STACK:102400";