| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
* doc/ref/posix.texi (Time)[strftime]: Remove erroneous note saying
that `%Z' ignores `tm:zone'. Reported by Neil Jerram.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Idea and original patch were by Ludovic Courtès, this is Neil Jerram's
reworking of it.
* libguile/srfi-4.c (scm_uniform_vector_read_x): Use scm_c_read,
instead of equivalent code here.
* libguile/ports.c (scm_fill_input): Add assertion that read
buffer is empty when called.
(port_and_swap_buffer, swap_buffer): New, for...
(scm_c_read): Use caller's buffer for reading, to avoid making N
1-byte low-level read calls, in the case where the port is
unbuffered (or has a very small buffer).
|
| |
|
|
|
|
|
|
|
|
| |
* test-suite/standalone/Makefile.am (test_cflags): Add `-I$(top_builddir)' so
that <config.h> can be found.
(snarfcppopts): Likewise.
* test-suite/standalone/*.c: Include <config.h>.
|
| |
|
| |
|
| |
|
|
|
|
|
| |
* doc/ref/api-options.texi (Build Config): Remove "." from the default value
of `%load-path'. Reported by David Séverin <david@altosw.be>.
|
|
|
|
|
|
| |
* libguile/discouraged.c: Include <config.h> first so that files that
rely on `config.h' macros (such as Gnulib-provided headers) work as
expected.
|
| |
|
|
|
|
|
|
| |
* m4/gnulib-cache.m4 (gl_MODULES): Add `autobuild'.
* Makefile.am (EXTRA_DIST): Add `m4/autobuild.m4'.
|
|
|
|
|
|
|
|
| |
* libguile/gc.c (scm_i_gc): Change assert into printed warning.
* libguile/private-gc.h (nil): introduce scm_i_last_marked_cell_count,
as a private mechanism for maintaining cell counts. Remove variable
scm_cells_allocated.
|
|
|
|
|
|
|
|
| |
* Drop CVS references.
* Ask for Git based patches.
* Drop outdated info (EGCS, SCM_P)
|
|
|
|
|
| |
* libguile/locale-categories.h (MESSAGES): Enclose in `#ifdef LC_MESSAGES' as
it's not available on MinGW. Reported by Han-Wen.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libguile/__scm.h (SCM_DEBUG): add SCM_DEBUG_MARKING_API
* libguile/gc.h (SCM_SET_GC_MARK): depending on
SCM_DEBUG_MARKING_API crash if someone is touching markbits
outside regular hours.
Rename ensure_marking() to scm_i_ensure_marking().
* libguile/inline.h (scm_double_cell, scm_cell): only set mark bits
for debugging if SCM_DEBUG_MARKING_API is unset
* libguile/gc-mark.c: Issue deprecation warning if we are marking
outside of the GC mark phase.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* libguile/gc-card.c: Include <config.h> and <count-one-bits.h>.
(scm_i_uint_bit_count): Remove.
(scm_i_card_marked_count): Use `count_one_bits_l ()' instead
of `scm_i_uint_bit_count ()'.
* libguile/gc-segment.c: Include <config.h> and <count-one-bits.h>.
(scm_i_heap_segment_marked_count): Use `count_one_bits_l ()' instead
of `scm_i_uint_bit_count ()'.
* libguile/private-gc.h (scm_i_uint_bit_count): Remove.
|
|
|
|
| |
* m4/gnulib-cache.m4 (gl_MODULES): Add `count-one-bits'.
|
|\
| |
| |
| |
| |
| |
| | |
Conflicts:
libguile/ChangeLog
srfi/ChangeLog
test-suite/ChangeLog
|
| |
| |
| |
| |
| |
| |
| | |
* NEWS: Update.
* configure.in: Remove `AM_MAINTAINER_MODE' invocation.
* doc/Makefile.am, ice-9/Makefile.am: Ignore `MAINTAINER_MODE'
conditional.
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
investigate a real fix.
|
| |
| |
| |
| |
| |
| |
| | |
* libguile/i18n.c (str_upcase, str_downcase, scm_char_locale_downcase,
scm_char_locale_upcase): Cast chars to `int' when invoking `toupper ()'
et al. to avoid "array subscript has type 'char'" on NetBSD.
Reported by Greg Toxel <gdt@ir.bbn.com>.
|
| |
| |
| |
| | |
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
| |
| |
| |
| | |
Signed-off-by: Ludovic Courtès <ludo@gnu.org>
|
| | |
|
| | |
|
| |\ |
|
| | |
| | |
| | |
| | | |
Gnulib code.
|
| | |
| | |
| | |
| | | |
SCM_DEBUG_CELL_ACCESSES uses the mark bits for its own purposes.
|
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* libguile/stime.c (scm_strftime): Use `nstrftime ()' from Gnulib.
This provides the same semantics on all platforms, thereby fixing
bug #24130.
* doc/ref/posix.texi (Time): Remove note about non-portable `%Z'
behavior. Describe the new, portable behavior.
* test-suite/tests/time.test ("strftime")["strftime %Z doesn't return
garbage"]: Reinstate.
["C99 %z format"](have-strftime-%z): Remove.
("GMT", "EST+5"): Don't use `have-strftime-%z'.
|
| |
| |
| |
| | |
* m4/gnulib-cache.m4 (gl_MODULES): Add `strftime'.
|
|/
|
|
| |
Gnulib code.
|
| |
|
| |
|
|
|
|
|
| |
These come from Gnulib's Git commit
ae3a0d62f26d8156b403e40d6007475006f3136f, dated 2008-08-19.
|
|
|
|
|
|
|
|
|
|
|
|
| |
takes care of it.
Conflicts:
ChangeLog
configure.in
libguile/eval.c
libguile/srfi-14.c
libguile/threads.c
|
| |
|
|
|
|
| |
corruption fix.
|
| |
|
| |
|
| |
|
|
|
|
| |
sweep directly.
|
|
|
|
|
| |
This allows an informed choice for deciding how many segments to
create. After startup, ~2% of the cells are scanned conservatively.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* New file gc-segment-table.c: hold code for the segment table.
* Remove data that might be out of date; remove
scm_i_adjust_min_yield(). We don't store min_yields, since they
are only accurate at one point in time (when the sweep finishes).
We decide the min yield at that point from min_yield_fraction and
freelist->collected / freelist->swept
* Introduce scm_i_gc_heap_size_delta() replacing
scm_i_gc_grow_heap_p().
* Remove foo_1 fields containing penultimate results.
* After GC, count mark bit vector to discover number of live
objects. This simplifies hairy updates.
* Many formatting and layout cleanups.
* Fix in scm_i_sweep_card(): return the length of free_list returned,
rather than number of deleted objects.
* For mtrigger GCs: do not also run a full sweep after the gc() call, as
this is inconsistent with lazy sweeping.
* Remove scm_i_make_initial_segment().
* Use calloc in scm_i_make_empty_heap_segment() to save on
initialization code.
* New function scm_i_sweep_for_freelist() which sweeps, with proper
statistic variable updates.
* New segments are conceptually blocks with 100% reclaimable cells.
* Remove some useless constants/comments: SCM_HEAP_SIZE,
SCM_INIT_HEAP_SIZE, SCM_EXPHEAP, SCM_HEAP_SEG_SIZE
* Do not increment scm_cells_allocated() from the
scm_[double]cell(). This would be a race condition.
* Move some deprecation checks in separate functions to not distract
from main code flow.
|
| |
|
|
|
|
| |
outside of marking stage.
|