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

3563 commits

Author SHA1 Message Date
Rob Browning
f3dc9ef288 * .cvsignore: add versiondat.h and *.c.clean.c. 2002-04-11 04:30:47 +00:00
Dirk Herrmann
bc76d62865 * srcprop.[ch] (scm_c_source_property_breakpoint_p): New
function, replaces macro SRCBRKP.

(SRCBRKP):  Deprecated.

* eval.c (SCM_CEVAL): Replaced use of SRCBRKP by call to
scm_c_source_property_breakpoint_p.  Removed some use of arg1 as
temporary variable.
2002-03-26 00:19:04 +00:00
Dirk Herrmann
5132eef0cf * debug.h, eval.c: Deprecated CHECK_ENTRY, CHECK_APPLY and
CHECK_EXIT and removed all references to them.
2002-03-25 23:45:02 +00:00
Dirk Herrmann
680516ba5f * debug.h (scm_ready_p, debug_print): Removed declarations.
* eval.c (EVALCELLCAR): Removed.

(SCM_CEVAL): Eliminated label loopnoap.  Removed side-effecting
operation from condition.
2002-03-24 22:19:46 +00:00
Marius Vollmer
e2bd68e02c *** empty log message *** 2002-03-24 13:49:14 +00:00
Marius Vollmer
2c7a286a97 (.c.x): Pass "-o $@" to guile-snarf. 2002-03-24 13:48:34 +00:00
Marius Vollmer
66c4b10985 When the output filename is "-", write to stdout. When no "-o" option
is given, use "-" as the output filename (i.e., stdout).  Only 'clean'
the inputfile or remove the output file on error when the output file
name is not "-".  Define the preprocessor macro SCM_MAGIC_SNARFER
while snarfing.
2002-03-24 13:47:06 +00:00
Dirk Herrmann
ab1f10940c * eval.c (SCM_CEVAL, SCM_APPLY): Eliminated labels wrongnumargs
and the corresponding goto statements.  Removed redundant code.
2002-03-23 00:39:25 +00:00
Dirk Herrmann
42030fb275 * eval.c (SCM_CEVAL): Minimized scope of variable arg2.
Eliminated redundant SCM_IMP check.  Exlined call to EVALCAR.
Re-enabled handing of rpsubrs and asubrs.
2002-03-21 00:36:03 +00:00
Dirk Herrmann
e050d4f824 * eval.c (SIDEVAL): Removed.
(SCM_CEVAL): Minimized scope of variable orig_sym.  Eliminated
goto-labels cdrxnoap, cdrxbegin and nontoplevel_cdrxnoap.  Changed
argument checking order for set! to locals, variables and symbols.
Improvements to control structure.  Removed some uses of arg1 and
arg2 as temporary variables.
2002-03-20 23:53:13 +00:00
Neil Jerram
387d418c55 * Manual updates on hooks and features.
* Fix scm_t_c_hookype_t corruption.
2002-03-16 00:27:25 +00:00
Thien-Thi Nguyen
b193d130d8 Typofix. 2002-03-15 14:25:54 +00:00
Thien-Thi Nguyen
a6d344d347 *** empty log message *** 2002-03-15 14:02:18 +00:00
Thien-Thi Nguyen
77b26c9397 Remove "--compat=1.4" support.
Add "-d" and "-D" support.

(deprecated_list): New var.
(compat_mode_clean_xxx): Delete.
(grep_deprecated): New func.
("main"): If "-d" or "-D", call `grep_deprecated'.
2002-03-15 14:00:02 +00:00
Neil Jerram
bb2c02f237 Small docstring fixes. 2002-03-15 10:37:40 +00:00
Neil Jerram
3939e9df35 Change 3 instances of @var to @code in docstrings. 2002-03-15 09:40:57 +00:00
Marius Vollmer
500b0d5b72 *** empty log message *** 2002-03-14 22:25:57 +00:00
Marius Vollmer
a08b0d0058 (singp): Use SCM_REALP instead of SCM_SLOPPY_REALP. 2002-03-14 22:25:31 +00:00
Marius Vollmer
3b3cc78115 *** empty log message *** 2002-03-14 22:23:56 +00:00
Marius Vollmer
09e804ff6f (SCM_SNARF_INIT): Add "^:^" after code so that guile-snarf can remove
trailing non-init code.
2002-03-14 22:23:43 +00:00
Marius Vollmer
d3bd0027d4 (modern_snarf): Remove everything following and including "^:^" from
the output.
2002-03-14 22:21:53 +00:00
Dirk Herrmann
dff9830622 * eval.c (SCM_CEVAL), srcprop.h (SRCBRKP): Eliminated union 't'.
* eval.c (SCM_CEVAL): Exlined call to EVALCAR.
2002-03-14 06:45:56 +00:00
Thien-Thi Nguyen
822250a42c *** empty log message *** 2002-03-14 03:50:01 +00:00
Thien-Thi Nguyen
a6b844c224 Retire inclusion guard macro SCM_MAGIC_SNARFER. 2002-03-14 03:47:43 +00:00
Thien-Thi Nguyen
2287fb53d4 *** empty log message *** 2002-03-14 03:28:39 +00:00
Thien-Thi Nguyen
e9c3d3f96a (libpath.h): Use @top_srcdir_absoulte@.
(snarfcppopts): New var.
(.c.x): Use $(snarfcppopts). Rework guile-snarf usage.
(.c.doc): Use $(snarfcppopts).
2002-03-14 03:21:30 +00:00
Thien-Thi Nguyen
9bc6fb0a7d Update copyright.
Rewrite to internalize error handling.
Add commentary.
2002-03-14 03:19:30 +00:00
Dirk Herrmann
b7798e1067 * eval.c (SCM_CEVAL): Got rid of the last reference to t.lloc.
The next step will be to remove the union 't' and simplify the
code of SCM_CEVAL that way.
2002-03-13 21:53:46 +00:00
Neil Jerram
04a98cff96 * iselect.c (collisionp, gnfds, greadfds, gwritefds, gexceptfds,
rreadfds, rwritefds, rexceptfds): Made static.

	* gc.c (terminating), fports.c (terminating): Renamed
	scm_i_terminating.
2002-03-12 21:12:25 +00:00
Marius Vollmer
5046250eb7 *** empty log message *** 2002-03-11 19:10:47 +00:00
Marius Vollmer
ba74ef4eae (scm_divide): Adapt code from libstdc++/f2c to void potential overflow
problems.  Thanks to John W Eaton!
2002-03-11 19:10:01 +00:00
Marius Vollmer
8794207d2e Corrected function name in entry header. 2002-03-11 17:57:47 +00:00
Marius Vollmer
16d98032a4 *** empty log message *** 2002-03-11 17:52:56 +00:00
Marius Vollmer
d955de820d Removed FIXME comment about hoos for malloc and free. 2002-03-11 17:51:52 +00:00
Marius Vollmer
ff0a837c20 (scm_string_capitalize_x): Treat characters as unsigned so that 8-bit
chars work.  Thanks to David Pirotte!
2002-03-11 17:51:18 +00:00
Dirk Herrmann
1d15ecd303 * eval.c (SCM_CEVAL): Cleaned up the handling of 'slot-ref',
'slot-set!' and 'nil-cond'.  Removed some uses of t.arg1, arg2 and
proc as temporary variables.  Introduced temporary variables with
hopefully descriptive names for clarification.  Replaced SCM_N?IMP
by a more explicit predicate in some places.
2002-03-10 07:53:27 +00:00
Dirk Herrmann
f12745b633 * eval.c (SCM_CEVAL): Cleaned up the handling of #@dispatch.
Added lots of comments regarding the implementation of #@dispatch.
Changed intra-procedure communication to use t.arg1 instead of
arg2.  Removed some uses of t.arg1, t.lloc and proc as temporary
variables.  Introduced temporary variables with hopefully
descriptive names for clarification.  Replaced SCM_N?IMP by a more
explicit predicate in some places.  Use SCM_INSTANCE_HASH instead
of computing the expression explicitly.  Eliminate now unused
label nontoplevel_cdrxbegin.

* goops.h (SCM_INSTANCE_HASH): New macro.

* objects.h (SCM_CMETHOD_FORMALS, SCM_CMETHOD_BODY): New macros.
2002-03-09 20:15:16 +00:00
Thien-Thi Nguyen
1ebf1566bc *** empty log message *** 2002-03-08 21:29:19 +00:00
Thien-Thi Nguyen
604a672efe (bin_SCRIPTS): Revive this decl, w/ initial element
"guile-snarf" moved back from `noinst_SCRIPTS'.
2002-03-08 21:28:07 +00:00
Neil Jerram
58d233cca9 * srcprop.c (scm_set_source_property_x): If SRCPROPS obj already
exists when adding a source property other than those that are
	handled explicitly, add the new property to the SRCPROPS obj's
	plist.
2002-03-08 13:11:34 +00:00
Neil Jerram
020c890ccc * Fix bug caused by frame size overflowing its field. 2002-03-08 13:07:50 +00:00
Dirk Herrmann
3f04400dd2 * eval.c (SCM_CEVAL): Cleaned up the handling of 'apply'. Removed
side-effecting operations from conditions and macro calls.
Replaced SCM_N?IMP by a more explicit predicate in some places.
Minimized the scope of some variables.
2002-03-05 21:10:15 +00:00
Stefan Jahn
97820583b4 2002-03-02 Stefan Jahn <stefan@lkcc.org>
* convert.i.c: Fixed int <-> long conversions which would have
        failed if their sizes were different.
2002-03-02 14:18:38 +00:00
Dirk Herrmann
38ace99eb3 * eval.c (SCM_CEVAL): Cleaned up the handling of 'if', 'let',
'letrec' and 'set*': Removed some uses of t.arg1, t.lloc and proc
as temporary variables.  Removed side-effecting operations from
conditions and macro calls.  Introduced temporary variables with
hopefully descriptive names for clarification.  Replaced SCM_N?IMP
by a more explicit predicate in some places.  Removed code that
was conditionally compiled if SICP was defined - which it never
is.
2002-03-02 12:47:45 +00:00
Dirk Herrmann
e5cb71a0a9 * eval.c (SCM_CEVAL): Cleaned up the handling of 'cons' and 'do':
Removed some uses of t.arg1 and proc as temporary variables.
Removed side-effecting operations from conditions and macro calls.
Introduced temporary variables with hopefully descriptive names
for clarification.  Replaced SCM_N?IMP by a more explicit
predicate in some places.
2002-03-02 11:50:01 +00:00
Dirk Herrmann
6a0f6ff30c * eval.c (scm_badargsp, SCM_CEVAL): Replaced SCM_N?IMP by a more
explicit predicate in some places.

(CHECK_EQVISH): Removed.

(SCM_CEVAL): Removed some uses of t.arg1 and proc as temporary
variables.  Removed side-effecting operations from conditions and
macro calls.  Introduced temporary variables for clarification.
Sorted if-else-if check for the type of the last form in a list by
frequency.  Avoided some unnecessary tail-recursion calls.
2002-03-02 09:53:51 +00:00
Dirk Herrmann
228a24ef30 Changes in doc/ref:
* api.txt, data-rep.texi: Renamed the struct scm_cell to
scm_t_cell.

* data-rep.texi: Renamed scm_alloc_cell to scm_cell and
scm_alloc_double_cell to scm_double_cell.

Changes in libguile:

* gc.c (SCM_HEAP_SEG_SIZE, CELL_UP, CELL_DN, NEXT_DATA_CELL,
init_heap_seg, alloc_some_heap), gc.h (struct scm_cell, struct
scm_t_cell, SCM_CELLPTR, SCM_GC_CARD_SIZE,
SCM_GC_IN_CARD_HEADERP), tags.h (SCM_CELLP):  Renamed the struct
scm_cell and all its uses to scm_t_cell in accordance to Guile's
naming scheme for types.

* alist.c (scm_acons), convert.i.c (CTYPES2UVECT,
CTYPES2UVECT_OPTIONAL), coop-threads.c (scm_call_with_new_thread,
scm_spawn_thread), debug.c (scm_make_debugobj), environments.c
(scm_make_environment), eval.c (scm_closure), fports.c
(scm_fdes_to_port), gc.c (scm_deprecated_newcell,
scm_deprecated_newcell2), inline.h (scm_alloc_cell, scm_cell),
list.c (SCM_I_CONS), numbers.c (scm_i_mkbig), pairs.c (scm_cons),
ports.c (scm_void_port), procs.c (scm_c_make_subr, scm_makcclo),
smob.c (scm_make_smob), smob.h (SCM_NEWSMOB), strings.c
(scm_take_str, scm_allocate_string), strports.c (scm_mkstrport),
unif.c (scm_make_uve), variable.c (make_variable), vectors.c
(scm_c_make_vector), vports.c (scm_make_soft_port): Renamed
scm_alloc_cell to scm_cell.

* environments.c (core_environments_observe), gc.c
(scm_deprecated_newcell2), goops.c (wrap_init, scm_wrap_object),
inline.h (scm_alloc_double_cell, scm_double_cell), num2float.i.c
(FLOAT2NUM), numbers.c (scm_make_real), procs.c
(scm_make_procedure_with_setter), smob.h (SCM_NEWSMOB2,
SCM_NEWSMOB3), struct.c (scm_make_struct, scm_make_vtable_vtable),
symbols.c (scm_mem2symbol, scm_mem2uninterned_symbol), weaks.c
(allocate_weak_vector): Renamed scm_alloc_double_cell to
scm_double_cell.
2002-03-01 00:19:20 +00:00
Stefan Jahn
edb810bb84 2002-02-27 Stefan Jahn <stefan@lkcc.org>
* Makefile.am (SUBDIRS): Added the `am' directory.

2002-02-27  Stefan Jahn  <stefan@lkcc.org>

        * gh.texi (scm transition summary): Documented some more
        gh equivalents and removed appropriate FIXME's.

2002-02-27  Stefan Jahn  <stefan@lkcc.org>

        * Makefile.am (EXTRA_DIST): Added the `LIBGUILEREADLINE-VERSION'
        file.

2002-02-27  Stefan Jahn  <stefan@lkcc.org>

        * convert.i.c, convert.c: Better range checking.

        * inet_aton.c, fports.c: Commented the inclusion of <winsock2.h>.

        * deprecation.c (vsnprintf): Define to `_vsnprintf' for
        Windows (MinGW).
2002-02-27 15:41:01 +00:00
Thien-Thi Nguyen
327d4dd38f doc/ref/ChangeLog 2002-02-26 10:32:34 +00:00
Thien-Thi Nguyen
58ed8bc61c Update path to pre-inst-guile automake frag. 2002-02-26 10:28:51 +00:00