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

1714 commits

Author SHA1 Message Date
Jim Blandy
2bf746cc9f * numbers.c (scm_mkbig): Add cast, and note that signed/unsigned
comparison is okay here.
* numbers.c (scm_istr2int): Add cast; len is known to be positive.
* numbers.c (scm_bigcomp): Clarify logic, and avoid relying on the
(true, but confusing) fact that -1 == ((unsigned) 0 - 1).
* numbers.c (scm_adjbig): Make nsiz an scm_sizet, to avoid mixing
signed/unsigned.
1998-09-06 18:15:59 +00:00
Jim Blandy
c7023c693a * load.c (swap_port): Make this function static.
* load.c (scm_search_path): Make max_path_len and max_ext_len
unsigned, since they're compared against string sizes.
* load.c (init_build_info): Make i unsigned.
1998-09-06 18:15:49 +00:00
Jim Blandy
fec5693499 * ioext.h (scm_read_line): Add prototype. 1998-09-06 18:15:40 +00:00
Jim Blandy
a085c2b43a * hashtab.c (scm_hash_fn_get_handle, scm_hash_fn_create_handle_x,
scm_hash_fn_remove_x): Make hash bucket index local variable k
unsigned.  Use scm_ulong2num to pass it to SCM_ASSERT as
accurately as possible.
1998-09-06 18:15:27 +00:00
Jim Blandy
fd88bd7cc2 * gh_data.c (gh_set_substr): Add casts to avoid signed/unsigned
comparisons, and range checking to make sure those casts are
harmless.
1998-09-06 18:15:19 +00:00
Jim Blandy
2d2c87e1e1 *** empty log message *** 1998-09-05 16:51:17 +00:00
Jim Blandy
574f95b63d * stackchk.h (SCM_STACK_OVERFLOW_P): Change definition to avoid
signed/unsigned comparisons.
1998-09-05 16:50:40 +00:00
Jim Blandy
4e6e211987 * smob.c (scm_numsmob): Make this an int, not an scm_sizet, to
avoid signed/unsigned comparisons.
* smob.h (scm_numsmob): Change extern declaration to match.
1998-09-05 16:50:33 +00:00
Jim Blandy
a1c95c454b * ports.c (scm_numptob): Make this an int, not an scm_sizet, to
avoid signed/unsigned comparisons.
* ports.h (scm_numptob): Change extern declaration to match.
(scm_current_load_port, scm_set_port_line_x,
scm_set_port_column_x): New prototypes.
1998-09-05 16:50:24 +00:00
Jim Blandy
952bedad0c * gsubr.c (GSUBR_TEST): Don't #define this. Nobody's using the
test code, and it causes warnings.
1998-09-05 16:50:11 +00:00
Jim Blandy
8804002146 * gh.h (gh_int2scmb, gh_uniform_vector_length,
gh_uniform_vector_ref): Added prototypes.
1998-09-05 16:50:03 +00:00
Jim Blandy
11afb1d3ab * Makefile.am (libguile_la_SOURCES): Include Scheme-level
debugging support unconditionally.  That's backtrace.c, stack.c,
debug.c, and srcprop.c.
(EXTRA_libguile_la_SOURCES): Omit those from here.
* Makefile.in: Regenerated.
1998-09-05 16:49:51 +00:00
Jim Blandy
c176b92b54 * configure.in: Remove --disable-debug option. The debugging
support is pretty stable now, and it's confusing people.
* configure: Regenerated.
1998-09-05 16:48:23 +00:00
Jim Blandy
94ff097743 * HACKING: Remove -Wstrict-prototypes from the list of requested
flags (to match 1998-07-30 change).
1998-09-05 16:47:54 +00:00
Jim Blandy
38b9c0c3aa (This change is part of the group made on 1998-07-30.)
* eval.h (scm_eval_options_interface): Add external prototype for this.
* eval.c (scm_eval_options_interface): Use prototype-style def'n.
1998-09-05 16:19:28 +00:00
Mikael Djurfeldt
a9b70caf57 *** empty log message *** 1998-08-21 08:16:08 +00:00
Mikael Djurfeldt
3243d7231c * options.c (scm_options): Bugfix: Allow empty list of options! 1998-08-21 08:15:31 +00:00
Mikael Djurfeldt
066dacf85d * eval.h, eval.c: New evaluator trap flag: SCM_TRAPS_P. 1998-08-21 08:14:37 +00:00
Mikael Djurfeldt
b6d7594844 * eval.h, eval.c: New evaluator trap flag: SCM_TRAPS_P.
* eval.c (SCM_CEVAL, SCM_APPLY): Removed resetting of trap flags.
Check SCM_TRAPS_P before trapping.
1998-08-21 08:13:55 +00:00
Mikael Djurfeldt
260b141627 * debug.c, debug.h (scm_single_step): Removed.
(scm_with_traps): New procedure.  This procedure could easily be
written in Scheme but needs to be highly optimized.
1998-08-21 08:13:36 +00:00
Mikael Djurfeldt
c9dd46afba *** empty log message *** 1998-08-21 08:08:52 +00:00
Mikael Djurfeldt
b89203a173 * debug.scm (trace-entry, trace-exit): Removed re-enabling of
trace flag.
1998-08-21 08:08:04 +00:00
Mikael Djurfeldt
45456413b8 * boot-9.scm (make-options): Bugfix: Changed pair? --> list? in
order to allow the empty list as arg.
(error-catching-loop): Use `with-traps' to create a dynamic
context with traps enabled.
1998-08-21 08:06:03 +00:00
Mikael Djurfeldt
b8f08e26ad Regenerated 1998-08-21 03:14:24 +00:00
Mikael Djurfeldt
5ef4ef4e18 * boot-9.scm: Removed (ice-9 regex) from use-list of (guile)
module.
(try-using-libtool-name): Removed dependency on (ice-9 regex).
1998-08-19 13:10:26 +00:00
Mikael Djurfeldt
325f42e0de * boot-9.scm: Make the root module use (ice-9 regex) if
available.  The dynamic linking facilities in boot-9.scm are
currently dependent upon regular expressions.  My change of
1998-07-14 removed (ice-9 regex) from the use-list of the root
module and thereby destroyed dynamic linking.
1998-08-15 09:16:43 +00:00
Marius Vollmer
57d09442e7 Undo check commit 1998-08-09 05:16:19 +00:00
Marius Vollmer
fcf479aa5b Check commit 1998-08-09 05:12:16 +00:00
Jim Blandy
6dd787711d *** empty log message *** 1998-07-30 15:14:11 +00:00
Jim Blandy
65030b5fda * qt.h.in (qt_null, qt_error): Add prototypes for these. 1998-07-30 15:13:44 +00:00
Jim Blandy
15e9d186da Changes to avoid signed/unsigned comparison warnings.
* gc.c (scm_mtrigger, scm_heap_size): Make these unsigned longs.
(scm_gc_sweep): Make n and j local to the blocks they're used in,
so they can have appropriate types for each application.  Make i
signed.  Use initializers in some spots.  I'll probably pay for
all this tweaking.
(scm_must_malloc, scm_must_realloc): Use scm_sizet for size args.
(scm_must_realloc): Make nm unsigned.
(init_heap_seg): Make new_seg_index and n_new_objects signed.
(scm_init_storage): Use prototype-style definition, and make the
argument unsigned.
* gc.h (scm_heap_size, scm_mtrigger, scm_must_malloc,
scm_must_realloc, scm_init_storage): Adjust prototype accordingly.
1998-07-30 14:44:28 +00:00
Jim Blandy
6a738a2516 * filesys.c (scm_readlink): Make local vars rv and size ints, to
avoid signed/unsigned comparison warnings, and because the return
value of readlink may be -1.  Don't bother casting the third
argument to readlink.
* filesys.c (scm_dirname, scm_basename): Move these to their own
page, at the end of the file.
* filesys.h (scm_dirname, scm_basename): Add prototypes for these.
1998-07-30 14:44:09 +00:00
Jim Blandy
8ecf1f1359 * eval.h (scm_eval_options_interface): Add external prototype for this.
* eval.c (scm_eval_options_interface): Use prototype-style def'n.
* eval.c (scm_lookupcar1): Make this static.
1998-07-30 14:44:01 +00:00
Jim Blandy
d5cf0efe1f * dynl.h (scm_registered_modules, scm_clear_registered_modules):
Make these prototype declarations, not K&R-style.
1998-07-30 14:43:52 +00:00
Jim Blandy
77364130ed * chars.c (scm_tables_prehistory): Add cast, to remove signed/
unsigned comparison warning.
1998-07-30 14:27:00 +00:00
Jim Blandy
0a1b8b1511 * configure.in: Don't use -Wstrict-prototypes after all.
* configure: Regenerated.
1998-07-30 14:26:51 +00:00
Jim Blandy
5bab3ef814 * appinit.c: File removed. It had a single function in it, empty,
whose reason for existence is explained in no documentation or
comment.  I think it's there as a default for some Tcl-style
initialization, but Tcl abandoned that approach a while ago.
* Makefile.am (libguile_la_SOURCES): Remove appinit.c.
(BUILT_SOURCES): Remove appinit.x.
* Makefile.in: Regenerated.
1998-07-30 14:26:35 +00:00
Jim Blandy
f0c61943c6 *** empty log message *** 1998-07-30 14:19:40 +00:00
Jim Blandy
4ac31e8dcd *** empty log message *** 1998-07-29 18:36:25 +00:00
Jim Blandy
99be345018 * configure.in: Request more warnings.
* configure: Regenerated.
* HACKING: Ask people not to make changes that introduce those
warnings.  Now I have to go through the code and actually bring it
up to standards... :(
1998-07-29 18:34:59 +00:00
Jim Blandy
d2bd3d8dce Reformatted and regrouped. 1998-07-29 18:28:40 +00:00
Jim Blandy
0dcbc17a4e *** empty log message *** 1998-07-29 18:14:42 +00:00
Jim Blandy
2c9a3a4886 * Makefile.in, aclocal.m4, configure: Regenerated using the last
public version of automake, not the hacked Cygnus version.
* config.guess, config.sub, ltconfig, ltmain.sh: New versions from
libtool.
1998-07-29 18:13:48 +00:00
Jim Blandy
3f622d2b2e * Makefile.in: Regenerated using the last public version of
automake, not the hacked Cygnus version.
1998-07-29 18:07:06 +00:00
Jim Blandy
f2ff3045b4 * Makefile.in, md/Makefile.in, time/Makefile.in: Regenerated using
the last public version of automake, not the hacked Cygnus
version.
1998-07-29 18:06:34 +00:00
Jim Blandy
1f5ae2fdb8 *** empty log message *** 1998-07-29 17:20:22 +00:00
Jim Blandy
e0f54bcc36 * configure.in, qthreads.m4: Display a message about how the
threads configuration went.
* aclocal.m4, configure: Regenerated.
1998-07-29 17:20:17 +00:00
Jim Blandy
324a8d986f *** empty log message *** 1998-07-29 17:01:34 +00:00
Jim Blandy
23bcd7adea We're now using the EGCS CVS server. 1998-07-29 12:45:13 +00:00
Jim Blandy
c11f9405f2 Rearranged: we now provide both anonymous CVS access and nightly
snapshots.
1998-07-29 12:35:35 +00:00