Skip to content
Permalink
Tree: 260aa4b1b9
Commits on Jan 5, 2019
  1. In no-fill mode, avoid bogus blank lines in two situations:

    ischwarze committed Jan 5, 2019
    1. After the last child; the parent will take care of the line break.
    2. At the .YS macro; the end of the preceding .SY already broke the line.
  2. Simplify and clarify (i.e. shrink) code processing

    krw
    krw committed Jan 5, 2019
    the bpf captures.
  3. In groff, when the .SY block macro occurs in no-fill mode,

    ischwarze committed Jan 5, 2019
    the output line gets broken after the head.  Do the same.
  4. Slowly start doing more HTML output tests, in this case for the

    ischwarze committed Jan 5, 2019
    interaction of .nf and .RS, related to man_macro.c rev. 1.106.
    
    HTML regression testing is tricky because it is extremely prone to
    over-testing, i.e. unintentional testing for volatile formatting
    details which are irrelevant for deciding whether the HTML output
    is good or bad.  Minor changes to the formatter - which is still
    heavily under development - might result in the necessity to
    repeatedly adjust many test cases.
    
    Then again, HTML syntax rules are so complicated that without
    regression testing, the risk is simply too high that later changes
    will re-introduce issues that were already fixed earlier.  Let's
    just try to design the tests very carefully in such a way that
    the *.out_html files contain nothing that is likely to change, and
    defer testing in cases where the HTML output is not yet clean enough
    to allow designing tests in such a way.
  5. KNF nit.

    krw
    krw committed Jan 5, 2019
  6. In HTML output, man(7) .RS blocks get formatted as <div class="Bd-ind…

    ischwarze committed Jan 5, 2019
    …ent">,
    
    and i can see no reasonable alternative: they do indeed represent indented
    displays.  They certainly require flow context and make no sense in phrasing
    context.  Consequently, they have to suspend no-fill mode during their head,
    in just the same way as other paragraph-type macros do it.
    
    This fixes HTML syntax errors that resulted from .nf followed by .RS.
  7. fix previous commit

    kettenis
    kettenis committed Jan 5, 2019
    "please commit asap" deraadt@
  8. Correctly account for the memory allocated when creating a set.

    cjeker committed Jan 5, 2019
    Should hopefully fix the error seen on systems after a few reloads where
    the size became negative.
    OK benno@
  9. Expand a macro instruction for clang. Unlike gas, the integrated

    visa
    visa committed Jan 5, 2019
    assembler does not handle the large immediate value automatically.
  10. Replace two-operand instruction aliases that clang does not

    visa
    visa committed Jan 5, 2019
    understand with the three-operand instructions.
    
    No binary change with gas.
  11. regen

    jonathangray committed Jan 5, 2019
  12. we assumed that there was no such thing as an "mda session" so the logs

    poolpOrg committed Jan 5, 2019
    displayed 0000000000000000 as the session id for mda deliveries, but we
    were wrong. there's actually an identifier that's associated to a batch
    of envelopes to be delivered to the same user, and this most definitely
    is a session id for that user.
  13. minor cleanup, no functional change:

    ischwarze committed Jan 5, 2019
    * delete one irrelevant FIXME; no more fixed lengths in HTML, please
    * simplify some conditions
    * avoid testing pointers as truth values, use "!= NULL"
    * sort some declarations
    * delete some pointless blank lines
  14. introduce smtp 'timeout' reporting event to notify filters that a tim…

    poolpOrg committed Jan 5, 2019
    …eout
    
    occured during the smtp session
  15. Now that the NODE_NOFILL flag in the syntax tree is accurate,

    ischwarze committed Jan 5, 2019
    use it in the man(7) HTML formatter rather than keeping fill mode
    state locally, resulting in massive simplification (minus 40 LOC).
    
    Move the html_fillmode() state handler function to the html.c module
    such that both the man(7) and the roff(7) formatter (and in the future,
    also the mdoc(7) formatter) can use it.  Give it a query mode, to be
    invoked with TOKEN_NONE.
  16. move the DATA bytes accounting a bit earlier so that we don't have to…

    poolpOrg committed Jan 5, 2019
    … deal
    
    with it using special cases for when filters are enabled or not.
  17. enable ohci at fdt on RAMDISK as well

    jonathangray committed Jan 5, 2019
    ok dlg@
  18. minor cleanup, no functional change:

    ischwarze committed Jan 5, 2019
    * in node type switches, explicitly handle all types, sort them,
    and abort() on those that cannot occur
    * avoid testing pointers as truth values, use "!= NULL"
    * avoid testing "constant == variable", use "variable == constant"
    * prefer sizeof(var) over sizeof(type)
    * delete one duplicate function
    * sort some declarations
    * delete some useless blank lines
  19. mention fdt attachments

    jonathangray committed Jan 5, 2019
  20. Some high-level block macros have an effect similar to temporarily

    ischwarze committed Jan 5, 2019
    suspending no-fill mode during their head.  Model this with an
    additional roff parser state flag ROFF_NONOFILL.  That is much
    simpler than it would be to save and restore the ROFF_NOFILL flag
    itself, in particular since the latter can be switched (with lasting
    effect) by the .nf and .fi requests even while its effect is
    temporarily suspended.
    
    This commit does not change formatting yet, but prepares for future
    formatting simplifications and improvements.
Commits on Jan 4, 2019
  1. enable ohci at fdt

    dlg
    dlg committed Jan 4, 2019
  2. add support for ohci, as found on the pine64

    dlg
    dlg committed Jan 4, 2019
    this currently relies on the usbphy code in the ehci fdt glue to
    work, but this is a work in progress. there's an extra printf of
    fdt in the dmesg to make the ohci checkrev code not look terrible.
    
    ok kettenis@
  3. Don't reopen file if its stdin.

    martijn
    martijn committed Jan 4, 2019
    From leo_tck at volny dot cz
    OK millert@
  4. make kernel build without MPLS/mpe/mpw

    benno
    benno committed Jan 4, 2019
    ok claudio@ dlg@
  5. make kernel build without INET6 again.

    benno
    benno committed Jan 4, 2019
    ok dlg@
  6. Make gas ignore the ".set hardfloat" directive on mips64.

    visa
    visa committed Jan 4, 2019
    The directive is needed in certain parts of the kernel code when
    compiling using clang. By ignoring the directive, the old toolchain
    will still be able to build the kernel after the code has been adjusted
    for clang.
    
    OK kettenis@
  7. Test interaction of low-level roff(7) filling requests with .Bd in ge…

    ischwarze committed Jan 4, 2019
    …neral
    
    and filling in .Bd -centered in particular; related to mdoc_term.c rev. 1.271.
  8. Two functional improvements to filling in terminal output.

    ischwarze committed Jan 4, 2019
    1. Fully support no-fill mode in mdoc(7), even when invoked with
    low-level roff(7) .nf requests.  As a side effect, this substantially
    simplifies the implementation of .Bd -unfilled and .Bd -literal.
    
    2. Let .Bd -centered fill its text, using the new TERMP_CENTER flag.
    That finally fixes the long-standing bug that it used to operate in
    no-fill mode, which was known to be wrong for at least five years.
    This also simplifies the implementation of .Bd -centered considerably.
Older
You can’t perform that action at this time.