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

1075 commits

Author SHA1 Message Date
Jim Blandy
0dcbc17a4e *** empty log message *** 1998-07-29 18:14:42 +00:00
Jim Blandy
3f622d2b2e * Makefile.in: Regenerated using the last public version of
automake, not the hacked Cygnus version.
1998-07-29 18:07:06 +00:00
Jim Blandy
1f5ae2fdb8 *** empty log message *** 1998-07-29 17:20:22 +00:00
Jim Blandy
9623ba323f Remove Totoro kludge.
* Makefile.in, scmconfig.h.in: Regenerated.
* init.c, readline.c: Don't check if TOTORO is #defined.
1998-07-27 23:33:12 +00:00
Jim Blandy
e99cbcd609 *** empty log message *** 1998-07-27 01:15:05 +00:00
Jim Blandy
a0e6f509ee * Makefile.am: Adjust for new thread configuration system.
(INCLUDES): Include the value of THREAD_CPPFLAGS.
(guile_LDADD, check_ldadd): THREAD_LIBS_LOCAL has been renamed from
THREAD_LIBS.
(THREAD_LIBS): Definition deleted; automake will generate such
things automatically.
* Makefile.in: Regenerated.
1998-07-27 01:07:43 +00:00
Jim Blandy
87148d9ec4 *** empty log message *** 1998-07-23 04:49:55 +00:00
Jim Blandy
dc53f02690 Simplify smob and port marking; set the mark bit in the generic
marking code, and make marker routines only responsible for
turning up outgoing pointers.
* gc.c (scm_gc_mark): Set the mark bit on ports and smobs here,
before calling the marking function.  Don't call the marking
function if it's zero.
* markers.c (scm_mark0): Just return #f.  This function isn't
necessary at all now, but it's harmless to call it.  We'll leave
it in so other folks' code doesn't croak at link time.
(scm_markcdr): Don't call SCM_SETGC8MARK.
* async.c (mark_async): Don't call SCM_SETGC8MARK.
* dynl.c (mark_dynl_obj): Same.
* root.c (mark_root): Same.
* srcprop.c (marksrcprops): Same.
* unif.c (markra): Same.
* variable.c (scm_markvar): Same.
* ports.c (scm_markstream): Same.
(void_port_ptob): Specify zero for our marking function.
* debug.c (debugobjsmob): Same.
* dynwind.c (guardsmob): Same.
* filesys.c (dir_smob): Same.
* fluids.c (fluid_smob): Same.
* fports.c (scm_fptob, scm_pipob): Same.
* mallocs.c (mallocsmob): Same.
* regex-posix.c (regex_t_smob): Same.
* smob.c (freecell, flob, bigob): Same.
* threads.c (thread_smob, mutex_smob, condvar_smob): Same.
* throw.c (jbsmob, lazy_catch_funs): Same.
1998-07-23 04:47:56 +00:00
Mikael Djurfeldt
3910272e9f * eval.c (scm_copy_tree): Reverted last change: `eval' uses
scm_copy_tree on code in order not to let memoized code to leak
out.  Thus, scm_copy_tree needs to copy vectors as well since
quasiquote can introduce evaluated code also inside vector
constants.
1998-07-16 23:15:57 +00:00
Mikael Djurfeldt
4b8d84c951 Updated 1998-07-16 22:51:18 +00:00
Mikael Djurfeldt
240ed1e5f3 * eval.c (scm_copy_tree): Removed ability to copy vectors. 1998-07-16 22:38:36 +00:00
Mikael Djurfeldt
b774ee1fdd * gh_data.c, gh.h (gh_ints2scm, gh_longs2ivect,
gh_ulongs2uvect): New procedures.  (Complements gh_doubles2scm and
gh_doubles2dvect.)
1998-07-16 22:31:59 +00:00
Mikael Djurfeldt
a515d28771 * unif.c: Say that ivect and uvect are of type signed and unsigned
long instead of int in commentary so that it correctly describes
the implementation.
1998-07-16 22:21:06 +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
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
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
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
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
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
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
56600c45d8 Fixed. 1998-05-13 00:34:36 +00:00
Mikael Djurfeldt
3d4981fad9 Some further fixes. 1998-05-13 00:01:04 +00:00
Mikael Djurfeldt
9c5d232c82 Bugfixes for yesterdays revision. 1998-05-12 21:41:44 +00:00