Commit Graph

11978 Commits

Author SHA1 Message Date
John Coggeshall
6b567f80c7 Completely re-wrote the ZE2 OO stuff to do it the proper way. It is not
considerably more stable, cleaner, and looks as if it works well :) This
probably is going to break any scripts which used it before, but oh well.
2003-09-22 17:06:45 +00:00
Hartmut Holzgraefe
55d9ec0f6f proto thiko fix 2003-09-22 06:54:29 +00:00
Ilia Alshanetsky
e2caa6eaf9 String formatting stuff. 2003-09-22 04:18:24 +00:00
John Coggeshall
a7b75e2054 Complete refactoring of the OO support in tidy. Although currently
incomplete, it is a good start.
2003-09-22 00:12:54 +00:00
Ilia Alshanetsky
5927b50869 Fix ZTS build. 2003-09-21 20:24:39 +00:00
Ilia Alshanetsky
d14df17390 Added a note & fix for a memory leak in libtidy.
This will be removed once the libtidy developers release a patched version
of their library (or we start bundling the patched version).
2003-09-21 20:21:39 +00:00
Marcus Boerger
36655400cb - return correct hash constants
- check for 'memory' in sqlite_factory() too (noticed by John Coggeshal)
2003-09-21 19:36:40 +00:00
Ilia Alshanetsky
4f6874b3ff Added tidy_repair_string() & tidy_repair_file() that allow for quick repair
of files & strings.
Modified tidy_parse_file() to accept include_path parameter.
Fixed a few bugs that may have allowed configurations directives loaded via
a file to carry over across requests.
2003-09-21 19:22:19 +00:00
Wez Furlong
ad93053ec4 Merge remaining code from 4.3 to fix #22238 in HEAD. 2003-09-21 18:02:08 +00:00
Uwe Steinmann
eea84f787b - fixed typo in error message 2003-09-21 13:17:20 +00:00
Sascha Schumann
394d3b82b0 Alias session_commit to session_write_close, a more intuitive name
for the functionality.
2003-09-21 11:53:12 +00:00
Ilia Alshanetsky
4cd101abed Tidy Hijacked! Read all about it ;)
* No more tidy resources, it's now persistent and internal. This helps speed
  quite a bit, since the tidy resource only needs to be initialized once.
* Replace common code with macros.
* Added necessary safe_mode & open_basedir checks when working with files.
* Added ini option to allow loading of config file on startup.
* Show current configuration in phpinfo();
* Coding Style Cleanup
* Added tidy_get_config(), returns an associated array with all configuration
  values.
* Added tidy_reset_config(), it restores tidy configuration to default values.
* Fixed a possible crash inside tidy_setopt().
* Added myself to the credits.

More changes to follow.
2003-09-20 19:45:32 +00:00
Sascha Schumann
36ac7a5bb0 MFB Avoid zero-length keys which result in a spinning process 2003-09-20 16:10:49 +00:00
Marcus Boerger
0266efb8b5 Add public array Reflection_Class::getDefaultProperties() 2003-09-20 14:22:48 +00:00
Marcus Boerger
6433226749 Explicit cwqasting is now necessary 2003-09-20 12:51:20 +00:00
Ilia Alshanetsky
0917a7f62f Fixed bug #25583 (Incorrect handling of paths starting with / on win32
inside glob() function).
2003-09-20 02:51:20 +00:00
Ilia Alshanetsky
ace85c9015 MFB: Add myself to credits 2003-09-19 12:24:51 +00:00
Sara Golemon
0a3bc21c5c Manageability 2003-09-18 17:51:55 +00:00
Sara Golemon
c553af47e0 Add ftp_alloc() for servers which require client to predeclare filesize to be sent. 2003-09-18 17:36:08 +00:00
Marcus Boerger
cd021cfb3a Go with studlyCaps 2003-09-18 16:26:29 +00:00
Marcus Boerger
5b3bb16530 Go with studlyCaps 2003-09-18 12:09:55 +00:00
Marcus Boerger
f8a376fe8e Change tostring() into __toString() to match method name used in casting. 2003-09-18 11:55:57 +00:00
Ilia Alshanetsky
a7f2ec3cdb Fixed compile warnings. HAVE_ defines cannot work without the header that
defines them.
2003-09-17 05:42:57 +00:00
Ard Biesheuvel
0cce471b0a Link to fbclient.dll if available
Add client lib name to dll version info
2003-09-17 01:25:08 +00:00
Ard Biesheuvel
b9a208d821 Use isc_get_version() for client lib info if available 2003-09-16 20:28:27 +00:00
Hartmut Holzgraefe
92b237f4c3 proto fix 2003-09-16 19:45:22 +00:00
Marcus Boerger
d2088841a4 - Make it clear whether it is an interface or a class
- Fix static properties
2003-09-16 19:31:45 +00:00
Ard Biesheuvel
be16d129c5 Check for Firebird libfbclient.so first 2003-09-16 19:25:11 +00:00
Ilia Alshanetsky
b871ebd8dc Fixed bug #25106 (Added more stringent checks on bzopen() mode).
In some cases bz2 may fail to open the file, but stream wrappers will still
create an empty file, remove this file.
Change virtual_filepath to virtual_filepath_ex, which allows BZ2_bzfopen()
to work without having to resort to stream wrappers.
2003-09-15 23:49:32 +00:00
Rob Richards
7c33d55961 validate encoding against valid handlers 2003-09-15 12:29:52 +00:00
Hartmut Holzgraefe
3988db4af1 proto descriptions 2003-09-15 09:25:18 +00:00
Moriyoshi Koizumi
676755da54 FREETYPE_PATCH is not always defined.
# will likely fix Sebastian's build :)
2003-09-15 07:27:18 +00:00
Ilia Alshanetsky
67a070c151 Fixed bug #25530 (checkdate incorrectly handles floats) 2003-09-15 00:07:51 +00:00
John Coggeshall
ce38ec2b25 Moved things around and added some #ifdefs so that the extension can be used
in PHP 4 (without the ZE2 tree parsing).
2003-09-14 00:45:51 +00:00
Sara Golemon
94ff3d5e7d Fix Bug #25525 ldap_explode_dn crashes when passed invalid params. 2003-09-13 17:31:07 +00:00
Marcus Boerger
2a68d3c19e Make use of dedicated macro 2003-09-13 10:31:06 +00:00
Ard Biesheuvel
95b0fc58f7 Pointer size fix 2003-09-12 21:02:43 +00:00
Marcus Boerger
7fac56c593 - Change email
- Fix warnings
2003-09-12 13:31:23 +00:00
foobar
df8809650c - Fixed bug #25504 (pcre_match_all() crashes when passed only 2 parameters) 2003-09-12 01:31:54 +00:00
foobar
c77c0269ea - Fixed bug #25483 (ext/informix: bogus -469 error from ifx_query()) 2003-09-11 23:49:26 +00:00
Ard Biesheuvel
7ff3a3e4a3 Add client library info to phpinfo() function
Small inter-op fix for IB6
2003-09-11 23:08:48 +00:00
Jay Smith
6c6fd76bac Fixed bug #25494 (array_merge allowing "false" as argument (silent when
non-array is passed))
# 4.3 throws E_NOTICEs, 5 errors out on non-array args as per Ilia's
# suggestion.
2003-09-11 17:40:18 +00:00
foobar
554cee42af - Fixed bug #25463 (ext/cpdf: compile failure with bundled GD) 2003-09-11 15:25:45 +00:00
Ard Biesheuvel
c5b69dcb14 Changed unsigned ISC_LONG to ISC_LONG
# Build fix for FB 1.5
2003-09-11 08:50:30 +00:00
Ilia Alshanetsky
f3f3b772b2 Cleanup r1.76 patch 2003-09-11 04:46:10 +00:00
Hartmut Holzgraefe
1c30f5bcf0 check for FDFErcNoValue was in the wrong execution path,
should always be treated as 'no error' (should finally fix #22803)
2003-09-11 00:47:32 +00:00
Ilia Alshanetsky
dfe3f32ec6 Cleanup previous patch. 2003-09-10 01:07:01 +00:00
Ilia Alshanetsky
29e829fdcf Fixed bug #14049 (realpath() w/ZTS returns invalid results for non-existent
paths)
2003-09-10 00:22:10 +00:00
Melvyn Sopacua
50947cb155 MFB: Fix US/Eastern vs. America/New_York style tzset implementations. 2003-09-09 21:56:33 +00:00
Sara Golemon
4e6672eadd Fix Bug #25294 LIST/NLST can cause segfault because ftp->data not cleaned properly 2003-09-09 21:12:49 +00:00
foobar
5e40faa1d6 - Fixed bug #25211 (image.c compile failure with AIX) 2003-09-09 19:25:55 +00:00
Moriyoshi Koizumi
36e89f6deb Add an phpinfo entry showing which version of freetype is linked to gd. 2003-09-09 19:08:30 +00:00
Sara Golemon
4936234fd8 MFB(r-1.74.2.13) Bug #25314 ASCII mode transfers behaving like binary when initiated from windows. 2003-09-08 22:40:12 +00:00
foobar
8345cff1ff Revert the JIS addition, it did not fix anything 2003-09-08 22:19:39 +00:00
Moriyoshi Koizumi
303fc609a6 Fix build in VC++7.
# The line didn't reflect the above comment, helly :)
2003-09-08 20:59:36 +00:00
Ilia Alshanetsky
80fb9496b3 Re-enable sendmail binary check, now with parameter detection. 2003-09-08 20:15:35 +00:00
Rob Richards
315bf401ba move some document properties internally
add xpath namespace support (by Shane)
2003-09-08 18:28:35 +00:00
foobar
62d7073a8b - Fixed bug #25424 (ext/informix: lvarchar not supported in win32 build) 2003-09-08 15:07:21 +00:00
foobar
8fe843b9ac MFB: - Added JISX0208=1 and USE_GD_JISX0208 defines 2003-09-08 13:35:14 +00:00
Marc Boeren
b135205d05 Fix warning and converted dos-crlf to unix line-endings. 2003-09-08 07:19:08 +00:00
Ard Biesheuvel
19f69336e2 Don't include unnecessary headers in other configuration too 2003-09-08 00:41:03 +00:00
Ard Biesheuvel
e9ca738200 Don't include unnecessary headers 2003-09-08 00:32:22 +00:00
Marcus Boerger
93a07f6c68 Allow to search for section FILE with 2nd parameter (found by Derick) 2003-09-07 23:46:33 +00:00
Ard Biesheuvel
366a4b7f94 Zero-terminate strings
Add fileflags for DEBUG build
2003-09-07 20:35:09 +00:00
Ard Biesheuvel
6c0e21fc74 Add version info to Windows DLL 2003-09-07 19:59:55 +00:00
foobar
9539471c60 Fixed ming to work with new OO stuff. Patch by tony2001 at phpclub dot net 2003-09-07 16:11:41 +00:00
Marcus Boerger
c0b9d55cfa ZTS fix 2003-09-07 02:37:10 +00:00
foobar
5a7d97fab7 typo + proto fix 2003-09-07 00:00:00 +00:00
Georg Richter
c836bf6036 test for helly's mysqli_fetch_object changes 2003-09-06 19:40:53 +00:00
Marcus Boerger
1ae13e543a Modify mysqli_fetch_object() to be able to instantiate a selected class and
pass parameters to the constructor.
2003-09-06 19:34:48 +00:00
Marcus Boerger
f6239c33bc Modify pg_fetch_object() to be able to instantiate a selected class and pass
parameters to the constructor. Update tests and add a test for these features.
2003-09-06 18:34:55 +00:00
Stefan Roehrich
6206837929 Code cleanup:
Fixed ob_gzhandler with register_long_arrays = On.
Unified compression_coding global var (removed ob_gzip_coding).
Switched to zend_parse_parameters().
Added some tests.
2003-09-06 15:31:35 +00:00
Marcus Boerger
5d1dbdbfd2 Bugfix #25404 2003-09-06 15:30:28 +00:00
Sara Golemon
f9734f810c Add missing proto 2003-09-06 14:56:36 +00:00
Sara Golemon
e6fbb7baf5 http.h php_http,h rename 2003-09-06 14:52:10 +00:00
Marcus Boerger
a986b3f6a4 Add missing newline if no static methods are available 2003-09-06 13:18:12 +00:00
Marcus Boerger
10ea007e39 - Internal functions shall be static
- Fix more nesting
2003-09-06 13:11:27 +00:00
foobar
d00a14339c - Typos, CS, etc.
# Sara, add the missing description to the proto..
2003-09-06 13:07:47 +00:00
Marcus Boerger
35529e1964 Fix logic 2003-09-06 13:02:16 +00:00
foobar
ed32007f58 renamed http.h -> php_http.h 2003-09-06 12:56:02 +00:00
Marcus Boerger
c31fc7771a - Fix CS: {{{ / }}}
- Fix static reflection_*::export()
- Add class reflection_object which allows to show dynamic properties
2003-09-06 12:52:40 +00:00
Marcus Boerger
f5b1114449 Use %s where it makes more sense 2003-09-06 10:59:07 +00:00
Sara Golemon
c0469ceb8d Fix Objects bug. (Objects != Arrays) 2003-09-06 07:34:58 +00:00
Sara Golemon
490e7fd6fd Fix segfault on uninitialized zval, skip NULL/Resource types, fix integer value handling, and process doubles/bools more efficiently. 2003-09-06 06:57:40 +00:00
Sara Golemon
3b63b21f37 Standard Footer 2003-09-06 05:41:48 +00:00
Sara Golemon
79ad5802a5 Prevent Recursion 2003-09-06 05:41:36 +00:00
Sara Golemon
0be65c49d3 Introducing php_url_encode_hash_ex() internal function
and http_build_query() userspace function.
2003-09-06 00:35:21 +00:00
Marcus Boerger
d9d082072c Omitting is also possible here 2003-09-05 20:09:19 +00:00
Marcus Boerger
f05525a0ef WS 2003-09-05 20:05:08 +00:00
Marcus Boerger
14ffad71d6 Fix warnings 2003-09-05 19:27:26 +00:00
Ard Biesheuvel
193f5a67db Add missing CVS Ids 2003-09-05 17:02:02 +00:00
Marcus Boerger
79a507e4eb Simplify reflection_property::__constructor() and fix property factory 2003-09-05 14:48:55 +00:00
foobar
821f517f63 - Simple test for ming 2003-09-05 14:46:38 +00:00
Marcus Boerger
9a39cd5501 - Don't use resorved words as variable names.
- Improve several exception messages.
- Fix Reflection_Property::_construct() / getDeclaringClass()
# The above does not imply that properties are fixed when returned
# by other reflection api methods.
2003-09-05 14:35:31 +00:00
Ard Biesheuvel
2815169319 Be more relaxed about dimensions of array arguments 2003-09-05 14:21:25 +00:00
Ard Biesheuvel
c9d082ef21 Test array handling 2003-09-05 13:08:41 +00:00
Ard Biesheuvel
2802293dd3 Make the test fail if anything goes wrong :-)
Some CS
2003-09-05 12:18:03 +00:00
Marcus Boerger
34990374e1 Fix reflection_api::__construct() (noticed by Andrey) 2003-09-05 12:14:03 +00:00
Marc Boeren
e3929cc33a Added DBX_RESULT_UNBUFFERED flag for dbx_query.
Added dbx_fetch_row() function.
Added/updated tests for both.
@Added DBX_RESULT_UNBUFFERED flag for dbx_query. (Marc)
@Added dbx_fetch_row() function. (Marc)
2003-09-05 08:39:26 +00:00
Ard Biesheuvel
e73be1cb4a Added support for binding arrays 2003-09-04 22:37:14 +00:00
Marcus Boerger
95649ab260 Tests show updating consts must happen once at runtime (revert optimization).
Add tests for static properties.
2003-09-04 16:00:01 +00:00
Marcus Boerger
4e7a782f3a Add reflection_class::getstaticproerties() 2003-09-04 15:57:25 +00:00
Marcus Boerger
421e2e9275 Go with the mess 2003-09-04 14:54:53 +00:00
Marcus Boerger
0f91d8a4f6 Go with stdlyCaps 2003-09-04 14:44:55 +00:00
Ard Biesheuvel
f4511d4aae Don't rely on sizeof(int) == 4 2003-09-04 14:44:34 +00:00
Ard Biesheuvel
cb8da7b090 Fix inter-op with IB < 6
Fixes for 64-bit archs
2003-09-04 14:18:39 +00:00
Ard Biesheuvel
6f998688b5 Fixed fetching of arrays
# Untested for multidimensional arrays
2003-09-04 11:09:46 +00:00
Jon Parise
da7facc21b Register the TYPEMODEL constant from c-client's mail.h. 2003-09-04 07:47:58 +00:00
Ard Biesheuvel
912a834749 No scaling for double type
Added missing array types
Precompute scale factors
2003-09-04 01:26:36 +00:00
Sebastian Bergmann
afdecc374d ZTS fix. 2003-09-03 18:13:11 +00:00
Ard Biesheuvel
4ff5341fb0 WS 2003-09-03 17:15:40 +00:00
foobar
af06d049cf test for bug #25378 2003-09-03 16:40:52 +00:00
foobar
7d57f9eddf sync 2003-09-03 16:24:24 +00:00
foobar
ba6c58ad73 - Fixed bug #25378 (Invalid data passed to unserialize() causes segfault) 2003-09-03 16:24:15 +00:00
Ard Biesheuvel
804312c4a1 Test correct binding of 16-bit NUMERIC parameters 2003-09-03 15:24:50 +00:00
Ard Biesheuvel
b3b68834b5 Fix binding of 16-bit NUMERIC parameters 2003-09-03 15:15:30 +00:00
foobar
acd8096d53 - Fixed bug #25372 (sscanf() does not work with %X) 2003-09-03 11:54:35 +00:00
Rob Richards
fd5758781c changes to php_dom.h for last commit
replaced removed closing tags - doh
2003-09-03 10:48:02 +00:00
Rob Richards
5630dd0be2 add document HTML load/save methods
add document standalone validate method
cleanup some prototype declarations
domexception inherits from default exception
2003-09-03 10:11:53 +00:00
Marcus Boerger
2f6e25da79 Clearly distinguish between Const, Static and Other members.
# Const and static props have more in common then static and dynamic/implicit.
2003-09-03 00:38:13 +00:00
Ard Biesheuvel
d674159601 Nuke far pointers
# Unfortunately, this does break compatibility with Windows 3.x :-)
2003-09-02 22:37:26 +00:00
Ard Biesheuvel
f19dcfe8a3 CS fixes
# Boy, these guys are worse than -ansi -pedantic
2003-09-02 22:19:18 +00:00
Ard Biesheuvel
4545ea4666 Make ibase_{param|field}_info() return typenames that actually mean something 2003-09-02 19:30:20 +00:00
Marcus Boerger
560d3ab36a Use appropriate function for property name unmangling.
# Make Andrey happy
2003-09-02 14:46:02 +00:00
Marcus Boerger
7148cb9e73 Make these static as noticed by Andrey 2003-09-02 14:11:53 +00:00
Ard Biesheuvel
3d6426ee14 Fix use of EXTERN_C macros 2003-09-02 13:34:23 +00:00
Ard Biesheuvel
0f1b506f20 Can't ignore variadic DEBUG macro for compilers
that don't support them. Revert.
2003-09-02 13:17:56 +00:00
Marcus Boerger
bd86aff005 These are implicit properties as denoted by the flag. Dynamic properties only
exist in one single object and currently reflection api is not capable of
showing those.
2003-09-02 13:12:47 +00:00
Ard Biesheuvel
dbdd5b415d Changed some formatting/macro/debugging/variadic stuff 2003-09-02 12:46:42 +00:00
foobar
62d2810cfc - Fixed bug #25343 (is_dir() gives warning on FreeBSD). 2003-09-02 01:22:02 +00:00
Sara Golemon
29664d9322 MFB: Plug leak when invalid domain name provided. 2003-09-01 22:38:40 +00:00
Marcus Boerger
bca0019d43 Fix initial buffer size 2003-09-01 21:14:09 +00:00
Marcus Boerger
2b19c5435e Fix class handling of invoke 2003-09-01 21:11:38 +00:00
Marcus Boerger
bef3e13caf Add missing '}' 2003-09-01 19:47:34 +00:00
Marcus Boerger
cbd08869f2 Add static reflector::export() and its implementations.
#
# This makes the main reflection use a lot easier.
#
2003-09-01 16:13:24 +00:00
Marcus Boerger
a389286b99 Set the params in the struct 2003-09-01 15:09:57 +00:00
Stanislav Malyshev
90f7a474ac The sendmail_path executable check breaks setups that use parameters
for sendmail - including the default setup - so I'm disabling it for now.
2003-09-01 08:20:17 +00:00
Ilia Alshanetsky
07f864d06b Make sure that ftp->data is nulled after it's freed. This may fix bug
#25294 & bug #25296.
2003-08-31 21:07:01 +00:00
Ilia Alshanetsky
9c82b1fa75 Fixed compiler warnings. 2003-08-31 20:45:51 +00:00
foobar
c952ea0bb3 - Fix win32 debug build 2003-08-31 16:28:19 +00:00
foobar
46e47ec0db - Fix the win32 build.
# mbregex is still not build, that onigurama stuff didn't compile
2003-08-31 16:08:46 +00:00
Marcus Boerger
4506d4ea24 Don't repeat first const count(consts) time 2003-08-31 15:47:48 +00:00
Marcus Boerger
660c14e74a Beautify output 2003-08-31 15:30:13 +00:00
Marcus Boerger
4af0621036 Add reflection_parameters, patch by Timm Friebe 2003-08-31 15:06:54 +00:00
Marcus Boerger
47d1e8ac77 Fix formatting specifier 2003-08-31 14:38:25 +00:00
Marcus Boerger
733e90bf0a No dots at the end of error messages 2003-08-31 14:35:10 +00:00
Marcus Boerger
2a744ccb90 Fix format specifiers 2003-08-31 14:33:17 +00:00
Zeev Suraski
8767205afa Fix Win32 linkage problems 2003-08-31 12:41:53 +00:00
Marcus Boerger
8376b7eff7 Check whether we may access tat union 2003-08-31 11:21:30 +00:00
Marcus Boerger
63dacec1d4 Revert commit by accident, sorry 2003-08-31 11:03:05 +00:00
Marcus Boerger
d15ad4609d Revisited: Replace the non portable code by spprintf 2003-08-31 10:52:23 +00:00
Marcus Boerger
ade319ac54 Using zend_spprintf should be faster here 2003-08-31 10:06:13 +00:00
Sergey Kartashoff
c4b0b8c262 - a new UDM_PARAM_SEARCH_RESULTS mnogosearch API command added to limit
maximum number of search results
2003-08-31 07:00:29 +00:00
Marcus Boerger
f1c92fa4c5 - Calling abstract methods should be a error for consistency reason.
- So in reflection_api we use the reflection_exception again.
2003-08-30 23:51:42 +00:00
foobar
c803e4643d No need to enable by default. Derick got confused. :) 2003-08-30 22:09:27 +00:00
foobar
4d788fc1e2 libmbfl is required always 2003-08-30 21:57:29 +00:00
foobar
c57ecb0e9a ws 2003-08-30 21:32:10 +00:00
Marcus Boerger
6c69b28790 fci.function_table & fci.function_name are not needed since we use zend_fcall_info_cache 2003-08-30 13:47:27 +00:00
Marcus Boerger
e679504861 Be precise 2003-08-30 13:38:23 +00:00
Marcus Boerger
49a538d054 Actually using fcc would be a good idea 2003-08-30 12:58:35 +00:00
foobar
49ff8e7866 Add note about version requirement 2003-08-30 11:01:25 +00:00
foobar
97b151ee3e Added version checking and --with-openssl-dir option 2003-08-30 10:57:42 +00:00
Sascha Schumann
e090d2ddb9 Never overwrite .c files when re2c does not exist. 2003-08-30 07:27:05 +00:00
Marcus Boerger
c3f7ea3510 Fix property inheritance by using dedicated new function 2003-08-29 23:30:03 +00:00
Marcus Boerger
50040c8ae9 - Use zend_fcall_info_cache in invoke() to improve speed.
# This also fixes the problem with calling static methods.
2003-08-29 21:46:12 +00:00
Marcus Boerger
0cb983885d Throw exception if user wants to pass arguments to an non existing constructor 2003-08-29 21:33:24 +00:00
Marcus Boerger
adaf6429a7 Throw exception if user wants to pass arguments to an non existing constructor 2003-08-29 21:32:25 +00:00
Marcus Boerger
eb8d89c363 Allow to pass arguments to the constructor 2003-08-29 21:13:50 +00:00
Sergey Kartashoff
1795915b32 - A mnogosearch extension is updated to work with mnogosearch-3.2.15+ 2003-08-29 13:35:26 +00:00
Sascha Schumann
a3c89a2e8f Fix a segfault which occured when using a storage format not capable
of expressing references (e.g. WDDX) and deserializing a session variable
whose name conflicted with an existing symbol in the global scope.

PR: #25307
Submitted by: Jani Taskinen
Speling fixes: me
2003-08-29 12:33:47 +00:00
foobar
a256170d66 - skip with CLI 2003-08-29 09:09:18 +00:00
Sascha Schumann
5b09f342fe improve format string 2003-08-29 07:34:47 +00:00
foobar
192666b184 MFB 2003-08-29 00:53:46 +00:00
Marcus Boerger
b75133c0c6 Need to check if we got any value before destroying it 2003-08-28 23:36:46 +00:00
Marcus Boerger
257223bdcc Match expected class and instantiated class 2003-08-28 23:30:16 +00:00
Marcus Boerger
90561350f9 Add sqlite_fetch_object() 2003-08-28 23:19:51 +00:00
Marcus Boerger
07789ebd0e Error messages show the class now 2003-08-28 23:18:38 +00:00
Marcus Boerger
d2f39fc11e format string fix and number of arguments 2003-08-28 23:04:27 +00:00
Ard Biesheuvel
6ee5a0db28 Prototype fixes
Return number of affected rows by ibase_query() and ibase_execute() if > 0
# Second change was actually introduced in 1.149, but never
# mentioned in the CVS log
2003-08-28 22:12:06 +00:00
Andrey Hristov
189e2d8862 this is the right parameter 2003-08-28 21:06:44 +00:00
Andrey Hristov
b2eb454171 format string fixes 2003-08-28 21:00:24 +00:00
Andrey Hristov
acb65b7c0a misplaced quote 2003-08-28 20:51:18 +00:00
Andrey Hristov
20383f9080 \n at the end of the message is not needed 2003-08-28 20:43:18 +00:00
Ilia Alshanetsky
9d9727aac5 Fixed compiler warnings. 2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
4f2e9bbc45 Fixed format error. 2003-08-28 17:56:41 +00:00
Sascha Schumann
237da469d7 format string fix 2003-08-28 17:34:33 +00:00
Sascha Schumann
b9a67764d5 Fix error message 2003-08-28 17:09:44 +00:00
Sascha Schumann
436a07176c fix format strings 2003-08-28 16:49:57 +00:00
Ard Biesheuvel
50006652ae Fixed some format strings 2003-08-28 16:48:22 +00:00
foobar
04bbd9a2f7 Revert the patch per Dan\´s request 2003-08-28 16:35:32 +00:00
Sascha Schumann
6a7dde29e7 kill warnings 2003-08-28 16:28:33 +00:00
foobar
2811f9293d MFB 2003-08-28 16:19:08 +00:00
Sascha Schumann
96ad1c8bcb fix format string (long port) 2003-08-28 15:16:20 +00:00
foobar
b26dcef54f MFB 2003-08-28 14:58:02 +00:00
Andrey Hristov
367880b2c1 proto fix 2003-08-28 12:18:51 +00:00
foobar
29b9d26223 typofix 2003-08-28 09:55:11 +00:00
Moriyoshi Koizumi
86e2c16d9c Add further check for "#include MACRO" style syntax 2003-08-28 06:04:48 +00:00
Ilia Alshanetsky
bf82857475 Fixed bug #25109 (Possible crash when fetching field name) 2003-08-28 00:31:36 +00:00
Ilia Alshanetsky
e5879a5060 Fixed tests that failed in ZTS due to incorrect file paths.
Fixed test that failed due to new array dimension property being fetched.
2003-08-28 00:29:44 +00:00
Ard Biesheuvel
c78169086b Test multiple execution of a prepared EXEC PROCEDURE statement 2003-08-28 00:18:27 +00:00
Ard Biesheuvel
36716c2525 Test for BLOB ID survival of close()/connect() 2003-08-28 00:17:25 +00:00
Ard Biesheuvel
fd89b9a783 Removed TSRMLS_FETCH from _php_ibase_module_error() 2003-08-28 00:11:16 +00:00
Ilia Alshanetsky
32b5df0bc7 Prevent abrupt script execution when sendmail_path contains invalid
executable.
Add more detail to the warnings regarding execution of sendmail binary.
2003-08-27 23:53:15 +00:00
Ard Biesheuvel
2db5c7de85 Do not reuse data structure for ibase_execute() results.
Invalidate the results whose statement handle has been invalidated.
# EXEC PROCEDURE results don't need a statement handle, so
# the result doesn't have to be invalidated.
Fixed some add_{index|assoc}_*() bogosity
2003-08-27 22:55:06 +00:00
Marcus Boerger
43836e97c5 Nuke unused variable
# I should have taken Timm's patch
2003-08-27 20:48:41 +00:00
Marcus Boerger
7f5196953c Fix reflection_class::newInstance() 2003-08-27 20:45:34 +00:00
Dan Kalowsky
0347ca91f4 Committing a patch for IBM DB2 BLOB support submitted by Clara Liu
(clara@zealworks.com).
# I haven't had time to completely test this patch, a few users have stated
# that it works well for them and a few others want to test with windows
# builds, hence the submission.
2003-08-27 18:21:52 +00:00
Sara Golemon
3560cd83c0 Squelch warning "Variable may be used uninitialized."
This would never occur anyway because of the logic of the function,
but gcc isn't quite smart enough to realize this.
2003-08-27 00:43:54 +00:00
Ilia Alshanetsky
249e8d5fa8 Fixed bug #22243 (make pg_meta_data fetch array dimentions)
m-lesser[at]better-com.de
2003-08-27 00:04:19 +00:00
foobar
625600af30 - Prevent crash if non-existing save/serializer handler is tried to be used
- Added the registered serializers information to MINFO.
2003-08-26 02:03:41 +00:00
Sara Golemon
a76f0dc8ae Bugfix#25239 Closing control stream while data stream is open violates RFC959 section 2.3 2003-08-25 22:25:33 +00:00
Marcus Boerger
ba4178189b - Fix compile
- Building still not possible
2003-08-25 21:54:26 +00:00
Marcus Boerger
0bd1567fe1 Update exception code 2003-08-25 20:55:14 +00:00
Marcus Boerger
b7d325991d Exceptions work now 2003-08-25 20:54:37 +00:00
foobar
6b7cb7c570 Some minor fixes so that this works with autoconf 2.13 too 2003-08-25 04:08:29 +00:00
Moriyoshi Koizumi
e49c59038c Sync with original 2003-08-25 01:44:17 +00:00
Moriyoshi Koizumi
39ae479942 Allow usage of external libmbfl 2003-08-24 22:46:13 +00:00
Moriyoshi Koizumi
7fe12aaa17 Integrate allocator code into mbstring.c 2003-08-24 22:15:49 +00:00
Moriyoshi Koizumi
ebcdf6f299 Sync with the original 2003-08-24 20:07:13 +00:00
Marcus Boerger
cec053f707 Don't identify alias'ed functions 2003-08-24 16:35:58 +00:00
Marcus Boerger
e44d0f526c Add dedicated reflection_exception 2003-08-24 15:07:54 +00:00
Stefan Roehrich
aa632187cd Fixed bug #25218 ("deflate" compressed pages had a gzip header, which
should only be sent with "gzip" compressed pages).
2003-08-24 13:59:34 +00:00
Stefan Roehrich
8828e17a44 Fixed zlib.output_compression without register_long_vars set. 2003-08-24 13:32:50 +00:00
Marcus Boerger
669603f69d Make invoke() work 2003-08-24 12:07:13 +00:00
Marcus Boerger
96d4ac7a3f zend_parse_parameters 'O' works the way we need here 2003-08-24 11:34:01 +00:00
Marcus Boerger
418a7f980c Not needed 2003-08-24 11:28:53 +00:00
Marcus Boerger
bd07968bef - Add Reflection_Function::isAlias
- Use ZEND_ME/ZEND_METHOD
- Fix static entries
2003-08-24 11:11:55 +00:00
Rob Richards
b196c0551e implement stricterrorcheck
fix clonenode
cleanup error routines
forgot these files
2003-08-24 10:24:22 +00:00
Rob Richards
09481c642b implement stricterrorcheck
fix clonenode
cleanup error routines
2003-08-24 10:23:43 +00:00
Rob Richards
ea1b33438a remove document pointer references as doc is now copied 2003-08-24 10:18:08 +00:00
Marcus Boerger
c3d60fd7ff Allow zend_throw_exception() to also set the exception code 2003-08-23 19:48:52 +00:00
Marcus Boerger
5e77dc44dc Show ctor/dtor information and those don't return anything 2003-08-23 15:47:23 +00:00
Rui Hirokawa
6b92fbdef9 revert previous patch. 2003-08-23 10:04:43 +00:00
Rui Hirokawa
d2f002eed9 changed for ZTS mode. 2003-08-23 08:59:47 +00:00
Rui Hirokawa
697ce0776f revert my patch. 2003-08-23 08:27:46 +00:00
Rui Hirokawa
c8b525859d strcasecmp macro moved to mbfl_compat.h. 2003-08-23 08:26:46 +00:00
Rui Hirokawa
e4f5e1da6d remove unnessesary files. 2003-08-23 06:51:16 +00:00
Rui Hirokawa
48d8c3fba7 removed mbstring/*/config.h. 2003-08-23 06:27:06 +00:00
Rui Hirokawa
a05608dd7b added .cvsignore and README. 2003-08-23 06:20:59 +00:00
Rui Hirokawa
5a80df26f3 @mbfilter is changed to bundled version of libmbfl to prevent LGPL licence problem. mbregex is changed to oniguruma. 2003-08-23 06:18:44 +00:00
Wez Furlong
21329c5e0c allow building without libxml2 under win32 2003-08-22 15:04:29 +00:00
Marcus Boerger
0e32aaa8c6 Add function 'zend_throw_exception(char *message, int duplicate TSRMLS_DC);'
to provide an easy way to throw exceptions for extension developers.
2003-08-21 23:32:13 +00:00
Marcus Boerger
304f37fb80 Fix parameter spec 2003-08-21 14:34:07 +00:00
Jon Parise
34821ed474 Under FreeBSD, statfs(2) requires both <sys/mount.h> _and_ <sys/param.h>.
The autoconf check for <sys/mount.h> was failing because <sys/param.h>
wasn't being universally included.

This gets disk_total_space() and disk_free_space() working again under
FreeBSD.
2003-08-21 06:24:17 +00:00
Marcus Boerger
1cf91a7ac5 Extensions that do opcode hooking must provide the removed functions/macros
themselves now.
2003-08-21 00:10:49 +00:00
Ard Biesheuvel
84f995903b Fix false warning on zero-size BLOB fetch 2003-08-20 22:59:33 +00:00
Sara Golemon
6f88d49d6c Add resume_pos (resume position) context option for restarting file downloads. 2003-08-20 21:59:29 +00:00
Brian France
d50e0bf4de Added a parameter to php_setcookie to toggle URL encoding of the cookie data
Added the function setrawcookie that turns off URL encoding of the cookie data
Changed setcookie to turn on the URL encoding of the cookie data
2003-08-20 20:51:10 +00:00
Ard Biesheuvel
27582c4862 Reuse result data structure and resource id for consecutive executions
of a prepared query
# As previous resources are invalidated anyway because their statement
# handle is reused, we don't have to allocate a new result for every
# execution of a prepared query
2003-08-20 19:47:00 +00:00
Brad House
f0bf9dd62d allow destructor to clean up connection data 2003-08-20 19:45:07 +00:00
Rob Richards
d7e6bdaa0f fix infinite loop in normalize 2003-08-20 18:58:03 +00:00
Rob Richards
20a878dc60 doc must be copied when importing stylesheet
libxslt uses the _private for processing
2003-08-20 17:58:55 +00:00
Ilia Alshanetsky
ece0a731e9 Fixed bug #25170 (Problem with generation of random numbers on solaris) 2003-08-20 16:40:22 +00:00
Ard Biesheuvel
d70f744a63 Moved transaction defaults to header file 2003-08-20 16:13:51 +00:00
Ard Biesheuvel
8f869998b5 Cleaned up _php_ibase_var_zval() 2003-08-20 13:02:26 +00:00
Ard Biesheuvel
551526812b Fix Win32 build 2003-08-20 12:40:59 +00:00
Ard Biesheuvel
1b8e0440d2 Moved some local vars to stack 2003-08-20 12:40:05 +00:00
Ard Biesheuvel
d7c734edb9 Nuke link handle from BLOB id
# Now BLOB ids can survive disconnect/reconnect
Added link argument to ibase_blob_{open|info|echo}()
2003-08-20 12:22:58 +00:00
foobar
498685fb2f Fix phpize build 2003-08-20 08:14:24 +00:00
Jon Parise
5649b2ca2a Explicitly declare the dependencies on the generated sqlite.h file. This
allows the libsqlite source tree (and php-src, as a whole) to be built
using 'make -j' once again.
2003-08-20 07:41:42 +00:00
Ilia Alshanetsky
ef088c9d16 Fixed bug #25155 (Possible namespace conflict between mime-magic & mssql) 2003-08-19 22:13:01 +00:00
Moriyoshi Koizumi
9bb299eb42 More accurate fix for bug #25140 2003-08-19 14:48:33 +00:00
Derick Rethans
9cd7b9d3c3 - Fix for bug #25140 (mb_convert_encoding returns FALSE when it tries to
convert empty string)
2003-08-19 08:29:57 +00:00
Derick Rethans
5e1062fe7c - Back out Ilia's not-yet-ready patch. 2003-08-19 06:34:46 +00:00
Wez Furlong
9ada9e5767 fix build 2003-08-19 01:30:27 +00:00
Wez Furlong
bedccec85b Update credits
# re-ordering of some of the lines is due to case-insensitive
# win32 filesystem
2003-08-18 23:31:14 +00:00
Wez Furlong
42a8c536de 5 sir 2003-08-18 23:26:31 +00:00
Zeev Suraski
391c027da6 Get rid of PZVAL_UNLOCK() - fix untested 2003-08-18 23:13:25 +00:00
Ilia Alshanetsky
c23609efa7 Fixed paths in various tests. In certain conditions usage of partial file
paths results in test failures.
2003-08-18 22:57:49 +00:00
Zeev Suraski
ed21ddd4f3 Fix a gazillion leaks in SimpleXML. One gazillion to go ;) 2003-08-18 22:33:15 +00:00
Zeev Suraski
e404e1d0fe Fix leak - non persistent hashes cannot be used in MINIT! 2003-08-18 20:45:00 +00:00
Zeev Suraski
1fb9d4896a WTF was that doing here? :)
Fix crash
2003-08-18 11:26:12 +00:00
Ilia Alshanetsky
06da1b95db Fixed typo. 2003-08-18 11:18:41 +00:00
Ilia Alshanetsky
741014089e emalloc -> safe_emalloc 2003-08-18 04:41:48 +00:00
Ard Biesheuvel
f96efcbf90 Nuke bogus BLOB ids
# User-space BLOB id no longer contains transaction handle, so BLOB ids
# now remain valid throughout multiple transactions.
# Oh, and they look better too :-)
2003-08-18 00:14:53 +00:00
Marcus Boerger
717b5afe1d Fix warnings 2003-08-17 18:56:54 +00:00
Marcus Boerger
ae2c7b9b4f Fix warnings 2003-08-17 18:21:35 +00:00
Marcus Boerger
ddf4ad5744 Fix warning 2003-08-17 17:14:11 +00:00
Ard Biesheuvel
a4bb353f2b Simplify previous fix 2003-08-17 16:30:15 +00:00
Ard Biesheuvel
91e3344eec Test immediate BLOB inserts 2003-08-17 16:14:29 +00:00
Ard Biesheuvel
008115b9ed Fixed leak in _php_ibase_bind() 2003-08-17 16:13:52 +00:00
Marcus Boerger
0d5ee859dd Fix warnings 2003-08-17 15:43:41 +00:00
Sascha Schumann
2405caf32e kill some warnings 2003-08-17 15:04:57 +00:00
Ard Biesheuvel
e5bae36a1a Test fetching BLOBs >64k 2003-08-17 14:58:33 +00:00
Sascha Schumann
feb1ccc6b8 Use explicit rule to create parsedate.c 2003-08-17 14:16:03 +00:00
Sascha Schumann
26863c9928 Use %p to display a pointer value 2003-08-17 14:01:17 +00:00
Sascha Schumann
3a81e99c1f The first element of the array seems to store the members count
Add a cast to (long) to quiet the compiler
2003-08-17 13:59:59 +00:00
Sascha Schumann
e6b45266d2 The integer timeout is cast to a void *, passed to this function, and
cast back.

Add a cast to (long) to quiet the compiler
2003-08-17 13:57:53 +00:00
Sascha Schumann
1f722edd1c Fix sizeof(void *) > sizeof(int) issue.
n should be ptrdiff_t.
2003-08-17 13:53:57 +00:00
Ard Biesheuvel
0e69444021 Fix possible leak in _php_ibase_fetch_hash() 2003-08-17 13:16:54 +00:00
Ard Biesheuvel
1967ceeda4 Apply fix for ibase_blob_get() to ibase_fetch_*()
Apply fix for ibase_blob_add() to ibase_query()/ibase_execute()
2003-08-17 12:31:55 +00:00
Derick Rethans
fe7bb97737 - Fix the comment too 2003-08-17 11:49:18 +00:00
Derick Rethans
cd2540373f - This parser contains 17 reduce conflicts 2003-08-17 11:48:29 +00:00
David Croft
2a216c1f36 #typo 2003-08-17 09:57:21 +00:00
Derick Rethans
77729f89dd - Fixed bug #17988: strtotime fails to parse timestamp from postgresql
#- This is actually a feature request
2003-08-16 20:55:28 +00:00
Marcus Boerger
fe1a086d19 Simplify abstract method declaration 2003-08-16 20:46:22 +00:00
Marcus Boerger
c346aad91a spl_call_method returns the zval* if used 2003-08-16 20:27:29 +00:00
Ard Biesheuvel
812758b73e Fix failure on accidental fread() of 0 bytes 2003-08-16 20:04:41 +00:00
Ard Biesheuvel
841983fea0 Always fill entire buffer in ibase_blob_get() 2003-08-16 19:48:32 +00:00
Ard Biesheuvel
254f827c4b Fixed bug #18744 2003-08-16 16:09:24 +00:00
Ard Biesheuvel
6561a0546b Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:31:06 +00:00
Ard Biesheuvel
b3058675c1 Fixed bug #24224
Some general cleaning up
Some preliminary changes for extensions to array functions
2003-08-16 15:30:22 +00:00
Ard Biesheuvel
69c8bac05e Test for bug #24224 2003-08-16 15:22:36 +00:00
Marcus Boerger
0c7c8f4857 Simplify 2003-08-16 10:37:14 +00:00
Jason Greene
90289924c0 Remove all vector based functions for the following reasons:
- This solves alot of platform compatibility problems
- The possible security issue of allocating an incredibly large vector
pool is prevented
- They are of little to no benefit in a high level language
- 99% of all things done with these functions can be done using
sendto/recvfrom
2003-08-16 06:34:36 +00:00
Ard Biesheuvel
78a3fe8fca Removed ibase_num_rows()
Converted some MACRO-isms
2003-08-16 01:58:29 +00:00
Ard Biesheuvel
654aa13c76 Added comment about ibase_num_rows() 2003-08-16 00:58:24 +00:00
foobar
1ba3e3a6dc MFB 2003-08-15 18:47:23 +00:00
Ard Biesheuvel
dfbed2aa24 Added ibase_free_event_handler() 2003-08-15 16:13:51 +00:00
Andrey Hristov
e8a3e059f0 2 proto fixes (Mehdi Achour) 2003-08-15 12:08:15 +00:00
John Coggeshall
fbff369efc Updating TODO 2003-08-15 06:10:36 +00:00
Ard Biesheuvel
d348c64326 Moved TRMLS_FETCH to correct scope 2003-08-15 00:16:58 +00:00
Ard Biesheuvel
d5de1ad41c Added ibase_set_event_handler() 2003-08-15 00:06:07 +00:00
Marcus Boerger
33cae26946 Upds 2003-08-14 21:44:38 +00:00
Marcus Boerger
175c25c2a8 Add 'graphical' tree mode 2003-08-14 21:14:04 +00:00
Wez Furlong
cb7f8881ea add credits 2003-08-14 20:48:06 +00:00
Wez Furlong
61313924a4 fix .net build 2003-08-14 20:31:38 +00:00
Ilia Alshanetsky
38a98c55f7 Fixed bug #25093 (Various leaks due to non-freed queries) 2003-08-14 17:49:08 +00:00
Marcus Boerger
bf759e9609 Don't test other functionality than wddx here. 2003-08-14 17:25:05 +00:00
Wez Furlong
6df5d5ba20 Add new COM (and .Net) extension for php5.
Not yet complete, but should work for most people.
2003-08-14 16:49:56 +00:00
Ilia Alshanetsky
e6b916cb15 Fixed bug #25081 (odbc_fetch_array() may mangle numeric fields). 2003-08-14 14:36:38 +00:00
Ard Biesheuvel
970371efa2 Added ibase_wait_event() 2003-08-14 10:55:02 +00:00
Ilia Alshanetsky
b9b75991e3 Fixed bug #25084 (Make refer check not dependant on register_globals) 2003-08-14 01:30:06 +00:00
Ilia Alshanetsky
5eb23bf01e Added missing skip condition 2003-08-14 00:54:28 +00:00
Ilia Alshanetsky
64345cdd6e Fixed a possible crash due to invalid handling of assert ini options. 2003-08-14 00:37:42 +00:00
Edin Kadribasic
07ed14a907 MFB: standard location for the include files 2003-08-13 23:04:08 +00:00
Wez Furlong
1e679b02fe It's boolean, not long.
# fixes a warning under vc7
2003-08-13 22:31:22 +00:00
Vlad Krupin
a90d56f52c this comment makes no sense after the previous commit 2003-08-13 21:01:04 +00:00
Vlad Krupin
3aaff90725 changes to accomodate win32 build
# I am not sure whether reading from registry, like I do now is a good
# idea, but nobody on php-dev has offered any opinion for or against that
2003-08-13 18:59:44 +00:00
Vlad Krupin
5b6e35851d win32 build is now possible Credit is due to Jan Gehring <gehring@egotec.de> for figuring that out 2003-08-13 18:57:19 +00:00
Moriyoshi Koizumi
fd8411635e Slight improvement. Hope this will make some difference. 2003-08-13 18:21:06 +00:00
foobar
e7820af9f8 fix test 2003-08-13 10:40:28 +00:00
foobar
e86d532430 Disable the debugging to prevent the tests from failing. 2003-08-13 10:35:14 +00:00
foobar
604b06e4ca Fix the test. (this was mixed test with bug #24159) 2003-08-13 09:48:20 +00:00
Marc Boeren
c0dcd3647b Remove special-case from test for SQLite persistent connections. 2003-08-13 07:54:31 +00:00
Ard Biesheuvel
05db087834 Allow the use of EXECUTE PROCEDURE statements 2003-08-13 02:19:14 +00:00
foobar
8733d2dacb revert that, it did not fix anything 2003-08-13 01:37:31 +00:00
foobar
0ee19d47d9 Fix external builds (configure run outside srcdir) 2003-08-13 01:24:27 +00:00
Sara Golemon
cc28589156 Prevent carryover when max-min > signed int max 2003-08-13 00:49:22 +00:00
Marcus Boerger
fb1288d067 # Wez, your whish is my command 2003-08-12 21:29:28 +00:00
Marcus Boerger
ab9198e396 Bugfix #25056 2003-08-12 21:15:16 +00:00
Ard Biesheuvel
b220a551f6 .... and again 2003-08-12 18:08:13 +00:00
Ard Biesheuvel
c552c34b76 Re-commit of failed patch 2003-08-12 18:01:59 +00:00
foobar
72000ab8a5 Revert previous patch. 2003-08-12 17:41:37 +00:00
Ard Biesheuvel
b58fa703b4 Allow prepared execution of any non-query statement except CREATE DB
(fixes bug #7014)
2003-08-12 17:33:54 +00:00
Ard Biesheuvel
5a30b61eba Fixed bug #23936 (fail to select and fetch) 2003-08-12 13:19:36 +00:00
Andrey Hristov
9ac579c2c0 proto fixes(Mehdi Achour) 2003-08-12 11:37:40 +00:00
Ard Biesheuvel
dd5b49796c Added comment in code :-) 2003-08-12 11:35:26 +00:00
Ard Biesheuvel
9e445746e5 Revert ugly workaround for erroneous results of ibase_num_rows() (see comment in code) 2003-08-12 11:27:03 +00:00
Ard Biesheuvel
d6477e1b6d Fix for missing errmsg in test 005 2003-08-12 10:02:25 +00:00
Ard Biesheuvel
cba7a31245 Tiny fix 2003-08-12 09:57:57 +00:00
Ard Biesheuvel
8d34c2b4ba Changed to reflect corrected ibase_trans() behaviour 2003-08-12 09:57:17 +00:00
Ilia Alshanetsky
025c35a58b Fix compiler warnings. 2003-08-12 04:19:06 +00:00
Ard Biesheuvel
feb8bb7dfc Fix for failed tests except 005 2003-08-12 02:16:40 +00:00
foobar
b2ef50391b fix build 2003-08-12 02:11:41 +00:00
foobar
83595f1f5c fix test 2003-08-12 02:05:21 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
3652ab6032 Fixed bugs in various tests. 2003-08-12 00:44:05 +00:00
foobar
24b26ec546 Fix the test results (negative indices are not strings anymore) 2003-08-11 23:55:46 +00:00
Ilia Alshanetsky
ed40ae2650 emalloc -> safe_emalloc 2003-08-11 23:16:54 +00:00
Marcus Boerger
f77f977d0e Bugfix 21918 2003-08-11 20:14:25 +00:00
Ilia Alshanetsky
22c3346967 Fixed bug #22245 (References inside $_SESSION not being handled). 2003-08-11 19:20:44 +00:00
Andrey Hristov
6825993fcc proto fix (thanks to Mehdi Achour for notifying) 2003-08-11 11:27:27 +00:00
Masaki Fujimoto
ab9dcec292 - added script encoding support to Zend Engine 2.
this enables ZE2 to gracefully parse scripts written in UTF-8 (with BOM),
  UTF-16, UTF-32, Shift_JIS, ISO-2022-JP etc... (when configured with
  '--enable-zend-multibyte' and '--enable-mbstring')
2003-08-11 05:24:42 +00:00
Ilia Alshanetsky
4320c6994f Fixed bug #21957 (serialize() mangles objects with __sleep). 2003-08-11 03:22:24 +00:00
foobar
da30777de5 Simplify a bit 2003-08-11 02:32:17 +00:00
foobar
7f5dc67bb0 Fix compile warning 2003-08-11 02:03:40 +00:00
foobar
e9eb29011c Nuke unused variable 2003-08-11 01:56:43 +00:00
foobar
b5184a6fb0 Fix the compile warnings properly 2003-08-11 01:54:45 +00:00
Sara Golemon
530f502198 Collection of tests for stream_socket_(client|server)(). TCP/UDP (AF_INET & AF_INET6) and UNIX/UDG 2003-08-11 01:30:55 +00:00
foobar
ebec2bb859 Moved the RINIT(crypt) stuff into crypt() itself. 2003-08-11 00:49:19 +00:00
Ard Biesheuvel
e1accb81c0 Added myself 2003-08-11 00:49:08 +00:00
foobar
9a2a0aa5e1 - Fixed bug #25007 (rand() & mt_rand() seed RNG every call).
# Also cleaned up the code a bit with this fix.
2003-08-11 00:42:29 +00:00
Ard Biesheuvel
69252c3c77 Added ibase_num_params() and ibase_param_info()
@- Added function ibase_num_params() (Ard)
@- Added function ibase_param_info() (Ard)
2003-08-10 20:53:19 +00:00
Marcus Boerger
d2ea062ef0 Fix warnings 2003-08-10 20:39:58 +00:00
Marcus Boerger
9274d2c203 Nuke unused vars 2003-08-10 20:39:19 +00:00
Marcus Boerger
a28b0fdbb4 Nuke unused vars 2003-08-10 20:13:38 +00:00
Ard Biesheuvel
9972e05ca1 Win32 fixes 2003-08-10 17:24:51 +00:00
Ard Biesheuvel
9510d999dc Added ibase_affected_rows() and ibase_num_rows()
Fix for ibase_fetch_*() error after exhaustion of result
@- Added ibase_affected_row() (Ard)
@- Added ibase_num_rows() (Ard)
2003-08-10 16:21:26 +00:00
Marcus Boerger
74fdac04fe This is a void funtion 2003-08-10 15:05:14 +00:00
Ard Biesheuvel
b676e9533b Changed ibase_query() to free transaction resource if SQL is COMMIT or
ROLLBACK
2003-08-10 13:20:38 +00:00
Marcus Boerger
142c79d653 Add foreach/continue test 2003-08-10 13:17:02 +00:00
Ilia Alshanetsky
c6134c346c Use getenv() rather then $_ENV, the latter is not always avaliable. 2003-08-09 21:00:42 +00:00
Ilia Alshanetsky
e5b7d5ccb4 Fixed bug #24897 (inconsistent behavior of shuffle() & array_multisort()) 2003-08-09 20:49:00 +00:00
Marcus Boerger
30a68c8d84 Fix exif_thumbnail 2003-08-09 20:43:06 +00:00
Marcus Boerger
42cf1f8b97 Fix refcounting for $var = $obj[$idx] = $value; 2003-08-09 19:24:11 +00:00
foobar
a6b7a911bd Cosmetic note 2003-08-09 18:43:45 +00:00
Ilia Alshanetsky
caf80ad788 Correct test to work with later versions of GNU Aspell (more common). 2003-08-09 18:40:40 +00:00
Ilia Alshanetsky
ac41c5db23 Added/improved tests for bugs 24142, 24063, 24951, 24980 2003-08-09 16:44:33 +00:00
Ilia Alshanetsky
e49964fe99 Do not assume array contains numeric values. 2003-08-09 16:43:28 +00:00
foobar
c6f90cde63 Added missing ?> so this test can be run without run-tests 2003-08-09 15:46:36 +00:00
Derick Rethans
e491d75df3 - Fix memleak (this strndup is totally unnecessary) 2003-08-09 11:20:38 +00:00
Marcus Boerger
66b910e87c Bugfix #24142, part 2 2003-08-09 01:12:41 +00:00
Ilia Alshanetsky
a2873880f6 Fixed bug #24980 (array_reduce() uses first element as default running
total).
Fixed memory leak that can be replicated using the function example on
http://www.php.net/array_reduce
2003-08-08 23:50:36 +00:00
Ilia Alshanetsky
370ea1c82f Avoid a round() bug that occurs due to over optimization of C code by gcc.
This bug was confirmed across multiple systems with gcc 2.95.3 & 3.X+
2003-08-08 23:40:44 +00:00
Ard Biesheuvel
b1db823ad1 Changes ibase_query() to support SET TRANSACTION statements
@- Added support for SET TRANSACTION statements in ibase_query() (Ard)
2003-08-08 13:47:20 +00:00
Ilia Alshanetsky
5c6ee17a9e Fixed bug #24977 (Revert mysql_select_db optimization) 2003-08-08 13:36:28 +00:00
Ilia Alshanetsky
6f2df21136 Fixed bug #24909 (Bad random numbers with ZTS builds on Solaris) 2003-08-08 13:34:38 +00:00
Edin Kadribasic
5c9b6bf0ca It builds much better when linked to the right lib 2003-08-08 12:15:17 +00:00
Edin Kadribasic
43a69b480f Windows build file (doesn't build yet) 2003-08-08 11:55:34 +00:00
Ard Biesheuvel
870ba56375 Changed the names of some struct members for readability
Added function ibase_errcode()
@- Added function ibase_errcode() (Ard)
2003-08-08 11:04:12 +00:00
Moriyoshi Koizumi
fb02fdf306 Fix test as the "expected result" was totally pointless in the first place. 2003-08-08 10:53:54 +00:00
Moriyoshi Koizumi
de02912ef2 Fix the test which should have been fixed long ago. 2003-08-08 10:52:50 +00:00
Moriyoshi Koizumi
68120caddc Add test case for the bug 2003-08-08 10:35:53 +00:00
Moriyoshi Koizumi
5e343ad110 Eliminate redundant assignment 2003-08-08 09:51:28 +00:00
Moriyoshi Koizumi
de9d52c4e9 Real fix for the problem addressed in the last commit message. 2003-08-08 09:40:58 +00:00
Sara Golemon
1a0bd6e903 Plug leak in ftp_url_stat 2003-08-08 06:18:25 +00:00
Ard Biesheuvel
f9ad8f236e Changed _php_ibase_trans_end() to allow committing of default transaction
of a non-default link
2003-08-08 01:42:09 +00:00
Marcus Boerger
6da189d1e8 Once ago this was used 2003-08-07 22:50:46 +00:00
Marcus Boerger
0040355af8 - Reduce number of c-functions/macros involved in function invocation
- Unify names of remaining c-function/macro names
2003-08-07 22:43:01 +00:00
Marcus Boerger
47a80fee58 Switch to use zend_call_function() what shortens spl code 2003-08-07 22:19:50 +00:00
Rob Richards
6fae803c12 fix bug #24957 (var_dump of object segfaults) 2003-08-07 21:39:00 +00:00
Moriyoshi Koizumi
12ac36ca8d Move shutdown code to better place 2003-08-07 19:53:31 +00:00
Moriyoshi Koizumi
a12601456a Fix wrong behaviour under ZTS that was inconsistent with non-ZTS.
# This patch really needs MFH
2003-08-07 19:45:26 +00:00
Rob Richards
036b93c4e2 fix segfault when importing multiple documents 2003-08-07 18:38:39 +00:00
John Coggeshall
a123efb6ed Whitespace fixes. 2003-08-07 17:53:48 +00:00
Moriyoshi Koizumi
3bf0b26218 Tru64 requires TZ values be POSIX styled.
# See http://h30097.www3.hp.com/docs/base_doc/DOCUMENTATION/V50_HTML/MAN/MAN3/0247____.HTM for detail.
2003-08-07 17:46:18 +00:00
Zeev Suraski
9db05a36a5 Remove 'proto' from internal functions 2003-08-07 16:46:11 +00:00
Zeev Suraski
23f08b9a2f fix another broken prototype 2003-08-07 16:03:17 +00:00
Zeev Suraski
2e869c7cb3 Fix prototype 2003-08-07 16:02:28 +00:00
Zeev Suraski
522bcba0a8 Fix docline 2003-08-07 15:51:05 +00:00
Ilia Alshanetsky
e06311c091 Fixed bug #24839 (& -> &amp; in php credits) 2003-08-07 15:41:24 +00:00
Ard Biesheuvel
712d7d561b Fixed crash in _php_ibase_error() after request shutdown 2003-08-07 01:00:22 +00:00
Ard Biesheuvel
fdb039dbef K&R cosmetics
# Summary of the changes in recent revisions for the NEWS file
@- Changes to Interbase extension: (Ard)
@  . Support in ibase_trans() for multiple databases
@  . New functions ibase_commit_ret() and ibase_rollback_ret(), which retain
@    the transaction context after execution
@  . Support in ibase_query() for CREATE DATABASE statements
@  . New function ibase_drop_db()
@  . New function ibase_name_result(), which assigns a name to a result for use
@    with SELECT ... FOR UPDATE statements
2003-08-07 00:00:19 +00:00
Moriyoshi Koizumi
c7a29109a8 MFB(1.142.2.22): add missing NLS entry for German. 2003-08-06 22:01:23 +00:00
John Coggeshall
a8356a0dc6 Keeping up with ZE changes to the function struct, fixed tests 2003-08-06 21:32:46 +00:00
John Coggeshall
fb2b65e5fd PEAR packaging details 2003-08-06 20:17:10 +00:00
Vlad Krupin
5636f96147 Fix for bug 23463. Dbase2 is not supported.
AFAICT, no newer versions of dbase, even those use
version byte as a bitmask will ever have it <3.
2003-08-06 19:06:24 +00:00
Ard Biesheuvel
00d42286ec Added three new user functions
ibase_{commit|rollback}_ret()
Commit or rollback a transaction without losing the transaction context.

ibase_name_result()
Assign a name to a result so {UPDATE|DELETE} ... WHERE CURRENT OF <name>
statements can be used.
2003-08-06 17:51:46 +00:00
Ard Biesheuvel
9f46081ca2 ibase_query() now returns a link resource if a CREATE DB was issued 2003-08-06 15:27:16 +00:00
Brian France
589d0f1423 MFB: added include config.h so shared extensions builds work correctly 2003-08-06 15:16:46 +00:00
Ard Biesheuvel
966663d3a0 Minor Win32 fixes/cleanups 2003-08-06 12:09:30 +00:00
John Coggeshall
4c282bee86 ZTS fixes. 2003-08-06 00:19:31 +00:00
John Coggeshall
ea72aabfe2 Fix memory leaks 2003-08-06 00:01:22 +00:00
foobar
cc011660e7 Fix the build 2003-08-05 23:50:59 +00:00
Ard Biesheuvel
3ef8d3663d Changed ibase_trans() to allow multi-DB transactions with distinct
trans_args for each connection.
2003-08-05 23:40:30 +00:00
Ilia Alshanetsky
02e0e08958 Fixed bug #18291 (escapeshellcmd() can now handle quoted arguments). 2003-08-05 20:15:53 +00:00
foobar
605619baa9 Fix CS/WS 2003-08-05 16:30:47 +00:00
foobar
c3c6f6d5d7 Adding -lcrypt here is not necessary 2003-08-05 16:30:32 +00:00
foobar
cc96ff7ffb Fix some more typos 2003-08-05 16:02:12 +00:00
Ard Biesheuvel
f98251f307 Significant changes to layout of internal data structures
in order to accomodate and carry out the following changes:
* Removal of arbitrary 'transactions-per-link' limit,
* Transactions over multiple databases.

Leak fixes in ibase_query() and ibase_execute() by replacing
emalloc() with do_alloca()

Changes to ibase_query() to enable the use of CREATE DATABASE ...

Added ibase_drop_db()
2003-08-05 13:17:16 +00:00
foobar
6d6ac93241 - Fixed bug #21611 (version_compare() does not support "p" suffix) 2003-08-05 12:34:31 +00:00
Moriyoshi Koizumi
0ff21d0370 putenv() should be put here as well. 2003-08-05 12:29:26 +00:00
foobar
96e9ed33b3 The last 4 args are by ref.. 2003-08-05 11:54:01 +00:00
foobar
22dba46f2d - Fixed bug #24936 (ext/fdf is not linked properly when compiled as shared extension). (Jani) 2003-08-05 11:17:01 +00:00
Zeev Suraski
90b29aa076 Replace fast_call_user_function() with zend_call_function() 2003-08-05 10:29:03 +00:00
Zeev Suraski
92b4013e8d Try to put an end to the endless number of call_user_function variants.
zend_call_function() now takes a structure that should contain all of the
necessary information.  If further information is necessary in the future,
then we'll be able to add it without having to introduce a new function.

As for caching - the 2nd, optional argument is a struct that can hold all
of the information that's necessary to invoke the function, including its
handler, scope and object it operates on (if any).  Note that you may only
use a cache if the arguments you provide to zend_call_function() are
identical to the ones of the last call, except for the argument and return
value information.


The recently introduced fast_call_user_function() was removed

I fixed most of the places that used fast_call_user_function() to use caching
but there are still some that need to be fixed (XML and reflection)
2003-08-05 10:24:40 +00:00
Stanislav Malyshev
97c2522128 syncronize 2003-08-05 09:23:17 +00:00
Stanislav Malyshev
d113d32314 Don't try to __sleep incomplete classes 2003-08-05 09:19:38 +00:00
Stanislav Malyshev
53bbeedc89 don't try to wakeup incomplete classes 2003-08-05 09:15:31 +00:00