Jim Blandy [Sun, 11 Oct 1998 21:56:45 +0000 (21:56 +0000)]
*** empty log message ***
Jim Blandy [Sun, 11 Oct 1998 21:56:18 +0000 (21:56 +0000)]
* scmconfig.h.in: Regenerated.
Jim Blandy [Sun, 11 Oct 1998 21:56:08 +0000 (21:56 +0000)]
* acconfig.h (HAVE_RL_GETC_FUNCTION): Fix this entry.
Jim Blandy [Sun, 11 Oct 1998 20:35:28 +0000 (20:35 +0000)]
*** empty log message ***
Jim Blandy [Sun, 11 Oct 1998 20:35:07 +0000 (20:35 +0000)]
* libguile.h: Don't omit the dynamic linking functions. (Thanks
to Greg Badros.)
Jim Blandy [Sun, 11 Oct 1998 18:42:32 +0000 (18:42 +0000)]
*** empty log message ***
Jim Blandy [Sun, 11 Oct 1998 18:42:17 +0000 (18:42 +0000)]
* genio.c (scm_do_read_line): Count lines correctly when the file
doesn't end in a newline.
Jim Blandy [Sat, 10 Oct 1998 21:29:37 +0000 (21:29 +0000)]
*** empty log message ***
Jim Blandy [Sat, 10 Oct 1998 21:27:34 +0000 (21:27 +0000)]
* genio.c (scm_do_read_line): Maintain the line count correctly.
Jim Blandy [Sat, 10 Oct 1998 21:00:57 +0000 (21:00 +0000)]
* GUILE-VERSION: bump to 1.2.91, since we're doing snapshots again.
Jim Blandy [Sat, 10 Oct 1998 21:00:45 +0000 (21:00 +0000)]
*** empty log message ***
Jim Blandy [Sat, 10 Oct 1998 14:27:14 +0000 (14:27 +0000)]
*** empty log message ***
Jim Blandy [Sat, 10 Oct 1998 12:59:50 +0000 (12:59 +0000)]
*** empty log message ***
Jim Blandy [Sat, 10 Oct 1998 12:59:37 +0000 (12:59 +0000)]
* numbers.c (big2str): Protect t from garbage collection until
we're done. (Thanks to Gary Houston.)
Jim Blandy [Sat, 10 Oct 1998 12:59:29 +0000 (12:59 +0000)]
* gc.c (scm_return_first): Remove #ifdef __STDC__ garbage; Guile
requires ANSI now.
Jim Blandy [Sat, 10 Oct 1998 12:58:00 +0000 (12:58 +0000)]
* Guile 1.2.90 released --- beta.
* GUILE-VERSION: Set to 1.2.90. This would appear to be a
regression from 1.3a, but everyone knows that the next release is
1.3, I want to switch to a more coherent version numbering system,
and now is the time.
Jim Blandy [Sat, 10 Oct 1998 12:39:22 +0000 (12:39 +0000)]
*** empty log message ***
Jim Blandy [Sat, 10 Oct 1998 12:37:34 +0000 (12:37 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 15:25:08 +0000 (15:25 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 15:24:40 +0000 (15:24 +0000)]
* Makefile.am (libguile_la_LDFLAGS): Increment shared library
version number.
* Makefile.in: Regenerated.
Jim Blandy [Fri, 9 Oct 1998 15:23:33 +0000 (15:23 +0000)]
Go to 1.3b, for the first 1.3 beta release.
Jim Blandy [Fri, 9 Oct 1998 15:13:12 +0000 (15:13 +0000)]
Remove uses of the #/ syntax.
Jim Blandy [Fri, 9 Oct 1998 15:13:11 +0000 (15:13 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 15:12:51 +0000 (15:12 +0000)]
* boot-9.scm (read-path-list-notation-warning): New function:
print a warning the first time we see `#/' notation.
Jim Blandy [Fri, 9 Oct 1998 15:12:40 +0000 (15:12 +0000)]
* guile-config.in: Add copyright notice.
Jim Blandy [Fri, 9 Oct 1998 15:12:26 +0000 (15:12 +0000)]
Mention that the #/ syntax now causes warnings.
Jim Blandy [Fri, 9 Oct 1998 14:25:04 +0000 (14:25 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 13:56:27 +0000 (13:56 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 13:56:16 +0000 (13:56 +0000)]
* q.scm (sync-q!, q?, q-remove!, q-push!, enq!): Lots of bugs, and
(eq? #f '()) assumptions. Make functions that aren't documented
to return anything else return the queue itself. (Bug report from
Michael Livshin --- thanks!)
Jim Blandy [Fri, 9 Oct 1998 12:47:01 +0000 (12:47 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 12:46:31 +0000 (12:46 +0000)]
Centralize the creation of port objects based on stdio FILE * in
fports.c; don't just throw them together anywhere.
* fports.c (scm_stdio_to_port): Make NAME a SCM value, which is
what the rest of Guile wants. Don't set the revealed count;
that's only appropriate for stdin, stdout, stderr.
(scm_standard_stream_to_port): This function does set the revealed
count.
* init.c (scm_init_standard_ports): Use scm_standard_stream_to_port,
not scm_stdio_to_port.
* filesys.c (scm_open): Call scm_stdio_to_port; don't write it out.
* fports.c (scm_open_file): Same.
* posix.c (scm_pipe): Same.
* socket.c (scm_sock_fd_to_port): Same.
* ioext.c (scm_fdopen): Same.
(scm_freopen): Moved from here to...
* fports.c (scm_freopen): ... here. This is really something that
munges the internals of an fport, so it should go here.
* fports.h (scm_stdio_to_port): Adjust prototype.
(scm_standard_stream_to_port, scm_freopen): New protoypes.
* ioext.h (scm_freopen): Prototype removed.
Jim Blandy [Fri, 9 Oct 1998 12:46:13 +0000 (12:46 +0000)]
* fports.h (scm_setbuf0, scm_setvbuf, scm_setfileno,
scm_evict_ports, scm_open_file, scm_stdio_to_port): Get rid of
SCM_P macro.
Do magic to mix reads and writes on stdio FILE-based ports.
* fports.c (FPORT_READ_SAFE, FPORT_WRITE_SAFE, FPORT_ALL_OKAY):
New macros.
(pre_read, pre_write): New functions.
(local_fgetc, local_fgets, local_ffwrite, local_fputc,
local_fputs): Call them.
(local_fflush): Mark the port as ready for reading and writing.
(scm_stdio_to_port): Set the FPORT_READ_SAFE, FPORT_WRITE_SAFE
flags on new port objects. This might not be accurate --- who
knows what state the FILE * is in when we get it --- but it won't
do extraneous calls to fflush or fseek, so it's no worse than the
behavior before this change.
* ports.h: Add comment.
Centralize the creation of port objects based on stdio FILE * in
fports.c; don't just throw them together anywhere.
* fports.c (scm_stdio_to_port): Make NAME a SCM value, which is
what the rest of Guile wants. Don't set the revealed count;
that's only appropriate for stdin, stdout, stderr.
(scm_standard_stream_to_port): This function does set the revealed
count.
* init.c (scm_init_standard_ports): Use scm_standard_stream_to_port,
not scm_stdio_to_port.
* filesys.c (scm_open): Call scm_stdio_to_port; don't write it out.
* fports.c (scm_open_file): Same.
* posix.c (scm_pipe): Same.
* socket.c (scm_sock_fd_to_port): Same.
* ioext.c (scm_fdopen): Same.
(scm_freopen): Moved from here to...
* fports.c (scm_freopen): ... here. This is really something that
munges the internals of an fport, so it should go here.
* fports.h (scm_stdio_to_port): Adjust prototype.
(scm_standard_stream_to_port, scm_freopen): New protoypes.
* ioext.h (scm_freopen): Prototype removed.
Jim Blandy [Fri, 9 Oct 1998 12:45:20 +0000 (12:45 +0000)]
Do magic to mix reads and writes on stdio FILE-based ports.
* fports.c (FPORT_READ_SAFE, FPORT_WRITE_SAFE, FPORT_ALL_OKAY):
New macros.
(pre_read, pre_write): New functions.
(local_fgetc, local_fgets, local_ffwrite, local_fputc,
local_fputs): Call them.
(local_fflush): Mark the port as ready for reading and writing.
(scm_stdio_to_port): Set the FPORT_READ_SAFE, FPORT_WRITE_SAFE
flags on new port objects. This might not be accurate --- who
knows what state the FILE * is in when we get it --- but it won't
do extraneous calls to fflush or fseek, so it's no worse than the
behavior before this change.
* ports.h: Add comment.
Centralize the creation of port objects based on stdio FILE * in
fports.c; don't just throw them together anywhere.
* fports.c (scm_stdio_to_port): Make NAME a SCM value, which is
what the rest of Guile wants. Don't set the revealed count;
that's only appropriate for stdin, stdout, stderr.
(scm_standard_stream_to_port): This function does set the revealed
count.
* init.c (scm_init_standard_ports): Use scm_standard_stream_to_port,
not scm_stdio_to_port.
* filesys.c (scm_open): Call scm_stdio_to_port; don't write it out.
* fports.c (scm_open_file): Same.
* posix.c (scm_pipe): Same.
* socket.c (scm_sock_fd_to_port): Same.
* ioext.c (scm_fdopen): Same.
(scm_freopen): Moved from here to...
* fports.c (scm_freopen): ... here. This is really something that
munges the internals of an fport, so it should go here.
* fports.h (scm_stdio_to_port): Adjust prototype.
(scm_standard_stream_to_port, scm_freopen): New protoypes.
* ioext.h (scm_freopen): Prototype removed.
Jim Blandy [Fri, 9 Oct 1998 12:44:37 +0000 (12:44 +0000)]
Centralize the creation of port objects based on stdio FILE * in
fports.c; don't just throw them together anywhere.
* fports.c (scm_stdio_to_port): Make NAME a SCM value, which is
what the rest of Guile wants. Don't set the revealed count;
that's only appropriate for stdin, stdout, stderr.
(scm_standard_stream_to_port): This function does set the revealed
count.
* init.c (scm_init_standard_ports): Use scm_standard_stream_to_port,
not scm_stdio_to_port.
* filesys.c (scm_open): Call scm_stdio_to_port; don't write it out.
* fports.c (scm_open_file): Same.
* posix.c (scm_pipe): Same.
* socket.c (scm_sock_fd_to_port): Same.
* ioext.c (scm_fdopen): Same.
(scm_freopen): Moved from here to...
* fports.c (scm_freopen): ... here. This is really something that
munges the internals of an fport, so it should go here.
* fports.h (scm_stdio_to_port): Adjust prototype.
(scm_standard_stream_to_port, scm_freopen): New protoypes.
* ioext.h (scm_freopen): Prototype removed.
* filesys.c (set_element, get_element): This can work on both pipe
and file ports, so use SCM_FPORTP to typecheck, instead of testing
for scm_tc16_fport.
Jim Blandy [Fri, 9 Oct 1998 12:44:06 +0000 (12:44 +0000)]
* scmconfig.h.in: Regenerated.
Jim Blandy [Fri, 9 Oct 1998 12:43:51 +0000 (12:43 +0000)]
* fports.h (scm_setbuf0, scm_setvbuf, scm_setfileno,
scm_evict_ports, scm_open_file, scm_stdio_to_port): Get rid of
SCM_P macro.
Centralize the creation of port objects based on stdio FILE * in
fports.c; don't just throw them together anywhere.
* fports.c (scm_stdio_to_port): Make NAME a SCM value, which is
what the rest of Guile wants. Don't set the revealed count;
that's only appropriate for stdin, stdout, stderr.
(scm_standard_stream_to_port): This function does set the revealed
count.
* init.c (scm_init_standard_ports): Use scm_standard_stream_to_port,
not scm_stdio_to_port.
* filesys.c (scm_open): Call scm_stdio_to_port; don't write it out.
* fports.c (scm_open_file): Same.
* posix.c (scm_pipe): Same.
* socket.c (scm_sock_fd_to_port): Same.
* ioext.c (scm_fdopen): Same.
(scm_freopen): Moved from here to...
* fports.c (scm_freopen): ... here. This is really something that
munges the internals of an fport, so it should go here.
* fports.h (scm_stdio_to_port): Adjust prototype.
(scm_standard_stream_to_port, scm_freopen): New protoypes.
* ioext.h (scm_freopen): Prototype removed.
Jim Blandy [Fri, 9 Oct 1998 12:12:33 +0000 (12:12 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 12:12:26 +0000 (12:12 +0000)]
* configure.in: Call AC_C_INLINE, so we can use inline happily in
libguile.
* configure: Regenerated.
Jim Blandy [Fri, 9 Oct 1998 11:50:21 +0000 (11:50 +0000)]
*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 10:02:41 +0000 (10:02 +0000)]
Change the definition of the functions in scm_ptobfuns so that
they get passed the port object, not the port's stream.
* ports.h (scm_ptobfuns): Rename all `stream' arguments to `port'.
* gc.c (scm_gc_sweep): Pass the port itself to the free function.
* genio.c (scm_putc, scm_puts, scm_lfwrite, scm_fflush, scm_getc):
Pass the port itself to the scm_ptobs function.
* ports.c (scm_close_port, scm_force_output, scm_flush_all_ports,
scm_generic_fgets): Same.
(putc_void_port, puts_void_port, write_void_port, flush_void_port,
getc_void_port, fgets_void_port, close_void_port): Just change the
argument names; these functions don't really do anything.
* fports.c (local_fgetc, local_fgets, local_fclose, local_fflush,
local_fputc, local_fputs, local_ffwrite, local_pclose): Take the
port as an argument, and use SCM_STREAM to get the stdio FILE *.
Also, use prototyped definitions, and get rid of the extra
declarations.
(scm_fptob, scm_pipob): We don't need casts here any more.
* strports.c (prinstpt): Use prototype declarations.
(stputc, stwrite, stputs, stgetc): Take the port as an argument,
and use SCM_STREAM to get the string info. Also, use prototyped
definitions, and get rid of the extra declarations.
* vports.c (sfputc, sfwrite, sfputs, sfflush, sfgetc, sfclose,
noop0): Same.
Jim Blandy [Fri, 9 Oct 1998 10:01:12 +0000 (10:01 +0000)]
Change the definition of the functions in scm_ptobfuns so that
they get passed the port object, not the port's stream.
* ports.h (scm_ptobfuns): Rename all `stream' arguments to `port'.
* gc.c (scm_gc_sweep): Pass the port itself to the free function.
* genio.c (scm_putc, scm_puts, scm_lfwrite, scm_fflush, scm_getc):
Pass the port itself to the scm_ptobs function.
* ports.c (scm_close_port, scm_force_output, scm_flush_all_ports,
scm_generic_fgets): Same.
(putc_void_port, puts_void_port, write_void_port, flush_void_port,
getc_void_port, fgets_void_port, close_void_port): Just change the
argument names; these functions don't really do anything.
* fports.c (local_fgetc, local_fgets, local_fclose, local_fflush,
local_fputc, local_fputs, local_ffwrite, local_pclose): Take the
port as an argument, and use SCM_STREAM to get the stdio FILE *.
Also, use prototyped definitions, and get rid of the extra
declarations.
(scm_fptob, scm_pipob): We don't need casts here any more.
* strports.c (prinstpt): Use prototype declarations.
(stputc, stwrite, stputs, stgetc): Take the port as an argument,
and use SCM_STREAM to get the string info. Also, use prototyped
definitions, and get rid of the extra declarations.
* vports.c (sfputc, sfwrite, sfputs, sfflush, sfgetc, sfclose,
noop0): Same.
* fports.c (local_fgetc, local_fgets): Renamed from scm_fgetc and
scm_fgets, for consistency.
(scm_fptop, scm_pipob): References updated.
Jim Blandy [Fri, 9 Oct 1998 10:00:55 +0000 (10:00 +0000)]
Change the definition of the functions in scm_ptobfuns so that
they get passed the port object, not the port's stream.
* ports.h (scm_ptobfuns): Rename all `stream' arguments to `port'.
* gc.c (scm_gc_sweep): Pass the port itself to the free function.
* genio.c (scm_putc, scm_puts, scm_lfwrite, scm_fflush, scm_getc):
Pass the port itself to the scm_ptobs function.
* ports.c (scm_close_port, scm_force_output, scm_flush_all_ports,
scm_generic_fgets): Same.
(putc_void_port, puts_void_port, write_void_port, flush_void_port,
getc_void_port, fgets_void_port, close_void_port): Just change the
argument names; these functions don't really do anything.
* fports.c (local_fgetc, local_fgets, local_fclose, local_fflush,
local_fputc, local_fputs, local_ffwrite, local_pclose): Take the
port as an argument, and use SCM_STREAM to get the stdio FILE *.
Also, use prototyped definitions, and get rid of the extra
declarations.
(scm_fptob, scm_pipob): We don't need casts here any more.
* strports.c (prinstpt): Use prototype declarations.
(stputc, stwrite, stputs, stgetc): Take the port as an argument,
and use SCM_STREAM to get the string info. Also, use prototyped
definitions, and get rid of the extra declarations.
* vports.c (sfputc, sfwrite, sfputs, sfflush, sfgetc, sfclose,
noop0): Same.
* ports.h (scm_ptobfuns): Replace uses of SCM_P with a straight
prototype; it's okay (preferred, even!) to use ANSI C in Guile.
Jim Blandy [Thu, 8 Oct 1998 20:17:46 +0000 (20:17 +0000)]
*** empty log message ***
Jim Blandy [Thu, 8 Oct 1998 20:17:38 +0000 (20:17 +0000)]
* .cvsignore: New file, containing data-rep.info. I'm not sure
whether we want to check this file into CVS, because it's
generated; if you find compelling reasons it should be, let me
know.
Jim Blandy [Thu, 8 Oct 1998 20:12:53 +0000 (20:12 +0000)]
Adjust formatting.
Jim Blandy [Thu, 8 Oct 1998 20:12:22 +0000 (20:12 +0000)]
*** empty log message ***
Jim Blandy [Thu, 8 Oct 1998 20:11:59 +0000 (20:11 +0000)]
Include the source location in error messages for scripts.
* init.c (scm_boot_guile_1): Use scm_internal_lazy_catch, so the
stack is still there when we catch the error.
* throw.c (handler_message): If we are handling an error with a
message, then put together the proper arguments and call
scm_display_error, instead of scm_display_error_message. That
displays source location, if it can find it.
Jim Blandy [Wed, 7 Oct 1998 20:06:29 +0000 (20:06 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 20:05:56 +0000 (20:05 +0000)]
* gc.c (scm_unprotect_object): Change this so that calls to
scm_protect_object and scm_unprotect_object nest properly.
(scm_protect_object): Doc fixes.
Jim Blandy [Wed, 7 Oct 1998 20:00:11 +0000 (20:00 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 19:35:56 +0000 (19:35 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 15:52:46 +0000 (15:52 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 15:52:31 +0000 (15:52 +0000)]
* strings.c (scm_string_set_x): Require the argument to be a
writable string, not a substring or a symbol.
* strings.h (SCM_RWSTRINGP, SCM_NRWSTRINGP): New predicates.
Jim Blandy [Wed, 7 Oct 1998 10:16:28 +0000 (10:16 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 10:15:57 +0000 (10:15 +0000)]
* configure.in: Don't forget to #define HAVE_RL_GETC_FUNCTION if
we do find the rl_getc_function variable in the readline library;
AC_CHECK_FUNCS used to do this for us, but we're not using it any
more.
* acconfig.h: Add an entry for HAVE_RL_GETC_FUNCTION.
Jim Blandy [Wed, 7 Oct 1998 10:15:44 +0000 (10:15 +0000)]
* scmconfig.h.in: Regenerated; ../acconfig.h has changed.
Jim Blandy [Wed, 7 Oct 1998 10:03:07 +0000 (10:03 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 10:02:34 +0000 (10:02 +0000)]
* eval.c (safe_setjmp): Remove this misunderstanding.
(ENTER_APPLY, SCM_CEVAL, SCM_APPLY): Replace with references to
ordinary setjmp.
Jim Blandy [Wed, 7 Oct 1998 09:57:16 +0000 (09:57 +0000)]
* configure.in: Don't forget to #define HAVE_RL_GETC_FUNCTION if
we do find the rl_getc_function variable in the readline library;
AC_CHECK_FUNCS used to do this for us, but we're not using it any
more.
Jim Blandy [Wed, 7 Oct 1998 09:56:43 +0000 (09:56 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 09:09:47 +0000 (09:09 +0000)]
* configure.in: Properly test for the presence of rl_getc_function;
it's a variable, not a function.
* configure: Regenerated.
Jim Blandy [Wed, 7 Oct 1998 09:02:39 +0000 (09:02 +0000)]
* configure.in: Properly test for the presence of rl_getc_function;
it's a variable, not a function.
* configure: Regenerated.
Jim Blandy [Wed, 7 Oct 1998 09:02:25 +0000 (09:02 +0000)]
Regenerated, after adding ChangeLog.
Jim Blandy [Wed, 7 Oct 1998 07:37:40 +0000 (07:37 +0000)]
*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 07:37:17 +0000 (07:37 +0000)]
* New directory for documentation.
* README: New file.
* data-rep.texi: It's not a real manual, but it's better than
nothing.
* Makefile.am, Makefile.in, data-rep.info, data-rep.texi,
mdate-sh, stamp-vti, texinfo.tex, version.texi: The usual support
files.
Jim Blandy [Wed, 7 Oct 1998 07:36:55 +0000 (07:36 +0000)]
* doc: New subdirectory.
* Makefile.am (SUBDIRS): List it.
* configure.in (AC_OUTPUT): Build its Makefile.
* configure, Makefile.in: Regenerated.
Jim Blandy [Wed, 7 Oct 1998 07:17:15 +0000 (07:17 +0000)]
*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 22:07:55 +0000 (22:07 +0000)]
*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 22:07:49 +0000 (22:07 +0000)]
* guile-config.in (build-link): It isn't. Revert the change.
Jim Blandy [Tue, 6 Oct 1998 22:00:25 +0000 (22:00 +0000)]
*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 22:00:13 +0000 (22:00 +0000)]
* guile-config.in (build-link): Include a -R flag in the output
from link. Not sure if this is the right thing to do.
Jim Blandy [Tue, 6 Oct 1998 21:59:54 +0000 (21:59 +0000)]
* guile.m4 (GUILE_FLAGS): New macro.
* guile.m4 (AM_INIT_GUILE_MODULE): Deleted; it doesn't do anything
terribly helpful any more, nobody's using it, and this is not
really the way I want to handle modules anyway.
Jim Blandy [Tue, 6 Oct 1998 20:57:10 +0000 (20:57 +0000)]
Formatting tweaks.
Jim Blandy [Tue, 6 Oct 1998 15:47:07 +0000 (15:47 +0000)]
*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 15:46:06 +0000 (15:46 +0000)]
* libguile.h: Mark these as C declarations, for compilation by C++
compilers.
Jim Blandy [Tue, 6 Oct 1998 13:01:46 +0000 (13:01 +0000)]
* snarf.h (SCM_PROC, SCM_PROC1): Remove very odd code in #ifdef
__cplusplus clause. I seriously doubt this ever worked the way
the author seems to have intended.
Jim Blandy [Mon, 5 Oct 1998 21:05:04 +0000 (21:05 +0000)]
Doc fixes
Jim Blandy [Mon, 5 Oct 1998 21:04:15 +0000 (21:04 +0000)]
Utterly needless cleanups to hopelessly messy code.
* ports.c: Doc fixes.
(scm_fflush): Moved to ...
* genio.c (scm_fflush): ... here, amongst all the other port
method invocation functions.
* genio.h, ports.h: The prototype moves too.
Jim Blandy [Mon, 5 Oct 1998 19:09:47 +0000 (19:09 +0000)]
*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 19:00:15 +0000 (19:00 +0000)]
*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 19:00:07 +0000 (19:00 +0000)]
* guile-config.in (build-compile, help-compile, usage-compile):
New functions to implement new subcommand.
Jim Blandy [Mon, 5 Oct 1998 18:52:39 +0000 (18:52 +0000)]
*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 18:52:23 +0000 (18:52 +0000)]
* guile-config.in: Redo the help system, so that each subcommand
defines its own usage text, as well as its help text.
Jim Blandy [Mon, 5 Oct 1998 18:11:20 +0000 (18:11 +0000)]
*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 18:11:04 +0000 (18:11 +0000)]
* guile-config.in (build-link): Include a -L option in the output
from `guile-config link', indicating where libguile was installed.
Jim Blandy [Sun, 4 Oct 1998 16:44:53 +0000 (16:44 +0000)]
*** empty log message ***
Jim Blandy [Sun, 4 Oct 1998 16:44:34 +0000 (16:44 +0000)]
* backtrace.c (display_error_body): The current frame does not
always have a parent frame; consider a function called directly
from the MAIN_FUNC passed to scm_boot_guile. (Thanks to Maciej
Stachowiak.)
Jim Blandy [Sun, 4 Oct 1998 12:59:56 +0000 (12:59 +0000)]
*** empty log message ***
Jim Blandy [Sun, 4 Oct 1998 12:59:41 +0000 (12:59 +0000)]
* alloca.c (alloca): Undo yesterday's changes, and simply call
malloc directly for storage, and abort if we don't get what we
want. The situation is much simpler --- just call malloc. Emacs
has bizarre/evil requirements (signal handlers might malloc unless
you set this global flag, so you have to set the flag around all
calls to malloc) which we are certainly not going to conform to,
so we can do the simple and obvious thing.
Jim Blandy [Sun, 4 Oct 1998 12:10:11 +0000 (12:10 +0000)]
* coop.c (coop_condition_variable_wait): Make this function
static. It's only useful internally --- you should never just
wait on a condition variable.
* coop-defs.h (coop_condition_variable_wait): Delete prototype.
Jim Blandy [Sun, 4 Oct 1998 11:46:51 +0000 (11:46 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:59:26 +0000 (20:59 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:58:49 +0000 (20:58 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:58:41 +0000 (20:58 +0000)]
* guile-config.in: Don't import ice-9 regex; that's not available
on all systems. Maybe someday we'll have our own...
(set-program-name!): Use basename.
(build-link): Use basename and stock string functions, instead of
string-match.
Jim Blandy [Sat, 3 Oct 1998 20:08:58 +0000 (20:08 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:08:45 +0000 (20:08 +0000)]
* unif.c (scm_array_set_x): Accept any kind of number as an
element for a uniform vector of doubles. This is more consistent
with Scheme's view of numbers. (Thanks to Miroslav Silovic.)
Jim Blandy [Sat, 3 Oct 1998 19:51:24 +0000 (19:51 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 19:51:05 +0000 (19:51 +0000)]
* alloca.c: Use scm_must_malloc to obtain storage. Hopefully this
works; I can't conveniently test it myself. (Thanks to Dvid
Tillman for the bug report.)
Jim Blandy [Sat, 3 Oct 1998 19:30:38 +0000 (19:30 +0000)]
*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 19:30:21 +0000 (19:30 +0000)]
* configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
stdio implementation. (Thanks to David Tillman.)
* configure: Rebuilt.