Estimated hours taken: 10
Branches: main
Added `trusted' and `untrust' commands. Also allowed individual predicates to
be trusted.
browser/declarative_debugger.m
Exported predicates to add a trusted predicate or function, remove
a trusted object and return a list of the trusted objects.
browser/declarative_oracle.m
Changed trusted set so it can also contains individual predicates and
functions. Added predicates to add a trusted predicate or function
to the set, remove a trusted object from the set and return a list
of the trusted objects.
doc/mdb_categories
Added dd category.
doc/user_guide.texi
Documented `untrust' and `trusted' commands.
runtime/mercury_stack_trace.c
runtime/mercury_stack_trace.h
Added a print_mode argument to MR_print_proc_id_internal, so that
printing of mode information can be turned on or off. When a list
of matching predicates for the trust command is shown then mode
information is superfluous, since a predicate/function is trusted, not
a procedure.
Added MR_print_pred_id to print predicate id - i.e. proc id without
the mode info.
tests/debugger/completion.exp
New commands shown in completion list.
tests/debugger/completion.inp
Added a space, since a --More-- prompt is now displayed when showing
all the commands.
tests/debugger/mdb_command_test.inp
untrust and trusted added.
tests/debugger/declarative/trust.exp
tests/debugger/declarative/trust.inp
Testing of new commands.
trace/mercury_trace_declarative.c
trace/mercury_trace_declarative.h
Added functions to add a trusted predicate and remove a trusted
object. Also added a function to print a list of the trusted objects.
These all call the predicates exported from declarative_debugger.m.
trace/mercury_trace_internal.c
Added handlers for `trusted' and `untrust' commands.
trace/mercury_trace_tables.c
trace/mercury_trace_tables.h
Added a function to filter out only the user predicates and functions
from a list of procedures. This filters out uci procs and also
filters out all procs with a mode number > 0 (thus leaving one proc
for each predicate/function). This is used when displaying the
predicates matching an ambiguous proc-spec with a trust command.
NEWS
Updated NEWS file.
Estimated hours taken: 0.1
Branches: main
tests/debugger/completion.exp2:
Update this expected output file to correspond to completion.exp,
just with different readline behaviour.
Branches: main
Estimated hours taken: 0.25
Fix a problem that was causing failure of tests/debugger/completion on hg.
tests/debugger/completion.exp2:
Update this to reflect that all commands are unconditionally defined
(after zs's recent change). The differences between this and
completion.exp are due to different versions of readline.
tests/debugger/completion.exp4:
tests/debugger/completion.exp5:
Delete these files, since they are not needed.
Estimated hours taken: 14
Branches: main
Change the compiler and tools so that `.' and not `:' is now used as the
module separator in all output.
Infix `.' now has associativity yfx and priority 10.
NEWS:
Report the change.
configure.in:
Amend the test for an up-to-date Mercury compiler to check whether
it recognises `.' as a module qualifier.
compiler/code_gen.m:
compiler/error_util.m:
compiler/hlds_out.m:
compiler/prog_out.m:
compiler/prog_util.m:
compiler/rl_exprn.m:
compiler/rl_gen.m:
compiler/source_file_map.m:
compiler/unused_args.m:
library/io.m:
library/rtti_implementation.m:
library/type_desc.m:
runtime/mercury_debug.c:
runtime/mercury_deconstruct.c:
runtime/mercury_stack_trace.c:
Change `:' to `.' as module separator for output.
compiler/mercury_to_mercury.m:
compiler/prog_io_typeclass.m:
As above.
Fixed a bug where `.' was not being recognised as a module separator.
doc/reference_manual.texi:
Report the change.
library/term_io.m:
Ensure that infix `.' is written without surrounding spaces.
tests/hard_coded/dot_separator.m:
tests/hard_coded/dot_separator.exp:
tests/hard_coded/Mmakefile:
Test case added.
Estimated hours taken: 0.5
Branches: main
tests/debugger/completion.exp2:
Update the expected output for this test to include the
`unhide_events' command that Zoltan recently added.
Estimated hours taken: 0.2
tests/debugger/completion.exp2:
tests/debugger/completion.exp4:
tests/debugger/completion.exp5:
Handle differences in the output depending on whether the
declarative debugger is enabled or disabled.
tests/Mmake.common:
Handle `.exp4' and `.exp5' files.
Estimated hours taken: 0.25
Branches: main
tests/debugger/Mmakefile:
tests/debugger/completion.exp:
tests/debugger/completion.exp2:
Filter blank lines from the output.
This fixes test failures on murlibobo.
Estimated hours taken: 0.25
tests/debugger/Mmakefile:
tests/debugger/completion.inp:
tests/debugger/completion.exp:
tests/debugger/completion.exp2:
Fix dependencies on the contents of the standard library.