1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-06-28 14:00:31 +02:00
Commit graph

186 commits

Author SHA1 Message Date
Gary Houston
855c0eacc8 * boot-9.scm (%try-load): define using primitive-load. Previously
%try-load itself was the primitive.
(load-with-path): use scm-error instead of %load-announce-lossage.
Errors are thrown to 'misc-error instead of 'could-not-load.
(%load-announce-lossage): deleted.
1996-09-24 07:19:51 +00:00
Mikael Djurfeldt
a0c976972a *** empty log message *** 1996-09-22 22:51:18 +00:00
Mikael Djurfeldt
6355358ad9 * boot-9.scm (warn, scm-style-repl): Use C printer instead of `print'.
(make-record-type type-name fields): Temporarily remove support
for printing of records (not possible yet with C printer).
1996-09-22 22:51:01 +00:00
Gary Houston
be2d2c708b * boot-9.scm (file-exists?, file-is-directory): catch only
system-error, not every kind of error.
(scm-error): new procedure.
1996-09-20 09:02:14 +00:00
Jim Blandy
434bf5ce78 . 1996-09-19 21:03:43 +00:00
Gary Houston
2194b6f00e * boot-9.scm (%%handle-system-error key): remove the code for
SCM-style errors.  handle the case that an unexpected number
	of args are supplied.
	(%%system-errors): removed.
	(error): redefine using a throw with key and 4 args.
	('error): associate 'error, 'error-signal keys with
	%%handle-system-error.
	(%%default-error-handler): removed.
	(signal-handler): throw with 4 args and use the error-signal key.
	Create an error message instead of using numerical codes.
	(%%bad-throw): call error instead of throw if key not found.

	* boot-9.scm: initialize new error keys (see libguile/ChangeLog).
	(%%handle-system-error key): check subr is not #f before printing.
	Recognize %s (embed an argument using "display") and
	%S (embed an argument using "write").
1996-09-19 09:04:55 +00:00
Gary Houston
234f2da620 * boot-9.scm (%%handle-system-error key): set args and rest to
the empty list if they are #f.
Initialize out-of-range as an error key.
1996-09-15 06:36:11 +00:00
Gary Houston
40c8906e1d * PLUGIN/REQ: try to make dependencies work right.
* PLUGIN/guile.config (xtra_dependencies): add only libgh.a.
(xtra_cflags): just add -L../lgh

* PLUGIN/guile.libs: try -lgh -lguile

* Makefile.am (INCLUDES): add -I../ so that libguile/scmconfig.h can
be found when srcdir != build dir.

* PLUGIN/REQ: remove the "ice-9 lgh" line which causes a cycle.
1996-09-14 09:53:20 +00:00
Gary Houston
e1724d200d * numbers.c: use SCM_NUM_OVERFLOW instead of scm_wta or ASSERT.
* error.c, error.h: setup scm_num_overflow key.

* __scm.h: SCM_NUM_OVERFLOW: macro for reporting numerical overflow.
Remove definition of SCM_OVSCM_FLOW.

* fports.c (scm_open_file): use SCM_SYSERROR_M.

* __scm.h: SCM_SYSERROR_M: new macro for system errors with an
explicit message and args.

* error.c, error.h, __scm.h: change system_error_sym to
scm_system_error.

* error.c (system_error_sym): remove leading %% from the Scheme name
"%%system-error".

* __scm.h (SCM_SYSMISSING): Redefine using lgh_error.

* boot-9.scm: remove leading %% from references to '%%system-error.
(%%handle-system-error): don't pass all the thrown arguments when
aborting, just the key and subr.
Remove the code to "Install default handlers for built-in errors."
Remove the definition of the syserror procedure.
Associate 'numerical-overflow with default handler.
1996-09-14 07:47:50 +00:00
Mikael Djurfeldt
1a80fb07a7 *** empty log message *** 1996-09-13 03:02:53 +00:00
Mikael Djurfeldt
0dd5491c17 * boot-9.scm: Name change: value-ref --> local-ref
resolved-ref --> nested-ref  Motivation: conformance to the other
dictionary operators: list-ref operates on list, vector-ref
operates on vector, nested-ref operates on nested namespace,
local-ref operates on the local nested namespace.
1996-09-13 03:02:38 +00:00
Gary Houston
a949b3f2c4 (fill-message): bug fix and check that args is a list. 1996-09-07 21:49:23 +00:00
Gary Houston
9561554c13 (fill-message): check first whether args is null. 1996-09-07 21:34:09 +00:00
Gary Houston
7cb1d4d305 * error.c (scm_error): declare scm_error_callback.
* error.h: prototype for scm_error_callback.

	* __scm.h: define lgh_error.
 	(SCM_SYSERROR): redefine using lgh_error.

	* boot-9.scm (%%handle-system-error): recognise errors thrown
	by lgh-error (fill-message etc.)
1996-09-07 20:48:45 +00:00
Jim Blandy
393ee9a851 *** empty log message *** 1996-09-05 16:53:17 +00:00
Jim Blandy
3cab839236 * boot-9.scm: %load-path is initialized in C code now.
(implementation-vicinity, parse-path): Deleted, along with code to
initialize %load-path.

* boot-9.scm (in-vicinity): If the vicinity doesn't end with a
"/", use one to separate it from the file.
1996-09-05 16:33:42 +00:00
Jim Blandy
087d2a6f98 *** empty log message *** 1996-09-03 04:41:38 +00:00
Jim Blandy
e4ef46d43c *** empty log message *** 1996-08-30 21:15:31 +00:00
Jim Blandy
02ceadb86c * boot-9.scm (%load-path): Add the site directory.
Add the directory named after the version number.
Prepend the version number to the other directories in the path.
Simplify by mapping the common prefix onto each item.
* Makefile.in (datadir, pkgdatadir, pkgverdatadir, subpkgdatadir,
sitedatadir): New definitions.
(libparent, libdir, install_path): Replaced by above.
(install): Create the above directories.
Put the source files into subpkgdatadir.
(uninstall): Remove the above directories.
1996-08-30 21:09:23 +00:00
Jim Blandy
00312aa376 *** empty log message *** 1996-08-30 03:13:07 +00:00
Jim Blandy
fa6ffa2f29 Don't use the PLUGIN system to gather information for the
Makefile's distribution and installation targets; just put it all
in the Makefile directly.
* PLUGIN/this.configure (scm_files, aux_files): Remove sections
for these.
* configure.in: Remove code that gets and substitutes scm_files and
aux_files.
* Makefile.in (scm_files, aux_files): Write out the list of files
here, where people expect to find them.
1996-08-30 03:12:46 +00:00
Mikael Djurfeldt
7685f77cec *** empty log message *** 1996-08-23 04:55:31 +00:00
Mikael Djurfeldt
4fe4070a0e * debug.scm: New file: debug extensions. 1996-08-23 04:54:35 +00:00
Mikael Djurfeldt
c56634ba1a * boot-9.scm: Preliminary solution: optionally load the debug
module.
1996-08-23 04:54:23 +00:00
Mikael Djurfeldt
96a8aaf3b3 *** empty log message *** 1996-08-23 04:54:08 +00:00
Mikael Djurfeldt
074fa9cff4 * boot-9.scm (print-vector): Renamed weak-hash-table? -->
weak-key-hash-table?.  (Again!)
1996-08-21 11:11:38 +00:00
Mikael Djurfeldt
4e378733a6 *** empty log message *** 1996-08-21 11:11:20 +00:00
Mikael Djurfeldt
0190d6835a *** empty log message *** 1996-08-20 16:57:13 +00:00
Mikael Djurfeldt
ea7715eba7 * poe.scm (funcq-memo): Renamed weak-hash-table -->
weak-key-hash-table.
1996-08-20 16:55:14 +00:00
Mikael Djurfeldt
9591db8710 * boot-9.scm (print-vector, macro-table, xformer-table):
Renamed weak-hash-table --> weak-key-hash-table.
1996-08-20 16:54:53 +00:00
Jim Blandy
1033e1cf7d Rebuilt from configure.in by autoconf. 1996-08-15 22:09:30 +00:00
Gary Houston
8b13c6b392 a few fixups to primitive functions 1996-08-04 22:32:07 +00:00
Gary Houston
02b754d3a6 make C system primitives throw exceptions 1996-08-02 23:26:33 +00:00
Jim Blandy
a44a755d25 *** empty log message *** 1996-08-01 08:38:52 +00:00
Jim Blandy
a45b373305 * Makefile.in (dist-dir): New target for new dist system.
(manifest): Deleted.
* PLUGIN/this.configure (aux_files): Removed PLUGIN; it's a
directory, and needs special treatment in the dist-dir target.
1996-08-01 08:23:10 +00:00
Jim Blandy
0f2d19dd46 maintainer changed: was lord, now jimb; first import 1996-07-25 22:56:11 +00:00