Commit Graph

4 Commits

Author SHA1 Message Date
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.

COPYING.LIB:
    Add a special linking exception to the LGPL.

*:
    Update references to COPYING.LIB.

    Clean up some minor errors that have accumulated in copyright
    messages.
2018-06-09 17:43:12 +10:00
Peter Wang
9d23694a25 Thread I/O state through time routines that depend on the time zone.
library/time.m:
	Deprecate non-pure functions `localtime/1' and `mktime/1'.
	They depend on the current time zone, which depends on the
	environment that the program is running in, and may also be
	changed at run time (e.g. by setting the environment variable
	"TZ").

	Add replacement predicates `localtime/4' and `mktime/4' that
	thread the I/O state.

	Deprecate the non-pure function `ctime/1'.  It does not seem
	necessary to add a pure replacement for it, being a minor
	convenience at best.

	Try to clarify some documentation.

library/calendar.m:
	Conform to above changes.

tests/hard_coded/dst_test.m:
tests/hard_coded/time_test.m
	Conform to above changes.

	Update code style.

extras/curs/samples/nibbles.m:
extras/graphics/easyx/samples/bounce.m:
extras/graphics/easyx/samples/mclock.m:
extras/log4m/log4m.m:
	Conform to above changes.

NEWS:
	Announce changes.
2016-06-06 23:14:29 +10:00
Julien Fischer
0373339c51 Fix minor problems with the extras.
extras/cgi/mercury_www.m:
extras/fixed/mercury_fixed.m:
    Add missing interface declarations.

extras/fixed/Mercury.options:
    Do not warn about unused interface imports in the mercury_fixed
    module.

extras/fixed/fixed.m:
    Replace a call to an obsolete function.

extras/log4m/log4m.m:
    Fix spelling.

extras/mopenssl/mopenssl.m:
    Conform to changes in the structure of the net library.
2015-08-21 23:07:39 +10:00
Peter Ross
34cd63c2b3 A module for doing user-controlled logging.
Estimated hours taken: 0.25
Branches: main

extras/README:
extras/log4m/log4m.m:
	A module for doing user-controlled logging.
	Implementation is in the spirit of log4j.
2006-11-10 03:48:44 +00:00