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

5705 commits

Author SHA1 Message Date
Marius Vollmer
7862b07e4b (scm_srcprops_to_plist): Renamed from scm_t_srcpropso_plist. See the
big type renaming.
2001-06-25 00:55:36 +00:00
Dirk Herrmann
5843e5c988 * Various minor improvements, for example signedness fixes. 2001-06-23 15:25:57 +00:00
Neil Jerram
0c02b40803 * Start new node documenting transition from GH to scm interface. 2001-06-22 14:23:46 +00:00
Neil Jerram
9d45919310 * Signal an error if unable to find channel.scm file. 2001-06-21 19:39:03 +00:00
Neil Jerram
a0143ebc24 * Explain GH deprecation & plan for scm documentation. 2001-06-20 22:08:19 +00:00
Martin Grabmüller
6b41a31399 Removed tag.c and tag.h and all references. 2001-06-20 18:18:00 +00:00
Gary Houston
fbbdb12174 * deprecation.c, extensions.c, rw.c: include string.h. 2001-06-20 17:33:43 +00:00
Gary Houston
72c17ed0ee * filter-doc-snarfage.c (process): added ungetc in
MULTILINE_COOKIE case since otherwise it fails when there's no
	space between the '(' and the quote of the following string
	(gcc 3.0).
2001-06-19 22:56:29 +00:00
Marius Vollmer
6e9382f113 Added two "s". 2001-06-19 17:27:54 +00:00
Martin Grabmüller
e8bb04760c Some updates. 2001-06-18 19:11:21 +00:00
Martin Grabmüller
22332e5dbe 2001-06-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* box-dynamic-module/README: Use a better example for box-map, as
	suggested by Thomas Wawrzinek.
2001-06-18 19:09:31 +00:00
Martin Grabmüller
39e30745c8 2001-06-18 Martin Grabmueller <mgrabmue@cs.tu-berlin.de>
* srfi-modules.texi (SRFI-1): Completed procedure documentation.

	* scheme-data.texi (List Constructors): Added make-list.
	Added type index entries for all data types.

2001-06-15  Martin Grabmueller  <mgrabmue@cs.tu-berlin.de>

	* srfi-modules.texi (SRFI-1): New section documenting the SRFI-1
	module.
2001-06-18 19:08:31 +00:00
Marius Vollmer
d0e06238b4 *** empty log message *** 2001-06-18 18:31:14 +00:00
Marius Vollmer
4549ba4ac6 The SRFI-19 implementation was completely broken. Already the
reference implementation did not handle DST and time zones properly
and relied on non-R5RS-isms like passing reals to `quotient'.  For
Guile, some additional fixes were needed because of the incomplete
numeric tower implementation.  See also srfi-19.test.

* srfi-19.scm (date-zone-offset): Fixed typo in export clause.
(add-duration): Renamed from priv:add-duration.
(priv:time-normalize!): Handle fractional nanoseconds; remove
duplicate definition.  (priv:current-time-tai): Fixed typo.  (time=?,
time<=?): Fixed typos.  (time-tai->time-utc, time-utc->time-tai,
time-utc->time-monotonic): Use make-time-unnormalized instead of
make-time when uninitialized time fields are used.
(set-date-nanosecond!, set-date-second!, set-date-minute!,
set-date-hour!, set-date-day!, set-date-month!, set-date-year!,
set-date-zone-offset!): Define.  (priv:local-tz-offset): Take an extra
argument in order to handle DST effects.  (time-utc->date,
time-tai->date, time-monotonic->date): Handle the changed signature of
priv:local-tz-offset. Don't pass non-integer arguments to quotient
(non-R5RS, not supported by Guile).  (date->time-utc): Ensure that
seconds in a date structure are always exact integers.  Handle DST
properly.  (current-date, julian-day->date,
modified-julian-day->date): Handle the changed signature of
priv:local-tz-offset.  (julian-day->time-utc): Reverted earlier
inexact->exact hack; make-time now handles inexact arguments.
(priv:locale-print-time-zone): At least print the numerical time zone.
(priv:integer-reader): Fixed named let iteration.
(priv:read-directives): Use set-date-month! instead of
priv:set-date-month! etc.  (string->date): Handle DST properly.
2001-06-18 18:30:58 +00:00
Gary Houston
837f9d198e fixed doc code bug 2001-06-17 20:45:33 +00:00
Thien-Thi Nguyen
f7b1cc8410 Add entry for Keisuke Nishida. 2001-06-17 20:32:26 +00:00
Marius Vollmer
eb6c2de855 *** empty log message *** 2001-06-16 20:17:50 +00:00
Marius Vollmer
485ffecad5 (scm_cond_t, scm_key_t, scm_mutex_t): Only define these when using
threads.
2001-06-16 20:17:19 +00:00
Marius Vollmer
daabbf15d7 (Conventions): Use `system-error-errno' instead of explicit code 2001-06-16 20:16:12 +00:00
Marius Vollmer
019ac1c987 (system-error-errno): New. 2001-06-16 20:14:24 +00:00
Marius Vollmer
9a8be5a707 * tests/ports.test: New test for output port line counts. 2001-06-16 20:13:50 +00:00
Marius Vollmer
025f75b48f New files. Thanks to Matthias Köppe! 2001-06-16 20:11:39 +00:00
Marius Vollmer
2aebf10d73 Stuff about our naming conventions. 2001-06-14 20:47:05 +00:00
Martin Grabmüller
673509f84f * scripts/README, scripts/hello.scm, safe/untrusted.scm,
safe/evil.scm, safe/README, modules/README, modules/main,
	modules/module-0.scm, modules/module-1.scm, modules/module-2.scm:
	Minor cleanup.

	* README: Added intro stuff, restructured a bit.

	* box-dynamic/README, box-module/README, box/README: Cleanup and
	restructuring.

	* box-dynamic-module/box-mixed.scm: New file, demonstrating usage
	of extension library functionality, but without exporting
	procedures from the library.

	Thanks to Thomas Wawrzinek for the idea and example code!

	* box-dynamic-module/box-module.scm: Add comments, export
	make-box, box-ref, box-set!.

	* box-dynamic-module/README: Integrate new module (box-mixed),
	restructure and cleanup a bit.
2001-06-14 20:36:06 +00:00
Marius Vollmer
4927dd283b *** empty log message *** 2001-06-14 20:20:35 +00:00
Marius Vollmer
020e3c3868 Added deprecated section with the olde type names. 2001-06-14 20:19:33 +00:00
Marius Vollmer
c81c130ebe scm_t_bits is unsigned, types have been renamed. 2001-06-14 20:19:02 +00:00
Marius Vollmer
1385d8aee3 Replace "scm_*_t" with "scm_t_*", except "scm_lisp_t". 2001-06-14 20:14:09 +00:00
Marius Vollmer
b629af45cb *** empty log message *** 2001-06-14 19:52:35 +00:00
Marius Vollmer
593be5d260 Replace "scm_*_t" with "scm_t_*". 2001-06-14 19:51:54 +00:00
Marius Vollmer
92c2555f69 replace "scm_*_t" with "scm_t_*". 2001-06-14 19:50:43 +00:00
Marius Vollmer
51fa276692 Talk about kluge at top of srfi13.scm. 2001-06-14 18:26:58 +00:00
Marius Vollmer
0f002b27a3 *** empty log message *** 2001-06-14 18:26:43 +00:00
Marius Vollmer
2635d5efb9 * unif.h (SCM_ARRAY_NDIM): Shift then cast so that the no sign
extension takes place.
* strings.h (SCM_STRING_LENGTH): Likewise.
(SCM_STRING_MAX_LENGTH): Use unsigned numbers.
2001-06-14 18:26:27 +00:00
Marius Vollmer
3d968b4e8b Prevent `export' from re-exporting core bindings. 2001-06-14 18:23:28 +00:00
Marius Vollmer
45cf8cd6aa (remove-if, remove-if-not): Fix typo: use
`pred', not `pred?', in the body.
2001-06-14 18:22:25 +00:00
Marius Vollmer
4ff9f8254e *** empty log message *** 2001-06-14 17:43:39 +00:00
Marius Vollmer
dcb17187c3 * configure.in: Check for rl_filename_completion_function.
* readline.c (s_scm_filename_completion_function): Use
rl_filename_completion_function instead of
filename_completion_function, if we have it.
(scm_init_readline): Use rl_compentry_func_t instead if Function
when _RL_FUNCTION_TYPEDEF is defined.
2001-06-14 17:42:45 +00:00
Marius Vollmer
2e7d963d97 * readline.h (scm_clear_history): New prototype. 2001-06-14 17:41:51 +00:00
Marius Vollmer
4d87842bb3 (SCM_SRS): Cast shiftee to scm_signed_bits_t.
(SCM_INUM): Cast result to scm_signed_bits_t.
2001-06-14 17:41:21 +00:00
Marius Vollmer
4a19973db3 Include <stdint.h> when we have it.
(scm_bits_t): Changed to be a unsigned type.  Use uintptr_t when
available.  Else use "unsigned long".
(scm_signed_bits_t): New.
2001-06-14 17:39:30 +00:00
Marius Vollmer
38956d845c (ptrdiff_t): Typedef to long when configure didn't find
it.
2001-06-14 17:37:38 +00:00
Marius Vollmer
be8dd11837 Updates for load-extension et al. 2001-06-14 17:36:41 +00:00
Marius Vollmer
480cd4aa39 Check for header <stdint.h>. Check for uintptr_t
type.  Use AC_CHECK_TYPES for this.  Do not caus ptrdiff_t to be
`#defined'.
2001-06-14 17:36:03 +00:00
Marius Vollmer
dc35f051e4 (ptrdiff_t): Removed. 2001-06-14 17:34:01 +00:00
Thien-Thi Nguyen
58bee6a81a *** empty log message *** 2001-06-13 16:11:23 +00:00
Thien-Thi Nguyen
98cb966490 Update path to #include file scmconfig.h.
Thanks to Golubev I. N.
2001-06-13 16:10:05 +00:00
Thien-Thi Nguyen
ae83dafdfc Remove SLIB reference for ice-9/match.scm,
since it now is no longer dependent.

Thanks to Dale P. Smith.
2001-06-13 16:05:55 +00:00
Thien-Thi Nguyen
9571723240 *** empty log message *** 2001-06-13 16:03:27 +00:00
Thien-Thi Nguyen
26d9bcd003 No longer use module `(ice-9 slib)'.
Use module `(ice-9 pretty-print)'.
No longer require `pretty-print'.

(slib:error): Delete.
(match:error, match:syntax-err): Rewrite.

Thanks to Dale P. Smith.
2001-06-13 16:02:07 +00:00