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

937 commits

Author SHA1 Message Date
Mikael Djurfeldt
03ce8ed182 *** empty log message *** 1999-09-12 11:06:47 +00:00
Mikael Djurfeldt
0eaf5d77da * debug.scm, emacs.scm: Updated copyrigth notices. 1999-09-12 11:06:25 +00:00
Mikael Djurfeldt
6b64c19b70 * boot-9.scm (make-autoload-interface): Bugfix.
(top-repl): Autoload debugger.
1999-09-12 11:04:57 +00:00
Mikael Djurfeldt
bae971b70c 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.
1999-09-12 02:30:47 +00:00
Mikael Djurfeldt
69fafe4692 *** empty log message *** 1999-09-12 02:26:03 +00:00
Mikael Djurfeldt
e8ac4cfa8d * emacs.scm: Set backtrace width to 60. 1999-09-12 02:23:26 +00:00
Mikael Djurfeldt
0ea632464e * 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.
1999-09-12 02:23:13 +00:00
Jim Blandy
b142c81de4 *** empty log message *** 1999-09-11 18:51:58 +00:00
Mikael Djurfeldt
f14d3ff8be *** empty log message *** 1999-09-11 18:32:42 +00:00
Mikael Djurfeldt
8be85ef1fb * 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.
1999-09-11 18:28:24 +00:00
Mikael Djurfeldt
6de43e5fda * debug.scm (frame-number->index): Optionally take stack as
argument.
1999-09-11 18:28:12 +00:00
Mikael Djurfeldt
755457ec4a * * 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.
1999-09-11 18:27:52 +00:00
Jim Blandy
8a7391cd1a * format.scm (format:format-work): Use #\tab and #\page instead of
slib:form-feed and slib:tab.  (Thanks to Ceri Storey.)

* format.scm (format:abort): Call error, not slib:error.
1999-09-11 17:51:09 +00:00
Jim Blandy
50ff2ecb1f * regex.scm (fold-matches, list-matches): New functions.
(regexp-substitute/global): Rewritten again in terms of
list-matches, to get null match behavior correct.

* regex.scm (regexp-substitute/global): Rewrite so that 'post at
the end of the item list actually causes a tail call.  (Thanks to
Jan Nieuwenhuizen.)
1999-09-11 17:38:31 +00:00
Marius Vollmer
98baa68449 *** empty log message *** 1999-09-11 15:28:16 +00:00
Marius Vollmer
f26f2154af * readline.scm: Moved to ../guile-readline. 1999-09-11 15:27:52 +00:00
Marius Vollmer
803b109ee8 * Makefile.in: Regenerated. 1999-09-11 15:26:47 +00:00
Marius Vollmer
5b11a9aeaf * boot-9.scm (top-repl): Removed code for ativating readline. 1999-09-11 15:26:20 +00:00
Marius Vollmer
bb190109ae * Makefile.am: Removed mention of readline.scm. 1999-09-11 15:25:43 +00:00
Jim Blandy
e1f20ec6ad *** empty log message *** 1999-09-11 15:08:11 +00:00
Jim Blandy
4d31f0da8f Delete the test which compares the configuration date of libguile
with the configuration date of ice-9.  This test yields too many
false positives to be helpful.  For example, if you build Guile
for several architectures but have them all share a "share"
directory (which is supposed to work), then all but one
architecture's Guile will complain that the configuration dates
don't match.  Which is true, but indicates nothing wrong.
* boot-9.scm: Delete code which compares ice-9-config-stamp with
libguile-config-stamp.
* version.scm.in: Delete.
* Makefile.am (ice9_generated): Delete.
(subpkgdata_DATA): Remove ice9_generated.
(EXTRA_DIST): Remove version.scm.in.
* Makefile.in: Regenerate.
1999-09-11 15:05:25 +00:00
Mikael Djurfeldt
1c157c41c5 *** empty log message *** 1999-09-11 14:55:19 +00:00
Mikael Djurfeldt
daebab9eed Use readline conditionally. (This requires more fixing in the debugger...) 1999-09-11 14:55:02 +00:00
Mikael Djurfeldt
08cc62c7d9 *** empty log message *** 1999-09-11 13:54:15 +00:00
Mikael Djurfeldt
d61d203926 *** empty log message *** 1999-09-11 13:36:36 +00:00
Mikael Djurfeldt
8bafd6a348 Regenerated 1999-09-11 13:36:15 +00:00
Mikael Djurfeldt
e80e1c98b3 * * 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.)
1999-09-11 13:36:02 +00:00
Mikael Djurfeldt
00b3396830 * * 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.
1999-09-11 13:35:28 +00:00
Mikael Djurfeldt
7a37fe8684 * Makefile.am (ice9_sources): Added debugger.scm. 1999-09-11 13:35:11 +00:00
Mikael Djurfeldt
a48a7629fc *** empty log message *** 1999-08-29 14:24:24 +00:00
Mikael Djurfeldt
defed51763 * boot-9.scm (try-module-autoload): Use %search-load-path. 1999-08-29 14:21:30 +00:00
Mikael Djurfeldt
6822fe53c9 *** empty log message *** 1999-08-24 02:22:40 +00:00
Mikael Djurfeldt
8a30733e8d * boot-9.scm: Removed old style hooks.
(inherit-print-state): Rwwritten to use port-with-print-state.
1999-08-24 02:22:18 +00:00
Jim Blandy
f8c9d4978d *** empty log message *** 1999-08-20 05:14:11 +00:00
Jim Blandy
e8566222c2 Remove support for the #/ path list syntax entirely.
* boot-9.scm (read-path-list-notation,
read-path-list-notation-warning): Deleted.
Don't register read-path-list-notation-warning as a reader for
objects starting with '#/'.
1999-08-20 05:12:43 +00:00
Jim Blandy
c6e23ea25f Update FSF address in copyright notices. 1999-08-06 07:26:07 +00:00
Mikael Djurfeldt
1a961d7ef3 Renamed module-modified! --> module-modified 1999-08-05 17:56:15 +00:00
Mikael Djurfeldt
eba968840d *** empty log message *** 1999-08-05 12:08:53 +00:00
Mikael Djurfeldt
1777c18bc1 GOOPS needs the observer protocol specified for the new module
system.  Here's a simple version for the old module system:
* boot-9.scm (module-observers, module-weak-observers,
module-observer-id, set-module-observers!,
set-module-observer-id!): New accessors.
(module-type): Added slots `observers',	`weak-observers' and
`observer-id'.
(module-observe, module-observe-weak, module-unobserve,
module-modified!): New procedures.
(module-make-local-var!, module-add!, module-remove!,
module-clear!, module-define!, module-use!): Call module-modified!.
1999-08-05 12:05:57 +00:00
Mikael Djurfeldt
2a52b4295e *** empty log message *** 1999-07-29 18:15:24 +00:00
Mikael Djurfeldt
5f5f264287 * boot-9.scm (error-catching-loop): Correct non-RnRS usage of internal
defines.
1999-07-29 18:12:21 +00:00
Marius Vollmer
0e8a8468a3 Added guile-readline subdirectory with the removed readline
support.
* guile-readline: New directory, see ChangeLog there.
* configure.in: Cause configure to descend into guile-readline
dir.
* Makefile.am: Likewise for make.
* NEWS: Explain how to activate the readline support.
* configure, Makefile.in, aclocal.m4: Regenerated.
1999-07-23 22:04:27 +00:00
Jim Blandy
59526439d6 *** empty log message *** 1999-07-19 19:07:11 +00:00
Jim Blandy
8cdfb9aa53 * streams.scm: New module, contributed by Michael Livshin.
* Makefile.am (ice9_sources): List it.
* Makefile.in: Regenerated.
1999-07-19 19:07:09 +00:00
Jim Blandy
a3bb43e586 *** empty log message *** 1999-07-19 08:11:28 +00:00
Jim Blandy
e3306d8063 * boot-9.scm (read-delimited!): Put the terminator in the correct
position.
1999-07-19 08:11:19 +00:00
Jim Blandy
131f97a979 Regenerated. 1999-07-19 07:42:33 +00:00
Gary Houston
6c9514275b 1999-07-04 Gary Houston <ghouston@easynet.co.uk>
* strports.c (scm_strprint_obj): bug fix: get pt from the port,
	not from the parameter obj.  (Thanks to Eric Moore.)
	* ports.h: SCM_CRDY, SCM_CUC, SCM_CRDYP, SCM_SETRDY, SCM_CUNGET,
	SCM_CGETUN, SCM_CLRDY, SCM_TRY_CLRDY, SCM_N_READY_CHARS: deleted.
	* strings.c (scm_make_string): throw error if 2nd arg isn't
	a char.
	* unif.c (scm_uniform_array_read_x): fix reading from a port.
	allow non-fports.
	(scm_uniform_array_write): likewise.
1999-06-29  Gary Houston  <ghouston@easynet.co.uk>
	* ports.c (scm_drain_input): rewritten.
	* fports.c (local_fclose): check putback_buf.
	(local_read_flush): likewise.
	* ports.c (scm_remove_from_port_table): maybe free putback_buf.
	* ports.h (scm_port): replace cbuf/cbufend/cp with putback_buf/
	putback_buf_size.
	(SCM_INITIAL_PUTBACK_BUF_SIZE): renamed from SCM_INITIAL_CBUF_SIZE.
	* ports.c (scm_grow_port_cbuf): deleted.
	(scm_add_to_port_table): initialise putback_buf to 0.  remove cbuf
	stuff.
	(scm_char_ready_p): check putback_buf
	(scm_fill_buffer): likewise.
	(scm_ungetc): rewritten.
1999-06-27  Gary Houston  <ghouston@easynet.co.uk>
	* fports.c (local_fclose): account for push-back buffer.
	* ports.c (scm_char_ready_p): check the push-back buffer in
	a new way.
	* ioext.c (scm_do_read_line): remove the extra code to handle
	the push-back buffer.
	* ports.c (scm_getc): don't use SCM_CRDYP etc.
	* ioext.c (scm_do_read_line): call scm_fill_buffer.
	* ports.c (scm_ungetc): don't call SCM_CUNGET.  reset the
	read buffer pointers.
	scm_fill_buffer: new procedure.
	(scm_getc): call scm_fill_buffer.
	* ports.h (struct scm_port): saved_read_buf, saved_read_pos,
	saved_read_end: new fields.
1999-07-04  Gary Houston  <ghouston@easynet.co.uk>
	* configure.in: don't check for ways to violate stdio abstraction.
1999-07-04 11:02:21 +00:00
Jim Blandy
ab41a129a8 never finished 1999-06-30 09:27:12 +00:00
Mikael Djurfeldt
40ed3fe694 *** empty log message *** 1999-06-29 10:36:08 +00:00