Permalink
Switch branches/tags
Commits on Apr 9, 2015
  1. Cache apt packages

    committed Apr 9, 2015
  2. Httpd: Properly manage eol after opening tag

    Allow comments and empty lines after opening tag.
    
    Fix #220
    committed Apr 9, 2015
  3. Httpd: Make \ illegal in char_arg_dir

    Add tests to check non-recursive behaviour
    of partial lenses
    
    Fix #223
    committed with lutter Apr 9, 2015
  4. Httpd: Do not pass empty as body to section

    This causes a conflict with eol_comment over newlines.
    `empty` is just a generic part of `section`, not really a body.
    committed with lutter Apr 9, 2015
Commits on Apr 3, 2015
  1. Logrotate: do not require a space before the opening brace

    The actual fix was in the previous commit c2abb62, this just adds a test
    
    Fixes issue #123
    lutter committed Apr 3, 2015
  2. Build (block_newlines): make the space before the opening brace optional

    Added block_newlines_spc for the palces where we really need a block to
    start with ' {'; it seems that everywhere else requiring that space was an
    oversight.
    
    The two lenses that needed the space are Dovecot and Xinetd.
    lutter committed Apr 3, 2015
  3. NEWS: mention augtool fix from previous commit

    The fix came from hercules-team#93
    lutter committed Apr 3, 2015
  4. * src/augtool.c: fix for readline add_history with interactive mode

    If you use interactive mode, augtool never adds anything to history that
    you type once the input becomes a normal tty.
    
    This is because it was checking stdin, which as far as the system is
    concerned is still !isatty().
    rfdrake committed with lutter Mar 8, 2014
  5. AFS_Cellalias: new lens

    Pat Riehecky committed with lutter Feb 27, 2015
  6. Iscsid: new lens

    Thanks to Joey Boggs for writing tests
    
    Fixes issue #174
    
    hercules-team#216
    Pat Riehecky committed with lutter Mar 11, 2015
  7. NEWS: mention Logrotate change and issue # for Postfix_sasl_smtpd

    Minor changes for commits 2face8c and c1b7784
    lutter committed Apr 3, 2015
  8. Logrotate: support 'dateformat' directive

    Fixes issue #217
    lutter committed Apr 3, 2015
  9. Postfix_sasl_smtpd: new lens

    Fixes issue #182
    
    Contributed by larsen0815
    lutter committed Apr 3, 2015
  10. * src/pathx.c (pathx_escape_name): also escape backslash

    Since backslash is an escape character in parse_name, we need to escape it
    with a backslash to make sure that parse_name is really the inverse of
    pathx_escape_name.
    
    Thanks to Eric Blake for spotting this problem with the initial attempt to
    escape names introduced in e4f0a67
    lutter committed Apr 3, 2015
  11. Revert previous commit 27e3658; that change did more than was needed

    I overlooked that pathx_escape_name already escaped whitespace, and
    therefore we only need to also escape backslashes. The next patch will add
    escaping of backslashes to patchx_escape_name.
    lutter committed Apr 3, 2015
Commits on Apr 1, 2015
  1. * src/pathx.c (pathx_escape_name): also escape backslash and space

    Since backslash is an escape character in parse_name, we need to escape it
    with a backslash to make sure that parse_name is really the inverse of
    pathx_escape_name.
    
    We also escape a space as that is used in some circumstances to end a name
    (when we encounter ' or ' or ' and ')
    
    Thanks to Eric Blake for spotting this problem with the initial attempt to
    escape names introduced in e4f0a67
    lutter committed Apr 1, 2015
Commits on Mar 13, 2015
  1. Shellvars: fix insertion at top of file that starts with blank lines

    Possible blank lines at the start of a file were mapped with Util.empty
    which produces empty 'hidden' nodes (nodes with NULL label and value)
    
    This causes problem when a user inserts something before these nodes, for
    example with "insert 'foo' before /*[1]". Even though the nodes that
    Util.empty produces are generally hidden from the user, they are still in
    the tree and /*[1] selects such a node. The resulting tree has a hidden
    node in the middle, something that Shellvars.lns does not allow and
    therefore putting this tree fails. This is really hard to understand for
    users as the tree they see with 'print' is indistinguishable from one that
    doesn't have these hidden nodes.
    
    To fix this, the changed lens simply deletes the blank lines at the
    beginning of the file without creating any tree nodes. This makes the above
    insertion work at the cost of losing these blank lines as soon as anything
    is inserted into or deleted from the file.
    
    Fixes #202
    lutter committed with Dominic Cleal Mar 5, 2015
  2. Sysconfig: accept leading whitespace before variables

    Make sure we allow '  var=value' and similar entries in files
    
    Fixes part of https://bugzilla.redhat.com/show_bug.cgi?id=761246
    lutter committed with Dominic Cleal Mar 2, 2015
Commits on Mar 2, 2015
Commits on Feb 28, 2015
  1. New API aug_escape_name

    Provide a way to escape the characters that are special in a path
    expression
    lutter committed Jan 21, 2015
  2. * src/internal.c (path_expand): escape path components as needed

        path_expand, which is used to turn the name of a tree node into a path
        component, now escapes special characters for path expressions so that the
        resulting paths can be used to look up that node even if the node name
        contains special characters.
    lutter committed Jan 21, 2015
  3. * src/transform.c (remove_file): do not use path_of_tree

    remove_file uses path_of_tree to derive the name of the file that should be
    removed. Since we will change path_of_tree so that it escapes certain
    characters, we need to use a different way to get at the filename.
    lutter committed Jan 21, 2015
  4. * src/pathx.c (pathx_escape_name): new function

    Several characters in a path component are treated special, such as '[' and
    ']'; to treat a string containing such characters as a literal path
    component, they need to be escaped with a '\\'.
    lutter committed Jan 21, 2015
  5. * src/try: when running from the cli, exec augtool

    Before, when using this script, it was not really possible to put the
    resulting augtool run into the background.
    lutter committed Jan 21, 2015
Commits on Feb 25, 2015
  1. Added support for conf-available apache config file location

    Russell Knighton committed Feb 25, 2015
Commits on Feb 9, 2015
  1. Add Pylonspaste lens

    akissa committed with Nov 30, 2014