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

453 commits

Author SHA1 Message Date
Dirk Herrmann
28b06554ca * Unified ssymbols and msymbols to a single symbol type 'scm_tc7_symbol'.
* Added scm_string_hash and deprecated scm_strhash.
2000-09-12 12:30:36 +00:00
Mikael Djurfeldt
302f229e58 *** empty log message *** 2000-09-12 05:44:34 +00:00
Marius Vollmer
17f367e095 *** empty log message *** 2000-09-03 20:47:21 +00:00
Mikael Djurfeldt
69b5f65aaa *** empty log message *** 2000-08-26 20:57:57 +00:00
Marius Vollmer
76ef92f358 *** empty log message *** 2000-08-16 19:30:28 +00:00
Mikael Djurfeldt
41d7d2af42 *** empty log message *** 2000-08-11 09:30:07 +00:00
Mikael Djurfeldt
e478dffa01 *** empty log message *** 2000-08-02 06:11:08 +00:00
Dirk Herrmann
f762051048 * Fixed struct initialization. 2000-07-26 08:35:35 +00:00
Dirk Herrmann
cc4feeca51 * Deprecated function scm_call_catching_errors.
* Updated root-smob initialization.
2000-07-18 07:02:57 +00:00
Michael Livshin
9d47a1e6f2 * gc.c (scm_done_free): new.
expanded comments about scm_done_malloc.

* gc.h: added prototype for scm_done_free
2000-07-15 13:44:04 +00:00
Dirk Herrmann
32d0d4b1e3 * Added note about new global variable scm_gc_running_p. 2000-07-14 07:36:35 +00:00
Dirk Herrmann
b63a956dc5 * Re-introduced some symbols as deprecated. 2000-06-30 17:37:26 +00:00
Mikael Djurfeldt
03cd374d37 Fix 2000-06-21 01:24:56 +00:00
Mikael Djurfeldt
c0997079b4 *** empty log message *** 2000-06-21 01:17:51 +00:00
Mikael Djurfeldt
c299f186ff *** empty log message *** 2000-06-20 22:26:41 +00:00
Mikael Djurfeldt
67ef2dca37 *** empty log message *** 2000-06-20 18:08:59 +00:00
Mikael Djurfeldt
9704841c40 *** empty log message *** 2000-06-20 17:33:57 +00:00
Mikael Djurfeldt
e8855f8d46 *** empty log message *** 2000-06-20 12:33:11 +00:00
Mikael Djurfeldt
b5074b2374 *** empty log message *** 2000-06-20 02:38:36 +00:00
Mikael Djurfeldt
2728d7f43c *** empty log message *** 2000-06-19 22:30:31 +00:00
Mikael Djurfeldt
0a9e521f29 *** empty log message *** 2000-06-19 10:05:54 +00:00
Mikael Djurfeldt
341f78c976 *** empty log message *** 2000-06-12 11:58:48 +00:00
Mikael Djurfeldt
aa4bb95d6a *** empty log message *** 2000-05-30 14:14:11 +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
Mikael Djurfeldt
820920e6a3 *** empty log message *** 2000-04-21 23:15:27 +00:00
Mikael Djurfeldt
e415cb0666 *** empty log message *** 2000-04-21 14:12:45 +00:00
Mikael Djurfeldt
9764c29b8c *** empty log message *** 2000-04-21 00:27:52 +00:00
Mikael Djurfeldt
a0128ebefa *** empty log message *** 2000-04-16 02:04:25 +00:00
Mikael Djurfeldt
7c1e0b12a3 *** empty log message *** 2000-04-15 19:34:09 +00:00
Mikael Djurfeldt
91163914cf *** empty log message *** 2000-03-29 11:02:44 +00:00
Mikael Djurfeldt
f8a72ca4c9 *** empty log message *** 2000-03-12 18:41:47 +00:00
Gary Houston
1a35eadceb mention a stdout port buffer change from a while ago. 2000-03-12 16:32:19 +00:00
Mikael Djurfeldt
2afe9d0e3e *** empty log message *** 2000-03-12 14:28:25 +00:00
Mikael Djurfeldt
f3b5e18566 *** empty log message *** 2000-03-12 01:48:48 +00:00
Mikael Djurfeldt
810e1aecca *** empty log message *** 2000-03-12 00:57:16 +00:00
Mikael Djurfeldt
0af43c4aa5 *** empty log message *** 2000-03-12 00:55:12 +00:00
Gary Houston
bd9e24b301 * strings.h: don't use SCM_P. don't include <string.h>.
* error.c, gh_data.c, ports.c, script.c, strop.c: include <string.h>.

	* strings.c (scm_string_ref): make the 2nd argument compulsory.
	previously it defaulted to zero for no good reason that I can see.
	use a local variable for SCM_INUM (k).  replace
	SCM_VALIDATE_INUM_DEF with SCM_VALIDATE_INUM_COPY.

	(scm_makfromstr): cosmetic changes.

	(scm_string): Accept only chars in the list, not strings, for
	conformance to R5RS (particularly for list->string, which is
	supposed to be the inverse of string->list.)  remove
	SCM_DEFER_INTS/SCM_ALLOW_INTS, which is unnecessary since
	scm_makstr handles the cell allocation.  when reporting wrong-type
	arg, don't report the position as 1.

	* posix.c (scm_init_posix): intern PIPE_BUF if it's defined.

	* boot-9.scm (find-and-link-dynamic-module): pass strings, not symbols,
	to string-append.
2000-01-31 18:29:56 +00:00
Gary Houston
28d77376bc * filesys.c (scm_select, retrieve_select_type, get_element,
fill_select_type, set_element): modified so that Scheme
	"select" tests port buffers for the ability to provide input
	or accept output.  Previously only the underlying file descriptors
	were checked.  Rewrote the docstring.

	* expect.scm (expect): don't call char-ready? before expect-select,
	since select now checks port buffers itself.  don't bother to check
	the time first either, since expect-select does it.
2000-01-29 18:04:38 +00:00
Gary Houston
dc91415623 * configure.in: needs to have --disable-networking, not
--disable-net.
2000-01-14 23:14:33 +00:00
Mikael Djurfeldt
899a7b3c06 *** empty log message *** 2000-01-12 01:54:23 +00:00
Marius Vollmer
e723f8de40 Grammar fix. 2000-01-11 20:35:05 +00:00
Greg J. Badros
7f15e6359b *** empty log message *** 2000-01-11 19:33:39 +00:00
Marius Vollmer
5c1e4bff32 Added blurb about libltdl support. 2000-01-09 21:50:39 +00:00
Gary Houston
38c1d3c4d5 * configure.in: check whether localtime caches TZ. copied from
Emacs 20.5.
	* acconfig.h: add LOCALTIME_CACHE.

	* These changes should make it unnecessary to call tzset from
	Scheme after modifying the TZ environment variable, even if the
	system date facilities cache the value.
	* stime.c (setzone, scm_localtime): added comments.
	(tzset): don't define a noop tzset macro if HAVE_TZSET not defined.
	(setzone): don't call tzset.
	(restorezone): call tzset only if HAVE_TZSET is defined.
	(scm_tzset): don't define if HAVE_TZSET not defined.  Change the
	doc string to indicate that this procedure isn't likely to do
	anything useful.
	(scm_localtime, scm_strftime, scm_mktime): call tzset if
	LOCALTIME_CACHE is defined.
2000-01-09 20:50:03 +00:00
Gary Houston
f25f761dac * eval.c: define scm_unbound_variable_key ('unbound-variable).
scm_lookupcar1: throw an error with key 'unbound-variable instead
	of 'misc-error when an unbound variable is encountered.

	* filesys.c (scm_mkdir, scm_rmdir, scm_getcwd, scm_select,
	scm_symlink, scm_readlink, scm_lstat),
	posix.c (scm_setpgid, scm_setsid, scm_ctermid, scm_tcgetpgrp,
	scm_tcsetpgrp, scm_uname, scm_setlocale, scm_mknod, scm_nice,
	scm_sync),
	simpos.c (scm_system),
	stime.c (scm_times, scm_strptime):
	move the HAVE_XXX feature tests out of the procedure bodies.
	don't use SCM_SYSMISSING.
	scm_validate.h (SCM_SYSMISSING): removed.
	error.h, error.c (scm_sysmissing): comment that this is deprecated.
	see ChangeLog entry for 1999-12-28.
2000-01-09 13:41:53 +00:00
Greg J. Badros
3a596d3c6b *** empty log message *** 1999-12-13 03:57:55 +00:00
Greg J. Badros
62b8227439 *** empty log message *** 1999-12-13 03:47:14 +00:00
Gary Houston
60d0643dbf * ports.c (scm_port_closed_p): new procedure, implements
"port-closed?" suggested by Bernard Urban.
	ports.h: added prototype, removed the SCM_P macros.
1999-12-04 22:59:10 +00:00
Gary Houston
afe5177e7f * acconfig.h: add HAVE_ARRAYS.
* configure.in: add --disable-arrays option, probably temporary.

	* the following changes allow guile to be built with the array
	"module" omitted.  some of this stuff is just tc7 type support,
	which wouldn't be needed if uniform array types were converted
	to smobs.

	* tag.c (scm_utag_bvect ... scm_utag_cvect): don't define unless
	HAVE_ARRAYS.
	(scm_tag): don't check array types unless HAVE_ARRAYS.

	* sort.c (scm_restricted_vector_sort_x, scm_sorted_p):
	remove the unused array types.
	* (scm_stable_sort, scm_sort): don't support vectors if not
	HAVE_ARRAYS.  a bit excessive.

	* random.c (vector_scale, vector_sum_squares,
	scm_random_solid_sphere_x, scm_random_hollow_sphere_x,
	scm_random_normal_vector_x): don't define unless HAVE_ARRAYS.

	* gh_data.c (makvect, gh_chars2byvect, gh_shorts2svect,
	gh_longs2ivect,	gh_ulongs2uvect, gh_floats2fvect, gh_doubles2dvect,
	gh_uniform_vector_length, gh_uniform_vector_ref):
	don't define unless HAVE_ARRAYS.
	(gh_scm2chars, gh_scm2shorts, gh_scm2longs, gh_scm2floats,
	gh_scm2doubles):
	don't check vector types if not HAVE_ARRAYS.

	* eq.c (scm_equal_p), eval.c (SCM_CEVAL), print.c (scm_iprin1),
	gc.c (scm_gc_mark, scm_gc_sweep), objects.c (scm_class_of):
	don't support the array types unless HAVE_ARRAYS is defined.

	* tags.h: make nine tc7 types conditional on HAVE_ARRAYS.

	* read.c (scm_lreadr): don't check for #* unless HAVE_ARRAYS is
	defined (this should use read-hash-extend).

	* ramap.c, unif.c: don't check whether ARRAYS is defined.

	* vectors.c (scm_vector_set_length_x): moved here from unif.c.  call
	scm_uniform_element_size if HAVE_ARRAYS.
	vectors.h: prototype too.

	* unif.c (scm_uniform_element_size): new procedure.

	* init.c (scm_boot_guile_1): don't call scm_init_ramap or
	scm_init_unif unless HAVE_ARRAYS is defined.

	* __scm.h: don't define ARRAYS.

	* Makefile.am (EXTRA_libguile_la_SOURCES): unif.c and ramap.c
	moved here from	libguile_la_SOURCES.


	* Makefile.am (ice9_sources): add arrays.scm.

	* boot-9.scm: load arrays.scm if 'array is provided.

	* arrays.scm: new file with stuff from boot-9.scm.
1999-11-19 18:16:19 +00:00