Jim Blandy
f131e6311a
* guile-snarf.in: Pass args through to gcc in a way that preserves
...
whitespace boundaries. (Thanks to Greg Badros.)
1997-12-03 17:30:39 +00:00
Jim Blandy
3c1750f377
* ports.c (scm_close_port): Make sure the port is open before
...
trying to close it.
1997-12-03 17:30:24 +00:00
Jim Blandy
a1a4b8ed86
Add copyrights; tweak comments.
1997-12-03 17:29:12 +00:00
Tim Pierce
7a32236c13
* md/axp.s (qt_vstart): Typo fixes, thanks to Alexander Jolk.
1997-12-02 17:36:19 +00:00
Tim Pierce
afa92d1965
* stacks.c (scm_frame_procedure): Reverse the logic in the return
...
statement. (Thanks to Doug Evans for pointing this out.)
1997-12-02 17:34:07 +00:00
Tim Pierce
c06768c880
acconfig.h: Add USCORE.
...
scmconfig.h.in: Regenerated.
1997-12-01 18:22:04 +00:00
Mikael Djurfeldt
c44bfbc946
* coop-defs.h (struct coop_t): Renamed errno --> _errno to prevent
...
errno macro expansion of this field name. (errno is a C
preprocessor macro on some systems.)
1997-11-30 10:36:13 +00:00
Tim Pierce
756fa4f89b
Doc fix.
1997-11-30 02:35:18 +00:00
Mikael Djurfeldt
b6609fc78a
* init.c (scm_start_stack): Removed initialization of
...
scm_the_last_stack_var.
* backtrace.h: Declare scm_the_last_stack_var.
* backtrace.c: Define scm_the_last_stack_var.
* root.c (mark_root): Don't mark the_last_stack_var.
* root.h (scm_root_state): Removed the_last_stack_var.
* throw.c: Added #include "fluids.h"
(ss_handler): `the-last-stack' is now a fluid.
* (backtrace.h, backtrace.c, throw.c): Renamed the_last_stack_var
--> the_last_stack_fluid.
* backtrace.c: Added #include "fluids.h"
(scm_init_backtrace): Initialize `the-last-stack' to a fluid.
(scm_backtrace): `the-last-stack' is now a fluid.
* init.c (scm_boot_guile_1): Moved call to scm_init_backtrace
after scm_init_fluids.
1997-11-29 10:49:18 +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
Mikael Djurfeldt
a5d6d578d6
* backtrace.c: Added #include "fluids.h"
...
(scm_init_backtrace): Initialize `the-last-stack' to a fluid.
(scm_backtrace): `the-last-stack' is now a fluid.
* init.c (scm_boot_guile_1): Moved call to scm_init_backtrace
after scm_init_fluids.
1997-11-29 01:10:21 +00:00
Tim Pierce
e085f7a634
* iselect.c: #ifdef USE_THREADS around thread-related includes.
...
* dynl-dl.c (sysdep_dynl_func): Check both USCORE and
DLSYM_ADDS_USCORE to decide whether to add an underscore.
1997-11-28 22:58:10 +00:00
Tim Pierce
ebd79f623f
Libtool support for find-and-link-dynamic-module
1997-11-28 17:22:20 +00:00
Mikael Djurfeldt
c718cb0702
* iselect.c (coop_next_runnable_thread,
...
coop_wait_for_runnable_thread): Disable interrupts so that no
async is executed before a potential error_revive.
(scm_internal_select): Disable interrupts during the parts of the
code which manipulate the sleep queue and the file descriptors.
1997-11-28 01:11:12 +00:00
Mikael Djurfeldt
81e81a5cb7
* iselect.c (coop_next_runnable_thread,
...
coop_wait_for_runnable_thread): Disable interrupts so that no
async is executed before a potential error_revive.
1997-11-28 00:50:58 +00:00
Mikael Djurfeldt
3666451eb0
* iselect.h, iselect.c: New files. Implements
...
scm_internal_select. (See NEWS.)
1997-11-27 18:06:33 +00:00
Mikael Djurfeldt
b902580806
Updated
1997-11-27 18:05:28 +00:00
Mikael Djurfeldt
44e8413c73
* Makefile.am: Added iselect.c and iselect.h.
...
* coop.c (coop_qinit): Initialize fields used by
scm_internal_select.
(coop_qget, coop_qget, coop_tmp_queue): Made global.
(coop_next_runnable_thread): If GUILE_ISELECT enabled, use
replacement in iselect.c.
(coop_mutex_lock, coop_condition_variable_wait, coop_abort,
coop_join): If GUILE_ISELECT enabled, use
coop_wait_for_runnable_thread instead of
coop_next_runnable_thread.
(usleep, sleep): New replacements for system functions if
GUILE_ISELECT is enabled.
* coop-threads.h: Declare coop_wait_for_runnable_thread.
* coop-defs.h (coop_t): Added fields used by scm_internal_select.
* filesys.c: Added #include "iselect.h". Moved FD-macros to
iselect.h. Implement Scheme level `select' using
scm_internal_select. (See NEWS.)
* genio.c (scm_getc): Block with scm_internal_select. (See NEWS.)
* init.c: Call scm_init_iselect.
1997-11-27 18:04:56 +00:00
Mikael Djurfeldt
86c5044a29
Updated using the correct versions of libtool and automake
1997-11-27 18:04:01 +00:00
Mikael Djurfeldt
933a7411bb
* configure.in: Added code to enable GUILE_ISELECT on systems
...
which have the necessary functions (gettimeofday, select).
* acconfig.h: Added GUILE_ISELECT.
1997-11-27 18:03:06 +00:00
Tim Pierce
3e2043c4dd
Fix a memory leak in scm_read_line and a type cast bug in the ptob.
...
* fports.c (scm_fgets): Use malloc/free rather than scm_must_malloc
and scm_must_free, since ultimately the string returned will be copied
by scm_makfrom0str anyway. Also, read any characters that may have
been pushed onto the port with scm_ungetc.
* ports.c (scm_generic_fgets): Same as for scm_fgets.
* ioext.c (scm_read_line): Free string after Guilifying it.
* ports.h (scm_ptobfuns): fgets method returns a char *, not a char.
1997-11-27 06:39:46 +00:00
Anthony Green
2c92112b3d
gh bug fix
1997-11-26 03:45:23 +00:00
Anthony Green
18daf95b39
gh bug fix
1997-11-26 03:13:00 +00:00
Tim Pierce
ef0f106fc3
Regenerated aclocal.m4 and configure with all the necessary
...
macros (didn't get AM_PROG_LIBTOOL or GUILE_DLSYM_USCORE correct
last time).
1997-11-26 02:16:16 +00:00
Mark Galassi
5aadf8c195
completing changes to gh_repl and uniform array stuff
1997-11-25 17:20:23 +00:00
Mark Galassi
ef5d3ae175
made changes in gh_repl() and started adding the uniform array stuff to gh_
1997-11-25 06:18:08 +00:00
Tim Pierce
774b7f2281
*** empty log message ***
1997-11-25 02:43:01 +00:00
Tim Pierce
db1e65d571
*** empty log message ***
1997-11-25 00:08:51 +00:00
Tim Pierce
0113293e54
fixed dynl memory leak
1997-11-22 19:15:09 +00:00
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