summaryrefslogtreecommitdiff
path: root/ext/interbase
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* 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
| | | | * Fix bug #75453 Incorrect reflection on ibase_connect and ibase_pconnectFabien Villepinte2017-10-301-4/+4
| | | | |
| | | | * Update copyright headers to 2017Sammy Kaye Powers2017-01-048-9/+9
| | | | |
| | | * | Update copyright headers to 2017Sammy Kaye Powers2017-01-048-9/+9
| | | | |
* | | | | Encapsulate reference-counting primitives.Dmitry Stogov2017-10-271-1/+1
|/ / / / | | | | | | | | | | | | | | | | | | | | Prohibit direct update of GC_REFCOUNT(), GC_SET_REFCOUNT(), GC_ADDREF() and GC_DELREF() shoukf be instead. Added mactros to validate reference-counting (disabled for now). These macros are going to be used to eliminate race-condintions during reference-counting on data shared between threads.
* | | | Free the HMODULE handle after useKalle Sommer Nielsen2017-07-211-0/+3
|/ / /
* | | Only compute callback name in error casesNikita Popov2017-06-251-3/+2
| | | | | | | | | | | | | | | Mostly the callback name is only used to report an error. Try to avoid calculating it if no error occurred.
* | | Update copyright headers to 2017Sammy Kaye Powers2017-01-028-8/+8
| | |
* | | Fix CRLF line-endings in testsNikita Popov2016-11-201-1/+1
| | | | | | | | | | | | Also fix a single instance of CRLF in ibase_query.c.
* | | Merge branch 'PHP-7.1'Remi Collet2016-11-161-20/+35
|\ \ \ | |/ / | | | | | | | | | * PHP-7.1: Fixed bug #73512 Fails to find firebird headers
| * | Fixed bug #73512 Fails to find firebird headersRemi Collet2016-11-161-20/+35
| | | | | | | | | | | | - use fb_config output instead of relying on hardoded path
* | | fix borked interbase patchAnatol Belski2016-08-111-1/+1
| | |
* | | Remove sql.safe_modeKalle Sommer Nielsen2016-08-112-5/+1
|/ / | | | | | | | | | | | | | | | | | | This is one of the last old and odd deprecated settings we still have in PHP, it was never fully implemented in all the database extensions and should probably have been gone back in 5.4, along with safe_mode. Although if my memory strikes me right, mysql was also supporting it back then, but not mysqli. So far only interbase was supporting this feature, and the removal of it causes two effects for interbase: - CREATE DATABASE is now allowed no matter - The default database set by php.ini (ibase.default_db) is no longer forced http://php.net/ini.core#ini.sql.safe-mode
* | Added ZEND_ATTRIBUTE_FORMAT to some middind functions.Dmitry Stogov2016-06-212-3/+3
| | | | | | | | | | "%p" replaced by ZEND_LONG_FMT to avoid compilation warnings. Fixed most incorrect use cases of format specifiers.
* | fix test portabilityAnatol Belski2016-06-171-1/+1
|/
* Fixed buildXinchen Hui2016-04-291-1/+1
|
* Use zend_string_safe_allocXinchen Hui2016-04-271-1/+1
|
* fix ibase connection routineAnatol Belski2016-03-041-1/+1
| | | | followup on a7028d96
* Fix one zpp usage in interbaseTjerk Meesters2016-03-031-1/+2
| | | | Also small tweak to zpp REAME
* Move semicolon into TSRMLS_CACHE_EXTERN/DEFINENikita Popov2016-03-032-2/+2
| | | | Also re bug #71575.
* Fixed macro nameXinchen Hui2016-01-141-1/+1
|
* partial test fixes, only obvious mistaking partsAnatol Belski2016-01-122-3/+3
|
* remove the unnecessary condition partAnatol Belski2016-01-121-1/+1
|
* fix possible buffer overrun in the errmsg stringAnatol Belski2016-01-121-1/+1
|
* integrate tsrmls cacheAnatol Belski2016-01-123-2/+8
|