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

2412 commits

Author SHA1 Message Date
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
Dirk Herrmann
5610071627 * Makefile.am: Let 'make clean' remove *.x and *.doc files.
* Renamed SCM_STRICT_TYPING to SCM_DEBUG_TYPING_STRICTNESS.
* Removed conditionally compiled code for Turbo C.
* gdbint.c:  Eliminated call to scm_tag.
2000-05-16 12:11:08 +00:00
Dirk Herrmann
3c9f20f849 Reordered some dispatch sequences. 2000-05-16 09:06:23 +00:00
Gary Houston
8536a9827f *** empty log message *** 2000-05-15 21:24:48 +00:00
Gary Houston
e652b54fef 2000-05-15 Gary Houston <ghouston@arglist.com>
* stime.c (scm_strftime): don't reset TZ if zone is an empty
	string.  append a "0" to the zone for TZ.
2000-05-15 21:23:31 +00:00
Dirk Herrmann
78166ad555 * Reordered some dispatch sequences.
* scm_bit_extract:  Fixed handling of bignums.
2000-05-15 17:03:59 +00:00
Dirk Herrmann
f5f2dcffbe * Wrapped deprecated code between #if (SCM_DEBUG_DEPRECATED == 0) #endif.
* Replace use of deprecated macros SCM_INPORTP, SCM_OUTPORTP, SCM_ICHRP.
2000-05-15 11:47:48 +00:00
Gary Houston
32f1b9fd51 *** empty log message *** 2000-05-14 22:16:32 +00:00
Gary Houston
b8a1b29b90 2000-05-14 Gary Houston <ghouston@arglist.com>
* stime.c (scm_strftime): if HAVE_TM_ZONE is not defined, hack the
	TZ environment variable so that the %Z format returns the zone
	from the input vector instead of the system default.
2000-05-14 22:15:59 +00:00
Gary Houston
07ccd85d6a *** empty log message *** 2000-05-14 10:48:19 +00:00
Gary Houston
2c1ae20ebc 2000-05-14 Gary Houston <ghouston@arglist.com>
from Keisuke Nishida:
	* fports.c (scm_setvbuf): minor docstring fix.
	* ports.h (scm_generic_fgets): obsolete prototype deleted.
2000-05-14 10:47:39 +00:00
Dirk Herrmann
3a9809dfde * __scm.h: Added section for debugging options.
* New debugging option SCM_DEBUG_DEPRECATED.
* numbers.c numbers.h:  Deprecated a lot of stuff.
2000-05-11 16:03:32 +00:00
Dirk Herrmann
e828cb75d4 * Scheme cells now consist of scm_bits_t values instead of SCM values.
* Use SCM_SETC[AD]R to modify contents of pairs.
2000-05-10 14:04:48 +00:00
Dirk Herrmann
5986c47d3a * Added FIXME comment about the problems with infinite numbers.
* abs/magnitude:  Made independent of each other.
* Avoid using REALPART for real objects.
2000-05-10 13:42:23 +00:00
Dirk Herrmann
eb42e2f03a More distinguished handling of real and complex values. 2000-05-10 12:34:43 +00:00
Dirk Herrmann
7235ee58f5 IS_INF: Undid last change. 2000-05-10 09:25:11 +00:00
Dirk Herrmann
bb62879452 * Added comments.
* Removed static function add1.
2000-05-09 16:55:54 +00:00
Dirk Herrmann
98cb6e75f5 * Fixed IS_INF.
* Reordered some dispatch sequences.
2000-05-09 12:58:53 +00:00
Marius Vollmer
c45c2b6b3e *** empty log message *** 2000-05-08 22:50:01 +00:00
Marius Vollmer
a343eca9fc * scmsigs.c (take_signal): Execute SCM_ASYNC_TICK for SIGSEGV,
SIGILL and SIGBUS signals.  These signals are not continuable and
must be handled for real right away.
2000-05-08 22:49:44 +00:00
Dirk Herrmann
c2ff8ab0f3 Reordered some dispatch sequences. 2000-05-08 19:34:20 +00:00
Dirk Herrmann
1a45015332 Avoid pointer trickery with SCM values. 2000-05-08 12:29:12 +00:00
Dirk Herrmann
665aeda3e5 Use SCM{_SET}?_CELL_OBJECT if a cell is not known to be a valid pair yet. 2000-05-08 11:53:01 +00:00
Dirk Herrmann
ab66ae47f2 * eval.c: Removed ASRTSYNTAX macro. Removed function 'bodycheck'.
* stacks.c:  Removed unused calculations, minimized variable scopes.
2000-05-08 09:57:29 +00:00
Dirk Herrmann
4983cbe405 * Use SCM{_SET}?_CELL_OBJECT to access cells that are no valid pairs yet.
* Eliminated redundant SCM_IMP test.
2000-05-05 16:19:30 +00:00
Dirk Herrmann
44d3cb0d1b * eval.c: Eliminated redundant SCM_IMP tests.
* hashtab.c, weaks.c: Fixed critical sections.  Thanks to Keisuke Nishida.
2000-05-05 11:10:57 +00:00
Dirk Herrmann
9a00c9fc85 Fixed some goto-related initialization bugs. 2000-05-05 01:30:31 +00:00
Marius Vollmer
7eea529607 Fixed typo. 2000-05-04 18:43:23 +00:00
Dirk Herrmann
b82c6ce052 Avoid modifications of cells via pointers. Use SCM_SET_CELL... instead. 2000-05-04 08:07:18 +00:00
Marius Vollmer
106428b3fe *** empty log message *** 2000-05-03 22:41:23 +00:00