1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-04 22:40:25 +02:00
Commit graph

20154 commits

Author SHA1 Message Date
Marius Vollmer
c68296f8fd * gc.c (scm_gc_sweep): Free the SCM_VELTS of a scm_tc7_contin only
when they are non-NULL.
(scm_gc_mark): Likewise, mark only when non-NULL.

* gc.c (scm_done_malloc): New function.
gc.h (scm_done_malloc): New prototype.
1997-10-02 14:45:09 +00:00
Marius Vollmer
5fccacb91b * gc.c (scm_done_malloc): New function.
gc.h (scm_done_malloc): New prototype.
1997-10-02 14:42:58 +00:00
Marius Vollmer
5ddca2ef51 Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
* dynl.c: Include "dynl-dl.c" also when HAVE_DLOPEN is defined.
1997-10-02 14:40:30 +00:00
Marius Vollmer
21fdbaeee4 *** empty log message *** 1997-10-02 14:33:25 +00:00
Marius Vollmer
ae335672cb * boot-9.scm (inherit-print-state): New experimental function. 1997-10-02 14:23:50 +00:00
Marius Vollmer
cd721def20 *** empty log message *** 1997-10-02 14:21:37 +00:00
Marius Vollmer
a49953899d Make dynamic linking work on Dec Unix. (Thanks to Clark McGrew)
* configure.in: Check whether dlopen can be found without -ldl.
1997-10-02 14:17:07 +00:00
Jim Blandy
adc14c93bc *** empty log message *** 1997-09-30 17:17:19 +00:00
Jim Blandy
a6401ee0f2 Suggestion and script from Maciej Stachowiak:
* boot-9.scm: Split off modules into separate, autoloadable files.
This reduces startup time from 10.5s to 5.5s (user cpu).
* calling.scm, common-list.scm, ls.scm, q.scm, runq.scm,
string-fun.scm: New files, containing stuff that used to be in
boot-9.scm.
* Makefile.am (ice9_sources): List new files here, for
distribution and installation.
* Makefile.in: Regenerated.
1997-09-30 17:16:54 +00:00
Mikael Djurfeldt
cb0a5b3957 automake version bumped to 1.2c 1997-09-30 13:39:12 +00:00
Jim Blandy
5aa28c1e21 *** empty log message *** 1997-09-30 03:57:02 +00:00
Jim Blandy
7370e377a2 * Makefile.in: Regenerated with automake 1.2c. 1997-09-30 03:55:48 +00:00
Jim Blandy
ec79dd9771 *** empty log message *** 1997-09-30 03:50:56 +00:00
Radey Shouman
de59897ac6 *** empty log message *** 1997-09-29 03:37:26 +00:00
Radey Shouman
e42c09cc6f Fixed problem in scm_array_index_map_x: looped endlessly with zero-rank
argument.
1997-09-29 03:29:27 +00:00
Mikael Djurfeldt
d1005e3cbb * slib.scm (slib:load): slib:load first tries to load the file
named NAME, then NAME.scm.  On error, report the error occuring at
the first attempt (NAME) rather than the second (NAME.scm).
1997-09-29 01:38:57 +00:00
Mikael Djurfeldt
2f110c3ce3 * boot-9.scm: Bugfix: Hard-solder the print-option procedure into
the make-options macro so that we needn't refer to a global
symbol.
1997-09-29 01:23:59 +00:00
Mikael Djurfeldt
83b381985d * debug.scm: Moved options interface procedures to boot-9.scm.
* boot-9.scm: Define options interface procedures here instead.
1997-09-28 20:12:17 +00:00
Jim Blandy
f6a2912315 *** empty log message *** 1997-09-28 04:09:06 +00:00
Jim Blandy
0d7368d7c1 * strports.c (scm_eval_string): Don't close the port. 1997-09-28 04:08:02 +00:00
Jim Blandy
3cef7514cb * stime.c (bdtime2c): Use SCM_LENGTH, not scm_vector_length; the
former returns a nice normal integer.  (Thanks to Daniel
Risacher.)
1997-09-28 04:07:04 +00:00
Jim Blandy
b8b1f32221 * New directory --- the build-guile command, intended to help
people build Guile-based applications.
* Makefile.am, Makefile.in, build-guile.in: New files.
1997-09-28 03:17:45 +00:00
Jim Blandy
8a01e7548c *** empty log message *** 1997-09-28 03:17:07 +00:00
Jim Blandy
993c846b48 * Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated with
automake 1.2a.
1997-09-28 03:14:31 +00:00
Jim Blandy
af3509d72c * script.c (scm_compile_shell_switches): If we hit the -c or --
arguments, don't set the car of (command-line) to scm_usage_name,
the prettified name of the guile executable; give it the full
path, the way shells usually handle $0.
1997-09-28 03:13:36 +00:00
Jim Blandy
f8392303c5 Thanks to Shiro Kawai:
* gc.c (scm_gc_mark): Pass NULL to scm_wta as the subroutine name.
* ports.h (scm_ptobfuns): The fgets method returns a char *, not
an SCM.
1997-09-28 03:12:42 +00:00
Jim Blandy
cbab9700c3 * Makefile.am (libpath.h): Include the value of the THREAD_LIBS
makefile variable as a build parameter called LIBS.  The
build-guile program will use this, for the time being.
* Makefile.in: Regenerated.

* Makefile.in: Regenerated with automake 1.2a.
1997-09-28 03:12:04 +00:00
Jim Blandy
af01fdcd21 * boot-9.scm (separate-fields-discarding-char,
separate-fields-after-char, separate-fields-before-char): Call
continuation function, RET, as advertised: with each separated
field a separate argument.

* Makefile.in: Regenerated with automake 1.2a.
1997-09-28 03:09:59 +00:00
Jim Blandy
9ba3d4034c * Makefile.am: Add new `build' subdirectory to SUBDIRS.
* configure.in: Add build/Makefile to AC_OUTPUT clause.
* Makefile.in, configure: Regenerated.

* Makefile.in, aclocal.m4: Regenerated with automake 1.2a.
1997-09-28 03:06:14 +00:00
Jim Blandy
73e747bc28 *** empty log message *** 1997-09-28 03:04:17 +00:00
Jim Blandy
86f4024809 Move bug report address to top.
Mention European FTP mirror site.
1997-09-28 03:03:56 +00:00
Jim Blandy
7ed46dc83a Typo. 1997-09-28 03:03:20 +00:00
Mikael Djurfeldt
7e7904004c * ramap.c (scm_array_map): Renamed to scm_array_map_x. Removed
Scheme-level name `array-map' and renamed `serial-array-map' to
`serial-array-map!'.
1997-09-24 21:29:02 +00:00
Mikael Djurfeldt
298aa6e315 scm_array_map & co 1997-09-24 21:28:24 +00:00
Mikael Djurfeldt
bdf8afffb5 * backtrace.c: Introduced exception handlers which now enclose
`display-error' and `display-backtrace' so that error reporting
won't get into infinite loops if an error occurs during displaying
of the error.  This can very easily happen with user supplied
print call-back routines.
1997-09-24 20:18:54 +00:00
Mikael Djurfeldt
152800f1d3 Bugfix of the bugfix. 1997-09-24 19:46:47 +00:00
Mikael Djurfeldt
830613a0e0 *** empty log message *** 1997-09-24 18:17:41 +00:00
Mikael Djurfeldt
1d9ee7c788 * init.c (scm_boot_guile_1): Added scm_init_objects ().
Added #include "objects.h"

* Makefile.am (libguile_la_SOURCES): Added objects.c.
(modinclude_HEADERS): Added objects.h.
1997-09-22 00:45:19 +00:00
Mikael Djurfeldt
0c32d76caf * init.c (scm_boot_guile_1): Added scm_init_objects ().
Added #include "objects.h"

* eval.c (scm_makprom): Added SCM_DEFER_INTS and SCM_ALLOW_INTS.
Add #include "feature.h".

* ports.h (SCM_EOF_OBJECT_P): New macro predicate.
This test is needed at many places in the code and should be
abstracted.  (Motivated by the need of this test in libguiletk.)

* ports.c (scm_eof_object_p), vports.c (sfgetc), strports.c
(scm_eval_string), load.c (scm_primitive_load,
scm_read_and_eval_x), gh_eval.c (gh_eval_str):
Use SCM_EOF_OBJECT_P.

* eval.c (scm_init_eval): Add feature `delay'.
1997-09-22 00:43:52 +00:00
Mikael Djurfeldt
25eaf21abc * eval.c (scm_init_eval): Add feature `delay'. 1997-09-20 13:58:58 +00:00
Mikael Djurfeldt
534a00990b * slib.scm (slib:load): Export.
* boot-9.scm (in-vicinity): Bugfix: Don't add "/" to an empty
vicinity;
Provide defmacro.
1997-09-20 13:57:22 +00:00
Mikael Djurfeldt
8fa5faad81 * r4rs.scm (apply): Set name property to 'apply. 1997-09-17 23:25:35 +00:00
Mikael Djurfeldt
0f7af60091 *** empty log message *** 1997-09-17 18:50:53 +00:00
Mikael Djurfeldt
a4f9b1f613 * boot-9.scm (try-module-linked): Try to find module among those already
registered.
(try-module-dynamic-link): Removed the first test which
corresponds to a call to `try-module-linked'.
(resolve-module): Resolve modules in this order: 1. Already
registered modules (for example those which have been statically
linked), 2. Try to autoload an .scm-file, 3. Try to dynamically
link a .so-file.
1997-09-16 21:31:19 +00:00
Mikael Djurfeldt
0a54457d78 * boot-9.scm (keyword->symbol, display-usage-report): Changed
length --> string-length.  (Thanks to Aleksandar Bakic.)
(separate-fields-discarding-char, separate-fields-after-char,
separate-fields-before-char): Bugfix from Maciej Stachowiak
<mstachow@mit.edu>.  Thanks!
1997-09-16 20:35:15 +00:00
Mikael Djurfeldt
11b0526116 * boot-9.scm (keyword->symbol, display-usage-report): Changed
length --> string-length.
1997-09-16 20:16:57 +00:00
Mikael Djurfeldt
51916da6be * scmhob.h: Removed. 1997-09-16 00:21:06 +00:00
Mikael Djurfeldt
476f3c84b2 * README, ltconfig, ltmain.sh: New libtool: 1.0c. 1997-09-15 22:21:47 +00:00
Mikael Djurfeldt
24b2aac77c * boot-9.scm (iota): Renamed list-reverse! --> reverse! 1997-09-15 21:43:41 +00:00
Mikael Djurfeldt
3a97e02067 *** empty log message *** 1997-09-15 21:36:19 +00:00