Commit Graph

3424 Commits

Author SHA1 Message Date
Sascha Schumann
8476f5b29e Please avoid potential buffer overflows in new code. If you deal
with strings, consider storing the string length along with the string
data. That will make your life easier.
2000-12-01 12:29:29 +00:00
Sascha Schumann
a1510f90b0 Remove *.o 2000-12-01 12:14:30 +00:00
Andi Gutmans
ae7c036e41 - Fix swf build issues from bug #7612
- Not tested! Someone please compile it.
2000-12-01 09:50:01 +00:00
Frank M. Kromann
f9e226fe4a Fixing bug 8061. Position counter starts a 0 but was compared with length.
oops. the fix should be made twice.
2000-12-01 01:55:31 +00:00
Frank M. Kromann
518ab3c62f Fixing bug 8061. Position counter starts a 0 but was compared with length. 2000-12-01 01:26:42 +00:00
foobar
744f1a34ef Beautifying of phpinfo(). 2000-12-01 01:25:36 +00:00
Frank M. Kromann
6cdc90bae3 Changed presentation of default values for textsize and textlimit in phpinfo().
the value -1 means "Server default"
2000-11-30 22:24:00 +00:00
David Eriksson
c2f1139738 updated documentation and configuration 2000-11-30 22:03:18 +00:00
David Eriksson
1888009e26 changed variable names to *_class_functions 2000-11-30 22:01:58 +00:00
Sterling Hughes
4daab7c982 fix configure --help option name... 2000-11-30 15:20:40 +00:00
Frank M. Kromann
20490db03f Removed old version 6.5 code. Clinet Libraries for SQL Server 7.0 can be used with version 6,5.
Minor changes to use som Zend macros to define globals.
2000-11-29 22:06:47 +00:00
Frank M. Kromann
5cb6b6c667 Fixing wring resource handle returned from mssql_query().
The error was introduced when adding mssql_fetch_batch().
2000-11-29 17:08:22 +00:00
Stanislav Malyshev
ebffa649c3 Add more GMP functions, fix a couple of bugs 2000-11-29 15:49:18 +00:00
Sterling Hughes
2cc8e2f8c7 @ Added the is_null() function that will return true if a variable is of
@ type null. (Sterling)
2000-11-29 15:37:38 +00:00
Daniel Beulshausen
93b2587876 made gd working correct under win32
# fixes the issues when running php threadsafe
2000-11-29 15:25:42 +00:00
foobar
3a930785ec Fixed typo. bug #8001 2000-11-28 09:39:01 +00:00
foobar
5c16c9fa1a AC_CHECK_LIB prints out yes/no itself. 2000-11-28 08:06:30 +00:00
Daniel Beulshausen
aa11144649 fix path operations, under win32 2000-11-27 18:21:48 +00:00
Sascha Schumann
949b0893dc The result of conv_z_macros and some manual conversion of
"return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL.
2000-11-27 13:31:21 +00:00
Sascha Schumann
1626ba7ee9 Oh man, gcc's logic is really flawed 2000-11-27 13:28:26 +00:00
Sascha Schumann
aa6a62d96d Kill a warning (code is correct) 2000-11-27 13:13:25 +00:00
Stanislav Malyshev
dca467faf3 GNU GMP - arbitrary precision nubers library 2000-11-26 18:36:16 +00:00
Zeev Suraski
d4fc424554 Fix windows build 2000-11-26 14:25:31 +00:00
Zeev Suraski
8a03f3062f - Add bcmath to the standard UNIX build
- Change a couple of malloc()'s and free()'s to emalloc()'s and efree()'s
2000-11-26 09:34:01 +00:00
Sterling Hughes
0d1bcd480c @ Added the call_user_func_array() function which gives you the ability to
@ call a user function by passing an array of parameters as the second
@ argument.

@ Added the constant() function which returns the value of a constant given
@ the constant's name.
2000-11-24 21:05:25 +00:00
Sterling Hughes
917cfd14e9 Declaring variables is generally a good thing 2000-11-24 16:26:35 +00:00
Andre Langhorst
96b95bd286 fixed bug 7961 2000-11-24 16:17:58 +00:00
Sterling Hughes
fe25ebdd11 Fix segfault when non-array in params or arguments is given to
xslt_transform() or xslt_run().

Update xslt_output_begintransform() to new output buffering syntax (torben@php.net)
2000-11-24 15:07:01 +00:00
Andrei Zmievski
def5059f44 Fix the arg array size. 2000-11-24 00:12:19 +00:00
Stig Venaas
db0d2c9bd6 Added README on usage, and added myself to CREDITS 2000-11-23 19:30:47 +00:00
Zeev Suraski
888f376e4c Very initial work on chunked output buffering. It's really unoptimized at
this time, and it can crash under some circumstances, but that's the
concept...
2000-11-23 18:43:18 +00:00
Andrei Zmievski
0af5c36d94 This submission introduces two features.
The first one is support for Perl-style matching regexp delimiters, i.e.
using <[{( and )}]> to delimit the regular expressions.

The second one is a new 'F' modifier that allows you to specify a function name
in the replacement argument to preg_replace(). This function will be called
when the replacement needs to be made. It is passed an array of full matched
pattern and captured subpatterns and it is expected to return a string that
will be used for replacement. 'e' and 'F' modifiers cannot be used together.

@- Implemented support for Perl-style matching regexp delimiters in PCRE.
@  You can use <{[( and )]}> to delimit your expressions now. (Andrei)

@- Introduced new 'F' modifier in PCRE that lets you specify a function
@  name in the replacement argument to preg_replace() that will be called
@  at run-time to provide the replacement string. It is passed an array of
@  matched pattern and subpatterns. (Andrei)
2000-11-23 17:25:13 +00:00
foobar
f03b949134 Revert bad commit.
# And now I'm ready to sleep..
2000-11-23 16:31:58 +00:00
foobar
78ed6e831f Fixed some compile warnings. 2000-11-23 15:57:24 +00:00
foobar
a216a9ad7e Fixed Bug #7939 + some cleaning. 2000-11-23 14:56:09 +00:00
Uwe Steinmann
4a60447800 - optional argument for hw_pipedocument() to specify link prefix 2000-11-23 14:44:10 +00:00
Daniel Beulshausen
819f11c9d2 make ctype ext compile under windows 2000-11-23 14:14:40 +00:00
Daniel Beulshausen
e6d07d6fa3 added missing SABLOTLS_FETCH() 2000-11-23 14:02:41 +00:00
Hartmut Holzgraefe
df7c2eeabc make genfunclist in phpdoc happy 2000-11-23 12:16:35 +00:00
Uwe Steinmann
4bb015938e - The name of the extension has to be fdf and not fdftk 2000-11-23 10:55:51 +00:00
Uwe Steinmann
fb35b3996c - fixed copy and paste error 2000-11-23 09:56:18 +00:00
Hartmut Holzgraefe
c534109bce filename wildcards in a c comment were a bad idea 2000-11-23 06:58:14 +00:00
Frank M. Kromann
b24c82e82a changed comment to allow compilation under win32 2000-11-23 01:47:39 +00:00
Hartmut Holzgraefe
e3dae1013d added a "DO NOT EDIT!" header and regenerated the credits_*h files 2000-11-22 23:20:35 +00:00
Sascha Schumann
3cacf33572 Run through conv_z_macros 2000-11-22 22:05:02 +00:00
Sascha Schumann
c1dff68b34 Run through conv_z_macros and make use of RETVAL_STRING where useful 2000-11-22 22:00:39 +00:00
Sascha Schumann
53e3452649 Avoid estrdup and a couple of other minor cleanups 2000-11-22 21:52:53 +00:00
Sascha Schumann
e937eeb2e5 Run through conv_z_macros 2000-11-22 21:47:15 +00:00
Sascha Schumann
2f6fe425a4 There is no Apache extension per se. Please leave this directory empty.
I'll remove it from the repository in one week.
2000-11-22 21:43:52 +00:00
Sascha Schumann
781cf450f8 Run through conv_z_macros 2000-11-22 21:40:15 +00:00
Sascha Schumann
2c95d6268c Add ircg 2000-11-22 20:46:40 +00:00
Zeev Suraski
c476bce2f1 At long last, import the bcmath library, by Phil Nelson 2000-11-22 20:20:02 +00:00
Stanislav Malyshev
b36afe2957 Fix memory leaks in cURL.
cURL doesn't free strings we pass to him, so let PHP do it.
2000-11-22 15:46:13 +00:00
Dan Kalowsky
e7aff0b676 @ Put an end to BUG#4615 (kalowsky & Eric Veldhuyzen)
This should remove the BUG#4615, thanks to Eric Veldhuyzen
(eric@terra.telemediair.nl) for the assistance on this (aka elegence vs
my hack).

This does not fix BUG#7922 though, which is currently being looked into
2000-11-22 15:31:04 +00:00
Sterling Hughes
a56c9f8e68 Hmmm, that wasn't good. 2000-11-22 15:19:59 +00:00
Daniel Beulshausen
2fefaba7b6 tsrm realpath implementation is fixed
@ Fixed realpath() in Virtual Directory mode (Daniel)
2000-11-22 10:08:25 +00:00
Sascha Schumann
939b72c771 removing '{' was certainly not intended 2000-11-22 04:16:25 +00:00
Sascha Schumann
886fbabb0b Don't access opt, if opt was not set. 2000-11-22 04:15:27 +00:00
Sascha Schumann
5347ef1728 Whitespace fix and initialize ret properly 2000-11-22 04:10:04 +00:00
Hartmut Holzgraefe
0b981df1b2 some more info on the ctype extension 2000-11-22 01:35:58 +00:00
Hartmut Holzgraefe
9d468a33c4 an experimental extension providing the C ctype function family 2000-11-22 01:00:44 +00:00
Sterling Hughes
0a1f0ea22e Major rework of the basic api which provides:
- All Sablotron errors are now caught meaning nothing is
          ever outputted directly to the screen allowing you to
          catch all errors.
        - A mechanism is provided for you to have an error function
          which recieves all sablotron errors.
        - All of the basic functions re-use a single processor increasing
          performance (especially with high loads).
        - Added a bunch of comments, more to come (this way other people
          can easily modify my source).

@ Added the xslt_set_error_handler() function to the Sablotron extension.
@ (Sterling)

@ Improved Sablotron's error handling system allowing you to catch all
@ errors before they are outputted to the screen. (Sterling)
2000-11-21 12:12:19 +00:00
foobar
358731195f Fix bug #7034 2000-11-21 11:07:50 +00:00
Hartmut Holzgraefe
f5bf3c10fd make HAVE_FOPENCOOKIE available for other extensions besides zlib 2000-11-21 08:38:20 +00:00
Daniel Beulshausen
fda42b034f fix PDF image open under Win32 2000-11-21 07:08:01 +00:00
Frank M. Kromann
649c59b731 Adding new functions, mssql_affected_rows and mssql_fetch_batch.
Added optional paramter to mssql_query, batchsize used minimize the memery usage during select of large datasats.
2000-11-21 03:09:16 +00:00
Hartmut Holzgraefe
4a8d9df816 # a minor change, but still important :) 2000-11-21 00:43:25 +00:00
Hartmut Holzgraefe
cedb39ee56 all the _GNU_SOURCE dependant stuff is now in zlib_fopen_wrapper.c
so all the #define/#include workarounds in zlib.c are no longer needed
2000-11-21 00:40:13 +00:00
Hartmut Holzgraefe
67bb9d1ae2 fixed a compile problem with glibc<=2.1.1 (#7327, #7892)
# zlib.c still produces a warning, perhaps i should move
# the fopen wrapper to a seperate file to get things right
# but i think i will wait for the autoconf book to arrive
2000-11-20 21:36:38 +00:00
foobar
dc70b6172b Fixed typo. #6933 2000-11-20 17:32:46 +00:00
Sterling Hughes
b853cd5dc8 Revert. 2000-11-20 17:27:50 +00:00
Stanislav Malyshev
119ee485c6 Move "replace value" logic to Zend 2000-11-20 12:39:14 +00:00
Hartmut Holzgraefe
1f6878e912 2nd step towards auto-credits 2000-11-20 10:33:33 +00:00
Hartmut Holzgraefe
df81663614 first step towards auto-generated credits 2000-11-20 10:05:57 +00:00
Hartmut Holzgraefe
c8a56ea11d typo fix (copy/paste bug?) 2000-11-19 19:18:12 +00:00
Sterling Hughes
3b1a3a3f8c *** empty log message *** 2000-11-19 16:54:54 +00:00
Stanislav Malyshev
92dd81ba7f Fix #3261 - variables declared as "global" in function do not get the right
value after session_start.
2000-11-19 13:13:36 +00:00
Chuck Hagenbuch
965bb6d211 include checks for cal_misc.h and icalroutines.h 2000-11-19 02:42:06 +00:00
James Moore
2116cfedf3 Stopping Compile Warnings when using old GD 2000-11-18 18:09:42 +00:00
Zeev Suraski
82952f8830 Persist these numbers so that they stay for the duration of the entire process 2000-11-18 12:48:31 +00:00
Zeev Suraski
66c667c974 Fix thread-safety bug in bcmath 2000-11-18 02:59:31 +00:00
Zeev Suraski
030b707296 Update SAPI modules to interface with the new TSRM.
Enable thread-safety memory debugging in ISAPI when in debug mode
2000-11-18 02:44:04 +00:00
Stig Venaas
b81828864f Added optional passphrase argument to openssl_get_privatekey()
@- Added OpenSSL extension (Stig Venaas)
2000-11-17 19:49:13 +00:00
Stig Venaas
8b500cdcdf Renamed openssl_read_privatekey openssl_get_privatekey, and some minor
fixes including init and shutdown functions
2000-11-17 19:17:07 +00:00
Sascha Schumann
5767ab3f75 Reset the state, if there is garbage in an HTML tag.
PR: #7854
2000-11-17 16:27:37 +00:00
Chuck Hagenbuch
eb437a5870 close bug 7851 2000-11-17 16:10:43 +00:00
Dan Kalowsky
b52648efd5 Missed one section that required the addition of a new HAVE_SOLID_30
This should be correct now.
2000-11-17 15:48:09 +00:00
Dan Kalowsky
3e2ddd1edf Corrected the spelling of verion to version, and cleaned the configuration
code up a bit.  Also added in much better (read: tested) support for
Solid 3.0.   Credit for almost all of the patch goes to Eric Veldhuyzen,
minor modifications done (by me) to make it non-linux specific.

This commit also creates the HAVE_SOLID_30 define

@ Fixed/created support for Solid 3.0 databases (kalowsky)
@ Fixed support for Solid 2.3 databases (kalowsky)
2000-11-17 15:09:46 +00:00
Kirill Maximov
023a95ae1c @ quoted_printable_decode() function is made RFC-2045 compliant. (Kir)
This hopefully closes bugs #5321, #7138, #7855.
  Test script for the function is added.
2000-11-17 10:55:37 +00:00
Jason Greene
608ee593a4 SUN CC does not like like left side casting - see bug #6759
@Fixed ext/java so that it will compile with SUN CC
2000-11-16 22:19:48 +00:00
Thies C. Arntzen
6f79fc7d46 fix ora_fetch_into to allow_call_time_pass_reference = Off; (#7838) 2000-11-16 12:37:35 +00:00
foobar
6a81095313 extname -> openssl 2000-11-16 11:16:25 +00:00
Thies C. Arntzen
31f63bee93 don't use TLS in MINIT function. 2000-11-16 10:16:22 +00:00
Jan Borsodi
d1cecd1dd2 Removed an unneccesary #warning which was used for testing purposes only. 2000-11-15 19:09:44 +00:00
Jan Borsodi
51011a6672 Initial import, PHP program for testing if the qtdom extension is available. 2000-11-15 19:02:14 +00:00
Jan Borsodi
bde531da79 Initial import, since PHP cannot be compiled with a C++ compiler all C++ specific calls had to be moved to a separate file without any php includes.
It has several C functions which are used for initiating a QDomDocument and traversing it.
2000-11-15 19:01:44 +00:00
Jan Borsodi
2fea5bb19c Initial import, contains PHP specific extensions, takes care of converting C++ QDom objects to PHP objects.
This version has only one function: qdom_tree() which returns a tree of a string containing an XML document.
2000-11-15 18:59:59 +00:00
Jan Borsodi
471bcfc8c8 Autoconf configure script for qt dom, needs some more checking in the future. 2000-11-15 18:55:00 +00:00
Jan Borsodi
14350f9aef Makefile source, has a fix for compiling C++ files. 2000-11-15 18:54:05 +00:00
Uwe Steinmann
8dcb3fdf3c - fixed silly bug (did check for 5 arguments but expected only 4) 2000-11-15 17:07:56 +00:00
Stanislav Malyshev
fb8be26654 Fix crash (#7802) 2000-11-15 09:36:21 +00:00
Andrei Zmievski
3625a729a7 - Modified preg_replace() to take Perl-style $1 backreferences in addition
to \\n ones.
- Modified preg_grep() to always return the results with the keys
  from the original array.
2000-11-15 05:09:55 +00:00
Sascha Schumann
008d23bb5c Fix allocation 2000-11-14 20:34:14 +00:00
Stig Venaas
eca0bd0f39 Changed to use Z_LVAL_PP, Z_STRVAL_PP and Z_STRLEN_PP. 2000-11-14 17:05:39 +00:00
Sascha Schumann
c509dc6dc7 Add persistent memory handling to smart_str API 2000-11-14 15:36:18 +00:00
Stig Venaas
f3a17761be Made API simpler 2000-11-14 09:54:25 +00:00
Daniel Beulshausen
b4a6acf697 fix link object
# maybe it's too late already...
2000-11-13 22:28:58 +00:00
Daniel Beulshausen
fcdf44a1a0 forgot to add... 2000-11-13 22:24:06 +00:00
Daniel Beulshausen
0c3d96c3ba make ingres compile under win32
# no cleanup...
2000-11-13 22:23:16 +00:00
Daniel Beulshausen
c1e1bc07ff added dsp for openssl win32 2000-11-13 20:24:23 +00:00
Andrei Zmievski
468068705f @- Modified preg_replace() to ignore backreferences that refer to
@  non-existing subpatterns. (Andrei)
2000-11-13 19:49:41 +00:00
Stig Venaas
86b7cd0572 OpenSSL extension. So far it implements assymetric encryption functions. 2000-11-13 19:47:20 +00:00
Zeev Suraski
6a86b6fad5 Handle unable-to-add-new-headers error nicely 2000-11-13 19:05:25 +00:00
Zeev Suraski
0f7f5c2c0e - Import Jade Nicoletti's transparent gzip encoding support as an output
handler.  Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive
2000-11-13 18:54:37 +00:00
Thies C. Arntzen
db65d0e076 @- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
fix #7784
2000-11-13 17:30:52 +00:00
Onn Ben-Zvi
34b0b1fc11 initial - ONn 2000-11-13 16:01:05 +00:00
Uwe Steinmann
eea750ebc8 - fixed serveral prototypes
- replaced C++ style comments
2000-11-13 13:27:19 +00:00
foobar
dd83069fff Fixed bug: #7768. Some cleaning up too. 2000-11-13 02:02:40 +00:00
Kristian Köhntopp
89d6b5b5bd Prototype corrected. 2000-11-12 22:13:35 +00:00
Sascha Schumann
2325a41346 PHP_FDFTK is always != no. $PHP_FDFTK is not. 2000-11-12 12:01:05 +00:00
Rui Hirokawa
71e53f2a5f enabled shared module. 2000-11-12 05:59:34 +00:00
foobar
40462d1d02 Fix for #7758. Plus some cleaning. 2000-11-11 19:27:46 +00:00
Sascha Schumann
4d6ecaf26b Add Apache 2.0 sapi module and sort alphabetically. 2000-11-11 18:38:26 +00:00
Chuck Hagenbuch
b69dd89d34 RFC822 does specify two digit years, but practically every decent mail
client I could check is using 4-digit years these days.
2000-11-11 17:28:20 +00:00
Uwe Steinmann
52aba68aa2 - new function set_content() which is a workaround for bug #6457 2000-11-10 11:40:03 +00:00
Uwe Steinmann
0bbb1906bd - Fixed many problems to make xpath working
- Each function now expects an object and not a resource anymore
  I hope this makes it more straightforward for the PHP-Programmer
2000-11-10 10:27:57 +00:00
Uwe Steinmann
b98f580143 - Fixed several error including segm fault (but still one left :-( 2000-11-10 06:09:41 +00:00
Colin Viebrock
2a5f8a8906 some changes, and added 'r' flag which generates an RFC822 compatible date string. 2000-11-09 21:30:03 +00:00
Danny Heijl
a46f36a564 - fix crash when using blob_in_file mode (danny). 2000-11-09 19:34:31 +00:00
Uwe Steinmann
eaad937f84 - Some more comments
- Initial support to just include anchors into documents
2000-11-09 13:36:54 +00:00
Uwe Steinmann
d82bade81c - Started support for XPath/XPtr (completely untested) 2000-11-09 08:42:20 +00:00
foobar
ffc95d6125 Beutifying the output of configure a bit.
# I promise, this is the last commit for today. =)
2000-11-09 02:59:17 +00:00
foobar
781816998c Remove duplicate check for xpm support. 2000-11-09 02:31:56 +00:00
foobar
368054d223 Fix to get jpeg/xpm support everytime. 2000-11-09 02:29:15 +00:00
foobar
1f71f1f3c0 Remove duplicates (when curl-7.4.1 is used). 2000-11-09 02:11:45 +00:00
foobar
443d289380 Fixed bug: #5460 2000-11-09 00:16:28 +00:00
Marc Pohl
4eece9b1bd add gzdeflate() and gzinflate() for handling of pure gzip-datastreams 2000-11-08 21:40:34 +00:00
Mathieu Kooiman
3e2fa2781a E_WARNING into E_ERROR, Last commit (today)! I PROMISE! :-) 2000-11-08 18:41:22 +00:00
Nikos Mavroyanopoulos
f6a8f905b1 Added license 2000-11-08 16:16:49 +00:00
Mathieu Kooiman
63cdbbd56e Alert user if they're trying to use
ImageCreateFromString() with GD < 1.5..
Sorry, should've added this last commit.
2000-11-08 16:08:42 +00:00
Mathieu Kooiman
5e7041615a - Made gd extension build when using gd version < 1.5 2000-11-08 14:56:09 +00:00
Zeev Suraski
905e41af5c Will work on a more thorough implementation for mysql_store_result() after 4.0.4 2000-11-08 08:27:27 +00:00
foobar
1afebc69c7 Make this compile with libxml2.2.7. 2000-11-08 02:17:36 +00:00
foobar
95eceee413 Cleaned up a bit. 2000-11-08 01:53:51 +00:00
foobar
3f85e944ab config.m4 2000-11-08 00:18:49 +00:00
Daniel Beulshausen
87d8e44c26 win32 sapi symbol export fixes 2000-11-07 21:13:26 +00:00
Stanislav Malyshev
ef8fb2767b Enable to use mysql_use_result in query functions.
You may need this if you use real big queries.
@- Allow user to use mysql_use_result in mysql queries (Stas)
2000-11-07 15:46:15 +00:00
Stanislav Malyshev
c9e39592b5 Andi says it should be zval_ptr_dtor 2000-11-07 15:06:43 +00:00
Sascha Schumann
ae6314468f Use socklen_t for getsockopt 2000-11-06 23:38:15 +00:00
Derick Rethans
e2bb93c575 - Added myself to the credits... 2000-11-06 22:53:11 +00:00