[pacman-dev] [GIT] The official pacman repository branch, master, updated. v4.1.2-102-gc02b16c

Allan McRae allan at archlinux.org
Tue Aug 20 21:08:31 EDT 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "The official pacman repository".

The branch, master has been updated
       via  c02b16c4cc00f7b33aad79207c15fb651903e9ba (commit)
       via  4d4f46ba2a9bb168f0e5f1139738c2cf4dc260ca (commit)
       via  bf1c8e3a3c8d8becfb1f8c990d29ff459271b707 (commit)
       via  3d2c8e1fd0e2b1c74f82c6b2b667964768ea4cb0 (commit)
       via  ab84249a58b0976c941860e48461956c57b67d10 (commit)
       via  26da037fd55040bcda834e2c95bf25e52f8a739e (commit)
       via  8287312c294b7e125cabe1bb0238156049a725cd (commit)
       via  36f702ba826f2d3bebb4df3232c1b2b64a03f8a5 (commit)
       via  74c8943682829329eaafa1e76482ca31877725fa (commit)
      from  12e00af5315135a29a66c9aaa01e141a32d4634b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit c02b16c4cc00f7b33aad79207c15fb651903e9ba
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Fri Aug 2 08:29:03 2013 -0400

    ini.c: give recursion limit file scope
    
    The recursion limit is an artificial limitation imposed to prevent
    memory exhaustion in a recursive function.  Giving it file-level scope
    increases its visibility.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 4d4f46ba2a9bb168f0e5f1139738c2cf4dc260ca
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:53 2013 -0400

    ini.c: make errors in includes fatal
    
    If an error in the main file would be fatal there is little reason to
    ignore the error in an included file.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit bf1c8e3a3c8d8becfb1f8c990d29ff459271b707
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:52 2013 -0400

    ini.c: reuse line buffer
    
    By the time we make the recursive call we have already finished with the
    line buffer, making it safe to reuse.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 3d2c8e1fd0e2b1c74f82c6b2b667964768ea4cb0
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:50 2013 -0400

    conf.c: extract ini parsing code to separate files
    
    Move _parseconfig to ini.c as _parse_ini and create a convenient wrapper
    for the public API.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit ab84249a58b0976c941860e48461956c57b67d10
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:49 2013 -0400

    conf.c: pass _parse_directive as a callback
    
    This will allow passing arbitrary key/value handlers.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 26da037fd55040bcda834e2c95bf25e52f8a739e
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:48 2013 -0400

    conf.c: move section handling out of _parseconfig
    
    _parseconfig now tracks the current section name directly so that the
    name stored in the section struct is just a pointer to the one stored by
    _parseconfig.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 8287312c294b7e125cabe1bb0238156049a725cd
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:47 2013 -0400

    conf.c: move directive parsing out of _parseconfig
    
    Include directives no longer have to be within a section.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 36f702ba826f2d3bebb4df3232c1b2b64a03f8a5
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:46 2013 -0400

    conf.c: move repo parsing out of _parseconfig
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

commit 74c8943682829329eaafa1e76482ca31877725fa
Author: Andrew Gregory <andrew.gregory.8 at gmail.com>
Date:   Mon Jul 22 02:46:45 2013 -0400

    conf.c: add parse_options to section_t
    
    This consolidates all of our state information into a single variable.
    
    Signed-off-by: Andrew Gregory <andrew.gregory.8 at gmail.com>
    Signed-off-by: Allan McRae <allan at archlinux.org>

-----------------------------------------------------------------------

Summary of changes:
 src/pacman/Makefile.am                     |   1 +
 src/pacman/conf.c                          | 255 ++++++++---------------------
 src/pacman/ini.c                           | 217 ++++++++++++++++++++++++
 src/{common/util-common.h => pacman/ini.h} |  18 +-
 4 files changed, 296 insertions(+), 195 deletions(-)
 create mode 100644 src/pacman/ini.c
 copy src/{common/util-common.h => pacman/ini.h} (68%)


hooks/post-receive
-- 
The official pacman repository


More information about the pacman-dev mailing list