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

6185 commits

Author SHA1 Message Date
Dirk Herrmann
1b3a7932ca * tests/numbers.test: Added division by zero tests. 2001-11-21 23:25:40 +00:00
Dirk Herrmann
164826d3ae * numbers.c (scm_divide): Fix (/ 0). Thanks to Keith Wright for
reporting the bug.
2001-11-21 23:23:53 +00:00
Marius Vollmer
84aff7a7f2 *** empty log message *** 2001-11-21 20:22:01 +00:00
Marius Vollmer
b27b814d4c (install-exec-hook): Prepend $(DESTDIR) to filename. Thanks to Eric
Gillespie, Jr!
2001-11-21 20:21:39 +00:00
Stefan Jahn
6063dc1ddd 2001-11-21 Stefan Jahn <stefan@lkcc.org>
* win32-socket.c (getservent, setservent, endservent,
        getprotoent, setprotoent, endprotoent): New functions.
        Appropriate replacements for M$-Windows.

        * numbers.c (SIZE_MAX, PTRDIFF_MAX, PTRDIFF_MIN): Reintroduced
        these definitions for GUILE_DEBUG.

        * net_db.c: Include "win32-socket.h" if compiling with a native
        M$-Windows compiler.  Include some pieces of code (protoent and
        servent interface) protected by HAVE_* macros when using a
        native M$-Windows compiler.
2001-11-21 07:59:53 +00:00
Marius Vollmer
351982f656 *** empty log message *** 2001-11-20 22:45:37 +00:00
Marius Vollmer
eb880cef29 (scm_c_export): Do nothing when the first argument is
already the terminating NULL.  Thanks to Han-Wen Nienhuys!
2001-11-20 22:45:24 +00:00
Thien-Thi Nguyen
19a35d19d9 *** empty log message *** 2001-11-20 12:32:00 +00:00
Thien-Thi Nguyen
49d9ca522c (Install Config):
Tweak `%load-path' verb to not imply it's a proc.
Add documentation for `%guile-build-info'.
2001-11-20 12:30:26 +00:00
Thien-Thi Nguyen
849038b542 *** empty log message *** 2001-11-20 10:54:56 +00:00
Thien-Thi Nguyen
54f16aecf9 (libpath.h): In SCM_BUILD_INFO, also include `buildstamp'. 2001-11-20 10:53:19 +00:00
Thien-Thi Nguyen
0a3c6bb22a *** empty log message *** 2001-11-20 00:24:55 +00:00
Thien-Thi Nguyen
ccee9ab13d *** empty log message *** 2001-11-19 23:29:45 +00:00
Thien-Thi Nguyen
30bce757a1 *** empty log message *** 2001-11-19 23:08:47 +00:00
Thien-Thi Nguyen
07a245bc20 (11): Set "fixed: no-need". 2001-11-19 23:08:02 +00:00
Neil Jerram
d4e5a409a5 * Improve doc on variables and definitions. 2001-11-19 22:28:58 +00:00
Thien-Thi Nguyen
d0eeda8563 *** empty log message *** 2001-11-19 22:10:57 +00:00
Thien-Thi Nguyen
78b1e5ad61 Initial revision 2001-11-19 22:09:34 +00:00
Thien-Thi Nguyen
e1d62be2b7 *** empty log message *** 2001-11-19 21:57:27 +00:00
Thien-Thi Nguyen
78864a355c Use less forking for indexing command.
Update index.
2001-11-19 21:55:57 +00:00
Thien-Thi Nguyen
97f439ab73 *** empty log message *** 2001-11-19 21:45:56 +00:00
Thien-Thi Nguyen
ee125338e4 (write emacs/patch.el): New item for 1.8.0, self-assigned. 2001-11-19 21:43:53 +00:00
Thien-Thi Nguyen
7818cea42f When run as a batch program, invoke `(ucl-update "ChangeLog")'
instead of `(ucl-update-all)'.

(ucl-outdir): Delete this var.
(ucl-update): Arg now specifies change log file
instead of cvs module directory.
Make interactive.
(ucl-update-all): Delete this func.
2001-11-19 21:37:48 +00:00
Thien-Thi Nguyen
817c6eca8b Initial revision 2001-11-19 08:55:38 +00:00
Thien-Thi Nguyen
0aded5b003 bye bye 2001-11-19 08:39:24 +00:00
Thien-Thi Nguyen
e12cfbc65c A little birdie from cobalt sang in my ear.
As guilish developers uploaded, disappeared.
  Thunderous silence?
  Mail server grievance?
Mangle that process (son), but don't drink the beer.
2001-11-19 07:12:22 +00:00
Thien-Thi Nguyen
ebc43ccb6d (patch-send): Renamed from `patch-submit'.
Gadzooks what kind of world is this?
2001-11-19 06:59:38 +00:00
Rob Browning
3faa54e7dd *** empty log message *** 2001-11-19 06:30:38 +00:00
Rob Browning
097914898d * configure.in: switch to AC_LIBLTDL_INSTALLABLE so we'll use the
system libltdl when it's available.  Aside from the normal reasons
to prefer installed shared libs, this means other apps that link
with libguile and also use libltdl will be more likely to work
right.
2001-11-19 06:30:29 +00:00
Rob Browning
6acaff8204 * version.h.in
(SCM_MAJOR_VERSION): renamed from SCM_GUILE_MAJOR_VERSION.
(SCM_MINOR_VERSION): renamed from SCM_GUILE_MINOR_VERSION.
(SCM_MICRO_VERSION): renamed from SCM_GUILE_MICRO_VERSION.
2001-11-18 23:04:32 +00:00
Rob Browning
76f33258bb * version.c
(s_scm_major_version): use SCM_MAJOR_VERSION.
(s_scm_minor_version): use SCM_MINOR_VERSION.
(s_scm_micro_version): use SCM_MICRO_VERSION.
(s_scm_version): use SCM_MAJOR_VERSION, SCM_MINOR_VERSION, and
SCM_MICRO_VERSION.
2001-11-18 23:04:10 +00:00
Rob Browning
5c790b44f8 *** empty log message *** 2001-11-18 23:03:10 +00:00
Neil Jerram
694a9bb34e * Updates for string- and vector-move-right/left! docstrings.
* Update Tcl war URLs.
2001-11-18 22:10:41 +00:00
Dirk Herrmann
3096b33f0d * Oops, this belongs to the previous ChangeLog entry... 2001-11-17 12:16:05 +00:00
Dirk Herrmann
7171f1ab47 * tests/syntax.test: Added some tests, updated some others with
respect to recent changes in eval.c.  Further, extracted test
cases for guile's extended set! functionality to srfi-17.test.

* tests/srfi-17.test:  New file.
2001-11-17 11:44:06 +00:00
Dirk Herrmann
302c12b4b7 * eval.c: Removed bogus comment about acros.
(scm_unmemocar):  Use !SCM_CONSP instead of SCM_IMP.
Minimize scope of local variable.  Eliminate dependency on
macro DEBUG_EXTENSIONS.

(s_splicing):  New error message string.

(scm_m_body):  Issue 'bad body' message rather than 'missing
expression' message.

(scm_m_quote):  Eliminate unnecessary copying.

(scm_m_lambda, scm_m_letstar, scm_m_letrec, scm_m_let):  Leave the
checking of the body to scm_m_body.

(scm_m_do):  Move comment to function header.  Rename arg1 to
binding.  Made the code a bit easier to read.

(evalcar):  Removed.

(iqq):  Added a comment.  Changed the depth parameter to
unsigned.  Use size_t for vector lengths.  Make sure vector object
is gc protected as long as its contents are read.  Add some syntax
checks.  Get rid of unnecessary SCM_IMP test.  Clean up the
control structure a bit.

(scm_m_delay):  Added comment about the implementation of
scm_m_delay.

(scm_m_define):  Add comment about guile's currying define
syntax.  Renamed 'proc' to 'name'.  Eliminate dependency on macro
DEBUG_EXTENSIONS.  Simplified code a bit.  Eliminate SICP code.

(scm_m_letrec1):  Removed.  Part of the functionality is taken
over by the new function 'transform_bindings'.

(transform_bindings):  New function.  Takes over some of the
functionality of removed function 'scm_m_letrec1', namely to split
a list of bindings into a reversed list of variables and a list of
initializers.

(scm_m_letrec):  Call 'transform_bindings'.

(scm_m_let):  Minimized scope of local variables.  Renamed 'proc'
to 'temp' and 'arg1' to 'binding'.  Eliminated redundant SCM_NIMP
test.  Use 'transform_bindings'.  Fixed scoping error with named
let (Thanks to Aubrey Jaffer for reporting the bug and to Neil
Jerram for suggesting the fix).  Cleaned up the control structure
a bit.

(scm_m_expand_body):  Use 'transform_bindings'.  Eliminated
unnecessary consing.  Eliminated unnecessary
SCM_DEFER/ALLOW_INTS.

(SCM_CEVAL):  Un-obfuscated some loops.
2001-11-17 11:43:28 +00:00
Neil Jerram
8f85c0c6c3 * Adding C function declarations from the SCM interface to the
reference manual documentation.
2001-11-16 15:04:17 +00:00
Neil Jerram
cecb4a5e9d * These changes add a @deffnx C function declaration and function
index entries for each Guile primitive to the copy of the doc
  snarf output that is used for reference manual synchronization.
  Online help is unchanged.
2001-11-16 09:55:54 +00:00
Thien-Thi Nguyen
73c844bf02 *** empty log message *** 2001-11-15 23:39:33 +00:00
Thien-Thi Nguyen
de057fdc40 Handle command "list" specially: list scripts dir.
(help): Make more informative.
2001-11-15 23:36:05 +00:00
Thien-Thi Nguyen
3605ae0dee New file. 2001-11-15 21:11:25 +00:00
Dirk Herrmann
ddea3325eb * eval.c (RETURN): Wrap in do{}while(0) in order to make it
safely usable as a single statement followed by a ';', for example
in an if statement.

(SCM_CEVAL, SCM_APPLY):  Clean up code using 'RETURN'.
2001-11-15 17:19:53 +00:00
Thien-Thi Nguyen
7d91213b13 *** empty log message *** 2001-11-14 21:31:59 +00:00
Thien-Thi Nguyen
f056c4e39d Initial revision. 2001-11-14 20:47:40 +00:00
Thien-Thi Nguyen
ef3946430f *** empty log message *** 2001-11-14 18:25:48 +00:00
Thien-Thi Nguyen
9c4dd6f420 Spell "library" correctly. 2001-11-14 18:24:44 +00:00
Neil Jerram
72dd0a03e0 * Miscellaneous small doc updates and fixes. 2001-11-13 23:44:29 +00:00
Marius Vollmer
409b85880d *** empty log message *** 2001-11-13 22:17:08 +00:00
Marius Vollmer
e713cd28c8 (scm_c_export): Call va_end after collecting the symbols. 2001-11-13 22:15:42 +00:00
Marius Vollmer
adb8c0f235 *** empty log message *** 2001-11-13 15:46:56 +00:00