Jon Parise [Mon, 13 May 2002 00:29:22 +0000 (00:29 +0000)]
Instead of calling mail_fetchheader_full() to retrieve the complete header
information just to extract the message envelope, call mail_fetchenvelope(),
which returns just what we need.
This is simpler, faster, and saves the IMAP server some work.
Submitted by: Adam Kauffman <adam.kauffman@mindspring.com>
Stig Bakken [Sun, 12 May 2002 21:09:04 +0000 (21:09 +0000)]
* refactored the command/options code:
- now each command class should define a "commands" property with
documentation, option specs etc.
- both long and short options are now supported
- after recent changes to Console_Getopt, you may now have options
to commands even though the same option is also valid for the pear
command itself
- less CLI-centric, better suited to Gtk and Web frontends
Sascha Schumann [Sun, 12 May 2002 17:28:12 +0000 (17:28 +0000)]
As far as I can tell, the AC_CHECK_MEMBER could not succeed,
because it does not include <sys/socket.h> which is necessary
for the definition of struct msghdr. This include file is not
part of ac_includes_default.
Regardless, AC_CHECK_MEMBER is a autoconf-2.5x macro and thus we
expand it here for 2.13 compatibility.
Rasmus Lerdorf [Sun, 12 May 2002 15:59:42 +0000 (15:59 +0000)]
Change safe-mode rule for rmdir() to match unlink() - allow is target
is opened by caller or in a directory owned by caller
@ Minor fix to rmdir() under safe-mode (Rasmus)
Marko Karppinen [Sun, 12 May 2002 15:06:04 +0000 (15:06 +0000)]
Add an option to calculate easter dates based on the Gregorian calendar
during the years 1582-1752. Earlier this was only possible from
1753 onwards. Use the optional parameter CAL_EASTER_ROMAN with
easter_days() to enable this. This is a fix for bug #12766.
# As you can see, my Sundays are *so* busy...
Sascha Schumann [Sun, 12 May 2002 12:51:42 +0000 (12:51 +0000)]
- Fix the way code was outcommented
- Remove unused STR_CAT macro
- Remove limits/tests based on unused macro
- Implement cache_limiter(private) using private_no_expire
Rasmus Lerdorf [Sat, 11 May 2002 19:58:40 +0000 (19:58 +0000)]
MTH - thought the code was slightly different in HEAD because of the
streams stuff, but it is exactly the same bug.
@ Safe-mode fix related to the safe_mode_include_dir feature (Rasmus)
Markus Fischer [Fri, 10 May 2002 16:04:03 +0000 (16:04 +0000)]
- This affects both CGI and CLI sapi:
Remove Zend version output from -m switch and move it over to the output of
the -v switch (-v is supposed to list version numbers, not -m).
@- added fifth optional parameter to domxml_xslt_process. If set,
it will output profiling information to the file stated (chregu)
- introduced version numbering for this extension
Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looking in the Windows directory. This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.
Note that checking for in CWD php.ini may be a security risk(?), and can now be made compile-time configurable by removing a single #define.
Add check for php.ini in same directory as php.exe (or equivalent executable that loaded php4ts.dll). Check is done before looks in the Windows directory.
This allows distinct php.ini files when different applications using PHP are installed on the same system. Should be backwards compatible.
Note that checking for php.ini in CWD may be a security risk(?), and can now be made compile-time configurable by removing a single #define.
Change default directory for session data from /tmp (non-portable) to none.
Default directory for session data (if not specified) is same (platform-specific) directory used for temporary files.
This is backwards compatible and removes the need for explicitly specifying the session.save_path on Win32.
Vincent Blavet [Thu, 9 May 2002 13:00:12 +0000 (13:00 +0000)]
* Better handling of Windows paths (\php\any_thing or c:\php\any_thing)
* Remember that inside the archive path are all the time in unix format /php/any_thing
* When necessary, '\' are replaced by '/' and 'c:' are removed
* Synchro with cvs:pear/Archive_Tar/Tar.php version 1.20