diff --git a/ChangeLog b/ChangeLog index dfc891e8..317fa0d4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,12 @@ +NEW IN WAF 1.7.6 +---------------- +* Better encapsulation of conf.check_cfg(uselib_store=...) defines #1212 +* Support for python modules in fortran +* Extension files of D binaries on Mac +* Raise an error when a tex manually-provided dependency is not found #1209 +* Enforce a stable name in bld(rule=..., name=undefined) to prevent rebuilds +* Enhanced support for flex on win32 and msys #1207 #1211 + NEW IN WAF 1.7.5 ---------------- * Fixed the kde4 library detection on Fedora diff --git a/utils/genbench.py b/utils/genbench.py index a81f0543..f775ebc9 100755 --- a/utils/genbench.py +++ b/utils/genbench.py @@ -33,7 +33,7 @@ def lib_name(i): def createHeader(name): filename = name + ".h" - handle = file(filename, "w" ) + handle = open(filename, "w" ) guard = name + '_h_' handle.write ('#ifndef ' + guard + '\n'); @@ -50,7 +50,7 @@ def createHeader(name): def createCPP(name, lib_number, classes_per_lib, internal_includes, external_includes): filename = name + ".cpp" - handle = file(filename, "w" ) + handle = open(filename, "w" ) header= name + ".h" handle.write ('#include "' + header + '"\n'); @@ -72,7 +72,7 @@ def createCPP(name, lib_number, classes_per_lib, internal_includes, external_inc def createSConscript(lib_number, classes): - handle = file("SConscript", "w"); + handle = open("SConscript", "w"); handle.write("Import('env')\n") handle.write('list = Split("""\n'); for i in range(classes): @@ -81,11 +81,11 @@ def createSConscript(lib_number, classes): handle.write('env.StaticLibrary("lib_' + str(lib_number) + '", list)\n\n') def createLibCMakeLists(lib_number, classes): - handle = file("CMakeLists.txt", "w") + handle = open("CMakeLists.txt", "w") handle.write("""add_library(lib_%s STATIC %s)\n""" % (str(lib_number), ' '.join(('class_%s' % str(i) for i in range(classes))))) def createLibMakefile(lib_number, classes): - handle = file("Makefile", "w"); + handle = open("Makefile", "w"); handle.write ("""COMPILER = g++ INC = -I.. CCFLAGS = -g -Wall $(INC) @@ -120,7 +120,7 @@ depend: """) def createLibJamFile(lib_number, classes): - handle = file("Jamfile", "w") + handle = open("Jamfile", "w") handle.write ("SubDir TOP lib_" + str(lib_number) + " ;\n\n") handle.write ("SubDirHdrs $(INCLUDES) ;\n\n") handle.write ("Library lib_" + str(lib_number) + " :\n") @@ -129,7 +129,7 @@ def createLibJamFile(lib_number, classes): handle.write (' ;\n') def createVCProjFile(lib_number, classes): - handle = file("lib_" + str(lib_number) + ".vcproj", "w") + handle = open("lib_" + str(lib_number) + ".vcproj", "w") handle.write("""