Jim Blandy [Sun, 5 Sep 1999 13:47:23 +0000 (13:47 +0000)]
* 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.
Jim Blandy [Sun, 5 Sep 1999 12:42:02 +0000 (12:42 +0000)]
*** empty log message ***
Jim Blandy [Sun, 5 Sep 1999 12:41:52 +0000 (12:41 +0000)]
* snarf.h (SCM_GLOBAL_KEYWORD): Call scm_c_make_keyword, not
scm_makekey, which doesn't exist any more. Guess nobody's using
this.
Jim Blandy [Sun, 5 Sep 1999 12:40:31 +0000 (12:40 +0000)]
*** empty log message ***
Jim Blandy [Sun, 5 Sep 1999 12:40:11 +0000 (12:40 +0000)]
* guile-snarf.c (parse_args): Abort if we haven't handled some
character type.
Jim Blandy [Sun, 5 Sep 1999 12:38:01 +0000 (12:38 +0000)]
* acinclude.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): Fix typo in
variable name. (Thanks to Bill Schottstaedt.)
* aclocal.m4: Regenerated.
Jim Blandy [Sun, 5 Sep 1999 06:46:03 +0000 (06:46 +0000)]
Typo
Jim Blandy [Sun, 5 Sep 1999 06:43:33 +0000 (06:43 +0000)]
*** empty log message ***
Jim Blandy [Sun, 5 Sep 1999 06:43:13 +0000 (06:43 +0000)]
* 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.
Jim Blandy [Sun, 5 Sep 1999 06:42:46 +0000 (06:42 +0000)]
Add 1999 to copyright years.
Jim Blandy [Fri, 3 Sep 1999 08:00:14 +0000 (08:00 +0000)]
Remove debugging output.
Jim Blandy [Fri, 3 Sep 1999 07:54:22 +0000 (07:54 +0000)]
*** empty log message ***
Jim Blandy [Fri, 3 Sep 1999 07:54:06 +0000 (07:54 +0000)]
* 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.)
Jim Blandy [Fri, 3 Sep 1999 07:37:33 +0000 (07:37 +0000)]
*** empty log message ***
Jim Blandy [Fri, 3 Sep 1999 07:37:23 +0000 (07:37 +0000)]
* tests/load.test: New test file.
Jim Blandy [Fri, 3 Sep 1999 07:37:12 +0000 (07:37 +0000)]
* tests/multilingual.nottest: New file, which we will turn into a
test file once we actually have multilingual support to test.
Jim Blandy [Fri, 3 Sep 1999 07:36:49 +0000 (07:36 +0000)]
Fix copyright info.
Jim Blandy [Fri, 3 Sep 1999 01:24:56 +0000 (01:24 +0000)]
*** empty log message ***
Jim Blandy [Fri, 3 Sep 1999 01:24:40 +0000 (01:24 +0000)]
* acinclude.m4 (GUILE_HEADER_LIBC_WITH_UNISTD): Fix typo in
variable name. (Thanks to Bill Schottstaedt.)
Mikael Djurfeldt [Thu, 2 Sep 1999 15:15:12 +0000 (15:15 +0000)]
Added prototype for on_exit
Mikael Djurfeldt [Thu, 2 Sep 1999 14:52:32 +0000 (14:52 +0000)]
Regenerated
Mikael Djurfeldt [Thu, 2 Sep 1999 14:52:02 +0000 (14:52 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 2 Sep 1999 14:51:51 +0000 (14:51 +0000)]
* gc.c (cleanup, scm_init_storage): Use on_exit if present and
atexit not available. (sunos4.1.4 needs it.)
Mikael Djurfeldt [Thu, 2 Sep 1999 14:51:32 +0000 (14:51 +0000)]
* configure.in: Test for presence of function on_exit.
Mikael Djurfeldt [Thu, 2 Sep 1999 09:16:58 +0000 (09:16 +0000)]
*** empty log message ***
Jim Blandy [Wed, 1 Sep 1999 04:23:41 +0000 (04:23 +0000)]
*** empty log message ***
Jim Blandy [Wed, 1 Sep 1999 04:21:42 +0000 (04:21 +0000)]
Put off deprecating most functions until 1.4; not enough time has
elapsed between releases to make it fair to take out those functions
now.
Jim Blandy [Wed, 1 Sep 1999 02:52:27 +0000 (02:52 +0000)]
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.
Jim Blandy [Wed, 1 Sep 1999 02:51:52 +0000 (02:51 +0000)]
*** empty log message ***
Jim Blandy [Wed, 1 Sep 1999 02:50:18 +0000 (02:50 +0000)]
Regenerated. Seems like conflicting versions of automake installed...
Jim Blandy [Wed, 1 Sep 1999 02:48:14 +0000 (02:48 +0000)]
* configure.in: Use AC_REPLACE_FUNCS to grab libguile/memmove.c if
the system doesn't have memmove. Don't test for memmove and bcopy
with AC_CHECK_FUNCS.
* configure: Regenerated.
Jim Blandy [Wed, 1 Sep 1999 02:47:30 +0000 (02:47 +0000)]
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.)
Jim Blandy [Tue, 31 Aug 1999 13:37:40 +0000 (13:37 +0000)]
*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 13:37:28 +0000 (13:37 +0000)]
* numbers.c (scm_init_numbers): Claim to support the `complex'
feature, as expected by (ice-9 format). (Thanks to Ceri Storey.)
Jim Blandy [Tue, 31 Aug 1999 13:04:21 +0000 (13:04 +0000)]
*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 13:04:06 +0000 (13:04 +0000)]
* 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.
Jim Blandy [Tue, 31 Aug 1999 08:49:55 +0000 (08:49 +0000)]
*** empty log message ***
Jim Blandy [Tue, 31 Aug 1999 08:49:21 +0000 (08:49 +0000)]
* procs.c (scm_make_subr_opt): Fix typo. Remember to multiple
table lengths by the size of a single element when growing the
table.
Jim Blandy [Tue, 31 Aug 1999 08:06:29 +0000 (08:06 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 12:27:29 +0000 (12:27 +0000)]
*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 07:46:07 +0000 (07:46 +0000)]
*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 07:46:01 +0000 (07:46 +0000)]
* tests/strings.test: New test file.
Jim Blandy [Mon, 30 Aug 1999 07:39:21 +0000 (07:39 +0000)]
first cut
Jim Blandy [Mon, 30 Aug 1999 07:02:46 +0000 (07:02 +0000)]
*** empty log message ***
Jim Blandy [Mon, 30 Aug 1999 07:02:25 +0000 (07:02 +0000)]
* 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.
Jim Blandy [Mon, 30 Aug 1999 06:42:28 +0000 (06:42 +0000)]
Fix up downloading addresses and filenames.
Jim Blandy [Mon, 30 Aug 1999 03:31:23 +0000 (03:31 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 02:49:52 +0000 (02:49 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 02:49:35 +0000 (02:49 +0000)]
Regenerated
Mikael Djurfeldt [Mon, 30 Aug 1999 02:18:35 +0000 (02:18 +0000)]
Moved scm_memoize_method back to eval.c.
Mikael Djurfeldt [Mon, 30 Aug 1999 02:18:00 +0000 (02:18 +0000)]
* 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%.
Mikael Djurfeldt [Mon, 30 Aug 1999 02:15:07 +0000 (02:15 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 30 Aug 1999 02:14:47 +0000 (02:14 +0000)]
* 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.
Mikael Djurfeldt [Mon, 30 Aug 1999 02:14:36 +0000 (02:14 +0000)]
* gdbint.c, strports.c: #include <unistd.h>. (SEEK_SET is defined
there on sunos4.1.4.)
Mikael Djurfeldt [Mon, 30 Aug 1999 02:13:45 +0000 (02:13 +0000)]
* 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?)
Mikael Djurfeldt [Mon, 30 Aug 1999 02:13:22 +0000 (02:13 +0000)]
* configure.in: Test for atexit.
Mikael Djurfeldt [Sun, 29 Aug 1999 22:24:07 +0000 (22:24 +0000)]
Regenerated
Mikael Djurfeldt [Sun, 29 Aug 1999 22:23:33 +0000 (22:23 +0000)]
* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)
Mikael Djurfeldt [Sun, 29 Aug 1999 22:21:38 +0000 (22:21 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 21:55:12 +0000 (21:55 +0000)]
* acinclude.m4: Updated. (Thanks to Karl Eichwalder.)
Mikael Djurfeldt [Sun, 29 Aug 1999 21:08:38 +0000 (21:08 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 21:07:04 +0000 (21:07 +0000)]
Fix
Mikael Djurfeldt [Sun, 29 Aug 1999 19:30:00 +0000 (19:30 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 19:26:53 +0000 (19:26 +0000)]
Fix of last fix
Mikael Djurfeldt [Sun, 29 Aug 1999 18:32:24 +0000 (18:32 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:17:58 +0000 (18:17 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:15:09 +0000 (18:15 +0000)]
* numbers.c (scm_lcm): Bugfix: BIGDIG --> SCM_BIGDIG;
Account for the case when second argument is unbound.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:55 +0000 (18:04 +0000)]
* strorder.c (scm_string_less_p, scm_string_ci_less_p): Bugfix.
(Thanks to Karoly Lorentey.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:43 +0000 (18:04 +0000)]
Regenerated
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:28 +0000 (18:04 +0000)]
* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
isn't present. (Thanks to suzukis@file.phys.tohoku.ac.jp.)
* ports.c: Use ANSI C prototypes in definitions. (Thanks to
Bernard Urban.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:04:11 +0000 (18:04 +0000)]
* gh_data.c, ports.c, strop.c: Alternatively use bcopy if memmove
isn't present. (Thanks to suzukis@file.phys.tohoku.ac.jp.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:39 +0000 (18:03 +0000)]
* filesys.c (scm_stat2scm): Conditionally use S_ISLNK.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:26 +0000 (18:03 +0000)]
* dynl-dl.c (RTLD_GLOBAL): Define if non-existent. (Thanks to
Bernard Urban and Ian Grant.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:03:02 +0000 (18:03 +0000)]
* Makefile.am (libguile_la_LDFLAGS): Bumped libguile version
again. (1.3.4 will be binary incompatible with 1.3.2 because of a
change in the representation of entities and operators.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:02:44 +0000 (18:02 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 18:02:19 +0000 (18:02 +0000)]
The following change makes it possible for applications to have
their own version of scm_readline.
* readline.c, readline.h (rl_cleanup_after_signal,
rl_free_line_state): Made global.
(scm_readline_init_ports): New function.
(scm_readline): Use scm_readline_init_ports.
(Thanks to Anders Holst.)
Mikael Djurfeldt [Sun, 29 Aug 1999 18:01:52 +0000 (18:01 +0000)]
* Makefile.am: Install guile-readline/readline.h.
Mikael Djurfeldt [Sun, 29 Aug 1999 18:00:48 +0000 (18:00 +0000)]
* configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.)
Test for memmove and bcopy. (Thanks to
suzukis@file.phys.tohoku.ac.jp.)
Mikael Djurfeldt [Sun, 29 Aug 1999 17:57:35 +0000 (17:57 +0000)]
* acconfig.h: Added HAVE_S_ISLNK.
Mikael Djurfeldt [Sun, 29 Aug 1999 17:57:05 +0000 (17:57 +0000)]
* configure.in: Test for presence of S_ISLNK in sys/stat.h.
(Thanks to Bernard Urban.)
Test for memmove and bcopy. (Thanks to
Mikael Djurfeldt [Sun, 29 Aug 1999 17:56:12 +0000 (17:56 +0000)]
*** empty log message ***
Gary Houston [Sun, 29 Aug 1999 17:48:26 +0000 (17:48 +0000)]
1999-08-29 Gary Houston <ghouston@easynet.co.uk>
* tests/ports.test: test unread-char and unread-string.
Gary Houston [Sun, 29 Aug 1999 16:54:34 +0000 (16:54 +0000)]
add the attribution
Gary Houston [Sun, 29 Aug 1999 16:50:40 +0000 (16:50 +0000)]
1999-08-29 Gary Houston <ghouston@easynet.co.uk>
* ports.c (scm_ungetc): bugfix: if putback_buf is NULL
don't allocate zero bytes.
Mikael Djurfeldt [Sun, 29 Aug 1999 14:24:24 +0000 (14:24 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:59 +0000 (14:22 +0000)]
* stacks.c (scm_sym_apply): Removed. (Thanks to Ken Raeburn.)
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:44 +0000 (14:22 +0000)]
* procs.c (scm_setter): Converted to use generic dispatch.
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:29 +0000 (14:22 +0000)]
* load.c (scm_search_path): Don't try extensions which already are
present at the end of the filename.
(scm_init_load): Check .scm first. (Thanks to Keisuke Nishida.)
Mikael Djurfeldt [Sun, 29 Aug 1999 14:22:16 +0000 (14:22 +0000)]
* eval.c, eval.h: Bugfix: scm_sym_apply was not initialized
correctly.
Mikael Djurfeldt [Sun, 29 Aug 1999 14:21:30 +0000 (14:21 +0000)]
* boot-9.scm (try-module-autoload): Use %search-load-path.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:29:03 +0000 (03:29 +0000)]
*** empty log message ***
Mikael Djurfeldt [Sun, 29 Aug 1999 03:28:08 +0000 (03:28 +0000)]
* tags.h (SCM_IM_HASH_DISPATCH): Removed.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:55 +0000 (03:27 +0000)]
* struct.c, struct.h: Replace 4 procedure slots with one.
(scm_struct_i_procedure): Replaces scm_struct_i_procedure.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:33 +0000 (03:27 +0000)]
Fix
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:18 +0000 (03:27 +0000)]
* procprop.c (scm_i_procedure_arity): Bugfix: Handle generics.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:27:07 +0000 (03:27 +0000)]
* print.c (scm_isymnames): Removed #@hash-dispatch.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:51 +0000 (03:26 +0000)]
* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
from eval.c; Support 0 arity methods.
(scm_set_object_procedure_x): Removed scm_sym_atdispatch;
(scm_apply_generic_env): Removed.
Replaced slots proc0-3 with procedure.
* objects.h (SCM_OPERATOR_PROC_0, SCM_OPERATOR_PROC_1,
SCM_OPERATOR_PROC_2, SCM_OPERATOR_PROC_3): Replaced by
SCM_OPERATOR_PROCEDURE.
(SCM_ENTITY_PROC_0, SCM_ENTITY_PROC_1, SCM_ENTITY_PROC_2,
SCM_ENTITY_PROC_3): Replaced by SCM_ENTITY_PROCEDURE.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:38 +0000 (03:26 +0000)]
* objects.c, objects.h (scm_mcache_lookup_cmethod): Moved here
from eval.c; Support 0 arity methods.
(scm_set_object_procedure_x): Removed scm_sym_atdispatch;
(scm_apply_generic_env): Removed.
Replaced slots proc0-3 with procedure.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:21 +0000 (03:26 +0000)]
* gc.c (scm_gc_mark): Mark 1 procedure slot in entities instead of
4.
Mikael Djurfeldt [Sun, 29 Aug 1999 03:26:05 +0000 (03:26 +0000)]
* eval.c (scm_sym_args): Removed.
(SCM_CEVAL): Simplified entity application.
Moved dispatch code to objects.c.