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.)
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.
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).
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.
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.
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.
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
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.
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.
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.
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).
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.
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.
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