6 Commits

Author SHA256 Message Date
8e88a3896e fix(main): removes _build* and adds new line in micro-editor.changes file 2026-01-15 14:13:28 -03:00
b7ff83e17d fix(spec): add micro-editor-Makefile.patch to spec file 2026-01-15 11:21:25 -03:00
b7382c2149 feat(changes): updates micro-editor.changes file 2026-01-15 10:22:57 -03:00
dd96b7ed26 feat(update): update micro-editor to version 2.0.15 2026-01-14 11:27:23 -03:00
0961a9a6c0 Accepting request 1311188 from devel:languages:go
- Update to version 2.0.14:
  * matchbracestyle to choose whether to underline or highlight matching braces
  * matchbraceleft to choose whether to match brace to the left of the cursor
  * hltrailingws to highlight trailing whitespace
  * hltaberrors to highlight tab vs space inconsistencies
  * Add jump command to perform a relative goto
  * Add sub-word movement actions and improve word movements
  * Add paragraph selection actions and improve paragraph movements
  * Make Shift-PageUp/Down the default keybindings for SelectPageUp/Down
  * Add signatures support to improve filetype detection in ambiguous cases
  * Provide default.yaml for default syntax highlighting
  * Improvements in syntax highlighting for various languages
  * More generic support for mouse events handling
  * Add mouse release and mouse drag events
  * Make MouseMultiCursor toggle cursors
  * Better support for handling mouse events in lua
  * Better API for lua timers
  * Add onAnyEvent callback
  * Allow colorschemes to include other colorschemes
  * Give user's files in ~/.config/micro/ precedence over micro's built-in 
    files
  * Respect umask when creating files
  * Smarter smartpaste
  * Make default fileformat value suited to the OS
  * Improve buffer view relocation after jumping to a far-away location
  * Improve return values of some actions for better action chaining
  * Autocomplete filetypes
  * Allow raw escape sequence to be bound with bind
  * Various small improvements
  * Fix various crashes (forwarded request 1311162 from amanzini)

OBS-URL: https://build.opensuse.org/request/show/1311188
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/micro-editor?expand=0&rev=8
2025-10-14 16:08:06 +00:00
fd39932c22 - Update to version 2.0.14:
* matchbracestyle to choose whether to underline or highlight matching braces
  * matchbraceleft to choose whether to match brace to the left of the cursor
  * hltrailingws to highlight trailing whitespace
  * hltaberrors to highlight tab vs space inconsistencies
  * Add jump command to perform a relative goto
  * Add sub-word movement actions and improve word movements
  * Add paragraph selection actions and improve paragraph movements
  * Make Shift-PageUp/Down the default keybindings for SelectPageUp/Down
  * Add signatures support to improve filetype detection in ambiguous cases
  * Provide default.yaml for default syntax highlighting
  * Improvements in syntax highlighting for various languages
  * More generic support for mouse events handling
  * Add mouse release and mouse drag events
  * Make MouseMultiCursor toggle cursors
  * Better support for handling mouse events in lua
  * Better API for lua timers
  * Add onAnyEvent callback
  * Allow colorschemes to include other colorschemes
  * Give user's files in ~/.config/micro/ precedence over micro's built-in 
    files
  * Respect umask when creating files
  * Smarter smartpaste
  * Make default fileformat value suited to the OS
  * Improve buffer view relocation after jumping to a far-away location
  * Improve return values of some actions for better action chaining
  * Autocomplete filetypes
  * Allow raw escape sequence to be bound with bind
  * Various small improvements
  * Fix various crashes

OBS-URL: https://build.opensuse.org/package/show/devel:languages:go/micro-editor?expand=0&rev=17
2025-10-13 15:32:15 +00:00
8 changed files with 99 additions and 24 deletions

View File

@@ -3,7 +3,7 @@
<param name="url">https://github.com/zyedidia/micro</param>
<param name="scm">git</param>
<param name="exclude">.git</param>
<param name="revision">v2.0.13</param>
<param name="revision">v2.0.14</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="changesgenerate">enable</param>
<param name="versionrewrite-pattern">v(.*)</param>
@@ -16,6 +16,6 @@
<param name="compression">gz</param>
</service>
<service name="go_modules" mode="disabled">
<param name="archive">micro-2.0.13.tar.gz</param>
<param name="archive">micro-2.0.14.tar.gz</param>
</service>
</services>

View File

@@ -1,4 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/zyedidia/micro</param>
<param name="changesrevision">68d88b571de6dca9fb8f03e2a3caafa2287c38d4</param></service></servicedata>
<param name="changesrevision">04c577049ca898f097cd6a2dae69af0b4d4493e1</param></service></servicedata>

View File

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

BIN
micro-2.0.15.tar.gz LFS Normal file

Binary file not shown.

View File

@@ -1,7 +1,7 @@
diff --git a/Makefile b/Makefile
index fc9601a..831585e 100644
--- a/Makefile
+++ b/Makefile
Index: micro-2.0.15/Makefile
===================================================================
--- micro-2.0.14.orig/Makefile
+++ micro-2.0.15/Makefile
@@ -1,9 +1,9 @@
.PHONY: runtime build generate build-quick
@@ -15,7 +15,7 @@ index fc9601a..831585e 100644
go run tools/build-date.go)
ADDITIONAL_GO_LINKER_FLAGS = $(shell GOOS=$(shell go env GOHOSTOS) \
GOARCH=$(shell go env GOHOSTARCH) \
@@ -16,7 +16,7 @@ VSCODE_TESTS_BASE_URL = 'https://raw.githubusercontent.com/microsoft/vscode/e6a4
@@ -16,7 +16,7 @@ VSCODE_TESTS_BASE_URL = 'https://raw.git
build: generate build-quick
build-quick:

View File

@@ -1,3 +1,77 @@
-------------------------------------------------------------------
Thu Jan 15 13:04:30 UTC 2026 - Gabriel Bazzotti <gabriel.bazzotti@suse.com>
- Update to version 2.0.15:
* truecolor (supersedes the MICRO_TRUECOLOR environment variable)
* showchars (deprecates indentchar)
* lockbindings for completely disallowing plugins to modify keybindings
* helpsplit for changing default split type for the help command
* pageoverlap for setting number of lines kept during page up/page down
* Added FirstTab, LastTab, FirstSplit and LastSplit commands
* SkipMultiCursorBack as a counterpart to SkipMultiCursor
* CursorToViewTop, CursorToViewCenter, CursorToViewBottom
* Duplicate for duplicating the selection only, not the whole line
* Plugins never write to settings.json or bindings.json anymore
* Add onBufferOptionChanged callback
* Add SpawnCursorAtLoc()
* Expose bufpane's DoubleClick and TripleClick to plugins
* Pass mouse info to {on,pre}MouseXXX callbacks
* Support goto statement from Lua 5.2
* Various Syntax Highlighting improvements
-------------------------------------------------------------------
Mon Oct 13 14:43:00 UTC 2025 - Andrea Manzini <andrea.manzini@suse.com>
- Update to version 2.0.14:
* matchbracestyle to choose whether to underline or highlight matching braces
* matchbraceleft to choose whether to match brace to the left of the cursor
* hltrailingws to highlight trailing whitespace
* hltaberrors to highlight tab vs space inconsistencies
* Add jump command to perform a relative goto
* Add sub-word movement actions and improve word movements
* Add paragraph selection actions and improve paragraph movements
* Make Shift-PageUp/Down the default keybindings for SelectPageUp/Down
* Add signatures support to improve filetype detection in ambiguous cases
* Provide default.yaml for default syntax highlighting
* Improvements in syntax highlighting for various languages
* More generic support for mouse events handling
* Add mouse release and mouse drag events
* Make MouseMultiCursor toggle cursors
* Better support for handling mouse events in lua
* Better API for lua timers
* Add onAnyEvent callback
* Allow colorschemes to include other colorschemes
* Give user's files in ~/.config/micro/ precedence over micro's built-in
files
* Respect umask when creating files
* Smarter smartpaste
* Make default fileformat value suited to the OS
* Improve buffer view relocation after jumping to a far-away location
* Improve return values of some actions for better action chaining
* Autocomplete filetypes
* Allow raw escape sequence to be bound with bind
* Various small improvements
* Fix various crashes
* Fix micro killed by SIGINT sent to its shell job
* Various fixes for setting local options
* Various fixes for reloading settings via reload command
* Various fixes for updating settings after changing filetype
* Fix unneeded rewriting of settings.json
* Fix overwriting persistent non-default settings in settings.json with
temporary default settings
* Don't apply rmtrailingws on autosave
* Don't autosave unmodified buffer
* Properly update autosave timer when the autosave option value changes
* Fix opening filenames including colons with parsecursor
* Fix replace to be able to insert '$'
* Fix cursor moving to an unexpected location after a redo
* Make cursor movements after selection consistent
* Fix incorrect buffer view after reloading file
* Fix lost mouse release events in case the pane becomes inactive
* Add proper locking to LineArray to fix potential races
* Cleanup indentation and trailing whitespace
* Improve plugin documentation
-------------------------------------------------------------------
Thu Mar 28 14:16:21 UTC 2024 - andrea.manzini@suse.com

View File

@@ -1,7 +1,7 @@
#
# spec file for package micro-editor
#
# Copyright (c) 2024 SUSE LLC
# Copyright (c) 2025 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,11 +16,11 @@
#
%global shortcommit 225927b
%global compiledate Aug\ 01,\ 2022
%global shortcommit 04c5770
%global compiledate Oct\ 13,\ 2025
Name: micro-editor
Version: 2.0.13
Version: 2.0.15
Release: 0
License: MIT
Summary: Micro is a terminal-based text editor that aims to be easy to use and intuitive
@@ -28,9 +28,10 @@ URL: https://github.com/zyedidia/micro
Group: Productivity/Text/Editors
Source0: micro-%{version}.tar.gz
Source1: vendor.tar.gz
Patch0: micro-editor-Makefile.patch
Source2: micro-editor-Makefile.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildRequires: golang-packaging
BuildRequires: git-core
BuildRequires: golang(API) >= 1.15
%description
@@ -47,22 +48,22 @@ or because you need to (over ssh).
%prep
%setup -q -n micro-%{version}
%setup -q -T -D -a 1 -n micro-%{version}
%patch -P 0 -p1
rm -rf vendor
tar -xf %{SOURCE1}
%build
export EXTRAFLAGS="-mod=vendor"
export GOFLAGS="-mod=vendor"
%ifnarch ppc64 ppc64le
export EXTRAFLAGS="${EXTRAFLAGS} -buildmode=pie"
export GOFLAGS="${GOFLAGS} -buildmode=pie"
%endif
export DATE="$(date -u -d @${SOURCE_DATE_EPOCH:-$(date +%s)} --iso-8601)"
export HASH="%{shortcommit}"
export VERSION="%{version}"
%make_build generate
%make_build build-quick
make build VERSION="2.0.15" HASH="rpmbuild" DATE="$(date -u +%Y-%m-%dT%H:%M:%SZ)"
%install
export GOPATH="%{_builddir}/go:$GOPATH"

BIN
vendor.tar.gz LFS

Binary file not shown.