]> Sergey Matveev's repositories - nnn.git/commit
Persistent selection (#1086)
authorKlzXS <klzx+github@klzx.cf>
Sat, 10 Jul 2021 01:49:39 +0000 (03:49 +0200)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 10 Jul 2021 02:00:02 +0000 (07:30 +0530)
commitc0dceb18c687b8bd9cd9b429a66ca4da0ad8700e
tree9600002a9b4a6ea8a3921ce398964d779e0f5d0e
parentd9db6b045c30852b1c38da7c7e25150eeff005d7
Persistent selection (#1086)

* Add persistsel

* Fix Makefile spacing

* Update Haiku Makefile

* Do a double pass on inversion

* Split single and double pass for easier testing

Removed lastappendpos

Eliminate suffix matches

* Check if dir is in selection before searching for files

Fix double pass

* Switch to mainline

Optimize memory moving

Handle large selection in invertsel()

Going forward with 2pass

* Update Makefiles

* Fix style

* Move forward declarations

* Remove edit selection in inversion

Replace buf with g_buf to fix CI

Fix CI

* Style changes

* Comment the code

* Style fixes

* Fix infinite loop

* Fix crash on empty invert

* Fix off-by-one-in-two-places

Off-by-twice?

* Adopt changes from master

* Only check directory if entry in it is selected

* Better organization

* Wrong variable

* Tiny optimizations

* Style fixes and updated man page

* Update man page

* Remember where we found directory path in selection

Add in progress message on invert
Makefile
misc/haiku/Makefile
nnn.1
src/nnn.c