summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
1999-08-26This commit was manufactured by cvs2svn to create tagmdj_post_subr_tablecvs2svn13-2468/+0
'mdj_post_subr_table'.
1999-08-26* procs.c, procs.h (scm_subr_entry): New type: Stores dataMikael Djurfeldt15-128/+614
associated with subrs. (SCM_SUBRNUM, SCM_SUBR_ENTRY, SCM_SUBR_GENERIC, SCM_SUBR_PROPS, SCM_SUBR_DOC): New macros. (scm_subr_table): New variable. (scm_mark_subr_table): New function. * init.c (scm_boot_guile_1): Call scm_init_subr_table. * gc.c (scm_gc_mark): Don't mark subr names here. (scm_igc): Call scm_mark_subr_table. * snarf.h (SCM_GPROC, SCM_GPROC1): New macros. * procs.c, procs.h (scm_subr_p): New function (used internally). * gsubr.c, gsubr.h (scm_make_gsubr_with_generic): New function. * objects.c, objects.h (scm_primitive_generic): New class. * objects.h (SCM_CMETHOD_CODE, SCM_CMETHOD_ENV): New macros. * print.c (scm_iprin1): Print primitive-generics. * __scm.h (SCM_WTA_DISPATCH_1, SCM_GASSERT1, SCM_WTA_DISPATCH_2, SCM_GASSERT2): New macros. * eval.c (SCM_CEVAL, SCM_APPLY): Replace scm_wta --> SCM_WTA_DISPATCH_1 for scm_cxr's (unary floating point primitives). NOTE: This means that it is now *required* to use SCM_GPROC1 when creating float scm_cxr's (float scm_cxr's is an obscured representation that will be removed in the future anyway, so backward compatibility is no problem here). * numbers.c: Converted most numeric primitives (all but bit comparison operations and bit operations) to dispatch on generic if args don't match. * eval.c, eval.h (scm_eval_body): New function. * objects.c (scm_call_generic_0, scm_call_generic_1, scm_call_generic_2, scm_call_generic_3, scm_apply_generic): New functions. * eval.c (SCM_CEVAL): Apply the cmethod directly after having called scm_memoize_method instead of doing a second lookup. * objects.h (scm_memoize_method): Now returns the memoized cmethod. * procs.c (scm_make_subr_opt): Use scm_sysintern0 instead of scm_sysintern so that the binding connected with the subr name isn't cleared when we give set = 0.
1999-08-24fixMikael Djurfeldt1-3/+3
1999-08-24*** empty log message ***Mikael Djurfeldt2-0/+24
1999-08-24* boot-9.scm: Removed old style hooks.Mikael Djurfeldt1-49/+2
(inherit-print-state): Rwwritten to use port-with-print-state.
1999-08-24*** empty log message ***Mikael Djurfeldt1-0/+28
1999-08-24* print.h (SCM_PORT_WITH_PS_P, SCM_PORT_WITH_PS_PORT,Mikael Djurfeldt1-4/+10
SCM_PORT_WITH_PS_PS): Represent ports with print states as a smob instead of a pair of a port and a print state. We'll need to cons once extra in scm_printer_apply but the type system will be cleaner, it will mix better with GOOPS, and, it will be even more transparent to the user.
1999-08-24* print.c (scm_get_print_state): New procedure: Given an outputMikael Djurfeldt1-40/+59
port, return the print state associated to it in the current print chain, if one exists; (scm_port_with_print_state): New procedure: Associate a print-state with a port. (scm_valid_oport_value_p): Use SCM_PORT_WITH_PS_P; (scm_printer_apply): Wrap port and pstate as a smob; (print_state_printer): Removed.
1999-08-24* ports.c (scm_output_port_p): Bugfix: Coerce output port beforeMikael Djurfeldt1-2/+4
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* objects.c (scm_class_of): Treat scm_tc16_port_with_ps as ports.Mikael Djurfeldt1-7/+9
1999-08-24* eval.c (scm_init_eval): Use scm_make_smob_type instead ofMikael Djurfeldt1-3/+3
scm_newsmob.
1999-08-23*** empty log message ***Mikael Djurfeldt1-0/+5
1999-08-23* eval.c (SCM_CEVAL): Let the SCM_IM_SLOT_SET_X form returnMikael Djurfeldt1-2/+3
SCM_UNSPECIFIED instead of the set value.
1999-08-20Post-release changes for 1.3.2.Jim Blandy4-27/+5
1999-08-20*** empty log message ***Jim Blandy1-0/+2
1999-08-20*** empty log message ***Jim Blandy5-39/+13
1999-08-20*** empty log message ***Jim Blandy4-6/+27
1999-08-20* load.c (scm_init_load_path): Remove support for SCHEME_LOAD_PATH.Jim Blandy1-12/+0
1999-08-20Remove support for the #/ path list syntax entirely.Jim Blandy1-47/+0
* 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*** empty log message ***Jim Blandy2-0/+20
1999-08-20* ports.h (enum scm_port_rw_active): New enum, containingJim Blandy4-13/+18
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* ioext.c (scm_do_read_line, scm_read_line): Use scm_must_malloc,Jim Blandy1-4/+6
scm_must_realloc, and scm_done_malloc as appropriate.
1999-08-20* Makefile.in, aclocal.m4, configure: Regenerated.Jim Blandy3-463/+128
1999-08-20*** empty log message ***Jim Blandy1-0/+4
1999-08-20* Makefile.in: Regenerated.Jim Blandy1-39/+9
1999-08-20Fixes in commentsMikael Djurfeldt1-3/+6
1999-08-19Removed left-over debugging codeMikael Djurfeldt1-1/+0
1999-08-19*** empty log message ***Mikael Djurfeldt1-0/+5
1999-08-19* sort.c (quicksort): Added condition to protect the algorithmMikael Djurfeldt1-3/+21
from crashing the interpreter if the less predicate is buggy.
1999-08-191999-08-19 Gary Houston <ghouston@easynet.co.uk>Gary Houston2-0/+18
* tests/ports.test: test line-buffering of fports.
1999-08-191999-08-19 Gary Houston <ghouston@easynet.co.uk>Gary Houston2-4/+25
* 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-19RegeneratedMikael Djurfeldt1-1/+1
1999-08-19* Makefile.am (libguile_la_LDFLAGS): Increased the version numberMikael Djurfeldt2-1/+4
of libguile to 5.0.
1999-08-19*** empty log message ***Mikael Djurfeldt1-1/+0
1999-08-19*** empty log message ***Mikael Djurfeldt1-0/+5
1999-08-19* eval.c (SCM_APPLY), sort.c (closureless): Expand body whenMikael Djurfeldt2-3/+19
evaluating closures.
1999-08-181999-08-18 Gary Houston <ghouston@easynet.co.uk>Gary Houston2-0/+25
* tests/ports.test: tests for NUL and non-ASCII chars to fports.
1999-08-18I can't sort correctly.Gary Houston1-1/+1
1999-08-181999-08-18 Gary Houston <ghouston@easynet.co.uk>Gary Houston3-1/+7
* fports.c (fport_write): use memcpy instead of strncpy, in case the data contains NUL.
1999-08-17*** empty log message ***Mikael Djurfeldt2-0/+3
1999-08-17* gh.h (gh_vector_to_list): Bugfix. (Thanks to Frank Cieslok.)Mikael Djurfeldt1-1/+1
1999-08-17*** empty log message ***Mikael Djurfeldt1-0/+7
1999-08-17RegeneratedMikael Djurfeldt1-1/+1
1999-08-17* configure.in (HAVE_RL_GETC_FUNCTION): Modified test to actuallyMikael Djurfeldt1-1/+1
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* ports.h: Renamed scm_lseek () --> scm_seek ().Mikael Djurfeldt1-1/+1
1999-08-17*** empty log message ***Mikael Djurfeldt1-0/+21
1999-08-17* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, procprop.h,Mikael Djurfeldt4-40/+40
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* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,Mikael Djurfeldt1-4/+4
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* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,Mikael Djurfeldt2-80/+92
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* backtrace.c, debug.c, eval.c, eval.h, gsubr.c, read.c,Mikael Djurfeldt1-18/+14
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.