Han-Wen Nienhuys
5dbc6c0679
replace port table with weak hash table. This simplifies
...
memory management, and fixes freed cells appearing in
port-for-each output.
2007-08-26 18:11:57 +00:00
Han-Wen Nienhuys
b87e6d0412
(cleanup_for_exit): abort cleanup if init_mutex is still
...
held.
2007-08-26 18:11:24 +00:00
Ludovic Courtès
492faee1e5
Changes from arch/CVS synchronization
2007-08-23 21:17:24 +00:00
Ludovic Courtès
2baec6a946
Changes from arch/CVS synchronization
2007-08-23 21:10:57 +00:00
Kevin Ryde
1f11c61a62
*** empty log message ***
2007-08-21 01:09:41 +00:00
Kevin Ryde
8f3aa0bd6a
(scm_i_card_statistics): Record scm_tc7_number types as
...
tc16 values so big, real, complex and fraction can be distinguished.
(scm_i_tag_name): Return "number" for scm_tc7_number, not NULL. NULL
was making numbers come out as "type 23" in gc-live-object-stats.
Fix tests of the tc16 number types, they were checked under
scm_tc7_number, but the values went down the tag>=255 smob case.
Put smob case under scm_tc7_smob instead of using tag>=255, per
recommendation in comments with scm_tc7_smob to use symbolic values.
Use SCM_TC2SMOBNUM to extract scm_smobs index, instead of explicit
code. Lose some unnecessary "break" statements.
(scm_i_card_statistics): Use scm_hashq_create_handle_x and modify the
element returned, rather than two lookups scm_hashq_ref and
scm_hashq_set_x.
2007-08-21 01:08:17 +00:00
Kevin Ryde
949ec9f963
*** empty log message ***
2007-08-16 23:34:58 +00:00
Kevin Ryde
9eec84a935
Add #define _REENTRANT, to get gmtime_r() prototype on
...
solaris 2.6. Reported by anirkko.
2007-08-16 23:33:46 +00:00
Ludovic Courtès
f743909974
Changes from arch/CVS synchronization
2007-07-29 15:16:46 +00:00
Ludovic Courtès
6caac03c93
Changes from arch/CVS synchronization
2007-07-29 14:58:21 +00:00
Ludovic Courtès
e08f3f7a30
Changes from arch/CVS synchronization
2007-07-24 23:17:54 +00:00
Ludovic Courtès
7337d56d57
Changes from arch/CVS synchronization
2007-07-22 16:30:13 +00:00
Ludovic Courtès
df44972273
Changes from arch/CVS synchronization
2007-07-17 08:39:35 +00:00
Ludovic Courtès
b1f57ea4ce
Changes from arch/CVS synchronization
2007-07-10 22:34:50 +00:00
Ludovic Courtès
d3075c52ac
Changes from arch/CVS synchronization
2007-06-25 22:25:22 +00:00
Ludovic Courtès
7a5fb79613
Changes from arch/CVS synchronization
2007-06-12 21:55:11 +00:00
Ludovic Courtès
a1ef740636
Changes from arch/CVS synchronization
2007-06-07 08:36:13 +00:00
Ludovic Courtès
3dcf33733c
Changes from arch/CVS synchronization
2007-05-26 14:30:50 +00:00
Ludovic Courtès
608860a5b3
Changes from arch/CVS synchronization
2007-05-05 20:38:57 +00:00
Ludovic Courtès
1911e3da17
Changes from arch/CVS synchronization
2007-04-17 14:12:17 +00:00
Han-Wen Nienhuys
1d8ce4c04d
* configure.in (HAVE_CRYPT): check for cexp, clog, carg
...
* numbers.c (carg): provide carg, cexp, clog in case they are
missing.
2007-04-09 14:47:41 +00:00
Ludovic Courtès
afb49959b0
Changes from arch/CVS synchronization
2007-03-27 08:03:33 +00:00
Kevin Ryde
29d8c12436
fixup Ludovic's name 2006-01-04, got a literal ascii "E8", somehow
2007-03-07 23:39:42 +00:00
Kevin Ryde
b3aa4626cd
merge from 1.8 branch
2007-03-07 23:35:55 +00:00
Kevin Ryde
65ae4d2d69
copyright year
2007-03-07 23:13:04 +00:00
Kevin Ryde
651f2cd27d
merge from 1.8 branch
2007-03-07 23:12:36 +00:00
Neil Jerram
652dbce648
(noinst_HEADERS): Add private-options.h, so that it
...
is included in the distribution.
(noinst_HEADERS): And the same for eval.i.c.
2007-02-19 23:00:07 +00:00
Neil Jerram
0329137392
(noinst_HEADERS): Add private-options.h, so that it
...
is included in the distribution.
2007-02-19 07:50:08 +00:00
Ludovic Courtès
a2f00b9b36
Changes from arch/CVS synchronization
2007-01-31 20:58:20 +00:00
Han-Wen Nienhuys
2a8d66b090
*** empty log message ***
2007-01-25 01:16:24 +00:00
Han-Wen Nienhuys
8cb7939c78
(s_scm_vector_move_right_x): complain about naming.
2007-01-22 16:00:23 +00:00
Han-Wen Nienhuys
d00a0704a9
regularize comments.
2007-01-22 15:57:22 +00:00
Han-Wen Nienhuys
3d178652b8
* eval.c: remove superfluous ifndef DEVAL.
...
* eval.c: distangle. move duplicate code to eval.i.c and include
twice.
* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
2007-01-22 15:29:56 +00:00
Han-Wen Nienhuys
243ebb6113
* private-options.h: idem.
...
* eval.i.c: copyright nitpicking.
* eval.c: distangle. move duplicate code to eval.i.c and include
twice.
* eval.i.c: new file.
* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
* private-options.h: new file: contain hardcoded option
definitions.
2007-01-22 15:20:35 +00:00
Han-Wen Nienhuys
0ee05b85ee
* eval.c: distangle. move duplicate code to eval.i.c and include
...
twice.
* eval.i.c: new file.
* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
2007-01-22 15:16:44 +00:00
Han-Wen Nienhuys
22fc179acd
* backtrace.c, debug.c, debug.h, deprecation.c, eq.c, eval.c
...
eval.h, gsubr.c, init.c, macros.c, print.c, print.h, read.c,
read.h, stacks.c, symbols.c, throw.c: use private-options.h
* private-options.h: new file: contain hardcoded option
definitions.
2007-01-22 15:14:40 +00:00
Han-Wen Nienhuys
cb90e2cbe7
add FSF header.
2007-01-22 15:11:30 +00:00
Han-Wen Nienhuys
72f19c2646
* debug.h (SCM_RESET_DEBUG_MODE): switch to debugging if
...
memoize-symbol is set.
* eval.h (SCM_MEMOIZE_HDLR): add macros for memoize symbol trap.
* eval.c (CEVAL): add memoize_symbol trap.
* read.c: idem.
* eval.c: terminate option lists with 0.
2007-01-19 20:05:05 +00:00
Han-Wen Nienhuys
03347a975b
* options.c (scm_options_try): new function. This allows error
...
reporting before changing options in a critical section.
* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
2007-01-19 19:35:36 +00:00
Han-Wen Nienhuys
b0763985c4
* srcprop.c: use double cell for storing source-properties. Put
...
filename in the plist, and share between srcprops if possible.
Remove specialized storage.
* srcprop.h: remove macros without SCM_ prefix from
interface. Remove specialized storage/type definitions.
* eval.c: terminate option lists with 0.
2007-01-19 19:33:10 +00:00
Han-Wen Nienhuys
6256065013
* readline.c: terminate option list with NULL.
...
* read.c: idem.
* print.c: idem.
* eval.c: terminate option lists with 0.
* options.c: remove n (for length) from scm_option_X
functions. Detect option list length by looking for NULL name.
2007-01-19 19:26:36 +00:00
Ludovic Courtès
42ddb3cb8b
Changes from arch/CVS synchronization
2007-01-19 08:53:33 +00:00
Han-Wen Nienhuys
937038e823
(scm_ithrow): more refined error message: print symbols
...
too.
2007-01-18 12:34:24 +00:00
Kevin Ryde
8e1973d9ab
merge from 1.8
2007-01-15 23:49:04 +00:00
Kevin Ryde
de6eff7190
copyright year
2007-01-15 23:42:46 +00:00
Kevin Ryde
23d7256628
merge from 1.8
2007-01-15 23:42:45 +00:00
Han-Wen Nienhuys
a2c40dc7c0
(scm_ithrow): print out key symbol and string arguments
...
when error happens inside a critical section, and document why.
2007-01-10 11:42:04 +00:00
Han-Wen Nienhuys
391f57e6ad
(s_scm_read_hash_extend): document #f argument to
...
read-hash-extend.
2007-01-06 18:20:35 +00:00
Han-Wen Nienhuys
93632e3cfd
(s_scm_gc_stats): return an entry for total-cells-allocated
...
too.
(gc_update_stats): update scm_gc_cells_allocated_acc too.
2007-01-03 17:26:32 +00:00
Han-Wen Nienhuys
e2bf3b19f6
* numbers.c (scm_i_fraction_reduce): move logic into
...
scm_i_make_ratio(), so fractions are only read.
scm_i_fraction_reduce() modifies a fraction when reading it. A
race condition might lead to fractions being corrupted by reading
them concurrently.
* numbers.h: remove SCM_FRACTION_SET_NUMERATOR,
SCM_FRACTION_SET_DENOMINATOR, SCM_FRACTION_REDUCED_BIT,
SCM_FRACTION_REDUCED_SET, SCM_FRACTION_REDUCED_CLEAR,
SCM_FRACTION_REDUCED.
2006-12-23 20:35:32 +00:00