Commit Graph

8 Commits

Author SHA1 Message Date
Zoltan Somogyi
566cec5b30 Prefix everything defined in runtime/mercury_{stacks,tags}.h MR_.
Estimated hours taken: 3

Prefix everything defined in runtime/mercury_{stacks,tags}.h MR_.
In the process, get rid of the grade component MR_DEBUG_NONDET_STACK,
since this makes the update to mercury_stacks.h simpler and its use is
long obsolete.

runtime/mercury_tags.h:
	Put MR_ prefixes in front of everything defined here.

runtime/mercury_stacks.h:
	Put MR_ prefixes in front of everything defined here.

	Remove support for MR_DEBUG_NONDET_STACK. Replace most of the
	lost functionality by calling an updated mkframe_msg.

	Remove the definitions of push() and pop(). Their use conflicts with
	the idea that everything on the det stack is part of a frame, which
	the RTTI stuff depends on.

runtime/mercury_bootstrap.h:
	Add backward compatibility macros for the old names in the above two
	files.

	Remove some old entries in this file which are no longer needed.

runtime/mercury_wrapper.c:
	Remove the only uses of push() and pop().

	Put MR_ in front of some things that need them.

runtime/mercury_engine.c:
	Put MR_ in front of some things that need them.

runtime/mercury_misc.[ch]:
	Make mkframe_msg get the name of the procedure that owns the stack
	frame from an explicitly passed argument, rather than the prednm slot
	(which no longer exists). This actually improves low-level debugging
	support without MR_DEBUG_NONDET_STACK.

	Remove unnecessary return statements.

runtime/mercury_debug.h:
	Pass on the new arg of mkframe_msg.

	Fix long lines.

runtime/mercury_conf_param.h:
	Remove the documentation of MR_DEBUG_NONDET_STACK.

runtime/mercury_grade.h:
	Remove the grade component of MR_DEBUG_NONDET_STACK.

doc/reference_manual.texi:
	Document the MR_ prefixed versions of list_empty, list_cons etc.

library/io.m:
library/std_util.m:
library/string.m:
	Add prefixes to some references to the runtime.
1999-04-30 04:25:43 +00:00
Fergus Henderson
7ef2a5f753 Update the reference to the paper on database transactions
Estimated hours taken: 0.25

extras/odbc/odbc.m:
	Update the reference to the paper on database transactions
	to include the published version, and to include the URL of
	the cover page of the tech report.
1998-11-26 10:06:52 +00:00
Simon Taylor
ba0ff8fa2d s/imp.h/mercury_imp.h/g
Estimated hours taken: 0.1

extras/odbc/odbc.m
	s/imp.h/mercury_imp.h/g
1997-11-26 01:05:45 +00:00
Fergus Henderson
3b2c0ff385 Add a definition for __stdcall so that the Microsoft ODBC
Estimated hours taken: 0.5

extras/odbc/odbc.m:
	Add a definition for __stdcall so that the Microsoft ODBC
	headers will compile under gcc with fewer patches.
1997-10-08 07:07:45 +00:00
Simon Taylor
9bfbef677b Fix a comment about changes to the Microsoft header files.
extras/odbc/odbc.m
	Fix a comment about changes to the Microsoft header files.
1997-10-08 02:18:22 +00:00
Fergus Henderson
249417ef48 Add `--no-ansi' to MGNUCFLAGS, to allow recognition of
Estimated hours taken: 0.25

extras/odbc/Mmakefile:
	Add `--no-ansi' to MGNUCFLAGS, to allow recognition of
	C++-style "//" comments with gcc >= 2.7.1.
1997-10-07 12:09:07 +00:00
Simon Taylor
d4549c6947 Improve the ODBC interface slightly.
Estimated hours taken: 1

Improve the ODBC interface slightly.

extras/odbc/odbc.m
	Rename odbc__execute/4 as odbc__solutions/4.
	Add odbc__aggregate/6 similar to std_util:unsorted_aggregate/4.
1997-10-04 23:13:32 +00:00
Simon Taylor
0e77183b7d A cleaned up version of Mission Critical's ODBC interface.
NEWS
	Document the ODBC interface.

runtime/engine.h
runtime/engine.mod
        Add wrappers around longjmp and setjmp which save and restore
        some state in engine.c and the Mercury registers.

runtime/mercury_trail.h
	Add a macro MR_IF_USE_TRAIL which evaluates to its argument
	if MR_USE_TRAIL is defined, or to nothing otherwise.

runtime/mercury_string.h
        Add a macro make_aligned_string_copy to copy a C string
        onto the Mercury heap.

runtime/misc.c
        Avoid a seg-fault when printing out info about the nondet stack
        in a debug grade.

extras/odbc/Mmakefile
extras/odbc/odbc.m
        The interface.

extras/odbc/odbc_test.m
	A simple test.
1997-10-02 01:51:41 +00:00