[m-rev.] for review: update copyright & license for bitmap.m etc.
Fergus Henderson
fjh at cs.mu.OZ.AU
Mon Oct 28 20:53:07 AEDT 2002
Estimated hours taken: 0.5
Branches: main
Fix a problem where the licensing on some of the files in the Mercury
standard library was not explicitly stated.
library/bitmap.m:
library/hash_table.m:
library/pprint.m:
Update the comments about the copyright and license for these files:
mark them as copyright by the University of Melbourne, since they
have been donated to the Mercury project, and license them under the
LGPL.
Also update the layout of the %-------...-------% lines to match
our usual coding convention, so that they get formatted nicely
in the Mercury library reference manual.
Also delete "ff=unix" from the vim line for bitmap.m.
Workspace: /home/ceres/fjh/ws-ceres2/mercury
Index: library/bitmap.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/bitmap.m,v
retrieving revision 1.6
diff -u -d -r1.6 bitmap.m
--- library/bitmap.m 4 Jun 2002 06:07:46 -0000 1.6
+++ library/bitmap.m 28 Oct 2002 09:44:55 -0000
@@ -1,12 +1,12 @@
-% ---------------------------------------------------------------------------- %
-% bitmap.m
-% Copyright (C) 2001-2002 Ralph Becket <rbeck at microsoft.com>
-% Thu Feb 1 14:38:31 GMT 2001
-% vim: ts=4 sw=4 et tw=0 wm=0 ff=unix ft=mercury
+%-----------------------------------------------------------------------------%
+% Copyright (C) 2001-2002 The University of Melbourne
+% This file may only be copied under the terms of the GNU Library General
+% Public License - see the file COPYING.LIB in the Mercury distribution.
+%-----------------------------------------------------------------------------%
+% vim: ts=4 sw=4 et tw=0 wm=0 ft=mercury
+%-----------------------------------------------------------------------------%
%
-% THIS MODULE IS HEREBY DONATED TO THE MERCURY PROJECT TO BE
-% RELEASED UNDER WHATEVER LICENCES ARE DEEMED APPROPRIATE BY
-% THE MERCURY PROJECT TEAM.
+% bitmap.m
%
% Efficient bitmap implementation.
%
@@ -17,7 +17,7 @@
% a small burden on the programmer to ensure the correctness of his
% code that would otherwise be assured by the compiler.)
%
-% ---------------------------------------------------------------------------- %
+%-----------------------------------------------------------------------------%
:- module bitmap.
@@ -135,8 +135,8 @@
:- func resize(bitmap, int, bool) = bitmap.
:- mode resize(bitmap_di, in, in) = bitmap_uo is det.
-% ---------------------------------------------------------------------------- %
-% ---------------------------------------------------------------------------- %
+%-----------------------------------------------------------------------------%
+%-----------------------------------------------------------------------------%
:- implementation.
Index: library/hash_table.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/hash_table.m,v
retrieving revision 1.3
diff -u -d -r1.3 hash_table.m
--- library/hash_table.m 8 Nov 2001 15:30:36 -0000 1.3
+++ library/hash_table.m 28 Oct 2002 09:45:11 -0000
@@ -1,12 +1,12 @@
-% ---------------------------------------------------------------------------- %
-% hash_table.m
-% Copyright (C) 2001 Ralph Becket <rbeck at microsoft.com>
-% Tue Jan 30 15:21:45 GMT 2001
-% vim: ts=4 sw=4 et tw=0 wm=0 ff=unix ft=mercury
+%-----------------------------------------------------------------------------%
+% Copyright (C) 2001 The University of Melbourne
+% This file may only be copied under the terms of the GNU Library General
+% Public License - see the file COPYING.LIB in the Mercury distribution.
+%-----------------------------------------------------------------------------%
+% vim: ts=4 sw=4 et tw=0 wm=0 ft=mercury
+%-----------------------------------------------------------------------------%
%
-% THIS MODULE IS HEREBY DONATED TO THE MERCURY PROJECT TO BE
-% RELEASED UNDER WHATEVER LICENCES ARE DEEMED APPROPRIATE BY
-% THE MERCURY PROJECT TEAM.
+% hash_table.m
%
% Hash table implementation.
%
@@ -31,7 +31,7 @@
% destructively updated structure (such as a hash_table) since the
% compiler will not currently detect such errors.
%
-% ---------------------------------------------------------------------------- %
+%-----------------------------------------------------------------------------%
:- module hash_table.
@@ -176,8 +176,8 @@
:- mode fold(func(in, in, in) = out is det, hash_table_ui, in) = out is det.
:- mode fold(func(in, in, di) = uo is det, hash_table_ui, di) = uo is det.
-% ---------------------------------------------------------------------------- %
-% ---------------------------------------------------------------------------- %
+%-----------------------------------------------------------------------------%
+%-----------------------------------------------------------------------------%
:- implementation.
Index: library/pprint.m
===================================================================
RCS file: /home/mercury1/repository/mercury/library/pprint.m,v
retrieving revision 1.11
diff -u -d -r1.11 pprint.m
--- library/pprint.m 16 Jul 2002 08:10:44 -0000 1.11
+++ library/pprint.m 28 Oct 2002 09:46:14 -0000
@@ -1,15 +1,14 @@
%-----------------------------------------------------------------------------%
-% pprint.m
-% Copyright (C) 2000-2002 Ralph Becket <rbeck at microsoft.com>
-% Wed Mar 22 17:44:32 2000
+% Copyright (C) 2000-2002 The University of Melbourne
+% This file may only be copied under the terms of the GNU Library General
+% Public License - see the file COPYING.LIB in the Mercury distribution.
+%-----------------------------------------------------------------------------%
% vi: ts=4 sw=4 et tw=0 wm=0
+%-----------------------------------------------------------------------------%
%
+% File: pprint.m
% Main author: rafe
% Stability: medium
-%
-% This file is hereby contributed to the University of
-% Melbourne Mercury Project to be released under whatever
-% licence the current project management deems fit.
%
%
% ABOUT
--
Fergus Henderson <fjh at cs.mu.oz.au> | "I have always known that the pursuit
The University of Melbourne | of excellence is a lethal habit"
WWW: <http://www.cs.mu.oz.au/~fjh> | -- the last words of T. S. Garp.
--------------------------------------------------------------------------
mercury-reviews mailing list
post: mercury-reviews at cs.mu.oz.au
administrative address: owner-mercury-reviews at cs.mu.oz.au
unsubscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: unsubscribe
subscribe: Address: mercury-reviews-request at cs.mu.oz.au Message: subscribe
--------------------------------------------------------------------------
More information about the reviews
mailing list