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

1757 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
7e6e146e46 *** empty log message *** 1999-09-06 19:54:51 +00:00
Mikael Djurfeldt
27ab23a498 * Makefile.am (ETAGS_ARGS): Added support for GPROC and GPROC1. 1999-09-06 19:54:01 +00:00
Jim Blandy
548c5135e0 *** empty log message *** 1999-09-06 02:04:48 +00:00
Jim Blandy
9dcba084bb * guile-snarf.c: Deleted. Snarfing should respect CPP
conditionals, so it needs to actually run CPP.  Bleah.
1999-09-06 01:54:51 +00:00
Jim Blandy
37f2e24212 Random bug fixes 1999-09-06 01:53:52 +00:00
Jim Blandy
f9dbe0749d *** empty log message *** 1999-09-05 13:50:38 +00:00
Jim Blandy
7677589ac6 * guile-snarf.in: Be sure to exit with an error if CPP does.
* Makefile.am (.c.x): Delete the .x file and exit with an error
status if guile-snarf exits with an error status.
* Makefile.in: Regenerated.
1999-09-05 13:47:23 +00:00
Jim Blandy
9d743bfb5f *** empty log message *** 1999-09-05 12:42:02 +00:00
Jim Blandy
1bf17bb472 * snarf.h (SCM_GLOBAL_KEYWORD): Call scm_c_make_keyword, not
scm_makekey, which doesn't exist any more.  Guess nobody's using
this.
1999-09-05 12:41:52 +00:00
Jim Blandy
9918cf630d *** empty log message *** 1999-09-05 12:40:31 +00:00
Jim Blandy
ce05e3cd45 * guile-snarf.c (parse_args): Abort if we haven't handled some
character type.
1999-09-05 12:40:11 +00:00
Jim Blandy
d1f728f18a Typo 1999-09-05 06:46:03 +00:00
Jim Blandy
2a94fc3629 *** empty log message *** 1999-09-05 06:43:33 +00:00
Jim Blandy
692fca68ad * guile-snarf.c: New implementation of guile-snarf, meant to be
more robust than the shell script.  I think it's complete, but I
haven't tested it at all, and I haven't changed the build process
to actually use it.  We should compare its output against that of
the existing shell script, for all source files.
1999-09-05 06:43:13 +00:00
Jim Blandy
37c7371dae Add 1999 to copyright years. 1999-09-05 06:42:46 +00:00
Jim Blandy
afbbb69ca2 *** empty log message *** 1999-09-03 07:54:22 +00:00
Jim Blandy
563841768b * load.c (scm_search_path): If the filename has any extension at
all, ignore the entire list of extensions.  Also, don't check whether
the file is accessible.  If the file exists, accessible or not, we
should return it.  Inaccessible files should cause an error later.
(Thanks to Keisuke Nishida for the suggestions.)
1999-09-03 07:54:06 +00:00
Mikael Djurfeldt
51157deb12 Added prototype for on_exit 1999-09-02 15:15:12 +00:00
Mikael Djurfeldt
2834977b48 Regenerated 1999-09-02 14:52:32 +00:00
Mikael Djurfeldt
655f19abc4 *** empty log message *** 1999-09-02 14:52:02 +00:00
Mikael Djurfeldt
e52ceaacf0 * gc.c (cleanup, scm_init_storage): Use on_exit if present and
atexit not available.  (sunos4.1.4 needs it.)
1999-09-02 14:51:51 +00:00
Jim Blandy
be881b4688 I take it all back --- bcopy does handle overlapping source and
destination areas correctly.  At least on every system I could
find.  But it is better to use AC_REPLACE_FUNCS than to introduce
new CPP conditionals.
* memmove.c: New file, implementing memmove in terms of bcopy.
* scmconfig.h.in: Regenerated.
1999-09-01 02:52:27 +00:00
Jim Blandy
b074884f06 *** empty log message *** 1999-09-01 02:51:52 +00:00
Jim Blandy
0780669549 Allocators should use the `void *' type for generic pointers.
* gc.c (scm_must_malloc, scm_must_realloc, scm_must_free): Change
argument and return types.
* gc.h: Corresponding changes to prototypes.
(Thanks to Forcer.)
1999-09-01 02:47:30 +00:00
Jim Blandy
a4ea22c3d6 *** empty log message *** 1999-08-31 13:37:40 +00:00
Jim Blandy
dccbb90a07 * numbers.c (scm_init_numbers): Claim to support the `complex'
feature, as expected by (ice-9 format).  (Thanks to Ceri Storey.)
1999-08-31 13:37:28 +00:00
Jim Blandy
dd67f90b24 *** empty log message *** 1999-08-31 13:04:21 +00:00
Jim Blandy
429ae86495 * Makefile.am (check-local): Set GUILE_LOAD_PATH so the tests can
find (ice-9 boot-9) when Guile was compiled in a separate
directory from the source.  (Thanks to Rodney Brown.)
* Makefile.in: Regenerated.
1999-08-31 13:04:06 +00:00
Jim Blandy
94b4c096e2 *** empty log message *** 1999-08-31 08:49:55 +00:00
Jim Blandy
98f9c98402 * procs.c (scm_make_subr_opt): Fix typo. Remember to multiple
table lengths by the size of a single element when growing the
table.
1999-08-31 08:49:21 +00:00
Mikael Djurfeldt
fa941d9e36 *** empty log message *** 1999-08-30 12:27:29 +00:00
Jim Blandy
ebc4e6cc6a *** empty log message *** 1999-08-30 07:02:46 +00:00
Jim Blandy
aa97ff6036 * gh_data.c (gh_set_substr): Revert change of 1999-08-29; bcopy is
not a correct substitute for memmove, because it doesn't handle
overlapping source and destination areas on many platforms.
Overlaps are the primary reason to use memmove in the first place.
* ports.c (scm_ungetc): Same.
* strop.c (scm_substring_move_x): Same.
1999-08-30 07:02:25 +00:00
Mikael Djurfeldt
55861efad5 Regenerated 1999-08-30 02:49:35 +00:00
Mikael Djurfeldt
0824bbb3f5 Moved scm_memoize_method back to eval.c. 1999-08-30 02:18:35 +00:00
Mikael Djurfeldt
61364ba686 * eval.c (SCM_CEVAL): Duplicated the method dispatch code at the
SCM_IM_DISPATCH form instead of calling scm_mcache_lookup_cmethod
since that cuts down the time for type dispatch by 50%.
1999-08-30 02:18:00 +00:00
Mikael Djurfeldt
a709833577 *** empty log message *** 1999-08-30 02:15:07 +00:00
Mikael Djurfeldt
97056309c3 * struct.c, struct.h (scm_struct_free_0, scm_struct_free_light,
scm_struct_free_standard, scm_struct_free_entity): Declared to
return scm_sizet instead of size_t.
1999-08-30 02:14:47 +00:00
Mikael Djurfeldt
681b900590 * gdbint.c, strports.c: #include <unistd.h>. (SEEK_SET is defined
there on sunos4.1.4.)
1999-08-30 02:14:36 +00:00
Mikael Djurfeldt
a18bcd0e5f * gc.c (scm_init_storage): Skip registration of cleanup on systems
which lack atexit.  (Is it important that cleanup is made
properly? Maybe we should replace all `exit' with `scm_exit' and
call cleanup there?)
1999-08-30 02:13:45 +00:00