Commit Graph

340 Commits

Author SHA1 Message Date
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
Sascha Schumann
4686a3b50e Use #ifdef COMPILE_DL_EXTNAME solely. 2000-05-23 09:33:51 +00:00
Sascha Schumann
0236982d6d s/COMPILE_DL/COMPILE_DL_EXTNAME/ for Windows build files. 2000-05-23 09:22:01 +00:00
Zeev Suraski
e043439ff6 Update the license with the new clause 6 2000-05-18 15:34:45 +00:00
Hartmut Holzgraefe
44845ea24b name in proto should be name of real function, not alias 2000-05-17 17:54:54 +00:00
Andi Gutmans
c88ccc49a1 - Remove unneeded object_init(return_value) from three places 2000-05-11 13:52:24 +00:00
Chuck Hagenbuch
fe22dc5ff8 fix for segfault. patch from Jade Nicoletti <nicoletti@nns.ch>. 2000-05-10 12:44:44 +00:00
Sascha Schumann
fe50664d4d #if COMPILE_DL
becomes

    #if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373 Replace the various get_module() functions with a uniform
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sascha Schumann
7613e064f8 Remove trailing empty lines 2000-05-01 22:38:42 +00:00
Sascha Schumann
0d36199cf9 Large test commit IV 2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0 Large commit test III 2000-05-01 22:00:09 +00:00
Sascha Schumann
a493cdc92c Large test commit II 2000-05-01 21:57:01 +00:00
Sascha Schumann
a481fddfb3 Improved in-tree shared libraries build system
The following new/revived shared modules are available now:

  ... MySQL (*)
  ... PCRE (*)
  ... Session
  ... SWF

  (*) capable of using bundled library or external library

All changes:

  The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
  This effectively means that all extensions have to use dynlib.

  ext/mysql/config.m4 was revamped.
  Uses LIB_BUILD for building bundled library.

  ext/pcre/config.m4 was revamped.
  Uses LIB_BUILD for building bundled library.

  ext/ext_skel was changed to reflect that more modules should be
  compileable as shared module.

  ext/Makefile.in has been simplified enormously.

  Dependencies are now stored in the build tree.

  Empty dependencies are not generated by buildconf anymore. They
  are now dynamically created during the build process.

  Implicit rules for .S were removed.

  The NO_RECURSION feature was removed.

  "libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Jouni Ahto
8e7a5098dd Debian 2.2 puts rfc822.h in /usr/include/c-client, check that place too. 2000-04-30 16:10:29 +00:00
Sascha Schumann
953fe189da Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
  (fixes Tru64 support)
* VPATH does not contain variables anymore
  (fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Sascha Schumann
58eaa24a90 Improve imap-lib check 2000-04-28 17:13:50 +00:00
Ted Rolle Jr
b7f2d80a28 Removed bug that prevented it to work on longer strings.
Changed commenting to c-style commenting.
2000-04-28 14:24:38 +00:00
Andrew Skalski
fc0813f11a * typecast fs_give parameter to void**
* removed wide-character treatment from imap_utf7_encode
* suggestion to #include "linkage.c" rather than link in auth/mail drivers
  manually
2000-04-24 22:21:34 +00:00
Frank M. Kromann
e297737cb1 Moving output files to common folder 2000-04-23 10:59:20 +00:00
Chuck Hagenbuch
4b78e0aca6 back off from high-performance api in imap_rfc822_parse_adrlist. if you
called it twice on the same string, there were _strange_ side effects. This
may be slower, but it works.
2000-04-22 20:54:07 +00:00
Zeev Suraski
ca10d9b2de Compile fixes 2000-04-20 23:35:28 +00:00
Zeev Suraski
389eca0c1b Add .txt files to .dsp's 2000-04-20 23:26:06 +00:00
Zeev Suraski
64c974e8b6 - Add the zlib project to the php_modules workspace, and fix it's C-runtime definitions
- Move IMAP to the high performance API
2000-04-20 17:48:22 +00:00
Zeev Suraski
149c7f2a8a - CHange macro names from Z to Z_ 2000-04-20 14:52:54 +00:00
Zeev Suraski
a918842f30 Fix, beautify and convert the IMAP module to the high performance API 2000-04-20 14:23:35 +00:00
Zeev Suraski
963d31198a Fix a couple of _ex()'s 2000-04-19 13:15:57 +00:00
Zeev Suraski
02f7ee57f7 - Fix many memory leaks in the IMAP module
- Begin migrating to the high performance API
2000-04-18 22:22:48 +00:00
Zeev Suraski
43e04d5a77 indent/beautify 2000-04-18 19:42:22 +00:00
Andrew Skalski
0a3482f213 fixed imap quota/relogin compilation errors 2000-04-17 19:28:58 +00:00
Ted Rolle Jr
b251a4778d Removed some compiler warnings. 2000-04-07 15:07:56 +00:00
Chuck Hagenbuch
0fc483fed6 cleaning up some small off-by-one errors and argcount follies. Can someone
take a look at the errors imap_mime_header_decode() generates when
compiling? I took a quick look, but don't have time to puzzle through that
code.
2000-04-07 04:43:26 +00:00
Colin Viebrock
5115342c6e More phpinfo() prettying.
Can someone check my code for the interbase
support, and I need someone else to decode the LDAP stuff ... it's beyond
me.
2000-04-06 16:57:33 +00:00
Chuck Hagenbuch
44e178e089 return false after determining that a message number is bad, instead of
going on to crash.
2000-04-04 18:10:24 +00:00
Chuck Hagenbuch
8153dc5772 update function protos. should all be there now 2000-04-04 00:51:38 +00:00
Zeev Suraski
c43fe80d6f @- Fix crash resulting from IMAP's error handling (Stanislav) 2000-04-03 19:00:34 +00:00
Zeev Suraski
d0395d6f5b *** empty log message *** 2000-04-03 18:50:50 +00:00
Andi Gutmans
2f41e1b979 - Fix typo 2000-04-03 17:00:01 +00:00
Zeev Suraski
18e0850ba1 @- Add $HTTP_POST_FILES[filename][tmp_name] - it was previously impossible to
@  retrieve the temporary name of an uploaded file using $HTTP_POST_FILES[] (Zeev)
- Changed IMAP Win32 definitions
2000-04-02 21:27:32 +00:00
Zeev Suraski
eefbe904b2 *** empty log message *** 2000-04-01 22:31:20 +00:00
Zeev Suraski
fc8c923bb2 Oh yeah, committing these would be a good idea:) 2000-04-01 16:49:39 +00:00
Zeev Suraski
06dab5e7e5 Several fixes 2000-04-01 16:48:08 +00:00
Zeev Suraski
491a315c11 @- Made the IMAP and LDAP modules compilable under Windows and thread-safe (Zeev) 2000-04-01 16:23:39 +00:00
Zeev Suraski
a82b3034b1 Several fixes, plus remove bindlib_w32 (it's more trouble than it's worth) 2000-03-31 19:46:35 +00:00
Chuck Hagenbuch
db546462b6 imap_clearflag_full now returns true appropriately. 2000-03-26 04:34:05 +00:00
Egon Schmid
48fc7c447f Fixed a proto. 2000-03-20 06:46:58 +00:00
Ted Rolle Jr
d5ad9de048 Added new function: imap_mime_header_decode
Decodes mime header elements in accordance with RFC 2047.
2000-03-19 22:59:08 +00:00
Hartmut Holzgraefe
553eb2391d I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
I SHALL NOT TOUCH MY EMACS BETWEEN COMPILE AND CHECKIN !!!
2000-03-14 20:41:31 +00:00
Hartmut Holzgraefe
b19d1bdb0f imap_utf7_encode didn't expand international characters to 16bit
before coding
imap_fetch_overview could crash when some fields where missing
imap_fetch_overview will now take msg indices for default and
   UIDs by optional flag, as the other functions in the family
2000-03-14 20:20:43 +00:00
Chuck Hagenbuch
65b6639481 Adding imap_rfc822_parse_headers(). This function lets you grab mail headers
from anywhere - a saved message in an archive, a pop server, a database, etc
- and parse them into an object similar to what imap_headerinfo() returns.
It's just missing the flag info and other things that only come from the
IMAP server.

In the process of doing this, I seperated some more code out into a support
function - _php_make_header_object() - since it was used in multiple
functions. The module is slowly getting well organized.
2000-03-12 20:47:21 +00:00
Andi Gutmans
05aa5cb831 - Guessing this is the problem 2000-03-12 17:49:08 +00:00
Andi Gutmans
649d8721db - Oops I commited a name change for consistency of Zend/modules.h to
Zend/zend_modules.h before it being finished. Revert it
2000-03-11 20:57:35 +00:00
Andi Gutmans
9dca788ca0 - Don't define DEBUG anymore. Everyone should use PHP_DEBUG.
There are 2-3 third-party libs in PHP which use DEBUG and I left them
  this way (primary example is pcrelib).
- Please test things and Andrei, can you check that pcrelib stopped
  printing the warning messages?
2000-03-11 20:48:49 +00:00
Stig Bakken
d02fe90b00 Change extension names in all extensions' zend_module_entry to their
directory name.
2000-03-06 18:44:01 +00:00
Hartmut Holzgraefe
dedd0eb898 SuSE 6.3 imap.rpm puts the library into /usr/lib and the include files into /usr/include/imap 2000-03-05 19:48:23 +00:00
Chuck Hagenbuch
9ade072706 adding the fix for bug #3685 to php4 as well. 2000-03-03 21:57:26 +00:00
Sascha Schumann
6401dc10b2 make it work 2000-03-03 12:12:01 +00:00
Sascha Schumann
51e6ab21d7 Better lib check 2000-03-03 11:54:07 +00:00
Sascha Schumann
2139099781 Also consider $i/include while searching for rfc822.h 2000-03-03 11:47:13 +00:00
Chuck Hagenbuch
9f3c8ffeb0 Fix compile warnings. 2000-03-01 01:43:26 +00:00
Chuck Hagenbuch
f19fe37dec Add _php_imap_parse_address(), which replaces a lot of duplicated,
hard-to-follow code in imap_headerinfo(). This code also happened to be
broken, causing the $h->to, $h->from, etc arrays to contain only the first
address, not every address. This is fixed now.
2000-03-01 01:35:15 +00:00
Chuck Hagenbuch
e37ddc1368 Fix Bug #3632 - sanity check to not access a message that doesn't exist. 2000-02-29 19:58:31 +00:00
Sascha Schumann
cc91e5ea64 Automatically try to symlink c-client.a to libc-client.a, so people
can avoid changing things.
2000-02-29 13:21:51 +00:00
Sascha Schumann
a05db57374 Rewrite IMAP checks. This should solve the problems people had with
shared imap libs
2000-02-29 13:12:48 +00:00
Chuck Hagenbuch
d3d45277a1 fixing segfaults in imap_getmailboxes and imap_getsubscribed. 2000-02-28 21:03:08 +00:00
Chuck Hagenbuch
3a59390e9d fixing imap_undelete to accept 2 or 3 arguments, not 3 or 4. 2000-02-26 06:58:15 +00:00
Egon Schmid
18fee17d38 More protos. 2000-02-22 16:46:40 +00:00
Chuck Hagenbuch
13f27d8063 being accountable for the imap and mcal work that I've done (and adding an
MCAL credits line)
2000-02-21 14:50:41 +00:00
Zeev Suraski
9b621d1c8f Get the license right... (this won't make it to RC1 of B4) 2000-02-19 23:21:46 +00:00
Chuck Hagenbuch
f27920214c fixing imap_delete. All of the argcount checks were against one integer too
high.
2000-02-18 01:56:01 +00:00
Zeev Suraski
ae22fe4c52 - Update .dsp's
- Fix a possible crash bug in failed file open error message
- Fix SAPI initialization issue that could lead to a crash
2000-02-18 01:52:11 +00:00
Chuck Hagenbuch
ea459657d1 adding a missing PHP_FALIAS to imap_listsubscribed() 2000-02-15 20:06:53 +00:00
Hartmut Holzgraefe
f4c778ff04 imap_delet(),imap_undelete() and imap_move() will now optionaly accept UDIs 2000-02-14 13:09:51 +00:00
Sascha Schumann
0036b8bba0 #if WIN.* => #ifdef PHP_WIN32
#if !(WIN.* => #ifndef PHP_WIN32
2000-02-12 14:38:31 +00:00
Zeev Suraski
80bdd19e03 Fine tune Andi's patch 2000-02-11 15:59:30 +00:00
Andi Gutmans
1c7f36465b - A few more 2000-02-10 22:00:52 +00:00
Zeev Suraski
2460569ccb Change string->str where possible; string is basic a C++ class, so gdb can't look
inside variables named 'string'.
2000-02-08 22:21:43 +00:00
Hartmut Holzgraefe
ce62bbb674 another re-sync with the PHP3 tree
imap_mail deactivated for win builds, as the files
win32/imap_sendmail.c  win32/imap_sendmail.h from
PHP3 are still missing
2000-02-07 15:52:47 +00:00
Zeev Suraski
82dbc9c74f Get Win32 IMAP DLL to compile 2000-02-05 19:22:17 +00:00
Zeev Suraski
bf609338ae Fix 2000-02-05 17:09:00 +00:00
Sascha Schumann
43ae2bffbb Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
2000-01-01 01:32:05 +00:00
Sascha Schumann
cf5a5fb1dd Whoops, defining them to empty values generates many parse errors.
Defaulting to 1.
1999-12-30 04:52:19 +00:00
Sascha Schumann
2c99bef442 Get rid of config.h.stub. Note that you should embed a comment about
what the respective define does into the AC_DEFINE macro. I.e.

AC_DEFINE(HAVE_FOO, 1, [Whether you have FOO])
1999-12-30 04:07:46 +00:00
Sascha Schumann
f2f8d38efa Integration of -ng changes. Changes:
- added support for externally built modules,
- improved support for in-tree shared modules,
- fixed diversion bugs,
- configure displays some informative messages,
- faster static build
  (libtool isn't used anymore for compiling non-PIC objects),
- dependencies comparable to automake's without requiring GNU make or GCC,
- working make clean for non-GNU makes.
1999-12-30 02:59:53 +00:00
Thies C. Arntzen
eb1927d94e non-ZTS fix 1999-12-28 12:14:18 +00:00
Thies C. Arntzen
337bcc7014 ZTS fix 1999-12-23 12:46:25 +00:00
Egon Schmid
5eba3fbd34 Corrected some protos. 1999-12-20 13:28:17 +00:00
Hartmut Holzgraefe
a4c22c8b3a IMAP should now be in sync with its PHP3 counterpart 1999-12-20 11:10:33 +00:00
Hartmut Holzgraefe
9947223800 replaced PHP_FE by PHP_FALIAS in imap_functions[] where appropriate 1999-12-19 16:31:26 +00:00
Zeev Suraski
ea20775565 More php3_ cleanup 1999-12-18 11:59:43 +00:00
Zeev Suraski
fb1c77bd4f - Made PHP_VERSION and PHP_OS work again
- More php3_ cleanup
@- Restored the PHP_VERSION and PHP_OS constants (Zeev)
1999-12-17 20:55:31 +00:00
Zeev Suraski
a3c6514332 More php3_ annihilation 1999-12-17 19:51:39 +00:00
Hartmut Holzgraefe
9ebd037226 merged in imap_search() from the PHP3 tree
more ( like imap_lasterror() ) will follow
1999-12-17 18:30:06 +00:00
Rasmus Lerdorf
b9e59b296d # another oops 1999-11-30 22:54:16 +00:00
Rasmus Lerdorf
51572c2dcd # Oops 1999-11-30 22:24:11 +00:00
Rasmus Lerdorf
3bbe1e6a55 Kill some warnings 1999-11-30 22:18:40 +00:00
Sascha Schumann
3dc7757a99 Remove the extra INCLUDES line from most automake Mafiles. This is not
necessary, because we can change the value of INCLUDES globally in one
place (configure.in).

Also add two defines in thread-safe mode
(_REENTRANT and POSIX_PTHREAD_SEMANTICS)
1999-11-13 12:41:09 +00:00
Chuck Hagenbuch
fa09e56a43 Trying to clean up the last of the body->id/body->description confusion. 1999-11-01 16:44:36 +00:00
Rasmus Lerdorf
5175c71cc0 Fix typo found by hholzgra@media-engineering.de 1999-10-29 21:00:43 +00:00
Sascha Schumann
232afa4816 * archive-based convenience libraries completely replaced
with libtool components

        * SAPI targets can enable thread-safe mode and define
          shared/static/program build target

        * all configure scripts use the same config.cache

        * phplibdir is $(top_builddir)/modules to avoid
          permission problems

        * sapi/*/Makefile.inc are gone

        * runpath handling cleaned up

        * top-level Makefile.in obsoleted through Makefile.am

        * --enable-versioning uses libtool's cleaner and more
          portable -export-symbols feature
1999-10-04 15:18:26 +00:00
Chuck Hagenbuch
9221981fa3 cjh: closing bug #2407. 1999-09-29 21:18:35 +00:00
Sascha Schumann
e20af627c2 improve short help messages 1999-09-16 15:35:49 +00:00
Zeev Suraski
afb0c684dc Tiny fixes 1999-08-27 04:39:19 +00:00
Mark Musone
6821da54f8 lets not make global functions unless we need to..actually this should be taken out someday 1999-08-27 04:22:39 +00:00
Chuck Hagenbuch
869c196fa0 cjh: fixing the imap_add_body crash in php4. 1999-08-18 17:19:20 +00:00
Zeev Suraski
3cb1eb0471 Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
1999-08-02 19:17:14 +00:00
Andrey Hristov
05585132ca More symbol work. 1999-08-02 15:02:52 +00:00
Zeev Suraski
7297f5196e Final IMAP fixes 1999-08-01 00:25:58 +00:00
Zeev Suraski
2dda8d7f97 More IMAP fixes 1999-07-31 20:21:07 +00:00
Zeev Suraski
338405d343 Declaration fix 1999-07-31 10:38:33 +00:00
Zeev Suraski
ba290e05a8 Ok, that should be a good start. Can somebody verify that this actually compiles,
and perhaps check if it runs?
1999-07-30 23:36:20 +00:00
Zeev Suraski
6aefb8bae3 Early steps towards making the IMAP module PHP 4.0 compatible
(and readable - indent people, INDENT)
1999-07-30 23:14:01 +00:00
Stig Bakken
57f0f15b9f Debian fixes 1999-07-21 14:43:12 +00:00
Zeev Suraski
c5724cbd14 License update 1999-07-16 13:13:16 +00:00
Rasmus Lerdorf
895cab2838 A useless check 1999-07-15 12:42:46 +00:00
Rasmus Lerdorf
0fa438a22a Fix imap build problem 1999-07-14 19:16:59 +00:00
Rasmus Lerdorf
d22cbad17d Fix logic here - the error message was bogus when it couldn't find the
imap lib
1999-07-14 15:22:02 +00:00
Sascha Schumann
b57dc27595 - run ext sources through conv_proto
- add necessary phpext_*_ptr
1999-05-21 10:06:25 +00:00
Zeev Suraski
6f7c0edee3 Remove tls.[ch] 1999-04-23 20:06:01 +00:00
Zeev Suraski
f53afa6edd cleanups 1999-04-23 19:50:29 +00:00
Rasmus Lerdorf
af3f73f7a3 This is generated 1999-04-22 04:42:58 +00:00
Rasmus Lerdorf
77cdb5f483 Bring imap build rules up to date. We still have a problem here though.
In this new build structure we are adding libraries to $LIBS as we add
modules instead of doing an AC_SUBST into the Makefile.  One reason for
doing the subst in php3 was to get around the libraries that could not
be included in $LIBS because doing so would mess up the various configure
tests.  For example, you can't do a -limap as part of the various simple
configure compile programs because -limap requires a bunch of callback
symbols to be present.
1999-04-22 04:21:08 +00:00
Stig Bakken
2c0ad3ee25 last bunch of extensions moving to ext/
fhttpd module taken out of functions, functions is ready to go.
The only extensions I have tested are gd+freetype and odbc(solid).
Please try compiling in your favourite extensions and let me know how it
works.
1999-04-22 02:48:28 +00:00
Stig Bakken
2a78f92804 moved imap and ldap 1999-04-22 00:45:14 +00:00