benchmarks/progs/icfp2000_par/main.m:
benchmarks/progs/mandelbrot/mandelbrot.m:
benchmarks/tools/log_to_r/log_to_r.m:
extras/align_right/align_right.m:
extras/error/error.m:
extras/gator/evolve.m:
extras/moose/options.m:
samples/concurrency/midimon/midimon.m:
samples/diff/diff.m:
samples/muz/muz.m:
Conform to getopt.process_options now returning structured errors
instead of strings.
The 'browse --xml' command has not worked with current versions of
xsltproc for quite some time, but we have not received any bug reports,
nor has anyone tried to fix it. We have a method for interactively
exploring a term in 'browse --web' so IMHO there is no need to keep
support for 'browse --xml'.
browser/browse.m:
browser/browser_info.m:
browser/declarative_user.m:
trace/mercury_trace_browse.c:
trace/mercury_trace_browse.h:
trace/mercury_trace_cmd_browsing.c:
trace/mercury_trace_cmd_parameter.c:
trace/mercury_trace_cmd_parameter.h:
trace/mercury_trace_internal.c:
Delete code.
doc/mdb_categories:
doc/user_guide.texi:
Delete documentation.
configure.ac:
Don't search for a XUL browser and xsltproc.
scripts/mdbrc.in:
Delete 'xml_browser_cmd' and 'xml_tmp_filename' lines.
scripts/xul_tree.xsl:
Delete now unused file.
scripts/Mmakefile:
Conform to deletions.
tests/debugger/Mmakefile:
tests/debugger/browser_test.exp:
tests/debugger/browser_test.exp3:
tests/debugger/browser_test.inp:
tests/debugger/mdb_command_test.inp:
tests/debugger/save.exp2:
tests/declarative_debugger/browse_arg.exp:
tests/declarative_debugger/browse_arg.inp:
Don't test 'browse --xml' any longer.
extras/xml_stylesheets/README:
Delete reference to 'browse --xml' command.
NEWS:
Announce change.
extras/graphics/mercury_tcltk/mltcltk.m:
Delete an old workaround that has not been required for versions of Tcl
from 8.1 (released in 1999) onwards
Minor syntax and style updates.
These are due to:
- differences between module and file names.
- redundant imports
- the recent change from math.domain_error -> exception.domain_error.
benchmarks/*/*.m:
extras/*/*.m:
As above.
extras/split_file/split_file.m:
The new utility, which helps users split a file into two or more pieces.
extras/split_file/Mmakefile:
extras/split_file/README:
Its Mmakefile and README, as is standard for extras directories.
extras/net/Makefile:
Build a Mercury.modules as some file names do not match
their module names and the compiler no longer accepts this.
extras/net/errno.m:
Ensure we can see the definition of MR_STRERROR_BUF_SIZE.
extras/graphics/mercury_allegro/allegro.m:
Add missing include_module declaration for the util
submodule.
extras/graphics/mercury_allegro/Mercury.options:
Avoid a warning.
extras/posix/posix.strerror.m:
Fix use of MR_strerror (it may return a pointer to a static string
instead of modifying the provided buffer).
Allocate string such that it will be attributed to the predicate
when profiling memory retention.
The binding for readdir() was reporting the end of the directory stream as an
unknown error. This problem was reported by Volker Wysk, to whom the initial
version of the fix is also due.
extras/posix/posix.readdir.m:
Add a new result type that distinguishes between the end of the directory
stream and an error.
Add and export to C an enumeration whose values describe the result of
a call to readdir(). Use this, rather than small integers, when
communicating the result of readdir() call back to Mercury.
Always the string output argument of a foreign_proc to a valid value;
this avoids problems if the debugger attempts to print them out.
extras/old_term_parser/old_lexer.m:
This was calling a predicate that was recently removed from the standard
library; add a copy of that predicate here instead.
library/random.m:
Move the new code to the existing random module. Update names and
typeclass methods.
Add adaptors to attach any ground or shared generator to the I/O
state.
library/random.sfc{16,32,64}.m:
Move sfc generators to here. Update for changes to interface.
extras/README:
extras/random/*.m:
Move unused generators to a new directory under extras.
library/uint32.m:
Add cast_from_uint/1.
library/MODULES_DOC:
library/library.m:
Update for the module changes.
tests/hard_coded/*:
Rename test cases to correspond with the library module name.
Test the I/O adaptor.
Delete the workarounds for FD_{ZERO,SET,ISSET,CLR} in the POSIX binding. The
stated reason for their existence was that the Linux headers defined them using
inline assembler that conflicted with our use of global register variables.
Since the runtime (now) defines a wrapper for FD_ZERO, use the runtime's
version instead of having the binding define its own. We've been using
FD_{SET,ISSET} in the runtime without issues for many years. (On my system,
they and FD_CLR are not defined using inline assembler anyway.)
extras/posix/posix_workarounds.{ch}:
Delete this files.
extras/posix/posix.select.m:
Use MR_fd_zero in place of ME_fd_zero.
Use FD_{SET,ISSET,CLR} directly.
extras/posix/Makefile:
extras/posix/Mercury.options:
extras/posix/Mmakefile:
Conform to the above changes.
Building the POSIX binding using mmc --make by default and just have mmake
forward its work to that. Using mmc --make means things like library grade
exclusions will work properly.
Exclude non-C grades from the grade set in which to install the POSIX binding.
Shift a POSIX binding sample into the samples subdirectory.
extras/posix/Makefile:
extras/posix/Mercury.options:
Build the POSIX binding using mmc --make.
extras/posix/Mmakefile:
Redirect mmake to use the normal Makefile.
extras/posix/hello.m:
Shift this file into the samples subdirectory.
extras/samples/Makefile:
Set up things to build the samples against a libposix in the
parent directory.
extras/samples/Mmakefile:
Delete this file.
extras/error/error.m:
Use the '% ...' comment style if the new option -p (percent) is given.
Start using getopt to process options.
Default to processing standard input in the absence of filename options.
Improve comments and programming style.