summaryrefslogtreecommitdiff
path: root/libguile
AgeCommit message (Collapse)AuthorFilesLines
1996-12-18This commit was manufactured by cvs2svn to create tagpre_jimb_debugcvs2svn160-47640/+0
'pre_jimb_debug'.
1996-12-18*** empty log message ***Jim Blandy1-0/+34
1996-12-18In some cases, the code is fine, but GCC isn't smart enough toJim Blandy4-6/+6
figure that out; this usually happens when one variable is only initialized and used when a particular condition holds true, and we know that condition will never change within a given invocation of the function. In this case, we simply initialize the variables to placate the compiler, hopefully to a value which will cause a crash if it is ever actually used. * print.c (scm_iprin1): Initialize mw_pos. * read.c (scm_lreadrecparen): Initialize tl2, ans2. * throw.c (scm_ithrow): Initialize dynpair. * unif.c (scm_uniform_vector_ref): Initialize cra. * struct.c (init_struct): Initialize prot. * mbstrings.c (scm_print_mb_symbol): Initialize mw_pos and inc.
1996-12-18Give GCC more control flow information, so it can be sure thatJim Blandy2-16/+25
variables aren't used uninitialized. * error.h (scm_error, scm_syserror, scm_syserror_msg, scm_sysmissing, scm_num_overflow, scm_out_of_range, scm_wrong_num_args, scm_wrong_type_arg, scm_memory_error, scm_misc_error): Tell GCC that these functions never return. * struct.c (scm_struct_ref, scm_struct_set_x): If we can't figure out the field type, call abort if SCM_ASSERT returns, to placate the optimizer. * stacks.c (scm_make_stack, scm_last_stack_frame): abort if scm_wta ever returns. We can't handle this case anyway, and this gives the optimizer more information. * unif.c (scm_uniform_vector_ref, scm_array_set_x): Abort if scm_wta ever returns. In some cases, the code is fine, but GCC isn't smart enough to figure that out; this usually happens when one variable is only initialized and used when a particular condition holds true, and we know that condition will never change within a given invocation of the function. In this case, we simply initialize the variables to placate the compiler, hopefully to a value which will cause a crash if it is ever actually used. * print.c (scm_iprin1): Initialize mw_pos. * read.c (scm_lreadrecparen): Initialize tl2, ans2. * throw.c (scm_ithrow): Initialize dynpair. * unif.c (scm_uniform_vector_ref): Initialize cra. * struct.c (init_struct): Initialize prot. * mbstrings.c (scm_print_mb_symbol): Initialize mw_pos and inc.
1996-12-18* strports.c (scm_eval_0str): Don't return uninitialized garbageJim Blandy1-1/+1
if EXPR contains no expressions.
1996-12-18Give GCC more control flow information, so it can be sure thatJim Blandy2-12/+33
variables aren't used uninitialized. * error.h (scm_error, scm_syserror, scm_syserror_msg, scm_sysmissing, scm_num_overflow, scm_out_of_range, scm_wrong_num_args, scm_wrong_type_arg, scm_memory_error, scm_misc_error): Tell GCC that these functions never return. * struct.c (scm_struct_ref, scm_struct_set_x): If we can't figure out the field type, call abort if SCM_ASSERT returns, to placate the optimizer. * stacks.c (scm_make_stack, scm_last_stack_frame): abort if scm_wta ever returns. We can't handle this case anyway, and this gives the optimizer more information. * unif.c (scm_uniform_vector_ref, scm_array_set_x): Abort if scm_wta ever returns.
1996-12-18*** empty log message ***Jim Blandy1-0/+6
1996-12-18* eval.c, debug.h: Revert changes of Dec 16 and Nov 21. TheyJim Blandy2-4/+2
cause an infinite loop (???). So much for the algebraic equivalency of variable-sized arrays and alloca...
1996-12-18*** empty log message ***Marius Vollmer2-1/+16
1996-12-18* gc.c (SCM_MTRIGGER_HYSTERESIS): New memory management parameter.Marius Vollmer1-4/+20
(scm_must_malloc, scm_must_realloc): Added a hysteresis to the rules for raising scm_mtrigger. Previously, unfortunate but not unlikely circumstances could result in almost constant invokation of the gc. Now, this situations should be less likely, but they are not prevented completely.
1996-12-18* backtrace.c (scm_display_error): Bugfix: scm_procedure_p returnsMarius Vollmer1-1/+1
a SCM boolean, not a C boolean.
1996-12-17*** empty log message ***Jim Blandy1-0/+1
1996-12-17* numbers.c (scm_fuck): Procedure removed; looks like old test code.Jim Blandy1-1/+0
* numbers.h: Prototype removed.
1996-12-17*** empty log message ***Jim Blandy1-0/+5
1996-12-17* numbers.c (scm_fuck): Procedure removed; looks like old test code.Jim Blandy1-9/+0
1996-12-16*** empty log message ***Jim Blandy1-0/+5
1996-12-16* debug.h (scm_debug_frame): Change `vect' member from an in-lineJim Blandy1-1/+1
array to a pointer, to match my Nov 21 change in eval.c.
1996-12-16*** empty log message ***Jim Blandy1-0/+9
1996-12-16* ramap.c (scm_ra_sum, scm_ra_difference, scm_ra_product,Jim Blandy1-10/+10
scm_ra_divide): Properly terminate statements passed as arguments to IVDEP macros. (Thanks to Bernard Urban.)
1996-12-16* eval.c (SCM_CEVAL): Use alloca, not GCC's extensions for arraysJim Blandy1-1/+3
with non-constant sizes. (Thanks to Bernard Urban.)
1996-12-14*** empty log message ***Mikael Djurfeldt1-0/+19
1996-12-14Regenerated by automake-1.1l.Mikael Djurfeldt1-25/+25
1996-12-13* * strports.c, strports.h: Make scm_eval_0str return the value ofMikael Djurfeldt2-4/+26
the last expression evaluated (previously, it returned void). * * strports.c, strports.h: New function: scm_read_0str. Does what it sounds like.
1996-12-13*** empty log message ***Mikael Djurfeldt1-3/+3
1996-12-13* strings.c (scm_string scm_make_string scm_string_refMikael Djurfeldt1-10/+10
scm_string_set_x scm_string_equal_p scm_string_append): Bugfix according to scm patch from Aubrey Jaffer: Corrected long-standing (not (eqv? (integer->char 128) (string-ref (make-string 1 (integer->char 128)) 0))) bug found by John Kozak <jk@noontide.demon.co.uk>.
1996-12-13* libguile.h: Added #include "libguile/backtrace.h", #includeMikael Djurfeldt1-0/+2
"libguile/stacks.h".
1996-12-13updated the Makefile.in files with the right automake 1.1lMark Galassi2-16/+24
1996-12-12some more work on handlers for ghMark Galassi2-24/+16
1996-12-11* simpos.c (scm_getenv): return #f if string can't be found in theGary Houston2-11/+7
environment instead of throwing an exception, for compatibility with numerous other systems.
1996-12-10guile-snarf script once again used for creating .x filesTom Tromey7-50/+94
1996-12-10*** empty log message ***Jim Blandy1-0/+7
1996-12-10* backtrace.c (scm_display_error_message): Made non-static, andJim Blandy2-4/+5
renamed from display_error_message. * backtrace.h (scm_display_error_message): Added extern decl. * throw.c (uncaught_throw): Use it to display the error message.
1996-12-09Don't print extra newline.Jim Blandy1-7/+20
1996-12-09* ioext.c (scm_sys_ftell): use scm_long2num instead of SCM_MAKINUMGary Houston2-3/+13
to convert the returned value. (scm_sys_fseek): use scm_num2long instead of SCM_INUM to convert the offset argument.
1996-12-09Fixed erroneous use of #ifdefTom Tromey2-1/+5
1996-12-09Rebuilt from Makefile.am.Jim Blandy1-30/+32
1996-12-09* Makefile.am (libpath.h): Re-incorporate Mikael's changes of WedJim Blandy1-1/+3
Oct 30.
1996-12-09*** empty log message ***Jim Blandy1-0/+22
1996-12-09Add new interface to catch/throw, usable from C as well asJim Blandy3-19/+196
Scheme. * throw.h (scm_catch_body_t, scm_catch_handler_t): New types. (scm_internal_catch): New function, replaces... (scm_catch_apply): Deleted. * throw.c (scm_catch_apply): Deleted; replaced with a more general mechanism which is a bit more code, but can be used nicely from C and implement the Scheme semantics as well. (scm_internal_catch): This is the replacement; it's named after the analogous function in Emacs. (scm_catch): Reimplemented in terms of the above. (struct catch_body_data, catch_body, catch_handler): New functions, used by scm_catch. * root.c (cwdr): Reimplemented in terms of scm_internal_catch. (struct cwdr_body_data, cwdr_body, cwdr_handler): New functions; support for new cwdr.
1996-12-08little stuffMark Galassi2-3/+4
1996-12-08*** empty log message ***Marius Vollmer1-0/+21
1996-12-08* acconfig.h: Added DYNAMIC_LINKING symbol.Marius Vollmer2-0/+15
1996-12-08* configure.in: Add option and checks for dynamic linking.Marius Vollmer2-117/+293
1996-12-08* Makefile.am (libguile_a_SOURCES):Marius Vollmer2-57/+57
Added "dynl.c". (modinclude_HEADERS): Added "dynl.h". (EXTRA_DIST): Added "dynl-dl.c", "dynl-dld.c", "dynl-shl.c" and "dynl-vms.c".
1996-12-08* init.c (scm_boot_guile_1): Call scm_init_dynamic_linking toMarius Vollmer1-3/+11
initialize dynamic linking support. * init.c (scm_boot_guile_1): Moved `live' variable to the toplevel (as we Schemers say). It needs to be global, so that I can tweak it for the proper operation of unexec. (scm_boot_guile_1_live): New variable, see above.
1996-12-08Initial revisionMarius Vollmer7-0/+975
1996-12-08Regenerated using patched automake-1.1k.Jim Blandy2-30/+30
1996-12-07some configuration fixes to get gtcltk to work for meMark Galassi1-21/+16
1996-12-07Re-removed files restored after crashTom Tromey1-1/+1
1996-12-03Changes to use automake-generated Makefile.ins everywhereTom Tromey10-1104/+1262