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
Andrey Hristov
9ee1ce156f
ws fixes.
...
#hope not to be flamed :) what a wonderful day.
2002-09-21 16:10:33 +00:00
Ilia Alshanetsky
78f3ad40a8
Fixed bug #12934
...
locatime() now returns an error message when passed a negative value.
2002-09-21 15:41:20 +00:00
Sascha Schumann
30f038be18
Add '+' modifier.
...
+ A sign (+ or -) always be placed before a number
produced by a signed conversion. By default a sign
is used only for negative numbers. A + overrides a
space if both are used.
2002-09-21 15:08:59 +00:00
Andrey Hristov
9980cf5f53
Test case for array_intersect() and array_intersect_assoc()
2002-09-21 14:50:55 +00:00
Andrey Hristov
a920f00479
New function added - array_intersect_assoc() similar to array_intersect()
...
but the keys are also used in the comparison. So the result is a subset of
the result of array_intersect().
Test will be committed too.
2002-09-21 14:50:04 +00:00
Tal Peer
12ef3d3f6b
Changed version from NO_VERSION_YET to 0.1
...
@ - Fixed compilation errors when compiling with the fribidi extension (Bug #16414 ) (Tal)
2002-09-21 10:58:46 +00:00
Sascha Schumann
e20c6c8e9c
Because track vars are always initialized, get_session_var failed
...
to work in the register_globals=1 case.
It is now possible again to store session variables in global vars.
2002-09-21 05:46:32 +00:00
foobar
a45e53b02d
fix typo
2002-09-20 15:42:23 +00:00
Martin Kraemer
c54b79bdd9
Since the cyrus extension prints only one line, and no subsequent info,
...
it should have a similar appearance as the other one-liners.
Use php_info_print_table_row() instead of php_info_print_table_header(),
as in the other extensions.
2002-09-20 15:39:50 +00:00
Ilia Alshanetsky
bc8eda5385
Fixed bugs #12989 and #12120
2002-09-20 11:48:47 +00:00
foobar
26fb2879d5
Added check for yaz version into configure.
2002-09-20 02:46:38 +00:00
Ilia Alshanetsky
f119fd6498
Fixed bug #19487
2002-09-20 01:25:55 +00:00
foobar
4a39f70a9a
Added missing convert_to_* funcs. (should fix some crashes)
2002-09-20 00:47:00 +00:00
Colin Viebrock
14a6cc8847
Change phpinfo() to use CSS styling instead of HTML code.
...
It doesn't render as nicely as it used to on older browsers, but it
does result in smaller files, and opens the door to using your own CSS
to style it differently.
There is a patch to Zend/zend_ini.c, but I don't have enough Karma, so
Derick has the patch.
2002-09-19 21:57:25 +00:00
Colin Viebrock
cd47bf286f
change my email address
2002-09-19 21:51:34 +00:00
Ilia Alshanetsky
ae5222ac23
Fixed bug #19504
...
Alligned 'Enable sysvmsg support' message.
2002-09-19 20:14:58 +00:00
Derick Rethans
cf07c698d1
- Align configure --help messages
2002-09-19 20:14:35 +00:00
Ilia Alshanetsky
a694fa9ca7
Fixed bug #19313
...
Fixed argument count check for system/exec/passthru functions
Added a check to system/exec/passthru functions to make sure execution
parameter is not blank before attempting to execute it.
2002-09-19 18:59:32 +00:00
Ilia Alshanetsky
9259c4e598
Fixed bug #19414
2002-09-19 18:22:51 +00:00
Zeev Suraski
aaf8d48fc3
Fix the last part of bug #13982 (ignore_user_abort() settings were 'leaking'
...
between requests)
2002-09-19 16:01:53 +00:00
Adam Dickmeiss
05aa5e6193
Remove compatibility for old YAZ versions (use ZOOM API only)
2002-09-19 12:20:07 +00:00
Adam Dickmeiss
a9b2e812df
New option for yaz_connect: charset
2002-09-19 10:18:44 +00:00
Sebastian Bergmann
4cdd5b4f73
Remove obsolete directory.
2002-09-19 09:09:28 +00:00
Sascha Schumann
d964e73160
Add support for cdb-0.75
...
The install_cdb.sh script fills the gap of installing header files and
creating a cdb library which programs can link against.
2002-09-19 04:18:20 +00:00
Dan Kalowsky
25a908f41a
white space fix
2002-09-19 02:32:48 +00:00
James Cox
70f17979fb
white background please
2002-09-18 21:56:00 +00:00
Ilia Alshanetsky
0dddad02fa
Fixed bug #19446
2002-09-18 21:34:30 +00:00
Ilia Alshanetsky
869c42a511
Added additional handlers for compressed swf files, which require
...
entire file to be downloaded for successful decompression.
2002-09-18 20:37:24 +00:00
Dan Kalowsky
3ae9127b46
Patch for Bug #19402 provided by Kevin Way (kevin.way@overtone.org)
2002-09-18 11:57:17 +00:00
Wez Furlong
ff7bece5bb
Tidy up some user stream code.
...
Add a small test case (not yet complete).
2002-09-18 10:15:40 +00:00
Hartmut Holzgraefe
f8358b44d1
setlocale() will now accept multiple locale arguments, first match wins
2002-09-18 07:55:30 +00:00
Tal Peer
21ceacc487
# err.. fix comment
2002-09-17 19:30:06 +00:00
Tal Peer
10cabf5259
# Fixed proto and header of log2vis()
2002-09-17 18:08:45 +00:00
Tal Peer
e9ccb81903
* The second argument of
...
fribidi_log2vis now accepts a constant.
The old way (using strings) is still available
but deprecated.
2002-09-17 16:27:27 +00:00
Hartmut Holzgraefe
4e6635742d
it should not only work for the failure case
...
but also not fail (segfault) on the working case
2002-09-17 13:54:40 +00:00
Hartmut Holzgraefe
c5d4be214c
stupid lino-typo .... :(
2002-09-17 12:59:36 +00:00
Hartmut Holzgraefe
0c7d9c3742
headers_sent() may now return information about where output started
...
using the optional $file and $line reference parameters
2002-09-17 12:37:26 +00:00
Tal Peer
10a460622f
oops.
2002-09-16 19:08:45 +00:00
Tal Peer
d2969d4e3d
Added myself
2002-09-16 18:35:26 +00:00
foobar
aef1c680bc
- Require Fribidi 0.10.4 -> no more glib needed.
...
- Cleaned up a bit.
2002-09-16 15:31:32 +00:00
Tal Peer
f574e7cffa
* More work on returning errors properly and freeing resources
2002-09-15 09:58:35 +00:00
Tal Peer
e0247cbd6e
*Fixed compilation errors and enhanced the code
2002-09-15 09:32:29 +00:00
Jon Parise
26e6252e43
Line up the 'configure --help' output.
2002-09-15 01:39:30 +00:00
Wez Furlong
a2c6a6c186
Update bundled pcrelib to 3.9.
...
# Tested under Linux only
2002-09-14 14:45:35 +00:00
Jan Lehnardt
53b0623878
- fix typo in comment
2002-09-14 12:09:47 +00:00
Andi Gutmans
288e9b1793
- Don't think we need the do { } while (0) here
2002-09-14 06:38:48 +00:00
Ilia Alshanetsky
687312be41
Do not create the destination file, if opening of the source file failed
...
during copy().
2002-09-13 13:34:06 +00:00
Stefan Esser
714eb8069a
made new ssl activate function the default.
2002-09-12 21:52:09 +00:00
foobar
fb9bd8d20a
ws fix
2002-09-12 21:42:33 +00:00
Derick Rethans
861f68834a
- Fixed linker error when HAVE_STRFTIME was not set
2002-09-12 11:18:47 +00:00
Thies C. Arntzen
b905e40e92
@- OCIResult() could return garbage if called on empty result-sets. (thies)
...
# fix #19364
2002-09-12 09:48:03 +00:00
Andrey Hristov
23d3cd79c1
Fixing my zts fix.
...
#Sorry Edin
2002-09-12 08:20:37 +00:00
Andrey Hristov
ad92434638
Removed magic numbers about the behavior of php_array_diff - proposed by
...
Andi and Jon Parise.
#It is strange that I commited ZTS code but after that Edin fixed ZTS build
#when I updated - it wasn't ZTS. hmmm. anyway fixing ZTS build.
2002-09-12 08:04:42 +00:00
Edin Kadribasic
ad34142e97
My compiler likes it like this.
2002-09-11 23:10:58 +00:00
Edin Kadribasic
705e72f363
Fix ZTS build.
2002-09-11 23:09:11 +00:00
Sterling Hughes
9f4658427f
virtual filepath fix, don't know why i bother, the module isn't threadsafe
...
and never will be, but still...
2002-09-11 22:43:58 +00:00
Sterling Hughes
b34bec20a7
max this use the virtual_filepath() function and feel all threadsafe and
...
wholesome inside
2002-09-11 22:40:56 +00:00
Derick Rethans
c57b3c6533
- Un-deprecating mysql_escape_string
...
#- This will remove the annoying notices, while this function is used in
# a lot of scripts. There is not reason why we should discontinue it's use
# as it works perfect for about 99% of the time.
2002-09-11 21:06:52 +00:00
Derick Rethans
aaf920f9d5
- Little whitespace changes
2002-09-11 18:40:56 +00:00
Andrey Hristov
2b710f7e5c
Regression test for array_diff() and array_diff_assoc(). The latter is newly
...
introduced.
2002-09-11 18:16:11 +00:00
Andrey Hristov
afdfe38ef3
New function added : array_diff_assoc() . Like array_diff() but does
...
additional checks on key values. Test script will be added too.
#My first patch . it feels strange :)
2002-09-11 18:13:48 +00:00
foobar
eb3b486f21
For now, check only when not using bundled GD lib.
2002-09-11 16:40:35 +00:00
Sander Roobol
1715acfdc4
Fix configure
2002-09-11 16:17:33 +00:00
foobar
e54bc671dd
Added build test. Bug: #19345
2002-09-11 15:34:44 +00:00
Dan Kalowsky
6fe296aa69
Patch for Bug #19341 submitted by list@firehawksystems.com
2002-09-11 15:05:06 +00:00
foobar
746c147670
tok tok..
2002-09-11 14:51:09 +00:00
Andrei Zmievski
3f4a2b1b6a
@- Added ability to use Perl-style ${n} subpattern references in the
...
@ replacement string for preg_replace(). Takes care of bug #18442 . (Andrei)
2002-09-11 14:41:25 +00:00
foobar
daf6a5ab1a
ws fix
2002-09-11 14:40:52 +00:00
foobar
be52343850
fix proto
2002-09-11 14:24:27 +00:00
foobar
a254506a3c
ws fix
2002-09-11 14:21:39 +00:00
Anantha Kesari H Y
e75aae81fc
Removed unnecessary code that was added for NetWare
2002-09-11 10:28:22 +00:00
Edin Kadribasic
333b01b041
Fixed ZTS build.
2002-09-10 22:36:43 +00:00
Andrei Zmievski
dd7cf22443
@- Fixed array_merge_recursive() to avoid problems with merging cyclical
...
@ arrays (bug #16064 ). (Andrei)
2002-09-10 18:34:16 +00:00
James Cox
022e83908f
moved vpopmail to pecl.
...
# with original authors permission, and i am working on it a bit now.
2002-09-10 13:48:13 +00:00
Wez Furlong
49d77dbc01
Patch for BSD-ish systems from Melvyn Sopacua <msopacua@idg.nl>,
...
slightly modified.
2002-09-10 13:04:08 +00:00
Stefan Esser
184323cbe5
php_url_parse() replaces controlchars with '_' now. This stops fopen wrapper
...
CR/LF injection issues.
2002-09-10 08:06:25 +00:00
Jason Greene
565492248a
Fix crash bug and memory leak in vectors
...
#still need to revisit how these are done, i.e. they are not binary safe
2002-09-10 04:12:55 +00:00
Dan Kalowsky
e1fe1e189c
missed one section for #15630
2002-09-09 21:01:33 +00:00
Christian Stocker
ab40c954fb
chregu: Can you please use the new php_error_docref in new code?
2002-09-09 20:32:49 +00:00
Christian Stocker
2375745ab4
Fix for bug 19266 (don't allow appending nodes from 2 different documents)
2002-09-09 20:21:31 +00:00
Andrei Zmievski
2c6154d7aa
@- Added ability to extract() variables as references via OR'able EXTR_REFS
...
@ flag. (Andrei)
2002-09-09 20:05:20 +00:00
Wez Furlong
8a85e0f614
put that back...
2002-09-09 19:11:35 +00:00
Wez Furlong
6bc7e97161
Revert Dericks accidental commit :-)
...
Add an Id tag so we can see at a glance who is to blame.
2002-09-09 19:09:23 +00:00
Dan Kalowsky
32a03b3aed
Patch for Bug #18640 (submitted by michael.mauch@gmx.de)
2002-09-09 19:03:51 +00:00
foobar
faf9934272
Version check for Sablotron.
2002-09-09 18:17:12 +00:00
Georg Richter
a9c64d174b
- renamed rollback function to _restore_connection_default
...
- in _restore_connection_default:
- unset the selected database (thx to Paul DuBois)
- set session variable autocommit to default (=1)
2002-09-09 15:53:05 +00:00
Anantha Kesari H Y
97a601fc15
NetWare related changes/modifications
2002-09-09 10:12:44 +00:00
Derick Rethans
c1f6b2efbd
- Consistent use of macros
2002-09-09 09:44:52 +00:00
Stefan Esser
cbf5e3ca06
Added possibility to reuse an old SSL session id.
...
Ugly but needed for f.e.: debians ftpd-ssl
2002-09-08 22:26:11 +00:00
Jon Parise
dc056bf2d0
Capitalization
2002-09-08 20:59:53 +00:00
Shane Caraveo
2c6dca5a6e
someone missed code requiring ssl
2002-09-08 20:52:03 +00:00
Stefan Esser
8dbcb26fd0
ftp(s) fopen() wrapper does no longer ignore the ip returned by PASV.
2002-09-08 19:35:42 +00:00
Stefan Esser
9fca868f90
Control connection gets closed in ssl mode now, too.
2002-09-08 19:11:07 +00:00
Stefan Esser
ec4a3fa68e
Added EXPERIMENTAL ftps fopen wrapper.
...
For now this leaks the control connection stream because you cannot
close the control connection in ssl mode before you read the data.
2002-09-08 16:45:32 +00:00
Sander Roobol
8a9820331c
Fix typo
2002-09-08 08:08:35 +00:00
Jan Lehnardt
de3b5c3631
- cosmetics
2002-09-07 23:14:22 +00:00
Yasuo Ohgaki
16125ec2bf
This should fix var handling problems finally.
2002-09-07 22:51:39 +00:00
Ilia Alshanetsky
407088509f
Added a check to ensure user_agent header is not sent if user_agent value
...
if blank.
2002-09-07 21:57:11 +00:00
Yasuo Ohgaki
69cc47358e
Fixed errno hanlding. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
2002-09-07 21:08:47 +00:00
Wez Furlong
3df412cf9b
Fix a couple of bad pointer indirections (oops).
...
Lets stick to a single category of "http" for the "user_agent"
context override.
2002-09-07 20:58:30 +00:00
Wez Furlong
97f134cb45
fix warning
2002-09-07 20:54:14 +00:00
foobar
cb8493b2fb
This was not a good idea.
2002-09-07 19:09:09 +00:00
Wez Furlong
30082fdb68
Implement php://output wrapper, which can be used to write to the output
...
buffer via PHPWRITE.
2002-09-07 19:00:46 +00:00
Sterling Hughes
ce686a63de
commit the correct/up-to-date version
2002-09-07 15:55:04 +00:00
Sterling Hughes
91df221ab7
@ Made the User-Agent that php's fopen wrappers send, configurable via
...
@ php.ini or via a stream context. (Sterling)
The stream context is untested, but it should/could work :) Either way it
doesn't make the rest of the code bad. Wez -- please take a looksie for me
:)
2002-09-07 15:45:29 +00:00
Sergey Kartashoff
d96a5d8c5c
- New mnogosearch extension features has been added to group results
...
by site.
- Mnogosearch module fixes and cleanups.
2002-09-07 14:19:52 +00:00
Yasuo Ohgaki
b65073d3ea
Fixed array var handling. Patch by Moriyoshi Koizumi <readjust@deneb.freemail.ne.jp>
2002-09-07 14:07:05 +00:00
Sander Roobol
86e68f34f5
Fix build with bundled gd when builddir!=srcdir
2002-09-07 12:53:05 +00:00
Yasuo Ohgaki
27ce2cfa24
Fixed trancated value bug when array is used
2002-09-07 09:23:39 +00:00
Ilia Alshanetsky
3c95ac6b4f
Fixed a massive memory leak that occurs when an opened webpage returns
...
a non 200 return code.
2002-09-07 07:13:43 +00:00
Georg Richter
0797d5f989
fixed typo
2002-09-06 12:11:30 +00:00
James Cox
5d4080ec38
remove uneeded def
2002-09-06 10:34:30 +00:00
Sascha Schumann
702d7afc3c
Reenable pwrite/pread support
...
The old checks supposed that pread/pwrite worked, if a declaration was
found in <unistd.h>. We now actually check whether they work successfully
before using them.
2002-09-06 10:27:26 +00:00
Anantha Kesari H Y
8f14aafe97
NetWare related changes/modifications
2002-09-06 10:20:39 +00:00
Derick Rethans
828c2a9c46
- argh... this is getting annoying
2002-09-06 07:47:49 +00:00
Anantha Kesari H Y
338332c799
NetWare related changes/modifications
2002-09-06 07:44:30 +00:00
Derick Rethans
dc3ea09991
- Please do not use spaces for indentation!
...
- Removed redundend ifdefs
2002-09-06 07:30:51 +00:00
Anantha Kesari H Y
dc5d3f5585
NetWare related additions/modifications
2002-09-06 07:27:27 +00:00
Anantha Kesari H Y
0ea12a47ab
NetWare related additions/modifications
2002-09-06 06:39:57 +00:00
Dan Kalowsky
e560822fa7
silence a windows build warning
2002-09-05 21:29:39 +00:00
foobar
71ecad8fbe
Remove unnecessarily commented code.
2002-09-05 21:16:34 +00:00
foobar
d94758bec2
Remove unnecessary commented code.
2002-09-05 21:12:55 +00:00
foobar
d1009fe707
Using --with-zlib-dir should work now with phpized builds too.
2002-09-05 20:13:20 +00:00
Derick Rethans
2b6ba50601
- Unbreak build
2002-09-05 18:11:33 +00:00
Derick Rethans
99850fcc28
- Tabs for indentation
2002-09-05 14:36:33 +00:00
Derick Rethans
5c0b6f7fa8
- Please use tabs for indentation
2002-09-05 14:32:47 +00:00
Anantha Kesari H Y
8b8f1e0590
NetWare related additions/modifications
2002-09-05 14:25:07 +00:00
Ilia Alshanetsky
eb58557e1c
Fixed a buffer overflow that occurs when wordwrap is unable to calculate
...
the correct number of times the multi-byte break needs to be inserted into
the string.
2002-09-05 14:00:28 +00:00
Anantha Kesari H Y
96a4626b68
NetWare related additions/modifications
2002-09-05 12:09:57 +00:00
Anantha Kesari H Y
3e867bfdb1
NetWare related additions/modifications
2002-09-05 12:03:43 +00:00
Anantha Kesari H Y
bbc162d164
NetWare related additions/modifications
2002-09-05 11:50:43 +00:00
Anantha Kesari H Y
76d94e57ab
NetWare related additions/modifications
2002-09-05 11:35:10 +00:00
Derick Rethans
60dcc761ac
- php_error -> php_error_docref
...
- corrected proto of implode() (to match the docs)
2002-09-05 11:29:31 +00:00
Anantha Kesari H Y
98a1d774df
NetWare makefile for LDAP Extension
2002-09-05 11:26:05 +00:00
Anantha Kesari H Y
ad844f0b1b
NetWare related additions/modifications
2002-09-05 11:22:20 +00:00
Hartmut Holzgraefe
101d155baa
in stristr:
...
this check was in the wrong place, the real version was some lines
below, this one assumed the type was 'string' in any case
now it looks like strstr
2002-09-05 11:12:01 +00:00
Anantha Kesari H Y
77e2ed4834
NetWare related additions/modifications into FTP files
2002-09-05 10:13:27 +00:00
foobar
c40262ef99
This _should_ fix those builds where gd.h might be in many places in
...
the system. Not guaranteed, but now the path for the found gd.h is always
first in the includes.
2002-09-05 00:24:33 +00:00
foobar
ba057e9bf3
Fix build with GD < 2.0.x
2002-09-05 00:22:40 +00:00
Yasuo Ohgaki
9e252a9616
php_error -> php_error_docref
2002-09-04 22:25:13 +00:00
foobar
3bf7519210
@- Added --disable-all configure option. (Jani)
2002-09-04 18:47:28 +00:00
foobar
dcf995c648
ws fix
2002-09-04 17:41:51 +00:00
foobar
25e91506cb
Fix the shared build (nobody ever build this as shared?)
2002-09-04 17:40:36 +00:00
Martin Kraemer
20f85627f5
The sasl.h file is in .../include/sasl/ (at least in cyrus-sasl-2.1.6)
2002-09-04 14:41:29 +00:00
foobar
f05db43a68
Fix bug: #19212
2002-09-04 14:30:36 +00:00
Sebastian Bergmann
419321979d
Don't build ext/overload with Zend Engine 2.
2002-09-04 13:55:52 +00:00
Dan Kalowsky
e5324723d0
sniper claims its safe to take these out as well.
2002-09-04 13:52:41 +00:00
Dan Kalowsky
65df9d5127
taking out the PWRITE calls too
2002-09-04 13:51:08 +00:00
Dan Kalowsky
31fe6a549f
This fixes Bug #19022 and #15983
2002-09-04 13:42:59 +00:00
Martin Kraemer
ab2df38f3d
Fix bogus test
2002-09-04 12:50:41 +00:00
Anantha Kesari H Y
06e2fabc02
To include the NetWare config file
2002-09-04 11:20:18 +00:00
Yasuo Ohgaki
38ef35e5b0
Fixed undefiend referece at build time.
...
Fixed transilit test script.
Make fixes available on Windows.
Patch by Yoshimori Koizumi<readjust@deneb.freemail.ne.jp>
2002-09-04 05:17:16 +00:00
Dan Kalowsky
610b2b76d7
Fix for bug #19155 UNTESTED. Unfortunately I don't have a way to test it
...
hopefully the user will.
2002-09-04 04:24:54 +00:00
Dan Kalowsky
21e5f8ed77
No C++ comments, again!
2002-09-04 04:03:20 +00:00
Dan Kalowsky
4efc96d575
No C++ Comments
2002-09-04 03:57:59 +00:00
foobar
639221694f
Use zend_ini_string instead of the 'alias'.
2002-09-03 22:54:02 +00:00
Rasmus Lerdorf
86c4c1730e
Check for uppercase function names in .def files - patch from David Viner
2002-09-03 20:57:20 +00:00
Rui Hirokawa
ee2e4ed41f
removed #ifdef for mbstring.encoding_translation.
2002-09-03 09:11:33 +00:00
Rui Hirokawa
9b33531910
*** empty log message ***
2002-09-03 05:20:40 +00:00
Rui Hirokawa
7678ada2b8
--enable-mbstr-enc-trans is abolished to prevent some problems about POST/GET/Cookie variables. the same functionality is controllable in php.ini option mbstring.encoding_translation (default:Off).
2002-09-03 05:18:20 +00:00
Sergey Kartashoff
e32f35eb4e
- Udm_Cat_Path, Udm_Cat_List, Udm_Get_Doc_Count functions have been fixed
...
to work with mnogosearch-3.2.6 and later.
- Removed search words highlighting while getting document URL in
mnogosearch extention
2002-09-01 14:11:46 +00:00
Jan Lehnardt
2334abeff4
- cosmetics
2002-08-31 21:43:54 +00:00
Adam Dickmeiss
b18b6f3691
Bug fix: dont cache connection if proxy setting have changed
2002-08-30 13:26:41 +00:00
foobar
06fe943795
Fix shared build
2002-08-30 03:52:41 +00:00
foobar
4e34d6ce27
Fix bug: #19124 , xmlrpc extension builds ok now as shared extension.
2002-08-30 02:57:13 +00:00
foobar
55b22b16a2
xpm.h is sometimes in /usr/include/X11 (or /usr/X11R6/include/X11)
2002-08-30 02:44:45 +00:00
foobar
bda34955db
Fix the build when bundled gd library is used
2002-08-30 02:41:52 +00:00
Jan Lehnardt
81dcd62bc2
- seperate registered streams.
...
#read: make sebastian happy ;)
2002-08-29 18:28:11 +00:00
Ilia Alshanetsky
7a7497e21b
Fixed the \0 check in previous patch.
2002-08-29 15:58:33 +00:00
Ilia Alshanetsky
337448322f
Fixed bug #18966
2002-08-29 15:44:00 +00:00
foobar
e040302807
Remove unnecessary whitespace
2002-08-29 15:28:09 +00:00
Jan Lehnardt
e1cac684df
- fix ZTS build. thanks to edin.
2002-08-29 09:11:22 +00:00
Marcus Boerger
38247a7993
One zero to much
2002-08-29 08:32:41 +00:00
Derick Rethans
9d31d92712
- EXIF is about meta data from images, not for digital cameras
2002-08-29 05:36:42 +00:00
foobar
04bbf46957
Fix bug: #19159 , mysql_field_count was available since 3.22.24
2002-08-29 01:17:24 +00:00
foobar
715615ea6b
revert that undiscussed change until it is really agreed upon.
2002-08-29 00:55:24 +00:00
Ilia Alshanetsky
f387972a97
Fixed compile warning (unused variable)
...
Added a \n separator between Addition Modules
2002-08-28 23:19:59 +00:00
Jan Lehnardt
6676617693
- add phpinfo() support for CLI.
...
@phpinfo() support for CLI (jan)
2002-08-28 22:31:51 +00:00
Rasmus Lerdorf
89651dabde
Description didn't match the function here
2002-08-28 22:14:42 +00:00
Marcus Boerger
562b78f422
Enable EXIF by default as discussed with Rasmus
...
@Made EXIF (digital camera) extension enabled by default. (Marcus)
2002-08-28 19:31:01 +00:00
Derick Rethans
a235002eeb
- Let's make this a little bit more professional :)
2002-08-28 12:10:00 +00:00
Derick Rethans
5b9a26da81
- Whitespace
2002-08-28 09:28:06 +00:00
Jason Greene
b3a1998386
@socket_recvfrom is now binary safe (Jason)
...
Zero the structure so that when the tcp layer of the OS decides to ignore it,
we do not think we are getting a value
2002-08-28 06:15:13 +00:00
Dan Kalowsky
936df3c34f
silence build warning, added default case
2002-08-28 06:13:49 +00:00
foobar
d102e54d5b
This extension is not forced to be compiled as shared.
2002-08-28 02:44:40 +00:00
foobar
3410e25b17
Added the header and removed some commented out stuff (wrong place anyway)
2002-08-28 02:43:46 +00:00
foobar
73f43e35f0
ws fixes
2002-08-28 02:38:17 +00:00
foobar
1939764d98
Fix ZTS build
2002-08-28 02:08:57 +00:00
Brad House
77208efb26
Adding a left-out command
2002-08-27 20:55:48 +00:00
Marcus Boerger
1ab90386cf
Some requirements engineering: today necessary defines exists where
...
needed.
2002-08-27 20:10:46 +00:00
Marcus Boerger
d1b56bf810
php_error_docref
...
BUT didn't we decide to disable those functions when not supported
instead of displaying an error?
2002-08-27 19:40:55 +00:00
Marcus Boerger
965ecdb3a6
php_error_docref
2002-08-27 15:32:04 +00:00
Marcus Boerger
a8027c1428
Remove this nonsense - this makes the module unpredicable since we do
...
not have default values in ini and more encodings will follow.
2002-08-27 14:57:09 +00:00
Christian Stocker
e8b3e2abe7
fix some to long property strings
2002-08-27 08:40:44 +00:00
Christian Stocker
b29110dd3d
argh, domxml_doc_free is not yet ready for CVS :)
2002-08-27 07:33:55 +00:00
Christian Stocker
567c4bbe4b
stupid typo
2002-08-27 07:25:53 +00:00
Christian Stocker
e0b4533eeb
fix memleak in php_domxslt_string_to_xpathexpr
2002-08-27 06:54:21 +00:00
Marcus Boerger
a3c5628f82
-php_error_docref
...
-nuke unused variable
2002-08-27 00:44:57 +00:00
Marcus Boerger
f06fcbd59a
header for last commit
2002-08-27 00:44:07 +00:00
Marcus Boerger
36ede8b86f
-fix memory leak on failure
...
-only use one function for nearly identical things
-fix stripslashes not working on input directly
2002-08-27 00:20:37 +00:00
Marcus Boerger
6063c8c478
fix fwrite to no longer apply stripslashes on input string when
...
magic_quotes_runtime is set On.
2002-08-26 23:18:59 +00:00
Marcus Boerger
f0b492b88d
fix proto and tweak error message
2002-08-26 23:16:51 +00:00
Wez Furlong
cfb5002e0b
Implement com_invoke_ex, which allows the user to specify the invoke kind
...
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.
2002-08-26 13:36:35 +00:00
Derick Rethans
fc7eb838fc
- Whitespace
2002-08-26 09:47:46 +00:00
Derick Rethans
7edb660af9
@- Use escape_shell_cmd() to allow multiple extra parameters to the
...
@ invocation of the mailer as used in the fifth parameter to mail(). (Derick)
- Use escape_shell_cmd() to allow multiple extra parameters to the invocation
of the mailer as used in the fifth parameter to mail().
2002-08-26 09:44:31 +00:00
Jason Greene
1ce75e3a63
Implement socket errno values for UNIX based platforms.
...
They are all prefixed with SOCKET_ to preserve name space
Win32 will follow...
2002-08-25 23:28:42 +00:00
Sebastian Bergmann
e8b50bc834
Fix ZTS build.
2002-08-25 22:17:56 +00:00
Wez Furlong
ddddf398af
WS
2002-08-25 19:44:25 +00:00
Ilia Alshanetsky
64ef43ecd4
Slight optimization of php_strtoupper & php_strtoupper functions.
2002-08-25 19:08:07 +00:00
Marcus Boerger
412c2ba7a3
MFB
2002-08-25 18:48:46 +00:00
Marcus Boerger
ba40963985
improoved error messages
2002-08-25 18:21:40 +00:00
Derick Rethans
8218b5838c
@- PHP's cURL extention now requires cURL version 7.9.8 (Derick)
...
- Bump up required version number of cURL to 7.9.8
2002-08-25 12:24:40 +00:00
Wez Furlong
5c6ad38c31
Prevent possible problems with include_path.
2002-08-25 12:09:57 +00:00
Wez Furlong
c7be7b55d1
Add a "closing" parameter for filters to determine if a flush is the last
...
flush before the stream is closed. This allows filters to finish a chunk
and write footers etc.
2002-08-25 10:26:58 +00:00
Wez Furlong
27adb75585
Remove php_stream_error as discussed with Rasmus.
...
Unify error messages for ext/ftp. (which was using php_stream_error).
2002-08-25 10:10:23 +00:00
Yasuo Ohgaki
798236bc93
Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them.
...
@ Changed pg_connection_info()/pg_connection_reset()/pg_connection_busy()/pg_result_status()/pg_result_error() silently return FALSE when resource is not passed to them. (Yasuo)
2002-08-24 22:28:28 +00:00
Yasuo Ohgaki
d23cb1686d
Rename mysql_character_set_name() to mysql_client_encoding(). pg_client_encoding() is available from PHP4.0.3 and this function is available from PHP 4.3.0
2002-08-24 21:41:25 +00:00
Zeev Suraski
4b81d04210
Undeprecate mysql_db_query()
2002-08-24 13:15:35 +00:00
Stefan Esser
3efb925931
Overwrite control chars in parameters with whitespace instead of truncating.
2002-08-24 11:37:50 +00:00
Georg Richter
11bd3c08b6
changed zend_error -> php_error_docref()
2002-08-24 10:53:40 +00:00
Den V. Tsopa
a1e0e5c859
convert encoding to cp1251,cp866 was not working, fixed
2002-08-24 09:48:00 +00:00
Georg Richter
3bd2a54064
changed error messages according to CODING_STANDARDS
2002-08-24 09:27:51 +00:00
Yasuo Ohgaki
e4f9053061
Fixed typo
2002-08-24 07:19:40 +00:00
Yasuo Ohgaki
488a1e7399
Make pg_result_status() a little more useufl by ignoring invalid
...
parameter and return FALSE.
(i.e. pg_query() may return FALSE instead of result resource)
2002-08-24 07:18:15 +00:00
Marcus Boerger
149ad05b4f
php_error_docref
...
#New conversion available at: http://docref.txt.marcus-boerger.de
2002-08-24 01:19:28 +00:00
Zeev Suraski
5a5e206ec2
Fix import_request_variables()
2002-08-24 00:45:09 +00:00
foobar
135a1c64c4
Made this extension to use the resource stuff
2002-08-23 22:24:02 +00:00
foobar
06c6a96721
ws fix
2002-08-23 20:57:30 +00:00
Rasmus Lerdorf
53e6c07907
stream closing bug here too
2002-08-23 17:53:03 +00:00
Wez Furlong
533c16e21e
Fix segfault reported by Rasmus.
2002-08-23 17:45:46 +00:00
Georg Richter
6650761f9b
fixed bug #18643
2002-08-23 15:56:34 +00:00
Christian Stocker
064fb5c3cb
renamed xslt_dump_* to xslt_result_dump_* to avoid confusion
...
# will adjust NEWS file later
2002-08-23 15:26:19 +00:00
Christian Stocker
9278d9bf1a
fix memleak in xslt->dump_mem()
2002-08-23 15:19:16 +00:00
Georg Richter
0c386174db
fixed bug #19016
...
SSL is only available for MYSQL_VERSION_ID >= 40000
2002-08-23 14:10:27 +00:00
Georg Richter
8153dfc877
fixed bug #16965
2002-08-23 10:16:19 +00:00
Zeev Suraski
a6e8e72372
Fix ob_gzhandler()'s handling of requests w/o compression but that do have
...
the Accept-Encoding header
2002-08-23 08:37:35 +00:00
Ilia Alshanetsky
081e420c18
Fixed a typo
2002-08-22 19:19:37 +00:00
Marcus Boerger
17743955d0
more php_error_docref
2002-08-22 19:14:27 +00:00
Marcus Boerger
727067f59c
php_error_docref...
2002-08-22 18:38:44 +00:00
Wez Furlong
62b7b412e2
*cough*
2002-08-22 17:40:25 +00:00
Wez Furlong
a388ab6205
Fix error messages.
2002-08-22 17:37:46 +00:00
Marcus Boerger
902c17e05a
fiw warnings
2002-08-22 16:21:32 +00:00
Christian Stocker
8e52350a49
- moved xslt_dump_ to better place
...
- removed unused variables
2002-08-22 16:04:28 +00:00
Christian Stocker
1a486b6676
@- Added XsltObject->dump_file($result,$filename[,$compression]) for dumping
...
@ xslt-result directly into a file. (chregu)
2002-08-22 15:54:23 +00:00
Christian Stocker
1f57dec2bf
@- Added XsltObject->dump_mem($result) for returning xslt-result directly
...
@ into a string (morus.walter@web.de , chregu)
- XsltObject->dump_file() will follow
- bumped up needed libxslt version to 1.0.18
2002-08-22 15:02:41 +00:00
Christian Stocker
2ce44cd99c
return version number of linked libxml2, not of the one, which it was
...
compiled against
2002-08-22 14:32:43 +00:00
Marcus Boerger
9b9052f27a
fix zts build
2002-08-22 14:02:08 +00:00
Mark L. Woodward
7711aac1d8
Removed C++ comments
2002-08-22 13:30:03 +00:00
Edin Kadribasic
3c4c2926d0
magic.mime seems to be more common name for the file.
2002-08-22 13:23:51 +00:00
Edin Kadribasic
55173781b5
@- Made mime_magic extension available on win32 platform. (Edin)
...
Mime_magic extensions builds on windows now.
2002-08-22 13:16:03 +00:00
Ilia Alshanetsky
848bcf7527
Instead of hardcoding the path of magic.mime file, try to find the file
...
inside common paths for the file.
2002-08-22 12:21:25 +00:00
Ilia Alshanetsky
484d7793e0
Fixed a number of compile warnings.
2002-08-22 12:15:20 +00:00
Christian Stocker
47d8e08b11
@ - Added xslt_backend_version() and xslt_backend_name() for getting
...
@ information about the processor backend. (chregu)
2002-08-22 09:54:06 +00:00
Stefan Roehrich
0ea1dda8cd
Fixed prototype.
...
Fixed double printing of function name in docref error messages.
2002-08-22 09:38:55 +00:00
Tim Toohey
266193159b
(PHP imagecolormatch) makes a palette image match the colours in the
...
true-color version.
(PHP imagelayereffect) extended alpha-channel mixing effects for the
bundled GD library
@Added ImageColorMatch() and ImageLayerEffect() functions
@which work with the bundled GD library (ttoohey)
2002-08-22 07:28:26 +00:00
Jason Greene
261a60a360
@Made major improvents to the pcntl extension(Jason):
...
@ - Greatly improved performance, by switching the signal callback mechanism
@ to use ticks
@ - Implemented object signal callback ability by using array($obj, $method)
@ - Added a restart parameter to pcntl_signal, which allows you to disable
@ the default of system call restarting
Changed callback hash table to be initialized and destroyed per reqeust
(allows the ability to use request life zvals as handles)
Nuked warnings
Modified test script to adjust to new ticks backend
Some slight WS fixes
2002-08-22 04:20:10 +00:00
foobar
faff3a6e8a
kill some compile warnings
2002-08-22 01:25:52 +00:00
foobar
ff5ed789bc
style fix
2002-08-22 01:20:50 +00:00
foobar
0d4776625a
comment out unused variable
2002-08-22 01:06:14 +00:00
foobar
7796bc12dd
kill compiler warning (unused variable)
2002-08-22 00:43:18 +00:00
foobar
b9d4067001
Fix typo.
2002-08-22 00:34:07 +00:00
Marcus Boerger
d104d08a84
These require exif and mbstring
2002-08-21 23:14:40 +00:00
Ilia Alshanetsky
ea1bb5e172
Added monetary.h to prevent compile warning.
...
Fixed a memory leak inside money_format function, which occures if the
parameters to the function are not valid.
Fixed a segmentation fault inside money_format in the event the value
to be formated is >1024 bytes.
Made the return value of money_format be null terminated.
2002-08-21 13:14:57 +00:00
Marcus Boerger
3b24fc1c5a
Reflect recent changes to exif.c
2002-08-21 11:37:22 +00:00
Marcus Boerger
95e933fc99
Fixes array test 004.phpt. Nice copy paste error.
2002-08-21 11:23:44 +00:00
Marcus Boerger
a70640480a
Patch from Melvyn Sopacua <msopacua@idg.nl> finally fixes it (bug 19006).
2002-08-21 10:42:55 +00:00
Sebastian Bergmann
090e30a863
Fix ZTS build.
2002-08-21 06:22:19 +00:00
Derick Rethans
ccf51590b3
- Proper format for CREDITS files
2002-08-21 05:41:49 +00:00
Uwe Steinmann
6a79e354c1
- gave overdue credits to christian
2002-08-21 05:39:28 +00:00
Dan Kalowsky
4809e8ebbc
This final change enables the ext/java to compile on OSX.
...
# now to do testing and ensure that it works as stated... weeee...
2002-08-21 04:42:58 +00:00
Ilia Alshanetsky
a86b1fc275
Fixed compile warning.
2002-08-21 03:59:27 +00:00
Marcus Boerger
d3d12daec4
add ini setting precision - this does not fix the real problem here
2002-08-21 03:13:33 +00:00
Marcus Boerger
e0c967508a
more ini settings
2002-08-21 03:10:55 +00:00
Dan Kalowsky
a832091a2c
One more patch up towards OSX compatibility...
...
# it compiles now with the ObjC files (Finlay Doobie rocks the casbah)
2002-08-21 01:41:22 +00:00
Marcus Boerger
be1e23cbc9
Add var_dump float format test
2002-08-21 01:27:56 +00:00
Marcus Boerger
534a63b5af
Add combined base64 and md5 test
2002-08-21 01:26:21 +00:00
Marcus Boerger
9607a482b2
fix array tests
...
someone must have changed precision in php.ini-dist from 14 to 12
2002-08-21 01:22:02 +00:00
Dan Kalowsky
7ac1397636
Correcting english in config
2002-08-20 23:08:24 +00:00
Wez Furlong
9d348ea800
Implement filter API for streams.
...
Filters can be stacked onto a stream; more details will follow in docs and
on php-dev.
Implement "string.rot13" filter
Allows the following script:
$fp = fopen("file.txt", "r");
stream_filter_prepend($fp, "string.rot13");
// File contents will be subject to a rot13 transformation before
// being output.
fpassthru($fp);
fclose($fp);
2002-08-20 20:47:47 +00:00
Wez Furlong
a9ba30cd89
fix vim modeline
2002-08-20 20:43:45 +00:00
Marcus Boerger
f15b4c1e30
change to php_error_docref()
...
#documentation about output relevant ini settings will be in ref.outcontrol
2002-08-20 20:22:30 +00:00
Marcus Boerger
0f8681fc69
Changed handling of output buffer sizes.
2002-08-20 20:07:00 +00:00
Marcus Boerger
7bd7e14e4c
Changed handling of output buffer sizes.
...
#.c to follow
2002-08-20 20:01:14 +00:00
Marcus Boerger
fdf514f45c
Changed handling of output buffer sizes.
2002-08-20 19:51:00 +00:00
foobar
c4d424254a
remove tabs
2002-08-20 12:01:24 +00:00
Derick Rethans
c20c3fc610
- Fix for the compiler on Compaq Tru64 4.0F PK3 (bug #18974 )
2002-08-20 11:18:18 +00:00
Marcus Boerger
bb258468fc
NO C++ comments
2002-08-20 10:00:28 +00:00
Edin Kadribasic
e632758b19
Windows build supports returning the sql statement which failed.
2002-08-20 09:15:11 +00:00
Edin Kadribasic
48389cc2a6
Fixed build with Oracle 8.0.x (bug #18973 ).
2002-08-20 07:26:50 +00:00
Wez Furlong
5f9a5a7c8e
Remove php_stream_sock_set_blocking and replace with
...
php_stream_set_option which can be used in a similar way as ioctl()
to set options for streams.
Current options include buffering and blocking support.
o Buffer control is support for stdio based streams.
o Blocking/non-blocking is supported for stdio and socket based streams.
2002-08-19 22:59:10 +00:00
Ilia Alshanetsky
6dbc0e5483
Convert the value of tz_minuteswest inside struct timezone on Windows to
...
minutes from seconds.
2002-08-19 21:59:46 +00:00
foobar
7ea1e2d511
Fix the build when using --with-java without any path
2002-08-19 21:49:37 +00:00
Adam Dickmeiss
e1a8983287
Make options piggyback and timeout work with ZOOM
2002-08-19 21:15:59 +00:00
Zeev Suraski
df4fdeb54e
Fix a warning
2002-08-19 20:47:42 +00:00
Sander Roobol
bed405cce4
Sync with var_unserializer.re
2002-08-19 20:02:59 +00:00
Sander Roobol
47ae4068bb
Made unserialize handle floats with an E notation - bug #18654
...
Patch by Christophe Sollet <csollet@coleebris.com>.
(I'll commit a new var_unserializer.c in a second)
2002-08-19 19:45:46 +00:00
Christian Stocker
9698d5da45
w3c adjustments :)
...
- has_attributes returns empty string if attribute is not there
- parent_node returns null, if no parent
2002-08-19 14:01:04 +00:00
Stanislav Malyshev
2282ac6074
ZE2 compatibility fix
...
## In ZE2 the hash contains zend_class_entry *!
2002-08-19 10:58:18 +00:00
Stanislav Malyshev
05156fa349
ZE2 compatibility fix
...
## In ZE2 the hash contains zend_class_entry *!
2002-08-18 12:22:28 +00:00
Ilia Alshanetsky
1aea030cf2
Corrected if() syntax in previous patch.
2002-08-18 07:54:33 +00:00