John Coggeshall
253cecd43a
Added GLOB_ONLYDIR and GLOB_BRACE for compatiable systems for the glob()
...
function.
Modified the layout and some minor logic in the experimental webHarness()
test class
Added Whitespace accidently to array.c :)
2002-11-13 13:31:33 +00:00
Edin Kadribasic
ae51b7f4db
Allow use of Berkeley db version 3.1 as found on many RedHat systems.
2002-11-13 13:12:26 +00:00
Edin Kadribasic
af436aa873
Added support for bundled flatfile, cdb and cdb_make handlers
...
to win32 build of the dba extension.
2002-11-13 12:12:44 +00:00
Moriyoshi Koizumi
9f2a1ce9d4
Added a test for mb_send_mail() to check if the function properly handles
...
Traditional Chinese characters.
2002-11-13 12:00:47 +00:00
Moriyoshi Koizumi
fd01313fde
Corrected Traditional Chinese language spec and the preferred MIME name
...
of which the encoding is used in that locale.
2002-11-13 11:57:59 +00:00
Marcus Boerger
77c9dfae6b
avoid fileno()
2002-11-13 10:17:19 +00:00
Derick Rethans
801c698992
- Reset globals for each request
2002-11-13 08:54:34 +00:00
Moriyoshi Koizumi
2016c0cc0a
Added a test for mb_send_mail() to check if the simplified Chinese support
...
works
2002-11-13 08:45:37 +00:00
Moriyoshi Koizumi
d9ebc7aadb
Updated the test
2002-11-13 08:27:17 +00:00
Moriyoshi Koizumi
7addde8521
Prevented unwanted encoding detections in mb_send_mail()
...
# This patch shouldn't break BC
2002-11-13 08:26:04 +00:00
Moriyoshi Koizumi
e01b60c2fb
Fixed mb_encode_mimeheader() to work with languages other than Japanese and
...
English
2002-11-13 08:13:34 +00:00
Moriyoshi Koizumi
04f59073e6
Fixed a buffer over-run bug in case a function to be overloaded doesn't exist.
...
# This patch was made by Ilia.
2002-11-13 07:40:11 +00:00
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