awesomized/ext-ion
2 years agopoint to all-fixes-merged for bundled ionc
Michael Wallner [Wed, 12 Jan 2022 14:44:37 +0000 (15:44 +0100)] 
point to all-fixes-merged for bundled ionc

2 years agofix leak
Michael Wallner [Wed, 12 Jan 2022 10:37:22 +0000 (11:37 +0100)] 
fix leak

2 years agocoverage++
Michael Wallner [Wed, 12 Jan 2022 10:37:06 +0000 (11:37 +0100)] 
coverage++

2 years agoimprove buffer writer
Michael Wallner [Wed, 12 Jan 2022 10:02:03 +0000 (11:02 +0100)] 
improve buffer writer

2 years ago../..
Michael Wallner [Wed, 12 Jan 2022 10:00:56 +0000 (11:00 +0100)] 
../..

2 years agotests: writer options
Michael Wallner [Wed, 12 Jan 2022 10:00:25 +0000 (11:00 +0100)] 
tests: writer options

2 years agoimprove cloning
Michael Wallner [Wed, 12 Jan 2022 09:59:54 +0000 (10:59 +0100)] 
improve cloning

2 years agofixup 6837f00 with even more simplicity
Michael Wallner [Wed, 12 Jan 2022 08:11:23 +0000 (09:11 +0100)] 
fixup 6837f00 with even more simplicity

2 years agoseriously simplify the buffer writer by not accepting a ref to a buffer
Michael Wallner [Tue, 11 Jan 2022 21:08:17 +0000 (22:08 +0100)] 
seriously simplify the buffer writer by not accepting a ref to a buffer

2 years agotests++
Michael Wallner [Tue, 11 Jan 2022 12:36:38 +0000 (13:36 +0100)] 
tests++

2 years agofix leak reading partial lobs
Michael Wallner [Mon, 10 Jan 2022 23:17:30 +0000 (00:17 +0100)] 
fix leak reading partial lobs

2 years agotests++
Michael Wallner [Mon, 10 Jan 2022 22:05:21 +0000 (23:05 +0100)] 
tests++

2 years agoimprove field name unserialization
Michael Wallner [Mon, 10 Jan 2022 20:48:08 +0000 (21:48 +0100)] 
improve field name unserialization

2 years agofix timestamp formats
Michael Wallner [Mon, 10 Jan 2022 19:32:26 +0000 (20:32 +0100)] 
fix timestamp formats

2 years agotests: unserialize($stream)
Michael Wallner [Mon, 10 Jan 2022 14:34:35 +0000 (15:34 +0100)] 
tests: unserialize($stream)

2 years agotests: clone Decimal\Context
Michael Wallner [Mon, 10 Jan 2022 14:34:16 +0000 (15:34 +0100)] 
tests: clone Decimal\Context

2 years agotests: Reader\Options
Michael Wallner [Mon, 10 Jan 2022 14:34:00 +0000 (15:34 +0100)] 
tests: Reader\Options

2 years agotests: fix fractional timestamps
Michael Wallner [Mon, 10 Jan 2022 14:13:32 +0000 (15:13 +0100)] 
tests: fix fractional timestamps

2 years agogitignore: .idea
Michael Wallner [Fri, 7 Jan 2022 20:07:22 +0000 (21:07 +0100)] 
gitignore: .idea

2 years agotests: resource
Michael Wallner [Fri, 7 Jan 2022 20:06:50 +0000 (21:06 +0100)] 
tests: resource

2 years agoadd README
Michael Wallner [Fri, 7 Jan 2022 20:06:31 +0000 (21:06 +0100)] 
add README

2 years agodefine clonability
Michael Wallner [Fri, 7 Jan 2022 20:06:15 +0000 (21:06 +0100)] 
define clonability

2 years agodo not backref empty string/array to save a few bytes
Michael Wallner [Thu, 6 Jan 2022 09:34:35 +0000 (10:34 +0100)] 
do not backref empty string/array to save a few bytes

2 years agotypo
Michael Wallner [Thu, 6 Jan 2022 09:31:55 +0000 (10:31 +0100)] 
typo

2 years agotests++
Michael Wallner [Wed, 5 Jan 2022 22:14:58 +0000 (23:14 +0100)] 
tests++

2 years agoDockerfile
Michael Wallner [Wed, 5 Jan 2022 15:22:49 +0000 (16:22 +0100)] 
Dockerfile

docker build --tag m6w6/php-ion . && \
docker run --rm m6w6/php-ion -r 'var_dump(ion\unserialize("123d0"));'

2 years agooptionally bundle amzn/ion-c
Michael Wallner [Mon, 3 Jan 2022 22:29:45 +0000 (23:29 +0100)] 
optionally bundle amzn/ion-c

2 years agotests: do not depend on ctype
Michael Wallner [Mon, 3 Jan 2022 22:55:06 +0000 (23:55 +0100)] 
tests: do not depend on ctype

2 years agotests/Symbol/Table/Shared: lookup shared symbols in catalog
Michael Wallner [Mon, 27 Dec 2021 13:47:27 +0000 (14:47 +0100)] 
tests/Symbol/Table/Shared: lookup shared symbols in catalog

2 years agogitignore: *.dep
Michael Wallner [Tue, 28 Dec 2021 08:22:49 +0000 (09:22 +0100)] 
gitignore: *.dep

2 years agofix warnings
Michael Wallner [Tue, 28 Dec 2021 08:20:54 +0000 (09:20 +0100)] 
fix warnings

2 years agofix warnings
Michael Wallner [Mon, 27 Dec 2021 10:03:13 +0000 (11:03 +0100)] 
fix warnings

2 years agofix ion type arguments
Michael Wallner [Wed, 22 Dec 2021 17:30:28 +0000 (18:30 +0100)] 
fix ion type arguments

2 years agodiscard a few previous ideas
Michael Wallner [Wed, 22 Dec 2021 16:32:48 +0000 (17:32 +0100)] 
discard a few previous ideas

2 years agoensure proper default initialization
Michael Wallner [Wed, 22 Dec 2021 15:50:22 +0000 (16:50 +0100)] 
ensure proper default initialization

2 years agoimprove catalog support; depends on amzn/ion-c#271
Michael Wallner [Wed, 22 Dec 2021 10:06:05 +0000 (11:06 +0100)] 
improve catalog support; depends on amzn/ion-c#271

2 years agoadd tests/Catalog - depends on amzn/ion-c#267
Michael Wallner [Tue, 21 Dec 2021 09:15:30 +0000 (10:15 +0100)] 
add tests/Catalog - depends on amzn/ion-c#267

2 years agoencode the return value ofg serializables as clob
Michael Wallner [Tue, 21 Dec 2021 07:56:15 +0000 (08:56 +0100)] 
encode the return value ofg serializables as clob

strings are supposed to be UTF-8 and serialiables cannot return ion\LOB
objects

2 years agoremove collections, which are pretty low level
Michael Wallner [Tue, 21 Dec 2021 07:37:33 +0000 (08:37 +0100)] 
remove collections, which are pretty low level

2 years agouse ION_STRING_EQUALS API
Michael Wallner [Tue, 21 Dec 2021 07:33:23 +0000 (08:33 +0100)] 
use ION_STRING_EQUALS API

2 years agoimprove shared symbol tables
Michael Wallner [Mon, 20 Dec 2021 15:43:43 +0000 (16:43 +0100)] 
improve shared symbol tables

2 years agoremo0ve semi-global PHP anntotation interfering with system values
Michael Wallner [Mon, 20 Dec 2021 15:30:52 +0000 (16:30 +0100)] 
remo0ve semi-global PHP anntotation interfering with system values

2 years agofix leak
Michael Wallner [Mon, 20 Dec 2021 15:29:26 +0000 (16:29 +0100)] 
fix leak

2 years agofix default options
Michael Wallner [Mon, 20 Dec 2021 15:27:58 +0000 (16:27 +0100)] 
fix default options

2 years agoimprove symbol/table/catalog support
Michael Wallner [Fri, 17 Dec 2021 19:28:39 +0000 (20:28 +0100)] 
improve symbol/table/catalog support

2 years agofix test
Michael Wallner [Fri, 17 Dec 2021 17:55:58 +0000 (18:55 +0100)] 
fix test

2 years agomake decContext a module global
Michael Wallner [Thu, 16 Dec 2021 12:11:33 +0000 (13:11 +0100)] 
make decContext a module global

2 years agofix timestamp support
Michael Wallner [Thu, 16 Dec 2021 08:48:54 +0000 (09:48 +0100)] 
fix timestamp support

2 years agoimprove symbol comparison
Michael Wallner [Wed, 15 Dec 2021 19:54:58 +0000 (20:54 +0100)] 
improve symbol comparison

2 years agonaivly capture multiple values for single field
Michael Wallner [Wed, 15 Dec 2021 16:04:48 +0000 (17:04 +0100)] 
naivly capture multiple values for single field

2 years agoimprove decimal context
Michael Wallner [Wed, 15 Dec 2021 15:27:20 +0000 (16:27 +0100)] 
improve decimal context

2 years agosupport multi sequence un/serialization
Michael Wallner [Wed, 15 Dec 2021 12:49:55 +0000 (13:49 +0100)] 
support multi sequence un/serialization

2 years agofollowup to 4e6d146
Michael Wallner [Wed, 15 Dec 2021 12:47:37 +0000 (13:47 +0100)] 
followup to 4e6d146

2 years agouse already available ion_string_assign_cstr API
Michael Wallner [Wed, 15 Dec 2021 09:35:04 +0000 (10:35 +0100)] 
use already available ion_string_assign_cstr API

2 years agofix test
Michael Wallner [Tue, 14 Dec 2021 11:58:15 +0000 (12:58 +0100)] 
fix test

2 years agoTODO: reading ints
Michael Wallner [Tue, 14 Dec 2021 11:41:12 +0000 (12:41 +0100)] 
TODO: reading ints

2 years agoonly check single char annotations
Michael Wallner [Tue, 14 Dec 2021 11:39:47 +0000 (12:39 +0100)] 
only check single char annotations

2 years agosort of correct unserialize input arg type
Michael Wallner [Tue, 14 Dec 2021 11:39:12 +0000 (12:39 +0100)] 
sort of correct unserialize input arg type

2 years agocheck for NULL on any valid ION type
Michael Wallner [Tue, 14 Dec 2021 11:38:25 +0000 (12:38 +0100)] 
check for NULL on any valid ION type

2 years agoproperly unserialize (unknown) field names
Michael Wallner [Tue, 14 Dec 2021 11:37:19 +0000 (12:37 +0100)] 
properly unserialize (unknown) field names

2 years agoproperly check whether an ion int/decimal fits a zend_long
Michael Wallner [Tue, 14 Dec 2021 11:33:53 +0000 (12:33 +0100)] 
properly check whether an ion int/decimal fits a zend_long

2 years agoimmediately check for EOF
Michael Wallner [Fri, 10 Dec 2021 22:19:56 +0000 (23:19 +0100)] 
immediately check for EOF

2 years agoremove superfluous null check
Michael Wallner [Fri, 10 Dec 2021 22:11:52 +0000 (23:11 +0100)] 
remove superfluous null check

2 years agoonly check 1-char annotations
Michael Wallner [Fri, 10 Dec 2021 22:11:19 +0000 (23:11 +0100)] 
only check 1-char annotations

2 years agoadd ion\LOB
Michael Wallner [Fri, 10 Dec 2021 22:02:36 +0000 (23:02 +0100)] 
add ion\LOB

2 years agorm unused code
Michael Wallner [Fri, 10 Dec 2021 22:02:04 +0000 (23:02 +0100)] 
rm unused code

2 years agofix decimal context leak
Michael Wallner [Fri, 10 Dec 2021 22:01:45 +0000 (23:01 +0100)] 
fix decimal context leak

2 years agosimplify Serializable handling
Michael Wallner [Fri, 10 Dec 2021 20:14:30 +0000 (21:14 +0100)] 
simplify Serializable handling

2 years agoimprove object un/serialization
Michael Wallner [Fri, 10 Dec 2021 14:25:15 +0000 (15:25 +0100)] 
improve object un/serialization

2 years agorm debug fprintf
Michael Wallner [Thu, 9 Dec 2021 19:30:50 +0000 (20:30 +0100)] 
rm debug fprintf

2 years agoimprove un/serialization API
Michael Wallner [Thu, 9 Dec 2021 16:49:23 +0000 (17:49 +0100)] 
improve un/serialization API

2 years agobasic type test
Michael Wallner [Tue, 7 Dec 2021 15:07:52 +0000 (16:07 +0100)] 
basic type test

2 years agoimprove symbol support
Michael Wallner [Tue, 7 Dec 2021 15:07:08 +0000 (16:07 +0100)] 
improve symbol support

2 years agoimprove timestamp support
Michael Wallner [Tue, 7 Dec 2021 14:30:17 +0000 (15:30 +0100)] 
improve timestamp support

2 years agoimprove decimal support
Michael Wallner [Tue, 7 Dec 2021 11:41:49 +0000 (12:41 +0100)] 
improve decimal support

2 years agobetter handling of unserialization with annotations
Michael Wallner [Tue, 7 Dec 2021 01:26:41 +0000 (02:26 +0100)] 
better handling of unserialization with annotations

2 years agoinitial ci
Michael Wallner [Mon, 6 Dec 2021 20:27:40 +0000 (21:27 +0100)] 
initial ci