Greg Beaver
05f0989797
tweak docs for canCompress
2007-01-16 00:00:26 +00:00
Antony Dovgal
902e6583d9
add trailing '\0' to stream hashes
2007-01-15 17:06:52 +00:00
Marcus Boerger
fd30dc5858
- Fix error expectations
2007-01-14 18:57:22 +00:00
Hannes Magnusson
606e073aa7
MFB: Fix typo in error message
2007-01-14 14:37:16 +00:00
Marcus Boerger
433a932aad
- Improve flag handling
...
- Fixes to file open mode
- First step towards permission handling
2007-01-14 00:32:38 +00:00
Marcus Boerger
c13d272acc
- Drop useless comment
...
- Move global macro def to .c
- Cleanup by using bit fields for internal flags
2007-01-13 17:10:18 +00:00
Marcus Boerger
1b98a49f8b
- Change version validation to minimum api version required
2007-01-13 16:44:54 +00:00
Ilia Alshanetsky
c4df94e10b
MFB: Improve validation of argnum, width and precision.
2007-01-13 16:32:29 +00:00
Marcus Boerger
c6c23145f4
- Change to new layout wich has some more flags that will be used for perms
...
- Update/simplify tests
2007-01-13 16:17:04 +00:00
Nuno Lopes
b1f02b95ce
MFB
2007-01-13 11:22:44 +00:00
Nuno Lopes
8cf3db93ad
MFB
2007-01-13 11:16:53 +00:00
Marcus Boerger
f9d2b5088e
- WS
2007-01-12 22:28:05 +00:00
Andrey Hristov
f483a60f3a
add a sticky note
2007-01-12 20:26:35 +00:00
Antony Dovgal
14a8175ed7
nuke more dead code
2007-01-12 12:31:31 +00:00
Antony Dovgal
ae9a444a63
delete useless comments and skeleton leftovers
2007-01-12 12:16:36 +00:00
Antony Dovgal
521a03c098
fix folding and ws
2007-01-12 12:06:33 +00:00
Ilia Alshanetsky
7861862426
MFB: Use long instead of int where long is expected.
2007-01-12 02:04:27 +00:00
Ilia Alshanetsky
e5a2796223
MFB:
...
Fixed bug #40098 (php_fopen_primary_script() not thread safe).
Adjusted previous fixes for similar issue to handle sysconf() failures
2007-01-12 01:50:43 +00:00
Marcus Boerger
1834516f7a
- Reorder includes
2007-01-11 22:57:42 +00:00
Marcus Boerger
ebdb8ac4c1
- Make test compatible with HEAD
2007-01-11 22:46:02 +00:00
Antony Dovgal
2157607928
avoid changing original zval
2007-01-11 22:23:06 +00:00
Marcus Boerger
8117489f19
- Unicode support
2007-01-11 21:33:23 +00:00
Antony Dovgal
8190ad4661
make sure the string is non-empty and use strlcpy() & strlcat()
2007-01-11 16:45:27 +00:00
Antony Dovgal
1494f6f9df
fix #39988 (type argument of oci_define_by_name() is ignored)
...
patch and tests by Chris Jones
2007-01-11 11:58:34 +00:00
Antony Dovgal
4a7093c531
fix #40078 (ORA-01405 when fetching NULL values using oci_bind_array_by_name())
2007-01-11 11:26:36 +00:00
Sara Golemon
5082591ce2
#ifdef out the rest of that getpwuid_r() patch, see prior commit
2007-01-11 02:31:50 +00:00
Sara Golemon
8ed4339000
Some platforms have getpwnam_r() but are missing _SC_GETPW_R_SIZE_MAX
2007-01-11 01:52:24 +00:00
Marcus Boerger
7303202be1
- Fix a few things
...
- Cleanup
2007-01-11 01:04:47 +00:00
Hannes Magnusson
ea12069755
MFB: Add missing ifdefs
2007-01-10 21:26:09 +00:00
Marcus Boerger
e5762b7241
- Fix mem access
2007-01-10 20:12:14 +00:00
Dmitry Stogov
e28fd01d7d
Fixed tests
2007-01-10 16:00:57 +00:00
Hannes Magnusson
b07b4ba78b
MFB: fix ifdefs
2007-01-10 15:06:58 +00:00
Marcus Boerger
0295f8bbdc
- Fix shutdown issue (keep the speed)
2007-01-10 00:38:17 +00:00
Marcus Boerger
813d4a2451
- Simplify/Add comment
2007-01-10 00:07:45 +00:00
Marcus Boerger
a3020cee1f
- Simplify
2007-01-09 23:57:03 +00:00
Marcus Boerger
a7d57a4814
- Fix write support & simplify
2007-01-09 23:23:12 +00:00
Marcus Boerger
af6a28ba0d
- Simplify
2007-01-09 22:30:56 +00:00
Marcus Boerger
469a0c68dd
- Cleanup
2007-01-09 18:54:37 +00:00
Marcus Boerger
54917a290b
- MFH (Ilia's changes)
2007-01-09 18:38:38 +00:00
Marcus Boerger
c0f01388ca
- Improve debugging and fix #40073
2007-01-09 17:52:02 +00:00
Dmitry Stogov
113aa2339d
Close open files in case of failure (Amit)
2007-01-09 16:27:32 +00:00
Ilia Alshanetsky
b9f2ed22a2
MFB: Added key_length intialization for intergers
2007-01-09 15:21:23 +00:00
Antony Dovgal
2e08fa381c
zerofill info_data and fix possible segfault
...
partly fixes #40073
2007-01-09 11:37:05 +00:00
Marcus Boerger
3bfece705f
- Fix test
2007-01-09 03:03:47 +00:00
Marcus Boerger
887a45e3e8
- Fix fname and alias hash table handling
2007-01-09 02:27:12 +00:00
Marcus Boerger
efba02d38e
- Easy debugging
2007-01-09 01:32:09 +00:00
Marcus Boerger
72873b5b27
- Add new test
2007-01-09 00:58:44 +00:00
Marcus Boerger
8e8697b1f7
- Add Phar::getSignature()
...
- Add Phar::getModified()
- Fix internal hash storage size
- Fix minor memory issues
- Drop boguscode lines (copy'n'paste left over)
- Increase api version to 0.9.0
2007-01-09 00:27:13 +00:00
Marcus Boerger
7093d72b5e
- Add initial hash support write/read/verify md5/sha1(default)
2007-01-08 23:03:41 +00:00
Nuno Lopes
6d3b054556
MFB
2007-01-08 22:56:26 +00:00
Nuno Lopes
137415d8bc
MFB: remove mshutdown func
2007-01-08 22:35:25 +00:00
Nuno Lopes
2b8323c34a
MFB: constify
2007-01-08 22:29:52 +00:00
Sara Golemon
ea81a3a7b7
Add CURLOPT_TCP_NODELAY
2007-01-08 20:04:56 +00:00
Sara Golemon
26e15947ba
Allow libxml DomNodes to remain persistent when requested by other extensions
2007-01-08 20:01:23 +00:00
Marcus Boerger
7b069ebc00
- Be picky about names
2007-01-08 19:31:50 +00:00
Marcus Boerger
f6da0a4df6
- Better handler names (group by prefixing)
2007-01-08 19:30:52 +00:00
Andrei Zmievski
8500acc842
Fix IMAP check.
2007-01-08 18:23:23 +00:00
Ilia Alshanetsky
e33869d395
MFB: Use safe_emalloc() rather then emalloc()
2007-01-08 14:25:49 +00:00
Marcus Boerger
8919184420
- Fix test
2007-01-07 20:06:42 +00:00
Greg Beaver
e34af34365
fix unlink
2007-01-07 19:57:26 +00:00
Greg Beaver
420effc193
new test for unset()
2007-01-07 19:45:49 +00:00
Greg Beaver
1ef69b7f08
another attempt to fix unlink()/unset()
2007-01-07 19:45:31 +00:00
Greg Beaver
71c7c383b4
fix unlink - make sure it actually erases the file
2007-01-07 19:05:12 +00:00
Greg Beaver
68b54b4d83
add test to make sure the phar is modified on disk
2007-01-07 18:51:39 +00:00
Marcus Boerger
e947f62b01
- Fix memory issues
2007-01-07 18:35:48 +00:00
Marcus Boerger
0d8ec844d6
- Fix a memleak
...
- Fix uninitialized mem access
- Fix/improve error handling
- Add INI entry phar.readonly
- Add tests
2007-01-07 16:01:35 +00:00
Hannes Magnusson
8080363f2d
Use relative timestamp
2007-01-07 07:59:22 +00:00
Sara Golemon
73cd7bf543
Remaining unicode updates for user filters
2007-01-07 06:29:40 +00:00
Nuno Lopes
f3c60295ed
MFB
2007-01-06 20:30:23 +00:00
Nuno Lopes
726dfb0837
MFB: fix build with libming 0.3
2007-01-06 19:26:32 +00:00
Edin Kadribasic
b23813044d
Var declarations first (fixes windows build)
2007-01-06 18:58:34 +00:00
Rob Richards
05a532c07a
parameter entity argument (pe) should be bool
...
update test
2007-01-06 18:03:15 +00:00
Hannes Magnusson
71a68db63e
MFB: fix skipif
2007-01-06 16:57:42 +00:00
Hannes Magnusson
be32e75cf0
Fix parameter parsing
2007-01-06 15:53:55 +00:00
Dmitry Stogov
d92e5968ee
Improved proc_open(). Now on Windows it can run external commands not through CMD.EXE
2007-01-06 09:08:06 +00:00
Georg Richter
a8d9958f70
merged from 5_2 (mysqli_info crash)
2007-01-06 05:50:36 +00:00
Sara Golemon
b42c175d75
Refix posix_ttyname(), test for a working implementation of ttyname_r() -- which BSD doesn't have
2007-01-05 21:30:06 +00:00
Sara Golemon
925cbe4cfe
BSD4.1 (possibly others) doesn't support _SC_TTY_NAME_MAX
2007-01-05 20:01:44 +00:00
Andrei Zmievski
2f3a309da1
Clean up set_include_path().
2007-01-05 18:50:46 +00:00
Sara Golemon
851a151712
Don't bother with conversion when the converter is already UTF8
2007-01-05 17:29:30 +00:00
Hannes Magnusson
1175652bef
MFB: Fix tests
2007-01-05 15:28:41 +00:00
Sebastian Bergmann
4e8661438d
Fix ZTS issues.
2007-01-05 14:53:30 +00:00
Greg Beaver
94d1d69569
add unset support and test
...
make sure isset() does not return deleted files
do not store implicit aliases for the phar
2007-01-05 04:45:52 +00:00
Greg Beaver
8b94a6a254
add support for creating new files via array access
2007-01-05 04:27:49 +00:00
Sara Golemon
5d988bb1aa
Allow ext/session to use ext/hash's algorithms for generating IDs
2007-01-05 03:57:57 +00:00
Greg Beaver
ef4749b8cf
fix creation of phar from scratch, add test case
2007-01-05 03:04:56 +00:00
Sara Golemon
344cda1666
Unicode Updates
2007-01-05 02:07:59 +00:00
Greg Beaver
c7c42d9d47
add test for delete in phar, we needed to check the deleted flag in case the new phar has not been flushed to disk
2007-01-05 02:04:07 +00:00
Greg Beaver
00f516cc99
fix creation of new files within an existing phar, add test
2007-01-05 01:50:26 +00:00
Greg Beaver
68cd2941fd
revert changes to test
2007-01-05 01:13:35 +00:00
Greg Beaver
10d45c7668
fixed crc - write test works
2007-01-05 01:13:13 +00:00
Ilia Alshanetsky
b21b4c01c3
MFB: Added missing open_basedir checks
2007-01-04 23:50:19 +00:00
Sara Golemon
21bac192e9
Cleanup ext/session so that I can do a unicode update without going insane.
2007-01-04 22:04:38 +00:00
Greg Beaver
fc2d773388
major reworking of how the phar is re-worked in memory when written to, fix written phar
...
CRC32 check fails on newly added files in phar, I can't figure out why
2007-01-04 05:32:45 +00:00
Ilia Alshanetsky
0b2e195bd8
MFB: Fixed bug #40009 (http_build_query(array()) returns NULL).
2007-01-03 23:17:17 +00:00
Nuno Lopes
22ad2f9538
MFB
2007-01-03 22:33:33 +00:00
Nuno Lopes
699351d794
fix a bug where PHP would enter in an infinite cycle with chars with ascii value > 127
...
while at it, remove the lim structure parameter (it wasn't being used)
2007-01-03 22:02:43 +00:00
Antony Dovgal
6dd26de0c9
more magic number fixes
2007-01-03 20:49:27 +00:00
Antony Dovgal
a323972c87
use constant
2007-01-03 20:45:17 +00:00
Nuno Lopes
5861f56dea
fix PDO_DRIVER_API
2007-01-03 20:33:09 +00:00
Nuno Lopes
84f62f1133
fix lcov build
2007-01-03 20:27:49 +00:00
Hannes Magnusson
75267ee88d
Revert pcrelib version string to 2006
2007-01-03 20:08:08 +00:00
Antony Dovgal
4c923b2753
revert this date to its previous state
2007-01-03 18:32:16 +00:00
Greg Beaver
801f8aaf01
add unlink support
2007-01-03 15:53:29 +00:00
Greg Beaver
d1cc13c9b2
fix all but one of the double-destroyed hashes, and all but one of the unclosed streams
2007-01-03 15:43:07 +00:00
Derick Rethans
44327b0af2
- MFB: Fixed bug #40012 (php_date.c doesnt compile on Netware).
2007-01-03 14:46:52 +00:00
Antony Dovgal
1167da966b
and one more..
2007-01-03 13:48:46 +00:00
Antony Dovgal
4a88a40537
fix test
2007-01-03 13:47:03 +00:00
Ilia Alshanetsky
b597606cfb
Use proper length
2007-01-03 04:05:36 +00:00
Ilia Alshanetsky
b648434448
MFB:
...
Added filter callback
Unlink temporary file on error
2007-01-03 03:55:29 +00:00
Greg Beaver
3842b6712d
correctly generate version string for new phar
2007-01-02 22:57:47 +00:00
Greg Beaver
c88a692b31
add some error handling to phar creation
2007-01-02 21:21:18 +00:00
Greg Beaver
5321858746
add some error handling to phar creation
2007-01-02 21:01:44 +00:00
Marcus Boerger
d013240a01
- Change write macros to inline funcs
2007-01-02 20:25:04 +00:00
Greg Beaver
a90c542188
add new failing test for write support
2007-01-02 20:07:54 +00:00
Greg Beaver
0bbbb73910
fix a number of bugs found in testing new (uncommitted) unit test
2007-01-02 19:59:38 +00:00
Marcus Boerger
63bc59ae0a
- TSRM fix
2007-01-02 19:54:09 +00:00
Marcus Boerger
4562ab4d4a
- Make Andrei happy - spread some U's
2007-01-02 18:15:22 +00:00
Greg Beaver
1ffb4ba7eb
initial support for writeable phars
...
# we need to refcount everything, I suspect, or we can get segfaults, have not verified this though
# all the write stuff is untested, and Phar::__construct() does not allow creation of a new phar, only appending to and existing one
2007-01-02 18:15:17 +00:00
Nuno Lopes
80122d6b53
MFB
2007-01-02 15:31:58 +00:00
Georg Richter
f9fe766355
fixed parameters for unicode in mysqli_change_user
2007-01-02 05:49:05 +00:00
Greg Beaver
373fb2f82f
add doc comments to help sort out what's what
2007-01-02 00:04:30 +00:00
Ilia Alshanetsky
669bc30619
MFB: fixed compiler warnings
2007-01-01 19:42:19 +00:00
Sebastian Bergmann
3717df72ae
Bump year.
2007-01-01 09:29:37 +00:00
Ilia Alshanetsky
3e654e4d53
MFB: Simplify code and change strchr() to memchr()
2006-12-31 22:47:27 +00:00
Ilia Alshanetsky
15f1692572
MFB: Added boundary checks to php_binary deserializer
2006-12-31 22:26:06 +00:00
Marcus Boerger
f9a45d2cdb
- Bugfix: #39996 Wrong PHPDoc comment for SplFileInfo::getType()
2006-12-31 18:20:03 +00:00
Nuno Lopes
9c754139fb
MFB: fix #36427 . patch by jdolecek at NetBSD dot org
2006-12-31 15:28:56 +00:00
Nuno Lopes
976c72cce7
MFB: fix PID info on windows
2006-12-31 14:49:06 +00:00
Ilia Alshanetsky
647ad42cf7
MFB: Added missing resource type checks
2006-12-30 20:21:47 +00:00
Rob Richards
4b81343bd3
MFB: fix bug #39760 (cloning fails on nested SimpleXML-Object)
...
add test
2006-12-30 15:42:24 +00:00
Ilia Alshanetsky
fb392210ee
MFB: Mark test as being 32bit only
2006-12-30 02:01:09 +00:00
Ilia Alshanetsky
2120039c2b
MFB: Fixes test #50
2006-12-30 01:56:33 +00:00
Ilia Alshanetsky
df5d843c99
MFB: Fixed bug #39971 (pg_insert/pg_update do not allow now() to be used for
...
timestamp fields).
2006-12-29 00:34:53 +00:00
Antony Dovgal
bef17c425a
use strlcpy()
2006-12-28 20:45:20 +00:00
Nuno Lopes
fc9b8ae1a3
MFB
2006-12-28 19:53:30 +00:00
Antony Dovgal
4cf068ac32
include basic_functions.h for php_get_current_user() declaration
2006-12-28 15:44:50 +00:00
Antony Dovgal
3dc31987be
it's ptr, not ptrptr
2006-12-28 15:26:20 +00:00
Antony Dovgal
ea14ce7700
use the macro, casting works only with GCC
2006-12-28 15:24:00 +00:00
Ilia Alshanetsky
c42fb0033d
MFB: Added buffer length checks
2006-12-28 15:21:32 +00:00
Antony Dovgal
a04c65f97f
fix ZTS build
2006-12-28 15:03:19 +00:00
Antony Dovgal
0958fdb46e
use strlcat()
2006-12-28 14:26:30 +00:00
Antony Dovgal
d312d33f46
minor improvements
2006-12-28 14:17:09 +00:00
Antony Dovgal
9e41e0fda3
fix tests
2006-12-27 19:22:29 +00:00
Antony Dovgal
5498386f63
fix tests
2006-12-27 19:17:02 +00:00
Antony Dovgal
ec8984ea81
NULL is a special value for number_format() meaning "use default separator"
2006-12-27 19:07:28 +00:00
Antony Dovgal
1857da91b4
fix *scanf() tests
2006-12-27 15:26:13 +00:00
Nuno Lopes
1511cee1a0
MFB
2006-12-27 15:18:15 +00:00
Antony Dovgal
8c44974966
initialize memory with 0's, so we won't get garbage if the statement does not set the var
2006-12-27 10:30:47 +00:00
Antony Dovgal
7b42968afd
that should not be there..
2006-12-27 09:49:06 +00:00
Antony Dovgal
06216846e7
more test improvements by Chris Jones
2006-12-27 09:48:05 +00:00
Andrei Zmievski
6212288bea
Unicode support in sscanf() and fscanf(). (Tony, Andrei)
2006-12-26 22:34:05 +00:00
Nuno Lopes
0fe5fabd9b
fix build
2006-12-26 22:07:45 +00:00
Ilia Alshanetsky
2dbfe66e4a
MFB: safety checks
2006-12-26 17:40:20 +00:00
Ilia Alshanetsky
4386719b07
MFB: Session deserializer protection.
2006-12-26 17:18:28 +00:00
Ilia Alshanetsky
fdf33c7593
MFB: Fixed bug #39878 (CURL doesn't compile on Sun Studio Pro).
2006-12-26 16:57:51 +00:00
Antony Dovgal
79c8816327
fix arguments order (just in the sake of purity)
2006-12-26 12:29:32 +00:00
Pierre Joye
5f83f04cbb
- Add better zlib detection
2006-12-26 10:42:25 +00:00
Pierre Joye
1766548574
- #39952 zip ignoring --with-libdir on zlib checks (judas dot
...
iscariote at gmail dot com)
2006-12-26 09:52:32 +00:00
Dmitry Stogov
b0c3becc4f
Code review:
...
. fixed integer overflow
. fixed buffer overflow/underflow
. added more strict IP validation
. reimplemented float number validation
2006-12-26 09:16:39 +00:00
Antony Dovgal
fa6ec58949
add missing space for \0
2006-12-25 22:40:13 +00:00
Antony Dovgal
3bbf11859c
more safe_emalloc()
2006-12-25 22:27:12 +00:00
Antony Dovgal
df52817f48
use safe_emalloc()
2006-12-25 22:12:36 +00:00
Antony Dovgal
f3c0c42b76
use safe_emalloc()
2006-12-25 21:45:09 +00:00
Ilia Alshanetsky
0b145dcb90
MFB: Fixed test for 64bit systems
2006-12-25 21:08:10 +00:00
Antony Dovgal
dbcb473139
use safe_emalloc()
2006-12-25 21:07:32 +00:00
Antony Dovgal
b1813c961b
use safe_emalloc()
2006-12-25 20:53:43 +00:00
Antony Dovgal
a30e5b9920
use safe_emalloc()
2006-12-25 20:44:28 +00:00
Antony Dovgal
487ce5744a
improve check for overflow
2006-12-25 20:03:20 +00:00
Antony Dovgal
e185df5995
fix CS, add missing folding markers
...
mark Unicode safe functions as they are
2006-12-25 19:34:00 +00:00
Antony Dovgal
824323149f
stream_socket_shutdown() is Unicode safe by definition
2006-12-25 19:19:08 +00:00
Antony Dovgal
184406c016
fix proto
2006-12-25 19:12:39 +00:00
Antony Dovgal
549b48aee3
fix protos
2006-12-25 19:08:33 +00:00
Antony Dovgal
611c688d7c
mark most of the ext/posix functions as Unicode safe, for they do not use strings in any way
2006-12-25 19:03:56 +00:00
Antony Dovgal
fa3c084b36
mark all LOB functions as Unicode safe
2006-12-25 18:57:15 +00:00
Ilia Alshanetsky
428f53e5fb
MFB: Use %F (ignores locale) for internal representation of floats
2006-12-25 16:49:05 +00:00
Antony Dovgal
03aea51026
fix build
2006-12-25 15:28:44 +00:00
Antony Dovgal
a5ca775c02
fix test
2006-12-25 14:27:44 +00:00
Ilia Alshanetsky
d98c67c89d
MFB: Define SENDBUFLEN for older c-client libs
2006-12-25 14:23:38 +00:00
Antony Dovgal
a2d8ca3b53
update credits at request of Gabor
2006-12-25 11:50:23 +00:00
Antony Dovgal
524eb56503
fix tests
2006-12-25 11:16:05 +00:00
Antony Dovgal
ebfd8e9bf2
fix #36392 in Unicode mode
2006-12-25 11:15:08 +00:00
Ilia Alshanetsky
6fa038ae50
MFB: Fixed buffer boundary protection
2006-12-24 22:15:18 +00:00
Ilia Alshanetsky
59b437aff8
MFB: Added empty string checks
2006-12-24 20:50:21 +00:00
Rob Richards
2185635e10
update function signature
2006-12-24 12:42:47 +00:00
Rob Richards
1a6ea57ee9
MFB: fix bug #33734 and related (Something strange with COM Object)
...
- caused by fix in com_handlers.c rev 1.22.2.5
2006-12-24 12:32:35 +00:00
Rob Richards
39c037b734
MFB:
...
- fix bug #33386 (ScriptControl only sees last function of class): com_wrapper.c
- fix bug #37588 (COM Property propputref converts to PHP function
and can't be accesed): com_handlers.c
- fix bug #39596 (Creating Variant of type VT_ARRAY): com_variant.c
- add tests
2006-12-24 10:02:00 +00:00
Ilia Alshanetsky
34dc00fd7a
MFB: safety checks
2006-12-23 23:29:41 +00:00
Ilia Alshanetsky
4e17200d59
MFB: Added checks for negative max length and overflow checks for overly
...
long strings.
2006-12-23 18:50:52 +00:00
Derick Rethans
7b170eea73
- MFB: Fixed bug #39935 (Extensions tidy,mcrypt,mhash,pdo_sqlite ignores
...
--with-libdir).
2006-12-23 18:00:49 +00:00
Antony Dovgal
083bddc23d
fix test
2006-12-23 14:14:14 +00:00
Antony Dovgal
8a3000977c
fix tests
2006-12-23 14:10:52 +00:00
Antony Dovgal
96d19377ce
use add_ascii_assoc_text()
2006-12-23 14:10:35 +00:00
Antony Dovgal
19060d3a14
use OCI_SUCCESS constant, do not rely on its value
2006-12-23 14:02:38 +00:00
Andrei Zmievski
f88aa1b9ab
Unicode support in number_format().
2006-12-22 21:18:30 +00:00
Nuno Lopes
168185e7a0
fix lcov/genhtml build (yes it is very picky)
2006-12-22 17:02:54 +00:00
Ilia Alshanetsky
2b23e4e205
MFB: Fixed bug #39884 (ReflectionParameter::getClass() throws exception for
...
type hint self).
2006-12-22 15:38:42 +00:00
Ilia Alshanetsky
2e5e31c6b8
MFB: Fixed bug #36392 (wrong number of decimal digits with %e specifier in
...
sprintf).
2006-12-22 15:30:18 +00:00
Antony Dovgal
2010ae0c5c
more OCI8 tests by Chris Jones
2006-12-22 13:28:46 +00:00
Antony Dovgal
a7e4f10ae2
more ext/date tests by Chris Jones
2006-12-22 13:07:26 +00:00
Ilia Alshanetsky
3eadc2ad58
MFB: Fixed bug #39873 (number_format() breaks with locale & decimal points).
2006-12-22 04:03:35 +00:00
Hannes Magnusson
2d0d09830c
Fix tests
2006-12-22 01:20:24 +00:00
Hannes Magnusson
5ed5c10517
Fix ZTS build...
2006-12-22 01:07:28 +00:00
Marcus Boerger
844b3a1b86
- Fix memory allocation/deallocation to match
2006-12-22 00:57:51 +00:00
Marcus Boerger
c130110b05
- Make custom serializing work with zstr (as discussed with andrei)
2006-12-22 00:47:27 +00:00
Andrei Zmievski
20e8a1ac55
Fix serialization test.
2006-12-22 00:37:20 +00:00
Andrei Zmievski
4385fe240e
levenshtein() already supported Unicode.
2006-12-21 23:52:22 +00:00
Andrei Zmievski
c745a2b18c
Metaphone will work only with binary runtime-encoded strings.
2006-12-21 23:43:52 +00:00
Marcus Boerger
8dd85147c4
- No misleading comments
2006-12-21 23:19:48 +00:00
Marcus Boerger
483aae6646
- Mark a fewthings as unicode ready
2006-12-21 22:56:58 +00:00
Marcus Boerger
8794071b21
- Serialization doesn't work with unicode data
2006-12-21 22:55:07 +00:00
Antony Dovgal
921d845f8d
temporary fix for oci_error(), just to make it work
...
it should be using add_ascii_assoc_text() instead
2006-12-21 22:50:57 +00:00
Antony Dovgal
b87049fd42
added support for CALL statement type (patch by Chris Jones)
2006-12-21 22:08:02 +00:00
Andrei Zmievski
757fb1e01f
Bite the bullet and port the natural comparison algorithm to support
...
UChar strings. Also, simplify the original code.
# Argggghh, post-incremented iteration sucks. That means you, U16_* stuff.
2006-12-21 21:47:56 +00:00
Antony Dovgal
5f79b1f89d
temp is freed in zend_unicode_to_string() on failure
2006-12-21 21:40:53 +00:00
Antony Dovgal
f7da0df587
lookup_browser_name cannot be NULL
2006-12-21 21:37:09 +00:00
Antony Dovgal
6292c75198
improve tests, add new ones
2006-12-21 19:22:49 +00:00
Seiji Masugata
eb81b301a6
Initial commit(Synced PHP_5_2 Branch.).
2006-12-21 17:44:40 +00:00
Seiji Masugata
0d9e23c38b
Synced PHP_5_2 Branch.
2006-12-21 17:37:53 +00:00
Rob Richards
867b39d111
MFB: fix issues identitified by coverity
2006-12-21 12:52:12 +00:00
Antony Dovgal
955e71c985
new tests by Christopher Jones
2006-12-21 12:41:03 +00:00
Ilia Alshanetsky
5da2c7a6df
MFB: Optimize out zend_hash_num_elements() call
2006-12-21 01:16:36 +00:00
Antony Dovgal
e2b3141df2
fix leak on error
2006-12-21 01:13:50 +00:00
Antony Dovgal
cbadf38682
fix possible leaks
2006-12-21 01:00:39 +00:00
Antony Dovgal
e5e9865197
bail out if zend_unicode_to_string() fails
2006-12-21 00:25:58 +00:00
Antony Dovgal
0bf0c3c75a
fix double free
2006-12-21 00:00:11 +00:00
Antony Dovgal
d0e2e6dfe2
fix potential leak, improve length checks
2006-12-20 23:36:43 +00:00
Marcus Boerger
ba2f82f2eb
- Quick hackto make tests pass
...
# There is something missing, ZVAL_TYPED_ASCII_STRING(z, type, char*,flags)
# Or am i overseeinghow that works?
2006-12-20 23:30:23 +00:00
Antony Dovgal
ddd8d7f3ef
do not allocate the return value if it wasn't requested
2006-12-20 23:30:11 +00:00
Antony Dovgal
2073b38b0f
fix double free on error
2006-12-20 22:42:59 +00:00
Marcus Boerger
09bee96044
- More unicode
2006-12-20 22:11:14 +00:00
Marcus Boerger
14a81a2974
- Add unicode expectations
2006-12-20 22:08:51 +00:00
Marcus Boerger
8fb4a771bc
- Fix test name
2006-12-20 22:08:35 +00:00
Andrei Zmievski
781517eee9
Unicode support in get_browser(). To avoid additional copying/conversion
...
during parsing, the browscap values in the returned array will be of
IS_STRING type.
2006-12-20 20:45:40 +00:00
Ilia Alshanetsky
646de57e0f
Fixed zts build
2006-12-20 19:48:32 +00:00
Antony Dovgal
abac61eec7
remove register_globals remains
...
maintain an internal reference of _SESSION, so that it won't be possible to destroy it from userspace
2006-12-20 19:20:59 +00:00
Ilia Alshanetsky
29f37953f9
MFB: Fixed bug #39898 (FILTER_VALIDATE_URL validates \r\n\t etc).
2006-12-20 19:20:22 +00:00
Andrei Zmievski
4d90ff003c
Align Unicode and binary versions of formatted printing.
2006-12-20 18:33:27 +00:00
Antony Dovgal
c2cc8bae75
don't reinvent the wheel, use sprintf()
2006-12-20 15:12:06 +00:00
Derick Rethans
481d3436bb
- Fixed the regexp so that the letter "v" also works.
2006-12-20 14:37:24 +00:00
Antony Dovgal
6fe75a0ae0
gracefully bail out on invalid header
2006-12-20 13:08:54 +00:00
Dmitry Stogov
a7c536fbcd
Make MEMORY_LIMIT and ZEND_USE_MALLOC_MM to be always enabled. They don't make a
...
ny significant slowdown, but incrise maintainability a lot. Note that the setting of memory_limit wasn't changes (neither in main/main.c nor in php.ini) and it
still set to 16M.
2006-12-20 10:50:46 +00:00
Hannes Magnusson
460360ae53
MFB:
...
- Fixed incorrect function names on FreeBSD where inet_pton() was named
__inet_pton() and inet_ntop() was named __inet_ntop()
- Fixed bug #39685 (iconv() - undefined function)
- Fixed bug #38852 (XML-RPC Breaks iconv)
2006-12-20 10:38:24 +00:00
Andrei Zmievski
b94785e86b
Unicode support in ezmlm_hash().
...
# 50% done, ladies and gents! http://www.php.net/~scoates/unicode
2006-12-19 22:54:24 +00:00
Marcus Boerger
39898f9f9d
- Use new 'x' parameter parsing
2006-12-19 22:31:26 +00:00
Marcus Boerger
362b986352
- Make spl_autoload_call() unicode safe
2006-12-19 22:30:59 +00:00
Andrei Zmievski
caa6247e01
Unicode support in set_include_path().
2006-12-19 22:01:50 +00:00
Nuno Lopes
71cf54dc4c
new test
2006-12-19 21:47:16 +00:00
Michael Wallner
88cd3100c7
- check CRYPTO_get_id_callback() if anyone else already set thread lock callbacks
2006-12-19 21:41:12 +00:00
Antony Dovgal
7565c841c8
MFB
2006-12-19 21:40:59 +00:00
Andrei Zmievski
e722dce575
- Marcus was too quick. Let's put type before zstr in the macros.
...
- Also mark get_include_path() and restore_include_path() with U.
2006-12-19 21:38:59 +00:00
Marcus Boerger
98dce57dd5
- Fix ZVAL_ZSTRL
2006-12-19 21:13:21 +00:00
Antony Dovgal
a38ccf3969
add check for setlocale() and sv_SE to SKIPIF section
2006-12-19 20:46:48 +00:00
Andrei Zmievski
7d966063f6
Unicode support in *printf() functions. (Antony, Andrei)
2006-12-19 18:41:40 +00:00
Nuno Lopes
3945428c9f
MFB: little cleanup in json_determine_array_type()
2006-12-19 15:01:57 +00:00
Antony Dovgal
7a965d5b5f
add missing SKIPIF sections
2006-12-19 14:16:08 +00:00
Dmitry Stogov
fb7237eebd
Support for systems without locale.h
2006-12-19 13:13:48 +00:00
Antony Dovgal
c5edb5a75e
fix test on MacOS
2006-12-19 13:11:30 +00:00
Antony Dovgal
5a11f3b174
fix serialize tests after s: -> S: change
2006-12-19 12:45:03 +00:00
Antony Dovgal
b38466a816
MFB: serialize() should use '.' as decimal point irrespectively to locale
2006-12-19 12:44:26 +00:00
Dmitry Stogov
869003830b
Fixed bug #39815 (SOAP double encoding is not locale-independent)
2006-12-19 11:55:16 +00:00
Dmitry Stogov
938f3d6efa
Added function stream_socket_shutdown(). It is a wraper for system shutdown() function, that shut downs part of a full-duplex connection
2006-12-19 08:59:26 +00:00
Brian Shire
3b4c2e0458
-Fixed bug #30074 (apparent symbol table error with extract($blah, EXTR_REFS))
...
# appoligies, I did this in reverse (applied to PHP_5_2) I should have MFH.
2006-12-19 08:02:48 +00:00
Pierre Joye
b29953d03c
- unicode support for the procedural API
2006-12-19 02:05:27 +00:00
Marcus Boerger
a0733cc2fa
- More tests
...
- Test naming
2006-12-18 23:01:29 +00:00
Hannes Magnusson
c8c1dc1891
Fix ZTS
2006-12-18 22:59:36 +00:00
Marcus Boerger
5a04fb4815
- Support members in SplObjectStorage serialization / shorter serialization
2006-12-18 22:32:10 +00:00
Andrei Zmievski
b04812609b
Unicode support in get_cfg_var().
2006-12-18 20:47:57 +00:00
Andrei Zmievski
b8ead0b253
Fix macro.
2006-12-18 20:40:51 +00:00
Andrei Zmievski
a21e097c54
Unicode support in parse_ini_file().
2006-12-18 20:39:40 +00:00
Ilia Alshanetsky
2d2ed1ef76
MFB: Fixed bug #39845 (Persistent connections generate a warning in
...
pdo_pgsql).
2006-12-18 17:56:51 +00:00
Ilia Alshanetsky
f6072e3bea
MFB: Cleanup & optimize php_filter_encode_url()
2006-12-18 15:42:31 +00:00
Ilia Alshanetsky
e96275d8a7
MFB: Less hackish support for spaces at the start of tags within
...
strip_tags()
2006-12-18 15:04:36 +00:00
Ilia Alshanetsky
6c784299e6
MFB: Fixed bugs with trimming of spaces
2006-12-18 14:57:20 +00:00
Antony Dovgal
8489fe67f1
fix #39850 (SplFileObject throws contradictory/wrong error messages when trying to open "php://wrong")
2006-12-18 14:55:23 +00:00
Dmitry Stogov
94527816f4
Fixed bug #39832 (SOAP Server: parameter not matching the WSDL specified type are set to 0)
2006-12-18 14:39:39 +00:00
Antony Dovgal
5e105ec732
fix test names
2006-12-18 11:12:41 +00:00
Hannes Magnusson
44693bbf85
- make %f locale aware again
...
- fix precision loss with %F (noticed by Sebastian Nohn)
- add new tests
2006-12-18 09:25:32 +00:00
Ilia Alshanetsky
0471dd1d94
MFB: Filter fixes:
...
Fixed possible double encoding problem with sanitizing filters
Make use of space-strict strip_tags() function
2006-12-18 04:24:38 +00:00
Marcus Boerger
e02a15a625
- Make this work in unicode mode
...
# Well of course i should have set the return type to ascii here :-)
2006-12-17 23:23:33 +00:00
Ilia Alshanetsky
503a78bc17
MFB: Fixed bug #39779 (Enable AUTH PLAIN mechanism in underlaying
...
libc-client).
2006-12-17 18:23:10 +00:00
Hannes Magnusson
f696bd11ac
MFB: fix build
2006-12-17 12:02:19 +00:00
Ilia Alshanetsky
9d99ba0619
MFB: Fixed bug #39846 (Invalid IPv4 treated as valid).
2006-12-16 21:48:21 +00:00
Hannes Magnusson
950ab95207
Fix ZTS build
2006-12-16 18:31:23 +00:00
Marcus Boerger
1b11ae1e74
- Implement feature request #39836i (SplObjectStorage empty after
...
unserialize)
# Unicode mode currently does not work...looks like funny changes in the
# unserializer.
2006-12-16 13:55:14 +00:00
Andrei Zmievski
37cd28d88e
Unicode support in ini_*() functions.
2006-12-15 23:28:10 +00:00
Wez Furlong
c2a7928496
merge php5 pdo_sqlite into head; this source compiles on both php5 and php6.
2006-12-15 05:03:02 +00:00
Andrei Zmievski
7ccba6624d
Use 'S' for escaped binary strings and 's' for non-escaped.
2006-12-14 23:41:57 +00:00
Rob Richards
c27c9666d3
add ability to call PHP functions from XPath
...
update test
2006-12-14 16:24:00 +00:00
Antony Dovgal
6f0472aa4c
erm.. somehow this part got here twice
2006-12-12 22:38:30 +00:00
Michael Wallner
57c7becedc
- utf8
2006-12-12 19:32:18 +00:00
Michael Wallner
6abefa16a0
- utf8 CREDITS and php_info API
...
- unicode progress in info.c
2006-12-12 19:25:47 +00:00
Andrei Zmievski
066ab3c3cf
Do not convert args to Unicode in getopt(), they should stay binary.
2006-12-12 18:24:16 +00:00
Andrei Zmievski
c46832a1d5
Make hebrev(c) support only binary strings.
2006-12-12 18:17:56 +00:00
Antony Dovgal
8eb42705d7
disable tests
...
I don't think it makes sense to test a segfault which we cannot fix..
2006-12-12 13:22:33 +00:00
Antony Dovgal
c3fb5e8045
fix test
2006-12-12 13:12:22 +00:00
Antony Dovgal
fc79cb0974
BFILE tests are only valid when Oracle is installed on the same host
...
skip them if it's not
2006-12-12 12:57:02 +00:00
Antony Dovgal
f9cace61b6
_THREAD_SAFE might be used instead of _REENTRANT
2006-12-12 12:11:44 +00:00
Antony Dovgal
172efe6886
missing part of the fix for #39795
...
crypt.h defines struct crypt_data only if _REENTRANT is defined
2006-12-12 12:06:00 +00:00
Antony Dovgal
70638c5cdf
fix test
2006-12-12 10:31:36 +00:00