diff options
author | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 09:44:44 -0400 |
---|---|---|
committer | Adam Harrison <adamdharrison@gmail.com> | 2023-06-13 09:44:44 -0400 |
commit | c9c9ab5c5fe1bb699cdfbb062bbc599a01c74d14 (patch) | |
tree | 6edafb034dabea697b833846af41d0bd71b45e69 | |
parent | db5c0e1d47d9ba0e177c278b4c52143069b7cfe9 (diff) | |
download | lite-xl-plugin-manager-1.0.3.tar.gz lite-xl-plugin-manager-1.0.3.zip |
Updated changelog, README, and manifest to clear up some language, and fix some URLs.v1.0.3
-rw-r--r-- | CHANGELOG.md | 5 | ||||
-rw-r--r-- | README.md | 11 | ||||
-rw-r--r-- | manifest.json | 6 | ||||
-rw-r--r-- | src/lpm.c | 10 |
4 files changed, 19 insertions, 13 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index a918ed9..e57180d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# 1.0.3 + +* Fixed a major issue with windows that causes a crash. +* Ensured that the simplified releases are pointing to the right place. + # 1.0.2 * Suppresses the progress bar by default if we're not on a TTY. @@ -8,8 +8,6 @@ plugins from lite-xl, as well as different version of lite-xl. Can be used by a package manager plugin that works from inside the editor and calls this binary. -Releases forthcoming, should be available on Windows, Mac, Linux and FreeBSD. - Also contains a plugin_manager.lua plugin to integrate the binary with lite in the form of an easy-to-use GUI. @@ -21,7 +19,7 @@ Conforms to [SCPS3](https://github.com/adamharrison/straightforward-c-project-st ## Status -`lpm` 1.0 has been just released, and so may still contain bugs, but is generally feature-complete. +`lpm` 1.0 has been just released, and so may still contain bugs, but is generally feature-complete. ## Specification @@ -74,10 +72,10 @@ You can also use `scoop` to grab `lpm`, courtesy of @cvladan: scoop install https://gist.githubusercontent.com/cvladan/416c1945c9e446a6fc64ba766d6ee4ef/raw/lite-xl-plugin-manager.json ``` -## Supporting Libraries +## Supporting Libraries / Dependencies As seen in the `lib` folder, the following external libraries are used to -build `lpm`: +build `lpm` as git submodules: * `lua` (core program written in) * `mbedtls` (https/SSL support) @@ -86,6 +84,9 @@ build `lpm`: * `libzip` (for unpacking .zip files) * `libmicrotar` (for unpacking .tar.gz files) +To build, `lpm` only requires a C compiler. To run the underlying build process +for `mbedtls` and `libgit2`, `cmake` is also required. + ## Supported Platforms `lpm` should work on all platforms `lite-xl` works on; but releases are offered for the following: diff --git a/manifest.json b/manifest.json index cc5ded4..a6b13c7 100644 --- a/manifest.json +++ b/manifest.json @@ -67,17 +67,17 @@ "files": [ { "arch": "x86_64-linux", - "url": "https://github.com/lite-xl/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-linux.tar.gz", + "url": "https://github.com/adamharrison/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-linux.tar.gz", "checksum": "6a0589cf822e04563330bcf4d26b70be9a59ac268fbbd15073ae45ebb292917e" }, { "arch": "x86_64-windows", - "url": "https://github.com/lite-xl/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-windows.zip", + "url": "https://github.com/adamharrison/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-windows.zip", "checksum": "15aca182dbf3768c6f9366d3715cca2154b1a1fbce8d79794aa350f9e24ca2bf" }, { "arch": "x86_64-darwin", - "url": "https://github.com/lite-xl/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-darwin.tar.gz", + "url": "https://github.com/adamharrison/lite-xl-simplified/releases/download/v2.1.1-simplified/lite-xl-v2.1.1-simplified-x86_64-darwin.tar.gz", "checksum": "222f227adede48eb41fe98a800e3c67256a48ba2cc68bc8a9cce36ff9866e26c" } ] @@ -134,7 +134,7 @@ static int lpm_hash(lua_State* L) { } -int lpm_symlink(lua_State* L) { +static int lpm_symlink(lua_State* L) { #ifndef _WIN32 if (symlink(luaL_checkstring(L, 1), luaL_checkstring(L, 2))) return luaL_error(L, "can't create symlink %s: %s", luaL_checkstring(L, 2), strerror(errno)); @@ -144,7 +144,7 @@ int lpm_symlink(lua_State* L) { #endif } -int lpm_chmod(lua_State* L) { +static int lpm_chmod(lua_State* L) { #ifdef _WIN32 if (_wchmod(lua_toutf16(L, luaL_checkstring(L, 1)), luaL_checkinteger(L, 2))) #else @@ -998,7 +998,7 @@ static int lpm_pwd(lua_State* L) { return 1; } -int lpm_flock(lua_State* L) { +static int lpm_flock(lua_State* L) { const char* path = luaL_checkstring(L, 1); luaL_checktype(L, 2, LUA_TFUNCTION); int error_handler = lua_type(L, 3) == LUA_TFUNCTION ? 3 : 0; @@ -1048,7 +1048,7 @@ int lpm_flock(lua_State* L) { return 0; } -double get_time() { +static double get_time() { #if _WIN32 // Fuck I hate windows jesus chrsit. LARGE_INTEGER LoggedTime, Frequency; QueryPerformanceFrequency(&Frequency); @@ -1061,7 +1061,7 @@ double get_time() { #endif } -int lpm_time(lua_State* L) { +static int lpm_time(lua_State* L) { lua_pushnumber(L, get_time()); return 1; } |