selector.git
13 years agoCosmetics.
Francois Fleuret [Tue, 27 Sep 2011 13:49:09 +0000 (15:49 +0200)]
Cosmetics.

13 years agoNow uses the DESTDIR variable.
Francois Fleuret [Tue, 27 Sep 2011 13:48:25 +0000 (15:48 +0200)]
Now uses the DESTDIR variable.

13 years agoFixed the error message of sage_malloc to stderr.
Francois Fleuret [Thu, 11 Aug 2011 22:35:33 +0000 (00:35 +0200)]
Fixed the error message of sage_malloc to stderr.

13 years agoReplaced a big spaghetti mess with fgets.
Francois Fleuret [Tue, 9 Aug 2011 11:24:22 +0000 (13:24 +0200)]
Replaced a big spaghetti mess with fgets.

13 years agoIncreased the version number to 1.1.4.
Francois Fleuret [Tue, 14 Jun 2011 06:46:12 +0000 (08:46 +0200)]
Increased the version number to 1.1.4.

13 years agoAdded the -u option.
Francois Fleuret [Tue, 14 Jun 2011 06:44:01 +0000 (08:44 +0200)]
Added the -u option.

13 years agoFixed the date and version number.
Francois Fleuret [Tue, 3 May 2011 07:09:52 +0000 (09:09 +0200)]
Fixed the date and version number.

13 years agoFixed the help for the -n option.
Francois Fleuret [Wed, 13 Apr 2011 07:02:53 +0000 (09:02 +0200)]
Fixed the help for the -n option.

13 years agoCosmetics (matcher_t -> struct matcher).
Francois Fleuret [Wed, 13 Apr 2011 07:00:35 +0000 (09:00 +0200)]
Cosmetics (matcher_t -> struct matcher).

13 years agoFixed the line lengths to fill the console width fully.
Francois Fleuret [Wed, 13 Apr 2011 06:55:31 +0000 (08:55 +0200)]
Fixed the line lengths to fill the console width fully.

13 years agoCleaned up the line display. Removed the clrtoeol, which seems to be useless (?)
Francois Fleuret [Tue, 12 Apr 2011 16:24:37 +0000 (18:24 +0200)]
Cleaned up the line display. Removed the clrtoeol, which seems to be useless (?)

13 years agoChanged the header for the copyright years.
Francois Fleuret [Tue, 8 Mar 2011 17:54:08 +0000 (18:54 +0100)]
Changed the header for the copyright years.

13 years agoRemoved the handling of the -- option, as it seems to be standard in getopt.
Francois Fleuret [Sat, 19 Feb 2011 22:09:53 +0000 (23:09 +0100)]
Removed the handling of the -- option, as it seems to be standard in getopt.

13 years agoIgnore keys generated by a tty (xterm) resizing.
Francois Fleuret [Fri, 11 Feb 2011 08:07:10 +0000 (09:07 +0100)]
Ignore keys generated by a tty (xterm) resizing.

13 years agoAdded the --exclamation-negates option. Increased the version number.
Francois Fleuret [Fri, 11 Feb 2011 07:42:06 +0000 (08:42 +0100)]
Added the --exclamation-negates option. Increased the version number.

13 years agoUse the --bash option in the key-binding example.
Francois Fleuret [Sat, 5 Feb 2011 10:20:24 +0000 (11:20 +0100)]
Use the --bash option in the key-binding example.

13 years agoAdded the "%s" format when simply writing a string.
Francois Fleuret [Thu, 27 Jan 2011 21:28:16 +0000 (22:28 +0100)]
Added the "%s" format when simply writing a string.

13 years agoTypo.
Francois Fleuret [Wed, 12 Jan 2011 17:31:45 +0000 (18:31 +0100)]
Typo.

13 years agoRenamed the 'enter' variable to 'done'.
Francois Fleuret [Thu, 16 Dec 2010 08:54:18 +0000 (09:54 +0100)]
Renamed the 'enter' variable to 'done'.

13 years agoDo not beep when pressing enter.
Francois Fleuret [Thu, 16 Dec 2010 07:25:15 +0000 (08:25 +0100)]
Do not beep when pressing enter.

13 years agoAdded an beep for non handled key codes.
Francois Fleuret [Thu, 16 Dec 2010 07:17:11 +0000 (08:17 +0100)]
Added an beep for non handled key codes.

13 years agoCosmetics.
Francois Fleuret [Wed, 1 Dec 2010 07:17:41 +0000 (08:17 +0100)]
Cosmetics.

14 years agoCosmetics.
Francois Fleuret [Fri, 19 Nov 2010 20:27:23 +0000 (21:27 +0100)]
Cosmetics.

14 years agoCosmetics.
Francois Fleuret [Mon, 13 Sep 2010 08:21:18 +0000 (10:21 +0200)]
Cosmetics.

14 years agoAdded a detection of full hash table.
Francois Fleuret [Mon, 13 Sep 2010 08:20:48 +0000 (10:20 +0200)]
Added a detection of full hash table.

14 years agoCosmetics.
Francois Fleuret [Sat, 17 Jul 2010 19:59:04 +0000 (21:59 +0200)]
Cosmetics.

14 years agoVersion 1.1.2.
Francois Fleuret [Mon, 28 Jun 2010 16:36:03 +0000 (18:36 +0200)]
Version 1.1.2.

14 years agoThe --bash option now mimics also -l ${HISTSIZE}
Francois Fleuret [Mon, 28 Jun 2010 16:32:33 +0000 (18:32 +0200)]
The --bash option now mimics also -l ${HISTSIZE}

14 years agoCosmetics.
Francois Fleuret [Mon, 28 Jun 2010 16:25:20 +0000 (18:25 +0200)]
Cosmetics.

14 years agoRemoved an unused parameter in previous_visible().
Francois Fleuret [Thu, 17 Jun 2010 20:37:48 +0000 (22:37 +0200)]
Removed an unused parameter in previous_visible().

14 years agoAdded the -Wextra option to the compiler.
Francois Fleuret [Thu, 17 Jun 2010 20:37:29 +0000 (22:37 +0200)]
Added the -Wextra option to the compiler.

14 years agoRewrote the example for bash history with the --bash option.
Francois Fleuret [Mon, 24 May 2010 12:13:45 +0000 (14:13 +0200)]
Rewrote the example for bash history with the --bash option.

14 years agoCosmetics.
Francois Fleuret [Mon, 24 May 2010 09:11:32 +0000 (11:11 +0200)]
Cosmetics.

14 years agoAdded the --bash option.
Francois Fleuret [Mon, 17 May 2010 06:17:17 +0000 (08:17 +0200)]
Added the --bash option.

14 years agoFixed the version number.
Francois Fleuret [Sat, 17 Apr 2010 19:47:05 +0000 (21:47 +0200)]
Fixed the version number.

14 years agoFixed the --help message.
Francois Fleuret [Sat, 17 Apr 2010 05:00:56 +0000 (07:00 +0200)]
Fixed the --help message.

14 years agoCosmetics.
Francois Fleuret [Sat, 17 Apr 2010 04:47:48 +0000 (06:47 +0200)]
Cosmetics.

14 years agoRewrote the parsing of the color parameters.
Francois Fleuret [Sat, 17 Apr 2010 04:46:18 +0000 (06:46 +0200)]
Rewrote the parsing of the color parameters.

14 years agoRemoved the -f option.
Francois Fleuret [Fri, 16 Apr 2010 21:07:22 +0000 (23:07 +0200)]
Removed the -f option.

14 years agoRemoved a debug line.
Francois Fleuret [Tue, 13 Apr 2010 18:53:34 +0000 (20:53 +0200)]
Removed a debug line.

14 years agoFixed a bug with the result of getopt_long.
Francois Fleuret [Tue, 13 Apr 2010 18:49:28 +0000 (20:49 +0200)]
Fixed a bug with the result of getopt_long.

14 years agoAdded a line about -v not working in FreeBSD 8.0.
Francois Fleuret [Tue, 13 Apr 2010 16:49:14 +0000 (18:49 +0200)]
Added a line about -v not working in FreeBSD 8.0.

14 years agoChanged the month and year.
Francois Fleuret [Tue, 13 Apr 2010 16:37:14 +0000 (18:37 +0200)]
Changed the month and year.

14 years agoCosmetics.
Francois Fleuret [Tue, 13 Apr 2010 16:35:15 +0000 (18:35 +0200)]
Cosmetics.

14 years agoChanged the version number to 1.1 since the argument of -c changed.
Francois Fleuret [Tue, 13 Apr 2010 16:35:06 +0000 (18:35 +0200)]
Changed the version number to 1.1 since the argument of -c changed.

14 years agoChanged two long options.
Francois Fleuret [Tue, 13 Apr 2010 16:26:19 +0000 (18:26 +0200)]
Changed two long options.

14 years agoNow uses getopt_long to parse the arguments.
Francois Fleuret [Tue, 13 Apr 2010 16:25:25 +0000 (18:25 +0200)]
Now uses getopt_long to parse the arguments.

14 years agoRemoved the ugly script to make a Debian package.
Francois Fleuret [Thu, 18 Mar 2010 17:43:27 +0000 (18:43 +0100)]
Removed the ugly script to make a Debian package.

14 years agoChanged slightly the introduction.
Francois Fleuret [Thu, 18 Mar 2010 07:55:33 +0000 (08:55 +0100)]
Changed slightly the introduction.

14 years agoRemoved the REVISION_NUMBER file.
Francois Fleuret [Wed, 17 Mar 2010 07:26:05 +0000 (08:26 +0100)]
Removed the REVISION_NUMBER file.

14 years agoRemoved the revision number.
Francois Fleuret [Wed, 17 Mar 2010 07:15:25 +0000 (08:15 +0100)]
Removed the revision number.

14 years agoMoved the help in its own function.
Francois Fleuret [Tue, 16 Mar 2010 20:22:53 +0000 (21:22 +0100)]
Moved the help in its own function.

14 years agoAdded a safe_malloc and removed the cast when using it.
Francois Fleuret [Tue, 16 Mar 2010 17:55:22 +0000 (18:55 +0100)]
Added a safe_malloc and removed the cast when using it.

14 years agoFixed the \n at the beginning.
Francois Fleuret [Mon, 8 Mar 2010 12:45:56 +0000 (13:45 +0100)]
Fixed the \n at the beginning.

14 years agoAdded the information from uname into the help.
Francois Fleuret [Fri, 5 Mar 2010 07:05:53 +0000 (08:05 +0100)]
Added the information from uname into the help.

14 years agoReplaced the exit values with EXIT_SUCCESS and EXIT_FAILURE.
Francois Fleuret [Fri, 26 Feb 2010 17:05:51 +0000 (18:05 +0100)]
Replaced the exit values with EXIT_SUCCESS and EXIT_FAILURE.

14 years agoChanged ttyname() to isatty() + cosmetics.
Francois Fleuret [Tue, 19 Jan 2010 21:12:21 +0000 (22:12 +0100)]
Changed ttyname() to isatty() + cosmetics.

14 years agoThere has been enough changes (this is a lame comment ...)
Francois Fleuret [Sun, 17 Jan 2010 17:03:44 +0000 (18:03 +0100)]
There has been enough changes (this is a lame comment ...)

14 years agoRemoved the typedef for hash_table_t.
Francois Fleuret [Sun, 17 Jan 2010 17:01:44 +0000 (18:01 +0100)]
Removed the typedef for hash_table_t.

15 years agoThere has been enough changes for a new revision number.
Francois Fleuret [Wed, 21 Oct 2009 17:13:32 +0000 (19:13 +0200)]
There has been enough changes for a new revision number.

15 years agoCosmetics.
Francois Fleuret [Mon, 12 Oct 2009 06:03:39 +0000 (08:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Sat, 15 Aug 2009 19:51:20 +0000 (21:51 +0200)]
Cosmetics.

15 years agoCosmetics (80 columns).
Francois Fleuret [Tue, 4 Aug 2009 07:26:16 +0000 (09:26 +0200)]
Cosmetics (80 columns).

15 years agoCosmetices. Added comments.
Francois Fleuret [Tue, 28 Jul 2009 09:39:21 +0000 (11:39 +0200)]
Cosmetices. Added comments.

15 years agoThe help is now written to stdout for -h and stderr for an error.
Francois Fleuret [Thu, 9 Jul 2009 06:59:01 +0000 (08:59 +0200)]
The help is now written to stdout for -h and stderr for an error.

15 years agoAutomatic commit
Francois Fleuret [Wed, 8 Jul 2009 09:33:39 +0000 (11:33 +0200)]
Automatic commit

15 years agoTypos.
Francois Fleuret [Mon, 6 Jul 2009 07:33:52 +0000 (09:33 +0200)]
Typos.

15 years agoTypos + added two examples.
Francois Fleuret [Mon, 6 Jul 2009 06:08:19 +0000 (08:08 +0200)]
Typos + added two examples.

15 years agoFixed some troff things.
Francois Fleuret [Sun, 5 Jul 2009 14:58:20 +0000 (16:58 +0200)]
Fixed some troff things.

15 years agoCosmetics.
Francois Fleuret [Sun, 5 Jul 2009 14:07:59 +0000 (16:07 +0200)]
Cosmetics.

15 years agoCosmectics. Added "Selector: " in the error messages.
Francois Fleuret [Sun, 5 Jul 2009 13:43:44 +0000 (15:43 +0200)]
Cosmectics. Added "Selector: " in the error messages.

15 years agoIntroduced a struct hash_table_t to clean the code a bit.
Francois Fleuret [Sun, 5 Jul 2009 11:41:08 +0000 (13:41 +0200)]
Introduced a struct hash_table_t to clean the code a bit.

15 years agoCosmetics.
Francois Fleuret [Fri, 3 Jul 2009 06:06:33 +0000 (08:06 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Wed, 1 Jul 2009 09:28:55 +0000 (11:28 +0200)]
Cosmetics.

15 years agoNow compiles with -pedantic.
Francois Fleuret [Wed, 1 Jul 2009 06:58:36 +0000 (08:58 +0200)]
Now compiles with -pedantic.

15 years agoCosmetics.
Francois Fleuret [Wed, 1 Jul 2009 06:48:00 +0000 (08:48 +0200)]
Cosmetics.

15 years agoAdded the fclose() for the input files.
Francois Fleuret [Sun, 28 Jun 2009 10:18:16 +0000 (12:18 +0200)]
Added the fclose() for the input files.

15 years agoCosmetics.
Francois Fleuret [Sat, 27 Jun 2009 22:58:10 +0000 (00:58 +0200)]
Cosmetics.

15 years agoConverted the source to pure C instead of bastardized C++.
Francois Fleuret [Sat, 27 Jun 2009 21:35:20 +0000 (23:35 +0200)]
Converted the source to pure C instead of bastardized C++.

15 years agoChanged the comments to the C syntax.
Francois Fleuret [Sat, 27 Jun 2009 20:57:33 +0000 (22:57 +0200)]
Changed the comments to the C syntax.

15 years agoFinished the conversion to pure C.
Francois Fleuret [Sat, 27 Jun 2009 12:03:14 +0000 (14:03 +0200)]
Finished the conversion to pure C.

15 years agoThis C version compiles.
Francois Fleuret [Sat, 27 Jun 2009 11:59:19 +0000 (13:59 +0200)]
This C version compiles.

15 years agoStarting to convert to basic C.
Francois Fleuret [Sat, 27 Jun 2009 11:46:00 +0000 (13:46 +0200)]
Starting to convert to basic C.

15 years agoAutomatic commit
Francois Fleuret [Fri, 26 Jun 2009 14:26:49 +0000 (16:26 +0200)]
Automatic commit

15 years agoCosmetics.
Francois Fleuret [Mon, 22 Jun 2009 17:19:49 +0000 (19:19 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Sun, 21 Jun 2009 20:52:54 +0000 (22:52 +0200)]
Cosmetics.

15 years agoAdded cbreak and intrflush into ncurses initialization.
Francois Fleuret [Thu, 18 Jun 2009 19:38:48 +0000 (21:38 +0200)]
Added cbreak and intrflush into ncurses initialization.

15 years agoMerge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector
Francois Fleuret [Fri, 12 Jun 2009 22:15:54 +0000 (00:15 +0200)]
Merge branch 'master' of ssh://fleuret@login.idiap.ch/homes/fleuret/public/git/selector

15 years agoWhen using the -x option, the part of the line before the separator is not returned.
Francois Fleuret [Thu, 11 Jun 2009 09:51:30 +0000 (11:51 +0200)]
When using the -x option, the part of the line before the separator is not returned.

15 years agoWhen using the -x option, the part of the line after the separator is not returned.
Francois Fleuret [Thu, 11 Jun 2009 09:51:30 +0000 (11:51 +0200)]
When using the -x option, the part of the line after the separator is not returned.

15 years agoCosmetics.
Francois Fleuret [Tue, 9 Jun 2009 14:58:37 +0000 (16:58 +0200)]
Cosmetics.

15 years agoAdded the stripping of the binary.
Francois Fleuret [Tue, 9 Jun 2009 14:58:31 +0000 (16:58 +0200)]
Added the stripping of the binary.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 10:47:11 +0000 (12:47 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 08:03:22 +0000 (10:03 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:58:31 +0000 (09:58 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:45:43 +0000 (09:45 +0200)]
Cosmetics.

15 years agoCosmetics.
Francois Fleuret [Mon, 8 Jun 2009 07:37:53 +0000 (09:37 +0200)]
Cosmetics.

Better handling of the attribute in color and monochrome modes.

15 years agoErrors messages are now in red.
Francois Fleuret [Mon, 8 Jun 2009 07:28:32 +0000 (09:28 +0200)]
Errors messages are now in red.

15 years agoUse HISTSIZE in the examples.
Francois Fleuret [Sun, 7 Jun 2009 20:19:26 +0000 (22:19 +0200)]
Use HISTSIZE in the examples.

15 years agoCosmetics.
Francois Fleuret [Thu, 4 Jun 2009 06:54:12 +0000 (08:54 +0200)]
Cosmetics.