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

1630 commits

Author SHA1 Message Date
Mikael Djurfeldt
ae996c08a0 * boot-9.scm: Let the user start in module `(guile-repl)' instead
of module `(guile)'.  Also make sure that `(guile-repl)' uses
suitable modules.  This change improves Guile stability
substantially since bindings will only be copied from the root
module: If the user redefines builtins in `(guile-repl)' it won't
affect the internal operation of Guile itself.
1998-07-14 22:48:00 +00:00
Mikael Djurfeldt
13e341bb4d * boot-9.scm: Let the user start in module `(user)' instead of
module `(guile)'.  Also make sure that `(user)' uses suitable
modules.  This change improves Guile stability substantially since
bindings will only be copied from the root module: If the user
redefines builtins in `(user)' it won't affect the internal
operation of Guile itself.
1998-07-14 10:23:40 +00:00
Mikael Djurfeldt
94277faf56 Updated 1998-07-12 13:29:34 +00:00
Mikael Djurfeldt
5ef810229d *** empty log message *** 1998-07-12 13:26:17 +00:00
Mikael Djurfeldt
f522f90bc4 * stime.h: Renamed TIMEH --> STIMEH 1998-07-12 13:24:40 +00:00
Mikael Djurfeldt
a199f2004b * stime.c: Removed declaration of strptime. (It should be
declared by the system headers.  If it turns out that some systems
don't, we'll handle that then.)  (Thanks to Greg Troxel.)
1998-07-12 13:24:17 +00:00
Mikael Djurfeldt
95f44da944 * iselect.c: Use LONG_MAX instead of ULONG_MAX for increased
portability.
(finalize_fd_sets): Added empty statement after last case label.
(Thanks to Nicolas Neuss.)
1998-07-12 13:23:50 +00:00
Mikael Djurfeldt
e242dfd261 * gc.c (scm_igc): Changed //-comment into /*-comment. (Thanks to
Nicolas Neuss.)
1998-07-12 13:23:21 +00:00
Mikael Djurfeldt
0b2cb4ee9a * backtrace.c (scm_display_error, scm_display_backtrace): In order
to increase portability, don't use structure assignment.
(Thanks to Nicolas Neuss.)
1998-07-12 13:22:51 +00:00
Mikael Djurfeldt
d9eb6fb749 * configure.in: Changed variable HOSTNAME --> PROG_HOSTNAME in
totoro kludge.
1998-07-12 13:21:07 +00:00
Mikael Djurfeldt
e682159489 Updated 1998-07-12 13:20:41 +00:00
Mikael Djurfeldt
4f654c0e32 Updated 1998-07-12 02:30:01 +00:00
Mikael Djurfeldt
212d45b8e9 *** empty log message *** 1998-07-12 02:28:33 +00:00
Mikael Djurfeldt
d4561963c7 * init.c, readline.c: OK, I won't have these readline.x bug
reports anymore.  We've had them since April.  The current reason
is a completely unintelligible failure of totoro.red-bean.com to
do the test for rl_getc_function in libreadline correctly.  This
kludge overrides the test if we're on totoro so that the snapshot
generation process can work.

* readline.c: Define a strdup replacement if not existent on system.
1998-07-12 02:28:16 +00:00
Mikael Djurfeldt
95fc06d501 * acconfig.h, configure.in: Define TOTORO if configuring on
totoro.red-bean.com.

* configure.in: Check for strdup.
1998-07-12 02:27:02 +00:00
Mikael Djurfeldt
43eeb5a648 *** empty log message *** 1998-07-12 00:13:07 +00:00
Mikael Djurfeldt
a8741caa54 * eval.c, filesys.c, fluids.c, gc.c, gh_data.c, init.c, kw.c,
net_db.c, posix.c, print.c, regex-posix.c, scmsigs.c, socket.c,
stime.c, symbols.c, unif.c, vectors.c, weaks.c: Removed third
argument in call to scm_make_vector.
1998-07-12 00:10:02 +00:00
Mikael Djurfeldt
a61ef59b0b * vectors.c, vectors.h (scm_make_vector): Removed third argument.
This change makes scm_make_vector R5RS compatible.  We cannot keep
the third argument since people want to be able to deduce the form
of the C function call only by looking at R5RS.  (At the same time
we have removed some unnecessary complexity!)

* eval.c, filesys.c, fluids.c, gc.c, gh_data.c, init.c, kw.c,
net_db.c, posix.c, print.c, regex-posix.c, scmsigs.c, socket.c,
stime.c, symbols.c, unif.c, vectors.c, weaks.c: Removed third
argument in call to scm_make_vector.
1998-07-12 00:07:53 +00:00
Mikael Djurfeldt
9d0b279fee * numbers.h (SCM_NUM2DBL): New macro. Complements SCM_NUMBERP.
This macro is useful in applications.
1998-07-02 16:39:44 +00:00
Mikael Djurfeldt
dbb25e7f71 Update 1998-06-22 11:14:26 +00:00
Mikael Djurfeldt
04e8fb0adf * load.c (scm_internal_parse_path): Renamed from scm_parse_path.
(scm_parse_path, scm_search_path): New Scheme level procedures.
1998-06-22 09:23:01 +00:00
Mikael Djurfeldt
f9bb0fe1a3 * load.h (scm_internal_parse_path, scm_parse_path,
scm_search_path): Declared.
1998-06-22 09:22:38 +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
74d6650d3a Updated 1998-06-18 21:54:44 +00:00
Mikael Djurfeldt
903073d536 * root.h (scm_root_state): Added scm_cur_loadp.
* root.c (mark_root): Added comment about cur_loadp.
1998-06-18 21:54:14 +00:00
Mikael Djurfeldt
31614d8ec7 * ports.c (current-load-port): New procedure. 1998-06-18 21:54:00 +00:00
Mikael Djurfeldt
d7834b915b * load.c: #include "dynwind.h";
(scm_primitive_load): Use scm_inner_dynamic_wind to update
scm_cur_loadp.
1998-06-18 21:53:45 +00:00
Mikael Djurfeldt
1a64191ee6 * init.c (scm_boot_guile_1): Removed condition around
scm_init_options.

* init.c (scm_init_standard_ports): Initialize scm_def_loadp.
1998-06-18 21:53:32 +00:00
Mikael Djurfeldt
a163dda9ef * filesys.c (dirname, basename): New procedures. 1998-06-18 21:53:16 +00:00
Mikael Djurfeldt
3346a90fa7 * dynwind.c: #include "genio.h"; #include "smob.h"; Implemented a
new data type (guards) for representation of C level guards and
data on the wind chain.
(scm_internal_dynamic_wind): New function.

* dynwind.h: Declare scm_internal_dynamic_wind.

* load.c: #include "dynwind.h";
(scm_primitive_load): Use scm_inner_dynamic_wind to update
scm_cur_loadp.
1998-06-18 21:53:00 +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
10ccfad75f * ioext.c (scm_isatty_p): Accept any kind of data as argument. If
not a tty, return #f.
1998-06-09 21:57:26 +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
d54b6314e6 Updated 1998-06-09 21:56:23 +00:00
Mikael Djurfeldt
391aebfc7c Updated 1998-06-09 20:28:13 +00:00
Mikael Djurfeldt
62f1c6d216 * regex-posix.c (scm_regexp_exec): Free malloced memory. (Thanks
to Julian Satchell and Roland Kaufmann.)
1998-06-09 20:27:35 +00:00
Mikael Djurfeldt
38d0f691ce * gh.h (gh_memv, gh_member): Fixed typos in macro definitions.
(gh_write):  Added declaration.  (Thanks to Eiichi Takamori.)
1998-06-09 20:27:23 +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
6dabf6a95c *** empty log message *** 1998-06-07 02:14:42 +00:00
Mikael Djurfeldt
9057c41718 * debug.h, debug.c (scm_start_stack): New function. Implements
the guts of old scm_m_start_stack.
1998-06-07 02:11:58 +00:00
Mikael Djurfeldt
9fa2c7b1fc * debug.h, debug.c (scm_start_stack): New function. Implements
the guts of old scm_m_start_stack.

* debug.c (scm_m_start_stack): Use scm_start_stack.
1998-06-07 02:11:28 +00:00
Mikael Djurfeldt
a4156763c3 * init.c (scm_start_stack, scm_restart_stack): Renamed to
start_stack and restart_stack.  (These have static scope.)
1998-06-07 02:10:41 +00:00
Mikael Djurfeldt
8b0db23e94 Updated 1998-05-19 20:44:05 +00:00
Mikael Djurfeldt
daca28167f * readline.c (rl_cleanup_after_signals, rl_free_line_state): New
readline functions to come in release 2.3.  (Thanks to Chet
Ramey.)
(handle_errors): Use the above functions.
1998-05-19 20:43:42 +00:00
Mikael Djurfeldt
a581e90656 Added Chet Ramey 1998-05-19 20:42:59 +00:00
Mikael Djurfeldt
7e0fee6e39 * configure.in: Check for rl_cleanup_after_signal. 1998-05-19 20:42:39 +00:00