1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-06 07:30:28 +02:00
Commit graph

9141 commits

Author SHA1 Message Date
Mikael Djurfeldt
d80f396e99 * snarf.h, guile-snarf.awk.in, guile-snarf.in: Replaced snarf
markers with identifiers (SCM__I, SCM__D, SCM__S, SCM__E).
(Thanks to Bernard Urban.)
2000-06-08 18:48:24 +00:00
Mikael Djurfeldt
0abbd8f4a3 *** empty log message *** 2000-06-08 16:51:06 +00:00
Mikael Djurfeldt
7180cf39a7 * guile-snarf.awk.in, guile-snarf.in: Made to work also for
preprocessors which interpret $$$ and other markers as three
separate tokens and puts spaces in between.  NOTE: We could
replace %%% etc with real identifiers.  However, before the 1.4
release, we instead make minimal changes to the existing
system. (Thanks to Bernard Urban.)
2000-06-08 16:50:49 +00:00
Mikael Djurfeldt
a6596faa22 *** empty log message *** 2000-06-06 12:44:46 +00:00
Mikael Djurfeldt
c15c33ee54 * modules.c (scm_system_module_env_p): Fixed detection of system
modules.
2000-06-06 12:44:24 +00:00
Marius Vollmer
c29ee3e509 *** empty log message *** 2000-06-05 22:58:12 +00:00
Marius Vollmer
0d172d3f6c * scmsigs.c (scm_sigaction): Silently ignore setting handlers for
`program error signals' because they can't currently be handled by
Scheme code.
2000-06-05 22:57:51 +00:00
Dirk Herrmann
2d9cdf4e81 * Don't assign to SCM_SUBRF, use new SCM_SET_SUBRF macro instead. 2000-06-05 12:54:40 +00:00
Dirk Herrmann
4b479d9818 * gh.h: Don't take the address of a SCM value.
* sort.c: Don't take the address of SCM_CAR, use SCM_CARLOC instead.
2000-06-05 12:09:35 +00:00
Dirk Herrmann
9a09deb1c3 * Removed SCM_TRUE_P since it may get confused with !SCM_FALSEP. 2000-06-05 11:39:46 +00:00
Mikael Djurfeldt
542bfe1de2 *** empty log message *** 2000-06-04 17:27:45 +00:00
Mikael Djurfeldt
002f1a5dba * eval.c (scm_badformalsp): New static function.
(SCM_CEVAL): Check arguments for procedure-with-setter closures.
(Thanks to Keisuke Nishida.)
2000-06-04 17:27:27 +00:00
Mikael Djurfeldt
2c4fc472dc *** empty log message *** 2000-06-04 01:34:58 +00:00
Mikael Djurfeldt
4fd1f6529d * variable.c: Code layout fixes. 2000-06-04 01:30:32 +00:00
Mikael Djurfeldt
bccb33a9f0 * symbols.c (scm_sym2vcell): Bypass dispatch in the evaluator for
standard eval closures.
2000-06-04 01:30:23 +00:00
Mikael Djurfeldt
a75c639c6c * modules.h (scm_standard_eval_closure): Declare. 2000-06-04 01:30:14 +00:00
Mikael Djurfeldt
152abe96e5 * modules.c: Added #include "libguile/vectors.h";
Added #include "libguile/hashtab.h";
Added #include "libguile/struct.h";
Added #include "libguile/variable.h";
Capture Scheme level `module-make-local-var!' to be used in the
standard eval closure.
(scm_standard_eval_closure): New primitive.
2000-06-04 01:30:05 +00:00
Mikael Djurfeldt
790071cdc8 * eval.c (scm_lookupcar): Test for !SCM_CONSP (SCM_CAR (env))
instead of SCM_TRUE (scm_procedurep (SCM_CAR (env))).
2000-06-04 01:29:54 +00:00
Mikael Djurfeldt
96372e45b8 *** empty log message *** 2000-06-03 14:51:47 +00:00
Mikael Djurfeldt
30dda2579c * Makefile.am: Added LIBS line to libpath which accidentally
disappeared in the change of 2000-06-01.
(Thanks to Dale	P. Smith.)
2000-06-03 14:51:37 +00:00
Mikael Djurfeldt
6784d5c00b *** empty log message *** 2000-06-03 00:25:55 +00:00
Mikael Djurfeldt
84fbe20b5b * scmsigs.c (scm_segfaulr): Removed. (Was probably added by
mistake since it is not mentioned in ChangeLog.)
2000-06-03 00:25:35 +00:00
Mikael Djurfeldt
cc0bb1ef3b *** empty log message *** 2000-06-03 00:17:41 +00:00
Mikael Djurfeldt
05a85bae79 * gc.h (SCM_VALIDATE_CELL): Cast result to (void) in order to
avoid compiler warnings in gcc.  (Does this work for other
compilers?)
2000-06-03 00:17:31 +00:00
Mikael Djurfeldt
4ecf5aa357 *** empty log message *** 2000-06-02 23:47:31 +00:00
Mikael Djurfeldt
217883aa45 * gc.h (SCM_VALIDATE_CELL): Don't "use" the value returned by
abort ().
(SCM_CARLOC, SCM_CDRLOC): Define directly instead of using
SCM_CELL_OBJECT_0 and SCM_CELL_OBJECT_1.  It's not correct to take
the address of these expressions since they use SCM_VALIDATE_CELL.
(Thanks to Bernard Urban.)
2000-06-02 23:47:11 +00:00
Mikael Djurfeldt
f8d4d8e593 *** empty log message *** 2000-06-02 23:33:21 +00:00
Mikael Djurfeldt
07286af905 * dynl.c: Changed #include <ltdl.h> --> #include
"libltdl/ltdl.h".  (Thanks to Bill Schottstaedt.)
2000-06-02 23:33:10 +00:00
Craig Brozefsky
b6fae158bd * Makefile.am: libguile_la_LDFLAGS gets -version-info args
from GUILE-VERSION definition of LIBGUILE version.  Added to
libpath.h definitions for guileversion and libguileversion which
both get their values from GUILE-VERSION definition.
2000-06-02 06:47:35 +00:00
Dirk Herrmann
7272f6d8b8 * Don't use SCM_SMOB_PREDICATE in header file. 2000-05-30 16:01:34 +00:00
Dirk Herrmann
b272843227 * Removed mit-threads and fsu-threads and references. 2000-05-30 15:56:55 +00:00
Dirk Herrmann
f8eaf8b9a3 * Restored the old behaviour of scm_create_hook. 2000-05-29 07:57:31 +00:00
Dirk Herrmann
e11f8b42f2 * The name property of hooks is deprecated. 2000-05-26 16:31:22 +00:00
Dirk Herrmann
894a712b28 * Un-deprecated the *FIXABLE macros.
* Deprecated SCM_UNPACK_CAR.
* Updated NEWS and RELEASE.
2000-05-25 13:53:49 +00:00
Dirk Herrmann
47457e8a43 * Replace SCM_UNPACK_CAR appropriately.
* Only access cons cells via SCM_{SET}?C[AD]R.
* gc.c:  Remove unused struct member variable 'valid'.
2000-05-25 09:21:06 +00:00
Dirk Herrmann
f9a644042d * Replace SCM_UNPACK_CAR appropriately. 2000-05-24 11:22:38 +00:00
Dirk Herrmann
206d3de31e * Replace SCM_UNPACK_CAR appropriately. 2000-05-23 22:23:56 +00:00
Dirk Herrmann
445f675cf4 * Replace SCM_UNPACK_CAR with SCM_CELL_TYPE or SCM_CELL_WORD_0.
* Only access cons cells via SCM_{SET}?C[AD]R.
* Added documentation for scm_force.
2000-05-23 17:18:37 +00:00
Dirk Herrmann
6ba93e5e88 * Deprecated some unused SCM_NxxxP macros.
* Removed conditionally compiled code depending on 'nosve'.
2000-05-23 15:20:54 +00:00
Michael Livshin
fe517a7d3d * gc.c (scm_heap_seg_data_t): fixed comment for the `span' member. 2000-05-23 12:26:55 +00:00
Michael Livshin
cf00e803d4 *** empty log message *** 2000-05-22 17:46:51 +00:00
Michael Livshin
a564e775fc * guile-doc-snarf.in: put the preprocessed file through sed to
trim all lines to 512 chars.  I hope it doesn't break anybody's
shell.  we'll see.

* gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): reverted
the previous change to this macros, after deciding to torture the
snarfer instead.
2000-05-22 14:03:37 +00:00
Michael Livshin
cebd43927e *** empty log message *** 2000-05-22 07:32:17 +00:00
Michael Livshin
686765af61 * gc.h (SCM_[SET_]CELL_{WORD,OBJECT}, SCM_VALIDATE_CELL): brought
the yucky, ugly and nasty conditional compilation back.  sorry,
but it was either that or requiring GAWK to build Guile.
removed the code that implemented the old GC scheme.

* init.c (scm_boot_guile_1): removed the code conditioned on
!GUILE_NEW_GC_SCHEME.

* __scm.h: (GUILE_NEW_GC_SCHEME): removed.

* gc.c (scm_protect_object, scm_unprotect_object): change the
implementation to more efficient (at least in the time complexity
sense).  the calls should now also be thread-safe -- I suspect
that people expect them to be.  (thanks to Han-Wen Nienhuys)
removed the code that implemented the old GC scheme.

* hashtab.c (scm_hash_fn_create_handle_x): add missing
SCM_REALLOW_INTS before return.
2000-05-21 20:49:20 +00:00
Dirk Herrmann
44e4775494 * Fixed some parameter checks. Thanks to Dale P. Smith. 2000-05-20 10:07:44 +00:00
Dirk Herrmann
46d53380a2 * Added SCM_DEBUG_CELL_ACCESSES debug option. 2000-05-19 15:46:32 +00:00
Dirk Herrmann
1a548472dd * gc.c (scm_cellp): Fixed and simplified.
* Using double cells to represent jump buffers with debug extensions.
2000-05-19 14:03:44 +00:00
Dirk Herrmann
bcee10ddd2 * Where possible, accept const pointers as parameters. 2000-05-18 10:20:22 +00:00
Dirk Herrmann
af45e3b06a * Unified some rest argument checking and handling. 2000-05-18 08:47:52 +00:00
Dirk Herrmann
c8a54c4b87 * __scm.h: Added SCM_DEBUG as default debug option.
* __scm.h: Added debug option SCM_DEBUG_REST_ARGUMENTS.
* eval.c:  Make sure all parameter lists for map and for-each have the
  same length.  Also, removed redundant parameter checks.
2000-05-17 08:35:30 +00:00