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

10201 commits

Author SHA1 Message Date
Neil Jerram
31e2cc5088 (Evaluator trap options): Trap calls now always
use a debug object rather than a continuation.
(Debugger options, Examples of option use): Update help text for
'cheap option (which is now obsolete).
2005-12-14 00:51:58 +00:00
Neil Jerram
ec3a8ace63 * api-evaluation.texi (Loading): Document custom reader.
* boot-9.scm (load-module): Support an optional custom reader arg,
implemented by passing on to r4rs's load.

* r4rs.scm (load): Support an optional custom reader arg,
implemented by passing on to primitive-load.

* load.c (the_reader, the_reader_fluid_num): New.
(scm_primitive_load): Support custom reader.
(scm_init_load): Init the_reader and the_reader_fluid_num; export
the_reader as `current-reader'.
2005-12-14 00:21:11 +00:00
Neil Jerram
2824f4dca1 (do_read_without_guile): Use the "raw_data" passed in
(rather than an uninitialized pointer on the stack).
2005-12-14 00:15:00 +00:00
Marius Vollmer
6a88895b7b *** empty log message *** 2005-12-07 01:33:18 +00:00
Marius Vollmer
657e792903 (invoke_main_func): Don't call exit here. Throws that
are only caught by scm_with_guile will bypass us and would cause
scm_boot_guile to return erroneously.
(scm_boot_guile): Expect scm_with_guile to return and call exit
here, passing it an appropriate exit code.
2005-12-07 01:32:17 +00:00
Marius Vollmer
e724644d45 Added more words to #:replace from Ludovic. Thanks! 2005-12-07 00:31:49 +00:00
Marius Vollmer
a81d0de109 *** empty log message *** 2005-12-06 22:37:39 +00:00
Marius Vollmer
d9c36d2a6f (scm_find_executable): Compile fix -- fgetc returns an
unsigned char cast to an int, or -1 for EOS.
2005-12-06 22:35:05 +00:00
Marius Vollmer
08f489c98b *** empty log message *** 2005-12-06 21:42:43 +00:00
Marius Vollmer
ab7acbb74e (take_uvec): Make BASE pointer non-const.
(scm_take_u8vector, etc): Likewise.  Thanks to Ludovic Courtès!
2005-12-06 21:42:19 +00:00
Marius Vollmer
9d9ce2b576 *** empty log message *** 2005-12-06 21:34:10 +00:00
Marius Vollmer
43ed3b697e * api-control.texi (if cond case): Describe SRFI 61 cond.
* srfi-modules.texi (SRFI-61): New section.
(SRFI Support): Add SRFI-61 to menu.
2005-12-06 21:32:55 +00:00
Marius Vollmer
e5547d5fc8 fixed some typos. 2005-12-06 21:32:36 +00:00
Marius Vollmer
08b609aa1f (%cond-expand-features): Add srfi-61. 2005-12-06 21:32:09 +00:00
Marius Vollmer
1fe1fc0a92 (scm_m_cond): Recognize SRFI 61 cond syntax.
(CEVAL): Evaluate SRFI 61 cond clauses.
2005-12-06 21:31:26 +00:00
Marius Vollmer
24d5274ba9 *** empty log message *** 2005-12-06 20:36:49 +00:00
Marius Vollmer
54428bb84e Removed scm_leave_guile, scm_enter_guile and all references to
them since they are no longer in the API.
2005-12-06 20:27:59 +00:00
Marius Vollmer
b54df25486 *** empty log message *** 2005-12-06 20:15:49 +00:00
Marius Vollmer
9864812182 (scm_t_guile_ticket, scm_leave_guile, scm_enter_guile): Removed from
public API.  See comment at scm_without_guile for the rationale.
2005-12-06 20:15:24 +00:00
Marius Vollmer
324a5aa97a (read_without_guile): New.
(signal_delivery_thread): Use it instead of
scm_leave_guile/read/scm_enter_guile.
2005-12-06 20:02:19 +00:00
Neil Jerram
9fb5c8f95c * gc-card.c (scm_i_card_statistics): Return if BITVEC is NULL.
This was typically hit when running `gc-live-object-stats' right
after starting Guile.
2005-12-06 19:15:16 +00:00
Kevin Ryde
aa1babce68 *** empty log message *** 2005-11-30 00:42:19 +00:00
Kevin Ryde
8a8ca420b1 (string-append/shared): New tests. 2005-11-30 00:35:45 +00:00
Kevin Ryde
efeac8aed0 *** empty log message *** 2005-11-30 00:30:36 +00:00
Kevin Ryde
a003f3eb60 (scm_string_append_shared): No copying if just one
non-empty string in args.
2005-11-30 00:26:08 +00:00
Kevin Ryde
606183ba1b *** empty log message *** 2005-11-26 00:55:45 +00:00
Kevin Ryde
94b33dfe46 * random.c (scm_i_copy_rstate, scm_c_make_rstate): Don't test for
scm_malloc returning NULL, it never does that.
	* putenv.c (putenv): Likewise.
2005-11-26 00:54:06 +00:00
Kevin Ryde
c224262bd1 (scm_i_copy_rstate, scm_c_make_rstate): Don't test for
scm_malloc returning NULL, it never does that.
2005-11-26 00:53:27 +00:00
Kevin Ryde
bc73234284 (scm_fill_sockaddr): Remove SCM_C_INLINE_KEYWORD, this is
much too big to want to inline.
2005-11-26 00:52:52 +00:00
Kevin Ryde
123a1b629e (list): Should be "primitive" in SCM_SNARF_DOCS, not "register". 2005-11-26 00:50:12 +00:00
Kevin Ryde
1f65cc174d (scm_mark_all): Change C++ comment to C comment. Reported by Ludovic Courtès. 2005-11-26 00:49:24 +00:00
Kevin Ryde
203a6c87fd *** empty log message *** 2005-11-24 00:13:16 +00:00
Kevin Ryde
f1ca69a6bf *** empty log message *** 2005-11-24 00:03:27 +00:00
Kevin Ryde
04f53076d9 (lset-difference!): More tests. 2005-11-24 00:00:59 +00:00
Kevin Ryde
9dcee2b7a1 (lset-difference!): Rewrite in C. 2005-11-23 23:56:08 +00:00
Kevin Ryde
4ec555c593 typo in lset-difference! name in with-test-prefix 2005-11-23 23:41:29 +00:00
Kevin Ryde
f07d2b20f3 *** empty log message *** 2005-11-18 23:27:28 +00:00
Kevin Ryde
8b2081b580 *** empty log message *** 2005-11-18 23:04:06 +00:00
Kevin Ryde
b167633ca0 (Retrieving Alist Entries): Revise for clarity and brevity. 2005-11-18 22:01:46 +00:00
Neil Jerram
dbb5de2949 * print.c (EXIT_NESTED_DATA): Before popping from the stack, reset
the value at its top.  This fixes a reference leak.
	(PUSH_REF): Perform `pstate->top++' after calling
	`PSTATE_STACK_SET ()' in order to avoid undesired potential side
	effects.
2005-11-17 18:50:01 +00:00
Neil Jerram
3f98874a96 * gc.c (scm_weak_vectors): Removed. 2005-11-12 08:58:51 +00:00
Kevin Ryde
f1b7209b2d (scm_setsockopt): Missing @defvar in docstring. Reported
by Ludovic Courtès.
2005-11-12 00:59:28 +00:00
Marius Vollmer
bedd3f5fff *** empty log message *** 2005-11-06 22:12:25 +00:00
Marius Vollmer
9291479faa (scm_mktime): Use scm_frame_critical_section instead of
SCM_CRITICAL_SECTION_START/END since the code inside the critical
section might exit non-locally.
2005-11-06 22:12:04 +00:00
Kevin Ryde
914da0e2fc *** empty log message *** 2005-11-05 21:42:14 +00:00
Kevin Ryde
46bb559d6c From Ludovic Courtès, partial rework by me:
* doc/ref/api-modules.texi (Creating Guile Modules): In define-module,
describe #:re-export, #:export-syntax, #:re-export-syntax, #:replace
and #:duplicates.  Add re-export.
2005-11-05 21:38:49 +00:00
Neil Jerram
7c9c0169b4 * eval.c (sym_instead): New symbol.
(ENTER_APPLY): Remove optional use of a continuation when making
trap call.
(scm_debug_opts): Change doc for 'cheap option to make clear that
it is now obsolete.
(CEVAL, SCM_APPLY): Remove optional use of a continuation when
making trap calls, and implement substitution of eval expressions
and return values using the values that the trap call handlers
return.

* debug.h (SCM_CHEAPTRAPS_P): Removed.
2005-11-04 21:20:24 +00:00
Kevin Ryde
69b45df38b *** empty log message *** 2005-10-31 23:42:14 +00:00
Kevin Ryde
20b988f88d (Time): In strftime, note systems vary for %Z. 2005-10-31 23:41:46 +00:00
Kevin Ryde
551387fd6d *** empty log message *** 2005-10-31 23:33:58 +00:00