Commit Graph

8880 Commits

Author SHA1 Message Date
Andrei Zmievski
e87b45de44 Disable mbstring by default. 2002-11-13 04:36:04 +00:00
foobar
aab64595fa Using // is not very good idea.. 2002-11-12 23:34:06 +00:00
Edin Kadribasic
9a275e27a5 Fixed ZTS build and removed an unused variable. 2002-11-12 22:59:11 +00:00
Edin Kadribasic
f4903cd901 Fix build. flock_compat.c and flock_compat.h are now in the exported
part of php4ts.dll.
2002-11-12 22:44:11 +00:00
Moriyoshi Koizumi
16cf26ee18 Cosmetics 2002-11-12 22:05:18 +00:00
Moriyoshi Koizumi
3cf7002469 Fixed a function overloading related bug.
# Yet I suspect the problem is in another place...
2002-11-12 21:58:53 +00:00
Moriyoshi Koizumi
c65cbd2409 Fixed the tests so that they won't be affected by the ini setting of
default_charset
2002-11-12 21:37:54 +00:00
Marcus Boerger
0b8c9fc5b2 fix warnings 2002-11-12 21:11:01 +00:00
Marcus Boerger
b855dcc876 ftruncate is defined in flock_compat.h on windows 2002-11-12 21:03:10 +00:00
Moriyoshi Koizumi
072466203d Fixed language name 2002-11-12 20:06:20 +00:00
Moriyoshi Koizumi
5d547d1f0c Added test cases for mb_send_mail() 2002-11-12 20:04:58 +00:00
Moriyoshi Koizumi
827974bc94 Forgot to change this one. 2002-11-12 19:44:56 +00:00
Moriyoshi Koizumi
268903ce6c Added neutral language spec for backwards compatibility 2002-11-12 19:24:45 +00:00
Hartmut Holzgraefe
be5e379ec6 HTTP_RAW_POST_DATA BC fixes
# hopefully all done, commiting anyway to continue work on my home box
php://input stream fixes (POST data handerl mangles data, CLI crashbug)
2002-11-12 18:29:11 +00:00
Ilia Alshanetsky
ef7bd02688 Added test for swc files (compressed swf files), this must be done in a
separate test, since this test has a dependency on the zlib extension.
2002-11-12 17:47:20 +00:00
Ilia Alshanetsky
d84afe1121 Fixed a memory leak. 2002-11-12 17:41:26 +00:00
foobar
2972859dcf ws fixes 2002-11-12 17:31:39 +00:00
Ilia Alshanetsky
619fc2c3c0 Data manipulation (for big endian transformation) should occur after the
data has been read from file.
2002-11-12 16:14:18 +00:00
Marcus Boerger
f6885ab970 use *e*malloc functions 2002-11-12 16:02:03 +00:00
Marcus Boerger
1ad91e8b9b fix warnings 2002-11-12 15:09:44 +00:00
James Moore
48d27095a7 Forgot the parsers and scanners 2002-11-12 14:31:37 +00:00
James Moore
41114c05fe Rewrite of the W32api extension
@ New version of w32api extension. Old API deprecated (jmoore)
2002-11-12 14:29:42 +00:00
Ilia Alshanetsky
1a3e0f0487 Fixed compile error. 2002-11-12 14:18:25 +00:00
Marcus Boerger
c53e21ef05 php_error() => php_error_docref() 2002-11-12 13:16:13 +00:00
Timm Friebe
0d879e3323 - Added optional parameter to sybase_fetch_object() (Timm)
- Changed php_error and zend_error to php_error_docref (Timm)
- Changed sybase_query() to clean up and free unread results (Timm)
2002-11-12 13:13:12 +00:00
Marcus Boerger
b06085dd46 fix warnings 2002-11-12 13:12:58 +00:00
Marcus Boerger
22b8f0ea42 fix windows warning: not needed here 2002-11-12 13:11:37 +00:00
Marcus Boerger
99beb8034e -fix includes
-fix one missing efree
-replace efree/emalloc with erealloc
2002-11-12 12:01:57 +00:00
Marcus Boerger
597acbc3d3 new function gd_info() returns an associative array of gd support options. # The index names are those from the minfo function. Therefore it is
# easy to look into phpinfo() to see which index names are possible.
2002-11-12 11:49:11 +00:00
Marcus Boerger
3ba7df4c6a fix warnings
#highest bit cannot be set so this must work
2002-11-12 11:46:21 +00:00
Marcus Boerger
1017cf99a0 fix warnings 2002-11-12 11:45:10 +00:00
Marcus Boerger
f2de217740 correct the last patch: make flock() a function again when it is missing
#function name should be flock and not php_flock of cause
2002-11-12 09:09:55 +00:00
Yasuo Ohgaki
f482ac4011 Speed up pg_escape_bytea, from O(n^2) => O(n). My test script speed up
from 50 sec to 5 sec. (sscanf is too slow at least under my linux, I
might write better function that unescape values later)
Use emalloc/erealloc for bundled PQescapeBytea(php_pgsql_escape_bytea)
2002-11-12 09:07:36 +00:00
Derick Rethans
28d3be43a3 - Fix warning 2002-11-12 08:11:23 +00:00
David Viner
687b684d7b adding to do list to help clarify exactly what we are (or
should be) working on for the XSLT extension.
--dviner
2002-11-12 05:14:47 +00:00
Zak Greant
c29f1aa468 Modified php_mysql_do_connect() as suggested by Nick Gaugler - using
mysql_ping() as a more efficient alternative to using mysql_stat() to
check if the server is alive and then calling mysql_(real_)?connect() to
reconnect.

Simple tests of opening pconnects indicate that only about 10k of data per
ping needs to be returned to the client per connection check, rather than
about 110k per status check.
2002-11-12 01:41:16 +00:00
Marcus Boerger
b8696890ca make flock() a function again when it is missing 2002-11-11 23:40:33 +00:00
Harrie Hazewinkel
6a14b16e34 Adding a more detail print functions, that assist/make it easier for
creating SNMP scripts.
They are only supported when you have NET-SNMP.
Need to be documented still though.
2002-11-11 21:37:19 +00:00
Harrie Hazewinkel
957f651708 Adding SNMPv3 support.
This splits the old php_snmp function into an argument parsing part and
a data retrieval part. The data retrieval part is reused for SNMPv3.
SNMPv3 has only a different argument parsing.

THe code is not extremely beautiful, but having NET-SNMP and
UCD-SNMP support creates this. :-(
Documentation must still be done.
2002-11-11 21:09:19 +00:00
Marcus Boerger
759e4b10e8 Use php_flock instead of flock 2002-11-11 20:53:41 +00:00
Marcus Boerger
1554bb6db6 -make the flock() emulation a separate function named php_flock()
-use a define to make php_flock() available as flock() when necessary
# The emulated php_flock even works on NFS this will be used elsewhere.
2002-11-11 20:52:09 +00:00
Harrie Hazewinkel
e1f884c4bc Fixing the php_info function.
Print UCD-SNMP when UCD-SNMP is used.
Print NET-SNMP when NET-SNMP is used.
2002-11-11 18:45:50 +00:00
Ilia Alshanetsky
aec6258a17 Fixed compile warnings. 2002-11-11 16:54:26 +00:00
Marcus Boerger
2f06a4fa77 make flock PHPAPI 2002-11-11 16:43:19 +00:00
Jason Greene
f8aae8702c Switch to using error_docref
# Satisfy all those named Mar[ck]us
2002-11-11 16:34:39 +00:00
Edin Kadribasic
a2c170e296 Fixed windows build. Symbol PHP_EXPORTS is a no-no for dynamically
linked extensions.
2002-11-11 16:11:32 +00:00
Moriyoshi Koizumi
f300bdce82 Added support for windows code pages. 2002-11-11 13:31:08 +00:00
Moriyoshi Koizumi
488255ce54 WS 2002-11-11 13:28:34 +00:00
Georg Richter
f328f3ea51 Added new functionality:
Warnings for table/index scans
	Warnings for SQL-Errors
	Warnings for non free result sets

It can be activated via ini.setting "mysql.trace_mode"
2002-11-11 12:54:06 +00:00
Marcus Boerger
c4e57b182e -fix file open mode when modifier 'd' is used
#Add my name to authors
2002-11-11 12:04:12 +00:00
Marcus Boerger
dcc7fc16b6 -Precondiftion: no open files
-do not show warning from dba_open call for read during write
# Interesting is that on some systems read during write is permitted...
# I will change the tests as soon as i find a way to have this equal on all
# systems
2002-11-11 12:00:58 +00:00
Marcus Boerger
1cb7dc2166 Add missing flush 2002-11-11 11:57:25 +00:00
Jason Greene
5e2c75c576 Report function name when log() triggers a base warning 2002-11-11 05:35:04 +00:00
Jason Greene
84bd2901c4 Add the ability to take the logarithm of any base by adding a base parameter
to log()
Added regression tests for the new form
2002-11-11 05:21:35 +00:00
Jason Greene
9e2a312f2e add test function for log()
# It is difficult to test an approximation of an approximation, but I
# believe this test should be close enough to verify the function is working
# correctly.
2002-11-11 03:45:04 +00:00
Moriyoshi Koizumi
67e6c356f6 Fixed mb_convert_case() / mb_strtolower() / mb_strtoupper() to work in
64bit systems
2002-11-11 02:39:32 +00:00
James Cox
85e9468b1d give Wez streams credits he deserves. 2002-11-10 23:49:04 +00:00
Marcus Boerger
b8f3b83511 Emit a warning when open mode modifier t is used wrong. 2002-11-10 23:07:35 +00:00
Marcus Boerger
4f636c6b3b Add $lock_flag which allows to change lock behaviour for both 'l' and 'd'
Remember gdbm has its own locking so 't' does not work here - maybe a
warning is needed for that, too.
2002-11-10 22:56:29 +00:00
Marcus Boerger
89b586d415 Use 'l' to open database file with locking on .lck file. 2002-11-10 22:07:17 +00:00
Moriyoshi Koizumi
66d606df5f Fixed mb_send_mail() so that it correctly handles the language setting. 2002-11-10 21:32:54 +00:00
Moriyoshi Koizumi
a56ea0ab81 Fixed German language spec entry. 2002-11-10 21:31:26 +00:00
Derick Rethans
30daa9489c - Make it rely on cURL version 7.9.8 again, so that we can start with the
Release Process.
2002-11-10 21:26:14 +00:00
Derick Rethans
a88e5c6e8d - Remove \n from error messages 2002-11-10 21:24:54 +00:00
Moriyoshi Koizumi
2007517447 Fixed OnUpdate_mbstring_language so that change for mbstring.language
would be reflected to the setting properly
2002-11-10 21:18:54 +00:00
Moriyoshi Koizumi
3e21044d81 Changed the default settings so that it shouldn't affect htmlentities() 2002-11-10 20:53:36 +00:00
Ilia Alshanetsky
a6a3b00762 Added a missing '.', which is needed for proper skip check. 2002-11-10 20:01:56 +00:00
Moriyoshi Koizumi
a1d6dccb59 These changes seems to have bad effect on htmlentities().
Remove it.
2002-11-10 19:05:51 +00:00
Marcus Boerger
705a4e251c -Centralise open stream for builtin modules that use streams
-If locks work on database file then only one stream open call is used
2002-11-10 17:58:46 +00:00
Marcus Boerger
224e530ee1 finish work on locking
-all but gdbm do internal locking now since only gdbm has internal locking
-you can force locking on database or lck file (with gdbm this makes no
 sense so a notice is generated)
2002-11-10 16:03:17 +00:00
Moriyoshi Koizumi
8c517d7d1d Added a test case to check if my recent patch works 2002-11-10 15:52:00 +00:00
Melvyn Sopacua
d3da22fb95 - implement xslt_backend_info
- add test for it
- fix some prototypes
2002-11-10 12:18:03 +00:00
Maxim Maletsky
8b36fd2afa fixed several proto return types throughout the extension 2002-11-10 05:31:12 +00:00
Ilia Alshanetsky
cc85828811 Fixed bug #19935. Made OpenSSL file system operations abide by safe_mode
& open_basedir restrictions.
2002-11-10 05:19:40 +00:00
Moriyoshi Koizumi
60febe2890 Fixed typo 2002-11-09 23:10:02 +00:00
Moriyoshi Koizumi
0a801f1deb Added a test for mb_substr_count() 2002-11-09 17:07:29 +00:00
Moriyoshi Koizumi
0e6445b8b1 Added mb_substr_count() as per the request #15097 2002-11-09 17:05:47 +00:00
Moriyoshi Koizumi
f47cf49139 Fixed PHP_INI_MH(OnUpdate_mbstring_language) so that ini entry values
are properly updated.
2002-11-09 16:15:40 +00:00
Sterling Hughes
c4bb7f4776 add a whole bunch of constants that make the interface somewhat up-to-date. 2002-11-09 13:52:00 +00:00
Sterling Hughes
767c02af51 add check for curl 7.10.2 2002-11-09 13:08:49 +00:00
Andrei Zmievski
a60968287c Fix memory leak in non-ZTS mode. 2002-11-09 00:43:37 +00:00
Andrei Zmievski
1a8d4258ec Remove unnecessary comments. 2002-11-08 21:20:48 +00:00
Moriyoshi Koizumi
8e1f89bc6f Use proper types 2002-11-08 18:40:54 +00:00
Moriyoshi Koizumi
5b62dc07e1 Fixed typo 2002-11-08 18:06:31 +00:00
Sterling Hughes
71d316e39e add support for curl 7.10.* constants (at least most of them)
add support for persistent connections
2002-11-08 17:58:43 +00:00
Marcus Boerger
bf303c2ab7 hide possible warnings
#Why should one initialize $php_errormsg to NULL
#It would be easier to have it initialised by the system, wouldn't it?
2002-11-08 17:03:06 +00:00
Sterling Hughes
80f88a9851 use consistent constants 2002-11-08 15:49:32 +00:00
Moriyoshi Koizumi
72e0aa894a Added a test for function overloading behaviour 2002-11-08 07:22:10 +00:00
CHAILLAN Nicolas
2838df58fb Very little fixes 2002-11-08 03:05:19 +00:00
Ilia Alshanetsky
d28e3d9dc5 Fixed prototype of image_type_to_mime_type(), bug #20094. 2002-11-08 03:04:23 +00:00
Ilia Alshanetsky
9cc24bad1e Fixed compile warning when compiling without openssl support. 2002-11-08 03:02:51 +00:00
Ilia Alshanetsky
b6e3ae97c4 Move SWC (compressed swf) check into a separate test because this check
requires zlib. This separation allows us to skip the test if zlib is
not available and not fail.
2002-11-08 02:50:28 +00:00
Ilia Alshanetsky
0bdefe4d1e Added skip conditions in the event the required charset is not avaliabled.
Removed old (commented out) module loading code.
2002-11-08 01:12:03 +00:00
Ilia Alshanetsky
4910b2da98 Added a skip condition if the English dictionary needed for the test is not
avaliable.
2002-11-08 01:09:47 +00:00
Ilia Alshanetsky
1504ad65fc Added a skip condition in the event posix_kill(), which is used by the test
is not avaliable.
2002-11-08 01:08:52 +00:00
Ilia Alshanetsky
6e06948c19 Removed duplicate assignment. 2002-11-08 01:08:01 +00:00
Marcus Boerger
95018fc5c0 -lock support moved from dba_flatfile.c to dba.c
-flatfile, cdb, cdb_make use locking now
#locking is blocking per default use 'rt', 'wt', ct' or 'nt' for non blocking alias
#test access to a database file.
#locking uses flock() which will be emulated or warned if that is not eally
#possible in ext/standard/flock_compat.c
2002-11-08 01:03:53 +00:00
Marcus Boerger
1a4c1eb8a9 not needed anywhere here 2002-11-07 23:09:41 +00:00
Marcus Boerger
78857eb9d4 expand test: see if another insert fails 2002-11-07 23:03:58 +00:00
Marcus Boerger
39876b881b -rename anything to flatfile_xxx/FLATFILE_xxx
-fix update function
-add warnings for update function
2002-11-07 23:03:16 +00:00
Brian France
3902b068c3 Changed: EXPAT_SHARED_LIBADD -> XML_SHARED_LIBADD
If the xml extension was built shared with a shared libexpat
	it would not get the required link to libexpat.so.
2002-11-07 19:31:08 +00:00
Wez Furlong
be769483d5 Really disable curlwrappers configure option. 2002-11-07 18:07:03 +00:00
Ilia Alshanetsky
7db2ebd8ea This makes the output of the tests consistent on 32bit and 64 bit platforms.
The old test relied on the 32 bit behaviour, which caused them to always fail
on 64 bit platforms.
2002-11-07 17:49:11 +00:00
Ilia Alshanetsky
ada01d75e0 Added swf info. 2002-11-07 16:42:32 +00:00
Ilia Alshanetsky
bd41e0503d Added swf and swc (compressed swf) test cases and added 'bits' portion to
the expected bmp test results.
2002-11-07 16:38:57 +00:00
Ilia Alshanetsky
15fb290edc Fixed a crash in image_type_to_mime_type(), when a non integer value is
passed to the function.
Fixed Width/Height detection of bmp files on big endian systems.
Added bit depth detection for bmp files.
2002-11-07 16:37:46 +00:00
Ilia Alshanetsky
c2337fd851 Added additional tests to parse_url() test suit, corrected the output of 2
existing tests, which were affected by a bug fixed in latest update to
parse_url() source code.
2002-11-07 15:46:34 +00:00
Ilia Alshanetsky
8645f5c200 parse_url can now correctly parse mailto:, zlib: (old zlib wrapper) and
simular. Thanks to Wez Furlong for noticing the problem.
2002-11-07 15:41:32 +00:00
Wez Furlong
c2a4f94147 WS 2002-11-07 14:52:02 +00:00
Wez Furlong
7d4bf32ca2 Make this static also. 2002-11-07 14:46:40 +00:00
Wez Furlong
8180b9e9c7 Make this static 2002-11-07 14:42:20 +00:00
Marcus Boerger
2a2a41b5f2 add test to see if insert fails when key already exists 2002-11-07 14:18:42 +00:00
Marcus Boerger
927033c616 remove debug output and use php_error_docref instead 2002-11-07 13:00:37 +00:00
Ilia Alshanetsky
b801568bbb Fixed a crash in headers_sent(), that occures if
php_get_output_start_filename() returns NULL.
2002-11-07 00:23:58 +00:00
Ilia Alshanetsky
78e2e69b23 Instead of checking whether realpath exists based on OS. Use the
HAVE_REALPATH define, which is set if realpath() is avaliable. This patch
also resolves bug #18868.
2002-11-06 18:07:23 +00:00
Sascha Schumann
3037b35b31 emalloc never returns 0, so we can simplify the code paths.
also replace ecalloc with emalloc+memset, so that the latter can be inlined.
2002-11-06 17:59:03 +00:00
Moriyoshi Koizumi
5c7b062d6f Cosmetics 2002-11-06 16:58:08 +00:00
Moriyoshi Koizumi
c22c2e4772 Added a test case to check the behaviour on failure 2002-11-06 16:57:53 +00:00
Marcus Boerger
85d09b872d added missing magic_quotes_runtime=0 2002-11-06 16:56:44 +00:00
Moriyoshi Koizumi
0228d5bdcb Clean up 2002-11-06 16:54:18 +00:00
Moriyoshi Koizumi
cac70c5523 Stricter SKIPIF conditions 2002-11-06 16:37:10 +00:00
Moriyoshi Koizumi
49f15ab314 Fixed segfaults in case the specified encoding is not acceptable to iconv. 2002-11-06 16:29:16 +00:00
Moriyoshi Koizumi
6789057697 Oops, preg_match() returns integer value, not boolean. 2002-11-06 15:14:58 +00:00
Moriyoshi Koizumi
e4460fa5a3 Made skip conditions stricter. 2002-11-06 15:06:35 +00:00
Marcus Boerger
caa194d47e -convert from dos to unix file
-disallow cdb_make
2002-11-06 11:59:14 +00:00
Marcus Boerger
c7b7cf17c2 check whether a written databse can be appended and if read during write
is permitted
#i use ksort for the result here since some dbm libraries sort their result
#but that is nothing to test here.
2002-11-06 11:18:00 +00:00
Marcus Boerger
7fb5e192fb fix locks and reading
#i will extend the tests to guard on such failures
2002-11-06 10:43:41 +00:00
Wez Furlong
ec955b07bb Disable --with-curlwrappers.
(Pending support from libcurl itself)
2002-11-06 10:24:48 +00:00
Marcus Boerger
678829add6 There shall never be an external library for this (hopefully). 2002-11-06 10:08:38 +00:00
Marcus Boerger
88af7e9897 Use the the name 'flatfile' correctly so the handler support can be built now.
#I do not like the lock solution since a crashed php would leave the *lck
#file locked now.
2002-11-06 09:17:51 +00:00
Marcus Boerger
4be50925ad move newly introduced flatfile support from dbm to new flatfile handler
# do not make the same mistake as with ext/db where it was not clear
# which format was used.
2002-11-06 04:16:18 +00:00
Marcus Boerger
5d9563df56 correct file open modes 2002-11-06 02:21:49 +00:00
Marcus Boerger
31b6a5cebf #add myself 2002-11-06 01:53:50 +00:00
Marcus Boerger
f0acf84dc7 Incorporate rewritten version of dbm from db extension.
# currently locks are missing :-(
2002-11-06 01:47:06 +00:00
Ilia Alshanetsky
89d4cd1d6b Fixed compile warning, removed unused variables and added process.h header,
which is needed on Windows for getpid() function.
2002-11-05 19:57:04 +00:00
Marcus Boerger
b3ab4ece8d correct errors 2002-11-05 19:38:06 +00:00
Andi Gutmans
1f42a2b88f - Arghh... Change #ifdef to #ifndef 2002-11-05 19:02:37 +00:00
Andi Gutmans
a0ed2ef379 - Fix Engine 2 build 2002-11-05 19:01:36 +00:00
Moriyoshi Koizumi
307024dc68 Fixed typo 2002-11-05 17:46:36 +00:00
Moriyoshi Koizumi
e2112f174a Added a test for bug #20261 2002-11-05 17:25:59 +00:00
Ilia Alshanetsky
6d57337cda Fixed a memory leak in array_fill().
The refcount hack is now done for ZE1 only and is slightly faster then the
original.
After this patch array_fill() can consistently create arrays with >65k elements.
2002-11-05 16:19:19 +00:00
Marcus Boerger
77858f7fcd -use of emalloc functions
-info was not initialised fulle due to memset parameters
 now that the whole structure is initialised we can stop putting 0 in it.
2002-11-05 15:01:20 +00:00
Marcus Boerger
177b24a44e Why did open fail? 2002-11-05 14:46:36 +00:00
Ilia Alshanetsky
41a77bccba Fix compile warning. 2002-11-05 14:28:32 +00:00
Edin Kadribasic
95314707ca Added two new targets to the ldap win32 build which enable ldap
extension to be linked with ssl version of openldap libs.
2002-11-05 14:19:22 +00:00
Edin Kadribasic
ce2b880a53 Fixed win32 build by including missing stddef.h 2002-11-05 14:18:20 +00:00
Moriyoshi Koizumi
bef514afda style fix 2002-11-05 13:52:11 +00:00
Marcus Boerger
30e916d5cd added missing compiler define 2002-11-05 12:03:01 +00:00
Marcus Boerger
2db35e91ea no memory no members 2002-11-05 11:22:48 +00:00
Marcus Boerger
3bfb7162a8 silence
#when i get this code right tmp_line is not initialised, too.
#Therefore php_stream_wrapper_log_error() will be called with
#undefined value, will it?
2002-11-05 11:17:45 +00:00
Marcus Boerger
210c6e75f2 Use EXPECT again 2002-11-05 09:52:30 +00:00
Adam Dickmeiss
752f0b0abf Fix handling of zero-length records 2002-11-05 09:19:24 +00:00
Timm Friebe
2bcca9e315 #- Added myself here 2002-11-05 08:30:57 +00:00
Timm Friebe
514b69824e @- Implemented features/changes requested in Bug #16960 (Timm):
@  . Added a new function sybase_unbuffered_query()
@  . Added a new function sybase_fetch_assoc()
@  . Added sybase_set_message_handler() which enables users to handle
@    server messages in a callback function
@  . Added an ini entry for deadlock retries - retrying deadlocks
@    can cause transaction state to break (sybct.deadlock_retry_count,
@    defaults to -1 "forever").
@  . Fixed sybase_fetch_object() not to return objects with numeric
@    members
@  . Fixed issues with identical fieldnames
@  . Made sybase_fetch_*() functions return correct datatypes
@  . Made phpinfo() section more verbose
@  . Made sybase_query() error messages more verbose
2002-11-05 08:29:57 +00:00
Stig Bakken
efeaa5917c Added separate functions for setting include_path, for environments
where ini_set has been disabled.  New functions: get_include_path(),
set_include_path(), restore_include_path()
2002-11-05 06:05:48 +00:00
Ilia Alshanetsky
ecb5c7e08e Revert virtual_link() patch. 2002-11-04 23:24:15 +00:00
David Reid
e66a760f6b Not all systems have sys/ipc.h so let's check and only include it if we
have it.
2002-11-04 20:08:09 +00:00
Marcus Boerger
5be5c7f14f incorporate cdb-0.75 as suggested by D. J. Bernstein
#dba now supports cdb_make
2002-11-04 17:53:04 +00:00
Ilia Alshanetsky
a8d4bb9d28 Silence compiler warning. 2002-11-04 17:38:30 +00:00
Marcus Boerger
02c903b25e use ecmalloc/efree functions instead of (c|m)alloc/free 2002-11-04 13:39:17 +00:00
Moriyoshi Koizumi
90792bca29 Fixed bug #20243 2002-11-04 12:53:24 +00:00
Marcus Boerger
9d0c4b7bc5 passing around TSRM
#going to add CDB_MAKE support
2002-11-04 12:27:13 +00:00
Melvyn Sopacua
67efacc344 Add test for both sysvsem and sysvshm 2002-11-04 02:44:09 +00:00
Ilia Alshanetsky
02fcdec6b7 Fix win32 build. 2002-11-03 21:21:13 +00:00
Moriyoshi Koizumi
f6ad144abb Added a new test 2002-11-03 20:35:46 +00:00
Moriyoshi Koizumi
7f5d98203e Fixed OnUpdate_zlib_output_compression() behaviour 2002-11-03 20:31:00 +00:00
Marcus Boerger
529fbfffc4 missing 2002-11-03 20:17:00 +00:00
Melvyn Sopacua
f42cbf7309 ws 2002-11-03 17:46:38 +00:00
Marcus Boerger
068d9d4786 no c++ comments 2002-11-03 16:50:08 +00:00
Marcus Boerger
aaf5911b16 cdb now allows multiple key-value pairs with same key 2002-11-03 16:43:07 +00:00
Marcus Boerger
ea7b5d41d3 cdb interface is currently readonly 2002-11-03 15:22:32 +00:00
Marcus Boerger
a54cf8b94a cdb interface is currently readonly 2002-11-03 15:11:42 +00:00
Marcus Boerger
6668f61ecb -fixed
-use *e*malloc
2002-11-03 15:09:49 +00:00
Marcus Boerger
81ef4fd958 add tests for functions in image.c (not requiring gd,zlib or exif) 2002-11-03 13:52:45 +00:00
Wez Furlong
92e9c825b4 Fix leak when read call fails (see comment in #16635). 2002-11-03 13:22:49 +00:00
Moriyoshi Koizumi
941d5e3894 style keisatsu 2002-11-03 08:50:43 +00:00
Moriyoshi Koizumi
408e019b25 Disabled output_handler in INI section 2002-11-03 08:37:59 +00:00
Dan Kalowsky
bbb798315e Bug #20148 suggested work around for now. 2002-11-02 20:18:10 +00:00
Ilia Alshanetsky
ec3b50b8bb Revert previous dirname() patch. 2002-11-02 18:54:31 +00:00
Melvyn Sopacua
aa4bf3607b Skip when Sablotron version is too old 2002-11-02 17:24:57 +00:00
Melvyn Sopacua
8a210264e7 - Use spprintf to avoid two calls to zend_get_executed_filename, suggested
by Marcus Börger
2002-11-02 15:01:43 +00:00
Moriyoshi Koizumi
e9982c06c7 Reduced compiler warnings 2002-11-02 13:38:32 +00:00
Marcus Boerger
832b5a4964 fix TSRM build 2002-11-02 10:58:02 +00:00
Marcus Boerger
7ea6e4431e fix a warning 2002-11-02 10:34:51 +00:00
Melvyn Sopacua
204552683c Fix typo
# Sorry Lenar
2002-11-02 01:44:35 +00:00
Melvyn Sopacua
41daebe049 test rename 2002-11-02 01:34:56 +00:00
Melvyn Sopacua
ccd3b27af2 - Fix issues with 'arg' scheme and external files, bug #20177
- Add authors

# Need to rename test, grrr
2002-11-02 01:32:09 +00:00
Melvyn Sopacua
2f187e86e5 Test for files in 'args' provided handles 2002-11-02 01:13:22 +00:00
foobar
4dabb162d0 - Added searching for Kerberos libs in default locations if no path is
given for --with-kerberos.

# Marcus, please try this. :)
2002-11-01 16:45:59 +00:00
Lenar Lõhmus
d2275d9195 Fix scheme_getall() function so that data returned by user is always
converted to string except when script returns FALSE or NULL. In this case
signal sablotron that we are not able to handle requested scheme.
2002-11-01 14:44:06 +00:00
Marcus Boerger
f7bd4ce0ba Add testcase for every single handler
# db2 fails for me with SIGSEGV
2002-11-01 14:23:23 +00:00
Marcus Boerger
d50e62cbac Always show handler used 2002-11-01 14:21:36 +00:00
Marcus Boerger
5ab8fb4df1 test.dbm* -> test0.dbm* 2002-11-01 14:20:31 +00:00
Marcus Boerger
a5968cf369 php_error -> php_error_docref 2002-11-01 14:15:24 +00:00
Melvyn Sopacua
b3b01c253d Fix test output 2002-11-01 13:43:40 +00:00
Marcus Boerger
20d7a682ab update test
#This test fails for me. I expanded the test output and checked the function.
#The only way to fix this behaviour would be to store the last result in a
#global value and fetch the time again in case the newer value is less the
#the older value.
2002-11-01 12:12:40 +00:00
Christian Stocker
70b9310d3a fix for bug #20209 (appending text nodes leads to segfaults sometimes) 2002-11-01 10:06:10 +00:00
Melvyn Sopacua
46faef79f6 Segfault test, currently unsolved 2002-11-01 02:27:43 +00:00
Melvyn Sopacua
80ee077307 Testcase for new Sablotron option 2002-11-01 02:21:58 +00:00
Melvyn Sopacua
12498fcec7 - Fix registration of XSLT_SABOPT_FILES_TO_HANDLER 2002-11-01 02:05:36 +00:00
Ilia Alshanetsky
0ce0939a91 Fixed win32 build (hopefuly). 2002-11-01 01:20:05 +00:00
Ilia Alshanetsky
500df32e0c Fixed bug #18710. dirname() now returns consistent output when dealing with
\ directory separators on Windows.
2002-11-01 00:53:27 +00:00
John Coggeshall
6ac365896c Modified the experimental new test class to make it easier to port to the
web. Pushed all echo statements through a function that can be
overwritten, changed the way pass/skip/fail is handled (separate function)
that of course can also be overwritten. To begin testing of a web-based
test script also created a webHarness class which will output HTML. To
use, just $a = new webHarness(); instead of $a = new testHarness(); A few
modifications still must be made to remove the CLI reliance completely.

Also modified a test script description.
2002-11-01 00:22:02 +00:00
Melvyn Sopacua
294b419d67 copy/waste error 2002-10-31 21:27:00 +00:00
Melvyn Sopacua
5062dbee4c - Add constant XSLT_SABOPT_FILES_TO_HANDLER overriding the default
behavior of Sablotron to handle files itself, even if a scheme-handler
  is registered.
- Implement xslt_getopt
- Modify behavior of xslt_setopt, so that it returns the previous value.

# All these need Sab CVS version > 2002/10/31
2002-10-31 21:21:01 +00:00
Melvyn Sopacua
45227ec40c Fix typo 2002-10-31 21:11:57 +00:00
Melvyn Sopacua
bcf61b073a Add test for xslt_getopt
# see next commit
2002-10-31 21:09:05 +00:00
Moriyoshi Koizumi
a00abb6850 Fixed library capability detection behaviour.
# Whew! I've fixed all the known problems.
# And should I become a maintainer of this module?
2002-10-31 20:23:53 +00:00
Christian Stocker
0b8040aa8d fix proto for clone_node 2002-10-31 19:52:45 +00:00
Moriyoshi Koizumi
f94e45aaf3 Moved the test into the suitable place 2002-10-31 15:28:21 +00:00
Derick Rethans
0998fcd804 - Added an aditional parameter to the jdtojewish() function which makes
the function return the symbolic hebrew name. (Patch by Moshe Doron
  <mosdoron@netvision.net.il>)
@- Added an aditional parameter to the jdtojewish() function which makes
@  the function return the symbolic hebrew name. (Moshe Doron, Derick)
2002-10-31 09:16:23 +00:00
Wez Furlong
bfdb85d1f0 Correct a copy-n-paste bug. Spotted by Michael Sisolak <msisolak@yahoo.com> 2002-10-31 08:23:55 +00:00
Derick Rethans
fb41198f05 - Fix test, in some cases the first significant number in the time
was a 3
2002-10-31 06:37:18 +00:00
Dan Kalowsky
7d74a72dfd Patch for windows DSN less connection #20086 (by john@johnandlouise.com) 2002-10-31 02:57:06 +00:00
Moriyoshi Koizumi
b3e3420120 Prevent unnecessary notices on success 2002-10-30 19:21:56 +00:00
Ilia Alshanetsky
4332612812 Fixed a memory leak on ldap_connect() failure. 2002-10-30 18:12:34 +00:00
Marcus Boerger
536c34ebc9 fix warnings 2002-10-30 17:54:36 +00:00
Marcus Boerger
656b3ae8ec that was not good :-(
#failure was in my installation
2002-10-30 17:42:36 +00:00
Hartmut Holzgraefe
d8837750de getopt with long options reverted to configure problems
(may find the wrong getopt.h so needed structures are not defined :(   )
2002-10-30 15:11:11 +00:00
Marc Boeren
6d9447a3dc Coding style.
# not my style :-)
2002-10-30 15:03:01 +00:00
Marcus Boerger
eab2c769d9 added default library path 2002-10-30 14:57:59 +00:00
Marc Boeren
c47e427e5b Fixed weird membug in oci8 support. 2002-10-30 14:57:55 +00:00
Marcus Boerger
328396920b php_error -> php_error_docref 2002-10-30 14:15:16 +00:00
Christian Stocker
9250827af6 Added 2 more items 2002-10-30 13:14:23 +00:00
Marc Boeren
7b9eae0e6e escape_string functions will now return empty string directly. 2002-10-30 12:02:51 +00:00
Moriyoshi Koizumi
939a5870cf Fixed typo 2002-10-30 11:57:29 +00:00
Moriyoshi Koizumi
a4edf018cb Added a test case for bug #20169 2002-10-30 11:48:51 +00:00
Moriyoshi Koizumi
8ff7d5ff54 Fixed bug #20169 2002-10-30 11:42:51 +00:00
Moriyoshi Koizumi
45361297f3 Fixed mb_ereg_replace() bug 2002-10-30 10:35:55 +00:00
Moriyoshi Koizumi
a705a8b597 Clean up. 2002-10-30 08:06:52 +00:00
Moriyoshi Koizumi
352a9f093c Removed dl() code 2002-10-30 07:54:33 +00:00
Moriyoshi Koizumi
ac4eb2cccc Shortened comments. I also think they were too long. 2002-10-30 07:53:15 +00:00
Wez Furlong
54f02722f6 And some more ncurses functions. 2002-10-30 02:54:48 +00:00
Brad House
d7df705925 constant MC_TRAN_CHNGPWD typo 2002-10-30 01:08:19 +00:00
Ilia Alshanetsky
7150658615 This patch allows compilation of gd against non-bundled gd library older
then 2.0.4.
2002-10-30 01:05:16 +00:00
Marcus Boerger
6f8bfd148a make microtime and gettimeofday unavailable instead of return false return
false in case needed library function is unavailable.
2002-10-29 23:35:49 +00:00
Rasmus Lerdorf
a24534a1ed Update bundled gd library with relevant changes from gd-2.0.4
I still need to add a configure check for the gdIOCtx struct
changes so building against older external gd libs will work again.
2002-10-29 23:08:01 +00:00
Marcus Boerger
8c95cefac6 -add reason to --SKIPIF--
-add magic_quotes_runtime to --INI--
--use var_dump()
2002-10-29 21:57:51 +00:00
Marcus Boerger
6663f2cd0a -do not dl() load
-magic_quotes_runtime
2002-10-29 21:51:32 +00:00
Ilia Alshanetsky
8c6316ef7b Corrected un-initialized variable usage. 2002-10-29 20:19:38 +00:00
Moriyoshi Koizumi
21e8efbb87 It's better to know the version is "unknown", rather than "" 2002-10-29 19:09:27 +00:00
Moriyoshi Koizumi
fc0e6ff90e Added test cases to check the compatibility with standard ereg functions. 2002-10-29 19:01:10 +00:00
Melvyn Sopacua
066e8aeef6 Add locale for BSDi
# Allthough these characters are used in germany, that doesn't mean, that
# they're not part of the latin-1 character set.
2002-10-29 17:43:08 +00:00
Marcus Boerger
84e5746efb fix warnings 2002-10-29 16:57:52 +00:00
Marcus Boerger
402adbbe9d -php_error => php_error_docref
-two warnings
2002-10-29 16:45:19 +00:00
Moriyoshi Koizumi
630a4ff924 Removed dl() stuff 2002-10-29 16:28:12 +00:00
Moriyoshi Koizumi
e8cf2253fb Improved library identification 2002-10-29 16:18:12 +00:00
Marcus Boerger
cc62badf9d corrected output 2002-10-29 16:09:03 +00:00
Marcus Boerger
2719c54b32 -Use skipif.inc
-split into two tests
-domxml001.phpt should work
-domxml002.phpt contains the part that fails
2002-10-29 16:06:51 +00:00
Marcus Boerger
5c92a61dcb Add simple parsing test 2002-10-29 16:04:42 +00:00