Logo white

OpenSystemsDevelopment / qpdf

Sign in
  • Sign in
  • Project
  • Files
  • Commits
  • Network
  • Graphs
  • Milestones
  • Issues 0
  • Merge Requests 0
  • Labels
  • Wiki
  • Commits 4,691
  • Compare
  • Branches 1
  • Tags 0
  • qpdf
17 Dec, 2021
1 commit
  • README-maintainer note: configure with doc maintenance
    8c4ad6b9
    Jay Berkenbilt authored
    2021-12-17 12:38:52 -0500  
    Browse Code »

16 Dec, 2021
6 commits
  • Remove original qpdf fuzz seed corpus from tests ...
    e4ef3d15
    Since the introduction of fuzz testing, there has never been a problem
    found because of a failure of a file in the fuzzer seed corpus. As the
    fuzzer has found problems, they have been added to the test suite, and
    that should be adequate to exercise the fuzzers in the tesing
    environment as well as providing adequate regression testing.
    
    Removing these original files shaves many minutes off the builds in CI.
    Jay Berkenbilt authored
    2021-12-16 15:53:24 -0500  
    Browse Code »
  • Output C test n done at the end of each qpdf-ctest
    40249536
    Jay Berkenbilt authored
    2021-12-16 15:40:56 -0500  
    Browse Code »
  • C API: add functions for working with pages (fixes #594)
    9bb6f570
    Jay Berkenbilt authored
    2021-12-16 15:07:48 -0500  
    Browse Code »
  • qpdf-ctest: outfile2 -> xarg
    f072be03
    Jay Berkenbilt authored
    2021-12-16 11:51:16 -0500  
    Browse Code »
  • Change name of formal parameters from data to qpdf
    3f9d50b5
    Jay Berkenbilt authored
    2021-12-16 11:51:15 -0500  
    Browse Code »
  • Use value rather than reference captures where possible
    245ca280
    Jay Berkenbilt authored
    2021-12-16 11:47:07 -0500  
    Browse Code »

15 Dec, 2021
1 commit
  • TODO: documentation updates
    addd6bef
    Jay Berkenbilt authored
    2021-12-15 14:29:58 -0500  
    Browse Code »

14 Dec, 2021
1 commit
  • Fix minor typos
    6187c808
    m-holger authored
    2021-12-14 12:06:03 -0500  
    Browse Code »

13 Dec, 2021
24 commits
  • Disable ci-fuzz build on build branch ...
    7707a1d3
    I run the fuzzer test suite, which should be good enough to avoid
    wasting resources on this every time I push to build.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Avoid /tmp when building distribution
    2cee5591
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • ChangeLog/release note on doc change
    43740ea7
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Update release-notes link
    61f52cb6
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Work old "upgrading" sections into the release notes ...
    2f938d4f
    These are for ancient versions.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Remove superfluous "Upgrading to 4.0" chapter
    003b4c96
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Doc: reorganize front section
    cfaaea6f
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Remove docbook manual and associated files
    ed6fe012
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Minor doc cleanup, update spelling checker
    39779dd3
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Doc: update requirements for building the documentation
    948c4546
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Remove "Indices and tables" ...
    aaea245a
    This was inserted by sphinx-quickstart, but it doesn't do anything for us.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Explicitly mark perl codeblock as such
    e10e7874
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Replace xref links to :ref: ...
    cac844e0
    Pandoc doesn't convert <xref> correctly, but it does so consistently,
    so this commit just changes all xref links to :ref:.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Replace <firstterm> with emphasis ...
    1b55906a
    At one time, it seems that I was starting to use the <firstterm>
    feature of docbook, but I forgot about it long ago, and there is
    nothing consistent. In the absence of an actual glossary, just use
    emphasis for terminology and don't tag it in any special way. This
    could be fixed later if we wanted to.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Convert the original xml comment to an rst comment
    e5a7d932
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Replace <replaceable> with {...} ...
    d13a6032
    All occurrences are in :file: or :samp: now.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Wrap remaining replaceables in :samp:
    0fdbb957
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Relabel replaceable in samp or file ...
    f4531e8a
    Replace @1@replaceable@1@...@2@replaceable@2@ with
    @3@replaceable@3@...@3@replaceable@3@ inside of :samp: and :file: so
    that all remaining @1@replaceable@1@...@2@replaceable@2@ are outside.
    Since the {...} syntax for replaceable only works in :samp: and
    :file:, we will have to enclose the remaining ones in :samp: for them
    to work.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Convert <option> to :samp: and clean up literal blocks ...
    bf4d1078
    :option: is stronger and assumes a reference to a list of options.
    Since we don't have that yet, just use :samp: for options. Inside
    literal code blocks, there is no expansion, so just remove markup.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Replace things previously marked with <filename> with :file:`...`
    b764ba95
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Replace command|application with :command:`...` ...
    15b87d76
    Replace @1@...@2@ stuff from prior to the conversion with new
    representation.
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • doc: fix whitespace and indentation in pandoc output ...
    cf3b9a77
    Pandoc indented lists with two spaces after the dash, which is ugly
    and messes up emacs fill-paragraph. I transformed the spacing using a
    combination of this perl script and manual edits. I verified that the
    HTML generated by sphinx was identical before and after the edits and
    that this commit contains only whitespace changes. The perl script as
    it stands does not do indentation quite right for variable lists, but
    there were only about 8 cases that it missed, so I just fixed them
    manually.
    
    ```perl
    #!/usr/bin/env perl
    require 5.008;
    use warnings;
    use strict;
    use File::Basename;
    
    my $whoami = basename($0);
    
    my @liststack = ();
    
    while (<>)
    {
        if (m/^( *-  )\S/)
        {
            my $pre = $1;
            while ((scalar(@liststack) > 0) &&
                   ($liststack[-1] >= length($pre)))
            {
                pop(@liststack);
            }
            if ((scalar(@liststack) == 0) && ($pre =~ m/^ /))
            {
                push(@liststack, 1);
            }
            push(@liststack, length($pre));
            my $n = scalar(@liststack);
            #print "** $n\n";
            my $newpre = ('  ' x ($n - 1)) . '- ';
            s/^$pre/$newpre/;
        }
        elsif (scalar(@liststack) > 0)
        {
            if ($_ ne "\n")
            {
                while (scalar(@liststack) > 0)
                {
                    my $pre = m/^( *)/;
                    if (length($1) < $liststack[-1])
                    {
                        #print "XXX pop\n";
                        pop(@liststack);
                    }
                    else
                    {
                        last;
                    }
                }
                my $n = scalar(@liststack);
                #print "** $n\n";
                my $indent = '  ' x $n;
                s/^ +/$indent/;
            }
        }
        print;
    }
    ```
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Fix errors introduced by pandoc ...
    3d5d42ef
    These showed up as warnings from sphinx-build
    Jay Berkenbilt authored
    2021-12-13 11:20:14 -0500  
    Browse Code »
  • Switch build from docbook manual to sphinx ...
    a372a988
    Also remove linearization from qpdf-manual.pdf. It's a small file, and
    removing the dependency on the qpdf executable significantly shortens
    build times.
    Jay Berkenbilt authored
    2021-12-13 11:16:21 -0500  
    Browse Code »

12 Dec, 2021
7 commits
  • Insert output of pandoc as is ...
    abb6a16e
    pandoc -f docbook -t rst qpdf-manual.xml >| /tmp/a.rst
    Insert /tmp/a.rst into existing index.rst
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • Sphinx docs: tweak output of sphinx-quickstart
    22d53f92
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • Create initial sphinx document sources ...
    f8787d9f
    Run sphinx-quickstart. Throw everything away except conf.py and
    index.rst. We will incorporate this into our own build system.
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • Prepare for docbook -> rst: replace SGML entitles ...
    9a5d16a4
    We were using SGML entities for various non-ASCII characters so they
    could convert properly for both HTML and print, but this is no longer
    necessary as we move from docbook to RST, so just replace them. Note
    that the conversions done by sphinx automatically handle "smart
    quotes", so it works to just use regular quotes in place of &LDQUO;
    and &RDQUO;.
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • Prepare for docbook -> rst: protect a comment so it survives pandoc
    f80a0da3
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • Prepare for docbook -> rst: protect some XML elements ...
    78206a46
    Pandoc docbook -> rst fails to convert the following elements, so
    change them to @1@tag@1@ ... @2@tag@2@ for later processing. This way,
    they will survive the conversion, and we can deal with them later.
    
    <application>
    <command>
    <filename>
    <firstterm>
    <option>
    <replaceable>
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »
  • doc: Replace Gajic with Gajić (finally) ...
    f721fed9
    With docbook, this was not converted properly in the PDF version, but
    since we are moving out of docbook, we can just put the Unicode
    character in the source.
    Jay Berkenbilt authored
    2021-12-12 16:29:13 -0500  
    Browse Code »