Commit Graph

4243 Commits

Author SHA1 Message Date
Sterling Hughes
803bebb303 Use zend_is_callable to test whether or not the given callback is valid
before calling the function.
2001-05-14 20:06:06 +00:00
Sterling Hughes
47ee387d79 Use zend_is_callable() and fix sp of deprecated. 2001-05-14 19:19:03 +00:00
Sterling Hughes
c58fdadc1f Couple of changes (and a little whitespace correction, sorry to mix :(
1) Depreciate the call_user_method*() variety of functions, their
    functionality can be easily duplicated by using the call_user_func*()
    functions (using the array(&$obj, "method") syntax).

    2) Change some pval's to zval's.

    3) Improve the error handling mechanism of call_user_func*() to report
    an the class name and the function name if an object or class name is
    given.
2001-05-14 19:02:23 +00:00
Derick Rethans
6123e2abe0 - Bumbed up the warning level to be in sync with fopen (which is E_WARNING
too) (See bug #10856)
2001-05-14 18:30:07 +00:00
Vlad Krupin
2331bbe445 @- Fix for bug 2181. Now zero is returned instead of an unset value for
@  7-bit encoding and plain text body type.
Also, bogus types and encodings will not be returned any longer.
Function imap_bodystruct() is also fixed in the same manner.
2001-05-14 18:24:27 +00:00
Andrei Zmievski
8a86d17882 Need to use ELS_FETCH() here. 2001-05-14 14:16:44 +00:00
Andrei Zmievski
553e04be2f @- Fixed a bug in call_user_*() functions that would not allow calling
functions/methods that accepted parameters by reference. (Andrei)

* Allow separation of arguments in call_user_* functions - this allows calling
  functions that force parameters by reference.
* Use executor function table instead of compiler one.
2001-05-14 13:24:03 +00:00
Andrei Zmievski
eba50153ef No need for check since callback_name is always filled in. 2001-05-14 12:58:48 +00:00
Thies C. Arntzen
56cebea057 added expat version to phpinfo(); 2001-05-14 11:35:25 +00:00
Harald Radi
ee17c6440d renamed 2001-05-13 16:50:48 +00:00
Harald Radi
49be36d70d modified because of the changes in com.c 2001-05-13 14:22:19 +00:00
Harald Radi
3c60aabe22 @added com_release($obj) and com_addref($obj) functions
@and the related class members $obj->Release() and $obj->AddRef()
@to gain more control over the used COM components. (phanto)
also changed the return values of the internal functions from VARIANT
to pval, so there's no need to convert the returned value after each function
call and the real hashtable entry is returned and not only a copy of it.
#now everything is prepared to implement the array support
2001-05-13 14:21:20 +00:00
Harald Radi
04a5d124aa @added an additional parameter to dotnet_load to specify the codepage (phanto) 2001-05-13 14:15:26 +00:00
Wez Furlong
74ce7ee6c5 Removed redundant (and incorrect) '0' from "begin" string for uudecode. 2001-05-13 12:04:37 +00:00
Sascha Schumann
90c2979144 Nuke some warnings. 2001-05-13 07:37:28 +00:00
Wez Furlong
2633261cc3 Took out a line that might cause problems if you try and uuencode; there is no
uuencode support yet.
# Looks hard to do too; we need to buffer 45 chars
2001-05-12 23:49:29 +00:00
Wez Furlong
b2703047ab Added uudecode support (MIME name "x-uuencode") 2001-05-12 23:42:09 +00:00
Wez Furlong
615086c2c9 prototype for php_file_le_stream() 2001-05-12 21:49:13 +00:00
Wez Furlong
7a88deb402 expose streams to other extensions. 2001-05-12 21:48:39 +00:00
Daniel Beulshausen
e91089edb9 hopefully fix win32 build, untested 2001-05-12 20:01:59 +00:00
Sascha Schumann
e5176fe60a First step towards full libtool 1.4 portability 2001-05-12 12:22:34 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a Nuke some unneccessary quotes 2001-05-12 10:33:52 +00:00
Sascha Schumann
b18077179d Default to including expat.h 2001-05-12 10:22:16 +00:00
Sascha Schumann
cd30f5a6eb Rename some custom macros from AC_* to PHP_* 2001-05-12 09:26:47 +00:00
Sascha Schumann
718b588b14 Fix indentation of ./configure --help messages. 2001-05-12 09:13:42 +00:00
Sascha Schumann
8a3eb51a26 Replace ssize_t with long, as Win32 lacks proper support for that type. 2001-05-12 08:39:33 +00:00
Thies C. Arntzen
679f794eb4 add missing file 2001-05-12 08:21:20 +00:00
Wez Furlong
340c56e5c7 Fixed leak. 2001-05-12 00:45:55 +00:00
foobar
be3b514637 Fixed bug: #10823 2001-05-12 00:15:08 +00:00
Andrei Zmievski
ae90bcf16d Open season on memory leaks, shoot all you can. 2001-05-11 21:29:47 +00:00
Sascha Schumann
7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene
c115a75544 Rewrote stat() and fstat() to be memory efficient, due to a recent
thread on php-dev.

Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Thies C. Arntzen
cd2f057f1a bump bundled expat to 1.95.1
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann
814fa2c71c Save a couple of syscalls per session
Fix apparent new-session-files-were-not-locked bug

Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski
1db2516277 Start cleaning up domxml memory leaks. Still much stuff to do. 2001-05-11 16:14:19 +00:00
Derick Rethans
04bd8d9174 Tabs please... 2001-05-11 13:34:49 +00:00
Sebastian Bergmann
e69f4dc51c Fix for bug #10815. 2001-05-11 13:32:10 +00:00
foobar
cf75b18a8d Fixed problems which were caused by the previous patches.
#And the usage of PHP_ADD_LIBRARY_DEFER is clear to me now..:)
2001-05-11 10:04:06 +00:00
Jason Greene
7f3291ae8c Fix is_executable test. 2001-05-11 02:45:49 +00:00
Jason Greene
0ed93d71b2 @fstat() and stat() now return identical output by returning a numerical and
@string indexed array (Jason)

(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
foobar
5bc7cf90cd default to /usr/local 2001-05-10 23:55:56 +00:00
Frank M. Kromann
c1b7b83d45 Fixing some proto types 2001-05-10 16:35:05 +00:00
Andrei Zmievski
f071e8c566 Always free the callback_name when using zend_is_callable(). 2001-05-10 16:30:12 +00:00
Zeev Suraski
4c10e198e2 Fix buggy line split 2001-05-10 14:25:48 +00:00
Rui Hirokawa
45a2e761e7 fixed bug of mb_substitute_character() and mb_substr() in mbstring. 2001-05-10 13:12:03 +00:00
foobar
9fa37f60dc Fixed bug: #10779 2001-05-10 09:25:32 +00:00
foobar
9cce67f16d Cleaning this a bit too. Now I'm also able to configure and compile
with the test for imap-ssl.
2001-05-10 06:58:25 +00:00
Sterling Hughes
b01ba3f820 Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
foobar
a972b6aa5b Cleaning up here too. 2001-05-10 00:59:41 +00:00