Michael Wallner [Thu, 19 May 2022 08:21:09 +0000 (10:21 +0200)]
fix crash caused by uninitialized zval when unserializing properties
Michael Wallner [Fri, 13 May 2022 18:27:38 +0000 (20:27 +0200)]
gitignore vendor
Michael Wallner [Thu, 19 May 2022 08:25:34 +0000 (10:25 +0200)]
back to dev
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.
Michael Wallner [Mon, 2 May 2022 12:00:12 +0000 (14:00 +0200)]
ci: attempt to fix codecov (the old way)
Michael Wallner [Mon, 2 May 2022 11:04:36 +0000 (13:04 +0200)]
ci: attempt to fix codecov
Michael Wallner [Fri, 29 Apr 2022 16:46:05 +0000 (18:46 +0200)]
ci: enable ext/intl
Michael Wallner [Thu, 28 Apr 2022 13:28:29 +0000 (15:28 +0200)]
prepare 0.2.0
Michael Wallner [Thu, 28 Apr 2022 13:14:52 +0000 (15:14 +0200)]
remove Options classes
Michael Wallner [Tue, 26 Apr 2022 09:34:59 +0000 (11:34 +0200)]
fix userland string serialization
Michael Wallner [Mon, 25 Apr 2022 13:50:02 +0000 (15:50 +0200)]
fix warnings
Michael Wallner [Mon, 25 Apr 2022 13:49:49 +0000 (15:49 +0200)]
reference fix for amzn/ion-c#292
Michael Wallner [Mon, 25 Apr 2022 13:48:23 +0000 (15:48 +0200)]
package.xml: fix files
Michael Wallner [Tue, 5 Apr 2022 08:16:13 +0000 (10:16 +0200)]
fix memleaks
Michael Wallner [Tue, 5 Apr 2022 08:14:56 +0000 (10:14 +0200)]
rm unused code
Michael Wallner [Mon, 4 Apr 2022 13:46:24 +0000 (15:46 +0200)]
ion-c: move to v1.0.6
Michael Wallner [Fri, 1 Apr 2022 16:18:54 +0000 (18:18 +0200)]
refactor serde interfaces and impls
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
Michael Wallner [Wed, 2 Mar 2022 15:12:14 +0000 (16:12 +0100)]
extends tests wrt
773abe7
Michael Wallner [Tue, 15 Mar 2022 12:58:19 +0000 (13:58 +0100)]
codecov: typo
Michael Wallner [Tue, 15 Mar 2022 12:50:00 +0000 (13:50 +0100)]
attempt to fix codecov
Michael Wallner [Tue, 15 Mar 2022 12:46:34 +0000 (13:46 +0100)]
attempt to fix codecov
Michael Wallner [Tue, 1 Mar 2022 17:28:30 +0000 (18:28 +0100)]
docs: tutorial
Michael Wallner [Tue, 1 Mar 2022 14:55:58 +0000 (15:55 +0100)]
consolidate on ion\Exception
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
Michael Wallner [Tue, 1 Mar 2022 10:18:16 +0000 (11:18 +0100)]
fix bad method call
Michael Wallner [Mon, 28 Feb 2022 11:37:49 +0000 (12:37 +0100)]
Fix #5: ion\Timestamp crashes with string timezones
Michael Wallner [Sat, 12 Feb 2022 13:20:10 +0000 (14:20 +0100)]
docs: de-uglify
Michael Wallner [Mon, 7 Feb 2022 13:18:35 +0000 (14:18 +0100)]
docs: simplify install instructions
Michael Wallner [Fri, 11 Feb 2022 10:21:29 +0000 (11:21 +0100)]
docs: readme
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
Michael Wallner [Wed, 2 Feb 2022 07:12:13 +0000 (08:12 +0100)]
we'll probably get this right until 1.0
Michael Wallner [Tue, 1 Feb 2022 12:08:54 +0000 (13:08 +0100)]
back to dev
Michael Wallner [Tue, 1 Feb 2022 11:40:49 +0000 (12:40 +0100)]
release v0.1.0
Michael Wallner [Mon, 31 Jan 2022 08:15:31 +0000 (09:15 +0100)]
docs: un-break gh-pages build
Michael Wallner [Mon, 31 Jan 2022 08:07:42 +0000 (09:07 +0100)]
docs: adapt to public gh-pages
Michael Wallner [Mon, 31 Jan 2022 07:30:50 +0000 (08:30 +0100)]
typos
Michael Wallner [Thu, 27 Jan 2022 15:38:33 +0000 (16:38 +0100)]
docs: update
Michael Wallner [Tue, 25 Jan 2022 12:00:12 +0000 (13:00 +0100)]
move PHP and System table enums to the Symbol ns
Michael Wallner [Tue, 25 Jan 2022 10:29:37 +0000 (11:29 +0100)]
docs
Michael Wallner [Mon, 24 Jan 2022 17:49:48 +0000 (18:49 +0100)]
Create SECURITY.md
Michael Wallner [Mon, 24 Jan 2022 14:43:34 +0000 (15:43 +0100)]
draft package.xml
Michael Wallner [Mon, 24 Jan 2022 10:44:52 +0000 (11:44 +0100)]
configure: fix ion-c submodule update
Michael Wallner [Thu, 20 Jan 2022 17:26:47 +0000 (18:26 +0100)]
docker: fix build without submodule
Michael Wallner [Thu, 20 Jan 2022 17:13:11 +0000 (18:13 +0100)]
dockerignore
Michael Wallner [Thu, 20 Jan 2022 17:00:23 +0000 (18:00 +0100)]
gitignore
Michael Wallner [Thu, 20 Jan 2022 13:48:33 +0000 (14:48 +0100)]
update workflow
Michael Wallner [Thu, 20 Jan 2022 11:33:10 +0000 (12:33 +0100)]
gen_stub: update patch
Michael Wallner [Thu, 20 Jan 2022 11:32:45 +0000 (12:32 +0100)]
fix reader/writer options according to docs
Michael Wallner [Thu, 20 Jan 2022 10:18:49 +0000 (11:18 +0100)]
submodule: ion-c set to origin again, having all fixes merged
Michael Wallner [Thu, 20 Jan 2022 09:11:26 +0000 (10:11 +0100)]
docs: ctor promoted property defaults
Michael Wallner [Thu, 20 Jan 2022 08:15:20 +0000 (09:15 +0100)]
typo
Michael Wallner [Wed, 19 Jan 2022 20:22:27 +0000 (21:22 +0100)]
docs: attempt to fix gh-pages
Michael Wallner [Wed, 19 Jan 2022 19:33:50 +0000 (20:33 +0100)]
basic API docs
Michael Wallner [Wed, 12 Jan 2022 16:07:43 +0000 (17:07 +0100)]
add ci workflow
Michael Wallner [Wed, 12 Jan 2022 15:03:52 +0000 (16:03 +0100)]
coverage++
Michael Wallner [Wed, 12 Jan 2022 14:44:37 +0000 (15:44 +0100)]
point to all-fixes-merged for bundled ionc
Michael Wallner [Wed, 12 Jan 2022 10:37:22 +0000 (11:37 +0100)]
fix leak
Michael Wallner [Wed, 12 Jan 2022 10:37:06 +0000 (11:37 +0100)]
coverage++
Michael Wallner [Wed, 12 Jan 2022 10:02:03 +0000 (11:02 +0100)]
improve buffer writer
Michael Wallner [Wed, 12 Jan 2022 10:00:56 +0000 (11:00 +0100)]
../..
Michael Wallner [Wed, 12 Jan 2022 10:00:25 +0000 (11:00 +0100)]
tests: writer options
Michael Wallner [Wed, 12 Jan 2022 09:59:54 +0000 (10:59 +0100)]
improve cloning
Michael Wallner [Wed, 12 Jan 2022 08:11:23 +0000 (09:11 +0100)]
fixup
6837f00 with even more simplicity
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
Michael Wallner [Tue, 11 Jan 2022 12:36:38 +0000 (13:36 +0100)]
tests++
Michael Wallner [Mon, 10 Jan 2022 23:17:30 +0000 (00:17 +0100)]
fix leak reading partial lobs
Michael Wallner [Mon, 10 Jan 2022 22:05:21 +0000 (23:05 +0100)]
tests++
Michael Wallner [Mon, 10 Jan 2022 20:48:08 +0000 (21:48 +0100)]
improve field name unserialization
Michael Wallner [Mon, 10 Jan 2022 19:32:26 +0000 (20:32 +0100)]
fix timestamp formats
Michael Wallner [Mon, 10 Jan 2022 14:34:35 +0000 (15:34 +0100)]
tests: unserialize($stream)
Michael Wallner [Mon, 10 Jan 2022 14:34:16 +0000 (15:34 +0100)]
tests: clone Decimal\Context
Michael Wallner [Mon, 10 Jan 2022 14:34:00 +0000 (15:34 +0100)]
tests: Reader\Options
Michael Wallner [Mon, 10 Jan 2022 14:13:32 +0000 (15:13 +0100)]
tests: fix fractional timestamps
Michael Wallner [Fri, 7 Jan 2022 20:07:22 +0000 (21:07 +0100)]
gitignore: .idea
Michael Wallner [Fri, 7 Jan 2022 20:06:50 +0000 (21:06 +0100)]
tests: resource
Michael Wallner [Fri, 7 Jan 2022 20:06:31 +0000 (21:06 +0100)]
add README
Michael Wallner [Fri, 7 Jan 2022 20:06:15 +0000 (21:06 +0100)]
define clonability
Michael Wallner [Thu, 6 Jan 2022 09:34:35 +0000 (10:34 +0100)]
do not backref empty string/array to save a few bytes
Michael Wallner [Thu, 6 Jan 2022 09:31:55 +0000 (10:31 +0100)]
typo
Michael Wallner [Wed, 5 Jan 2022 22:14:58 +0000 (23:14 +0100)]
tests++
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"));'
Michael Wallner [Mon, 3 Jan 2022 22:29:45 +0000 (23:29 +0100)]
optionally bundle amzn/ion-c
Michael Wallner [Mon, 3 Jan 2022 22:55:06 +0000 (23:55 +0100)]
tests: do not depend on ctype
Michael Wallner [Mon, 27 Dec 2021 13:47:27 +0000 (14:47 +0100)]
tests/Symbol/Table/Shared: lookup shared symbols in catalog
Michael Wallner [Tue, 28 Dec 2021 08:22:49 +0000 (09:22 +0100)]
gitignore: *.dep
Michael Wallner [Tue, 28 Dec 2021 08:20:54 +0000 (09:20 +0100)]
fix warnings
Michael Wallner [Mon, 27 Dec 2021 10:03:13 +0000 (11:03 +0100)]
fix warnings
Michael Wallner [Wed, 22 Dec 2021 17:30:28 +0000 (18:30 +0100)]
fix ion type arguments
Michael Wallner [Wed, 22 Dec 2021 16:32:48 +0000 (17:32 +0100)]
discard a few previous ideas
Michael Wallner [Wed, 22 Dec 2021 15:50:22 +0000 (16:50 +0100)]
ensure proper default initialization
Michael Wallner [Wed, 22 Dec 2021 10:06:05 +0000 (11:06 +0100)]
improve catalog support; depends on amzn/ion-c#271
Michael Wallner [Tue, 21 Dec 2021 09:15:30 +0000 (10:15 +0100)]
add tests/Catalog - depends on amzn/ion-c#267
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
Michael Wallner [Tue, 21 Dec 2021 07:37:33 +0000 (08:37 +0100)]
remove collections, which are pretty low level
Michael Wallner [Tue, 21 Dec 2021 07:33:23 +0000 (08:33 +0100)]
use ION_STRING_EQUALS API
Michael Wallner [Mon, 20 Dec 2021 15:43:43 +0000 (16:43 +0100)]
improve shared symbol tables
Michael Wallner [Mon, 20 Dec 2021 15:30:52 +0000 (16:30 +0100)]
remo0ve semi-global PHP anntotation interfering with system values
Michael Wallner [Mon, 20 Dec 2021 15:29:26 +0000 (16:29 +0100)]
fix leak
Michael Wallner [Mon, 20 Dec 2021 15:27:58 +0000 (16:27 +0100)]
fix default options