make-alpha
[Top][All Lists]
Advanced

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

[SCM] make branch, master, updated. 4.3-78-gde48d6a


From: Paul D. Smith
Subject: [SCM] make branch, master, updated. 4.3-78-gde48d6a
Date: Sun, 5 Sep 2021 22:45:25 -0400 (EDT)

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 "make".

The branch, master has been updated
       via  de48d6a4f71329a91d38b90510abd28110744ad9 (commit)
       via  55f06bdc3fe765c2fceaad56cfaaee00311e7bf0 (commit)
       via  0d367bbe6e995ee2c664bd7c2697b56f91ae5681 (commit)
       via  f4b8ddf260f1ab1f1b75b9a9d602c409c6c01b0e (commit)
       via  e13fd5c83d9a6df3c303cec7c8791d76f25e1616 (commit)
       via  7c4e6b0299774280e3a93060c70c661f459aaf40 (commit)
       via  b9c4fc441b2d66312a592bf4eab67ef7fbe4c645 (commit)
       via  65b73ce4342cdfa2486be406e9df5f9effb7fd7c (commit)
       via  2d73c9bf25e43cd83f81596bab95fefd8d9a9d1c (commit)
       via  33468b3f31d65815152c11f32dc5c4384a6267b5 (commit)
       via  1cffd0a203bc1477671a02aafd6360b7bb964670 (commit)
       via  b580949ae0981cc2ecd466ad1dacb42f2f4a9f7d (commit)
       via  f2771aa614d3a826b70973217c33f605fb4cd0c2 (commit)
       via  5e829188d3595c8749f9e7bcbe4b515c085779a6 (commit)
       via  297cb5adb7bdde0cb04462f05deba1fba26ccce9 (commit)
      from  012918bf11fbc2a94dc2319d15d05595c351b811 (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 de48d6a4f71329a91d38b90510abd28110744ad9
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Sep 5 22:28:36 2021 -0400

    * README.git: Add a section on ways to test.

commit 55f06bdc3fe765c2fceaad56cfaaee00311e7bf0
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Sep 5 22:28:10 2021 -0400

    * src/main.c (decode_switches): Fix memory leak.

commit 0d367bbe6e995ee2c664bd7c2697b56f91ae5681
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Sep 5 21:07:14 2021 -0400

    Clean up a few Windows build warnings (not all!)
    
    * build_w32.bat: Quote uses of %VSWHERE% so it can contain spaces
    * src/hash.c (hash_init): Avoid use of an undefined struct.
    (hash_rehash): Ditto.
    * src/vpath.c (construct_vpath_list): Cast explicitly to void*.

commit f4b8ddf260f1ab1f1b75b9a9d602c409c6c01b0e
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Sep 5 17:11:44 2021 -0400

    [SV 45211] Parse MAKEFLAGS immediately when it's reset
    
    When MAKEFLAGS is set in a makefile, reparse it immediately rather
    than waiting until after all makefiles have been read and parsed.
    This change doesn't actually fix the SV bug referenced because, even
    though we do reparse MAKEFLAGS, we don't handle the -r or -R options
    immediately.  Doing this will require more effort.
    
    * NEWS: Announce the change.
    * src/makeint.h: Publish reset_switches() and decode_env_switches()
    from main.c
    * src/main.c (main): Don't call construct_include_path(); it will be
    invoked decode_switches().
    Preserve the old values of builtin_rules, builtin_variables, and
    job_slots before we read makefiles since they can be changed now.
    (reset_switches): Publish (remove static).  Set the initial value of
    the stringlist list to NULL.
    (decode_switches): Call construct_include_path() after decoding.
    (decode_env_switches): Publish (remove static).
    (define_makeflags): Set the MAKEFLAGS variable for special handling.
    * src/read.c (eval_makefile): Check for empty include_directories.
    (construct_include_path): Clear any old value of .INCLUDE_DIRS before
    appending new values.  Free the previous include_directories.
    * src/variable.c (lookup_special_var): When MAKEFLAGS is set, first
    reset the switches then re-parse the variable.
    * tests/run_make_tests.pl: Memo-ize some default variable values.
    * tests/scripts/options/dash-r: Create tests for setting -r and -R.
    * tests/scripts/variables/MAKEFLAGS: Test that resetting -I from
    within the makefile takes effect immediately.

commit e13fd5c83d9a6df3c303cec7c8791d76f25e1616
Author: Paul Smith <psmith@gnu.org>
Date:   Sun Jul 25 17:19:09 2021 -0400

    * make-gdb.py: Add pretty-printers and clean up.
    
    Create a pretty-printer for next-pointer lists.
    Create a pretty-printer for stringlists.
    Change showargv from a function to a command (easier to use).
    
    Clean up some Python PEP violations.  Add support for testing null
    pointers and caching gdb.Types.

commit 7c4e6b0299774280e3a93060c70c661f459aaf40
Author: Paul Smith <psmith@gnu.org>
Date:   Mon May 31 14:37:09 2021 -0400

    [SV 60595] Restart whenever any makefile is rebuilt
    
    Previously if an included makefile was rebuilt as a prerequisite of
    another included makefile which didn't need to be rebuilt, make would
    not realize that it needed to re-exec itself.
    
    Ensure that if any included makefile target is rebuilt we re-exec.
    Also ensure that if an included makefile is not readable, and our rule
    for rebuilding it doesn't actually change it, we will still fail.
    
    * src/remake.c (update_goal_chain): If a goal's update was successful
    then check its status, even if no actual commands were run because it
    was already up to date.
    (show_goal_error): Remove superfluous cast.
    * src/main.c (main): If the makefile remake did nothing, check that we
    were able to successfully include all the makefiles we care about; if
    not fail.  When generating error messages about included makefiles be
    sure to show the filename/linenumber information.
    * test/scripts/features/reinvoke: Add tests for this behavior.
    * test/scripts/options/dash-k: Update error messages.

commit b9c4fc441b2d66312a592bf4eab67ef7fbe4c645
Author: Paul Smith <psmith@gnu.org>
Date:   Sun May 30 18:47:50 2021 -0400

    [SV 60412] Allow -I- to throw out the current directory path
    
    Accept a "-" directory value to the -I option to clear the set of
    directories to be searched up to that point, including the default
    directories.
    
    * NEWS: Announce the change.
    * doc/make.texi (Summary of Options): Add documentation.
    * src/read.c (construct_include_path): Check for '-' and if found,
    clear the list of directories to be searched.
    * tests/scripts/options/dash-I: Add tests for -I-.
    * tests/scripts/variables/INCLUDE_DIRS: Add tests for -I-.

commit 65b73ce4342cdfa2486be406e9df5f9effb7fd7c
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun May 30 16:21:22 2021 -0400

    [SV 60699] Avoid calling strlen() repeatedly in a loop
    
    * src/variable.c (lookup_pattern_var): Accept target length parameter.
    (initialize_file_variables): Pass computed target length to lookup.

commit 2d73c9bf25e43cd83f81596bab95fefd8d9a9d1c
Author: Paul Smith <psmith@gnu.org>
Date:   Sun May 30 15:52:32 2021 -0400

    * NEWS: Add a few missing attributions
    
    * AUTHORS: Add some missing attributions

commit 33468b3f31d65815152c11f32dc5c4384a6267b5
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun May 30 13:48:29 2021 -0400

    [SV 60297] Add .NOTINTERMEDIATE special target
    
    Support a new special target, .NOTINTERMEDIATE.  Any file or pattern
    prerequisite of this target will never be considered intermediate.
    This differs from .SECONDARY in that .SECONDARY files won't be deleted
    but they will still not be built if they are missing.
    
    .NOTINTERMEDIATE files are treated the same way as a target which is
    explicitly mentioned in the makefile.  This is mostly useful with
    patterns; obviously mentioning a target explicitly here is enough in
    and of itself to make something not intermediate.
    
    Some adjustments made by psmith@gnu.org
    
    * NEWS: Announce the new feature.
    * doc/make.texi (Special Targets): Document .NOTINTERMEDIATE.
    (Chained Rules): Describe how to use .NOTINTERMEDIATE.
    * src/main.c (main): Add "notintermediate" to the .FEATURES variable.
    * src/filedef.h (struct file): Add "notintermediate" flag.
    * src/file.c (no_intermediates): Mark global .NOTINTERMEDIATE.
    (snap_file): Support .NOTINTERMEDIATE special target.  Throw an error
    if the same target is marked both .NOTINTERMEDIATE and .SECONDARY or
    .INTERMEDIATE.
    (rehash_file): Merge intermediate, notintermediate, secondary flags.
    (remove_intermediates): Check notintermediate flag before removing.
    (print_file):
    * src/implicit.c (pattern_search): Set notintermediate based on the
    pattern.
    * tests/scripts/targets/NOTINTERMEDIATE: Add a new test suite.

commit 1cffd0a203bc1477671a02aafd6360b7bb964670
Author: Paul Smith <psmith@gnu.org>
Date:   Sun May 30 11:01:49 2021 -0400

    * make.texi (Reading Makefiles): != creates recursive variables.
    
    Reported by Ronald Hoogenboom <RHoogenboom@irdeto.com>.

commit b580949ae0981cc2ecd466ad1dacb42f2f4a9f7d
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sat May 29 19:03:07 2021 -0400

    [SV 60659] Set $$< properly in second expansion
    
    Set the $$< automatic variable as best we can during secondary
    expansion of prerequisites.
    
    * src/commands.c (set_file_variables): Don't break without setting
    'less' if secondary expansion is enabled.
    * tests/scripts/features/se_explicit: Test secondary expansion results.
    * tests/scripts/features/se_implicit: Test secondary expansion results.

commit f2771aa614d3a826b70973217c33f605fb4cd0c2
Author: Paul Smith <psmith@gnu.org>
Date:   Mon Apr 19 17:27:54 2021 -0400

    [SV 58341] Add non-trivial options to $(MAKEFLAGS)
    
    Previously only trivial (single-letter) options were available in
    $(MAKEFLAGS) when it is examined from inside a makefile (the full
    value was set before expanding recipes).
    
    Ensure that all options (but, not command line variable overrides!)
    are visible in the $(MAKEFLAGS) variable.  In order to do this
    reset the default values of options, particularly options which are
    lists, before re-reading MAKEFLAGS after makefiles have been read.
    Otherwise we'll get duplicate values for options such as -I.
    
    Unfortunately there are complications here as well: sometimes (for
    jobserver options in particular) we modify the values of these
    options while running: we must not reset these modifications.
    
    * NEWS: Announce this change
    * src/main.c (main): Call new reset_switches() before re-parsing
    MAKEFLAGS.
    (reset_switches): Reset the value of non-special options to their
    defaults.
    (define_makeflags): Add non-special options into MAKEFLAGS even
    if 'all' is not set.

commit 5e829188d3595c8749f9e7bcbe4b515c085779a6
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sat Apr 17 17:50:07 2021 -0400

    [SV 60378] Don't add duplicate default search directories
    
    Depending on how make was configured it may add duplicate
    directories in the default include search path: avoid this.
    
    (Tweaked by psmith@gnu.org)
    
    * configure.ac: Set AM variable KNOWN_PREFIX if --prefix is known
    * Makefile.am: Only set INCLUDEDIR if prefix is not known
    * read.c [default_include_directories]: Only add INCLUDEDIR if set

commit 297cb5adb7bdde0cb04462f05deba1fba26ccce9
Author: Dmitry Goncharov <dgoncharov@users.sf.net>
Date:   Sun May 30 13:58:50 2021 -0400

    * tests/scripts/targets/INTERMEDIATE: [SV 60188] Add one more test

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

Summary of changes:
 AUTHORS                               |  40 +++-
 Makefile.am                           |   8 +-
 NEWS                                  |  27 ++-
 README.git                            |  30 +++
 build_w32.bat                         |   6 +-
 configure.ac                          |   5 +
 doc/make.texi                         |  65 ++++--
 make-gdb.py                           | 160 ++++++++++++---
 src/commands.c                        |   5 +-
 src/default.c                         |   2 +-
 src/file.c                            |  58 +++++-
 src/filedef.h                         |   2 +
 src/hash.c                            |   6 +-
 src/implicit.c                        |  23 ++-
 src/main.c                            | 366 ++++++++++++++++++++--------------
 src/makeint.h                         |   9 +-
 src/read.c                            | 100 +++++-----
 src/remake.c                          |  11 +-
 src/variable.c                        |  22 +-
 src/vpath.c                           |   2 +-
 tests/run_make_tests.pl               |  16 ++
 tests/scripts/features/reinvoke       |  39 +++-
 tests/scripts/features/se_explicit    |  92 +++++++++
 tests/scripts/features/se_implicit    |  98 +++++++++
 tests/scripts/options/dash-I          | 123 ++++++++----
 tests/scripts/options/dash-k          |   2 +-
 tests/scripts/options/dash-r          |  36 ++++
 tests/scripts/targets/INTERMEDIATE    |  16 ++
 tests/scripts/targets/NOTINTERMEDIATE | 119 +++++++++++
 tests/scripts/variables/INCLUDE_DIRS  |  56 +++++-
 tests/scripts/variables/MAKEFLAGS     |  23 +++
 31 files changed, 1230 insertions(+), 337 deletions(-)
 create mode 100644 tests/scripts/options/dash-r
 create mode 100644 tests/scripts/targets/NOTINTERMEDIATE


hooks/post-receive
-- 
make



reply via email to

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