selector.git
15 years agoFixed the bash prefix deletion, added the ESC key to abort.
Francois Fleuret [Tue, 19 May 2009 16:32:17 +0000 (18:32 +0200)]
Fixed the bash prefix deletion, added the ESC key to abort.

15 years agoAutomatic commit
Francois Fleuret [Thu, 14 May 2009 20:05:26 +0000 (22:05 +0200)]
Automatic commit

15 years agoCosmectics.
Francois Fleuret [Thu, 14 May 2009 06:44:04 +0000 (08:44 +0200)]
Cosmectics.

15 years agoAdded the creation of debian/control.
Francois Fleuret [Wed, 13 May 2009 08:37:08 +0000 (10:37 +0200)]
Added the creation of debian/control.

15 years agoChanged the key-binding section from readline to bash bind command.
Francois Fleuret [Mon, 11 May 2009 06:11:28 +0000 (08:11 +0200)]
Changed the key-binding section from readline to bash bind command.

15 years agoCosmectics.
Francois Fleuret [Sat, 9 May 2009 08:45:57 +0000 (10:45 +0200)]
Cosmectics.

15 years agoAdded the description of the control-character bug.
Francois Fleuret [Sat, 9 May 2009 08:14:33 +0000 (10:14 +0200)]
Added the description of the control-character bug.

15 years agoTypos.
Francois Fleuret [Fri, 8 May 2009 15:03:25 +0000 (17:03 +0200)]
Typos.

15 years agoTypo.
Francois Fleuret [Thu, 7 May 2009 08:53:57 +0000 (10:53 +0200)]
Typo.

15 years agoCosmetics.
Francois Fleuret [Thu, 7 May 2009 08:44:40 +0000 (10:44 +0200)]
Cosmetics.

15 years agoAdded a section about interaction with readline.
Francois Fleuret [Thu, 7 May 2009 08:41:25 +0000 (10:41 +0200)]
Added a section about interaction with readline.

15 years agoCosmetics.
Francois Fleuret [Tue, 5 May 2009 06:07:04 +0000 (08:07 +0200)]
Cosmetics.

15 years agoAdded an option -q to choose between beeps and flashes on edition errors.
Francois Fleuret [Sun, 3 May 2009 19:51:53 +0000 (21:51 +0200)]
Added an option -q to choose between beeps and flashes on edition errors.

15 years agoCosmetics.
Francois Fleuret [Sun, 3 May 2009 12:50:35 +0000 (14:50 +0200)]
Cosmetics.

15 years agoAdded the -fno-omit-frame-pointer option to the DEBUG mode.
Francois Fleuret [Fri, 1 May 2009 21:11:05 +0000 (23:11 +0200)]
Added the -fno-omit-frame-pointer option to the DEBUG mode.

15 years agoCosmetics.
Francois Fleuret [Fri, 1 May 2009 13:58:24 +0000 (15:58 +0200)]
Cosmetics.

15 years agoAdded a visual feedback for impossible cursor motions.
Francois Fleuret [Thu, 30 Apr 2009 05:56:37 +0000 (07:56 +0200)]
Added a visual feedback for impossible cursor motions.

15 years agoAdded a visual feedback for impossible cursor motions.
Francois Fleuret [Thu, 30 Apr 2009 05:55:58 +0000 (07:55 +0200)]
Added a visual feedback for impossible cursor motions.

15 years agoAutomatic commit
Francois Fleuret [Tue, 21 Apr 2009 20:43:47 +0000 (22:43 +0200)]
Automatic commit

15 years agoFixed merge conflict.
Francois Fleuret [Wed, 15 Apr 2009 07:41:38 +0000 (09:41 +0200)]
Fixed merge conflict.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Wed, 15 Apr 2009 07:40:16 +0000 (09:40 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

Conflicts:
REVISION_NUMBER

15 years agoRemoved the cursor hiding related lines (which were commented).
Francois Fleuret [Wed, 15 Apr 2009 07:39:57 +0000 (09:39 +0200)]
Removed the cursor hiding related lines (which were commented).

15 years agoCosmetics.
Francois Fleuret [Wed, 15 Apr 2009 06:03:47 +0000 (08:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 19:19:18 +0000 (21:19 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 19:18:35 +0000 (21:18 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 12:26:33 +0000 (14:26 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Tue, 14 Apr 2009 06:52:14 +0000 (08:52 +0200)]
Cosmetics.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Mon, 13 Apr 2009 13:03:21 +0000 (15:03 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

Conflicts:
selector.cc

15 years agoFixed comment typo.
Francois Fleuret [Mon, 13 Apr 2009 13:01:55 +0000 (15:01 +0200)]
Fixed comment typo.

15 years agoAdded the ^I keystroke to switch the case-sensitivity. Added a check
Francois Fleuret [Mon, 13 Apr 2009 12:59:44 +0000 (14:59 +0200)]
Added the ^I keystroke to switch the case-sensitivity. Added a check
for the integer valued arguments.

15 years agoAdded the ^I keystroke to switch the case-sensitivity.
Francois Fleuret [Mon, 13 Apr 2009 12:59:44 +0000 (14:59 +0200)]
Added the ^I keystroke to switch the case-sensitivity.

15 years agoRemoved my professional mail address.
Francois Fleuret [Fri, 10 Apr 2009 16:43:05 +0000 (18:43 +0200)]
Removed my professional mail address.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 16:39:18 +0000 (18:39 +0200)]
Cosmetics.

15 years agoFixed a bug in reading the revision number.
Francois Fleuret [Fri, 10 Apr 2009 15:46:09 +0000 (17:46 +0200)]
Fixed a bug in reading the revision number.

15 years ago Removed the automatic computation of the revision number.
Francois Fleuret [Fri, 10 Apr 2009 15:41:00 +0000 (17:41 +0200)]
Removed the automatic computation of the revision number.

    Computing the revision number from the git log sucks. The log is not
    the same for everybody and there is no simple way to compute some
    increasing number. The web tell me so after 30min of googling.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Fri, 10 Apr 2009 15:33:19 +0000 (17:33 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoInitial commit.
Francois Fleuret [Fri, 10 Apr 2009 15:33:07 +0000 (17:33 +0200)]
Initial commit.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 15:32:14 +0000 (17:32 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Fri, 10 Apr 2009 15:31:46 +0000 (17:31 +0200)]
Cosmetics.

15 years agoFixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun).
Francois Fleuret [Fri, 10 Apr 2009 15:29:31 +0000 (17:29 +0200)]
Fixed a bug with wc on macOS (thanks P. Abbet and M. L. Grinshpun).

15 years agoCosmetics.
Francois Fleuret [Thu, 9 Apr 2009 07:34:58 +0000 (09:34 +0200)]
Cosmetics.

15 years agoCosmectics.
Francois Fleuret [Thu, 9 Apr 2009 07:34:58 +0000 (09:34 +0200)]
Cosmectics.

15 years agoCosmetics.
Francois Fleuret [Thu, 9 Apr 2009 06:32:35 +0000 (08:32 +0200)]
Cosmetics.

15 years agoAdd multi-file input.
Francois Fleuret [Thu, 9 Apr 2009 06:07:06 +0000 (08:07 +0200)]
Add multi-file input.

The first argument without a leading '-' and all the following, or all
arguments following a '--', are now considered as filenames and their
contents are concatenated as a single input. The -f option is now
useless but remains for compatibility.

15 years agoFix a up-down arrow bug added recently. Use the native cursor instead
Francois Fleuret [Wed, 8 Apr 2009 06:42:48 +0000 (08:42 +0200)]
Fix a up-down arrow bug added recently. Use the native cursor instead
of trying to build one by hand.

15 years agoCosmetics.
Francois Fleuret [Wed, 8 Apr 2009 06:08:07 +0000 (08:08 +0200)]
Cosmetics.

15 years agoMoved the buffer edition into dedicated functions.
Francois Fleuret [Wed, 8 Apr 2009 06:00:11 +0000 (08:00 +0200)]
Moved the buffer edition into dedicated functions.

15 years agoRemoved the control codes from the string and use the octal notation.
Francois Fleuret [Tue, 7 Apr 2009 20:36:11 +0000 (22:36 +0200)]
Removed the control codes from the string and use the octal notation.

15 years agoCosmetics.
Francois Fleuret [Tue, 7 Apr 2009 07:24:52 +0000 (09:24 +0200)]
Cosmetics.

15 years agoRemoved a bug when inserting a char in the middle of the pattern.
Francois Fleuret [Mon, 6 Apr 2009 19:31:43 +0000 (21:31 +0200)]
Removed a bug when inserting a char in the middle of the pattern.

15 years agoAdded a note about the readline like shortcuts.
Francois Fleuret [Mon, 6 Apr 2009 18:35:08 +0000 (20:35 +0200)]
Added a note about the readline like shortcuts.

15 years agoAdded a cursor with the main shortcuts (^A, ^K, etc.)
Francois Fleuret [Mon, 6 Apr 2009 18:29:57 +0000 (20:29 +0200)]
Added a cursor with the main shortcuts (^A, ^K, etc.)

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Mon, 6 Apr 2009 07:25:18 +0000 (09:25 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoMoved the binary path for make install to /usr/bin/.
Francois Fleuret [Mon, 6 Apr 2009 06:09:12 +0000 (08:09 +0200)]
Moved the binary path for make install to /usr/bin/.

15 years agoAdded the binary in the Makefile rule for installation.
Francois Fleuret [Mon, 6 Apr 2009 06:08:00 +0000 (08:08 +0200)]
Added the binary in the Makefile rule for installation.

15 years agoUses dpkg-shlibdeps to compute the library dependences.
Francois Fleuret [Mon, 6 Apr 2009 06:06:17 +0000 (08:06 +0200)]
Uses dpkg-shlibdeps to compute the library dependences.

15 years agoAdded some comments in the hash-table routines.
Francois Fleuret [Mon, 6 Apr 2009 06:05:43 +0000 (08:05 +0200)]
Added some comments in the hash-table routines.

15 years agoNow use the dpkg-shlibdeps command to automagically find the lib dependencies.
Francois Fleuret [Sun, 5 Apr 2009 11:18:37 +0000 (13:18 +0200)]
Now use the dpkg-shlibdeps command to automagically find the lib dependencies.

15 years agoThe install rule now requires the binary to be up-to-date.
Francois Fleuret [Sat, 4 Apr 2009 17:52:38 +0000 (19:52 +0200)]
The install rule now requires the binary to be up-to-date.

15 years agoAdded an option to put a title in the modeline.
Francois Fleuret [Wed, 1 Apr 2009 17:11:32 +0000 (19:11 +0200)]
Added an option to put a title in the modeline.

15 years agoTypo.
Francois Fleuret [Wed, 1 Apr 2009 07:11:04 +0000 (09:11 +0200)]
Typo.

15 years agoAdded an option -a for case sensitivity.
Francois Fleuret [Wed, 1 Apr 2009 07:09:15 +0000 (09:09 +0200)]
Added an option -a for case sensitivity.

15 years agoRemoved a bug when the input file is empty.
Francois Fleuret [Tue, 31 Mar 2009 19:46:45 +0000 (21:46 +0200)]
Removed a bug when the input file is empty.

15 years agoFixed a bug with getline() failing at the EOF.
Francois Fleuret [Sat, 28 Mar 2009 22:38:50 +0000 (23:38 +0100)]
Fixed a bug with getline() failing at the EOF.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Sat, 28 Mar 2009 22:22:36 +0000 (23:22 +0100)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoIncreased the buffer size and added an error when a line too long is met.
Francois Fleuret [Sat, 28 Mar 2009 22:21:58 +0000 (23:21 +0100)]
Increased the buffer size and added an error when a line too long is met.

15 years agoCosmetics.
Francois Fleuret [Thu, 19 Mar 2009 22:12:12 +0000 (23:12 +0100)]
Cosmetics.

15 years agoPatch from Mario del Pozo to add install/uninstall rules. Slightly
Francois Fleuret [Wed, 18 Mar 2009 14:03:14 +0000 (15:03 +0100)]
Patch from Mario del Pozo to add install/uninstall rules. Slightly
edited.

15 years agoPatch from Mario del Pozo to add install/uninstall rules. Slightly
Francois Fleuret [Wed, 18 Mar 2009 14:03:14 +0000 (15:03 +0100)]
Patch from Mario del Pozo to add install/uninstall rules. Slightly
edited.

15 years agoCosmectics.
Francois Fleuret [Wed, 18 Mar 2009 07:35:13 +0000 (08:35 +0100)]
Cosmectics.

15 years agoCosmetics.
Francois Fleuret [Wed, 18 Mar 2009 07:30:29 +0000 (08:30 +0100)]
Cosmetics.

15 years agoRemoved an incorrect negative comment.
Francois Fleuret [Wed, 18 Mar 2009 07:29:20 +0000 (08:29 +0100)]
Removed an incorrect negative comment.

15 years agoWrote a better short help.
Francois Fleuret [Wed, 18 Mar 2009 07:26:07 +0000 (08:26 +0100)]
Wrote a better short help.

15 years agoAdded conversion of control characters to standard strings with
Francois Fleuret [Tue, 17 Mar 2009 20:03:25 +0000 (21:03 +0100)]
Added conversion of control characters to standard strings with
unctrl().

15 years agoCosmetics.
Francois Fleuret [Tue, 17 Mar 2009 19:33:32 +0000 (20:33 +0100)]
Cosmetics.

15 years agoAdded a test to check we do have a tty (and not a pipe in).
Francois Fleuret [Tue, 17 Mar 2009 19:31:00 +0000 (20:31 +0100)]
Added a test to check we do have a tty (and not a pipe in).

15 years agoCosmetics.
Francois Fleuret [Tue, 17 Mar 2009 17:15:47 +0000 (18:15 +0100)]
Cosmetics.

15 years agoChanged the removal of duplicates so that the most recent one is kept
Francois Fleuret [Tue, 17 Mar 2009 16:26:37 +0000 (17:26 +0100)]
Changed the removal of duplicates so that the most recent one is kept
instead of the older one.

15 years agoAdded back the -b option in the short help. Cosmetics.
Francois Fleuret [Tue, 17 Mar 2009 15:07:59 +0000 (16:07 +0100)]
Added back the -b option in the short help. Cosmetics.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Tue, 17 Mar 2009 15:05:03 +0000 (16:05 +0100)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoCosmetics.
Francois Fleuret [Tue, 17 Mar 2009 08:27:21 +0000 (09:27 +0100)]
Cosmetics.

15 years agoCosmectics.
Francois Fleuret [Tue, 17 Mar 2009 08:27:21 +0000 (09:27 +0100)]
Cosmectics.

15 years agoFixed a comment.
Francois Fleuret [Tue, 17 Mar 2009 07:20:19 +0000 (08:20 +0100)]
Fixed a comment.

15 years agoCosmetics.
Francois Fleuret [Tue, 17 Mar 2009 07:10:54 +0000 (08:10 +0100)]
Cosmetics.

15 years agoAdded an automatic computation of the revision number (which is
Francois Fleuret [Tue, 17 Mar 2009 07:05:19 +0000 (08:05 +0100)]
Added an automatic computation of the revision number (which is
defined as being the number of "commits" in the git log).

15 years agoChanged the handling of the argument errors and short help printing.
Francois Fleuret [Tue, 17 Mar 2009 07:02:53 +0000 (08:02 +0100)]
Changed the handling of the argument errors and short help printing.

15 years agoChanged the hash formula. If I was not that lazy I would look at a
Francois Fleuret [Tue, 17 Mar 2009 06:59:18 +0000 (07:59 +0100)]
Changed the hash formula. If I was not that lazy I would look at a
standard string hashing technique instead of making my own.

15 years agoChanged the documentation of the debian package.
Francois Fleuret [Mon, 16 Mar 2009 21:20:36 +0000 (22:20 +0100)]
Changed the documentation of the debian package.

15 years agoAdded the ^U key to erase the pattern.
Francois Fleuret [Mon, 16 Mar 2009 20:38:45 +0000 (21:38 +0100)]
Added the ^U key to erase the pattern.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Mon, 16 Mar 2009 20:33:06 +0000 (21:33 +0100)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

Conflicts:
selector.cc

15 years agoAdded the option to use a standard regexp. You can either activate it
Francois Fleuret [Mon, 16 Mar 2009 20:27:30 +0000 (21:27 +0100)]
Added the option to use a standard regexp. You can either activate it
with the -e option, or switch it on/off with ^R.

15 years agoChanged the option to remove duplicates from -r to -d.
Francois Fleuret [Mon, 16 Mar 2009 18:03:10 +0000 (19:03 +0100)]
Changed the option to remove duplicates from -r to -d.

15 years agoCosmetics. Moved the hash-table routines.
Francois Fleuret [Mon, 16 Mar 2009 17:58:51 +0000 (18:58 +0100)]
Cosmetics. Moved the hash-table routines.

15 years agoChanged the -r option to removing of all duplicates, wherever they
Francois Fleuret [Mon, 16 Mar 2009 17:57:58 +0000 (18:57 +0100)]
Changed the -r option to removing of all duplicates, wherever they
are. Needed a hash-table to do it kind of properly. Seems to work so
far. Wonder if the hash_table_size being ten times the maximum number
of lines makes sense.

15 years agoFixed the odd number of lines bug.
Francois Fleuret [Mon, 16 Mar 2009 13:38:00 +0000 (14:38 +0100)]
Fixed the odd number of lines bug.

15 years agoFixed the odd number of lines bug.
Francois Fleuret [Mon, 16 Mar 2009 13:38:00 +0000 (14:38 +0100)]
Fixed the odd number of lines bug.

15 years agoChanged the color option description to make clear it takes numbers as
Francois Fleuret [Mon, 16 Mar 2009 11:44:03 +0000 (12:44 +0100)]
Changed the color option description to make clear it takes numbers as
parameters.

15 years agoApplied Olivier's patches.
Francois Fleuret [Mon, 16 Mar 2009 11:41:47 +0000 (12:41 +0100)]
Applied Olivier's patches.

15 years agoIgnore generated files, and vi backups
Olivier Bornet [Mon, 16 Mar 2009 08:12:22 +0000 (09:12 +0100)]
Ignore generated files, and vi backups

Signed-off-by: Francois Fleuret <francois@fleuret.org>
15 years agoStart counting nb_printed_lines from 0
Olivier Bornet [Mon, 16 Mar 2009 08:12:21 +0000 (09:12 +0100)]
Start counting nb_printed_lines from 0

It's more understandable to have nb_printed_lines starting at 0, and to use
directly instead of using nb_printed_lines + 1 after that.

Signed-off-by: Francois Fleuret <francois@fleuret.org>