aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2017-12-17Remove -O2 from debug buildGravatar Arun Prakash Jana
2017-12-17An even faster nnn - no more copying file names!Gravatar Arun Prakash Jana
nnn has been using `struct entry` to hold both file name as well as file info. The design forces file names to be copied in the following cases: - swaps during file sort (nnn uses quicksort) applied after all the matching files are read (in no particular order; good old readdir()) into memory. - swaps during manual filtering. nnn moves non-matching entries below so they are not encountered twice resulting in fast filtering. There were scopes for _massive_ improvements in this area. So I did what had to be done - decouple the file names from `struct entry` and use a separate struct to hold the names with the indices set when the files are added by opendir(). There was a hidden problem to this approach - nnn uses realloc() to allocate memory for file information and realloc() may move the original pointer in mem when it can't fit the new memory to the earlier pointer. To handle that the new algorithm tracks the change in memory location and re-adjusts the existing dir entry names when that happens; this too, without any copying! Though the results seem pretty clean from a theoretical point of view and early tests, we may uncover some bugs. However, the speed is just mind-blowing! And the binary size remains the same too!!!
2017-12-16Add Slackware as packagerGravatar Arun Prakash Jana
2017-12-14Fix indentationGravatar Arun Prakash Jana
2017-12-13Use static vars in frequently used APIsGravatar Arun Prakash Jana
2017-12-13Retire redundant tmp varsGravatar Arun Prakash Jana
2017-12-13Process keypress by probable frequencyGravatar Arun Prakash Jana
2017-12-09Update READMEGravatar Arun Prakash Jana
2017-12-04Minor optimization, refactorGravatar Arun Prakash Jana
2017-12-03Fix -Os compilation warningsGravatar Arun Prakash Jana
2017-12-02switch to formulae.brew.sh for Homebrew linkGravatar Arun Prakash Jana
2017-11-30Use the same o/p filename in debug modeGravatar Arun Prakash Jana
2017-11-30Fix #50: revert to -O2 optimizationGravatar Arun Prakash Jana
The while loop in xstrlcpy() breaks when -O3 is used.
2017-11-30Minor changesGravatar Arun Prakash Jana
2017-11-25Add Source Mage packageGravatar Vlad Glagolev
2017-11-25Update package maintainersGravatar Arun Prakash Jana
2017-11-17Change button colorGravatar Arun Prakash Jana
2017-11-06Add Void Linux as a package sourceGravatar Arun Prakash Jana
2017-11-04Update readmeGravatar Arun Prakash Jana
2017-10-18Add how-to on hot plugged devicesGravatar Arun Prakash Jana
2017-10-16Minor maintenanceGravatar Arun Prakash Jana
2017-10-10Add copier scriptGravatar Arun Prakash Jana
2017-10-09Ignore TAB in input promptGravatar Arun Prakash Jana
2017-10-09Fix a couple of warnings on BSDs (#54)Gravatar Vlad Glagolev
2017-10-09archive listing is done using atoolGravatar Arun Prakash Jana
2017-10-08Fix segfault when SHLVL env var is not available (#52)Gravatar Vlad Glagolev
2017-10-08Correct name checking for NEW and RENAME (#53)Gravatar Vlad Glagolev
2017-10-08Add ExifTool URL (#51)Gravatar Vlad Glagolev
2017-10-08OpenBSD compatibility support (#48)Gravatar Vlad Glagolev
* Improve compatibility with OpenBSD * Fix indefinite blocking
2017-10-05include sys/types.h for non-glibc linux builds (#46)Gravatar maxice8
2017-10-05Use sudo to install packagecoreGravatar Arun Prakash Jana
2017-10-05Prepare for release v1.5Gravatar Arun Prakash Jana
2017-10-02Update helpGravatar Arun Prakash Jana
2017-10-02Fix alignment in examplesGravatar Arun Prakash Jana
2017-10-01Remove redundant conversionGravatar Arun Prakash Jana
2017-10-01Disable noti subscription for the same dirGravatar Arun Prakash Jana
2017-10-01Change archive list shortcut to 'F'Gravatar Arun Prakash Jana
2017-09-30Fix #44: document PAGER usage in certain screensGravatar Arun Prakash Jana
2017-09-27Enable O3 optimizationGravatar Arun Prakash Jana
2017-09-27Revert "Archive handling on OS X using unar+lsar"Gravatar Arun Prakash Jana
This reverts commit 1e859eb1370bd67cecd06b7bc8c6f885b80554bd. We will use atool on OS X as well, it can be brewed easily.
2017-09-27Archive handling on OS X using unar+lsarGravatar Arun Prakash Jana
2017-09-27Support archive listing and extractionGravatar Arun Prakash Jana
2017-09-27Show current entry number in du modeGravatar Arun Prakash Jana
2017-09-27Show current entry number.Gravatar Arun Prakash Jana
...because you need to know where you are.
2017-09-24Fix #42Gravatar Arun Prakash Jana
2017-09-23Add badge to PPA for Ubuntu variantsGravatar Arun Prakash Jana
2017-09-23nnn is on Ubuntu 17.10Gravatar Arun Prakash Jana
2017-09-20Add step to set NNN_NOWAIT in QuickstartGravatar Arun Prakash Jana
2017-09-19Update NNN_NOWAIT changesGravatar Arun Prakash Jana
2017-09-19Prevent nnn from waiting on open file process (#40)Gravatar Paul
* Prevent nnn from waiting on open file process * Add env var flag to not wait for child process when opening file * Set nowait flag once to skip bit-or every time we open a file * Add documentation for NNN_NOWAIT