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
Ilia Alshanetsky
d42dbfce8e
Fixed a segmentation fault that would occur if an entry contained a
...
non-terminated enclosure. Bug #12556
2002-08-18 06:55:32 +00:00
Anil Madhavapeddy
d5fd43be37
include PDFLIB_SHARED_LIBADD in the pdflib test, or it fails with
...
unresolved symbols on OpenBSD
2002-08-18 05:13:05 +00:00
James Cox
aad8f14739
reverting to 1.73 for steph (sfox@php.net)
...
#is it just me or reverting using cvs just suck?
2002-08-18 05:05:44 +00:00
Dan Kalowsky
4e3cb1d3c5
Bug Fix #18960 - Submitted by alan_k@php.net
2002-08-18 04:33:10 +00:00
Zeev Suraski
3b646f0e5d
Use mtime instead of atime, as we always update the session file anyway.
2002-08-17 20:32:26 +00:00
Christian Stocker
6cbb350607
More W3C conformance stuff (they returned all false before..)
...
- DomNode->attributes() returns NULL, if not found.
- DomNode->first_child() returns NULL, if not found
- DomNode->last_child() returns NULL, if not found.
- DomNode->namespace_uri() returns NULL, if not found.
2002-08-17 11:47:21 +00:00
foobar
2ae84184d3
ws fixes
2002-08-16 23:25:53 +00:00
Dan Kalowsky
26e044a143
Silence a compiler warning, and returns the SUCCESS value on PHP_MINIT
2002-08-16 16:56:55 +00:00
Andi Gutmans
f7096fb8fc
- Use tabs instead of spaces for indentation!
...
- Fix all sorts of ugly whitespace things.
- People, please write code according to our standards even if you don't
- like them.
2002-08-16 15:45:22 +00:00
Ilia Alshanetsky
3bd899ea43
Fixed a compile failure in Win32 caused by previous patch.
...
Changed else statement to comply with PHP coding standards.
2002-08-16 15:04:00 +00:00
Jason Greene
980feb5e98
Nuke warnings on strict compilers
2002-08-16 14:23:27 +00:00
Ilia Alshanetsky
f11c3a4095
Added a handler for php -r '' for SAFE_MODE
2002-08-16 12:47:56 +00:00
Sterling Hughes
88c1d8983f
clean this up a bit
2002-08-16 10:08:32 +00:00
Christian Stocker
9c20c7c9ba
More on the way to W3C coformance:
...
@- Changed DomNode->next_sibling and DomNode->previous_sibling to return NULL
@ instead of false (W3C specs). (chregu)
@- Changed DomNode->insert_before() and DomNode->append_child() to conform to
@ W3C specs (moving not copying nodes, accepting NULL as 2nd param). (chregu)
2002-08-16 08:42:41 +00:00
Ilia Alshanetsky
b284497eaf
Added safe_mode & open_basedir check when a user is chaning ini options
...
that specify file system paths. Fixes bug #17168 .
2002-08-16 01:39:10 +00:00
Zeev Suraski
900651b7ab
Make unset($_SESSION['foo']) actually remove the variable from the session,
...
if register_globals is off.
2002-08-15 21:44:44 +00:00
Zeev Suraski
cc287d4c21
Update email address
2002-08-15 21:43:41 +00:00
Dan Kalowsky
26986164b4
Correcting some english in the comment...
2002-08-15 19:32:08 +00:00
Dan Kalowsky
dee21adc3d
Fix for bug #18401 , makes shuffle() properly generate all possibilities.
...
Patch provided by Adam Trachtenberg <adam@trachtenberg.com>
2002-08-15 19:09:05 +00:00
Christian Stocker
993d235c07
include libxml/xinclude.h to make some compilers happy
2002-08-15 18:02:25 +00:00
Dan Kalowsky
1462813bfd
A fix suggested by chregu (who doesn't have karma) to re-enable older java
...
JDKs to work.
2002-08-15 14:18:09 +00:00
Christian Stocker
2126f799b9
proto fixes
2002-08-15 13:26:32 +00:00
Christian Stocker
c0f4035116
@ - Added DomNode->set_namespace(uri[,prefix]) (chregu)
...
- Added third optional parameter (prefix) to DomDocument->create_element_ns()
- generate prefix from random number, if not provided.
2002-08-15 12:43:44 +00:00
Alan Knowles
d46bdbde66
changed default stop bits to a valid value
2002-08-15 09:39:35 +00:00
Alan Knowles
08887eaaf2
changed default stop bits
2002-08-15 09:37:26 +00:00
Alan Knowles
0dc8cdd4c7
adding dio_tcsetattr and ASYNC support
2002-08-15 09:23:41 +00:00
Zeev Suraski
0e6b647741
coming to think of it, it shouldn't be necessary at all (thanks Jani :)
2002-08-15 00:37:21 +00:00
Zeev Suraski
f4196d9bd2
Fix build
2002-08-15 00:35:36 +00:00
Marcus Boerger
18ef76e361
do not include "php_have_iconv.h"
2002-08-14 23:48:52 +00:00
Yasuo Ohgaki
13a3dd7b77
Forgot to update source default.
2002-08-14 22:31:39 +00:00
Dan Kalowsky
c55d024c29
Comming a fix for a compile error found in Bug #15630
...
# NOTE this is NOT the supplied patch in said bug for fixing imap_utf7_decode
2002-08-14 20:55:11 +00:00
Dan Kalowsky
161e279981
Silencing a compilier warning on windows
2002-08-14 20:40:48 +00:00
Dan Kalowsky
f3fc7fe2fd
Updating the error message to state a difference between libraries and
...
include. Also restoring old for search to keep BC on configure
2002-08-14 17:49:41 +00:00
Christian Stocker
5c935cb372
- let DomNode->replace_child always behave correctly (acc. to W3C specs)
...
if the newchild had the same parent as the old child, nothing happened,
which seemed strange behaviout to me...
2002-08-14 17:38:20 +00:00
Dan Kalowsky
4b691d154a
Adding a check for the binaries rather than just the directories.
2002-08-14 17:04:05 +00:00
Christian Stocker
ce71fe0288
DomNode->replace_node moves instead of copies node.
2002-08-14 16:53:56 +00:00
Dan Kalowsky
d10bf42029
JavaC doesn't take flags like this, Java jar does, pay attention kalowsky
2002-08-14 16:53:49 +00:00
Dan Kalowsky
00b467bd6a
cleaning up the displayed path (removing the ./ in the middle)
2002-08-14 16:49:22 +00:00
Dan Kalowsky
38a6873f20
correcting these to be only docref's not docref1's
2002-08-14 16:23:16 +00:00
Dan Kalowsky
73557f5b52
Adding in MSG_RESULT check and \n for configure output viewing
2002-08-14 16:22:20 +00:00
Christian Stocker
c0a79401fd
- fix for bug #17771 (insert_before misbeaviour (DOM L2 spec.))
...
@ - DomNode->insert_before behaves now according to W3C spec
@ ie. new_child is moved, not copied. (chregu)
2002-08-14 16:12:18 +00:00
Dan Kalowsky
9f597d2dd1
Correcting mis-versioned comment
2002-08-14 16:11:49 +00:00
Dan Kalowsky
8d9487c00e
JAVA_INCLUDE, not JAVE_INCLUDE
2002-08-14 16:01:13 +00:00
Dan Kalowsky
49dd85c460
A little more clean up on the error messages, with a sample JDK 1.3 path to libjava.so
2002-08-14 15:29:48 +00:00
Dan Kalowsky
8b1e7744c1
correcting the AC_MSG_RESULT line
2002-08-14 14:37:04 +00:00
Dan Kalowsky
ba07aa06d8
adding in PATH check for JavaJar as well...
2002-08-14 14:36:08 +00:00
Christian Stocker
63874f9017
@ - Added some namespace support with DomNode->add_namespace(uri, prefix)
...
@ and DomDocument->create_element_ns(uri, nodename) (chregu)
2002-08-14 14:23:44 +00:00
Dan Kalowsky
6be8fb6a2e
Fix a bug for a user provided path as eru.
2002-08-14 13:48:44 +00:00
Christian Stocker
780c1605c8
bump up api version number
2002-08-14 09:20:19 +00:00
Christian Stocker
280cb97fef
fix for bug #18196
...
@ - DomElement->node_name() takes optional boolean argument for retrieving
@ - full qualified name (ie namespace prefix) (chregu)
2002-08-14 09:07:34 +00:00
Christian Stocker
323765cc17
fix for bug #18395 (DOMXML crash on removing previously created attributes)
2002-08-14 08:27:36 +00:00
Christian Stocker
43bdd6ed73
@ - DomNode->child_nodes() returns empty array instead of false, if no
...
@ - child nodes are found (chregu)
2002-08-14 07:29:46 +00:00
Den V. Tsopa
e139decdea
Revert from patch added mb_guess_encoding to previous version
2002-08-14 06:38:07 +00:00
Yasuo Ohgaki
8c020d357f
Add warning... It seems posting message to php-dev/php-cvs does not work!
2002-08-14 06:28:16 +00:00
Den V. Tsopa
4f5743582e
Added new function mb_guess_encoding, based on symbols rating
2002-08-14 05:41:40 +00:00
Brad LaFountain
7c1d2ff2e4
some more doc/lit stuff
...
some more wsdl stuff
2002-08-14 05:26:25 +00:00
Dan Kalowsky
2f1b6397bc
Fix for Bug #17572
2002-08-13 23:48:05 +00:00
Dan Kalowsky
19e42a2ed3
Fixed another memory leak, patch provided by Ilia <ilia@prohost.org>
2002-08-13 23:12:54 +00:00
Dan Kalowsky
ed135034a9
Fixes a memory leak which results when an invalid format code is
...
specified. Patch by Ilia <ilia@prohost.org>
#Someone give him php4 karma :)
2002-08-13 21:56:39 +00:00
Dan Kalowsky
ce160f1bde
fixing my misunderstanding of the php_error_docref
2002-08-13 21:39:36 +00:00
Dan Kalowsky
4fcca0167b
Removing the PHP_31 tag...
...
# I'm not sure if the rest of this define can go or not...
2002-08-13 21:35:54 +00:00
Dan Kalowsky
ea6ed5b8a5
Fixing the php_error_docref's to be compliant with the standard.
...
# Can't we just compress all these docrefs down to one function?!?
2002-08-13 13:26:31 +00:00
Marcus Boerger
6474731f91
some work on the messages
2002-08-13 09:41:30 +00:00
Dan Kalowsky
e9dcdd12aa
Fix for Bug #18873
2002-08-13 05:12:32 +00:00
Rasmus Lerdorf
b025bb1023
Missing proto
2002-08-13 05:08:47 +00:00
Rasmus Lerdorf
7a8330acd9
Single-line comments please
2002-08-13 05:00:11 +00:00
Dan Kalowsky
039902b912
spelling error
2002-08-13 04:52:50 +00:00
Dan Kalowsky
aed9e2355c
Added more folding markers....
2002-08-13 04:47:02 +00:00
Rasmus Lerdorf
f50df31d7f
bool not boolean
2002-08-13 04:44:45 +00:00
Rasmus Lerdorf
3ffe4cb1ff
bool not boolean
2002-08-13 04:37:28 +00:00
Rasmus Lerdorf
d820c177bf
dir() returns an instantiated object, not a class.
2002-08-13 04:24:15 +00:00
Rasmus Lerdorf
87ddcef3c3
Don't use long as a type
2002-08-13 04:20:34 +00:00
Rasmus Lerdorf
fb0c9122c1
Fix typo
2002-08-13 04:19:25 +00:00
Rasmus Lerdorf
0779da509b
Don't use long as a type
2002-08-13 04:11:51 +00:00
Dan Kalowsky
f9e8a5701b
Fix for Bug #18746 by sfox and I
...
#What is the GDBM_FIX for anyways, we can find it anywhere?
2002-08-13 04:10:31 +00:00
Dan Kalowsky
099d7df2e5
Let to php_error_docref revolution begin
2002-08-13 00:45:08 +00:00
Marcus Boerger
4294f2a93d
use of php_error_docref
2002-08-12 20:18:25 +00:00
Marcus Boerger
ac9991a245
-wrong fabsf define for MSVC.6
...
-MIN and MAX only if undefined
#should be last commit to fix all warnings (-:
2002-08-12 19:09:26 +00:00
Dan Kalowsky
7d5d00bf81
Point corrected by Markus
2002-08-12 18:21:33 +00:00
Dan Kalowsky
8d2d105cff
Umm forgot to clean up the error messages, and add a stop for looping.
2002-08-12 16:17:18 +00:00
Dan Kalowsky
ee240f5e4b
cleaned up to work with OpenLink iODBC better
2002-08-12 16:04:48 +00:00
Wez Furlong
fc1ef270ce
Implement curl based wrappers.
...
Currently read-only, and http is the only thing tested.
Because of this, using them can be controlled by configure:
--with-curlwrappers Use CURL for url streams
Not for production use...
This enables http, https, ftp and ldap protocols as streams.
2002-08-12 15:56:13 +00:00
Marcus Boerger
bdaae34cb9
ups wrong include committed
...
#if anybody objects we would need config stuuf in ligd otherwise but
#this way we can use other php functions...for example we could use
#php_error_docref....
2002-08-12 15:29:05 +00:00
Marcus Boerger
2df2e24a54
check for fabsf and floorf in config.m4
...
msvc.6 needs a define, msvc.net needs special treatment
2002-08-12 13:59:01 +00:00
Christian Stocker
c0f12111ba
@ - Added $DomDocument->xinclude() for substitution of XIncludes in
...
a DomDocument (chregu)
2002-08-12 13:11:50 +00:00
Marcus Boerger
9d03c0bdf0
more conversion fixes
2002-08-12 09:58:51 +00:00
Dan Kalowsky
7b9de90061
okay confirmation they don't exist in another driver... they're gone
2002-08-12 00:00:54 +00:00
Marcus Boerger
0dcbf7e375
-quick hack to allow compilation under windows again
...
-correct solution to follow tomorrow
2002-08-11 23:56:11 +00:00
Dan Kalowsky
6b31498d09
The start of adding odbc_data_source() functionality
2002-08-11 23:39:03 +00:00
Marcus Boerger
251882de7d
missed to commit this fix: correct since this is only a flag
2002-08-11 19:19:35 +00:00
Marcus Boerger
b9c0c918cc
try even more to fix those warnings.....
...
#repeat: this code must come from hell
2002-08-11 19:13:07 +00:00
Wez Furlong
3fe62cf0fb
Missing word...
2002-08-11 18:51:40 +00:00
Dan Kalowsky
299494ea5e
The start of adding in MacOSX compatibility. No objections on the
...
php-dev list from the sent patch for a week. Test and fix.
2002-08-11 15:33:25 +00:00
Wez Furlong
bcef712ad6
Properly implement TSRM parameters to the new log_error
...
function... (Thanks Marcus!)
Add a convenience macro for importing a stream from a zval.
2002-08-11 14:29:01 +00:00
Marcus Boerger
f9b6bac2a8
try to get this work ...
2002-08-11 14:05:30 +00:00
Marcus Boerger
1723861618
try to fix those warnings.....
...
#this code must come from hell: will we change code to our coding-scheme?
2002-08-11 13:50:27 +00:00
Wez Furlong
5a21ab42cb
Introduce an error stack for wrappers, to help prevent multiple errors
...
and warnings (some of which are bogus) when there are problems opening
streams.
Implement sanity check on the mode used to open ftp and http connections.
This fixes Bug 12004.
2002-08-11 10:53:10 +00:00
Yasuo Ohgaki
42355837c1
Changed my mind.
...
Let users decided whether users want larger chunk size or not.
@ Changed zlib.output_compression behavior. If larger chunk is preferred,
enable output_buffering also. (Marcus, Yasuo)
2002-08-11 02:32:49 +00:00
Yasuo Ohgaki
02ed705818
Generally speaking, sending packets less than 1KB is not efficient.
...
We're better to take some benchmarks see if removing extra buffer
is actually a good idea or not.
2002-08-11 01:11:11 +00:00
Wez Furlong
0c7a386b3e
correct proto
2002-08-10 20:19:49 +00:00
Marcus Boerger
21903dfc7e
corrected handling of internal output buffers
...
minor fixs
2002-08-10 16:12:36 +00:00
Marcus Boerger
ff63bf2a4f
no need to start additional first buffer when output compression is first buffer
2002-08-10 12:58:46 +00:00
Marcus Boerger
289607970c
should fix all windows warnings
2002-08-10 10:40:59 +00:00
Marcus Boerger
9c8ba935d6
Improved handling of output buffers (see news)\n#No trim for the string parameter...
2002-08-09 22:29:58 +00:00
Georg Richter
0019a842b4
forgot to remove another LOCAL_INFILE opion call
2002-08-09 21:13:00 +00:00
Wez Furlong
ccb5c84b6c
Centralize some blocking socket related code.
...
# It's been a while since I wrote this!
2002-08-09 21:02:36 +00:00
Wez Furlong
9eb215511f
syntax highlighting for vim
2002-08-09 20:56:52 +00:00
Marcus Boerger
783fddeb0f
possible memoryleak
2002-08-09 20:53:37 +00:00
Georg Richter
34b166579c
fixed bug #18815
2002-08-09 20:38:12 +00:00
Yasuo Ohgaki
c528157123
Remove duplicated checks.
2002-08-08 22:59:41 +00:00
James Cox
073d7a483f
thunder seems to have stopped
2002-08-08 21:26:49 +00:00
Hartmut Holzgraefe
1059312f37
reverting ' to \" to stop stupid discussions
...
although i still do not believe the arguments are reasonable ...
2002-08-08 20:19:33 +00:00
Sebastian Bergmann
9abdbd9c29
Fix warnings.
2002-08-08 18:55:19 +00:00
Marcus Boerger
9cf0c30968
those are allways defined -> fixes warning in basic_functions.c
2002-08-08 17:53:52 +00:00
James Cox
66e78004c1
Reverting patch. after more investigation this doesn't help in all that many cases, and with Wez's better patch, sometimes degrade's quality.
2002-08-08 15:02:14 +00:00
Hartmut Holzgraefe
e539c5564d
the order to do things is save-compile-commit
...
no variations and make sure editor and shell are in the same dir :(
2002-08-08 13:59:19 +00:00
Hartmut Holzgraefe
83586a6c06
fix for #18782 (setting background color without making sure the text
...
crtmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.
cvs [update aborted]: received interrupt signal
hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs update ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
retrieving revision 1.184
retrieving revision 1.188
Merging differences between 1.184 and 1.188 into info.c
rcsmerge: warning: conflicts during merge
cvs server: conflicts found in ext/standard/info.c
C ext/standard/info.c
hartmut in /new/php/php4untouched on hartmut
php4untouched > cvs log ext/standard/info.c
RCS file: /repository/php4/ext/standard/info.c,v
Working file: ext/standard/info.c
head: 1.188
branch:
locks: strict
access list:
symbolic names:
dev/: 1.188
php_4_2_2: 1.167.2.1
PHP_4_2_2: 1.167.2.1.0.2
php_4_3_0_dev_zend2_alpha2: 1.183
php5_5_0: 1.182
php_4_3_0dev: 1.182
php_4_3_0_dev_zend2_alpha1: 1.181
php_4_2_1: 1.167.2.1
php_4_2_1RC2: 1.167.2.1
php_4_2_1RC1: 1.167.2.1
php_4_2_0: 1.167.2.1
php_4_2_0RC4: 1.167.2.1
php_4_2_0RC3: 1.167.2.1
php_4_2_0RC2: 1.167.2.1
php_4_2_0RC1: 1.167.2.1
PHP_4_2_0: 1.167.0.2
php_4_1_2: 1.153.2.1
php_4_1_1: 1.153.2.1
ChangeLog: 1.161
php_4_1_0: 1.153.2.1
php_4_1_0RC5: 1.153.2.1
php_4_1_0RC4: 1.153.2.1
php_4_1_0RC3: 1.153.2.1
php_4_1_0RC2: 1.153.2.1
php_4_1_0RC1: 1.153.2.1
php_4_0_7RC3: 1.153
php4: 1.157
POST_SUBST_Z_MACROS: 1.157
PRE_SUBST_Z_MACROS: 1.155
php_4_0_7RC2: 1.153
RAND_REDESIGN: 1.154.0.2
php_4_0_7RC1: 1.153
PHP_4_0_7: 1.153.0.2
PRE_TSRM_MERGE_PATCH: 1.142
php_4_0_6: 1.137.2.1
php_4_0_6RC4: 1.137.2.1
php_4_0_6RC3: 1.137.2.1
php_4_0_6RC2: 1.137.2.1
php_4_0_6RC1: 1.137
PHP_4_0_6: 1.137.0.2
php_4_0_5: 1.132
php_4_0_5RC8: 1.132
php_4_0_5RC7: 1.132
php_4_0_5RC6: 1.132
php_4_0_5RC5: 1.132
php_4_0_5RC4: 1.132
php_4_0_5RC3: 1.132
php_4_0_5RC2: 1.132
php_4_0_5RC1: 1.132
PHP_4_0_5: 1.132.0.2
php_4_0_4pl1: 1.124
php_4_0_4pl1RC2: 1.124
php_4_0_4pl1RC1: 1.124
php_4_0_4REL: 1.124
php_4_0_4RC6: 1.124
php_4_0_4RC5: 1.124
php_4_0_4RC4: 1.124
php_4_0_4RC3: 1.124
php_4_0_4: 1.124.0.2
php_4_0_3: 1.116
php_4_0_3RC2: 1.114
php_4_0_3RC1: 1.114
php_4_0_2: 1.113
php_4_0_2RC1: 1.110
PRE_FILE_COMPILE_API_CHANGE: 1.108
php_4_0_1pl1: 1.104
php_4_0_1: 1.104
php_4_0_1RC2: 1.104
php_4_0_1RC: 1.101
php_4_0_0: 1.93
php_4_0RC2: 1.89
php_4_0RC1: 1.70
php_4_0b4pl1: 1.67
php_4_0b4: 1.65
php_4_0b4_rc1: 1.65
BEFORE_SAPI_POST_PATCH_17_FEB_2000: 1.62
BEFORE_SAPIFICATION_FEB_10_2000: 1.60
BEFORE_PRE_SHUTDOWN_REVERSE_PATCH: 1.57
PRE_ISSET_TYPE: 1.55
PRE_LIBZEND_TO_ZEND: 1.51
PRE_USED_RETURN_VALUE_PATCH: 1.39
php_4_0b3: 1.39
php_4_0b3_RC5: 1.39
php_4_0b3_RC4: 1.39
php_4_0b3_RC3: 1.39
php_4_0b3_RC2: 1.39
before-sapi-split: 1.36
php_4_0b2: 1.30
php_4_0b2-2: 1.27
php_4_0b2-1: 1.27
BEFORE_NEW_OPERATOR_FIX: 1.26
newoperator: 1.26.0.2
BEFORE_BIG_SYMBOL_CHANGE: 1.26
php_4_0b1: 1.25
BEFORE_REMOVING_AI_COUNT_FINAL_STEP: 1.14
BEFORE_REMOVING_GC_STEP1: 1.14
BEFORE_PHP4_APACHE_MODULE_CHANGE: 1.14
keyword substitution: kv
total revisions: 191; selected revisions: 191
description:
----------------------------
revision 1.188
date: 2002/08/05 19:00:09; author: helly; state: Exp; lines: +16 -2
Correct carset if iconv is active
#Same solution would work for mbstring - but that must wait
----------------------------
revision 1.187
date: 2002/08/04 22:49:48; author: helly; state: Exp; lines: +9 -3
-Send charset US-ASCII or ini setting default_charset.
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
----------------------------
revision 1.186
date: 2002/08/04 18:59:16; author: georg; state: Exp; lines: +2 -2
ups.. :)
----------------------------
revision 1.185
date: 2002/08/04 18:57:02; author: georg; state: Exp; lines: +2 -2
added meta tag (w3c compliance)
Thx to Ilia Alshanetsky (ilia@prohost.org )
----------------------------
revision 1.184
date: 2002/07/01 18:52:30; author: derick; state: Exp; lines: +8 -8
- No C++ comments
----------------------------
revision 1.183
date: 2002/06/19 13:24:01; author: sander; state: Exp; lines: +7 -12
Made the API versions appear better on phpinfo();
----------------------------
revision 1.182
date: 2002/06/08 10:25:44; author: mfischer; state: Exp; lines: +32 -2
- Since streams are always enabled, instead of just printing 'enabled' we tell
what streams are currently registered.
----------------------------
revision 1.181
date: 2002/05/24 17:25:40; author: sander; state: Exp; lines: +4 -4
Fix <head> and <body> tags in phpinfo() output (#17411 )
----------------------------
revision 1.180
date: 2002/05/13 17:43:04; author: zeev; state: Exp; lines: +6 -6
- Fix a buglet in printing of GPCSE arrays
- Remove indirect access
----------------------------
revision 1.179
date: 2002/05/13 08:46:21; author: zeev; state: Exp; lines: +4 -1
- Centralize html_puts() again
- Revolutionize phpinfo()'s speed
----------------------------
revision 1.178
date: 2002/05/12 14:50:54; author: sas; state: Exp; lines: +2 -2
Use string_len information
----------------------------
revision 1.177
date: 2002/05/12 14:48:22; author: sas; state: Exp; lines: +7 -6
reenable php_html_puts
----------------------------
revision 1.176
date: 2002/05/11 12:41:32; author: zeev; state: Exp; lines: +6 -6
Centralize html_puts() logic - php_html_puts() remains as an API wrapper
----------------------------
revision 1.175
date: 2002/05/09 11:56:52; author: derick; state: Exp; lines: +4 -1
- Add PHP_API_VERSION too
----------------------------
revision 1.174
date: 2002/05/09 11:47:37; author: derick; state: Exp; lines: +7 -4
- Show both API nos
----------------------------
revision 1.173
date: 2002/05/02 17:36:00; author: fmk; state: Exp; lines: +2 -2
Fixing wrong pointer
----------------------------
revision 1.172
date: 2002/05/02 12:33:03; author: derick; state: Exp; lines: +7 -1
- Add Zend API No. to phpinofo() output
----------------------------
revision 1.171
date: 2002/03/29 10:19:23; author: ssb; state: Exp; lines: +71 -17
(PHP php_uname) display runtime uname rather than compile-time uname, added
an optional parameter to get single fields (like uname(1))
# Windows version is not tested, and I didn't know how to get
# `uname -n` on Windows, so it's hardcoded to "localhost" for now.
# Windows gurus feel free to fix. :-)
----------------------------
revision 1.170
date: 2002/03/15 21:03:05; author: wez; state: Exp; lines: +2 -4
New PHP streams...
----------------------------
revision 1.169
date: 2002/03/14 18:39:53; author: zeev; state: Exp; lines: +3 -3
Change case for consistency
----------------------------
revision 1.168
date: 2002/03/14 13:35:19; author: zeev; state: Exp; lines: +3 -3
Make it clearer what this entry means
----------------------------
revision 1.167
date: 2002/03/04 20:14:52; author: sas; state: Exp; lines: +2 -1
branches: 1.167.2;
Add apparently missing include
----------------------------
revision 1.166
date: 2002/03/04 18:46:53; author: sas; state: Exp; lines: +7 -6
Supply php_html_puts which escapes a whole string.. now fully works in ZTS
mode, too.
----------------------------
revision 1.165
date: 2002/03/04 18:12:55; author: sas; state: Exp; lines: +5 -5
revert last commit, puts does more through putc.
----------------------------
revision 1.164
date: 2002/03/04 17:48:20; author: sas; state: Exp; lines: +6 -6
Use PHPWRITE to output data. Because this just outputs diagnostic
information, a few spaces won't hurt (and multiple ones are rendered
as one by browsers anyway). Micro-benchmarks which use phpinfo()
as a mean to generate output will yield more through-put now
(35 req/s vs. 83 req/s in tux).
----------------------------
revision 1.163
date: 2002/02/28 08:26:45; author: sebastian; state: Exp; lines: +2 -2
Maintain headers.
----------------------------
revision 1.162
date: 2001/12/29 14:23:58; author: sebastian; state: Exp; lines: +2 -2
PHP 4.0 -> PHP 4. Patch by Martin Jansen <mail@martin-jansen.de>.
----------------------------
revision 1.161
date: 2001/12/11 15:30:32; author: sebastian; state: Exp; lines: +3 -3
Update headers.
----------------------------
revision 1.160
date: 2001/12/06 13:31:34; author: sterling; state: Exp; lines: +3 -3
use PHP_INFO_ALL and PHP_CREDITS_ALL instead of hardcoding them
----------------------------
revision 1.159
date: 2001/10/11 23:33:49; author: ssb; state: Exp; lines: +17 -6
* zend_module_entry change: apino, debug and zts are moved first,
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
----------------------------
revision 1.158
date: 2001/10/06 20:13:37; author: derick; state: Exp; lines: +3 -3
- <br> -> <br />
----------------------------
revision 1.157
date: 2001/09/25 22:48:43; author: jeroen; state: Exp; lines: +2 -2
2nd phase in back-substitution those macro's
I've got pretty much everything now...
----------------------------
revision 1.156
date: 2001/09/25 21:58:23; author: jeroen; state: Exp; lines: +13 -13
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
----------------------------
revision 1.155
date: 2001/09/09 13:29:18; author: derick; state: Exp; lines: +3 -3
- Don't wrap lines... this is annoying while coding.
----------------------------
revision 1.154
date: 2001/08/15 22:37:31; author: sniper; state: Exp; lines: +2 -2
Add the build time too. Bug: #12774
----------------------------
revision 1.153
date: 2001/08/13 19:31:16; author: zeev; state: Exp; lines: +5 -3
branches: 1.153.2;
Fix crashes in parse_parameters calls
HEADS UP: Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
----------------------------
revision 1.152
date: 2001/08/13 07:55:38; author: rasmus; state: Exp; lines: +19 -13
Track down a few more functions that don't check for 0 args and use
faster mechanism
----------------------------
revision 1.151
date: 2001/08/13 07:28:57; author: rasmus; state: Exp; lines: +3 -1
Oops, a little too much simplification there.. ;)
----------------------------
revision 1.150
date: 2001/08/13 06:43:47; author: rasmus; state: Exp; lines: +34 -36
We don't consistently check for args passed to functions that don't
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
----------------------------
revision 1.149
date: 2001/08/11 17:03:37; author: zeev; state: Exp; lines: +11 -11
Whitespace
----------------------------
revision 1.148
date: 2001/08/08 17:16:20; author: zeev; state: Exp; lines: +8 -7
- Implement $_FORM
- Update phpinfo()
- Update NEWS
----------------------------
revision 1.147
date: 2001/07/31 04:53:50; author: zeev; state: Exp; lines: +4 -5
More TSRMLS_FETCH work
----------------------------
revision 1.146
date: 2001/07/30 09:16:44; author: zeev; state: Exp; lines: +3 -4
More TSRMLS_FETCH work
----------------------------
revision 1.145
date: 2001/07/30 06:18:06; author: zeev; state: Exp; lines: +3 -2
More TSRMLS_FETCH work, and a bit of cleanup
----------------------------
revision 1.144
date: 2001/07/28 11:36:17; author: zeev; state: Exp; lines: +1 -2
Redesigned thread safety mechanism - nua nua
----------------------------
revision 1.143
date: 2001/07/27 10:16:30; author: zeev; state: Exp; lines: +10 -10
- Get rid of ELS_*(), and use TSRMLS_*() instead.
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
----------------------------
revision 1.142
date: 2001/06/19 15:21:28; author: sbergmann; state: Exp; lines: +12 -12
Finish phpinfo() HTML 4.01 tweaking.
----------------------------
revision 1.141
date: 2001/06/15 18:34:09; author: sbergmann; state: Exp; lines: +38 -40
Make output of phpinfo() compliant with HTML 4.01.
----------------------------
revision 1.140
date: 2001/06/06 13:05:51; author: rasmus; state: Exp; lines: +27 -13
Fix folding and clean up some extensions
----------------------------
revision 1.139
date: 2001/06/05 13:12:04; author: rasmus; state: Exp; lines: +2 -1
vim-6 does folding - clean up a bunch of missing folding tags plus
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
----------------------------
revision 1.138
date: 2001/05/20 01:31:53; author: sniper; state: Exp; lines: +2 -2
This looks better.
----------------------------
revision 1.137
date: 2001/05/11 13:34:49; author: derick; state: Exp; lines: +2 -2
branches: 1.137.2;
Tabs please...
----------------------------
revision 1.136
date: 2001/05/11 13:32:10; author: sbergmann; state: Exp; lines: +3 -1
Fix for bug #10815 .
----------------------------
revision 1.135
date: 2001/05/06 15:20:56; author: sniper; state: Exp; lines: +14 -14
Fix bug: #10323 . Every value outputted is now escaped.
----------------------------
revision 1.134
date: 2001/04/22 01:09:13; author: ssb; state: Exp; lines: +2 -2
* expanded the following constants and made them available in PHP:
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
----------------------------
revision 1.133
date: 2001/04/17 17:06:06; author: wez; state: Exp; lines: +6 -1
Changes for streams. Added temporary fopenstream function to PHP so that
the streams can be tested.
----------------------------
revision 1.132
date: 2001/03/04 22:03:23; author: zeev; state: Exp; lines: +2 -2
I don't know German, but I imagine that was the problem :)
----------------------------
revision 1.131
date: 2001/03/04 15:49:38; author: zeev; state: Exp; lines: +7 -8
Fix phpinfo() bug that crept in
----------------------------
revision 1.130
date: 2001/03/04 02:41:27; author: fmk; state: Exp; lines: +9 -15
Changed code layout to remove PHP warning when running php as a CGI.
----------------------------
revision 1.129
date: 2001/02/26 06:07:17; author: andi; state: Exp; lines: +2 -2
- Fix copyright notices with 2001
----------------------------
revision 1.128
date: 2001/01/02 22:49:26; author: zeev; state: Exp; lines: +3 -3
Many patches. I hope I remember them all:
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
----------------------------
revision 1.127
date: 2000/12/27 15:43:05; author: zeev; state: Exp; lines: +2 -2
- Make the INI mechanism thread safe (fix necessary API changes from Zend)
- Make the Win32 non-TS configuration build again
----------------------------
revision 1.126
date: 2000/12/22 12:57:08; author: zeev; state: Exp; lines: +2 -3
Heads up people!
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
----------------------------
revision 1.125
date: 2000/12/19 22:59:14; author: zeev; state: Exp; lines: +2 -1
Add the QA team to the credits
----------------------------
revision 1.124
date: 2000/11/20 10:05:57; author: hholzgra; state: Exp; lines: +1 -146
first step towards auto-generated credits
----------------------------
revision 1.123
date: 2000/11/19 19:18:12; author: hholzgra; state: Exp; lines: +2 -2
typo fix (copy/paste bug?)
----------------------------
revision 1.122
date: 2000/11/11 18:38:26; author: sas; state: Exp; lines: +7 -6
Add Apache 2.0 sapi module and sort alphabetically.
----------------------------
revision 1.121
date: 2000/11/06 22:53:11; author: derick; state: Exp; lines: +2 -2
- Added myself to the credits...
----------------------------
revision 1.120
date: 2000/11/05 23:34:49; author: jdonagher; state: Exp; lines: +25 -5
Bring phpcredits() up to date
----------------------------
revision 1.119
date: 2000/11/02 19:07:15; author: neotron; state: Exp; lines: +2 -2
Added Caudium to credit line.
----------------------------
revision 1.118
date: 2000/10/31 17:21:52; author: hholzgra; state: Exp; lines: +4 -4
generalization of image handling in phpinfo
----------------------------
revision 1.117
date: 2000/10/29 11:38:24; author: zeev; state: Exp; lines: +2 -2
Initial steps to move the INI mechanism to the Zend engine
----------------------------
revision 1.116
date: 2000/10/11 13:51:32; author: hholzgra; state: Exp; lines: +3 -3
proto typo fixes
----------------------------
revision 1.115
date: 2000/10/11 11:40:29; author: hholzgra; state: Exp; lines: +10 -1
added missing protos
----------------------------
revision 1.114
date: 2000/09/30 16:12:54; author: andi; state: Exp; lines: +2 -2
- Cleanup some output functions
----------------------------
revision 1.113
date: 2000/08/27 22:46:40; author: rasmus; state: Exp; lines: +17 -20
Some minor cleanup to make W3C's tidy validator happy
----------------------------
revision 1.112
date: 2000/08/27 19:42:45; author: ssb; state: Exp; lines: +35 -19
@Added php_uname() function (Stig)
Added php_uname() function.
----------------------------
revision 1.111
date: 2000/08/26 12:53:13; author: rubys; state: Exp; lines: +2 -1
Add ***EXPERIMENTAL*** Zend OO Extension support for Microsoft.Net
----------------------------
revision 1.110
date: 2000/08/21 09:50:52; author: sas; state: Exp; lines: +2 -2
Cleaning up some mess
----------------------------
revision 1.109
date: 2000/08/20 14:43:56; author: sas; state: Exp; lines: +2 -2
Fix numerus of SAPI Modules title
----------------------------
revision 1.108
date: 2000/07/26 05:41:38; author: sterling; state: Exp; lines: +2 -1
* EXTENSIONS -- update status on CURL & SWF
* NEWS --
1. Change wording for the ibase and sybase DB announcement.
2. Remove second pfpro announcement, if pfpro is being released with 4.0.2
entries about new features before 4.0.2 shouldn't be in there.
3. Joey, that entry just doesn't seem incredibly relevant to the NEWS file,
I'll backport it if you want (or add a new entry).
* ext/standard/info.c -- Add a CREDIT_LINE() for CURL.
----------------------------
revision 1.107
date: 2000/07/25 10:54:07; author: stas; state: Exp; lines: +3 -3
Report configuration path that is really used, not that is compiled in
# it does matter when using -c option
----------------------------
revision 1.106
date: 2000/07/24 01:39:49; author: david; state: Exp; lines: +3 -1
Changed lots of PHP 3 licence headers to PHP 4, mainly in .h files.
Added a few RCS $Id$ tags.
# Note: I have avoided changing any .h files if the corresponding .c file
# had not already been changed as I am not sure if there are any legal
# issues here. So some extensions still have PHP 3 headers.
----------------------------
revision 1.105
date: 2000/07/08 19:31:16; author: eschmid; state: Exp; lines: +1 -1
Uncomplete proto.
----------------------------
revision 1.104
date: 2000/06/26 18:05:49; author: andrei; state: Exp; lines: +2 -2
Separate plain name returned by php_sapi_module() and pretty name
used for output.
----------------------------
revision 1.103
date: 2000/06/26 14:55:38; author: kk; state: Exp; lines: +3 -2
Corrected a syntax error: Macro requires braces.
----------------------------
revision 1.102
date: 2000/06/26 14:43:37; author: kk; state: Exp; lines: +12 -0
Added function php_sapi_name() as written by Stefan Livieratos.
----------------------------
revision 1.101
date: 2000/06/17 07:08:53; author: hholzgra; state: Exp; lines: +1 -1
changed default cell alignment to "left" (see bug id #5048 )
----------------------------
revision 1.100
date: 2000/06/16 18:23:57; author: hholzgra; state: Exp; lines: +2 -2
C++ // comments are evil ...
----------------------------
revision 1.99
date: 2000/06/09 01:50:44; author: zeev; state: Exp; lines: +9 -7
Move back everything to where it belongs...
----------------------------
revision 1.98
date: 2000/06/06 17:26:15; author: hholzgra; state: Exp; lines: +1 -1
added missing '/' to closing <center> tag (BUG ID #4416 )
----------------------------
revision 1.97
date: 2000/06/05 19:47:44; author: andi; state: Exp; lines: +2 -2
- ARG_COUNT(ht) -> ZEND_NUM_ARGS() mega patch
----------------------------
revision 1.96
date: 2000/06/03 03:05:29; author: zeev; state: Exp; lines: +1 -0
- Make the INI entries sorted in phpinfo()
----------------------------
revision 1.95
date: 2000/05/27 00:24:03; author: zeev; state: Exp; lines: +1 -1
Add Sam Ruby
----------------------------
revision 1.94
date: 2000/05/25 11:01:31; author: kk; state: Exp; lines: +2 -0
- Added credits.
----------------------------
revision 1.93
date: 2000/05/19 08:28:53; author: zeev; state: Exp; lines: +6 -1
Minor output mods
----------------------------
revision 1.92
date: 2000/05/18 15:34:35; author: zeev; state: Exp; lines: +2 -2
Update the license with the new clause 6
----------------------------
revision 1.91
date: 2000/05/12 20:49:26; author: sterling; state: Exp; lines: +1 -0
Add Meself for LibSWF.
----------------------------
revision 1.90
date: 2000/05/12 20:11:14; author: jah; state: Exp; lines: +3 -3
# Correct spelling, adding Andrew because half the code in that module is
# his, removing myself from Informix because I don't think my influence to
# that module was big enough worth mentioning, adding myself to GD because
# I think T1lib is worth mentioning. BTW, who wrote the TTF extension? I think
# he is missing credits here.
----------------------------
revision 1.89
date: 2000/05/04 10:38:14; author: sas; state: Exp; lines: +1 -1
Change reentrancy API to always use the php prefix.
Check for the declaration of reentrant functions, so that we can use
them in non-ZTS mode on all platforms.
----------------------------
revision 1.88
date: 2000/04/27 18:37:02; author: zeev; state: Exp; lines: +1 -1
More error handling work (still completely disabled)
----------------------------
revision 1.87
date: 2000/04/21 16:20:11; author: thies; state: Exp; lines: +6 -0
add VDIR info
----------------------------
revision 1.86
date: 2000/04/19 23:46:26; author: zeev; state: Exp; lines: +2 -5
Fix Win32 compilation. Hillarious April 1st joke!
----------------------------
revision 1.85
date: 2000/04/19 23:17:02; author: cmv; state: Exp; lines: +17 -2
A little easter egg for April 1st ... :)
----------------------------
revision 1.84
date: 2000/04/19 12:43:54; author: zeev; state: Exp; lines: +6 -1
phpcredits() update.
----------------------------
revision 1.83
date: 2000/04/17 18:57:40; author: eschmid; state: Exp; lines: +1 -1
Have forgotten myself.
----------------------------
revision 1.82
date: 2000/04/14 21:12:21; author: eschmid; state: Exp; lines: +1 -1
Small corrections.
----------------------------
revision 1.81
date: 2000/04/14 18:22:43; author: zeev; state: Exp; lines: +5 -1
Add the documentation team to the credits page
----------------------------
revision 1.80
date: 2000/04/10 20:21:01; author: zeev; state: Exp; lines: +2 -2
Object overloading API changed slightly (llist is now a pointer)
----------------------------
revision 1.79
date: 2000/04/07 16:41:19; author: cmv; state: Exp; lines: +11 -10
more prettiness
----------------------------
revision 1.78
date: 2000/04/07 15:30:47; author: zeev; state: Exp; lines: +8 -6
Unify
----------------------------
revision 1.77
date: 2000/04/06 22:54:33; author: andi; state: Exp; lines: +1 -1
- ZEND_DEBUG is always defined
----------------------------
revision 1.76
date: 2000/04/05 22:30:19; author: cmv; state: Exp; lines: +1 -1
phpinfo() prettying
I will get to the rest of the functions later tonight or tomorrow
(i.e. from hyperwave to snmp)
----------------------------
revision 1.75
date: 2000/04/05 21:03:30; author: cmv; state: Exp; lines: +5 -3
finally (thanks Andreas)
----------------------------
revision 1.74
date: 2000/04/05 21:00:35; author: cmv; state: Exp; lines: +3 -3
still cant get this
----------------------------
revision 1.73
date: 2000/04/05 20:48:46; author: cmv; state: Exp; lines: +2 -2
phpinfo() prettying
----------------------------
revision 1.72
date: 2000/04/05 20:29:20; author: cmv; state: Exp; lines: +5 -3
fixed the segfault problem (probably not the prettiest way, but)
----------------------------
revision 1.71
date: 2000/04/05 20:17:02; author: cmv; state: Exp; lines: +132 -62
Prettying up the output of phpinfo(). Someone has to tell me how
to get a new .gif logo in there, and why the ZEND_DEBUG output is
causing seg faults.
I also need to go through all the modules and fix up the output they
create.
----------------------------
revision 1.70
date: 2000/03/16 02:18:24; author: thies; state: Exp; lines: +2 -0
*** empty log message ***
----------------------------
revision 1.69
date: 2000/02/26 03:20:54; author: zeev; state: Exp; lines: +1 -1
- Convert 'PHP3' to 'PHP'
- Avoid declaring crypt() related salt types twice
----------------------------
revision 1.68
date: 2000/02/24 08:07:29; author: eschmid; state: Exp; lines: +0 -2
More protos.
----------------------------
revision 1.67
date: 2000/02/21 14:50:41; author: chagenbu; state: Exp; lines: +2 -1
being accountable for the imap and mcal work that I've done (and adding an
MCAL credits line)
----------------------------
revision 1.66
date: 2000/02/21 14:35:28; author: askalski; state: Exp; lines: +2 -1
added myself to the FTP/IMAP credits
----------------------------
revision 1.65
date: 2000/02/19 23:41:21; author: zeev; state: Exp; lines: +2 -2
the pipe is breaking all the time
----------------------------
revision 1.64
date: 2000/02/19 20:12:26; author: zeev; state: Exp; lines: +1 -0
Worked on beautifying rfc1867.c a bit
@- Introduced $HTTP_POST_FILES[], that contains information about files uploaded
@ through HTTP upload (Zeev)
----------------------------
revision 1.63
date: 2000/02/18 17:59:44; author: zeev; state: Exp; lines: +35 -9
- Fix some issues with the ISAPI module, made it friendlier to non Win32 platforms
- Added .reg file for PWS setup
- Reordered some stuff in phpinfo()
----------------------------
revision 1.62
date: 2000/02/11 15:59:29; author: zeev; state: Exp; lines: +3 -3
Fine tune Andi's patch
----------------------------
revision 1.61
date: 2000/02/10 21:53:56; author: andi; state: Exp; lines: +3 -3
- Get rid of some more evil MSVC5's and switch standard/ to use PHP_WIN32
----------------------------
revision 1.60
date: 2000/02/05 22:58:59; author: zeev; state: Exp; lines: +56 -84
Standardize
----------------------------
revision 1.59
date: 2000/02/05 15:16:11; author: zeev; state: Exp; lines: +0 -2
Cleanup patches
----------------------------
revision 1.58
date: 2000/02/02 14:15:33; author: andrei; state: Exp; lines: +2 -3
Some rearranging.
----------------------------
revision 1.57
date: 2000/01/09 18:32:13; author: zeev; state: Exp; lines: +6 -3
@- Fixed a possible crash in phpinfo() (Zeev)
phpinfo() now ensures that HTTP_*_VARS[] are actually arrays before it tries
to access them...
----------------------------
revision 1.56
date: 2000/01/01 01:31:52; author: sas; state: Exp; lines: +1 -1
Happy Y2K patch! Happy new year (or the new millennium, depending on whether
you start counting at 0 or 1).
----------------------------
revision 1.55
date: 1999/12/21 20:35:43; author: zeev; state: Exp; lines: +12 -0
@- Fixed a bug in ODBC error reporting (Zeev)
@- Added PHP_Logo_GUID() and Zend_Logo_GUID() functions, that return the GUIDs
@ of the PHP and Zend logos used in phpinfo() (Zeev)
----------------------------
revision 1.54
date: 1999/12/20 23:09:49; author: sas; state: Exp; lines: +2 -1
Use sapi_module_struct to contain SAPI module name
----------------------------
revision 1.53
date: 1999/12/20 15:38:44; author: zeev; state: Exp; lines: +1 -1
Make the Win32 tree compile again
----------------------------
revision 1.52
date: 1999/12/20 07:12:27; author: sas; state: Exp; lines: +2 -0
Add information about chosen SAPI module to phpinfo()
----------------------------
revision 1.51
date: 1999/12/18 22:35:27; author: zeev; state: Exp; lines: +2 -2
- The tree compiles again
----------------------------
revision 1.50
date: 1999/12/18 04:01:14; author: zeev; state: Exp; lines: +7 -7
More php3_ annihilation
----------------------------
revision 1.49
date: 1999/12/14 03:48:46; author: thies; state: Exp; lines: +12 -8
use _ex-API
----------------------------
revision 1.48
date: 1999/12/07 02:49:03; author: evan; state: Exp; lines: +1 -0
Mention CyberCash.
----------------------------
revision 1.47
date: 1999/12/03 20:08:24; author: rubys; state: Exp; lines: +2 -0
windows build errors
----------------------------
revision 1.46
date: 1999/12/03 17:10:18; author: neotron; state: Exp; lines: +1 -0
Added credit notes for Roxen SAPI module
----------------------------
revision 1.45
date: 1999/12/03 13:31:41; author: ssb; state: Exp; lines: +1 -1
Add configure command to phpinfo() output (Stig)
----------------------------
revision 1.44
date: 1999/11/29 15:36:24; author: rubys; state: Exp; lines: +1 -0
Initial alpha-level of sapi/servlet. See README for details.
----------------------------
revision 1.43
date: 1999/11/24 17:56:31; author: sas; state: Exp; lines: +0 -1
Killing some unused variable warnings
----------------------------
revision 1.42
date: 1999/11/22 19:10:14; author: fmk; state: Exp; lines: +1 -0
add MS SQL module to credit info
----------------------------
revision 1.41
date: 1999/11/18 03:03:24; author: rubys; state: Exp; lines: +1 -1
arg! alphabetize correctly!
----------------------------
revision 1.40
date: 1999/11/18 02:40:52; author: rubys; state: Exp; lines: +1 -0
add Java module to credit info
----------------------------
revision 1.39
date: 1999/10/20 16:16:58; author: sas; state: Exp; lines: +1 -1
(_display_module_info): Add anchor for module names
----------------------------
revision 1.38
date: 1999/10/04 15:18:19; author: sas; state: Exp; lines: +1 -1
* archive-based convenience libraries completely replaced
with libtool components
* SAPI targets can enable thread-safe mode and define
shared/static/program build target
* all configure scripts use the same config.cache
* phplibdir is $(top_builddir)/modules to avoid
permission problems
* sapi/*/Makefile.inc are gone
* runpath handling cleaned up
* top-level Makefile.in obsoleted through Makefile.am
* --enable-versioning uses libtool's cleaner and more
portable -export-symbols feature
----------------------------
revision 1.37
date: 1999/10/01 14:54:55; author: andrei; state: Exp; lines: +4 -4
rename.
----------------------------
revision 1.36
date: 1999/09/25 15:41:51; author: sas; state: Exp; lines: +1 -0
Add entry for AOLserver.
----------------------------
revision 1.35
date: 1999/09/24 18:02:58; author: thies; state: Exp; lines: +1 -1
updated XML (only partly tested)
----------------------------
revision 1.34
date: 1999/09/16 22:15:43; author: zeev; state: Exp; lines: +1 -1
Generalize SAPI a bit
----------------------------
revision 1.33
date: 1999/09/13 01:11:41; author: zeev; state: Exp; lines: +7 -1
Modified phpinfo() to show the contents of arrays in HTTP_*_VARS[]
----------------------------
revision 1.32
date: 1999/09/13 00:35:03; author: zeev; state: Exp; lines: +14 -2
Fix a buglet, and avoid crashing in phpinfo() (fixes an elusive legacy bug too)
----------------------------
revision 1.31
date: 1999/09/11 16:32:08; author: zeev; state: Exp; lines: +4 -4
Rename allow_builtin_links to expose_php
----------------------------
revision 1.30
date: 1999/08/07 18:21:35; author: zeev; state: Exp; lines: +18 -10
Built-in phpinfo() links are now turned off by default. They can be
turned on using the allow_builtin_links INI directive
----------------------------
revision 1.29
date: 1999/08/07 17:52:11; author: zeev; state: Exp; lines: +18 -3
- Changed phpinfo() to list modules that have no info function
----------------------------
revision 1.28
date: 1999/08/07 15:50:26; author: sr; state: Exp; lines: +1 -1
Corrected spelling.
----------------------------
revision 1.27
date: 1999/08/02 19:16:50; author: zeev; state: Exp; lines: +38 -38
Removed '3' from key functions in PHP (maintained compatibility through
php3_compat.h)
----------------------------
revision 1.26
date: 1999/07/19 20:27:49; author: andrey; state: Exp; lines: +1 -0
Updated status
----------------------------
revision 1.25
date: 1999/07/19 18:37:42; author: zeev; state: Exp; lines: +10 -10
*** empty log message ***
----------------------------
revision 1.24
date: 1999/07/19 14:07:10; author: sas; state: Exp; lines: +1 -0
update
----------------------------
revision 1.23
date: 1999/07/19 13:35:13; author: andrey; state: Exp; lines: +3 -1
More credits.
----------------------------
revision 1.22
date: 1999/07/17 20:38:14; author: andrey; state: Exp; lines: +2 -1
Update credits a bit.
"Overall Work" line should probably be extended.
----------------------------
revision 1.21
date: 1999/07/17 19:22:27; author: zeev; state: Exp; lines: +3 -3
*** empty log message ***
----------------------------
revision 1.20
date: 1999/07/17 19:17:42; author: zeev; state: Exp; lines: +115 -60
I was sure I committed these already. Weird
----------------------------
revision 1.19
date: 1999/07/17 17:33:42; author: zeev; state: Exp; lines: +44 -2
*** empty log message ***
----------------------------
revision 1.18
date: 1999/07/16 13:12:56; author: zeev; state: Exp; lines: +9 -20
License update
----------------------------
revision 1.17
date: 1999/07/14 23:34:30; author: zeev; state: Exp; lines: +1 -1
php3.ini -> php.ini
----------------------------
revision 1.16
date: 1999/07/14 23:33:00; author: zeev; state: Exp; lines: +2 -2
* Update logos
* Move from PreAlpha 1 to Beta 1.
----------------------------
revision 1.15
date: 1999/07/14 16:02:10; author: andi; state: Exp; lines: +129 -151
- Add a bitwise flag to phpinfo()
- Import a draft of the new PHP license
----------------------------
revision 1.14
date: 1999/05/20 12:06:45; author: andi; state: Exp; lines: +6 -0
- Small fixes
----------------------------
revision 1.13
date: 1999/05/16 11:19:26; author: sas; state: Exp; lines: +2 -2
conv_proto *.[ch]
----------------------------
revision 1.12
date: 1999/05/11 00:43:46; author: zeev; state: Exp; lines: +13 -17
beatify Apache's info func
----------------------------
revision 1.11
date: 1999/05/09 08:48:01; author: zeev; state: Exp; lines: +100 -159
* Finalizing the PHP version of SAPI. Support POST and cookies among other things.
* Fully implement ISAPI support - POST and cookies among other things.
* Almost completely rewrote phpinfo(). Allow modules to easily display their
information in phpinfo() without modifying phpinfo() itself (prototype for
the module info function was changed, thus the large amount of updated module
files).
* Initial extended SAPI support for Apache, completely untested.
* CGI now uses SAPI fully as well.
----------------------------
revision 1.10
date: 1999/05/06 18:09:50; author: zeev; state: Exp; lines: +3 -0
* Optimize _php3_parse_gpc_data() and clean it up, plus fix a couple of Zend related memory leaks in it
----------------------------
revision 1.9
date: 1999/05/02 19:54:02; author: zeev; state: Exp; lines: +7 -2
Move path_info to the SAPI structure
----------------------------
revision 1.8
date: 1999/04/26 17:26:36; author: zeev; state: Exp; lines: +19 -10
* Get the Apache module to compile again
* Get rid of php3_rqst, use SG(server_context) instead (there's still Apache-specific code,
but it nuked a global)
----------------------------
revision 1.7
date: 1999/04/26 14:00:49; author: zeev; state: Exp; lines: +1 -3
* Plenty of thread safety and Win32 work.
* Changed PHP4 to compile as a DLL, both ISAPI and the the CGI run with the same DLL.
* Switched to using the DLL runtime library under Win32. PHP will NOT work if
compiled against the static library!
* Removed yesterday's php4libts project (with php4dllts, it's obsolete).
This *does* affect thread-unsafe Windows as well - the thread unsafe CGI is also
dependant on the thread-unsafe DLL.
----------------------------
revision 1.6
date: 1999/04/24 00:11:56; author: zeev; state: Exp; lines: +8 -12
A lot of cleanups... Removed old thread-safe code and other redundant code and files
----------------------------
revision 1.5
date: 1999/04/23 20:05:59; author: zeev; state: Exp; lines: +1 -3
Remove tls.[ch]
----------------------------
revision 1.4
date: 1999/04/22 00:25:57; author: ssb; state: Exp; lines: +1 -1
moved fdf, hyperwave, informix and some smaller files
----------------------------
revision 1.3
date: 1999/04/18 15:58:26; author: zeev; state: Exp; lines: +3 -3
Make Win32 happy with the recent changes.
----------------------------
revision 1.2
date: 1999/04/17 01:52:58; author: ssb; state: Exp; lines: +6 -2
make sure the images on the phpinfo() page point to PHP-enabled pages
----------------------------
revision 1.1
date: 1999/04/17 00:37:06; author: ssb; state: Exp;
First commit of re-structuring phase one. We have started using automake in
sub-directories and started to move extension code into ext/<name>. For now,
I have moved the "standard" extension (which is quite a mix of everything
right now) and the GD extension into their own subdirs in ext/.
The configure script now also runs configure in the libzend directory
automatically and makes sure php4 and libzend use the same config.cache file.
To avoid running configure in libzend, use the --no-recursion option.
"make" in php4 also builds libzend now.
The Apache module doesn't compile right now, but a fix for that is
coming up.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: ext/standard/info.c
CVS: ----------------------------------------------------------------------
~ olor is readable on it)
someone should change all this to make use of CSS as we already have
a CSS block in there, but i do not know enough about it
oh, btw: changed all the ugly uses of \" in tag attriutes to '
as i was already on it ;)
2002-08-08 13:31:49 +00:00
Georg Richter
f9e5ba3446
Ups, forgot to remove load_infile tests. Thx to Brad Bulgar
2002-08-08 08:17:24 +00:00
Yasuo Ohgaki
4b7ad8104e
Forgot this one. Fix build
2002-08-08 01:50:23 +00:00
Yasuo Ohgaki
19df86f388
Fix build
2002-08-08 01:46:07 +00:00
Georg Richter
8f7792a769
added zend_error messages for deprecated functions
...
inserted zak and me in author list/credits
2002-08-07 22:02:11 +00:00
Georg Richter
f4b4797aa8
removed unsued constants (MYSQL_USE_RESULT and MYSQL_STORE_RESULT)
2002-08-07 21:21:46 +00:00
Joseph Tate
3001ecc948
#Stupid. Sorry.
2002-08-07 17:03:42 +00:00
Joseph Tate
17d94ed821
#Don't use C++ Comments bug #18783
2002-08-07 16:52:00 +00:00
Marcus Boerger
abb280e9f7
left on debug infos
...
#overlooked that in diff
2002-08-07 16:35:48 +00:00
Marcus Boerger
36986742ae
Ignore additional thumbnails
...
#anybody interested in expansion to support multiple thumbnails?
2002-08-07 16:19:43 +00:00
Brad House
a77c0a13f7
more syncing with libmcve-3.0
2002-08-07 14:29:16 +00:00
Yasuo Ohgaki
885d8073e4
Fixed crash. Patch by <kilbi@rad.rwth-aachen.de>
2002-08-07 11:50:49 +00:00
Brad LaFountain
a8326d6f62
Sync with Sourceforge CVS
2002-08-07 03:03:09 +00:00
Dan Kalowsky
e47f69532f
A folding we will go, a folding we will go,
...
adding the fold and vim lines to make this easier to follow
2002-08-06 22:08:23 +00:00
Marko Karppinen
7498f56852
Updated proto to match the function (fix compile bustage on osx)
2002-08-06 19:39:12 +00:00
Brad House
d5ec9a9886
sync to libmcve-3.0
2002-08-06 16:36:05 +00:00
Dan Kalowsky
e410749014
Keeping function prototype variables the same
2002-08-06 03:48:15 +00:00
Marcus Boerger
7477baf33a
datatype inconsistency found by Dan Kalowsky
2002-08-06 03:32:16 +00:00
Sascha Schumann
cd64450cd7
Touch file
2002-08-06 00:07:05 +00:00
Harald Radi
2007b1216a
removed a possible NULL pointer referencing inside an error handler
2002-08-05 23:41:25 +00:00
Harald Radi
01dee775d1
found a memleak
2002-08-05 23:38:35 +00:00
Dan Kalowsky
61fc6e766f
Removing the imap_popen command... because as Jani puts it "it never worked
...
and it never will work" until IMAP servers support this feature.
2002-08-05 21:53:09 +00:00
Stig Venaas
dddf235671
Made ldap_connect/bind/unbind() use zend_parse_parameters()
2002-08-05 21:14:14 +00:00
Marcus Boerger
55f735a587
Correct carset if iconv is active
...
#Same solution would work for mbstring - but that must wait
2002-08-05 19:00:09 +00:00
Marcus Boerger
6c094c3e07
ws fix
2002-08-05 18:42:41 +00:00
Marcus Boerger
dd8ec2dc0a
-fix one warning
...
-send Content-Type Header with charset
2002-08-05 18:26:06 +00:00
Marcus Boerger
fd26a5c0a9
-New function ob_list_handlers
...
@- Added ob_list_handlers() which returns an array of all active output
@ handlers. (marcus)
2002-08-05 03:09:42 +00:00
Shane Caraveo
7645343c4a
need to export var_replace and var_destroy for win32
2002-08-04 23:45:38 +00:00
Marcus Boerger
c467129528
move html_entities.c to proper place
...
#nice to have snaps.php.net
2002-08-04 22:54:24 +00:00
Marcus Boerger
fa175d6fa2
-Send charset US-ASCII or ini setting default_charset.
...
#After some discussion with Ilia Alshanetsky
#But perhaps we should have a look for a mbstring solution...
2002-08-04 22:49:48 +00:00
foobar
ed4267cf34
Add PHP_MINFO_*
2002-08-04 21:37:44 +00:00
Marcus Boerger
367ca8e2ae
-Correct mime_name for HTML-ENTITIES encoding is of cause US-ASCII
...
-Full list of ASCII aliases
2002-08-04 20:50:53 +00:00
Marcus Boerger
81df625260
-Fix warnings (fixed all?)
2002-08-04 18:59:19 +00:00
Georg Richter
06b5f1f546
ups.. :)
2002-08-04 18:59:16 +00:00
Sergey Kartashoff
7fd1881692
- a small fix to mnogosearch extension (affecting UDM_BROWSER_CHARSET)
2002-08-04 18:58:20 +00:00
Georg Richter
83a09ac1f9
added meta tag (w3c compliance)
...
Thx to Ilia Alshanetsky (ilia@prohost.org )
2002-08-04 18:57:02 +00:00
Marcus Boerger
c4e66f4192
-Add new file to windows build
2002-08-04 18:33:28 +00:00
Marcus Boerger
77abd9d55a
-New encoding/decoding HTML-ENTITIES.
...
#This allows to enforce named and numeric entities in output.
#Example:CMS that reads UTF8 or ISO-8859-1 but exports HTML in ASCII.
#Using mbstring.http_output=HTML-ENTITIES users receive entities which
#can displayed correctly independant of any brwoser side encoding.
@New mbstring encoding/decoding HTML-ENTITIES. (marcus)
2002-08-04 14:20:11 +00:00
Marcus Boerger
f2f70b5dda
-Allow double quotes for encoding lists (if used in ini for example)
...
-New parameter 'L' for mb_http_input() to retieve input encoding as
comma separated string.
@New parameter 'L' for mb_http_input() to retrieve input encoding as
comma separated string. (marcus)
2002-08-04 14:10:58 +00:00
James E. Flemer
9eb1213206
Close pipes to avoid deadlock.
...
Submitted By: Melvyn Sopacua <msopacua@idg.nl>
2002-08-03 14:54:30 +00:00
Dan Kalowsky
d4ec2c30a0
Cleaning up the imap_get_quotaroot return array to remove useless data
2002-08-03 14:48:47 +00:00
Sergey Kartashoff
7279543c30
# mnogosearch example fix
2002-08-03 11:34:53 +00:00
Sergey Kartashoff
7a0fbd668a
- UDM_PARAM_STORED mnogosearch parameter has been added to set
...
stored address.
2002-08-03 11:23:51 +00:00
Andi Gutmans
4b492c4deb
- Fix build on Windows. Also please don't use Java style opening function
...
- bracket indentation.
2002-08-03 09:48:34 +00:00
Sergey Kartashoff
37e58c21b2
- An Udm_Make_Excerpt function has been added to mnogosearch extension
...
to support excerpts while using with mnogosearch-3.2.5 or later.
2002-08-03 08:53:27 +00:00
Brad LaFountain
c90764d753
one last fix for array_shift
2002-08-03 00:40:46 +00:00
James E. Flemer
3a8d66a021
Fix typo in #if. Bug #17538 .
2002-08-02 14:35:24 +00:00
Marcus Boerger
de8c36dcaa
-use const to clarify code
...
-fix tsrmls build (therefore rfc1867.c)
2002-08-02 10:22:31 +00:00
Hartmut Holzgraefe
e5fa36eee4
added money_format() function
...
this is similar to C-libs strfmon(), using the same format string
semantics but a different function prototype, so i decided to
give it a more speaking name similar to number_format()
2002-08-02 10:08:53 +00:00
Sergey Kartashoff
c9107a668f
- UDM_PARAM_WORD_MATCH icorrect behavior has been fixed in
...
mnogosearch extension
2002-08-02 07:22:19 +00:00
Rui Hirokawa
7527bf0c58
made sapi_register_treat_data() to support multibyte input encoding translation without MBSTR_ENC_TRANS and changed php_treat_data to php_default_treat_data.
2002-08-02 06:53:48 +00:00
Brad LaFountain
9b0553c390
array_pop wasnt setting next index
2002-08-01 17:34:31 +00:00
foobar
922b7596a2
That was not correct..
2002-08-01 16:44:47 +00:00
foobar
6df2b90c05
Reset index when doing array_pop()
2002-08-01 16:39:52 +00:00
foobar
362fc4ee76
Add test for the index resetting.
2002-08-01 16:39:14 +00:00
Rasmus Lerdorf
b15651c95f
Ugh
2002-08-01 15:51:56 +00:00
Dan Kalowsky
f08a51f05a
Adding in some BC for users to imap_get_quota() function
2002-08-01 14:47:48 +00:00
foobar
ababdff402
Added tests for array_shift/array_pop.
2002-08-01 12:33:02 +00:00
foobar
06b3dd122f
Nuke compile warning.
2002-08-01 12:07:15 +00:00
foobar
9d62cd7d45
- Removed the DOS line endings
...
- Changed the '//' comment (this is C, not C++) to /* */
# Brad, use some editor which works..
2002-08-01 12:06:46 +00:00
Brad LaFountain
4f5bd6b7d4
made array_shift re-index like it did before previous fix
2002-08-01 04:38:11 +00:00
Sterling Hughes
3754f76507
add support for the curl dns cache
2002-07-31 22:10:58 +00:00
Marcus Boerger
dfe1a65faf
-fix warnings in windows build
2002-07-31 21:34:37 +00:00
Zeev Suraski
bc82be4284
Fix crash
2002-07-31 14:41:06 +00:00
Dan Kalowsky
2832d8df94
WS
2002-07-31 13:51:20 +00:00
Dan Kalowsky
cc491407de
Just adding in an error check that seems to work here well.
2002-07-31 13:50:51 +00:00
foobar
9fe39b9604
Reverted the patch..it breaks the original behaviour of at least array_shift.
2002-07-31 13:49:50 +00:00
Dan Kalowsky
7f30227181
removing the useless +1's on sizeof() and adding the mail_parameter for the
...
getquot inside the imap_get_quotaroot function. thank Jani.
2002-07-31 01:03:31 +00:00
Dan Kalowsky
579d1b6a28
fixes a typo in the word "limit", adds the null character to the strlen,
...
and seems to make imap_get_quotaroot return the correct values despite
cclients claim of "getquotaroot list improper".
2002-07-30 23:16:11 +00:00
Brad LaFountain
70fb744365
fixed bugs 16063 and 16068
...
increased preformance of array_pop and array_shift
2002-07-30 22:54:12 +00:00
Stefan Esser
a6cf14ac5c
ftp_close returns now TRUE on success and FALSE on failure.
2002-07-30 20:37:59 +00:00
Dan Kalowsky
18c0d30c58
Commiting Steph@php.net's patch to re-enable touch on Win32 machines
2002-07-30 20:24:13 +00:00
Rasmus Lerdorf
b17544fa33
Add --skel=dir option to ext_skel (patch from David Viner)
2002-07-30 19:02:23 +00:00
Rasmus Lerdorf
059f302596
Fix strtotime() "next" keyword handling.
2002-07-30 18:42:19 +00:00
Rasmus Lerdorf
d56bc7934d
Fix for #18638 (str_rot13 bug)
2002-07-30 10:51:33 +00:00
Adam Dickmeiss
5246b7d9d4
Fixed proxy setting for ZOOM
2002-07-30 10:50:48 +00:00
Sterling Hughes
2f0a47cd55
add sablotron version, patch by Christian Stocker...
2002-07-29 23:57:26 +00:00
Adam Dickmeiss
ab9494f9cc
Make PHP part of Z39.50 implementation name
2002-07-29 21:51:48 +00:00
Adam Dickmeiss
9decd37336
Use type ext rather than raw for ZOOM record fetch
2002-07-29 19:56:59 +00:00
Christian Stocker
825b5a42e2
- nodename is not always set, check if it really is.
...
- make force_ref for aliases as well
2002-07-29 14:04:44 +00:00
Edin Kadribasic
a55c1228ed
Fixed bug #14657 (patch by Steph Fox)
2002-07-29 13:13:50 +00:00
Yasuo Ohgaki
073c21e5c0
Allow xmlrpc-epi header files stored under include/xmlrpc-epi
2002-07-28 21:03:26 +00:00
Derick Rethans
1630e1788f
- Copy and paste error -> unify error messages
2002-07-28 19:29:28 +00:00
Stefan Esser
bffe4cf222
Added sha1, sha1_file functions.
2002-07-28 19:18:08 +00:00