Accepting request 991164 from devel:languages:lua

- Update to 3.5.0:
  - meta: openresty add api run_worker_thread
  - bugfix:allow get() in sharedict return value and nil
  - table new/clear function actual use scenarios
  - #1325: add missing paramter type for getfenv
  - Meta: make osdate accept strings
  - More tag descriptions
  - fix typos in annotation
- Update to 3.4.1:
  - Fix dofile returns multiple values ---@return any ...
  - add 3rd luafilesystem
  - OpenResty type annotation updates
  - fixing grammar in error message
- Add time_includes.patch to fix missing #includes
  (gh#sumneko/lua-language-server#1377).

OBS-URL: https://build.opensuse.org/request/show/991164
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/lua-language-server?expand=0&rev=11
This commit is contained in:
2022-07-26 17:45:21 +00:00
committed by Git OBS Bridge
7 changed files with 73 additions and 7 deletions

BIN
3.4.0.tar.gz (Stored with Git LFS)

Binary file not shown.

BIN
3.5.0.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.

BIN
lua-language-server-3.4.0-submodules.zip (Stored with Git LFS)

Binary file not shown.

BIN
lua-language-server-3.5.0-submodules.zip (Stored with Git LFS) Normal file

Binary file not shown.

View File

@@ -1,3 +1,22 @@
-------------------------------------------------------------------
Tue Jul 26 00:08:48 UTC 2022 - Matej Cepl <mcepl@suse.com>
- Update to 3.5.0:
- meta: openresty add api run_worker_thread
- bugfix:allow get() in sharedict return value and nil
- table new/clear function actual use scenarios
- #1325: add missing paramter type for getfenv
- Meta: make osdate accept strings
- More tag descriptions
- fix typos in annotation
- Update to 3.4.1:
- Fix dofile returns multiple values ---@return any ...
- add 3rd luafilesystem
- OpenResty type annotation updates
- fixing grammar in error message
- Add time_includes.patch to fix missing #includes
(gh#sumneko/lua-language-server#1377).
-------------------------------------------------------------------
Wed Jun 29 21:05:12 UTC 2022 - Matej Cepl <mcepl@suse.com>

View File

@@ -18,7 +18,7 @@
Name: lua-language-server
Version: 3.4.0
Version: 3.5.0
Release: 0
Summary: Lua Language Server coded by Lua
License: MIT
@@ -29,6 +29,9 @@ Source0: https://github.com/sumneko/%{name}/releases/download/%{version}/
Source1: https://github.com/sumneko/%{name}/archive/%{version}.tar.gz
Source2: lua-lsp-launcher.sh
Source3: README.suse-maint.md
# PATCH-FIX-UPSTREAM time_includes.patch gh#sumneko/lua-language-server#1377 mcepl@suse.com
# Add missing #include
Patch0: time_includes.patch
BuildRequires: fdupes
BuildRequires: gcc-c++
BuildRequires: ninja

44
time_includes.patch Normal file
View File

@@ -0,0 +1,44 @@
From e9ba0461065b94f3b0611cf6b5e2d88994cfa124 Mon Sep 17 00:00:00 2001
From: actboy168 <actboy168@gmail.com>
Date: Mon, 25 Jul 2022 09:42:26 +0800
Subject: [PATCH] fixes #1377
---
3rd/bee.lua/binding/lua_time.cpp | 2 ++
3rd/luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
luamake/3rd/bee.lua/binding/lua_time.cpp | 2 ++
3 files changed, 6 insertions(+)
--- a/3rd/bee.lua/binding/lua_time.cpp
+++ b/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {
--- a/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
+++ b/3rd/luamake/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {
--- a/luamake/3rd/bee.lua/binding/lua_time.cpp
+++ b/luamake/3rd/bee.lua/binding/lua_time.cpp
@@ -2,6 +2,8 @@
#if defined(_WIN32)
#include <Windows.h>
+#else
+#include <time.h>
#endif
namespace bee::lua_time {