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

508 commits

Author SHA1 Message Date
Mikael Djurfeldt
93f543c9ec * Makefile.am: Added setf.scm. 1998-12-07 02:52:07 +00:00
Mikael Djurfeldt
7122506062 * boot-9.scm (process-define-module): Added new specifier
:autoload MODULENAME BINDINGS to the define-module form.
The autoload specifier tells the module system to load the module
MODULENAME at the first occasion that any variable with its name
among BINDINGS is referenced.
(make-autoload-interface): New procedure:  Constructs a stand-in
for the public interface for the module to be autoloaded.
1998-12-01 17:06:34 +00:00
Mikael Djurfeldt
3b3085c692 * boot-9.scm (*suppress-old-style-hook-warning*): Set this to #t
if you don't want the old style hook warnings.
1998-12-01 11:28:24 +00:00
Mikael Djurfeldt
49e5d550cb * boot-9.scm (try-using-libtool-name): Fix check on dlname to make
sure that it isn't empty, as it is when we are only buidling
static libraries.
1998-12-01 07:35:00 +00:00
Mikael Djurfeldt
afae5cbdcb *** empty log message *** 1998-11-26 18:05:20 +00:00
Mikael Djurfeldt
4a9f464eff * session.scm (arity): New procedure. 1998-11-26 18:04:46 +00:00
Mikael Djurfeldt
1f60d9d237 Warn that resolve-module is used by modules.c 1998-11-26 17:56:36 +00:00
Mikael Djurfeldt
3763ac3c74 *** empty log message *** 1998-11-26 08:42:27 +00:00
Mikael Djurfeldt
04efd24d82 * boot-9.scm: Use run-hook instead of run-hooks everywhere. 1998-11-26 08:31:02 +00:00
Mikael Djurfeldt
7a79c6b4d3 *** empty log message *** 1998-11-25 15:17:41 +00:00
Mikael Djurfeldt
d1406b6a40 * boot-9.scm (run-hooks, add-hook!, remove-hook!): Added temporary
code for backward compatibility until people have had time to
adapt to the new hooks.
1998-11-25 15:17:12 +00:00
Mikael Djurfeldt
c04e89c78a Fix 1998-11-23 03:05:57 +00:00
Mikael Djurfeldt
a56eeb4674 *** empty log message *** 1998-11-23 02:39:47 +00:00
Mikael Djurfeldt
3e3cec458e * boot-9.scm (beautify-user-module!): Beautify also if public
interface is set to the module itself.  In this way we can use
beautify-user-module! to beautify a module prepared for object
code.
(process-define-module): Special case: Try to load object code as
well if a module does :use-module on itself.
* boot-9.scm: Bugfix: Since boot-9.scm is now loaded from
invoke_main_func, we can no longer be sure that all modules have
been registered when boot-9.scm is loaded.
(register-modules): New function: Register and tag modules
registered by scm_register_module_xxx since last call to this
function.  Modules are tagged with the dynamic object passed as
argument.  (Already linked modules should be tagged with #f.)
(init-dynamic-module, link-dynamic-module): Call register-modules
first to register linked modules.
* boot-9.scm (init-dynamic-module): Remove module from
registered-modules as soon as possible in case we are recursively
invoked; Set public interface before doing the dynamic-call.
* boot-9.scm (map-in-order): Removed (replaced by scm_serial_map).
(abort-hook, before-error-hook, after-error-hook,
before-backtrace-hook, after-backtrace-hook, before-read-hook,
after-read-hook, exit-hook): Make hooks with `make-hook'.
* boot-9.scm: Make hooks first class citizens and make them easier
to use from C:
(make-hook, add-hook!, remove-hook!, run-hooks): Moved to
libguile/feature.c.
* boot-9.scm: Added warnings about bindings used in
libguile/modules.c: the-module, set-current-module,
make-modules-in, beautify-user-module!, module-eval-closure.
1998-11-23 02:36:43 +00:00
Mikael Djurfeldt
7e41462735 *** empty log message *** 1998-11-22 12:06:41 +00:00
Mikael Djurfeldt
631c1902df * boot-9.scm: Added warnings about bindings used in
libguile/modules.c: the-module, set-current-module,
make-modules-in, module-eval-closure.
1998-11-22 12:03:34 +00:00
Mikael Djurfeldt
dc61592f84 * boot-9.scm (the-environment): New special form: Returns an
object representing the current local evaluation environment.
This object can be used in `local-eval' and `defined?'.
1998-11-20 17:12:45 +00:00
Mikael Djurfeldt
7398c2c2b5 * boot-9.scm (collect): New syntax. Similar to begin but returns
a list of the results of all forms in the sequence instead of the
result of the last form.
1998-11-12 16:03:11 +00:00
Mikael Djurfeldt
00f4b2e864 *** empty log message *** 1998-11-10 14:42:04 +00:00
Mikael Djurfeldt
f086d19d77 * syncase.scm (values, call-with-values): Moved to boot-9.scm. 1998-11-10 14:41:40 +00:00
Mikael Djurfeldt
1729d8ff31 * boot-9.scm (values, call-with-values): Moved here from
syncase.scm.
1998-11-10 14:40:28 +00:00
Mikael Djurfeldt
6162a00d07 * readline.scm (readline-port): Use readline-options-interface. 1998-11-09 15:51:30 +00:00
Mikael Djurfeldt
e586be785c * boot-9.scm (readline-options, readline-enable, readline.disable,
readline-set!: New options interface.
1998-11-09 14:26:47 +00:00
Mikael Djurfeldt
4fdf8b2c76 * boot-9.scm: Set the repl start module in `top-repl' instead of
at the end of boot-9.scm.
1998-11-05 14:44:08 +00:00
Mikael Djurfeldt
0b6925feca * emacs.scm (format): Bugfix: Handle multiple arguments
correctly.  (Thanks to Thien-Thi Nguyen.)
1998-11-01 04:52:58 +00:00
Mikael Djurfeldt
e4eae9b166 *** empty log message *** 1998-10-31 16:50:24 +00:00
Mikael Djurfeldt
2055a1bcd3 * boot-9.scm (exit-hook): New hook: Is run at the very end of an
interactive session.
1998-10-31 16:46:55 +00:00
Mikael Djurfeldt
20a3a88153 * readline.scm (readline-port): Maybe read history; Maybe write
history at exit (add to exit-hook).
1998-10-31 16:45:51 +00:00
Mikael Djurfeldt
cad4d45bd6 * readline.scm (make-readline-port): Bugfixed last change... 1998-10-30 06:30:00 +00:00
Mikael Djurfeldt
24bf9166d2 * readline.scm (make-readline-port): Don't set prompt to "... " if
read line was empty.
1998-10-28 20:00:37 +00:00
Jim Blandy
1f6fe22ab8 *** empty log message *** 1998-10-19 21:38:15 +00:00
Jim Blandy
9630e974d2 * boot-9.scm, debug.scm, expect.scm, hcons.scm, lineio.scm,
r4rs.scm, slib.scm, threads.scm: Update copyright years.
1998-10-19 21:23:31 +00:00
Jim Blandy
33432c7930 *** empty log message *** 1998-10-19 15:38:53 +00:00
Jim Blandy
7ebe6c7600 * getopt-gnu-style.scm, slib.scm: Add copyright notice. 1998-10-19 15:38:13 +00:00
Jim Blandy
a63812a2fe Talked to Stallman. Actually, the syntax-case copyright is no
problem.  Duh.
* Makefile.am (ice9_sources): Revert last change.
* syncase.scm, psyntax.pp, psyntax.ss: Added again.
* Makefile.in: Regeneretade.
1998-10-19 15:38:05 +00:00
Jim Blandy
0c33e26a33 * getopt-gnu-style.scm, slib.scm: Add copyright notice.
* Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
* Makefile.in: Regenerated.
1998-10-19 15:37:37 +00:00
Jim Blandy
fb935cbf47 Talked to Stallman. Actually, the syntax-case copyright is no
problem.  Duh.
* Makefile.am (ice9_sources): Revert last change.
* syncase.scm, psyntax.pp, psyntax.ss: Added again.
* Makefile.in: Regeneretade.
We can't include Kent Dybvig's syntax-case macro expander in the
core Guile distribution, because we don't have copyright
assignments for this code.  We can certainly distribute them as a
separate package, but Guile should be FSF code.
* syncase.scm, psyntax.pp, psyntax.ss: Removed.
* Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
psyntax.ss.
* Makefile.in: Regenerated.
* Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
* Makefile.in: Regenerated.
1998-10-19 15:37:27 +00:00
Jim Blandy
f4be1689e1 *** empty log message *** 1998-10-19 13:49:40 +00:00
Jim Blandy
9aca88c39a * boot-9.scm: Don't assume that this file is loaded just before
entering a read-eval-print loop.  Turn code to load (ice-9 emacs)
into...
(load-emacs-interface): New function.
(top-repl): Call it, if use-emacs-interface is defined and true.
At this point, we *do* know we're about to enter a REPL.
1998-10-19 13:49:29 +00:00
Jim Blandy
9d1a28471c We can't include Kent Dybvig's syntax-case macro expander in the
core Guile distribution, because we don't have copyright
assignments for this code.  We can certainly distribute them as a
separate package, but Guile should be FSF code.
* syncase.scm, psyntax.pp, psyntax.ss: Removed.
* Makefile.am (ice9_sources): Removed syncase.scm, psyntax.pp, and
psyntax.ss.
* Makefile.in: Regenerated.
* Makefile.am (ice9_sources): Add getopt-gnu-style.scm.
* Makefile.in: Regenerated.
1998-10-19 13:43:50 +00:00
Mikael Djurfeldt
c8f11b9756 * boot-9.scm: Added extended read syntax for byte vectors #y(...)
and short vectors #h(...).
1998-10-18 12:41:43 +00:00
Jim Blandy
285403bba7 * Makefile.in: Regenerated, after change to qthreads.m4. 1998-10-16 09:58:29 +00:00
Jim Blandy
bb2a4165c9 *** empty log message *** 1998-10-14 08:40:23 +00:00
Jim Blandy
63da7567af * calling.scm (excursion-function-syntax): Use a sequence of
set!'s, not a single multi-variable set!; we removed support for
that syntax a long time ago.  (Thanks to Shuji Narazaki.)
1998-10-14 08:39:51 +00:00
Jim Blandy
94e3e95e60 *** empty log message *** 1998-10-12 20:13:27 +00:00
Jim Blandy
c8983d6a2c *** empty log message *** 1998-10-12 20:08:44 +00:00
Jim Blandy
670600bd66 * r4rs.scm (OPEN_READ, OPEN_WRITE, OPEN_BOTH): Don't bother
testing software-type here.  That's the least of our Windows
porting issues, and it's done wrong anyway.
1998-10-12 20:08:31 +00:00
Jim Blandy
98330fd2f8 *** empty log message *** 1998-10-09 15:13:11 +00:00
Jim Blandy
bf7bc911dd * boot-9.scm (read-path-list-notation-warning): New function:
print a warning the first time we see `#/' notation.
1998-10-09 15:12:51 +00:00
Jim Blandy
7705225986 *** empty log message *** 1998-10-09 13:56:27 +00:00