388:887f9d80a137
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the substring length calculation for negative step values. |
|
|
templates/native/str.c
|
|
387:d11750cc8bf3
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added tests of illegal sequences when converting between encodings. |
|
|
tests/iconv.py
|
|
386:ef11d7542969
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Support incremental conversion of strings, handling incomplete sequences of
characters, employing the string representation method to obtain the result.
Added a native function to reset the iconv context.
Added tests of feeding incomplete sequences followed by the remaining bytes. |
|
|
lib/native/__init__.py lib/native/iconv.py lib/posix/iconv.py templates/native/iconv.c templates/native/iconv.h tests/iconv.py
|
|
385:e11d55280718
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed operation encoding for attribute access tests. |
|
|
deducer.py encoders.py
|
|
384:f42e303e5dc5
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed string slicing to produce strings, changing sequences to not provide
list-based slicing to all descendant classes.
Changed the native substring function to use start, end and step information,
adding step support.
Changed the names in the native string module to reflect __data__ attribute
usage.
Added tests of string slicing. |
|
|
lib/__builtins__/sequence.py lib/__builtins__/str.py lib/native/str.py templates/native/str.c tests/string.py
|
|
383:42fed2e5be00
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Put exception handling around all conversions. |
|
|
tests/iconv.py
|
|
382:f4c762e01b82
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Make various helper function bodies conditional but not their definitions. This
allows native files that might mention the helper functions to be compiled even
if the native functions employing them are never used. |
|
|
templates/progops.c templates/progops.h
|
|
381:77f8ab079c2e
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Fixed the size information on serialised integer strings. |
|
|
templates/native/int.c
|
|
380:86cd43476c54
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added support for character set conversions using the iconv API. |
|
|
lib/native/__init__.py lib/native/iconv.py lib/posix/iconv.py templates/native/iconv.c templates/native/iconv.h tests/iconv.py
|
|
379:38d6eb5db365
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added a helper function to raise OSError in the native functions. |
|
|
templates/progops.c templates/progops.h
|
|