Commit Graph

450 Commits

Author SHA1 Message Date
Felipe Pena
0203cc3d44 - Year++ 2011-01-01 02:17:06 +00:00
Pierre Joye
f6b3d22218 - allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+) 2010-11-14 22:40:30 +00:00
Pierre Joye
0af01dc7a5 - allow firebird header to be in the normal deps directory and restore firebird support on win (5.3.4+) 2010-11-14 22:40:30 +00:00
Pierre Joye
aa0ed267a2 - use TSRMLS_*C instead of TSRMLS_FETCH in zend_list_insert 2010-09-16 09:13:19 +00:00
Felipe Pena
80926568f1 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Felipe Pena
e64734f986 - Fixed bug #52183 (Reflectionfunction reports invalid number of arguments for function aliases) 2010-06-26 16:03:39 +00:00
Kalle Sommer Nielsen
e0498b0889 Remove this RC file, it should be named template.rc anyway and the default template.rc already covers what this .rc file did 2010-05-21 09:01:00 +00:00
Rob Richards
0a34d10783 revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
Kalle Sommer Nielsen
518a17e7bf Remove old dsp/dsw/makefile files, these arent used by the build system anymore and are barely updated nor available for all extensions 2010-04-21 23:36:49 +00:00
Kalle Sommer Nielsen
956a9cdc6e Updated copyright year 2010-04-21 23:19:39 +00:00
Sebastian Bergmann
9ba1e81665 sed -i "s#1997-2009#1997-2010#g" **/*.c **/*.h **/*.php 2010-01-03 09:23:27 +00:00
Kalle Sommer Nielsen
310bfadf3c Fixed bug #48189 (ibase_execute error in return param) 2009-07-25 23:37:47 +00:00
Rasmus Lerdorf
0f004989e9 Buffer handling fixes 2009-07-16 00:04:59 +00:00
Matt Wilmas
d55300298e MFH: Added zend_eval_stringl and made create_function(), etc. binary-safe 2009-06-05 18:50:32 +00:00
Felipe Pena
5448e9e790 - MFH: Fix tests 2009-02-09 16:44:23 +00:00
Ilia Alshanetsky
2bcdd36879 Improved parameter handling 2009-01-11 23:52:29 +00:00
Sebastian Bergmann
08659c2dcd MFH: Bump copyright year, 3 of 3. 2008-12-31 11:15:49 +00:00
Felipe Pena
d5bb19938d - MFH: New parameter parsing API 2008-11-27 02:17:22 +00:00
Felipe Pena
65cfb01eaa - MFH: New parameter parsing API 2008-11-23 20:01:21 +00:00
Felipe Pena
fc2fb50d09 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-11-17 11:28:01 +00:00
Felipe Pena
a2556b1f1c - MFH: New parameter parsing API 2008-11-11 17:54:43 +00:00
Felipe Pena
02050bc6f5 - New tests 2008-11-11 17:54:11 +00:00
Felipe Pena
9178503610 MFH:
- Added ZEND_FETCH_RESOURCE2_NO_RETURN() (a version of ZEND_FETCH_RESOURCE2 but without the ZEND_VERIFY_RESOURCE() which contains RETURN_FALSE)
- Fixed bug #46543 (ibase_trans() memory leaks when using wrong parameters)
2008-11-11 13:28:22 +00:00
Felipe Pena
493b0589e8 - Make expected result compatible with recent Firebird version 2008-11-10 22:33:53 +00:00
Felipe Pena
1460f722e3 - New tests 2008-11-10 18:02:56 +00:00
Felipe Pena
7a37fa2d6b - Revert ZEND_BEGIN_ARG_INFO change 2008-11-02 21:19:39 +00:00
Felipe Pena
df10005563 - MFH: Added 'static' into ZEND_BEGIN_ARG_INFO_EX macro 2008-10-24 14:35:40 +00:00
Felipe Pena
e8f25c5b98 - MFH: Fixed bug #45575 (Segfault with invalid non-string as event handler callback)
patch by Christian seiler
2008-10-07 18:18:45 +00:00
Felipe Pena
d0ad1517f5 - MFH: Fixed bug #46247 (ibase_set_event_handler() is allowing to pass callback without event) 2008-10-07 15:28:45 +00:00
Felipe Pena
8a24cfc98c - MFH: Fixed code ("Division by zero" anymore) 2008-10-07 12:51:21 +00:00
Felipe Pena
1f150fa10c - MFH: Fixed compiler warning 2008-10-06 15:13:53 +00:00
Felipe Pena
0af1239a82 - MFH: Fixed bug #45373 (php crash on query with errors in params) 2008-10-06 14:33:34 +00:00
Felipe Pena
e304515ddb - MFH: Added parameter TSRMLS_DC in zend_is_callable() 2008-08-02 04:46:07 +00:00
Felipe Pena
9d56746085 - Added arginfo 2008-07-07 17:33:47 +00:00
Felipe Pena
84a8bb038a MFH: New way for check void parameters 2008-03-10 22:15:36 +00:00
Ilia Alshanetsky
9f35febdf1 Fixed bug #43912 (Interbase column names are truncated to 31 characters) 2008-01-23 01:22:24 +00:00
Sebastian Bergmann
d1dded8751 MFH: Bump copyright year, 2 of 2. 2007-12-31 07:17:19 +00:00
Dmitry Stogov
648fbe9d58 Fixed bug #43128 (Very long class name causes segfault) 2007-11-22 13:27:13 +00:00
Lars Westermann
b15f2feda8 Win32 still fails to build ... 2007-11-20 21:36:20 +00:00
Lars Westermann
e077331077 Win32 fails to build 2007-11-20 19:58:39 +00:00
Lars Westermann
b599957076 [DOC] prototype for ibase_query() should be changed to:
PHP4:
  resource ibase_query ( [resource $link_identifier,] string $query [, mixed $bind_arg [, ...]] )
PHP5:
  resource ibase_query ( [resource $link_identifier,] [resource $transaction_identifier,] string $query [, mixed $bind_arg [, ...]] )

prototype for ibase_prepare() should be changed to:
PHP4:
  resource ibase_prepare ( [resource $link_identifier,] string $query )
PHP5:
  resource ibase_prepare ( [resource $link_identifier,] [resource $transaction_identifier,] string $query )

prototype for ibase_execute() should be changed to:
  mixed ibase_execute ( resource $query, [, mixed $bind_arg [, ...]] )

- Fixed bug #30690: (Resource handle from ibase_execute becomes invalid after return)
- Fixed bug #30907: (ibase_query() crashes (in fact the same bug as #32143)
- Fixed bug #32143: (ibase_query() causing IBserver 7 crash with NULL param as link-id)
- Fixed bug #39056: (Interbase NUMERIC data type error)
- Fixed bug #39397: (invalid statement handle in Unknown on line 0)
- Fixed bug #39700: (NUMERIC error when result precision are 7,8 or 12-14)
- Fixed bug #42284: (duplicate of #39700)
2007-11-08 19:16:27 +00:00
Dmitry Stogov
6c810b0d4c Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:00:48 +00:00
Jani Taskinen
8af7bc2044 MFH: Fix some lib vs $PHP_LIBDIR issues 2007-07-31 13:02:00 +00:00
foobar
7ed3c4536d MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
Antony Dovgal
d042fd0675 MFH: php_gmtime_r() fixes 2007-06-07 08:59:00 +00:00
Antony Dovgal
6a45f716ae fix #40805 (Failure executing function ibase_execute()) 2007-03-15 22:33:04 +00:00
Ilia Alshanetsky
c829314963 malloc() -> pemalloc() 2007-03-12 23:21:41 +00:00
Stanislav Malyshev
7508066230 fix broken snprintf code 2007-03-06 00:24:00 +00:00
Hannes Magnusson
d193017342 Typo 2007-02-28 10:37:07 +00:00
Ilia Alshanetsky
cc04404b28 snprintf() -> slprintf()
# Part 1
2007-02-27 03:04:40 +00:00
Ilia Alshanetsky
9783f5f1f3 strncpy() -> strlcpy() 2007-02-24 18:00:56 +00:00
Marcus Boerger
50ea26760d - Avoid sprintf, even when checked copy'n'paste or changes lead to errors 2007-02-24 02:17:47 +00:00
Antony Dovgal
a4ae84d014 MFH 2007-01-22 09:08:28 +00:00
Antony Dovgal
5f12c71382 MFH 2007-01-18 15:55:09 +00:00
Antony Dovgal
05c11fdfb2 MFH 2007-01-18 15:41:01 +00:00
Antony Dovgal
c592304ac0 MFH: use snprintf() 2007-01-18 15:29:30 +00:00
Ilia Alshanetsky
2df7386475 Update copyright year
# The rest of the files were already updated by Sebastian
2007-01-01 19:32:10 +00:00
Sebastian Bergmann
4223aa4d5e MFH: Bump year. 2007-01-01 09:36:18 +00:00
Ilia Alshanetsky
7efb0a14f4 Use safe_emalloc() 2006-12-25 21:41:04 +00:00
Antony Dovgal
3fd433c07d MFH 2006-12-25 20:53:50 +00:00
Ilia Alshanetsky
c69555b948 Thread safety fixes. 2006-11-30 16:21:24 +00:00
Dmitry Stogov
1dbaae2795 Added automatic module globals management 2006-06-15 18:33:09 +00:00
foobar
5bd93221a8 bump year and license version 2006-01-01 12:51:34 +00:00
Marcus Boerger
d05c2a40d8 - MFH Revert accidential 'drop in' from 1.227 2005-12-11 12:47:46 +00:00
foobar
3e669bc950 MFH: nuke php3 legacy 2005-12-06 02:28:41 +00:00
foobar
a3af52c11e MFH: list_entry -> zend_rsrc_list_entry 2005-12-05 23:38:04 +00:00
Antony Dovgal
81b8096ea8 MFH: fix #34855 (ibase_service_attach() segfault on AMD64) 2005-10-13 12:58:48 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
foobar
626253940e - Added PHP_INSTALL_HEADERS() macro
- Fixed several VPATH build issues
- Changed all awk calls to use $AWK
- Changed all mkdir calls to use "$php_shtool mkdir"
2005-05-07 02:51:53 +00:00
Ard Biesheuvel
f21ab2f60f Fixed bug #31597: ibase_connect() - incorrect warning 2005-02-23 20:20:25 +00:00
Ard Biesheuvel
bb5ce07f8c Fixed return value of ibase_execute() 2004-11-10 11:21:50 +00:00
Ard Biesheuvel
1b4e0b81e3 Don't copy ini items to module globals
(fixed unregistered bug with mangled default_db setting)
2004-07-06 13:46:19 +00:00
Ilia Alshanetsky
d5fc8152f3 Eliminate potentially dangerous alloca(). 2004-07-04 17:13:58 +00:00
Ard Biesheuvel
81dbc2fcef Fixed Ilia's alloca() issue/exploit
Removed pointless RINIT()
Use macros for consistent resource type names
2004-06-30 10:55:03 +00:00
Ard Biesheuvel
16e2d61435 MFB Fixed bug #28897 (-1 returned as -0.000 for 64-bit scaled int) 2004-06-28 11:27:05 +00:00
Ard Biesheuvel
c84c5640e7 Revert 2004-06-12 20:52:07 +00:00
Ard Biesheuvel
39a690321a Added export macros 2004-06-12 02:49:47 +00:00
Ard Biesheuvel
4ea43fe019 ... back from the dead 2004-06-08 10:04:09 +00:00
Ard Biesheuvel
9579de34d7 Added support for date/time types
Added support for compiling/executing PHP code stored in the database
Added support for TSRM
2004-06-05 10:03:42 +00:00
Ard Biesheuvel
a37ffd814d Added support for scaled integers 2004-06-04 14:26:33 +00:00
Ard Biesheuvel
f1a4a14ccb Added support for arbitrary input types
Added support for NULL input/output values
2004-06-04 13:33:56 +00:00
Ard Biesheuvel
f4777d14e3 Let DB handle type coercion instead of PHP 2004-06-03 23:18:36 +00:00
Ard Biesheuvel
0223de2c39 Added support for other return types besides VARCHAR 2004-06-03 15:31:17 +00:00
Ard Biesheuvel
38030dac08 Fixed blob ID format 2004-06-03 12:00:23 +00:00
Ard Biesheuvel
bf4af0f4ca Ton of fixes 2004-06-02 21:43:31 +00:00
Ard Biesheuvel
86aecbbe31 Initial revision of PHP/Interbase UDF lib
# This will allow users running the embedded engine
# to call PHP functions from inside their SQL statements
2004-06-02 21:15:27 +00:00
Ard Biesheuvel
39edbe5192 Don't be too strict if the number of binding arguments provided exceeds the expected number 2004-06-01 23:31:43 +00:00
Ard Biesheuvel
b027552ca3 Removed debugging code 2004-06-01 17:14:47 +00:00
Ard Biesheuvel
ff3a363d7a Use constant IBASE_CREATE instead of just 0 2004-06-01 08:38:33 +00:00
Ard Biesheuvel
3be22062fa Fix typo in error message 2004-05-31 13:43:06 +00:00
Ard Biesheuvel
e9125d6338 Improved handling of 'CREATE DATABASE ...' by ibase_query()
Improved param handling of ibase_query() and ibase_execute()
2004-05-31 13:40:25 +00:00
Ard Biesheuvel
fda04a0ed3 Restrict 'CREATE DATABASE' in sql safe mode 2004-05-30 20:40:36 +00:00
Ard Biesheuvel
17da85ba9b Fix Win32 build
Added missing 'break'
2004-05-30 20:24:46 +00:00
Ard Biesheuvel
18fa78842d Fix unregistered bug (segfault on uninitialised pointer)
Return string("0 ") from ibase_query() if query succeeded but did not affect any rows
2004-05-30 17:51:19 +00:00
Ard Biesheuvel
f7ce70672c Use default character set in generated test DB 2004-05-30 16:59:43 +00:00
Ard Biesheuvel
bd2ddd9fae Fix HTML/table layout in info() entry 2004-05-30 16:41:28 +00:00
Ard Biesheuvel
56ca01da1f Removed ibase_timefmt() - use ini_set() instead
Improved phpinfo() appearance
2004-05-30 16:20:25 +00:00
Ard Biesheuvel
5f53ee1537 Changed default date format to ISO
Enable sync flag in connect()
2004-05-28 23:39:33 +00:00
Ard Biesheuvel
850c6a27f6 Fix commit/rollback of multi-link transactions
Some CS
2004-05-28 20:11:34 +00:00
Ard Biesheuvel
8b1fca9e3a Use dummy status vector in ibase_connect()
Added fbird_ aliases for all ibase_ functions
# See comment in code for more info
# Please let me know if there are any namespace issues involved
2004-05-22 18:50:58 +00:00