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
foobar
98b19bbe7e
Fixed bug #22616 (Wrong order of -lssl and -lcrypto with IMAP)
2003-03-11 02:11:57 +00:00
foobar
de54cd0a08
Fix for bug #22353
2003-02-23 08:14:25 +00:00
Wez Furlong
0a18a9d744
A add much more useful select(2) implementation than is provided by
...
windows sockets. The winsock implementation will only work with sockets;
our implementation works with sockets and file descriptors.
By association, stream_select() will now operate correctly with files, pipes and sockets.
This change required linking against the winsock2 library. In terms of
compatibility, only older versions of windows 95 do not have winsock2
installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user.
Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
2003-02-16 03:48:49 +00:00
Ilia Alshanetsky
246a075624
Fixed bug #22048 (crash in imap_headers when the e-mail contains an
...
abnormally large number of special characters).
2003-02-11 22:57:22 +00:00
Ilia Alshanetsky
065e4d6550
Fixed bug #22022 (Crash in imap_mail_compose() if the body is an empty array).
2003-02-03 21:24:32 +00:00
Ilia Alshanetsky
453368afdf
Removed pointless checks.
2003-01-30 02:33:16 +00:00
foobar
68ffe71a12
fix some typos
2003-01-28 06:56:32 +00:00
foobar
4dfc7cc87c
- Fixed stupid typo..
...
# I will test before commit, I will test before commit...
2003-01-24 10:12:55 +00:00
foobar
e1c985d9a7
Fix bug: #21817 (only enable this if --with-kerberos is used)
2003-01-23 16:29:49 +00:00
Ilia Alshanetsky
053023a71e
quota function fixes. Thanks Wez.
2003-01-20 21:28:09 +00:00
Ilia Alshanetsky
20925f97b9
Changed php_error to php_error_docref.
...
Removed pointless memory allocation checks.
Memory leak fix inside quota functions.
2003-01-20 19:41:58 +00:00
foobar
83e9f23182
Fix bug: #21687 , imap extension does not include gss authentication mechanism
2003-01-18 07:00:47 +00:00
Ilia Alshanetsky
fb6517e8ab
Fixed memory leaks in imap_get_quota & imap_get_quotaroot.
...
Removed pointless checks around array_init().
2003-01-17 16:07:39 +00:00
Marcus Boerger
fff1c67b56
Fix ZTS-ZE2 build
2003-01-04 20:06:32 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Sascha Schumann
955b27cd64
Fix order of library additions, so that the imap extension now builds
...
successfully with static imap/ssl libs. configure was already failing
before.
2002-12-28 15:33:25 +00:00
Frank M. Kromann
7f3783ec15
fixing code style
2002-12-07 06:05:06 +00:00
Frank M. Kromann
0d812352be
Fixing a possible strcat on a NULL pointer
2002-12-06 22:52:31 +00:00
Frank M. Kromann
7afd92792b
Fix the use of "personal" information in To and Cc headers
2002-11-30 21:49:20 +00:00
Frank M. Kromann
7abdf90a0e
free alocated mem.
...
minor changes in the layout
2002-11-27 18:52:31 +00:00
Frank M. Kromann
a2bf03ccea
Avoid , at the end of each string (to, cc and bcc)
2002-11-26 07:04:31 +00:00
Hartmut Holzgraefe
8bd550825f
email address change
2002-11-25 12:30:28 +00:00
foobar
4dabb162d0
- Added searching for Kerberos libs in default locations if no path is
...
given for --with-kerberos.
# Marcus, please try this. :)
2002-11-01 16:45:59 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
Markus Fischer
121d4d1ef0
- Fix protos (resource instead of int for stream_id, fix some return protos,
...
consistent usage of options instead of flags).
- Make imap_ping,imap_setquota and imap_setacl return a real (bool) now.
2002-10-09 09:20:46 +00:00
Ilia Alshanetsky
e672ce4ccc
Fixed bug #19280
2002-10-08 20:07:52 +00:00
Dan Kalowsky
25a908f41a
white space fix
2002-09-19 02:32:48 +00:00
Dan Kalowsky
3ae9127b46
Patch for Bug #19402 provided by Kevin Way (kevin.way@overtone.org)
2002-09-18 11:57:17 +00:00
Dan Kalowsky
e1fe1e189c
missed one section for #15630
2002-09-09 21:01:33 +00:00
Dan Kalowsky
7ac1397636
Correcting english in config
2002-08-20 23:08:24 +00:00
foobar
2ae84184d3
ws fixes
2002-08-16 23:25:53 +00:00
Dan Kalowsky
26e044a143
Silence a compiler warning, and returns the SUCCESS value on PHP_MINIT
2002-08-16 16:56:55 +00:00
Dan Kalowsky
c55d024c29
Comming a fix for a compile error found in Bug #15630
...
# NOTE this is NOT the supplied patch in said bug for fixing imap_utf7_decode
2002-08-14 20:55:11 +00:00
Dan Kalowsky
61fc6e766f
Removing the imap_popen command... because as Jani puts it "it never worked
...
and it never will work" until IMAP servers support this feature.
2002-08-05 21:53:09 +00:00
Dan Kalowsky
d4ec2c30a0
Cleaning up the imap_get_quotaroot return array to remove useless data
2002-08-03 14:48:47 +00:00
Dan Kalowsky
f08a51f05a
Adding in some BC for users to imap_get_quota() function
2002-08-01 14:47:48 +00:00
Dan Kalowsky
7f30227181
removing the useless +1's on sizeof() and adding the mail_parameter for the
...
getquot inside the imap_get_quotaroot function. thank Jani.
2002-07-31 01:03:31 +00:00
Dan Kalowsky
579d1b6a28
fixes a typo in the word "limit", adds the null character to the strlen,
...
and seems to make imap_get_quotaroot return the correct values despite
cclients claim of "getquotaroot list improper".
2002-07-30 23:16:11 +00:00
Dan Kalowsky
b53b76335f
forgot to make the same change to imap_get_quota...
2002-07-26 17:08:05 +00:00
Dan Kalowsky
05f3881995
Minor memory fix suggested by Zeev
2002-07-26 16:59:11 +00:00
Dan Kalowsky
9f3f613642
Adding initial support for PHP imap_get_quotaroot
...
# apparently c-client does not like Cyrus's GETQUOTAROOT return list this
# is still be worked out, but all functionality should be there
# Return array is still not very organized
2002-07-26 16:26:01 +00:00
Dan Kalowsky
0ccc2207bf
(PHP imap_get_quota) updated to properly reflect the RFC 2087 as per
...
bug #14673
@- imap_get_quota now allows multiple resource values to be returned, as
per RFC 2087, closes bug #14673 (kalowsky, Sander Steffann)
2002-07-26 16:22:43 +00:00
foobar
df3ae7ca85
Fixed bug: #18561 .
2002-07-25 11:33:21 +00:00
foobar
7b0b6d0b8c
Bail out the given path does not have the libraries in it.
2002-07-12 22:11:54 +00:00
foobar
93f9acbffa
Make configure stop if something is wrong with libraries/linking.
2002-07-12 12:13:45 +00:00
Frank M. Kromann
d305126002
Make sure To addresses are parsed correct with RFC822.
2002-07-02 23:45:32 +00:00
Frank M. Kromann
407a0ec66a
Switch from imap_sendmail.* to sendmail.c under Win32
2002-07-02 19:29:15 +00:00
Derick Rethans
ea7653f667
- Fix TSRM gotcha
2002-06-28 14:35:20 +00:00
Derick Rethans
b7ffa6033b
Unify error messages
2002-06-28 10:52:11 +00:00
foobar
c8f3357586
- Fixed bug: #15595 (and possibly others too)
2002-06-27 22:16:53 +00:00
foobar
e6921a7b23
- Cleaning up the mess..these are NOT zvals.
2002-06-27 01:47:36 +00:00
foobar
7eb0741a68
- Fixed bug: #17999
...
- The errors should always be stored, but they are not supposed to be
shown at request shutdown unless E_NOTICES are allowed.
2002-06-26 23:28:31 +00:00
Sterling Hughes
8a04592352
standardize a bit (we know its enabled :)
2002-06-23 22:44:29 +00:00
Derick Rethans
1233f27eec
- Fix for bug #14410 (Patch by C. McCohy <mccohy@kyberdigi.cz>).
2002-06-13 06:32:14 +00:00
Stefan Roehrich
506282af5c
WS change to make very old compilers/preprocessors (e.g. HP/UX 9)
...
happy (thanks to Andreas Ley for recognizing this).
2002-06-01 20:14:58 +00:00
Derick Rethans
b049f9bf17
- Fix for bug #17503
2002-05-29 08:40:43 +00:00
Jon Parise
9ec5aa9a92
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>
2002-05-13 00:29:22 +00:00
Jon Parise
066d417d69
@Improve IMAP performance when dealing with large mailboxes.
...
Submitted by: Rob Siemborski <rjs3@andrew.cmu.edu>
2002-05-12 20:53:25 +00:00
foobar
0d7b1a4e94
- Do the ssl_onceonlyinit() as last. This is how c-client creates
...
the linkage.c (used by Pine).
2002-04-24 15:29:52 +00:00
foobar
8d151063d3
Be a bit more verbose about what was not found.
2002-04-02 00:04:53 +00:00
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Derick Rethans
ddf0fac996
- fix bug #16008
2002-03-11 23:11:04 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Vlad Krupin
8df03e2814
Fixed segfault in imap_bodystruct() when called with an invalid message
...
number. Now it fails with a warning instead.
2002-01-12 05:39:07 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Thies C. Arntzen
9fff2f7bbe
fix #13801 (imap_rfc822_parse_adrlist changes arg1)
2001-12-07 16:48:36 +00:00
Frank M. Kromann
08978fc3f4
Enable imap_mail() on win32
2001-12-04 18:47:32 +00:00
Andi Gutmans
67122717a4
- Nuke REGISTER_MAIN_*. Extension maintainers please make sure I didn't
...
- change something I wasn't supposed to. It should be fine IMO.
2001-12-03 20:54:23 +00:00
Zeev Suraski
9950eaecd7
Honor error_reporting (in general and @ in particular) for IMAP notices
2001-11-24 15:32:00 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
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
Sascha Schumann
8ab1c2aa44
nuke some apparently harmful spaces
2001-08-21 11:02:42 +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
Thies C. Arntzen
402f91fa2d
calling mail_open() causes a SEGFAULT when using imap-2000c. mail_open(0,"",0);
...
seems to work.
2001-08-04 10:50:55 +00:00
Jon Parise
74b4b08b7b
Don't blindly assume -lc-client when linking 'conftest'.
2001-08-03 19:36:58 +00:00
foobar
f9e375f493
Changed the PHP_ADD_LIBRARY_DEFER() to work when building
...
standalone extensions. Also improved the checks for SSL and Kerberos in
IMAP extension configure.
2001-08-03 05:17:18 +00:00
foobar
e069610c09
Add missing header.
2001-08-03 04:56:09 +00:00
Thies C. Arntzen
36a0e6369d
not too sure about this:
...
the uw-imap lib is usually called libc-client.a - kde comes with a libimap.a
which (when used instead of libc-client.a) will break the build. so
i have reversed the detection for the imap-libs - 1st look for the variations
of libc-client and (if 'em are not found) try -limap. i hope this breaks
nobodies setup!
we should really add a AC_TRY_COMPILE for all extensions that get added thru
configure!
2001-08-02 11:23:01 +00:00
foobar
a440989150
Added help texts for --with-imap-ssl|kerberos.
2001-07-31 14:37:40 +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
foobar
9813454356
This test won't work without these libs. Also, it might fail for other
...
reasons too.
2001-06-26 05:50:42 +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
foobar
920da9ef68
this fixes a few apache can not start bugs.
2001-05-22 00:39:17 +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
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
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
foobar
3a56faeec9
Attempt to fix the build when a c-client lib with kerberos, pam and ssl
...
is used.
2001-05-06 20:16:49 +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
60ad79335c
Added a check that libc-client support SSL.
2001-05-06 05:39:16 +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
6aabc2c9d4
Statements end with a period.
2001-04-10 17:31:35 +00:00
Jon Parise
99b5477b90
Use tabs instead of spaces.
2001-04-08 01:13:07 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +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
63ec8d7eaf
#adding name to credits. nothing to see here, keep moving.
...
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-28 01:02:48 +00:00
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
...
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
2001-02-26 18:14:50 +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
Sascha Schumann
3f2a3a9b01
Fix ZTS build which was broken by the last commit
2001-01-07 12:22:50 +00:00
foobar
dd2cd995cb
imap_user and imap_password were freed too early.
...
PR: 8424
2001-01-07 07:47:46 +00:00
Zeev Suraski
aa6d2ac5d0
Heads up people!
...
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
Chuck Hagenbuch
a9a1553031
[whitespace] make this code a bit less dense.
2000-12-10 19:18:34 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Chuck Hagenbuch
f9606d82fa
add an optional parameter to imap_sort to specify a search program that
...
messages must match to be included in the sorted list.
2000-10-19 01:32:50 +00:00
Chuck Hagenbuch
e058cb0648
fix imap_fetchstructure(). msgindex is not valid if we're using FT_UID;
...
always use Z_LVAL_PP(msgno) in the actual c-client function call.
2000-10-17 16:11:26 +00:00
foobar
6e09d7cb53
*** empty log message ***
2000-10-17 15:42:05 +00:00
Rasmus Lerdorf
ff9946b264
Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
...
@Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
@(Rasmus)
2000-10-02 22:16:53 +00:00
Chuck Hagenbuch
22edfd2b3b
check the range of message numbers in imap_uid.
2000-09-09 20:26:15 +00:00
Zeev Suraski
c542f9a3f4
- Fix IMAP build problem
...
- Allow external DLLs to use warn_not_available
2000-08-24 18:49:49 +00:00
Daniel Beulshausen
b6f0d041f9
deleted a few unnecceasary defines and added the Release_TS_Inline path to the libpath
2000-08-24 17:48:30 +00:00
Chuck Hagenbuch
3a1b4fda7e
Fix a crash in imap_fetchheader(). FT_PREFETCHTEXT isn't the only flag that
...
you can pass to mail_fetchheader_full().
2000-08-22 02:35:30 +00:00
Chuck Hagenbuch
c4b2498bae
use estrndup and efree to hopefully avoid both munging of arguments and
...
leaking memory.
2000-08-18 16:02:27 +00:00
Chuck Hagenbuch
b436f97a53
prevent mail_criteria from munging the variable passed in containing the
...
query - just had to add a cpystr(). if this isn't the right fix, let me
know, but it does work.
2000-08-17 16:01:14 +00:00
Joey Smith
a2cb77aa82
Cut and paste error? :)
2000-08-10 17:38:14 +00:00
foobar
472c727186
Added missing 'subject'-key in envelope.
...
# I'm starting to think imap_mail_compose() should be rewritten from scratch..
2000-08-08 21:16:09 +00:00
Sascha Schumann
cbc4b24a7a
Enable building PHP against kerberized IMAP libraries
2000-08-01 15:24:56 +00:00
foobar
ab13d02d53
@- Fixed bug in imap_fetchheader() where using FT_PREFETCHTEXT didn't return
...
@ the body. Bug #4447 . (Jani)
2000-08-01 09:11:46 +00:00
foobar
5fdc09fb36
@- Fixed bug in imap_compose_mail() which caused crashes. (Jani)
...
# This one was only partly ported from php3. As some user pointed it out,
# it was working in 3.0.x. But this needs further hacking. Some error
# handlers, at least. Fixes bugs #3337 and #5084 .
2000-07-29 18:45:06 +00:00
Hartmut Holzgraefe
d4936d8fcf
column size for date in imap_headers increased (see bug id #5699 )
2000-07-21 15:50:37 +00:00
Mike Waychison
99b85d1919
(imap_mail) Fixed a sizing of the arg parameter array. Was causing
...
Seg-Faults if rpath was specified.
@ Fixed a bug with imap_mail where apache would segfault if the rpath
@ parameter was specified.
# ouch.
2000-07-14 08:12:53 +00:00
Sascha Schumann
cd754d7825
Rename macros which begin with underscore to appropiate macros. The general
...
rule is:
macro_name=`echo $filename|tr a-z A-Z|sed 's/\./_/'`
2000-07-03 00:41:19 +00:00
Zeev Suraski
1be47784eb
imap_sendmail.[ch] are missing... Whomever added them, please cvs add them and then
...
readd them to the project...
2000-06-25 18:29:05 +00:00
Sascha Schumann
8741aa825d
Unbreak imap by fixing the assignment
2000-06-19 21:35:01 +00:00
Andi Gutmans
b831ca7d64
- Fixed problem in imap_fetch_overview
2000-06-19 04:33:40 +00:00
Egon Schmid
6e815b76ea
Some protos fixed.
2000-06-18 16:31:52 +00:00
Hartmut Holzgraefe
95ca9db755
retro-patch from // comments, theese where private experimental changes
2000-06-16 18:42:56 +00:00
Hartmut Holzgraefe
87a491d7b6
C++ // comments are evil ...
2000-06-16 18:24:02 +00:00
Chuck Hagenbuch
2db5dc37c8
patch from jtaskine@hit.fi - add deleted info to imap_mailboxmsginfo() and
...
fix some prototype info.
2000-06-15 03:02:36 +00:00
Thies C. Arntzen
4292f89345
no c++ comments, please
2000-06-14 12:28:21 +00:00
Frank M. Kromann
a52af6cd7c
making imap module compile on win32 with new directory structure
2000-06-12 20:32:52 +00:00
Chuck Hagenbuch
a4146cc890
patch for redhat 6.2 from Teodor Cimpoesu <teo@digiro.net>.
2000-06-01 20:19:26 +00:00
Frank M. Kromann
640c8226aa
Making imap module compile on win32 and include imap_mail() function)
2000-05-30 22:13:09 +00:00
Sascha Schumann
d348a83a72
Make imap extension buildable as shared module.
2000-05-23 23:36:44 +00:00