Hello community,

here is the log from the commit of package zerobranestudio for openSUSE:Factory 
checked in at 2020-07-01 14:26:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/zerobranestudio (Old)
 and      /work/SRC/openSUSE:Factory/.zerobranestudio.new.3060 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "zerobranestudio"

Wed Jul  1 14:26:36 2020 rev:4 rq:817826 version:1.90

Changes:
--------
--- /work/SRC/openSUSE:Factory/zerobranestudio/zerobranestudio.changes  
2018-02-26 23:24:14.548296627 +0100
+++ 
/work/SRC/openSUSE:Factory/.zerobranestudio.new.3060/zerobranestudio.changes    
    2020-07-01 14:26:39.586761019 +0200
@@ -1,0 +2,292 @@
+Sat Jun 27 13:23:48 UTC 2020 - Matthias Mailänder <[email protected]>
+
+- unbundle more libraries
+
+-------------------------------------------------------------------
+Sat Jun 13 17:15:23 UTC 2020 - Matthias Mailänder <[email protected]>
+
+- update to version 1.90
+  - Added handling of dark mode switching in the OS (#999).
+  - Added setting dark mode when configured by the OS (#999).
+  - Added GetBestIconSize method to identify the most appropriate toolbar icon 
size.
+  - Added rescaling to fix blury text in commandbar on hidpi screens in macOS 
(#999).
+  - Added editor.showligatures setting (#960).
+  - Added workaround for large font in auto-complete popup when DirectWrite is 
used (#999, #960).
+  - Added support for font ligatures (#999, #960).
+  - Added workaround for Linux crash on middle mouse click in the editor 
(pkulchenko/wxlua#5).
+  - Added workaround for macOS crash when editor is closed with opened 
autocomplete popup (#999).
+  - Added workaround for white background in focused tree items (#999).
+  - Allowed warnings about globals from luacheck by default (#1013).
+  - Added IsExiting method (#166).
+  - Added check to improve compatibility with 'system' versions of wxlua 2.8.
+  - Added search option to search mapped directories when present (off by 
default).
+  - Added search option to follow symlinks to the searchbar (off by default).
+  - Added option for skipping symlinks during search.
+  - Added activating the editor tab after right click.
+  - Added CreateNotebook method to provide GetCurrentPage if not available 
(#166).
+  - Added GetShortFilePath method (#166).
+  - Added project scope to CloseAll and switched to using it in project 
switching.
+  - Added dryrun option for CloseAll method to retrieve documents to be closed.
+  - Added seven lexers from Scintila 3.10.1.
+  - Added GetTabCtrl method for the notebook.
+  - Added onFiletreeFileMarkSelected event (#166).
+  - Added MarginFromPoint editor method (#166).
+  - Added IsDirHoisted method for project tree.
+  - Added showing file icons on editor tabs.
+  - Added CreateFileIcon method (#166).
+  - Added switching to window being saved during Save As and Save All 
operations.
+  - Added SetFileName document method (#166).
+  - Added IsActive document method (#166).
+  - Added CreateDocument method (#166).
+  - Added OutputDebugStringW method for fs module.
+  - Added GetDocumentList method (#166).
+  - Added RemoveDocument method (#166).
+  - Added end scope name for else statement (#946).
+  - Added writing using fs library on Windows, as this preserves file 
attributes.
+  - Added editor tooltip showing full path (when available).
+  - Added support for hoisted directories.
+  - Enabled icon scaling on macOS for better file icons (#999).
+  - Explicitly disable lines in tree controls on macOS and Linux (#999).
+  - Improved support for running the IDE using Lua 5.2+ without module 
compatibility.
+  - Improved wxwidget API/autocomplete (closes #979).
+  - Minor update to zh-cn translation (closes #990).
+  - Moved updating file history to happen on document activation.
+  - Renamed the Simplified Chinese locale and improve translation
+  - Refactored file renaming from the file tree to avoid creating editor tabs.
+  - Removed CloseAllExcept method as it's not longer needed.
+  - Removed SetTabIndex and direct tab index usage.
+  - Removed hidpi option, as it's no longer needed with hidpi always supported 
(#999).
+  - Removed message on mixed end-of-line characters for binary files (#1012).
+  - Removed message on failing to load binary files, as the error is reported 
anyway (#1012).
+  - Removed wxlua build workarounds that are not needed with the current wxlua 
version (#999).
+  - Removed freezing of the file tree, as moving active filename into view 
fails (#999).
+  - Updated application icons to add 128- and 256-pixel ones.
+  - Updated editor marker size to work better on hidpi screens (#999).
+  - Update tab art processing to ensure that tabs are of the same height on 
macOS (#999).
+  - Upgraded luasec to 0.9 and openssl to 1.1.1d (closes #958).
+  - Updated copyright year in the About screen.
+  - Updated Windows build script to set static-libgcc to avoid dll 
dependencies (#999).
+  - Updated style processing for more robust handling of color values.
+  - Updated markup color for better visibility on dark background.
+  - Updated wxlua binaries to use wxlua 3.0.0.8 (#999).
+  - Updated macOS build script to require 10.14+ SDK for dark mode support 
(#999).
+  - Updated build scripts to add copying headers.lua when luasocket is built.
+  - Updated file icon font processing to make it independent from editor font 
(#999).
+  - Updated tonumber conversion to improve running the IDE using Lua 5.2 or 
Lua 5.3.
+  - Updated to disable Window menu on macOS (#999).
+  - Updated drawing of scaled file icons to improve font readability (#999).
+  - Updated sash/border size to be smaller and only scale on Windows (#999).
+  - Updated search toolbar size to match the main toolbar (#999).
+  - Updated toolbar icon auto-sizing to better work on smaller, but scaled 
screens (#999).
+  - Updated rescaling check, as it's only supported in wxwidgets 3.1.2+ (#999).
+  - Updated icon processing to work with scaled resolution (#999).
+  - Updated architecture setting to 64bit on macOS (#999).
+  - Updated macOS build script to use rpath in library references (#1018, 
#999).
+  - Updated clipboard handling of invalid UTF-8 content on Windows (#1012).
+  - Updated editor to set block cursor for binary files (#1012).
+  - Updated handling of binary files to load the entire file (closes #1012).
+  - Updated to add workaround for occasional crash on macOS and Linux (#999).
+  - Updated build scripts to add xml and xrc wxwidgets components (#999).
+  - Updated tab close button on Linux to match those on Windows and macOS 
(#999).
+  - Updated END_PROCESS callback to Detach launched process (#999).
+  - Updated launcher on Windows to use more reliable method to find executable 
path.
+  - Updated build scripts to enable AddPrivateFont in wxFont (#999).
+  - Updated build scripts to add libtiff to wxlua binary (#999, closes #963).
+  - Updated Linux dependencies to install GTK3 (#999).
+  - Updated to use wxLuaProcess when available, as it fixes macOS crash (#999).
+  - Updated to use API call to get label text without shortcut.
+  - Updated to use screen size when setting default frame size.
+  - Updated idle processing to skip items from the same group.
+  - Updated commandbar processing to use space as any character in 
prefiltering.
+  - Updated filtering logic in commandbar to better handle non-alphanum 
characters.
+  - Updated Love2d API for 11.3 (#247).
+  - Updated autocomplete to allow classes without any (sub-)elements.
+  - Updated to suppress repeated errors about files that can't be indexed.
+  - Updated love2d interpreter to cache love2d executable name per project.
+  - Updated love2d interpreter to reduce duplication.
+  - Updated markup restyling to not happen during cursor movement.
+  - Updated tooltip position to better work with wrapped lines.
+  - Updated IsSameDirectoryPath method to handle nil parameters (closes #1021).
+  - Updated handling of search-in-selection toggle to better work on macOS 
10.14+.
+  - Updated to allow incremental search with search-in-selection.
+  - Updated editor font loading to better handle invalid/missing font names.
+  - Updated to explicitly set art provider in pop out panels (#999).
+  - Updated handling of static analyzer/luacheck options to allow dynamic 
switching (closes #1013).
+  - Updated Linux arch check to handle 32bit userspace with 64bit kernel 
(closes #947).
+  - Updated shebang processing to also accept extensions.
+  - Updated the About screen to include Scintilla version when available 
(#994).
+  - Updated to allow StartStyling to work with deprecated parameters (closes 
#994).
+  - Updated Brazilian Portuguese translation.
+  - Updated Love2d API for 11.2 (#247).
+  - Updated RequestAttention method to check documents in floating panels.
+  - Updated commandbar to activate (floating) editor in symbol selection.
+  - Updated commandbar processing to work with multiple notebooks.
+  - Updated GetEditor to check for all notebooks that may have documents.
+  - Updated placeholder expansion to show labels for editor in any notebook.
+  - Updated CloseAll to report closing results.
+  - Updated to not close the document when the editor is moved to a different 
notebook.
+  - Updated root path generation to make it work from Windows paths with 
unicode names.
+  - Updated document activation to reduce dependence on tab being in a 
specific notebook.
+  - Updated CloseAll method to only retrieve tab control when needed.
+  - Updated commandbar to find better position over split notebook.
+  - Updated to improve file activation in project tree.
+  - Updated file icon generation to keep header on files with no extension.
+  - Updated dynamic icons to show the custom color in the header instead of 
the text (#470).
+  - Updated page closing to simplify selection of the page to activate.
+  - Updated commandbar to cancel selection on switching focus from the editor 
for consistency.
+  - Updated to use wxGetUserId to get user login for singleinstance checks 
(fixes #951).
+  - Updated to allow hoisting for mapped directories.
+  - Updated closing multiple tabs to stop closing on canceling save.
+  - Updated to preserve compatibility with older versions of wxlua/wxwidgets.
+  - Updated indicator handling to work when tabs are quickly closed.
+  - Updated find/replace result message to get proper translation.
+  - Updated Show Location label to more informative Open Containing Folder.
+  - Updated Show Location to use the default explorer as configured (Windows).
+  - Upgraded Mobdebug (0.706) to improve debugging of wxlua apps under strict 
(closes #962).
+  - Upgraded LexLPeg lexers to support new lexer syntax.
+  - Fixed reset of the output/console window color scheme when copied from the 
editor styles.
+  - Fixed default reference for editor.showligatures config setting (#960).
+  - Fixed setting default calltip colors when setting custom color schemes 
(#1024).
+  - Fixed the project tree not scrolled to the left in some cases after 
activation (#999).
+  - Fixed caching of loaded bitmaps.
+  - Fixed showing icons in the Stack view panel (#999).
+  - Fixed setting focus on text fiels in command bar (#999).
+  - Fixed memory allocation for the directory path (thanks to Shmuel 
Zeigerman).
+  - Fixed assertion in notebook:GetPage when requested page is not in range 
(#999).
+  - Fixed menu item name shown in a long tooltip.
+  - Fixed closing directory handles to avoid locking last expanded directory 
(fixes #1029).
+  - Fixed showing invalid UTF-8 in debugger tooltips (fixes #1025).
+  - Fixed luasocket issues reported under strict (closes #950).
+  - Fixed updating editor tab icon when un/setting start file.
+  - Fixed restarting incremental search when initiated with search panel open.
+  - Fixed keeping the editor tab open when file is renamed from the file tree.
+  - Fixed SetupKeywords to re-apply styles when requested (closes #1014).
+  - Fixed reported error message for some file writing errors.
+  - Fixed closing the current editor tab from menu with some other panel being 
active.
+  - Fixed checking output from external commands before interpreter is set 
(#973).
+  - Fixed handling of output callbacks not returning expected strings (closes 
#973).
+  - Fixed error when no APIs loaded (in eg experimental interpreter) (closes 
#976).
+  - Fixed Luacheck not receiving API globals by default or with custom globals 
(#976).
+  - Fixed recognition of linecomment option in lexlpeg lexers (close #1007).
+  - Fixed error reported on shebang with executable not matching any lexer 
(fixes #969).
+  - Fixed loading of api files relative to package directory (fixes #965).
+  - Fixed arg to have the 'original' (instead of shortened) name during 
debugging.
+  - Fixed storing name of unsaved tabs in recovery records.
+  - Fixed error shown when focus is set on the editor while it's removed from 
the notebook.
+  - Fixed expanding mapped directories when adding new items under it.
+  - Fixed allowing to add new file/directory only under directories.
+  - Fixed project tree refresh and sync after un/mapping directory or setting 
start file.
+  - Fixed black background shown for generated file icons on Linux.
+  - Fixed showing current file in the project tree.
+  - Fixed adding files/directories under mapped and hoisted directories.
+  - Fixed adding mapped directory after drop on project tree over no item.
+  - Fixed transparent background for dynamic icons in the project tree (#470).
+  - Fixed activation of editor tab from the filetree on Windows.
+  - Fixed output truncation after launched process terminates (fixes #949).
+  - Fix margin click selection to select folded block.
+  - Fixed typo in the usage instructions.
+  - Fixed message on how to configure short path conversion on Windows (fixes 
#948).
+  - Fix symbol indicators when no editor windows are open.
+  - Fixed incorrect outline with repeat until before else (fixes #946).
+  - Removed CloseAllExcept method as it's no longer needed.
+  - Removed SetTabIndex and direct tab index usage.
+
+- changes from version 1.80
+  - Added document SetTabIndex method (#166).
+  - Added restoring editor content when loading a file fails.
+  - Added lexer detection based on the shebang content for unknown extensions.
++++ 95 more lines (skipped)
++++ between /work/SRC/openSUSE:Factory/zerobranestudio/zerobranestudio.changes
++++ and 
/work/SRC/openSUSE:Factory/.zerobranestudio.new.3060/zerobranestudio.changes

Old:
----
  1.70.tar.gz

New:
----
  1.90.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ zerobranestudio.spec ++++++
--- /var/tmp/diff_new_pack.gyutmC/_old  2020-07-01 14:26:40.998765399 +0200
+++ /var/tmp/diff_new_pack.gyutmC/_new  2020-07-01 14:26:41.002765411 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package zerobranestudio
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,19 +12,19 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define lua_version 5.1
 
 Name:           zerobranestudio
-Version:        1.70
+Version:        1.90
 Release:        0
 Summary:        Lightweight Lua IDE
 License:        MIT
 Group:          Development/Tools/IDE
-Url:            http://studio.zerobrane.com/
+URL:            http://studio.zerobrane.com/
 Source:         
https://github.com/pkulchenko/ZeroBraneStudio/archive/%{version}.tar.gz
 # PATCH-FIX-OPENSUSE use system Lua
 Patch0:         zbstudio.patch
@@ -33,11 +33,19 @@
 BuildRequires:  fdupes
 BuildRequires:  gcc-c++
 BuildRequires:  hicolor-icon-theme
+BuildRequires:  lua51-copas
 BuildRequires:  lua51-devel
+BuildRequires:  lua51-lpeg
+BuildRequires:  lua51-luafilesystem
+BuildRequires:  lua51-luasec
 BuildRequires:  lua51-luasocket
 BuildRequires:  wxlua-devel
 Requires:       libwxlua
 Requires:       lua51-BitOp
+Requires:       lua51-copas
+Requires:       lua51-lpeg
+Requires:       lua51-luafilesystem
+Requires:       lua51-luasec
 Requires:       lua51-luasocket
 Requires:       Lua(API) = %lua_version
 Recommends:     luajit
@@ -77,19 +85,14 @@
 cp lualibs/lua_parser_loose.lua %{buildroot}%{_datadir}/zbstudio/lualibs/
 cp lualibs/lua_lexer_loose.lua %{buildroot}%{_datadir}/zbstudio/lualibs/
 
+# unbundle system provided libraries
+rm -rf %{buildroot}%{_datadir}/zbstudio/lualibs/{copas,coxpcall}
+
 # use the doc macro to put it in the right location
 rm -rf %{buildroot}%{_datadir}/doc
 
 %fdupes %{buildroot}%{_prefix}
 
-%post
-%desktop_database_post
-%icon_theme_cache_post
-
-%postun
-%desktop_database_postun
-%icon_theme_cache_postun
-
 %files
 %defattr(-,root,root)
 %doc CHANGELOG.md LICENSE README.md

++++++ 1.70.tar.gz -> 1.90.tar.gz ++++++
/work/SRC/openSUSE:Factory/zerobranestudio/1.70.tar.gz 
/work/SRC/openSUSE:Factory/.zerobranestudio.new.3060/1.90.tar.gz differ: char 
13, line 1

++++++ zbstudio.patch ++++++
--- /var/tmp/diff_new_pack.gyutmC/_old  2020-07-01 14:26:41.046765547 +0200
+++ /var/tmp/diff_new_pack.gyutmC/_new  2020-07-01 14:26:41.046765547 +0200
@@ -1,10 +1,20 @@
+From 3467fa72180e6f6a133311c925a5b4bda5723860 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Matthias=20Mail=C3=A4nder?=
+ <[email protected]>
+Date: Sat, 13 Jun 2020 19:13:45 +0200
+Subject: [PATCH] Use system Lua.
+
+---
+ zbstudio/zbstudio.in | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
 diff --git a/zbstudio/zbstudio.in b/zbstudio/zbstudio.in
-index 7d22f1f..225e655 100644
+index 68b1e103..b8e5a52d 100644
 --- a/zbstudio/zbstudio.in
 +++ b/zbstudio/zbstudio.in
-@@ -1,4 +1,4 @@
- #!/bin/bash
- 
+@@ -3,4 +3,4 @@
  if [[ "$(uname -m)" == "x86_64" ]]; then ARCH="x64"; else ARCH="x86"; fi
--(cd "@IDE_DATADIR@"; bin/linux/$ARCH/lua src/main.lua zbstudio "$@") &
-+(cd "@IDE_DATADIR@"; @LUA_EXECUTABLE@ src/main.lua zbstudio "$@") &
+ CWD="$PWD" # save the current directory, as it's going to change
+ 
+-(cd "@IDE_DATADIR@"; bin/linux/$ARCH/lua src/main.lua zbstudio -cwd "$CWD" 
"$@" 2>/dev/null) &
++(cd "@IDE_DATADIR@"; @LUA_EXECUTABLE@ src/main.lua zbstudio -cwd "$CWD" "$@" 
2>/dev/null) &


Reply via email to