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

335 commits

Author SHA1 Message Date
Mikael Djurfeldt
4f654c0e32 Updated 1998-07-12 02:30:01 +00:00
Mikael Djurfeldt
c6775c407a * boot-9.scm (load-module): When loading files from within files
themselves being loaded: Use the directory path of the file being
loaded as root for relative filenames.  (After suggestion by
Steven G. Johnson.)
1998-06-18 23:59:24 +00:00
Mikael Djurfeldt
ef0d04e5c3 * emacs.scm (emacs-load): New feature: Eval in specified module. 1998-06-15 13:00:35 +00:00
Mikael Djurfeldt
4ffd142c03 * readline.scm: Typo in regex module name. 1998-06-14 15:07:51 +00:00
Mikael Djurfeldt
edd9ac213c * readline.scm (apropos-completion-function): regexp-quote text to
be completed.
1998-06-13 18:08:25 +00:00
Mikael Djurfeldt
a66c53a81e * emacs.scm: Bugfix: Treat `the-last-stack' as a fluid. 1998-06-11 13:26:43 +00:00
Mikael Djurfeldt
279ba8c035 * boot-9.scm: Check that (current-input-port) is a tty before
enabling readline.  (Thanks to Michael N. Livshin.)
1998-06-09 21:56:51 +00:00
Mikael Djurfeldt
d38a6802b8 *** empty log message *** 1998-06-09 21:56:37 +00:00
Mikael Djurfeldt
cf26610900 * boot-9.scm (use-syntax): Turned into a macro inorder to be
similar in use to `use-modules'.
Example: (use-syntax (ice-9 syncase)) will 1. load the module
(ice-9 syncase), and, 2. install the procedure `syncase' as eval
transformer.
(internal-use-syntax): New procedure.
(process-define-module): Use `internal-use-syntax'.
1998-06-07 10:29:40 +00:00
Mikael Djurfeldt
8b0db23e94 Updated 1998-05-19 20:44:05 +00:00
Mikael Djurfeldt
67da6c5715 * Makefile.am (ice9_sources): Add emacs.scm. 1998-05-19 19:48:11 +00:00
Mikael Djurfeldt
1b558afda9 *** empty log message *** 1998-05-13 00:00:19 +00:00
Mikael Djurfeldt
b05d0b94d6 * readline.scm: Use the new readline facilities: Add the
possibility to control input and output ports; Add apropos
completion.
1998-05-13 00:00:02 +00:00
Mikael Djurfeldt
dc5c203863 * boot-9.scm: Antirevert Jim's readline code which he reverted
19971027 and adapt it to the current readline interface.

* boot-9.scm (top-repl): Only enable readline if not using the
Emacs interface; Only use repl prompt when using the readline port
from repl-read.  (We don't want to see it when calling `read'.)

* boot-9.scm (remove-hook!): Parenthesis bug.
1998-05-12 23:59:21 +00:00
Mikael Djurfeldt
f246e585bb * boot-9.scm: Load readline module if readline is present.
* readline.scm (apropos-completion-function): New procedure:
Symbolic completion.  (Thanks to Andrew Archibald!)
1998-05-11 01:15:26 +00:00
Mikael Djurfeldt
f714ca8e67 * boot-9.scm (process-define-module): Added keyword use-syntax. 1998-05-04 11:44:13 +00:00
Mikael Djurfeldt
3ede541d15 * nonblocking.scm: Removed. libguile is now inherently
nonblocking through the use of scm_internal_select.

* emacs.scm: Removed use of nonblocking.scm.

* gwish.scm, gtcl.scm: Removed.  tcltk.scm has made these
obsolete.
1998-04-19 01:22:44 +00:00
Mikael Djurfeldt
daa4f38c59 * Makefile.am (BUILT_SOURCES): Added cpp_err_symbols.c,
cpp_sig_symbols.c, libpath.h and versiondat.h to BUILT_SOURCES
(libpath.h, versiondat.h): Replaced dependency on Makefile with
dependencies on $(srcdir)/Makefile.in
$(top_builddir)/config.status in order to avoid circularity.

* configure.in (GUILE_LIBS): New variable.  Contains libraries
which libguile needs to be linked with.  Substituted into
libpath.h.

* threads.m4 (threads_package): Don't add $LDFLAGS and $LIBS to
$cy_cv_threads_libs.
1998-04-18 21:57:32 +00:00
Mikael Djurfeldt
608cf70c13 * runq.scm (runq-control): Corrected spelling of enqueue!.
(Thanks to Karl M. Hegbloom.)
1998-04-15 08:30:19 +00:00
Mikael Djurfeldt
5798fd9790 New libtool: 1.2
* ltconfig, ltmain.sh, config.sub, config.guess: Updated.
New automake: 1.3
* Makefile.in, aclocal.m4, configure: Regenerated.
* README: Mention new version numbers on libtool and automake.
1998-04-11 09:51:40 +00:00
Mikael Djurfeldt
16b8ebbe81 * boot-9.scm: Added new run-time option interface eval-options. 1998-03-30 21:07:52 +00:00
Mikael Djurfeldt
abf06c1273 * boot-9.scm (remove-hook!): New macro. (Thanks to Maciej
Stachowiak.)
1998-03-28 10:30:40 +00:00
Mikael Djurfeldt
13dc0cae2f * threads.scm: Added simple error and signal handler.
(make-thread, begin-handler): Use this handler.  The most
important effect of this is that signals get unmasked.
Previously, when a signal was thrown signals remained masked
(signals get masked when a signal is taken) which influenced other
threads.
1998-01-30 21:05:53 +00:00
Jim Blandy
0543c9b780 Fixed copyright notice on complex transcendental functions. Jerry
Hedden assigned the copyright to the FSF a while ago.
1998-01-05 22:10:10 +00:00
Tim Pierce
841d28d736 A better fix to the SLIB identity problem -- thanks to Marius Vollmer.
* slib.scm (identity): Unmake public.
	(slib:eval): Evaluate inside `slib-module'.
1998-01-02 03:36:36 +00:00
Tim Pierce
249cdba61b Changes for SLIB compatibility. 1997-12-26 02:59:08 +00:00
Tim Pierce
ad76c8d972 Bring slib.scm up to date with current SLIB release, hopefully. 1997-12-24 06:10:47 +00:00
Tim Pierce
848f2a0114 boot-9.scm (read-line): Rewritten to use %read-line.
ioext.c (%read-line): Return a cons of the input line and its terminator.
fports.c, genio.c, genio.h, ports.c, ports.h: Change fgets methods
	to return the string length as well as its contents.
1997-12-13 08:33:33 +00:00
Gary Houston
341eaef04b * README: using Automake 1.2d
* configure.in: AC_CHECK_FUNCS: add "system".
	* simpos.c (scm_system): always define: use sysmissing if not
	available.  Check for HAVE_SYSTEM instead of _Windows (does
	Windows lack system or does it have an unusable one?).
	Check for error conditions -1 and 127.  Use SCM_DEFER_INTS.
	Let the argument be optional: if not supplied, call system(NULL).
	* ports.c (scm_close_port): relax the type check from OPPORTP to
	PORTP; closing a closed port is allowed.
1997-12-07 07:02:17 +00:00
Mikael Djurfeldt
8bb7f6466b * boot-9.scm (error-catching-loop, save-stack): `the-last-stack'
is now a fluid.
1997-11-29 01:11:21 +00:00
Tim Pierce
ebd79f623f Libtool support for find-and-link-dynamic-module 1997-11-28 17:22:20 +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
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
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
Jim Blandy
3fa5bb75c3 *** empty log message *** 1997-10-26 07:24:36 +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
2e3685828a *** empty log message *** 1997-10-23 05:03:29 +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
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
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
Marius Vollmer
c115b54b78 *** empty log message *** 1997-10-06 13:20:50 +00:00
Marius Vollmer
1c11d900c0 * boot-9.scm (inherit-print-state): If NEW-PORT contains a
print-state, throw it away.
1997-10-06 13:19:47 +00:00
Mikael Djurfeldt
9f9aa47baf 1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se>
* boot-9.scm (struct-layout): Use `vtable-index-layout' instead of
	`0'.

1997-10-02  Mikael Djurfeldt  <mdj@nada.kth.se>

	* boot-9.scm (struct-printer, make-struct-printer,
	set-struct-printer-in-vtable!, *struct-printer*): Removed.
	(record-type-vtable, make-record-type): Don't use make-struct-printer.
	(record-type-vtable): User fields "prpr" (printer is no longer a
	user field).
	(record-type-name, record-type-fields): Decreased slot index by
	one; Use `vtable-offset-user'.
1997-10-03 00:47:48 +00:00
Marius Vollmer
21fdbaeee4 *** empty log message *** 1997-10-02 14:33:25 +00:00
Marius Vollmer
ae335672cb * boot-9.scm (inherit-print-state): New experimental function. 1997-10-02 14:23:50 +00:00
Jim Blandy
adc14c93bc *** empty log message *** 1997-09-30 17:17:19 +00:00
Jim Blandy
a6401ee0f2 Suggestion and script from Maciej Stachowiak:
* boot-9.scm: Split off modules into separate, autoloadable files.
This reduces startup time from 10.5s to 5.5s (user cpu).
* calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
string-fun.scm: New files, containing stuff that used to be in
boot-9.scm.
* Makefile.am (ice9_sources): List new files here, for
distribution and installation.
* Makefile.in: Regenerated.
1997-09-30 17:16:54 +00:00