Markus Fischer
e4d2fa88d7
- Fix #16348 .
2002-03-30 01:56:52 +00:00
Mark L. Woodward
346d74a146
Added field to ps_module structure to hold function pointer for the creation
...
of the session ID string. Default PS_MOD() macro sets this to be the default
creation routine. PS_MOD_SID() macro sets this to a handlers session ID
creation routine.
2002-03-29 16:00:27 +00:00
foobar
a0e3bd8f0e
WS fix
2002-03-29 12:56:25 +00:00
Jan Lehnardt
bc19dd6900
- add mysql_info function
2002-03-29 12:47:02 +00:00
Yasuo Ohgaki
c7d72bb20d
Fix build failure with PostgreSQL 6.5.x
...
# I'll merge this to 4.2.0 branch later
2002-03-29 11:24:54 +00:00
Stig Bakken
7f89d8c13a
(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. :-)
2002-03-29 10:19:23 +00:00
Marcus Boerger
efad4e4281
#and when the test does not result like you expect -> change test data
...
-fix test image
2002-03-29 01:33:30 +00:00
Marcus Boerger
d0be2aabe4
-fix possible problem on low memory
...
-fix problem on failure
2002-03-29 01:32:26 +00:00
Joseph Tate
ab982d819a
-Crack extension now available for Win32 platforms. You will need to
...
acquire the cracklib libraries from
http://www.jtatesoftware.com/cracklib/ .
@A project has been added to the crack extension to allow it to be compiled
@under Win32. Cracklib libraries for Win32 are available from
@http://www.jtatesoftware.com/cracklib/ .
#
#Will the person who does the releases for php for windows please be sure
#to add this to the list of extensions to be built.
#
#Will someone with doc karma add this extension to the list on the
#Installation on Windows Systems page:
#http://www.php.net/manual/en/install.windows.php .
#
#Will someone please add the following to php.ini-recommended and
#php.ini-dist:
#To the extensions list:
#;extension = php_crack.dll
#
#To the Module Settings section:
#[Crack]
##Modify the setting below to match the directory location of the cracklib
##dictionary files. Include the base filename, but not the file extension.
#;crack.default_dictionary = 'C:\php4\lib\cracklib_dict'
#
#I will send a diff to the php-dev list.
#
#Thanks
2002-03-28 18:48:12 +00:00
Derick Rethans
803d2b3154
- MFB
2002-03-28 07:36:02 +00:00
Wez Furlong
4361807185
add test for file_get_contents
2002-03-28 01:20:28 +00:00
Wez Furlong
959021a8c9
Add subject hash to parsed x509 data.
...
Make the test use file_get_contents().
2002-03-28 00:56:19 +00:00
Wez Furlong
2539cbc74c
Phase 3 of OO wrapper cleanup
...
# What was phase 2?
2002-03-28 00:49:00 +00:00
Wez Furlong
fa4341dcdf
make quoted-printable encoding safe for use with digital signatures. Added some tests
2002-03-28 00:43:44 +00:00
foobar
bf663c9746
Fixed bug: #16237
2002-03-27 23:47:06 +00:00
Joseph Tate
113f08bc4b
Fixing compile warning under Win32
2002-03-27 21:45:45 +00:00
Hartmut Holzgraefe
492c837272
fix for Bug #16314
2002-03-27 20:20:57 +00:00
foobar
cb104bbfb4
Moved these example scripts out of tests.
2002-03-27 15:39:30 +00:00
foobar
2d8c05bb38
- Fixed bug: #16203
...
# unconditionally adding libraries which are not even neeeded is evil.
2002-03-27 15:30:52 +00:00
Wez Furlong
f870804c45
add test case for multiple To: lines
2002-03-27 14:07:48 +00:00
Wez Furlong
16fed222f6
allow headers hash to handle multiple To: lines
2002-03-27 14:05:56 +00:00
Hartmut Holzgraefe
ad361b50dc
not enabled by default
2002-03-27 13:54:09 +00:00
Hartmut Holzgraefe
aba71d94e0
moved 'static' prototypes to prevent warnings
2002-03-27 13:51:55 +00:00
Hartmut Holzgraefe
65f93ba4f7
preparing for Content-Encoding detection
2002-03-27 11:56:42 +00:00
Sascha Schumann
bc11acbf02
Defer linking against libmcal until we have built the extension,
...
so that extension-supplied symbols are available.
Also factorize the header file checks.
Reported by: Brandon Knitter
URL: http://news.php.net/article.php?group=php.dev&article=81833
2002-03-27 10:26:17 +00:00
Sascha Schumann
a40b4ff52b
Remove generated file
2002-03-27 10:06:24 +00:00
Hartmut Holzgraefe
2875cb8a7f
build conflicts fixed
2002-03-26 19:57:32 +00:00
Sander Roobol
9b6a8d2639
Fixed the array-tests. Broke the test up into various smaller tests.
...
Reduced the test data because it was unmanageable.
# I hope everything is ok :)
2002-03-26 18:17:38 +00:00
Sascha Schumann
fb048880aa
outcomment default linking against pam due to no feedback
...
regarding its purpose
2002-03-26 11:05:18 +00:00
Sascha Schumann
5428e463bd
If an argument (<tag val=argument..) was not quoted, leave it that way.
2002-03-26 10:23:33 +00:00
Yasuo Ohgaki
ec0c373992
Remove warnings
2002-03-26 08:49:36 +00:00
Yasuo Ohgaki
c8a3623708
Changed error messages to be consistent with other error messages
2002-03-26 08:43:57 +00:00
Derick Rethans
13633cb945
- MFB
2002-03-26 08:29:14 +00:00
Markus Fischer
f521ae3f30
- Fix bug 11244 (patch by "Tal Peer" <hazgul99@hotmail.com>).
...
# Sorry for the delay :-)
2002-03-26 07:57:07 +00:00
foobar
edb03cdbb4
- Use correct header file.
2002-03-26 00:14:27 +00:00
Wez Furlong
74749ad642
Fix regular openssl_pkey_get_private($content, $phrase) syntax and
...
add test case.
This stuff should be merged into the 4.2 branch.
2002-03-26 00:03:11 +00:00
foobar
f4736c72ea
Why was this here??
2002-03-25 23:46:22 +00:00
Sterling Hughes
64c894b164
Whitespace fixes
2002-03-25 22:49:25 +00:00
Georg Richter
6a0bf08ce3
fixed prototype for mysql_ping
2002-03-25 12:09:38 +00:00
Sterling Hughes
7ae1dd662f
more zend_parse_parameters fixup
2002-03-25 01:19:59 +00:00
Sterling Hughes
3c3ae850a2
Fix-up the last fix a bit
...
Clean up mysql_list_processes
2002-03-25 01:14:30 +00:00
Hartmut Holzgraefe
d2b8655775
pproto fix
2002-03-25 01:08:39 +00:00
Sterling Hughes
05475d809b
clean up mysql_real_escape_string() a bit
...
# I really think we should just add a database handle
# parameter to mysql_escape_string()
2002-03-25 01:07:23 +00:00
Hartmut Holzgraefe
14e298f805
initial checkin
2002-03-25 00:42:37 +00:00
Zak Greant
3fae05b014
Added mysql_table_name() alias for mysql_tablename()
...
Improved logic of parameter parsing code for mysql_ping
- made test for no arguments more explicit
- combined to if blocks into one if/else if block
2002-03-24 23:33:07 +00:00
Hartmut Holzgraefe
2c413f116a
1st implementation of magic-file based mime_content_type(string filename)
2002-03-24 23:00:47 +00:00
Sterling Hughes
ad8b00be3e
fix freebsd compile
2002-03-24 21:16:02 +00:00
Sander Roobol
f12dfba7e0
Fixed tiny mistake in proto (tnx to Egon for spotting it).
2002-03-24 18:19:31 +00:00
Wez Furlong
5ee65bd8f5
Phase 1 of wrapper OO cleanup.
...
# Collecting underpants
2002-03-24 18:05:49 +00:00
Sander Roobol
68b18b05fe
Fix typo in proto.
2002-03-24 18:01:41 +00:00
Derick Rethans
a9439b7072
- Fix proto
2002-03-24 17:59:39 +00:00
Georg Richter
c47244cd8a
changed prototype for mysql_real_escape_string
2002-03-24 17:57:32 +00:00
Mark L. Woodward
4211c9fed2
Added support for session manager ID creation, works with patch submitted earlier
2002-03-24 17:54:19 +00:00
Zak Greant
fa4bd7ab32
Added mysql_ping() function.
2002-03-24 17:34:20 +00:00
Georg Richter
e15bb45a1e
a) ws fixed
...
b) changed mysql_list_processes, mysql_stat (zend_parse_parameters)
c) New functions:
1) mysql_real_escape_string this function is similar to mysql_escape_string (deprecated).
it needs a mysql-connection to escape a string according to the
current character set
2) mysql_character_set_name returns the current character set for the connection
3) mysql_thread_id return the pid for the current connection. This function is usefull
when using mysql_list_processes
2002-03-24 17:19:19 +00:00
Jan Lehnardt
04f6ec87d0
- initial checkin of basic testcases for pspell
2002-03-24 16:22:50 +00:00
Zak Greant
28de0b545e
(PHP mysql_list_processes) Returns a pointer to a result set containing
...
information on the processes running in the
MySQL server.
(PHP mysql_stat) Returns a string containing information on the status
of the MySQL server.
@- Added two new functions: mysql_list_processes and mysql_stat (Georg)
@- mysql_list_processes() fetches information on the processes running on
@ the MySQL server.
@- mysql_stat() returns status information for a MySQL server.
# Committed for Georg by Zak
2002-03-24 10:57:40 +00:00
Derick Rethans
66e510f60a
- Fix for bug #16232 (Patch by Alan Knowles <alan@akbkhome.com>)
2002-03-24 10:40:21 +00:00
Sterling Hughes
dc81ee82a1
revert out accidental code
2002-03-23 23:47:53 +00:00
Sterling Hughes
6270efc5a9
remove experimental status
2002-03-23 23:46:04 +00:00
Sterling Hughes
34ba10b98b
the point can be made both ways :)
2002-03-23 23:40:19 +00:00
Sterling Hughes
496c46c3f0
make key identifiers case sensitive
2002-03-23 23:37:17 +00:00
Derick Rethans
60f20cd870
- Fix experimental notice
2002-03-23 23:30:17 +00:00
Jan Lehnardt
8897845f3b
- fix "xml_parse_into_struct/umlauts in tags" testcase. It never really
...
- worked
2002-03-23 23:24:48 +00:00
Derick Rethans
1f9b519c55
- Remove read_uploaded_file
2002-03-23 23:03:04 +00:00
Hartmut Holzgraefe
e40ce9963e
dl is now aware of modules compiled for php <4.1.0
...
which have a slightly different module_entry structure
2002-03-23 15:37:27 +00:00
Derick Rethans
e2f110d982
- Added read_uploaded_file (patch by Andrew Sitnikov <sitnikov@infonet.ee>)
2002-03-23 14:10:57 +00:00
Rui Hirokawa
751dcedb08
fixed some errors in regression tests.
2002-03-23 07:36:27 +00:00
Rui Hirokawa
d1caef7155
changed license from GPL2 to PHP License.
2002-03-23 07:33:13 +00:00
Rui Hirokawa
8c09fb90ba
fixed compile warnings.
2002-03-23 07:32:40 +00:00
Hartmut Holzgraefe
ab928b03d6
proto fix
2002-03-23 01:43:38 +00:00
foobar
cf267402b5
fix the fix
2002-03-22 13:55:11 +00:00
foobar
35e7255055
- Fixed minor inconvenience with iconv detection when iconv is found in libc
2002-03-22 13:49:05 +00:00
Derick Rethans
fe614114e6
- oops :)
2002-03-22 12:15:40 +00:00
Derick Rethans
bdf73d2972
- Fix for bug #14644 (patch by samuel_carriere@hotmail.com)
2002-03-22 12:13:59 +00:00
Derick Rethans
25b42ae3b6
- Fix handling of zero'th argument for sprintf()'s argument swapping code
...
(Patch by Morten Poulsen <morten@afdelingp.dk>)
2002-03-22 09:09:18 +00:00
Hartmut Holzgraefe
10811cd0d8
getting rid of the warn_not_available alias
2002-03-22 01:10:31 +00:00
Markus Fischer
1d75089d8b
*** empty log message ***
2002-03-21 22:35:02 +00:00
Markus Fischer
341af63328
- Use proper macros for php_stream_cast() return values ( fixes #16211 ).
2002-03-21 22:05:40 +00:00
foobar
4110878a24
This file is generated and not supposed to be in CVS
2002-03-21 20:25:01 +00:00
foobar
d533371760
- Fixed bug #16165 again. We check libc for iconv functions only if
...
no path is given for --with-iconv.
# I hope this is the last time.
2002-03-21 20:22:05 +00:00
Marcus Boerger
eb8c6b4696
-removed old streams test code
2002-03-21 20:16:22 +00:00
Marcus Boerger
ac6ae669e4
-fixed memory handling
2002-03-21 19:59:08 +00:00
Hartmut Holzgraefe
b00d9a5b2c
added fnmatch() and glob() functions
...
could someone please check if i got the virtual dir stuff right?
2002-03-21 19:18:13 +00:00
Wez Furlong
06f6e47e4c
Require that wrappers use <protocol>://<path> to avoid
...
ambiguities when filenames have ':' characters.
This slightly breaks BC with the old style zlib: wrapper.
2002-03-21 17:02:50 +00:00
Hartmut Holzgraefe
8c0fd5bc35
proto fixes
2002-03-21 16:10:08 +00:00
foobar
ec1b89a627
Minor detail fixed.
2002-03-21 15:49:55 +00:00
Andrei Zmievski
1cf188ae1b
Fix compilation when PCRE is disabled.
2002-03-21 15:28:46 +00:00
Sander Roobol
a15c9a31eb
Added tests for pow()'ing with broken exponents and some additional test
...
for count()'ing arrays.
2002-03-21 14:18:30 +00:00
Rui Hirokawa
4e494746c1
fixed POST/GET input processing.
2002-03-21 13:44:39 +00:00
Marcus Boerger
671829bff4
#ws
2002-03-21 13:16:03 +00:00
Wez Furlong
c0e39dfa9c
Implement bz2 streams and bz2: wrapper.
...
You can now do this:
copy("zlib:src.gz", "bz2:dest.bz2");
As with zlib, most of the functions with counterparts
in file.c are now aliases to those functions.
2002-03-21 02:27:41 +00:00
Wez Furlong
8da0093935
really nuke it...
2002-03-21 01:22:36 +00:00
Wez Furlong
a662f012bb
Convert the gzfile related functions into aliases for their equivalents
...
in ext/standard/file.c, so a gzopen()ed file pointer can be used in
fread, fseek etc.
Improved behaviour of zlib stream.
Moved passthru code into streams.c
# I'm not happy about BG(mmap_file)
Nuked gzgetss_state as no longer needed.
2002-03-21 01:11:52 +00:00
Yasuo Ohgaki
4094513915
Show function name in error message.
2002-03-21 00:06:45 +00:00
Boian Bonev
4586665c19
ws fix
2002-03-20 19:45:25 +00:00
Boian Bonev
e94ffe37e7
fix version checking - now handle 1.2.3 and 1.2 as well
2002-03-20 19:22:54 +00:00
Sander Roobol
8581f8394b
Some PHP-info layout fixes (\n will automatically be converted into <br />)
...
and a comment-related fix.
2002-03-20 18:29:28 +00:00
Boian Bonev
396dc67cf7
fix a missing [
2002-03-20 18:22:32 +00:00
Wez Furlong
3dbde95896
Make state parameter of php_strip_tags passed by reference.
...
Move state tracking to stream structure.
2002-03-20 14:38:13 +00:00
Wez Furlong
659a071e3d
Streams are all tracked as resources now.
...
Add some logic that will help track down leaks
when debug is enabled.
2002-03-20 14:21:30 +00:00
Wez Furlong
14d62c7b62
Add parameter here too...
2002-03-20 13:50:16 +00:00
Sascha Schumann
350de12bc2
Expand the variables in PHP_EXPAND_BUILD_VARS.
...
Make HAVE_ICONV/HAVE_LIBICONV available through the more
fine-grained approach using a single include file per
directive. This will significantly reduce the price of
full dependencies for developers, because basically each
file today includes php.h which includes php_config.h.
If PHP_ATOM_INC is defined, these include files can be used.
For all PHP_DEFINEs, empty files are created upon configure start.
2002-03-20 13:24:59 +00:00
Wez Furlong
6f77640ca8
add forgotten parameter
2002-03-20 13:21:55 +00:00
Sascha Schumann
c8ec0fa4bd
Fix building mysql client library
...
Run client lib specific checks only when clientlib is used
Remove second invocation of MYSQL_SOCK
2002-03-20 12:40:27 +00:00
foobar
4597486984
- Fixed (hope so :) like Sascha said.
2002-03-20 12:00:26 +00:00
Sascha Schumann
6bbf968f8a
There should not be any trailing data on an #endif line
2002-03-20 08:53:55 +00:00
Markus Fischer
f130bdb59e
- Fix for #16176 .
2002-03-20 08:17:06 +00:00
foobar
956a7762b8
- This is not needed here
2002-03-20 02:07:32 +00:00
foobar
4a0291d238
- Make it possible to build ext/openssl as shared extension
2002-03-20 02:07:11 +00:00
foobar
00929ff9ac
- Fixed bug: #16139 (compile failure with Mysql 4.0.1)
...
- Some tests were only run when compiling with the bundled libs.
(caused some compile warnings with external mysql libs)
- Another try to fix the zlib issue..(uncompress)
2002-03-20 01:31:22 +00:00
foobar
e8271cc71e
- Fix this without breaking BC
2002-03-20 00:39:28 +00:00
Harald Radi
2adf5bea7c
pass function signature in zend_parse_parameters style
...
lookup cache works now per signature (not only method name)
reviewed resource management
# have to learn now ..
2002-03-19 23:28:52 +00:00
Frank M. Kromann
f6ec73d37f
Minor change to allocated lengths for dates
2002-03-19 23:00:17 +00:00
Markus Fischer
7bf57c999c
- Support vpopmail 5.2 ( fixes #16120 ).
2002-03-19 22:47:37 +00:00
Frank M. Kromann
42ba9987ea
Oops.. This should make I64 work on WIn32 as well
2002-03-19 22:38:35 +00:00
Frank M. Kromann
0201386fac
Changing the LongInteger to return 64 bit integers as string values with all 64 bit
2002-03-19 22:36:42 +00:00
Markus Fischer
cd0ceca76f
- Fix bug spotted by Lukas Schroeder <lukas@edeal.de>.
2002-03-19 21:18:18 +00:00
Harald Radi
cb2368c905
fixed memleaks
...
added method lookup caching
pass function signature to hash function callback
2002-03-19 18:46:28 +00:00
Frank M. Kromann
5280936895
Adding support for TinyInteger and LongInteger database types
2002-03-19 18:33:05 +00:00
Wez Furlong
14a3911866
fix for bug #16168
2002-03-19 17:49:02 +00:00
Ludovico Magnocavallo
6ebf422685
Fixed include of interbase.inc
...
Fixed test database path
Changed v_date field in test table definition to timestamp type
Reduced maximum length of double precision type to 18
Tests 001 002 003 006 pass
Test 004 (BLOB test) still needs to be fixed
Test 005 (Transaction) gives the right output but issues a warning
2002-03-19 16:52:41 +00:00
Daniela Mariaschi
c3daa18168
fixed floating number incorrectly rendered (as mentioned by giancarlo@niccolai.ws in BUG #14755 )
2002-03-19 15:29:17 +00:00
Wez Furlong
32a4f35580
register some constants for user streams
2002-03-19 14:35:55 +00:00
Uwe Steinmann
17b2eb13cc
- the fdf include file shipped with the FDF toolkit is spelled
...
in lower case (at least in version 5.0)
2002-03-19 14:03:30 +00:00
Wez Furlong
6abe71bebc
s/fgetwrapperdata/file_get_wrapper_data/
2002-03-19 13:33:07 +00:00
Sascha Schumann
3757a81367
Remove trailing ;
...
The macro can now safely be used in constructs such as
if (..) foo() else bar();
2002-03-19 12:11:46 +00:00
Sascha Schumann
f84167571f
touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
2002-03-19 11:39:41 +00:00
Thies C. Arntzen
3550d75d0f
fix #12793 - serialize will now spit a notice if the return value of __sleep is
...
bogus.
2002-03-19 11:25:21 +00:00
foobar
2bdd6f522e
- Not needed anymore.
2002-03-19 10:49:26 +00:00
Wez Furlong
06712a508a
Implement user-space streams.
...
There's probably room for improvement,
docs will following some time this week.
2002-03-19 03:51:01 +00:00
Harald Radi
a85ea38eac
added lookup caching and now make use of the new thread
...
safe hashtables (not in cvs right now)
2002-03-19 03:36:16 +00:00
Vlad Krupin
7139845af9
Fix ftp_size() returning bogus results.
...
# make sure the server is in BINARY mode before requesting file size.
2002-03-18 22:26:32 +00:00
Markus Fischer
30454e237b
- Let OCIError() also return the sql statement which failed and the exact
...
position into the statement where it failed (if applicable).
Patch by Daniel Ceregatti <vi@sh.nu>.
2002-03-18 21:01:29 +00:00
Wez Furlong
e3a884f552
fix error message which appeared even if no ssl mode was selected
2002-03-18 20:44:15 +00:00
Wez Furlong
c9d5e13738
TSRMLS related work on streams, as discussed with Zeev.
...
# Should be the last "broad" commit for a while
# Don't forget to make clean ; make
2002-03-18 18:54:32 +00:00
Hartmut Holzgraefe
c19dfe84c7
proto fixes
2002-03-18 18:00:24 +00:00
Sascha Schumann
26a92a72f1
unused makefile.in
2002-03-18 14:38:01 +00:00
Sascha Schumann
94a3c1e7a4
empty files, let them go
2002-03-18 14:37:22 +00:00
Wez Furlong
5fb9f9c134
fix warning
2002-03-18 11:49:40 +00:00
Wez Furlong
8ba2514253
Fix build.
...
Warning about TSRM testing still applies.
2002-03-18 11:46:00 +00:00
Wez Furlong
1222d80860
having streams is now the default
2002-03-18 10:44:39 +00:00
Stanislav Malyshev
834042f56d
Update .dsp
2002-03-18 09:47:24 +00:00
Stanislav Malyshev
858291e6b5
Fix build
2002-03-18 09:42:20 +00:00
Zeev Suraski
a145646e74
Fix build
2002-03-18 09:20:43 +00:00
Sascha Schumann
68d2592f52
Rename HAVE_PHP_STREAM to PHP_HAVE_STREAMS, because
...
1.) a PHP-specific symbol should be in the php namespace, and
2.) there are multiple streams and the old configure parameter was plural, too.
2002-03-18 08:29:17 +00:00
Sascha Schumann
d74666a648
touch file
2002-03-18 08:22:33 +00:00
Zeev Suraski
73e79322ba
Fix the build and all of the outstanding VC++ warnings
2002-03-18 08:05:28 +00:00
Yasuo Ohgaki
9d2edd0fd8
Use common.inc instead of common.php for ease of use (rm -f *.php for failed
...
test files)
2002-03-18 06:03:53 +00:00
Marcus Boerger
68f4e7c328
-streams are no longer an option
2002-03-18 05:32:25 +00:00
jim winstead
349936c93e
Fix calculation of output buffer size in wordwrap(). (Thanks to Wez.)
2002-03-18 02:00:57 +00:00
Marcus Boerger
c645babd8a
-use php_stream_make_seekable
2002-03-18 00:12:47 +00:00
Wez Furlong
d2d8762267
Streams now make more use of the memory manager, so tracking down
...
leaking streams should be easier.
# I hate these big commits
2002-03-17 22:50:59 +00:00
foobar
19e82a49f9
- Made one test/setup macro for iconv and fixed it to check
...
for libc first.
2002-03-17 21:09:21 +00:00
Stefan Esser
cce45de17c
move_uploaded_files checks open_basedir now
2002-03-17 20:56:20 +00:00
Jason Greene
aab103e9fc
Remove already included file
2002-03-17 19:41:24 +00:00
Sander Roobol
9ca0100889
Fixed compile error about gdImageColorResolve ( #14426 , #15000 ).
2002-03-17 17:01:18 +00:00
Harald Radi
65c4e9e0fd
removed anoying warnings
2002-03-17 16:45:56 +00:00
Wez Furlong
436e339bc7
Fix for Bug #16121 : make unix socket names binary safe.
...
# Could be applied to 4.2 branch, but I don't have a working copy, and
# I don't think it's amazingly critical.
2002-03-17 13:19:27 +00:00
Marcus Boerger
20f2e63289
#removed code to track down error in streams
2002-03-17 12:16:29 +00:00
Markus Fischer
519e6b2208
- Let configure also detect installation in standard unix paths.
...
- Properly format error message.
2002-03-17 08:33:25 +00:00
Markus Fischer
bfbb3bba1f
- Fix some compiler warnings and errors.
2002-03-17 08:10:04 +00:00
Wez Furlong
1d3ad85ac2
fix win32 warning and ming leak
2002-03-17 01:58:42 +00:00
Markus Fischer
9a6296c47e
- WS and code style fix.
2002-03-16 22:31:57 +00:00
foobar
6f546e7b42
- Fixed some typos.
2002-03-16 22:19:33 +00:00
Markus Fischer
6c27722398
- Some more TSRMLS fixes.
2002-03-16 22:19:10 +00:00
Harald Radi
2be6527fc6
fixed TSRM build
2002-03-16 22:08:23 +00:00
Marcus Boerger
bcad7a593a
-quick hack to bug in streams....but where?
2002-03-16 21:19:17 +00:00
Marcus Boerger
d50102b6ab
-disabling debug
...
#Wez: i have an error when closing the original file after stream copy...
2002-03-16 20:25:51 +00:00
Marcus Boerger
f24caf3244
-formatting
2002-03-16 20:12:58 +00:00
Marcus Boerger
fe9cb020ae
-fix bug for not correct terminated comments
...
-switch to streams
@exif functions now support streams using memory streams where @necessary (marcus)
2002-03-16 20:12:17 +00:00
Wez Furlong
b85096ffe9
fix build problem for interbase
2002-03-16 18:43:41 +00:00
Wez Furlong
5d0c53eecf
Fix some issues with gzFile and fsockopen.
2002-03-16 18:42:42 +00:00
Wez Furlong
0895998bef
s/get_file_contents/file_get_contents/
2002-03-16 16:52:24 +00:00
Harald Radi
11a67831d1
blah
2002-03-16 16:15:34 +00:00
Wez Furlong
201446c2b5
Ooops.
2002-03-16 16:14:56 +00:00
Wez Furlong
0447327118
Implement get_file_contents() as discussed (briefly!) by myself, Derick
...
and Sterling on php-dev some months ago.
It returns the file contents as a string, and uses mmap if possible.
2002-03-16 16:06:18 +00:00
Markus Fischer
ac50b53018
- WS fix.
2002-03-16 15:50:20 +00:00
Markus Fischer
3c52ef676f
- Don't forget to close the handle.
2002-03-16 15:42:34 +00:00
Wez Furlong
80f52730ff
correct some problems with ming
2002-03-16 15:15:51 +00:00
Wez Furlong
bed04279c3
Hopefully fix resource usage so that we have no leaks and don't segfault.
2002-03-16 14:39:51 +00:00
Wez Furlong
30647934a4
Tweak the API to be more consistent.
...
Update docs.
2002-03-16 13:48:57 +00:00
Markus Fischer
d4e63bc5bf
- Raise warning when trying to execute non-executeable shell
...
for mail delivery binary.
2002-03-16 12:45:43 +00:00
Harald Radi
01e5d78b80
TSRM fix
2002-03-16 12:22:25 +00:00
Stefan Esser
e926db7bfa
fixed possible bufferoverflow in get_next_char
...
malformed input to htmlentities/htmlspecialchars
with utf-8 encoding crashed the server
ex: htmlentities("\xfd...(30times)", ENT_NOQUOTES, "utf-8");
2002-03-16 09:44:30 +00:00
Rui Hirokawa
9a735efbce
fixed some errors of mbstring in regression tests.
2002-03-16 07:33:21 +00:00
Wez Furlong
636829345e
Allow php_stream_copy_to_stream to do nothing when used with code
...
that calculates a max length of zero. (Thanks again Marcus).
2002-03-16 02:48:35 +00:00
Marcus Boerger
94b6c6e87f
-use of corrected stream seek
...
#thanks to Wez!
#image.c no works again
2002-03-16 02:46:04 +00:00
Wez Furlong
52982c422e
This should help with some build problems/warnings under win32.
...
Someone still needs to add the streams.c file to the MSVC
project/workspace though (there are so many that I don't really know
what I am doing :-).
2002-03-16 02:33:00 +00:00
Marcus Boerger
59ba0b5172
-new streams
2002-03-16 02:23:57 +00:00
Wez Furlong
bc264db921
change * formatting
2002-03-16 01:37:24 +00:00
Wez Furlong
a184f5d1d3
* formatting, plus remove some old fopen wrappers
2002-03-16 01:34:52 +00:00
Wez Furlong
09213d7bf8
change * formatting
2002-03-16 01:28:57 +00:00
jim winstead
d3400b2b5f
the 'setup' script was removed more than two years ago.
...
these can be safely removed from the 4.2 branch, too.
2002-03-16 00:21:40 +00:00
Harald Radi
c1fe9cd279
ongoing development ...
2002-03-15 23:28:10 +00:00
Wez Furlong
0f65280cb5
New PHP streams...
2002-03-15 21:03:08 +00:00
Harald Radi
3a1ebd4f51
@ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul)
2002-03-15 20:48:26 +00:00
Derick Rethans
b5252e28dd
- Fix proto (again)
2002-03-15 19:04:22 +00:00
Derick Rethans
108448f37a
- proto fixes
2002-03-15 18:22:57 +00:00
Daniela Mariaschi
716e6a03db
added new ibase_fetch_assoc() php function
2002-03-15 15:26:01 +00:00
Stig Bakken
fb624cb77a
* "new and improved" iconv test
2002-03-15 13:56:32 +00:00
Harald Radi
720c40dd4e
fixed HashTable allocation
2002-03-15 13:10:35 +00:00
Stig Bakken
2e597b8dc8
* fix for db3 from ports on freebsd
2002-03-15 11:26:47 +00:00
Stig Bakken
9aa5afacee
* yet another iconv config fix, should be able to handle most or all
...
configurations now (giconv/iconv, static libs only, iconv in libc etc.)
2002-03-15 10:06:37 +00:00
Wez Furlong
1cc6a8e998
it's late; no more commits from me tonight...
2002-03-15 02:06:08 +00:00
Wez Furlong
0454ad4de8
should have diffed first...
2002-03-15 02:00:55 +00:00
Wez Furlong
ae9db4e440
fix for ZE2 compile
2002-03-15 01:58:00 +00:00
Harald Radi
ff62e746d2
rpc apstraction module
...
does only work with ZendEngine2
2002-03-15 00:00:34 +00:00
Derick Rethans
7935e73749
- Fix bug #16078
2002-03-14 18:41:35 +00:00
Zeev Suraski
7b3660c6e8
Change case for consistency
2002-03-14 18:39:53 +00:00
Wez Furlong
93ad205756
fix buglet
2002-03-14 14:05:13 +00:00
Zeev Suraski
20f3b718dc
Make it clearer what this entry means
2002-03-14 13:35:19 +00:00
Derick Rethans
bfa2653b61
- Whitespace part 1
2002-03-14 12:20:53 +00:00
Stefan Esser
77b5d80081
fixed: last commit had debug code in it
2002-03-14 11:26:10 +00:00
Stefan Esser
229e7769f4
fixed whitespace
...
fixed lots of possible bufferoverflows
fixed memoryleak
2002-03-14 11:22:53 +00:00
Yasuo Ohgaki
dcd86d154e
Fixed var_dump() crash when there is recursion.
...
# Since I said it's easy to fix :)
2002-03-14 09:36:13 +00:00
Jason Greene
8abf829c2a
Fix CREDIT files, remove email address
2002-03-13 18:45:39 +00:00
Sebastian Bergmann
bcdef75be8
Fix credits.
2002-03-13 15:52:24 +00:00
Jason Greene
caa3dbfbb1
Update Credits
...
#Forgot about sapi
2002-03-13 14:40:31 +00:00
Jason Greene
d53439f246
Update Credits
2002-03-13 14:11:09 +00:00
Sascha Schumann
730800a96d
Because of the feature "don't try to send a cookie, if the sid
...
was contained in get/post variables" (which I still am not convinced
of completely), we need a separate variable which determines whether
to define SID in the event that a cookie was not sent.
Noticed by: Matt Allen
2002-03-13 13:08:49 +00:00
Stig Bakken
5274f1a708
* another libconv->libiconv typo
2002-03-13 09:59:43 +00:00
Sascha Schumann
1599932c2e
Fix leftovers from yesterday (s/PHP_EXTENSION/PHP_NEW_EXTENSION/).
2002-03-13 09:18:53 +00:00
Christian Stocker
7542aa7499
Return attribute name in node_name(), if it's a XML_ATTRIBUTE_NODE
2002-03-13 08:08:22 +00:00
Christian Stocker
da773a0cfc
Return #document in node_name(), if it's a XML_DOCUMENT_NODE
2002-03-13 07:31:16 +00:00
Stig Bakken
923c47893a
* muscat extension moved to PECL (it is GPL'ed and it has never been
...
appropriate to distribute it with PHP)
2002-03-13 06:26:22 +00:00
Boian Bonev
748c255306
fix all comments in protos
2002-03-13 03:51:22 +00:00
Wez Furlong
07f5120ee3
I've altered my diagnosis of segfault/leak problem
2002-03-13 02:49:03 +00:00
Wez Furlong
3ef239bfc8
Fix some issues with ZE2, but now have some leaks.
...
# Any ideas Andrei?
2002-03-13 02:14:28 +00:00
Yasuo Ohgaki
85106b82e9
Fixed a compiler warning
2002-03-13 00:29:53 +00:00
Marcus Boerger
e03a8a995c
-handling
2002-03-13 00:21:51 +00:00
Marcus Boerger
659833a066
-remove filetime from test
...
# that's magic - now the test should work on all installations
2002-03-13 00:20:48 +00:00
Andi Gutmans
617b26f41d
- Compile fixes for Engine 2
2002-03-12 20:28:17 +00:00
Andi Gutmans
c8e7db984c
- Allow duality between Engine 1 & 2 using ZEND_STANDARD_CLASS_DEF_PTR
2002-03-12 20:18:01 +00:00
Sascha Schumann
2fe4117113
missed zlib.c
2002-03-12 17:50:12 +00:00
Sascha Schumann
5b3a5f1e13
nuke old makefiles
2002-03-12 16:54:26 +00:00
Sascha Schumann
e0bdaedca1
forgot to add _NEW_
2002-03-12 16:53:20 +00:00
Sascha Schumann
283b860c58
php_new_extension
2002-03-12 16:53:19 +00:00
Sascha Schumann
06473e08a5
old makefiles
2002-03-12 16:52:17 +00:00
Sascha Schumann
1d06a3166c
remove old makefiles
2002-03-12 16:50:43 +00:00
Sascha Schumann
d9a2bb2ec0
Remove old Makefile templates
2002-03-12 16:44:50 +00:00
Sascha Schumann
120a6ede44
add makefile fragment manually
2002-03-12 16:44:01 +00:00
Sascha Schumann
5cba3a99c2
extension converted automatically to PHP_NEW_EXTENSION. Manually confirmed
2002-03-12 16:44:00 +00:00
Marcus Boerger
3c47fb91e8
-usability
...
-tests
2002-03-12 16:43:29 +00:00
Sascha Schumann
a9f706812d
php_new_extension
2002-03-12 16:40:34 +00:00
Sascha Schumann
54d27d7902
unused file
2002-03-12 15:56:27 +00:00
Stig Bakken
612f2b87d2
* fix compile problem on platforms without iconv in libc
2002-03-12 15:15:27 +00:00
Marcus Boerger
8a622d0668
-return size of thumbnail even if it not read
2002-03-12 13:49:40 +00:00
Stefan Roehrich
edcb5813db
(PHP gzencode) Reimplementation of gzencode(). Now works as documented
...
(gzencode(string data [, int level [, int encoding_mode]])),
should fix #15930 .
@- The second parameter of gzencode() now is the compression level like
@ in the documentation. The encoding mode is a third (optional) parameter.
# Rework of gzencode(), output should be closer to real gzip output.
# I think in the old version there could be some problems with
# this function and output compression, should be fixed, too.
2002-03-12 13:23:58 +00:00
Stefan Roehrich
cede952f6a
(PHP gzinflate) Workaround for bug #14939 (buffer error in gzinflate()).
...
Fixed prototype and added test for #14939 .
# We have extra \0 if the input comes directly from gzdeflate()
# so give one extra byte as length to workaround behaviour of zlib.
# I want to avoid copying the input, but if there are problems,
# please tell (see my message <20020310175611.GA4472@stefan.roehri.ch> to
# php-dev).
2002-03-12 13:06:40 +00:00
Marcus Boerger
f96696e2a1
-reflect changes
...
-find image from run-tests.php
2002-03-12 12:42:45 +00:00
Christian Stocker
b6d4004fd9
forgot SEPARATE_ZVAL, produced segfaults.
...
segfaulted only in 4_2_0 (not in HEAD and 4_0_7, strange...)
2002-03-12 11:15:03 +00:00
Andreas Karajannis
bcdf9b3d4c
Removed sqlrte from SAP DB liblist as it is not needed.
2002-03-12 09:54:46 +00:00
Markus Fischer
f499aa1f33
- Remove *FETCH() statements.
...
- Clean up WS and parenthesis indentation.
2002-03-12 09:12:42 +00:00
Christian Stocker
668ade05c6
nicer (optional) formated output in dump_mem and dump_mem_file
2002-03-12 08:24:50 +00:00
Sebastian Bergmann
6adb33006b
Fix TSRMLS_CC.
2002-03-12 07:20:00 +00:00
Yasuo Ohgaki
c43792602e
Change php_addslashes() a little.
...
Since most users do not use magic_quote_sybase, be nicer to
users not using magic_quote_sybase.
2002-03-12 07:05:40 +00:00
Yasuo Ohgaki
e953dba0d7
Make use of TSRMLS_C/D
2002-03-12 06:56:57 +00:00
Marcus Boerger
06a242169c
-support for array tags
...
-better memory handling
-support for thumbnails in TIFF format
-new functions exif_imagetype
@-new function exif_imagetype
@-exif_thumbnail fupports thumbnails in TIFF format and can return size
@ of thumbnail
2002-03-12 06:14:45 +00:00
Marcus Boerger
e39dcad91a
-fixed bug 15174
...
-support for some broken jpegs: bug 13213
-better memory handling
-initial jpeg2000 support (only jpc not jp2,jb2,jpx)
2002-03-12 06:08:48 +00:00
Yasuo Ohgaki
e0867ffcf1
Add missing skipif.inc
2002-03-12 05:42:43 +00:00
foobar
b4f73cc4f9
- Fix more possible bugs (bug #16008 related)
2002-03-12 02:27:03 +00:00
Derick Rethans
ddf0fac996
- fix bug #16008
2002-03-11 23:11:04 +00:00
Christian Stocker
48da8216f9
@ implemented domxml_elem_get_elements_by_tagname
...
@ new function domxml_doc_get_elements_by_tagname
@ new function domxml_doc_get_element_by_id (chregu)
2002-03-11 22:37:32 +00:00
Markus Fischer
d5b1a4f811
- Slightly unify error/warning messages.
...
- Switch to zend_parse_parameters().
- Fix whitespaces.
2002-03-11 22:23:05 +00:00
Sander Roobol
b9e8bddb3a
Maintain headers
2002-03-11 16:58:29 +00:00
Yasuo Ohgaki
1718f1bd33
Print function names in error messages
2002-03-11 14:53:59 +00:00
Sascha Schumann
2a8d55ff1d
Add global include path, so that other extensions can access
...
the expat header.
2002-03-11 13:32:44 +00:00
Yasuo Ohgaki
8885f79909
WS and indent
2002-03-11 07:23:07 +00:00
Yasuo Ohgaki
2a6ae3b7db
Add comments for constants. Remove unneeded constants included by mistake.
2002-03-11 07:19:57 +00:00
Yasuo Ohgaki
7bccaefc41
Small memory leak fix that does not matter much.
2002-03-11 07:11:54 +00:00
Yasuo Ohgaki
8b8fcff81b
Fix possible build error under Windows.
...
# Recent libpq under windows supports PQcmdTuples, right?
2002-03-11 07:09:12 +00:00
Sebastian Bergmann
6729e0e9bf
Fix thread-safe build.
2002-03-11 05:43:23 +00:00
Jason Greene
cd4954b7b5
Fix WS
2002-03-11 01:24:42 +00:00
jim winstead
8544cc1532
handle numeric strings. this means we're less picky about the argument
...
types, but the math functions aren't generally that picky.
2002-03-10 23:46:43 +00:00
Markus Fischer
949e6dbaae
- Fix protos.
2002-03-10 23:45:02 +00:00
Rui Hirokawa
68976a35ce
fixed wrong include file.
2002-03-10 13:17:59 +00:00
Rui Hirokawa
06923253c3
fixed module name iconv->mbstring.
2002-03-10 12:23:11 +00:00
Markus Fischer
bbe42d7673
- Fix crash in iconv_set_encoding(). [ Closes #15799 ]
2002-03-10 09:22:31 +00:00
foobar
fe7a2440ca
- Renamed aggregate.lib.php -> aggregate.lib (.php files are always deleted bycvsclean)
2002-03-10 02:38:06 +00:00
foobar
16d61c974c
- Fixed bug: #15686
2002-03-09 21:30:12 +00:00
foobar
5b32b3c4df
- Fixed bug: #15190
2002-03-09 18:17:06 +00:00
Sander Roobol
a4e5289335
Oops... 1 digit is allowed too! Reverting my fix.
2002-03-09 11:23:48 +00:00
Jason Greene
494d2d0d5a
Fix build on win32
2002-03-09 06:41:19 +00:00
Jason Greene
3c9c83640f
Fixed bug where NULL specified in sec was not waiting infinately as it should
...
Fixed bug where socket_select was not producing an error message on error
Fixed bug where -1 was getting returned instead of FALSE in socket_recv(),
socket_send(), socket_sendto(), and socket_select()
2002-03-09 04:37:54 +00:00
foobar
131f125fdd
whitespace..
2002-03-09 00:24:42 +00:00
Christian Stocker
f8964007f8
@ implemented domxml_elem_get_attribute_node(attrname) (chregu)
2002-03-08 22:16:07 +00:00
Marcus Boerger
42e478c7aa
-support for out of section data
2002-03-08 20:56:44 +00:00
Sander Roobol
58a52f93bc
Fixed many tests, mostly incorrect paths.
2002-03-08 19:16:19 +00:00
Joseph Tate
ea48f89d26
Added linking files to make build compatible with RH 7.2's updated libxslt
...
packages. Should not break when compiling with older versions. This may
fix bug #15942 as well.
Configure was giving a Warning message without these lines when --with-xslt was
specified.
2002-03-08 18:56:00 +00:00
Sander Roobol
6e6bd72e0d
(php_date) Fixed 'r' modifier to always return two digits for the day
...
value (see RFC 822) (#15952 ).
2002-03-08 17:25:43 +00:00
Hartmut Holzgraefe
94c14ad4f6
reimplementation using macro instead of function pointer ( Bug #15951 )
2002-03-08 11:59:02 +00:00
Marcus Boerger
27242a7a46
-change IsColor from non zero to 1
...
-new test and example for documentation
2002-03-08 11:33:46 +00:00
Christian Stocker
2cdb9f1bf9
@ domxml_elem_remove_attribute(attibutename) is now implemented (chregu)
2002-03-08 11:05:13 +00:00
Christian Stocker
0cf6de6fcb
@ added formatting option to domxml_dump_mem() (chregu)
2002-03-08 09:18:31 +00:00
Marcus Boerger
355150ebde
-Changes according to exif.c 1.55
2002-03-08 01:11:03 +00:00
Marcus Boerger
9363bfad7e
-Support for IFD Arrays
...
#necessary for update/write operations
2002-03-08 01:09:54 +00:00
Marcus Boerger
d994d0b47d
TIFF support for 'non' digicam files
...
# same as in standard/image.c but here it's more complex
2002-03-08 01:06:59 +00:00
Marcus Boerger
d09d38ad6e
TIFF support for 'non' digicam files
2002-03-08 00:57:08 +00:00
Joseph Tate
7ad4b465ca
Commented out a few lines that were causing a segfault in the unlink code.
...
This fixes bug #14522 . I've tested that it does not cause a segfault under
RH 7.2, and retains all functionality. I recommend that this patch be
considered for the PHP_4_2_0 tree as well, as having a function that core
dumps every time is a bad thing(TM).
2002-03-07 23:52:57 +00:00