summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2012-12-08 job.c (create_batch_file): Fix last change: always increment theEli Zaretskii1-0/+5
counter of batch files before trying to use it.
2012-12-07 job.c (construct_command_argv_internal): Remove " fromEli Zaretskii1-0/+6
sh_chars_dos[]. Ignore an escaped backslash inside a string quoted with "..". This lifts the 4KB or 8KB command-line length limitation imposed by the Windows shell when a command uses quoted strings, because we now don't call the shell in that case.
2012-12-07 job.c (reap_children): Add debug message for when removal of a temporaryEli Zaretskii1-0/+2
batch file fails.
2012-12-07Avoid leaving temporary batch files in the temporary directory.Eli Zaretskii1-0/+10
job.c (create_batch_file): Declare the counter of batch files static, to avoid having 2 jobs using the same file name and stepping on each other's toes. When all 64K names are used up, make one more loop looking for slots that became vacant. This avoids leaving behind temporary batch files in the temporary directory, which happens frequently on a fast machine when using parallel builds.
2012-10-29Implement new "load" directive.Paul Smith1-0/+12
Provides support for dynamically loadable objects in GNU make, as a "technology preview".
2012-09-30Update the required version of gettext to get new bugfix macros.Paul Smith1-0/+5
2012-09-10Define _GNU_SOURCE before testing for bsd_signal.Paul Smith1-0/+3
Fixes Savannah bug #32247
2012-09-10Force intermediate targets to be considered if their non-intermediatePaul Smith1-0/+4
parent needs to be remade. Fixes Savannah bug #30653.
2012-09-09Keep the command line on the heap to avoid stack overflow.Paul Smith1-0/+3
Fixes Savannah bug #36451.
2012-09-09On BSD, realpath(3) doesn't fail if the target doesn't exist, so testPaul Smith1-0/+3
explicitly with stat(2). Fixes Savannah bug #35919.
2012-09-09Save the variable buffer content, not a potentially old pointer to it.Paul Smith1-0/+3
Fixes Savannah bug #36925.
2012-09-09Fix stupid wrong-pointer error handling target vars containing semicolons.Paul Smith1-0/+2
Fixes Savannah bug #36106.
2012-09-09Ignore UTF-8 BOMs. See Savannah bug #36529.Paul Smith1-0/+6
2012-09-09 read.c (unescape_char): Fix a thinko in the last change.Eli Zaretskii1-0/+4
2012-09-09Savannah bug #37179: Use alternate shared library syntax for MacOS.Paul Smith1-0/+3
2012-09-09Break out of an infinite loop if we're not making progress.Paul Smith1-0/+2
2012-09-09When .POSIX: is specified use POSIX-standard macro values by default.Paul Smith1-0/+5
2012-09-01Update README.W32.template for Guile and job-server support.Eli Zaretskii1-0/+2
2012-09-01Fix unescape_char when not unescaping.Eli Zaretskii1-0/+6
read.c (unescape_char): Advance 'p' after copying the unescaped characters. Otherwise the backslashes are incorrectly erased from the original string.
2012-03-05Simplify copyrights using ranges of years.Paul Smith1-2/+6
The new GNU Maintainer's Manual allows the use of year ranges in certain situations; take advantage of this simplification.
2012-03-04Improve handling for escaped colons in prerequisite lists.Paul Smith1-0/+4
Fixes Savannah bug #12126 and bug #16545
2012-03-04Create a new CSTRLEN (constant string length) macro, and use it.Paul Smith1-0/+6
2012-03-04Ensure appending private variables in pattern-specific target variables.Paul Smith1-0/+6
Fixes Savannah bug #35468.
2012-03-04Support nanosecond timestamps in stat() for AIX 5.2+.Paul Smith1-0/+3
Fixes Savannah bug #32485
2012-03-04Convert all "`'" quotes to "''" per new GNU Coding Standard guidelines.Paul Smith1-0/+3
Fixes Savannah bug #34530.
2012-03-03Ensure that .ONESHELL works with .SHELLFLAGS options containing whitespace.Paul Smith1-1/+4
See Savannah bug #35397.
2012-03-03Fix Savannah bug #35410: handle escape chars in filter/filter-outPaul Smith1-0/+4
Also add a valgrind suppression file for Guile-enabled make.
2012-03-03Modify backslash/newline handling for POSIX.Paul Smith1-0/+9
We fixed Savannah 16670 but that broke previously-working makefiles that relied on the GNU make behavior. The POSIX behavior doesn't seem to me to be better, and can be obtained using GNU make as well, so put it back as the default behavior and require .POSIX to get the POSIX behavior. Add a new section to the manual discussing backslash/newline handling. Update the test suite.
2012-02-26Check for possible buffer overflow on very long filenames.Paul Smith1-0/+5
Fixes Savannah bug #35525
2012-02-03Ifdef away unused w32 functions.Eli Zaretskii1-0/+4
w32/subproc/sub_proc.c (proc_stdin_thread, proc_stdout_thread) (proc_stderr_thread, process_pipe_io): Ifdef away unused functions.
2012-02-03Fix Savannah bug #34832 with unused TLS attributes.Eli Zaretskii1-0/+7
w32/subproc/w32err.c (map_windows32_error_to_string) [_MSC_VER]: Don't use TLS storage for szMessageBuffer. Ifdef away special code for handling Winsock error codes. Make the function return a `const char *'. Suggested by Ozkan Sezer. Fixes Savannah bug #34832.
2012-01-30Map Guile variable objects to the empty string.Paul Smith1-0/+4
In Guile 2.0, (define ...) results in a variable object. Ensure make converts that to an empty string to avoid spurious errors.
2012-01-30Add support for "::=" simple assignment operator.Paul Smith1-0/+12
The next POSIX standard will define "::=" to have the same behavior as GNU make's ":=", so add support for this new operator.
2012-01-29Create a new function $(file ...)Paul Smith1-0/+5
2012-01-29Guile portabilityPaul Smith1-0/+6
Don't support Guile 1.6 and use a portable test for printable strings.
2012-01-28 config.h.W32.template: Update from config.h.in.Eli Zaretskii1-0/+2
2012-01-28 Support a Windows build with Guile.Eli Zaretskii1-0/+9
README.W32.template: Update with instructions for building with Guile. build_w32.bat: Support building with Guile. make.h [HAVE_STDINT_H]: Include stdint.h.
2012-01-28 main.c (main, clean_jobserver): Move declarations of variablesEli Zaretskii1-0/+4
not used in the WINDOWS32 build to the #else branch, to avoid compiler warnings.
2012-01-28 Fix failures on MS-Windows when Make's standard handles are invalid.Eli Zaretskii1-0/+22
This can happen when Make is invoked from a GUI application. * w32/subproc/sub_proc.c (process_init_fd): Don't dereference pproc if it is a NULL pointer. (process_begin, process_cleanup): Don't try to close pipe handles whose value is INVALID_HANDLE_VALUE. (process_easy): Initialize hIn, hOut, and hErr to INVALID_HANDLE_VALUE. If DuplicateHandle fails with ERROR_INVALID_HANDLE, duplicate a handle for the null device instead of STD_INPUT_HANDLE, STD_OUTPUT_HANDLE or STD_ERROR_HANDLE. Don't try to close pipe handles whose value is INVALID_HANDLE_VALUE. * function.c (windows32_openpipe): Initialize hIn and hErr to INVALID_HANDLE_VALUE. If DuplicateHandle fails with ERROR_INVALID_HANDLE, duplicate a handle for the null device instead of STD_INPUT_HANDLE or STD_ERROR_HANDLE. Fix indentation. Don't try to close handles whose value is INVALID_HANDLE_VALUE.
2012-01-25 function.c (define_new_function): Fix format strings in calls to `fatal'.Eli Zaretskii1-0/+5
2012-01-18Handle NULL returns from Guile.Paul Smith1-0/+4
2012-01-16Fix an issue with PATH_SEPARATOR_CHAR when cross-compiling for Windows.Paul Smith1-0/+6
Fixes Savannah bug #34818.
2012-01-16Create a new internal interface for defining new make functions.Paul Smith1-0/+8
This allows us to create new functions without changing function.c. You still have to modify the GNU make code (for now) though: this is simply a preliminary step to possibly allowing make to load modules. Modify the Guile integration to use this method rather than ifdefs in function.c.
2012-01-16Update copyright notices.Paul Smith1-2/+6
2012-01-15Add GNU Guile as an optional embedded scripting language for make.Paul Smith1-1/+35
On configure-enabled systems, configure will detect Guile installed (using pkg-config, which is how GNU Guile is distributed) and enable it if so. On all non-configure-enabled systems, currently, the default is for Guile support to be disabled.
2011-11-15Enable jobserver on W32 when using configure.Paul Smith1-0/+11
Some W32 cleanups: see Savannah bug #34830 Forgot to modify the config.h.W32.template file for jobserver support.
2011-11-14Be sure to start parsing prereqs in the right place even if there arePaul Smith1-0/+6
escape characters (backslashes) in the target name. See Savannah bug #33399
2011-11-14Changes to resolve warnings.Paul Smith1-0/+9
Fixes Savannah bug #34608.
2011-11-14Don't use Hungarian notation: remove _p/_ptr from var names.Paul Smith1-0/+4
Fixes Savannah bug #32567.
2011-11-14Support jobserver capability on Windows systems.Paul Smith1-0/+28
Implementation contributed by Troy Runkel <Troy.Runkel@mathworks.com>