1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-03 05:20:16 +02:00
Commit graph

21194 commits

Author SHA1 Message Date
Mikael Djurfeldt
a1e2cfe360 *** empty log message *** 1997-03-07 21:43:46 +00:00
Mikael Djurfeldt
399dedcca7 * eval.c (SCM_CEVAL): Added code sections for handling of asubrs
with 3 or more args internally to the evaluator.  This is mainly
because we don't want to pass entry and exit points of the
debug support twice, but it also seems to increase the speed of
the evaluator for such calls (e. g. (+ 1 2 3)).
1997-03-07 21:43:03 +00:00
Mikael Djurfeldt
a8485f4d34 * debug.h (SCM_RESET_DEBUG_MODE): Bugfix: The old code didn't
clear the CHECK-flags.
1997-03-07 21:42:44 +00:00
Mikael Djurfeldt
e3c37929e0 * * backtrace.c (scm_display_application): New procedure:
display-application; Set fancy printing parameters individually
	for different types of display (backtrace, error, application).
	(These should of course be customizable!)
1997-03-07 21:42:32 +00:00
Mikael Djurfeldt
bc6b266af0 *** empty log message *** 1997-03-06 22:57:45 +00:00
Mikael Djurfeldt
cd7522e92a Fancy printing. 1997-03-06 17:43:20 +00:00
Mark Galassi
b5522b48d2 started out the new reference manual organization 1997-03-06 17:13:31 +00:00
Mikael Djurfeldt
ee4274a654 * tags.h, eval.c (iqq): Fixes to comments about SCM_ECONSP. 1997-03-06 00:57:11 +00:00
Mikael Djurfeldt
b2530d665a * tags.h (SCM_ECONSP, SCM_NECONSP): Bugfix: Discriminate structs
from pairs with a GLOC in the car.

* symbols.c (msymbolize): Bugfix: Also initialize SCM_SYMBOL_HASH,
otherwise `symbol-hash' will behave badly.
(scm_symbol_hash): Bugfix: Must msymbolize if tc7_ssymbol, othwise
we get segmentation fault!

* symbols.c: Added #include "weaks.h".  New functions
`builtin-bindings' and `builtin-weak-bindings'.  (These will be
moved to an extraneous library when we split libguile.)
1997-03-05 22:49:12 +00:00
Mikael Djurfeldt
98672f5d06 Structs, SCM_SYMBOL_HASH 1997-03-05 22:48:22 +00:00
Gary Houston
f3c23298e9 * boot-9.scm: check use-emacs-interface for emacs support. 1997-03-05 21:08:06 +00:00
Marius Vollmer
a872de20a6 It's -*- change-log -*-, not -*- change-log-mode -*- 1997-03-04 20:46:24 +00:00
Mikael Djurfeldt
c0ebd8c5a8 * filesys.c (scm_stat): stat now takes fport arguments too as
documented in the manual.
1997-03-04 18:54:52 +00:00
Mikael Djurfeldt
2c4bd736ca * debug.c (scm_single_step): Bugfix: Call continuation with
scm_call_continuation instead of throwing to it.
1997-03-04 18:54:14 +00:00
Mikael Djurfeldt
f4da31819e Various notes which the developers share between eachother. 1997-03-03 20:47:31 +00:00
Gary Houston
44493941d8 * ports.c (scm_char_ready_p): bug fix: in SCM_PROC char-ready's
argument wasn't declared to be optional.
1997-03-03 09:22:58 +00:00
Gary Houston
7950df7c45 * boot-9.scm (scm-style-repl): call repl-report-start-timing if
read gets EOF.
* (exit): alias for quit.
1997-03-02 19:53:32 +00:00
Mikael Djurfeldt
876c87ce4e * stime.c (scm_init_stime): Add feature "current-time". 1997-03-02 15:40:23 +00:00
Gary Houston
1a36eef2ea * throw.h: prototype for scm_exit_status.
* throw.c (scm_handle_by_message): if a 'quit is caught, use its
args to derive an exit status.  Allows (quit) to work from a
script.
(scm_exit_status): new function.
#include "eq.h".
1997-03-02 07:32:19 +00:00
Gary Houston
8e44e7a0c7 * boot-9.scm (error-catching-loop thunk): use a status variable to
return the quit args.
(scm-style-repl): call -quit, passing return value from
error-catching-repl.  Make -quit return its args.
stand-along-repl: comment out, since it seems unused.
(top-repl): convert the value returned by scm-style-repl to
an integer and return it.

(error-catching-loop thunk): discard trailing junk after a (quit).
1997-03-02 06:09:41 +00:00
Mikael Djurfeldt
e6aa2a8a24 This is Tom Lord's old printer code. Since it isn't used any longer
it shouldn't be included in the distribution

But we may want to look at it later, so I add it to the repository.
1997-03-01 15:56:21 +00:00
Mikael Djurfeldt
06a02069fe * boot-9.scm: Removed the old printer code.
* r4rs.scm (apply, call-with-current-continuation): Added comment
explaining why apply and call/cc need to be closures.

* boot-9.scm (apply, call-with-current-continuation): Bugfix:
Removed. These definitions are already present in r4rs.scm.
1997-03-01 15:48:38 +00:00
Mikael Djurfeldt
cb3a178451 Added argument checking to trace. 1997-03-01 14:53:27 +00:00
Mikael Djurfeldt
9a942103f0 * debug.scm (trace-entry, trace-exit): Check that we're on a repl
stack before printing traced frames; Re-enable trace flag at end
of handlers.
1997-03-01 14:26:57 +00:00
Mikael Djurfeldt
c6a4fbce36 * eval.c (scm_deval): Removed some old code.
(ENTER_APPLY): Bugfix: Reset apply-frame trap on trap as is done
with the others.
(ENTER_APPLY, scm_deval): Reset trace flag on apply-frame and
exit-frame traps.
1997-03-01 14:23:27 +00:00
Mikael Djurfeldt
c7ec19832b Experimental hacks emulating the Guile-iii Tk interface. 1997-03-01 02:04:54 +00:00
Mikael Djurfeldt
7dd98e0b20 Experimental hack implementing the Guile side of a prototype Emacs
interface.
1997-03-01 02:04:00 +00:00
Mikael Djurfeldt
59e1116d05 * debug.scm: Add hook for reset of trace level at abort.
* boot-9.scm (run-hooks): New procedure.
	(add-hooks!): New macro.
	Change hooks to use these functions.
1997-03-01 01:34:23 +00:00
Mikael Djurfeldt
d5d34fa189 (Slight improvement from previous fix.) 1997-03-01 01:01:09 +00:00
Mikael Djurfeldt
e6875011f4 * * debug.scm: *Warning* This feature is a bit premature. I add
it anyway because 1. it is very useful, and, 2. you can start
	making it less premature by complaining to me and by modifying
	the source! :-)
	(trace): Given one or more procedure objects, trace each one.
	Given no arguments, show all traced procedures.
	(untrace): Given one or more procedure objects, untrace each one.
	Given no arguments, untrace all traced procedures.  The tracing in
	Guile have an advantage to most other systems: We don't create new
	procedure objects, but mark the procedure objects themselves.
	This means that also anonymous and internal procedures can be
	traced.

	* boot-9.scm (error-catching-loop): Added handling of apply-frame
	and exit-frame exceptions.

*	* boot-9.scm (assert-repl-prompt, the-prompt-string): Removed.
	(set-repl-prompt!): Setter for repl prompt.
	(scm-style-repl): If prompt is #f, don't prompt; if prompt is a
	string, display it; if prompt is a thunk, call it and display its
	result; otherwise display "> ".
	(Change suggested by Roland Orre <orre@nada.kth.se>.)
1997-02-28 23:11:22 +00:00
Mikael Djurfeldt
77a6036bd1 * symbols.c (msymbolize): Bugfix: Must initialize property list to
SCM_EOL.
1997-02-28 23:10:00 +00:00
Mikael Djurfeldt
f76c22afd3 * procs.c: Introduce the existent C function scm_thunk_p at the
Scheme level as well.
1997-02-28 21:37:30 +00:00
Mikael Djurfeldt
0065d90e1a * r4rs.scm (%load-verbosely): Reverted change to
`module-defined?', since the module system isn't bootstrapped when
we load r4rs.scm.  This is just a temporary fix to make the
repository version runnable.
1997-02-27 23:05:23 +00:00
Mikael Djurfeldt
eb52a06bb3 * boot-9.scm: Removed the enabling of debug evaluator and
recording of source code positions.  This was placed there for our
convenience, but it has already sneaked into the distribution
once... so we'd better add this in our local copies instead when
we need it.  (These options are normally enabled at the end of
boot-9.scm when loading the debug module.)
1997-02-27 22:36:16 +00:00
Marius Vollmer
d18d1b6dd3 *** empty log message *** 1997-02-27 15:37:02 +00:00
Marius Vollmer
ed218d98d7 * boot-9.scm (module-defined?): New function.
(macroexpand-1, macroexpand): Use local-ref instead of defined?
and eval.
* r4rs.scm (%load-verbosely): Use "module-defined?" instead of
"defined?".
* slib.scm (defined?): New function to take the place of the
builtin "defined?".  It allways examines the slib module.
1997-02-27 15:36:04 +00:00
Mikael Djurfeldt
1dd28b3d65 * symbols.c, symbols.h (scm_symbol_value0): New function. Can be
used from C to easily lookup the value of a symbol in the current
module.
1997-02-26 12:08:26 +00:00
Mikael Djurfeldt
afa64ca818 *** empty log message *** 1997-02-24 23:47:26 +00:00
Mikael Djurfeldt
96abf47dfc * ltconfig, ltmain.sh: New versions from libtool-0.9. 1997-02-24 23:41:28 +00:00
Mikael Djurfeldt
15ae1beecf * configure.in: Added AM_MAINTAINER_MODE
Makefile.in, aclocal.m4, configure: Regenerated
1997-02-24 23:35:55 +00:00
Mikael Djurfeldt
175475a8fc * unif.c (scm_init_unif): Added #include "unif.x". (There are two
scm_init_unif in this file.  This will also fix a previous problem
with guile-snarf.)
1997-02-24 23:21:23 +00:00
Jim Blandy
49becc4d0a Moved paragraph about guile@cygnus.com into the section about getting
Guile.

Added paragraph describing what's installed, to make it more clear
that you only need libguile.a.
1997-02-24 19:56:30 +00:00
Mikael Djurfeldt
01c77a0aa2 * gdb_interface.h (GDB_INTERFACE): Added some (void *) casts to avoid
warnings.
1997-02-21 23:02:01 +00:00
Marius Vollmer
a7580a9738 *** empty log message *** 1997-02-21 18:22:50 +00:00
Marius Vollmer
78bda5f34f * Makefile.am (EXTRA_libguile_la_SOURCES): New variable to hold
source files that are not always included in libguile but should
have their dependencies calculated by automake.  This variable is
recognized by automake, no further magic is needed.
(libguile_la_DEPENDENCIES): Changed to @LIBLOBJS@.  Libtool wants
to deal exclusively with *.lo files, as it seems.  The *.o files
are built automatically when the corresponding *.lo file gets
built.
1997-02-21 18:21:53 +00:00
Jim Blandy
f6e372ed94 Update for post-1.0 release. 1997-02-21 03:21:36 +00:00
Jim Blandy
d655b1f27b Initial, incomplete revision of source code access module for Guile debugger. 1997-02-19 19:07:01 +00:00
Jim Blandy
413b4ab645 *** empty log message *** 1997-02-19 19:05:24 +00:00
Jim Blandy
9d0fddf0e4 * list.h (scm_list_cdr_ref): Delete prototype; function no longer
exists.
1997-02-19 19:05:11 +00:00
Gary Houston
0aa0871fc1 * unif.c (scm_array_set_x): minor change to argument error checking. 1997-02-15 18:49:59 +00:00