summaryrefslogtreecommitdiff
path: root/ext/oci8
Commit message (Collapse)AuthorAgeFilesLines
* Update year to 2021Peter Kokot2021-02-021-1/+1
| | | | Closes GH-6636.
* Cheaper checks for exceptions thrown from __toString()Dmitry Stogov2019-06-061-2/+2
|
* Allow exceptions in __toString()Nikita Popov2019-06-051-9/+34
| | | | | | | | | | RFC: https://wiki.php.net/rfc/tostring_exceptions And convert some object to string conversion related recoverable fatal errors into Error exceptions. Improve exception safety of internal code performing string conversions.
* [ci skip] Migrate oci8 README to MarkdownPeter Kokot2019-05-123-25/+24
|
* Normalize comments in *nix build system m4 filesPeter Kokot2019-05-121-35/+40
| | | | | | | | | Normalization include: - Use dnl for everything that can be ommitted when configure is built in favor of the shell comment character # which is visible in the output. - Line length normalized to 80 columns - Dots for most of the one line sentences - Macro definitions include similar pattern header comments now
* Remove duplicate test filePeter Kokot2019-05-062-109/+0
| | | | | Files ext/oci8/tests/field_funcs0.phpt and ext/oci8/tests/field_funcs.phpt are the same.
* Sync AC_CHECK_SIZEOF m4 macro callsPeter Kokot2019-03-181-6/+5
| | | | | | | | | | | | | | | | - AC_CHECK_SIZEOF is now called mostly only in PHP_CHECK_STDINT_TYPES() macro except for some parts checking for the 32 or 64 bit architecture. - SIZEOF_CHAR removed since it is always 1 - ZEND_BIN_ID is now of a more logical pattern `BIN_48888` on 64bit architectures and `BIN_44444` on 32bit instead of literal string `BIN_SIZEOF_CHAR48888` on 64bit and `BIN_SIZEOF_CHAR44444` on 32bit. The unneeded SIZEOF_CHAR part has been removed. - XMLRPC_TYPE_CHECKS removed - The `long long int` is the same as `long long` and redundant checks removed accordingly. - Removed PHP_CHECK_64BIT macro. Checking if current platform is 64bit or not can be also done simply by using a check of the long type on place. This removes redundant m4 macro PHP_CHECK_64BIT.
* Replace dirname(__FILE__) by __DIR__ in testsFabien Villepinte2019-03-15349-743/+743
|
* Remove function_table var from the callerc9s2019-03-111-1/+1
| | | | | 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-4/+6
| | | | | | | | 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
* Fix file permissionsPeter Kokot2019-02-281-0/+0
| | | | | | | | Git can track executable (0755) and non-executable (0644) file modes. This patch fixes file permissions in the php-src repository according to the predefined executable files with 0755 permissions (shell scripts) and all others with 0644 permissions.
* Correct skipif use for OCI8 password testsChristopher Jones2019-02-202-2/+0
|
* Merge branch 'PHP-7.3' into PHP-7.4Christopher Jones2019-02-202-0/+2
|\
| * Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2019-02-202-0/+2
| |\
| | * Correct skipif use for OCI8 password testsChristopher Jones2019-02-202-0/+2
| | |
* | | Skip tests f oci8 extension is not loadedDmitry Stogov2019-02-202-0/+2
| | |
* | | Update and fix remaining year ranges (2019)Peter Kokot2019-02-082-2/+2
| | | | | | | | | | | | | | | | | | This patch follows previous license year ranges updates. With new approach source code files now have simplified headers with license information without year ranges.
* | | Remove local variablesPeter Kokot2019-02-038-70/+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
| | |
* | | Implement typed propertiesNikita Popov2019-01-111-7/+12
|/ / | | | | | | | | | | | | | | | | | | RFC: https://wiki.php.net/rfc/typed_properties_v2 This is a squash of PR #3734, which is a squash of PR #3313. Co-authored-by: Bob Weinand <bobwei9@hotmail.com> Co-authored-by: Joe Watkins <krakjoe@php.net> Co-authored-by: Dmitry Stogov <dmitry@zend.com>
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-103-8/+8
|\ \ | |/
| * LOL I had 2.10 on my mindChristopher Jones2018-12-103-8/+8
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-101-0/+1
|\ \ | |/
| * Bundle the new testChristopher Jones2018-12-101-0/+1
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-103-10/+2
|\ \ | |/
| * Improve test portabilityChristopher Jones2018-12-102-8/+2
| |
| * Update for newer Oracle versionsChristopher Jones2018-12-101-2/+0
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-097-9/+106
|\ \ | |/
| * Add oci_set_call_timeout() and bump version to 2.10.0Christopher Jones2018-12-097-9/+106
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-091-0/+8
|\ \ | |/
| * Upgrade internal OCI callChristopher Jones2018-12-091-0/+8
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-095-25/+26
|\ \ | |/
| * Enable Oracle Database DBOP tracing attributeChristopher Jones2018-12-095-25/+26
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-095-96/+138
|\ \ | |/
| * Update OCI8 READMEChristopher Jones2018-12-091-6/+6
| |
| * Convert some parameter parsing to the Fast Parameter Parsing APIChristopher Jones2018-12-094-90/+132
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-082-5/+6
|\ \ | |/ | | | | | | | | * PHP-7.2: Note that PECL install now works on PHP 7.3 Don't skip with 18c DB
| * Note that PECL install now works on PHP 7.3Christopher Jones2018-12-081-0/+1
| |
| * Don't skip with 18c DBChristopher Jones2018-12-081-5/+5
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-082-2/+2
|\ \ | |/
| * Fix resource warning valueChristopher Jones2018-12-081-1/+1
| |
| * Bump OCI8 versionChristopher Jones2018-12-081-1/+1
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-081-3/+19
|\ \ | |/ | | | | | | * PHP-7.2: Update NEWS
| * Update NEWSChristopher Jones2018-12-081-3/+19
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-081-1/+3
|\ \ | |/ | | | | | | * PHP-7.2: When releasing an oci8 connection always set the resource to null.
| * When releasing an oci8 connection always set the resource to null.KoenigsKind2018-12-081-1/+3
| |
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-071-5/+5
|\ \ | |/
| * Drop unnecessary HASH_OF uses in ext/oci8Nikita Popov2018-12-071-5/+5
| | | | | | | | These only operate on arrays.
* | Merge branch 'PHP-7.2' into PHP-7.3Christopher Jones2018-12-074-74/+8
|\ \ | |/
| * Simplify based on feedback from nikicChristopher Jones2018-12-074-74/+8
| |