Commit Graph

2835 Commits

Author SHA1 Message Date
Chuck Hagenbuch
40404d7337 fixing the license header and updating some prototypes/variable names in the
mcal extension.
2000-08-27 17:05:53 +00:00
Andi Gutmans
b79db079a6 - Fix possible overflow in fsockopen(). 2000-08-27 04:14:47 +00:00
Daniel Beulshausen
280a79a319 added sam's readme and played with the directory's 2000-08-26 20:27:06 +00:00
Daniel Beulshausen
70ef0577a3 dsp for cybercash 2000-08-26 20:11:31 +00:00
Stig Venaas
0435c2e306 Makes it work with OpenLDAP 2.0 and reduces number of ifdefs 2000-08-26 16:20:37 +00:00
Andi Gutmans
82d7c4294c - Also change constants. Note: PHP tries to make names intuitive.
- PHP extensions don't necessarily need to use the exact C counter part, it
- should be easy to read and not be short names such as II_*
2000-08-26 14:24:33 +00:00
Andi Gutmans
0e6db7dc82 - Asked the author a long time already to change the function names to
- something which won't take up all of the ii_* names (not verbose enough).
- I'm doing it myself now so it really has to be checked as I can't compile.
- Changed both the function names and INI parameter names.
2000-08-26 14:21:26 +00:00
Sam Ruby
a0b745a053 Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net 2000-08-26 12:53:14 +00:00
Daniel Beulshausen
c9b4568f3e updated dsp to build with custom build step 2000-08-25 21:43:01 +00:00
Daniel Beulshausen
4a474b8120 lets keep it in one dsp 2000-08-25 21:42:15 +00:00
Hénot David
83d4cbf15e Copyright modification. 2000-08-25 15:56:41 +00:00
Andrei Zmievski
4df36948c8 @- Fixed a bug in preg_replace() that would truncate subject string if the
@  first argument was en empty array. (Andrei)
This fixes bug #6346, that would truncate subject string if the
first argument was en empty array.
2000-08-25 13:51:07 +00:00
Stig Bakken
03471b21ee @Added ob_get_length function (Stig)
Added ob_get_length() function (returns size of buffer)
2000-08-25 03:10:42 +00:00
Stig Bakken
6cbdaf985f compile fix (RedHat 6.2) 2000-08-25 03:08:37 +00:00
Dan Kalowsky
b853731aaf prefer -gt to -lt, and dropped the version number to 2 instead of 3 2000-08-24 19:27:21 +00:00
Zeev Suraski
51856230d3 Update .dsp 2000-08-24 18:58:50 +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
04855ca11c added the gd extension - see the comment!
# configuring the gd extesion is currently a mess.
# currently its configured with jpg, wbmp, png and ttf
# maybe we should think about moving that stuff to the
# config.w32.h or to a seperate gdwin32 header
2000-08-24 18:14:42 +00:00
Daniel Beulshausen
f08b599821 dsp for the win32 fdf extension 2000-08-24 17:56:38 +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
Thies C. Arntzen
d33f42d53f beautify 2000-08-24 15:29:50 +00:00
Stanislav Malyshev
7248d68d49 Fix segfault on readline without parameters 2000-08-24 14:41:12 +00:00
Sascha Schumann
c9dfdd38a7 More complete set of (C) notes 2000-08-24 14:29:29 +00:00
Sascha Schumann
d4dd261436 Script for replacing the copyright messages 2000-08-24 14:18:36 +00:00
Andrei Zmievski
d7c43de3ce @- Fixed a bug that did not respect limit parameter in preg_replace() when
@  using /e modifier. (Andrei)
2000-08-24 13:23:13 +00:00
Sascha Schumann
7ca4354c22 Typo 2000-08-24 09:02:56 +00:00
Daniel Beulshausen
2ec7ccdf4c win32 projectfile for the curl extension 2000-08-23 16:18:28 +00:00
Daniel Beulshausen
d076f5f2d9 win32 projectfile for the dbase extension 2000-08-23 16:11:44 +00:00
Daniel Beulshausen
8a5ceac253 win32 projectfile fot the gettext extension 2000-08-23 16:00:38 +00:00
Egon Schmid
0508a61421 Changed long to int. 2000-08-23 13:47:00 +00:00
Sascha Schumann
96b221755a -lt is preferred over \> 2000-08-23 12:59:50 +00:00
Sascha Schumann
3cb026db73 Fix library order for -lpng -lz.
PR: #3978
2000-08-23 12:28:48 +00:00
Stanislav Malyshev
b28f6eba38 Make parsedate build again
# I do not really know what's the problem with const, but I do know
# it doesn't compile when declaration and definition don't match
2000-08-23 10:54:13 +00:00
Sterling Hughes
2604cb987a A little condensing,
Add an additional check to make sure port is specified with
  AF_INET in connect().
2000-08-23 08:29:16 +00:00
Chris Vandomelen
91944be3f7 Corrected bugs in php_if_connect() to make it work properly -- needed to
run htons() on the port number provided, and needed to perform DNS lookups
properly and store the results as expected.
2000-08-23 06:41:51 +00:00
Dan Kalowsky
bee5b60a22 cleaned up the PHP/SOLID integration code, and corrected some minor assumptions on my part for the 3.5 EE systems. also removed a series of warnings on builds within the ODBC functions, and corrected header order. include of the SS_LINUX and SS_FBX defines, needed to make solid headers completely happy with the wchar.h situation.
THIS DOES NOT FIX BUG ID #4615
2000-08-22 21:27:49 +00:00
Zeev Suraski
ae49ebf198 'const' is problematic in code in the final section of a Bison file (Bison defines
it away)
2000-08-22 20:59:26 +00:00
Frank M. Kromann
adfbf4a92f Adding ..\..\..\bindlib_w32 to include path 2000-08-22 20:46:01 +00:00
Andrei Zmievski
1955412c3d @- Added ability for each xml_set_*_handler() function to take the
@  array($obj, 'method') syntax for the handler argument as well
@  as the normal function name. (Andrei)
2000-08-22 19:32:07 +00:00
Andrei Zmievski
d89c5b231c @- Updated array_walk() to be able to accept array($obj, 'method')
@  syntax for the walk function. (Andrei)
2000-08-22 18:39:29 +00:00
Daniel Beulshausen
5d09d7d811 some fixes 2000-08-22 18:13:53 +00:00
Daniel Beulshausen
3af4ba7e01 projectfile for the domxml extension 2000-08-22 18:01:50 +00:00
Andi Gutmans
8ba5d5ef9c - Remove new libmysql files 2000-08-22 18:01:28 +00:00
Andi Gutmans
0222b7ab41 - Try and revert libmysql for 4.0.2 2000-08-22 17:59:35 +00:00
Daniel Beulshausen
60676f19a5 projectfile for the clibpdf extension 2000-08-22 17:55:17 +00:00
Daniel Beulshausen
381d04e197 minor fixes 2000-08-22 15:21:01 +00:00
Daniel Beulshausen
b422c552d7 projectfile to build the sybase_ct extension 2000-08-22 15:15:10 +00:00
Daniel Beulshausen
d22ebb3cb6 projectfile to build the pdf extension 2000-08-22 15:06:55 +00:00
MySQL Team
3c049ddcdd Interface for 'raid' files (ont in use by PHP) 2000-08-22 12:10:53 +00:00
MySQL Team
4b1380e31c New files for MySQL 3.23.23 client library. New files are for qouting
using different character sets.
2000-08-22 09:02:46 +00:00
Andi Gutmans
d0e48e92b6 - Cleanup imagetransparent in the GD library 2000-08-22 04:11:57 +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
Torben Wilson
410ac013e8 Fixed segfault with fgets(), fgetcsv(), fgetss(), and fread() when
called with negative length argument.
2000-08-21 19:24:44 +00:00
Sascha Schumann
18ded31f4c Remove extra tab 2000-08-21 15:05:45 +00:00
Stanislav Malyshev
4bed072f11 Fix crash in one-argument imagecolortransparent 2000-08-21 14:11:19 +00:00
Stanislav Malyshev
02feba6c05 Fix win32 build 2000-08-21 12:56:51 +00:00
Sascha Schumann
6ce467dc13 Get rid of php_global.h and the associated data types UINT4/_POINTER.
We use php_uint32 now globally.

Also removed K&R support from md5.[ch].
2000-08-21 10:10:31 +00:00
Sascha Schumann
8e0ae5d152 Cleaning up some mess 2000-08-21 09:50:53 +00:00
Uwe Steinmann
1bbea8d0eb - added function fdf_set_javascript_action() 2000-08-21 09:23:37 +00:00
Derick Rethans
82115ea039 - Reversed last 'fix'
# Sascha suggested that it must be corrected in wuth mcal
2000-08-21 07:24:55 +00:00
Zeev Suraski
30ccec36b9 Fix build 2000-08-20 22:18:19 +00:00
Chris Vandomelen
8ef1279f2b Added another bug fix to detect for negative values being passed into the
fd_*() functions, as passing negative values would cause PHP to segfault.
2000-08-20 19:48:42 +00:00
Stig Venaas
4d6f3b40a7 Added Oracle LDAP SDK SSL support 2000-08-20 18:47:14 +00:00
Derick Rethans
45e9e3a9fe - Fix for bug #6263 2000-08-20 17:39:44 +00:00
Stanislav Malyshev
5a7409ee1a Fix by-reference passing for scanf's
@- Fix by-reference parameters passing for xml_ functions and for scanf functions (Stas)
2000-08-20 16:09:06 +00:00
Stanislav Malyshev
50161c9ee8 Fix XML by-reference passing 2000-08-20 15:59:54 +00:00
Sascha Schumann
b6978fe1af Fix numerus of SAPI Modules title 2000-08-20 14:43:56 +00:00
Sascha Schumann
c8b8a908ca Provide PHP_SEPARATOR which expands to the default directory separator
on the target platform.
2000-08-20 14:02:57 +00:00
Stanislav Malyshev
ce0c4a7991 Fix fgetc (#6259) and ftell error condition returns 2000-08-20 13:24:14 +00:00
Sterling Hughes
f75db1e3cb A Whole buncha stuff, mostly bug fixing...
- Make constants case-sensitive, conforming with the rest of PHP &
	the C API.
	- Make module compatible with thread safety features.
	- open_listen_sok() -> open_listen_sock()
	- Remove ext_skel comments
	- Get rid of the ZVAL macro and replace with the correct Z_*_*
	macros
	- declare all functions local to the file as static.
	- Remove empty PHP_MSHUTDOWN() function.
	- Removed confirm_sockets_compiled()
	- Changed RETVAL_* macro's to RETURN_* macro's eliminating errors
	with incorrect return values and a potential leak/crash or two.
	- functions that return void, actually return void
	- Replaced 'long' in the prototypes with 'int'
	- Fixed fd_zero() function, it gave a WRONG_PARAM_COUNT when you
	gave it the proper parameter count.
	- Changed the way an arbitrary number of parameters were accessed
	from build_iovec() to use the Zend API.
	- Added socketpair() and shutdown() functions.
2000-08-20 10:31:27 +00:00
Sterling Hughes
cd599d17c0 Bunch o' changes..
- Add the ability to return the web page into a variable
	by setting the CURLOPT_RETURNTRANSFER constant to 1.
	- Make everything conform to the naming guidelines.
	- Delete the resource id from the file_id table when a
	resource is closed.
2000-08-20 08:28:00 +00:00
Sascha Schumann
4ba16a1169 Make use of zend_isinf and zend_isnan. 2000-08-20 06:08:14 +00:00
Sascha Schumann
fbdf502307 Remove php_realpath from build.
It was broken and should not be used in any way.
2000-08-20 05:27:59 +00:00
Jesus M. Castagnetto
e103155d92 Added some more predefined constants 2000-08-19 22:01:37 +00:00
Frank M. Kromann
61df257c0f We only need winsock.h one time 2000-08-19 21:15:43 +00:00
Zeev Suraski
7a45e3cb89 - Update NEWS
- Fix non ZTS Windows build
2000-08-19 18:01:04 +00:00
Stig Venaas
90eac6a390 Adding Oracle LDAP SDK support 2000-08-19 14:10:11 +00:00
Frank M. Kromann
53a3f074ab Adding howto file for MS SQL 2000-08-18 22:24:27 +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
Sascha Schumann
382dd4a394 Add necessary *_FETCH() macros 2000-08-18 13:50:04 +00:00
Sterling Hughes
890ae1e244 #Its fixed this time, no really. 2000-08-18 13:43:22 +00:00
Sterling Hughes
c80f2bcba2 Purely cosmetic. 2000-08-18 13:24:00 +00:00
Sterling Hughes
1b8ee02fd6 Fix #6234 2000-08-18 13:22:09 +00:00
Hartmut Holzgraefe
c1ceeaf830 typo fix in array_diff error message, fixes bug #6236 2000-08-18 12:45:01 +00:00
Hartmut Holzgraefe
867160a751 minor typo fix in proto 2000-08-18 12:28:28 +00:00
Andrei Zmievski
4f96d15f33 Reverting the pemalloc -> malloc change until we figure out why it breaks. 2000-08-17 19:01:28 +00:00
Andrei Zmievski
ba0e3f2145 No need to have persistent allocation. 2000-08-17 16:09:00 +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
Hartmut Holzgraefe
7c7e5a9081 additional include should fix bug #6086 2000-08-17 13:17:14 +00:00
Sam Ruby
d93732179b Better error reporting when dll/shared library is not able to be loaded.
Submitted by: Bård Farstad <bf@ez.no>
2000-08-17 10:14:50 +00:00
Stanislav Malyshev
56ecc78983 Fix chunk_split (#6208) 2000-08-17 08:47:42 +00:00
Andi Gutmans
056401fa6c - It should be #ifdef PHP_WIN32 2000-08-17 04:05:57 +00:00
Sterling Hughes
8a8b5dacc6 ts issues. 2000-08-17 02:14:41 +00:00
Thies C. Arntzen
ffad41019e compile fix 2000-08-16 15:23:05 +00:00
Hartmut Holzgraefe
41360c24b6 proto fixed 2000-08-16 12:47:09 +00:00
Jouni Ahto
e85ba0901a - Return NULL type when column is NULL, now that we have it in PHP4.
- Fixed a bug in handling NULL columns, PQgetvalue() doesn't return a NULL
  pointer in this case, but a pointer to a string of 0 length...
2000-08-16 01:03:20 +00:00
Uwe Steinmann
fdd374fddb - Inserted constants for fdf flags 2000-08-15 18:46:59 +00:00
Sterling Hughes
15902929e8 @ Fix stdout support with the swf extension. (Sterling) 2000-08-15 17:30:41 +00:00
Sterling Hughes
185f6e95d8 Leftovers... 2000-08-15 17:03:48 +00:00
Sterling Hughes
d06c2d9eb1 Add Win32 support for cURL.
#  Switch this commit message with the last one and you get the
#  right commit order.
2000-08-15 16:54:48 +00:00
Sterling Hughes
d06c4b2e3f This fixes to problems:
- Apache not having the output go to stdout in some cases.
- Output being displayed before the header is displayed.

And causes the following:

- *Slightly* slower cURL transfers.
2000-08-15 16:50:14 +00:00
Derick Rethans
28273dfaa2 - Clearified which version of libmcrypt is enabled
# Request by Olivier Cahagne
2000-08-15 14:58:21 +00:00
Stanislav Malyshev
65bb194d65 Fix byteorder for il2long and long2ip (#6159)
@- Fix byte order for ip2long and long2ip (Stas)
2000-08-15 10:32:55 +00:00
David Croft
05edda2222 display ini file entries on phpinfo(), unregister them on shutdown
numeric ini file entries stored as ints
removed unnecessary casts from PFPROG()
pval -> zval
2000-08-15 09:37:39 +00:00
Brendan W. McAdams
f1ed420604 # Added TODO so I can track things that need doing with this module - (brendan) 2000-08-14 21:10:25 +00:00
Sascha Schumann
78dfa91e1f Move MCLS_FETCH() inside #if HAVE_LIBMCRYPT24. Fixes build against
libmcrypt 2.2.
2000-08-14 19:38:23 +00:00
Sascha Schumann
61a058f538 Remove unnecessary precompiler macros. The failure condition is catched
at configure time.
2000-08-14 19:29:53 +00:00
Sascha Schumann
744dce0da0 Restrict INI entries when compiling against libmcrypt 2.4. 2000-08-14 19:26:09 +00:00
Sascha Schumann
51fe68fd51 Fix check for libmcrypt in non-system library paths.
Fix case where neither libmcrypt 2.4.x and 2.2.x were found.
Fix library order (scope limited to static libraries)
2000-08-14 19:17:16 +00:00
Stanislav Malyshev
159abaa900 Fix print length - again
# I hope _this_ is the right fix...
2000-08-14 15:54:57 +00:00
Stanislav Malyshev
821042278e Fix another crash with long formats (#6145)
# From strncpy manual:
# In the case where the length of src is less than  that  of
# n, the remainder of dest will be padded with nulls.
2000-08-14 11:07:28 +00:00
Stanislav Malyshev
97c200b170 Fix non-numbers printing (#6142)
# Please, somebody knowing about floats - check if there's more non-numbers
# seems we should check for all of them
2000-08-14 10:02:14 +00:00
David Croft
1a5d90c4ea presumably this was wrong 2000-08-14 08:37:28 +00:00
Sterling Hughes
bba7086ac3 - Fix spacing.
- Add error constants.
2000-08-13 19:32:09 +00:00
Sterling Hughes
93acbedce8 @ Fixed dbase_add_record. (Sterling) 2000-08-13 17:41:20 +00:00
Derick Rethans
20c007b229 - Now using the better way of using INI directives
- Changed some warning/error messages to be more clear
2000-08-13 11:53:04 +00:00
Egon Schmid
3f158be18a Some protos corrected. 2000-08-12 20:45:48 +00:00
Danny Heijl
2acc8630fe - The destructor for a connection resource closed the current
connection if the connection had been closed before (danny)
2000-08-12 12:03:41 +00:00
Derick Rethans
04720d3b3b - Fixed warning under VC6 2000-08-11 23:24:54 +00:00
Derick Rethans
bab5db79f6 @ Added support for libmcrypt 2.4.4 2000-08-11 18:45:17 +00:00
Danny Heijl
b78c48f7bc - restore ifx_close() to PHP3 behaviour for non-persistent connections
by silently reconnecting the existing link if closed earlier (danny)
2000-08-11 16:37:47 +00:00
Zeev Suraski
a120608807 Make COM work in a multithreaded environment 2000-08-11 13:30:37 +00:00
Hartmut Holzgraefe
66f9f8bf38 return type in proto for OCIError fixed 2000-08-11 13:13:11 +00:00
Adam Dickmeiss
17797f951c Added support for username, group and password for function yaz_connect. 2000-08-11 12:11:51 +00:00
foobar
d6f2f2c396 @- Fixed FTP module to accept multiline server replies (Jani)
# This fixed bug #4546.
2000-08-10 21:13:08 +00:00
Brendan W. McAdams
b283eec42a - changed all pvals to zvals (like they were before)
# Turns out zval *is* the proper call for a variable.
2000-08-10 21:03:02 +00:00
Vlad Krupin
23df217463 Added capability to create and manipulate a config object that can be
used later to create an instance of the spellchecker based on that
config.
2000-08-10 20:57:40 +00:00
Brendan W. McAdams
25240885a5 - Homogonized CCVS with the rest of the modules in the ext/ tree:
- All ZEND_* macro calls changed to PHP_* macros.
    - All zval's converted to pval's.
# Per discussion with Hartmut Holzgraefe on [PHP-DEV] list.
2000-08-10 20:23:33 +00:00
Sascha Schumann
34bee836b1 Remove bogus "by" 2000-08-10 19:27:30 +00:00
Joey Smith
a2cb77aa82 Cut and paste error? :) 2000-08-10 17:38:14 +00:00
Hartmut Holzgraefe
e67defffbe last patch reverted, i didn't get the whole picture here 2000-08-10 08:31:40 +00:00
Hartmut Holzgraefe
e59bcdbfb8 duplicate alias entry removed 2000-08-10 08:13:15 +00:00
David Croft
a7e8750446 #fixed typos 2000-08-10 07:00:12 +00:00
Brendan W. McAdams
609577d882 Updated Supported CCVS Versions based on Conversation with Doug. All versions of CCVS 3.0 and greater should work without problems.
@ The CCVS module is now stable and compiling. It compiles as a CGI and into apache cleanly without warnings. (Brendan W. McAdams)
2000-08-09 18:38:04 +00:00
Thies C. Arntzen
f0203f6288 @- Fix mSQL_close(). (nick@loman.net)
# i haven't tried it (don't have msql) , but this patch seems really needed!
2000-08-09 17:56:42 +00:00
Brendan W. McAdams
01a83f8cb0 Added Dougs name to the PHPINFO "Support By" call.
Added a "Release Supports CCVS Versions..." line in PHPINFO
2000-08-09 17:53:55 +00:00
Thies C. Arntzen
57faf76605 fix #6061 2000-08-09 17:52:30 +00:00
Brendan W. McAdams
9a2d9b993d Looks like I found my problem.
I was predeclaring my functions in ccvs.h (stupid of me), so PHP was seeing the predec from internal_functions.h, the predec again, and then the actual functions and barfing.  Compiles into apache now.  Will test further.
2000-08-09 17:43:04 +00:00
Brendan W. McAdams
1030d7a7d8 Tracked the stray -libccvs call to a bad config directive in the config.m4 file. 2000-08-09 16:45:49 +00:00
Brendan W. McAdams
14e86fcf0a Trying to resolve the build issue. This module is currently broken. PHP compiles it fine but I'm having linking issues when it gets to the apache level.
Any help would be greatly appreciated.
2000-08-09 14:31:12 +00:00
Brendan W. McAdams
048717c09c Looks like my editor barfed sometime today and saved the source files as
PC Format. Fixed that.  Seeing some compiletime issues that I'm working on resolving.
2000-08-09 01:18:28 +00:00
Brendan W. McAdams
8a4f3d3973 Had some issues with apache build. PHP Was passing a -llibccvs inadvertantly. Seemed to be an issue with the autoconf file. Fixed. I'll get back to cleaning up that AutoConf later. 2000-08-08 23:15:56 +00:00
Brendan W. McAdams
f3b757eead First commit of these files. We have had them working for about 3 weeks, very well, as a DL. The straight compile-into PHP support should work fine; I've got it compiling on my Slackware 7 i386 box with Apache 1.3.12 + mod_ssl. Documentation, module info and example code are forthcoming. 2000-08-08 22:36:56 +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
Egon Schmid
3bc8b9dc9c Beautified some protos. 2000-08-08 20:28:19 +00:00
Vlad Krupin
831e15d0d1 Added instructions on how to use personalized dictionaries 2000-08-08 19:23:35 +00:00
Vlad Krupin
a2cdb7726f added support for personalized dictionaries.
new functions: pspell_new_personal(), pspell_save_wordlist().

pspell_save_wordlist() needs to be changed to return error-codes
once pspell library gets fixed
2000-08-08 18:46:41 +00:00
Stanislav Malyshev
ea3a3a1a2d Fix possible crash when stat information is not available 2000-08-08 15:50:28 +00:00
Martin Kraemer
8bf2339870 Bug #6016: Fix EBCDIC logic error in urlencode()
(a strchr() test was used backwards)
Reported by: dumbunny@tivo.com
2000-08-08 09:06:51 +00:00
Danny Heijl
d8790d9e2c - fix for # 5980 (using ifx_connect/ifx_close multiple times for the
same database connection) (danny)
2000-08-07 20:45:57 +00:00