2005-01-31 Zoltan Varga <vargaz@freemail.hu>
[mono.git] / mcs / build / ChangeLog
index ceeae9b378b77ef7311f3f76ba37a107ca66f4b2..048a94cd9ad88e87ffd0dd1235899dc5fea0f0d0 100644 (file)
@@ -1,3 +1,450 @@
+2005-01-31  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * library.make: Exclude CAS category when running unit tests with 
+       Mono (they can be run manually using --security). Added a define
+       for WINDOWS (only on Windows) to be used for declarative security
+       attributes ONLY.
+
+2005-01-24  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (run-test-lib, run-test-ondotnet-lib): Print out
+       the log.
+
+2005-01-16 Nick Drochak  <ndrochak@ieee.org>
+
+       * library.make: /exclude for nunit needs a comma separated list
+
+2005-01-14  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make : output TestResult-ondotnet-(profile).log instead of
+         TestResult-(profile).log for run-test-ondotnet.
+
+2005-01-13  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/default.make (MBAS) [!PLATFORM_MONO_NATIVE]: Use
+       $(EXTERNAL_MBAS).
+       Reported by Nick Drochak.
+
+2005-01-03  Nick Drochak  <ndrochak@ieee.org>
+
+       * library.make: Ingore tests that are not meant to be run on MS DotNet
+
+2004-12-14  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make (do-profile-check): Rename from
+       'real-profile-check'.  Rewrite slightly to use 'make' to build the
+       sanity check.
+       (clean-profile): Remove the files.
+
+2004-12-08  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make (real-profile-check): Update to new location
+       of secret stash of bootstrap files.
+
+2004-12-07  Raja R Harinath  <rharinath@novell.com>
+
+       * executable.make (uninstall-local): Remove .config file too.
+       * library.make (uninstall-local): Don't error out if GACUTIL fails.
+
+2004-12-07  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (BUILT_SOURCES_cmdline): Use
+       PLATFORM_CHANGE_SEPARATOR_CMD on BUILT_SOURCES too.
+       ($(the_lib)): Use it.
+
+2004-12-04  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make,
+         profiles/default.make,
+         profiles/basic.make : use PLATFORM_PATH_SEPARATOR.
+
+2004-12-03  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make (MCS): Run the INTERNAL_MCS.
+       (USE_BOOT_COMPILE): Remove.
+
+2004-12-03  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (gacdir_flag): New.  Disable /gacdir flag if
+       RUNTIME_HAS_CONSISTENT_GACDIR flag is set.
+       (install-local): Use it.
+
+2004-11-30  Raja R Harinath  <rharinath@novell.com>
+
+       * executable.make (makefrag): Make profile-specific.
+
+2004-11-26  Martin Baulig  <martin@ximian.com>
+
+       * library.make (run-test-lib, run-test-ondotnet-lib): Added
+       `/output:TestResult-$(PROFILE).log' argument to NUnit.
+
+2004-11-26  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make ($(the_lib)): Don't complain if a .mdb file wasn't
+       created (even though it's just a warning).
+       (install-local) [LIBRARY_INSTALL_DIR]: Likewise.
+       (PACKAGE): Remove.
+       (install-local) [!LIBRARY_INSTALL_DIR]: Use $(FRAMEWORK_VERSION).
+       * executable.make ($(PROGRAM)): Likewise.
+       (install-local): Likewise.
+       (PROGRAM_INSTALL_DIR): Define Using $(FRAMEWORK_VERSION).
+
+2004-11-26  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make (real-profile-check): Prepend ./ when
+       executing basic-profile-check.exe.  EXTERNAL_RUNTIME can be empty.
+
+2004-11-25  Raja R Harinath  <rharinath@novell.com>
+
+       * platforms/linux.make (EXTERNAL_MCS,EXTERNAL_MBAS,EXTERNAL_RUNTIME):
+       New.
+       * platforms/win32.make: Likewise.
+       * profiles/basic.make: Use $(EXTERNAL_MCS).
+       * profiles/net_1_1_bootstrap.make: Likewise.
+       * library.make ($(the_lib)): Add support for BUILT_SOURCES.
+       (run-test-lib): Pass $(TEST_HARNESS_FLAGS) to harness.  Useful to
+       pass, say /labels, to nunit-console.
+
+2004-11-25  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make ($(gacutil)): Fix path.
+
+2004-11-23  Raja R Harinath  <rharinath@novell.com>
+
+       * executable.make (NO_INSTALL): New option.  Disables installation.
+       * library.make (NO_INSTALL): Likewise.
+       (install-local) [!NO_INSTALL, !LIBRARY_INSTALL_DIR]: Pass both
+       /gacdir and /root options to gacutil.
+       * platforms/linux.make (platform-check): Print the BOOTSTRAP_MCS
+       command that was tried, in case of failure.     
+       * profiles/basic.make (NO_TEST, NO_INSTALL): Define.
+       * profiles/net_1_1_bootstrap.make: Likewise.
+       * profiles/net_2_0_bootstrap.make: Likewise.
+
+2004-11-22  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (SN): New define.  Use the net_1_1_bootstrap sn.exe.
+       (SNFLAGS): New.
+       ($(the_lib)): Use them to sign assemblies as they're built.
+       (the_lib_signature_stamp): Remove.
+
+       * Makefile (DISTFILES): Distribute all the profile make-fragments.
+       (clean-local): Clean up the deps/ directory.
+
+2004-11-19  Raja R Harinath  <rharinath@novell.com>
+
+       Orchestrate the bootstrap.
+       * rules.make (INTERNAL_MCS): Look for mcs.exe in profile-specific directory.
+       * profiles/net_1_1_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe from
+       basic profile.  
+       * profiles/default.make (BOOTSTRAP_MCS): Use mcs.exe from the
+       net_1_1_bootstrap profile.
+       * profiles/net_2_0_bootstrap.make (BOOTSTRAP_MCS): Use mcs.exe
+       from default profile.
+       (all-local, clean-local): New.  Copy mcs.exe from default profile,
+       but customize it to work with 2.0.x libraries.
+       * profiles/net_2_0.make (BOOTSTRAP_MCS): Define approprately for
+       building corlib.
+
+       * executable.make (executable_CLEAN_FILES): Clean up more files.
+       ($(PROGRAM)): Move .mdb files too.
+
+2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make: Reverted the last fix. It broke windows build (that
+         should be fixed though).
+
+2004-11-18  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make: Some minor fix for PLATFORM_PATH_SEPARATOR.
+
+2004-11-17  Raja R Harinath  <rharinath@novell.com>
+
+       * executable.make: Improve support for building executable into a
+       different directory.
+
+2004-11-09  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/basic.make: New.
+       * profiles/net_2_0.make (PROFILE_MCS_FLAGS): Remove '-2' flag.
+       * profiles/net_1_1_bootstrap.make (NO_SIGN_ASSEMBLY): Set.
+
+2004-11-04  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/net_1_1_bootstrap.make: New profile.
+       * profiles/net_2_0_bootstrap.make: Use in-tree mcs for
+       bootstrapping mscorlib.dll.
+       * platforms/linux.make (platform-check): Make more robust.
+       * rules.make (%-recursive): Propagate error exit from sub-makes
+       even if invoked with 'make -k'.
+
+2004-10-29  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/net_2_0_bootstrap.make (PROFILE_MCS_FLAGS): Remove
+       -langversion:default flag.
+
+       * rules.make (distdir): Remove.
+       (PROFILE_SUBDIRS): New.  Support profile-specific SUBDIRS.
+       (DIST_SUBDIRS): New.
+       (dist-recursive): Define distdir here.
+
+2004-10-25  Zoltan Varga  <vargaz@freemail.hu>
+
+       * config-default.make (TEST_RUNTIME): Add TEST_MONO_PATH variable.
+
+2004-09-27  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make ($(test_nunit_dep)): Make sure NUnit is built for
+       the profile being tested.
+       (nunit-$(PROFILE).stamp): Rename from nunit.stamp.
+       * config-default.make (TEST_HARNESS): Look for 'nunit-console' in
+       profile-specific directory.
+
+2004-09-21  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/net_2_0_bootstrap.make: New file.
+
+       * library.make (the_mdb): Fix.
+       (library_CLEAN_FILES): Add the new test results files too.
+
+2004-09-14  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (test_lib, btest_lib): Build separate test
+       assemblies for separate profiles.
+       (dist-local): Don't copy files beginning with '../'.
+       (test_sourcefile, btest_sourcefile): Define in terms of
+       $(test_lib) or $(btest_lib) only if they're overriden.
+       (test_response, test_makefrag): Remove redundant $(PROFILE) in name.
+       (run-test-lib, run-btest-lib): Unify.  Give profile-specific name
+       for output XML file.
+       * rules.make (dist-default): Handle any of Makefile, makefile, or
+       GNUmakefile being present.
+       * profiles/net_2_0.make (TEST_RUNTIME): Don't define.
+
+2004-08-06 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * executable.make:
+       * library.make: install/clean .mdb files.
+
+2004-07-30  Martin Baulig  <martin@ximian.com>
+
+       * executable.make (EXTRA_SOURCES): New variable to add extra
+       sources to the program.
+
+2004-07-30  Raja R Harinath  <harinath@blr-harinath.blr.novell.com>
+
+       * executable.make (PROGRAM_config): New auto-detecting define.
+       Defined if $(PROGRAM).config exists.
+       (install-local): Install $(PROGRAM_config) if it exists.
+
+2004-07-21  Lluis Sanchez Gual  <lluis@novell.com>
+
+       * profiles/default.make, profiles/net_2_0.make, profiles/net_1_0.make:
+         Added FRAMEWORK_VERSION var.
+
+2004-07-02  Raja R Harinath  <rharinath@novell.com>
+
+       Support for avoiding "sharing violations" while compiling core
+       libraries with an in-tree compiler.
+       * library.make (LIBRARY_USE_INTERMEDIATE_FILE): New toggle.
+       ($(the_lib)): Use it.
+
+2004-07-02  Raja R Harinath  <rharinath@novell.com>
+
+       * rules.make (OVERRIDE_BARE_TARGETS): Remove.
+       (OVERRIDE_TARGET_ALL): New control for overriding the default all:
+       rule.  If set, 'make all' will run 'all.override' from the client
+       Makefile.
+       (all): Move commands ...
+       (all.real): ... here.  Make ordering assumptions explicit, and
+       parallel-safe.
+       (test,run-test,run-test-ondotnet,clean,install,uninstall):
+       Consolidate into ...
+       (STD_TARGETS): ... this new variable.  Make ordering assumption
+       between -recursive and -local targets explicit.
+       (%-recursive): Handle W32 GNU make that has --unix as the first
+       argument in $(MAKE).
+       * README.makefiles (Special recursion needs): Update to reflect
+       changes.
+       * library.make (all-local): Build $(the_lib_signature_stamp) when
+       NO_SIGN_ASSEMBLY is defined.
+       ($(gacutil),$(sn)): Consolidate rules.
+       (test-local,run-test-local,run-test-ondotnet-local): Likewise.
+
+2004-07-02  Raja R Harinath  <rharinath@novell.com>
+       
+       * config-default.make (TEST_RUNTIME): Use 'mono' by default.
+       * platforms/win32.make (TEST_RUNTIME): Remove.
+       * profiles/default.make (TEST_RUNTIME): Remove.
+
+2004-06-28  Raja R Harinath  <rharinath@novell.com>
+
+       * platforms/linux.make (RESGEN): Define using $(INTERNAL_RESGEN).
+
+2004-06-21  Raja R Harinath  <rharinath@novell.com>
+
+       * executable.make ($(PROGRAM)): Move depend on the makefrags ...
+       (all-local): ... here.
+       * library.make ($(the_lib), $(test_lib), $(btest_lib), all-local):
+       Likewise.
+       (LIBRARY_SNK): New default define.  Allows library to be signed
+       with a key other than mono.snk.
+       ($(the_lib_signature_stamp)): New stamp file created when an
+       assembly is signed.
+       (install-local, uninstall-local, maybe-sign-lib): Set MONO_PATH.
+
+2004-06-16  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make ($(makefrag),$(test_makefrag),$(btest_makefrag)): 
+       Depend on library.make.
+       * executable.make ($(makefrag)): Depend on executable.make.
+
+2004-06-16  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make : Added GACDIR. Use cygpath -w on windows.
+
+2004-06-14  Raja R Harinath  <rharinath@novell.com>
+
+       * platforms/linux.make (PLATFORM_CHANGE_SEPARATOR_CMD): Define to 'cat'.
+       (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
+       (platform-check): Avoid bash-ism.
+       * library.make: Simplify uses of $(patsubst x,y,$(foo)) to $(foo:x=y).
+       (core_sourcefile): Rename back to ...
+       (sourcefile): ... this.  Remove creation of redundant intermediate file.
+       (response): Change test for optimization, now that
+       PLATFORM_CHANGE_SEPARATOR_CMD is unconditional.  Combine with
+       platform-exclude handling.
+       (library_CLEAN_FILES): New variable to specify clean:-able files
+       close to where they're defined.
+       (test_response, btest_response): Simplify.
+       * executable.make (response): Change test for optimization.
+       (executable_CLEAN_FILES): New define.
+
+2004-06-14  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (uninstall-local): Fix typo.
+
+2004-06-11  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * library.make : HAVE_CS_TESTS fixie.
+
+2004-06-11  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): Allow to be
+       overriden.  Useful if the tests sourcefile is generated.
+       (TEST_COMPILE, BTEST_COMPILE): Allow these to be customized too.
+
+       * platforms/win32.make (PLATFORM_TWEAK_CORLIB_SOURCES): Remove.
+
+       Support enough features to build mscorlib.dll.
+       * library.make (core_sourcefile): New renamed from $(sourcefile).
+       (PLATFORM_excludes): Auto-detecting define that sees if
+       $(LIBRARY).$(PLATFORM)-excludes file exists.
+       (sourcefile): New.  Possibly-built file that removes
+       PLATFORM_excluded files from core_sourcefile.
+       (test_against, test_dep): New.  Allow the test assembly to be
+       built against a different library.
+       (test_lib): Allow makefile to override the name of the test
+       assembly.
+       (LIBRARY_INSTALL_DIR): If defined, switch to using $(INSTALL_LIB)
+       rather than $(gacutil).
+       (DISTFILES, dist-local): Use core_sourcefile.
+       (clean-local): Remove sourcefile if it was generated.
+       (test_lib, btest_lib): Depend on $(test_dep).
+
+2004-06-10  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * library.make: fixed PLATFORM_CHANGE_SEPARATOR_CHAR on windows.
+
+2004-06-09  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * library.make: Added support to fully sign assemblies when doing a
+       "make install" (thanks to Jackson :-).
+
+2004-06-09  Raja R Harinath  <rharinath@novell.com>
+
+       Do away with stampfiles.
+       Introduce support for VB test cases.
+       * library.make (HAVE_CS_TESTS, HAVE_VB_TESTS): New auto-detecting
+       defines.
+       (stampfile, test_stampfile): Remove.
+       (clean-local): Don't mention them.
+       (test-local, run-test-local, run-test-ondotnet-local):
+       Make unconditional.
+       ($(makefrag), $(test_makefrag)): Simplify.
+       ($(btest_lib)): New.  Support for VB testcases.
+
+2004-06-09  Raja R Harinath  <rharinath@novell.com>
+
+       Partial support for writing Visual Basic source files.
+       * rules.make (USE_MBAS_FLAGS,BASCOMPILE,INTERNAL_MBAS): New.
+       * config-default.make (MBAS_FLAGS, DEFAULT_MBAS_FLAGS): New.
+       * profiles/default.make (MBAS): New.
+
+2004-06-09  Raja R Harinath  <rharinath@novell.com>
+
+       Do away with stampfiles.
+       * executable.make (stampfile): Remove.
+       (clean-local): Remove mention of $(stampfile).
+       (test-local, run-test-local, run-test-ondotnet-local):
+       Make unconditional.  Add dummy rule to prevent other makefiles
+       from defining rules on these.
+       ($(PROGRAM)): Depend directly on $(BUILT_SOURCES).
+       ($(makefrag)): Simplify.
+
+2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * README.makefiles : added description for run-test-ondotnet.
+
+2004-06-03  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * Makefile, executable.make, library.make, rules.make :
+         Added new target "run-test-ondotnet" that works what "run-test"
+         used to be on windows (i.e. tests our libs under MS.NET).
+
+2004-06-01  Atsushi Enomoto  <atsushi@ximian.com>
+
+       * platforms/win32.make : TEST_RUNTIME should be always mono we can't
+         test our libs against MS.NET runtime. Think about internal call).
+
+2004-05-30  Jackson Harper  <jackson@ximian.com>
+
+       * library.make: Install to 2.0 package if building with the
+       net_2_0 profile.
+       
+2004-05-26  Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+       * library.make: reference nunti.core.dll and nunit.util.dll when
+       building tests.
+
+2004-05-26  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (clean-local): Add $(CLEAN_FILES) too.
+
+2004-05-25  Sebastien Pouliot  <sebastien@ximian.com>
+
+       * library.make: changed case on nunit.framework.dll (lowercase)
+
+2004-05-24  Raja R Harinath  <rharinath@novell.com>
+
+       * library.make (LIBRARY_COMPILE): New define.
+       ($(the_lib)): Use $(LIBRARY_COMPILE) to compile $(the_lib).
+
+       * executable.make (PROGRAM_INSTALL_DIR): Allow makefile to specify
+       a different directory for installation.
+       (install-local, uninstall-local): Use it.
+
+2004-05-20  Raja R Harinath  <rharinath@novell.com>
+
+       * profiles/default.make (TEST_RUNTIME): Look in class/lib/default
+       for library to be tested.
+       * rules.make (INTERNAL_RESGEN): New Define.
+       * library.make (run-test-local): Move commands to run-test-lib.
+       Preparartion for allowing creation of addition test dll with .vb
+       testcases.
+       * executable.make (PROGRAM_COMPILE): New define.
+       ($(PROGRAM)): Use PROGRAM_COMPILE to compile PROGRAM.
+
 2004-05-14  Jackson Harper  <jackson@ximian.com>
 
        * library.make: Install package files. Get params in magical