11
0

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:
Richard Brown 2022-07-26 17:45:21 +00:00 committed by Git OBS Bridge
commit 9db44a3608
7 changed files with 73 additions and 7 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d7693bf37e18038b79eb74c8f5f35231844fb61557bc502efc42919b00fbf311
size 1954656

3
3.5.0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:0d79ec00291cfe65d24c99d5d06566ef4f776ed48df482428bc711e133e50f6b
size 3108887

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d32a5c96169cd93b60a2d6dd079904f436eac2d5ba698d55a0f74d4c0c670f3e
size 27231592

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:b8dbbd7834fb338a36426b11f8f2cac7c995e7ccf846ac0a5a02b8c7d3b55344
size 30544939

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 {