Jouni Ahto [Wed, 7 Jun 2000 23:04:39 +0000 (23:04 +0000)]
- Fixed typo in _php_image_output (s/fp/tmp/) causing segfault.
- Fixed bug when calling imagejpeg() with 3 arguments, the second one empty,
introduced yesterday.
- Nuked even more code.
Jouni Ahto [Wed, 7 Jun 2000 00:37:49 +0000 (00:37 +0000)]
- Added functions imagewbmp(), imagecreatefromxbm().
- Nuked a lot of duplicate code.
@- Added function imagecreatefromxbm(). (Jouni)
@- Added function imagewbmp(). (Jouni, based on patch from Rune Nordbøe Skillingstad)
# Note: calling imagejpeg() with 3 arguments, the second one empty,
# is currently broken. Fill fix tomorrow evening unless someone beats me.
# Must have some sleep now, brains stopped working...
Zeev Suraski [Tue, 6 Jun 2000 19:16:57 +0000 (19:16 +0000)]
@- Made the short_tags, asp_tags and allow_call_time_pass_reference INI directives work
@ on a per-directory basis as well, e.g. from .htaccess files (Zeev)
Jouni Ahto [Tue, 6 Jun 2000 19:06:46 +0000 (19:06 +0000)]
- Preparing to add new image types to gd module.
# Sascha, if you see this, why are there two checks for jpeg dirs
# (PHP_GD_JPEG)? I just literally applied the same method to check for
# Xpm libs, don't know how to fix it. Could you please have a look at this?
@- added fflush() function. (Eric Huss)
# the socket fsync() might not work on Win32.
#
# i'm not sure if we need any code for flushing sockets as they are
# currently alway written via write().
David Hedbor [Mon, 5 Jun 2000 21:05:07 +0000 (21:05 +0000)]
Added a new user-definable include variable, PRE_INCLUDES. It works
like EXTRA_INCLUDES but is added before the global INCLUDES variable.
#
# This was needed for the roxen SAPI module, which requires the PHP4
# include dirs to be after the Pike include dirs. I can't make the
# Pike include dir global though, since Pike includes then conflict
# with PHP4 includes in the rest of the compile.
Rasmus Lerdorf [Mon, 5 Jun 2000 17:56:01 +0000 (17:56 +0000)]
@ Clean up constants in flock() function and add optional 3rd arg which
@ is set to true on EWOULDBLOCK (Rasmus)
Clean up constants in flock() function and add optional 3rd arg which
is set to true on EWOULDBLOCK
Andi Gutmans [Mon, 5 Jun 2000 15:34:11 +0000 (15:34 +0000)]
- Revert Thies' locale patch. It was screwing up language level things.
- We could add support for locale in some specific output functions at a
- later time to make everyone happy
Rasmus Lerdorf [Sun, 4 Jun 2000 05:46:28 +0000 (05:46 +0000)]
@ Add support for both indexed and non-indexed arrays of file uploads
@ eg. name="file[]" type="file" (Rasmus)
Add support for both indexed and non-indexed arrays of file uploads
eg. name="file[]" type="file" (Rasmus)
Zeev Suraski [Sat, 3 Jun 2000 04:16:46 +0000 (04:16 +0000)]
- Allow all functions that receive user-defined function callbacks to accept
an array that contains an object and a method name, in place of a function
name, e.g. usort($array, array($obj, "ObjSort"))
(I checked the code in array.c and basic_functions.c, other code which uses
call_user_function() may still force the function_name argument to be of type
IS_STRING, which prevents this feature from working - and is no longer necessary)
Zeev Suraski [Fri, 2 Jun 2000 12:35:53 +0000 (12:35 +0000)]
Use the new error code
@- Added set_error_handler() to allow custom error handling functions,
@ instead of the built-in error handling code (Zeev, Zend Engine)
@- Renamed user_error() to trigger_error(); user_error() remains
@ defined for compatibility (Zeev, Zend Engine)