summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2007-03-20This is a major update, which switches virtually every allocated-but-not-freedPaul Smith27-1245/+1266
string into the strcache. As a side-effect, many more structure members and function arguments can/should be declared const. As mentioned in the changelog, unfortunately measurement shows that this change does not yet reduce memory. The problem is with secondary expansion: because of this we store all the prerequisites in the string cache twice. First we store the prerequisite string after initial expansion but before secondary expansion, then we store each individual file after secondary expansion and expand_deps(). I plan to change expand_deps() to be callable in either context (eval or snap_deps) then have non-second-expansion targets call expand_deps() during eval, so that we only need to store that dependency list once.
2006-11-18Fix from Eli for incorrect value of $(MAKE) on Cygwin.Paul Smith25-573/+648
A few changes from char* to void* where appropriate, and removing of unnecessary casts. Much more work on const-ifying the codebase. This round involves some code changes to make it correct. NOTE!! There will almost certainly be problems on the non-POSIX ports that will need to be addressed after the const changes are finished: they will need to be const-ified properly and there may need to be some changes to allocate memory, etc. as well. The next (last?) big push for this, still to come, is const-ifying the filenames in struct file, struct dep, etc. This will allow us to store file names in the string cache and finally resolve Savannah bug #15182 (make uses too much memory), among other advantages.
2006-10-01Fixed a number of documentation bugs, plus some build/install issues:Paul Smith19-74/+214
16304, 16468, 16577, 17701, 17880, 16051, 16652, 16698 Plus some from the mailing list. Imported a patch from Eli to allow Cygwin builds to support DOS-style pathnames.
2006-04-09Another round of cleanups:Paul Smith26-596/+582
- Add more warnings. - Rename variables that mask out-scope vars with the same name. - Remove all casts of return values from xmalloc, xrealloc, and alloca. - Remove casts of the first argument to xrealloc. - Convert all bcopy/bzero/bcmp invocations to use memcp/memmove/memset/memcmp.
2006-04-07Code cleanup: Remove all references to PARAMS() & ansi2knr.Paul Smith28-308/+314
2006-04-01Minor command correction.3.81Paul Smith1-1/+1
2006-04-01Release GNU make 3.81.Paul Smith16-127/+169
Update NEWS docs. Enhance the manual to use automake version.texi, and use the canonical FSF copyright features and statement. Some $(realpath ...) tests won't work on Windows; leave them out The jobserver filedescriptor test might fail if some FDs are reserved, so for now comment out that check.
2006-03-22Fixed Savannah bug #16140.Boris Kolpackov2-2/+18
2006-03-20Minor fixes before the rc2 release.Paul Smith3-4/+4
2006-03-20Add some alloca(0) calls for systems without "normal" alloca support.Paul Smith9-54/+179
Fix a file descriptor leak with make re-exec while using the jobserver. Update some release information.
2006-03-17Minor tweaks for 3.81rc2.Paul Smith3-9/+18
2006-03-17Fixed Savannah bug #16053.Boris Kolpackov11-63/+138
2006-03-15Fix Savannah bug #15913.Paul Smith4-9/+37
2006-03-10Numerous updates to tests for issues found on Cygwin and Windows.Paul Smith18-100/+140
Revert a fix for $? including non-existent files as it shows a bug in the Linux kernel build. Give them a release to fix this. Add some changes from Eli Z. for Windows changes.
2006-03-08Some test updates for Windows.Paul Smith8-39/+37
Handle SHELL set on the command line properly for windows.
2006-02-21Fix a potential core dump when merging aliases. Might fix bug #15818.Paul Smith4-16/+24
Revert intermediate file free code. Suppress some warnings in VMS builds.
2006-02-20Move the copyright info to the end of the NEWS file, otherwise automake'sPaul Smith1-7/+7
GNITS check doesn't think we have updated it (only scans the first 15 lines).
2006-02-20- Memory cleanups, found with valgrind.Paul Smith6-47/+71
- Fix handling of special targets like .SUFFIX for VMS insensitive targets. - Don't make temporary batch files for -n. Make sure batch files are created in text mode.
2006-02-17Make sure we don't introduce a circularity into the variable set linkedPaul Smith4-7/+53
list. Fixes Savannah bug #15757.
2006-02-15Fix Savannah bug #106: keep separate track of which variable we arePaul Smith11-66/+250
expanding, and use that info when generating error messages instead of the file info, where appropriate.
2006-02-14Some memory leak cleanups (found with valgrind).Paul Smith7-47/+84
2006-02-13Fix bug #11183.Paul Smith2-6/+23
2006-02-11Last of the copyright updates.Paul Smith104-221/+250
2006-02-11More copyright/license updates.Paul Smith31-263/+511
2006-02-11Update copyright and license notices on all files.Paul Smith85-619/+1307
Added new file strcache.c to various non-UNIX makefiles and build scripts.
2006-02-10- New code capability: a read-only string cache. Start of solution forPaul Smith15-67/+530
Savannah bug #15182, but not much uses it yet. Coming shortly. - Added short-circuiting $(and ..) and $(or ...) functions.
2006-02-08Fixed Savannah bug #15641.Boris Kolpackov5-2/+36
2006-02-06Updates to Windows stuff from Markus Mauhart.Paul Smith6-57/+55
2006-02-06Fix Savannah bugs # 15341, 15534, and 15533.Paul Smith9-226/+482
Rewrite large chunks of the "Commands" section of the manual to better describe then backslash-newline handling, the SHELL variable, etc.
2006-02-01Fix a bug where a variable could be used without being initialized in W32.Paul Smith2-6/+12
2006-02-01Various updates, mainly to the Windows port, from Eli Zaretskii andPaul Smith16-68/+189
Markus Maurhart.
2006-01-04Various changes getting ready for the release of 3.81.Paul Smith20-156/+396
- Updates to make.texi and make.1 and other documentation - Some VMS patches - Fix minor bugs reported on the mailing list and from Debian.
2005-12-14Fixed record_target_var to initialize variable's export field with v_defaultBoris Kolpackov2-2/+7
instead of leaving it "initialized" by whatever garbage happened to be on the heap.
2005-12-13Update the make.1 man page.Paul Smith12-90/+112
Use rm -f instead of rm in the test scripts. Fixes bug #15085.
2005-12-11Extend .SECONDEXPANSION to implicit rules. Final fix for bug #13781.Paul Smith6-29/+103
2005-12-09Fixed bug #13022 by setting is_target flag on files that this implicitBoris Kolpackov4-0/+45
pattern rule also makes.
2005-12-07Fixed bug #14334 by propagate the change of modification time to all theBoris Kolpackov4-5/+65
double-colon entries only if it is the last one to be updated.
2005-11-17Implemented the flavor function which returns the flavor ofBoris Kolpackov6-2/+125
a variable ('simple', 'recursive', or 'undefined').
2005-11-14Implemented the .INCLUDE_DIRS special variable. It expands to a listBoris Kolpackov6-1/+71
of directories that make searches for included makefiles.
2005-10-26Fix a crash I introduced last-minute.Paul Smith5-28/+36
Try to avoid extraneous rebuilds of template files.
2005-10-24Make second expansion optional (partial implementation).Paul Smith20-329/+460
I decided this feature was too impacting to make the permanent default behavior. This set of changes makes the default behavior of make the old behavior (no second expansion). If you want second expansion, you must define the .SECONDEXPANSION: special target before the first target that needs it. This set of changes ONLY fixes explicit and static pattern rules to work like this. Implicit rules still have second expansion enabled all the time: I'll work on that next. Note that there is still a backward-incompatibility: now to get the old SysV behavior using $$@ etc. in the prerequisites list you need to set .SECONDEXPANSION: as well.
2005-09-26Make sure to assign a boolean value to a 1-bit bitfield. Reported onPaul Smith3-7/+24
the bug-make mailing list. Fix Savannah bug # 14527: remember to free temporary line constructor memory if the line is empty.
2005-08-31Try using POSIX::getcwd to find the working directory wherever it exists.Paul Smith2-6/+17
This should help the tests run more accurately on Windows (hopefully...)
2005-08-29Preserve the backslash that's printed by echo.Paul Smith1-2/+2
2005-08-29Fix make.h preprocessor directive to work better with Windows compilers.Paul Smith7-19/+43
Fix some regression tests to (hopefully) work better on Windows.
2005-08-25If we're on a DOS/W32/OS2 system and we're not using a unixy shell, don'tPaul Smith4-17/+48
follow POSIX backslash/newline conventions. Use a different method for testing the SHELL variable, which hopefully will work better on non-UNIX systems.
2005-08-13Wrapped calls to $(wildcard ) with $(sort) so that the resulting orderBoris Kolpackov2-5/+11
is no longer filesystem-dependant.
2005-08-10Fixed Savannah bug #13881.Boris Kolpackov4-12/+33
2005-08-08- Fixed a bug reported by Michael Matz regarding handling of parallelPaul Smith19-61/+628
jobs after a failed job. - Enhancements to WINDOWS32 code from Eli Zaretskii. - Add Microsoft Project files from J. Grant.
2005-07-15Add Indonesian translation.Paul Smith2-2/+6