Commit graph

243 commits

Author SHA1 Message Date
Anatol Belski
82189218ba Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix handling and extend ext/ffi/tests/044.phpt
2019-03-30 12:54:05 +01:00
Anatol Belski
039500adb6 Fix handling and extend ext/ffi/tests/044.phpt 2019-03-30 12:53:32 +01:00
Dmitry Stogov
4006e99577 Merge branch 'PHP-7.4'
* PHP-7.4:
  Partial support for GCC mode attribute.
2019-03-29 17:29:32 +03:00
Dmitry Stogov
61ad294f26 Partial support for GCC mode attribute. 2019-03-29 17:28:57 +03:00
Dmitry Stogov
3caf9d660d Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed memory leaks
2019-03-29 14:34:07 +03:00
Dmitry Stogov
a2b39aa0de Fixed memory leaks 2019-03-29 14:33:49 +03:00
Dmitry Stogov
5db761b68f Merge branch 'PHP-7.4'
* PHP-7.4:
  Allow usage of incomplete types for external variables, function parameters and return values
2019-03-29 14:16:18 +03:00
Dmitry Stogov
24fa2008dd Allow usage of incomplete types for external variables, function parameters and return values 2019-03-29 14:14:56 +03:00
Dmitry Stogov
8eae762e2f Merge branch 'PHP-7.4'
* PHP-7.4:
  Added support for more GCC extensions: attributes, __extension__, __asm__ (ignored)
2019-03-29 02:38:12 +03:00
Dmitry Stogov
745dd94e55 Added support for more GCC extensions: attributes, __extension__, __asm__ (ignored) 2019-03-29 02:36:55 +03:00
Dmitry Stogov
1dc9887cf5 Merge branch 'PHP-7.4'
* PHP-7.4:
  Ignore "__format__" attribute
2019-03-29 00:53:06 +03:00
Dmitry Stogov
adf930c038 Ignore "__format__" attribute 2019-03-29 00:52:39 +03:00
Dmitry Stogov
353578eecd Merge branch 'PHP-7.4'
* PHP-7.4:
  Allow incomplete array variables - extern const char * const sys_errlist[]
2019-03-29 00:16:51 +03:00
Dmitry Stogov
94e3db64b2 Allow incomplete array variables - extern const char * const sys_errlist[] 2019-03-29 00:15:12 +03:00
Dmitry Stogov
13f5c83295 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration)
2019-03-29 00:03:18 +03:00
Dmitry Stogov
a3e52afebe Fixed bug #77768 (FFI: Builtin Types Should Not Raise Error On Redeclaration) 2019-03-29 00:02:26 +03:00
Dmitry Stogov
128318dcbf Merge branch 'PHP-7.4'
* PHP-7.4:
  Support for __restrict and few GCC attributes
2019-03-28 03:01:58 +03:00
Dmitry Stogov
363e8dd69d Support for __restrict and few GCC attributes 2019-03-28 03:01:20 +03:00
Dmitry Stogov
25fe1d5dde Merge branch 'PHP-7.4'
* PHP-7.4:
  Improve white-space handling
2019-03-19 13:53:18 +03:00
Dmitry Stogov
defd421c0f Improve white-space handling 2019-03-19 13:52:55 +03:00
Dmitry Stogov
ddf02dc978 Merge branch 'PHP-7.4'
* PHP-7.4:
  Reset fields
2019-03-11 15:39:18 +03:00
Dmitry Stogov
e7f0a60d54 Reset fields 2019-03-11 15:38:49 +03:00
Dmitry Stogov
63da56cfc4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed bug #77707 (FFI loses type information for opaque types)
2019-03-11 14:26:52 +03:00
Dmitry Stogov
e623df650f Fixed bug #77707 (FFI loses type information for opaque types) 2019-03-11 14:26:17 +03:00
Dmitry Stogov
87f8b1b709 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed bug #77706 (Improve error messages in FFI for incompatible arguments)
2019-03-11 13:28:04 +03:00
Dmitry Stogov
a1868d2291 Fixed bug #77706 (Improve error messages in FFI for incompatible arguments) 2019-03-11 13:27:23 +03:00
Dmitry Stogov
95aa6bafa4 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed support for callbacks with "void" return type
2019-03-05 01:04:33 +03:00
Dmitry Stogov
ff5fa0d631 Fixed support for callbacks with "void" return type 2019-03-05 01:03:47 +03:00
Dmitry Stogov
a7ab1f9fba Merge branch 'PHP-7.4'
* PHP-7.4:
  Fix typo
  Simplify even more - use PHP_VERSION directly
  Bump FFI extension version to PHP_VERSION
2019-02-20 09:33:17 +03:00
Peter Kokot
a3e3fa78f2 Fix typo 2019-02-20 09:32:42 +03:00
Peter Kokot
e765e9a8e0 Simplify even more - use PHP_VERSION directly 2019-02-20 09:32:42 +03:00
Peter Kokot
e5fe8ad6e5 Bump FFI extension version to PHP_VERSION
This simplifies bumping the FFI extension version.
2019-02-20 09:32:42 +03:00
Nikita Popov
879cd04913 Merge branch 'PHP-7.4' 2019-02-18 17:51:41 +01:00
Tyson Andre
cb4c74dfe3 Fix a typo in the error messages for FFI [skip ci] 2019-02-18 17:47:41 +01:00
Dmitry Stogov
9baa3a95b9 Merge branch 'PHP-7.4'
* PHP-7.4:
  Fixed bug #77632 (FFI Segfaults When Called With Variadics)
2019-02-18 18:12:10 +03:00
Dmitry Stogov
5661feb1ef Fixed bug #77632 (FFI Segfaults When Called With Variadics) 2019-02-18 18:11:55 +03:00
Johannes Schlüter
d373d13d4a Merge branch 'PHP-7.4' 2019-02-12 15:02:18 +01:00
Dmitry Stogov
dbd7fbabe9 typo 2019-02-12 13:24:14 +03:00
Dmitry Stogov
7d4de1a77e Fixed possible crash 2019-02-12 11:21:09 +03:00
Dmitry Stogov
91ef4124e5 Refactor zend_object_handlers API to pass zend_object* and zend_string* insted of zval(s). 2019-02-04 13:20:25 +03:00
Peter Kokot
92ac598aab Remove local variables
This patch removes the so called local variables defined per
file basis for certain editors to properly show tab width, and
similar settings. These are mainly used by Vim and Emacs editors
yet with recent changes the once working definitions don't work
anymore in Vim without custom plugins or additional configuration.
Neither are these settings synced across the PHP code base.

A simpler and better approach is EditorConfig and fixing code
using some code style fixing tools in the future instead.

This patch also removes the so called modelines for Vim. Modelines
allow Vim editor specifically to set some editor configuration such as
syntax highlighting, indentation style and tab width to be set in the
first line or the last 5 lines per file basis. Since the php test
files have syntax highlighting already set in most editors properly and
EditorConfig takes care of the indentation settings, this patch removes
these as well for the Vim 6.0 and newer versions.

With the removal of local variables for certain editors such as
Emacs and Vim, the footer is also probably not needed anymore when
creating extensions using ext_skel.php script.

Additionally, Vim modelines for setting php syntax and some editor
settings has been removed from some *.phpt files.  All these are
mostly not relevant for phpt files neither work properly in the
middle of the file.
2019-02-03 21:03:00 +01:00
Zeev Suraski
0cf7de1c70 Remove yearly range from copyright notice 2019-01-30 11:03:12 +02:00
Dmitry Stogov
e089d506d5 Added FFI extension 2019-01-14 11:47:50 +03:00