Commit Graph

24 Commits

Author SHA1 Message Date
Julien Fischer
f673606604 Build 11.07-beta releases.
tools/test_mercury:
tools/generate_index_html:
	Build 11.07-beta releases.
2011-06-27 17:38:01 +00:00
Julien Fischer
5d58a9c5b7 Fix a problem with index file generation for the WWW and FTP download sites.
Branches: main

Fix a problem with index file generation for the WWW and FTP download sites.

tools/generate_index_html:
	Only report files sizes for non-directories.  (The existing way of
	computing files sizes didn't work when invoked on a directory and
	resulted in a bunch of error messages from expr.)
2010-12-23 04:36:59 +00:00
Julien Fischer
2b4b028122 Fix some problems with generating the index files on the FTP and WWW
download pages.

tools/generate_index_html:
	Don't include a link to the lock directory.

	Use /bin/bash rather than /usr/local/bin/bash - the latter
	typically doesn't exist on most machines and all the machines
	that will run this script have /bin/bash anyway.

	Fix some bad line breaks.
2010-12-22 14:45:10 +00:00
Julien Fischer
43ae2e4b61 Bump the release and beta release version numbers.
tools/generate_index_html:
	Bump the release and beta release version numbers.
2010-12-22 13:04:57 +00:00
Julien Fischer
5793f75879 Convert this script to 4-space indentation.
tools/generate_index_html:
	Convert this script to 4-space indentation.
2008-02-18 04:18:11 +00:00
Julien Fischer
9f7b859596 Set the CURRENT_RELEASE and BETA_RELEASE variables.
Estimated hours taken: 0
Branches: main

tools/generate_index_html:
	Set the CURRENT_RELEASE and BETA_RELEASE variables.
2006-09-14 05:03:18 +00:00
Julien Fischer
9e2497ae9f Update for the 0.12.0 release.
Estimated hours taken: 0.1
Branches: main

tool/generate_index_html:
	Update for the 0.12.0 release.
	Make 0.12.1 the new stable beta release.
2005-09-08 09:12:20 +00:00
Fergus Henderson
b38e960d36 Fix some bugs where it was not handling RPM file names properly
Estimated hours taken: 0.5
Branches: main

tools/generate_index_html:
	Fix some bugs where it was not handling RPM file names properly
	(RPMs file names uses underscores rather than dashes in some places).
2004-02-16 23:26:09 +00:00
Fergus Henderson
fcb1c0464e Fix some quoting bugs, where it was not properly handling file names
Estimated hours taken: 0.25
Branches: main

tools/generate_index_html:
	Fix some quoting bugs, where it was not properly handling file names
	that contain whitespace.
2004-02-16 22:58:33 +00:00
Fergus Henderson
9a1aa23fef Comment out some debugging code that I had accidentally left in
Estimated hours taken: 0.25
Branches: main

tools/generate_index_html:
	Comment out some debugging code that I had accidentally left in
	my previous change.
2004-02-16 22:54:22 +00:00
Fergus Henderson
c0f66e00d4 Handle RPM files properly.
Estimated hours taken: 0.5
Branches: main

tools/generate_index_html:
	Handle RPM files properly.

	Also fix a bug where the "bindists" variable was not being initialized,
	which lead to bogus output.
2004-02-08 15:25:27 +00:00
Fergus Henderson
8c6011f846 Fix a typo in my previous change
Estimated hours taken: 0.1
Branches: main

tools/generate_index_html:
	Fix a typo in my previous change
	that was pointed out by Peter Moulder.
2003-02-04 09:36:56 +00:00
Fergus Henderson
53b5c186bd - handle "*.zip" binary distributions
Estimated hours taken: 0.75
Branches: main

tools/generate_index_html:
	- handle "*.zip" binary distributions
	- if there are both stable and unstable variants of the
	  same release, don't include the unstable versions in
	  the index
2003-02-04 04:41:22 +00:00
Fergus Henderson
47e92e573c - Fix a bug where it was not handling the bindist NEWS file properly
Estimated hours taken: 1
Branches: main

tools/generate_index_html:
	- Fix a bug where it was not handling the bindist NEWS file properly
	- Handle the mercury-gcc source distribution.
	- List releases in reverse order within each group,
	  so that the most recent ones come first.
2003-02-04 02:28:29 +00:00
Simon Taylor
ac04f43531 Improve the error message generated when locking
Estimated hours taken: 1

tools/generate_index_html:
	Improve the error message generated when locking
	the directory fails.
2003-01-09 15:01:41 +00:00
Simon Taylor
4b14085c72 A first implementation of the inter-module analysis framwork.
Estimated hours taken: 80
Branches: main

A first implementation of the inter-module analysis framwork.
Currently only unused argument analysis is supported.

The current inter-module analysis scheme using `.trans_opt' files
has some major limitations. The compilation dependencies introduced
by `.trans_opt' files are too complicated for Mmake without major
limitations on which modules can use the contents of which `.trans_opt'
files. Also, the `.trans_opt' file system only computes greatest fixpoints,
which is often too weak to find opportunities for optimization.
A better solution is to provide a library which manually handles
the dependencies introduced by inter-module analysis, and can deal with
the complications introduced by cyclic module dependencies.

TODO:
- support other analyses, e.g. termination, type specialization
- dependency tracking and invalidation after source modifications
- garbage collection of unused versions
- least fixpoint analyses

analysis/Mmakefile:
analysis/mer_analysis.m:
analysis/analysis.m:
analysis/analysis.file.m:
	The analysis library.

analysis/README:
	Description and design documentation.

Mmake.workspace:
Mmakefile:
compiler/Mmakefile:
tools/bootcheck:
	Link the analysis library into mercury_compile.

compiler/hlds_module.m:
	Store analysis information in the module_info.

compiler/options.m:
doc/user_guide.texi:
	Add an option `--intermodule-analysis'.

compiler/mercury_compile.m:
	Call the analysis library to write the gathered
	information at the end of a compilation.

compiler/unused_args.m:
	Call the analysis library to retrieve information
	about imported procedures. This replaces code which
	used the `.opt' files.

	Change the names created for unused arguments procedures
	to include the arguments removed, rather than a sequence
	number. I think Zoltan is working on a change to name
	mangling, so I haven't updated the demangler.

compiler/prog_util.m:
	Generate the new predicate names for unused_args.m.

library/std_util.m:
	Add a polymorphic version of unit, which is useful
	for binding type variables.

compiler/modules.m:
scripts/Mmake.vars.in:
	Clean up files created by the analysis framework
	in `mmake realclean'.

util/mdemangle.c:
profiler/demangle.m:
	Document the change in the name mangling of procedures with
	unused arguments.

configure.in:
	Check for state variables and fixes for some typeclass bugs.

tests/warnings/Mmakefile:
tests/warnings/unused_args_analysis.{m,exp}:
	Test case.
2003-01-02 06:54:03 +00:00
Fergus Henderson
d960a7c88c Update the version numbers for the new release.
Estimated hours taken: 0.25
Branches: main

tools/generate_index_html:
	Update the version numbers for the new release.
2002-12-24 05:49:40 +00:00
Simon Taylor
4fff7d729b More improvements for the web site download page.
Estimated hours taken: 2

More improvements for the web site download page.

tools/test_mercury:
	Install the NEWS, INSTALL, bindist.INSTALL and test failure
	logs in the ftp and web distribution directories.

	Make sure all problems which cause the tests to fail cause a
	line prefixed with '**' in the error log.

tools/generate_index_html:
	Change the names of the NEWS and INSTALL to match the names
	which are actually installed.

	Follow symlinks when working out the size of files.
2002-08-29 09:47:28 +00:00
Simon Taylor
0151d8aa99 My last change didn't handle .deb' and .rpm' files
Estimated hours taken: 0.25

tools/generate_index_html:
	My last change didn't handle `.deb' and `.rpm' files
	correctly (this showed up in the old-releases directory).
2002-08-19 09:18:39 +00:00
Simon Taylor
c21492352f Improve the index.html files generated for the download
Estimated hours taken: 3

tools/generate_index_html:
	Improve the index.html files generated for the download
	area of the web site so that the files are grouped
	by release, rather than just listed in alphabetical order.

compiler/notes/release_checklist.html:
	generate_index_html now needs to be updated on each release
	so that the current release is listed first.

	The source distribution is now built on earth, not murlibobo.
2002-08-19 06:55:29 +00:00
David Jeffery
0d889a8b4b Add HTML', HEAD', TITLE' and BODY' tags to the generated HTML.
Estimated hours taken: 0.1

tools/generate_index_html:
        Add `HTML', `HEAD', `TITLE' and `BODY' tags to the generated HTML.
2000-07-04 02:28:59 +00:00
David Jeffery
a83eeac1c3 Use case' syntax rather than using expr' to do pattern matching.
Estimated hours taken: 0.1

generate_index_html:
        Use `case' syntax rather than using `expr' to do pattern matching.
2000-06-27 05:24:40 +00:00
David Jeffery
d0ee83a605 Don't include any of the index.html.$HOST files or index.html.
Estimated hours taken: 0.25


generate_index_html:
        Don't include any of the index.html.$HOST files or index.html.
test_mercury:
        Remove an extraneous `/' from a directory name.
2000-06-27 04:35:19 +00:00
David Jeffery
d33e1ea099 Seeing that the departmental www server no longer generates indexes for
Estimated hours taken: 3

Seeing that the departmental www server no longer generates indexes for
directories without an index.html (or whatever), generate suitable index
files for the directories in download/files/

tools/generate_index_html:
        New file that generates index files for a directory and all its
        sub-directories.
tools/test_mercury:
        Execute generate_index_html after all the new beta releases have been
        installed.
tools/run_all_tests_from_cron:
        Check out the new version of generate_index_html
2000-06-27 01:25:15 +00:00