Commit Graph

104 Commits

Author SHA1 Message Date
Jeroen van Wolffelaar
21f2b9277f 3rd run in back-substitutin Z_* macro's. The val->Z_ cases are all solved now. 2001-09-26 08:35:48 +00:00
Jeroen van Wolffelaar
c033288573 Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know. 2001-09-25 21:58:48 +00:00
Derick Rethans
78747bd2df - Don't wrap lines... this is annoying while coding. 2001-09-09 13:29:31 +00:00
Chuck Hagenbuch
c1a8854993 add tail pointer to speed up imap_search (submitted by Rob Siemborski
<rjs3@andrew.cmu.edu>).
2001-08-16 20:13:27 +00:00
Andi Gutmans
9a3d4e736c - More ZE2 fixes 2001-08-13 16:13:25 +00:00
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
foobar
5019d3d4b9 Made use of the resource macros here too. And some beutifying. 2001-08-10 20:32:33 +00:00
Chuck Hagenbuch
a2b297bdf0 Add imap_setacl() function (Brian Masney <masneyb@seul.org>). 2001-08-10 18:32:56 +00:00
foobar
92ea7171c8 Changed the old skool resource stuff to use the Zend macros. 2001-08-08 02:55:07 +00:00
foobar
ecfcae02a6 Another TSRM fix. 2001-08-07 17:40:10 +00:00
foobar
e17f384ee7 Beutifying. Also made a check for IMAP-2001. 2001-08-07 16:18:05 +00:00
foobar
755723bb3a - This is not supposed to be used, from c-client docs (formats.txt):
#"The following file/message formats are supported by c-client as of
# the time of this writing:
#
#. mx    This is an experimental format, and may be removed in a future
#        release.  An mx format mailbox has a .mxindex file which holds
#        the message status and unique identifiers.  Messages are
#        stored in Internet standard CF LF form, so the file size of
#        the message file equals the size of the message.
#
#        mx is somewhat inefficient; the entire directory must be read
#        and each file stat()'d.  We found it intolerable for a
#        moderate sized mailbox (2000 messages) and have more or less
#        abandoned it."
2001-08-06 16:36:31 +00:00
foobar
654b4332c7 Some cleanup. Removed unnecessary duplicate #ifndef's. 2001-08-06 15:58:37 +00:00
foobar
b5e49a1ba8 removed unused function. (seems like a copy of imap_body) 2001-08-06 15:29:49 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
c43806f415 Zend compatibility patch 2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95 More TSRMLS_FETCH work, and a bit of cleanup 2001-07-30 06:18:13 +00:00
Zeev Suraski
d87cc976e1 Redesigned thread safety mechanism - nua nua 2001-07-28 11:36:37 +00:00
Zeev Suraski
0078ceec19 Fix an inline 2001-07-15 19:08:32 +00:00
Rasmus Lerdorf
81e2cf03ac Fix folding and clean up some extensions 2001-06-06 13:06:12 +00:00
Rasmus Lerdorf
25c3a3a39d vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Chuck Hagenbuch
093a807c11 Include the To: address in the overview information (already in the
envelope; it doesn't cost us anything).
2001-05-30 16:52:17 +00:00
Chuck Hagenbuch
8f27945621 imap_thread(), from Rob Siemborski <rjs3@andrew.cmu.edu>. 2001-05-29 15:34:18 +00:00
foobar
d1735d5ed5 This is not needed. ssl_onceonlyinit() is enough. 2001-05-27 18:38:59 +00:00
Stig Bakken
1beda9ee1e * include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build) 2001-05-24 10:07:29 +00:00
Chuck Hagenbuch
9434da33b5 make it possible to set the CHARSET parameter with imap_mail_compose()
(Johan Ekenberg <johan@ekenberg.se>)
2001-05-24 03:06:10 +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
Sascha Schumann
eba7a8c8e6 Fix broken build 2001-05-06 10:33:21 +00:00
foobar
9ce123076f Beutify phpinfo() output. 2001-05-06 06:14:12 +00:00
foobar
8d99685a4a Removed usused variables. 2001-05-06 05:38:46 +00:00
Chuck Hagenbuch
2f8eef81f5 Add support for in_reply_to header, and fix erealloc usage ("Johan Ekenberg"
<johan@ekenberg.se>).
2001-05-04 20:03:47 +00:00
Chuck Hagenbuch
3fc7a7aef7 add crash guard (valid message number check) to imap_body(). 2001-05-03 19:44:42 +00:00
Chuck Hagenbuch
d0af2440e6 removing references to IMSP module, which will probably never be ported to
php4 (lack of a publically available library implementing it).
2001-05-03 19:32:49 +00:00
Chuck Hagenbuch
5c0791fcac Fix for #8359. imap_fetchheader should never return the full message; the
FT_PREFETCHTEXT flag is just a hint to c-client that you'll be asking for
the message text next.
2001-05-03 19:18:48 +00:00
Andi Gutmans
7c5a45d69a - More strncpy() -> strlcpy() changes. mm_login() doesn't seem to be used
though.
2001-05-02 22:57:01 +00:00
Chuck Hagenbuch
ec1f342fac fix whitespace pollution 2001-05-02 17:46:44 +00:00
Chuck Hagenbuch
0ae4591ea2 Fixes and improvements to imap_mail_compose (Johan Ekenberg
<johan@ekenberg.se>)
2001-05-02 17:42:10 +00:00
Chuck Hagenbuch
9cb85f9933 Add support for cram-md5 authentication in imap_open(). 2001-05-02 17:30:30 +00:00
Andi Gutmans
1d3ef30714 - Fix crash bugs when rfc822_qprint and rfc822_base64 return NULL 2001-04-30 10:23:13 +00:00
Chuck Hagenbuch
029cd8a882 Fix for bug 9908: check that the result of mail_sort is not 0 before trying
to dereference the pointer. :)

Also, free sort programs - this might have been a memory leak.
2001-04-23 21:58:44 +00:00
Jon Parise
99b5477b90 Use tabs instead of spaces. 2001-04-08 01:13:07 +00:00
foobar
21d158229b Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762 2001-03-16 13:17:54 +00:00
Chuck Hagenbuch
e2f632e1f2 If php is compiled --with-imap-ssl, link in the SSL authenticator from
c-client so that we can use php to make ssl imap connections.
2001-03-01 07:06:54 +00:00
Dan Kalowsky
17444700d4 # Bad patch job on the last commit by me. I take the BAD_CODER award for
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be done about the PHP_MINFO_FUNCTION
2001-02-26 16:36:08 +00:00
Dan Kalowsky
d883ff47ed Correctly checks for the proper header files, and excludes the QUOTA functions
from non-imap2000 systems (unavailable for testing at this time).
# anyone willing to test this out on non-imap2000?
PR:
Submitted by:
Reviewed by: Sascha Schumann
Obtained from:
2001-02-26 15:17:12 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Dan Kalowsky
6b80554404 Updating the IMAP client to include quota support via the imap c-client2000 libraries.
# Y2K support is good...
Removes the SA_QUOTA and SA_QUOTA_ALL defines
# After speaking with Mark Crispin, it is believed these never existed.
Cleans up the imap_status() function to remove notion of quotas in a status message.
# There is no quota setting in a STATUS message from c-client.

Changes the config.m4 to support the client.h include
# This should include all the approriate headers for c-client (as defined by
# c-client maintainers) such as mail.h, and rfc822.h.
Changed the directory search order for the include files as well.
# Place the /usr/local/include last, and searched the
# /usr/local/include/{c-client|imap} directories first

(PHP imap_get_quota) Added
(PHP imap_set_quota) Added

@- IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
@  c-client2000

PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-25 04:41:18 +00:00
Thies C. Arntzen
7139926e84 fix possible leak. 2001-02-21 20:33:46 +00:00
Thies C. Arntzen
84c243d3cc fixed a possible double-free 2001-02-18 18:15:01 +00:00
Thies C. Arntzen
fc7d103b73 fixed possible leak in imap_search 2001-02-12 11:57:22 +00:00