summaryrefslogtreecommitdiff
path: root/ext/interbase
Commit message (Collapse)AuthorAgeFilesLines
* Remove this leftoverKalle Sommer Nielsen2019-05-011-398/+0
|
* Merge branch 'PHP-7.4'Kalle Sommer Nielsen2019-05-0134-7312/+0
|\ | | | | | | | | * PHP-7.4: Move ext/interbase to pecl/database/interbase
| * Move ext/interbase to pecl/database/interbaseKalle Sommer Nielsen2019-05-0135-7704/+0
| | | | | | | | https://wiki.php.net/rfc/deprecate-and-remove-ext-interbase
* | Fixed compilationDmitry Stogov2019-04-161-2/+8
|/
* Merge branch 'PHP-7.3' into PHP-7.4Nikita Popov2019-03-251-5/+7
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Nikita Popov2019-03-251-5/+7
| |\
| | * Fixed bug #72175Nikita Popov2019-03-251-6/+8
| | | | | | | | | | | | Make sure we don't close the connection we're trying to reuse...
| | * Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-153-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| | * Trim trailing whitespace in *.phptPeter Kokot2018-10-149-63/+63
| | |
| | * Trim trailing whitespace in source code filesPeter Kokot2018-10-134-5/+5
| | |
| | * year++Xinchen Hui2018-01-028-8/+8
| | |
| * | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-153-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
| * | Trim trailing whitespace in *.phptPeter Kokot2018-10-148-23/+23
| | |
| * | Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
| | |
* | | Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-151-1/+1
| | |
* | | Remove HAVE_STRFTIMEPeter Kokot2019-03-141-15/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Function strftime is part of the C89 standard [1] and current systems don't need to check for its presence anymore. Additionally, checks for strftime function in tests have been removed since the PHP strftime function is now always available. 1: https://port70.net/~nsz/c/c89/c89-draft.html
* | | Remove function_table var from the callerc9s2019-03-112-2/+2
| | | | | | | | | | | | | | | function_table var is not used in call_user_function macro anymore hence replace the usage with NULL
* | | Add AS_HELP_STRING to *nix build configure optionsPeter Kokot2019-03-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | The Autoconf's default AS_HELP_STRING macro can properly format help strings [1] so watching out if columns are aligned manually is not anymore. [1] https://www.gnu.org/software/autoconf/manual/autoconf.html#Pretty-Help-Strings
* | | Replace PHP_TM_GMTOFF with AC_CHECK_MEMBERSPeter Kokot2019-03-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes: - PHP_TM_GMTOFF removed - HAVE_TM_GMTOFF replaced with HAVE_STRUCT_TM_TM_GMTOFF - HAVE_TM_ZONE replaced with HAVE_STRUCT_TM_TM_ZONE - HAVE_TZNAME removed The PHP_TM_GMTOFF macro can be replaced with Autoconf's AC_CHECK_MEMBERS that defines the HAVE_STRUCT_TM_TM_GMTOFF symbol instead of the HAVE_TM_ZONE. The HAVE_TZNAME symbol is not used in current code. The obsolete HAVE_TM_ZONE symbol has been replaced with more proper HAVE_STRUCT_TM_TM_ZONE. These are defined by the AC_STRUCT_TIMEZONE macro.
* | | Remove local variablesPeter Kokot2019-02-037-59/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Remove yearly range from copyright noticeZeev Suraski2019-01-308-8/+8
| | |
* | | Clean up unnecessary ternary expressions and simplify some returnsGabriel Caruso2018-12-031-1/+1
| | | | | | | | | | | | | | | | | | | | | - Simplify conditions - Use ZEND_HASH_APPLY_* instead of hard-coded booleans - Use ZEND_NORMALIZE_BOOL - Drop sign in favor of ZEND_NORMALIZE_BOOL
* | | Sync leading and final newlines in *.phpt sectionsPeter Kokot2018-10-153-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch adds missing newlines, trims multiple redundant final newlines into a single one, and trims redundant leading newlines in all *.phpt sections. According to POSIX, a line is a sequence of zero or more non-' <newline>' characters plus a terminating '<newline>' character. [1] Files should normally have at least one final newline character. C89 [2] and later standards [3] mention a final newline: "A source file that is not empty shall end in a new-line character, which shall not be immediately preceded by a backslash character." Although it is not mandatory for all files to have a final newline fixed, a more consistent and homogeneous approach brings less of commit differences issues and a better development experience in certain text editors and IDEs. [1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206 [2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2 [3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
* | | Trim trailing whitespace in *.phptPeter Kokot2018-10-141-1/+1
| | |
* | | Trim trailing whitespace in testsGabriel Caruso2018-10-147-22/+22
| | |
* | | Trim trailing whitespace in source code filesPeter Kokot2018-10-131-1/+1
| | |
* | | Fix some misspellingsGabriel Caruso2018-08-121-1/+1
|/ /
* | Trim trailing whitespaces in build filesPeter Kokot2018-07-291-1/+1
| | | | | | | | | | | | | | | | Some editors utilizing .editorconfig automatically trim whitespaces. For convenience this patch removes whitespaces in certain build files: - ext/*/config*.m4 - configure.ac - acinclude.m4
* | Use variables that already received ZEND_NUM_ARGS()Gabriel Caruso2018-07-221-4/+2
| |
* | Fix failing test upstreamGabriel Caruso2018-07-152-41/+41
| | | | | | | | | | There was a trailing tab when a error message was generated. Removing it, test is passing now.
* | Use zval_ptr_dtor() imstead of zval_dtor()Dmitry Stogov2018-07-051-1/+1
| |
* | Use zval_ptr_dtor_nogc() instead of zval_dtor() inplaces where ↵Dmitry Stogov2018-07-052-2/+2
| | | | | | | | circular-references are not possible
* | Use zval_ptr_dtor() instead of legacy zval_dtor(), to destroy unused values ↵Dmitry Stogov2018-07-051-1/+1
| | | | | | | | returned from PHP functions (they may be circular data structures).
* | Replace legacy zval_dtor() by zval_ptr_dtor_nogc() or even more specialized ↵Dmitry Stogov2018-07-041-1/+1
| | | | | | | | | | | | | | destructors. zval_dtor() doesn't make a lot of sense in PHP-7.* and it's used incorrectly in some places. Its occurances should be replaced by zval_ptr_dtor() or zval_ptr_dtor_nogc(), or even more specialized destructors.
* | Fixed bug #76443 (php+php_interbase.dll crash on module_shutdown)Kalle Sommer Nielsen2018-06-111-3/+0
| |
* | Removed "dead" code (zend_hash_update() never fails)Dmitry Stogov2018-06-011-4/+2
| |
* | Use zend_string_release_ex() instread of zend_string_release() in places, ↵Dmitry Stogov2018-05-281-1/+1
| | | | | | | | where we sure about string persistence.
* | remove support for string|unicode in testsGabriel Caruso2018-02-221-1/+1
| |
* | Refactoring duplicated ZPP with a switchGabriel Caruso2018-02-191-45/+19
| |
* | Remove trailing whitespace in inc filesGabriel Caruso2018-02-102-3/+3
| |
* | Use bool instead of boolean while throwing a type errorGabriel Caruso2018-02-042-2/+2
| | | | | | | | | | | | | | | | | | | | PHP requires boolean typehints to be written "bool" and disallows "boolean" as an alias. This changes the error messages to match the actual type name and avoids confusing messages like "must be of type boolean, boolean given". This a followup to ce1d69a1f6dcf15d43029301059c25e5bc09a577, which implements the same change for integer->int.
* | Use int instead of integer in type errorsGabriel Caruso2018-02-042-2/+2
| | | | | | | | | | | | | | PHP requires integer typehints to be written "int" and does not allow "integer" as an alias. This changes type error messages to match the actual type name and avoids confusing messages like "must be of the type integer, integer given".
* | Don't directly access refcount in interbaseNikita Popov2018-01-121-2/+2
| |
* | year++Xinchen Hui2018-01-028-8/+8
| |
* | Move constants into read-only data segmentDmitry Stogov2017-12-141-1/+1
| |
* | Persistent resources are "thread-local".Dmitry Stogov2017-11-011-6/+1
| | | | | | | | Register persistent resources through new functions zend_register_persistent_resource()/zend_register_persistent_resource_ex().
* | Merge branch 'master' into rc_debugDmitry Stogov2017-10-301-4/+4
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * master: (26 commits) Better fix for bug #75451 (Assertion fails while foreach on empty xpath query) Catch with the latest AppVeyor unzip errors Fixed type inference Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect Fix compiler warnings We don't use a specific model for a MAKERNOTE so remove these checks that doesn't do anything anyway Remove these old comments, as for the TODO, there is already a FR for this Re-enable AppVeyor cache make sure run-tests reports exit status upon prerequisite error Remove implicit constants from test case Fix invalid read in zend_use_undefined_constant() Fix invalid read in mb_ord() Remove --with-libmbfl configure option Fixed bug #75451 (Assertion fails while foreach on empty xpath query) Add tests for UConverter::getStandards() convert spaces to tabs in ext/ftp/tests/server.inc Add tests for ftp_rename Fix bug #75434 Wrong reflection for mysqli_fetch_all function Don't optimize input arrays with suffix holes Fix bug #75307 Wrong reflection for openssl_open function ...
| * \ Merge branch 'PHP-7.2'Joe Watkins2017-10-301-4/+4
| |\ \ | | |/ | | | | | | | | | * PHP-7.2: Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
| | * Merge branch 'PHP-7.1' into PHP-7.2Joe Watkins2017-10-301-4/+4
| | |\ | | | | | | | | | | | | | | | | * PHP-7.1: Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect
| | | * Merge branch 'PHP-7.0' into PHP-7.1Joe Watkins2017-10-301-4/+4
| | | |\ | | | | | | | | | | | | | | | | | | | | * PHP-7.0: Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnect