Commit Graph

5292 Commits

Author SHA1 Message Date
Harald Radi
3d0ab1236f hum, wasn't $foo->bar 's property type OE_IS_METHOD ? 2001-08-20 08:52:49 +00:00
Sergey Kartashoff
c9aa94fc6f # just an author's promary email change in headers 2001-08-20 08:31:30 +00:00
Dave Hayden
22aed399e7 Added flags for SWFDisplayItem_addAction
Added Ming RINIT function
Added error handler for reporting Ming errors in PHP environment
Added size arg to drawGlyph function
Added swfdisplayitem_addAction function
Added ming_useSWFVersion function for selecting SWF 4 compatibility
Added SWFBitmap object
Added hacky SWFInput object for loading data from file/network/process
2001-08-20 03:32:43 +00:00
Dave Hayden
91997ed31c changed version check to look for function Ming_useSWFVersion, indicating
Ming 0.2a
2001-08-20 03:24:14 +00:00
Dave Hayden
e0f91d3c48 added function prototypes:
PHP_RINIT_FUNCTION(ming)
  PHP_FUNCTION(swfdisplayitem_addAction)
  PHP_FUNCTION(ming_useSWFVersion)
2001-08-20 03:23:26 +00:00
Shane Caraveo
b87aa1f67b Fixes for non-TS compilation 2001-08-19 22:02:46 +00:00
foobar
fd4de85836 Added some missing information. 2001-08-19 06:39:13 +00:00
foobar
e5bd800aeb Fixed bug: #11232. Now we require Fribidi 0.9.0.
# Better use the latest version for this one too since
# it seems to have stabilized and they made an internal
# rewrite for that one.
2001-08-19 06:37:05 +00:00
foobar
7e34d46573 ws fix. 2001-08-19 01:47:19 +00:00
foobar
d7d89bcf68 ws 2001-08-19 00:05:06 +00:00
foobar
c902ad74f0 null terminate the returned string in here too. 2001-08-18 23:43:04 +00:00
foobar
1ffbcc5ecf ws fix. 2001-08-18 23:07:10 +00:00
foobar
a000bdd93e libxml 2.4.2 is required now. 2001-08-18 21:08:52 +00:00
Zeev Suraski
b8624e7e08 Fix bugs #7301, #6827 2001-08-18 16:56:34 +00:00
foobar
d3aff0f6ee make this test work. 2001-08-18 16:47:02 +00:00
Sterling Hughes
807b49aa2f K&R format changes 2001-08-18 08:43:47 +00:00
Marc Boeren
48d6d5e531 whitespace, braces, coding style (Mc) 2001-08-17 13:56:29 +00:00
Andi Gutmans
e245e33f1f - Use the same coding standards for pointers as the rest of PHP.
- For example, char ** foo should be char **foo
2001-08-17 13:00:46 +00:00
Marc Boeren
9a22911392 Added preliminary support framework for Oracle 8. (Mc)
Thies C. Arntzen will look into this to actually make it work,
as I don't have Oracle installed here. As I said, it is only a
framework for Oracle, and it will most likely crash if you
actually try to use the oracle functions before Thies (or
anyone else that wants to, of course) has had a chance to look
at it.
# The other databases will continue to work, of course :)
2001-08-17 12:54:24 +00:00
Sterling Hughes
03724a70e9 Z_*_P{0,2} macro work. 2001-08-17 09:10:49 +00:00
Sterling Hughes
c53f80fb23 1) update to the ZEND_NUM_ARGS() and Z_*_P{0,2} macros
2) minor ws improvements, removing unecessary error checking logic, and
making the error messages a bit nicer looking
2001-08-17 09:08:03 +00:00
foobar
8f6394365c Look for iconv library also in $ICONV_DIR. 2001-08-17 08:33:49 +00:00
Harald Radi
feff3512f4 fixed a buggy cast 2001-08-17 08:17:13 +00:00
Sterling Hughes
06aa7a4d19 Cleanup of var_dump() with correct macro's, k&r indent, and removal of a
pair of unnecessary { }
2001-08-17 07:50:15 +00:00
Sterling Hughes
844788a4b8 pval -> zval
Z_*_P{0,2} macros
easier way of doing urldecode(), from rawurldecode() (a tad faster too).
2001-08-17 07:41:20 +00:00
Sterling Hughes
591aba3c89 ws fix. 2001-08-17 07:07:34 +00:00
foobar
85255d9ee5 HAVE_LIBICONV was never defined. 2001-08-17 06:54:55 +00:00
Sterling Hughes
6bc04c0858 Clean up the function for the Zend API (php3, early php4 relics removed).
Use PF_INET, instead of AF_INET, if present.
remove some code enclosed in #if 0 ... #endif that made no sense
2001-08-17 06:53:26 +00:00
Joey Smith
c8b294afa3 @- Fix a crash in dbase_replace_record (Patch by robin.marlow@dps-int.com).
This fixes Bug id #11928.
2001-08-16 23:44:10 +00:00
Zeev Suraski
e9da242ed4 Send Content-Length if we're sending just one chunk 2001-08-16 23:34:25 +00:00
Rasmus Lerdorf
b732d8da35 Missing define 2001-08-16 23:31:54 +00:00
Zeev Suraski
ef18947e5a sync with CODING_STANDARDS 2001-08-16 20:57:55 +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
Rasmus Lerdorf
2b4c2a2ff5 Commit a bit of random plane hacking.
- A slight exif fix from the latest version of jhead
 - Make ext_skel's confirm_module_compiled function consistent
2001-08-16 00:16:00 +00:00
Zeev Suraski
2d8ca548e2 Fix build 2001-08-15 22:49:15 +00:00
foobar
3cc6655f3a Add the build time too. Bug: #12774 2001-08-15 22:37:31 +00:00
Jeroen van Wolffelaar
2b6bafb269 Remove cbrt also, and mark logm1 and exp1p as expermintal 2001-08-15 19:08:59 +00:00
Jeroen van Wolffelaar
d62fbbd5a8 MF407 2001-08-15 19:01:32 +00:00
Daniel Beulshausen
0a6878cc02 accomodate SAPI_API changes 2001-08-15 18:11:40 +00:00
Thies C. Arntzen
04c3f8403f mega patch to avoid recursive oci-calls as they might break oracle!
php will simply exit() (!!!) once it encounters an attemp to call oracle
while still in an oracle-call. this can only happen when the script gets
interrupted (timeout, apache-restart) and php tries to run the cleanups even
though we are in an unclean state. i will add an -ini flag soon (not before
4.0.7) which will (optional) make php not run the cleanups when in an unclean
state!
2001-08-15 16:00:56 +00:00
Harald Radi
c674638dd0 removed CoInitialize() and CoUninitialize() 2001-08-15 10:39:59 +00:00
Sterling Hughes
8300abe367 Removed select(), fd_set(), etc. (wasn't present in the first place, and
these are implemented in the sockwasn't present in the first place, and
 these are implemented in the sockets extension))
2001-08-15 05:21:43 +00:00
Andrei Zmievski
e0c3120a11 Uh-oh, didn't mean to eliminate all folds. 2001-08-14 20:38:56 +00:00
Andrei Zmievski
90cc710351 Be more safe about freeing zvals. 2001-08-14 20:33:19 +00:00
John Donagher
02b431b6d5 Add compile-time versioning for default hostname 2001-08-14 20:28:07 +00:00
Daniel Beulshausen
48d75026ad depreciated, but should build anyway... 2001-08-14 17:46:19 +00:00
Andi Gutmans
4580df1080 - This code looks OK so remove FIXME comment 2001-08-14 17:43:39 +00:00
Harald Radi
ed126f68d5 fixed com_invoke retval 2001-08-14 13:38:36 +00:00
Andrei Zmievski
4e89fa671e I'm sure you meant 'l' here, Sterling. 2001-08-14 13:01:11 +00:00
Zeev Suraski
eb52f75407 - Avoid using malloc()
- Improve and fix leaks in the typelib constants registration mechanism
2001-08-14 12:47:09 +00:00
Harald Radi
0fbbadbd2f fixed bug in com_load_typelib 2001-08-14 11:50:16 +00:00
foobar
80277be8e3 @- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
@  boolean fields are now returned correctly.
@  Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
2001-08-14 11:07:18 +00:00
Zeev Suraski
b3e96d34f3 Whitespace 2001-08-14 10:53:42 +00:00
Zeev Suraski
17a36fb659 more whitespace 2001-08-14 10:15:43 +00:00
Zeev Suraski
cf5bf23b32 Whitespace & API updates 2001-08-14 10:13:35 +00:00
Zeev Suraski
4b3dea31e6 Whitespace and API updates (please keep code in the repository in K&R style
like the CODING_STANDARDS ask, guys...)
2001-08-14 10:04:59 +00:00
Zeev Suraski
f09302da07 Add missing break 2001-08-14 09:55:22 +00:00
foobar
601b4727b6 If the header file is not found, bail out. 2001-08-14 08:53:48 +00:00
Joey Smith
862472efdc Obviously not complete, but somewhere to start. 2001-08-14 08:28:34 +00:00
Joey Smith
df7967729e Kill some duplicate PHP_FALIAS()'s.
Many of these were commented out, but I killed them anyways just to be
consistent.
2001-08-14 08:23:22 +00:00
Joey Smith
14f05c17dd Group PHP_FE and PHP_FALIAS with their own kind. 2001-08-14 07:49:28 +00:00
Joey Smith
a26110de2c Fix my own ws errors. 2001-08-14 07:44:21 +00:00
Joey Smith
b79868c28c Register le_domxmltextp. 2001-08-14 07:37:14 +00:00
Joey Smith
109f414557 Don't hammer the resource type right off the bat. 2001-08-14 07:36:18 +00:00
Joey Smith
e3d6fc72e5 Trim ws only lines. 2001-08-14 07:34:20 +00:00
foobar
a870fd2757 ws fix. Also added some missing protos and fold tags. 2001-08-14 07:14:23 +00:00
foobar
2983993b59 Fix ZTS build. 2001-08-14 07:09:20 +00:00
foobar
442669055b Another TSRMLS_FETCH() nuke. 2001-08-14 05:44:33 +00:00
Alan Brown
292d27bf6a Whenever typelibrary constants were loaded, there was a GP Fault at process exit as shutdown_memory_manager seemed to delete constants that were supposed to have been deleted earlier. It seems as though CONST_PERSISTENT is a bad thing to use. Resetting that bit on the constant creation still seems to work and the GP Fault at exit is gone. 2001-08-14 03:52:32 +00:00
Joey Smith
5e21a4afad More Z_* macro changes. 2001-08-14 01:07:42 +00:00
Harald Radi
c4022601e2 hresult is returned if no return type is specified 2001-08-14 00:48:15 +00:00
Harald Radi
44ee05ae23 update todo 2001-08-14 00:29:51 +00:00
Harald Radi
d041982a9c make next() return a single value instead of an array with one element 2001-08-14 00:28:54 +00:00
Joey Smith
022626a8f0 Remove unused variable and fix small mental error. 2001-08-14 00:10:39 +00:00
Harald Radi
9c6b9eb76b merged from EXPERIMENTAL
lots of cleanup work
2001-08-13 23:39:11 +00:00
Harald Radi
bb0858db34 initial 2001-08-13 23:30:16 +00:00
Jeroen van Wolffelaar
d1881c8e26 Reverted - Didn't yet read Torben's mail - Sorry! 2001-08-13 22:34:02 +00:00
Jeroen van Wolffelaar
6be14623c5 Fixed proto's 2001-08-13 22:30:55 +00:00
Sterling Hughes
a24e3174a0 remove "i" 2001-08-13 22:01:39 +00:00
Joey Smith
2f485a1848 More WS. 2001-08-13 19:58:07 +00:00
Joey Smith
7094200c96 WS only 2001-08-13 19:45:26 +00:00
Rasmus Lerdorf
6a62f0bd4a Add TSRMLS_CC 2001-08-13 19:36:43 +00:00
Zeev Suraski
0116a7b911 Fix crashes in parse_parameters calls
HEADS UP:  Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
2001-08-13 19:31:18 +00:00
Andi Gutmans
ad18bd07f1 - More Engine 2 work. 2001-08-13 18:47:52 +00:00
Andi Gutmans
a5afd0e9d0 - ZE2 fixes 2001-08-13 16:40:12 +00:00
Andi Gutmans
9a3d4e736c - More ZE2 fixes 2001-08-13 16:13:25 +00:00
Andi Gutmans
0c0999352f - Attempt at fixing the Java extension for ZE2 2001-08-13 16:02:45 +00:00
Rasmus Lerdorf
d4a6487e8c Faster wrong_param check for functions that take no parameters 2001-08-13 08:15:12 +00:00
Joey Smith
fc487f4603 Change to Z_* macros. 2001-08-13 08:08:18 +00:00
Rasmus Lerdorf
4d11d90880 Track down a few more functions that don't check for 0 args and use
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
5b2227ea80 Oops, a little too much simplification there.. ;) 2001-08-13 07:28:57 +00:00
Rasmus Lerdorf
8c497f05c4 We don't consistently check for args passed to functions that don't
take any args.  In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks.  There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Sterling Hughes
3f505f8624 ws 2001-08-13 05:51:06 +00:00
Sterling Hughes
e9cdaccc51 Whitespace fixes and moving to zend_parse_parameters() 2001-08-13 05:44:37 +00:00
Zeev Suraski
49e45baf9b - Fix API
- Update NEWS
2001-08-13 00:32:04 +00:00
Zeev Suraski
35de326b0e Compile fix for oldie Linux systems (possibly others too) 2001-08-12 21:23:15 +00:00
Sebastian Bergmann
fd5eea8b96 Fix warning. 2001-08-12 18:57:35 +00:00
Thies C. Arntzen
d5b1a7f440 tags need to be UTF8-decoded as well.
guys, case_folding can only work when the parser target encoding equal (or
compatible) with the locale setting of the system as we use toupper to "do it"
2001-08-12 18:44:42 +00:00
David Eriksson
4fee32fac9 adjusted Satellite for Zend 2 2001-08-12 09:48:07 +00:00
David Eriksson
224600786c changed IOR values 2001-08-12 09:47:37 +00:00
David Eriksson
4e998ed80a wrote some tests for satellite 2001-08-12 09:23:19 +00:00
Andi Gutmans
ff39e51fdf - Make com work with new object model 2001-08-12 04:31:14 +00:00
Andrei Zmievski
1388a3a396 Save spec_opt for each function. 2001-08-12 03:46:25 +00:00
Andrei Zmievski
75da34e8aa Fix it up a bit. 2001-08-12 02:45:41 +00:00
Rasmus Lerdorf
ecc2fae542 Oops, missing () there 2001-08-12 00:14:48 +00:00
Joey Smith
2aca8c67ea Let domxml compile with ZendEngine2. 2001-08-11 20:44:30 +00:00
Andi Gutmans
d80ee070f9 - Make odbc_fetch_object() work with Engine 2 2001-08-11 18:28:31 +00:00
Andi Gutmans
ed9c36c1b8 - Make mysql_fetch_object() work w/ Engine 2 2001-08-11 18:27:48 +00:00
Zeev Suraski
c0404f4631 Whitespace 2001-08-11 17:03:37 +00:00
Zeev Suraski
f6f6c4d7e6 Whitespace 2001-08-11 16:39:07 +00:00
Thies C. Arntzen
8b480b8c09 make sybase compile with engine2 2001-08-11 12:02:20 +00:00
Thies C. Arntzen
384c86542a beautify 2001-08-11 10:52:52 +00:00
foobar
3619c6eb6a Added $_SESSION to the $_* family. 2001-08-11 10:49:03 +00:00
Thies C. Arntzen
6479bfe3b7 use macros for accessing properties in object. 2001-08-11 10:29:14 +00:00
Andrei Zmievski
4e857ef2d3 Changed ext_skel to use zend_parse_parameters() for argument parsing in
the generated functions. This cuts down on code a lot.

The point before this change was tagged BEFORE_PARAM_PARSING_CHANGE.
2001-08-11 03:24:23 +00:00
foobar
8a7d1d8e17 ZEND macro-rename. 2001-08-11 02:46:57 +00:00
Frank M. Kromann
300ac8c238 Adding SQL statement to the warning 2001-08-10 20:34:05 +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
Wez Furlong
831f05b0fb Fix some build probs on *bsd 2001-08-10 18:02:59 +00:00
Zeev Suraski
486ad565d0 More build fixes 2001-08-10 13:04:58 +00:00
Adam Dickmeiss
e4f0e351b7 Added yaz_sort. Updates for ZTS. 2001-08-10 12:53:11 +00:00
Zeev Suraski
c28a26b119 There we go. 2001-08-10 12:45:58 +00:00
Zeev Suraski
38c101521b build fix 2001-08-10 12:28:15 +00:00
Rasmus Lerdorf
05db76df86 Sablot extension cleanup - it compiles again now 2001-08-10 09:48:48 +00:00
Rasmus Lerdorf
eee9187ecb The checks were in the wrong order here. sablot depends on expat, so
check for expat first and add -lexpat then check for sablot
2001-08-10 09:05:37 +00:00
foobar
9e0ad17dc4 compile fix (missing TSRMLS_CC) 2001-08-10 08:02:09 +00:00
foobar
52e3b4a44f Cleanup. Also make gethostnamel() to return FALSE on error and not just empty array. 2001-08-10 02:19:05 +00:00
Rasmus Lerdorf
9e9e47faa4 Filter a bit of the "Bronx" out of this README 2001-08-10 01:41:14 +00:00
David Eriksson
77298408b3 Prevent potential crash 2001-08-09 22:00:05 +00:00
David Eriksson
81a7f27471 Convert parameter to long if needed. 2001-08-09 21:59:27 +00:00
David Eriksson
507d5699f0 Added zend_ prefix to wrong_param_count in enum.c, object.c and struct.c 2001-08-09 21:57:57 +00:00
David Eriksson
f5c48a1406 struct.c 2001-08-09 21:56:25 +00:00
David Eriksson
eeb26b89ec Prevent potential crashes. 2001-08-09 21:56:03 +00:00
David Eriksson
ece087b842 (PHP satellite_object_to_string) Added function to get IOR of object. 2001-08-09 21:55:10 +00:00
David Eriksson
114d33ae07 rewrote configuration script 2001-08-09 21:53:50 +00:00
David Eriksson
e306d079ab Added patch for ORBit that handles "Multiple Components Profile" in an IOR. 2001-08-09 21:42:54 +00:00
Joey Smith
ca33def60b K&R-ify the switch statments. 2001-08-09 12:41:39 +00:00
Joey Smith
f8d7307270 Commit acutal code only, will do ws on another pass. 2001-08-09 12:35:09 +00:00
Joey Smith
00418457d3 Revert patch to seperate code from whitespace changes. 2001-08-09 12:22:41 +00:00
Joey Smith
e2a2aa75b0 Restore xpath_eval() and the underlying php_xpathptr_eval().
It still leaks like crazy, but does not appear to crash, and
seems to work correctly.

Anyone who can possibly test this, please do.

@- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
@  are still some known leaks.
2001-08-09 12:15:58 +00:00
Rasmus Lerdorf
c359e40a57 More ext_skel cleanup 2001-08-09 04:47:47 +00:00
Zeev Suraski
f47962c7c0 Implement import_request_variables() 2001-08-08 20:05:37 +00:00
Wez Furlong
b00809a322 Fix probs on OpenBSD-current and RedHat 6.1 2001-08-08 20:00:09 +00:00
Zeev Suraski
5eb9495b1b - Implement $_FORM
- Update phpinfo()
- Update NEWS
2001-08-08 17:16:20 +00:00
Marc Boeren
c04b317a28 Fixed a too hasty copy/paste action in the DBX_FBSQL constant check 2001-08-08 10:08:25 +00:00
Marc Boeren
a4abfc1953 Added Frank to the CREDITS for FrontBase support
Added dbx_fbsql.c to the Makefile.in
# Could someone please compile/test this? My Linux-box is down :(
# Win compiles just fine, I don't expext any trouble on Linux...
2001-08-08 08:48:32 +00:00
Marc Boeren
fdc3b548f5 Added extra entries for FrontBase support (Mc) 2001-08-08 08:44:41 +00:00
foobar
92ea7171c8 Changed the old skool resource stuff to use the Zend macros. 2001-08-08 02:55:07 +00:00
foobar
529b4dca82 Cleanup. (some relics from php3 era?) 2001-08-08 02:02:02 +00:00
foobar
bef77f811a Make this compile again. 2001-08-08 01:52:22 +00:00
Rasmus Lerdorf
b94cff2559 Fixed a bunch of problems here 2001-08-08 00:20:19 +00:00
foobar
4263571386 More TSRM work. 2001-08-07 23:27:01 +00:00
foobar
001df0d028 Yet another TSRM fix. 2001-08-07 20:13:54 +00:00
Frank M. Kromann
4c5a6cbb82 Fixing a TSRMLS_FETCH problem. 2001-08-07 19:56:33 +00:00
Andrei Zmievski
c4555f9f55 @- Added vprintf() and vsprintf() functions that allow passing all arguments
@  after format as an array. (Andrei)
2001-08-07 19:44:45 +00:00
foobar
d7e1fe914a Killed compile warnings. 2001-08-07 19:24:21 +00:00
foobar
ac28ca9d85 killed a compile warning. 2001-08-07 19:21:19 +00:00
Frank M. Kromann
587e3600d8 Adding cvs ID to source files 2001-08-07 19:09:58 +00:00
Frank M. Kromann
21e2a8fc1b Adding FrontBase support to the DBX extension 2001-08-07 19:08:06 +00:00
Harald Radi
5e867acb28 TSRM fix 2001-08-07 19:02:01 +00:00
foobar
6916db60e8 More TSRMLS_FETCH() nuking. 2001-08-07 18:36:55 +00:00
foobar
63b7e5e052 Another TSRM fix. Plus killed some compile warnings. 2001-08-07 17:57:55 +00:00
foobar
ecfcae02a6 Another TSRM fix. 2001-08-07 17:40:10 +00:00
Harald Radi
516e769d5b TSRM fix 2001-08-07 17:26:37 +00:00
Harald Radi
b4bc16bbc8 TSRM fix 2001-08-07 17:18:20 +00:00
foobar
053cac2c3a Missed these 2001-08-07 17:17:39 +00:00
Andrei Zmievski
32440e3051 Fix a couple of leaks. 2001-08-07 16:41:33 +00:00
foobar
e53100fc7a php_sig_gd2 is only needed for GD extension. 2001-08-07 16:35:35 +00:00
foobar
ab1ad77e0f oops. Copy-paste-magic. :) 2001-08-07 16:27:29 +00:00
foobar
f710812427 Yet another TSRM fix. 2001-08-07 16:24:11 +00:00
foobar
e17f384ee7 Beutifying. Also made a check for IMAP-2001. 2001-08-07 16:18:05 +00:00
foobar
27fcd0509a @- Added support for GD2 image type for ImageCreateFromString() (Jani) 2001-08-07 16:15:45 +00:00
Daniel Beulshausen
289770bf61 let ext\shmop build under win32 2001-08-07 13:33:27 +00:00
Adam Dickmeiss
9cb9b84e92 ZTS updates. 2001-08-07 11:22:33 +00:00
Frank M. Kromann
57946eb3be Adding missing TSRM macros.
Kill signed/unsigned compiler warning
2001-08-06 16:58:27 +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
f9c76ee19f Fixed bug: #12597. 2001-08-06 15:40:47 +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
a35df189b8 we can no longer register internal-classes once the script is started.
therefore the "incomplete class" is now registered at MINIT time.
2001-08-06 13:36:08 +00:00
foobar
89a8b0144c Fix TSRM problem. 2001-08-06 12:26:55 +00:00
foobar
84042cd9f1 Another TSRM fix. 2001-08-06 12:15:05 +00:00
Sascha Schumann
23b9300fd1 more tsrm cleanup 2001-08-06 03:50:52 +00:00
Jeroen van Wolffelaar
dce78d75d6 Removed some duplicate code out of addclashes
# Not TSRM-safe, I am afraid...
@- addcslashes now warns when charlist is invalid. The returned string
@  remained the same (Jeroen)
2001-08-05 23:08:19 +00:00
Jeroen van Wolffelaar
b3a7b945fa Fix test 2001-08-05 20:27:24 +00:00
Jeroen van Wolffelaar
ec140f4f67 Bugfix in abs(), abs(LONG_MIN) was bogus 2001-08-05 20:27:03 +00:00
Sebastian Bergmann
b4f31ecef5 Fix ZTS build. 2001-08-05 20:25:40 +00:00
Jeroen van Wolffelaar
2e6850a91d Added proto for php_charmask in the .h 2001-08-05 20:02:22 +00:00
Jeroen van Wolffelaar
4a01a15fd2 Error-handling for the second parameter of [l|r]trim 2001-08-05 19:38:49 +00:00
Jeroen van Wolffelaar
71a6c03bef Didn't commit the correct trim.phpt, it now passes 2001-08-05 19:06:34 +00:00
Jeroen van Wolffelaar
860be31cae More tests 2001-08-05 18:38:48 +00:00
Sterling Hughes
294e19cd5c Add the Cyrus IMAP extension to PHP's CVS (Manual editing of the news file to occur). 2001-08-05 17:43:03 +00:00
Sascha Schumann
a19563c8dc more tsrm cleanup 2001-08-05 16:52:29 +00:00
Sascha Schumann
480ffb3d75 more tsrm cleanup 2001-08-05 16:43:57 +00:00
Sascha Schumann
c095fa33d1 fix php_write 2001-08-05 16:22:50 +00:00
Sascha Schumann
b349df6364 some more eliminate-fetches-or-escalate-them-at-least 2001-08-05 16:21:33 +00:00
Sascha Schumann
373b3e101e more tsrm cleanup -- output.c is not doing any fetches anymore 2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056 more tsrm cleanup 2001-08-05 15:29:47 +00:00
Stanislav Malyshev
02fea7ed23 (gmp_init) Added extra (optional) argument to gmp_init():
a base argument which indicates the number base. E.g.:
           gmp_init('1010101010',2); // feed gmp a binary value.
Patch by Troels.
@- Added optional extra argument to gmp_init(). The extra argument
@  indicates which number base gmp should use when converting a
@  string to the gmp-number. (Troels)
2001-08-05 14:48:17 +00:00
Stanislav Malyshev
c7d7834a43 Check that _php_math_basetolong result fits long (by request from Troels Arvin) 2001-08-05 14:40:14 +00:00
Sascha Schumann
aafdfe82cb further tsrm cleanup 2001-08-05 14:36:51 +00:00
Zeev Suraski
1159c84ab7 - TSRMLS_FETCH work
- whitespace fixes
2001-08-05 01:43:02 +00:00
foobar
d800a2e16a - Fixed bug: #10822
- CRYPT_SALT_LENGTH is now set to the maximum length the system
  supports, like it has been in the documentation for ages.
- The automatic salt is now also working like it should.
2001-08-04 23:58:56 +00:00
Rasmus Lerdorf
628c21275f support for multiple exif comments
@ - Enhance read_exif_data() to support multiple comment tags (Rasmus)
2001-08-04 22:35:03 +00:00
Jeroen van Wolffelaar
c105f7142f Better abs() testing 2001-08-04 21:40:34 +00:00
Jeroen van Wolffelaar
fcf57d371d Layout: revert accidentel joining of lines 2001-08-04 21:37:43 +00:00
Jeroen van Wolffelaar
2b17cd1982 Named some constants in filestat to improve readability 2001-08-04 21:34:11 +00:00
Jeroen van Wolffelaar
68df8ea465 Another bugfix in pow. Special cases, with 10 times the same thing are
_so_ error_prone... :(
2001-08-04 20:58:47 +00:00
Rasmus Lerdorf
7d5999fb4d Kill a warning 2001-08-04 20:52:35 +00:00
Jeroen van Wolffelaar
b245789bdb Bugfix. All tests pass now on my system 2001-08-04 18:29:37 +00:00
Rasmus Lerdorf
cc40cdc7d7 Fix newly introduced crash on a file-not-found 2001-08-04 18:08:13 +00:00
Jeroen van Wolffelaar
58ee4e47a4 Fix bug in the tests :-(
There seems to be one real bug in pow(), I'm trying to fix it...
2001-08-04 18:03:29 +00:00
Thies C. Arntzen
dca5f8dce4 fix serialize:
- keys no longer have a trailing \0
- no leak on calling __wakeup (also saved 2* malloc & free)
- serializing objects that implement __sleep() works again
- make test works again:-)
2001-08-04 17:29:54 +00:00
Andrei Zmievski
bffbe675f9 @- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei) 2001-08-04 16:54:20 +00:00
Thies C. Arntzen
3884b15b95 fix possible crash - we should never keep the zval** as they might point
somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
2001-08-04 16:53:57 +00:00
Sean Bright
d789d45a2e WS Pollution 2001-08-04 13:47:44 +00:00
Jeroen van Wolffelaar
0cf60d749e Added tests for pow()
#The tests near LONG_MAX/MIN fail, I know that
2001-08-04 13:20:31 +00:00
Jeroen van Wolffelaar
8803bbaa80 - A little bit cleaning of pow(), and 12 bytes less memory (wow) 2001-08-04 13:11:17 +00:00
Sean Bright
fff883689e Don't allocated quoted strings unless we are in a META tag. 2001-08-04 12:36:51 +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
Sebastian Bergmann
724b4d409c Eliminate TSRMLS_FETCH() call. 2001-08-04 05:37:11 +00:00
Sebastian Bergmann
ea79632b29 Fix Win32 (and maybe other ZTS) builds. 2001-08-04 05:22:55 +00:00
Sascha Schumann
c947a0739e Clean up the serializer by modularizing some of its code. That also
enables us to serialize hash indices without creating zvals for them.
Due to its nature, this patch also includes some whitespace changes.
2001-08-04 03:30:38 +00:00
foobar
a9f850f34e fixed a memleak. 2001-08-04 03:06:12 +00:00
foobar
faaeee3705 Fixed bug: #11784 (combined with fixes Rasmus committed..) 2001-08-04 01:56:40 +00:00
Jeroen van Wolffelaar
dc4adaa231 #- HTML-safe error for pow() 2001-08-03 23:27:23 +00:00
Jeroen van Wolffelaar
b32f1ab299 #- Fix silly bug that caused segfault 2001-08-03 23:10:04 +00:00
Jeroen van Wolffelaar
f0bcaf3901 Un-revert patch 2001-08-03 23:09:05 +00:00
Jeroen van Wolffelaar
f6979a7d2b Reverting last patch, segfaults. 2001-08-03 22:42:02 +00:00
Rasmus Lerdorf
9b0df45da7 Change from E_ERROR to E_WARNING in the exif extension
@ Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
2001-08-03 22:33:10 +00:00
Jeroen van Wolffelaar
7733d95770 - New pow() function. It now gives warnings on wrong input, and
returns integer result when possible
@- New pow() implementation, which returns an integer when possible,
@  and warnings on wrong input (jeroen)
2001-08-03 22:19:11 +00:00
Jeroen van Wolffelaar
c2150f7038 - Added new parameter to [l|r]trim, to specify _what_ to trim
@- Added optional second parameter to trim, chop and ltrim. You can
@  now specify which characters to trim (jeroen)
2001-08-03 22:12:46 +00:00
Jon Parise
74b4b08b7b Don't blindly assume -lc-client when linking 'conftest'. 2001-08-03 19:36:58 +00:00
Jeroen van Wolffelaar
49c16290f3 - Fix array_sum to switch to float on overflow. Fixes bug#12505 2001-08-03 19:18:51 +00:00
Jon Parise
9db1d22659 Full include paths are preferrable. 2001-08-03 19:11:31 +00:00
Jon Parise
5b8c562b22 smart_str use requires php_smart_str.h. 2001-08-03 19:05:40 +00:00
Sascha Schumann
d6dc2ba6bc Treat trailing zeroes correctly 2001-08-03 11:09:13 +00:00
Sascha Schumann
723bbcbea0 Do the nul'ifiying of php_var_serialize's result at the right place 2001-08-03 11:00:16 +00:00
Sascha Schumann
4a1943c542 Pass on nul'ified data 2001-08-03 10:39:48 +00:00
Sascha Schumann
f6ed403fde Don't copy the strtok parameter 2001-08-03 09:50:38 +00:00
Sascha Schumann
84aed3b718 Fix a possible segfault (Thanks to Sebastian for catching it) 2001-08-03 09:36:14 +00:00
Sascha Schumann
3459f05a07 NUL-terminate string 2001-08-03 09:35:33 +00:00
Sascha Schumann
60024a469d Add some casts 2001-08-03 08:51:53 +00:00
Sascha Schumann
7471943c06 Replace our strtok implementation with a binary-safe one which code
does not cause headaches when reading it.  Also happens to be a bit quicker.
2001-08-03 08:49:19 +00:00
Sascha Schumann
4dfa91543c Convert serializer to smart_str.. avoids lots of sprintf's and
copying of data.
2001-08-03 07:25:27 +00:00
Zeev Suraski
2ec440078a Get rid of a couple of bogus persist_alloc()'s, and some cleanup 2001-08-03 07:15:14 +00:00
Zeev Suraski
11908f2db8 More TSRM stuff 2001-08-03 07:12:59 +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
85e15deabe These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519 2001-08-03 05:07:22 +00:00
foobar
e069610c09 Add missing header. 2001-08-03 04:56:09 +00:00
Sterling Hughes
70a0951eb9 Larger transfer buffer before realloc() this should speed things up a bit 2001-08-02 19:28:33 +00:00
Sterling Hughes
b71efb2f9c ws fix 2001-08-02 19:25:46 +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
Thies C. Arntzen
67775fcd2c adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
that fixes a link problem (atleast) for me.
sterling?
2001-08-02 11:19:19 +00:00
Zeev Suraski
37a3490f33 Fix the .h file (untested) 2001-08-02 05:56:10 +00:00
Zeev Suraski
5dfe1deb96 We no longer need any FETCH's for internal functions 2001-08-02 05:49:24 +00:00
Rasmus Lerdorf
8cf4e4a725 TSRM fix for ext_skel - probably more needed 2001-08-02 05:36:50 +00:00
Zeev Suraski
527689ca81 Beautify 2001-08-02 00:11:20 +00:00
Frank M. Kromann
2794a0e69a These new math functions are not supported on Win32 2001-08-01 16:55:24 +00:00
Andrei Zmievski
fa6b5cdde7 - Added a few new math functions from Jesus Castagnetto.
- Converted to Z_* macros.
@- Added a few new math functions. (Jesus)
2001-08-01 13:48:14 +00:00
foobar
9ba69908cd This should work better. Thanks to Jon Wagoner <jwagoner@wlion.com> 2001-08-01 13:15:26 +00:00
foobar
bad630553b fix build. 2001-08-01 00:13:02 +00:00
foobar
252e252999 killed some compile warnings 2001-07-31 23:49:08 +00:00
foobar
474da88b4c more ZTS fixes. 2001-07-31 23:47:35 +00:00
foobar
540f428a91 fixed comment.. 2001-07-31 23:34:23 +00:00
Zeev Suraski
15cb7ca021 Fix some warnings 2001-07-31 23:32:24 +00:00
Sterling Hughes
4b00c6b697 Fix ZTS build. 2001-07-31 23:22:19 +00:00
foobar
23cb032fd9 Missing header. 2001-07-31 20:24:43 +00:00
Sterling Hughes
1a5ee49024 ws fix 2001-07-31 19:43:11 +00:00
foobar
1bca4ae723 Remove duplicate function entry. 2001-07-31 19:02:59 +00:00
foobar
a440989150 Added help texts for --with-imap-ssl|kerberos. 2001-07-31 14:37:40 +00:00
Zeev Suraski
b1de7fc900 More TSRMLS_FETCH annihilation. Enough for today... 2001-07-31 07:09:49 +00:00
Zeev Suraski
bc42c37513 More TSRMLS_FETCH work. Got it under 400 now. 2001-07-31 06:28:05 +00:00
Zeev Suraski
9be8c97967 Some more TSRMLS_FETCH work 2001-07-31 05:56:26 +00:00
Zeev Suraski
aa1772ca72 More TSRMLS_FETCH annihilation 2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18 More TSRMLS_FETCH work 2001-07-31 04:53:54 +00:00
Zeev Suraski
7bc71f442d build fixes 2001-07-31 03:00:05 +00:00
Zeev Suraski
e629be7b5b Fix a crash bug in assert 2001-07-31 02:59:44 +00:00
foobar
ace9632276 Make this compile in ZTS mode. 2001-07-30 21:12:48 +00:00
foobar
7a37f532ef Make this extension compile in ZTS mode. 2001-07-30 21:02:27 +00:00
Jason Greene
2b1fe64d46 Removed space type-o
Fixed WS
Added $Id$ tags
Removed already completed TODO from README
2001-07-30 20:51:57 +00:00
foobar
12ae3ac2d7 Use the new TSRM structure. 2001-07-30 20:50:54 +00:00
foobar
75e835017a Make this extension compile in ZTS mode. Also killed 2 compile warnings. 2001-07-30 20:27:11 +00:00
foobar
6ee8e4bccc Make this compile in ZTS mode. 2001-07-30 20:11:28 +00:00
Jason Greene
40c7f09509 Fully implement new thread safe model.
Fix ws.
2001-07-30 19:40:29 +00:00
foobar
3b7bc2535a Make this compile in ZTS mode. 2001-07-30 19:39:26 +00:00
foobar
1594f0967b Killed compile warning. 2001-07-30 17:35:45 +00:00
foobar
3c8b2e6d06 Removed duplicate function entry. 2001-07-30 17:35:29 +00:00
Zeev Suraski
bde4e0cedf Fix GD build, and clean it tup 2001-07-30 17:29:57 +00:00
Frank M. Kromann
7020cccef9 Fixing build after implementing the new TSRM structure! 2001-07-30 17:27:08 +00:00
Andrei Zmievski
8fca87adb5 Updated to match TSRM changes. 2001-07-30 15:41:11 +00:00
Thies C. Arntzen
33e059062b @- Bump bundled expat to 1.95.2 (Thies) 2001-07-30 15:10:53 +00:00
Marc Boeren
859339c1a7 It's been working here for four months now... hardly experimental :) (Mc) 2001-07-30 14:47:00 +00:00
foobar
381d4c3143 Make this extension compile thread safe on unixes too.
Also changed all those nice spaces to tabs
#
# Zeev, could you make those changes for this extension too?
#
# And yes, I know I shouldn't mix ws fixes to anything else but
# this was easier to do this way.
2001-07-30 10:09:53 +00:00
Zeev Suraski
9f4c0ae6c0 More TSRMLS_FETCH work 2001-07-30 09:16:46 +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
b0224d51da Zend compatibility patch 2001-07-30 05:36:18 +00:00
Zeev Suraski
7b1c400631 More TSRMLS_FETCH annihilation (Zend compatibility patch) 2001-07-30 04:58:07 +00:00