Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

github.com/php/pecl-file_formats-yaml

YAML-1.1 parser and emitter
https://github.com/php/pecl-file_formats-yaml

CI: Add build for php8.3 & enable artifact collection (#82)

* Support for php8.3 on Windows using php/[email protected]
* Collect the build artifacts (.dl...

ecae192fdb1aa5f713a2d1a30778fd581fa41e46 authored 11 months ago by Samuel <[email protected]>
yaml.c: Use PHP_FE_END macro

09bc7fd194cca241d5ce9daef56ee4e51d4e6ed9 authored almost 2 years ago by Bryan Davis <[email protected]>
emit.c: fix -Wsign-compare

Use size_t for strlen to avoid sign-compare warning.

fe099012e1526abc6eb22c30d5b5340748ab9545 authored almost 2 years ago by Bryan Davis <[email protected]>
ci: Use -Werror

Make gcc report warnings as errors so that we don't miss them in code
review.

5611632f42ed00adeae9533e36589da8436fc4a3 authored almost 2 years ago by Bryan Davis <[email protected]>
ci: Update problem matchers

* Move gcc matcher to linux builds
* Add msvc matcher for windows builds

48606d066dbdeccdbddeb88d485852c6203dd3b1 authored almost 2 years ago by Bryan Davis <[email protected]>
ci: Add matcher for GCC errors & warnings

Add the ammaraskar/gcc-problem-matcher@master helper to add gcc error and warning messages as co...

c69ef7e4da50c0cd0ec6788ac73ccd11491e5909 authored almost 2 years ago by Bryan Davis <[email protected]>
Fix #75: Handle zndocs/ndocs correctly

Just changing the handling, that is param handling of ndocs and dtor call for zndocs, in yaml_pa...

730a781f7773f752efb17d88737d5ba5b043fa87 authored almost 2 years ago by Tom Regner <[email protected]>
Update yaml_parse_file_003.phpt

767a0cd50acc8b462a8babb77777005e405266b9 authored almost 2 years ago by Tom Regner <[email protected]>
Add test for #75

ad19049105d7d6faaac07832c4aa82fc77be1042 authored almost 2 years ago by Tom Regner <[email protected]>
Create yaml_parse_file_003.yaml

980454c012812cb18a08ca68a5466879cd58a7a5 authored almost 2 years ago by Tom Regner <[email protected]>
Fix [-Wincompatible-pointer-types] warning

e7bffc01c496ef36ce672c612984b13a27426788 authored almost 2 years ago by Remi Collet <[email protected]>
.github: Add windows target for github workflows

4702575c419c30ae2f7fb9af83cc7d0e43c3f8d8 authored almost 2 years ago by Bryan Davis <[email protected]>
.github: Add PHP 8.3 to build matrix

755fb1a53e681bee73d32e37ce2213c39f0b7be5 authored almost 2 years ago by Bryan Davis <[email protected]>
.github: Bump actions/checkout to v3

bd9cea3ae41f0f551b2ade79b4619358bd81755e authored almost 2 years ago by Bryan Davis <[email protected]>
Make a 2.2.3 release

Bugs Fixed:
- Fixed memory release on error handling (negram)
- Fix test for PHP 8.2 (andypost)
...

cb7831731b9f45863e36676dcf53acf66a29f8c8 authored almost 2 years ago by Bryan Davis <[email protected]>
Fixed memory release on error handling

2085414da7cbb8a410595de42848fe3247286c55 authored almost 2 years ago by Mikhail Galanin <[email protected]>
workflows: Add php 8.2 target

Test using php 8.2 nightly build

d9803e6a6550a39b270f9adfe04ec879b4ebfc53 authored over 2 years ago by Bryan Davis <[email protected]>
Fix test for PHP 8.2

534124b8227d26e0e914dabb05425ddc160d9f31 authored over 2 years ago by Andy Postnikov <[email protected]>
Fix #65 yaml_parse_url method not working

5fadb29443eb3d5ad789aa4de1da449b5e1ce7a3 authored almost 3 years ago by Remi Collet <[email protected]>
add test for #65

2e08e23655556fa2ff936a3bfb82ec8a0d56b05d authored almost 3 years ago by Remi Collet <[email protected]>
Make 2.2.2 release

Bugs Fixed:
- PHP 8.1 compilation fixes (remicollet)

6acc5c815684c92ab3c9b6dcf9ce48c87b68f866 authored about 3 years ago by Bryan Davis <[email protected]>
ci: Remove travis

8e480ff2ba087c176506ceecce52f0ebcf7af45d authored about 3 years ago by Bryan Davis <[email protected]>
relax test, hide deprecation message

31d331f711f68ebcf78b917f2a4faaf75f7523cc authored about 3 years ago by Remi Collet <[email protected]>
fix ZEND_ATOL usage

b35ef25b4b766c27b27b6293d3045e768e6ce677 authored about 3 years ago by Remi Collet <[email protected]>
ci: Add missing libyaml-dev

c81b1112d3b6a0dc63e95f0a8780c4fa94a3c01a authored about 3 years ago by Bryan Davis <[email protected]>
Use GitHub Actions for running tests

6042792b524130ba06c33219ebc638b2cc25b12f authored about 3 years ago by Bryan Davis <[email protected]>
Make 2.2.1 release

Bugs Fixed:
- #80324: Segfault in YAML with anonymous functions (cmb69)
- Fix memory leak in y_w...

80339304ff084c5eb0df96a70de1ace0954ff067 authored about 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/58' into php7

* pull-request/58:
Fix memory leak in handle_mapping()

827cfefb3b062b97d877a8d850acb03d3179c2c4 authored about 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/57' into php7

* pull-request/57:
Fix memory leak in y_write_object_callback()

884d19fa4aa73ffb54058398242063dafb8fb5ef authored about 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/56' into php7

* pull-request/56:
Fix #80324: Segfault in YAML with anonymous functions

a0519c2a45b2cd8a90b19e5392da27f2f86c75a3 authored about 4 years ago by Bryan Davis <[email protected]>
Fix memory leak in handle_mapping()

We must not forget to release the previously created array in case we
return early due to an und...

4c26bec4ef1be0f5f9e6cdd627889df48727ec3d authored about 4 years ago by Christoph M. Becker <[email protected]>
Fix memory leak in y_write_object_callback()

We need to release the `retval` of `call_user_function()`.

This memory leak could be observed w...

190a6708abb1083e76e9850df187d9abb3354807 authored about 4 years ago by Christoph M. Becker <[email protected]>
Fix #80324: Segfault in YAML with anonymous functions

We must not assume that `key->val` is `sizeof(YAML_TIMESTAMP_TAG)` long
or longer. Actually, `z...

d991df2ed5f26024ab7c880fa78313fc1b3703fe authored about 4 years ago by Christoph M. Becker <[email protected]>
Make 2.2.0 release

New Features:
- PHP 8.0 compatibility
Bugs Fixed:
- #79866 Use serialize_precision when encoding...

0c81894dfdf0373404532eb3832a51e647c3717e authored about 4 years ago by Bryan Davis <[email protected]>
Make 2.2.0b2 release

New Features:
- PHP 8.0.0b3+ compatibility

e1a1b2454cb70812cbac90be1d3ebed1ea3f09a0 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/55' into php7

* pull-request/55:
yaml_parse_file_002.phpt: Fix expectations for PHP 8

0063b22fc712128397b5bdf32c8365cb92b32f9d authored over 4 years ago by Bryan Davis <[email protected]>
yaml_parse_file_002.phpt: Fix expectations for PHP 8

Update expectations to pass after php/php-src@9975986 decided that
"arguments" should be used in...

7782dd71a142c70d64b55898ec6b78d944375a96 authored over 4 years ago by Bryan Davis <[email protected]>
Make 2.2.0b1 release

New Features:
- PHP 8.0.0b1 compatibility

Bugs Fixed:
- #79866 Use serialize_precision when enc...

f0f02bbbfff8200ca1986fdd30e30fff7e3739ed authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/54' into php7

* pull-request/54:
Use serialize_precision when encoding double values
yaml_parse_file_002.p...

930ce56f55b391a4c89d98f925970a82bd4bbd55 authored over 4 years ago by Bryan Davis <[email protected]>
Use serialize_precision when encoding double values

Switch output encoding of double values from a naive usage of
`snprintf` with no explicit precis...

05036325823484af4c6cf4cd9524690e26420656 authored over 4 years ago by Bryan Davis <[email protected]>
yaml_parse_file_002.phpt: Fix expectations for PHP 8.0.0beta1

Update test and expectations to pass under PHP 8.0.0beta1 after
php/php-src@c3105a1 changed `php...

fe8dc19584b1dbb79f09fba5377ef5525d7fce35 authored over 4 years ago by Bryan Davis <[email protected]>
test-all.sh: Exclude PHP 7.0.x

We are dropping PHP 7.0 support, so filter PHP 7.0.x versions out of the
list of available phpen...

be25a075306289209ede7211a28659e41e2c1484 authored over 4 years ago by Bryan Davis <[email protected]>
Update release notes for upcoming 2.2.0 build

334613b097118b2e78f4f1946f2dd5f346708ad0 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/53' into php7

cdcd9a377c6ae2e7f4d6e16de7e8d99df25ca230 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/52' into php7

10ca106fa42c7c3d3c038e0009bf05c8b4cb627c authored over 4 years ago by Bryan Davis <[email protected]>
Fix build on PHP 8 alpha 2

call_user_function_ex() no longer defined

ebc51a7314881805f9b8fda2ac19285465f48d3e authored over 4 years ago by Andy Postnikov <[email protected]>
Skip unnecessary installation of the test-pack

`run-tests.php` is already made available by `phpize`.

102fe2f87daf845d227988affc6071e7b1c4c378 authored over 4 years ago by Christoph M. Becker <[email protected]>
Merge branch 'pull-request/51' into php7

9785e78a16336938f2f50379175a260e3ee247e2 authored over 4 years ago by Bryan Davis <[email protected]>
Fix memory leaks

* we release the `callable_names` retrieved by `zend_is_callable()`,
and also replace the erron...

8d62345c7474eeabe97a97cea9ecceb038567aee authored over 4 years ago by Christoph M. Becker <[email protected]>
tests/bug_74886.phpt: tweak for x86 compat

Follow up to d4b225b. Change the hex value used in tests/bug_74886.phpt
to a value that will wor...

9d830822da0fc7653c91f19de410ad90620d6275 authored over 4 years ago by Bryan Davis <[email protected]>
parse.c: remove unnecessary return from void function

Cleanup a leftover return call from refactoring in 3b0a143.

d0120120b438476f1dba4e1b579ec7e13b66097b authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/50' into php7

5e5f7a65c936fb33d1f000ca5da40de7591e0eaf authored over 4 years ago by Bryan Davis <[email protected]>
Move AppVeyor support dir

Hide the AppVeyor support scripts in a dotfile directory.

0a53c55128b18556e4e73c73411eb77feacf6e74 authored over 4 years ago by Bryan Davis <[email protected]>
Update test expectations for Windows build compatibility

Remove unix style file path separator check from EXPECTF blocks. This
will allow the expectation...

d4b225b2fbcaea18b7925b54ae1f231daf8c5c25 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/49' into php7

29e7002fcb745d4ff671b6bb97824a7422f6bb14 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/48' into php7

d12ce41e99f0e55d96637a356ecd0a1747062912 authored over 4 years ago by Bryan Davis <[email protected]>
Add AppVeyor CI integration

b6673bb408da192291907808a31b81dc1976fd18 authored over 4 years ago by Christoph M. Becker <[email protected]>
Use helpers from Zend to parse strings as numbers

Use ZEND_STRTOL, ZEND_ATOL, and zend_strtod helpers for better cross
platform portability.

Bug:...

a5ff0b03a6973455bbf5b37b42f26f58dd4e2d07 authored over 4 years ago by Bryan Davis <[email protected]>
Start tracking v2.2.0 release changes

5cb672a21346e2873cb32806fed309eca5e53857 authored over 4 years ago by Bryan Davis <[email protected]>
Remove support for non-scalar mapping keys

The YAML 1.1 spec includes support for non-scalar keys in mappings. PHP
does not support non-sca...

dc48e4ade8c382505fe50b4de753f544af4f18f7 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/45' into php7

4afcd18e08a18addc18d79f2f75dd3d7e219f45a authored over 4 years ago by Bryan Davis <[email protected]>
relax test on 32-bit (overflow to float)

a5a7f14f37c1d530e8e9868945f4c08af26ba8a9 authored over 4 years ago by Remi Collet <[email protected]>
fix [-Wformat=] issue on 32-bit

eb11e4e425d3d6e703c824fb891b1b0701d683ef authored over 4 years ago by Remi Collet <[email protected]>
Make 2.1.0 release

New Features:
- Basic PHP8 (master branch) compatiblity
Bugs Fixed:
- #79494: The 64-bit YAML ex...

2daa2f8aa9af29ae5a5d0e336fbfddbc9a65d590 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/44' into php7

4916b31bc0d28d0bd493a889e67ededbb715bc42 authored over 4 years ago by Bryan Davis <[email protected]>
Update dev-tools/sync-upstream to target php7 branch

004f94f25f5f59259d73ce5eb2f33f3c3a2de7ee authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/43' into php7

ed962bf753a112ff3e002c2af727e90e0cbdedc5 authored over 4 years ago by Bryan Davis <[email protected]>
Bump tested versions at Travis-ci

* Switch base image to bionic
* Drop 7.0 (EOL for more than a year)
* 7.4snapshot -> 7.4
* Drop ...

777cf1b885039b70933752b094d178b59491396d authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/42' into php7

9a223e8c88d42813e8b2a3180662525e530ec616 authored over 4 years ago by Bryan Davis <[email protected]>
Remove deprecated TSRM macros

Remove usage of the TSRMLS_CC and TSRMLS_DC macros which have been
removed from PHP 8.0 and a no...

fd639043caaa1f544909b07daa4c07887a698c8f authored over 4 years ago by Aleksandr Dankovtsev <[email protected]>
Merge branch 'pull-request/41' into php7

c4909b6b04829304a5fb0147b789a33930361389 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/39' into php7

6ed57517bf3452116afe41006adee37a2e117158 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/37' into php7

2f60e2f5262b6b88db406f1979d50779aa8a0325 authored over 4 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/40' into php7

3936ee94dbdc407cff0b9f424d5f2303f5f8c84b authored over 4 years ago by Bryan Davis <[email protected]>
Make test compatible with PHP 8

ec959ff49af03b390d42c017dae6318373ff4fc9 authored over 4 years ago by Gabriel Caruso <[email protected]>
Fix memory leaks

5d79c0e8ef47bc8fa44df474215379ccc1547874 authored over 4 years ago by Christoph M. Becker <[email protected]>
Fix warnings during extension compilation

Warnings:

```
pecl-file_formats-yaml/parse.c:180:7: warning: format specifies type 'long' but t...

b2195c410e30e233eb0f302c0007c787568163d1 authored over 4 years ago by Gabriel Caruso <[email protected]>
Fix #79494: The 64-bit YAML ext uses 32-bit signed integer arithmetics

On LLP64 platforms, `zend_long` is a `long long`. For best
portability, we use the `ZEND_LONG_F...

8208159765171a5b05be069ae2c1b0ca04feb374 authored over 4 years ago by Christoph M. Becker <[email protected]>
php8: ArgumentCountError test changes

PHP8 is raising an ArgumentCountError for built-in functions without the use
of strict_types.

79afc4b59fc064d84b26b9a10fd9fdc37e54b12b authored over 5 years ago by Bryan Davis <[email protected]>
travis: Workaround for libonig2 until it is fixed upstream

See travis-ci/php-src-builder#31

83829cc64167d31f7fec734e3cd0c7f56ac33d9e authored over 5 years ago by Bryan Davis <[email protected]>
php8: backcompat defines of TSRMLS_CC, TSRMLS_DC

Local stub defines for TSRMLS_CC and TSRMLS_DC which have been removed
in php8 by php/php-src@bd...

a8c349130865d3ec7562ed5adc4d9181ee7d3738 authored over 5 years ago by Bryan Davis <[email protected]>
travis: test PHP 7.3 & 7.4 explicitly

'nightly' is now PHP 8-dev.

25467f1860325446b1c97eddd0c43dcb3730524d authored almost 6 years ago by Bryan Davis <[email protected]>
php8: zend_object* instead of zval

Updates to support interface changes introduced by php/php-src@91ef4124.

a8556e27112732a3f7797207ca7aa76019552b87 authored almost 6 years ago by Bryan Davis <[email protected]>
Make 2.0.4 release

Bugs Fixed:
- #72540 yaml_parse_url: check php_stream_copy_to_mem return value

16392e0e22fb23d88c58b505528c5ea6b7be4ac5 authored about 6 years ago by Bryan Davis <[email protected]>
Validate merge key values

libyaml does not guarantee that the value(s) attached to a merge key are
valid references to exi...

5e4ee37912228dc0057b251531ef40c858054885 authored about 6 years ago by Bryan Davis <[email protected]>
dev-tools/pull-request.sh: default to php7 branch

cfa2137e28451278108395a6361184962214fe43 authored about 6 years ago by Bryan Davis <[email protected]>
Make 2.0.3 release

Bugs fixed:
* #75029 Empty documents are valid (bd808)
* #75213 Fix float parsing on Alpine (nec...

a2eab37dd09a09131a435a02f8d710696f9155df authored about 6 years ago by Bryan Davis <[email protected]>
Empty documents are valid

Consider empty YAML documents as valid when parsing if the input stream
is otherwise well formed...

262012a97024ae1b9d7ee1616ac59a8ad81493ff authored about 6 years ago by Bryan Davis <[email protected]>
Quote strings like "0." when emitting

The YAML 1.2 spec recognizes strings matching the pattern /[0-9]+\./ as
floats. Previously we ex...

28e915072b6809350c28c854c419d8ac71a5d581 authored about 6 years ago by Bryan Davis <[email protected]>
Remove deprecated crlf attribute in .gitattributes

The `crlf` Git atttribute has been deprecated and `-crlf` is equivalent
to the `-text`. This tel...

0745243011debd289d15dbac7bcf578f8a695823 authored about 6 years ago by Peter Kokot <[email protected]>
Convert CRLF line endings to LF

This patch simplifies line endings tracked in the Git repository and
syncs them to all include t...

504df124bf338c3724346eecb79ba6e9e66a8f5f authored about 6 years ago by Peter Kokot <[email protected]>
Tidy whitespace

- trim trailing whitespace
- sync EOL(s)
- space before tabs in some files

This patch adds some...

9fbedd601385cb068c0fc19ca141a8506a383cb6 authored about 6 years ago by Peter Kokot <[email protected]>
drop $Id$

9323bf648fa8f6f029e508d7820a5bafeec7d64c authored over 6 years ago by Remi Collet <[email protected]>
Fix for PHP 7.3

a217a24a674adafd03a03382e0950cbb743ba9a8 authored over 6 years ago by Remi Collet <[email protected]>
Merge branch 'pull-request/29' into php7

26887aa8028cd99b6410c8b4aa2aa576280b74a5 authored over 6 years ago by Bryan Davis <[email protected]>
Fix float parsing on Alpine

Float values are sometimes inconsistently parsed on alpine. Using the zend
strtod implementation...

d110447cadfde6a4f07375b59dbb02f62c535d50 authored over 7 years ago by James Gilliland <[email protected]>
maintainer-clean.sh: grep and sed are not always in /bin

559ba424bb3f01b9c0d0b4ca021bab2c62f38ed9 authored over 7 years ago by Bryan Davis <[email protected]>
Make 2.0.2 release

Bugs Fixed:
- relax tests to pass with 7.1.4RC1 (remicollet)
- #74799 fix memory leak in apply_f...

8a1ffd36fccea23345611cea5a12a7e061a48efa authored over 7 years ago by Bryan Davis <[email protected]>
yaml_parse_url: check php_stream_copy_to_mem return value

Check the return value from php_stream_copy_to_mem() and return false if
the copy failed.

Fixes...

1020debf0554f1ccccff5ffd4b37472f39a149c6 authored over 7 years ago by Bryan Davis <[email protected]>
Merge branch 'pull-request/28' into php7

1c9373c297fff1060f7d4397a0f2c16ad4278ce3 authored over 7 years ago by Bryan Davis <[email protected]>