Commit Graph

198 Commits

Author SHA1 Message Date
Arun Prakash Jana 29ef232301
Add Makefile target to compile nnn with musl libc 2021-06-03 04:34:44 +05:30
Arun Prakash Jana b52c09dd23
Move patches to top level 2021-06-02 12:25:31 +05:30
Arun Prakash Jana bf673744fb
Prepare for release v4.1 Sake
Sake - https://en.wikipedia.org/wiki/Sake
2021-06-02 10:44:41 +05:30
luukvbaal 93e7995ab5
Add user patch framework (#1037)
* Add user patch framework

* Add git status patch

* Add namefirst-gitstatus compatibility

* Add patch targets

* Fix gitstatus colors and patch order
2021-06-02 09:57:06 +05:30
Arun Prakash Jana 6a904f7cf5
Fix #1034: do not auto-generate packages for SuSE 2021-05-31 04:51:19 +05:30
Luuk van Baal 0a569496c8 Update haiku Makefile 2021-05-26 20:54:00 +02:00
Arun Prakash Jana 326d5a4fae Update musl compilation script 2021-05-26 23:48:38 +05:30
Arun Prakash Jana 284a3c4866
Multi-threaded FTS-based disk usage calculation
Implements pthreads based du using FTS. Currently 4 threads are used.
NFTW is dropped as there is no way to pass any custom values to fn().

FTS does not require any per entry function callback.
The performance numbers are best with FTS:

./nnn-fts -T d /  5.29s user 0.94s system 116% cpu 5.335 total
1/21 du:102.402G free:8.476G files:397644 101132550144B

./nnn-ftw -T d /  5.52s user 0.94s system 116% cpu 5.534 total
1/21 du:102.400G free:8.474G files:397653 101133148160B

./nnn-4.0 -T d /  0.20s user 2.27s system 24% cpu 10.241 total
1/21 du:102.400G free:8.475G files:397654 101133299712B
2021-05-26 22:28:38 +05:30
Arun Prakash Jana db8079f552
Make option O_NOLOC renamed to O_NOLC 2021-05-24 22:38:08 +05:30
Arun Prakash Jana 177b60e6c2 shellcheck fixes + use the last known good commit 2021-05-14 08:48:05 +05:30
Arun Prakash Jana 448a4203bc
Make space for 512TiB in blocks 2021-05-13 00:37:04 +05:30
Arun Prakash Jana 04c38ecf3d
Initialize variable, update musl script 2021-05-12 22:17:44 +05:30
Arun Prakash Jana 1b88062310 Fix script 2021-05-12 21:16:48 +05:30
Arun Prakash Jana 9c5214c24a
Compilation script for netbsd-curses + musl libc 2021-05-11 19:06:13 +05:30
Arun Prakash Jana 0691c4fb47
Reversed block for hovered entry in detail mode 2021-05-08 17:05:22 +05:30
Arun Prakash Jana 1fde10b022
Fix LGTM alerts 2021-04-25 16:54:43 +05:30
Arun Prakash Jana 25157592df
make option NOX11: disable notis, sel to clipboard sync, xterm title 2021-04-17 13:08:34 +05:30
Arun Prakash Jana b5015b8e6c
Set Haiku variety to dev 2021-04-13 16:56:16 +05:30
Arun Prakash Jana f4c5b1a937
Happy Birthday nnn! 🍰 2021-04-13 16:35:13 +05:30
Arun Prakash Jana 5bfc868321 Show xterm title on option '-x' 2021-04-13 16:34:06 +05:30
Arun Prakash Jana ad40ae9b53
Set Haiku variety to dev 2021-04-13 16:04:34 +05:30
Arun Prakash Jana a482e8afe5
Prepare for release v3.7 Sushi 2021-04-13 11:07:25 +05:30
Arun Prakash Jana a1cb764943
make option O_CKBOARD for checker board indicator in detail mode 2021-04-09 12:05:03 +05:30
Arun Prakash Jana d8e370e579
Update contributing guideline 2021-03-24 15:21:06 +05:30
Arun Prakash Jana 93ca773c59
Resurrect current/sel prompt 2021-03-17 23:06:08 +05:30
Arun Prakash Jana d40137f7b3
Update Haiku makefile 2021-03-16 01:25:14 +05:30
Arun Prakash Jana 234a7e0080
Prepare for release v3.6 2021-03-16 00:52:50 +05:30
Arun Prakash Jana 600286b627
Always prefer selection over current file
If you have selected some files, you intend to work on them. Also, this prompt
expects <kbd>c</kbd> / <kbd>s</kbd> which should cancel the next prompt in the
delete workflow. Rest of the three workflows are non-fatal.

Benefits of removing this option:
- code reduction
- one less step in the relevant workflows (more than one prompt feels dragged)

This prompt shows in the following workflows:
- delete: users have explicitly requested to prefer sel over current
- batch rename: key <kbd>^R</kbd> renames a single file
- archive: in most of the cases the user would want to archive the selection
- create sym/hard link: not a frequently used workflow (in general)
2021-02-10 05:12:40 +05:30
KlzXS 7310a9a773
Fix #835 2021-01-13 14:13:07 +00:00
Robin Schneider 25eba96466
Use HTTPS everywhere (mechanical edit using util from https-everywhere)
```Shell
~/src/EFForg/https-everywhere/utils/rewriter/rewriter.js .
```

Ref: https://github.com/EFForg/https-everywhere/tree/master/utils/rewriter

Remove suspicious file
2021-01-07 08:32:59 +05:30
Arun Prakash Jana 8e92ea8ad6 Update copyright year 2020-12-29 02:34:23 +05:30
Arun Prakash Jana b54fc95c43
Remove obsolete options 2020-11-27 18:29:04 +05:30
Arun Prakash Jana aefe962182
Revert to dev tag 2020-11-17 08:55:12 +05:30
Arun Prakash Jana f6cc2e6161
Prepare for release v3.5 Freddie
Code named after Freddie Mercury: https://en.wikipedia.org/wiki/Freddie_Mercury
2020-11-17 08:19:09 +05:30
Arun Prakash Jana 30edbeee6c
Update Haiku Makefile 2020-10-31 21:35:02 +05:30
Arun Prakash Jana ff5685b64d Option -U to show user and group in status bar 2020-10-31 20:48:05 +05:30
Arun Prakash Jana 12c09e85e3
Update tagline 2020-09-11 03:13:08 +05:30
Arun Prakash Jana 2ddabf19e0
Fix #724 2020-09-09 01:17:20 +05:30
Arun Prakash Jana 0b0605813d
Update auto-completion scripts 2020-09-01 23:06:26 +05:30
lvgx bcbe8080be
Add support for Alexey Tourbin's QSORT code (#708)
* Add support for Alexey Tourbin's QSORT code

See https://github.com/svpv/qsort

* Add benchmark scripts and compilation mode

Compile with `make O_BENCHMARK=1`, and run benchmarks with e.g.:
  ./misc/test/benchmark.sh ./nnn '/' '/usr/bin' '/usr/lib' > benchdata
You can then plot basic violin graphs with:
  ./misc/test/plot-bench.py benchdata

* Update style, doc, haiku support, fix lint
2020-08-21 08:15:45 +05:30
Jake Secunda d37356a936
Haiku: Some small fixes to the recipe and resource file (#707)
* Haiku: Some small fixes to the recipe and resource file

Whoops...just some small fixes.

* Update nnn.rdef

Co-authored-by: Jana <engineerarun@gmail.com>
2020-08-20 22:21:28 +05:30
Arun Prakash Jana 6627f8f272
Update Haiku Makefile 2020-08-18 17:21:21 +05:30
Arun Prakash Jana 9c20f43410
Prepare for release v3.4 2020-08-18 15:33:49 +05:30
Arun Prakash Jana d86810a425
Minor reformat 2020-08-16 06:54:47 +05:30
KlzXS a85467d462
Icons (#697)
* Add icons

* Fix build break

* Fix icon position in detailed mode

* Various fixes

* Provision for icon specific colors

No icons with oldcolor. Small optimizatons

* Update Makefiles

Small refinement for other matching
2020-08-16 06:30:58 +05:30
Arun Prakash Jana fbd5e77ec1
Initialize all make options 2020-08-14 00:02:54 +05:30
CodeforEvolution 6f9571a805 Haiku: General fixup, add icon, add rdef file
- Add a native vector icon for Haiku (it hasn't been Haiku-ified yet however)
- Add a rdef file (specifies application metadata)
- Add clipboard support, notififcation support, and basic nuke support
- Fix support for fortunes on Haiku ("-s" option is not available on Haiku)
- Cleanup Haiku recipe
2020-08-09 22:19:51 -05:00
Arun Prakash Jana 42fd2a4d13
Program option to use older 2020-08-04 20:36:19 +05:30
Arun Prakash Jana f17911e189
Prepare for release v3.3 2020-07-14 05:50:22 +05:30
Arun Prakash Jana 28bf18adab
Update contributing guideline 2020-06-19 07:35:05 +05:30
Arun Prakash Jana 4b4bf6cca5
Option -u to disable current/selection prompt 2020-06-15 19:54:44 +05:30
Ian R 1f22da2994
Feature #534: Support hardware cursor sync 2020-06-11 11:30:43 +05:30
Arun Prakash Jana e3d90a98ce
Support make option O_CTX8 for 8 contexts
Note that this is not compatible with 4 contexts.
2020-05-30 07:01:34 +05:30
basbebe 0a318bd411
add 'wraps' attribute to allow autocompletion (#606) 2020-05-29 20:28:59 +05:30
Arun Prakash Jana e688188fa6
x86-64 to x86_64 2020-05-26 06:21:01 +05:30
Arun Prakash Jana 713bab21ea
Prepare for release v3.2 2020-05-26 05:38:38 +05:30
Arun Prakash Jana 3527f68554
Add openSUSE Tumbleweed 2020-05-23 18:07:23 +05:30
lvgx b1027150ed
Add -a option to generate a temporary NNN_FIFO (#588)
* Add -a option to generate a temporary NNN_FIFO

* Add documentation for -a option

* plugins/README.md: promote the use of -a

This obsoletes the global FIFO unlink trick, so I remove mentions of it.
@jarun update:

Polish -a
2020-05-23 17:40:51 +05:30
Arun Prakash Jana c6c1514c6b
Remove Fedora 29 (EOL) 2020-05-20 18:38:16 +05:30
Arun Prakash Jana 1b5c3096ca
Option -P: specify plugin key to run on start 2020-05-18 09:05:19 +05:30
Arun Prakash Jana 14beb0746f
Fix #564: Option -l: number of lines to move on mouse scroll 2020-05-10 11:22:02 +05:30
Rami3L 45a69f1cbf
Fix: BSD expr syntax error on empty $NNNLVL (#546) 2020-05-02 09:44:19 +05:30
lvgx e68d0db949
Install logo to desktop icons (#542)
This shows the "n³" logo as  icon in application menus, when desktop file is
installed (using `install-desktop` make target).
2020-05-01 21:28:07 +05:30
lvgx 1a78ad4aff
Add a logo for nnn (n³) (#544)
"n³" on a black knight chess piece/black horse head.
2020-05-01 21:17:03 +05:30
Arun Prakash Jana 283a29c48f
Update autogen packages 2020-05-01 10:45:25 +05:30
Arun Prakash Jana b11bdc9361
Update completion scripts 2020-04-24 09:36:33 +05:30
Arun Prakash Jana f54d51c863
Change nav-as-you-type to type-to-nav 2020-04-12 22:39:14 +05:30
Arun Prakash Jana 1014d941b1
Support only NO_COLOR, revert -C to disable color 2020-04-05 13:07:18 +05:30
Arun Prakash Jana 02c02c520d
Option -C to disable color 2020-04-05 05:53:46 +05:30
Arun Prakash Jana 5bd4a65b91
Add script to generate files 2020-04-04 09:57:21 +05:30
lvgx 6e6d3cba0d
Add .desktop file for XDG compatible DEs (#501)
Install with `make install-desktop`
It now appears in application menus, search, etc. in XDG compatible
desktop environments (like GNOME, KDE, ...).
2020-04-01 02:29:21 +05:30
Arun Prakash Jana 54d2580799
Add fortune to help 2020-03-30 09:09:11 +05:30
Arun Prakash Jana 22ccf5e2e6
Support time type (access/change/mod) change 2020-03-28 09:20:14 +05:30
Arun Prakash Jana 0c55977465
Fix #496: option -f to use readline history file 2020-03-20 22:24:49 +05:30
Arun Prakash Jana f4786da9bc
Option -T obsoletes option -v 2020-03-18 02:41:30 +05:30
Arun Prakash Jana 85379a703b
Option -T to change default sort order 2020-03-18 02:35:05 +05:30
Arun Prakash Jana 3a9ddbd90f
Add batchrename to readme, minor Makefile change 2020-03-11 09:07:20 +05:30
Arun Prakash Jana db129c9120
Update Haiku Makefile 2020-03-01 18:56:33 +05:30
Arun Prakash Jana 77e3183467
Merge quitcd scripts for bash and zsh 2020-02-29 18:36:47 +05:30
Arun Prakash Jana dda34f5c73
Update Haiku Makefile 2020-02-12 08:54:04 +05:30
Maxim Baz 6b093f213f
Compile static bin locally for release (#457) 2020-01-31 03:16:06 +05:30
Arun Prakash Jana bc177fd266 Revert "Test static packaging"
This reverts commit dbcbaa583c.
2020-01-25 08:55:07 +05:30
Arun Prakash Jana dbcbaa583c
Test static packaging 2020-01-25 08:36:50 +05:30
Arun Prakash Jana 64667b377d
Options -e and -t
Replaces the following environment variables:
- NNN_USE_EDITOR
- NNN_IDLE_TIMEOUT
2020-01-17 19:37:57 +05:30
Anna Arad 44871dd9d7 Update Haiku Makefile with changes of original (#435) 2020-01-14 03:08:20 +05:30
Arun Prakash Jana 3c69e6ccac
Guard against empty 2020-01-12 00:26:03 +05:30
Arun Prakash Jana 7bf7894022
Use option -A to disable dir auto-select 2020-01-09 03:34:10 +05:30
Arun Prakash Jana c5ff2f5647
Fix openSUSE Leap 15.1 package generation 2020-01-07 23:45:22 +05:30
Anna Arad 443bb7925b Update Haiku Makefile and recipe with suggestions from HaikuPorts (#426) 2020-01-03 22:25:44 +05:30
Arun Prakash Jana 027ed8d8ea
Update copyright year 2019-12-31 22:42:10 +05:30
Arun Prakash Jana db647e7c4c On the fly dist generation 2019-12-30 01:37:01 +05:30
Arun Prakash Jana 26d49a16b3
Get version string from source 2019-12-29 23:43:09 +05:30
Arun Prakash Jana e3e6e1671a
Keybind v for version sort 2019-12-28 11:15:38 +05:30
Anna Arad fd9fcf741e Get nnn compile and run on Haiku (#403)
* Add support for Haiku OS

* Adjust DISTFILES and dist rule in haiku
2019-12-27 23:32:20 +05:30
Arun Prakash Jana 1003c0f8fc
Option n - nav as you type, V - version sort 2019-12-25 22:33:38 +05:30
Arun Prakash Jana ffb0b0e3c2 Revert "Use b and ^B as bookmark key"
This reverts commit 278fcfdfc9.
2019-12-25 22:18:09 +05:30
Arun Prakash Jana 278fcfdfc9
Use b and ^B as bookmark key 2019-12-25 14:37:51 +05:30
Arun Prakash Jana 37988cf854
Program option to load session is now `-s`
- remove auto-stored session "@" on restore
- minor help update
2019-12-20 15:49:13 +05:30
Arun Prakash Jana 9725c17d20 Revert "Internal states, sessions changes"
This reverts commit cf388649b9.
2019-12-20 15:30:53 +05:30
Arun Prakash Jana c24efdbedb
Simplify QuitCD scripts 2019-12-19 18:33:27 +05:30