]> granicus.if.org Git - php/log
php
6 years agoDon't preload tests without --FILE-- section
Dmitry Stogov [Tue, 19 Feb 2019 21:06:57 +0000 (00:06 +0300)]
Don't preload tests without --FILE-- section

6 years agoOrder of classes may matter
Dmitry Stogov [Tue, 19 Feb 2019 20:50:17 +0000 (23:50 +0300)]
Order of classes may matter

6 years agoDon't restrict preloading with "open_basedir" directive.
Dmitry Stogov [Tue, 19 Feb 2019 20:17:38 +0000 (23:17 +0300)]
Don't restrict preloading with "open_basedir" directive.

6 years agoRename non-existing site phpdbg.com to localhost
Peter Kokot [Mon, 18 Feb 2019 17:08:54 +0000 (18:08 +0100)]
Rename non-existing site phpdbg.com to localhost

6 years agobegin handlers are currently invoked without access to the arguments being sent,...
Joe Watkins [Tue, 19 Feb 2019 16:45:13 +0000 (17:45 +0100)]
begin handlers are currently invoked without access to the arguments being sent, this moves the opcode after SEND

6 years agoBetter new-line handling
Dmitry Stogov [Tue, 19 Feb 2019 16:22:42 +0000 (19:22 +0300)]
Better new-line handling

6 years agoFixed memory leak
Dmitry Stogov [Tue, 19 Feb 2019 16:21:36 +0000 (19:21 +0300)]
Fixed memory leak

6 years agoRemove some zpp failure tests
Nikita Popov [Tue, 19 Feb 2019 16:11:30 +0000 (17:11 +0100)]
Remove some zpp failure tests

These tests exclusively check zpp failure conditions, so drop them.

6 years agoCheck for USER_FUNCTION
Dmitry Stogov [Tue, 19 Feb 2019 15:39:44 +0000 (18:39 +0300)]
Check for USER_FUNCTION

6 years agoAccurate handling of not preloaded classes
Dmitry Stogov [Tue, 19 Feb 2019 15:09:44 +0000 (18:09 +0300)]
Accurate handling of not preloaded classes

6 years agoAvoid port conflicts in stream socket tests
Nikita Popov [Tue, 19 Feb 2019 14:16:16 +0000 (15:16 +0100)]
Avoid port conflicts in stream socket tests

Also drop some useless --CLEAN-- sections.

6 years agoRemove spurious + before --CREDITS--
Nikita Popov [Tue, 19 Feb 2019 14:02:26 +0000 (15:02 +0100)]
Remove spurious + before --CREDITS--

6 years agoAvoid file conflicts in mail tests
Nikita Popov [Tue, 19 Feb 2019 13:51:33 +0000 (14:51 +0100)]
Avoid file conflicts in mail tests

6 years agoAvoid file conflicts in XmlWriter tests
Nikita Popov [Tue, 19 Feb 2019 13:43:52 +0000 (14:43 +0100)]
Avoid file conflicts in XmlWriter tests

6 years agoAvoid port conflicts in ext/sockets tests
Nikita Popov [Tue, 19 Feb 2019 09:35:27 +0000 (10:35 +0100)]
Avoid port conflicts in ext/sockets tests

6 years agoMake parallel run-tests compatible with IO capture tests
Nikita Popov [Mon, 18 Feb 2019 14:36:39 +0000 (15:36 +0100)]
Make parallel run-tests compatible with IO capture tests

Inherit the main stdin/stdout/stderr streams into the worker processes.
We don't talk to workers via these pipes, so there shouldn't be a
problem doing this.

6 years agoBetter line handling
Dmitry Stogov [Tue, 19 Feb 2019 14:16:48 +0000 (17:16 +0300)]
Better line handling

6 years agoFilter preloading warning messages
Dmitry Stogov [Tue, 19 Feb 2019 14:09:07 +0000 (17:09 +0300)]
Filter preloading warning messages

6 years agoDon't try to eliminate requre/include with stream wrappers
Dmitry Stogov [Tue, 19 Feb 2019 13:54:51 +0000 (16:54 +0300)]
Don't try to eliminate requre/include with stream wrappers

6 years agoStop PHP in case of fatal error during preloading
Dmitry Stogov [Tue, 19 Feb 2019 13:46:56 +0000 (16:46 +0300)]
Stop PHP in case of fatal error during preloading

6 years agows
Dmitry Stogov [Tue, 19 Feb 2019 12:51:12 +0000 (15:51 +0300)]
ws

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Tue, 19 Feb 2019 12:10:04 +0000 (13:10 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Prepare main branch for PHP 7.3.4

6 years agoPrepare main branch for PHP 7.3.4
Christoph M. Becker [Tue, 19 Feb 2019 12:06:40 +0000 (13:06 +0100)]
Prepare main branch for PHP 7.3.4

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Remi Collet [Tue, 19 Feb 2019 11:47:09 +0000 (12:47 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  bump version to 7.2.17-dev

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Remi Collet [Tue, 19 Feb 2019 11:47:00 +0000 (12:47 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  bump version to 7.2.17-dev

6 years agobump version to 7.2.17-dev
Remi Collet [Tue, 19 Feb 2019 11:46:52 +0000 (12:46 +0100)]
bump version to 7.2.17-dev

6 years agoMerge remote-tracking branch 'php-src/PHP-7.4' into PHP-7.4
Nikita Popov [Tue, 19 Feb 2019 09:09:06 +0000 (10:09 +0100)]
Merge remote-tracking branch 'php-src/PHP-7.4' into PHP-7.4

6 years agoFixed bug #77631
Tyson Andre [Mon, 18 Feb 2019 14:35:45 +0000 (09:35 -0500)]
Fixed bug #77631

Do not include unbound anonymous classes in get_declared_classes().

Note that earlier PHP versions would include the anonymous class in
get_declared_classes(), and return false until the class was bound,
but would not crash.

6 years agoZEND_COMPILE_EXTENDED_INFO split Currently a tool may not decide between debugging...
Joe Watkins [Tue, 19 Feb 2019 08:08:38 +0000 (09:08 +0100)]
ZEND_COMPILE_EXTENDED_INFO split Currently a tool may not decide between debugging and profiling behaviour: We split ZEND_COMPILE_EXTENDED_INFO into ZEND_COMPILE_EXTENDED_FCALL and ZEND_COMPILE_EXTENDED_STMT We define ZEND_COMPILE_EXTENDED_INFO as ZEND_COMPILE_EXTENDED_STMT|ZEND_COMPILE_EXTENDED_FCALL

6 years agoFix ffi test on Windows
Tyson Andre [Mon, 18 Feb 2019 16:47:09 +0000 (11:47 -0500)]
Fix ffi test on Windows

Fixes a bug in test added in
5661feb1ef929111ef7765672fcb49813eee86fc, by checking that the
relevant SO exists.

Also adds an additional test that is based on zend_printf, and
should work on both Linux and Windows.

6 years agofix build with external libpcre2
Remi Collet [Tue, 19 Feb 2019 08:54:32 +0000 (09:54 +0100)]
fix build with external libpcre2

6 years agouse pkg-config for libedit
Remi Collet [Tue, 19 Feb 2019 08:10:06 +0000 (09:10 +0100)]
use pkg-config for libedit

6 years agoadd readline_list_history with libedit >= 3.1 and mingweditline
Remi Collet [Tue, 19 Feb 2019 07:51:56 +0000 (08:51 +0100)]
add readline_list_history with libedit >= 3.1 and mingweditline

6 years agogd imageloadfont, verify error while reading header
BlackEagle [Tue, 19 Feb 2019 02:26:00 +0000 (03:26 +0100)]
gd imageloadfont, verify error while reading header

when reading the header verify we get an error when the header is
invalid.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
6 years agoadded basic test for UConverter::setSourceEncoding()
Andy McNeice [Tue, 10 Oct 2017 13:51:33 +0000 (13:51 +0000)]
added basic test for UConverter::setSourceEncoding()

6 years agoadded basic test for UConverter::getDestinationEncoding()
Andy McNeice [Tue, 10 Oct 2017 00:15:43 +0000 (00:15 +0000)]
added basic test for UConverter::getDestinationEncoding()

6 years agoadded basic test for UConverter::getSourceEncoding()
Andy McNeice [Mon, 9 Oct 2017 21:31:46 +0000 (21:31 +0000)]
added basic test for UConverter::getSourceEncoding()

6 years agoUPGRADING entry for pcntl_unshare [skip ci]
Pedro Magalhães [Mon, 18 Feb 2019 19:58:56 +0000 (19:58 +0000)]
UPGRADING entry for pcntl_unshare [skip ci]

6 years agorun-tests.php: fix typo
Andrea Faulds [Mon, 18 Feb 2019 19:32:16 +0000 (20:32 +0100)]
run-tests.php: fix typo

6 years agoImplement pcntl_unshare
Pedro Magalhães [Mon, 21 Jan 2019 23:56:43 +0000 (23:56 +0000)]
Implement pcntl_unshare

6 years agoSync header and footer with the rest of the files
Peter Kokot [Mon, 18 Feb 2019 17:16:07 +0000 (18:16 +0100)]
Sync header and footer with the rest of the files

- Local variables for editors have been removed
- Copyright year ranges can be also simplified

6 years agoFix typos in code comments in Zend/ [skip ci]
Tyson Andre [Mon, 18 Feb 2019 16:35:35 +0000 (11:35 -0500)]
Fix typos in code comments in Zend/ [skip ci]

6 years agoFix arginfo for tidy's global functions
Tyson Andre [Mon, 18 Feb 2019 03:38:18 +0000 (22:38 -0500)]
Fix arginfo for tidy's global functions

See https://secure.php.net/tidy_getopt , etc.

I can't find any other obvious incorrect reflection.

6 years agoFix typos in code comments [skip ci]
Tyson Andre [Mon, 18 Feb 2019 16:14:22 +0000 (11:14 -0500)]
Fix typos in code comments [skip ci]

6 years agoFix a typo in the error messages for FFI [skip ci]
Tyson Andre [Mon, 18 Feb 2019 16:14:42 +0000 (11:14 -0500)]
Fix a typo in the error messages for FFI [skip ci]

6 years agoFixed bug #77632 (FFI Segfaults When Called With Variadics)
Dmitry Stogov [Mon, 18 Feb 2019 15:11:55 +0000 (18:11 +0300)]
Fixed bug #77632 (FFI Segfaults When Called With Variadics)

6 years agoUse "quick" macro variants for known argument numbers
Dmitry Stogov [Mon, 18 Feb 2019 14:52:33 +0000 (17:52 +0300)]
Use "quick" macro variants for known argument numbers

6 years agorun-tests.php: experimental parallel testing support
Andrea Faulds [Sun, 17 Feb 2019 18:47:22 +0000 (19:47 +0100)]
run-tests.php: experimental parallel testing support

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Nikita Popov [Mon, 18 Feb 2019 13:04:30 +0000 (14:04 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Nikita Popov [Mon, 18 Feb 2019 13:04:15 +0000 (14:04 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

6 years agoMake MADV_HUGEPAGE conditional on USE_ZEND_ALLOC_HUGE_PAGES
Nikita Popov [Mon, 18 Feb 2019 13:01:45 +0000 (14:01 +0100)]
Make MADV_HUGEPAGE conditional on USE_ZEND_ALLOC_HUGE_PAGES

There have been multiple reports of large slowdowns due to the
use of MADV_HUGEPAGE, so make it conditional on
USE_ZEND_ALLOC_HUGE_PAGES, just like MAP_HUGETLB already is.

6 years agoFixed bug #77633
Dmitry Stogov [Mon, 18 Feb 2019 12:46:24 +0000 (13:46 +0100)]
Fixed bug #77633

Add a new class flag to inherit get_iterator() when implementing
the Iterator/IteratorAggregate interfaces and use it for
ArrayIterator.

6 years agoUse mremap in zend_mm_chunk_extend if available
Nikita Popov [Thu, 14 Feb 2019 16:25:13 +0000 (17:25 +0100)]
Use mremap in zend_mm_chunk_extend if available

As suggested by https://twitter.com/grsecurity. This saves an
mmap+munmap cycle in case the mapping cannot be extended in-place.

6 years agoFixed use-after-free during preloading, when q class with unresolved constant uses...
Dmitry Stogov [Mon, 18 Feb 2019 10:46:13 +0000 (13:46 +0300)]
Fixed use-after-free during preloading, when q class with unresolved constant uses a preloaded trait.

6 years agoRelease constant names during preloading
Nikita Popov [Mon, 18 Feb 2019 10:15:32 +0000 (11:15 +0100)]
Release constant names during preloading

6 years agoDon't suppress errors during in preload testing
Nikita Popov [Mon, 18 Feb 2019 08:46:17 +0000 (09:46 +0100)]
Don't suppress errors during in preload testing

6 years agoDon't catch opcache_compile_file failures during preloading
Nikita Popov [Mon, 18 Feb 2019 09:44:50 +0000 (10:44 +0100)]
Don't catch opcache_compile_file failures during preloading

Compiler failures are not side-effect free, they may leave behind
parts of the file that were successfully compiled before the
failure occurred. The preloading code is not prepared to deal with
this.

6 years agoHandle exception patterns in bless_tests.php
Nikita Popov [Mon, 18 Feb 2019 08:56:39 +0000 (09:56 +0100)]
Handle exception patterns in bless_tests.php

6 years agoTest the warning for giving full path to dl()
Tom Van Herreweghe [Sun, 17 Feb 2019 19:22:23 +0000 (20:22 +0100)]
Test the warning for giving full path to dl()

6 years agoTests for XMLWriter write cdata and raw
MarkBaker [Tue, 10 Oct 2017 19:17:18 +0000 (20:17 +0100)]
Tests for XMLWriter write cdata and raw

6 years agoSplDoublyLinkedList Iterating a DLL by reference shouldn't be permitted
MarkBaker [Sat, 7 Oct 2017 12:06:18 +0000 (13:06 +0100)]
SplDoublyLinkedList Iterating a DLL by reference shouldn't be permitted

6 years agoRange of new tests for xmlreader functionality and exceptions/errors
MarkBaker [Thu, 5 Oct 2017 23:46:59 +0000 (00:46 +0100)]
Range of new tests for xmlreader functionality and exceptions/errors

6 years agoRemove unused --copy option from the makedist
Peter Kokot [Sat, 16 Feb 2019 20:48:45 +0000 (21:48 +0100)]
Remove unused --copy option from the makedist

The --copy option was once used with Automake. It has been
removed via 128119b9abf3446b3867ed6d6bf1503a54bf45ea.

6 years agoMove some scripts from root directory to scripts/dev/
Peter Kokot [Sat, 6 Oct 2018 19:39:29 +0000 (21:39 +0200)]
Move some scripts from root directory to scripts/dev/

At the time of this commit, there is a dedicated folder for development
related tools and such scripts might fit better there to not bloat the
project root directory too much.

Move snapshot to scripts/dev/snapshot

6 years agorun-tests.php: fix all tab-space indentation inconsistency
Andrea Faulds [Sat, 16 Feb 2019 00:54:16 +0000 (01:54 +0100)]
run-tests.php: fix all tab-space indentation inconsistency

6 years agorun-tests.php: move all top-level code into a function
Andrea Faulds [Sat, 16 Feb 2019 00:05:04 +0000 (01:05 +0100)]
run-tests.php: move all top-level code into a function

Prerequisite for parallelised testing:
https://github.com/php/php-src/pull/2822

Quoth Nikita @
https://github.com/php/php-src/pull/3789#issuecomment-462724550:

> @hikari-no-yume Please feel free to directly commit the first commit
> (to PHP-7.4). That's probably a big and unnecessary source of
> conflicts, and makes reviewing harder as well.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Fri, 15 Feb 2019 17:57:17 +0000 (18:57 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #77626: Persistence confusion in php_com_import_typelib()

6 years agoFix #77626: Persistence confusion in php_com_import_typelib()
Christoph M. Becker [Fri, 15 Feb 2019 17:50:13 +0000 (18:50 +0100)]
Fix #77626: Persistence confusion in php_com_import_typelib()

We apply only the most minimal fix here, and will cater to the
unnecessary re-allocation for PHP-7.4.

We don't need to add a regression test, since bug39606.phpt and
bug77621.phpt already show the misbehavior.

6 years agoLink anonymous classes during preloading
Nikita Popov [Fri, 15 Feb 2019 16:50:40 +0000 (17:50 +0100)]
Link anonymous classes during preloading

6 years agoDon't assume that all includes have been executed
Nikita Popov [Fri, 15 Feb 2019 16:36:40 +0000 (17:36 +0100)]
Don't assume that all includes have been executed

6 years agoSet filename & lineno information for preload inheritance error
Nikita Popov [Fri, 15 Feb 2019 16:03:57 +0000 (17:03 +0100)]
Set filename & lineno information for preload inheritance error

6 years agoHandle bailouts during preload linking
Nikita Popov [Fri, 15 Feb 2019 15:56:32 +0000 (16:56 +0100)]
Handle bailouts during preload linking

6 years agoFix preload auto globals handling
Nikita Popov [Fri, 15 Feb 2019 15:34:32 +0000 (16:34 +0100)]
Fix preload auto globals handling

We need to compute the auto globals mask before EG(symbol_table)
is cleaned out.

6 years agoDeprecate marking typelibs to load constants case-insensitively
Christoph M. Becker [Fri, 15 Feb 2019 15:20:02 +0000 (16:20 +0100)]
Deprecate marking typelibs to load constants case-insensitively

This is an amendment to commit fae2246[1] which missed this opportunity
to still introduce case-insensitive constants without a deprecation
warning.

[1] <http://git.php.net/?p=php-src.git;a=commit;h=fae22461f95dfe8153fb74a53b9c5daeec47387f>

6 years agoAvoid useless code duplication, because of unused specialization
Dmitry Stogov [Fri, 15 Feb 2019 14:49:39 +0000 (17:49 +0300)]
Avoid useless code duplication, because of unused specialization

6 years agoUnify clone method error message
rjhdby [Fri, 15 Feb 2019 10:32:57 +0000 (13:32 +0300)]
Unify clone method error message

6 years agoReduce slow code size
Dmitry Stogov [Fri, 15 Feb 2019 14:03:04 +0000 (17:03 +0300)]
Reduce slow code size

6 years agoAvoid uninitialized entries in properties_info_table
Nikita Popov [Fri, 15 Feb 2019 12:42:37 +0000 (13:42 +0100)]
Avoid uninitialized entries in properties_info_table

Also don't place it into xlat, there's only ever one user.

6 years agoDeprecate case-insensitive constants via typelib import
Christoph M. Becker [Thu, 14 Feb 2019 17:34:47 +0000 (18:34 +0100)]
Deprecate case-insensitive constants via typelib import

As of PHP 7.3.0, case-insensitive constants are deprecated.  We catch
up on this with regard to ext/com_dotnet, which allows to import
constants from typelibs, by triggering a deprecation notice whenever
`com_load_typelib()` is called with `$case_sensitive` being `false`,
and whenever `com.autoregister_casesensitive` is set to `false`,
regardless of whether there are actually constants in the typelib which
would be imported.

6 years agoSuppress zend_throw_error during preload constant resolution
Nikita Popov [Fri, 15 Feb 2019 12:03:46 +0000 (13:03 +0100)]
Suppress zend_throw_error during preload constant resolution

Related to bug #77615.

6 years agoAdd preloading support for typed properties
Nikita Popov [Fri, 15 Feb 2019 11:30:36 +0000 (12:30 +0100)]
Add preloading support for typed properties

During preloading, try to resolve all property types to CEs. Add a
flag that tracks this. If not all property types can be resolved,
then the class is not eligible for preloading.

6 years agoAdd a --preload testing mode to run-tests.php
Nikita Popov [Fri, 15 Feb 2019 10:23:23 +0000 (11:23 +0100)]
Add a --preload testing mode to run-tests.php

Not intended for general use, it has many false positives.

6 years agoAssign (un)serialize_func during compilation
Nikita Popov [Fri, 15 Feb 2019 10:20:28 +0000 (11:20 +0100)]
Assign (un)serialize_func during compilation

This avoids writing this cache at runtime, which is illegal if
preloading is used.

Not every serialize/unserialize function actually belongs to the
Serializable interface, but I think it's not a problem to assign
these anyway -- whether they are used ultimately depends on whether
Serializable is implemented.

Alternatively it might make sense to just drop these entirely. I
don't think this is performance critical functionality.

6 years agoproperties_info_table may be in arena or shm
Nikita Popov [Fri, 15 Feb 2019 09:26:46 +0000 (10:26 +0100)]
properties_info_table may be in arena or shm

For immutable classes it should be shm instead of in arena.

Related to bug #77615.

6 years agoMerge branch 'PHP-7.3' into PHP-7.4
Christoph M. Becker [Thu, 14 Feb 2019 23:39:10 +0000 (00:39 +0100)]
Merge branch 'PHP-7.3' into PHP-7.4

* PHP-7.3:
  Fix #77621: Already defined constants are not properly reported

6 years agoMerge branch 'PHP-7.2' into PHP-7.3
Christoph M. Becker [Thu, 14 Feb 2019 23:37:39 +0000 (00:37 +0100)]
Merge branch 'PHP-7.2' into PHP-7.3

* PHP-7.2:
  Fix #77621: Already defined constants are not properly reported

6 years agoFix #77621: Already defined constants are not properly reported
Christoph M. Becker [Thu, 14 Feb 2019 23:35:21 +0000 (00:35 +0100)]
Fix #77621: Already defined constants are not properly reported

We must not check uninitialized values (i.e. `c.value`), and we have to
use proper types for printf-style formats (i.e. `char *` instead of
`zend_string *`).

6 years agogd imageloadfont test while reading header
BlackEagle [Mon, 20 Nov 2017 22:17:48 +0000 (23:17 +0100)]
gd imageloadfont test while reading header

Cover error when the header of an gd font loading is interrupted by end
of file.

Signed-off-by: BlackEagle <ike.devolder@gmail.com>
6 years agoAdd test to function posix_getlogin()
Rodrigo Prado de Jesus [Wed, 15 Nov 2017 03:08:38 +0000 (01:08 -0200)]
Add test to function posix_getlogin()

Increased the coverage lines 587-595 in file ext/posix/posix.c

User Groups: PHPVale   PHPSP   PHPDF    PHPWomenBR

Hangout presented by #PHPTestFestBrasil on 2017-11-14
https://www.youtube.com/watch?v=bBWkzZEadNo

6 years agoCreate posix_getpwnam_basic_01.phpt
Rodrigo Prado [Thu, 9 Nov 2017 22:20:09 +0000 (20:20 -0200)]
Create posix_getpwnam_basic_01.phpt

User Group: PHPSP #phptestfestbrasil

6 years agoAdd basic test for posix getgrnam
Riccardo Magliocchetti [Wed, 20 Dec 2017 19:59:14 +0000 (20:59 +0100)]
Add basic test for posix getgrnam

6 years agoSmall change in the test to pass
Rodrigo Prado [Thu, 14 Feb 2019 19:12:00 +0000 (20:12 +0100)]
Small change in the test to pass

This test was not passing because the VM called by travis CI is slow, see below the failure:
http://gcov.php.net/viewer.php?version=PHP_HEAD&func=tests&file=ext%2Ffileinfo%2Ftests%2Fcve-2014-3538-mb.phpt
User Group: PHPSP #phptestfestbrasil
http://phpsp.org.br/

6 years agoAdded basic stream_filter_register test
Robrecht Plaisier [Mon, 27 Nov 2017 18:53:43 +0000 (19:53 +0100)]
Added basic stream_filter_register test

6 years agouse local resources instead remote
rjhdby [Thu, 14 Feb 2019 11:00:57 +0000 (14:00 +0300)]
use local resources instead remote

6 years agoRemove outdated pgsql README
Fabien Villepinte [Thu, 14 Feb 2019 15:10:29 +0000 (16:10 +0100)]
Remove outdated pgsql README

[ci skip]

6 years agoFix build without global regs
Nikita Popov [Thu, 14 Feb 2019 13:01:39 +0000 (14:01 +0100)]
Fix build without global regs

6 years agoFix typo in XML test
Nikita Popov [Thu, 14 Feb 2019 11:59:08 +0000 (12:59 +0100)]
Fix typo in XML test

Uncovered by the change in e63febb1c772e15c1da891f00e3a343090e43c67.

6 years agoFixed bug #75921
David Walker [Thu, 15 Feb 2018 05:06:34 +0000 (22:06 -0700)]
Fixed bug #75921

Ensure that the "creating default object from empty value" warning is
always thrown. Previously some cases were missing the warning, in
particular those going through FETCH_OBJ_W rather than a dedicated
opcode (like ASSIGN_OBJ).

One slightly unfortunate side-effect of this change is that something
like $a->b->c = 'd' will now generate two warnings rather than one
when $a is null (one for property b, one for property c).

6 years agoUse #ifdef instead of #if
Nikita Popov [Thu, 14 Feb 2019 10:56:33 +0000 (11:56 +0100)]
Use #ifdef instead of #if

6 years agoMake ABI of SIMD optimized functions independent of compiler flags
Nikita Popov [Thu, 14 Feb 2019 09:21:27 +0000 (10:21 +0100)]
Make ABI of SIMD optimized functions independent of compiler flags

Always export these as normal functions and only use function pointers
internally if necessary.