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

8347 commits

Author SHA1 Message Date
Mikael Djurfeldt
afe93bdb38 *** empty log message *** 1999-09-20 21:52:48 +00:00
Mikael Djurfeldt
0e3aa89fda * numbers.c (scm_max, scm_min, scm_sum, scm_difference,
scm_product, scm_divide): Bugfix: Don't pass SCM_UNDEFINED to the
generic function if the asubr is called with only one arg.
1999-09-20 21:51:50 +00:00
Gary Houston
7ee92fcefd * configure.in: check availability of siginterrupt.
* scmsigs.c (scm_sigaction): add SA_RESTART to flags only if
	HAVE_RESTARTABLE_SYSCALLS.
	(scm_init_scmsigs): use siginterrupt if it's available.  not
	everyone who has restartable syscalls has SA_RESTART it seems.
	(scm_sigaction): use scm_num2long/scm_long2num when converting
	SIG_DFL/SIG_IGN, in case it doesn't fit in an INUM.  use
	scm_integer_p to test the type.
1999-09-20 21:32:23 +00:00
Gary Houston
08b8c6948d 1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* configure.in: use AC_SYS_RESTARTABLE_SYSCALLS instead of
	testing for SA_RESTART.

1999-09-18  Gary Houston  <ghouston@freewire.co.uk>

	* _scm.h, scmsigs.c: replace HAVE_RESTARTS with
	HAVE_RESTARTABLE_SYSCALLS.
1999-09-18 17:13:38 +00:00
Gary Houston
e684c60f44 1999-09-18 Gary Houston <ghouston@freewire.co.uk>
* strports.c (scm_strport_to_string): create the string from
	pt->read_buf instead of an expression that evaluates to the
	same thing.

	* gdbint.c (gdb_print): don't just use SCM_CHARS to get a C string
	from the port: the port's buffer may not be NUL terminated.
1999-09-18 08:36:35 +00:00
Mikael Djurfeldt
8cc9503dc0 *** empty log message *** 1999-09-16 11:51:49 +00:00
Mikael Djurfeldt
95042d95f0 * Makefile.am (.c.x): Added missing semicolon after `false'. 1999-09-16 11:51:02 +00:00
Mikael Djurfeldt
4b3324a35f *** empty log message *** 1999-09-15 17:35:14 +00:00
Mikael Djurfeldt
8b840115f8 * print.c (scm_iprin1): Turned write' and display' into
primitive generics and use their associated generic functions in
scm_iprin1 for GOOPS objects.
1999-09-15 17:33:58 +00:00
Mikael Djurfeldt
5eb548fc54 *** empty log message *** 1999-09-15 15:22:58 +00:00
Mikael Djurfeldt
b1508ade39 * backtrace.c: #include <unistd.h> if present. 1999-09-15 15:22:07 +00:00
Jim Blandy
77e3c5beb4 *** empty log message *** 1999-09-15 03:34:45 +00:00
Jim Blandy
30296c435c * Makefile.am (.c.x): Don't create a subshell just to delete the
.x file and return false.
* Makefile.in: Regenerated.
1999-09-15 03:34:29 +00:00
Mikael Djurfeldt
ece4116847 *** empty log message *** 1999-09-13 14:58:33 +00:00
Mikael Djurfeldt
36399a6df2 * feature.c (scm_create_hook): New function. Replaces
scm_make_named_hook which is now deprecated.
(scm_make_hook_with_name): New primitive.
(print_hook): Hooks now print in a fancy way.
1999-09-13 14:57:59 +00:00
Mikael Djurfeldt
30772a346b Fixed typo 1999-09-12 11:42:10 +00:00
Mikael Djurfeldt
2868a51ce9 *** empty log message *** 1999-09-12 11:18:29 +00:00
Mikael Djurfeldt
78a0461a6f * __scm.h, backtrace.c, backtrace.h, debug.c, debug.h, dynl-dld.c,
dynwind.c, dynwind.h, eval.h, evalext.c, evalext.h, feature.c,
feature.h, hashtab.c, hashtab.h, objects.c, objects.h, print.c,
procs.c, procs.h, smob.c, smob.h, srcprop.c, strorder.c, struct.c,
struct.h: Updated copyrigth notices.
1999-09-12 11:16:13 +00:00
Jim Blandy
af04791a1a Update copyright years. 1999-09-12 03:58:24 +00:00
Jim Blandy
340a877098 *** empty log message *** 1999-09-12 03:52:11 +00:00
Jim Blandy
0d03da62e3 Change the name of the objects returned by OPENDIR from
"directory" to "directory stream".  A predicate named "directory?"
would be confusing.
* filesys.c (scm_directory_stream_p): Renamed from scm_directory_p.
At the Scheme level, "directory?" -> "directory-stream?".
(scm_dir_print): Use the phrase "directory stream" in printed form.
* filesys.h (scm_directory_stream_p): Prototype renamed
accordingly.
1999-09-12 03:47:39 +00:00
Mikael Djurfeldt
69fafe4692 *** empty log message *** 1999-09-12 02:26:03 +00:00
Mikael Djurfeldt
09a5681038 * srcprop.c (scm_source_property): Bugfix: Use SCM_NECONSP instead
of SCM_NCONSP.  (Thanks to Greg Badros.)
1999-09-12 02:24:36 +00:00
Mikael Djurfeldt
73d6b4df01 * gsubr.c (scm_make_gsubr): Use scm_make_subr_opt for creation of
the self subr.
1999-09-12 02:24:25 +00:00
Mikael Djurfeldt
274dc5fd6b * eval.c, debug.h (SCM_BACKTRACE_WIDTH): New debug option: width. 1999-09-12 02:24:10 +00:00
Mikael Djurfeldt
2b407f9bff * backtrace.c: Keep backtraces within specified width by
adaptively adjusting fancy printing parameters and cut output if
necessary.
(scm_display_application): Check args.
1999-09-12 02:23:39 +00:00
Jim Blandy
9185918452 *** empty log message *** 1999-09-11 19:05:43 +00:00
Jim Blandy
8f7eaf20e1 * version.c (scm_libguile_config_stamp): Deleted. See
corresponding change to ../ice-9/boot-9.scm.
* versiondat.h.in: Remove definition for GUILE_STAMP.
* version.h: Delete prototype.
* Makefile.in: Regenerated.
1999-09-11 19:05:18 +00:00
Jim Blandy
553bb64163 * Makefile.am (CLEANFILES): Remove versiondat.h; that should only
be removed by `make distclean', since it's generated by configure.
* Makefile.in: Regenerated.
(Thanks to Robert Bihlmeyer.)
1999-09-11 19:05:08 +00:00
Jim Blandy
b142c81de4 *** empty log message *** 1999-09-11 18:51:58 +00:00
Jim Blandy
5b20cc4bf8 * strop.c (scm_substring_move_x): Signal an error if start1
doesn't come before end1.  (Thanks to Karoly Lorentey).
1999-09-11 18:49:55 +00:00
Jim Blandy
b4a204af78 * numbers.c (scm_istr2flo): Don't call SCM_INEXP without first
calling SCM_NIMP.  (Thanks to Karoly Lorentey).
1999-09-11 18:49:48 +00:00
Mikael Djurfeldt
f14d3ff8be *** empty log message *** 1999-09-11 18:32:42 +00:00
Mikael Djurfeldt
3a1f844725 (display_backtrace_body): Don't print "Backtrace:".
(scm_backtrace): Print "Backtrace:" here instead.
1999-09-11 18:31:52 +00:00
Jim Blandy
e1f20ec6ad *** empty log message *** 1999-09-11 15:08:11 +00:00
Jim Blandy
6ab01c74d6 * version.c (scm_libguile_config_stamp): Deleted. See
corresponding change to ../ice-9/boot-9.scm.
* version.h: Delete prototype.
* Makefile.in: Regenerated.
1999-09-11 15:05:59 +00:00
Gary Houston
77242ff9cd 1999-09-11 Gary Houston <ghouston@easynet.co.uk>
* filesys.c (scm_directory_p): new procedure "directory?"  Returns
	a boolean indicating whether its argument is a directory
	port as returned by opendir (thanks to Dirk Herrmann for the
	suggestion.)
1999-09-11 14:12:14 +00:00
Mikael Djurfeldt
08cc62c7d9 *** empty log message *** 1999-09-11 13:54:15 +00:00
Mikael Djurfeldt
1ae6af28d9 * backtrace.c (display_frame_expr): Don't print a newline.
(display_frame): Print the newline here instead.
1999-09-11 13:53:24 +00:00
Mikael Djurfeldt
d37e656919 *** empty log message *** 1999-09-09 21:30:12 +00:00
Mikael Djurfeldt
c72a774a57 * procs.c (scm_setter): Signal WTA if handed an entity or operator
lacking a setter.
1999-09-09 21:29:25 +00:00
Mikael Djurfeldt
bc848f7fee *** empty log message *** 1999-09-09 20:17:51 +00:00
Mikael Djurfeldt
264251294d * feature.c, feature.h: (scm_hook_p, scm_hook_empty_p): New
primitives. (Thanks to Greg Badros);
(scm_hook_to_list): New primitive; Hooks are now smobs.
1999-09-09 20:16:59 +00:00
Gary Houston
55a7fc623b 1999-09-08 Gary Houston <ghouston@easynet.co.uk>
* stime.c (bdtime2c): rewrite the ASSERTs.  Accept a value
	of #f for the 10th vector element to avoid an exception
	seen by Bernard Urban.
	(scm_mktime): unneeded ASSERT removed.
1999-09-08 18:38:09 +00:00
Mikael Djurfeldt
4f93d84c8e *** empty log message *** 1999-09-07 09:42:18 +00:00
Mikael Djurfeldt
47c3f06db6 * eval.c (scm_map, scm_for_each): Converted to dispatch on generic
if args don't match.
1999-09-07 09:40:50 +00:00
Mikael Djurfeldt
89c358b13f * __scm.h (SCM_WTA_DISPATCH_n, SCM_GASSERTn): New macros. 1999-09-07 09:40:35 +00:00
Mikael Djurfeldt
6065fed8ed *** empty log message *** 1999-09-06 21:13:05 +00:00
Mikael Djurfeldt
152f82bfa5 * numbers.c: Converted comparison operations to dispatch on
generic if args don't match.
1999-09-06 21:12:15 +00:00
Mikael Djurfeldt
e86b6c2c6a Regenerated 1999-09-06 19:57:08 +00:00