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

3751 commits

Author SHA1 Message Date
Han-Wen Nienhuys
7200a36b83 (scm_make_real): prevent reordering of statements 2002-08-28 22:45:48 +00:00
Han-Wen Nienhuys
9981de3a2b prepend libguile/ to include path 2002-08-27 10:58:01 +00:00
Marius Vollmer
1964755626 *** empty log message *** 2002-08-26 21:46:43 +00:00
Marius Vollmer
e62b37a0a3 (scm_compile_shell_switches): Added "2002" to Copyright years. Thanks
to Martin Grabmüller!
2002-08-26 21:46:22 +00:00
Han-Wen Nienhuys
38d1262ab5 (scm_i_get_new_heap_segment): use float in stead of
unsigned numbers for computing minimum heap increment. This
prevents weird results when a a negative minimum increment is computed.
2002-08-25 15:26:14 +00:00
Marius Vollmer
f800ebfb00 *** empty log message *** 2002-08-24 00:57:47 +00:00
Marius Vollmer
8cbb63c795 When we have __libc_stack_end, use that directly instead the old
tricks.
2002-08-24 00:57:14 +00:00
Marius Vollmer
34690e5338 Do not expect the input file to be the first argument after the
optional "-o" option, just pass everything to the pre-processor
without extracting the input file name.
2002-08-24 00:53:44 +00:00
Han-Wen Nienhuys
4a5309c938 (scm_i_get_new_heap_segment): Oops. We want segment
length *at* least SCM_MIN_HEAP_SEG_SIZE, not at most.
2002-08-23 00:05:58 +00:00
Gary Houston
917adc55ac *** empty log message *** 2002-08-22 18:20:36 +00:00
Han-Wen Nienhuys
f2893a253e make scm_cells_allocated unsigned again. Thanks to
Bill Schottstaedt for the bug report
2002-08-21 22:40:03 +00:00
Marius Vollmer
483f518bd4 *** empty log message *** 2002-08-19 23:25:33 +00:00
Marius Vollmer
3c568abbe3 Updated copyright years. 2002-08-19 23:23:23 +00:00
Marius Vollmer
f76af603e1 (scm_iprin1): Print primitives generics always as "primitive-generic"
even when they have no primitive methods yet.
2002-08-19 23:22:42 +00:00
Gary Houston
d900cd6dd4 * coop.c (coop_create): removed bogus 2nd argument in scm_malloc
call.
2002-08-17 20:39:35 +00:00
Han-Wen Nienhuys
85835e5991 * ports.c (scm_add_to_port_table): small bugfix.
* ports.c (scm_add_to_port_table): add backwards compatibility
function
2002-08-16 22:07:26 +00:00
Han-Wen Nienhuys
67329a9eef * mallocs.c (scm_malloc_obj): use scm_gc_malloc in stead of
malloc.

* gc-segment.c (scm_i_get_new_heap_segment): remove cluster cruft:
only use SCM_MIN_HEAP_SEG_SIZE.

* ports.c (scm_add_to_port_table): add backwards compatibility
function

* ports.h: use scm_i_ prefix for port table and port table size.
2002-08-16 22:01:10 +00:00
Mikael Djurfeldt
f07c886abb * vports.c (scm_make_soft_port): Initialize pt variable. 2002-08-15 21:17:21 +00:00
Marius Vollmer
dc61cbc6cd *** empty log message *** 2002-08-13 20:54:36 +00:00
Marius Vollmer
209b52fecd * strports.h (scm_c_eval_string_in_module,
scm_eval_string_in_module): New prototypes.
* strports.c (scm_eval_string_in_module): New, but use
"eval-string" as the Scheme name and make second parameter
optional.
(scm_eval_string): Implement using scm_eval_string_in_module.
(scm_c_eval_string_in_module): New.
Thanks to Ralf Mattes for the suggestion!
2002-08-13 20:54:12 +00:00
Han-Wen Nienhuys
be3ff02158 * gc-card.c ("sweep_card"): remove SCM_MISC_ERROR messages: print
message and abort.

* gc-mark.c ("scm_gc_mark_dependencies"): idem.
2002-08-08 23:18:23 +00:00
Han-Wen Nienhuys
da220f2794 ("scm_new_port_table_entry"): return a boxed SCM in
stead of scm_t_port*. The function now takes a tag argument.
2002-08-08 23:02:28 +00:00
Han-Wen Nienhuys
eab1b25970 * gc.h: add scm_debug_cells_gc_interval to public interface
* gc-card.c ("sweep_card"): set scm_gc_running while sweeping.

* gc.c (scm_i_expensive_validation_check): separate expensive
validation checks from cheap ones.
2002-08-08 19:47:31 +00:00
Han-Wen Nienhuys
0f8ae50a81 (scm_input_error): new function: give meaningful error
messages, and throw read-error
2002-08-05 23:11:59 +00:00
Han-Wen Nienhuys
ba1b222692 * tests/reader.test: change misc-error in read-error.
* read.c (scm_input_error): new function: give meaningful error
messages, and throw read-error

* gc-malloc.c (scm_calloc): add scm_calloc.

* scheme-memory.texi (Memory Blocks): add scm_calloc, scm_gc_calloc.
correct typos.
2002-08-05 23:04:44 +00:00
Han-Wen Nienhuys
33138b0567 remove GC bits documentation from the tags table. 2002-08-05 17:46:34 +00:00
Han-Wen Nienhuys
39e8f371e2 (INPUT_ERROR): Prepare for file:line:column error
messages for errors in scm_lreadr() and friends.
2002-08-04 23:33:28 +00:00
Han-Wen Nienhuys
5f16b8973e init port entry 2002-08-04 16:10:19 +00:00
Han-Wen Nienhuys
402788a938 port GC fix 2002-08-04 15:25:07 +00:00
Han-Wen Nienhuys
c2cbcc5768 gc statistic tweaks 2002-08-04 14:09:14 +00:00
Han-Wen Nienhuys
c7743d027a more code 2002-08-04 00:18:33 +00:00
Han-Wen Nienhuys
c8a1bdc460 new gc 2002-08-04 00:17:18 +00:00
Marius Vollmer
aea06b34a5 *** empty log message *** 2002-07-25 12:12:33 +00:00
Marius Vollmer
dfd71abaf0 (rstate_free): Return zero. 2002-07-25 12:12:21 +00:00
Dirk Herrmann
35060ae90e * environments.c (remove_key_from_alist): Removed.
(obarray_remove):  Simplified.
2002-07-24 16:34:43 +00:00
Stefan Jahn
6a53544072 2002-07-24 Stefan Jahn <stefan@lkcc.org>
* continuations.h: ia64: Include <signal.h> before
        <sys/ucontext.h>.
2002-07-24 09:25:24 +00:00
Han-Wen Nienhuys
afc8e572ba (mscripts): find and check version number of
automake. Complain if 1.6 is not found.
2002-07-22 00:17:26 +00:00
Dirk Herrmann
bcbd25b74f * modules.c (scm_sym2var): Don't compare SCM values with ==. 2002-07-21 21:18:27 +00:00
Han-Wen Nienhuys
1d1559ce6d * macros.c: include deprecation.h
* vectors.c (s_scm_vector_move_right_x): remove side effect in
macro arg.
(s_scm_vector_move_left_x): idem.

* net_db.c, posix.c, socket.c: variable naming: change ans to
result.

* sort.c (scm_merge_vector_x): accept vector as argument
iso. SCM*. This is needed for full GC correctness.

* gc.h: undo previous undocumented changes related to #ifdef
GENGC.
2002-07-21 17:46:23 +00:00
Han-Wen Nienhuys
34d19ef643 2002-07-20 Han-Wen <hanwen@cs.uu.nl>
* *.c: add space after commas everywhere.

* *.c: use SCM_VECTOR_SET everywhere, where a vector is written.
Document cases where SCM_WRITABLE_VELTS() is used.

* vectors.h (SCM_VELTS): prepare for write barrier, and let
SCM_VELTS() return a const pointer
(SCM_VECTOR_SET): add macro.

* autogen.sh (mscripts): find and check version number of
autoconf. Complain if 2.53 is not found.
2002-07-20 14:08:34 +00:00
Dirk Herrmann
3063e30a6d * eval.c (SCM_CEVAL), macros.c (macro_print, scm_makmacro,
scm_sym_macro, scm_macro_type), macros.h (scm_makmacro):
Deprecated the special kind of built-in dynamic syntax transformer
that was inaccurately named "macro".  Note:  The built-in syntax
transformers that are named "mmacro" or "memoizing-macro" still
exist, and it is these which come much closer to what one would
call a macro.
2002-07-15 20:39:53 +00:00
Neil Jerram
4c5f8e8fe0 Fix for 1001-local-eval-error-backtrace-segfaults. 2002-07-14 15:43:24 +00:00
Gary Houston
4f6f9ae3d3 * dynl.c: Don't define stub procedures if DYNAMIC_LINKING is not
defined.  They don't do anything useful, especially since the
	only case where DYNAMIC_LINKING is undefined seems to be
	when --with-modules=no is given to configure, which is basically
	requesting that the "dynamic linking module" be omitted.

	* Makefile.am (libguile_la_SOURCES): move dynl.c from
	libguile_la_SOURCES to EXTRA_libguile_la_SOURCES.

	* extensions.c (load_extension): check DYNAMIC_LINKING for
	scm_dynamic_call.
	* init.c (scm_init_guile_1): check DYNAMIC_LINKING for
	scm_init_dynamic_linking.

	* configure.in: check dynamic linking before modules.  Add dynl.c
	if dynamic linking is available, i.e., unless --with-modules=no
	was given to configure.
2002-07-12 17:46:15 +00:00
Marius Vollmer
c21935e6cd *** empty log message *** 2002-07-11 23:20:45 +00:00
Gary Houston
9540b68f94 * eq.c: include <string.h> 2002-07-10 22:25:55 +00:00
Gary Houston
ee95d597c7 * dynl.c: docstring editing. 2002-07-10 22:20:16 +00:00
Marius Vollmer
f87c105ae3 No need to check for Cygwin when including <winsock2.h>, this is
already check for by configure.  Thus, revert change from 2002-07-07.
2002-07-10 19:40:43 +00:00
Gary Houston
46732b5441 * dynl.c (scm_dynamic_call): docstring editing. 2002-07-09 22:40:03 +00:00
Rob Browning
c09d12e0fd *** empty log message *** 2002-07-09 04:42:49 +00:00
Rob Browning
9c52b21814 * gc_os_dep.c: HURD fixes. 2002-07-08 23:41:00 +00:00