Files
mercury/compiler
Zoltan Somogyi dbcb4672d3 Create progress/error msgs separately from writing them.
compiler/make.util.m:
    The predicates that handled progress messages in this module

    - tested whether the progress message was needed, and if yes,
    - first constructed the message,
    - and then printed it.

    The predicates that handled error messages were similar,
    but error messages are always needed.

    In most cases, the printing was done to the current *implicit* output
    stream.

    Code calling these predicates won't get warnings about implicit stream
    calls unless every predicate has both implicit and explicit stream
    variants.

    Make all these predicates do just the first two of the above jobs,
    and return a string that may be empty or not. Then require callers
    to call one of four new predicates to print out the resulting string
    if it is not empty. The four are distinguished along two axes:
    implicit vs explicit stream, and locked/unlocked stdout.

    Add XXXs about the problems of even this updated approach,
    including the one with locking stdout when the output stream,
    whether implicitly or explicitly specified, is *not* stdout.

    Make the names of all the predicates affected by the above change
    end in "_msg". Change some of the names to be more descriptive.
    Delete one predicate whose code was identical to that of another.

compiler/make.build.m:
    Export the lock/unlock stdout predicates for use by the new predicates
    in make.util.m.

compiler/make.dependencies.m:
compiler/make.module_dep_file.m:
compiler/make.module_target.m:
    Conform to the changes above.

compiler/make.program_target.m:
    Conform to the changes above.

    Give a predicate a less misleading name.

    Add an XXX in a place.
2023-06-28 01:27:27 +02:00
..
2023-06-26 20:05:24 +10:00
2023-03-12 16:23:21 +08:00
2023-02-03 19:06:59 +11:00
2023-02-03 19:06:59 +11:00
2022-08-18 18:53:15 +10:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2022-08-18 18:53:15 +10:00
2022-08-18 18:53:15 +10:00
2022-11-18 20:23:11 +11:00
2023-04-05 21:43:13 +10:00
2022-08-18 18:53:15 +10:00
2023-04-05 21:43:13 +10:00
2023-03-27 22:12:06 +11:00
2023-02-03 19:05:46 +11:00
2023-05-30 16:28:02 +10:00
2023-04-19 21:57:22 +10:00
2022-08-23 12:56:37 +10:00
2022-11-18 20:23:11 +11:00
2023-04-24 14:59:20 +10:00
2022-08-18 18:53:15 +10:00
2022-11-18 20:23:11 +11:00
2023-04-06 15:32:48 +10:00
2022-12-14 01:13:58 +11:00
2022-08-23 12:56:37 +10:00
2022-07-06 14:33:10 +10:00
2023-05-16 13:25:19 +10:00
2023-05-16 13:25:19 +10:00
2023-05-16 13:25:19 +10:00
2023-04-05 00:38:24 +10:00
2023-04-03 21:41:32 +10:00
2023-04-03 21:41:32 +10:00
2022-11-18 20:23:11 +11:00
2023-05-16 14:29:09 +10:00
2022-11-10 10:18:41 +11:00
2022-11-18 21:41:06 +11:00
2022-11-18 20:23:11 +11:00
2022-12-14 01:13:58 +11:00
2022-10-21 09:26:02 +11:00
2023-06-13 09:15:56 +02:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2022-11-18 20:23:11 +11:00
2022-05-01 04:57:04 +10:00
2022-11-18 20:23:11 +11:00
2023-01-31 18:36:16 +11:00
2022-08-23 12:56:37 +10:00
2022-08-18 18:53:15 +10:00
2022-08-18 18:53:15 +10:00
2023-03-28 02:36:34 +11:00
2022-12-14 01:13:58 +11:00
2023-04-04 21:23:39 +10:00
2023-03-25 16:48:31 +11:00
2022-12-14 01:13:58 +11:00
2022-12-14 01:13:58 +11:00
2022-12-14 01:13:58 +11:00
2022-08-18 22:40:24 +10:00
2022-08-18 18:53:15 +10:00
2022-08-18 18:53:15 +10:00
2023-04-08 15:27:33 +10:00
2022-08-23 12:56:37 +10:00
2023-04-06 15:32:48 +10:00
2023-03-28 02:36:15 +11:00
2022-11-18 20:23:11 +11:00