Commit Graph

9195 Commits

Author SHA1 Message Date
Stefan Esser
e4e299614e need more space 2002-12-20 19:37:07 +00:00
Georg Richter
d5f02c553b fixed some warning when using external 4.x libs 2002-12-20 18:52:27 +00:00
Frank M. Kromann
ad69583ba1 Fixing Win32 build by adding missing libraries 2002-12-20 18:40:31 +00:00
Sara Golemon
13308b5a94 Minor clarification in meaning of bitmask constants
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Marcus Boerger
efd314e767 -Fix memory handling of persistent dba connections.
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Ilia Alshanetsky
3a4bf3f904 When low & high are the same return an array containing the low value.
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3 @Make uniqid() parameters optional and allow any prefix length. (Marcus) 2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27 MFB 2002-12-20 17:04:33 +00:00
Andrei Zmievski
c45f76112f At least this problem exposed some leaks.. 2002-12-20 16:45:34 +00:00
Marcus Boerger
26038795f8 -disable uniqid() when required lib functions not available
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Sterling Hughes
3cb16973ef silly error, will MFH 2002-12-20 15:44:51 +00:00
Wez Furlong
602734c7d9 Correct mistake introduced by my last commit on these files;
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4 Fixed bug #21098. 2002-12-19 17:06:36 +00:00
Edin Kadribasic
2fc8358e3a MFB: Remove dependancy on libtool library which is no longer needed. 2002-12-19 10:49:05 +00:00
Moriyoshi Koizumi
d2fa4670dc Prevented test failure caused by LF code variety 2002-12-18 23:06:27 +00:00
Pierre Joye
baea3414a3 Fix a crash while using an invalid color with imagesetstyle, see the sample
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Frank M. Kromann
e93a1a92ec Fixing WIn32 build after adding support for FreeTDS 2002-12-16 22:44:08 +00:00
Frank M. Kromann
5664a358fa Allow the native MSSQL extension to be compiled with FreeTDS on *nix platforms.
This will make the whole MSSAL API available on these platforms.
@Allow compilation of mssql extension on *nix.
2002-12-16 22:26:49 +00:00
Sergey Kartashoff
afa0e1e03e - mnogosearch extension updated to compile with mnogosearch-3.2.8 2002-12-16 19:17:10 +00:00
Marcus Boerger
59656cc706 fix compiler definition tests 2002-12-16 17:52:43 +00:00
Marcus Boerger
50af908f01 fix compiler definition tests 2002-12-16 15:53:46 +00:00
Marcus Boerger
2d3b3fd97f fix test 2002-12-16 15:19:57 +00:00
Marcus Boerger
9042a9ddbd Add version check since this will be available since php 4.4. 2002-12-16 15:04:12 +00:00
Marcus Boerger
da1a617f6b forgot to remove that dot 2002-12-16 14:54:35 +00:00
Marcus Boerger
5dc4d38204 -Add constant that shows whether or not exif uses mbstring.
-Fix tests
2002-12-16 14:48:00 +00:00
Marcus Boerger
6e055f9a77 change mbstring detection 2002-12-16 09:58:49 +00:00
Ilia Alshanetsky
f620fdbed3 A better memory leak patch. 2002-12-16 07:46:36 +00:00
Marcus Boerger
c1be81a84e ws 2002-12-15 18:49:07 +00:00
Marcus Boerger
05436b1378 MFB: gd uses float instead of double 2002-12-15 18:16:11 +00:00
Ilia Alshanetsky
cc4748139c Close log file on shutdown. 2002-12-15 07:03:32 +00:00
Ilia Alshanetsky
078dfe8d57 Fixed a memory leak. 2002-12-15 06:44:30 +00:00
Marcus Boerger
16694d3500 Fix build when mbstring is a shared module or dll under windows 2002-12-14 19:53:20 +00:00
Pierre Joye
137beb12ca Do not allow AA if not trueColor (imageantialias does nothing) 2002-12-14 19:23:29 +00:00
Marcus Boerger
9455657a7a Bugfix: #21010 (Here it's maker (manufacturer) instead of marker) 2002-12-14 17:49:19 +00:00
foobar
c07f7c8df8 MFB: Fix bug #20995 2002-12-14 09:33:37 +00:00
Marcus Boerger
95c701d328 MFB: ZTS fix by Ilia 2002-12-13 09:17:04 +00:00
Vlad Krupin
e969d788bf Fix for bug 19727. dBase5 (at least for windows) seems to allow 1024 fields 2002-12-13 03:09:52 +00:00
Moriyoshi Koizumi
92d5faca60 MFB 2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa Added a test case for bug #20934 2002-12-12 21:42:17 +00:00
Stefan Esser
7924bf8705 remove extra char in case of binary/money fields 2002-12-12 21:30:39 +00:00
Ilia Alshanetsky
7a282ddcfd Fixed bug #20974 (added missing sanity check). 2002-12-12 21:17:36 +00:00
Melvyn Sopacua
44b7c16b03 Fix for BSD's (possibly others):
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321 MFB: popen/pclose and proc_open/proc_close fixes. 2002-12-12 17:51:25 +00:00
Wez Furlong
81c02040f0 Attempt to add more entropy for key generation. 2002-12-12 15:50:11 +00:00
Ilia Alshanetsky
53b333d153 Fixed misspelling of the Greek letter lambda,
noticed by jmartin-php@notamusica.com.
2002-12-12 14:50:58 +00:00
Marcus Boerger
c2078cdabf php_error -> php_error_docref conversion fix (noticed by derick) 2002-12-12 14:12:42 +00:00
Wez Furlong
1ef74a4f79 Patch for #20936 (openssl: public key handling was broken).
Thanks to <jeroen@derks.it> for the patch.
2002-12-12 13:42:23 +00:00
Ilia Alshanetsky
75c180f242 Fixed bug #20927 and updated the test case for the bug. 2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8) 2002-12-12 13:25:51 +00:00
Marcus Boerger
a40ccefd32 php_error -> php_error_docref 2002-12-12 13:08:59 +00:00
Marcus Boerger
53309aace0 SIGIOT may not be defined in cygwin 2002-12-12 12:23:32 +00:00
Marcus Boerger
835c4dedbb typeconversion is needed here for cygwin 2002-12-12 12:18:44 +00:00
Marcus Boerger
26b101dd1b O_ASYNC is not defined in cygwin 2002-12-12 12:15:10 +00:00
Edin Kadribasic
8eb1791790 MFB: DOM/XSLT support in win32 build (bug #20485). 2002-12-12 10:56:33 +00:00
Ilia Alshanetsky
20bc6a09e0 Added check for availability of jpeg support. 2002-12-11 22:37:05 +00:00
Ilia Alshanetsky
67aca57c3b Fixed build with non-bundled GD. Hidden the anti-alias functions when
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
5acfdf3ca1 Fix brightness filter (argument ingnored) 2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d White space fixes. 2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b Syncronize bundled gd sources with that of gd 2.0.9, affected functions
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
983d8e5efd Add antialias flag to image structure
Add AA support
2002-12-11 20:47:26 +00:00
Pierre Joye
7ec74f64f9 Add gdImageAAline (antialiased line)
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Pierre Joye
221413e5ef Remove double definition of imagesettile
Add imageantiallias
2002-12-11 20:45:47 +00:00
Pierre Joye
4d522e3686 Add imageantialias(im, flag)
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Melvyn Sopacua
4b3b409b48 Add testcase for reported wordwrap bug 2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
2ab549c5f2 Added missing &. 2002-12-11 20:04:23 +00:00
Ilia Alshanetsky
c194d9333d Added getopt() test. 2002-12-11 17:38:28 +00:00
Sara Golemon
04d6f6ab50 Renamed bc_powmod to bcpowmod to keep it inline with existing module
functions.  Fixed whitespace problem.
2002-12-11 16:28:16 +00:00
Ilia Alshanetsky
5f9681ff80 Added missing variable to parameter retrieval. 2002-12-11 15:32:35 +00:00
foobar
3fc83fd8e3 - ws fixes
- // -> /* */ (No C++ comments in c code!)
- #if / #else / etc. have to start from first column.
2002-12-11 15:25:39 +00:00
Rui Hirokawa
3d324676a5 fixed lack of variable initialization bug. 2002-12-11 14:39:37 +00:00
Abdul-Kareem Abo-Namous
089f1b5771 fixed string comparison which brought up a gcc warning. 2002-12-11 14:18:40 +00:00
Marcus Boerger
e0c983a013 Warnings and Notices when lock modifiers for dba_(p)open are used wrong.
This finally closes bug #20828 (and i hope it must not be reopened)
2002-12-11 10:37:38 +00:00
Georg Richter
230f4ebb06 Security fix (merged from 3.23.54) 2002-12-11 08:28:41 +00:00
Ilia Alshanetsky
52d0f1c143 decode variable is only used when mbstring is avaliable. 2002-12-11 07:37:30 +00:00
Ilia Alshanetsky
08e020a870 ZTS fix. 2002-12-11 07:29:51 +00:00
Ilia Alshanetsky
533d3273bd Fix ZTS build 2002-12-11 02:30:00 +00:00
Marcus Boerger
a6e9674bfd add missing comment 2002-12-10 22:51:09 +00:00
Marcus Boerger
b94e0d9eac LOCK_EX is not allowed in read mode -> try using existing .lck file in read
only mode only when in read mode.
2002-12-10 22:49:33 +00:00
Wez Furlong
ac8469bd55 No longer experimental 2002-12-10 22:21:34 +00:00
Wez Furlong
9746be4779 use php_error_docref and tidy up some WS/coding standards. 2002-12-10 22:18:58 +00:00
Marcus Boerger
17117063ce -remove second attempt to close lock file
-default to lock on db file instead on .lck file.
-try to use existing .lck file and only create it on failure (allows ro access)
2002-12-10 22:02:52 +00:00
Marcus Boerger
dbf4bcc08b stick to "check <what> <result>" scheme, do not repeat messages and
align messages correctly.
2002-12-10 21:53:02 +00:00
Stefan Esser
e5dbcb0890 fixing cut&paste bug 2002-12-10 20:18:25 +00:00
Marcus Boerger
d1c70a6417 directory values are optional 2002-12-10 20:11:41 +00:00
Marcus Boerger
644bd60d29 remove not wanted skeleton comment and align configure message 2002-12-10 20:09:35 +00:00
Ilia Alshanetsky
2b063828e0 Fixed build with GD 1.8.4 2002-12-10 19:45:58 +00:00
Frank M. Kromann
62fb872a4d Fixing ZTS Build 2002-12-10 19:28:04 +00:00
Sara Golemon
51c9f2c64b Added support for libbcmath's bc_raisemod function as bc_powmod() 2002-12-10 19:04:27 +00:00
Ilia Alshanetsky
91a6272972 Fixed win32 build. 2002-12-10 18:00:47 +00:00
Ilia Alshanetsky
99f2b9674f Fixed build with GD 1.8.4 2002-12-10 17:57:41 +00:00
Edin Kadribasic
28c32e1fc8 MFB: Fix ZTS build. 2002-12-10 17:07:40 +00:00
foobar
8416a0433a This extension requires cyrus-imap >= 2.0.8 2002-12-10 16:34:20 +00:00
Stefan Esser
f481a209b7 fixing crashbug
patch by freddy77@angelfire.com
2002-12-10 15:18:01 +00:00
Marcus Boerger
26c5c323ab -make those debug messages 2002-12-10 14:35:13 +00:00
Marcus Boerger
922ce573cf -when required haeder was not found --with-cdpf was simply ignored. I
changed this to be an error.
-cpdf did not check for --with-jpeg-dir and --with-tiff-dir
2002-12-10 14:31:00 +00:00
Ilia Alshanetsky
aa4c85dda1 Fixed bug #20907, patch by m-arai@sco.bekkoame.ne.jp. 2002-12-10 00:10:27 +00:00
foobar
8a8041befe fix typos 2002-12-09 18:30:50 +00:00
foobar
31415ad2b5 Make this actually work too. 2002-12-09 18:29:22 +00:00
Wez Furlong
58210f9232 Centralize fopencookie test 2002-12-09 18:29:07 +00:00
foobar
44aec93861 Fix the build with new cyrus and sasl2 libs 2002-12-09 18:05:37 +00:00
Marcus Boerger
ba534ac7c8 Added open modifier '-' to skip/ignore locking. See bug #20828, #20858 2002-12-09 17:54:13 +00:00
Wez Furlong
ca6b002e4c MFB: zlib stream tests 2002-12-09 16:43:15 +00:00
Moriyoshi Koizumi
4974f268a6 @- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi) 2002-12-09 15:54:38 +00:00
Edin Kadribasic
3994fbbc86 MFB: Fix for #20894. 2002-12-09 13:35:57 +00:00
foobar
085f362ae3 T_AAAA is not always available. 2002-12-09 11:50:15 +00:00
Wez Furlong
f4ca743d66 MFB zlib related fixes
(sorry I didn't get around to doing this sooner)
2002-12-09 10:54:20 +00:00
Christian Stocker
bda98029b4 PHP_FALIAS for doc_get_elements_by_tagname got lost 2002-12-09 08:14:15 +00:00
Ilia Alshanetsky
8f6d5dc775 Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +00:00
Moriyoshi Koizumi
8d1b2bf8a5 Prevented return_value from being freed() twice 2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5 Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record 2002-12-08 08:14:43 +00:00
Timm Friebe
b9fa1813b2 - Fixed three memory leaks
- Fixed segfault with sybase_unbuffered_query() and unfetched resultsets
2002-12-07 19:49:31 +00:00
Frank M. Kromann
7f3783ec15 fixing code style 2002-12-07 06:05:06 +00:00
Frank M. Kromann
0d812352be Fixing a possible strcat on a NULL pointer 2002-12-06 22:52:31 +00:00
Moriyoshi Koizumi
3500c239a0 Fixed build with autoconf-2.54 2002-12-06 18:25:39 +00:00
Ilia Alshanetsky
3bc8512cf0 Added test case for bug #20865. 2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e Fixed bug #20865, array_key_exists() could not locate NULL keys. 2002-12-06 17:35:52 +00:00
Marcus Boerger
e0a972c061 cpdf + bundled gd
#maybe someone finds a better solution (perhaps in config) and comitts it
2002-12-06 16:33:57 +00:00
Abdul-Kareem Abo-Namous
646c4747b4 added support for multiple character sets.
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.

config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
2002-12-06 13:44:35 +00:00
Ilia Alshanetsky
33de9befa1 Fixed bug #20812, ftp_get returned NULL on success instead of TRUE. 2002-12-06 06:07:40 +00:00
Pierre Joye
dda7acaad5 Add imageistruecolor 2002-12-06 02:16:06 +00:00
Ilia Alshanetsky
d6c29c781e Fixed a memory leak inside heb_number_to_chars(). 2002-12-05 22:46:54 +00:00
Ilia Alshanetsky
c668055159 Remove pointless checks for array_init() return values. 2002-12-05 22:28:02 +00:00
Marcus Boerger
4ce4a1c32c php_error -> php_error_docref 2002-12-05 21:53:25 +00:00
Sara Golemon
ad65d01cbe Bug #20746. Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC. 2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4 -php_error -> php_error_docref
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Marcus Boerger
3cf581b1b3 correct code that is guarded by "#if 0" 2002-12-05 20:41:55 +00:00
Marcus Boerger
9a04528061 fix ZTS build 2002-12-05 20:39:43 +00:00
Marcus Boerger
dcfe988820 php_error -> php_error_docref 2002-12-05 20:13:35 +00:00
Marcus Boerger
47b0e79b1a -fix a warning that was an error
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Ilia Alshanetsky
7364e3b771 Fixed bug #12556, updated the test for this bug. 2002-12-05 20:01:19 +00:00
Marcus Boerger
cf5d2e79b9 fix debug only 2002-12-05 19:49:12 +00:00
Derick Rethans
83741be445 - Renamed snmpv3_* to snmp3_*
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:03 +00:00
Melvyn Sopacua
bd06d48e56 Test data 2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820 Add a testcase for this bug 2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0 Remove unnecessary code here 2002-12-05 15:52:20 +00:00
foobar
f8c050395c ws fix (bug: #20808) 2002-12-05 15:44:27 +00:00
Marcus Boerger
373361d9c4 Return FALSE on error as mentioned by John Coggeshall.
See Bug #20822
2002-12-05 12:39:00 +00:00
Rasmus Lerdorf
4c749f08c0 Fix build 2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
8d4b717518 Added GD image conversion tests. 2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f Made imagecreatefromxpm() work once again. 2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99 Fixed a memory leak inside gdImageTrueColorToPalette(). 2002-12-04 17:16:19 +00:00
Moriyoshi Koizumi
cf0a0f0967 Added a test for bug #12776 2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb Fixed segfaults of array_walk() when keys are passed to cb by reference.
Fixed bug #12776.
2002-12-04 16:41:28 +00:00
Ilia Alshanetsky
143e46ae28 WS fixes. 2002-12-04 16:29:48 +00:00
Sebastian Bergmann
49f05c470a Fix bugs #20270, #15702, #18600. Patch by Tony J. White <tjw@tjw.org>. 2002-12-04 08:18:02 +00:00
Pierre Joye
00881ea504 Fix imagegd stdoutput
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042 Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Frank M. Kromann
956d63899c Changed php_error() to php_error_docref() 2002-12-03 19:39:25 +00:00
Ilia Alshanetsky
e1b9a77725 Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor
image was loaded, it now checks if the image is truecolor and performs the
appropriate calculations (fixed bug #20785).
Changed E_WARNING back to E_ERROR.
2002-12-03 19:25:17 +00:00
Frank M. Kromann
686010e050 Changed php_error() to php_error_docref() 2002-12-03 19:19:15 +00:00