Mikael Djurfeldt [Sat, 11 Sep 1999 13:36:02 +0000 (13:36 +0000)]
* * debugger.scm: New file: Initial version of the Guile debugger
written by Chris Hanson. (The debugger isn't finished, but is
included in Guile anyway since it is already quite useful.)
Mikael Djurfeldt [Sat, 11 Sep 1999 13:35:28 +0000 (13:35 +0000)]
* * boot-9.scm (top-repl): Use (ice-9 debug) (ice-9 debugger) (ice-9
session) (ice-9 threads) (ice-9 regex) from guile-user only if
top-repl is called. This makes startup time for scripts 30% of
what it was before... Removed redundant code for loading of
readline.
Mikael Djurfeldt [Sat, 11 Sep 1999 13:35:11 +0000 (13:35 +0000)]
* Makefile.am (ice9_sources): Added debugger.scm.
Mikael Djurfeldt [Thu, 9 Sep 1999 21:30:12 +0000 (21:30 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 9 Sep 1999 21:29:25 +0000 (21:29 +0000)]
* procs.c (scm_setter): Signal WTA if handed an entity or operator
lacking a setter.
Mikael Djurfeldt [Thu, 9 Sep 1999 20:17:51 +0000 (20:17 +0000)]
*** empty log message ***
Mikael Djurfeldt [Thu, 9 Sep 1999 20:16:59 +0000 (20:16 +0000)]
* 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.
Jim Blandy [Thu, 9 Sep 1999 17:52:42 +0000 (17:52 +0000)]
*** empty log message ***
Gary Houston [Wed, 8 Sep 1999 18:38:09 +0000 (18:38 +0000)]
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.
Mikael Djurfeldt [Tue, 7 Sep 1999 09:42:18 +0000 (09:42 +0000)]
*** empty log message ***
Mikael Djurfeldt [Tue, 7 Sep 1999 09:40:50 +0000 (09:40 +0000)]
* eval.c (scm_map, scm_for_each): Converted to dispatch on generic
if args don't match.
Mikael Djurfeldt [Tue, 7 Sep 1999 09:40:35 +0000 (09:40 +0000)]
* __scm.h (SCM_WTA_DISPATCH_n, SCM_GASSERTn): New macros.
Mikael Djurfeldt [Mon, 6 Sep 1999 21:13:05 +0000 (21:13 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 6 Sep 1999 21:12:15 +0000 (21:12 +0000)]
* numbers.c: Converted comparison operations to dispatch on
generic if args don't match.
Mikael Djurfeldt [Mon, 6 Sep 1999 19:57:08 +0000 (19:57 +0000)]
Regenerated
Mikael Djurfeldt [Mon, 6 Sep 1999 19:54:51 +0000 (19:54 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 6 Sep 1999 19:54:01 +0000 (19:54 +0000)]
* Makefile.am (ETAGS_ARGS): Added support for GPROC and GPROC1.
Mikael Djurfeldt [Mon, 6 Sep 1999 18:42:03 +0000 (18:42 +0000)]
*** empty log message ***
Mikael Djurfeldt [Mon, 6 Sep 1999 18:41:03 +0000 (18:41 +0000)]
* tests/interp.test: Added tests for evaluation of closure bodies.
Jim Blandy [Mon, 6 Sep 1999 02:14:06 +0000 (02:14 +0000)]
*** empty log message ***
Jim Blandy [Mon, 6 Sep 1999 02:14:03 +0000 (02:14 +0000)]
Propagate the changes of 2 Sept the rest of the way through.
* configure: Regenerated.
* Makefile.in: Regenerated. Not sure why this diff is so big.
Jim Blandy [Mon, 6 Sep 1999 02:04:48 +0000 (02:04 +0000)]
*** empty log message ***
Jim Blandy [Mon, 6 Sep 1999 01:54:51 +0000 (01:54 +0000)]
* guile-snarf.c: Deleted. Snarfing should respect CPP
conditionals, so it needs to actually run CPP. Bleah.
Jim Blandy [Mon, 6 Sep 1999 01:53:52 +0000 (01:53 +0000)]
Random bug fixes
Jim Blandy [Mon, 6 Sep 1999 01:15:46 +0000 (01:15 +0000)]
*** empty log message ***
Jim Blandy [Sun, 5 Sep 1999 13:50:38 +0000 (13:50 +0000)]
*** empty log message ***
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.)