Commit Graph

3865 Commits

Author SHA1 Message Date
Sean Bright
64ad839328 get_meta_tags now allows attributes that are not quoted as well as those
that are.  It follows the HTML 4.01 specification for attribute values
outlined here -> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
2001-03-06 04:34:05 +00:00
Rainer Schaaf
929551891e fixed bug in PDF_getbuffer (happend only on Windows)
When using PDFlib V4.0 the pdf_set(grey/rgbcolor) functions are replaced
by the PDFlib V4.0 function pdf_setcolor
2001-03-05 16:18:51 +00:00
Sean Bright
dca3c8753f get_meta_tags now handles single quoted attributes as well as those that
are double quoted.
2001-03-05 00:20:41 +00:00
Zeev Suraski
1b38207410 I don't know German, but I imagine that was the problem :) 2001-03-04 22:03:23 +00:00
Zeev Suraski
1000a86e5f Fix phpinfo() bug that crept in 2001-03-04 15:49:38 +00:00
Zeev Suraski
a22ada795f Improve memory consumption on chunked output buffering 2001-03-04 15:46:13 +00:00
Zeev Suraski
39724f6e4a Implemented chunked output buffering support - it's quite cool! 2001-03-04 15:12:38 +00:00
Frank M. Kromann
f6f67ffd62 Changed code layout to remove PHP warning when running php as a CGI. 2001-03-04 02:41:27 +00:00
Zeev Suraski
c64fe7fbe1 Fix non-thread safe mode 2001-03-04 01:45:19 +00:00
Zeev Suraski
0117c7848e this function will never return true... 2001-03-04 01:17:21 +00:00
Zeev Suraski
0a98aa6ada Improve chunked output buffering - the output handler now knows at which stage it is 2001-03-04 01:09:36 +00:00
Sylvain PAGES
a5c676e91f - modified line 161 to be xml compliant 2001-03-03 07:58:31 +00:00
Sterling Hughes
d1fdea8373 add a warn not available for curl_getinfo().
remove unneccessary error checking.
2001-03-03 01:06:55 +00:00
Andrei Zmievski
80cdb812c1 @- Forced call_user_method() and call_user_method_array() to take the
@  object argument by reference. (Andrei)
* Forced call_user_method() and call_user_method_array() to take the
  object argument by reference.
* Also cleaned up the protos for those functions and brought
  call_user_method_array() into functional equivalence with
  call_user_method().
2001-03-02 20:22:14 +00:00
Zeev Suraski
9f5b255b3f Add CyberMut extension from Sylvain PAGES <spages@free.fr> 2001-03-02 14:36:29 +00:00
Sergey Kartashoff
f262b2a738 # TODO updates in mnoGoSearch module README 2001-03-02 12:14:31 +00:00
Sergey Kartashoff
5a8b126d21 # mnoGoSearch example fix 2001-03-02 11:43:27 +00:00
Sergey Kartashoff
8bc7344f0b UDM_ISPELL_TYPE_SERVER parameter in udm_load_ispell_data has been added
to work with ispell server. This feature is available starting from
mnoGoSearch 3.1.12 or later. Fixed Udm_Free_Ispell_Data(). Example updated.
2001-03-02 11:41:35 +00:00
Thies C. Arntzen
1b7eaa76c4 @- Fixed binding of ROWIDs in OCI8. (Thies) 2001-03-02 09:12:55 +00:00
foobar
d3ce7f294c ws fix 2001-03-02 00:15:49 +00:00
Rainer Schaaf
fa0085b495 - integrated new functions vor PDFlib V4.0 (beta1)
- all functions accepting strings now support binary strings, by calling
  the appropriate PDF*2() functions.
2001-03-01 19:51:55 +00:00
Sergey Kartashoff
9a109425fe UDM_PARAM_CROSS_WORDS mnoGoSearch extension session parameter has been
added to use crosswords available since version 3.1.11 of mnogosearch.
Example updated.
2001-03-01 14:51:12 +00:00
Sergey Kartashoff
474a59eacb # mnoGoSearch example updated. 2001-03-01 14:18:07 +00:00
Sergey Kartashoff
cfe2412081 Udm_Api_Version function has been added.
Example updated.
2001-03-01 13:38:39 +00:00
Sergey Kartashoff
423fcaf2dc Udm_Get_Doc_Count function from mnoGoSearch 3.1.11 has been added.
mnoGoSearch library version printing in phpinfo() has been added.
Example updated.
2001-03-01 13:26:26 +00:00
Sergey Kartashoff
035d2b3077 Added UdmFreeEnv call to mnoGoSearch link list destructor to
free memory allocated for environment.
2001-03-01 11:38:18 +00:00
Chuck Hagenbuch
e2f632e1f2 If php is compiled --with-imap-ssl, link in the SSL authenticator from
c-client so that we can use php to make ssl imap connections.
2001-03-01 07:06:54 +00:00
Dan Kalowsky
63ec8d7eaf #adding name to credits. nothing to see here, keep moving.
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-28 01:02:48 +00:00
Andi Gutmans
01ed33d1b6 - Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
zval_del_ref() function which should be nuked.
2001-02-27 20:16:35 +00:00
Zeev Suraski
b8787bf2d8 Fix chunked output buffering support 2001-02-27 00:09:14 +00:00
Sascha Schumann
95b3347d8b Provide proper function aliases, if the sendmail functions
don't exist.

Submitted by: Nadir Amra <amra@us.ibm.com>
2001-02-26 20:26:07 +00:00
Andi Gutmans
a0d3c5a88e - Finally rename modules.h to zend_modules.h for consistency (first try
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
  are included via zend_API.h
2001-02-26 18:14:50 +00:00
Dan Kalowsky
17444700d4 # Bad patch job on the last commit by me. I take the BAD_CODER award for
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be done about the PHP_MINFO_FUNCTION
2001-02-26 16:36:08 +00:00
Andi Gutmans
7fbdc83318 - Fix whitespace 2001-02-26 15:49:38 +00:00
Rui Hirokawa
f901783074 ob_iconv_handler changed to use for text data only. 2001-02-26 15:41:38 +00:00
Dan Kalowsky
d883ff47ed Correctly checks for the proper header files, and excludes the QUOTA functions
from non-imap2000 systems (unavailable for testing at this time).
# anyone willing to test this out on non-imap2000?
PR:
Submitted by:
Reviewed by: Sascha Schumann
Obtained from:
2001-02-26 15:17:12 +00:00
James Moore
08d3e700fa Fix for bug #9449 to stop infinate loop in wordwrap. 2001-02-26 13:04:00 +00:00
Andi Gutmans
eb6ba01d1c - Fix copyright notices with 2001 2001-02-26 06:11:02 +00:00
Dan Kalowsky
6b80554404 Updating the IMAP client to include quota support via the imap c-client2000 libraries.
# Y2K support is good...
Removes the SA_QUOTA and SA_QUOTA_ALL defines
# After speaking with Mark Crispin, it is believed these never existed.
Cleans up the imap_status() function to remove notion of quotas in a status message.
# There is no quota setting in a STATUS message from c-client.

Changes the config.m4 to support the client.h include
# This should include all the approriate headers for c-client (as defined by
# c-client maintainers) such as mail.h, and rfc822.h.
Changed the directory search order for the include files as well.
# Place the /usr/local/include last, and searched the
# /usr/local/include/{c-client|imap} directories first

(PHP imap_get_quota) Added
(PHP imap_set_quota) Added

@- IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
@  c-client2000

PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-25 04:41:18 +00:00
Sascha Schumann
b37b5f93aa Don't assume that tzname exists, if tm_zone does not exist.
PR: #9380
2001-02-24 21:18:28 +00:00
Sascha Schumann
a40ee1f181 Actually compile on systems without syslog.
PR: #9412
2001-02-24 21:08:15 +00:00
Sascha Schumann
c2fb53bed7 Finish fopen-wrappers rename. 2001-02-23 22:07:16 +00:00
Sascha Schumann
e805c1b3c1 Fix another instance of the == bug. 2001-02-23 16:49:58 +00:00
Sergey Kartashoff
e6c03422fa mnogosearch example updated. 2001-02-23 10:53:07 +00:00
Sergey Kartashoff
f263260d38 Added ispell loading routines and date search limits in mnogosearch module. 2001-02-23 10:34:50 +00:00
André Langhorst
9fa484104e fix stas' last commit, added additional ifdefs PHP_SIGCHILD to fix win32 build 2001-02-23 05:08:15 +00:00
Sergey Kartashoff
047e598c3a README for mnoGoSearch module updated. 2001-02-22 13:02:38 +00:00
Sergey Kartashoff
8bf6bdc2b9 Added Ispell routines to work with Ispell data loaded into sql tables.
Example updated.
2001-02-22 10:40:44 +00:00
Stanislav Malyshev
77d14126b1 Safer bin2hex 2001-02-22 10:36:40 +00:00
Stanislav Malyshev
4cda96691c Fix #8992, patch by yasushi_takahashi@tsuken.co.jp 2001-02-22 10:15:52 +00:00
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