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
|
|
378:15348c678a83
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added an explicit size member to __attr for strings, eliminated strlen usage,
replaced strncpy usage with memcpy, permitting strings with zero bytes to be
stored and manipulated. |
|
|
encoders.py generator.py templates/native/buffer.c templates/native/common.c templates/native/common.h templates/native/int.c templates/native/io.c templates/native/locale.c templates/native/str.c templates/types.h ...
|
|
377:4a9521f666e9
|
2016-12-12 |
Paul Boddie |
changeset
files
shortlog
graph
|
Added attributes to OSError instances. |
|
|
lib/__builtins__/exception/system.py
|
|
376:333e1b23f4e4
|
2016-12-11 |
Paul Boddie |
changeset
files
shortlog
graph
|
Allocate separate strings for the function results. Fixed comments. |
|
|
templates/native/locale.c
|
|