Commit Graph

448 Commits

Author SHA1 Message Date
Antony Dovgal
8e06ebbc1f improve utf8_mime2text() signature detection
look also for U8T_CANONICAL, which must exist if new signature was detected
2007-01-19 20:44:52 +00:00
Antony Dovgal
6dd9b26716 improve check configure for new version of utf8_mime2text() 2007-01-18 14:05:07 +00:00
Antony Dovgal
259562a1c7 use strlcat() 2007-01-18 14:03:24 +00:00
Andrei Zmievski
8500acc842 Fix IMAP check. 2007-01-08 18:23:23 +00:00
Sebastian Bergmann
3717df72ae Bump year. 2007-01-01 09:29:37 +00:00
Antony Dovgal
03aea51026 fix build 2006-12-25 15:28:44 +00:00
Ilia Alshanetsky
d98c67c89d MFB: Define SENDBUFLEN for older c-client libs 2006-12-25 14:23:38 +00:00
Ilia Alshanetsky
6fa038ae50 MFB: Fixed buffer boundary protection 2006-12-24 22:15:18 +00:00
Ilia Alshanetsky
503a78bc17 MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying
libc-client).
2006-12-17 18:23:10 +00:00
Ilia Alshanetsky
1c4d86e6d4 MFB: Fixed test, in some versions of c-client returned value is always
uppercase
2006-11-26 16:31:57 +00:00
Antony Dovgal
c5808d7029 fix #39613 (Possible segfault in imap initialization due to missing module dependency)
patch by wharmby at uk dot ibm dot com
2006-11-24 10:28:26 +00:00
Hannes Magnusson
859449b3a0 Enable the new 5th parameter 2006-11-06 16:33:31 +00:00
Ilia Alshanetsky
421e5687e3 MFB: Fixed bug #39362 (Added an option to imap_open/imap_reopen to control
the number of connection retries).
2006-11-05 18:32:41 +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
Antony Dovgal
e93802dc51 MFB: fix build with new c-client 2006-10-05 14:28:33 +00:00
Ilia Alshanetsky
9f21967f83 MFB: Fixed bug #38941 (imap extension does not compile against new version
of the imap library).
2006-09-24 18:06:53 +00:00
Antony Dovgal
6bf4579f82 fix it in an other way 2006-09-05 11:24:23 +00:00
Antony Dovgal
fcea7b3273 fix leak in imap_utf8(), avoid extra strlen() call
add test
2006-09-05 11:16:06 +00:00
Antony Dovgal
a10691e3b9 last portion of z/Z fixes 2006-08-31 16:14:43 +00:00
Ilia Alshanetsky
cd6521ce30 PHP 6 does not have safe_mode 2006-08-11 18:06:28 +00:00
Ilia Alshanetsky
bf4b74eb01 MFB: Extend safe_mode/open_basedir checks to imap_reopen() as well. 2006-08-11 15:09:43 +00:00
Ilia Alshanetsky
f2136c69c6 MFB: Fixed bug #37265 (Added missing safe_mode & open_basedir checks to
imap_body()).
2006-08-04 20:34:37 +00:00
Dmitry Stogov
943960c324 Added automatic module globals management 2006-06-13 13:12:20 +00:00
Andi Gutmans
1efe984d08 - Get rid of using ENFORCE_SAFE_MODE. 2006-02-19 04:29:42 +00:00
Michael Wallner
ec942cb2a6 MF51: use free() 2006-01-28 08:08:48 +00:00
Michael Wallner
ea5c551162 MF_5_1 2006-01-27 20:22:48 +00:00
Michael Wallner
a04e63543d - add imap_savebody() 2006-01-27 19:44:40 +00:00
Ilia Alshanetsky
501c081a80 MFB51: Fixed bug #35669 (imap_mail_compose() crashes with
multipart-multiboundary-email).
2006-01-05 00:51:34 +00:00
foobar
251c5173fd bump year and license version 2006-01-01 13:10:10 +00:00
foobar
a208d9a966 - Nuke php3 legacy 2005-12-06 02:28:26 +00:00
Ilia Alshanetsky
4f1520912c Fixed bug #32589 (possible crash inside imap_mail_compose() function). 2005-08-30 22:02:43 +00:00
foobar
df5cfe27b4 - Fixed bug #29334 (mail() provides incorrect message time header) 2005-08-07 22:06:29 +00:00
foobar
23e671a51e - Bumber up year 2005-08-03 14:08:58 +00:00
Edin Kadribasic
d8cf02edb3 Allow building against the latest cclient 2005-08-01 20:55:31 +00:00
foobar
a20383ba06 - Unify the "configure --help" texts 2005-05-29 23:17:16 +00:00
Ilia Alshanetsky
2fae7f1e71 Missing part of the patch for bug #32589 2005-04-08 15:04:34 +00:00
Ilia Alshanetsky
cb8d20760c Fixed bug #32589 (Possible crash inside imap_mail_compose, with charsets). 2005-04-05 14:47:47 +00:00
Ilia Alshanetsky
1aab604198 Simplify Code. 2005-02-20 18:23:33 +00:00
Antony Dovgal
c404bdb9f8 check body for NULL before using and prevent segfaults 2005-01-25 14:20:02 +00:00
Antony Dovgal
5e1b127864 destruct return_value 2005-01-21 10:55:41 +00:00
Antony Dovgal
84a8849a3a fix error message 2005-01-20 18:08:08 +00:00
Antony Dovgal
4f3e113e38 fix segfault in imap_sort() - it segfaults when options is less than 0.
it looks like c-client bug, but we still need a workaround.
also, convert_to_string search criteria.
2005-01-20 18:03:35 +00:00
Antony Dovgal
9812f55289 fix segfault in imap_headerinfo() when fromlength or subjectlength are less than 0
+ fix protos
2005-01-20 14:04:50 +00:00
Ilia Alshanetsky
c78db34489 Fixed bug #31142 (crash, memory leak and data loss by imap_mail_compose). 2005-01-18 23:36:08 +00:00
Ilia Alshanetsky
023c1bccb3 Fixed bug #31480 (Possible infinite loop in imap_mail_compose()). 2005-01-18 16:32:53 +00:00
foobar
b298098307 - Added check for IMAP 2005 version 2005-01-11 04:56:06 +00:00
foobar
5ac375a40d - Fixed bug #31101 (missing kerberos header file path with --with-openssl) 2004-12-30 14:50:06 +00:00
foobar
69eec3f3b9 MFB_4_3: Quote macro names in AC_DEFUN() 2004-12-30 07:08:39 +00:00
foobar
57eddbd7d0 - Fixed the crash and leak. 2004-12-30 05:31:55 +00:00
Ilia Alshanetsky
a7bc501d90 MFH: A leak is better(?) then a crash. 2004-12-30 04:39:17 +00:00
Ilia Alshanetsky
4bef3dde2d MFB: fixed test case 2004-12-30 04:11:33 +00:00
Ilia Alshanetsky
8f7f00178f Fixed typo. 2004-12-29 21:56:42 +00:00
Ilia Alshanetsky
ed64463bdb Fixed memory leaks. 2004-12-29 21:33:03 +00:00
Ilia Alshanetsky
742f8c2502 MFB: don't perform pointless operations. 2004-12-29 21:25:00 +00:00
Ilia Alshanetsky
b19e666946 Fixed bug #31142 (imap_mail_compose() fails to generate correct output). 2004-12-22 17:27:39 +00:00
Ilia Alshanetsky
4ab69902dc Fixed possible crash in imap_mail_compose(). 2004-12-21 15:47:14 +00:00
Ilia Alshanetsky
ec83570232 Fixed bug #31103 (Better error message when c-client cannot be found). 2004-12-19 18:16:50 +00:00
Joe Orton
2685ca935f Update extensions to use /path/to/$PHP_LIBDIR rather than /path/to/lib
to support multi-ABI platforms.
2004-11-03 14:32:52 +00:00
Chuck Hagenbuch
6639ab8469 More spaces -> tabs. 2004-08-12 19:31:36 +00:00
Ilia Alshanetsky
5b58b9af6b Properly fix the msgno check inside imap_fetchbody(). 2004-08-12 19:20:15 +00:00
Chuck Hagenbuch
0bf1525bc8 fix. 2004-08-12 18:01:45 +00:00
Ilia Alshanetsky
1c2a22025d Fixed bug #29209 (imap_fetchbody() doesn't check message index).
# Initial Patch by tony2001 at phpclub dot net
2004-07-21 21:57:03 +00:00
Ilia Alshanetsky
a41a54f7fa Fixed bug #28963 (Missing space for \0 in address allocation). 2004-07-04 16:52:59 +00:00
Ilia Alshanetsky
d6ba95c618 Fixed various possible memory leaks. 2004-05-12 20:17:19 +00:00
foobar
0bf907b1e6 - Added PHP_TEST_BUILD macro which can be used to test whether build
works / would work with current LIBS (+ additional extra-libs)
2004-02-23 03:24:58 +00:00
foobar
f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
foobar
2c71464b40 Fixed bug #26923 (ext/imap: pam and crypt libraries missing when build as shared) 2004-01-17 00:00:11 +00:00
Ilia Alshanetsky
827a79ad8d Fixed bug #26909 (crash in imap_mime_header_decode() when no encoding is
used).
2004-01-15 00:35:04 +00:00
Andi Gutmans
3286cb35bd - Remove use of bogus macro 2004-01-14 08:50:02 +00:00
foobar
ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans
dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
foobar
fa82c2afc4 Added missing constants (bug #26831) 2004-01-08 01:01:39 +00:00
Frank M. Kromann
3aad8267a8 No need for these trick when linking with a correct cclient.lib 2003-12-22 23:30:20 +00:00
Wez Furlong
a599438a73 detect c-client headers correctly using Edin's php-win32-dev layout 2003-12-19 12:53:41 +00:00
Frank M. Kromann
34a596b051 Adding config file for win32. This allows to build with c-client 2002e 2003-12-08 22:15:20 +00:00
Rasmus Lerdorf
8afe759fa8 proto fix 2003-11-13 20:55:00 +00:00
foobar
db50cd251e Aligned configure help texts. 2003-10-03 05:24:33 +00:00
Moriyoshi Koizumi
5fee3a3ce1 Alignment fix 2003-10-03 01:13:44 +00:00
foobar
dc080a5db6 - Always look into /usr/local before /usr
- Added breaks to make sure the preferred value is used.
2003-10-01 02:53:23 +00:00
Ilia Alshanetsky
526a3d9ce2 Always prefer user specified paths over the default /usr /usr/local.
This may fix compilation problems with on systems with multiple copies of
the same library.
2003-09-30 22:36:43 +00:00
Hartmut Holzgraefe
92b237f4c3 proto fix 2003-09-16 19:45:22 +00:00
Jon Parise
da7facc21b Register the TYPEMODEL constant from c-client's mail.h. 2003-09-04 07:47:58 +00:00
Ilia Alshanetsky
9d9727aac5 Fixed compiler warnings. 2003-08-28 19:17:34 +00:00
Ilia Alshanetsky
93bcd55eaf emalloc -> safe_emalloc 2003-08-12 00:58:52 +00:00
Ilia Alshanetsky
4151fd0453 One more typo ;) 2003-06-17 14:13:17 +00:00
Ilia Alshanetsky
4426338bf6 Fixed a typo in the check 2003-06-17 13:59:44 +00:00
Ilia Alshanetsky
df32619d63 Fixed bug #24150 (crash in imap_fetch_overview() &
imap_rfc822_write_address())
2003-06-16 17:41:52 +00:00
Andrey Hristov
9e9bd915aa proto fix 2003-06-16 13:39:56 +00:00
Ilia Alshanetsky
d75d52a571 Busted by the CS police. 2003-06-13 15:01:18 +00:00
Ilia Alshanetsky
de6c599504 Added missing function proto 2003-06-13 14:56:07 +00:00
Ilia Alshanetsky
17861b93bf Fixed bug #24161 (No timeout value for imap functions)
Added imap_timeout() that allows the user to specify as well as retrieve
timeout values and set default timeout values based on the
default_socket_timeout ini setting.
2003-06-13 14:39:22 +00:00
Ilia Alshanetsky
a17c5a5fbc Fixed bug #22505 (Allow imap_sort() and imap_search() to specify a charset) 2003-06-12 19:46:44 +00:00
James Cox
f68c7ff249 updating license information in the headers. 2003-06-10 20:04:29 +00:00
Dan Kalowsky
53c90b2344 Adding imap_getacl, patch provided by Holger Burbach
(holger.burbach@gonicus.de)
@  Adding imap_getacl functionality.  Function provided by Holger Burbach
2003-05-20 17:37:53 +00:00
Dan Kalowsky
99a616b0b9 NIL, NULL, same thing, but changing for consistency sake 2003-05-20 16:34:04 +00:00
Rasmus Lerdorf
e4ff6a5e8b Grr.. Who changed this file from tabs to spaces? 2003-05-10 17:14:47 +00:00
Rasmus Lerdorf
d9eab20c00 MFB 2003-05-10 17:13:58 +00:00
foobar
58491116fc - Fixed bug #23371 (configure falsely detects c-client using SSL) 2003-04-30 10:34:47 +00:00
Ilia Alshanetsky
56e44a4fc2 Fixed bug #22939 (crash in imap_header_info()). 2003-04-16 00:58:30 +00:00
Moriyoshi Koizumi
383808e9d3 Fixed proto to sync with the documentation 2003-03-31 20:36:46 +00:00