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

210 commits

Author SHA1 Message Date
Michael Gran
be3eb25c64 Doc updates for srfi-14 character sets
* NEWS: updates for srfi-14 character sets

* doc/ref/api-data.texi: update char-set section and some spellchecking
2009-09-03 09:03:53 -07:00
Michael Gran
bb15a36c25 Update docs and docstrings for Unicode characters
* doc/ref/api-data.texi: more info about characters and codepoints

* libguile/chars.c: replace 'code point' with 'Unicode code point' in
  docstrings
2009-09-03 08:48:23 -07:00
Michael Gran
3f12aedb50 Update docs for Unicode characters
* NEWS: add note about Unicode characters

* doc/ref/api-data.texi: update Characters subsection

* libguile/chars.c: update docstrings to match manual
2009-08-30 16:55:52 -07:00
Neil Jerram
aba0dff5f7 In general, use @lisp in preference to @smalllisp
because it looks better in the DVI output.  Exceptions are

- wide examples, which would cause overfull hboxes if they
  used the bigger @lisp font

- very large examples, which may look too big at the @lisp size.
2009-08-09 15:04:08 +01:00
Neil Jerram
45867c2ace Fix overfull hboxes 2009-08-04 12:10:16 +01:00
Andy Wingo
5fa2deb3f7 minor doc tweaks
* doc/ref/api-compound.texi: Generalized vector doc fixups.

* doc/ref/api-data.texi: Minor fixes to bytevector docs.
2009-06-26 12:42:10 +02:00
Ludovic Courtès
438974d08d Make bytevectors accessible using the generalized-vector API.
As a side effect, this allows compilation of literal bytevectors
("#vu8(...)"), which gets done by the generic array handling
of the GLIL->assembly compiler.

* doc/ref/api-compound.texi (Generalized Vectors): Mention bytevectors.
  (Arrays, Array Syntax): Likewise.

* doc/ref/api-data.texi (Bytevectors as Generalized Vectors): New node.

* libguile/bytevectors.c (scm_i_bytevector_generalized_set_x): New.

* libguile/bytevectors.h (scm_i_bytevector_generalized_set_x): New
  declaration.

* libguile/srfi-4.c (scm_i_generalized_vector_type,
  scm_array_handle_uniform_element_size,
  scm_array_handle_uniform_writable_elements): Add support for
  bytevectors.

* libguile/unif.c (type_creator_table): Add `vu8'.
  (bytevector_ref, bytevector_set): New functions.
  (memoize_ref, memoize_set): Add support for bytevectors.

* libguile/vectors.c (scm_is_generalized_vector,
  scm_c_generalized_vector_length, scm_c_generalized_vector_ref,
  scm_c_generalized_vector_set_x): Add support for bytevectors.

* test-suite/tests/bytevectors.test ("Generalized Vectors"): New test
  set.
2009-06-22 01:09:39 +02:00
Ludovic Courtès
404bb5f87b bytevectors: Add a C-friendly API.
* doc/ref/api-data.texi (Bytevector Manipulation): Add
  `scm_is_bytevector ()', `scm_c_bytevector_length ()',
  `scm_c_bytevector_length ()', and `scm_c_bytevector_set_x ()'.

* libguile/bytevectors.c (scm_is_bytevector, scm_c_bytevector_length,
  scm_c_bytevector_ref, scm_c_bytevector_set_x): New functions.
  (scm_bytevector_p): Use `scm_is_bytevector ()'.
  (scm_bytevector_length): Use `scm_c_bytevector_length ()'.

* libguile/bytevectors.h (scm_is_bytevector, scm_c_bytevector_length,
  scm_c_bytevector_ref, scm_c_bytevector_set_x): New declarations.
2009-06-22 01:05:43 +02:00
Ludovic Courtès
2d34e9244b bytevectors: Use size_t' rather than unsigned' for sizes.
* doc/ref/api-data.texi (Bytevector Manipulation): Update.

* libguile/bytevectors.c (INTEGER_ACCESSOR_PROLOGUE,
  make_bytevector_from_buffer, scm_c_make_bytevector,
  scm_c_take_bytevector, scm_i_shrink_bytevector): Use `size_t' for
  bytevector lengths.
2009-06-22 01:00:41 +02:00
Ludovic Courtès
d64fc8b039 Fix documentation of `make-bytevector'.
* doc/ref/api-data.texi (Bytevector Manipulation): Fix documentation of
  the FILL argument of `make-bytevector'.
2009-06-22 00:58:11 +02:00
Ludovic Courtès
b242715b28 Import documentation for the R6RS bytevector and port APIs.
* doc/ref/api-compound.texi (Uniform Numeric Vectors): Add xref to the
  bytevector API.

* doc/ref/api-data.texi (Bytevectors): New node.

* doc/ref/api-io.texi (R6RS I/O Ports): New node.
2009-06-18 23:20:56 +02:00
Neil Jerram
877f06c338 Fix explicitely' typos, should be explicitly' 2009-05-20 18:51:03 +01:00
Ludovic Courtès
071bb6a840 Add `scm_c_symbol_length ()'. 2008-07-05 20:16:12 +02:00
Ludovic Courtès
189681f55b Add `(srfi srfi-88)'. 2008-04-26 19:34:37 +02:00
Ludovic Courtès
ef4cbc08c8 Add support for SRFI-88-like postfix keyword read syntax. 2008-04-15 19:52:43 +02:00
Neil Jerram
b226295af8 Release stuff: missing NEWS and 2007/2008 copyrights. 2008-02-15 23:13:59 +00:00
Neil Jerram
8c726cf0b4 (Random): New text about the default random state,
following suggestions by Stephen Uitti.
2008-02-11 22:34:33 +00:00
Ludovic Courtès
b1f57ea4ce Changes from arch/CVS synchronization 2007-07-10 22:34:50 +00:00
Ludovic Courtès
a2f00b9b36 Changes from arch/CVS synchronization 2007-01-31 20:58:20 +00:00
Kevin Ryde
9a18d8d431 merge from 1.8 2007-01-15 23:22:36 +00:00
Ludovic Courtès
b89c494395 Changes from arch/CVS synchronization 2006-11-18 18:14:55 +00:00
Kevin Ryde
40296bab81 merge from 1.8 branch 2006-10-09 22:47:06 +00:00
Neil Jerram
4695789c02 (Symbol Props): Remove unnecessarily specific
parenthesis about Guile 1.6's use of extra symbol slots.
2006-09-28 07:32:40 +00:00
Ludovic Courtès
49dec04b6a Changes from arch/CVS synchronization 2006-09-20 13:13:34 +00:00
Neil Jerram
9f1ba6a9a4 Doc typo fixes 2006-09-15 09:23:18 +00:00
Kevin Ryde
1b09b607dd merge from 1.8 branch 2006-04-16 23:18:55 +00:00
Marius Vollmer
661ae7ab6b Renamed the "frames" that are related to dynamic-wind to "dynamic
contexts.  Renamed all functions from scm_frame_ to scm_dynwind_.
Updated documentation.
2006-01-29 00:23:28 +00:00
Han-Wen Nienhuys
fd0a5bbcb7 patches by Ludovic Courtès for symbol generation. 2006-01-24 20:30:09 +00:00
Kevin Ryde
083f9d74d1 (Regexp Functions): Notes on zero bytes and locale character set. 2005-10-05 01:24:12 +00:00
Kevin Ryde
dc297bb75b (String Selection): Merge descriptions of string-trim,
string-trim-right and string-trim-both for brevity.
2005-07-12 00:47:17 +00:00
Kevin Ryde
a88e2a9628 (String Selection): In string-pad, don't say anything
about sharing strings, decided against doing that.
(Miscellaneous String Operations): Ditto in string-filter and
string-delete.
2005-07-12 00:42:10 +00:00
Kevin Ryde
08de3e2424 (Miscellaneous String Operations): In string-filter
and string-delete, note result may share with input string (as allowed
by srfi spec).
2005-06-10 22:38:57 +00:00
Kevin Ryde
bba26c3211 (String Constructors): Clarify string, list->string
and reverse-list->string a bit.
2005-05-02 23:26:47 +00:00
Kevin Ryde
a285fb8653 (Regexp Functions): Add list-matches and fold-matches. 2005-04-22 23:12:55 +00:00
Kevin Ryde
36c7474e54 (Regexp Functions): Clarity flags parameter. 2005-04-18 22:46:54 +00:00
Kevin Ryde
34942993e6 (Reals and Rationals): Use tex for sqrt2 and pi.
(Complex Numbers): Add polar form read syntax.
2005-02-17 21:18:31 +00:00
Kevin Ryde
fd8a1df5b6 (Integer Operations): In gcd and lcm, show args.
(Arithmetic): In truncate, add missing arg.
2005-02-11 21:47:59 +00:00
Kevin Ryde
6337e7fb98 (String Selection): In string-pad and
string-pad-right, clarify which end the padding goes on, and merge
descriptions.
2005-02-11 21:44:44 +00:00
Kevin Ryde
4497bd2f81 (Random): In random:solid-sphere!, there is no return value. 2005-01-14 23:52:02 +00:00
Kevin Ryde
a46648acb3 (Bitwise Operations): In logtest and logbit?, describe
operations in words, not just equivalent expressions.  In
integer-expt, clarify a bit and note negative k allowed and 0^0==1.
2005-01-14 23:20:25 +00:00
Kevin Ryde
2a7820f22c (Mapping Folding and Unfolding): In
string-for-each-index, make it clear iteration is over indices.
2005-01-13 23:49:10 +00:00
Kevin Ryde
909fcc9721 Typo in integer? 2004-12-28 00:24:03 +00:00
Kevin Ryde
c100a12ce7 (String Predicates): For string-any and string-every,
last chars are now tail calls per srfi, and reinstate char_pred can be
character or character set (somehow lost in cut and paste).
2004-12-28 00:16:58 +00:00
Kevin Ryde
a13befdcd3 (Regexp Functions): Revise regex-substitute and
regex-substitute/global for clarity, add some examples.
2004-12-13 22:37:31 +00:00
Marius Vollmer
7719ef2234 * api-data.texi: Removed primitive keyword section, updated
keyword docs.

* api-undocumented.texi: Moved keyword dash-symbol docs here.
2004-10-04 18:54:18 +00:00
Kevin Ryde
4846ae2c96 (Conversion to/from C): Braces {} around char* return. 2004-09-25 22:32:24 +00:00
Marius Vollmer
052567604f Docs for substring/read-only. 2004-09-22 14:46:18 +00:00
Marius Vollmer
0896292232 docs for scm_to_mpz and scm_from_mpz. 2004-09-21 00:43:34 +00:00
Marius Vollmer
719305cfe6 (integer-expt): Updated from docstring. 2004-09-08 16:59:49 +00:00
Marius Vollmer
c9dc8c6cec Additions. 2004-08-25 19:03:14 +00:00