Commit Graph

4643 Commits

Author SHA1 Message Date
Sterling Hughes
28160f73d0 Revert as per Herr Schumann's request. 2001-05-30 19:56:11 +00:00
Sterling Hughes
506ceb28fc Try #2
# aka, flying blind in a shitstorm, but it shouldn't hurt anything
2001-05-30 19:43:27 +00:00
Sterling Hughes
948edd322b should fix warnings under winblows. 2001-05-30 18:33:46 +00:00
Sterling Hughes
439038759b should fix compile warnings on win32 2001-05-30 17:49:33 +00:00
Sterling Hughes
c9ce7fcfc3 fix compile 2001-05-30 17:43:32 +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
Rasmus Lerdorf
1d115dbe8c ldap_result_entry needs to be initialized - tested
Should probably MFH this once someone else tests.
2001-05-30 15:09:20 +00:00
Adam Dickmeiss
c62baa9dc6 Added array options for yaz_connect: user, group, password, cookie,
proxy, and persistent.
2001-05-30 13:23:20 +00:00
Rasmus Lerdorf
7ee4c793c3 Note to self - stop coding on planes 2001-05-30 12:30:14 +00:00
Adam Dickmeiss
9667d6b381 Fixed bug where yaz_connect could fail in cases where it shouldn't. 2001-05-30 11:58:25 +00:00
Andrei Zmievski
daefeb59d5 Kill warning. 2001-05-29 20:32:57 +00:00
Frank M. Kromann
50bc884f78 Adding fbsql_status_db(). New function to get the status of a given database. 2001-05-29 16:01:54 +00:00
Chuck Hagenbuch
8f27945621 imap_thread(), from Rob Siemborski <rjs3@andrew.cmu.edu>. 2001-05-29 15:34:18 +00:00
Stanislav Malyshev
ca8c8264db Fix the reference serializer
# Hope now it is right...
2001-05-29 13:19:24 +00:00
foobar
56c24c3309 This should finally get rid of those zlib problems. And this is safe too. 2001-05-29 11:59:33 +00:00
Wez Furlong
8b5edf1a9e Fix compile warning 2001-05-29 10:14:46 +00:00
foobar
0c5d5a513b Added missing GD/GD2 image handling functions. 2001-05-29 07:46:07 +00:00
Sterling Hughes
4fbb606f60 compile warning fixes....... 2001-05-29 07:08:47 +00:00
foobar
3e7754c51e Make this compile. Killed one compile warning.
# I still get a lot warnings when compiling sablot.c
2001-05-28 21:06:50 +00:00
Boian Bonev
0404618712 use AC_CHECK_LIB to see if the new API is supported 2001-05-28 19:58:36 +00:00
Boian Bonev
e685cad988 changed checking if vpopmail has the new API
added checks if certain functions are supported
added vpopmail_alias_get_all
2001-05-28 19:56:10 +00:00
Boian Bonev
71553e5560 add checking if vpopmail has the new API 2001-05-28 19:53:45 +00:00
Andi Gutmans
91f4eec7e9 - tmpbuf is emalloc()'ed so this patch would be faster. 2001-05-28 19:38:30 +00:00
Wez Furlong
f808add1c0 Prepare for php_streams.
# Someone with interbase please test!
2001-05-28 18:30:57 +00:00
Wez Furlong
65b0e70e58 Fix leak 2001-05-28 18:29:07 +00:00
Wez Furlong
952a62207a Add extra parameter to php_escape_html_entities.
# I meant to commit this with the html.[ch] changes
2001-05-28 11:05:14 +00:00
Wez Furlong
d38cba8697 Added charset awareness to htmlentities() and htmlspecialchars(); use an
optional third parameter to specify the charset; otherwise tries to determine
it from the LC_CTYPE locale setting.
2001-05-28 11:00:06 +00:00
Wez Furlong
2bdef9c83f Improved performance of message part extraction when using a PHP-space
callback.
2001-05-28 10:57:23 +00:00
Sterling Hughes
3af89678ec compile goood, compile error baaad. 2001-05-28 04:40:08 +00:00
Sterling Hughes
5bff2399dd remove un-necessary inline bloat... 2001-05-28 03:37:17 +00:00
Sterling Hughes
687a1c1abe ws fix 2001-05-28 03:30:11 +00:00
foobar
6686f83799 Oops. 2001-05-28 03:18:44 +00:00
foobar
2798dd52af Killed some compile warnings. 2001-05-28 00:16:28 +00:00
foobar
d98f65085b Adding libnsl here causes problems on some systems. 2001-05-28 00:12:29 +00:00
foobar
d3aa2b0d17 Killed compile warnings. 2001-05-28 00:09:38 +00:00
foobar
ccf5f7ad04 Fixed some bugs. Now it compiles and works. 2001-05-27 23:57:27 +00:00
foobar
87eab1aa31 Removed duplicate line. 2001-05-27 23:56:16 +00:00
foobar
c2772e9c85 Just cleanup. 2001-05-27 23:55:44 +00:00
foobar
48fb0a62ec Make this compile even if the INFORMIXDIR is not in path. 2001-05-27 23:51:39 +00:00
foobar
2dca041ec3 killed some compile warnings. the informix header files redefine these. 2001-05-27 23:49:22 +00:00
foobar
49d18d9f25 Fix by Sterling Hughes. Fixes bugs: #10939, #10756, #10324 2001-05-27 23:26:58 +00:00
foobar
02400e339b remove ws, kill one compile warning. 2001-05-27 22:54:54 +00:00
foobar
67f2331d17 Per Sterling's request I'm committing this.
This works fine for me now. (I'm using external iconv libs)
2001-05-27 19:43:16 +00:00
foobar
1ecc932895 Fixed bug: #9707 2001-05-27 19:12:21 +00:00
Sterling Hughes
5ede574d49 Speed up data being sent to stdout 2001-05-27 19:11:09 +00:00
foobar
43e41ddb93 curl-config tells us which libraries it has compiled with. So we should use it. 2001-05-27 18:52:33 +00:00
foobar
d1735d5ed5 This is not needed. ssl_onceonlyinit() is enough. 2001-05-27 18:38:59 +00:00
Sterling Hughes
ee60cf057f Change the names around a bit zip_opendir() -> zip_open() and
zip_open() -> zip_entry_open()
2001-05-27 02:52:45 +00:00
Sterling Hughes
ea0f4078b5 @ Renamed the ZZiplib extension to the Zip extension, function
@ names have also changed accordingly, functionality, has stayed
@ constant. (Sterling)
2001-05-27 02:49:46 +00:00
Egon Schmid
3ceeb1ff40 Fix some protos. 2001-05-27 01:21:30 +00:00
Sterling Hughes
b2bd3b315f move to php_strtok_r() 2001-05-27 01:18:12 +00:00
Sterling Hughes
43865fb3c2 . 2001-05-27 01:16:45 +00:00
Sterling Hughes
1b20eacd21 so says sniper, and so it shall be. 2001-05-27 01:15:27 +00:00
Sterling Hughes
04908b1415 @ Made the length argument (argument 2) to pg_loread() optional,
@ if not specified data will be read in 1kb chunks. (Sterling)

@ Added a third argument to pg_lowrite() which is the length of
@ the data to write. (Sterling)
2001-05-27 01:10:36 +00:00
Sterling Hughes
d4b3b6d536 more leftovers 2001-05-27 01:05:31 +00:00
Sterling Hughes
129f37093a leftovers 2001-05-27 00:58:08 +00:00
Sterling Hughes
a2962a1312 # The mailing lists are a productivity hole, long live
cvsusers@php.net ;)

1) remove outdate struct xslt_function * construct in favor of
just using
the zval's themselves.

2) switch to call_user_function_ex() in the call_xslt_function()
function (gotta respect the alliteration ;) .

3) modify README.XSLT-BACKENDS to reflect some of the changes to
the api
2001-05-27 00:57:21 +00:00
Rasmus Lerdorf
8ca880265e Make c2-4 optional since they aren't needed in all cases 2001-05-27 00:01:55 +00:00
Andi Gutmans
fe1dbf644f - Add prototype. 2001-05-24 12:54:05 +00:00
Boian Bonev
9caffb4fb7 fixed prototypes 2001-05-24 10:38:17 +00:00
Boian Bonev
312290a2c4 added vpopmail_alias_get covering valias_select/valias_select_next 2001-05-24 10:33:32 +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
Boian Bonev
9270ae31ee cosmetic fixes; added 3 of the 7 valias functions 2001-05-24 03:31:09 +00:00
Boian Bonev
fe110e40e9 added prototypes 2001-05-24 03:20:35 +00:00
Boian Bonev
78380f1135 added check if vauth.h exists in vpopmail install 2001-05-24 03:19:44 +00:00
Boian Bonev
e38171a0b2 added 3 of 7 alias functions 2001-05-24 03:19:07 +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
Sascha Schumann
3ffaa634a2 fix buggy debug statements 2001-05-24 01:12:11 +00:00
Sascha Schumann
5e112d4384 Due to dynamic registration of storage handlers, OnUpdateSaveHandler
might be called before that registration takes place and hence the
INI update is dismissed.  In that case, we defer the lookup to the
first request init.
2001-05-23 23:18:51 +00:00
Sterling Hughes
b4ce3a696f Fix credits 2001-05-23 21:09:20 +00:00
Andi Gutmans
14ac3d74b9 - Nuke GINIT 2001-05-23 17:10:40 +00:00
Andi Gutmans
4ddb24366f - Fix problem of output initialization 2001-05-23 16:52:45 +00:00
Andi Gutmans
d6656c2fa3 - Commit fix by Steve Meyers 2001-05-23 04:17:54 +00:00
Sterling Hughes
17e5edbf18 @ Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
@ constants. (Zak)
2001-05-23 03:37:53 +00:00
John Donagher
639b957f74 Add missing end-folding delimiter 2001-05-23 01:50:11 +00:00
Andy Sautins
915875a667 - Add correct OCIObjectFree to free collections immediately ( OCI_FREECOLLECTION_FORCE )
- Added schema optional parameter to OCINewCollection to allow accessing types in
     other schemas.
   - Added OCI_TYPECODE_TABLE to OCINewCollection to allow creation of collection of TYPES
     as well as VARRAYS
2001-05-22 23:16:03 +00:00
foobar
3461a40063 Fixed bug: #10914 2001-05-22 21:33:17 +00:00
Andi Gutmans
177934732b - Start nuking not needed GINIT 2001-05-22 19:19:04 +00:00
Frank M. Kromann
251996bb79 Fixing prototypes to match function names 2001-05-22 18:26:36 +00:00
Andrei Zmievski
699489d456 @- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
@  when register_globals is on. (Andrei)
2001-05-22 17:55:07 +00:00
Frank M. Kromann
6b2df64cf0 Changing how persistant links are added to zend_lists 2001-05-22 17:32:17 +00:00
Jon Parise
311278f273 @ - Fix disk_free_space() and disk_total_space() under FreeBSD. (jon)
FreeBSD defines statfs(2) in <sys/mount.h>.  Teach PHP to look for it there.
2001-05-22 02:45:04 +00:00
foobar
920da9ef68 this fixes a few apache can not start bugs. 2001-05-22 00:39:17 +00:00
Derick Rethans
5512466878 - Nuke warning 2001-05-21 22:37:47 +00:00
Derick Rethans
31404981d3 - No need to include "zend" in include line
#- This broke compile because Unices want Zend instead of zend
2001-05-21 22:35:56 +00:00
James Moore
b68965f62f Fix for #8539 2001-05-21 21:06:08 +00:00
foobar
ffae2081d5 Fixed bug: #10777 2001-05-21 19:47:15 +00:00
Sterling Hughes
d3b4074ed7 Fix compile warning. 2001-05-21 19:36:22 +00:00
foobar
af5c5ecee1 fixed bug: #10593 2001-05-21 19:28:22 +00:00
James Moore
1dbab5bb33 Remove unused variable from imagesetstyle 2001-05-21 18:50:05 +00:00
Sterling Hughes
fc741eb754 one of these days I'll get this commit correct, just you watch!
# must not commit  before coffee
# must not commit  before coffee
# *ploink*
2001-05-21 18:35:47 +00:00
Sterling Hughes
b376e5b03e typo 2001-05-21 18:07:17 +00:00
Sterling Hughes
77cf892176 Fix socket_read to work under Linux again. 2001-05-21 17:48:19 +00:00
Sterling Hughes
7d15e8cce3 WS fix (php_read) and correct checking of the return value from inet_aton,
which returns *non-zero* on success (fix by Till Gerken).
2001-05-21 17:34:18 +00:00
Sterling Hughes
dc38b40eb8 Fixed bug where socket_connect() return the wrong value (report and fix by
Till Gerken)
2001-05-21 16:55:27 +00:00
foobar
d299236d7b Fixed bug: #10742 2001-05-21 16:18:51 +00:00
Andrei Zmievski
4d78270b4e Moving some functions into Zend. 2001-05-21 15:47:52 +00:00
Andi Gutmans
d160031c7d - EG's are passed automatically to internal functions. 2001-05-21 15:27:11 +00:00
Sean Bright
0b716d18b1 Added get_defined_constants() function. Returns an associative array of
constants mapped to their values.
@- Added get_defined_constants() function to return an associative array of
@  constants mapped to their values. (Sean)
# If anyone sees a problem let me know.
2001-05-21 13:36:42 +00:00
Sascha Schumann
82c4ac7423 Remove extraneous tab 2001-05-21 00:05:51 +00:00
Sascha Schumann
e2eaf6342e Add support for systems where p{read|write} take a off64_t without
being properly prototyped.
2001-05-20 23:39:09 +00:00
foobar
4e545c1d73 A few modifications to make the ZLIB checks work better. 2001-05-20 23:00:44 +00:00
Sascha Schumann
ae503d3a14 Whoops, the expat directory needs the XML_BYTE_ORDER macro 2001-05-20 22:18:03 +00:00
Sascha Schumann
244ea9f6c8 Don't add -DXML_BYTE_ORDER to global CPPFLAGS 2001-05-20 22:15:25 +00:00
Wez Furlong
8d6d3006e1 fixed a bug in mailparse_stream_encode which would default to a random encoding (usually base64)
# oops
2001-05-20 11:43:55 +00:00
Wez Furlong
6468f8b492 Imported mailparse extension
@- New mailparse extension for parsing and manipulating MIME mail (Wez)
2001-05-20 11:11:28 +00:00
foobar
fcfbb0cce6 This looks better. 2001-05-20 01:31:53 +00:00
Andrei Zmievski
e1f671fb5c Properly free callback_name only when necessary. 2001-05-20 01:21:44 +00:00
Derick Rethans
dc43b9f574 - Reversed 'fix' for #9698
- Fix for bug #9698/#10681 (patch by kettler@gmx.net)
@- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
@  (Derick)
2001-05-20 00:23:49 +00:00
Rasmus Lerdorf
ae3dda8285 Fix bug #9526 2001-05-19 22:50:44 +00:00
foobar
16b94858b6 Fixed bug #10964 2001-05-19 22:21:40 +00:00
Sterling Hughes
02d4567bb7 nuke last remnants of the old globals stuff
# oops
2001-05-19 17:45:36 +00:00
Sascha Schumann
060983b184 Use zend_hash_add_empty_element 2001-05-19 14:51:39 +00:00
Sascha Schumann
3b822e5752 Looks like this was a bogus gcc warning.
Submitted by: Sebastian Bergmann
2001-05-19 10:10:49 +00:00
Sascha Schumann
6c3b8d5619 Improve reading from external data source for session id creation.
Improve generating the string representation of the md5 session id.
2001-05-19 09:58:31 +00:00
Sascha Schumann
991e05d062 Nuke some warnings. 2001-05-19 09:56:42 +00:00
Sascha Schumann
d5cfb03ac9 munmap() file in RSHUTDOWN, if PHPWRITE fails. 2001-05-18 23:38:46 +00:00
Derick Rethans
d1697ad012 - Fix for bug #10890
@- Fixed bugs in the mcrypt extension that caused crashes (Derick)
2001-05-18 20:54:15 +00:00
Sterling Hughes
3c8140d97b @ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
@ specified that the drawn curve should be rounded. (Sterling)
2001-05-18 20:52:40 +00:00
Sterling Hughes
8f97b4d62f remove more php3 ts stuff 2001-05-18 20:37:21 +00:00
Sterling Hughes
fd3eb2544a should be using the function here. 2001-05-18 20:32:47 +00:00
Sterling Hughes
4812388278 Remove the remnants of old global macro's 2001-05-18 20:29:47 +00:00
Sascha Schumann
0255bb01e4 Files should be shared among processes. 2001-05-18 17:48:43 +00:00
Hartmut Holzgraefe
002d241a03 a small proto clarification 2001-05-18 16:42:54 +00:00
Andrei Zmievski
0ee9518396 Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
the global namespace.
2001-05-18 15:34:58 +00:00
Uwe Steinmann
8562b074a3 - completed list of error messages (thanks to Torben Wilson) 2001-05-18 08:07:09 +00:00
Derick Rethans
73f04651fa - Fix for bug #9801 (and maybe others) 2001-05-17 21:27:48 +00:00
Sterling Hughes
f7c8bb6a29 Some fixes. Actually assign a value scheme_handlers before processing it.
Add some checks for key type.  Remove some debugging data.
2001-05-17 18:15:15 +00:00
Daniel Beulshausen
741fbe5fc6 winsock is already initialized in an higher version by php 2001-05-17 17:13:47 +00:00
Daniel Beulshausen
9820c2a5af update sockets to work with winsock as well 2001-05-17 17:02:37 +00:00
Martin Kraemer
c34896aba8 Allow for DB3 to reside in /usr/local/include/db3/ and -ldb3 2001-05-17 15:27:12 +00:00
Vlad Krupin
5cd87e870e ...and this fixes the typo I made long ago. It prevented people that have
certain weird installations of pspell from compiling properly (couldn't
find pspell header files). No-one noticed...
2001-05-17 00:32:45 +00:00
Vlad Krupin
3a56ec8ce2 Fix for bug 10912.
Also, if you explicily specify path in --with-pspell, the directories
/usr, /usr/local will no longer be searched even if the library is not
found at the specified location (this seems to make more sense)
2001-05-17 00:26:12 +00:00
Sterling Hughes
ffc997f149 Add a compile check for the cURL version and fix the compile in general. 2001-05-16 23:43:30 +00:00
James Moore
da22505333 - Sync prototype and definition of phpi_get_le_gd 2001-05-16 23:11:33 +00:00
Sascha Schumann
28a441fe02 Fix for #10900.
Submitted by: cech@debian.org
2001-05-16 12:01:25 +00:00
foobar
ad366598a6 Fixed bugs: #10297, #10615, #10783, #10880 2001-05-16 04:50:49 +00:00
Jon Parise
82b31fb7a3 @ - Added disk_total_space() to return the total size of a filesystem.
@   (Patch from Steven Bower)
2001-05-15 23:43:18 +00:00
Jon Parise
6c5db8d2d7 @ - Renamed diskfreespace() to disk_free_space() to conform to established
@   naming conventions. (jon)
2001-05-15 23:28:17 +00:00
Andrei Zmievski
58f7df0ae4 Revert previous commit - callback_name does need to be checked because
it is set conditional on is_callable_replace.
2001-05-15 18:00:35 +00:00
Gavin Sherry
3a677d3e20 fixed shm_remove to expect the correct argument. 2001-05-15 07:32:34 +00:00
Gavin Sherry
16a13a6210 Added function sem_remove 2001-05-15 07:29:55 +00:00
Gavin Sherry
00f013189e Added sem_remove to remove semaphores from memory 2001-05-15 07:29:31 +00:00
foobar
613aacf0b0 MFB 2001-05-15 02:05:33 +00:00
foobar
f3a67a2e40 Fix bug: #5418 2001-05-15 01:50:46 +00:00
Sterling Hughes
00421e7c83 leftovers..... 2001-05-14 21:04:23 +00:00
Frank M. Kromann
11d14590d1 Adding a small readme file for win32 users 2001-05-14 21:04:19 +00:00
Frank M. Kromann
dcdd6d2b05 updating the win32 readme 2001-05-14 21:03:38 +00:00
Sterling Hughes
db58472b56 Register the binary transfer option 2001-05-14 21:02:31 +00:00
Andrei Zmievski
1f9808b4ee Clean up call_user_func_*(). 2001-05-14 20:56:05 +00:00
Sterling Hughes
803bebb303 Use zend_is_callable to test whether or not the given callback is valid
before calling the function.
2001-05-14 20:06:06 +00:00
Sterling Hughes
47ee387d79 Use zend_is_callable() and fix sp of deprecated. 2001-05-14 19:19:03 +00:00
Sterling Hughes
c58fdadc1f Couple of changes (and a little whitespace correction, sorry to mix :(
1) Depreciate the call_user_method*() variety of functions, their
    functionality can be easily duplicated by using the call_user_func*()
    functions (using the array(&$obj, "method") syntax).

    2) Change some pval's to zval's.

    3) Improve the error handling mechanism of call_user_func*() to report
    an the class name and the function name if an object or class name is
    given.
2001-05-14 19:02:23 +00:00
Derick Rethans
6123e2abe0 - Bumbed up the warning level to be in sync with fopen (which is E_WARNING
too) (See bug #10856)
2001-05-14 18:30:07 +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
Andrei Zmievski
8a86d17882 Need to use ELS_FETCH() here. 2001-05-14 14:16:44 +00:00
Andrei Zmievski
553e04be2f @- Fixed a bug in call_user_*() functions that would not allow calling
functions/methods that accepted parameters by reference. (Andrei)

* Allow separation of arguments in call_user_* functions - this allows calling
  functions that force parameters by reference.
* Use executor function table instead of compiler one.
2001-05-14 13:24:03 +00:00
Andrei Zmievski
eba50153ef No need for check since callback_name is always filled in. 2001-05-14 12:58:48 +00:00
Thies C. Arntzen
56cebea057 added expat version to phpinfo(); 2001-05-14 11:35:25 +00:00
Harald Radi
ee17c6440d renamed 2001-05-13 16:50:48 +00:00
Harald Radi
49be36d70d modified because of the changes in com.c 2001-05-13 14:22:19 +00:00
Harald Radi
3c60aabe22 @added com_release($obj) and com_addref($obj) functions
@and the related class members $obj->Release() and $obj->AddRef()
@to gain more control over the used COM components. (phanto)
also changed the return values of the internal functions from VARIANT
to pval, so there's no need to convert the returned value after each function
call and the real hashtable entry is returned and not only a copy of it.
#now everything is prepared to implement the array support
2001-05-13 14:21:20 +00:00
Harald Radi
04a5d124aa @added an additional parameter to dotnet_load to specify the codepage (phanto) 2001-05-13 14:15:26 +00:00
Wez Furlong
74ce7ee6c5 Removed redundant (and incorrect) '0' from "begin" string for uudecode. 2001-05-13 12:04:37 +00:00
Sascha Schumann
90c2979144 Nuke some warnings. 2001-05-13 07:37:28 +00:00
Wez Furlong
2633261cc3 Took out a line that might cause problems if you try and uuencode; there is no
uuencode support yet.
# Looks hard to do too; we need to buffer 45 chars
2001-05-12 23:49:29 +00:00
Wez Furlong
b2703047ab Added uudecode support (MIME name "x-uuencode") 2001-05-12 23:42:09 +00:00
Wez Furlong
615086c2c9 prototype for php_file_le_stream() 2001-05-12 21:49:13 +00:00
Wez Furlong
7a88deb402 expose streams to other extensions. 2001-05-12 21:48:39 +00:00
Daniel Beulshausen
e91089edb9 hopefully fix win32 build, untested 2001-05-12 20:01:59 +00:00
Sascha Schumann
e5176fe60a First step towards full libtool 1.4 portability 2001-05-12 12:22:34 +00:00
Sascha Schumann
afdaee9e47 Nuke more quotes 2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a Nuke some unneccessary quotes 2001-05-12 10:33:52 +00:00
Sascha Schumann
b18077179d Default to including expat.h 2001-05-12 10:22:16 +00:00
Sascha Schumann
cd30f5a6eb Rename some custom macros from AC_* to PHP_* 2001-05-12 09:26:47 +00:00
Sascha Schumann
718b588b14 Fix indentation of ./configure --help messages. 2001-05-12 09:13:42 +00:00
Sascha Schumann
8a3eb51a26 Replace ssize_t with long, as Win32 lacks proper support for that type. 2001-05-12 08:39:33 +00:00
Thies C. Arntzen
679f794eb4 add missing file 2001-05-12 08:21:20 +00:00
Wez Furlong
340c56e5c7 Fixed leak. 2001-05-12 00:45:55 +00:00
foobar
be3b514637 Fixed bug: #10823 2001-05-12 00:15:08 +00:00
Andrei Zmievski
ae90bcf16d Open season on memory leaks, shoot all you can. 2001-05-11 21:29:47 +00:00
Sascha Schumann
7566cf7f27 Fix special treatment of zlib by introducing the Apache concept
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene
c115a75544 Rewrote stat() and fstat() to be memory efficient, due to a recent
thread on php-dev.

Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Thies C. Arntzen
cd2f057f1a bump bundled expat to 1.95.1
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann
814fa2c71c Save a couple of syscalls per session
Fix apparent new-session-files-were-not-locked bug

Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski
1db2516277 Start cleaning up domxml memory leaks. Still much stuff to do. 2001-05-11 16:14:19 +00:00
Derick Rethans
04bd8d9174 Tabs please... 2001-05-11 13:34:49 +00:00
Sebastian Bergmann
e69f4dc51c Fix for bug #10815. 2001-05-11 13:32:10 +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
Jason Greene
7f3291ae8c Fix is_executable test. 2001-05-11 02:45:49 +00:00
Jason Greene
0ed93d71b2 @fstat() and stat() now return identical output by returning a numerical and
@string indexed array (Jason)

(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
foobar
5bc7cf90cd default to /usr/local 2001-05-10 23:55:56 +00:00
Frank M. Kromann
c1b7b83d45 Fixing some proto types 2001-05-10 16:35:05 +00:00
Andrei Zmievski
f071e8c566 Always free the callback_name when using zend_is_callable(). 2001-05-10 16:30:12 +00:00
Zeev Suraski
4c10e198e2 Fix buggy line split 2001-05-10 14:25:48 +00:00
Rui Hirokawa
45a2e761e7 fixed bug of mb_substitute_character() and mb_substr() in mbstring. 2001-05-10 13:12:03 +00:00
foobar
9fa37f60dc Fixed bug: #10779 2001-05-10 09:25:32 +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
Sterling Hughes
b01ba3f820 Fix naming issue
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
foobar
a972b6aa5b Cleaning up here too. 2001-05-10 00:59:41 +00:00
foobar
5f20be7315 Moved the zlib configure before other extensions. 2001-05-10 00:57:36 +00:00
foobar
14e883c3a0 Cleaned up this a bit.. 2001-05-10 00:55:48 +00:00
Wez Furlong
63b3fa262c Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Frank M. Kromann
4d1c545a9c Switching to zend_register_list_destructors_ex() 2001-05-09 21:44:44 +00:00
Andrei Zmievski
8112d1beba @- Added is_callable() function that can be used to find out whether
@  its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
Frank M. Kromann
5258141db8 Minor change to the way string lengths are calculated and space alocated. 2001-05-09 19:18:04 +00:00
Frank M. Kromann
90243d2cf0 Getting rid of memset. 2001-05-09 16:20:34 +00:00
foobar
3d430e4141 The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s 2001-05-09 15:38:29 +00:00
Wenhui Zhang
b6b5039f25 Change for Empress PHP support 2001-05-09 15:35:31 +00:00
Rui Hirokawa
223eca31fb remaked mb_gpc_handler as mb_parse_str() in mbstring. 2001-05-09 11:18:11 +00:00
Sterling Hughes
59d4dfc4c6 fix crash bug (unlikely, but this is the only place where the reported bug
would make sense, and it can't hurt)...
2001-05-09 04:54:46 +00:00
foobar
1a032963ea Fixed a typo. 2001-05-09 01:41:53 +00:00
Harald Radi
ffefed1972 E_ERROR instead of E_WARNING on nullpointer exceptions 2001-05-09 00:00:01 +00:00
Frank M. Kromann
383c757a43 Use RETURN_ macros to define function returns.
Fix fetch functions to return values from array data structure
2001-05-08 22:58:32 +00:00
foobar
3d856be7f6 No need to show these if they are not used. 2001-05-08 22:18:00 +00:00
Dan Kalowsky
b3a509ac9e this is a fix for bug 10250. it basically provides the unixODBC driver with
access to the SQLDriver functions.  patch originally submitted by
dzoll@nyscul.org, and is going to be tested by some of the unixODBC people.
2001-05-08 19:47:20 +00:00
Frank M. Kromann
8a030b9809 Fixing the use of compatibility mode. When the flag is off the system should return correct PHP types (default) when the flag is on strings will be returned for all data types. 2001-05-08 19:24:14 +00:00
Frank M. Kromann
aaebbecdcf Fixing the use of compatibility_mode setting in php.ini.
Nuking trailing spaces when returning a string.
2001-05-08 18:10:25 +00:00
Rui Hirokawa
0a452b2ff2 added mb_language to ext/mbstring. 2001-05-08 14:33:20 +00:00
foobar
da0162a9de Fix the build.
# I promise not to commit if I'm tired.. :(
2001-05-08 11:08:08 +00:00
James Moore
7056620699 Give correct warnings if certain libaries/verisons are not avalible 2001-05-08 00:23:59 +00:00
Zeev Suraski
ff11c36dc5 Avoid crashing if somehow, output is sent in a new thread tha had no requests 2001-05-07 22:00:13 +00:00
Marc Boeren
a7bff5d8f1 Passed db_handle to dbx_error_function instead of NULL (Mc)
# I don't know why it worked on my machine, but now it works
# because the code is right, not through magic :)
2001-05-07 14:49:05 +00:00
Rui Hirokawa
156a461117 update address of licence term in mbstring. 2001-05-07 13:58:00 +00:00
Wez Furlong
21ec6e2993 Enabled optional result_mode param in mysql_db_query() to make it behave
as mysql_unbuffered_query (can be either MYSQL_USE_RESULT or
MYSQL_STORE_RESULT)
2001-05-07 11:02:31 +00:00
Sascha Schumann
21eee58f6f As the WDDX extension can now be built as shared extension
without functional loss with regard to the session serializer, it
is safe to default to disable.  We enable XML automatically only,
if the user is building WDDX as a static extension.
2001-05-07 08:22:34 +00:00
Egon Schmid
78ee5d56b3 Fixed some protos. 2001-05-06 22:25:14 +00:00
Sterling Hughes
7bf6869583 fix crash bug 2001-05-06 22:24:25 +00:00
Rui Hirokawa
a09844a981 fixed divided by zero exception and lack of multidimentional array support in mbstring. 2001-05-06 22:06:10 +00:00
Sterling Hughes
af58697165 fix compile bug. 2001-05-06 21:38:58 +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
James Moore
f3342a5b55 Fix win32 build 2001-05-06 19:20:25 +00:00
Derick Rethans
9f5e71bd42 - Nuke warning 2001-05-06 18:53:45 +00:00
Derick Rethans
b181237582 - Partial fix for bug #9050, support for "Jan 19 2000" date format 2001-05-06 18:33:49 +00:00
foobar
6c21f7ef0f Moved ts_alloca_id() into MINIT like Andi requested. 2001-05-06 17:55:10 +00:00
foobar
8e006f81af Fix bug: #8834. Now there should be more random salts.. 2001-05-06 16:54:27 +00:00
foobar
9d1817ed7f Fix bug: #10323. Every value outputted is now escaped. 2001-05-06 15:20:56 +00:00
Sascha Schumann
eba7a8c8e6 Fix broken build 2001-05-06 10:33:21 +00:00
Wez Furlong
4f943b6012 Fixed win32 build problem. 2001-05-06 09:39:11 +00:00
Egon Schmid
58d2b0a52b Corrected one proto. 2001-05-06 06:33:48 +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
Rui Hirokawa
b0d91b12f8 fixed a compilation problem without --enable-mbstr-enc-trans. 2001-05-06 02:44:12 +00:00
Rasmus Lerdorf
4f059abacf Add pg_last_notice() function 2001-05-06 01:34:56 +00:00
Wez Furlong
3ffb8e3800 Nuke buffering from php_streams, move connect_nonb() from fsock.c to network.c
and rename to php_connect_nonb().
Use php_connect_nonb() instead of connect() in php_hostconnect() -> timeouts
should now work in php_hostconnect().
sock streams abstraction now uses php_sockbuf as the "abstract" pointer.
2001-05-05 18:36:22 +00:00
Wez Furlong
080fdabc85 Added Sascha Kettler to credits 2001-05-05 11:29:01 +00:00
Sascha Schumann
d998ae4e5b Fix broken ZTS build. 2001-05-05 11:11:32 +00:00
Zeev Suraski
52ba317606 emalloc()'d strings must be freed before the request shutdown;
Rule of the thumb:  initialize in RINIT, clean in RSHUTDOWN
2001-05-05 01:42:15 +00:00
Wez Furlong
b379cd968c Merged and adapted a patch from Sascha Kettler <kettler@gmx.net> that provides
some asymmetric RSA encrypt/decrypt functions.
2001-05-04 23:42:11 +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
Jason Greene
bb131011a7 Fixed bug in my previous patch, forgot to reset connect error globals
on request startup.
2001-05-04 18:27:15 +00:00
foobar
a3c90853a0 Fix bugs: #10642, #10612 2001-05-04 17:57:58 +00:00
Andrei Zmievski
0eecec7773 @- Fixed a bug in preg_split() that would incorrectly limit the number of
@  results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)

- Fixed a bug in preg_split() that would incorrectly limit the number of
  results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Also made limit = -1 when limit = 0, to emulate Perl.
2001-05-04 16:43:53 +00:00
Thies C. Arntzen
a085b708e1 namespace-protect "open" 2001-05-04 14:53:45 +00:00
Rui Hirokawa
c0624c769b fixed a memory leak in ext/mbstring. 2001-05-04 10:42:54 +00:00
Marc Boeren
a3d3819f6f Forgot the Visual Studio project, added now (Mc)
Updated CREDITS (Mc)
2001-05-04 09:43:57 +00:00
Marc Boeren
a56162243a Registered db-module constants for use in dbx_connect (Mc)
Added support for Microsoft SQL Server (Mc)
2001-05-04 09:42:45 +00:00
Marc Boeren
e3770563fc Added docs about creating dbx-support for other databases. (Mc) 2001-05-04 09:39:52 +00:00
Sebastian Bergmann
d92522c8d1 Nuke unreferenced local variables. 2001-05-04 06:25:10 +00:00
Sterling Hughes
1ae44c8e49 Make it compile with the latest cURL cvs, heck it even works. 2001-05-04 04:20:38 +00:00
Rui Hirokawa
93e7521639 added status parameter to output handler in ext/iconv. 2001-05-04 03:55:48 +00:00
Jason Greene
8405c36815 @ Added connection error support to mysql_error() and mysql_errno() (Jason)
This should work correctly without causing compatibility issues with previous
scripts. Someone might want to double check this change, just in case.
2001-05-04 01:14:26 +00:00
Derick Rethans
8909c33319 - Applied a patch that enables getimagesize to return the size of .bmp and
.psd files (Patch by Paul Jongsma <paulj@webtic.com>)
@- Added support to getimagesize to return dimensions of BMP and PSD
@  files (Derick)
2001-05-03 21:28:26 +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
Sascha Schumann
9de9b7c1e9 add an interface for registering storage modules at run-time. 2001-05-03 15:48:49 +00:00
Harald Radi
172a9c9303 fixed leaky code
#cleaned up dirty hack from yesterday
2001-05-03 11:20:29 +00:00
Sergey Kartashoff
e176e5c101 Some fixes in Udm_Cat_List and Udm_Cat_Path functions. 2001-05-03 08:59:49 +00:00
Rui Hirokawa
b388986f57 deleted some function aliases.
@- Added Japanese multibyte string functions support. (Rui)
2001-05-03 00:44:26 +00:00
Hartmut Holzgraefe
06d498473e added generation of CREDITS and EXPERIMENTAL to ext_skel 2001-05-02 23:33:21 +00:00
Andi Gutmans
eb4d840a40 - More strncpy() -> strlcpy() changes. Am I getting bored yet? :) 2001-05-02 23:20:04 +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
Andi Gutmans
f84637d4b8 - Change strncpy()'s to strlcpy()'s 2001-05-02 22:49:48 +00:00
Andi Gutmans
d90ef12bb8 - Whitespace fix 2001-05-02 22:41:09 +00:00
Andi Gutmans
f1c801ac89 - Commit interbase fixes 2001-05-02 22:31:19 +00:00
Andi Gutmans
0ac0f656ae - Fix possible buffer overflow. Always better to use strlcpy() instead
of strncpy()
2001-05-02 22:22:16 +00:00
Harald Radi
7361fa13fc adapted because of the changes in the com module 2001-05-02 21:52:12 +00:00
Harald Radi
8dc2dbaf9b removed itypeinfo calls because they didn't work on every machine
#i'm investigating this ...
2001-05-02 21:51:19 +00:00
Frank M. Kromann
ed267a7d66 Changing paramters on database_password 2001-05-02 20:36:51 +00:00
Frank M. Kromann
7049935da0 Fixing segfault in database_password 2001-05-02 20:06:00 +00:00
Andi Gutmans
5965588963 - Apply Vlad's sybase patch to work with two different kinds of builds of
the sybase libraries
2001-05-02 18:38:17 +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
Rui Hirokawa
953c181026 clear http input encoding detection result in RSHUTDOWN. 2001-05-02 13:24:26 +00:00
John Donagher
b2e6cf009d - Remove C-style comments
- Remove some stale debugging code
2001-05-02 01:08:47 +00:00
foobar
d4e64925d5 Possible Fix for #10570, #10585, #10539 and maybe others. 2001-05-02 00:21:25 +00:00
Rui Hirokawa
f34bad2d4f modified some function name in ext/mbstring based on naming convension and mbstr_http_input() implemented. 2001-05-01 23:44:20 +00:00
foobar
d0dac28cc2 Fix bug #10563 2001-05-01 23:22:55 +00:00
Frank M. Kromann
1d7dc11df0 Fixing some proto types and return values 2001-05-01 22:04:11 +00:00
Hartmut Holzgraefe
6e883e9e32 looks like i missed something 2001-05-01 19:15:43 +00:00
John Donagher
5135d75bf5 Add TODO 2001-05-01 19:08:27 +00:00
Andi Gutmans
4cef5e78d3 - Optimizer the previous patch a bit by nuking memset() 2001-05-01 18:13:59 +00:00
Frank M. Kromann
e8949d7781 Adding support for BINARY, VARBINARY and IMAGE column types.
Thanks to Brad LaFountain.
2001-05-01 18:01:08 +00:00
Andrei Zmievski
ea56318495 Patch from Sascha that abstracts session serializers. WDDX extension
now implements the encode/decode functions and registers them with
the session module.
2001-05-01 17:01:51 +00:00
Hartmut Holzgraefe
78b54eaa8b hartmfixed and extended the ini parameter and module globals stuff
once again: someone test this please!
2001-05-01 16:21:58 +00:00
Rui Hirokawa
f2731cb91a modified some function name in mbstring based on php's naming convension. 2001-05-01 09:20:51 +00:00
Derick Rethans
7f20f1e866 - Fix for bug #10518 (Thanks to kettler@gmx.net) 2001-05-01 07:09:09 +00:00