awesomized/ext-ion
2 years agoback to dev
Michael Wallner [Thu, 19 May 2022 08:25:34 +0000 (10:25 +0200)] 
back to dev

2 years agorelease v0.2.0 v0.2.0
Michael Wallner [Fri, 13 May 2022 07:41:29 +0000 (09:41 +0200)] 
release v0.2.0

* Improved documentation.
* Upgrade bundled ion-c library.
* Fix gh-issue #5: ion\Timestamp crashes with string timezones.
* Add ion\Exception.
* Refactor (un)serialization facilities:
  * Removed ion\Reader\Options class and moved the options to the ion\Reader constructor.
  * Removed ion\Writer\Options class and moved the options to the ion\Writer constructor.
  * Renamed ion\Serializer\PHP to ion\Serializer\Serializer.
  * Renamed ion\Unserializer\PHP to ion\Unserializer\Unserializer.
  * Changed ion\Serializer::serialize(mixed $data) to
    ion\Serializer::serialize(mixed $data, ion\Writer|array|null $writer = null).
  * Changed ion\Unserializer::unserialize(string|resource $data) to
    ion\Unserializer::unserialize(ion\Reader|string|resource $data)
* Add support for custom (un)serializers.

2 years agoci: attempt to fix codecov (the old way)
Michael Wallner [Mon, 2 May 2022 12:00:12 +0000 (14:00 +0200)] 
ci: attempt to fix codecov (the old way)

2 years agoci: attempt to fix codecov
Michael Wallner [Mon, 2 May 2022 11:04:36 +0000 (13:04 +0200)] 
ci: attempt to fix codecov

2 years agoci: enable ext/intl
Michael Wallner [Fri, 29 Apr 2022 16:46:05 +0000 (18:46 +0200)] 
ci: enable ext/intl

2 years agoprepare 0.2.0
Michael Wallner [Thu, 28 Apr 2022 13:28:29 +0000 (15:28 +0200)] 
prepare 0.2.0

2 years agoremove Options classes
Michael Wallner [Thu, 28 Apr 2022 13:14:52 +0000 (15:14 +0200)] 
remove Options classes

2 years agofix userland string serialization
Michael Wallner [Tue, 26 Apr 2022 09:34:59 +0000 (11:34 +0200)] 
fix userland string serialization

2 years agofix warnings
Michael Wallner [Mon, 25 Apr 2022 13:50:02 +0000 (15:50 +0200)] 
fix warnings

2 years agoreference fix for amzn/ion-c#292
Michael Wallner [Mon, 25 Apr 2022 13:49:49 +0000 (15:49 +0200)] 
reference fix for amzn/ion-c#292

2 years agopackage.xml: fix files
Michael Wallner [Mon, 25 Apr 2022 13:48:23 +0000 (15:48 +0200)] 
package.xml: fix files

2 years agofix memleaks
Michael Wallner [Tue, 5 Apr 2022 08:16:13 +0000 (10:16 +0200)] 
fix memleaks

2 years agorm unused code
Michael Wallner [Tue, 5 Apr 2022 08:14:56 +0000 (10:14 +0200)] 
rm unused code

2 years agoion-c: move to v1.0.6
Michael Wallner [Mon, 4 Apr 2022 13:46:24 +0000 (15:46 +0200)] 
ion-c: move to v1.0.6

2 years agorefactor serde interfaces and impls
Michael Wallner [Fri, 1 Apr 2022 16:18:54 +0000 (18:18 +0200)] 
refactor serde interfaces and impls

2 years agoshow versions in MINFO
Michael Wallner [Wed, 2 Mar 2022 15:12:35 +0000 (16:12 +0100)] 
show versions in MINFO

see also https://github.com/amzn/ion-c/issues/285

2 years agoextends tests wrt 773abe7
Michael Wallner [Wed, 2 Mar 2022 15:12:14 +0000 (16:12 +0100)] 
extends tests wrt 773abe7

2 years agocodecov: typo
Michael Wallner [Tue, 15 Mar 2022 12:58:19 +0000 (13:58 +0100)] 
codecov: typo

2 years agoattempt to fix codecov
Michael Wallner [Tue, 15 Mar 2022 12:50:00 +0000 (13:50 +0100)] 
attempt to fix codecov

2 years agoattempt to fix codecov
Michael Wallner [Tue, 15 Mar 2022 12:46:34 +0000 (13:46 +0100)] 
attempt to fix codecov

2 years agodocs: tutorial
Michael Wallner [Tue, 1 Mar 2022 17:28:30 +0000 (18:28 +0100)] 
docs: tutorial

2 years agoconsolidate on ion\Exception
Michael Wallner [Tue, 1 Mar 2022 14:55:58 +0000 (15:55 +0100)] 
consolidate on ion\Exception

2 years agoaccept arrays as named parameters for {Uns,S}erializer and
Michael Wallner [Tue, 1 Mar 2022 13:28:13 +0000 (14:28 +0100)] 
accept arrays as named parameters for {Uns,S}erializer and
{Reader,Writer}\Options

2 years agofix bad method call
Michael Wallner [Tue, 1 Mar 2022 10:18:16 +0000 (11:18 +0100)] 
fix bad method call

2 years agoFix #5: ion\Timestamp crashes with string timezones
Michael Wallner [Mon, 28 Feb 2022 11:37:49 +0000 (12:37 +0100)] 
Fix #5: ion\Timestamp crashes with string timezones

2 years agodocs: de-uglify
Michael Wallner [Sat, 12 Feb 2022 13:20:10 +0000 (14:20 +0100)] 
docs: de-uglify

2 years agodocs: simplify install instructions
Michael Wallner [Mon, 7 Feb 2022 13:18:35 +0000 (14:18 +0100)] 
docs: simplify install instructions

2 years agodocs: readme
Michael Wallner [Fri, 11 Feb 2022 10:21:29 +0000 (11:21 +0100)] 
docs: readme

2 years agowould be nice if we could return a cacnonical path to the cli server
Michael Wallner [Fri, 11 Feb 2022 10:20:33 +0000 (11:20 +0100)] 
would be nice if we could return a cacnonical path to the cli server

2 years agowe'll probably get this right until 1.0
Michael Wallner [Wed, 2 Feb 2022 07:12:13 +0000 (08:12 +0100)] 
we'll probably get this right until 1.0

2 years agoback to dev
Michael Wallner [Tue, 1 Feb 2022 12:08:54 +0000 (13:08 +0100)] 
back to dev

2 years agorelease v0.1.0
Michael Wallner [Tue, 1 Feb 2022 11:40:49 +0000 (12:40 +0100)] 
release v0.1.0

2 years agodocs: un-break gh-pages build
Michael Wallner [Mon, 31 Jan 2022 08:15:31 +0000 (09:15 +0100)] 
docs: un-break gh-pages build

2 years agodocs: adapt to public gh-pages
Michael Wallner [Mon, 31 Jan 2022 08:07:42 +0000 (09:07 +0100)] 
docs: adapt to public gh-pages

2 years agotypos
Michael Wallner [Mon, 31 Jan 2022 07:30:50 +0000 (08:30 +0100)] 
typos

2 years agodocs: update
Michael Wallner [Thu, 27 Jan 2022 15:38:33 +0000 (16:38 +0100)] 
docs: update

2 years agomove PHP and System table enums to the Symbol ns
Michael Wallner [Tue, 25 Jan 2022 12:00:12 +0000 (13:00 +0100)] 
move PHP and System table enums to the Symbol ns

2 years agodocs
Michael Wallner [Tue, 25 Jan 2022 10:29:37 +0000 (11:29 +0100)] 
docs

2 years agoCreate SECURITY.md
Michael Wallner [Mon, 24 Jan 2022 17:49:48 +0000 (18:49 +0100)] 
Create SECURITY.md

2 years agodraft package.xml
Michael Wallner [Mon, 24 Jan 2022 14:43:34 +0000 (15:43 +0100)] 
draft package.xml

2 years agoconfigure: fix ion-c submodule update
Michael Wallner [Mon, 24 Jan 2022 10:44:52 +0000 (11:44 +0100)] 
configure: fix ion-c submodule update

2 years agodocker: fix build without submodule
Michael Wallner [Thu, 20 Jan 2022 17:26:47 +0000 (18:26 +0100)] 
docker: fix build without submodule

2 years agodockerignore
Michael Wallner [Thu, 20 Jan 2022 17:13:11 +0000 (18:13 +0100)] 
dockerignore

2 years agogitignore
Michael Wallner [Thu, 20 Jan 2022 17:00:23 +0000 (18:00 +0100)] 
gitignore

2 years agoupdate workflow
Michael Wallner [Thu, 20 Jan 2022 13:48:33 +0000 (14:48 +0100)] 
update workflow

2 years agogen_stub: update patch
Michael Wallner [Thu, 20 Jan 2022 11:33:10 +0000 (12:33 +0100)] 
gen_stub: update patch

2 years agofix reader/writer options according to docs
Michael Wallner [Thu, 20 Jan 2022 11:32:45 +0000 (12:32 +0100)] 
fix reader/writer options according to docs

2 years agosubmodule: ion-c set to origin again, having all fixes merged
Michael Wallner [Thu, 20 Jan 2022 10:18:49 +0000 (11:18 +0100)] 
submodule: ion-c set to origin again, having all fixes merged

2 years agodocs: ctor promoted property defaults
Michael Wallner [Thu, 20 Jan 2022 09:11:26 +0000 (10:11 +0100)] 
docs: ctor promoted property defaults

2 years agotypo
Michael Wallner [Thu, 20 Jan 2022 08:15:20 +0000 (09:15 +0100)] 
typo

2 years agodocs: attempt to fix gh-pages
Michael Wallner [Wed, 19 Jan 2022 20:22:27 +0000 (21:22 +0100)] 
docs: attempt to fix gh-pages

2 years agobasic API docs
Michael Wallner [Wed, 19 Jan 2022 19:33:50 +0000 (20:33 +0100)] 
basic API docs

2 years agoadd ci workflow
Michael Wallner [Wed, 12 Jan 2022 16:07:43 +0000 (17:07 +0100)] 
add ci workflow

2 years agocoverage++
Michael Wallner [Wed, 12 Jan 2022 15:03:52 +0000 (16:03 +0100)] 
coverage++

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