automake-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Automake-commit] [SCM] GNU Automake branch, ylwrap-refactor, created. v


From: Stefano Lattarini
Subject: [Automake-commit] [SCM] GNU Automake branch, ylwrap-refactor, created. v1.11-413-geab64df
Date: Thu, 05 May 2011 19:18:21 +0000

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 "GNU Automake".

http://git.sv.gnu.org/gitweb/?p=automake.git;a=commitdiff;h=eab64df2b3e65cafddc4e3aaccc928b20b1c4ab4

The branch, ylwrap-refactor has been created
        at  eab64df2b3e65cafddc4e3aaccc928b20b1c4ab4 (commit)

- Log -----------------------------------------------------------------
commit eab64df2b3e65cafddc4e3aaccc928b20b1c4ab4
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 19:37:02 2011 +0200

    ylwrap: move "update if changed" logic out of `handle_renaming'
    
    * lib/ylwrap (handle_renaming): Move logic used to update an
    header file only if its content has really changed into ...
    (move_if_change): ... this new subroutine.
    Related updates and changes.

commit 006a0f8c90ec05168389aa26715f11feda3304e7
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 18:45:26 2011 +0200

    ylwrap: pull `dos_fix_yacc_filenames' out of `handle_renaming'
    
    * lib/ylwrap (dos_fix_yacc_filenames): Refactor so that it can run
    from main code instead that only from `handle_renaming'.  It now
    sets ...
    ($y_tab_c, $y_tab_h, $y_output): ... this new global variables.
    (handle_renaming): Remove call to `dos_fix_yacc_filenames'.  Remove
    uses of `$ofrom', which is unneeded now.  Other related updates.
    (Main Code): Add call to `dos_fix_yacc_filenames' just after the
    wrapped script has run.  Other updates.

commit 00522d8170bb5e71015041fabd024e52c097236a
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 17:56:55 2011 +0200

    ylwrap: go into tempdir only when running wrapped program
    
    * lib/ylwrap: Now chdir into the temporary directory `$dirname'
    only to run the wrapped program.  This will be useful mostly for
    useful refactorings.
    (handle_renaming, dos_fix_yacc_filenames): Update.
    * tests/ylwrap-chdir-back-fail.test: Update.
    * tests/silent-yacc-headers.test: Extend.

commit 020ca99ef0e7900515ccf5fcab1803efe30ffaf2
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 16:01:59 2011 +0200

    ylwrap: get rid of the loop on "FROM TARGET" couples
    
    * lib/ylwrap: The new shape in which the previous refactoring have
    left the code allows us to get rid on the confusing loop on the
    "FROM TARGET" couples, where FROM is the name of an output file
    generated by the wrapped program and TARGET is the name of the
    file it should be renamed to.  The renamings can now be done in
    a more ad-hoc, conscious way.  This is also meant will allow
    further optimizations and cleanups in the future.

commit bf2ecb588c163fd2ccc0ab3d6c00e9cb605cdaaf
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 15:52:51 2011 +0200

    ylwrap: another cleanup refactoring (no semantic change)
    
    * lib/ylwrap: Restructure main code to remove an if/else
    construct.

commit bb7d1679753d01fc88f1e7f2acfc2d6dd4c6e76a
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 15:34:17 2011 +0200

    ylwrap: cleanup refactoring (no semantic change)
    
    * lib/ylwrap (handle_renaming): Restructure to remove a longish
    if/else construct.

commit 2444b7dede338a2b36184882b7a2f0989d256bd5
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 15:15:26 2011 +0200

    ylwrap: warn when expected output files are missing
    
    * lib/ylwrap (handle_renaming): Warn if an expected output file
    from the wrapped program is missing, instead of just erroring out
    silently.
    * tests/ylwrap-fail.test: Extend.

commit d852b93d604d57e0f99afbaa6a3e88f36b0a5328
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 15:06:24 2011 +0200

    ylwrap: new subroutine `handle_renaming'
    
    * lib/ylwrap: Move most of the code in the main loop into ...
    (handle_renaming): ... this new subroutine.
    * tests/ylwrap-fail.test: Extend the checks on "runtime" failures.
    Move the checks about bad usages of ylwrap ...
    * tests/ylwrap-usage-fail.test: .. into this new test.
    * tests/Makefile.am (TESTS): Update.

commit 88befa1c3c7a79802f9aeb6295b57cb71751a992
Author: Stefano Lattarini <address@hidden>
Date:   Thu May 5 14:45:27 2011 +0200

    ylwrap: new subroutine `tr_cpp'
    
    * lib/ylwrap (tr_cpp): New subroutine, turning the given string
    into a suitable C preprocessor symbol.
    Use it to reduce code duplication.
    Add comments about when postprocessing of C preprocessor symbols
    in yacc-generated header files is relevant.

commit 15b889dd5532ad97948cc958f8d4d621eb01f085
Author: Stefano Lattarini <address@hidden>
Date:   Fri Apr 15 00:31:29 2011 +0200

    ylwrap: fixlets in option parsing
    
    * lib/ylwrap: Do not recognize anymore the unused `--basedir'
    option.  Be stricter in matching the `--help' and `--version'
    options.

commit c47667f7621be2e5942d3b4c16d902c92f5ad2e3
Author: Stefano Lattarini <address@hidden>
Date:   Wed Apr 13 16:11:02 2011 +0200

    ylwrap: various refactorings, few improvements
    
    * lib/ylwrap: Few more safety measures: abort if we fail to get the
    current working directory or to chdir to the temporary directory,
    and avoid doing the final cleanup if we fail to chdir back to the
    original working directory.
    Remove various useless use of quotes (e.g., in `case' statements
    or in variable assignments).
    Avoid using a runtime-determined fancy name for the temporary file
    where to save the post-processed yacc-generated header; this saves
    a couple of forks.
    (quote_for_sed, dirname_, dos_fix_yacc_filenames): New helper
    functions, to reduce code inlined in the main loop of the script.
    ($ocwd): New variable, contains the absolute path of the working
    directory where the script was started.  This will avoid us the
    need to call `pwd` multiple times.
    ($do_exit): Do not discard anymore the stdout/stderr of the final
    `rm -rf' on the temporary directory; it's better let the user know
    whether the cleanup failed.
    * tests/ylwrap-pwd-fail.test: New test.
    * tests/ylwrap-chdir-back-fail.test: New test.
    * tests/ylwrap-cleanup-fail.test: New test.
    * tests/Makefile.am (TESTS): Update.

commit 834ed72cb4f7f8ef8368418b32821716b934766e
Author: Stefano Lattarini <address@hidden>
Date:   Wed Apr 13 14:25:24 2011 +0200

    ylwrap: make less general and more "expert"
    
    Related to automake bug#7648 and PR automake/491.
    
    Using the fact that ylwrap is called only in specific ways from
    the Automake-generated Makefiles, we rewrote parts of it to let
    it have and use more knowledge of the building process.
    This decreases the generality of the script, but increases its
    clarity and, more important for us, the possibility for future
    optimizations and extensions.
    
    * lib/ylwrap: Partial rewrite to take advantage of the knowledge
    about the possible ways this script is called, and the fact that
    it deals only with Yacc/Lex and not with generic preprocessors
    or generators of C source and header files.  Also improved error
    messages and checks about invalid usage.
    * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%, ?!GENERIC?%OBJ%):
    Adjust to the new simplified ylwrap calling convention.
    (am__yacc_c2h): Remove, it's not needed anymore.
    * lib/am/yacc.am (?GENERIC?%EXT%%DERIVED-EXT%, ?!GENERIC?%OBJ%):
    Adjust to the new simplified ylwrap calling convention.
    * automake.in (lang_yacc_target_hook): Adjust comment.
    * tests/yacclex-line.test: New test.
    * tests/ylwrap-extra-args.test: Likewise.
    * tests/ylwrap-fail.test: Likewise.
    * tests/ylwrap-lex-parallel.test: Likewise.
    * tests/ylwrap-output-rename.test: Likewise.
    * tests/ylwrap-path-handling.test: Likewise.
    * tests/ylwrap-signals.test: Likewise.
    * tests/ylwrap-yacc-dos.test: Likewise.
    * tests/ylwrap-yacc-ext.test: Likewise.
    * tests/ylwrap-yacc-parallel.test: Likewise.
    * tests/Makefile.am (TESTS): Update.

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


hooks/post-receive
-- 
GNU Automake



reply via email to

[Prev in Thread] Current Thread [Next in Thread]