bpt/guile.git
24 years ago*** empty log message ***
Jim Blandy [Mon, 20 Sep 1999 22:42:04 +0000 (22:42 +0000)]
*** empty log message ***

24 years agoFix
Mikael Djurfeldt [Mon, 20 Sep 1999 22:25:10 +0000 (22:25 +0000)]
Fix

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 20 Sep 1999 22:17:14 +0000 (22:17 +0000)]
*** empty log message ***

24 years agoFix
Mikael Djurfeldt [Mon, 20 Sep 1999 22:10:38 +0000 (22:10 +0000)]
Fix

24 years ago* __scm.h (SCM_WTA_DISPATCH_0, SCM_GASSERT0): New macros.
Mikael Djurfeldt [Mon, 20 Sep 1999 22:09:21 +0000 (22:09 +0000)]
* __scm.h (SCM_WTA_DISPATCH_0, SCM_GASSERT0): New macros.

24 years agotyping correction
Gary Houston [Mon, 20 Sep 1999 22:04:51 +0000 (22:04 +0000)]
typing correction

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 20 Sep 1999 21:52:48 +0000 (21:52 +0000)]
*** empty log message ***

24 years ago* numbers.c (scm_max, scm_min, scm_sum, scm_difference,
Mikael Djurfeldt [Mon, 20 Sep 1999 21:51:50 +0000 (21:51 +0000)]
* 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.

24 years ago * configure.in: check availability of siginterrupt.
Gary Houston [Mon, 20 Sep 1999 21:32:23 +0000 (21:32 +0000)]
* 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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 19 Sep 1999 14:37:31 +0000 (14:37 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 19 Sep 1999 14:35:53 +0000 (14:35 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Sun, 19 Sep 1999 01:01:25 +0000 (01:01 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 19 Sep 1999 00:00:01 +0000 (00:00 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Sat, 18 Sep 1999 22:19:39 +0000 (22:19 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Sat, 18 Sep 1999 22:13:54 +0000 (22:13 +0000)]
*** empty log message ***

24 years agoregenerated Makefile.in
Gary Houston [Sat, 18 Sep 1999 19:09:25 +0000 (19:09 +0000)]
regenerated Makefile.in

24 years ago1999-09-18 Gary Houston <ghouston@freewire.co.uk>
Gary Houston [Sat, 18 Sep 1999 17:13:38 +0000 (17:13 +0000)]
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.

24 years ago1999-09-18 Gary Houston <ghouston@freewire.co.uk>
Gary Houston [Sat, 18 Sep 1999 08:36:35 +0000 (08:36 +0000)]
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.

24 years agoRegenerated
Mikael Djurfeldt [Fri, 17 Sep 1999 18:54:09 +0000 (18:54 +0000)]
Regenerated

24 years agoFix name of snapshot directory.
Jim Blandy [Fri, 17 Sep 1999 17:10:50 +0000 (17:10 +0000)]
Fix name of snapshot directory.

24 years agoRun automake after everything else, as per Tom Tromey's advice.
Jim Blandy [Fri, 17 Sep 1999 17:10:25 +0000 (17:10 +0000)]
Run automake after everything else, as per Tom Tromey's advice.

24 years ago*** empty log message ***
Jim Blandy [Fri, 17 Sep 1999 17:09:38 +0000 (17:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Fri, 17 Sep 1999 16:40:50 +0000 (16:40 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Sep 1999 23:45:11 +0000 (23:45 +0000)]
*** empty log message ***

24 years ago* debugger.scm (read-and-dispatch-commands): Handle other throws
Mikael Djurfeldt [Thu, 16 Sep 1999 23:44:54 +0000 (23:44 +0000)]
* debugger.scm (read-and-dispatch-commands): Handle other throws
than 'exit-debugger.

24 years ago* boot-9.scm (before-signal-stack): New fluid.
Mikael Djurfeldt [Thu, 16 Sep 1999 23:44:33 +0000 (23:44 +0000)]
* boot-9.scm (before-signal-stack): New fluid.
(top-repl): Set before-signal-stack in the signal handler.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Sep 1999 22:42:36 +0000 (22:42 +0000)]
*** empty log message ***

24 years ago* debugger.scm (eval-handler): Handle unhandled exceptions.
Mikael Djurfeldt [Thu, 16 Sep 1999 22:42:11 +0000 (22:42 +0000)]
* debugger.scm (eval-handler): Handle unhandled exceptions.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Sep 1999 21:26:46 +0000 (21:26 +0000)]
*** empty log message ***

24 years ago* debugger.scm ("p"): New alias for "evaluate";
Mikael Djurfeldt [Thu, 16 Sep 1999 21:26:27 +0000 (21:26 +0000)]
* debugger.scm ("p"): New alias for "evaluate";
Mark module with :no-backtrace.
("position"): New command.
(source-position, display-position): New procedures.
(display-source): Display position of expression, if available.
(catch-user-errors): Return #f on error.  (Commands are expected
to return a valid state.)
(read-and-dispatch-command): Bugfix: Return old state on error.

24 years ago*** empty log message ***
Jim Blandy [Thu, 16 Sep 1999 20:10:31 +0000 (20:10 +0000)]
*** empty log message ***

24 years ago* regex.scm (regexp-substitute/global): Handle the end of the
Jim Blandy [Thu, 16 Sep 1999 20:09:46 +0000 (20:09 +0000)]
* regex.scm (regexp-substitute/global): Handle the end of the
match list and an empty match list identically.  (Thanks to Greg
Badros.)

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Sep 1999 11:51:49 +0000 (11:51 +0000)]
*** empty log message ***

24 years ago* Makefile.am (.c.x): Added missing semicolon after `false'.
Mikael Djurfeldt [Thu, 16 Sep 1999 11:51:02 +0000 (11:51 +0000)]
* Makefile.am (.c.x): Added missing semicolon after `false'.

24 years ago* Makefile.am (.c.x): Use same rule as in libguile.
Mikael Djurfeldt [Thu, 16 Sep 1999 11:50:49 +0000 (11:50 +0000)]
* Makefile.am (.c.x): Use same rule as in libguile.

24 years ago*** empty log message ***
Mikael Djurfeldt [Thu, 16 Sep 1999 00:34:21 +0000 (00:34 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Sep 1999 17:47:13 +0000 (17:47 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Sep 1999 17:35:14 +0000 (17:35 +0000)]
*** empty log message ***

24 years ago* print.c (scm_iprin1): Turned `write' and `display' into
Mikael Djurfeldt [Wed, 15 Sep 1999 17:33:58 +0000 (17:33 +0000)]
* print.c (scm_iprin1): Turned `write' and `display' into
primitive generics and use their associated generic functions in
scm_iprin1 for GOOPS objects.

24 years agoUse egrep for better compatibility.
Mikael Djurfeldt [Wed, 15 Sep 1999 15:55:06 +0000 (15:55 +0000)]
Use egrep for better compatibility.

24 years agoFix
Mikael Djurfeldt [Wed, 15 Sep 1999 15:42:16 +0000 (15:42 +0000)]
Fix

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Sep 1999 15:28:44 +0000 (15:28 +0000)]
*** empty log message ***

24 years ago* tests/c-api.test: New file. Add test to check that all source
Mikael Djurfeldt [Wed, 15 Sep 1999 15:27:49 +0000 (15:27 +0000)]
* tests/c-api.test: New file.  Add test to check that all source
files which use SEEK_SET, SEEK_CUR, and SEEK_END include unistd.h.

24 years ago*** empty log message ***
Mikael Djurfeldt [Wed, 15 Sep 1999 15:22:58 +0000 (15:22 +0000)]
*** empty log message ***

24 years ago* backtrace.c: #include <unistd.h> if present.
Mikael Djurfeldt [Wed, 15 Sep 1999 15:22:07 +0000 (15:22 +0000)]
* backtrace.c: #include <unistd.h> if present.

24 years ago* debugger.scm ("evaluate"): Replaced `write-line' with calls to
Mikael Djurfeldt [Wed, 15 Sep 1999 15:21:25 +0000 (15:21 +0000)]
* debugger.scm ("evaluate"): Replaced `write-line' with calls to
`write' and `newline' since write-line doesn't write but displays.

24 years ago*** empty log message ***
Jim Blandy [Wed, 15 Sep 1999 03:34:45 +0000 (03:34 +0000)]
*** empty log message ***

24 years ago* Makefile.am (.c.x): Don't create a subshell just to delete the
Jim Blandy [Wed, 15 Sep 1999 03:34:29 +0000 (03:34 +0000)]
* Makefile.am (.c.x): Don't create a subshell just to delete the
.x file and return false.
* Makefile.in: Regenerated.

24 years ago3 more bytes.
Gary Houston [Tue, 14 Sep 1999 20:56:13 +0000 (20:56 +0000)]
3 more bytes.

24 years ago1999-09-14 Gary Houston <ghouston@freewire.co.uk>
Gary Houston [Tue, 14 Sep 1999 20:48:00 +0000 (20:48 +0000)]
1999-09-14  Gary Houston  <ghouston@freewire.co.uk>

* tests/ports.test: test non-blocking I/O.

24 years ago*** empty log message ***
Mikael Djurfeldt [Mon, 13 Sep 1999 14:58:33 +0000 (14:58 +0000)]
*** empty log message ***

24 years ago* feature.c (scm_create_hook): New function. Replaces
Mikael Djurfeldt [Mon, 13 Sep 1999 14:57:59 +0000 (14:57 +0000)]
* 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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 15:25:51 +0000 (15:25 +0000)]
*** empty log message ***

24 years agoRegenerated
Mikael Djurfeldt [Sun, 12 Sep 1999 15:25:35 +0000 (15:25 +0000)]
Regenerated

24 years ago* configure.in: Removed ice-9/version.scm from AC_OUTPUT.
Mikael Djurfeldt [Sun, 12 Sep 1999 15:25:05 +0000 (15:25 +0000)]
* configure.in: Removed ice-9/version.scm from AC_OUTPUT.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 15:16:29 +0000 (15:16 +0000)]
*** empty log message ***

24 years agoShould not be archived in the CVS repository
Mikael Djurfeldt [Sun, 12 Sep 1999 15:11:06 +0000 (15:11 +0000)]
Should not be archived in the CVS repository

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 15:09:43 +0000 (15:09 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 14:56:02 +0000 (14:56 +0000)]
*** empty log message ***

24 years ago* debugger.scm ("evaluate"): Newline after no env announcement.
Mikael Djurfeldt [Sun, 12 Sep 1999 14:55:44 +0000 (14:55 +0000)]
* debugger.scm ("evaluate"): Newline after no env announcement.

24 years agoFixed typo
Mikael Djurfeldt [Sun, 12 Sep 1999 11:42:10 +0000 (11:42 +0000)]
Fixed typo

24 years agoReverted the recent set backtrace width change.
Mikael Djurfeldt [Sun, 12 Sep 1999 11:40:31 +0000 (11:40 +0000)]
Reverted the recent set backtrace width change.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 11:18:29 +0000 (11:18 +0000)]
*** empty log message ***

24 years ago* __scm.h, backtrace.c, backtrace.h, debug.c, debug.h, dynl-dld.c,
Mikael Djurfeldt [Sun, 12 Sep 1999 11:16:13 +0000 (11:16 +0000)]
* __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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 11:06:47 +0000 (11:06 +0000)]
*** empty log message ***

24 years ago* debug.scm, emacs.scm: Updated copyrigth notices.
Mikael Djurfeldt [Sun, 12 Sep 1999 11:06:25 +0000 (11:06 +0000)]
* debug.scm, emacs.scm: Updated copyrigth notices.

24 years ago* boot-9.scm (make-autoload-interface): Bugfix.
Mikael Djurfeldt [Sun, 12 Sep 1999 11:04:57 +0000 (11:04 +0000)]
* boot-9.scm (make-autoload-interface): Bugfix.
(top-repl): Autoload debugger.

24 years ago* readline.h, readline.scm: Updated copyrigth notices.
Mikael Djurfeldt [Sun, 12 Sep 1999 11:04:07 +0000 (11:04 +0000)]
* readline.h, readline.scm: Updated copyrigth notices.

24 years agoUpdate copyright years.
Jim Blandy [Sun, 12 Sep 1999 03:58:24 +0000 (03:58 +0000)]
Update copyright years.

24 years ago*** empty log message ***
Jim Blandy [Sun, 12 Sep 1999 03:56:04 +0000 (03:56 +0000)]
*** empty log message ***

24 years ago*** empty log message ***
Jim Blandy [Sun, 12 Sep 1999 03:52:11 +0000 (03:52 +0000)]
*** empty log message ***

24 years agoChange the name of the objects returned by OPENDIR from
Jim Blandy [Sun, 12 Sep 1999 03:47:39 +0000 (03:47 +0000)]
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.

24 years ago*** empty log message ***
Jim Blandy [Sun, 12 Sep 1999 02:41:31 +0000 (02:41 +0000)]
*** empty log message ***

24 years agoRe-committed this change (got lost in a merge after conflict):
Mikael Djurfeldt [Sun, 12 Sep 1999 02:30:47 +0000 (02:30 +0000)]
Re-committed this change (got lost in a merge after conflict):

* * 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.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sun, 12 Sep 1999 02:26:03 +0000 (02:26 +0000)]
*** empty log message ***

24 years ago* srcprop.c (scm_source_property): Bugfix: Use SCM_NECONSP instead
Mikael Djurfeldt [Sun, 12 Sep 1999 02:24:36 +0000 (02:24 +0000)]
* srcprop.c (scm_source_property): Bugfix: Use SCM_NECONSP instead
of SCM_NCONSP.  (Thanks to Greg Badros.)

24 years ago* gsubr.c (scm_make_gsubr): Use scm_make_subr_opt for creation of
Mikael Djurfeldt [Sun, 12 Sep 1999 02:24:25 +0000 (02:24 +0000)]
* gsubr.c (scm_make_gsubr): Use scm_make_subr_opt for creation of
the self subr.

24 years ago* eval.c, debug.h (SCM_BACKTRACE_WIDTH): New debug option: width.
Mikael Djurfeldt [Sun, 12 Sep 1999 02:24:10 +0000 (02:24 +0000)]
* eval.c, debug.h (SCM_BACKTRACE_WIDTH): New debug option: width.

24 years ago* backtrace.c: Keep backtraces within specified width by
Mikael Djurfeldt [Sun, 12 Sep 1999 02:23:39 +0000 (02:23 +0000)]
* backtrace.c: Keep backtraces within specified width by
adaptively adjusting fancy printing parameters and cut output if
necessary.
(scm_display_application): Check args.

24 years ago* emacs.scm: Set backtrace width to 60.
Mikael Djurfeldt [Sun, 12 Sep 1999 02:23:26 +0000 (02:23 +0000)]
* emacs.scm: Set backtrace width to 60.

24 years ago* debugger.scm ("backtrace"): Don't pass length param to
Mikael Djurfeldt [Sun, 12 Sep 1999 02:23:13 +0000 (02:23 +0000)]
* debugger.scm ("backtrace"): Don't pass length param to
display-backtrace if it wasn't explicitly given by the user.
(write-frame-long/application): Also print corresponding source
expression.
("evaluate"): Evaluate in local environment frame, if existent;
Handle errors.

24 years agoReorganize the release checklists.
Jim Blandy [Sat, 11 Sep 1999 19:44:56 +0000 (19:44 +0000)]
Reorganize the release checklists.

24 years ago*** empty log message ***
Jim Blandy [Sat, 11 Sep 1999 19:05:43 +0000 (19:05 +0000)]
*** empty log message ***

24 years ago* version.c (scm_libguile_config_stamp): Deleted. See
Jim Blandy [Sat, 11 Sep 1999 19:05:18 +0000 (19:05 +0000)]
* 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.

24 years ago* Makefile.am (CLEANFILES): Remove versiondat.h; that should only
Jim Blandy [Sat, 11 Sep 1999 19:05:08 +0000 (19:05 +0000)]
* 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.)

24 years ago*** empty log message ***
Jim Blandy [Sat, 11 Sep 1999 18:51:58 +0000 (18:51 +0000)]
*** empty log message ***

24 years ago* aclocal.m4: Regenerated with newer libtool macros.
Jim Blandy [Sat, 11 Sep 1999 18:51:45 +0000 (18:51 +0000)]
* aclocal.m4: Regenerated with newer libtool macros.

24 years ago* strop.c (scm_substring_move_x): Signal an error if start1
Jim Blandy [Sat, 11 Sep 1999 18:49:55 +0000 (18:49 +0000)]
* strop.c (scm_substring_move_x): Signal an error if start1
doesn't come before end1.  (Thanks to Karoly Lorentey).

24 years ago* numbers.c (scm_istr2flo): Don't call SCM_INEXP without first
Jim Blandy [Sat, 11 Sep 1999 18:49:48 +0000 (18:49 +0000)]
* numbers.c (scm_istr2flo): Don't call SCM_INEXP without first
calling SCM_NIMP.  (Thanks to Karoly Lorentey).

24 years ago* tests/strings.test: Add test for substring-move! argument checking.
Jim Blandy [Sat, 11 Sep 1999 18:46:48 +0000 (18:46 +0000)]
* tests/strings.test: Add test for substring-move! argument checking.

24 years ago* lib.scm (signals-error?, signals-error?*): New macro and function.
Jim Blandy [Sat, 11 Sep 1999 18:46:32 +0000 (18:46 +0000)]
* lib.scm (signals-error?, signals-error?*): New macro and function.
* tests/reader.test: Use them.

24 years ago* tests/interp.test: Add copyright notice.
Jim Blandy [Sat, 11 Sep 1999 18:46:24 +0000 (18:46 +0000)]
* tests/interp.test: Add copyright notice.

24 years ago*** empty log message ***
Mikael Djurfeldt [Sat, 11 Sep 1999 18:32:42 +0000 (18:32 +0000)]
*** empty log message ***

24 years ago (display_backtrace_body): Don't print "Backtrace:".
Mikael Djurfeldt [Sat, 11 Sep 1999 18:31:52 +0000 (18:31 +0000)]
(display_backtrace_body): Don't print "Backtrace:".
(scm_backtrace): Print "Backtrace:" here instead.

24 years ago* debugger.scm: Use the frame number abstraction which allows for
Mikael Djurfeldt [Sat, 11 Sep 1999 18:28:24 +0000 (18:28 +0000)]
* debugger.scm: Use the frame number abstraction which allows for
both forward and backward views of the stack
(write-frame-index-short, write-frame-index-long):
Use selector `frame-number';
(select-frame-absolute): Use frame-number->index.
("backtrace"): Use builtin backtrace printing.
Use (ice-9 debug).
Use readline conditionally.

24 years ago* debug.scm (frame-number->index): Optionally take stack as
Mikael Djurfeldt [Sat, 11 Sep 1999 18:28:12 +0000 (18:28 +0000)]
* debug.scm (frame-number->index): Optionally take stack as
argument.

24 years ago* tests/reader.test: New test file.
Jim Blandy [Sat, 11 Sep 1999 18:27:57 +0000 (18:27 +0000)]
* tests/reader.test: New test file.

24 years ago* * boot-9.scm (using-readline?): New procedure: Returns #t if
Mikael Djurfeldt [Sat, 11 Sep 1999 18:27:52 +0000 (18:27 +0000)]
* * boot-9.scm (using-readline?): New procedure: Returns #t if
readline is used by the repl run by this thread.
(handle-system-error): Print "Backtrace:" before backtrace since
this is no longer done by display-backtrace.

24 years ago* readline.scm (activate-readline): Set (using-readline?).
Mikael Djurfeldt [Sat, 11 Sep 1999 18:27:22 +0000 (18:27 +0000)]
* readline.scm (activate-readline): Set (using-readline?).

24 years ago*** empty log message ***
Jim Blandy [Sat, 11 Sep 1999 17:53:58 +0000 (17:53 +0000)]
*** empty log message ***