Commit Graph

3965 Commits

Author SHA1 Message Date
Uwe Steinmann
454221ba62 - took out the HwSLS_FETCH to make it compile again on Unix
Is this really neccesary at this point?
2001-02-22 09:38:59 +00:00
Jon Parise
b0af96a9fe The php_rand() and php_srand() functions added in the previous commit
require the inclusion of php_rand.h.
2001-02-22 03:37:32 +00:00
James Moore
118c015529 Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand. 2001-02-22 00:24:19 +00:00
Shane Caraveo
6e31987376 Initalize some of the global vars. Crashed under ms debugger without having them initialized. 2001-02-21 23:57:28 +00:00
Rainer Schaaf
28ed45fa72 When using pdf_get_buffer() and doing a correct cleanup by calling pdf_delete()
this always resulted in a coredump (after everything was finished, so only
visible in the logfile).
So it seems to be neccesary to copy the contents of the result of get_buffer,
to avoid this coredump.
2001-02-21 23:30:21 +00:00
Thies C. Arntzen
7139926e84 fix possible leak. 2001-02-21 20:33:46 +00:00
Stig Bakken
5ed1199b61 * dbmaker fix, shared support 2001-02-21 18:23:53 +00:00
Andrei Zmievski
8d7972b69b Fix memory leak. 2001-02-21 17:22:26 +00:00
Sascha Schumann
47f7795594 Correctly check for the existence of the st_rdev field.
Note that this field is required to exist for SUSv3 conformance.

Submitted by: amra@us.ibm.com
PR: #9358
2001-02-21 07:18:28 +00:00
Sascha Schumann
e8ef0d8b2c Preprocessor stuff should go into CPPFLAGS. 2001-02-21 07:09:22 +00:00
Zeev Suraski
a3775357ec Fix Win32 build 2001-02-20 22:32:29 +00:00
Andrei Zmievski
df868616aa Enable UTF8 support (incomplete) by default. 2001-02-20 22:21:06 +00:00
Andrei Zmievski
a798fe8d5d Include PHP compatibility header file. 2001-02-20 22:20:47 +00:00
Andrei Zmievski
6542e70473 Upgrade PCRE to version 3.4. 2001-02-20 22:00:33 +00:00
Daniel Beulshausen
714e340a3b proper prefix for lookup_hostname 2001-02-20 20:52:53 +00:00
Daniel Beulshausen
adcd6e7b0b make hyperwave build under win32 2001-02-20 20:45:55 +00:00
Daniel Beulshausen
a96174dbe3 make socket functions available to the outside 2001-02-20 20:34:14 +00:00
Daniel Beulshausen
721d59948e make gd work again under win32 2001-02-20 18:00:44 +00:00
Daniel Beulshausen
57ce23e3cb add configuration which links again libsasl.lib 2001-02-20 17:11:25 +00:00
Jason Greene
ffa08fc26e Changed default behavior of array_search to match in_array
(strict was default on, and is now default off)
2001-02-20 16:44:57 +00:00
David Eriksson
f9fe688055 Patch for inherited interfaces by Daniel Stodden <stodden@in.tum.de> 2001-02-20 15:35:56 +00:00
Daniel Beulshausen
10695935e0 added missing ELS_FETCH() 2001-02-20 15:34:10 +00:00
Daniel Beulshausen
cef5e966fd define HAVE_LIBICONV 2001-02-20 15:19:38 +00:00
David Eriksson
fd4f472928 Stop leaking ParameterType data 2001-02-20 15:18:27 +00:00
Daniel Beulshausen
1ed938ceba no swf under win32 2001-02-20 15:15:10 +00:00
David Eriksson
a4d8deb6e5 Corrected typo in config.m4 2001-02-20 15:12:31 +00:00
Daniel Beulshausen
8fd9c6e206 changed zlibstat.lib -> zlib.lib, which is the correct name 2001-02-20 15:05:37 +00:00
Andrei Zmievski
1424e36315 Rename to array_search(). 2001-02-20 14:23:03 +00:00
Adam Dickmeiss
4c04c755dd Yet another bug fix regarding present. 2001-02-20 11:40:36 +00:00
Sergey Kartashoff
3bfea1e627 Phrase search support has been added to mnogosearch extenstion.
Min_word_len and Max_word_len support has been added to mnogosearch
extension. Example updated.
2001-02-20 11:29:16 +00:00
Jason Greene
1888a98a4b Moved the core of in_array into the function php_search_array, which is called by
in_array and search_array (new)

@ Added search_array which works similar to in_array but returns
@ the key instead of a boolean. (jason@php.net)
2001-02-20 05:36:40 +00:00
Derick Rethans
82c2851bcc - Fix for bug 9277, two the same boundaries make sense in some cases 2001-02-19 19:20:47 +00:00
Adam Dickmeiss
c211778f5d Bug fix: number of records in yaz_range wrongly set to zero. 2001-02-19 17:06:40 +00:00
Sascha Schumann
0eec8cf2f7 Simpler fix for the InvalidOid thing by Tom Lane.
He assured me that InvalidOid has always expanded to (Oid) 0, so this
should be safe.
2001-02-19 16:31:17 +00:00
Sascha Schumann
1e6be5aaf5 Fix incompatibility with PostgreSQL CVS.
We now perform a check whether we need to include <postgres.h> to
succesfully compile.

PR: #9328
2001-02-19 08:14:45 +00:00
Sascha Schumann
b91b1779a5 Fix warning 2001-02-19 07:50:06 +00:00
Sascha Schumann
5db26dd415 Allow passing relative paths to --with-pgsql 2001-02-19 07:49:16 +00:00
Thies C. Arntzen
e9c4218470 [p]fsockopen: fixed possible leak 2001-02-18 18:54:41 +00:00
Thies C. Arntzen
d6aab98541 fixed buffer-overwrite 2001-02-18 18:31:31 +00:00
Thies C. Arntzen
84c243d3cc fixed a possible double-free 2001-02-18 18:15:01 +00:00
Egon Schmid
a297dbd6f3 Typos in protos. 2001-02-18 16:59:18 +00:00
Harald Radi
176f24c9a5 export global constants for codepage and variant type
VT_* and CP_*
2001-02-18 16:51:27 +00:00
Harald Radi
c315e137c3 added a few more variant types for zval <-> variant conversion 2001-02-18 16:49:59 +00:00
Harald Radi
a15e465a34 @- Added new object VARIANT() to encapsulate values for use with
@  the COM and DOTNET module. Therefore it is now possible to pass
@  values by reference, convert php values to extended variant types (currency,
@  date, idispatch, iunknown, ...) and define the codepage that should
@  be used for unicode - conversion.
2001-02-18 16:49:06 +00:00
Harald Radi
8d6f13dc2b added myself to CREDITS 2001-02-18 16:40:28 +00:00
Thies C. Arntzen
5f4090d0e0 - Fixed crash in OCI8 when using unitialized LOBs. (Thies) 2001-02-18 11:10:30 +00:00
Thies C. Arntzen
67c2eaa6ea make oci work again. 2001-02-17 15:54:40 +00:00
Harald Radi
55f25fb942 multiple codepage support
export global constants
2001-02-17 02:16:29 +00:00
Zeev Suraski
392e9869ee import notes modules from Brad Atkins 2001-02-16 21:36:30 +00:00
Sascha Schumann
7911be587b Add all necessary includes for these header files. 2001-02-16 18:55:58 +00:00
foobar
2c3b7385bf Fixed a typo in constant definitions and a possible crash in curl_setopt().
# pr: #9181
2001-02-16 14:31:37 +00:00
Egon Schmid
d27ebba71f Wrong return type. 2001-02-16 13:13:52 +00:00
Egon Schmid
bbe53dedcc Small typo. 2001-02-15 20:33:09 +00:00
Sterling Hughes
2f0238dc4e Change e-mail address
# Can I get someone to change my cvsusers e-mail address to
# sterling@designmultimedia.com?
2001-02-15 16:20:13 +00:00
Thies C. Arntzen
8499b430cf @- Fixed some modules to allow using output-buffering. (Thies)
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.

NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Thies C. Arntzen
5ca813a564 0..255 2001-02-15 14:01:18 +00:00
Thies C. Arntzen
72ec2e8f12 fixed SEGFAULT when using xml_set_object. Zend does not yes support
cyclic references!
2001-02-15 13:41:04 +00:00
Sergey Kartashoff
cd55dfa3bd Added thow new mnoGoSearch agent session parameters:
UDM_PARAM_WEIGHT_FACTOR and UDM_PARAM_WORD_MATCH.
2001-02-15 11:50:49 +00:00
Sascha Schumann
637e8e14aa There might be more systems which do not support chroot, so we check
for the existence of it.

Additionally, if chroot is not supported, the warn_not_available function
is invoked now.
2001-02-15 05:21:27 +00:00
Zeev Suraski
c239da7e66 Fix the PostgreSQL fix... 2001-02-15 02:15:36 +00:00
Derick Rethans
8cef8a9ca1 - chroot does not work on windows 2001-02-15 00:43:44 +00:00
foobar
28b2869ac8 This should make detecting the version of Oracle libs a bit more accurate
to avoid the 'missing libcore4' errors. (e.g. on AIX)
Bug reports: #9027, #8905
2001-02-14 21:41:40 +00:00
Jon Parise
0450aecb8c Fix build. 2001-02-14 20:10:15 +00:00
Sergey Kartashoff
59e1b2cd4e mnoGoSearch config.m4 freebsd compatibility fix. 2001-02-14 14:39:40 +00:00
Sergey Kartashoff
3fc482b207 Added mnogosearch version checking into config.m4.
Some proto fixes.
2001-02-14 14:27:46 +00:00
Thies C. Arntzen
ecaeac5881 ocifreedesc() now spits a NOTICE when called the "wrong" way. 2001-02-14 13:06:03 +00:00
Derick Rethans
2648283b5b - Added an extra chdir("/"); as sugested by Sascha 2001-02-14 11:02:54 +00:00
Derick Rethans
4a54a15fc6 - Added the chroot function for changing root in a script.
#- This can be usefull when using PHP in a shell environment, or when PHP
#  runs as CGI which needs a little more security
2001-02-14 10:48:48 +00:00
Thies C. Arntzen
9d6f117938 remove stupid PGSQL warning 2001-02-13 20:13:14 +00:00
Adam Dickmeiss
9d8c1fb983 Bug fix: Record retrieval (present) is termiated on error. 2001-02-13 20:02:53 +00:00
Thies C. Arntzen
f6925611fb @- PostgreSQL now does a rollback at the end of a request on every
@  persistent connection. This is done by doing an "empty" transaction
@  on the connection (This was advised by someone from the PostgreSQL
@  core-team). If you leave transactions open on your page you will see a
@  "NOTICE:  BEGIN: already a transaction in progress" message in your
@  apache error_log. This message is created by the PostgreSQL libs - we can
@  do nothing about it. (Thies)
2001-02-13 18:28:24 +00:00
Thies C. Arntzen
79a38a1c3a @- fixes PostgeSQL pg_connect() bug. We would sometimes close the default
@  link by acciedent. (Patch by: aja@nlgroup.ca)
2001-02-13 16:54:48 +00:00
Adam Dickmeiss
4ea3336962 Implemented yaz_present, yaz_scan, yaz_scan_result, yaz_ccl_conf,
yaz_ccl_parse and yaz_itemorder. Updated documentation.
2001-02-12 23:31:11 +00:00
Rainer Schaaf
4c21de658f added module support (for dl()) for PDFlib
the PDF files now tell that they are generated by the PHP binding.
2001-02-12 17:50:39 +00:00
Thies C. Arntzen
201342385e @- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle) 2001-02-12 14:36:28 +00:00
Thies C. Arntzen
fc7d103b73 fixed possible leak in imap_search 2001-02-12 11:57:22 +00:00
Sean Bright
ef2e1a72cf Fix for bug #4556
# This is pretty much a total rewrite of get_meta_tags using a simple
# handwritten tokenizer.  It might be overkill, but it works.
2001-02-11 02:38:40 +00:00
Hartmut Holzgraefe
766bdbc919 make _php_image_convert configuration-aware 2001-02-09 21:14:30 +00:00
Hartmut Holzgraefe
d8a83a3722 libjpeg-not-installed protection 2001-02-09 21:04:45 +00:00
Rasmus Lerdorf
e0c4bd742e Stray ] 2001-02-09 16:42:55 +00:00
Rasmus Lerdorf
4877d13ffa What the heck is CUT? Assume someone meant UTC here. And fix a
warning.
2001-02-09 15:28:23 +00:00
Sergey Kartashoff
279588aa12 Added UDM_PARAM_FIRST_DOC and UDM_PARAM_LAST_DOC mnoGoSearch extenstion
result parameters. Example updated.
2001-02-09 13:29:20 +00:00
Boian Bonev
e7a148a758 fixed SIGSEGV in vpopmail_auth_user when optional arg apop is not set 2001-02-08 23:31:01 +00:00
Uwe Steinmann
32b8cdde14 - add domxml_unlink_node(), not tested 2001-02-08 15:12:16 +00:00
Sergey Kartashoff
df9803c75f Added UDM_PARAM_SEARCHTIME result parameter.
Now at least mnoGoSearch-3.1.10 required to use this module.
Added some parameters aliases. Example updated.
2001-02-08 13:33:37 +00:00
Sergey Kartashoff
e0107c14fc # also Added CREDITS and cvs Template
# added udm_config.h for compatibility with mnoGoSearch-3.1.10pre
2001-02-08 10:14:57 +00:00
Andrei Zmievski
51c535f510 Move todo items. 2001-02-08 04:55:49 +00:00
Boian Bonev
156207b37b # fixed several warnings - variables not used, functions not declared
# added vclose() declaration - vpopmail does not declare it
2001-02-07 17:48:00 +00:00
Sascha Schumann
271617483a Improve use of $withval. This also cures the problem of adding -Lyes/lib
to $LIBS.
2001-02-07 16:01:29 +00:00
Jim Jagielski
e541a27eed For those lucky systems with both random() and *rand48(), the random()
family is the prefered choice. So if both exist, we now choose that.
2001-02-06 16:27:08 +00:00
Sergey Kartashoff
222ac6e30e UDM_FIELD_ORDER and UDM_FIELD_CRC mnoGoSearch result fields has been added.
Example updated.
@- UDM_FIELD_ORDER and UDM_FIELD_CRC mnoGoSearch result fields
@  has been added. (gluke)
2001-02-06 15:40:33 +00:00
Sergey Kartashoff
0c759c822c UDM_PARAM_WORDINFO mnoGoSearch result parameter has been added.
UDM_PARAM_RATING result field has neen added as alias for UDM_PARAM_SCORE.
Example updated.
@- UDM_PARAM_WORDINFO mnoGoSearch result parameter has been added.
@  UDM_PARAM_RATING result field has neen added as alias for
@  UDM_PARAM_SCORE. (gluke)
2001-02-06 14:30:55 +00:00
Andrei Zmievski
26283a3bcc Preserve API compatibility. 2001-02-06 04:15:50 +00:00
Andrei Zmievski
88fce00cc0 Don't use Z* macros for non-zvals. 2001-02-06 03:57:43 +00:00
Andrei Zmievski
74912b9afb Cleaned up and optimized WDDX serialization - it's about twice
as fast now.
2001-02-06 03:54:15 +00:00
Stephen van Egmond
b10273781a Added tests for arpa/*.h and resolv.h which don't exist on the BeOS.
The dns functions on BeOS come from socket.h
2001-02-06 00:07:21 +00:00
Zeev Suraski
bf84618244 Fix Windows build 2001-02-05 21:59:17 +00:00
Derick Rethans
cf11a4fbc8 - Added a new parameter to mail() which appends aditional command line
parameters to the mail program. This is usefull to set the From headers
  correctly with the -f parameter to sendmail p.e.
@- Added a new parameter to mail() which appends aditional command line
@  parameters to the mail program. (Derick)
2001-02-05 21:30:29 +00:00
Vlad Krupin
b5875d9d7c Added myself to CREDITS (vlad) 2001-02-05 19:18:04 +00:00
Harald Radi
3926cc2278 fixes the problem that php.exe compiled on win2k platform won't run on any other 2001-02-05 18:36:54 +00:00
Vlad Krupin
ee668c5881 now when pspell/pspell.h is included, it will recognize
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source)
2001-02-05 18:15:31 +00:00
Andrei Zmievski
5355703cf3 Allow calling static methods via call_user_method_* functions. 2001-02-05 17:37:47 +00:00
Sergey Kartashoff
fb057e7ea9 Added new Udm_Clear_Search_Limits mnogosearch extension function.
@- Added Udm_Clear_Search_Limits mnoGoSearch extension function.
2001-02-05 15:15:09 +00:00
Sergey Kartashoff
886cd2d937 Fixed default search path.
@- Fixed default search path. (gluke)
2001-02-05 14:00:36 +00:00
Sergey Kartashoff
83265243d3 Added new Udm_Add_Search_Limit mnoGoSearch extension function.
Some bugfixes and example update.
@- Added new Udm_Add_Search_Limit mnoGoSearch extension function.
@  Some bugfixes and example update. (gluke)
2001-02-05 13:12:16 +00:00
James Moore
efa9319c64 Adding Sebastian Bergmann to QA team list. 2001-02-05 10:18:14 +00:00
Sergey Kartashoff
fad70e0d98 Fixed mnogosearch protos. Fixed mnogosearch functions return values.
A bug with capital letters break search has been fixed.
@- Fixed mnogosearch protos. Fixed mnogosearch functions return values.
@  A bug with capital letters break search has been fixed. (gluke)
2001-02-05 08:42:54 +00:00
James Moore
7a85ec55f7 Adding microtime() tests 2001-02-04 16:56:59 +00:00
James Moore
712f09d2a8 Always return a value even if HAVE_GETTIMEOFDAY is not set 2001-02-04 16:18:36 +00:00
Andrei Zmievski
56d3b036ec Adding delimiter capturing functionality.
As far as NEWS, compilation fixed don't belong here.
2001-02-03 04:53:49 +00:00
Andrei Zmievski
c5baa5ede1 Revert bogus patch and fix it properly. 2001-02-02 21:32:16 +00:00
Colin Viebrock
96343bac90 Fix for http://bugs.php.net/bugs.php?id=9082
I know switch() is expensive, so someone rewrite this "properly" if you
want.
2001-02-02 20:55:27 +00:00
Rasmus Lerdorf
91d91d5052 pspell .12 fix
@ pspell .12 fix (Hugh Jones)
2001-02-02 18:28:48 +00:00
Harald Radi
2ee1ed2138 correct phpinfo() output 2001-02-02 18:11:39 +00:00
Egon Schmid
c6633698b4 Fixed protos. 2001-02-02 15:49:59 +00:00
Harald Radi
58dc4ad8db correct phpinfo() output 2001-02-02 15:02:05 +00:00
Rasmus Lerdorf
6745b16c82 Fix strip_tags to not strip a lone > character
@ Fix strip_tags to not strip a lone > character (Rasmus)
2001-02-02 13:47:02 +00:00
Sergey Kartashoff
ab60971ec4 Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
stored either in database or in the plain text files. Added php warnings.
Test example updated.
@- Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
@  for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
@  stored either in database or in the plain text files. Added php warnings.
@  Test example updated. (gluke)
2001-02-02 12:54:15 +00:00
Thies C. Arntzen
9c1abab2db ws-only 2001-02-01 17:16:35 +00:00
Thies C. Arntzen
1366f67d0b @- When using the ob_gzhandler() PHP now automagically also sets the
@  Content-Lengh correctly which enables browsers to use the HTTP
@  Keep-Alive feature. (Thies)
2001-02-01 17:14:18 +00:00
Sascha Schumann
a4df53ad1c Fix a huge memory leak in the ob_gzhandler. 2001-02-01 16:29:07 +00:00
Stanislav Malyshev
bb6d3e60e8 Allow usage of GD contexts and not tempfiles in output functions 2001-02-01 15:40:35 +00:00
Andrei Zmievski
898baa8b54 No need for CLS_FETCH(). 2001-02-01 15:25:53 +00:00
Sascha Schumann
23ddeac9a5 Fix broken ZTS build 2001-02-01 15:24:17 +00:00
Sergey Kartashoff
d7b7c7283f UDM_PARAM_CHARSET parameter in Udm_Set_Agent_Param() has been added to
set local charset you are using. Example updated also.
@- UDM_PARAM_CHARSET parameter in Udm_Set_Agent_Param() has been added to
@  set local charset you are using. Example updated also. (gluke)
2001-02-01 13:06:26 +00:00
Stanislav Malyshev
5af00138e9 Add utility function 2001-02-01 10:24:02 +00:00
Stig Bakken
e07eda31ed did someone poop in the code? :-) 2001-02-01 09:36:52 +00:00
Uwe Steinmann
485c8fb570 ­ some modification from Rainer Schaaf
* fixed prototype for pdf_new()
   * MINFO: included Revision of pdf.c, removed info about CJK + in-memory, this is
     standard with V3.x)
   * repaired PDF_open_CCITT
   * repaired PDF_setfont
   * eliminated many compiler warnings.
   * former resource "pdf document" is now called "pdf object"
2001-02-01 07:07:10 +00:00
Andrei Zmievski
0651b4ff16 Modified /F handling to allow calling object methods. 2001-02-01 05:04:58 +00:00
Egon Schmid
0c450fa966 Only two lines are allowed here. 2001-01-31 23:35:37 +00:00
Sean Bright
31c8104dc6 Added the mysql_get_*_info() functions.
# If anyone knows of a version of mysql lower then 3.20.32 that implements
# all 3 of these functions, please change the conditionals.
@- Added mysql_get_client_info(), mysql_get_server_info(),
@  mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
2001-01-31 22:04:30 +00:00
Andi Gutmans
0611acb910 - Change unset() functions to null(). unset() is legacy 2001-01-31 21:53:30 +00:00
Daniel Beulshausen
6859af3ac8 nuke warning, and add dsp 2001-01-31 17:05:00 +00:00
Daniel Beulshausen
04267de3a1 fix typo 2001-01-31 17:00:11 +00:00
Daniel Beulshausen
6f1ca9de3e make iconv compile under win32 using libiconv
# http://clisp.cons.org/~haible/packages-libiconv.html
2001-01-31 16:57:00 +00:00
Sergey Kartashoff
7413c65e31 Added search cache and track query features.
@-Added search cache and track query features.
# For example please refer at ext/mnogosearch/test.php
2001-01-31 14:04:30 +00:00
Harald Radi
2242647e64 added currency, date, IUnknown and NULL datatypes 2001-01-31 09:30:13 +00:00
Sean Bright
b940c97233 Fixed conditional.
# Woops!
2001-01-31 01:14:54 +00:00
Sean Bright
4086ba9773 Fix for bug #8991. mysql_field_type() now returns "year" for columns of
type YEAR.
2001-01-31 00:55:28 +00:00
Adam Dickmeiss
2dc33e3e71 Fixed problem with looping present requests for Isite targets. 2001-01-30 13:09:25 +00:00
Sergey Kartashoff
cdf6b7e2c3 mnoGoSearch extension module initial version has been added.
This module currently at the alpha state, but it can be used already.
@- mnoGoSearch extension module initial version has been added.
@  This module currently at the alpha state, but it can be used already.
# For details about mnoGoSearch please refer at http://search.mnogo.ru
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-01-30 12:53:51 +00:00
David Eriksson
4320dc0a2c Applied patch from Oleg Sharoiko <os@rsu.ru> to fix bug in satellite_any_to_zval_sequence 2001-01-30 06:43:36 +00:00
Harald Radi
79a39e3d39 pass another com object as parameter 2001-01-30 02:09:39 +00:00
foobar
bbca5a86f8 Fixed bug #8946. In some systems the libxml.* is actually libxml2.* 2001-01-29 23:15:11 +00:00
Harald Radi
dee2fd1ec4 use *_EXTERN_C() and PHP_WIN32 2001-01-29 21:54:46 +00:00
Harald Radi
7478783b20 fixed unicodeconversion and parameter passing bugs in com and dotnet modules 2001-01-28 03:41:43 +00:00
Harald Radi
dac7ab13da fixed unicodeconversion and parameter passing bugs in com and dotnet modules 2001-01-28 03:24:51 +00:00
John Donagher
f5a369232a PR:
Clean up and add folding
2001-01-28 00:45:28 +00:00
Egon Schmid
35524d3a73 Fixed some protos. 2001-01-27 19:48:58 +00:00
Egon Schmid
5b57490772 File formats in uppercase characters. 2001-01-27 14:20:06 +00:00
Sascha Schumann
eb10bf2358 This config.m4 was obviously not tested at all before being committed.
s/withval/PHP_MING/
2001-01-27 10:05:30 +00:00
James Moore
4d612e7827 Adding Ming experimental file 2001-01-27 00:33:24 +00:00
Dave Hayden
7896314614 First include of ming (SWF generation) library wrapper
http://www.opaque.net/ming/
2001-01-27 00:26:23 +00:00
Boian Bonev
5f89c6892f # fixed protos in comments for *_ex functions 2001-01-27 00:25:09 +00:00
Egon Schmid
416f4b7e95 Mostly off by one. 2001-01-26 21:41:38 +00:00
Egon Schmid
c7f5ad4336 Fixed another proto. 2001-01-26 21:22:33 +00:00
Egon Schmid
a8624ac62a Fixed some protos. 2001-01-26 20:56:14 +00:00
Egon Schmid
d683a1e18d Whitespace change for funclist.txt. 2001-01-26 20:46:23 +00:00
Egon Schmid
6ec31afcb1 Fixed some protos. 2001-01-26 20:42:51 +00:00
Egon Schmid
a06f392ae4 Fixed some protos. 2001-01-26 18:52:38 +00:00
Uwe Steinmann
dc1bcb790e - This is major change of the php pdf api to be closer to the pdflib api
done by Rainer Schaaf from pdflib GmbH.
- Some more functions has been implemented as well.
- backwards compatibility has been maintained a much as possible
2001-01-26 08:20:24 +00:00
Uwe Steinmann
bcac88e8fb - changed naming of some functions (kept compatibility) 2001-01-26 08:15:57 +00:00
Daniel Beulshausen
a5064992e9 make msql build under win32 2001-01-25 22:07:31 +00:00
Hartmut Holzgraefe
7ca330741b gd didn't work if no WBMP was available after rev 1.107 -> fixed 2001-01-25 20:52:52 +00:00
Stanislav Malyshev
773b582b1a Fix crash in stdout image output
# Basically, this code sucks. It should use GD contexts, not temp files
2001-01-25 14:35:36 +00:00
Sebastian Bergmann
f703c4e178 Added my_winthread.c. Thanks to Thimble Smith. 2001-01-24 21:08:12 +00:00
MySQL Team
5073b97ffb Don't #define HAVE_COMPRESS on windows. 2001-01-24 18:11:25 +00:00
Egon Schmid
5ad27928ac Protos fixed. 2001-01-24 09:42:17 +00:00
Derick Rethans
c5b67e119c - Commited a patch that adds support for converting Images to WBMP format.
(Thanx to Denis Gasparin <denis@editnet.it>)
@- Added support for converting images from JPG/PNG on the fly with the GD
@  extension, which is usefull for creating dynamic WAP-sites (Derick)
2001-01-24 09:24:26 +00:00
Boian Bonev
e7da11fd93 changed function names to be like vpopmail_add_user instead vpopmail_adduser
added vpopmail_error to report error string (vpopmail_errno global var)
put exec functions back in with _ex (vpopmail_add_domain_ex)
rewritten README to help users keep secure
fixed protos to state bool instead void return type
2001-01-23 21:46:04 +00:00
MySQL Team
800f555b70 Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is
that the client can now connect to a server which is using a default
charset other than latin1.
2001-01-23 16:48:50 +00:00
jim winstead
36ef109f1a jouni was added as an author of the docs 2001-01-23 00:50:49 +00:00
Andrei Zmievski
b56006b5b2 If we can't call custom replacement function, don't change the subject
string.
2001-01-22 22:05:04 +00:00
Andrei Zmievski
63f73bfe13 @- Improved str_replace() to accept an array for any parameter - similar
@  to preg_replace(). (Andrei)
2001-01-22 21:39:55 +00:00
Andrei Zmievski
5afcfc4498 Don't need to check for out-of-memory condition. 2001-01-22 19:42:29 +00:00
Andrei Zmievski
5068444dfe Z-ify the source. 2001-01-22 19:29:44 +00:00
Daniel Beulshausen
7357ee8fa4 rename php_mssql70.dll to php_mssql.dll, as we have only one mssql extension 2001-01-22 19:15:32 +00:00
Andrei Zmievski
21aeba29d0 @- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is
@  used. (Andrei)
@- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix
@  string keys that do not constitute valid variable names. (Andrei)
2001-01-22 17:27:02 +00:00
Rasmus Lerdorf
83cf6629ec @BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
2001-01-21 17:29:15 +00:00
Sterling Hughes
95bf259c29 Fix the scheme handler support and make it compile on win32 systems. 2001-01-20 23:42:03 +00:00
Sascha Schumann
5d03ac038d Revert last completely broken patch. 2001-01-20 10:10:50 +00:00
Rui Hirokawa
d5550b4706 added: EXPERIMENTAL 2001-01-20 02:59:59 +00:00
foobar
ee73470370 @- Added URL support for getimagesize() function (Jani)
# tested with all imagetypes. Also the iptc works.
2001-01-19 16:52:40 +00:00
foobar
809bf95a90 Added some missing EXPERIMENTAL files plus some missing extensions
into EXTENSIONS file.
2001-01-19 13:43:41 +00:00
foobar
5dcf6618bc @- Added xslt_set_scheme_handler() function (carmelo@akooe.com) 2001-01-19 11:44:12 +00:00
Derick Rethans
82d58bdc4a - Added the pg_lolseek function, which allows for arbitrary seeking within
a large object, and the pg_lotell call, which can be used to find the
  current file offset for a large object (Submitted by: Adam Haberlach
  <adam@newsnipple.com>).
@- Added the pg_lolseek and pg_lotell functions (Derick)
2001-01-18 22:17:05 +00:00
Derick Rethans
9a3cb4559f - Fix for bug #8367 (wordwrap not cutting correctly) 2001-01-18 21:46:24 +00:00
Sterling Hughes
405d11e604 Fix the proto 2001-01-18 20:49:12 +00:00
Alex Akilov
ddf488970c Support AIX/HP shared lib extensions and j2sdk1.3.0 (hotspot) 2001-01-18 18:36:23 +00:00
Sam Liddicott
ec966598f4 Some decent credits and such in the phpinfo page 2001-01-18 16:16:29 +00:00
foobar
bdb2651c1d Fixed a typo. 2001-01-18 15:09:35 +00:00
Andrei Zmievski
4ea7ba79c5 @- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
@  offset. (Andrei)
2001-01-18 14:36:43 +00:00
Sam Liddicott
fd46d9ee9e Aghh. Despite my efforts two files still slipped through 2001-01-18 13:30:02 +00:00
Sam Liddicott
04d7c9815f First checkin of muscat/empower module; been using it here for some time
Developing using aegis and just checking in baseline from time to time

See samjam@php.net for questions
2001-01-18 13:21:34 +00:00
Stanislav Malyshev
66dafaa2c5 Libedit readline replacement support
# Comments are very welcome!
2001-01-18 11:42:09 +00:00
Andrei Zmievski
ccd94c4831 @- Changed 'Z' flag to date() to always return timezone offset with
@  negative sign if it's west of UTC. (Andrei)
2001-01-17 21:09:16 +00:00
Sean Bright
457888ac44 Put these back where they belong. They weren't necessary unless ZTS and
HAVE_LOCALECONV were both defined.
2001-01-17 20:37:49 +00:00
Sterling Hughes
db50ae2e7d Fix (well it works) the error display with sablotron. 2001-01-17 14:14:22 +00:00
Stig Venaas
c927c254dd Making parallel search allow different filter for each link 2001-01-17 13:43:39 +00:00
foobar
051dd6108c Make sablot compile again. Typo? 2001-01-17 11:43:17 +00:00
Rasmus Lerdorf
f74998a783 Kill a couple of warnings 2001-01-17 06:40:48 +00:00
Sean Bright
a588d65591 Added string comparison function strcoll(). It uses the current locale to
do the comparisons.
@- Added localeconv() and strcoll() functions for localization. (Sean)
2001-01-17 01:10:50 +00:00
foobar
625978cd9c Fixed bug #8733 2001-01-16 22:34:19 +00:00
Rasmus Lerdorf
69abc1e9d7 Kill some warnings 2001-01-16 20:37:51 +00:00
Sterling Hughes
fa0727e794 @ Added the xslt_set_base function. (Sterling)
Added the SABLOT_SET_ERROR() macro to set sablotron errors...
2001-01-16 12:02:47 +00:00
Egon Schmid
57d200c21b Some protos fixed. 2001-01-15 12:01:34 +00:00
Zeev Suraski
0592feb2a1 Nuke a couple of warnings 2001-01-15 10:48:48 +00:00
Zeev Suraski
90c8e2cf75 Fix Win32 build 2001-01-15 10:22:19 +00:00
David Croft
5951b8063a restored vadddomain/vdeldomain to use library functions rather than invoking
vpopmail executables
implemented vaddaliasdomain natively
global variable to store whether vpopmail was used and only vclose() if
 necessary
return the functions to returning true/false for success/failure rather than
 some arbitrary vpopmail return value
return the functions to not doing everything at once as you then lose
 fine-grain control over its operation
change C++ comments to C
2001-01-15 02:14:13 +00:00
Stig Bakken
fcdf6ac680 @- Added odbc_error() and odbc_errormsg() functions (Stig) 2001-01-15 01:11:06 +00:00
David Croft
646e796e5a vpopmail's bin dir is unnecessary as the library exports these functions 2001-01-14 22:21:16 +00:00
Boian Bonev
487f211fcf #added simple minimum survival readme 2001-01-14 17:38:30 +00:00
Boian Bonev
bd92e10213 merged my version with David Croft's
removed unneccessary php.ini calls and defines
removed module_init, shutdown, request_init declarations and references
added request_shutdown to close mysql/other db connection
	(a must in apache module)
added defines for external binaries from vpopmail
changed functions to present more consistent api from user's point of view
	so that in one call more stuff is done
added more comprehensive MINFO function helping users debug their case
added static int vpopmail_exec(char *cmd) [will change to php_Exec soon]
@ vpopmail extension updated to working alfa. give it a try but keep in
@ mind that it is not ready for production environments (Boian Bonev)
2001-01-14 17:04:22 +00:00
Boian Bonev
f6ad8186d6 updated 2001-01-14 16:47:56 +00:00
Rasmus Lerdorf
e37d304d35 Name this php_Exec instead 2001-01-14 16:41:06 +00:00
Boian Bonev
ef462402f4 rewritten the whole logic of the script
added VPOPMAIL_BIN_DIR to point to ~vpopmail/bin directory
added checks for ALL files needed by the extension
style fixes to the output
2001-01-14 16:40:26 +00:00
Sean Bright
40f3524247 Added localeconv() function. Operates similarly to localeconv() defined in
locale.h.  Should work well under non-ZTS as well as ZTS.
2001-01-14 16:36:30 +00:00
Rasmus Lerdorf
5311bfa5c5 Export _Exec for extensions to use 2001-01-14 16:30:22 +00:00
Thies C. Arntzen
6b84fb1cde fixed readfile() fd-leak.
guys, always remember that every function that *generates output* could cause a
bailout if ignore_user_abort is set to false (and the user _aborts_ the
connection). in this case a longjump will be performed and our function (in
this case readfile) will have no chance to clean-up. having said that it's a
good idea to register all opened files using REGISTER_RESOURCE - that way the
engine will make sure they get closed on request end.
2001-01-14 14:11:38 +00:00
Zeev Suraski
27afea5c6d Don't fetch numeric indices in mysql_fetch_object() 2001-01-14 09:30:17 +00:00
David Croft
d9671d5d49 # restored code for latest vpopmail version
@ New extension for vpopmail - http://www.inter7.com/vpopmail (David Croft)
2001-01-14 09:01:26 +00:00
David Croft
560e218ee6 vpopmail extension 2001-01-14 08:54:01 +00:00
Rui Hirokawa
c61a557808 added iconv_get_encoding and supported initialization from php.ini 2001-01-14 07:40:16 +00:00
David Croft
00db616ac4 reserve space for quoted characters
fixes buffer overrun bug #8694
2001-01-14 05:37:33 +00:00
Zeev Suraski
a85da45a66 Both thread-safe and thread-unsafe builds should be ok now 2001-01-13 23:49:44 +00:00
Zeev Suraski
94ca2181fb Add sybase_get_last_message() from Jan Fedak <J.Fedak@sh.cvut.cz>
@- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak)
2001-01-13 22:47:44 +00:00
Derick Rethans
97510346ed - Removed a stale var that broke the build 2001-01-13 22:00:23 +00:00
Derick Rethans
1104639d0a - There was one ret left, changed it to FG(pclose_ret), this fixes the
build
2001-01-13 21:52:09 +00:00
Colin Viebrock
707e7bd938 Support for perl-compatible blowfish encryption (in libmcrypt CVS and
versions later than 2.4.8)
2001-01-13 20:55:15 +00:00
Zeev Suraski
86624dfad9 - Fix exec() bug
- Merge fsock and file globals
2001-01-13 13:59:22 +00:00
Zeev Suraski
6562e98afa Fix Windows & thread-safe build 2001-01-13 13:02:19 +00:00
Stig Venaas
d9f52a4176 Fixed memory leaks that could happen in some error situations. Also removed
some unnecessary code in ldap_set_option()
2001-01-13 10:00:27 +00:00
Stig Venaas
fe98565b60 Realized that emalloc() never returns NULL, simplified code 2001-01-13 09:16:36 +00:00
Stig Venaas
2d17c57664 Added parallel search when given array of link identifiers
@- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
@  first parameter is an array of link identifiers (Stig Venaas)
2001-01-12 22:08:26 +00:00
Stig Venaas
5cf503b2a9 Follows redirects again, and $http_response_header now contains all headers
with an empty string as delimiter
@- Made fopen() of HTTP URL follow redirects, $http_response_header will
@  contain all headers with empty string as delimiter (Stig Venaas)
2001-01-12 20:49:25 +00:00
foobar
ab6639564c - Fixed a possible crash bug in xmltree().
# PR: #7052
2001-01-12 16:49:06 +00:00
Sterling Hughes
0e6fe30139 Make daniel's changes work in ZTS mode... 2001-01-12 10:49:38 +00:00
Daniel Beulshausen
490cca07de take out emtpy struct
# vc chokes on them
2001-01-12 10:26:29 +00:00
Rasmus Lerdorf
69d16ee1f9 Fix for bug 6073 from Sean R. Bright <elixer@erols.com> 2001-01-12 08:03:24 +00:00
foobar
a8e88c0ddc Fix build. 2001-01-11 18:25:33 +00:00
foobar
1fc035dfa5 If external expat is used, header file is expat.h 2001-01-11 16:19:20 +00:00
Daniel Beulshausen
29714ff530 removed old expat libs 2001-01-11 14:50:52 +00:00
Rui Hirokawa
c2881f7c6b disable directory search for libexpat and disable some macros for libxml-1.95. 2001-01-10 14:41:01 +00:00
Thies C. Arntzen
6871b839b5 exec'd processes now get cleaned up even if the browser connections was
aborted.
fixes: #8143
2001-01-10 13:08:14 +00:00
David Croft
2b3d9d7ec4 fixed swatch internet time (bugs#8242,7106) 2001-01-10 06:48:06 +00:00
David Croft
0afe88cbc6 Allocate buffer in date() for the actual length of the timezone (bug#8292) 2001-01-10 04:01:02 +00:00
Rui Hirokawa
c172daa6d1 added a option to dedine libexpat install directory (by Jani Taskinen) 2001-01-09 22:15:56 +00:00
Sterling Hughes
f058a07915 Move the definition of the xslt_set_encoding to the "proper" place in the file and
fix the prototype.
2001-01-09 20:17:11 +00:00
Sascha Schumann
7eb8469679 Avoid possible memory leak in the URL scanner, if the connection is
interrupted during writing the output.
2001-01-09 16:45:19 +00:00
Egon Schmid
8d5d20500b Sorry, two lines are enough. 2001-01-09 15:53:09 +00:00