CVS: cvs.openbsd.org: src

2013-10-31 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/10/31 16:37:17 Modified files: sbin/disklabel : Makefile sbin/fdisk : Makefile Log message: List all generated files in CLEANFILES. Issue mentioned by fgs@ on ICB. ok fgs@ bluhm@

CVS: cvs.openbsd.org: src

2013-11-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/02 14:39:24 Modified files: share/man/man7 : mdoc.7 Log message: While answering a question asked by espie@, i noticed that .Fd is not completely obsolete, but still somewhat useful for

CVS: cvs.openbsd.org: src

2013-11-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/02 18:20:24 Modified files: regress/lib/libc/telldir: Makefile telldir.c Added files: regress/lib/libc/telldir: main.c shortseek.c utils.c utils.h Log message: Add a second test,

CVS: cvs.openbsd.org: src

2013-11-03 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/03 10:34:39 Modified files: usr.sbin/nginx/man: nginx.conf.5 Log message: document grammar; written myself; ok florian@

CVS: cvs.openbsd.org: src

2013-11-03 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/03 11:22:47 Modified files: usr.sbin/nginx/man: nginx.conf.5 Log message: minor formatting improvements, in part discussed with florian@

CVS: cvs.openbsd.org: src

2013-11-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/05 02:36:05 Modified files: lib/libc/gen : telldir.c Log message: Make sure seekdir(3) works even when dirp-dd_buf still contains some pending entries: At the time of the lseek(2), also

CVS: cvs.openbsd.org: src

2013-11-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/05 13:36:51 Modified files: lib/libc/gen : rewinddir.c seekdir.c telldir.c telldir.h Log message: Cleanup, no functional change: 1. avoid code duplication in rewinddir() by calling

CVS: cvs.openbsd.org: src

2013-11-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/06 13:35:25 Modified files: lib/libc/gen : opendir.c seekdir.c Log message: Search the userland buffer of dirent structures before falling back to getdents(2). No functional change, but

CVS: cvs.openbsd.org: src

2013-11-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/06 15:26:14 Modified files: lib/libc/gen : readdir.c readdir_r.c Log message: Nowadays, seekdir(3) doesn't call _readdir_unlocked(). Consequently, the skipdeleted argument is always == 1.

CVS: cvs.openbsd.org: www

2013-11-07 Thread Ingo Schwarze
CVSROOT:/cvs Module name:www Changes by: schwa...@cvs.openbsd.org2013/11/07 17:06:44 Modified files: . : index.html Log message: After polishing the mandoc homepage and making it clear over there that mandoc is an OpenBSD project, link to it. Thanks

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 07:32:11 Modified files: share/man/man7 : mandoc_char.7 Log message: clarify that \[u] wants uppercase hex digits

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 07:58:44 Modified files: regress/usr.bin/mandoc: Makefile.inc Log message: prettier whitespace in variable assignments

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 10:43:11 Modified files: regress/usr.bin/mandoc: Makefile.inc Log message: Framework extension to support -Tutf8 tests. New per-directory variables UTF8_TARGETS and SKIP_ASCII, intended

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 11:16:02 src/regress/usr.bin/mandoc/char/unicode Update of /cvs/src/regress/usr.bin/mandoc/char/unicode In directory cvs.openbsd.org:/tmp/cvs-serv17598/unicode Log Message: Directory

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 12:26:31 Modified files: regress/usr.bin/mandoc/char: Makefile Added files: regress/usr.bin/mandoc/char/unicode: Makefile man.in

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 13:17:14 Modified files: share/man/man7 : mandoc_char.7 usr.bin/mandoc : mandoc.c regress/usr.bin/mandoc/char/unicode: man.in man.out_utf8 mdoc.in

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 15:53:58 Modified files: usr.bin/mandoc : man.c Log message: Ignore blank lines right after .SH and .SS. Improves the rendering of gpg(1); issue reported by jca on ports.

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 15:58:25 Modified files: regress/usr.bin/mandoc/man/blank: Makefile Added files: regress/usr.bin/mandoc/man/blank: afterSH.in afterSH.out_ascii

CVS: cvs.openbsd.org: src

2013-11-10 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/10 17:35:51 Modified files: usr.bin/mandoc : man_macro.c man_term.c regress/usr.bin/mandoc/man/RS: Makefile Added files: regress/usr.bin/mandoc/man/RS: lonelyRE.in

CVS: cvs.openbsd.org: src

2013-11-20 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/11/20 18:47:10 Modified files: usr.bin/mandoc : mandocdb.c manpath.c Log message: My audit of mandoc revealed two missing (unsigned char) casts in isspace() and tolower() arguments containing

CVS: cvs.openbsd.org: src

2013-12-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/15 14:18:00 Modified files: share/man/man7 : roff.7 usr.bin/mandoc : libmandoc.h mdoc_validate.c roff.c regress/usr.bin/mandoc/roff/nr: Makefile int.in int.out_ascii Added

CVS: cvs.openbsd.org: src

2013-12-15 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/15 16:56:21 Modified files: usr.bin/mandoc : mdoc_argv.c regress/usr.bin/mandoc/roff/args: Makefile Added files: regress/usr.bin/mandoc/roff/args: mdoc.in mdoc.out_ascii

CVS: cvs.openbsd.org: src

2013-12-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/22 06:24:00 Modified files: usr.bin/mandoc : man_macro.c regress/usr.bin/mandoc/char/space: Makefile Added files: regress/usr.bin/mandoc/char/space: eos-man.in

CVS: cvs.openbsd.org: src

2013-12-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/22 07:06:29 Modified files: usr.bin/mandoc : mdoc_argv.c regress/usr.bin/mandoc/mdoc/Ux: Makefile Added files: regress/usr.bin/mandoc/mdoc/Ux: eos.in eos.out_ascii Log

CVS: cvs.openbsd.org: src

2013-12-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/22 16:33:52 Modified files: usr.bin/mandoc : man_term.c mdoc_term.c term.c term.h Log message: Polishing the worms in my favourite can, term_flushln(). The TERMP_TWOSPACE flag i introduced

CVS: cvs.openbsd.org: src

2013-12-22 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/22 19:19:57 Modified files: usr.bin/mandoc : mdoc_term.c term.c Log message: Implement a long-standing desideratum, hanging indentation for .Fn in SYNOPSIS mode, exploiting the new

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 08:58:07 Modified files: regress/usr.bin/mandoc: Makefile.inc Log message: When i replaced the very ugly .in: suffix rule in my previous commit, that inadvertently disabled the -Tman

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 09:01:15 Modified files: regress/usr.bin/mandoc/mdoc/Bk: Makefile Added files: regress/usr.bin/mandoc/mdoc/Bk: inputlines.in

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 12:10:34 Modified files: usr.bin/mandoc : mdoc.h mdoc.c mdoc_macro.c mdoc_term.c mdoc_html.c tree.c regress/usr.bin/mandoc/mdoc/Bk: inputlines.in

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 15:08:23 Modified files: usr.bin/mandoc : mdoc_man.c regress/usr.bin/mandoc/mdoc/Bk: synopsis.in synopsis.out_ascii Log message: Implement SYNOPSIS .Fn indentation for -Tman.

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 16:04:29 Modified files: usr.bin/mandoc : term.h term.c mdoc_term.c Log message: Delete the unused flag TERMP_IGNDELIM and the empty callback termp_igndelim_pre(). Sort the remaining

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 17:39:14 Modified files: usr.bin/mandoc : term.h term.c mdoc_term.c mdoc_man.c regress/usr.bin/mandoc/mdoc/Fo: Makefile Added files: regress/usr.bin/mandoc/mdoc/Fo:

CVS: cvs.openbsd.org: src

2013-12-24 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/24 17:50:03 Modified files: usr.bin/mandoc : man_macro.c mandoc.c mdoc_argv.c roff.c Log message: s/[Nn]ull/NUL/ in comments where appropriate; suggested by Thomas Klausner wiz @ NetBSD dot

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 07:08:36 Modified files: usr.bin/mandoc : st.in share/man/man7 : mdoc.7 Log message: Support .St -xsh4.2, the System Interfaces part of the original Single UNIX Specification.

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 07:40:29 Modified files: usr.bin/mandoc : mdoc_term.c Log message: In the SYNOPSIS, implement hanging indentation for .Fo and avoid output line breaks inside .Fa arguments. This reduces

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 08:12:39 Modified files: usr.bin/mandoc : mdoc_term.c Log message: Garbage collect two local variables each used only one single time.

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 14:24:04 Modified files: usr.bin/mandoc : mdoc_term.c Log message: Oops, .Fa never breaks the output line in the middle of any of its arguments, not even outside SYNOPSIS mode. Quite

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 15:00:34 Modified files: usr.bin/mandoc : mdoc_man.c regress/usr.bin/mandoc/mdoc/Bk: break.in break.out_ascii synopsis.in

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 15:28:37 Modified files: regress/usr.bin/mandoc/mdoc/Bk: break.out_ascii synopsis.out_ascii Log message: repair the dates

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 15:45:16 Modified files: usr.bin/mandoc : mandoc.c Log message: Parse and ignore the roff(7) escape sequences \d (move half line down) und \u (move half line up). Found by bentley@ in

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 19:43:12 Modified files: share/man/man7 : roff.7 Log message: The roff language really has two groups of basic building blocks: Requests and escape sequences. Consequently, supplement

CVS: cvs.openbsd.org: src

2013-12-25 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/25 19:55:35 Modified files: usr.bin/mandoc : mandoc.c Log message: I have no idea how it happened that \B, \H, \h, \L, and \l got mapped to ESCAPE_NUMBERED (which is for \N and only for \N),

CVS: cvs.openbsd.org: src

2013-12-26 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/26 17:48:18 Modified files: usr.bin/locale : locale.1 Log message: Add HISTORY and AUTHORS; triggered by a shorter patch from bcallah@. OK bcallah@ on a previous version, plus feedback from

CVS: cvs.openbsd.org: src

2013-12-29 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/29 17:20:18 Modified files: usr.bin/mandoc : mdoc_macro.c Log message: Do not trigger end-of-sentence spacing by trailing punctuation at the end of partial implicit macros. Prodded by jmc@.

CVS: cvs.openbsd.org: src

2013-12-29 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/29 17:56:40 Modified files: regress/usr.bin/mandoc/char/space: eos.in eos.out_ascii Log message: Test mdoc_macro.c rev. 1.83.

CVS: cvs.openbsd.org: src

2013-12-29 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/29 17:52:18 Modified files: usr.bin/mandoc : libmandoc.h man.c man_macro.c mandoc.c mdoc.c mdoc_macro.c Log message: Simplify: Remove an unused argument from the

CVS: cvs.openbsd.org: src

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/30 02:47:43 Modified files: usr.bin/mandoc : st.in share/man/man7 : mdoc.7 Log message: Support .St -p1003.1-2013, IEEE Std 1003.1-2008/Cor 1-2013. Note that the POSIX-2008

CVS: cvs.openbsd.org: src

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/30 11:27:15 Modified files: usr.bin/mandoc : mandoc.c mandoc.h Log message: Remove duplicate const specifiers from the declaration of mandoc_escape(). Found by Thomas Klausner wiz at NetBSD

CVS: cvs.openbsd.org: www

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:www Changes by: schwa...@cvs.openbsd.org2013/12/30 17:03:01 Modified files: faq: current.html Log message: Tell mandocdb(8) users how to survive the upcoming switch from Berkeley DB to SQLite. Actually, i doubt there still

CVS: cvs.openbsd.org: src

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/30 17:40:19 Modified files: usr.bin/mandoc : Makefile apropos.c mandocdb.c Added files: usr.bin/mandoc : mansearch.c mansearch.h Removed files: usr.bin/mandoc : apropos_db.c

CVS: cvs.openbsd.org: src

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/30 19:42:20 Modified files: usr.bin/mandoc : mansearch.c Log message: Split buildnames() out of mansearch(); the latter function is getting too long and unwieldy, but will grow more code

CVS: cvs.openbsd.org: www

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:www Changes by: schwa...@cvs.openbsd.org2013/12/30 19:57:14 Modified files: faq: current.html Log message: Revert previous. I have been told that faq/current.html is for critical things, such that when you look into the file,

CVS: cvs.openbsd.org: src

2013-12-30 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/30 20:41:09 Modified files: usr.bin/mandoc : apropos.c mansearch.c mansearch.h Log message: Experimental feature to let apropos(1) show different keys than .Nd. This really takes us beyond

CVS: cvs.openbsd.org: src

2013-12-31 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/31 08:13:25 Modified files: share/man/man7 : man.7 Log message: Add missing description of .UR/.UE. While here, also add .EX/.EE and .PD to the MACRO SYNTAX table.

CVS: cvs.openbsd.org: src

2013-12-31 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/31 08:15:47 Modified files: share/man/man7 : man.7 Log message: Oops, add missing end of block.

CVS: cvs.openbsd.org: src

2013-12-31 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/31 11:07:06 Modified files: usr.bin/mandoc : man_validate.c mandocdb.c term.c Log message: remove assignments that will be overwritten right afterwards, and remove pointless local variables;

CVS: cvs.openbsd.org: src

2013-12-31 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2013/12/31 12:39:09 Modified files: usr.bin/mandoc : mandocdb.c Log message: Yet another regression introduced by Kristaps when he switched from Berkeley DB to SQLite3: In the .In parser, the logic

CVS: cvs.openbsd.org: src

2014-01-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/02 09:29:46 Modified files: usr.bin/mandoc : mandoc.h read.c Log message: Since the functions in read.c are part of the mandoc(3) library, do not print to stderr. Instead, properly use the

CVS: cvs.openbsd.org: src

2014-01-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/02 11:51:51 Modified files: usr.bin/mandoc : mandocdb.c Log message: Check all MLINKS for consistency with the content of the manual page, not just the first one. This doesn't change how

CVS: cvs.openbsd.org: src

2014-01-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/02 13:24:35 Modified files: usr.bin/mandoc : mandocdb.c Log message: Polish the mlink_add() interface: Allocate memory inside, not in the callers. No functional change.

CVS: cvs.openbsd.org: src

2014-01-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/02 15:19:38 Modified files: usr.bin/mandoc : mandocdb.c Log message: Do not put UTF-8-encoded strings into the database by default, use ASCII. Just like for mandoc(1), provide a -Tutf8

CVS: cvs.openbsd.org: src

2014-01-02 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/02 15:44:07 Modified files: usr.bin/mandoc : mandocdb.c Log message: Avoid utf8 in the names of a function and a struct member that don't necessarily have anything to do with UTF-8. Just

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 16:42:32 Modified files: usr.bin/mandoc : mansearch.c Log message: New implementation of complex search criteria using \(, \), -a because the old implementation got lost in the Berkeley

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 17:29:49 Modified files: usr.bin/mandoc : mandocdb.c mansearch.c mansearch.h Log message: Put section and architecture info into the keys table, in preparation for removing them from the

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 20:06:36 Modified files: usr.bin/mandoc : mandocdb.c mansearch.c Log message: Reimplement apropos -s NUM -S ARCH EXPR by internally converting it to apropos \( EXPR \) -a 'sec~^NUM$' -a

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 20:25:51 Modified files: usr.bin/mandoc : mandocdb.c mansearch.c Log message: Remove the obsolete sec and arch columns from the mpages table. They were confusing because a manpage can

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 21:13:46 Modified files: usr.bin/mandoc : mandocdb.c mansearch.c Log message: Remove the obsolete file name column from the mpages table. This column wasn't helpful because one manpage

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 21:48:35 Modified files: usr.bin/mandoc : mandocdb.c Log message: Rip out the complete reachable checks, without replacement. It's a pity i spent time during t2k13 writing this; however,

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 22:04:06 Modified files: bin/date : date.1 Log message: date(1) can only exit(0) or exit(1), not exit(2), so make this .Ex -std; obviouly, this was forgotten in rev. 1.57 when

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 22:11:17 Modified files: bin/date : date.1 Log message: some conversion specifiers are not required by POSIX; joint work and OK jmc@ sobrado@

CVS: cvs.openbsd.org: src

2014-01-04 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/04 22:27:44 Modified files: bin/date : date.c Log message: garbage collect unused global variable retval, forgotten in rev. 1.36 when removing timed(8) support; proofed by sobrado@

CVS: cvs.openbsd.org: src

2014-01-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/05 13:26:27 Modified files: usr.bin/mandoc : libman.h libmandoc.h libmdoc.h main.c man.c mandoc.h mandocdb.c mdoc.c read.c Log message: Add an option -Q (quick) to

CVS: cvs.openbsd.org: src

2014-01-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/05 14:02:43 Modified files: usr.bin/mandoc : tbl_data.c Log message: Merge NetBSD rev. 1.4: Rename static function data() to getdata() to work around bugs in the NetBSD PPC64 toolchain.

CVS: cvs.openbsd.org: src

2014-01-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/05 20:02:40 Modified files: usr.bin/mandoc : apropos.c mandocdb.c mansearch.c mansearch.h Log message: Drop Nd from the mpages table, it is still in the keys table. This shrinks the database

CVS: cvs.openbsd.org: src

2014-01-05 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/05 20:52:05 Modified files: usr.bin/mandoc : mandocdb.c mansearch.c Log message: Remove the redundant file column from the mlinks table. The contents can easily be reconstructed from sec,

CVS: cvs.openbsd.org: src

2014-01-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/06 06:54:11 Modified files: usr.bin/mandoc : mandocdb.c Log message: Rename dbindex() to dbadd() to be less confusing. The concept of an index file is gone since the switch to SQLite. No

CVS: cvs.openbsd.org: src

2014-01-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/06 08:32:44 Modified files: usr.bin/mandoc : mandocdb.c Log message: Fix mandocdb(8) -d and -u. It was broken by recent optimizations.

CVS: cvs.openbsd.org: src

2014-01-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/06 13:53:36 Modified files: usr.bin/mandoc : mandocdb.c Log message: Do not sync to disk after each individual manual page (duh!), only sync to disk one single time when all data is ready.

CVS: cvs.openbsd.org: src

2014-01-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/06 14:33:00 Modified files: usr.bin/mandoc : libmandoc.h read.c roff.c Log message: Another 25% speedup for mandocdb(8) -Q mode, found with gprof(1). For /usr/share/man, we only need 56% of

CVS: cvs.openbsd.org: src

2014-01-06 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/06 16:46:01 Modified files: usr.bin/mandoc : roff.c Log message: Gprof(1) is fun. You should use it more often. Another 10% speedup for mandocdb(8) -Q, and even 3% without -Q. With -Q, we

CVS: cvs.openbsd.org: src

2014-01-07 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/07 02:10:58 Modified files: usr.bin/mandoc : mdoc_validate.c Log message: Cache the result of uname(3) such that we don't need to call it over and over again for each manual; found with

CVS: cvs.openbsd.org: src

2014-01-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/17 12:07:12 Modified files: usr.bin/mandoc : mandocdb.c Log message: Despite some experimenting, i'm unable to find any relevant effect of creating an index for the keys table on apropos(1)

CVS: cvs.openbsd.org: src

2014-01-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/17 12:16:42 Modified files: usr.bin/mandoc : mandocdb.c Log message: Drop the AUTOINCREMENT PRIMARY KEYs from the mlinks and keys tables. They are completely unused, and i cannot imagine

CVS: cvs.openbsd.org: src

2014-01-17 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/17 12:22:45 Modified files: usr.bin/mandoc : mansearch.h Log message: Sort the macro keys by their real-world frequency to reduce the average mask size. No functional change. This shrinks

CVS: cvs.openbsd.org: src

2014-01-18 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/18 01:54:20 Modified files: usr.bin/mandoc : mandocdb.c Log message: Cope with slightly broken NAME sections in man(7) pages having a trailing comma after the last name, like this:

CVS: cvs.openbsd.org: src

2014-01-18 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/18 15:06:02 Modified files: gnu/usr.bin/gcc: protoize.1 Log message: Fix the NAME section: One .Nm macro per name, and pass punctuation a as seperate argument. Found with mandocdb(8). OK

CVS: cvs.openbsd.org: src

2014-01-18 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/18 17:09:33 Modified files: usr.bin/mandoc : Makefile mandocdb.c Added files: usr.bin/mandoc : mansearch_const.c Log message: Support a second -v on mandocdb(8) to show keys while

CVS: cvs.openbsd.org: src

2014-01-18 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/18 18:18:30 Modified files: usr.bin/mandoc : mansearch.c Log message: Get rid of the local keys table, use the new mansearch_const.c. No functional change.

CVS: cvs.openbsd.org: src

2014-01-18 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/18 22:21:12 Modified files: lib/libc/gen : ftw.3 lib/libc/stdlib: labs.3 Log message: Punctuation after macro arguments needs to be in a separate argument. Found while testing

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 01:05:02 Modified files: share/man/man9 : arc4random.9 Log message: Fix obvious macro typo, arc4random() is .Fn, not .Pa. Found with mandocdb(8).

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 01:11:19 Modified files: share/man/man9 : bus_space.9 Log message: Fix obvious typo in macro, bus_space_map() is .Fn, not .Fa. Found with mandocdb(8).

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 01:21:19 Modified files: share/man/man9 : fb_setup.9 Log message: Obvious typo in macro, .Fn fb_queue, not .Fa.

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 01:39:20 Modified files: sbin/ifconfig : ifconfig.8 Log message: Fix macro usage: ifconfig is .Nm, not .Cm.

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 02:15:08 Modified files: usr.bin/getopt : getopt.1 Log message: A SYNOPSIS should not attempt to provide examples, so trim it; a better example already exists in the EXAMPLES section. The

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 03:39:01 Modified files: lib/libc/gen : popen.3 lib/libc/stdlib: strtod.3 usr.bin/nfsstat: nfsstat.1 usr.bin/telnet : telnet.1 sbin/mountd:

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 15:01:48 Modified files: share/man/man8/man8.vax: boot_vax.8 Log message: Remove bogus .Tn; found with mandocdb(8).

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 15:40:42 Modified files: usr.bin/mandoc : mandocdb.c Log message: Always store the arch in lower-case only. Reduces database size by ~0.5%, and by ~1.5% with -Q.

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 15:48:00 Modified files: usr.bin/mandoc : mandocdb.c Log message: Avoid the risk of trying to modify a literal string.

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 16:09:13 Modified files: usr.bin/mandoc : mansearch.c Log message: Always compare arch case-insensitively.

CVS: cvs.openbsd.org: src

2014-01-19 Thread Ingo Schwarze
CVSROOT:/cvs Module name:src Changes by: schwa...@cvs.openbsd.org2014/01/19 16:56:06 Modified files: usr.bin/join : join.1 Log message: Fix .Ar macro abuse; found with mandocdb(8).

<    1   2   3   4   5   6   7   8   9   10   >