summaryrefslogtreecommitdiff
path: root/share
AgeCommit message (Collapse)Author
2018-08-26less uppercase in Nd;Jason McIntyre
2018-08-26pinctrl(4)Mark Kettenis
2018-08-26plgpio(4)Mark Kettenis
2018-08-25Add umt(4) for USB Windows Precision Touchpad devicesJoshua Stein
Based on imt(4) Rename HIDMT_INPUT_MODE_MT to HIDMT_INPUT_MODE_MT_TOUCHPAD ok deraadt
2018-08-25Rudimentary implementation of the roff(7) .char (output glyphIngo Schwarze
definition) request, used for example by groff_hdtbl(7). This simplistic implementation may interact incorrectly with the .tr (input character translation) request. But come on, you are not only using .char *and* .tr, but you do so with respect to the same character in the same manual page?
2018-08-25process -> threadanton
2018-08-24Rudimentary implementation of the roff(7) .while request.Ingo Schwarze
Needed for example by groff_hdtbl(7). There are two limitations: It does not support nested .while requests yet, and each .while loop must start and end in the same scope. The roff_parseln() return codes are now more flexible and allow OR'ing options.
2018-08-24/tmp/cvsJqyynmEdd Barrett
2018-08-23switch installurl example to cdn.openbsd.orgT.J. Townsend
2018-08-23Implement the roff(7) .shift and .return requests,Ingo Schwarze
for example used by groff_hdtbl(7) and groff_mom(7). Also correctly interpolate arguments during nested macro execution even after .shift and .return, implemented using a stack of argument arrays. Note that only read.c, but not roff.c can detect the end of a macro execution, and the existence of .shift implies that arguments cannot be interpolated up front, so unfortunately, this includes a partial revert of roff.c rev. 1.209, moving argument interpolation back into the function roff_res().
2018-08-22Work well with the Dynastream ANTUSB-m, from Jan Klemkow.Martin Pieuchot
2018-08-21Implement the \\$@ escape sequence (insert all macro arguments,Ingo Schwarze
quoted) in addition to the already supported \\$* (similar, but unquoted). Then use \\$@ to improve the implementation of the .als request (macro alias). Needed by groff_hdtbl(7). Gosh, it feels like the manual pages of the groff package are exercising every bloody roff(7) feature under the sun. In the manual page source code itself, not merely in the implementation of the used macro packages, that is.
2018-08-21cope with latest config changes; ok jmc@anton
2018-08-21Fix some issues found looking at groff_char(7):Ingo Schwarze
* Add two missing characters, \('Y and \('y. * The Weierstrass p is not capital, see http://unicode.org/notes/tn27/. * Add a groff-compatible ASCII transliteration for U+02DC: "~".
2018-08-20syncMark Kettenis
2018-08-19Mostly complete implementation of the 'c' (character available)Ingo Schwarze
roff conditional, except that the .char request still isn't supported and that behaviour differs from groff in many edge cases. But at least valid character names and numbers are now distinguished from invalid ones. This also fixes the bug that parsing of the 'c' conditional was incomplete, which resulted in leaking the tested character to the input parser at the beginning of the body when the condition was inverted.
2018-08-19tweak previous;Jason McIntyre
2018-08-19regenanton
2018-08-19Add kcov(4), a kernel code coverage tracing driver. It's used in conjunctionanton
with the syzkaller kernel fuzzer. So far, 8 distinct panics have been found and fixed. This effort will continue. kcov is limited to architectures using Clang as their default compiler and is not enabled by default. With help from mpi@, thanks! ok kettenis@ mpi@ visa@
2018-08-18support the highly surprising escape sequence \# (line continuationIngo Schwarze
with comment); used for example by gropdf(1)
2018-08-18Massively reduce the amount of text, cutting it down to what is neededIngo Schwarze
to understand existing man(7) code and deleting parts that would only be useful for writing new documents, which we strongly discourage: * Delete the MANUAL STRUCTURE section which merely duplicates mdoc(7). * Delete internal cross references only useful for writing new code. * Delete many instances of "included only for compatibility" as the whole language is only provided for compatibility. * Fix a few minor errors and omissions.
2018-08-18implement the GNU man-ext .SY/.YS (synopsis block) macro in man,Ingo Schwarze
used in most manual pages of the groff package
2018-08-16implement the GNU man-ext .TQ macro in man(7),Ingo Schwarze
used for example by groff_diff(7)
2018-08-16Document \*(.T.Ingo Schwarze
While here, delete the section about predefined strings. For manual pages, the concept is not important enough to be discussed in such a prominent place, and some aspects of the text were also misleading. Add a shorter version of the relevant parts to the description of the \* escape sequence instead.
2018-08-15Add /usr/include/c++ to hier.7.Frederic Cambus
OK jmc@
2018-08-15Fix struct soplice usagekn
sys/sys/socketvar.h r1.57 (2014) moved various struct socket fields into a new struct sosplice field, this adapts usage accordingly. OK bluhm
2018-08-13document new namei flagsTheo de Raadt
2018-08-12Add administrative options to LACP trunk implementation.ccardenas
The trunk driver now has a new ioctl (SIOCxTRUNKOPTS), which for now only has options for LACP: * Mode - Active or Passive (default Active) * Timeout - Fast or Slow (default Slow) * System Priority - 1(high) to 65535(low) (default 32768/0x8000) * Port Priority - 1(high) to 65535(low) (default 32768/0x8000) * IFQ Priority - 0 to NUM_QUEUES (default 6) At the moment, ifconfig only has options for lacpmode and lacptimeout plumbed as those are the immediate need. The approach taken for the options was to make them on a "trunk" vs a "port" as what's typically seen on various NOSes (JunOS, NXOS, etc...) as it's uncommon for a host to have one link "Passive" and the other "Active" in a given trunk. Just like on a NOS, when applying lacpmode or lacptimeout, the settings are immediately applied to all existing ports in the trunk and to all future ports brought into the trunk. Tested by many on a plethora of NIC drivers and switches. Ok remi@
2018-08-12Heydar Aliyev, Baku, Azerbaijan is GYD, not BAKTheo de Raadt
2018-08-10handle the non-portable GNU-style \[charNN], \[charNNN] characterIngo Schwarze
escape sequences, used for example in the groff_char(7) manual page
2018-08-10The groff man-ext macros define fonts CB, CI, and CR,Ingo Schwarze
and some groff manual pages actually use them in .ft requests. It's easy enough to handle these .ft requests in mandoc, too.
2018-08-10crank to 6.4-betaTheo de Raadt
2018-08-10Implement the roff(7) .nop (no operation) request.Ingo Schwarze
Examples of manual pages (ab)using it include groff(7), chem(1), groff_mom(7), and groff_hdtbl(7).
2018-08-08Even though we strongly discourage escaping hyphens in manual pagesIngo Schwarze
in general, when introducing the *typographic* term "hyphen", actually display a real hyphen in output modes supporting it.
2018-08-08Reorder the text in the "Dashes and Hyphens" subsection to keep theIngo Schwarze
simplest and most important instructions together and at the beginning. No text change. Suggested by jmc@.
2018-08-08Clarify the confusing "(text)" annotation in the character lists.Ingo Schwarze
In some cases, it meant "render as an ASCII character in output modes that have a notion of codepoints" (e.g. UTF-8, HTML); in other cases, "render in the text font in output modes that also provide a special font for mathematical symbols" (e.g. PostScript, PDF). Also explicitly annotate the escape sequences that use a special font if available. OK bentley@
2018-08-08After years of deliberation, finally provide a clear recommendationIngo Schwarze
for hyphens and minus signs in manual pages. Since there is consensus that a typographically perfect solution is impossible, let's KISS - just write "-", don't bother with "\-", all currently relevant manual page formatters can handle "-" reasonably. OK jmc@ bentley@
2018-08-05Mention ioctls that don't work for the control device.Alexandre Ratchov
ok jmc
2018-08-05Use english words instead of file names.Alexandre Ratchov
ok jmc
2018-08-05Remove obvious or repeating sentinces.Alexandre Ratchov
ok jmc
2018-08-04document AUTOCONF_ENVMarc Espie
2018-08-03tweak previous;Jason McIntyre
2018-08-03Add mue(4), a driver for Microchip LAN75xx/LAN78xx 10/100/1000 USB EthernetKevin Lo
adapters. "go ahead commit it" deraadt@
2018-08-02replace excessively wordy and fuzzy introductionIngo Schwarze
with a real HISTORY section; OK jmc@ rob@
2018-08-02Some wordsmithing. Comments and tweaks from deraadt, jmc, benno, and tb.rob
ok deraadt@
2018-07-30catch up with the symlink removal of /dev/{audio,mixer};Jason McIntyre
ok ratchov
2018-07-30improve consistency of markup for some variables, still far from perfectIngo Schwarze
2018-07-30Tweak historyMarc Espie
Document that LOCALBASE changes may not work. Be less dramatic about it, as it doesn't appear to be *that* bad.
2018-07-30byebye fake.mtreeMarc Espie
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
for sockets is non-blocking. This allows us to G/C SS_NBIO. Having to keep the two flags in sync in a mp-safe way is complicated. This change introduce a behavior change in sosplice(), it can now always block. However this should not matter much due to the socket lock being taken beforhand. ok bluhm@, benno@, visa@