1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-02 21:10:27 +02:00
Commit graph

3964 commits

Author SHA1 Message Date
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
Mikael Djurfeldt
f2f551af7a *** empty log message *** 2000-05-24 22:06:21 +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
Mikael Djurfeldt
b80e8a60e7 *** empty log message *** 2000-05-20 10:57:32 +00:00
Mikael Djurfeldt
6a2b0a5e48 * policy/goals.text, policy/principles.text, policy/plans.text:
New files.
2000-05-20 10:57:22 +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
Dirk Herrmann
ae09e7ac28 Updated the macro names for operating on characters. 2000-05-15 11:42:01 +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
1f08acd9ee 2000-05-14 Gary Houston <ghouston@arglist.com>
* boot-9.scm (load-user-init): rewritten.  first work out the home
	directory and then try to open the file (previously it could try
	to open a file in more than one place).  catch exceptions when
	trying to get a directory from the user database.  don't check
	that ~/.guile is not a directory before trying to load it (a lack
	of ~/.guile is not a crime, but if the file is not valid for any
	reason then primitive-load will raise an error).
2000-05-14 22:15:13 +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
5ea6d5318a * abs no longer accepts complex numbers as parameter. 2000-05-11 15:51:56 +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
Marius Vollmer
7bbe9dee9e *** empty log message *** 2000-05-09 19:43:29 +00:00
Marius Vollmer
47678fe3bc * common-list.scm (delete-if-not!): Bug fix of bug fix: change
label of named let to `delete-if-not'.  Sorry.
2000-05-09 19:43:14 +00:00
Marius Vollmer
b54a5b5af5 Do not advertise COPYING as containing the Guile license terms. 2000-05-09 17:19:21 +00:00
Marius Vollmer
6d2bd56d18 Updated some, mostly by removing outdated material. 2000-05-09 17:18:18 +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
de142bea23 Added tests/list.test and tests/numbers.test. (numbers.test does not yet
contain the test cases from thi.)
2000-05-08 17:54:51 +00:00
Dirk Herrmann
57e7f27001 Adopted a couple of nice ideas from Greg. 2000-05-08 17:42:03 +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