Zeev Suraski
c07a056dac
There's really no need for an entire file for a one line function...
2000-05-29 16:13:38 +00:00
Thies C. Arntzen
635d7fbfae
allow_call_time_pass_reference fix: similar_text
2000-05-29 15:38:32 +00:00
Zeev Suraski
8715b55ce0
Remove stale macro
2000-05-29 15:31:19 +00:00
Sascha Schumann
a982eb2267
`len' is not the actual length of the string, but the possible maximum
...
length. This fixes a couple of problems, like not setting the cookie path
correctly.
2000-05-29 15:07:19 +00:00
Zeev Suraski
124fe30f03
More secure mode
2000-05-29 11:47:38 +00:00
Andreas Karajannis
2980f7f92d
Changed parameter naming some function prototypes
2000-05-28 17:23:24 +00:00
Sascha Schumann
0d9c0616f9
Use php_syslog() for system call. On OpenServer 5, syslog is defined to
...
var_syslog/sys_syslog which causes various problems.
Submitted by: Paul Gardiner <I.T.Manager@barleychalu.co.uk>
2000-05-28 16:22:28 +00:00
Sascha Schumann
9cd4929417
Make syslog module thread-safe.
2000-05-28 16:19:45 +00:00
Andreas Karajannis
e50b33c240
Cosmetic changes.
2000-05-28 12:48:12 +00:00
Danny Heijl
90331b27ac
- added COMPILE_DL_INFORMIX to WIN32 project file
2000-05-28 12:06:56 +00:00
Danny Heijl
a603902561
- Name correction.
2000-05-28 11:08:28 +00:00
Hartmut Holzgraefe
3bbc7466fc
added comments to the System/Distribution specific default
...
path tests for gd.h
? can someone imagine a clever way to have that done for
_all_ packages in a simple and general way ?
2000-05-27 21:30:30 +00:00
Hartmut Holzgraefe
636b8927c6
should make SuSE 6.x users happy (and anybody else with gh.d in
...
/usr/include/gd ... )
2000-05-27 21:09:00 +00:00
Hartmut Holzgraefe
fb39eda0d8
a second (cleaner?) try on warnings about unsupported functions
2000-05-27 19:27:20 +00:00
Andi Gutmans
afccb58612
- I'm not sure if PHP_NOT_IN_THIS_BUILD is the way to handle these
...
- functions but in any case I have changed it to PHP_NOT_IN_THIS_BUILD()
2000-05-27 18:55:11 +00:00
Andi Gutmans
8c82566b48
- Fix problem in sessions module under Win32. Need to use ; as an options
...
- delimiter in save_path instead of :.
2000-05-27 16:38:49 +00:00
Zeev Suraski
abb31591ff
Add Sam Ruby
2000-05-27 00:24:03 +00:00
Hartmut Holzgraefe
7a2e01c592
protos fixed
2000-05-26 17:20:36 +00:00
Hartmut Holzgraefe
62227a03b1
proto fixed
2000-05-26 17:20:18 +00:00
Hartmut Holzgraefe
69d1e788c0
if a module provides a function it should also do so if the function
...
is not functional due to configure findings
the function should offer a meaningful warning if it is not supported
instead of just beeing undefined
i had already changed this in 'gd', now this is doing it for 'standard'
2000-05-26 17:04:02 +00:00
Zeev Suraski
9bfd5e5e55
Save more overhead. Look for the serializer/save_handler only when they're actually modified.
2000-05-26 13:02:11 +00:00
Zeev Suraski
fb69f854af
Use the INI framework in the session module
2000-05-26 11:12:49 +00:00
Uwe Steinmann
8e12a0126e
- swf.h belongs to the libswf distribution and should not be copied
...
in the php distribution.
- the configure script now checks for the libswf.a and swf.h in
<swf-dir>/lib and <swf-dir>/include. If it doesn't find it the
default directories /usr/local and /usr are checked.
2000-05-26 09:34:13 +00:00
Adam Dickmeiss
51491d06f1
Added short README for ext YAZ.
2000-05-25 22:24:43 +00:00
Adam Dickmeiss
5dadceb115
Added extension YAZ (Z39.50 client role).
2000-05-25 21:54:35 +00:00
Andrei Zmievski
8a5bc5b674
Update proto.
2000-05-25 21:07:07 +00:00
Andrei Zmievski
0a142bb94e
@- Added second argument to preg_quote() which allows quoting of
...
@ one additional character, usually the regex delimiter. (Andrei)
2000-05-25 21:04:09 +00:00
Hartmut Holzgraefe
a9abc3ab6b
added functions gzcompress() and gzuncompress() for direct string
...
compression as requested by BugId #1151
2000-05-25 16:35:49 +00:00
Frank M. Kromann
fcd7794c2b
Making ZLIB compile on Win32
2000-05-25 16:14:05 +00:00
Frank M. Kromann
36c87e18d6
fixing typo
2000-05-25 16:13:19 +00:00
Kristian Köhntopp
e5835b63c9
- Added credits.
2000-05-25 11:01:31 +00:00
Jouni Ahto
cf9ea9d9cd
- Move to high performance api, use Z_* macros.
...
- Added some spaces here and there.
# Have yet to test that I didn't break anything...
2000-05-25 07:51:40 +00:00
Thies C. Arntzen
ff53dde157
@- Uncommitted outstanding OCI8 transactions are now rolled back
...
@ before the connection is closed. (Thies)
2000-05-25 07:44:45 +00:00
Sterling Hughes
7bd0936291
Check lib.
2000-05-25 00:15:29 +00:00
Andrei Zmievski
4197a68602
@ Fixed min()/max() segfault. (Andrei)
2000-05-24 19:07:17 +00:00
Hartmut Holzgraefe
f9d1b16d8b
proto takeover from php3
2000-05-24 16:28:16 +00:00
Frank M. Kromann
3d939af4a3
Adding PHP_EXIF directive to actually include the functions
2000-05-24 11:35:09 +00:00
Frank M. Kromann
f9fc8f78ab
Adding project for new exif module
2000-05-24 11:32:44 +00:00
Rasmus Lerdorf
3c61d015c2
@ New module for reading EXIF header data from JPEG files. Most digital
...
@ cameras will embed all sorts of information about a picture inside the
@ jpeg images it generates. (Rasmus)
exif module
2000-05-24 10:33:18 +00:00
Rasmus Lerdorf
93feb306f8
@ Fix a couple of warnings in the gd and ldap modules
...
num_links is a long there
2000-05-24 08:58:40 +00:00
Jouni Ahto
ec93ec1fb1
Added PostgreSQL module info function.
2000-05-24 06:48:04 +00:00
Hartmut Holzgraefe
e191baa1a3
php_basename() prototype changed according to latest changes in string.c
2000-05-24 05:51:33 +00:00
Sascha Schumann
0f54988877
Convert config.m4 to make use of the new build system features
2000-05-23 23:46:38 +00:00
Sascha Schumann
d348a83a72
Make imap extension buildable as shared module.
2000-05-23 23:36:44 +00:00
Sascha Schumann
27ca66b410
Make recode extension buildable as shared module.
2000-05-23 23:30:38 +00:00
Sascha Schumann
21f77edba0
Make msql extension buildable as shared module.
2000-05-23 23:24:05 +00:00
Sascha Schumann
5df3ca812b
Add INFORMIX_SHARED_LIBADD to LT_SHARED_LIBADD
2000-05-23 23:19:11 +00:00
Sascha Schumann
3563e0adba
Make informix extension buildable as shared module on Unix.
2000-05-23 23:13:34 +00:00
Hartmut Holzgraefe
df4547a3df
another bunch of proto fixes
2000-05-23 23:13:02 +00:00
Hartmut Holzgraefe
0fa7618f7c
proto function name fixed
2000-05-23 22:30:21 +00:00
Hartmut Holzgraefe
94cca68983
added a missing proto
2000-05-23 22:28:07 +00:00
Sascha Schumann
cab5f6afb8
Make gettext extension compilable as shared module.
2000-05-23 22:26:51 +00:00
Hartmut Holzgraefe
9a8a9d774e
even more protos were missing
2000-05-23 22:26:29 +00:00
Hartmut Holzgraefe
3d3d385d37
some protos where missing, took them from php3
2000-05-23 22:24:05 +00:00
Hartmut Holzgraefe
887c672a6c
proto typo fix
2000-05-23 22:20:36 +00:00
Hartmut Holzgraefe
7a0855aeb5
some protos where missing proto keyword
2000-05-23 22:19:29 +00:00
Hartmut Holzgraefe
83d987b48d
protos where lacking return types
2000-05-23 22:18:08 +00:00
Hartmut Holzgraefe
e09b2d0df4
integratet protos from php3 version
2000-05-23 22:11:56 +00:00
Hartmut Holzgraefe
58acf7dbe1
some protos fixed
...
commented out yet not implemented function icap_popen() from functiontabe
2000-05-23 22:07:33 +00:00
Hartmut Holzgraefe
72c4912f58
some protos got to the wrong function - fixed
2000-05-23 21:56:30 +00:00
Rasmus Lerdorf
7182e722ca
Need a PHPAPI version of basename for some stuff I am working on.
...
Also fixed a bug along the way in the basename function. If it
was fed something like "filename.ext/////" it would return the string
with all the slashes whereas if you fed it "/path/filename.ext////" it
would get it right.
@ Fixed basename() bug where "file.ext///" would not return the same
@ as "/path/file.ext///" (Rasmus)
2000-05-23 20:16:14 +00:00
Hartmut Holzgraefe
ee82f87cbf
one little unimportant detail (cut&paste is evil :)
2000-05-23 20:13:10 +00:00
Hartmut Holzgraefe
251cda4941
a little less optimized, but no dirty tricks anymore
2000-05-23 20:07:32 +00:00
Sascha Schumann
5d10b23a78
Make calc_levdist static and fix pointer swapping.
2000-05-23 19:27:02 +00:00
Andi Gutmans
617266e33e
- Virtual current working directory is now enabled
...
- Added support for mkdir()/rmdir() and more
2000-05-23 17:02:21 +00:00
Sascha Schumann
2aaa538aef
Use reentrant version of readdir. If the target platform does not support
...
the POSIX-like readdir_r, we fall back to readdir. In ZTS mode, this will
cause php_readdir_r calls to be serialized.
2000-05-23 15:13:16 +00:00
Andi Gutmans
22dba603f5
- English fix.
2000-05-23 14:42:22 +00:00
Hartmut Holzgraefe
4571d8ddea
name changed from levdist() to levenshtein()
...
(although i bet we'll get a levenstein() alias some day)
2000-05-23 14:37:39 +00:00
Andi Gutmans
521f03c184
- Support virtual unlink()
2000-05-23 14:36:27 +00:00
Hartmut Holzgraefe
0eb51100b7
added function "int levdist(string str1, string str2)"
...
that will calculate the Levenshtein distance between two
strings (faster and possibly more accurate than similar_text())
2000-05-23 14:10:37 +00:00
Andrew Skalski
6d51f4a788
Changed the #ifdefs around "errno = ETIMEDOUT;" to include the rest
...
of the statement ["if (n == 0)"]
2000-05-23 13:56:04 +00:00
Andi Gutmans
32dffec0f8
- PHP_WIN32 macro should be used with #ifdef/#ifndef
...
- Always use PHP_WIN32 instead of WIN32/WINNT values
2000-05-23 13:49:55 +00:00
Sascha Schumann
cd8c4268ec
Revert recent COMPILE_DL change.
2000-05-23 13:46:16 +00:00
Andrei Zmievski
03851ced5f
Clean up the patch by Hartmut.
2000-05-23 12:38:12 +00:00
Sterling Hughes
ae0d73e87d
'char *' to 'char'
2000-05-23 12:14:20 +00:00
Frank M. Kromann
c9158aec30
fixing type
2000-05-23 11:52:04 +00:00
Frank M. Kromann
34e74f8afe
chang #if to #ifdef
2000-05-23 10:36:48 +00:00
Sascha Schumann
99133bf4bb
--with-foo causes $withval to be set to "yes," not ""
2000-05-23 10:21:40 +00:00
Thies C. Arntzen
f51150584c
even better check for netinet/in.h
2000-05-23 10:12:42 +00:00
Thies C. Arntzen
30b43665e8
make ftp compile on unix again
2000-05-23 10:11:09 +00:00
Sascha Schumann
4686a3b50e
Use #ifdef COMPILE_DL_EXTNAME solely.
2000-05-23 09:33:51 +00:00
Sascha Schumann
0236982d6d
s/COMPILE_DL/COMPILE_DL_EXTNAME/ for Windows build files.
2000-05-23 09:22:01 +00:00
Sascha Schumann
2472700dd1
Only print the attention thing, if the MD5 and DES checks failed.
2000-05-23 09:09:11 +00:00
Frank M. Kromann
08bd9586fb
making ftp module compile and work on win32
2000-05-23 08:05:22 +00:00
Jouni Ahto
c32de173c3
According to current PostgreSQL docs, using PQoidStatus() is deprecated.
2000-05-23 06:03:34 +00:00
Hartmut Holzgraefe
78cec9f33e
again (due to feature request in bug id #3251 )
...
added optional 3rd parameter 'limit' to explode() as in split()
2000-05-23 05:04:28 +00:00
Sterling Hughes
39af86f017
@-Add the swf_ortho function. (Sterling)
2000-05-23 04:09:20 +00:00
Frank M. Kromann
bd29009c31
oops forgot to save project before commit
2000-05-22 21:58:30 +00:00
Frank M. Kromann
7741269930
adding project for swf
2000-05-22 21:58:29 +00:00
Andrew Skalski
3ac4c96641
applied Luca Montecchiani's win32 fixes (open files in binary mode
...
using the "b" fopen flag, and use closesocket rather than close
when closing sockets)
2000-05-22 21:16:58 +00:00
Sterling Hughes
072755ca8d
@-Allow the writing of flash files to stdout.
2000-05-22 20:56:09 +00:00
Hartmut Holzgraefe
398923de53
in [mt_]rand(): (see BUG #3353 )
...
- additional range checking for (max-min)<=[MT_]RAND_MAX
- [mt_]rand(0,[mt_]getrandmax()) will now work without integer overflow
2000-05-22 20:37:26 +00:00
Zeev Suraski
ccc12f8801
- Make calendar compile as a dll on Windows
2000-05-22 15:49:49 +00:00
Sterling Hughes
6ceddbb1d5
fix bug 4533
2000-05-21 23:15:09 +00:00
Jouni Ahto
e80b2b13fa
Fix #4230 . Putenv() was modifying its argument, a no-no.
2000-05-21 21:13:32 +00:00
Sam Ruby
f365665213
passing Strings as Objects
2000-05-21 11:24:49 +00:00
Andreas Karajannis
11f4909068
Turn off retrieving the whole error stack
2000-05-21 08:46:51 +00:00
Hartmut Holzgraefe
eb7979ab5b
patch to explode (bug id #3251 ) suspended till 4.0.1
2000-05-20 05:07:53 +00:00
Sterling Hughes
8580374aa1
Proto fixes.
...
#Harmut -- I love your web site, I was able to see that these functions
#didn't have prototypes just by checking out the SWF extension area!
2000-05-20 00:13:05 +00:00
Hartmut Holzgraefe
af77bc0583
added optional 3rd parameter 'limit' to explode() as in split()
...
(due to feature request in bug id #3251 )
2000-05-19 22:00:38 +00:00
Thies C. Arntzen
400ca09018
added some Notice about --enable-sigchild
2000-05-19 09:19:20 +00:00
Zeev Suraski
0f82e6de23
Minor output mods
2000-05-19 08:28:53 +00:00
Zeev Suraski
e043439ff6
Update the license with the new clause 6
2000-05-18 15:34:45 +00:00
Andrei Zmievski
c97760776b
(PHP round) Fix proto.
2000-05-18 12:29:58 +00:00
Andrei Zmievski
aa09d60d7d
(PHP array_multisort) Fix the array_size test.
2000-05-18 12:29:45 +00:00
Uwe Steinmann
4099600941
- fixed bug #4076
2000-05-18 05:35:11 +00:00
Andrei Zmievski
a859e83392
Update for sort functions - user can now specify sort type.
2000-05-18 00:47:57 +00:00
Sterling Hughes
a8bb2a86b1
Make the SWF module compile again + 1 stylistic change.
2000-05-18 00:39:00 +00:00
Hartmut Holzgraefe
1e438060af
proto corrected
2000-05-17 19:50:22 +00:00
Egon Schmid
11acad981c
Fixed the format.
2000-05-17 19:48:43 +00:00
Hartmut Holzgraefe
d7779d8bdf
proto takeover from php3
2000-05-17 19:42:08 +00:00
Hartmut Holzgraefe
e5a2f0f95c
proto-takeover from php3
2000-05-17 19:40:10 +00:00
Hartmut Holzgraefe
1e632ffdee
typo fix
2000-05-17 19:36:51 +00:00
Hartmut Holzgraefe
5354940f93
correction
2000-05-17 19:27:08 +00:00
Sascha Schumann
db3d16dca1
Add debug.log facility. If there are any obscure bugs in our build system,
...
this will give us enough information to find and fix it.
2000-05-17 19:08:44 +00:00
Hartmut Holzgraefe
6173835699
proto-takeover from php3
2000-05-17 18:58:27 +00:00
Egon Schmid
7dd8b901e6
Second parameter is optional.
2000-05-17 18:17:07 +00:00
Hartmut Holzgraefe
29571bf2b1
took over missing prototypes from php3 source
...
(copied them only, didn't check for parameter changes!)
2000-05-17 18:14:05 +00:00
Hartmut Holzgraefe
44845ea24b
name in proto should be name of real function, not alias
2000-05-17 17:54:54 +00:00
Sascha Schumann
f0ed744125
Fix 64-bit issue in gethostbyaddr().
2000-05-17 16:08:42 +00:00
Uwe Steinmann
d20eec24ce
- fixed wrong interpretation of last parameter of swf_rotate()
...
- add MOD_COLOR and MOD_MATRIX constants
2000-05-17 15:47:15 +00:00
Andrei Zmievski
e2e6363488
Let's cast it.
2000-05-17 12:51:37 +00:00
Andrei Zmievski
08ff225a46
@- Improved round() to allow specification of rounding precision.
...
@ (Andrei, Todd Kirby <kirbyt@yahoo.com>)
2000-05-17 12:50:04 +00:00
Sascha Schumann
ccc2b1b8ce
Fix PHP_EXTENSION argument
...
PR: #4458
2000-05-16 08:21:10 +00:00
Uwe Steinmann
31be486539
- fixed prototype
2000-05-16 07:54:10 +00:00
Sascha Schumann
8ab33a4d13
Use "mkdir -p" instead of "test -d || mkdir" where possible
2000-05-15 16:02:43 +00:00
Sascha Schumann
6baa5bc2dc
Complain, if write(2) failed.
2000-05-15 13:50:39 +00:00
Andrei Zmievski
fe24b820be
@- NULL values are now preserved in the return value of mysql_fetch_array()
...
@ and mysql_fetch_object(). (Andrei)
2000-05-15 13:46:37 +00:00
Thies C. Arntzen
2a6fbb620c
fix .sl <-> .so recognition
2000-05-15 10:01:51 +00:00
Sascha Schumann
4a658e8b51
Drop slower strchr in favor of memchr.
2000-05-15 09:55:03 +00:00
Thies C. Arntzen
c693ca137f
this now works on .so and .sl (HP) systems
2000-05-15 07:24:09 +00:00
Jouni Ahto
08838fe79a
Default to the highest SQL version supported by libs.
...
Fixed associative array values returned by ibase_field_info.
Fixed compatibility problems with old versions of InterBase.
2000-05-14 21:55:45 +00:00
Sterling Hughes
ed2933342c
@-Add swf_definepoly for drawing polygons to the SWF functions. (Sterling)
2000-05-14 18:39:11 +00:00
Sterling Hughes
69ddfd0acb
@-Port imagegammacorrect from PHP3 to PHP4. (Sterling)
...
#Also two little stylistic changes in gd.c
2000-05-14 15:25:13 +00:00
Sascha Schumann
654b75694a
Do not use non-standard type u_int32_t.
...
Instead, use UINT4 for now which is platform-independent.
PR: #4262
2000-05-13 09:36:33 +00:00
Sascha Schumann
dc6d46c180
"INT" configuration values must be of type long
2000-05-13 06:05:24 +00:00
Sterling Hughes
7342fc7a28
Add Meself for LibSWF.
2000-05-12 20:49:26 +00:00
Jouni Ahto
7894d58ae5
# Correct spelling, adding Andrew because half the code in that module is
...
# his, removing myself from Informix because I don't think my influence to
# that module was big enough worth mentioning, adding myself to GD because
# I think T1lib is worth mentioning. BTW, who wrote the TTF extension? I think
# he is missing credits here.
2000-05-12 20:11:14 +00:00
Sam Ruby
33ceae2809
i18n, part I
2000-05-12 09:51:16 +00:00
Jouni Ahto
4132ec828d
Changed ibase_num_fields to use high-performance api (which fixed a *very*
...
obscure bug).
2000-05-12 08:37:03 +00:00
Jouni Ahto
fc5daee434
Fixed all (?) remaining issues with InterBase 6 datatypes, especially
...
with timestamp, date and time.
Incombatible change: renamed constant IBASE_TIMESTAMP to IBASE_UNIXTIME.
Incompatible change: renamed configuration directive ibase.timeformat
to ibase.timestampformat.
Added constants IBASE_TIMESTAMP, IBASE_DATE, IBASE_TIME.
Added configuration directives ibase.dateformat and ibase.timeformat.
ibase_timefmt() now takes an optional second argument specifying which
format to change, default is IBASE_TIMESTAMP (for even a little backwards
compatibility).
2000-05-12 03:02:14 +00:00
Jouni Ahto
59ddaefd72
SQL_INT64 binding support in prepared and executed queries.
...
Fixed a (probably) longtime bug with binding to DECIMAL/NUMERIC stored as
scaled integer.
# Be lazy on documentation, then nobody ever uses the features there are,
# and you never get caught for bugs...
2000-05-11 19:38:02 +00:00
Andreas Karajannis
07f7b8c1e3
Prototype adapted
2000-05-11 16:25:58 +00:00
Andreas Karajannis
010f7850e0
Restoring old parameter ordering in odbc_fetch_into()
2000-05-11 16:24:03 +00:00
Andi Gutmans
c88ccc49a1
- Remove unneeded object_init(return_value) from three places
2000-05-11 13:52:24 +00:00
Egon Schmid
7a3e2ee70a
Fixed some typos.
2000-05-11 12:10:53 +00:00
Andreas Karajannis
f4357f3254
Forcing passing by reference for array in odbc_fetch_into()
...
Added function odbc_column_scale(), new alias odbc_column_precision for odbc_column_len
Added better description in Prototypes for some functions
2000-05-11 11:46:06 +00:00
Danny Heijl
7d5e93ac57
- fix for SQLLVARCHAR provided by Alan Shepherd. (Danny)
2000-05-10 18:56:42 +00:00
Chuck Hagenbuch
fe22dc5ff8
fix for segfault. patch from Jade Nicoletti <nicoletti@nns.ch>.
2000-05-10 12:44:44 +00:00
Thies C. Arntzen
ab6d34d8ba
revert last patch - you can only specify the dl() path relative to extension_dir
...
again
2000-05-10 07:32:51 +00:00
Jouni Ahto
b826d6a43d
Support (partially) the new datatypes in InterBase 6.
2000-05-09 20:30:23 +00:00
Andrei Zmievski
fdbea075fa
@- Added array_rand() function. (Andrei)
2000-05-09 19:27:00 +00:00
Thies C. Arntzen
cd72153455
config.m4 redone - now supports building oracle extension as shared module
...
# i really hope i didn't break linking agains ancient oracle-versions!
2000-05-08 10:10:00 +00:00
Thies C. Arntzen
7436c0791b
imporved version detection
2000-05-08 09:41:37 +00:00
Thies C. Arntzen
831459885e
rewritten the configure stuff
2000-05-08 09:06:48 +00:00
Thies C. Arntzen
b8f9b48098
(php_dl) treat path as absolute if it starts with '/'
2000-05-08 08:12:28 +00:00
Sascha Schumann
fa254b6267
executor_globals is always passed to MINIT functions
2000-05-07 03:20:37 +00:00
Sascha Schumann
6953135774
s/localtime_r/php_localtime_r/
2000-05-07 02:38:05 +00:00
Sascha Schumann
2df8e7341e
Move <syslog.h> inclusion into php_syslog.h. This will make sure that
...
all source files "get it."
2000-05-07 00:10:32 +00:00
Sascha Schumann
54fa1a77d7
On some systems, <syslog.h> defines syslog to another symbol, so that
...
syslog.lo does not contain the expected symbols. Including <symbol.h>
in basic_functions.c fixes the resulting linking problem.
2000-05-06 23:17:11 +00:00
Andrei Zmievski
0060f95699
Fixes for possible failure of zend_eval_string().
2000-05-06 17:57:34 +00:00
Sascha Schumann
4b87dccefc
Fix dbase breakage related to the virtual path changes.
2000-05-06 03:15:41 +00:00
Sascha Schumann
f51b56cfed
Move dlopen in -ldl check to configure.in. This should ensure that if libdl
...
exists, it will be always found. We define HAVE_LIBDL now always, if the
function dlopen is found.
2000-05-05 11:23:12 +00:00
Sascha Schumann
8570e0e3ba
Put in a hack, so that users can compile PHP, even if the configure-time
...
checks failed to detect the capabilities of crypt().
2000-05-05 10:36:00 +00:00
Andi Gutmans
198537b70f
- Make Windows compile again.
2000-05-05 07:18:50 +00:00
Andrei Zmievski
d8f2900589
Updates for changed WDDX API.
2000-05-04 20:29:36 +00:00
Andrei Zmievski
0a09f95dd7
Got rid of infinite recursion when serializing $GLOBALS[].
...
@- Fixed infinite recursion when serializing $GLOBALS[] in WDDX. (Andrei)
2000-05-04 20:28:21 +00:00
Andrei Zmievski
2b26bb5086
. Reworked string serialization
...
. <, >, and & in strings are now properly escaped
. Removed a lot of unnecessary calls to strlen()
@- Made WDDX serialization properly escape <, >, and &. Also speeded up
@ the serialization in general. (Andrei)
2000-05-04 20:00:07 +00:00
Jouni Ahto
aef06da015
Fix (?) #4314 .
2000-05-04 13:43:06 +00:00
Jouni Ahto
4802fbb8b8
If using a persistent connection, check if it's still there and reopen if
...
needed.
2000-05-04 12:28:00 +00:00
Sascha Schumann
d0f3764ee2
Change reentrancy API to always use the php prefix.
...
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
2000-05-04 10:38:17 +00:00
Sascha Schumann
b6e4841ec7
Determine first whether we will use ZTS mode or not.
...
This is important, because the system checks will yield different
results depending on whether POSIX threads are enabled or not.
We also use PTHREADS_CFLAGS only in ZTS mode now. Using these flags
in non-ZTS mode causes complete build failures on some platforms
(i.e. FreeBSD 2.2.x). This will cause harmless warnings on some
platforms (i.e. Solaris 2).
2000-05-04 09:42:27 +00:00
Andrei Zmievski
599813d73a
Let's enable assert by default since it's so useful.
2000-05-03 14:24:14 +00:00
Joey Smith
0022a2f81a
I am going to move README-BCMATH to README.BCMATH for consistency.
2000-05-03 04:55:19 +00:00
Sascha Schumann
79a89ef8fe
Make bcmath buildable as shared module
2000-05-02 21:35:08 +00:00
Sascha Schumann
6bc1bf4c93
Make MySQL independent of build location
2000-05-02 21:18:59 +00:00
Sterling Hughes
df3d78cbac
Add a ; for Sybase
2000-05-02 21:00:09 +00:00
Andi Gutmans
52288d4f05
- Shouldn't be needed. The configuration mechanism makes sure this is
...
- up-to-date
2000-05-02 18:46:19 +00:00
Sascha Schumann
8eb698a847
Make php_dl() respect the configured extension_dir setting.
2000-05-02 14:44:08 +00:00
Hartmut Holzgraefe
19ea1a0bc9
calling a function that is not supported in the current build due to a
...
missing library or unsupported feature (especially GIF-Output)
will now give a slightly more usefull error message than eg.
" Call to undefined function: imagegif()"
(this seemed to confuse a lot of users ....)
2000-05-02 14:10:51 +00:00
Sascha Schumann
a931caf2b2
Protect everything which requires <libpq-fe.h> with PHP_PGSQL_PRIVATE
2000-05-02 05:27:35 +00:00
Sascha Schumann
f6a7542f73
Include php_virtual_cwd.h for V_OPEN
2000-05-02 05:16:20 +00:00
Sascha Schumann
6767b4df68
Make filepro compilable as shared module
2000-05-02 04:32:50 +00:00
Sascha Schumann
b2e90b4e8b
Make dbase compilable as shared module
2000-05-02 04:32:33 +00:00
Sascha Schumann
645b2736a3
Make sybase compilable as shared module
2000-05-02 04:27:03 +00:00
Sascha Schumann
92c87b1ba9
Make readline compilable as shared module
2000-05-02 04:26:48 +00:00
Sascha Schumann
dca0d3f454
Make interbase compilable as shared module
2000-05-02 04:26:22 +00:00
Sascha Schumann
82c5c690c9
Use the new AC_ADD_LIBRARY_WITH_PATH option shared-libadd
2000-05-02 04:01:15 +00:00
Sascha Schumann
f1dfd1f5f7
Make mcal buildable as shared module
2000-05-02 04:00:47 +00:00
Sascha Schumann
c3d4066b48
Make dba compilable as shared module
2000-05-02 03:38:26 +00:00
Sascha Schumann
cf4863788e
Make mhash builable as shared module
2000-05-02 03:29:45 +00:00
Sascha Schumann
3e80436fb8
Make mcrypt buildable as shared module
2000-05-02 03:29:28 +00:00
Sascha Schumann
dbf959d04d
Make ftp buildable as shared module
2000-05-02 02:02:18 +00:00
Sascha Schumann
4f5717d0a0
Make calendar buildable as shared module
2000-05-02 02:02:05 +00:00
Sascha Schumann
095e13632c
Make icap buildable as shared module
2000-05-02 02:01:13 +00:00
Sascha Schumann
a4d401a67d
Make sysvshm buildable as shared module
2000-05-02 02:00:51 +00:00
Sascha Schumann
8d2d181e69
Make sysvsem buildable as shared module
2000-05-02 02:00:36 +00:00
Sascha Schumann
f8f7dcf0cf
Make yp buildable as shared module
2000-05-02 01:21:28 +00:00
Sascha Schumann
d4def2d2a3
Make zlib buildable as shared module
2000-05-02 01:15:10 +00:00
Sascha Schumann
fe50664d4d
#if COMPILE_DL
...
becomes
#if defined(COMPILE_DL) || defined(COMPILE_DL_EXTENSION_NAME)
2000-05-02 00:44:35 +00:00
Sascha Schumann
0d383d9373
Replace the various get_module() functions with a uniform
...
ZEND_GET_MODULE(name) macro.
2000-05-02 00:30:36 +00:00
Sterling Hughes
95310ad5e0
Make swf_nextid() return a value.
2000-05-02 00:24:18 +00:00
Sascha Schumann
7613e064f8
Remove trailing empty lines
2000-05-01 22:38:42 +00:00
Rasmus Lerdorf
0628b33278
Never mind on the error check
2000-05-01 22:14:54 +00:00
Sascha Schumann
0d36199cf9
Large test commit IV
2000-05-01 22:04:52 +00:00
Sascha Schumann
de2cea47c0
Large commit test III
2000-05-01 22:00:09 +00:00
Sascha Schumann
a493cdc92c
Large test commit II
2000-05-01 21:57:01 +00:00
Sascha Schumann
fc4b7bac9c
Large test commit I
2000-05-01 21:55:45 +00:00
Sascha Schumann
358bdc8832
Make posix module buildable as shared module
2000-05-01 21:36:52 +00:00
Sascha Schumann
1e3d94b70b
Revamp config stuff
2000-05-01 21:32:26 +00:00
Rasmus Lerdorf
83f567abf3
Dynamically allocate points for ImagePolygon (Marc Pohl)
...
@Dynamically allocate points for ImagePolygon (Marc Pohl)
2000-05-01 18:56:58 +00:00
Frank M. Kromann
b19376c6f5
oops wrong settings commited in project.
2000-05-01 05:42:33 +00:00
Frank M. Kromann
dd537aaaa6
adding calendar project
2000-05-01 05:41:38 +00:00
Sascha Schumann
632b054aba
Remove white-space, breaks UnixWare make
2000-05-01 04:41:16 +00:00
Joey Smith
b2266104b1
Forgot to mention: Added configure time checking for bcmath package. (Thanks, Sascha!)
...
@ Added configure time checking for bcmath package
2000-05-01 04:02:43 +00:00
Joey Smith
c07dcd1b8d
There was already a perfectly good README-BCMATH, I just found the different naming confusing.
2000-05-01 03:59:55 +00:00
Sascha Schumann
9595fb76f3
Rebuild xml, if libexpat changed.
2000-05-01 03:10:01 +00:00
Sascha Schumann
52b1e3482d
Link expat into static and shared module.
2000-05-01 02:58:26 +00:00
Sascha Schumann
a481fddfb3
Improved in-tree shared libraries build system
...
The following new/revived shared modules are available now:
... MySQL (*)
... PCRE (*)
... Session
... SWF
(*) capable of using bundled library or external library
All changes:
The m4 macro PHP_EXTENSION was revamped. Uses LIB_BUILD now.
This effectively means that all extensions have to use dynlib.
ext/mysql/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/pcre/config.m4 was revamped.
Uses LIB_BUILD for building bundled library.
ext/ext_skel was changed to reflect that more modules should be
compileable as shared module.
ext/Makefile.in has been simplified enormously.
Dependencies are now stored in the build tree.
Empty dependencies are not generated by buildconf anymore. They
are now dynamically created during the build process.
Implicit rules for .S were removed.
The NO_RECURSION feature was removed.
"libs.mk" has been added to all cvsignore files in ext.
2000-05-01 02:42:55 +00:00
Sterling Hughes
1191f6bf7c
Allow the SWF module to compile as a dl.
2000-04-30 23:57:20 +00:00
Sterling Hughes
b93e5ecbe0
Proto's and the such.
2000-04-30 23:42:33 +00:00
Andi Gutmans
5d5b09e1a7
- Change some open's to V_OPEN()'s
2000-04-30 19:01:17 +00:00
Sterling Hughes
1f64d98753
Add LibSWF support to PHP, will be sending an e-mail on the files and
...
uses shortly.
2000-04-30 19:00:05 +00:00
Andi Gutmans
e13285ded7
- Take Sascha's advice and create on V_OPEN() which replaces open().
...
- Unlike the other macros its argument has to have braces around it, for
- example, open(filename, flags) becomse V_OPEN((filename, flags))
- Made small conversion to new Zend macros. The ugly (*foo)->value.str.val
- now becomes Z_STRVAL_PP(foo). PP means pointer pointer, there also exist
- single P's for example foo->value.str.val becomes Z_STRVAL_P(foo).
2000-04-30 16:32:36 +00:00
Jouni Ahto
8e7a5098dd
Debian 2.2 puts rfc822.h in /usr/include/c-client, check that place too.
2000-04-30 16:10:29 +00:00
Jouni Ahto
430bfdd878
Moving module to the high-performance API & fixing it for PHP4.
2000-04-30 05:46:04 +00:00
Sascha Schumann
953fe189da
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:20:09 +00:00
Sascha Schumann
952f58b66d
(The first part of this commit died with a SIGPIPE from the CVS server.)
...
Overall UNIX build system improvements:
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:12:38 +00:00
Sascha Schumann
8d19edc495
Overall UNIX build system improvements:
...
* Makefile header is now completely dynamic
* Absolute paths in (top_)?(src|build)dir and VPATH
(fixes Tru64 support)
* VPATH does not contain variables anymore
(fixes UnixWare support)
2000-04-30 03:10:34 +00:00
Andrei Zmievski
9e9ba7d974
@ Updated natural comparison/sorting algorithm by Martin Pool
...
@ <mbp@humbug.org.au>. (Andrei)
Martin Pool updated the natural comparison/sort algorithm so that fractions
compare more "naturally", e.g. 1.002 < 1.1.
2000-04-29 18:57:06 +00:00
Sascha Schumann
58eaa24a90
Improve imap-lib check
2000-04-28 17:13:50 +00:00
Ted Rolle Jr
b7f2d80a28
Removed bug that prevented it to work on longer strings.
...
Changed commenting to c-style commenting.
2000-04-28 14:24:38 +00:00
Andrei Zmievski
105be1513d
Fix an empty arrays condition and optimize a bit.
...
@ Fixed a crash in array_multisort() that happened when empty arrays
@ were passed to it. (Andrei)
2000-04-28 14:01:08 +00:00
Zeev Suraski
3220bb570e
- Fix an invalid trick (it was valid when header() was using
...
zend_get_parameters(), but it became invalid when someone switched it
to zend_get_parameters_ex(), and I decided to remove it anyway).
- Remove a redundant function call
2000-04-28 13:03:13 +00:00
Thies C. Arntzen
ea9be8b88b
compile fix
2000-04-28 10:37:17 +00:00
Zeev Suraski
39aa59bdec
More error handling work (still completely disabled)
2000-04-27 18:37:02 +00:00
Andrei Zmievski
3b77fd37a9
TODO update and fix for C++ comments.
2000-04-27 14:41:18 +00:00
Thies C. Arntzen
0c46488147
using vi to update DevStudio Files, yeah!
2000-04-27 14:33:53 +00:00
Thies C. Arntzen
6f08c178b9
.
2000-04-27 14:32:58 +00:00
Thies C. Arntzen
6ccea93d6b
allow oci8 to be build as loadable module.
2000-04-27 14:29:11 +00:00
Sterling Hughes
68e54e9922
Small proto fix.
2000-04-26 01:16:57 +00:00
Andrei Zmievski
5c5ec88292
@Added substr_count() from Peter Kovacs. (Andrei)
...
# also some todo stuff
2000-04-26 00:29:59 +00:00
Andrew Skalski
fc0813f11a
* typecast fs_give parameter to void**
...
* removed wide-character treatment from imap_utf7_encode
* suggestion to #include "linkage.c" rather than link in auth/mail drivers
manually
2000-04-24 22:21:34 +00:00
Zeev Suraski
b992f02935
- Get rid of newly introduced warning
2000-04-24 17:35:27 +00:00
Thies C. Arntzen
232bcff77e
.
2000-04-24 16:46:56 +00:00
Thies C. Arntzen
2a17453e42
RINIT was called twice for modules loaded vi php.ini
2000-04-24 15:40:07 +00:00
Andrei Zmievski
ec997d5c5b
Exterminate warnings.
2000-04-24 14:19:21 +00:00
Andrei Zmievski
071c01a019
The third argument to fseek() is now one of the standard SEEK_* constants.
...
# The previous change to support seekfrom stuff was incorrect.
2000-04-24 14:18:11 +00:00
Thies C. Arntzen
b73919eb50
enabel PDB
2000-04-24 12:36:01 +00:00
Thies C. Arntzen
57c20bf836
fix warning
2000-04-24 12:35:30 +00:00