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

14736 commits

Author SHA1 Message Date
Jim Blandy
bc08dbdb3a * guile-config.in (build-link): Include a -R flag in the output
from link.  Not sure if this is the right thing to do.
1998-10-06 22:00:13 +00:00
Jim Blandy
8d3ac4c998 * 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.
1998-10-06 21:59:54 +00:00
Jim Blandy
3e877d1576 Formatting tweaks. 1998-10-06 20:57:10 +00:00
Jim Blandy
2d0937bc84 *** empty log message *** 1998-10-06 15:47:07 +00:00
Jim Blandy
3401653fe0 * libguile.h: Mark these as C declarations, for compilation by C++
compilers.
1998-10-06 15:46:06 +00:00
Jim Blandy
d021129f24 * 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.
1998-10-06 13:01:46 +00:00
Jim Blandy
89545eba77 Doc fixes 1998-10-05 21:05:04 +00:00
Jim Blandy
d68fee4833 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.
1998-10-05 21:04:15 +00:00
Jim Blandy
71f2053493 *** empty log message *** 1998-10-05 19:09:47 +00:00
Jim Blandy
429a44e38f *** empty log message *** 1998-10-05 19:00:15 +00:00
Jim Blandy
817e076966 * guile-config.in (build-compile, help-compile, usage-compile):
New functions to implement new subcommand.
1998-10-05 19:00:07 +00:00
Jim Blandy
6ffeb7a3bd *** empty log message *** 1998-10-05 18:52:39 +00:00
Jim Blandy
204c26b986 * guile-config.in: Redo the help system, so that each subcommand
defines its own usage text, as well as its help text.
1998-10-05 18:52:23 +00:00
Jim Blandy
c3d20aa6a2 *** empty log message *** 1998-10-05 18:11:20 +00:00
Jim Blandy
008112c14b * guile-config.in (build-link): Include a -L option in the output
from `guile-config link', indicating where libguile was installed.
1998-10-05 18:11:04 +00:00
Jim Blandy
8b49142f60 *** empty log message *** 1998-10-04 16:44:53 +00:00
Jim Blandy
a88a4c8a6f * 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.)
1998-10-04 16:44:34 +00:00
Jim Blandy
533149475d *** empty log message *** 1998-10-04 12:59:56 +00:00
Jim Blandy
f122e56eda * 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.
1998-10-04 12:59:41 +00:00
Jim Blandy
9086fa7771 * 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.
1998-10-04 12:10:11 +00:00
Jim Blandy
859bb43171 *** empty log message *** 1998-10-04 11:46:51 +00:00
Jim Blandy
d627bf71ec *** empty log message *** 1998-10-03 20:59:26 +00:00
Jim Blandy
c39894a855 *** empty log message *** 1998-10-03 20:58:49 +00:00
Jim Blandy
da5099742d * 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.
1998-10-03 20:58:41 +00:00
Jim Blandy
7265de7033 *** empty log message *** 1998-10-03 20:08:58 +00:00
Jim Blandy
f69575032d * 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.)
1998-10-03 20:08:45 +00:00
Jim Blandy
a9fe62cba3 *** empty log message *** 1998-10-03 19:51:24 +00:00
Jim Blandy
ce6ed4bae6 * 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.)
1998-10-03 19:51:05 +00:00
Jim Blandy
48ca6468ab *** empty log message *** 1998-10-03 19:30:38 +00:00
Jim Blandy
fe75dfc504 * configure.in (FD_SETTER, FILE_CNT_GPTR): New cases for SCO's
stdio implementation.  (Thanks to David Tillman.)
* configure: Rebuilt.
1998-10-03 19:30:21 +00:00
Jim Blandy
2adfe1c0de *** empty log message *** 1998-10-03 19:00:59 +00:00
Jim Blandy
bcc695e361 * 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.
1998-10-03 19:00:10 +00:00
Jim Blandy
29cd26efb6 All files moved to ../guile-config. 1998-10-03 18:46:05 +00:00
Jim Blandy
9a56cb245d * 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.
1998-10-03 18:45:14 +00:00
Jim Blandy
8986901b1d *** empty log message *** 1998-10-03 18:13:02 +00:00
Jim Blandy
026065b72c *** empty log message *** 1998-10-03 17:40:44 +00:00
Jim Blandy
bdca108323 * init.c: Doc fixes. 1998-10-03 17:40:28 +00:00
Jim Blandy
6b8d19d302 * 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.
1998-10-03 17:40:08 +00:00
Jim Blandy
541716d15c *** empty log message *** 1998-10-03 14:13:08 +00:00
Jim Blandy
82a76bdfcf 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.
1998-10-03 14:12:59 +00:00
Jim Blandy
f9d12ce88b *** empty log message *** 1998-10-03 14:10:29 +00:00
Jim Blandy
20752a3415 * 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.
1998-10-03 14:10:18 +00:00
Jim Blandy
0553d3a207 *** empty log message *** 1998-10-03 13:36:09 +00:00
Jim Blandy
c31bfb8563 * configure.in: Check for a missing `sleep' declaration.
* acconfig.h (MISSING_SLEEP_DECL): Provide some text for this.
* configure: Regenerated.
1998-10-03 13:34:32 +00:00
Jim Blandy
6d71500e94 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.
1998-10-03 13:33:53 +00:00
Jim Blandy
7f0f3eaa5f * iselect.c, threads.c: Doc fixes. 1998-10-03 13:33:24 +00:00
Jim Blandy
d30a05f7ab * scmconfig.h.in: .detarenegeR 1998-10-03 13:32:41 +00:00
Jim Blandy
235bb3fe78 *** empty log message *** 1998-10-03 09:15:11 +00:00
Jim Blandy
0f62a9b3d9 * Makefile.in: Regenerated with a patched automake, to get
dependency generation right when using EGCS.
1998-10-03 09:14:52 +00:00
Jim Blandy
7b2d545434 * 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.
1998-10-03 09:12:12 +00:00