Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package lite-xl-plugins for openSUSE:Factory 
checked in at 2022-10-19 13:17:36
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/lite-xl-plugins (Old)
 and      /work/SRC/openSUSE:Factory/.lite-xl-plugins.new.2275 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "lite-xl-plugins"

Wed Oct 19 13:17:36 2022 rev:2 rq:1029769 version:git20221005.b1bc52f

Changes:
--------
--- /work/SRC/openSUSE:Factory/lite-xl-plugins/lite-xl-plugins.changes  
2022-05-05 23:07:00.885603839 +0200
+++ 
/work/SRC/openSUSE:Factory/.lite-xl-plugins.new.2275/lite-xl-plugins.changes    
    2022-10-19 13:18:04.757272127 +0200
@@ -1,0 +2,170 @@
+Thu Oct 13 15:23:31 UTC 2022 - Scott Bradnick <[email protected]>
+
+- Removing unused nonicons.patch
+
+-------------------------------------------------------------------
+Wed Oct 05 16:44:16 UTC 2022 - [email protected]
+
+- Update to version git20221005.b1bc52f:
+  * ipc: add different methods of opening directories
+
+-------------------------------------------------------------------
+Wed Oct 05 14:06:13 UTC 2022 - [email protected]
+
+- Update to version git20221004.2eb56c5:
+  * Added support for LaTex package and class syntax highlighting
+  * Update list of Fennel keywords to everything covered by 1.2.0 (#126)
+  * add inter-process communication (ipc) plugin (#127)
+  * regexreplacepreview: drop deprecated call to commandview set text
+  * spellcheck: updated config spec to support file type
+  * Update `language_rivet.lua` (#125)
+  * nonicons: support dynamic scaling
+  * settings: added support for file and directory options
+  * Add syntax highlighting to JSX tags (#118)
+  * Syntax highlighter for the MiniScript programming language (#124)
+  * `language_assembly_x86`: Add name
+  * settings: reapply user project and init settings after load, also added 
clear font cache button
+  * Added an option for number of parens
+  * Add `primary_selection`
+
+-------------------------------------------------------------------
+Wed Aug 31 21:05:41 UTC 2022 - Scott Bradnick <[email protected]>
+
+- Some prep for lite-xl version 2.1.0:
+  * switched to upstream 2.1 branch
+  * pulled in and added new 'console.lua' (console-new.lua)
+  * updated patch for new 'nonicons.lua' (nonicons-userdir.patch)
+  * removed the following 2 files as they were fixed upstream:
+    * indentguide.lua
+    * datetimestamps.patch
+
+-------------------------------------------------------------------
+Wed Aug 31 19:29:24 UTC 2022 - [email protected]
+
+- Update to version git20220822.6700c4f:
+  * removed linecopypaste as it is now part of core
+  * settings: revert to default fonts on load error
+  * settings: handle font loading error
+  * Update nonicons.lua 2.1
+  * fixed some minor mistakes
+  * Use new `StatusView:add_item` syntax (#117)
+  * `autoinsert`: remove initial refactoring code added by mistake
+  * `autoinsert`: avoid deleting wrong characters
+  * Update language_rivet.lua
+  * `language_crystal`: remove file as we're linking to an external repo
+  * Fixed Crystal Plugin Link (#113) * Fixed Crystal Plugin Link
+  * Added language_ignore plugin (#111)
+  * Corrected wrong term: ss -> gif
+  * settings: error if widgets not found with url to repo
+  * settings: fixed default font handling
+  * settings: set about title font as reference of big_font
+  * settings: dont make toolbarview a requirement
+  * Added missing * to console plugin in README
+  * Syntax highlighting for intel x86 assembly (#107)
+  * settings: added ability to configure text and code fonts
+  * settings: fix theme loading on MacOSX when fd's have been exceeded
+  * Added language_env plugin
+  * updates to new command_view:enter interface
+  * force_syntax: use new command_view:enter interface
+  * language_cpp: removed
+  * linenumbers: fix gutter width and centerdoc combo
+  * centerdoc: fix gutter width issues
+  * `minimap`: align rects to pixel grid
+  * settings: better about childs update strategy
+  * Add language_caddyfile (#104)
+  * `nonicons`: link to invariable font download
+  * Fix incorrect link to Crystal syntax highlighting (#94)
+  * Add support for SQL strings to language_php
+  * Fixed wrong icon on opened directory
+  * Add language_htaccess
+  * `minimap`: handle more cache invalidation cases
+  * `minimap`: don't crash with colors with invalid alpha
+  * `minimap`: fix cutoff offset
+  * language_v: add syntax support for raw strings
+  * language_go: add syntax support for Go generic functions
+  * language_v: add missing table to files
+  * `minimap`: correctly manage inserted/removed lines
+  * `minimap`: performance improvements (cache, merge, avoid splitting)
+  * `minimap`: allow per-`DocView` toggle even if globally disabled
+  * settings: added tooltip to website button
+  * settings: added about pane and status bar options
+  * changed indentation to 2 spaces for consistency across the repo
+  * align_caret: correct mod version
+  * `minimap`: Add per-`DocView` toggle and option to hide on small docs (#96)
+  * language_php: support heredocs and variables inside strings
+  * Add `align_carets` (#89)
+  * language_go: small fixes (#95)
+  * added wordcount plugin
+  * language_go: extended matching and other improvements
+  * bracketmatch: return line height on DocView:draw_line_text
+  * Add more `bracketmatch` styles (#81)
+  * settings: optimizations and properly apply plugins skip versions
+  * settings: remove no longer applicable show spaces option
+  * fix wrong loading order of user enabled plugins
+  * removed lite-xl version and left only mod version
+  * settings: save settings on theme change
+  * settings: clean previous binds on apply_kybinding()
+  * colorpreview: enable by default
+  * autosave: enable by default
+  * renamed enable to enabled to match all plugins
+  * colorpreview: allow live disabling
+  * autosave: allow live disabling
+  * settings: do not save at exit to prevent config conflicts with other 
lite-xl instances
+  * added config_spec and other plugin compatibility fixes.
+  * settings: load config_spec of plugins enabled after startup
+  * settings: allow empty descriptions with default value
+  * settings: call scan_plugins_spec() before merge_settings()
+  * settings: added ability to scan for plugins config_spec.
+  * Add settings gui plugin (#65)
+  * indentguide: renamed idx to line
+  * colorpreview: renamed idx to line
+  * smoothcaret: fixed new line wrap issue
+  * Fix various plugins for linewrapping
+  * minimap: simplify predicate since Object:is is now strict
+  * lfautoinsert: make use of new strict predicate
+  * Added asterisk
+  * Added exterm
+  * Updated spellcheck to work with linewrapping.
+  * minimap: fix to work with lite-xl#916
+  * language_yaml: also support bracket lists after hyphens
+  * language_yaml: fixes and improvements
+  * add treeview-menu-extender plugin (#36)
+  * autowrap: removed no longer needed command see lite-xl #889
+  * nonicons.lua: Use features from v2.1
+  * language_glaz: update mod and lite-xl version.
+  * hidelinenumbers: removed, the linenumbers plugin provides a better 
alternative
+  * hidestatus: remove since the statusbar provides this now
+  * force_syntax: use new StatusView api
+  * rainbowparen: added ability to toggle.
+  * autowrap: show status on toggle
+  * spellcheck: added toggle command
+  * autowrap: fixed missing require 'core.common', added toggle command
+  * bigclock: fixed fonts loading and improved performance by copying only on 
scale changes
+  * centerdoc: added toggle and zen mode toggle commands
+  * datetimestamps: added insert custom command
+  * eval: fixed eval:replace command
+  * gitstatus: use new StatusView api
+  * linenumbers: changed to new standard config method
+  * memoryusage: use new StatusView api, use two decimals
+  * opacity: added some notifications
+  * openselected: added context menu, changed conflicting shortcut
+  * restoretabs: set command predicate to nil
+  * scalestatus: use new StatusView api
+  * smallclock: use new StatusView api, removed coroutine
+  * spellcheck: added context menu
+  * statusclock: use new StatusView api, removed coroutine optional 
core.redraw when %S is user
+  * tabnumbers: make use of an unused variable
+  * unboundedscroll: added command to toggle
+  * regexreplacepreview: use table.unpack in place of unpack
+  * 2.1: Additional version adjustments of newly added plugins.
+  * indentguide: use indent size from doc instead of config
+  * Appropriately merged config hashes.
+  * Bumping versions.
+  * Update language_v.lua
+  * Update language_rivet.lua
+  * Rename `indentguide` variables
+  * Allow customizing `indentguide` highlight color
+  * Add multicursor support to `indentguide`
+  * Make `indentguide` highlight the current block
+
+-------------------------------------------------------------------

Old:
----
  datetimestamps.patch
  indentguide.lua
  lite-xl-plugins-git20220501.7bee960.tar.gz
  nonicons.patch

New:
----
  lite-xl-plugins-git20221005.b1bc52f.tar.gz
  nonicons-userdir.patch

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

Other differences:
------------------
++++++ lite-xl-plugins.spec ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.405273470 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.409273478 +0200
@@ -17,7 +17,7 @@
 
 %define programname lite-xl
 Name:           lite-xl-plugins
-Version:        git20220501.7bee960
+Version:        git20221005.b1bc52f
 Release:        0
 Summary:        Additional plugins for %{programname}
 License:        MIT
@@ -27,15 +27,12 @@
 Source1:        console.lua
 ### https://github.com/yamatsum/nonicons/raw/master/dist/nonicons.ttf
 Source2:        nonicons.ttf
-### 
https://github.com/lite-xl/lite-xl-plugins/issues/40#issuecomment-1059862448
-Source3:        indentguide.lua
 ### 
https://raw.githubusercontent.com/vincens2005/lite-xl-gitdiff-highlight/master/init.lua
-Source4:        gitdiff_highlight-init.lua
+Source3:        gitdiff_highlight-init.lua
 ### 
https://raw.githubusercontent.com/vincens2005/lite-xl-gitdiff-highlight/master/gitdiff.lua
-Source5:        gitdiff_highlight-gitdiff.lua
-Source6:        smb-addl-nonicons.txt
-Patch0:         datetimestamps.patch
-Patch1:         nonicons.patch
+Source4:        gitdiff_highlight-gitdiff.lua
+Source5:        smb-addl-nonicons.txt
+Patch0:         nonicons-userdir.patch
 Recommends:     words
 BuildArch:      noarch
 
@@ -45,27 +42,27 @@
 %prep
 %setup -q
 %patch0
-%patch1
 
 %build
-sed -i '/  -- Following without special icon:/ r %{SOURCE6}' 
%{_builddir}/%{name}-%{version}/plugins/nonicons.lua
+sed -i '/  -- Following without special icon:/ r %{SOURCE5}' 
%{_builddir}/%{name}-%{version}/plugins/nonicons.lua
 
 %install
 mkdir -p %{buildroot}%{_datadir}/%{programname}/plugins
 mkdir -p %{buildroot}%{_datadir}/%{programname}/plugins/gitdiff_highlight
 mkdir -p %{buildroot}%{_datadir}/%{programname}/fonts
 mkdir -p %{buildroot}%{_datadir}/doc/%{name}
-### Already provided by base package; conflicts if included.
-rm plugins/language_cpp.lua
-### 'console.lua' seems to be independent of what git repo provides/
+### 'console.lua' seems to exist independent of what git repo provides/
 cp -v %{SOURCE1} plugins/
-### 'indentguide.lua' seems broken otherwise.
-cp -v %{SOURCE3} plugins/
+#####
+### 20221005, throwing error
+#rm -v plugins/ipc.lua
+# in ~/.config/lite-xl/init.lua:
+# config.plugins.ipc = false
 #####
 install -D -m644 plugins/* %{buildroot}%{_datadir}/%{programname}/plugins
 install -D -m644 %{SOURCE2} %{buildroot}%{_datadir}/%{programname}/fonts
-install -D -m644 %{SOURCE4} 
%{buildroot}%{_datadir}/%{programname}/plugins/gitdiff_highlight/init.lua
-install -D -m644 %{SOURCE5} 
%{buildroot}%{_datadir}/%{programname}/plugins/gitdiff_highlight/gitdiff.lua
+install -D -m644 %{SOURCE3} 
%{buildroot}%{_datadir}/%{programname}/plugins/gitdiff_highlight/init.lua
+install -D -m644 %{SOURCE4} 
%{buildroot}%{_datadir}/%{programname}/plugins/gitdiff_highlight/gitdiff.lua
 install -D -m644 LICENSE %{buildroot}%{_datadir}/doc/%{name}/LICENSE
 install -D -m644 README.md %{buildroot}%{_datadir}/doc/%{name}/README.md
 

++++++ _service ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.445273553 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.449273561 +0200
@@ -6,6 +6,7 @@
   <service name="obs_scm" mode="disabled">
     <param name="url">https://github.com/lite-xl/lite-xl-plugins</param>
     <param name="scm">git</param>
+    <param name="revision">2.1</param>
     <param name="versionformat">git%cd.%h</param>
     <!--
     <param name="parent-tag">v2.0.5</param>

++++++ _servicedata ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.469273603 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.477273619 +0200
@@ -1,6 +1,6 @@
 <servicedata>
 <service name="tar_scm">
                 <param 
name="url">https://github.com/lite-xl/lite-xl-plugins</param>
-              <param 
name="changesrevision">806e5302f7b839c18a3d24658a20ab84ea9608a3</param></service></servicedata>
+              <param 
name="changesrevision">b1bc52ffc0ac7b288297ca48e7f4232399f53e43</param></service></servicedata>
 (No newline at EOF)
 

++++++ console.lua ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.501273669 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.505273677 +0200
@@ -1,4 +1,4 @@
--- mod-version:2 -- lite-xl 2.0
+-- mod-version:3
 local core = require "core"
 local keymap = require "core.keymap"
 local command = require "core.command"
@@ -7,11 +7,6 @@
 local style = require "core.style"
 local View = require "core.view"
 
-config.console_size = 250 * SCALE
-config.max_console_lines = 200
-config.autoscroll_console = true
-
-
 local console = {}
 
 -- The main object is used to store the main console view and the function for
@@ -28,6 +23,49 @@
 local output_id = 0
 local visible = false
 
+config.plugins.console = common.merge({
+  size = 250 * SCALE,
+  max_lines = 200,
+  autoscroll = true,
+  config_spec = {
+    name = "Console",
+    {
+      label = "Size",
+      description = "Default height of the console.",
+      path = "size",
+      type = "number",
+      min = 100,
+      default = 250,
+      get_value = function(value)
+        return value / SCALE
+      end,
+      set_value = function(value)
+        return value * SCALE
+      end,
+      on_apply = function(value)
+        if main.view then
+          main.view:set_target_size("y", value)
+        end
+      end
+    },
+    {
+      label = "Maximum Lines",
+      description = "The maximum amount of output lines to keep on history.",
+      path = "max_lines",
+      type = "number",
+      min = 100,
+      default = 200
+    },
+    {
+      label = "Auto-scroll",
+      description = "Automatically scroll down when printing new output.",
+      path = "autoscroll",
+      type = "toggle",
+      default = true,
+    }
+  }
+}, config.plugins.console)
+
 function console.clear()
   output = { { text = "", time = 0 } }
 end
@@ -60,7 +98,7 @@
       file_pattern = opt.file_pattern,
       file_prefix = opt.file_prefix,
     })
-    if #output > config.max_console_lines then
+    if #output > config.plugins.console.max_lines then
       table.remove(output, 1)
       for view in pairs(views) do
         view:on_line_removed()
@@ -81,7 +119,7 @@
 local function init_opt(opt)
   local res = {
     command = "",
-    file_pattern = "[^?:%s]+%.[^?:%s]+",
+    file_pattern = "([^?:%s]+%.[^?:%s]+):?(%d*):?(%d*)",
     error_pattern = "error",
     warning_pattern = "warning",
     cwd = ".",
@@ -118,7 +156,7 @@
         push_output("\n", opt)
       end
       push_output("!DIVIDER\n", opt)
-  
+
       opt.on_complete(proc:returncode())
     else
       core.error("Error while executing command: %q", err)
@@ -154,7 +192,7 @@
 
 function ConsoleView:new()
   ConsoleView.super.new(self)
-  self.target_size = config.console_size
+  self.target_size = config.plugins.console.size
   self.scrollable = true
   self.hovered_idx = -1
   views[self] = true
@@ -247,16 +285,23 @@
     local file, line, col = item.text:match(item.file_pattern)
     local resolved_file = resolve_file(item.file_prefix, file)
     if not resolved_file then
+      -- fixes meson output which adds ../ for build sub directories
+      resolved_file = resolve_file(
+        item.file_prefix,
+        file:gsub("%.%./", ""):gsub("^%./", "")
+      )
+    end
+    if not resolved_file then
       core.error("Couldn't resolve file \"%s\"", file)
       return
     end
     core.try(function()
-      core.set_active_view(core.last_active_view)
-      local dv = core.root_view:open_doc(core.open_doc(resolved_file))
-      if line then
-        dv.doc:set_selection(line, col or 0)
-        dv:scroll_to_line(line, false, true)
-      end
+      core.root_view:open_doc(core.open_doc(resolved_file))
+      line = tonumber(line) or 1
+      col = tonumber(col) or 1
+      core.add_thread(function()
+        core.active_view.doc:set_selection(line, col)
+      end)
     end)
   end
 end
@@ -282,7 +327,7 @@
 
 function ConsoleView:update(...)
   if self.last_output_id ~= output_id then
-    if config.autoscroll_console then
+    if config.plugins.console.autoscroll then
       self.scroll.to.y = self:get_scrollable_size()
     end
     self.last_output_id = output_id
@@ -323,8 +368,8 @@
 function main.start_console()
   -- init static bottom-of-screen console
   main.view = ConsoleView()
-  local node = core.root_view:get_active_node()
-  node:split("down", main.view, {y = true}, true)
+  local node = core.root_view.root_node:get_node_for_view(core.command_view)
+  node:split("up", main.view, {y = true}, true)
 
   function main.view:update(...)
     local dest = visible and self.target_size or 0
@@ -352,11 +397,18 @@
   end,
 
   ["console:run"] = function()
-    core.command_view:set_text(last_command, true)
-    core.command_view:enter("Run Console Command", function(cmd)
-      console.run { command = cmd }
-      last_command = cmd
-    end)
+    core.command_view:enter("Run Console Command", {
+      submit = function(cmd)
+        if cmd == "clear" or cmd == "cls" then
+          console.clear()
+        else
+          console.run { command = cmd }
+          last_command = cmd
+        end
+      end,
+      text = last_command,
+      select_text = true
+    })
   end
 })
 

++++++ gitdiff_highlight-init.lua ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.541273751 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.545273760 +0200
@@ -1,4 +1,4 @@
--- mod-version:2
+-- mod-version:3
 local core = require "core"
 local config = require "core.config"
 local DocView = require "core.docview"

++++++ lite-xl-plugins-git20220501.7bee960.tar.gz -> 
lite-xl-plugins-git20221005.b1bc52f.tar.gz ++++++
++++ 13689 lines of diff (skipped)

++++++ lite-xl-plugins.obsinfo ++++++
--- /var/tmp/diff_new_pack.kimkUe/_old  2022-10-19 13:18:05.725274133 +0200
+++ /var/tmp/diff_new_pack.kimkUe/_new  2022-10-19 13:18:05.729274142 +0200
@@ -1,5 +1,5 @@
 name: lite-xl-plugins
-version: git20220501.7bee960
-mtime: 1651423207
-commit: 7bee960296403e20f631d14764fc583986b163e1
+version: git20221005.b1bc52f
+mtime: 1664987289
+commit: b1bc52ffc0ac7b288297ca48e7f4232399f53e43
 

++++++ nonicons-userdir.patch ++++++
--- plugins/nonicons.lua.orig   2022-10-05 10:14:24.516441700 -0400
+++ plugins/nonicons.lua        2022-10-05 10:14:48.868524604 -0400
@@ -49,7 +49,7 @@
   }
 }, config.plugins.nonicons)
 
-local icon_font = renderer.font.load(USERDIR.."/fonts/nonicons.ttf", 15 * 
SCALE)
+local icon_font = renderer.font.load(DATADIR.."/fonts/nonicons.ttf", 15 * 
SCALE)
 local chevron_width = icon_font:get_width("???")
 local previous_scale = SCALE
 local extension_icons = {

Reply via email to