Andrei Zmievski
a1614b8411
(PHP preg_replace) Fix to allow proper escaping of captured subpattern
...
references in the replacement string.
(PHP array_sum) Check that argument is an array.
2000-12-22 16:31:42 +00:00
Zeev Suraski
aa6d2ac5d0
Heads up people!
...
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
foobar
c29e24c7e2
@- Changed setlocale() to use LC_* constants. (Jani)
2000-12-21 13:46:50 +00:00
Sascha Schumann
225a08e8dd
No need for GCC extensions in non-debugging mode.
...
PR: #8345
2000-12-21 05:31:18 +00:00
Sascha Schumann
7f96af83b2
Stop automatically passing vars to AC_SUBST through PHP_SUBST.
...
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.
genif.sh was moved to an appropiate place.
2000-12-20 17:21:37 +00:00
Andi Gutmans
73c0f4b4c2
- Use memcmp() instead of ugly char-by-char compare
2000-12-20 15:51:16 +00:00
Zak Greant
9e9688d1de
Removed unused variable from is_scalar
2000-12-20 11:07:20 +00:00
Zeev Suraski
48b410c41e
Add the QA team to the credits
2000-12-19 22:59:14 +00:00
Hartmut Holzgraefe
560a4c1105
@ ctype functions now follow the extension naming conventions (Hartmut)
...
# removed unneccesary code generated by ext_skel
2000-12-19 11:50:30 +00:00
Stanislav Malyshev
f487f5960a
Fix possible crash
2000-12-19 11:23:27 +00:00
foobar
402d60491b
wb fix.
2000-12-19 00:14:58 +00:00
foobar
c66c250c41
Fix pr: #7982
2000-12-19 00:12:58 +00:00
Zak Greant
bbf41d2116
Adding test for is_scalar().
2000-12-18 21:24:25 +00:00
Zak Greant
e4ca57bb57
Added is_scalar() function.
2000-12-18 19:23:50 +00:00
Hartmut Holzgraefe
96ccf69301
fixed BUG #8306 : shmat() returns -1 on errors, not NULL
2000-12-18 12:22:28 +00:00
Stanislav Malyshev
8b1377043d
No need to link main binary with ODBC libs if we use shared module
2000-12-17 11:17:50 +00:00
Sascha Schumann
2d011afbfd
Don't do anything, if the input string has a length of 0.
...
PR: #7686
2000-12-17 02:09:07 +00:00
Andi Gutmans
9fbd0a24ba
- How did CVS let me commit this? Probably it confused with the branch
...
merge
2000-12-16 21:01:21 +00:00
Andi Gutmans
8518010945
- In PHP we're supposed to only use MAXPATHLEN (defined in php.h)
2000-12-16 20:56:44 +00:00
Andi Gutmans
86a1cace27
- Make all places use MAXPATHLEN in the same way. It includes the
...
terminating NULL.
2000-12-16 20:52:43 +00:00
Rasmus Lerdorf
808da6dbb5
Attempt by Matt Bonneau to get thumbnail extraction working
...
(no need to bring this into the 4.0.4 branch)
2000-12-15 17:25:20 +00:00
Derick Rethans
ffd0e06b60
- Added test for bug #8040
2000-12-15 15:59:29 +00:00
Derick Rethans
6caa8c37c2
- Added a patch that changed the checking of which version of libmcrypt is
...
installed (Thanks to: Anil Madhavapeddy <anil@recoil.org>)
2000-12-15 15:35:48 +00:00
foobar
40677872d5
Removed unused variables.
2000-12-15 12:33:12 +00:00
Frank M. Kromann
1e9acc15cf
Fixing compilation on Win32. (and others)
2000-12-15 03:04:09 +00:00
Stig Bakken
6e1e78d1c6
@Added iconv() function (using libc or libiconv) (Stig)
2000-12-15 01:01:14 +00:00
Stig Bakken
ac2e12a9a9
@Added ODBC_TYPE constant (Stig)
2000-12-15 00:57:04 +00:00
Hartmut Holzgraefe
6b5c37a8c5
enforce lenght limit and catch out-ouf-memory conditions
2000-12-14 16:38:15 +00:00
Sascha Schumann
c0daf14cb3
Don't define LC_MESSAGES, if LC_MESSAGES is not defined.
...
PR: #8259
2000-12-14 15:58:14 +00:00
Hartmut Holzgraefe
9b1b253548
fgetcsv() will now work correct with empty fields in tab delimited files
...
# fix for bug #8258 and regression test
2000-12-14 14:18:36 +00:00
Stanislav Malyshev
61f632a0f2
Fix shared description
2000-12-14 10:15:38 +00:00
Stanislav Malyshev
7e032b8b30
Add proto
2000-12-14 10:11:00 +00:00
Uwe Steinmann
89279afdd3
- handled possible case that an Anchor has no Position
...
(This used to cause a segm fault)
2000-12-14 07:37:37 +00:00
Zeev Suraski
944c3b40b4
That slipped in :(
2000-12-13 23:40:44 +00:00
Hartmut Holzgraefe
63e6b0b5bf
levenshtein() fixed, regression tests added (bug id #6562 and #7368 )
...
# fallback to unoptimized version for 4.0.4 release
2000-12-13 23:26:19 +00:00
Zeev Suraski
be895bcb96
Fix call_user_function() with objects - it could leak under certain circumstances
2000-12-13 22:50:10 +00:00
Uwe Steinmann
0e41e3c7cf
- Bodytag is insertet by fnInsAnchors()
...
- several small bugs which might cause a segm fault
2000-12-13 17:27:13 +00:00
Stanislav Malyshev
e81c9642b8
Add GMP tests
2000-12-13 15:55:40 +00:00
Sascha Schumann
08d104e040
Don't increase the refcount of id, if we already have increased the refcount
...
of the same id before.
PR: #8225
2000-12-13 12:26:25 +00:00
Daniel Beulshausen
199160d4db
link against msvcrt(d).lib, ignoring it isn't a good idea
2000-12-13 11:37:00 +00:00
Stanislav Malyshev
16987ca15f
Fix crash when first argument to strtr is empty
2000-12-13 10:22:36 +00:00
Stanislav Malyshev
62f626b157
Kill warning
2000-12-13 09:44:06 +00:00
Stanislav Malyshev
0d02c7d337
Open files in binary mode - should fix readfile() on Windows
2000-12-12 17:42:53 +00:00
Stanislav Malyshev
3abdbd3de9
Fix memory leak
2000-12-12 17:02:12 +00:00
Stanislav Malyshev
5dc9742071
Fix socket read returning bad values.
2000-12-12 16:56:34 +00:00
Uwe Steinmann
ba862cc06d
- new function hw_insertanchors(). It takes a document, a list of anchors
...
and its destination and inserts the anchors into the text.
2000-12-12 12:28:26 +00:00
Zeev Suraski
6239ddfe6d
Fix Win32 build
2000-12-11 16:27:48 +00:00
Stanislav Malyshev
a1c20a04ff
Fix serializer bug that prevented serializer from working on any
...
variable that had non-reference copies of the same zval
2000-12-11 14:29:25 +00:00
Sterling Hughes
e68c902e3b
Fix a crash related to the simple sablotron api. (thies)
...
make sablotron work with zts.
fix a leak or two,
2000-12-11 14:15:09 +00:00
Thies C. Arntzen
889b717a4c
fix #6348
2000-12-11 12:52:52 +00:00
Andrei Zmievski
753e46657f
Make php_array_merge() an API function.
2000-12-11 05:36:24 +00:00
Chuck Hagenbuch
a9a1553031
[whitespace] make this code a bit less dense.
2000-12-10 19:18:34 +00:00
foobar
8bb668b226
Added constants for locale categories.
2000-12-10 15:55:34 +00:00
foobar
56e718d87e
Moved the constants into ext/standard
2000-12-10 15:53:37 +00:00
James Moore
9206955425
Making the shmop phpinfo entry look the same as others.
2000-12-10 14:45:42 +00:00
Sterling Hughes
e0e42d336a
For nice looking error output. ;)
2000-12-10 10:57:46 +00:00
Sterling Hughes
948c4bebd5
Fix crash on error handler.
...
Speed up a bit (only loop through errors when necessary).
2000-12-10 09:57:26 +00:00
foobar
18cfac40a5
Kills one compile warning.
2000-12-10 00:37:43 +00:00
Sascha Schumann
ac3c7fb5de
Fetch SWF globals
...
PR: #8181
2000-12-09 10:35:18 +00:00
foobar
98349a9408
Removed unused variable definitions. And libxml can be build NOT
...
to have support for either XPath or XPtr.
2000-12-09 03:19:46 +00:00
foobar
90d65f1865
wb clean.
2000-12-08 16:25:38 +00:00
Sterling Hughes
fe13e4b05d
@ Added the call_user_method_array function which allows you to call a method with an
...
@ arbitrary number of parameters. (Sterling)
2000-12-08 14:37:49 +00:00
foobar
41f3d66705
Version checking for domxml. Requires >= 2.2.7 at the moment.
2000-12-08 13:09:32 +00:00
Sterling Hughes
9b3942a79a
Fix sablotron.
...
Add a little beautifying of the extensions name for phpcredits() (Sablotron XSLT not Sablot).
#would somebody please add this to the release tree, thanks much!
2000-12-08 09:29:09 +00:00
Zak Greant
767fa2c6af
Added constants to represent the various categories of
...
locale (LC_ALL, LC_MESSAGES, etc...)
2000-12-08 09:20:42 +00:00
Sascha Schumann
4078b3cff9
Namespace protect parse_date interface and implementation
2000-12-08 00:12:35 +00:00
Sascha Schumann
9fff35ac9f
Hardcode the readdir entry as well
2000-12-07 15:33:30 +00:00
Andrei Zmievski
9b46346a23
We don't want any hard errors in PHP scripts unless absolutely necessary.
2000-12-07 14:54:52 +00:00
Kristian Köhntopp
f5abd4c50b
Fugbix in call_user_func_array() if second argument is empty.
2000-12-07 14:14:00 +00:00
Sascha Schumann
4ada3dd3a0
Hardcode all functions which are mentioned in the Large File Support Spec
...
http://ewe3.sas.com/standards/large.file/specs/api+.007.html
2000-12-07 12:09:38 +00:00
Stanislav Malyshev
7ff9dcacb1
Enable DB2 shared build
2000-12-07 11:13:49 +00:00
foobar
9eaddc999d
Fixed bug #8145
2000-12-07 11:01:32 +00:00
Uwe Steinmann
5ff861bd4a
- set propper min version
2000-12-07 10:04:18 +00:00
Sascha Schumann
ea251e82e1
Fix ext_skel on Solaris
...
Submitted by: Sam Liddicott <sam.liddicott@ananova.com>
2000-12-07 10:03:21 +00:00
Joey Smith
eefe6739ee
Close bug #7013 .
2000-12-07 02:50:46 +00:00
Sascha Schumann
7e28784de3
Fix indentation of configure output
2000-12-06 17:34:58 +00:00
Stanislav Malyshev
bbb46b6c0c
Fix T1 static build
2000-12-06 15:08:18 +00:00
Stanislav Malyshev
9be60903d7
Update README
2000-12-06 14:28:10 +00:00
Stanislav Malyshev
596c3b7fd5
Fix prototypes
...
Fix prefect_square return
2000-12-06 14:10:40 +00:00
Andrei Zmievski
dc4b1c1adf
@- Removed ext/dav due to obsolescence. (Andrei)
2000-12-05 22:58:36 +00:00
Chuck Hagenbuch
8ef5afc6fb
spaces after commas. all whitespace.
2000-12-05 21:12:45 +00:00
Stanislav Malyshev
589a66feda
Make GMP use Zend's memory functions
2000-12-05 15:35:20 +00:00
Stanislav Malyshev
76381dbf53
Fix prototypes
2000-12-05 14:47:40 +00:00
Stanislav Malyshev
4a3fdce696
Add check for conversion base
2000-12-05 14:17:38 +00:00
Stig Bakken
2b846ec7e5
* applied patch by Stig-Ørjan Smelror <Stig.Orjan.Smelror@lincom.no>
2000-12-05 12:15:18 +00:00
Stig Bakken
92fc209384
Applied IBM DB2 patch by Walter Franzini <walter@sys-net.it>
...
@ext/odbc: IBM DB2 patch by Walter Franzini <walter@sys-net.it>
2000-12-05 12:11:30 +00:00
Sascha Schumann
b97e23c4a8
Pass core_globals to new inline functions
...
Submitted by: Sebastian Bergmann
2000-12-05 11:05:24 +00:00
foobar
f48c0fbc95
@- Made ldap_get_entries() return an array even if there are no entries
...
in search result. (Jani)
# This was actually the original behaviour and the correct one.
# I messed it up when I fixed another bug in it a while ago..
# Fixes bug #8054
2000-12-04 17:07:27 +00:00
Uwe Steinmann
81def6d9d5
- new function hw_new_document_from_file()
2000-12-04 16:34:06 +00:00
Dan Kalowsky
bfe4e5bf37
added name for credits on work for Solid interface..
2000-12-04 15:47:30 +00:00
Stanislav Malyshev
f0744d73de
GD shared build fixes - should fix problem with gd.so not being linked
...
with right libraries
2000-12-04 15:10:58 +00:00
Sterling Hughes
2d322a13a2
close the filehandle if it is a tempfile.
2000-12-04 15:05:23 +00:00
Sascha Schumann
911abe100a
Move code from macros to inline functions to ease debugging
2000-12-04 12:26:53 +00:00
Sascha Schumann
e052f9f575
Handle the case of no-handlers properly and make handlers a proper C "string".
2000-12-04 10:22:46 +00:00
Sterling Hughes
a75b19e0f6
- Fix the handling of resource entries
...
- Fix the fd_dealloc() function
2000-12-03 19:17:09 +00:00
Sterling Hughes
aa2d9117d9
Another attempt at fixing 8036
2000-12-03 19:13:41 +00:00
Sterling Hughes
56094458b7
Windows ist ser schlecht
2000-12-03 15:30:14 +00:00
Stanislav Malyshev
5b47d1ef7a
Fix #8079 - filetype now knows about sockets
2000-12-03 13:42:54 +00:00
Zeev Suraski
d36c316ac6
Fix DB build (hopefully, untested)
2000-12-03 00:07:29 +00:00
Zeev Suraski
cbb2379b5b
- Get the MySQL module a bit uptodate.
...
- Fix a bug in mysql_do_connect() - it would corrupt the host argument, if it contained a port
(or could corrupt the INI value, so that the port argument would work only the first time
around)
2000-12-02 17:27:11 +00:00
Sascha Schumann
1e0a87d62b
Include <ext/standard/info.h> for php_info-related functions.
2000-12-02 13:43:50 +00:00
Alexander Feldman
a777149199
@- Added extension for the cracklib library. (Alexander Feldman)
2000-12-02 11:59:20 +00:00
Sterling Hughes
e1d314afa2
First attempt at fixing 8036
2000-12-02 10:28:55 +00:00
Egon Schmid
10c685112a
Fixed some protos.
2000-12-01 15:25:22 +00:00
Egon Schmid
91436356b8
Fixed some protos.
2000-12-01 15:03:25 +00:00
Sascha Schumann
8e3abe8946
Get rid of HAVE_EXTNAME. This dates back to PHP 3 where source files
...
were unconditionally compiled. It is not necessary in PHP 4.
2000-12-01 14:56:30 +00:00
Egon Schmid
b3b277f32a
Fixed some protos.
2000-12-01 14:32:14 +00:00
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