1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-05 06:50:21 +02:00
Commit graph

8572 commits

Author SHA1 Message Date
Tim Pierce
2a0d71767f Added support for leading dlsym underscore. 1997-11-21 19:39:23 +00:00
Tim Pierce
e41530ba09 *** empty log message *** 1997-11-20 04:40:02 +00:00
Gary Houston
28d8ab3c69 * boot-9.scm (set-batch-mode?!, batch-mode?): initialize more
usefully so they will work from a script.
1997-11-09 23:36:17 +00:00
Mikael Djurfeldt
03ca35af55 Small fix of last fix... 1997-11-06 17:50:19 +00:00
Mikael Djurfeldt
80b991c346 * regex-posix.c (scm_free_regex_t): Return size of regex_t instead
of 0; size_t --> scm_size_t.  Thanks to Bernard Urban.
1997-11-06 15:09:30 +00:00
Jim Blandy
0d5d71838d *** empty log message *** 1997-11-06 06:15:27 +00:00
Marius Vollmer
13a7ee1606 *** empty log message *** 1997-10-31 22:18:09 +00:00
Marius Vollmer
cf8f1a90f9 * boot-9.scm (inherit-print-state): Moved definition to the
neighborhood of the record code.
1997-10-31 22:16:24 +00:00
Jim Blandy
43085eebce Update FTP address for libtool. 1997-10-27 19:09:58 +00:00
Jim Blandy
930b16c032 *** empty log message *** 1997-10-27 07:07:15 +00:00
Jim Blandy
483f0ecb10 * boot-9.scm: Revert changes to this file from Oct 23. It turns
out to interact badly with the Emacs support and the Tcl/Tk
support.  It's not a high enough priority at the moment to be
worth fixing.  I'm leaving the other readline support in, though.
1997-10-27 07:07:03 +00:00
Mikael Djurfeldt
fdc0361488 * scmconfig.h.in: Updated (HAVE_LIBTERMCAP was added when
configure.in was changed).
1997-10-26 16:06:23 +00:00
Mikael Djurfeldt
1ad2d17957 * README (libtool): Tell people to use version 1.0e. 1997-10-26 15:44:00 +00:00
Jim Blandy
3fa5bb75c3 *** empty log message *** 1997-10-26 07:24:36 +00:00
Jim Blandy
99dc0f92fb * Makefile.am (modinclude_HEADERS): Include readline.h here.
* Makefile.in: Regenerated.
1997-10-26 07:24:04 +00:00
Marius Vollmer
e5edf9b7e0 *** empty log message *** 1997-10-25 21:57:48 +00:00
Marius Vollmer
0ef4ae82e6 * print.h (SCM_COERCE_OPORT): Renamed to SCM_COERCE_OUTPORT. An
OPORT is an `open' port, not an output port.
1997-10-25 21:54:46 +00:00
Marius Vollmer
7844682850 * filesys.c (scm_close, set_element, get_element, scm_chown,
scm_chmod, scm_stat, scm_truncate_file, scm_fcntl, scm_fsync): Use
SCM_COERCE_OUTPORT to cope with the printstate/port magic.
* ports.c (scm_port_revealed, scm_set_port_revealed_x,
scm_close_port, scm_port_line, scm_set_port_line_x,
scm_port_column, scm_set_port_column_x, scm_port_filename,
scm_set_port_filename_x, scm_port_mode,
scm_close_all_ports_except, scm_set_current_output_port,
scm_set_current_error_port): Likewise
* ioext.c (scm_redirect_port, scm_dup_to_fdes, scm_freopen,
scm_ftell, scm_fileno, scm_isatty_p, scm_primitive_move_to_fdes):
Likewise
* posix.c (scm_ttyname, scm_tcgetpgrp, scm_tcsetpgrp): Likewise
* backtrace.c (display_backtrace_body): Likewise
* fports (scm_setvbuf): Likewise
* socket.c (scm_getsockopt, scm_setsockopt, scm_shutdown,
scm_connect, scm_bind, scm_listen, scm_accept, scm_getsockname,
scm_getpeername, scm_send, scm_sendto): Likewise
* unif.c (scm_uniform_array_write): Likewise
1997-10-25 21:54:12 +00:00
Marius Vollmer
7fbd77df87 *** empty log message *** 1997-10-25 21:52:05 +00:00
Jim Blandy
35adba8665 * Makefile.am: Include readline.scm in the list of files to be
installed, so Guile can find it for interactive use.
* Makefile.in: Regenerated.
1997-10-25 18:24:01 +00:00
Jim Blandy
83531e61fc *** empty log message *** 1997-10-25 06:55:55 +00:00
Jim Blandy
35bdeb9bba * Makefile.am: Call the library libqthreads.a, not libqt.a. The
old name conflicts with the Qt user interface toolkit.
* Makefile.in: Regenerated.
1997-10-25 06:54:51 +00:00
Jim Blandy
c2cb25006b Minor problems with substring-related tag changes.
* symbols.h (SCM_SUBSTRP): Don't mask off the S bit; that's
exactly what we want to leave in to detect substrings.
(SCM_ROSTRINGP, ROUCHARS): Formatting tweaks.
* tags.h: Fix diagrams and comments describing the S tag bit;
remove vestigial remarks about the D tag bit.
(SCM_TYP7, SCM_TYP7S): Rephrased for readability.
* strings.c: Formatting tweaks.
1997-10-25 06:53:47 +00:00
Jim Blandy
01cddfc1e8 * load.c (scm_init_load_path): Check GUILE_LOAD_PATH environment
variable first; then SCHEME_LOAD_PATH, with a warning message.
(scm_parse_path): New function.
* script.c: Doc fixes.
1997-10-25 06:53:11 +00:00
Jim Blandy
51e6b88353 Call the QuickThreads library libqthreads.a, not libqt.a. The old
name conflicts with the Qt user interface toolkit.
* threads.m4 (CY_AC_WITH_THREADS): Use new library name.
* configure.in: Same.
* aclocal.m4, configure: Regenerated.
1997-10-25 06:52:10 +00:00
Jim Blandy
d33e93c12d *** empty log message *** 1997-10-25 06:46:27 +00:00
Jim Blandy
e2d6569c47 Document "GUILE_LOAD_PATH" change.
Give more details about the deleted header files, and functions.

Clarify explanation of build-guile.

Make all the syscall changes subheadings of "Changes to Scheme
functions and syntax".
1997-10-25 06:44:31 +00:00
Jim Blandy
cf591c72fe Refer to "GUILE_LOAD_PATH", instead of "SCHEME_LOAD_PATH". 1997-10-25 06:34:53 +00:00
Jim Blandy
2e3685828a *** empty log message *** 1997-10-23 05:03:29 +00:00
Jim Blandy
a2d4941fb5 Readline support, from Daniel Risacher.
* readline.c, readline.h: New files.
* init.c: #include "readline.h".
(scm_boot_guile_1): Call scm_init_readline, if we have it.
* Makefile.am (libguile_la_SOURCES): Include readline.c.
* Makefile.in: Regenerated.
* scmconfig.h.in: Regenerated, after change to ../configure.
1997-10-23 05:02:18 +00:00
Jim Blandy
a6002912d7 * ls.scm (ls, lls): Don't assume (eq? #f '()). 1997-10-23 05:01:12 +00:00
Jim Blandy
a3cd2b988f Add support for readline function.
* readline.scm: New module.
* boot-9.scm (repl-reader): New function.
(scm-style-repl): Call repl-reader, instead of doing the reading
ourselves.  Remove repl-report-reset; it was never used for
anything.
(top-repl): If we've got the readline primitives, then redefine
repl-reader to use them.
If we've got the readline primitives, import the readline module.
1997-10-23 05:00:55 +00:00
Jim Blandy
81e9e32f8e * configure.in: Check for the readline library, and the termcap
library (on which readline relies).
* configure: Regenerated.
1997-10-23 04:59:30 +00:00
Jim Blandy
6a4d3cfd00 * calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
string-fun.scm: Added copyright notices; reformatted.
1997-10-22 22:27:33 +00:00
Jim Blandy
b1f4ddc1ff *** empty log message *** 1997-10-22 21:01:17 +00:00
Jim Blandy
93ad5c88a1 New libtool: 1.0e.
* ltconfig, ltmain.sh, config.sub, config.guess: Updated.
* configure, aclocal.m4: Regenerated.
1997-10-22 20:58:02 +00:00
Mark Galassi
956328d2a4 a couple of name changes for consistency with ! -> _x 1997-10-20 17:32:08 +00:00
Mark Galassi
7fee59bd4a implemented several missing gh_ functions, mostly related to lists and pairs 1997-10-20 03:59:37 +00:00
Tom Tromey
02755d5967 updated NEWS for mbstring removal 1997-10-18 17:40:16 +00:00
Mikael Djurfeldt
8a6d7c7ccc * tags.h (scm_tc7_substring): Changed the comment and code to
conform with the changes below.  Folks!  We have suddenly two new
free tc7 codes!!!  Jummy, jummy!
1997-10-18 00:20:50 +00:00
Mikael Djurfeldt
527da70434 * tags.h (scm_tc7_substring): Changed the comment and code to
conform with the changes below.  Folks!  We have suddenly two new
free tc7 codes!!!  Jummy, jummy!
1997-10-18 00:17:34 +00:00
Tom Tromey
b7f3516f99 * Makefile.in: Rebuilt.
* Makefile.am (libguile_la_SOURCES): Removed extchrs.c,
	mbstrings.c.
	(modinclude_HEADERS): Removed extchrs.h, mbstrings.h.
	* unif.c (scm_vector_set_length_x): Don't handle multibyte
	strings.
	* tag.c (scm_utag_mb_string, scm_utag_mb_substring): Removed.
	(scm_tag): Don't handle multibyte strings.
	* read.c: Don't include mbstrings.h.
	(scm_lreadr): Don't handle multibyte ports.
	* kw.c: Don't include mbstrings.h.
	* init.c: Don't include mbstrings.h.
	(scm_boot_guile_1): Don't init mbstrings module.
	* hash.c (scm_hasher): Don't handle mbstrings.
	* gscm.c (gscm_run_scm): Don't init mbstrings module.
	* gc.c (scm_gc_mark): Don't handle mbstrings.
	(scm_gc_sweep): Likewise.
	* eval.c (SCM_CEVAL): Don't handle mbstrings.
	* eq.c (scm_equal_p): Use SCM_TYP7S, not SCM_TYP7SD.
	* tags.h (SCM_TYP7SD): Removed.
	(SCM_TYP7D): Removed.
	(scm_tc7_mb_string): Removed.
	(scm_tc7_mb_substring): Removed.
	* print.c (scm_iprin1): Handle char printing directly.  Don't
	handle mbstrings.
	Don't include "mbstrings.h".
	* symbols.c (scm_intern_obarray_soft, scm_string_to_symbol,
	scm_string_to_obarray_symbol, msymbolize): Don't set symbol's
	multi-byte flag.
	Don't include "mbstrings.h".
	* symbols.h (SCM_SYMBOL_MULTI_BYTE_STRINGP): Removed.
	(SCM_SYMBOL_SLOTS): Define as 4.
	(SCM_ROSTRINGP): Use SCM_TYP7S, not SCM_TYP7SD.
	* arbiters.c, backtrace.c, debug.c, dynl.c, eval.c, fluids.c,
	gc.c, gsubr.c, ioext.c, kw.c, mallocs.c, numbers.c, ports.c,
	print.c, read.c, regex-posix.c, root.c, srcprop.c, stackchk.c,
	struct.c, threads.c, throw.c, unif.c, variable.c: Use new
	("gen"-less) I/O function names.
	* ports.c (scm_add_to_port_table): Don't set port's
	representation.
	* ports.h (scm_port_representation_type): Removed.
	(scm_string_representation_type): Removed.
	(struct scm_port_table ): Removed representation field.
	(SCM_PORT_REPRESENTATION): Removed.
	(SCM_SET_PORT_REPRESENTATION): Removed.
	* genio.h: Use new function names.
	* genio.c: Don't include "extchrs.h".
	(scm_gen_putc, scm_gen_puts, scm_gen_write, scm_get_getc):
	Removed.
	(scm_putc, scm_puts, scm_lfwrite): No longer static.
	(scm_getc): No longer static; handle line and column changes.
	(scm_ungetc): Renamed from scm_gen_ungetc.
	(scm_do_read_line): Renamed from scm_gen_read_line.
	* libguile.h: Don't include "extchrs.h" or "mbstrings.h"
	* extchrs.h, extchrs.c, mbstrings.h, mbstrings.c: Removed.
1997-10-15 17:18:32 +00:00
Mark Galassi
8d6787b6dc *** empty log message *** 1997-10-13 07:26:23 +00:00
Mark Galassi
e5eece747e * gh_test_repl.c (c_vector_test): same as gh_test_c.c
* gh_test_c.c (c_vector_test): some improvements on the vector
	routines test.

	* gh.h (gh_vector): this used to exist but do the wrong thing.
	Now it (almost) does the right thing, though it takes a list
	instead of the individual arguments.  I need to see how it could
	be done right.
	(gh_list_to_vector): added this function as a macro.  Corresponds
	to Scheme's (list->vector ...).
	(gh_vector_to_list): added this function as a macro.  Corresponds
	to Scheme's (vector->list ...).

	* gh_data.c (gh_vector_ref): renamed from gh_vref to
	gh_vector_ref, so that it resembles the Scheme routines more.
	(gh_vector_set): renamed from gh_vset to gh_vector_set, so that it
	resembles the Scheme routines more.
	(gh_make_vector): this used to be (stupidly) called gh_vector().
	This is the right name, since it does the same thing as the Scheme
	(make-vector ...) procedure.
1997-10-13 07:25:31 +00:00
Mikael Djurfeldt
da7f71d7d5 * eval.c (SCM_CEVAL, scm_apply): Completed GOOPS support code;
Some indentation fixes.

* objects.h (SCM_METACLASS_STANDARD_LAYOUT): Printer field is no
longer a user field; New field: class_flags.

* objets.c, objects.h: New metaclass: scm_metaclass_operator.
1997-10-12 12:54:54 +00:00
Mikael Djurfeldt
e0d86ad2fb * ports.h: #include "libguile/print.h" 1997-10-12 12:52:59 +00:00
Gary Houston
ec4ab4fd16 *** empty log message *** 1997-10-11 20:44:49 +00:00
Gary Houston
4bbbcd5c42 * expect.scm: (expect-regexec): new procedure, use it in
expect-strings to fix the => syntax under the new regex system.
	(top): include regex module in define-module statement.
	* (error-catching-loop): new local variable "interactive".  if
	#f, abort terminates the process.
	(set-batch-mode?!, batch-mode?): new closures, defined in
	error-catching-loop.  the names are from scsh.
1997-10-11 20:42:24 +00:00
Mark Galassi
dbb3005d81 renamed gh_int2scmb to gh_bool2scm 1997-10-07 15:39:24 +00:00
Jim Blandy
d9f56fc2ed *** empty log message *** 1997-10-06 16:04:33 +00:00