[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] branch lloda-array-support updated (ec97489 -> 7b441d2)
From: |
Daniel Llorens |
Subject: |
[Guile-commits] branch lloda-array-support updated (ec97489 -> 7b441d2) |
Date: |
Wed, 25 May 2016 17:05:07 +0000 (UTC) |
lloda pushed a change to branch lloda-array-support
in repository guile.
discards ec97489 Fix a corner case with empty arrays in
(array-for-each-cell)
discards 96c2ef1 Clean up (array-for-each-cell)
discards 7408930 Avoid variable stack use in scm_array_for_each_cell()
discards ae03809 Special case for array-map! with three arguments
discards 2d2e368 New export (array-for-each-cell-in-order)
discards 615edcc Draft documentation for (array-for-each-cell)
discards 103cf1a Draft of (array-for-each-cell)
discards 0c7f844 Do not use array handles in scm_vector
discards ea5ca9b Remove deprecated and unused generalized-vector functions
discards 1c93f20 Speed up for multi-arg cases of scm_ramap functions
discards e7a1d85 Remove deprecated array functions
discards 191bfbe Fix compilation of rank 0 typed array literals
discards 91b2733 Don't use array handles in scm_c_array_rank
discards 2af8e7b Rename array-set-from!, scm_array_set_from_x to
array-amend!, scm_array_amend_x
discards 2b2a77f Tests & doc for array-from, array-from*, array-set-from!
discards 0a10a01 New functions array-from, array-from*, array-set-from!
discards e8ae3eb Compile in C99 mode
discards 7532c26 Reuse SCM_BYTEVECTOR_TYPED_LENGTH in scm_array_get_handle
discards 3134a07 Unuse array 'contiguous' flag
discards cf12699 Remove scm_from_contiguous_array
discards 2b6346f Avoid unneeded internal use of array handles
adds 737e62f Fix frame->stack-vector when no stack is active
adds 8a0fc51 display-{application,-backtrace} delegate to Scheme
adds 0a0a8d8 Move setvbuf impl to ports.[ch]
adds 59a1845 Use symbols instead of _IONBF values as args to setvbuf
adds 4eb9fd4 Move line-buffing machinery to ports.c
adds 4460f1f Remove port mark functions
adds 67b147f Remove port free functions; just close instead
adds e98f640 Remove port equal functions
adds 693359c Cosmetic changes to r6rs-ports.c
adds b538a96 Custom binary port internals refactor
adds 2caae47 Refactor to rw_random / rw_active port flags
adds b7e49a7 Whitespace fixes
adds b77fb75 Flush buffered reads / writes before seeking
adds 4bd9038 Fix POLLOUT assignment from port buffers
adds b51c34e Cosmetic changes to vports.c
adds c0d5f8b When making soft port, parse handlers into struct
adds e8eeeeb Port close functions return void
adds 8399e7a Generic port facility provides buffering uniformly
adds f5a0c16 Update NEWS for changes to port buffering.
adds 3ce52fa Fold 2.1.2 NEWS items into cumulative 2.2 NEWS
adds 55fb8f4 make-chunked-output-port buffering fix
adds f7027a8 Port read/write functions take bytevectors
adds d831408 Update port implementation documentation.
adds a9cf9f4 Allow port "write" functions to only write a chunk
adds 110695c Fix error in exception printer when bootstrapping
adds cf80502 Fix scm_init_struct dependency on port conversion handlers
adds 5e470ea Fix R6RS imports of interfaces that use interfaces
adds 44b3342 Load port bindings in separate (ice-9 ports) module
adds 2214fff Remove unrelated scm_t_port_buffer use in vports
adds f629740 Port buffer has-eof? field is SCM value
adds b869344 Remove size field from port buffers
adds 10dc6d0 Remove "buf" field from port buffers
adds ffb4347 Port buffer cur/next pointers are Scheme values
adds bb6edc5 peek-u8 correctness and speed refactor
adds 5a342f6 Port buffers are Scheme values
adds 3e951f7 Refactor thread safety for %port-property
adds fb577b5 Refactor to internal get/peek-byte functions
adds 4934b69 scm_c_read instead of scm_c_read_unlock
adds 69a1b83 Remove port rw_active field
adds 99899b7 Remove scm_flush_unlocked / scm_end_input_unlocked
adds 9632b24 Remove scm_c_read_bytes_unlocked
adds cd83872 Replace scm_getc with scm_getc_unlocked
adds 21650f8 Remove scm_unget_{byte,bytes}_unlocked
adds 122c8e6 scm_ungetc, scm_ungets instead of _unlocked variants
adds abf90c4 Remove locking in scm_end_input
adds 7966760 Remove scm_fill_input_unlocked
adds 206b3f6 Remove scm_putc_unlocked.
adds 105e365 Remove scm_puts_unlocked.
adds d0b9d3b Remove scm_c_write_unlocked
adds 15d5304 scm_lfwrite, not scm_lfwrite_unlocked
adds ee4854a Remove port locking around write, display
adds 8b46a4a Optimize peek-char
adds 2b47043 Remove port locks
adds 8bad621 Add SCM port read/write functions
adds 555c934 Refactor way the-eof-object is defined
adds 300c85b Tweak port initialization order
adds 6a752bc peek-byte in Scheme
adds 56c48d1 scm_fill_input can guarantee a minimum fill amount
adds 1309ab8 Char readers peek into read buffer
adds 4ba59e9 Changes to Scheme fill-input corresponding to C
adds 422f65f Minor tweak to Scheme peek-byte.
adds d8711b9 Port encoding internally represented as symbol
adds 383df79 Port conversion strategies internally are symbols
adds 36e3213 Port refactors to help Scheme peek-char
adds 2ba6380 Initial peek-char implementation in Scheme
adds f5b9a53 Add integer->char and char->integer opcodes
adds d7a111b Spead tweaks to Scheme peek-char
adds 86267af Handle BOM around fill/flush instead of peek/put
adds 6d15a71 Port to Scheme of new BOM handling
adds 0b4b4db Speed up peek-char
adds bed7bdc Fix use of port-encoding
adds 13f2128 Fix port-clear-stream-start-for-bom-read bug
adds d77b504 Speed refactors to Scheme %peek-char
adds 83e5ccb Fix bug in trampoline_to_c_read
adds 1953d29 Decoding errors do not advance read pointer
adds 08c67db Simplify decoding error handling
adds 8ee1899 Factor out iconv to port-decode-char
adds 837a7e0 Scheme peek-char can handle iconv encodings
adds 502e3a2 Fix port-clear-stream-start-for-bom-read logic.
adds 0dd1819 clear-stream-start-for-bom-read refactor
adds 9c02ede Fix bad-utf8-len bug.
adds 3ccfa21 peek-char-and-len/iconv uses both returns from fill-input
adds ab21af5 %peek-char port argument optional.
adds d28d1a5 Implement read-char in Scheme.
adds a8fe0f4 %read-char speedup
adds df0dade Implement lookahead-u8, get-u8 in Scheme
adds d1bb400 Beginnings of shunting ports-in-scheme off to a module
adds 704c428 Add (ice-9 sports) module
adds 6ff542e Add random_access_p port type method
adds fe7ceff Remove SCM backlink in port structure
adds 209d50c Embed scm_t_port in scm_t_port_internal
adds 8af6497 Make file/line/column fields of ports private
adds 9a9e0cc Make port buffering fields private
adds e5d2f4e Make scm_t_port private
adds 0857498 Remove scm_t_port_internal
adds af1c443 Update port documentation
adds 17f9036 Make scm_t_ptob_descriptor private.
adds cd51ce8 Use heap-allocated port types instead of ptobnums
adds 9322902 Update port type documentation
adds 9ecf77a Add SCM_OPN to mode bits when making ports
adds a9d0fe9 Update port mode bits documentation.
adds 556ac97 Document scm_c_make_port and friends
adds 745cbb4 Remove unused type from ports-internal
adds d6922b4 Update NEWS for release
adds da456d2 Bump objcode version
adds 1e058ad U+FFFD is the input substitution character
adds e32dcf2 Test Scheme port implementation
adds 8b6f4df Fix sports.test
adds 534139e Support for non-blocking I/O
adds 1852633 Add install-sports!, uninstall-sports! functions
adds fd5e69d Sports refactor
adds a4b0635 Implementation of read-delimited in Scheme
adds fd17cf9 Speed up port position access from Scheme
adds c6d88d1 tests: Use 'pass-if-equal' in web-http chunked encoding
tests.
adds 751a55e http: Do not buffer HTTP chunks.
adds e390e57 Implement 'string-utf8-length' and
'scm_c_string_utf8_length'.
adds 30db824 Don't return expressions from void functions in numbers.c
adds 05bea20 tests: Make 'test-guild-compile' more reliable.
adds 70d8ef7 tests: Gracefully handle ENOSYS return for 'setaffinity'.
adds 704c911 Correct docstring of 'symlink'.
adds d848067 web: Export 'server-impl' procedures and the 'http'
server implementation.
adds 8dcf3c6 Work around requirement that size be non-zero in GDB
'open-memory'.
adds 7b10692 Handle zero-length bytevectors correctly in (system base
types).
adds 82357f7 Add more R6RS port encoding tests
adds 93c3b06 doc: Update libgc URL.
adds e7cde8b Fix typo in manual.
adds 96b2990 Fix typo in the man page.
adds 7413430 i18n: Check for non-POSIX strtol_l.
adds ea8fa62 doc: Fix parameter of 'set-record-type-printer!'.
adds aa13da5 Fix atan procedure when applied to complex numbers.
adds d77247b Heed the reader settings implied by #!r6rs
adds 3cf70e3 Fix uses of 'scm_gc_protect', which does not exist, in
the manual.
adds a04c849 Clarify datum->syntax documentation.
adds bb7075d psyntax: Fix bug in match-each+.
adds b6c1018 doc: Add SXPath documentation from sources
adds e8d3733 doc: Fix menu order for SXML.
adds 013e698 Thank Ricardo.
adds d52edc0 web: Fix 'close' method of delimited input ports.
adds d975a8d docs: Fix external representation of <toplevel-define> in
tree-il.
adds 0bcf5d7 web: Gracefully handle premature EOF when reading chunk
header.
adds 2e3f6c3 i18n: Add new collation test for posterity.
adds 9955526 Fix the rule to check for new signals and errors
adds cdd0dc8 Add new Linux errno constants.
adds befaad0 Add Hurd signal and error constants.
adds 41f28a9 Remove SIGEV constant definitions.
adds 7c36145 build: Remove libguile/mkstemp.c, redundant with Gnulib.
adds 34428bc Thank David and Kouhei.
adds a88f94f doc: Mention a known-good Flex version number.
adds 5de910b build: Add SCM_T_OFF_MAX and SCM_T_OFF_MIN to scmconfig.h.
adds cfd4401 Regenerate SRFI-14 character set data.
adds 7d7e4bc Fix getsockopt/setsockopt handling of SO_SNDBUF/SO_RCVBUF
options.
adds 95d146f Bump user-visible copyright years to 2015.
adds 3829047 http: Test that responses lacking CR/LF are rejected.
adds f53145d http: Accept empty reason phrases.
adds 66bc464 http: Use 'read-header-line' instead of 'read-line*'.
adds 994b7d7 SRFI-19: Update the table of leap seconds.
adds 140496c Bump user-visible copyright years to 2016.
adds b9f6e89 http: Accept date strings with a leading space for hours.
adds a7d0a0d doc: Fix typo in Web documentation.
adds 2badbd0 Merge from stable-2.0
adds 2c95a21 More thorough ice-9 sports testing
adds 4e288ec Fix range checking in new Scheme-to-C port code
adds c95a193 get-bytevector-n in Scheme.
adds 6bf7ec0 Thread-safety fixes for iconv and ports
adds 690b856 Add force-output to sports
adds 25381bd close-port implementation in sports
adds 9686b04 Wire up non-blocking support in sport writes
adds ba91741 `put-bytevector' in Scheme
adds 7c8b80e Add put-u8 implementation in Scheme
adds 48dbadd Speed golf on Scheme put-u8, put-bytevector
adds 47918f3 Speed up scm_c_write / scm_lfwrite
new 3e5d282 Avoid unneeded internal use of array handles
new 4817972 Remove scm_from_contiguous_array
new 385a97f Unuse array 'contiguous' flag
new 0a6a4e9 Reuse SCM_BYTEVECTOR_TYPED_LENGTH in scm_array_get_handle
new beb3f64 Compile in C99 mode
new d8813b0 New functions array-from, array-from*, array-set-from!
new 2a2a9fa Tests & doc for array-from, array-from*, array-set-from!
new af017a1 Rename array-set-from!, scm_array_set_from_x to
array-amend!, scm_array_amend_x
new 2f50b78 Don't use array handles in scm_c_array_rank
new 03f8468 Fix compilation of rank 0 typed array literals
new 4c8aee8 Remove deprecated array functions
new 52e8dcf Speed up for multi-arg cases of scm_ramap functions
new a22a56a Remove deprecated and unused generalized-vector functions
new 998fc52 Do not use array handles in scm_vector
new 8050f41 Draft of (array-for-each-cell)
new d72fbc8 Draft documentation for (array-for-each-cell)
new f2241aa New export (array-for-each-cell-in-order)
new f4b55ba Special case for array-map! with three arguments
new 9f7408a Avoid variable stack use in scm_array_for_each_cell()
new c548c5d Clean up (array-for-each-cell)
new 7b441d2 Fix a corner case with empty arrays in
(array-for-each-cell)
This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version. This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:
* -- * -- B -- O -- O -- O (ec97489)
\
N -- N -- N refs/heads/lloda-array-support (7b441d2)
You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.
Any revisions marked "omits" are not gone; other references still
refer to them. Any revisions marked "discards" are gone forever.
The 21 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "adds" were already present in the repository and have only
been added to this reference.
Summary of changes:
HACKING | 5 +-
NEWS | 266 +-
THANKS | 3 +
am/bootstrap.am | 1 +
benchmark-suite/benchmarks/read.bm | 20 +-
benchmark-suite/benchmarks/uniform-vector-read.bm | 2 +-
configure.ac | 7 +-
doc/guile.1 | 2 +-
doc/ref/api-compound.texi | 2 +-
doc/ref/api-data.texi | 8 +-
doc/ref/api-io.texi | 698 +++--
doc/ref/api-macros.texi | 8 +-
doc/ref/api-memory.texi | 4 +-
doc/ref/api-modules.texi | 4 +-
doc/ref/compiler.texi | 4 +-
doc/ref/data-rep.texi | 4 +-
doc/ref/guile.texi | 2 +-
doc/ref/libguile-concepts.texi | 6 +-
doc/ref/posix.texi | 83 +-
doc/ref/sxml.texi | 320 +-
doc/ref/vm.texi | 10 +
doc/ref/web.texi | 4 +-
libguile/.gitignore | 1 +
libguile/Makefile.am | 6 +-
libguile/_scm.h | 2 +-
libguile/arbiters.c | 6 +-
libguile/array-map.c | 400 ++-
libguile/arrays.c | 16 +-
libguile/backtrace.c | 382 +--
libguile/backtrace.h | 3 -
libguile/bitvectors.c | 4 +-
libguile/bytevectors.c | 8 +-
libguile/continuations.c | 8 +-
libguile/cpp-E.syms | 17 +
libguile/cpp-SIG.syms | 7 +-
libguile/deprecated.c | 1 -
libguile/deprecated.h | 4 +-
libguile/deprecation.c | 2 +-
libguile/dynl.c | 6 +-
libguile/eval.c | 6 +-
libguile/filesys.c | 30 +-
libguile/fluids.c | 8 +-
libguile/foreign.c | 8 +-
libguile/fports.c | 497 +---
libguile/fports.h | 7 +-
libguile/frames.c | 6 +-
libguile/gen-scmconfig.c | 6 +
libguile/goops.c | 85 +-
libguile/goops.h | 3 +-
libguile/guardians.c | 10 +-
libguile/hashtab.c | 6 +-
libguile/hooks.c | 10 +-
libguile/i18n.c | 2 +-
libguile/init.c | 2 +-
libguile/ioext.c | 41 +-
libguile/load.c | 26 +-
libguile/macros.c | 6 +-
libguile/mallocs.c | 4 +-
libguile/mkstemp.c | 129 -
libguile/numbers.c | 260 +-
libguile/poll.c | 23 +-
libguile/ports-internal.h | 340 ++-
libguile/ports.c | 3260 +++++++++++----------
libguile/ports.h | 350 +--
libguile/print.c | 179 +-
libguile/programs.c | 14 +-
libguile/promises.c | 4 +-
libguile/r6rs-ports.c | 841 ++----
libguile/rdelim.c | 6 +-
libguile/read.c | 243 +-
libguile/rw.c | 20 +-
libguile/smob.c | 8 +-
libguile/socket.c | 30 +-
libguile/srcprop.c | 4 +-
libguile/srfi-14.c | 18 +-
libguile/srfi-14.i.c | 1686 ++++++++---
libguile/stackchk.c | 6 +-
libguile/strings.c | 74 +-
libguile/strings.h | 8 +-
libguile/strports.c | 325 +-
libguile/strports.h | 5 +-
libguile/struct.c | 26 +-
libguile/tags.h | 2 -
libguile/threads.c | 14 +-
libguile/throw.c | 2 +-
libguile/values.c | 4 +-
libguile/variable.c | 6 +-
libguile/vm-engine.c | 43 +-
libguile/vm.c | 11 +-
libguile/vports.c | 182 +-
libguile/weak-set.c | 8 +-
libguile/weak-table.c | 8 +-
module/Makefile.am | 2 +
module/ice-9/boot-9.scm | 316 +-
module/ice-9/command-line.scm | 4 +-
module/ice-9/deprecated.scm | 19 +-
module/ice-9/ports.scm | 551 ++++
module/ice-9/psyntax-pp.scm | 5 +-
module/ice-9/psyntax.scm | 5 +-
module/ice-9/r6rs-libraries.scm | 34 +-
module/ice-9/sports.scm | 690 +++++
module/language/cps/compile-bytecode.scm | 4 +
module/language/cps/slot-allocation.scm | 1 +
module/language/cps/types.scm | 6 +-
module/language/tree-il/compile-cps.scm | 11 +-
module/srfi/srfi-19.scm | 7 +-
module/system/base/types.scm | 12 +-
module/system/repl/common.scm | 5 +-
module/system/repl/debug.scm | 32 +-
module/system/vm/assembler.scm | 4 +-
module/web/client.scm | 2 +-
module/web/http.scm | 170 +-
module/web/response.scm | 4 +-
module/web/server.scm | 11 +-
module/web/server/http.scm | 7 +-
test-suite/Makefile.am | 1 +
test-suite/standalone/test-guild-compile | 5 +
test-suite/standalone/test-scm-c-read.c | 63 +-
test-suite/tests/i18n.test | 19 +-
test-suite/tests/iconv.test | 2 +-
test-suite/tests/numbers.test | 7 +-
test-suite/tests/ports.test | 66 +-
test-suite/tests/posix.test | 18 +-
test-suite/tests/r6rs-ports.test | 66 +-
test-suite/tests/rdelim.test | 7 +-
test-suite/tests/reader.test | 45 +-
test-suite/tests/rnrs-libraries.test | 42 +-
test-suite/tests/sports.test | 58 +
test-suite/tests/strings.test | 20 +-
test-suite/tests/web-client.test | 12 +-
test-suite/tests/web-http.test | 116 +-
test-suite/tests/web-response.test | 14 +-
132 files changed, 7956 insertions(+), 5745 deletions(-)
delete mode 100644 libguile/mkstemp.c
create mode 100644 module/ice-9/ports.scm
create mode 100644 module/ice-9/sports.scm
create mode 100644 test-suite/tests/sports.test
- [Guile-commits] branch lloda-array-support updated (ec97489 -> 7b441d2),
Daniel Llorens <=
- [Guile-commits] 10/21: Fix compilation of rank 0 typed array literals, Daniel Llorens, 2016/05/25
- [Guile-commits] 13/21: Remove deprecated and unused generalized-vector functions, Daniel Llorens, 2016/05/25
- [Guile-commits] 14/21: Do not use array handles in scm_vector, Daniel Llorens, 2016/05/25
- [Guile-commits] 03/21: Unuse array 'contiguous' flag, Daniel Llorens, 2016/05/25
- [Guile-commits] 07/21: Tests & doc for array-from, array-from*, array-set-from!, Daniel Llorens, 2016/05/25
- [Guile-commits] 18/21: Special case for array-map! with three arguments, Daniel Llorens, 2016/05/25
- [Guile-commits] 02/21: Remove scm_from_contiguous_array, Daniel Llorens, 2016/05/25
- [Guile-commits] 17/21: New export (array-for-each-cell-in-order), Daniel Llorens, 2016/05/25
- [Guile-commits] 01/21: Avoid unneeded internal use of array handles, Daniel Llorens, 2016/05/25
- [Guile-commits] 15/21: Draft of (array-for-each-cell), Daniel Llorens, 2016/05/25