bpt/guile.git
25 years ago*** empty log message ***
Jim Blandy [Fri, 9 Oct 1998 11:50:21 +0000 (11:50 +0000)]
*** empty log message ***

25 years agoChange the definition of the functions in scm_ptobfuns so that
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.

25 years agoChange the definition of the functions in scm_ptobfuns so that
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.

25 years agoChange the definition of the functions in scm_ptobfuns so that
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.

25 years ago*** empty log message ***
Jim Blandy [Thu, 8 Oct 1998 20:17:46 +0000 (20:17 +0000)]
*** empty log message ***

25 years ago* .cvsignore: New file, containing data-rep.info. I'm not sure
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.

25 years agoAdjust formatting.
Jim Blandy [Thu, 8 Oct 1998 20:12:53 +0000 (20:12 +0000)]
Adjust formatting.

25 years ago*** empty log message ***
Jim Blandy [Thu, 8 Oct 1998 20:12:22 +0000 (20:12 +0000)]
*** empty log message ***

25 years agoInclude the source location in error messages for scripts.
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.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 20:06:29 +0000 (20:06 +0000)]
*** empty log message ***

25 years ago* gc.c (scm_unprotect_object): Change this so that calls to
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.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 20:00:11 +0000 (20:00 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 19:35:56 +0000 (19:35 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 15:52:46 +0000 (15:52 +0000)]
*** empty log message ***

25 years ago* strings.c (scm_string_set_x): Require the argument to be a
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.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 10:16:28 +0000 (10:16 +0000)]
*** empty log message ***

25 years ago* configure.in: Don't forget to #define HAVE_RL_GETC_FUNCTION if
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.

25 years ago* scmconfig.h.in: Regenerated; ../acconfig.h has changed.
Jim Blandy [Wed, 7 Oct 1998 10:15:44 +0000 (10:15 +0000)]
* scmconfig.h.in: Regenerated; ../acconfig.h has changed.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 10:03:07 +0000 (10:03 +0000)]
*** empty log message ***

25 years ago* eval.c (safe_setjmp): Remove this misunderstanding.
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.

25 years ago* configure.in: Don't forget to #define HAVE_RL_GETC_FUNCTION if
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.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 09:56:43 +0000 (09:56 +0000)]
*** empty log message ***

25 years ago* configure.in: Properly test for the presence of rl_getc_function;
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.

25 years ago* configure.in: Properly test for the presence of rl_getc_function;
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.

25 years agoRegenerated, after adding ChangeLog.
Jim Blandy [Wed, 7 Oct 1998 09:02:25 +0000 (09:02 +0000)]
Regenerated, after adding ChangeLog.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 07:37:40 +0000 (07:37 +0000)]
*** empty log message ***

25 years ago* New directory for documentation.
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.

25 years ago* doc: New subdirectory.
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.

25 years ago*** empty log message ***
Jim Blandy [Wed, 7 Oct 1998 07:17:15 +0000 (07:17 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 22:07:55 +0000 (22:07 +0000)]
*** empty log message ***

25 years ago* guile-config.in (build-link): It isn't. Revert the change.
Jim Blandy [Tue, 6 Oct 1998 22:07:49 +0000 (22:07 +0000)]
* guile-config.in (build-link): It isn't.  Revert the change.

25 years ago*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 22:00:25 +0000 (22:00 +0000)]
*** empty log message ***

25 years ago* guile-config.in (build-link): Include a -R flag in the output
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.

25 years ago* guile.m4 (GUILE_FLAGS): New macro.
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.

25 years agoFormatting tweaks.
Jim Blandy [Tue, 6 Oct 1998 20:57:10 +0000 (20:57 +0000)]
Formatting tweaks.

25 years ago*** empty log message ***
Jim Blandy [Tue, 6 Oct 1998 15:47:07 +0000 (15:47 +0000)]
*** empty log message ***

25 years ago* libguile.h: Mark these as C declarations, for compilation by C++
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.

25 years ago* snarf.h (SCM_PROC, SCM_PROC1): Remove very odd code in #ifdef
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.

25 years agoDoc fixes
Jim Blandy [Mon, 5 Oct 1998 21:05:04 +0000 (21:05 +0000)]
Doc fixes

25 years agoUtterly needless cleanups to hopelessly messy code.
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.

25 years ago*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 19:09:47 +0000 (19:09 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 19:00:15 +0000 (19:00 +0000)]
*** empty log message ***

25 years ago* guile-config.in (build-compile, help-compile, usage-compile):
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.

25 years ago*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 18:52:39 +0000 (18:52 +0000)]
*** empty log message ***

25 years ago* guile-config.in: Redo the help system, so that each subcommand
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.

25 years ago*** empty log message ***
Jim Blandy [Mon, 5 Oct 1998 18:11:20 +0000 (18:11 +0000)]
*** empty log message ***

25 years ago* guile-config.in (build-link): Include a -L option in the output
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.

25 years ago*** empty log message ***
Jim Blandy [Sun, 4 Oct 1998 16:44:53 +0000 (16:44 +0000)]
*** empty log message ***

25 years ago* backtrace.c (display_error_body): The current frame does not
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.)

25 years ago*** empty log message ***
Jim Blandy [Sun, 4 Oct 1998 12:59:56 +0000 (12:59 +0000)]
*** empty log message ***

25 years ago* alloca.c (alloca): Undo yesterday's changes, and simply call
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.

25 years ago* coop.c (coop_condition_variable_wait): Make this function
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.

25 years ago*** empty log message ***
Jim Blandy [Sun, 4 Oct 1998 11:46:51 +0000 (11:46 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:59:26 +0000 (20:59 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:58:49 +0000 (20:58 +0000)]
*** empty log message ***

25 years ago* guile-config.in: Don't import ice-9 regex; that's not available
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.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 20:08:58 +0000 (20:08 +0000)]
*** empty log message ***

25 years ago* unif.c (scm_array_set_x): Accept any kind of number as an
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.)

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 19:51:24 +0000 (19:51 +0000)]
*** empty log message ***

25 years ago* alloca.c: Use scm_must_malloc to obtain storage. Hopefully this
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.)

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 19:30:38 +0000 (19:30 +0000)]
*** empty log message ***

25 years ago* configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
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.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 19:00:59 +0000 (19:00 +0000)]
*** empty log message ***

25 years ago* guile-config: Renamed from `build'.
Jim Blandy [Sat, 3 Oct 1998 19:00:10 +0000 (19:00 +0000)]
* guile-config: Renamed from `build'.
* Makefile.am (SUBDIRS): Mention `guile-config', not `build'.
* configure.in: Create `guile-config/Makefile.in', not
`build/Makefile.in'.  Doc fix, too.
* qthreads.m4: Doc fix.
* Makefile.in, aclocal.m4, configure: Regeneranegerederadea.

25 years agoAll files moved to ../guile-config.
Jim Blandy [Sat, 3 Oct 1998 18:46:05 +0000 (18:46 +0000)]
All files moved to ../guile-config.

25 years ago* Directory renamed to guile-config from build.
Jim Blandy [Sat, 3 Oct 1998 18:45:14 +0000 (18:45 +0000)]
* Directory renamed to guile-config from build.
* guile-config.in: Renamed from build-guile.in, for consistency
with the analogous script for GTK, called gtk-config.
* Makefile.am, .cvsignore: References to `build-guile' replaced
with `guile-config'.
=================== See guile-core/build for further log entries ============
This directory used to be called guile-core/build, but was renamed to
guile-core/guile-config when we renamed build-guile to guile-config.
For further CVS log entries, you'll need to run cvs log in the
../build subdirectory; it's dumb, but that's CVS for you.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 18:13:02 +0000 (18:13 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 17:40:44 +0000 (17:40 +0000)]
*** empty log message ***

25 years ago* init.c: Doc fixes.
Jim Blandy [Sat, 3 Oct 1998 17:40:28 +0000 (17:40 +0000)]
* init.c: Doc fixes.

25 years ago* init.c (invoke_main_func): Load the startup files (boot-9.scm)
Jim Blandy [Sat, 3 Oct 1998 17:40:08 +0000 (17:40 +0000)]
* init.c (invoke_main_func): Load the startup files (boot-9.scm)
from here, not from scm_compile_shell_switches (which is a pretty
dumb place to do it).
(scm_load_startup_files): New function.
(scm_ice_9_already_loaded): Variable moved to here from script.c.
* script.c (scm_compile_shell_switches): Don't load the startup
files here.
(scm_ice_9_already_loaded): Variable moved.
* init.c (scm_load_startup_files): Prototype for new function.
* gh_init.c (gh_enter): Doc fix.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 14:13:08 +0000 (14:13 +0000)]
*** empty log message ***

25 years agoSome anti-warning changes from Greg Harvey.
Jim Blandy [Sat, 3 Oct 1998 14:12:59 +0000 (14:12 +0000)]
Some anti-warning changes from Greg Harvey.
* gh_data.c (gh_scm2doubles): Initialize m, to avoid compiler
warnings when it doesn't understand our NORETURN declarations in
error.h.
* posix.c (scm_mknod): Similar.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 14:10:29 +0000 (14:10 +0000)]
*** empty log message ***

25 years ago* posix.c (scm_getpwuid): If we can't find an entry, return our
Jim Blandy [Sat, 3 Oct 1998 14:10:18 +0000 (14:10 +0000)]
* posix.c (scm_getpwuid): If we can't find an entry, return our
own message, instead of using scm_syserror --- the getpwMUMBLE
functions don't set `errno' to anything interesting.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 13:36:09 +0000 (13:36 +0000)]
*** empty log message ***

25 years ago* configure.in: Check for a missing `sleep' declaration.
Jim Blandy [Sat, 3 Oct 1998 13:34:32 +0000 (13:34 +0000)]
* configure.in: Check for a missing `sleep' declaration.
* acconfig.h (MISSING_SLEEP_DECL): Provide some text for this.
* configure: Regenerated.

25 years agoGet rid of warnings from the cooperative threading system.
Jim Blandy [Sat, 3 Oct 1998 13:33:53 +0000 (13:33 +0000)]
Get rid of warnings from the cooperative threading system.
* threads.h (scm_single_thread_p, scm_yield,
scm_call_with_new_thread, scm_join_thread, scm_make_mutex,
scm_lock_mutex, scm_unlock_mutex, scm_make_condition_variable,
scm_wait_condition_variable, scm_signal_condition_variable): Add
prototypes for these Scheme-visible functions.
* coop-defs.h (coop_next_runnable_thread,
coop_wait_for_runnable_thread_now, coop_wait_for_runnable_thread):
Prototypes for these here, even though they're from iselect.c.
(coop_condition_variable_wait, coop_join): Add prototypes.
* coop-threads.c (scm_threads_free_thread, scm_threads_free_mutex,
scm_threads_free_condvar): Make these smob functions static.
* coop-threads.h (coop_init): Give this a real prototype.
* coop.c: #include <unistd.h>, if we have it, for `usleep' and `sleep'.
(coop_next_runnable_thread): No need to provide prototype; it's in
coop-defs.h.

25 years ago* iselect.c, threads.c: Doc fixes.
Jim Blandy [Sat, 3 Oct 1998 13:33:24 +0000 (13:33 +0000)]
* iselect.c, threads.c: Doc fixes.

25 years ago* scmconfig.h.in: .detarenegeR
Jim Blandy [Sat, 3 Oct 1998 13:32:41 +0000 (13:32 +0000)]
* scmconfig.h.in: .detarenegeR

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 09:15:11 +0000 (09:15 +0000)]
*** empty log message ***

25 years ago* Makefile.in: Regenerated with a patched automake, to get
Jim Blandy [Sat, 3 Oct 1998 09:14:52 +0000 (09:14 +0000)]
* Makefile.in: Regenerated with a patched automake, to get
dependency generation right when using EGCS.

25 years ago* inet_aton.c (inet_aton): Add prototype, to remove compiler
Jim Blandy [Sat, 3 Oct 1998 09:12:12 +0000 (09:12 +0000)]
* inet_aton.c (inet_aton): Add prototype, to remove compiler
warning. (Thanks to Robert Pluim.)
* inet_aton.c (inet_aton): Reassure the compiler that the
arguments to the <ctype.h> macros are all unsigned characters, not
signed characters.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 09:10:09 +0000 (09:10 +0000)]
*** empty log message ***

25 years ago* configure.in: Don't use the canonical host name to decide
Jim Blandy [Sat, 3 Oct 1998 08:01:41 +0000 (08:01 +0000)]
* configure.in: Don't use the canonical host name to decide
whether `bzero' and `usleep' have declarations --- that's going
back to the bad old days before autoconf.  Remove the call to
AC_CANONICAL_HOST and the subsequent case statement.
(GUILE_FUNC_DECLARED): New m4 macro.  Use it to check for
declarations for `bzero', `usleep', and (new!) `strptime'.
* acconfig.h: (DECLARE_BZERO, DECLARE_USLEEP): Removed.
(MISSING_BZERO_DECL, MISSING_USLEEP_DECL, MISSING_STRPTIME_DECL):
Added.  I think this naming convention is more consistent with the
rest of autoconf; names generally describes the system, not what
the package should do to accomodate the system.
* configure: Regenerated.

25 years ago*** empty log message ***
Jim Blandy [Sat, 3 Oct 1998 08:01:27 +0000 (08:01 +0000)]
*** empty log message ***

25 years ago* readline.c: Doc fix.
Jim Blandy [Sat, 3 Oct 1998 08:00:39 +0000 (08:00 +0000)]
* readline.c: Doc fix.
(rl_cleanup_after_signal, rl_free_line_state): Make these static.
* readline.h (scm_filename_completion_function): Add prototype.
(scm_init_readline): Make this into a prototype.

25 years ago* readline.c: Doc fix.
Jim Blandy [Sat, 3 Oct 1998 08:00:21 +0000 (08:00 +0000)]
* readline.c: Doc fix.
(rl_cleanup_after_signal, rl_free_line_state): Make these static.
* readline.h (scm_filename_completion_function): Add prototype.
(scm_init_readline): Make this into a prototype.
* readline.c (scm_filename_completion_function): Use SCM_PROC to
declare this, instead of calling scm_make_subr manually.

25 years agoGetting rid of more warnings...
Jim Blandy [Sat, 3 Oct 1998 08:00:05 +0000 (08:00 +0000)]
Getting rid of more warnings...
* iselect.c: Test for MISSING_BZERO_DECL, not DECLARE_BZERO; see
today's change to ../configure.in.
* scmsigs.c: Test for MISSING_USLEEP_DECL, not DECLARE_USLEEP.
* scmconfig.h.in: Regenertaded.de.,.__
* stime.c (strptime): Declare this, #ifdef MISSING_STRPTIME_DECL.
(scm_localtime, scm_mktime): Use a const char * to manipulate the
time zone name.

25 years ago*** empty log message ***
Jim Blandy [Fri, 2 Oct 1998 16:04:46 +0000 (16:04 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Wed, 30 Sep 1998 12:32:45 +0000 (12:32 +0000)]
*** empty log message ***

25 years ago*** empty log message ***
Jim Blandy [Wed, 30 Sep 1998 10:17:03 +0000 (10:17 +0000)]
*** empty log message ***

25 years agoWarning fixes from Maciej Stachowiak:
Jim Blandy [Wed, 30 Sep 1998 10:14:59 +0000 (10:14 +0000)]
Warning fixes from Maciej Stachowiak:
* backtrace.h (scm_display_application, scm_backtrace): Add
prototypes.
* debug.c (scm_m_start_stack): Make this function static.
* fluids.h (scm_fluid_p): Add prototype.
* procprop.c (scm_i_procedure_arity): Make this function static.
* regex-posix.c (scm_regexp_error_msg): Make this function static.
* regex-posix.h (scm_init_regex_posix): Use prototype, not K&R decl.
* root.h (scm_dynamic_root): Add external prototype.
* scmsigs.h (scm_usleep): Add external prototype.
* script.h (scm_init_script): Use prototype, not K&R decl.
* stacks.h (scm_stack_id): Add external prototype.
* symbols.h (scm_sysintern0_no_module_lookup): Add external prototype.

25 years ago1998-09-30 Mark Galassi <rosalia@cygnus.com>
Mark Galassi [Wed, 30 Sep 1998 06:34:09 +0000 (06:34 +0000)]
1998-09-30  Mark Galassi  <rosalia@cygnus.com>
        * gh.h: took out the definitions of vset and vref, since they are
        replaced by the proper vector routines that correspond to the R4RS
        procedures.

25 years ago*** empty log message ***
Jim Blandy [Tue, 29 Sep 1998 19:59:22 +0000 (19:59 +0000)]
*** empty log message ***

25 years ago* stp.h (stp_create): Doc fix.
Jim Blandy [Tue, 29 Sep 1998 19:58:10 +0000 (19:58 +0000)]
* stp.h (stp_create): Doc fix.

25 years ago* version.h (scm_libguile_config_stamp): Add prototype.
Jim Blandy [Tue, 29 Sep 1998 19:57:35 +0000 (19:57 +0000)]
* version.h (scm_libguile_config_stamp): Add prototype.
(From Maciej Stachowiak.)

25 years ago* snarf.h: Add SCM_VCELL_INIT and SCM_GLOBAL_VCELL_INIT macros;
Jim Blandy [Tue, 29 Sep 1998 19:57:22 +0000 (19:57 +0000)]
* snarf.h: Add SCM_VCELL_INIT and SCM_GLOBAL_VCELL_INIT macros;
these are analogous to SCM_VCELL and SCM_GLOBAL_VCELL but take a
third argument, a C expression that should result in a SCM value,
which is used to initialize the variable. Reimplemented
SCM_CONST_LONG in terms of SCM_VCELL_INIT.  (Thanks to Maciej
Stachowiak.)

25 years ago*** empty log message ***
Jim Blandy [Sat, 26 Sep 1998 09:57:49 +0000 (09:57 +0000)]
*** empty log message ***

25 years ago* eval.c (scm_force): Assert that x is SCM_NIMP to fix segv when
Jim Blandy [Sat, 26 Sep 1998 09:57:37 +0000 (09:57 +0000)]
* eval.c (scm_force): Assert that x is SCM_NIMP to fix segv when
(force 9) is tried.  (Thanks to Karl M. Hegbloom.)

25 years ago*** empty log message ***
Jim Blandy [Sun, 6 Sep 1998 18:57:39 +0000 (18:57 +0000)]
*** empty log message ***