These changes are the minimal needed to get "make" to
complete w/o error or warnings using GNU Texinfo 6.3.
* doc/goops/goops.texi <title page>: Condense @author lines.
(Running GOOPS, Methods, User-defined types)
(Asking for the type of an object):
Promote these nodes from subsection to section.
* doc/r5rs/r5rs.texi <title page>: Remove spurious @author;
change @unnumbered to @heading.
(Entry format): Comment out spurious @center;
remove spurious @item.
(Characters): Likewise.
(Lexical structure): Rework @format blocks w/ embedded
@t and @cindex, as a series of abutting @example blocks
that close and reopen around the @cindex; and sans @t.
(Additional material): Comment out spurious @center lines.
* doc/tutorial/guile-tut.texi (Hello World):
Promote from @subsection to @section.
(A bunch of operations in Scheme): Likewise;
change @print to take no args.
(Using recursion to process lists, Processing matrices):
Promote from @subsection to @section.
(Using Guile to program in Scheme): Change @print to take no args.
* libguile/Makefile.am (guile-procedures.txt) [HAVE_MAKEINFO]:
After doing makeinfo, use sed to remove whitespace
betweeen the formfeed and the symbol, in the target file.
Long-standing oversight. The Commentary lines almost always
include at least one space following the bol semicolons.
* ice-9/documentation.scm (file-commentary): In the default
scrub proc, append "zero or one space char" to the ‘dirt’ regexp.
Expecting writable strings fails if the string is the result
of ‘symbol->string’, for example.
* libguile/socket.c (scm_send): Use ‘scm_i_string_chars’.
* configure.ac (guile_cv_need_braces_on_pthread_once_init)
(guile_cv_need_braces_on_pthread_mutex_initializer): Add
‘AC_LANG_PROGRAM’ call to first arg of ‘AC_COMPILE_IFELSE’.
These days, Emacs' Autoconf mode has proper support for
‘dnl’ in ‘comment-start’, ‘comment-end’, ‘comment-start-skip’;
we no longer need to specify these explicitly.
* configure.ac: Remove EOF "Local Variables" block.
Reported through https://bugs.gentoo.org/show_bug.cgi?id=467064
Fix by Arfrever Frehtes Taifersar Arahesis
* Replace AM_CONFIG_HEADER by AC_CONFIG_HEADERS, the former
being deprecated since automake-1.13
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* doc/ref/api-options.texi: Move "Debugger options" in the menu.
* doc/ref/api-utility.texi (Handling Scheme-level hooks from C code):
Turn into a @subsubheading.
* doc/ref/fdl.texi (ADDENDUM: How to use this License for your
documents): Turn into @appendixsec.
* doc/ref/gh.texi: Don't use @dots{} in the middle of @deftypefun{,x}.
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
* libguile/filesys.c (scm_readdir): Remove set-but-unused `namlen' variable.
* libguile/fports.c (fport_flush): Same for `written'.
* libguile/gc-segment.c (scm_i_initialize_heap_segment_data): Same
for `bvec_ptr'.
* libguile/posix.c (scm_nice): Same for `nice_value'.
* libguile/scmsigs.c (take_signal): Same for `count'.
* libguile/srfi-4.c (uvec_to_list): Same for `elts'.
* libguile/stacks.c (scm_stack_ref): Same for `c_index'.
* libguile/threads.c (scm_std_select): Same for `count'.
* libguile/throw.c (scm_ithrow): Same for `answer'.
* libguile/unif.c (scm_i_read_array): Same for `got_rank'.
* configure.ac: Check for `intptr_t' and `uintptr_t'. Substitute
`SCM_I_GSC_T_INTPTR' and `SCM_I_GSC_T_UINPTR'.
* libguile/__scm.h (SCM_T_UINTPTR_MAX, SCM_T_INTPTR_MIN,
SCM_T_INTPTR_MAX): New macros.
* libguile/_scm.h (SIZEOF_SCM_T_BITS): New macro.
* libguile/gen-scmconfig.c (main): Produce typedefs for `scm_t_intptr'
and `scm_t_uintptr'.
* libguile/gen-scmconfig.h.in (SCM_I_GSC_T_INTPTR, SCM_I_GSC_T_UINPTR):
New macros.
* libguile/tags.h: Don't check for `HAVE_INTTYPES_H' and
`HAVE_STDINT_H'; don't include <inttypes.h> nor <stdint.h>.
(scm_t_signed_bits, scm_t_bits): Define unconditionally as aliases for
`scm_t_intptr' and `scm_t_uintptr', respectively.
(SCM_T_SIGNED_BITS_MAX, SCM_T_SIGNED_BITS_MIN, SCM_T_BITS_MAX):
Likewise.
(SIZEOF_SCM_T_BITS): Remove.
* libguile/fports.c (fport_input_waiting): Use poll(2) instead of
select(2) when possible. Cosmetic changes by Ludovic Courtès.
* configure.in: Look for <poll.h> and `poll'.
* GUILE-VERSION (GUILE_MICRO_VERSION): Increment.
(LIBGUILE_INTERFACE_CURRENT): Increment, to account for the addition
of `scm_c_random64'.
(LIBGUILE_INTERFACE_REVISION): Reset.
(LIBGUILE_INTERFACE_AGE): Increment.
This is a followup to commit dcf7c034 ("add note to docs about gds.el").
* doc/ref/scheme-using.texi (GDS Getting Started): Correct the comment
about whether elisp files get installed.
* libguile/vectors.c (scm_vector_move_left_x, scm_vector_move_right_x):
Fix some bugs reported by Michael Lucy -- both variants would happily
write beyond the end, and vector-move-right! didn't increment the
counter before copying in the reverse direction.
* test-suite/tests/vectors.test ("vector-move-left!"):
("vector-move-right!"): Add tests.
For > 32 bit integers still in the fixnum range, scm_random() would
return random numbers with a lower range than specified.
* libguile/random.c (scm_i_mask32): New static inline function.
(scm_c_random): Use `scm_i_mask32'.
(scm_c_random64): New function, 64-bit variant of scm_c_random.
(scm_random): Use `scm_c_random64' instead of forming the 64-bit random
number in a bogus way.
* libguile/random.h: Added `scm_c_random64'.
Conflicts:
libguile/random.c
libguile/random.h
* libguile/random.c (scm_c_random): Revert previous patch adapting to
assume ulong-sized bits, as the RNGs really only give us 32 bits at a
time.
(scm_c_random_bignum): Adjust to expect random_bits giving us 32 bits
at a time.
* libguile/random.h: Add comments.
* libguile/random.c (scm_c_random): On platforms where `unsigned long' has 64
bit, generate up to 64 bit of randomness. This is expected by
scm_c_random_bignum(), and hence was a serious distortion of the random value
distribution for values exceeding 2^32. This change also fixes a crash when
the `m' argument is a value above 2^32.
* module/scripts/snarf-check-and-output-texi.scm
(process-multiline-directive): Be more accepting of source location
markers in the preprocessed source, by adding a couple cases in which
they can appear. Not foolproof, but it does adapt to what new GCCs are
putting out (e.g. cpp (GCC) 4.4.2 20091222 (Red Hat 4.4.2-20)).
* libguile/hashtab.c: Re-arrange functions to avoid the need for
pre-declaring character arrays with no length. Fixes compilation on
Compaq C V6.3-025. Thanks to Jay Krell for the report.
Earlier versions of ltdl would look for extensions under $PWD; this
behavior changed in 2.2.6b.
* test-suite/standalone/Makefile.am (TESTS_ENVIRONMENT): Define
$builddir.
* test-suite/standalone/test-asmobs: Specify the full path to
`libtest-asmobs', using $builddir.