Ilia Alshanetsky
9526ca998d
This is needed for BSD (FreeBSD, BSDi and possibly others), problem
...
was indentified by Melvyn Sopacua.
2002-10-25 20:09:53 +00:00
Ilia Alshanetsky
fdd2cb6024
Cleanup (make sterling happy).
2002-10-25 19:33:09 +00:00
Melvyn Sopacua
7e4beef623
- Add XSLT_REG_ERRMSG macro to register an error on the handle
...
- Rename constants to a bit more appropreate format
- Add XSLT_ERR_UNSUPPORTED_SCHEME to be returned for scheme handlers.
# Docs on xslt_set_scheme_handlers are in progress.
2002-10-25 19:23:15 +00:00
Melvyn Sopacua
d2f81e2083
Tests renamed
...
Remove dl() from skipif, for potential problems accross platforms and
versions.
2002-10-25 19:17:16 +00:00
Melvyn Sopacua
dbc6c32152
test renaming
2002-10-25 19:13:34 +00:00
Moriyoshi Koizumi
af9aefc9be
Additional fix for #20087
...
# Thanks, Derick!
2002-10-25 18:35:25 +00:00
Ilia Alshanetsky
c88e0fd5de
Fixed a bug in the test that would cause it to always fail.
2002-10-25 17:52:32 +00:00
Derick Rethans
9e1b9a89f9
- Fixed bug #20087 (Assertion failure when the value was empty)
2002-10-25 17:44:52 +00:00
Moriyoshi Koizumi
e7cc9d0274
Updated the test cases for htmlentities()
2002-10-25 13:12:31 +00:00
Moriyoshi Koizumi
16fc9f6539
Fix build if mbstring is enabled as shared extension.
2002-10-25 13:12:05 +00:00
Marcus Boerger
63a9d4fa2e
fix ZTS build
2002-10-25 11:50:35 +00:00
Derick Rethans
1a25797249
- Naming style
2002-10-25 11:20:45 +00:00
Marcus Boerger
0a7653263d
README.TESTING examples
2002-10-25 11:10:08 +00:00
Marcus Boerger
5a8ed1e734
New naming scheme
2002-10-25 11:09:01 +00:00
Marcus Boerger
ee4dfeec5d
New naming scheme
2002-10-25 10:59:52 +00:00
Marcus Boerger
0433e71a76
README.TESTING examples
2002-10-25 10:46:19 +00:00
Marcus Boerger
d5911a2cbb
remove unnecessary sections
...
#becomes an example
2002-10-25 10:28:37 +00:00
Marcus Boerger
63cffd7eae
Implemented dba_list() that returns an array rsrcid=>filename and a test.
2002-10-25 10:06:35 +00:00
Marcus Boerger
a707e77a1b
Added some tests for dba extension
2002-10-25 09:42:29 +00:00
Moriyoshi Koizumi
36447ebe05
Fixed null value check in php_mb_mbchar_bytes_ex() as it should be
2002-10-25 09:36:36 +00:00
Moriyoshi Koizumi
34aa59baf9
Added two new rows to MINFO that describes iconv library info.
2002-10-25 08:51:59 +00:00
Moriyoshi Koizumi
b309c0515c
Adjusted MINFO table style
2002-10-25 08:31:27 +00:00
Ilia Alshanetsky
b109f8e3bd
Added a mechanism allowing the disabling of the ability to change
...
certain INI options when safe_mode is enabled.
ATM three options are limited:
max_execution_time
memory_limit
child_terminate
This patch also fixes bug #17287 .
2002-10-25 01:06:46 +00:00
Moriyoshi Koizumi
75db2913f1
Added some cases which test if charset determination with
...
SG(default_charset) works.
2002-10-24 22:21:03 +00:00
Moriyoshi Koizumi
d347143fe1
Improved determine_charset() to look up SG(default_charset) value
2002-10-24 22:04:28 +00:00
Moriyoshi Koizumi
c7c418c25a
Added new test cases for htmlentities
2002-10-24 21:11:41 +00:00
Moriyoshi Koizumi
429f8fa6d7
Fixed ISO-8859-1 handling.
2002-10-24 21:10:45 +00:00
Marcus Boerger
82b96d99f3
implemented dba_handlers()
...
@Added dba_handlers() that lists all installed handlers in an array. (marcus)
2002-10-24 20:43:03 +00:00
Hartmut Holzgraefe
0e28eaf550
trying to fix #20063
2002-10-24 20:04:16 +00:00
Moriyoshi Koizumi
f2269ef4a3
Added € support to cp1252 table
2002-10-24 19:52:30 +00:00
Marcus Boerger
cb330eb5d7
-specify reason if connection is not specified
...
-remove unnecessary sections
2002-10-24 19:34:18 +00:00
Melvyn Sopacua
6695544db2
- Add locale string for FreeBSD
...
ATTN: Test nog longer skips, but fails. So whatever has changed since 4.2.3
affects BSD systems.
2002-10-24 19:17:11 +00:00
Marcus Boerger
e1508efb45
fix compiler warning?: implement default mentioned by manual
2002-10-24 19:17:08 +00:00
Marcus Boerger
15b2e277a4
fix compiler warning
2002-10-24 19:15:40 +00:00
Derick Rethans
67670560e4
- Protect function definitions with #ifdef's too
2002-10-24 18:49:57 +00:00
foobar
0bac55b4e7
- If functions are not available on OS, they're not available in PHP.
2002-10-24 18:31:11 +00:00
Marcus Boerger
86465058a4
one version for php<4.2.3 and one for php>=4.2.3
2002-10-24 18:18:44 +00:00
Ilia Alshanetsky
e4becf42ed
Added an ini option to hide the expected memory leak. This is done for
...
compatibility with systems where report_memleak is turned off or running
PHP with --disable-debug.
2002-10-24 17:02:44 +00:00
Marc Boeren
acea3ab036
Changed the dbx_oci8 behaviour to return lowercase column-names,
...
which is a hack but at least it makes it easier for users
to create portable apps.
# Perhaps this should be controlled by a (.ini?) directive or define
# which determines the change (toupper, tolower, nochange)?
2002-10-24 14:26:14 +00:00
Marc Boeren
b5783184ea
Not happy with the hack to handle the uppercase fieldnames that oracle
...
returns. Changed the dbx_oci8 behaviour to return lowercase instead,
which is also a hack but at least it makes it much easier for users
to create portable apps (Mc).
# also, I prefer lowercase :-)
2002-10-24 14:16:28 +00:00
Moriyoshi Koizumi
e95fa639d6
Reverted because my patch doesn't make sense: it was just my problem.
2002-10-24 14:12:06 +00:00
Moriyoshi Koizumi
06012c3f42
Fix build
2002-10-24 14:01:45 +00:00
Sascha Schumann
2909e5c9c9
centralize #include "build-defs.h" and drop (sometimes inconsistent) other
...
instances
2002-10-24 13:15:49 +00:00
Derick Rethans
beffb8164c
- True and false are not always defined, used numbers now
2002-10-24 12:52:13 +00:00
Sascha Schumann
6bf422d62e
Make PHP compile out-of-the-box with uClibc
2002-10-24 12:21:07 +00:00
Sascha Schumann
e60c601bd1
improved warning message
...
# this should really link to an external page which explains the issue deeply
2002-10-24 10:40:48 +00:00
Jan Lehnardt
cf4d435a12
- fix segfault in proc_open
...
#no bugreports found
2002-10-24 08:46:21 +00:00
Ilia Alshanetsky
9d079e9b3e
Various corrections aimed at making the test's results consistent across
...
all enviroments.
2002-10-24 02:40:03 +00:00
Marcus Boerger
1ff1e6496b
use german characters for a test with german locale
2002-10-24 00:49:38 +00:00
Marcus Boerger
339dfe0cd2
better use var_dump and EXPECTF
...
#seems i waited for EXPECTF
2002-10-23 23:51:15 +00:00
Moriyoshi Koizumi
74883a9583
Make php_mb_is_mb_leadbyte() obsolete. It only works with double-byte chars.
...
# Sorry Marcus, it seems we were working simultaneously :)
2002-10-23 23:25:27 +00:00
Marcus Boerger
37d2a1dd08
fix warning
2002-10-23 23:09:08 +00:00
Marcus Boerger
b321568b96
fix warning: used in rfc1867.c
2002-10-23 23:08:20 +00:00
Marcus Boerger
015832d81e
fix style and warnings
2002-10-23 23:07:14 +00:00
Ilia Alshanetsky
2f3cd572fb
Added 'skip logic' to the test on platforms where the locale required by
...
this test is not avaliable.
2002-10-23 23:04:43 +00:00
Melvyn Sopacua
703e360a35
suddenly, there was a newline
2002-10-23 22:21:40 +00:00
Moriyoshi Koizumi
069bfc57d9
Updated the test case
2002-10-23 20:38:18 +00:00
Moriyoshi Koizumi
3bc01b5d0b
Modified mb_convert_case() to handle cased characters properly when MB_CASE_TITLE is specified.
2002-10-23 20:32:51 +00:00
Moriyoshi Koizumi
d59f9b756e
Fixed comment position.
...
# Sorry for repetitive commit logs :)
2002-10-23 19:58:37 +00:00
Melvyn Sopacua
d365b09ec3
Make it work without .php files
2002-10-23 19:52:26 +00:00
Moriyoshi Koizumi
afa9f42f47
Function renaming.
2002-10-23 19:51:50 +00:00
Moriyoshi Koizumi
83fd27ee0a
Added folding markers for happier hacking
2002-10-23 19:38:46 +00:00
Andrey Hristov
d9c067ecc7
Test case regarding randomization of shuffle() and str_shuffle().
...
The code was provided by Adam Trachtenberg : adam trachtenberg com
2002-10-23 19:33:12 +00:00
Moriyoshi Koizumi
e8e614101d
Style keisatsu
2002-10-23 19:20:27 +00:00
Moriyoshi Koizumi
fdc91ccc73
Renaming the functions.
2002-10-23 18:32:55 +00:00
Moriyoshi Koizumi
b7703551ed
Remaned the functions for consistency
2002-10-23 16:54:31 +00:00
Moriyoshi Koizumi
cbc9256fc9
MFH
2002-10-23 16:48:33 +00:00
Hartmut Holzgraefe
a681203a83
don't assume yp-functions are always in libc, try also libnsl
2002-10-23 16:04:03 +00:00
Marcus Boerger
fa95a4a269
Shorten
...
# will be used as an example in README.TESTING
2002-10-23 12:47:31 +00:00
Marc Boeren
4448c3f69f
Added Oracle (oci8) support
...
@Added Oracle (oci8) support to dbx module (Mc)
2002-10-23 10:50:22 +00:00
Marc Boeren
1b50e47648
Updated tests for Oracle (oci8) support (Mc)
2002-10-23 10:45:29 +00:00
foobar
d313b3c285
- No tabs, no echoing, no unnecessary code
2002-10-23 02:46:09 +00:00
Hartmut Holzgraefe
cdecc42086
make it work with pre-v5 fdftk again
2002-10-23 01:11:06 +00:00
Moriyoshi Koizumi
4758b109a5
Do the same test as ext/standard/test/strings/strtoupper.phpt does
2002-10-22 20:34:53 +00:00
Moriyoshi Koizumi
68a5d1bca3
Improved determine_charset() to use mbstring.internal_encoding when the last
...
param is a null string. (If the param is omitted, it takes iso-8859-1 as
the default charset in favour of backwards compatibility.)
2002-10-22 20:11:48 +00:00
Melvyn Sopacua
d6e639a02f
test for locale support in strtoupper
2002-10-22 19:39:17 +00:00
Ilia Alshanetsky
62aefeb01f
Fixed ZTS build.
2002-10-22 18:54:09 +00:00
Marcus Boerger
14626a1836
ups - the other way round of course
2002-10-22 18:47:41 +00:00
Marcus Boerger
376dcd80bb
Updated tests
2002-10-22 18:40:30 +00:00
Marcus Boerger
822e9b6e56
Fix this extension.
...
#The problem was that the extension suspected the hash list to be a
#straight forward list with no closed elements.
2002-10-22 18:39:05 +00:00
Marcus Boerger
e2a62e21c2
Fix for cases when new_length is NULL
2002-10-22 18:27:56 +00:00
Ilia Alshanetsky
30abd18322
Fixed a possible segmentation fault in file() function.
2002-10-22 18:07:11 +00:00
Ilia Alshanetsky
9f6a8748e1
Small corrections to the expected output.
2002-10-22 17:38:13 +00:00
Ilia Alshanetsky
6b67dc8dd5
Fixed implode test
2002-10-22 17:17:56 +00:00
Jon Parise
f62fc1a0ef
Correct case for README.TESTING.
2002-10-22 12:28:49 +00:00
Marcus Boerger
32a77eff78
Update documentation
2002-10-22 09:00:52 +00:00
Frank M. Kromann
938a78a85b
Fixing check to enable dl() for both cgi and cgi-fcgi
2002-10-22 07:00:51 +00:00
foobar
7d3dc68a79
Nuke tabs.
2002-10-21 23:41:55 +00:00
foobar
f93096ecb6
Removed tabs and combined those multiple AC_CHECK_FUNCS calls to one.
2002-10-21 23:41:38 +00:00
Ilia Alshanetsky
d8480c8088
Fixed symlink/link functions on ZTS builds.
...
Made URL detection in symlink code use php_stream_locate_url_wrapper().
2002-10-21 23:35:29 +00:00
foobar
0abca4f60a
Cleanup. (no tabs here!)
2002-10-21 22:58:52 +00:00
Wez Furlong
dabf1053cd
Refine stream_select() to work with streams that have data in their read
...
buffers.
When selecting for read, the streams are examined; if any of them have
pending read data, no actual select(2) call is performed; instead the
streams with buffered data are returned; just like a regular select
call.
Prevent erroneous warning in stream_select when obtaining the fd.
2002-10-21 22:54:37 +00:00
Sterling Hughes
102c945501
no need to double fetch
2002-10-21 22:35:59 +00:00
Hartmut Holzgraefe
eb137d3d80
@ updated FDF extension to work with current Adodeb fdftk 5.0 (hartmut)
...
reworked some existing stuff
added some functions suporting stuff that have been added since fdftk 2.0
emulating read from/save to strings by transparently using temp. files
(activeX version of fdftk has this, but not plain C version :( )
2002-10-21 19:55:28 +00:00
Hartmut Holzgraefe
f768d343f5
fixed build for getopt_long-less platforms,
...
removed left-over todo comments
2002-10-21 19:24:48 +00:00
foobar
3fd56c2995
Changed --with-gd to behave same way as --with-mysql does.
2002-10-21 19:19:08 +00:00
Moriyoshi Koizumi
bce3d0cf7d
Renamed the test cases.
2002-10-21 19:19:05 +00:00
Jon Parise
20e6ed36ec
Convert C++ style comments to C style comments.
2002-10-21 19:12:13 +00:00
Hartmut Holzgraefe
30ed5a5483
killed some warnings identified by sebastian
2002-10-21 19:08:18 +00:00
Hartmut Holzgraefe
8b7e9d7774
some changes to how request input data (Content-Lenght >0) is handled
...
- webdav-specific stuff removed (should be handled using httpd.conf
LIMIT or equivalents)
- always_populate_raw_post_data now working on any method, not just
POST (and webdav methods with allow_webdav_methods), when
Content-Length is greater zero
- raw input data is also available using php://input stream,
this way one doesn't have to care about memory_limit
- input data is now always consumed (although maybe ignored,
this fixes we had withproblems with keep-alive connections
@ raw POST data is now available as php://input stream (hartmut)
2002-10-21 16:41:06 +00:00
Hartmut Holzgraefe
b67b00efcd
getopt() now supports long options on platforms that have getopt_long()
...
getopt() now working independant of register_argc_argv settings
2002-10-21 16:07:21 +00:00
Hartmut Holzgraefe
ed75204a85
ZTS build fix
2002-10-21 14:56:42 +00:00
Thies C. Arntzen
31e4d62378
#19948
2002-10-21 11:00:40 +00:00
Moriyoshi Koizumi
4eadff2233
More style fixes...
2002-10-21 10:47:41 +00:00
Moriyoshi Koizumi
d953754d74
Let them say why they are skipped
2002-10-21 10:35:02 +00:00
Melvyn Sopacua
b4b26c2f9b
Skip this when strtoupper doesn't behave as expected, because casefolding
...
depends on this.
2002-10-21 08:55:07 +00:00
foobar
3be17e3f26
- Prevent resetting the PHP_*_DIR variables if already set.
2002-10-21 02:46:13 +00:00
Moriyoshi Koizumi
821349465a
style keisatsu :)
2002-10-21 02:39:53 +00:00
Moriyoshi Koizumi
cee696d9e7
Added a new test case to confirm the inconsistent regex behaviour reported
...
on php-users@php.gr.jp (10830)
2002-10-21 02:27:51 +00:00
Moriyoshi Koizumi
fe7c6debd9
Changed the dafault option for consistency
2002-10-21 02:24:06 +00:00
Moriyoshi Koizumi
f45231a8ed
Added mb_strtolower() and mb_strtoupper()
...
@- Added mb_strtolower() and mb_strtoupper(). (Moriyoshi)
2002-10-21 01:44:59 +00:00
foobar
2a81281fd2
Align with other configure --help texts
2002-10-21 00:35:17 +00:00
foobar
e232b212ba
There is no point doing this test. Some systems think root can always execute so this is always true.
2002-10-21 00:30:05 +00:00
Moriyoshi Koizumi
852117694a
Changed mb_regex_set_options() more informative
2002-10-20 15:11:04 +00:00
Derick Rethans
3322581c04
- Only include ftok() if it is available
2002-10-20 13:35:56 +00:00
Derick Rethans
c5a73b31f6
- Remove #ifdefs around ftok function so that it is also available when
...
none of the IPC extensions are enabled.
2002-10-20 10:18:20 +00:00
Moriyoshi Koizumi
7fb4938981
ZTS fixes
2002-10-20 07:16:20 +00:00
Masaki Fujimoto
a6ecdca0ef
fixed highlight related bugs (in case shift_jis input/output filters are enabled)
2002-10-20 02:57:40 +00:00
Maxim Maletsky
4efcd0f5d1
fixed proto: OCIExecute() returns boolean, not integer
2002-10-20 02:20:13 +00:00
Derick Rethans
11961b1311
- Hopefully fix test file problems
2002-10-19 19:17:13 +00:00
Ilia Alshanetsky
3443f07b3f
Silence compile warning.
2002-10-19 17:13:14 +00:00
Maxim Maletsky
fd04def23b
a silly comment typo
2002-10-19 16:11:16 +00:00
Maxim Maletsky
39afab2039
- fixed proto for OciBindByName to represent the forth parameter optional
2002-10-19 15:51:04 +00:00
foobar
0d98fc6777
--with-zlib-dir has to be defined here to enable phpize build
2002-10-19 13:27:53 +00:00
Wez Furlong
829f1855fd
made fgets() binary safe.
...
php_stream_gets is now a macro which calls php_stream_get_line. The latter
has an option argument to return the number of bytes in the line.
Functions like fgetcsv(), fgetss() can be made binary safe by calling
php_stream_get_line directly.
# HEADS UP: You will need to make clean after updating your CVS, as the
# binary signature has changed.
2002-10-19 13:11:48 +00:00
Derick Rethans
8998bce403
- Style polizei =)
2002-10-19 12:58:41 +00:00
Marcus Boerger
cda87f7509
Allow ifd start at offset other than 00000007h and provide testcase.
...
#Now we can read images modified by Exifer.
2002-10-19 09:52:00 +00:00
Yasuo Ohgaki
572b2a5a5a
Revert invalid patch. It seems the real problem is in php error
...
function(s). It exits with return code -1 when php_error_docref()
is called.
There is custom error handler and without custom error handler,
it is working.
2002-10-19 06:05:16 +00:00
Yasuo Ohgaki
29a53a47f6
Skip field when there is obvious error.
...
Fixed freeing of wrong zval.
2002-10-19 04:46:19 +00:00
Yasuo Ohgaki
98ab76d23c
Fixed typo.
2002-10-19 04:01:27 +00:00
Ilia Alshanetsky
c3270448ac
Added handling for file:/ schema, which does not contain a host.
2002-10-18 23:54:58 +00:00
foobar
4821b2f301
ws fixes
2002-10-18 22:08:23 +00:00
Ilia Alshanetsky
4b83b189fe
Fixed bug #19971 (optimized the file() function).
...
The file() function is now also binary safe.
2002-10-18 20:39:49 +00:00
Wez Furlong
9b87199e2a
Improve file().
...
Patch by Tal Peer <tal@php.net>
2002-10-18 16:55:47 +00:00
Andrei Zmievski
92d61459c0
@- Fixed an infinite loop in setlocale() when only invalid locale names
...
@ were passed in the array. (patch by Pal Loberg, pallo@initio.no ).
2002-10-18 13:07:50 +00:00
Tal Peer
af3493d30c
Changed fribidi_get_charsets() return value to also include the constant
...
itself (as the key).
2002-10-18 08:59:15 +00:00
Yasuo Ohgaki
5693bd4cdf
Added tests for new functions
2002-10-18 07:52:09 +00:00
Yasuo Ohgaki
7094b48b23
Added pg_get_pid()
2002-10-17 23:41:34 +00:00
Ilia Alshanetsky
30c16baac2
Renamed word_count to str_word_count to comply with naming conventions.
...
Thanks Andi, for catching this oversight.
2002-10-17 22:44:44 +00:00
Tal Peer
56f744e0df
Improved fribidi_charset_info() slightly
2002-10-17 18:32:16 +00:00
Tal Peer
b941224d5d
New functions:
...
fribidi_get_charsets()
fribidi_charset_info()
@- Added function fribidi_get_charsets() (Tal)
@- Added function fribidi_charset_info() (Tal)
2002-10-17 18:04:43 +00:00
Harald Radi
84c9395f18
@ fixes bugs #19156 and #19544 (memleak)
2002-10-17 16:21:00 +00:00
Ilia Alshanetsky
cdf39db369
Added support for file:/. Thanks to Thies for noticing the problem.
2002-10-17 13:59:55 +00:00
Thies C. Arntzen
58d1ee0915
@- Added Oracle TIMESTAMP type to oci8 extension. (thies)
2002-10-17 08:09:31 +00:00
Yasuo Ohgaki
601a507ad6
Added async message function - pg_get_notify()
2002-10-17 07:58:46 +00:00
Yasuo Ohgaki
29d16f67f4
Remove mysql_result_seek() alias.
2002-10-17 07:24:04 +00:00
foobar
9870028d05
Fix this for Wez and his antique ucd-snmp
2002-10-17 06:39:55 +00:00
foobar
258177fafa
Fix the phpize build
2002-10-17 05:06:53 +00:00
foobar
fcfa4ea62f
Part 1 of fixing the shared build
2002-10-17 04:42:22 +00:00
foobar
d1c252b48b
--with-zlib-dir was missing. Needed for phpize builds
2002-10-17 04:21:53 +00:00
Ilia Alshanetsky
47b57f2569
Added word_count() function that allows counting of words inside a string.
...
The function also allows the user to retrieve all the words from a string.
2002-10-17 03:27:19 +00:00
foobar
8aaa004980
ws fixes
2002-10-17 02:51:22 +00:00
Harald Radi
7bacb2fcc4
@ changed the VARIANT class to be able to create arrays of all types
...
@ and not only VT_VARIANT
2002-10-16 23:56:33 +00:00
Rasmus Lerdorf
ebfd9aaa47
Fix for bug #19941
2002-10-16 22:34:44 +00:00
Rui Hirokawa
6f46548412
modified zend_bool handling code.
2002-10-16 14:08:47 +00:00
Rui Hirokawa
22f44fa673
*** empty log message ***
2002-10-16 13:37:49 +00:00
Rui Hirokawa
585eefca14
fixed a problem when mbstring.encoding_translation is defined per directory basis.
2002-10-16 13:27:40 +00:00
Rui Hirokawa
e5f81ee881
fixed a problem when mbstring.encoding_translation is defined per directory basis.
2002-10-16 13:22:57 +00:00
foobar
16de7dd8a7
- Fixed memleak when connection fails.
...
- Fixed snmpget() to work with net-snmp
- Fixed the error messages to use the new style.
2002-10-16 02:33:47 +00:00
foobar
e99b3cdff2
Some more compatibility fixes for net-snmp vs ucd-snmp
2002-10-16 00:58:15 +00:00
foobar
3c863a6da1
- Fix the last commit..(thanks to Harrie Hazewinkel <harrie@lisanza.net>)
2002-10-16 00:29:56 +00:00
Edin Kadribasic
4a7c12a210
Added win32 project file.
2002-10-16 00:02:32 +00:00
Wez Furlong
2f6952c936
Nope, that last one wasn't a leak in main/streams.c, it was
...
file_get_contents misinterpreting the result...
2002-10-15 16:45:26 +00:00
Sterling Hughes
c2624f4269
Fix a problem relating to these structure symbols being redefined on LFS
...
systems.
Fix by Sascha Schumann <sascha@apache.org>
2002-10-15 16:41:39 +00:00
Wez Furlong
30f9c47d61
Fix for 19906.
...
gzeof has different semantics from feof, in that gzeof will return true
if the read position is at EOF, even if the most recent read was 100%
successful.
feof will return true only (usually) if the most recent fread failed.
2002-10-15 16:01:00 +00:00
Sterling Hughes
57440cc984
hopefully silence compile warnings on Solaris related to HUGEVAL being
...
undefined.. HUGEVAL is defined (well the manual would indicate so) in
stdlib.h, not math.h.
Bug #: 19807
2002-10-15 14:51:01 +00:00
Andrei Zmievski
c65c182693
Upgrade to version 3.92.
2002-10-15 13:59:58 +00:00
Ilia Alshanetsky
b4348434be
Fixed the output_handler ini setting.
...
Code cleanup.
2002-10-15 12:48:21 +00:00
Ilia Alshanetsky
04db537d97
Added tests for %e & %E
2002-10-15 12:08:02 +00:00
Ilia Alshanetsky
95312e994e
Fixed bug #4232 . (Added support for %e and %E to printf/sprintf)
2002-10-15 12:07:36 +00:00
Derick Rethans
1a08e5b622
- Staying consistent with other tests
2002-10-15 06:37:05 +00:00
Wez Furlong
94ef7bc81e
Don't use streams-level buffer on zlib streams.
2002-10-15 02:27:15 +00:00
foobar
23706f18d6
Make this thing to compile with net-snmp-5.0.x
2002-10-15 00:43:34 +00:00
Marcus Boerger
d396d9c7ce
remove ob_end_clean() and instead use ini section
...
#Derick you're right this was no good idea. I just left it over after testing
#the test.
2002-10-15 00:35:05 +00:00
foobar
9618e4e854
This test should not print out the error (which is correct).
2002-10-14 23:09:48 +00:00
Ilia Alshanetsky
aba1996d95
Fixed bug #19649 .
2002-10-14 18:13:18 +00:00
Ilia Alshanetsky
fed3b964ea
Added float printing tests.
2002-10-14 16:31:56 +00:00
Ilia Alshanetsky
99f2fc81f3
Fixed a bug (introduced in previous patch) that caused non-double values to
...
be converted to 0 by printf/sprint functions when %f format is specified.
2002-10-14 16:03:16 +00:00
foobar
1fa263a4ec
This is not zval..
2002-10-14 02:46:52 +00:00
Wez Furlong
86e60a2d7a
@- fgets($fp) (with no length parameter) now uses a buffer as long as the
...
@ the next line available from the $fp. Previously, there was a 1KB limit.
@ (Wez)
2002-10-14 02:28:35 +00:00
Wez Furlong
39f8d4c971
Add a sanity check and more verbose output in the case of an error.
2002-10-14 02:25:51 +00:00
Wez Furlong
70b796b143
(php_socket_errno) win32 errno compatible macro.
...
(php_socket_strerror) win32 compatible strerror replacement.
Add an E_NOTICE when a socket write fails.
2002-10-13 22:01:40 +00:00
Derick Rethans
f9fdd74a03
- Fixed bug #19885 , dl() no longer gives a fatal error when a module
...
could not be loaded. (Derick)
2002-10-13 14:14:34 +00:00
Derick Rethans
bfc3250187
- Hardcode dependent ini setting
2002-10-13 11:14:49 +00:00
Yasuo Ohgaki
1917f5f382
Fixed proto. Clean up.
2002-10-13 09:48:18 +00:00
Yasuo Ohgaki
a6de0807ae
Need to init connstring when there are 2 args.
2002-10-13 09:41:35 +00:00
Yasuo Ohgaki
2c23e56c7f
Introduce connect_type option to pg_connect().
...
pg_connect(conn_str, conn_type) is allowed.
@Added PGSQL_CONNECT_FORCE_NEW option to pg_connect() (Yasuo)
# If you have better idea about constant name(s), let me know.
2002-10-13 09:37:27 +00:00
Yasuo Ohgaki
6edd9d2f72
Enable pg_escape_bytea().
2002-10-13 03:00:48 +00:00
Ilia Alshanetsky
b855893b0c
Fixed ZTS build
...
Fixed 2 ZTS related warnings
2002-10-13 01:40:46 +00:00
Wez Furlong
3a8c49afc1
Make PHP follow 301 correctly.
...
# There may be other cases that need handling properly; I'll have to spend
# some time investigating why we even need special cases now; it's got
# something to do with Ilia's patch to fix memory leaks.
2002-10-13 01:03:43 +00:00
Derick Rethans
db89afc45b
- Hardcode setting which affects the test
2002-10-12 17:12:43 +00:00
Derick Rethans
8f7f6045b0
- Make the test do what it says
2002-10-12 16:53:13 +00:00
Sander Roobol
36fd03b578
Typo
2002-10-12 16:16:36 +00:00
Ilia Alshanetsky
bcf1d4ff80
Fixed a bug introduced by previous patch.
2002-10-12 16:09:01 +00:00
Stefan Esser
89f4f7b8f5
I already said that this construct was wrong...
...
most probably fixes bug #19876
2002-10-12 08:16:20 +00:00
Ilia Alshanetsky
a0489ac950
Fixed memory leaks.
2002-10-12 03:11:28 +00:00
Rui Hirokawa
8884469e11
changed INI restriction to enable per-directory settings.
2002-10-12 01:18:43 +00:00
foobar
3e23ab6893
Made the fribidi-config search a bit better.
2002-10-12 01:14:42 +00:00
Tal Peer
814373e8b7
Use var_dump instaed of plain echo
2002-10-11 20:20:52 +00:00
Moriyoshi Koizumi
f5b53c17ab
Improved the test cases so that they will be skipped rather than failed, if libiconv is not used.
2002-10-11 18:07:47 +00:00
Markus Fischer
f43e4cc93d
- Document were the first test came from.
2002-10-11 18:06:15 +00:00
Moriyoshi Koizumi
764df05768
*** empty log message ***
2002-10-11 17:48:39 +00:00
Moriyoshi Koizumi
adbdd71dc8
Fixed possible compile-time failure
2002-10-11 17:01:34 +00:00
foobar
e7b49d64a6
Renamed and fixed constant
2002-10-11 15:50:37 +00:00
foobar
12c713cf7f
- Removed ext/icap (ext/mcal is the one to be used)
2002-10-11 15:30:44 +00:00
foobar
0654763cc6
ws fix
2002-10-11 15:25:36 +00:00
Ilia Alshanetsky
8c6088839b
Added test for explode() function.
2002-10-11 15:19:57 +00:00
Ilia Alshanetsky
b7917def13
Fixed bug #19865
2002-10-11 14:48:25 +00:00
Christian Stocker
0e384b473b
text and comment nodes do not have children... test was wrong, implementation
...
is right :)
2002-10-11 14:02:59 +00:00
Christian Stocker
820e5b766a
node->attributes returns null, if there are no attributes.
2002-10-11 14:00:12 +00:00
Derick Rethans
e06550f853
- Fix problem with var_export when objects with numeric indexes were
...
exported. We now skip those, as there is no way to export valid code for
it.
2002-10-11 13:49:20 +00:00
foobar
edc755aa54
fix typo.
2002-10-11 13:43:24 +00:00
Derick Rethans
5a6243a4b5
- Change constant name
2002-10-11 13:09:48 +00:00
Sander Roobol
524c9ef26a
Fixed problems with the new nl2br() and beautified the code a little.
...
Closes #19858 .
2002-10-11 12:42:01 +00:00
Derick Rethans
4da5ec8965
- Add case for bug 19858
2002-10-11 11:03:36 +00:00
Derick Rethans
bbf6b5fee4
- Skip if an external lib gd is used (which always has this crash-bug)
2002-10-11 10:08:42 +00:00
Derick Rethans
7713b4097d
- Add indetified for bundled GD
2002-10-11 09:49:38 +00:00
Derick Rethans
03b3478754
- Style polizei :)
2002-10-11 08:15:05 +00:00
Moriyoshi Koizumi
d2f99493a0
Reformatted.
...
# Still bad?
2002-10-11 08:01:18 +00:00
Moriyoshi Koizumi
1a867685a0
Added ICONV_IMPL and ICONV_VERSION constants.
...
@- Added ICONV_IMPL and ICONV_VERSION constants to iconv extension to
@ indicate which iconv implementation is used. (Moriyoshi)
2002-10-11 07:50:47 +00:00
Moriyoshi Koizumi
fe79eaf08f
Added set_time_limit(); We should stop it in some time. See the comment in the script for detail.
2002-10-11 07:38:18 +00:00
Sebastian Bergmann
fcf35e7b4c
Fix ZTS build.
2002-10-11 04:44:14 +00:00
Ilia Alshanetsky
287b7f9bcb
Switched from localeconv to localeconv_r, which is apparently thread-safe.
2002-10-11 03:19:38 +00:00
Sterling Hughes
f61889e72d
revert patch
2002-10-10 19:24:45 +00:00
Melvyn Sopacua
641f346cf6
Another small test for iconv transliteration, from GNU libiconv testkit
2002-10-10 19:06:00 +00:00
Andrey Hristov
cd282dad98
ws fixes
2002-10-10 18:41:24 +00:00
Moriyoshi Koizumi
9520422501
Fixed the encoding
2002-10-10 17:16:46 +00:00
Moriyoshi Koizumi
7b3fb01072
Updated the test cases so that they use mb_regex_set_options.
...
Added a test for mb_regex_set_options.
2002-10-10 17:05:04 +00:00
Moriyoshi Koizumi
2f88f504c1
Fixed mb_regex_set_options()
2002-10-10 17:00:36 +00:00
Moriyoshi Koizumi
70742ae9b6
--disable-mbregex had no effect
2002-10-10 16:57:52 +00:00
Melvyn Sopacua
e4e53bb4b3
It used to be 003
2002-10-10 16:49:33 +00:00
Ilia Alshanetsky
bc14a6f133
This patch fixes handling of floats on locales where decimal point is not a
...
'.'. Problem is best demonstrated by bug #17079 .
2002-10-10 16:29:35 +00:00
Melvyn Sopacua
d49b576243
Fix platform dependencies, setlocale output, bug #19836
2002-10-10 15:27:11 +00:00
Ilia Alshanetsky
67c081afd6
Fixed a few more memory leaks.
2002-10-10 14:46:18 +00:00
foobar
1b5ee53dd7
- Fix the text alignment to be about same in any browser.
...
# Please test this, it's now same in NS 4.78 (linux), IE 5.5 and
# Mozilla 1.2a (win32). (I don't have any other browsers installed now)
2002-10-10 04:28:15 +00:00
foobar
d448bd7840
Be consistent with other extensions.
2002-10-10 04:26:03 +00:00
foobar
9029b356b2
- Cleaned up some code and used the proper macros for ZTS stuff.
...
- Fixed a memleak.
- Fixed a bug in pfpro_process() when response contains only 2 entries.
(random garbage added in the end of the value + key sometimes wrong)
# Sorry for including the ws fixes..I got carried away when fixing that bug
2002-10-10 02:23:24 +00:00
foobar
7c7905468b
- Fixed the payflowpro version check and cleaned up this a bit.
2002-10-10 00:24:26 +00:00
foobar
1345c76162
Revert previous change, it did not fix anything.
2002-10-09 23:18:47 +00:00
Melvyn Sopacua
418908f994
Test for standard transliteration.
...
Original check-translit from GNU libiconv-1.8
2002-10-09 23:16:39 +00:00
James Cox
fbd4b1733d
overrule <center>
2002-10-09 22:32:01 +00:00
Derick Rethans
c10b169670
- Use a more descriptive filename
2002-10-09 20:30:30 +00:00
Jan Lehnardt
d888b62eb2
- remove ext/cybercash
...
- http://www.verisign.com/support/cyberCash/dnsChangeNotification.html
- The migration of CyberCash merchants to the VeriSign Payflow service is
- scheduled for completion in mid-February. At that time we will begin the
- shutdown of the CyberCash payment gateway and all related systems. This
- final shutdown process requires us to change DNS for the VeriSign Payflow
- service. The DNS change is scheduled at approximately 6PM ET on February 28,
- 2002.
@- removed ext/cybercash (jan)
2002-10-09 20:20:18 +00:00
Moriyoshi Koizumi
cfcfd094e9
Renamed the test case files in order to avoid confusion
2002-10-09 20:19:13 +00:00
Jan Lehnardt
1df2d5eecb
- let's talk about leftovers.....
2002-10-09 19:36:54 +00:00
Jan Lehnardt
e797cdb421
- fix alignment
2002-10-09 19:27:16 +00:00
Jan Lehnardt
a3fea96a7a
- note aspell
2002-10-09 19:25:17 +00:00
Jan Lehnardt
4aed2f2308
- R.I.P. ext/ccvs.
...
@- removed ext/ccvs (jan)
2002-10-09 19:15:31 +00:00
Jan Lehnardt
31b0867fe6
- R.I.P. ext aspell
...
@- removed ext/aspell (jan)
#configure note follows
2002-10-09 19:12:32 +00:00
Jan Lehnardt
6b3234f3d4
- fix build on FreeBSD, verified by thies.
2002-10-09 18:59:15 +00:00
Sterling Hughes
2c4aa71d32
clean these functions up using zend_parse_parameters and nuke the use of
...
HASH_OF() which is inappropriate in these cases...
2002-10-09 18:29:45 +00:00
Sterling Hughes
521a9bdadc
small cleanups...
2002-10-09 17:15:56 +00:00
Colin Viebrock
46a96d9363
no charsets, only basic entity escaping
2002-10-09 14:39:39 +00:00
Derick Rethans
6b3820a510
- Skip when GD is not available
2002-10-09 13:54:21 +00:00
Andrey Hristov
868ae8b6e0
ws fixes.
2002-10-09 13:50:06 +00:00
Derick Rethans
f6f58fc300
- Added test case for bug #19266
2002-10-09 13:48:28 +00:00
Zak Greant
70e49320f1
Removed spurious code. Thanks Derick
2002-10-09 13:46:18 +00:00
Ilia Alshanetsky
a75eb9c4dd
Optimizations to various php string functions substr_count(), strrev(),
...
nl2br(), php_addslashes() and php_memnstr().
2002-10-09 13:37:02 +00:00
Ilia Alshanetsky
40d1127568
Fixed memory leaks.
2002-10-09 13:29:10 +00:00
Zak Greant
6a590082ca
Minor tweak - using memcpy(), instead of strcpy() for static strings. Gives better performance. Thanks Zeev.
2002-10-09 13:05:42 +00:00
Rui Hirokawa
382a92cc5a
added @ to suppress a notice.
2002-10-09 12:54:52 +00:00
Zak Greant
0ecf32f750
Possible fix for bug #19529 (thanks Rasmus, Arjen and Monty)
...
Major changes to _restore_connection_defaults
- added code block to finds and releases the active mysql result (if any)
- this should prevent the 'Commands out of sync' error that would be
raised when a query is made when unfreed results exist
Minor changes to _restore_connection_defaults
- replaced calls to mysql_real_query with mysql_query
- we probably should not be using mysql_real_query without checking to
see if we have a version that supports the function.
- given that we control the query strings here and do not need to
worry about binary safety, I am using mysql_query instead
- see the bug report for further discussion
2002-10-09 12:33:40 +00:00
Andrey Hristov
0e5ff737f4
Test case for str_shuffle().
2002-10-09 10:53:27 +00:00
Andrey Hristov
16a82f2b47
Returning to the old behavior of str_shuffle() a bit. Now the passed string is
...
left unmodified and the shuffled string is returned.
2002-10-09 10:33:22 +00:00
Markus Fischer
121d4d1ef0
- Fix protos (resource instead of int for stream_id, fix some return protos,
...
consistent usage of options instead of flags).
- Make imap_ping,imap_setquota and imap_setacl return a real (bool) now.
2002-10-09 09:20:46 +00:00
Zak Greant
dbf1d82afa
Set default value for mysql.connect_timeout to -1. This setting matches the setting in php.ini-dist and ensures that the default behavior is to leave connect_timeout alone.
2002-10-09 07:34:48 +00:00
Ilia Alshanetsky
7d19c1b9e5
Added nl2br() test
2002-10-08 23:46:02 +00:00
Ilia Alshanetsky
8c77e13e92
Added test for strrev() function.
2002-10-08 21:51:59 +00:00
Andrei Zmievski
3b60494829
Tokenizer has been stable for some time now.
2002-10-08 20:12:55 +00:00
Ilia Alshanetsky
e672ce4ccc
Fixed bug #19280
2002-10-08 20:07:52 +00:00
Colin Viebrock
080c7a789e
don't define fonts ... use the browser defaults
2002-10-08 19:42:23 +00:00
Derick Rethans
4a54968c71
- hardcode default rewriting tags
2002-10-08 18:30:38 +00:00
Moriyoshi Koizumi
579a1c3ab1
ZTS fixes
2002-10-08 17:20:10 +00:00
Melvyn Sopacua
03777770c0
Fix config bug reported by Jan Lehnart.
...
Keep it simple, and the size of a pointer is always known, duh.
2002-10-08 16:20:20 +00:00
Moriyoshi Koizumi
e9444610eb
Removed table generating code. The return values of isalnum() may vary by the locale setting.
2002-10-08 15:15:50 +00:00
Ilia Alshanetsky
8f4276b61d
Fixed memory leak.
2002-10-08 14:57:06 +00:00
Tal Peer
be7da25930
Enhanced test to also check charsets CP1255 and ISO-8859-8
2002-10-08 14:08:17 +00:00
Derick Rethans
2af2e62850
- Add the source file too
2002-10-08 10:01:34 +00:00
Derick Rethans
f0c1345cb6
- Add blowfish compatibility test
2002-10-08 10:00:52 +00:00
Andrey Hristov
0ad8b4aa10
Now str_shuffle() has the randomization characteristics of shuffle().
...
str_shuffle() won't return anymore the randomized string and thus will be
consistent with shuffle(). Since this function is new to 4.3.0 no BC
problems.
#Thanks to Adam Trachtenberg for providing good example to check the
#permuations distribution.
2002-10-08 09:52:59 +00:00
Derick Rethans
2005705272
- Skip if the function is not available (in case pcre was not compiled in).
2002-10-08 09:46:31 +00:00
Tal Peer
6d80a07ba0
Added test to check if charsets constants are defined
2002-10-08 08:17:03 +00:00
Derick Rethans
bde85234d6
- Please do not use notices for debug information
2002-10-08 08:01:06 +00:00
Derick Rethans
5a84ae6489
- Use error_reporting E_ALL
2002-10-08 07:55:02 +00:00
Sebastian Bergmann
af8230e28c
Fix ZTS build.
2002-10-08 05:08:39 +00:00
Rasmus Lerdorf
0179bd7657
Get rid of redundant loop
2002-10-08 00:16:55 +00:00
Rasmus Lerdorf
69677a7a67
FreeBSD ming port sticks ming.h in /usr/local/include/ming/ming.h and
...
we weren't finding it there.
2002-10-08 00:15:10 +00:00
Rasmus Lerdorf
5acdd41d6e
Make zlib-dir actually mean something during the check
2002-10-07 22:27:50 +00:00
Dan Kalowsky
164188d122
Fix for bug #19798 (submitted by mclap@simpage.mv.ru)
2002-10-07 21:58:56 +00:00
Rasmus Lerdorf
74286bd28d
Argh! Revert. I'm on drugs. Was linking in a newer libz when I checked
...
this.
2002-10-07 21:13:46 +00:00
Ilia Alshanetsky
d6775c5c3f
Added tests for strstr(), strpos() and substr_count() functions.
2002-10-07 21:07:42 +00:00
Rasmus Lerdorf
a6b780f94e
Oops, should still define that. Didn't think I needed it as nothing in
...
ext/zlib checks it, but it is checked elsewhere.
2002-10-07 20:59:59 +00:00
Rasmus Lerdorf
6446f7158b
This restriction is no longer true after the streams changes.
2002-10-07 20:55:41 +00:00
Moriyoshi Koizumi
8f1fb5768b
Fixed typo.
2002-10-07 20:12:48 +00:00
Tal Peer
0ae2166fbe
Initial commit of fribidi_log2vis test
2002-10-07 19:35:30 +00:00
Moriyoshi Koizumi
a0f61c9c51
Added test cases for mbregex
2002-10-07 18:02:05 +00:00
Moriyoshi Koizumi
2e1d931c66
Lots of clean-up for upcoming mbstring merging event.
...
Added mb_regex_set_options().
The Options parameters of various mbregex functions are now deprecated.
@- Added mb_regex_set_options(). The Options parameters of
@ various mbregex functions are now deprecated. (Moriyoshi).
2002-10-07 17:59:49 +00:00
Andrei Zmievski
6863d70ef3
Use a copy of locale instead of the original. Fixes bug #19482 .
2002-10-07 17:16:23 +00:00
David Viner
0803ebfa3e
adding test of xslt_set_object
...
--dviner
2002-10-07 16:59:08 +00:00
Moriyoshi Koizumi
931e25297b
fixed mb_split (the value of third parameter treated wrongly)
2002-10-07 16:46:42 +00:00
Rasmus Lerdorf
ef9b51bcb0
readdir() was returning NULL instead of FALSE when used on an invalid
...
directory handle. If someone forgot to check (as someone here did) that
the opendir() succeeded, and then followed the documented usage by checking
readdir()!==FALSE things would go awry. The ZEND_FETCH_RESOURCE macro
explicitly does a RETURN_NULL on failure which is not what we want in this
case, so work around it. No need to change it for the OO case since the
object is not created if the opendir fails.
2002-10-07 16:46:38 +00:00
Moriyoshi Koizumi
9b849892ea
MFH
2002-10-07 16:15:36 +00:00
Stefan Esser
a8191a66c1
never smash the stack...
2002-10-07 16:11:30 +00:00
Stefan Esser
5619a3d0a5
fixing possible off by one in error case
2002-10-07 16:05:28 +00:00
foobar
eb67b2476b
Fix obvious error..
2002-10-07 11:08:11 +00:00
Jan Lehnardt
94daa9c26a
- fix typo and improve error message
2002-10-07 10:09:07 +00:00
Sascha Schumann
8ca10fb5e8
Call ob_flush to force the buffer contents to go through the rewriter.
2002-10-07 10:07:27 +00:00
Marc Boeren
cee4219e49
Tests will be skipped if a tester does not explicitly specify the
...
test-database setup in dbx_test.p.
2002-10-07 09:27:02 +00:00
Sascha Schumann
2dde6fb594
Print out warning only, if a variable was actually migrated
2002-10-07 02:37:50 +00:00
Melvyn Sopacua
2628482ee9
(xslt tests) Add test for memory leaks, caused by inapproreate use of
...
the struct. Memory leak is caused by at least 2 errors on
handle.
2002-10-06 23:58:51 +00:00
Sebastian Bergmann
d7f9e8526f
Silence warning.
2002-10-06 21:47:54 +00:00
Sander Roobol
00a2715eda
We're testing stripCslashes() here :)
2002-10-06 19:26:56 +00:00
Sander Roobol
3e222bcbf1
Some more weird tests on Derick's request :)
2002-10-06 19:17:04 +00:00
Sander Roobol
9edfd75a5c
Some string tests
2002-10-06 19:12:22 +00:00
Derick Rethans
bd48e0cfe9
- Add new tests for: array_change_key_case, array_chunk and
...
array_count_values.
2002-10-06 18:42:03 +00:00
Sander Roobol
004d3d3a30
Fix another leak in implode()
2002-10-06 18:39:03 +00:00
Rasmus Lerdorf
76ee49e5b4
Fix for bug 19781
2002-10-06 17:47:50 +00:00
Ilia Alshanetsky
6b5575a101
Code cleanup. Thanks Andi.
2002-10-06 17:17:38 +00:00
Rasmus Lerdorf
f32d63a3b3
Add php_ini_scanned_files() so "make test" can tell you when you have
...
additional .ini files that are scanned.
2002-10-06 17:04:10 +00:00
Sander Roobol
af14a8e75f
You can't detect NULL nicely - false is better and more PHPish.
2002-10-06 17:00:33 +00:00
Rasmus Lerdorf
d940131774
Fix build
2002-10-06 16:37:33 +00:00
Sander Roobol
533fda4121
Fixed getopt() - made it actually work
2002-10-06 16:33:14 +00:00
Melvyn Sopacua
8e1da7dbda
MFB
2002-10-06 16:32:24 +00:00
Ilia Alshanetsky
12f47fe85a
Added expected data to parse_url() test
2002-10-06 16:15:06 +00:00
Ilia Alshanetsky
1bbb55ec11
Added a much faster parse_url() implementation. This also fixes a number
...
of bugs in the old parse_url() implementation.
2002-10-06 16:14:42 +00:00
Melvyn Sopacua
a22ab3f8e3
missed this, needed by 007.phpt
2002-10-06 15:51:33 +00:00
Moriyoshi Koizumi
a1b3f8382d
added support for aliases of the encodings.
2002-10-06 15:31:52 +00:00
Zeev Suraski
df55f35798
Revert the implicit_flush mess.
...
Do not revert it again under any circumstances!
Yasuo/anybody else - if there are issues with implicit_flush, please inform
me and I will fix them.
2002-10-06 12:02:53 +00:00
Sander Roobol
68cd067670
Fixed segfault and memory leak in the new implementation of implode()
2002-10-06 11:28:11 +00:00
Sander Roobol
8cf14a42f5
Add testcases for implode() and str_repeat()
2002-10-06 11:26:49 +00:00
Sebastian Bergmann
6ca22a1740
HAVE_MBSTRING awareness.
2002-10-06 09:36:26 +00:00
Sebastian Bergmann
df472058e2
HAVE_MBREGEX awareness.
2002-10-06 09:29:54 +00:00
Zeev Suraski
de36720e0e
Begin the cleanup - remove ob_flush_all()
2002-10-06 09:06:24 +00:00
Rasmus Lerdorf
b832af75f0
WS fix - although the entire libgd directory is horrendously formatted.
...
However, since we are forking existing code, fixing it would make it much
harder to merge any Boutell patches (if they ever come out with any).
2002-10-06 08:39:05 +00:00
Rasmus Lerdorf
731943287f
Oops
2002-10-06 08:35:22 +00:00
Rasmus Lerdorf
409620351f
Ok, perhaps it's too late at night, but I see absolutely no reason for
...
this chunk of code here. Why is it writing a palette.map file to disk
in the middle of this function? Looks like leftover debug code, and this
particular code seems to be crashing on OSX as per bug #19704 .
2002-10-06 07:19:07 +00:00
Rasmus Lerdorf
26b69a7d93
Fix for bug #19700 - code by Wez
2002-10-06 06:47:53 +00:00
Moriyoshi Koizumi
0601d1fc41
made messages more consistent
2002-10-06 06:37:47 +00:00
Moriyoshi Koizumi
55b591365f
Warnings for empty regular expressions
2002-10-06 06:21:34 +00:00
Rasmus Lerdorf
72d90fc41c
As discussed a while ago, decoding GIF images is not considered a Unisys
...
LZW patent violation so we can distribute read-only GIF support with
our bundled GD2. The patent also expires in 2003, which is quickly
approaching, so we can roll in write support soon unless things change.
2002-10-06 06:03:17 +00:00
Frank M. Kromann
797a0dc33c
Adding missing include path's to non TS projects
2002-10-06 02:14:22 +00:00
Frank M. Kromann
0d23670b30
Fixing comment allowing the module to compile again
2002-10-06 02:10:19 +00:00
Derick Rethans
b007bd0696
- Add parse_url() tests (expect will follow later)url_t.phpt
2002-10-05 20:28:35 +00:00
Melvyn Sopacua
9bb526c283
(xslt tests) Add test for new backend API (005.phpt), new function
...
(006.phpt) and a crash test (007.phpt)
006.phpt also tests handling of public entities, which is in
essence new to the extension, since there was no way to turn
it on.
# These new functions and backend will be added shortly.
# TODO: test for xslt_set_object
2002-10-05 19:44:26 +00:00
Melvyn Sopacua
b83d7bbf8a
(xslt tests) Test for reference to a non-existing scheme handler.
2002-10-05 16:11:46 +00:00
Melvyn Sopacua
1fbef62ae9
(xslt: error_print) Fixes a leak when multiple error messages are issued
...
during a transformation.
# It's probably better to wrap this in an internal function, since it's
# easily forgotten.
2002-10-05 14:04:19 +00:00
Wez Furlong
9d5bab5a0d
EOF related fixes.
2002-10-05 10:59:35 +00:00
Wez Furlong
93f9eea77d
Revert. The problem lies elsewhere.
2002-10-05 10:58:55 +00:00
Wez Furlong
ae36c08b54
Fix Win32 build as PHP_CONFIG_FILE_SCAN_DIR is not #defined.
2002-10-05 10:55:54 +00:00
Wez Furlong
077fe52d8b
This seems to resolve the issues with fgets.
...
I've moved EOF detection into the streams layer; a stream reader
implementation should set stream->eof when it detects EOF.
Fixed test for user streams - it still fails but that is due to an output
buffering bug.
2002-10-05 10:35:13 +00:00
Markus Fischer
945ccfa76a
- Remove superfluous E_WARNING if mysql_connect() fails; there's already
...
an E_WARNING a few lines above.
2002-10-05 00:54:31 +00:00
David Viner
4f98cc5a55
adding the xslt_set_object function (as per discussion on php-dev and
...
the newly created sab-php@gingerall.cz )
--dviner
2002-10-04 23:06:10 +00:00
David Viner
1665272cee
adding segfault detection as proposed by Lenar Lõhmus [lenar@vision.ee]
...
--dviner
2002-10-04 22:43:55 +00:00
Stefan Esser
4368b8e4ac
some FTP servers return 32bit port numbers.
2002-10-04 22:20:08 +00:00
Stefan Esser
87c0577a0c
some broken ftp servers return 32bit port numbers.
2002-10-04 21:58:39 +00:00
Sterling Hughes
df837e67c7
have implode use the smart_str_*() functions, this should speed things up
...
quite a bit...
2002-10-04 20:44:19 +00:00
Wez Furlong
c429805e0b
Make that error message more meaningful for systems like my SuSE 7.0 with
...
an apparently broken magic file.
2002-10-04 19:01:34 +00:00
Rasmus Lerdorf
5610e348ec
Kill a few more warnings
2002-10-04 18:03:29 +00:00
Rasmus Lerdorf
2ca6f26918
Kill warning
2002-10-04 18:01:52 +00:00
Marcus Boerger
3d6ecdeff0
return FALSE on error
2002-10-04 17:17:01 +00:00
Sander Roobol
e6e2c1c70d
Fixed a bug in the new implementation of str_repeat()
2002-10-04 17:10:51 +00:00
Derick Rethans
ec6713f1ca
- dot :)
2002-10-04 16:55:46 +00:00
Sterling Hughes
5605dcf7b6
fix a memory leak in implode()
...
# kept seperate from last commit on purpose.. ;)
2002-10-04 16:54:56 +00:00
Sterling Hughes
abc9991925
@ Make the glue argument to implode() optional, if it is not specified
...
@ default to using "". (Sterling)
2002-10-04 16:53:14 +00:00
Melvyn Sopacua
c4805ffeb1
Improve testkit for xslt.
...
002.phpt and 003.phpt are regression tests for reported bugs.
004.phpt has been known to cause problems in some Sab/PHP combinations.
No known reports in bug db for that one.
Added skip mechanism
@- Added regression test for bugs #17791 and #17931 (Melvyn)
2002-10-04 11:41:34 +00:00
Melvyn Sopacua
7f1ad2395d
(xslt_set_error_handler) Fixes array 'fields' argument to contain correct
...
information.
Patch by Lenar Lohmus.
@- Fixed fields argument to contain correct info. (Lenar Lohmus)
2002-10-04 09:22:03 +00:00
Rasmus Lerdorf
989a61ed98
As discussed, add --with-config-file-scan-dir compile-time switch defining
...
a directory which will be scanned for *.ini files after the main php.ini
file has been parsed. This makes it much easier to automatically deploy
a modular PHP since adding extensions which have their own ini switches can
now be done by simply dropping a foo.ini file in the right directory and
restarting. A list of parsed ini files is maintained and shown on the
phpinfo page.
2002-10-04 04:47:35 +00:00
Sean Bright
114dff39ce
Add missing ?>
2002-10-04 02:34:15 +00:00
Sascha Schumann
df0ea33d2b
peek at freebsd's libc and fix _php_math_basetozval
...
PR: #19733
2002-10-04 02:21:33 +00:00
Sascha Schumann
cfaffd2185
overflow check for _php_math_basetozval
2002-10-04 02:20:41 +00:00
Sascha Schumann
397277b8c3
Fix php_stat brokenness.
2002-10-04 01:05:03 +00:00
Sascha Schumann
fb84b3e1d0
remove trans_sid=1
2002-10-03 23:13:36 +00:00
Sascha Schumann
5db24fbb7b
20: rewriter uses arg_seperator.output for modifying URLs
...
21: rewriter handles <form> and <fieldset> correctly
2002-10-03 23:12:16 +00:00
Sascha Schumann
47cc29c9d1
19: serializing references test case using globals
...
18: rewriter correctly handles attribute names which contain dashes
2002-10-03 22:54:15 +00:00
Andrei Zmievski
a38123e756
Revert the patch for now. We'll be branching on Saturday the way it's
...
implemented is a bit half-baked. We can always merge it into the branch
at a later point.
2002-10-03 18:30:27 +00:00
Andrey Hristov
52c529c5af
ws fixes.
...
#again :)
2002-10-03 18:15:18 +00:00
Sascha Schumann
eab0f5965f
code from ancient bug #5271
...
setting $_SESSION before session_start() should not cause segfault
2002-10-03 16:55:08 +00:00
Sascha Schumann
3998374a0d
invalid session.save_path should not cause a segfault
2002-10-03 16:49:52 +00:00
Sascha Schumann
61e47a342e
use_trans_sid should not affect SID
2002-10-03 16:43:44 +00:00
Sascha Schumann
8882b28e60
editing
2002-10-03 16:14:55 +00:00
Sascha Schumann
d661fa4b46
A script should not be able to modify session.use_trans_sid
2002-10-03 15:58:10 +00:00
Sascha Schumann
bb4f911035
There should not be any warning with regard to redefining SID
2002-10-03 15:52:36 +00:00
Sascha Schumann
dba3e4c7ad
Registering _SESSION should not segfault.
2002-10-03 15:48:18 +00:00
Sascha Schumann
d4e1ac6c26
Mini test cases for fixed segfaults
2002-10-03 15:39:29 +00:00
Sascha Schumann
5fe046c4c3
session_decode should not segfault
2002-10-03 15:33:00 +00:00
Sascha Schumann
e24247e632
Remove ob_start()
2002-10-03 15:19:55 +00:00
Sascha Schumann
16f54aaca8
Add test for unset($_SESSION["x"]); behaviour
2002-10-03 15:19:43 +00:00
Sascha Schumann
c4adf94fbd
make tests work with CLI
2002-10-03 15:11:01 +00:00
Sascha Schumann
7e03310a6a
Don't emit warning, if there is nothing to send
2002-10-03 15:10:36 +00:00
Ilia Alshanetsky
2ea2b662a4
Optimized str_repeat() function, it is now 10x faster on 1 byte multipliers
...
and 5-6x faster on multi-byte multipliers.
2002-10-03 13:59:31 +00:00
Yasuo Ohgaki
39b0eb9b22
Fixed broken code by Derick.
...
ob_implicit_flush() and ob_flush_all() are stopped working.
var_dump() and hightlisht_string() outputs buffer contents wrongly
with ob_implicit_flush().
Everyone should be happy now.
It was only OG(implicit_flush) interpretation issue after all.
2002-10-03 13:32:01 +00:00
Stefan Esser
8fae3d7a49
swapped conditions to correct the logic
2002-10-03 12:16:44 +00:00
Andrey Hristov
ae70a4e458
few ws fixes.
2002-10-03 12:06:52 +00:00
Stefan Esser
b220b7113f
Added ftp_ssl_connect() for FTP over SSL.
2002-10-03 11:33:05 +00:00
Marcus Boerger
9f8b57fb57
typing
2002-10-03 10:44:13 +00:00
Andrey Hristov
cebb0f76b8
ws fixes.
2002-10-03 10:42:57 +00:00
Derick Rethans
9b517c4b93
- Revert changed to implicit_flush behavior. The new behavior was not
...
intended in the first place.
2002-10-03 10:35:33 +00:00
Yasuo Ohgaki
b0fcd61207
Fixed broken higlight_string()
2002-10-03 09:19:31 +00:00
Stefan Esser
8827f8eca9
renamed ftp_async_* into ftp_nb_*
2002-10-03 09:10:24 +00:00
Jan Lehnardt
aadb0c910b
- Added wddx_serialize_type(). Allows users to cast values to WDDX types
...
@- Added wddx_serialize_type(). Allows users to cast values to WDDX types (jan)
2002-10-03 08:56:10 +00:00
Yasuo Ohgaki
1731767272
Prevent unwanted fluhsing.
2002-10-03 08:54:45 +00:00
Sascha Schumann
114c544b9b
Purge ini_set calls and replace through INI sections.
2002-10-03 08:07:21 +00:00
Andi Gutmans
b276a96f4b
- Fix ZTS build
2002-10-03 07:23:50 +00:00
Yasuo Ohgaki
0a6f5f9996
Update test
2002-10-03 07:19:27 +00:00
Yasuo Ohgaki
66a50c5373
Added ob_flush_all() that flushes bufferred contents until it actually
...
sent/printed.
@ Added ob_flush_all() that flushes all buffers. (Yasuo)
2002-10-03 07:17:14 +00:00
Sascha Schumann
13f5db1b67
Make the interpretation of gc_probability configurable by adding
...
session.gc_dividend. The probability of running gc on each request is then
gc_probability/gc_dividend.
2002-10-03 06:45:15 +00:00
Sascha Schumann
be319c721a
Reenable E_WARNING and test session.bug_compat_warn in addition.
2002-10-03 06:41:25 +00:00
Sascha Schumann
afb1458910
session_destroy resets the sid, so we need to set it again here
2002-10-03 06:33:19 +00:00
Sascha Schumann
356ea7ffbd
Verify PHP 4.2 compatibility: global is used albeit register_globals=0
2002-10-03 06:32:45 +00:00
Sascha Schumann
0ed434a13b
Use ZEND_SET_SYMBOL_WITH_LENGTH correctly (hopefully)
...
It strikes me as awkward that a Zend API user needs to take care of
doing the engine's reference counting.
This fixes a memory overrun in a testcase. All ZEND_SET_* calls
should be correct now.
2002-10-03 06:29:58 +00:00
Sascha Schumann
15b23945ad
(track_init) Use is_ref/refcount parameters of SET_SYMBOL macros
...
(save_current_state) Prevent a possible deadlock which occurs when
the track vars are inaccessible
2002-10-03 05:53:45 +00:00
Sascha Schumann
d4ef4079de
Verify PHP 4.2 compatibility: unset($c) with enabled register_globals
2002-10-03 05:06:01 +00:00
Yasuo Ohgaki
f6dfd6b184
Forgot 1 byte for \0
2002-10-03 04:56:54 +00:00
Yasuo Ohgaki
5f1bb18c36
Save memory
2002-10-03 04:54:01 +00:00
Sascha Schumann
8a586103fc
Align behaviour with 4.2 with regard to register_globals=1
...
session_register("c");
unset($c);
$c = time();
If a user unsets a global session variable, it is not a reference
to a $_SESSION slot anymore.
During serialization, PHP 4.2 will not find the respective entry in
$_SESSION and fall back to the global sym table.
2002-10-03 04:53:05 +00:00
Yasuo Ohgaki
22bf29384e
Move wrong output buffer usage check to ob_gzhandler init.
...
Export some output buffer functions.
2002-10-03 03:58:12 +00:00
Sascha Schumann
b9077e5a9d
Nuke PS(vars), we keep the state of registered session variables now
...
completely in PS(http_session_vars). This avoids bugs which are caused
by a lack of synchronization between the two hashes. We also don't need
to worry about prioritizing one of them.
Add session.bug_compat_42 and session.bug_compat_warn which are enabled
by default. The logic behind bug_compat_42:
IF bug_compat_42 is on, and
IF register_globals is off, and
IF any value of $_SESSION["key"] is NULL, and
IF there is a global variable $key, then
$_SESSION["key"] is set to $key.
The extension emits this warning once per script, unless told otherwise.
"Your script possibly relies on a session side-effect which existed until
PHP 4.2.3. Please be advised that the session extension does not consider
global variables as a source of data, unless register_globals is enabled.
You can disable this functionality and this warning by setting
session.bug_compat_42 or session.bug_compat_warn.
2002-10-03 03:23:02 +00:00
Yasuo Ohgaki
1b675aa690
Rename pg_data_seek() to pg_result_seek().
...
Added mysql_result_seek() which is alias of mysql_data_seek().
2002-10-03 02:32:09 +00:00
Yasuo Ohgaki
bd177ce7c1
Added ob_get_clean() and ob_get_flush().
...
Someone requested this feature before.
@ Added ob_get_clean() and og_get_flush(). (Yasuo)
2002-10-03 01:36:44 +00:00
David Reid
9b10843481
Add more BeOS support...
2002-10-02 23:52:08 +00:00
Daniela Mariaschi
69a6289e8c
syntax to avoid error while reading data from file in ibase_blob_import
2002-10-02 23:05:06 +00:00
Sascha Schumann
4ea4f294b6
Fix harmless memory leaks and simplify track_vars_init.
2002-10-02 21:51:32 +00:00
Andrey Hristov
83a0f20381
Making strrchr() binary safe.
...
Test case added.
2002-10-02 18:58:09 +00:00
Andrey Hristov
2092d80230
Making strstr() binary safe.
2002-10-02 18:41:55 +00:00
Andrey Hristov
b2d93b67fc
Ws fix. Forgot to add this in the previous commit.
2002-10-02 18:13:56 +00:00
Andrey Hristov
f02b1507dc
ws fixes.
2002-10-02 17:56:04 +00:00
Derick Rethans
f85e6fe51d
- Added CURLOPT_FTP_USE_EPSV option. (Patch by Alex Howansky
...
<alex@wankwood.com>)
2002-10-02 16:44:48 +00:00
Marcus Boerger
d4bba6d158
Revisted Wez patch: chunk_size 0 means cahce the whole output. So
...
we must apply the default before calling php_enable_output_compression().
I have left the default setting in the rinit function even though i do think
it is not necessary.
2002-10-02 15:02:16 +00:00
Colin Viebrock
f871f3870d
Fix for SRM module (and maybe others). Header rows are now not HTML
...
escaped, so make sure you do this yourself in the modules.
2002-10-02 14:27:32 +00:00
Harald Radi
afb75a45e9
fixes bugs #19156 and #19544
2002-10-02 12:53:51 +00:00
Yasuo Ohgaki
2300bddb9c
Fixed pg_escape_typea()
2002-10-02 06:30:40 +00:00
Yasuo Ohgaki
520486e8b1
Clean up a little.
2002-10-02 06:22:52 +00:00
Sascha Schumann
e1dd35bddb
The pread/pwrite macros check for a bug in the Linux glibc now.
...
The bug causes the kernel not to return -1/EAGAIN. The new test case
has been borrowed from the Linux Test Project.
This also fixes a bug which apparently caused HAVE_PREAD/WRITE to be
defined even if the more complex checks failed (ac_cv_func_NAME=no
was set albeit with no difference).
2002-10-02 06:05:16 +00:00
Yasuo Ohgaki
69957c56b3
Added pg_unescape_bytea(). Fixed pg_data_seek().
...
php_pgsql_unescape_bytea(PQunescapeBytea) is shamelessly stolen from PostgreSQL 7.3 :)
2002-10-02 04:03:21 +00:00
Yasuo Ohgaki
2745e8b9b2
Add some example functions for mysql users.
2002-10-02 03:32:27 +00:00
Yasuo Ohgaki
b8fdd3c7ae
Added pg_data_seek().
...
pg_result_seek() woudl be better name, but there is mysql_data_seek()...
2002-10-02 03:16:35 +00:00
Yasuo Ohgaki
2728440fdc
Added pg_ping()
2002-10-02 02:41:21 +00:00
Yasuo Ohgaki
f8f11ac0a2
Rename pg_metadata() to pg_meta_data() to confirm naming standard
2002-10-02 02:11:27 +00:00
Stefan Esser
a87f4afc35
repairing the chaos
...
utime("filename", NULL) is not only valid but a MUST on linux if you are
not the owner...
2002-10-01 21:53:25 +00:00
Sascha Schumann
8b78c78973
Disable pread/pwrite for now until we can clarify why it should be
...
impossible to write a check for a broken OS feature.
2002-10-01 19:19:10 +00:00
Sascha Schumann
856cd5e17a
The session extension ensures now that get_session_var can rely
...
on the state of $_SESSION/$HTTP_SESSION_VARS. It does not look up
symbols in the global symbol table anymore.
This was achieved by actually planting references between every
$_SESSION["x"] and $x, not only when restoring a session, but also
when registering a session variable (in a register_globals=1 context).
Upon registering a new variable, this memory leak continues to show
up, regardless of register_globals.
ext/session/session.c(272) : Freeing 0x0818F01C (12 bytes), script=test
Obviously, the newly allocated empty zval is not properly freed. If anyone
has any idea on how to fix that, please step forward.
2002-10-01 11:59:45 +00:00
Zeev Suraski
2c4b6fff6d
Fix warnings
2002-10-01 10:16:40 +00:00
foobar
8634346e73
- Removed unnecessary dlopen checks. (this is done in Zend.m4 already)
2002-10-01 01:47:09 +00:00
David Reid
6477b0b5d8
Use the built in autoconf test for fnmatch. Simply using the
...
AC_CHECK_FUNCS seems to give false positives on beos and reading
the comments on other systems as well.
2002-09-30 23:31:13 +00:00
Wez Furlong
7bcc97c82e
Add header file required for pread/pwrite (on my system at least).
2002-09-30 10:18:57 +00:00
Wez Furlong
4356932dfe
Fix infinite recursion bug when using zlib output compression.
...
Cause: the chunk size is taken from the zlib.output_compression setting,
which is 0 or 1. This causes the block_size for output buffer to be set
to 0 (1 / 2) and thus causes infinite recursion in php_ob_allocate().
Solution: use a value of 0 for the chunk size which will use the default
sizes. Also add a sanity check which will default the block_size to 1
if it ends up as 0.
2002-09-30 10:18:06 +00:00
Derick Rethans
3b99744f0b
- Fix ZE2 build when overload is enabled
2002-09-30 09:40:12 +00:00
Uwe Steinmann
86e3e1ac85
- make_objrec_from_array() gets a second parameter to handle key/pairs of
...
the form key=value and key:value.
- Proper treatment of the attribute SQLStmt
2002-09-30 09:27:56 +00:00
Yasuo Ohgaki
545f894524
Added pg_fetch_assoc(). Fixed proto. Added/fixed comments.
...
# It seems last attempt was failed. Try committing again.
2002-09-30 09:07:57 +00:00
Yasuo Ohgaki
5a6703484d
Use PGSQL_CONV_FORCE_NULL as it is supposed.
...
PGSQL_CONV_FORCE_NULL inserts NULL to field instead of
NULL string for string type tuples.
2002-09-30 07:35:41 +00:00
Yasuo Ohgaki
788e4070b6
Use of PGSQL_CONV_INGORE_NOT_NULL as it is supposed. Change comment a little.
2002-09-30 07:24:41 +00:00
Tim Toohey
6a952f0856
fix gdImageCopyResampled() for non-constant alpha layer
2002-09-30 07:23:34 +00:00
Sascha Schumann
21300f5e5a
sync
2002-09-30 04:59:01 +00:00
Sascha Schumann
aa9bb5aefa
Fix my stupid mistake which broke <form> handling
2002-09-30 04:56:38 +00:00
Yasuo Ohgaki
dbd1a45d70
Fix TODO desc
2002-09-30 04:15:39 +00:00
Yasuo Ohgaki
b7d1a58e25
Remove unused def. Add TODO.
2002-09-30 04:15:01 +00:00
Yasuo Ohgaki
90fc47f4d1
Improve error message. Fix proto.
2002-09-30 03:51:54 +00:00
Jon Parise
033224784b
@ - Added getopt() for parsing command line options and arguments. (Jon)
2002-09-30 03:02:52 +00:00
Jason Greene
06ad8620db
Fix thread safety issue
2002-09-30 02:09:42 +00:00
Wez Furlong
388bfe5ffe
Prevent possible problems with two resource ids referencing the same
...
panel.
2002-09-29 22:55:09 +00:00
Ilia Alshanetsky
0454bf2d0d
Removed the ceil(-0.5); test. The return value is depedant on system's
...
libc and even when proper value '-0' is returned, var_dump() converts
it to 0 anyway.
2002-09-29 21:45:54 +00:00
foobar
5346391d16
ws fix
2002-09-29 19:28:12 +00:00
Ilia Alshanetsky
0e7e7ae961
Corrected ceil(-0.5) output value, it is 0 not -0.
2002-09-29 19:21:10 +00:00
foobar
3cf681c1d9
Make it compile with the latest _release_ too..
2002-09-29 18:53:19 +00:00
Ilia Alshanetsky
4c4d5a617b
Fixed a crash, which would occur when save_handler is invalid.
2002-09-29 18:33:14 +00:00
Ilia Alshanetsky
2af630f87d
Fixed bug #17281
2002-09-29 15:55:11 +00:00
Ilia Alshanetsky
1142e16075
Fixed bugs #16995 and #19392
2002-09-29 15:26:50 +00:00
Ilia Alshanetsky
fba852e16b
Fixed bug #19366
2002-09-29 14:45:57 +00:00
Wez Furlong
18f94ecea4
Added ncurses_getyx().
2002-09-28 22:50:23 +00:00
Wez Furlong
7694770304
Rename streams functions to fit with naming conventions, adding aliases
...
for old functions where required.
Make use of recent changes to chunk size and timeout setting code.
2002-09-28 22:14:21 +00:00
Sergey Kartashoff
074d6c7607
- Site mirror detection and popularity rank has been added to mnogosearch
...
extension
2002-09-28 17:52:18 +00:00
Wez Furlong
0b5aae65f1
Fix crash bug and return value.
2002-09-28 17:03:02 +00:00
James Moore
523274d311
Make ext/fribidi compile against latest fribidi CVS
2002-09-28 15:37:21 +00:00
Marcus Boerger
9be7455fe0
Synch with README.TESTING
2002-09-28 13:59:17 +00:00
Wez Furlong
8aae36aecb
Add missing folding marker.
2002-09-28 13:04:47 +00:00
Yasuo Ohgaki
ec340e039a
It must be GLOB_NOCHECK instead of GLOB_NOMATCH.
...
GLOB_NOMATCH does not make sense at all.
2002-09-28 09:14:45 +00:00
Wez Furlong
315e0a599b
Implement stream_select() which works just like socket_select, but only on
...
streams.
@ - Added stream_select() which works like socket_select but only works on
@ streams returned by fopen(), fsockopen() and pfsockopen(). (Wez)
2002-09-27 23:42:38 +00:00
Wez Furlong
65d3e611f9
More ncurses functions and constants.
2002-09-27 22:33:14 +00:00
Wez Furlong
dd6d22b6a1
Implement some more window routines, add pad functions.
...
Add panel functions when libpanel is also detected.
Register STDSCR constant during ncurses_init().
2002-09-27 17:03:53 +00:00
Colin Viebrock
69e677cda7
fix formating by breaking on to separate lines
2002-09-27 16:05:47 +00:00
Edin Kadribasic
0a0c6a49f5
@- Fixed bug #19595 (Missing functions for GD2 format handling).
...
(Edin)
Fixed bug #19595 (Missing functions for GD2 format handling).
2002-09-27 13:31:43 +00:00
foobar
08d3ad407c
ws
2002-09-27 13:15:56 +00:00
Hartmut Holzgraefe
5797668cc3
/tmp/cvsmLUuXQ
2002-09-27 12:40:31 +00:00
Edin Kadribasic
bf094736b7
Update credits.
...
# Updated by scripts/credits. For some reason it put "Java" and "Win32 COM"
# twice. I removed the duplicates manually.
2002-09-27 12:23:49 +00:00
Tal Peer
85648dd059
- Fixed case in extension name
2002-09-27 12:12:06 +00:00
Yasuo Ohgaki
7dae78b7f5
No need to define GLOB_NOMATCH.
2002-09-27 11:44:42 +00:00
Derick Rethans
e646304c1f
@- Fix for bug #19633 (wrong directories in ext/ldap/config.m4). (Derick)
...
- Fix for bug #19633 (wrong directories in ext/ldap/config.m4).
2002-09-27 10:38:08 +00:00
Wez Furlong
4279f74e5a
Really *really* fix the segfault bug #17274 and bug #19627 this time.
...
@ - Fixed bugs #17274 and #19627 (segfault in sem_remove). (Wez)
2002-09-27 10:24:54 +00:00
Jan Lehnardt
bcb3067d34
- be more conservative ;)
2002-09-27 10:17:52 +00:00
Sebastian Bergmann
cb6ef08e8c
Fix ZTS build.
2002-09-26 19:48:56 +00:00
Colin Viebrock
982c510cd9
update credits page with proper HTML, fix HTML escaping, and a few tweaks
2002-09-26 19:33:23 +00:00
Sebastian Bergmann
fd7326395b
Fix warning.
2002-09-26 19:18:35 +00:00
Sebastian Bergmann
b5d4b5496d
Fix ZTS build.
2002-09-26 18:13:32 +00:00
Ilia Alshanetsky
57c91b571e
Fixed bug #11643
2002-09-26 18:12:27 +00:00
Colin Viebrock
c7c275b741
fix phpinfo() output for better browser BC
2002-09-26 17:54:54 +00:00
foobar
6b8480fab6
Fix bug: #14991 (changing session.use_trans_sid does not work in scripts)
2002-09-26 16:46:21 +00:00
Wez Furlong
4d9d06c874
Emit a warning when an unsupported charset is requested in htmlentities.
...
Fixed #18521 .
2002-09-26 16:07:14 +00:00
Tal Peer
1e9a373602
- Fixed fatal error
2002-09-26 12:58:31 +00:00
Wez Furlong
c484eb8c97
Fix segfault in wrapper error log mechanism when errors are logged on
...
second and subsequent events.
Implement very simple recursion protection for user streams written
like this:
class urlEncodeStream {
var $fp = NULL;
function stream_open($path, $mode, $options, &$opened_path)
{
$this->fp = fopen($path, $mode); // <-- this recurses infinitely
return is_resource($this->fp);
}
}
file_register_wrapper('urlencode', 'urlEncodeStream');
$fp = fopen('urlencode:///tmp/outputfile.txt', 'w');
Noticed by: Yasuo.
2002-09-26 12:12:27 +00:00
Jan Lehnardt
1f227cd2e3
- GLOB_NOMATCH and GLOB_NOESCAPE are only defined in win32/glob.h
...
- fixes build on FreeBSD 4.6
2002-09-26 11:19:26 +00:00
Tal Peer
372b1fae01
- Reverted back to old param parsing api (and eliminated a segfault by doing that)
...
- Added the CapRTL charset -- should be used for testing on machines without Hebrew/Arabic/Persian
fonts
- Changed the note about deprecated behaviour from E_WARNING to E_NOTICE
2002-09-26 10:43:42 +00:00
Wez Furlong
4c2a9c091b
Remove an unused variable and a now-unused function.
2002-09-26 10:17:41 +00:00
Wez Furlong
3a67c67737
Rename file_get_wrapper_data -> file_get_meta_data.
...
It now always returns useful information for all streams.
Unified that data with socket_get_status and made socket_get_status
an alias for file_get_meta_data.
Fix Location header following which was broken in this commit:
http://cvs.php.net/diff.php/php4/ext/standard/http_fopen_wrapper.c?r1=1.41&r2=1.42&ty=h
2002-09-26 10:14:41 +00:00
Yasuo Ohgaki
7d87babada
Remove dup
2002-09-26 07:55:59 +00:00
Sebastian Bergmann
f5426838f9
Fix ZTS build. Fix warning.
2002-09-26 07:30:16 +00:00
Hartmut Holzgraefe
1a2df34d9d
fix windows build
2002-09-26 07:15:33 +00:00
Sebastian Bergmann
d6e24f21f9
Sync MSVC project files.
2002-09-26 06:10:22 +00:00
Tal Peer
a77763facc
- Initial commit
2002-09-26 05:47:56 +00:00
Wez Furlong
1a87c6b5bf
(PHP mb_convert_case) Add function that will convert the case of a string
...
Respecting it's encoding (or the internal encoding).
2002-09-26 00:53:47 +00:00
Hartmut Holzgraefe
0d815b5713
glob should now be ZTS/open_basedir/safe_mode aware (finally)
2002-09-26 00:27:52 +00:00
Hartmut Holzgraefe
419efa6eeb
symbolic constants for fnmatch flags added
2002-09-26 00:27:13 +00:00
Andrey Hristov
7badd563cb
Test case for strspn()/strcspn().
2002-09-25 19:08:38 +00:00
Andrey Hristov
f80a817f7c
Added common handler for strspn() and strcspn(). Almost of the code is
...
identical. Modified to accept up to 4 params. Last 2 optional start & len.
They are analogic to start & len of substr(). So the behavior when start &
len are used is like
strspn(substr($s,$start,$len),$good_chars) and
strcspn(substr($s,$start,$len), $bad_chars)
2002-09-25 19:06:29 +00:00
Andrey Hristov
fc46a46b06
str_shuffle() function added. Like shuffle() for arrays - however the
...
algorithm for creating the permutation is quite simple. More like
the implementation of shuffle() for 4.2.1 .
2002-09-25 18:06:05 +00:00
Andrei Zmievski
c9b9e63ea3
*** empty log message ***
2002-09-25 17:48:10 +00:00
Wez Furlong
0141e97052
Make these all work with persistent streams too.
2002-09-25 15:46:47 +00:00
Wez Furlong
696e0a2301
Implement persistent streams. (for pfsockopen).
...
Juggle some includes/definitions.
Tidy up streams use in ext/standard/file.c
2002-09-25 15:25:12 +00:00
Andrei Zmievski
27255d7419
Fix bug #17570 .
2002-09-25 14:02:34 +00:00
Tal Peer
0c5538d077
- Update proto
2002-09-25 13:49:55 +00:00
Ilia Alshanetsky
7ae2196852
Fixed bugs #18167 & #16859
2002-09-25 13:26:03 +00:00
Sascha Schumann
03c07308d3
Improve error messages
2002-09-25 12:38:45 +00:00
Ilia Alshanetsky
322a24a526
prevent segv on Windows with negative localtime values.
2002-09-25 12:20:56 +00:00
Sascha Schumann
c57d419925
Sync
2002-09-25 12:15:42 +00:00
Sascha Schumann
41c0b43772
Allow - as part of an attribute
...
PR: #19573
2002-09-25 12:15:22 +00:00
Sascha Schumann
7af64ef531
Fix #13472 by making it possible to append the <input> stuff after
...
<fieldset> for xhtml compliance.
2002-09-25 11:06:24 +00:00
Sascha Schumann
91bbb302c1
Sync with .re
2002-09-25 10:36:19 +00:00
Sascha Schumann
3cadecec1b
Allow malformed HTML such as
...
<a onClick=window.open("/hardware/somevar.php?hinfoid=","chgti") ..>
where ["'] are part of the attribute value.
2002-09-25 10:35:28 +00:00
Ilia Alshanetsky
f91b3d5c6d
Fixed bug #17957
2002-09-24 16:34:54 +00:00
Zeev Suraski
5f1bffe0cd
Fix indirection
2002-09-24 10:55:56 +00:00
Wez Furlong
a12423f959
Fix for #19570 : last character in translation table is omitted.
2002-09-24 10:05:45 +00:00
Sascha Schumann
75c9efc08a
Fix typo
2002-09-24 06:39:43 +00:00
Sascha Schumann
8f81e9ad23
Replace underscores with dashes in --enable-mime-magic
2002-09-24 06:37:17 +00:00
Wez Furlong
4cdf8c7c36
Fix EOL markers for file() so that Mac EOL work correctly.
2002-09-24 02:46:38 +00:00
Tal Peer
6eb8b0dcf2
- Fixed build on Win32 (and made the ext use a newer API)
...
- Various CS fixes
- Converted the parameter parsing to the new API
2002-09-23 20:24:29 +00:00
Wez Furlong
d14a7e0c19
WS
2002-09-23 18:13:31 +00:00
Wez Furlong
c74b9faca5
Implement a default_socket_timeout and auto_detect_line_endings ini options.
...
Also move user_agent from BG to FG.
2002-09-23 18:12:39 +00:00
Wez Furlong
35d29fb69e
basic_functions.c
2002-09-23 17:27:37 +00:00
Sascha Schumann
7915f83342
(PHP touch) Remove an extraneous time() call.
...
Yasuo added this line in rev 1.90 for no apparent reason.
2002-09-23 14:59:24 +00:00
Wez Furlong
ad4afdf827
fix some warnings.
2002-09-23 14:50:21 +00:00
Sebastian Bergmann
fd329d2cd1
Fix warning.
2002-09-23 14:20:02 +00:00
Sascha Schumann
ff12826fc1
(php_get_session_var) Always return FAILURE if no data source was found.
...
Noticed by: Sebastian Bergmann
2002-09-23 14:04:50 +00:00
Wez Furlong
9e84b3d5b5
Revise buffer/seek code a little.
...
Tidy up user streams even more.
Make test case quite aggressive.
2002-09-23 13:22:10 +00:00
Jason Greene
a8ca9932f4
Implement contstants on win32
...
@Implement platform independant socket error constants, which benefits error handling
2002-09-23 03:34:21 +00:00
Wez Furlong
4d8a07d529
Implement read buffering in streams.
...
Eliminate similar code from network.c.
Implement fgets equivalent at the streams level, which can detect
the mac, dos and unix line endings and handle them appropriately.
The default behaviour is unix (and dos) line endings.
An ini option to control this behaviour will follow.
# Don't forget to make clean!
# I've done some testing but would appreciate feedback from
# people with scripts/extensions that seek around a lot.
2002-09-23 01:47:04 +00:00
Derick Rethans
9e9e7c677a
- update project file (no precompiled headers)
2002-09-22 18:09:27 +00:00
Derick Rethans
d52983dfab
- Unbreak build
2002-09-22 16:23:44 +00:00
James Cox
b1b0230e6d
typo
2002-09-22 16:14:11 +00:00
Derick Rethans
9c6f744649
- Fix ZTS build
2002-09-21 18:25:04 +00:00
Ilia Alshanetsky
fda169417f
Added a test script for strip_tags() function.
2002-09-21 17:34:45 +00:00
Ilia Alshanetsky
8fc94a082f
Fixed bug #7472 as well as many other bugs with strip_tags implementation.
2002-09-21 17:34:06 +00:00