CVS commit: src/usr.sbin/makemandb

2020-11-09 Thread Martin Husemann
Module Name:src Committed By: martin Date: Mon Nov 9 10:19:41 UTC 2020 Modified Files: src/usr.sbin/makemandb: Makefile Log Message: Fix copy&pasto in previous To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/makemandb/Makefile Please note tha

CVS commit: src/usr.sbin/makemandb

2020-06-02 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jun 2 15:43:26 UTC 2020 Modified Files: src/usr.sbin/makemandb: nostem.txt Log Message: Register ppoll To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/makemandb/nostem.txt Please note that diffs are

CVS commit: src/usr.sbin/makemandb

2019-04-19 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Fri Apr 19 20:35:14 UTC 2019 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Memory allocated by sqlite3_mprintf should be free'd by sqlite3_free This was causing memory corruption thus making apropos(1) fai

CVS commit: src/usr.sbin/makemandb

2019-04-14 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 14 07:59:56 UTC 2019 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Set the snippet_length field of the callback_args Because of this field not being set, apropos was failing to show snippet when p

CVS commit: src/usr.sbin/makemandb

2019-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 11 00:31:36 UTC 2019 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: remove unneeded header. To generate a diff of this commit: cvs rdiff -u -r1.58 -r1.59 src/usr.sbin/makemandb/makemandb.c Please not

CVS commit: src/usr.sbin/makemandb

2019-03-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Mar 11 00:14:44 UTC 2019 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: adjust to the new mandoc api To generate a diff of this commit: cvs rdiff -u -r1.57 -r1.58 src/usr.sbin/makemandb/makemandb.c Pleas

CVS commit: src/usr.sbin/makemandb

2019-03-07 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 7 22:08:59 UTC 2019 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: fix memory allocation problems detected by jemalloc... To generate a diff of this commit: cvs rdiff -u -r1.40 -r1.41 src/usr.sbi

CVS commit: src/usr.sbin/makemandb

2018-08-24 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Fri Aug 24 16:01:57 UTC 2018 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Adjust makemandb for the latest mandoc ok christos@ To generate a diff of this commit: cvs rdiff -u -r1.56 -r1.57 src/usr.sbin/makem

CVS commit: src/usr.sbin/makemandb

2018-08-15 Thread Robert Elz
Module Name:src Committed By: kre Date: Thu Aug 16 05:07:22 UTC 2018 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: In the latest mandoc (mdocml) the signature (prototype) of mparse_alloc() altered - update the call here to compensate. This fixes the bui

CVS commit: src/usr.sbin/makemandb

2017-11-25 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Nov 25 14:29:38 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c Log Message: Encapsulate all the arguments required by the query callback function in a struct. If we want to add or

CVS commit: src/usr.sbin/makemandb

2017-10-31 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue Oct 31 10:14:27 UTC 2017 Modified Files: src/usr.sbin/makemandb: custom_apropos_tokenizer.c Log Message: Casting variable of type int * to size_t *, may cause alignment issues on some platforms (e.g. Sparc64) So, Use a tempo

CVS commit: src/usr.sbin/makemandb

2017-08-02 Thread Jared D. McNeill
Module Name:src Committed By: jmcneill Date: Wed Aug 2 12:52:19 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos.c Log Message: Make the 'no results found' message sound less harsh. Changes "try using better keywords" to "try using different keywords". To gener

CVS commit: src/usr.sbin/makemandb

2017-08-01 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue Aug 1 16:16:32 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Don't use the custom tokenizer when compiled with debugging on Using the custom tokenizer means one cannot interactively query the

CVS commit: src/usr.sbin/makemandb

2017-06-18 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Jun 18 16:24:10 UTC 2017 Modified Files: src/usr.sbin/makemandb: Makefile apropos-utils.c apropos-utils.h Added Files: src/usr.sbin/makemandb: custom_apropos_tokenizer.c custom_apropos_tokenizer.h fts3_toke

CVS commit: src/usr.sbin/makemandb

2017-05-23 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue May 23 15:27:54 UTC 2017 Modified Files: src/usr.sbin/makemandb: whatis.c Log Message: Make the name comparison case insensitive. (The old whatis(1) also used to do case insensitive string comparisons). To generate a diff

CVS commit: src/usr.sbin/makemandb

2017-05-10 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed May 10 12:09:52 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Get rid of unnecessary variable. To generate a diff of this commit: cvs rdiff -u -r1.54 -r1.55 src/usr.sbin/makemandb/makemandb.c Pl

CVS commit: src/usr.sbin/makemandb

2017-05-02 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue May 2 13:54:08 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: We do need to copy the return value from dirname(3) since there it is a static buffer and can be overwritten in between. I overzealousl

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon May 1 06:56:00 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Avoid dereferencing pointer at multiple places, instead use a local variable. To generate a diff of this commit: cvs rdiff -u -r1.52

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon May 1 06:43:56 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Remove the table name parameter from the check_md5 function. There is only one table storing the md5 checksums, so we can hardcode the

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon May 1 05:52:33 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Avoid copying strings where it is not needed. To generate a diff of this commit: cvs rdiff -u -r1.50 -r1.51 src/usr.sbin/makemandb/ma

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon May 1 05:28:00 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c Log Message: Simplify handling of the section arguments in apropos(1). Earlier, a white space separated string was ge

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 30 16:56:30 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Simplify To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/makemandb/apropos-utils.c Please note that d

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 30 15:27:24 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Instead of dereferencing the pointer passed in as function argument, use a temporary local buffer. Saves the cost of pointer derefe

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 30 14:53:58 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Update the comment to be in sync with the code. To generate a diff of this commit: cvs rdiff -u -r1.33 -r1.34 src/usr.sbin/makema

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 30 14:49:26 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Use sqlite3_mprintf() to generate SQL query instead of asprintf. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 sr

CVS commit: src/usr.sbin/makemandb

2017-04-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 30 08:41:18 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Avoid a call to strncmp when comparing only the first character of the string. To generate a diff of this commit: cvs rdiff -u -r1.49

CVS commit: src/usr.sbin/makemandb

2017-04-29 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Apr 29 16:49:51 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Bring the comment in sync with code (after changes brought by the last commit). To generate a diff of this commit: cvs rdiff -u -r1.4

CVS commit: src/usr.sbin/makemandb

2017-04-29 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Apr 29 14:43:09 UTC 2017 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Don't parse Nm macro when it occurs anywhere outside the NAME section. mandoc(3) already generates the text node representing the valu

CVS commit: src/usr.sbin/makemandb

2017-04-27 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Apr 27 08:02:24 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Disable the database compression if DEBUG is defined. When debugging makemandb(8), it helps to be able to view the text being stor

CVS commit: src/usr.sbin/makemandb

2017-04-23 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 23 16:56:49 UTC 2017 Modified Files: src/usr.sbin/makemandb: whatis.c Log Message: Teach whatis(1) to handle MLINKS Similar to apropos(1), whatis did not utilise the mandb_links table till now. Therefore, if it was asked

CVS commit: src/usr.sbin/makemandb

2017-04-23 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Apr 23 13:52:57 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Better handle MLINKS in apropos(1). apropos(1) only indexes the first .Nm entry from the NAME section in the full text index. Rest

CVS commit: src/usr.sbin/makemandb

2017-04-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Apr 21 23:07:45 UTC 2017 Modified Files: src/usr.sbin/makemandb: Makefile Log Message: libarchive now needs crypto To generate a diff of this commit: cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/makemandb/Makefile Please note th

CVS commit: src/usr.sbin/makemandb

2017-01-09 Thread Kamil Rytarowski
Module Name:src Committed By: kamil Date: Tue Jan 10 04:34:07 UTC 2017 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Include for R_OK W_OK STDOUT_FILENO access(2) These symbols are undefined after switch to new zlib. To generate a diff of this co

CVS commit: src/usr.sbin/makemandb

2016-12-19 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon Dec 19 14:10:57 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Escape hyphen when parsing .Nd To generate a diff of this commit: cvs rdiff -u -r1.45 -r1.46 src/usr.sbin/makemandb/makemandb.c Plea

CVS commit: src/usr.sbin/makemandb

2016-12-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Dec 17 17:04:38 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Don't ignore symlinks. There can be symlinks which are pointing to man pages not installed in one of the _default locations mentioned i

CVS commit: src/usr.sbin/makemandb

2016-10-03 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon Oct 3 16:11:11 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: We don't need to parse the sections we don't index, so stop early. Saves few instructions. To generate a diff of this commit: cvs rdi

CVS commit: src/usr.sbin/makemandb

2016-10-03 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon Oct 3 13:53:39 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: With the latest release of mandoc, makemandb(8) started to parse some sections multiple times. This started to happen because, pmdoc_Sh

CVS commit: src/usr.sbin/makemandb

2016-10-03 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon Oct 3 13:36:35 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Mark the section and md5_hash columns as unindexed in the FTS table, as they are not used for search To generate a diff of this

CVS commit: src/usr.sbin/makemandb

2016-07-21 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jul 21 12:24:54 UTC 2016 Modified Files: src/usr.sbin/makemandb: Makefile Log Message: Add -lz to makefile to fix the build. To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/makemandb/Makefile Plea

CVS commit: src/usr.sbin/makemandb

2016-07-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Jul 17 15:56:14 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Use deroff() from mandoc(3) to directly parse the Nd macro rather than parsing it by hand. With the latest mandoc(3), the .Nd macro wa

CVS commit: src/usr.sbin/makemandb

2016-07-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun Jul 17 12:18:12 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Fix extraction of section number and machine architecture from man pages. With the latest API, mdoc_validate()/man_validate() needs to

CVS commit: src/usr.sbin/makemandb

2016-07-15 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Jul 15 19:41:33 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Sync with API changes. To generate a diff of this commit: cvs rdiff -u -r1.39 -r1.40 src/usr.sbin/makemandb/makemandb.c Please note

CVS commit: src/usr.sbin/makemandb

2016-07-06 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed Jul 6 18:03:27 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Fix an off by one issue when concatenating strings. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/ma

CVS commit: src/usr.sbin/makemandb

2016-07-06 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed Jul 6 08:52:01 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Avoid possible buffer overflow while parsing NAME section of man(7) pages. Also, simplify copyging of strings, use estrdupn instead of

CVS commit: src/usr.sbin/makemandb

2016-07-05 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed Jul 6 06:57:40 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Fix possible buffer overflow when concatenating strings. Patch from christos@ To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/usr.sbin/makemandb

2016-07-05 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue Jul 5 16:24:18 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Reuse variable from previous line. To generate a diff of this commit: cvs rdiff -u -r1.37 -r1.38 src/usr.sbin/makemandb/makemandb.c

CVS commit: src/usr.sbin/makemandb

2016-06-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sat Jun 18 06:36:18 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.8 Log Message: Improve wording, and add reference to mandoc(3) Ok from wiz@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/usr.sbi

CVS commit: src/usr.sbin/makemandb

2016-06-17 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Fri Jun 17 18:48:07 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos.1 Log Message: Fix grammar/spelling at few places. To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.sbin/makemandb/apropos.1 Ple

CVS commit: src/usr.sbin/makemandb

2016-06-16 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Thu Jun 16 14:07:16 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos.1 whatis.1 Log Message: Add man.conf(5) and man(1) in the SEE ALSO section. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.sbin

CVS commit: src/usr.sbin/makemandb

2016-06-01 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Wed Jun 1 15:59:18 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Refactor the function for executing the search SQL query into two parts. One part is responsible for generating the SQL query The

CVS commit: src/usr.sbin/makemandb

2016-05-30 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Mon May 30 19:35:29 UTC 2016 Modified Files: src/usr.sbin/makemandb: stopwords.txt Log Message: Add 'a' to the stopwords list. Ok from christos To generate a diff of this commit: cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/makemandb/

CVS commit: src/usr.sbin/makemandb

2016-05-24 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Tue May 24 18:06:42 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.3 close_db.3 init_db.3 run_query.3 Removed Files: src/usr.sbin/makemandb: run_query_html.3 run_query_pager.3 Log Message: Brin

CVS commit: src/usr.sbin/makemandb

2016-05-22 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun May 22 19:26:04 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos.1 apropos.c whatis.1 whatis.c Log Message: Add options to whatis and apropos to accept custom man.conf. makemandb(8), man(1) already use -C as an optio

CVS commit: src/usr.sbin/makemandb

2016-05-21 Thread Abhinav Upadhyay
Module Name:src Committed By: abhinav Date: Sun May 22 05:03:17 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.8 Log Message: Remove a trailing white space after .Nm (mandoc -Tlint was complaining about it) To generate a diff of this commit: cvs rdiff -u -r1.

CVS commit: src/usr.sbin/makemandb

2016-04-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Apr 24 18:11:43 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: CID 1358675: Wrong variable test To generate a diff of this commit: cvs rdiff -u -r1.24 -r1.25 src/usr.sbin/makemandb/apropos-ut

CVS commit: src/usr.sbin/makemandb

2016-04-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sat Apr 23 14:15:36 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos.c Log Message: add a newline To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/makemandb/apropos.c Please note that diffs a

CVS commit: src/usr.sbin/makemandb

2016-04-13 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 13 11:48:29 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c makemandb.c Log Message: PR/51062: Abhinav Upadhyay: Allow non numeric sections to be indexed and searche

CVS commit: src/usr.sbin/makemandb

2016-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 13 01:41:18 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: PR/51040: Abhinav Upadhyay: Fix memory leak To generate a diff of this commit: cvs rdiff -u -r1.35 -r1.36 src/usr.sbin/makemandb/mak

CVS commit: src/usr.sbin/makemandb

2016-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 13 01:40:09 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: PR/51039: Abhinav Upadhyay: Check for return value of chdir(2) To generate a diff of this commit: cvs rdiff -u -r1.34 -r1.35 src/usr

CVS commit: src/usr.sbin/makemandb

2016-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 13 01:37:50 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h Log Message: PR/51038: Abhinav Upadhyay: check for access permissions to the sqlite database To generate a diff of this commi

CVS commit: src/usr.sbin/makemandb

2016-04-12 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Apr 13 01:32:00 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: PR/51034: Abhinav Upadhyay: Close database connection when failed to commit To generate a diff of this commit: cvs rdiff -u -r1.33 -

CVS commit: src/usr.sbin/makemandb

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 20:17:58 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: PR/51034: Abhinav Upadhyay: makemandb(8): Close database connection when failed to commit To generate a diff of this commit: cvs rdi

CVS commit: src/usr.sbin/makemandb

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 20:16:58 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: PR/51025: Abhinav Upadhyay: Remove unused includes from apropos-utils.c To generate a diff of this commit: cvs rdiff -u -r1.21 -

CVS commit: src/usr.sbin/makemandb

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 20:15:49 UTC 2016 Modified Files: src/usr.sbin/makemandb: stopwords.txt Log Message: update with the final list To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/makemandb/stopwords.txt Pleas

CVS commit: src/usr.sbin/makemandb

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 20:14:36 UTC 2016 Modified Files: src/usr.sbin/makemandb: stopwords.txt Log Message: PR/51018: Abhinav Upadhyay: Update stopwords list for apropos(1) To generate a diff of this commit: cvs rdiff -u -r1.1 -r1.2 src/u

CVS commit: src/usr.sbin/makemandb

2016-03-31 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 31 20:13:37 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos.c Log Message: PR/51007: Abhinav Upadhyay: apropos.c: Remove unused includes To generate a diff of this commit: cvs rdiff -u -r1.17 -r1.18 src/usr.sb

CVS commit: src/usr.sbin/makemandb

2016-03-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 24 17:28:03 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: PR/51006: Abhinav Upadhyay: makemandb(8) should parse escape sequences in the NAME section To generate a diff of this commit: cvs rd

CVS commit: src/usr.sbin/makemandb

2016-03-24 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Mar 24 16:07:13 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: PR/51004: Abhinav Upadhyay: apropos html mode doesn't handle especial characters in the short description To generate a diff of

CVS commit: src/usr.sbin/makemandb

2016-03-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Mar 20 17:31:09 UTC 2016 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: PR/50460: Abhinav Upadhyay: Fix legacy apropos query to match both the name and the one line description and delete extra args.

CVS commit: src/usr.sbin/makemandb

2016-01-27 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Jan 28 03:32:29 UTC 2016 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Don't crash if we have a missing section. To generate a diff of this commit: cvs rdiff -u -r1.30 -r1.31 src/usr.sbin/makemandb/makem

CVS commit: src/usr.sbin/makemandb

2015-12-20 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Dec 20 19:45:29 UTC 2015 Modified Files: src/usr.sbin/makemandb: apropos.c Log Message: if we only asked for stopwords, use the original query. To generate a diff of this commit: cvs rdiff -u -r1.16 -r1.17 src/usr.sbin/mak

CVS commit: src/usr.sbin/makemandb

2015-12-18 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Dec 18 14:30:16 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Adjust to the new mdocml To generate a diff of this commit: cvs rdiff -u -r1.29 -r1.30 src/usr.sbin/makemandb/makemandb.c Please no

CVS commit: src/usr.sbin/makemandb

2015-12-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Thu Dec 3 21:01:50 UTC 2015 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: CID 1341551: Don't bother formatting if ti == NULL To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/ma

CVS commit: src/usr.sbin/makemandb

2015-11-23 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Nov 23 22:34:00 UTC 2015 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: PR/50344: Stephen Fisher: apropos shows formatting on console with vt100 term type. Can't print terminfo sequences directly; need

CVS commit: src/usr.sbin/makemandb

2015-04-07 Thread Iain Hibbert
Module Name:src Committed By: plunky Date: Tue Apr 7 17:47:10 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: largely apply patch from PR bin/47392 by Abhinav Upadhyay change some comments to reflect reality, a variable name to enhance readabili

CVS commit: src/usr.sbin/makemandb

2015-03-12 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Thu Mar 12 14:57:19 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: MDOC_MAX is a valid token if the type is text. Adjust. To generate a diff of this commit: cvs rdiff -u -r1.27 -r1.28 src/usr.sbin/makem

CVS commit: src/usr.sbin/makemandb

2015-03-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed Mar 4 02:02:15 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: - handle section numbers that are not single digits - don't allocate and free needlessly To generate a diff of this commit: cvs rdif

CVS commit: src/usr.sbin/makemandb

2015-03-03 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Mar 3 18:04:33 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.8 Log Message: mention that this replaces makewhatis(8) To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/makemandb/makemand

CVS commit: src/usr.sbin/makemandb

2015-03-02 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Mon Mar 2 13:51:24 UTC 2015 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Explicitly deal with end of lists. PR 49708. To generate a diff of this commit: cvs rdiff -u -r1.25 -r1.26 src/usr.sbin/makemandb/makem

CVS commit: src/usr.sbin/makemandb

2014-11-04 Thread Soren Jacobsen
Module Name:src Committed By: snj Date: Tue Nov 4 08:05:21 UTC 2014 Modified Files: src/usr.sbin/makemandb: apropos.1 Log Message: Thankfully, apropos returns all results by default these days. Remove outdated sentence referring to the original (well, old new) limit of 1

CVS commit: src/usr.sbin/makemandb

2014-08-01 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Aug 1 12:55:00 UTC 2014 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: Fix an off by one bug in apropos. The bug is in the html output where some garbage characters are seen in the context match output. >F

CVS commit: src/usr.sbin/makemandb

2014-06-03 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Jun 3 14:42:41 UTC 2014 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Fix a bug that caused an error about a UNIQUE constraint violation. Patch from Abhinav Upadhyay. To generate a diff of this commit: cvs r

CVS commit: src/usr.sbin/makemandb

2014-05-24 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Sat May 24 21:01:58 UTC 2014 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Replace non-breaking space with hyphen, and call hyphen replacement from one more place. Improves 'man -k midi' output. >From Abhinav Upad

CVS commit: src/usr.sbin/makemandb

2014-02-09 Thread Chuck Silvers
Module Name:src Committed By: chs Date: Mon Feb 10 00:23:36 UTC 2014 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: in update_db(), extract the full list of files to update from the db before actually updating anything, since changing the db while the que

CVS commit: src/usr.sbin/makemandb

2014-01-05 Thread Joerg Sonnenberger
Module Name:src Committed By: joerg Date: Sun Jan 5 19:26:44 UTC 2014 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Sync with interface change in mdocml 1.12.3. To generate a diff of this commit: cvs rdiff -u -r1.20 -r1.21 src/usr.sbin/makemandb/makem

CVS commit: src/usr.sbin/makemandb

2013-11-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Nov 29 23:58:23 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos.1 makemandb.8 Log Message: Wording improvements from Abhinav Upadhyay To generate a diff of this commit: cvs rdiff -u -r1.13 -r1.14 src/usr.sbin/makemand

CVS commit: src/usr.sbin/makemandb

2013-11-13 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Wed Nov 13 18:46:33 UTC 2013 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: Skip files of size 0 from indexing. >From Abhinav Upadhyay . To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 src/usr.sbin/

CVS commit: src/usr.sbin/makemandb

2013-05-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Wed May 15 00:35:02 UTC 2013 Modified Files: src/usr.sbin/makemandb: makemandb.c Log Message: avoid stdio assertion, failing later To generate a diff of this commit: cvs rdiff -u -r1.18 -r1.19 src/usr.sbin/makemandb/makemandb.

CVS commit: src/usr.sbin/makemandb

2013-04-02 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Tue Apr 2 18:35:28 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.3 apropos.1 Log Message: Bump date. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/makemandb/apropos-utils.3 cvs rdiff -u

CVS commit: src/usr.sbin/makemandb

2013-04-02 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Tue Apr 2 17:16:50 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.3 apropos-utils.c apropos-utils.h apropos.1 apropos.c Log Message: instead of having a format and no format flag, and exposing variou

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Mar 29 21:39:16 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos.c Log Message: Sync usage with man page. To generate a diff of this commit: cvs rdiff -u -r1.14 -r1.15 src/usr.sbin/makemandb/apropos.c Please note that

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Thomas Klausner
Module Name:src Committed By: wiz Date: Fri Mar 29 21:39:09 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos.1 Log Message: Use Ev for environment variables. Improve -n description. To generate a diff of this commit: cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/makema

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Mar 29 20:46:07 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c Log Message: fix legacy mode in pager filter. (don't ul format if we are not formatting). To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Mar 29 20:37:00 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos.1 apropos.c Log Message: - Fix legacy mode to use like instead of match. This loses ranking. - default to unlimited lines - fix formatt

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Mar 29 20:17:19 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos.1 Log Message: Don't enumerate all the digit sections Explain limitations in legacy mode To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9

CVS commit: src/usr.sbin/makemandb

2013-03-29 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Fri Mar 29 20:07:32 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.1 apropos.c Log Message: - If the stdout is not a tty, prevent formatting unless forced with -i - Don't eve

CVS commit: src/usr.sbin/makemandb

2013-02-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 10 23:58:28 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.1 apropos.c Log Message: add -r flag to elide tty formatting To generate a diff of this commit: cvs rdiff

CVS commit: src/usr.sbin/makemandb

2013-02-10 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Sun Feb 10 23:24:19 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c makemandb.c Log Message: remove trailing whitespace To generate a diff of this commit: cvs rdiff -u -r1

CVS commit: src/usr.sbin/makemandb

2013-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 14 21:26:25 UTC 2013 Modified Files: src/usr.sbin/makemandb: apropos-utils.c apropos-utils.h apropos.c Log Message: - move the terminal handling in apropos-utils.c since htmp and pager are also handled there. - underli

CVS commit: src/usr.sbin/makemandb

2013-01-14 Thread Christos Zoulas
Module Name:src Committed By: christos Date: Mon Jan 14 18:04:58 UTC 2013 Modified Files: src/usr.sbin/makemandb: Makefile apropos.c Log Message: Fix the #ifdef NOTYET, namely use the terminal standout mode to highlight the search terms. To generate a diff of this commit

  1   2   >