Commit Graph

399 Commits

Author SHA1 Message Date
Yiduo (David) Wang
95da0dc570 Added macros for managing zval refcounts and is_ref statuses 2007-10-07 05:15:07 +00:00
Dmitry Stogov
8146078f7b Improved memory usage by movig constants to read only memory. (Dmitry, Pierre) 2007-09-27 18:28:44 +00:00
foobar
f0f44a3652 - Fix some configure --help texts 2007-07-03 17:24:39 +00:00
Antony Dovgal
f1f0deae4c php_localtime_r() checks 2007-06-07 09:07:12 +00:00
Ilia Alshanetsky
3821f0c45a MFB 2007-05-28 23:33:13 +00:00
Ilia Alshanetsky
de573ba7ff MFB 2007-05-28 23:14:57 +00:00
Sascha Schumann
a0e56cb852 - fix vpath build 2007-04-19 06:42:57 +00:00
Antony Dovgal
6dd26de0c9 more magic number fixes 2007-01-03 20:49:27 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
59b437aff8 MFB: Added empty string checks 2006-12-24 20:50:21 +00:00
Hannes Magnusson
0bd543a6f2 Fix build 2006-12-10 15:43:13 +00:00
Pierre Joye
26c54d4c42 - build fix the other driver as well (a macro would be nicer) 2006-12-10 03:12:11 +00:00
Ilia Alshanetsky
8efa38df0b zts fixes 2006-11-30 16:38:53 +00:00
Hannes Magnusson
176b72284c Error message clean up
(patch by Matt W (php_lists -AT- realpain.com))
2006-10-08 13:34:24 +00:00
Sara Golemon
9432c96dc6 Update SQLITE2 (non-PDO parts at least) for PHP6/Unicode
Change default build of bundled libsqlite to utf8 mode
iso-8859 mode is still available using --disable-sqlite-utf8
2006-10-07 17:49:30 +00:00
Dmitry Stogov
128548a5c0 Disabled autoconversion of hash keys (from string to unicode) for PHP arrays 2006-09-19 10:38:31 +00:00
Ilia Alshanetsky
1ed7d584c6 MFB: Added missing validation checks around expand_filepath() 2006-09-16 18:23:05 +00:00
Antony Dovgal
9d29a1b26d add new test 2006-09-10 19:42:04 +00:00
Antony Dovgal
41a6d22dd7 fix #38759 (PDO sqlite2 empty query causes segfault) 2006-09-09 10:58:39 +00:00
Antony Dovgal
dbe2092313 implement zend_unicode_to_string() and zend_string_to_unicode()
part #2 (of 2)
2006-08-08 16:59:11 +00:00
Antony Dovgal
3d0e1456e4 fix test 2006-06-20 19:12:12 +00:00
Ilia Alshanetsky
8a5127ffb5 MFB: E_ERROR -> E_RECOVERABLE_ERROR 2006-06-14 16:04:47 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Marcus Boerger
6c0c9f098f - Methods have flags 2006-05-09 22:12:50 +00:00
Ilia Alshanetsky
a2ea7081e0 MFB51: Fixed bug #29476 (sqlite_fetch_column_types() locks the database
forever).
2006-04-18 14:30:33 +00:00
Antony Dovgal
0574532ee4 fix compile failure 2006-04-15 15:55:32 +00:00
Antony Dovgal
6a53a49c8b MF51: fix bug #36898 (__set() leaks in classes extending internal ones)
Added:
ZEND_API void zend_object_std_init(zend_object *object, zend_class_entry *ce TSRMLS_DC)
ZEND_API void zend_object_std_dtor(zend_object *object TSRMLS_DC)
2006-03-29 15:08:52 +00:00
Dmitry Stogov
c366cc6d1a Nuke int32_t (everywhere except streams layer) and signed/unsigned warnings 2006-03-02 13:12:45 +00:00
Dmitry Stogov
0f1209ab3d Portable unicode string API:
- use the same type (int) for zval.value.usr.len and zval.value.str.len
  - use union "zstr" as char*/UChar* mixture instead of void*
  - Z_UNISTR() and Z_UNILEN() no longer check for Z_TYPE()
  - nuke int32_t from ZE (not finisned)
2006-02-21 20:12:43 +00:00
Andi Gutmans
e94e25e621 Start nuking safe_mode. Still a lot of work to do... 2006-02-19 00:55:22 +00:00
Marcus Boerger
d87927c388 - Fix iterator handling (how did the fix after api change get lost here?)
- In php 5 we do not want to return &new
2006-02-16 01:12:51 +00:00
Dmitry Stogov
09ca61c125 Made server wide switch for unicode on/off (according to PDM). 2006-02-13 10:23:59 +00:00
Dmitry Stogov
227295a4f1 Unicode stuff is changed according to decision maden on PDM.
Now IS_BINRAY data type is removed and IS_STRING starts behave as IS_BINARY in unicode mode. IS_STRING is incompatible with IS_UNICODE, so ALL functions should be improved to support unicode mode.
2006-01-17 12:18:53 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
Ilia Alshanetsky
41ef7fb555 MFB51: Don't lose track of exec() errors in pdo_sqlite2 2005-12-21 16:23:32 +00:00
Antony Dovgal
632e571642 MFB: add missing skipif conditions, fix existing ones
add one missing test
2005-12-21 11:43:24 +00:00
Ilia Alshanetsky
d508cfee49 MFB51:
Updated libsqlite in ext/sqlite to 2.8.17.
Use in-memory database for tests.
2005-12-20 15:26:45 +00:00
Antony Dovgal
a63b1bfd0c MFB: int -> long 2005-12-17 16:08:08 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
foobar
34ad5ab731 - list_entry -> zend_rsrc_list_entry 2005-12-05 23:31:09 +00:00
Brian France
5e81ec643f Wrap the php_session.h include in the same ifdef as the rest of the
session code.
2005-12-05 20:41:57 +00:00
Ilia Alshanetsky
f631fdef4c MFB51: Regen files so they work properly with gcov. 2005-12-04 17:25:26 +00:00
foobar
04dffec1c4 - Use right define: ZEND_MODULE_API_NO as these are PHP modules, not Zend extensions 2005-11-25 15:40:14 +00:00
Ilia Alshanetsky
f5608e0798 MFB51: Fixed bug #35248 (sqlite_query() doesnt set error_msg when return
value is being used).
2005-11-17 14:40:11 +00:00
Antony Dovgal
e658842761 fix #35197 (Destructor is not called) and similar issues in other extensions 2005-11-14 21:52:27 +00:00
Ilia Alshanetsky
090ef86983 Do not set authorizer unless safe_mode or open_basedir are being used. 2005-10-18 22:50:43 +00:00
Antony Dovgal
f1272dee51 nuke unused var and silence warnings 2005-10-18 14:50:20 +00:00
Ilia Alshanetsky
8f6a90297a MFB51: Fixed bug #34899 (Fixed sqlite extension compile failure). 2005-10-18 14:34:00 +00:00
Ilia Alshanetsky
ee5282ad63 Fixed bug #34884 (Possible crash in ext/sqlite when sqlite.assoc_case is
being used).
2005-10-17 14:29:20 +00:00
foobar
0465f487a4 - Silence unnecessary output 2005-10-16 20:41:02 +00:00