Mikael Djurfeldt
4a94d8ca0b
* ports.c (scm_output_port_p): Bugfix: Coerce output port before
...
testing (otherwise the port-print-state trick won't be transparent
to the user; one example where this caused problems was in the
(ice-9 format) module).
1999-08-24 02:11:17 +00:00
Mikael Djurfeldt
55d5475044
* objects.c (scm_class_of): Treat scm_tc16_port_with_ps as ports.
1999-08-24 02:10:47 +00:00
Mikael Djurfeldt
f99c9c2824
* eval.c (scm_init_eval): Use scm_make_smob_type instead of
...
scm_newsmob.
1999-08-24 02:10:19 +00:00
Mikael Djurfeldt
e2e470cf47
*** empty log message ***
1999-08-23 21:27:21 +00:00
Mikael Djurfeldt
1f32586501
* eval.c (SCM_CEVAL): Let the SCM_IM_SLOT_SET_X form return
...
SCM_UNSPECIFIED instead of the set value.
1999-08-23 21:25:49 +00:00
Jim Blandy
43fa9a05fe
Post-release changes for 1.3.2.
1999-08-20 05:55:49 +00:00
Jim Blandy
0a852b9424
*** empty log message ***
1999-08-20 05:39:59 +00:00
Jim Blandy
577905a8dc
*** empty log message ***
1999-08-20 05:24:05 +00:00
Jim Blandy
f8c9d4978d
*** empty log message ***
1999-08-20 05:14:11 +00:00
Jim Blandy
0b3b2958a5
* load.c (scm_init_load_path): Remove support for SCHEME_LOAD_PATH.
1999-08-20 05:13:01 +00:00
Jim Blandy
e8566222c2
Remove support for the #/ path list syntax entirely.
...
* boot-9.scm (read-path-list-notation,
read-path-list-notation-warning): Deleted.
Don't register read-path-list-notation-warning as a reader for
objects starting with '#/'.
1999-08-20 05:12:43 +00:00
Jim Blandy
a343458dbe
*** empty log message ***
1999-08-20 02:46:04 +00:00
Jim Blandy
61e452baa7
* ports.h (enum scm_port_rw_active): New enum, containing
...
SCM_PORT_READ, SCM_PORT_WRITE, and SCM_PORT_NEITHER (instead of
zero). The debugger knows about enums, but doesn't know about
#defines.
(typedef scm_port): Declare rw_active member to be an enum
scm_port_rw_active.
* fports.c (fport_flush, fport_end_input): Use SCM_PORT_NEITHER
instead of zero.
* ports.c (scm_add_to_port_table): Same.
* strports.c (st_flush, st_end_input): Same.
1999-08-20 02:44:14 +00:00
Jim Blandy
66a1057524
* ioext.c (scm_do_read_line, scm_read_line): Use scm_must_malloc,
...
scm_must_realloc, and scm_done_malloc as appropriate.
1999-08-20 02:43:51 +00:00
Jim Blandy
ab8c045cbe
* Makefile.in, aclocal.m4, configure: Regenerated.
1999-08-20 02:41:25 +00:00
Jim Blandy
a05cba6130
*** empty log message ***
1999-08-20 02:39:44 +00:00
Jim Blandy
54161c490f
* Makefile.in: Regenerated.
1999-08-20 02:39:27 +00:00
Mikael Djurfeldt
15d9c4e306
Fixes in comments
1999-08-20 00:19:01 +00:00
Mikael Djurfeldt
1cfda2d332
Removed left-over debugging code
1999-08-19 23:15:05 +00:00
Mikael Djurfeldt
dc4ddb335e
*** empty log message ***
1999-08-19 23:02:49 +00:00
Mikael Djurfeldt
a34af05ece
* sort.c (quicksort): Added condition to protect the algorithm
...
from crashing the interpreter if the less predicate is buggy.
1999-08-19 23:02:00 +00:00
Gary Houston
0eb2e8cd94
1999-08-19 Gary Houston <ghouston@easynet.co.uk>
...
* tests/ports.test: test line-buffering of fports.
1999-08-19 21:29:00 +00:00
Gary Houston
d363921411
1999-08-19 Gary Houston <ghouston@easynet.co.uk>
...
* fports.c (fport_write): fix line-buffering mode again.
(scm_open_file): recognise 'l' for line-buffering.
(scm_setvbuf): recognise _IOLBF for line-buffering.
1999-08-19 21:25:56 +00:00
Mikael Djurfeldt
92d9876b41
Regenerated
1999-08-19 19:35:31 +00:00
Mikael Djurfeldt
266bf340d5
* Makefile.am (libguile_la_LDFLAGS): Increased the version number
...
of libguile to 5.0.
1999-08-19 19:34:14 +00:00
Mikael Djurfeldt
d273bc4b20
*** empty log message ***
1999-08-19 19:09:01 +00:00
Mikael Djurfeldt
3817c7ced1
*** empty log message ***
1999-08-19 19:02:03 +00:00
Mikael Djurfeldt
2ddb09208b
* eval.c (SCM_APPLY), sort.c (closureless): Expand body when
...
evaluating closures.
1999-08-19 19:01:19 +00:00
Gary Houston
7f214e6066
1999-08-18 Gary Houston <ghouston@easynet.co.uk>
...
* tests/ports.test: tests for NUL and non-ASCII chars to fports.
1999-08-18 20:33:18 +00:00
Gary Houston
7a2230a052
I can't sort correctly.
1999-08-18 20:08:25 +00:00
Gary Houston
162d88ca85
1999-08-18 Gary Houston <ghouston@easynet.co.uk>
...
* fports.c (fport_write): use memcpy instead of strncpy, in case
the data contains NUL.
1999-08-18 19:55:23 +00:00
Mikael Djurfeldt
59c49e108a
*** empty log message ***
1999-08-17 21:33:21 +00:00
Mikael Djurfeldt
c56f81195f
* gh.h (gh_vector_to_list): Bugfix. (Thanks to Frank Cieslok.)
1999-08-17 21:31:10 +00:00
Mikael Djurfeldt
6faab78626
*** empty log message ***
1999-08-17 20:59:01 +00:00
Mikael Djurfeldt
d01eb92189
Regenerated
1999-08-17 20:58:45 +00:00
Mikael Djurfeldt
f30a1c9560
* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actually
...
use rl_getc_function. Otherwise smart compilers, like gcc,
optimize away the reference so that no error occurs in the link
phase.
1999-08-17 20:58:19 +00:00
Mikael Djurfeldt
9cd4dfbb06
* ports.h: Renamed scm_lseek () --> scm_seek ().
1999-08-17 18:58:46 +00:00
Mikael Djurfeldt
cce0d8d0a0
*** empty log message ***
1999-08-17 08:48:38 +00:00
Mikael Djurfeldt
92e5aa0e92
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, procprop.h,
...
read.c, srcprop.c, srcprop.h (scm_i_filename, scm_i_line,
scm_i_column, scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source,
scm_i_more, scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else,
scm_i_unquote, scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.
1999-08-17 08:47:47 +00:00
Mikael Djurfeldt
55b0ed6971
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
...
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.
1999-08-17 08:46:51 +00:00
Mikael Djurfeldt
2f0d1375c1
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
...
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.
* eval.c, eval.h (scm_sym_begin, scm_sym_if, scm_sym_and,
scm_sym_case, scm_sym_cond, scm_sym_letstar, scm_sym_do,
scm_sym_define, scm_sym_letrec, scm_sym_atapply,
scm_sym_atcall_cc): Made global.
1999-08-17 08:46:37 +00:00
Mikael Djurfeldt
63c51b9a54
* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,
...
srcprop.c, srcprop.h (scm_i_filename, scm_i_line, scm_i_column,
scm_i_copy, scm_i_name, scm_i_lambda, scm_i_source, scm_i_more,
scm_i_procname, scm_i_dot, scm_i_arrow, scm_i_else, scm_i_unquote,
scm_i_uq_splicing, scm_i_apply, scm_i_enter_frame,
scm_i_apply_frame, scm_i_exit_frame, scm_i_trace, scm_i_quote,
scm_i_begin, scm_i_if, scm_i_and, scm_i_or, scm_i_case,
scm_i_cond, scm_i_letstar, scm_i_do, scm_i_quasiquote,
scm_i_define, scm_i_letrec, scm_i_let, scm_i_atapply,
scm_i_atcall_cc, scm_i_breakpoint): Renamed: Consequently use
scm_sym_ as prefix for symbols.
* debug.c (scm_i_proc, scm_i_args, scm_i_eval_args): Removed.
1999-08-17 08:46:04 +00:00
Mikael Djurfeldt
7f2d92b126
* backtrace.c, backtrace.h, debug.c, debug.h, eval.c, eval.h,
...
gsubr.c, gsubr.h, read.c, read.h, srcprop.c, srcprop.h
(scm_i_filename, scm_i_line, scm_i_column, scm_i_copy, scm_i_name,
scm_i_lambda, scm_i_source, scm_i_more, scm_i_procname, scm_i_dot,
scm_i_arrow, scm_i_else, scm_i_unquote, scm_i_uq_splicing,
scm_i_apply, scm_i_enter_frame, scm_i_apply_frame,
scm_i_exit_frame, scm_i_trace, scm_i_quote, scm_i_begin, scm_i_if,
scm_i_and, scm_i_or, scm_i_case, scm_i_cond, scm_i_letstar,
scm_i_do, scm_i_quasiquote, scm_i_define, scm_i_letrec, scm_i_let,
scm_i_atapply, scm_i_atcall_cc, scm_i_breakpoint): Renamed:
Consequently use scm_sym_ as prefix for symbols.
1999-08-17 08:44:38 +00:00
Mikael Djurfeldt
6ded69e17a
* eval.c (scm_sym_args): Made global.
1999-08-16 15:20:44 +00:00
Mikael Djurfeldt
8b7840b975
*** empty log message ***
1999-08-16 15:19:46 +00:00
Mikael Djurfeldt
c1a6fd8f8a
* objects.c (scm_set_object_procedure_x): Disallow setting of
...
procedures for pure generic functions.
1999-08-16 15:18:54 +00:00
Gary Houston
75efe4535b
1999-08-12 Gary Houston <ghouston@easynet.co.uk>
...
* tests/ports.test: lseek -> seek.
1999-08-12 19:07:19 +00:00
Gary Houston
c94577b445
1999-08-12 Gary Houston <ghouston@easynet.co.uk>
...
* ports.c (scm_seek): one more: was scm_lseek. Also changed the
Scheme name from lseek to seek, but lseek was added recently so
it shouldn't be a big problem.
* ports.c, gdbint.c, ioext.c: changed callers.
1999-08-12 18:58:55 +00:00
Gary Houston
affc96b533
1999-08-11 Gary Houston <ghouston@easynet.co.uk>
...
* fports.c (fport_input_waiting): if select is used, return 1
instead of whatever FD_ISSET expands to. maybe it will be useful
to interpret the value from the input_waiting ptob procedure as a
lower bound on the number of bytes available.
* Mikael asked for a few names to be changed...
* ports.c (scm_make_port_type): take the write procedure as the
second argument instead of the flush procedure.
* ports.h (scm_ptob_descriptor): rename the ptob procedures:
fflush -> flush, read_flush -> end_input, fclose -> close,
fill_buffer -> fill_input, ftruncate -> truncate,
input_waiting_p -> input_waiting.
* ports.c (end_input_void_port): was read_flush_void_port.
(scm_set_port_end_input): was scm_set_port_flush_input.
(scm_set_port_flush): was scm_set_port_write.
(scm_set_port_input_waiting): was scm_set_port_input_waiting_p
(scm_end_input): was scm_read_flush.
(scm_fill_input): was scm_fill_buffer.
(scm_flush): was scm_fflush.
* fports.c (fport_input_waiting): renamed from fport_input_waiting_p.
(fport_end_input): was local_read_flush.
(fport_flush): was local_fflush.
(fport_close): was local_fclose.
(fport_truncate): was local_ftruncate.
(fport_seek): was local_seek.
(fport_free): was local_free.
(fport_fill_input): was fport_fill_buffer.
* strports.c (st_end_input): was st_read_flush.
(st_truncate): was st_ftruncate.
* vports.c: (sf_flush): was sfflush.
(sf_close): was sfclose.
(sf_fill_input): was sf_fill_buffer.
* ports.c, fports.c, strports, vports.c, ioext.c, unif.c, filesys.c:
change callers.
1999-08-11 18:35:42 +00:00
Mikael Djurfeldt
df061ffca7
*** empty log message ***
1999-08-06 19:40:12 +00:00