Ilia Alshanetsky
693fd4a36b
Added a check to determine if the file can be retrieved or sent.
...
This check also prevents incorrect error reporting in the event the retrieval
or the sending of the file cannot be accomplished.
2002-11-25 22:00:52 +00:00
Maxim Maletsky
d9cf3c2a0e
Bug# 16798. Tests appreciated by someone with Oracle 8.0
2002-11-25 18:14:45 +00:00
Moriyoshi Koizumi
53fba5f8a6
@- Enabled mbregex by default when mbstring is also enabled (Moriyoshi)
2002-11-25 17:44:14 +00:00
Moriyoshi Koizumi
12d4a19fce
Forgot to adjust this one
2002-11-25 17:21:50 +00:00
Moriyoshi Koizumi
76b218cb6e
Renamed several internal functions for consistency
2002-11-25 17:20:20 +00:00
Rui Hirokawa
b3cfda6389
simplified korean encoding conversion table.
2002-11-25 15:21:04 +00:00
Ilia Alshanetsky
c330fdc1a1
Removed un-needed zlib check.
2002-11-25 14:25:52 +00:00
Hartmut Holzgraefe
8bd550825f
email address change
2002-11-25 12:30:28 +00:00
Ilia Alshanetsky
9251486567
Synchronized bundled gd library with the latest stable GD, 2.0.6
...
Fixed a configuration problem with xpm.
Fixed 2 possible memory leaks in fontFetch().
2002-11-25 01:51:53 +00:00
Yasuo Ohgaki
5c851cba19
Cleanup state=4 and avoid using sscanf()
2002-11-25 01:38:29 +00:00
Moriyoshi Koizumi
436bc265e6
MFB
2002-11-24 19:48:58 +00:00
Sergey Kartashoff
dab1bb005a
- Header file update for new mnogosearch functions
2002-11-24 19:39:47 +00:00
Sergey Kartashoff
319f286562
@- A new functions have been added: udm_set_agent_param_ex and
...
udm_get_res_field_ex
- A new functions have been added: udm_set_agent_param_ex and
udm_get_res_field_ex
2002-11-24 19:36:46 +00:00
Sascha Schumann
3f6b470770
Use proper form of NUL
...
Drop superfluous checks for NULL results
2002-11-24 16:23:37 +00:00
Sterling Hughes
490903da5a
null after the erealloc()
2002-11-24 15:11:43 +00:00
Yasuo Ohgaki
5c2fda30b2
Added missing '\0'
2002-11-24 07:45:26 +00:00
Moriyoshi Koizumi
c7c7132a66
Renamed the file because this is actually a test for gdImageStringFt().
2002-11-24 01:32:15 +00:00
Ilia Alshanetsky
ef1d4e1dcf
Fix compile warning, MIN/MAX macros may already be defined by param.h
2002-11-24 01:30:51 +00:00
Ilia Alshanetsky
67e25fcbd8
Added gdPEstrdup macro.
2002-11-24 01:20:13 +00:00
Ilia Alshanetsky
ef26e2d1f8
Fixed 3 memory leaks.
...
Formatted the code to meet PHP's coding standards, which makes it MUCH easier
to understand.
2002-11-24 01:15:34 +00:00
Moriyoshi Koizumi
9db2512418
Fixed the macro so this can be compiled with ft1
2002-11-24 00:59:41 +00:00
Moriyoshi Koizumi
fe23fcab12
Sorry, wrong commit.
2002-11-23 23:35:57 +00:00
Moriyoshi Koizumi
0f8916e37c
Dismissed the second part of the test
2002-11-23 23:34:38 +00:00
Frank M. Kromann
ecd975550b
Adding mb_gpc files to project
2002-11-23 22:59:24 +00:00
Moriyoshi Koizumi
4124672edf
Fixed leaks. Other leaks are originated in libgd.
2002-11-23 22:11:59 +00:00
Moriyoshi Koizumi
57e4b81d13
Fixed segfaults
2002-11-23 21:33:31 +00:00
Marcus Boerger
1827a58de0
Allow db4.0 & db4.1 here. Patch by Ralf Engelschall (rse@engelschall.com)
2002-11-23 21:11:12 +00:00
Moriyoshi Koizumi
f920e5d068
Forgot this one. Updated license information
2002-11-23 20:17:46 +00:00
Moriyoshi Koizumi
7f1f056f16
Updated license information headers
2002-11-23 20:14:33 +00:00
Moriyoshi Koizumi
22a9d7ad25
Separated GPC related part from mbstring.c
2002-11-23 20:08:44 +00:00
foobar
5e429447b1
ws fix
2002-11-23 19:20:44 +00:00
Derick Rethans
36e82c84ae
- Make it compile on IRIX again
...
#- Tested with Linux/FreeBSD and IRIX
2002-11-23 19:03:21 +00:00
Moriyoshi Koizumi
44c98c7e3f
Fixed some odd behaviours of range()
2002-11-23 11:27:56 +00:00
Moriyoshi Koizumi
715ad2730c
Fixed tab positions.
2002-11-23 11:20:51 +00:00
Moriyoshi Koizumi
40d605a385
Test for mb_send_mail() under language=Korean
2002-11-23 05:26:18 +00:00
Sara Golemon
e9047df607
New function dns_get_record(): close resolver socket after use.
...
fix to internal func php_parserr(): correct bug in return state.
2002-11-23 01:09:07 +00:00
Marcus Boerger
318e561905
Testing default behaviour
2002-11-23 00:54:04 +00:00
Rui Hirokawa
c38db57f3c
fixed some bugs in korean encoding conversion.
2002-11-22 23:34:55 +00:00
Rasmus Lerdorf
761bcbd751
Applied imagedeallocate() fix
2002-11-22 23:25:14 +00:00
Ilia Alshanetsky
962e4864a1
Fixed bug #20560 .
2002-11-22 21:51:38 +00:00
Marcus Boerger
e7d20a0422
Make magic_quotes_runtime work bidirectional for dba
2002-11-22 15:47:48 +00:00
Marcus Boerger
d33ff48608
Show which algorythm fails and do not fail when we have new algos.
...
#for me TIGER fails anybody else?
2002-11-22 14:07:29 +00:00
Jan Kneschke
b4ced28d7c
- protect the function against a non-xml document
...
- initializing variables reduces the number of seg-faults
2002-11-22 13:41:51 +00:00
Jan Kneschke
3598fbcef9
- fixed a buffer under run
...
- initializing variables is a good thing
- in case of a invalid response we don't seg-fault here anymore
2002-11-22 13:39:06 +00:00
Sander Roobol
f200f739d8
Made bcmath extension thread safe.
...
@Made bcmath extension thread safe. (Sander)
2002-11-22 09:25:29 +00:00
Ilia Alshanetsky
489b0f2115
Added missing header (fixed bug #20555 ).
2002-11-22 02:38:03 +00:00
Ilia Alshanetsky
2ca45412ed
Added a test case for bug #20528 .
2002-11-22 00:08:57 +00:00
Ilia Alshanetsky
c7dd366c1a
Fixed bug #20528 .
2002-11-21 23:51:52 +00:00
Melvyn Sopacua
7732ce7fe3
Fix bug #20518
2002-11-21 23:28:26 +00:00
Melvyn Sopacua
8d42dd7a8b
test for bug #20518
2002-11-21 23:27:38 +00:00
Maxim Maletsky
e20121e6c7
Added E_WARNING to OCIPasswordChage() when Safe Mode is in effect
2002-11-21 21:26:18 +00:00
Maxim Maletsky
b5ae4adde1
@- Added OCIPasswordChange() which allows the password of an Oracle account to be changed. (Maxim)
2002-11-21 20:49:33 +00:00
Maxim Maletsky
1f73196bf9
comment typo
2002-11-21 20:32:56 +00:00
Maxim Maletsky
8338d8bfce
Disabled OCIPasswordChange() in safe mode. Possible security risks.
2002-11-21 20:28:11 +00:00
Moriyoshi Koizumi
1748935997
Added missing mb_internal_encoding()
2002-11-21 18:12:53 +00:00
Moriyoshi Koizumi
adfcb09190
Removed unnecessary "\n"
2002-11-21 17:36:16 +00:00
Moriyoshi Koizumi
9762403c26
Added a test case for imagettftext()
2002-11-21 17:26:18 +00:00
Sander Roobol
b8cf1a369f
Hardcode the bcmath.scale ini-entry
2002-11-21 16:16:38 +00:00
Rui Hirokawa
13a51b8f20
mbstring is supporting CJK + some other encodings.
2002-11-21 16:12:49 +00:00
Rui Hirokawa
8a2b5991d6
fixed incorrect encoding conversion in korean.
2002-11-21 16:05:38 +00:00
Sander Roobol
f4ffead6fa
Adding tests for the bcmath extension
2002-11-21 15:24:45 +00:00
Hartmut Holzgraefe
fb5ac5d286
the apache 1.x sapi read_posts tests for SG(read_post_bytes) being
...
counted up, so lets make it happy although this value is not really
needed in these cases ...
2002-11-21 10:29:11 +00:00
Andi Gutmans
32fcc74395
- CVS nuked number.* so we'll nuke it from the build:)
2002-11-20 21:16:39 +00:00
Andi Gutmans
b0528dbe5e
- Revert previous patch
2002-11-20 20:03:01 +00:00
Andi Gutmans
e6b7ab9db8
- Intermediate commit which works on making bcmath thread-safe.
2002-11-20 19:48:12 +00:00
Frank M. Kromann
c77d276997
Adding path to resolv.lib
2002-11-20 18:53:14 +00:00
Sascha Schumann
a257d758a5
Add an error message to the ini handlers
2002-11-20 17:15:00 +00:00
Sascha Schumann
e9ed065afc
add protective checks to ini updates
...
Noticed by: Derick Rethans <d.rethans@jdimedia.nl>
PR: #20284
2002-11-20 16:06:29 +00:00
Ilia Alshanetsky
7908cffab4
Switched to a new parameter parsing API, which simplifies the code.
...
Made error reporting use php_error_docref().
Fixed a memory leak in shmop_open() when an invalid flag is specified.
Added tests for shmop() extension.
2002-11-20 15:56:56 +00:00
Sander Roobol
e532b24d82
One Apache 1.3 line is enough
2002-11-20 12:53:40 +00:00
Ilia Alshanetsky
d7d2b6ef50
Switched to a new parameter parsing API, which simplifies the code a great deal.
...
Made error reporting use php_error_docref()
Fixed a bug in mhash_keygen_s2k() that caused non \0 terminated data to be returned.
Added tests of all mhash functions.
2002-11-20 06:48:39 +00:00
Stefan Esser
63a50e500d
Adding SHA1 tests.
2002-11-19 23:25:57 +00:00
Ilia Alshanetsky
7751c4f549
Do not register IMAGETYPE_SWC if zlib, which is needed for parsing of swc
...
files is not available.
2002-11-19 21:24:47 +00:00
Ilia Alshanetsky
11e7f6278d
Addressed the issue of persistant allocation.
...
Fixed bug #20470 .
Fixed a memory leak in gdttf.c that would happen when an error during
processing occures.
2002-11-19 19:55:54 +00:00
Moriyoshi Koizumi
72f0be09c0
Function renamings: s/php_mbstr_/php_mb/.
...
# all of which are static so I don't see any problem for now.
2002-11-19 17:23:41 +00:00
Moriyoshi Koizumi
41ef851eb5
Unified the duplicated portions.
...
# No need to merge this patch to the branch
2002-11-19 17:02:06 +00:00
Moriyoshi Koizumi
65677445b4
Added a test to check whether mb_parse_str() works properly
2002-11-19 16:56:43 +00:00
Moriyoshi Koizumi
18089ce360
Modified the test so it wouldn't be affected by ini settings.
2002-11-19 16:55:34 +00:00
Edin Kadribasic
543c383302
Update Credits
2002-11-19 15:11:27 +00:00
Derick Rethans
0b2d775d3d
- Already moved to PECL, but forgot to remove it from php4
2002-11-19 09:51:50 +00:00
Marcus Boerger
3ca6344e57
-rename checkdnsrr to dns_check_record, keep old name as alias
...
-rename getmxrr to dns_get_mx, keep old name as alias
-added dns_get_record
@Added dns_get_record() which allows to retrieve DNS information about
@a host. (Marcus, Pollita)
2002-11-19 02:34:13 +00:00
Edin Kadribasic
ff55850562
No need to declare functions used internally by DBA as PHPAPI. This
...
fixes windows build.
2002-11-19 01:06:42 +00:00
Moriyoshi Koizumi
b75f2df3d4
We have to use binary mode here.
2002-11-18 21:20:45 +00:00
Moriyoshi Koizumi
a9d7509036
Fixed possible leaks
2002-11-18 21:15:41 +00:00
Thies C. Arntzen
6aaa7bc345
use FREE_ZVAL when freeing zvals
2002-11-18 17:34:55 +00:00
Sascha Schumann
58b26398de
Add FAM support for LGPLed libfam.
...
FAM, the File Alteration Monitor, provides an API that applications can use to
be notified when specific files or directories are changed.
FAM is being used in Enlightenment, GNOME/Nautilus, and KDE.
# Yes, this will be moved to PECL once that is fully usable. Emails about
# this issue will likely be redirected to /dev/null. :-)
2002-11-18 17:06:05 +00:00
Marcus Boerger
301330ff88
-Added colordepth for png
...
-Added tests for width/heidth for unsigned/signed problems
2002-11-18 16:51:02 +00:00
Marcus Boerger
a3d821c695
Added colordepth for png
2002-11-18 16:50:10 +00:00
Sascha Schumann
52f1135c8f
add missing backslash
2002-11-18 15:55:07 +00:00
Edin Kadribasic
b8d3c75a6c
Nuke one more win32 linking warning.
2002-11-18 15:53:00 +00:00
Marcus Boerger
25456939b3
Fixing unsigned/signed problems (and i thought about it before...)
2002-11-18 15:49:06 +00:00
Derick Rethans
e93f1c00c6
- Remove outdated GPL clause; the file was totally rewritten
2002-11-18 15:45:27 +00:00
Edin Kadribasic
d40c5e2624
Really nuke win32 linking warnings.
2002-11-18 14:33:34 +00:00
Ilia Alshanetsky
6e99ecdb01
Hopefully fix win32 linker warnings.
2002-11-18 13:17:14 +00:00
Ilia Alshanetsky
d9ecd30cc4
Changed memory allocation wrappers to macros, so that it is possible to see
...
where the memory leak is happening.
2002-11-18 12:31:39 +00:00
Wez Furlong
bceb56b2ba
Re-enable the curlwrappers configure option.
...
I still don't recommend it's use unless you are hacking both curl and PHP
to make it work.
2002-11-18 12:00:21 +00:00
Wez Furlong
ca58966a0d
Merge streams changes from branch.
2002-11-18 11:39:42 +00:00
foobar
6987855e95
Fixed bug: #20458 (--with-qtdom=shared broken)
2002-11-18 05:06:02 +00:00
foobar
43584058e9
Added error message if browscap location is not set in php.ini
2002-11-18 03:23:51 +00:00
Ilia Alshanetsky
c7fa1fa99f
Fixed bug #20462 .
2002-11-18 03:16:13 +00:00
Ilia Alshanetsky
c5107b8989
Removed duplicate php_compat.h include.
2002-11-18 02:30:27 +00:00
foobar
a3e9ae20d9
Fix the test. (and indented it for easier bug spotting :)
2002-11-18 00:41:27 +00:00
Ilia Alshanetsky
8d00d54f2f
Fixed gd 2.0.4 check
2002-11-17 21:57:43 +00:00
Sebastian Bergmann
9229918fd7
Fix warning. HAVE_MEMMOVE is already defined in config.w32.h.
2002-11-17 21:50:00 +00:00
Sebastian Bergmann
b4e42dd43f
Fix Win32 build. (Lots of linkage warnings remain!)
2002-11-17 21:29:16 +00:00
Ilia Alshanetsky
a10e0b6d8e
A better gd >=2.0.4 version check for non-bundled gd library.
2002-11-17 20:18:44 +00:00
Derick Rethans
8c86784cae
- MFB
2002-11-17 19:45:10 +00:00
Ilia Alshanetsky
cea2419529
Upgraded the bundled expat library to 1.95.5 (latest stable, atm).
...
Fixed bug #20442 .
2002-11-17 18:37:48 +00:00
Derick Rethans
1a5037de1a
- Fix compile problems for mips pro
2002-11-17 14:25:50 +00:00
Derick Rethans
c3fe54dfab
- MFB: Fix memory allocation problem in bundled GD (reported by Brian Havard)
2002-11-17 13:11:46 +00:00
Marcus Boerger
24726b0c64
Conversion fix by Michael Mauch
2002-11-17 09:27:48 +00:00
Marcus Boerger
2442adabe5
Force float for the float test
2002-11-16 23:45:58 +00:00
Marcus Boerger
4f747e80f0
Show module used in test
2002-11-16 19:43:53 +00:00
Marcus Boerger
015c117e37
-Do not rely on a side effect of 32bit platforms (patch by Michael Mauch)
...
-remove unused sections
2002-11-16 17:28:04 +00:00
Marcus Boerger
31e1cd13e2
removed unused sections
2002-11-16 17:26:52 +00:00
Ilia Alshanetsky
47596de32f
Fixed the test so it works properly on both 32 and 64 bit platforms.
2002-11-16 17:26:26 +00:00
Marcus Boerger
a3157908a8
Make getimagesize more robust against corrupt files
2002-11-16 17:02:07 +00:00
Georg Richter
208a3a3717
forgot to decrement result_allocated :(
2002-11-16 16:07:54 +00:00
Sebastian Bergmann
47388f2121
Fix Win32 build.
2002-11-16 08:30:31 +00:00
Marcus Boerger
dbf8593b5b
When --enable-dba is used then include builtin modules unless --without-xxx
...
is not used.
2002-11-15 21:28:42 +00:00
Ilia Alshanetsky
2306c0e9d7
Removed the md5 checks since the files may be slightly different due to
...
float -> int conversion inconsistencies on various architectures.
2002-11-15 18:53:07 +00:00
Maxim Maletsky
9e3788864b
WS
2002-11-15 18:20:59 +00:00
Maxim Maletsky
336e559718
Tons of WS fixes all over the file
2002-11-15 17:59:19 +00:00
Ilia Alshanetsky
8193641d2d
With ZTS on, we need to resolve the full paths before making symlinks.
...
If a chdir() call occurs before the symlink operation, the symlink is
created in the current directory rather then directory we've chdired to
because in ZTS we don't actually chdir but store the new path internally.
For an example of this problem consider the ext/standard/tests/file/001.phpt
test under ZTS.
2002-11-15 16:34:16 +00:00
Moriyoshi Koizumi
90317cbc5d
Always use binary mode for magic files
2002-11-15 16:25:31 +00:00
Moriyoshi Koizumi
7222abda70
Include php_config.h for HAVE_MBSTRING
2002-11-15 16:13:36 +00:00
Marcus Boerger
93769053cc
Use flatfile if available.
...
# This way we are using the internal library which we know about most.
2002-11-15 16:11:51 +00:00
Moriyoshi Koizumi
003be7fe32
Divided the overload test into two so as to handle the case mbregex is
...
not enabled
2002-11-15 15:59:07 +00:00
Marcus Boerger
7d03dc004e
Show which handler was used in the test
2002-11-15 15:58:09 +00:00
Moriyoshi Koizumi
b62afe783d
%s/SKIP/skip/g
2002-11-15 15:34:57 +00:00
Marcus Boerger
5841e290ac
Simplify and show skip reason
2002-11-15 15:22:07 +00:00
Marcus Boerger
adffe9fba6
Show correct result
2002-11-15 15:17:39 +00:00
Moriyoshi Koizumi
3ecc71a099
Fixed segfault in case the specified magic file cannot be read.
2002-11-15 15:13:30 +00:00
Moriyoshi Koizumi
46b4abc08b
Removed unnecessary ?>
2002-11-15 14:53:58 +00:00
Moriyoshi Koizumi
b23d2c8beb
Fixed bogus SKIPIF conditions.
2002-11-15 14:49:57 +00:00
Marcus Boerger
8c598f8bff
Only show the first results
2002-11-15 14:46:52 +00:00
Moriyoshi Koizumi
f0a7db1c7e
Added some skipif conditions to handle the case mbstring is enabled but mbregex is disabled.
2002-11-15 14:26:33 +00:00
Marcus Boerger
66ec203e70
Showing memleaks for a memleak test is a good idea
2002-11-15 11:55:57 +00:00
Marcus Boerger
4ef6a3af03
db is deprecated now
2002-11-15 11:49:58 +00:00
Marcus Boerger
b030a7a140
Fix segfaults (check ext/domxml/tests/domxml002.phpt)
2002-11-15 11:06:13 +00:00
Georg Richter
d46bd1cd63
removed restore_connection_defaults for pconnects (discussed on php-dev@)
...
bug #19529 closed
bug #12513 reopened
2002-11-15 10:35:10 +00:00
foobar
dadfd6e94a
ws fix
2002-11-15 07:21:33 +00:00
Moriyoshi Koizumi
fb20eae7fc
Fixed bug #20381
2002-11-15 02:16:41 +00:00
Moriyoshi Koizumi
ac209557dd
Added a test case for bug #20381
2002-11-15 02:11:23 +00:00
Maxim Maletsky
cd9b495663
I mean - todo typo :)
2002-11-15 02:06:11 +00:00
Maxim Maletsky
05f07d2eba
todo typo
2002-11-15 02:05:06 +00:00
Moriyoshi Koizumi
ee37386183
Use C comments
2002-11-15 01:45:23 +00:00
Moriyoshi Koizumi
5ca953b10f
Fixed a problem that ICONV_IMPL doesn't give a correct value in win32 build.
2002-11-14 23:07:53 +00:00
Stig Bakken
bdeb45b335
Added PATH_SEPARATOR constant
2002-11-14 22:50:01 +00:00
Moriyoshi Koizumi
9efefc742b
Added a test for zend-multibyte extension
2002-11-14 22:38:43 +00:00