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
foobar
88750086cc
- Fixed some compile warnings and removed bogus comments.
2002-03-07 21:41:51 +00:00
Sascha Schumann
d62c336cf2
These tests currently depend on register_globals=1
2002-03-07 20:51:27 +00:00
Jon Parise
822c150636
Correct the header file ordering. From 'man 3 inet' (FreeBSD 4.5):
...
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
2002-03-07 20:27:37 +00:00
Frank M. Kromann
7d88c35ffd
Making mbstring compile under WIn32
2002-03-07 17:28:50 +00:00
Joseph Tate
b6c9805cc8
Added type attribute wrappers to the remaining node types that did not have
...
them. I.e. XML_ATTRIBUTE_NODE and XML_CDATA_SECTION_NODE. Mentioned in
Bug #15918 .
2002-03-07 16:34:13 +00:00
Joseph Tate
f0bb6ff3db
Added TODO item to modify new_child so that more than just element nodes
...
can be created.
2002-03-07 16:33:02 +00:00
Derick Rethans
8d4656dcf6
- Remove CVS things
2002-03-07 15:51:29 +00:00
Sascha Schumann
c12dc3851b
touch file
2002-03-07 15:44:10 +00:00
Rui Hirokawa
5634d3a8f7
reverted my patch to fix freetype2 related problem.
2002-03-07 15:07:12 +00:00
Sascha Schumann
62a6c3bfcc
Bad extension. Still using AC_ADD_INCLUDE!
2002-03-07 14:59:48 +00:00
Sascha Schumann
5eb451ff18
Remove .libs from .cvsignores, except /.
2002-03-07 14:57:15 +00:00
Sascha Schumann
9d9d39a0de
Please welcome the new build system.
...
If you encounter any problems, please make sure to email sas@php.net
directly.
An introduction can be found on
http://schumann.cx/buildv5.txt
2002-03-07 14:20:02 +00:00
Yasuo Ohgaki
00e71a8c7e
Rename common.php to common.inc for easier deletion of garbages.
...
e.g. "rm -f *.php"
2002-03-07 08:06:22 +00:00
Hartmut Holzgraefe
08ce0598c5
more proto stuff
2002-03-07 00:13:41 +00:00
Hartmut Holzgraefe
87e1cd308f
proto fixes:
...
- changed 'double' to 'float'
- changed 'int' to 'resource' where appropriate
- format change: proto has to be on a single line and description
on the very next one, some tools still rely on this
2002-03-07 00:01:26 +00:00
Marcus Boerger
ac80c9d00e
- standard test scripts for exif
...
#hope all problems in exif are resolved now
2002-03-06 22:01:45 +00:00
Marcus Boerger
0a0942b193
-comments
...
#just another jhead.c line
2002-03-06 20:52:17 +00:00
Marcus Boerger
15d74e343b
-comments
2002-03-06 20:24:29 +00:00
Jason Greene
165a97c90f
Sockets Rework Patch 3 of 3
...
Nuked all fd code
Rewrote socket_select to use arrays instead of the fd code
(This has the side-effect of fixing quite a few bugs)
2002-03-06 20:19:09 +00:00
Derick Rethans
d716e02a98
- Fix for bug #12383 and #14755 : 105.05$ becomes 105.5$ (Patch by: Giancarlo
...
Niccolai <giancarlo@niccolai.org>)
2002-03-06 19:54:47 +00:00
James E. Flemer
01505de0b1
(PHP opendir) Changed CHECKUID_ALLOW_ONLY_DIR to CHECKUID_ALLOW_ONLY_FILE
...
so that relative paths (vs absolute) work correctly.
2002-03-06 18:31:33 +00:00
Marcus Boerger
3dc95db8b7
-updated test to reflect third parameter of exif_read_data
2002-03-06 18:21:50 +00:00
Marcus Boerger
0b5759f7bf
-missing efree
...
-incorrect index/length computing: left from jhead
#no errors left with test files - controlled manually with hexeditor
2002-03-06 18:11:57 +00:00
Dan Kalowsky
86ca867930
quelling a warning, and ensuring now undefined behavior
2002-03-06 16:15:28 +00:00
Dan Kalowsky
160fe54bab
When #if BLAHING a section, ensure to make it's prototype included. Returns
...
build capability to MacOSX.
2002-03-06 16:14:00 +00:00
Derick Rethans
f3d1ae176f
- Add 'appname' parameter to sybase_connect. (Patch by Christophe Sollet
...
<csollet@coleebris.com>)
2002-03-06 15:59:57 +00:00
Sascha Schumann
b5660126d0
Do the estrdups after checking for parameter constraints.
...
No real memory leaks though, because they are catched by the
memory manager.
2002-03-06 12:34:47 +00:00
Sascha Schumann
0c69739feb
Did not revert back enough.
...
This patch does not make sense, because it enforces the existence
of a single directory.
2002-03-06 12:25:01 +00:00
Sascha Schumann
0bf5fc14be
SID shall be defined to name=id, if the client did not supply
...
a cookie.
2002-03-06 12:12:39 +00:00
Sascha Schumann
8141c7761c
Merge in session API changes (carry around tsrm context)
...
Now PHP_SESSION_API is defined to the date of the last change,
so that externa source-code can handle changes more gracefully.
2002-03-06 11:49:51 +00:00
Sascha Schumann
398b1011dc
Always initialize the track-vars
2002-03-06 11:41:17 +00:00
Derick Rethans
2f04af4402
- More ZTS fixes
2002-03-06 11:26:05 +00:00
Derick Rethans
79330dc592
- Fix build with ZTS
2002-03-06 11:20:11 +00:00
Marcus Boerger
efddda3d6d
-updated test
2002-03-06 09:32:02 +00:00
Marcus Boerger
0ecd2f0876
-new working thumbnail code
...
-everything uses new data structures
-new function exif_thumbnail
#nearly stripped off all jhead code
@read_exif_data is now an alias for exif_read_data
@ important to differenciate old/new version for tests)
@new function exif_tagname returns the names of tags
@new function exif_thumbnail extracts embedded thumbnail (Marcus)
#switched to internal version 1.2
2002-03-06 09:31:32 +00:00
Sascha Schumann
ca59cb7cf9
Weep out all recent commits of Yasuo.
...
I don't have time right now to leave in the good ones and remove
only the bad ones.
There are some semantical changes which I reject, because
they aim at fixing a bug which is at a completely other location.
Then SID does not gefined anymore properly. (This broken patch
has not been sent to me at all.)
Also, there were *so* many whitespace changes which already
make these commits bogus.
2002-03-06 09:02:31 +00:00
Yasuo Ohgaki
d36ddb5a9f
Fixed typo :)
2002-03-06 09:01:13 +00:00
Yasuo Ohgaki
ae3edadca6
Use static mm file save path. Now we can safely stop web server at start up when there is an error. Older mm uses static mm file path anyway.
2002-03-06 08:54:55 +00:00
Yasuo Ohgaki
0010418ea7
Fix crash bug #14232
2002-03-06 07:49:49 +00:00
Yasuo Ohgaki
da977f8251
Make php start even with wrong save_path.
2002-03-06 06:29:43 +00:00
Jason Greene
e228b16885
Socket Rework Patch 2
...
Redesigned socket_recv() as outlined on php-dev
Modified socket_last_error() to no longer clear the error
Added socket_clear_error()
Fixed socket_set_nonblock()
Added socket_set_block()
Fixed a proto
Saved 1 byte of RAM : )
2002-03-06 05:21:56 +00:00
Yasuo Ohgaki
92facba86f
Oops. Fix compile failure
2002-03-06 00:42:39 +00:00
Yasuo Ohgaki
a2fecc2d79
Using session_save_path() after starting session is obvious error.
...
Riase E_NOTICE error instead of E_WARNING. Since it is valid if
user uses session_save_path() with session_module_name().
2002-03-06 00:40:42 +00:00
Yasuo Ohgaki
09e6133e84
Return FALSE when session_module_name() failed. Fix a little leak.
2002-03-06 00:34:57 +00:00
Yasuo Ohgaki
b17fd60310
Raise error when session module failed to open or read
2002-03-06 00:26:38 +00:00
Yasuo Ohgaki
782462a4ca
More TSRM work
2002-03-06 00:12:48 +00:00
Yasuo Ohgaki
4042334882
Remove TSRMLS_FETCH() and use TSRMLS_C/TSRMLS_D
...
# Need a little more work for backword compatibility
2002-03-06 00:05:21 +00:00
Yasuo Ohgaki
bc383c2eab
Fixed crash with mm save handler
2002-03-05 23:45:50 +00:00
Yasuo Ohgaki
d809d046df
Fix bug #15322 and fix a little memory leak
2002-03-05 23:37:00 +00:00
Zeev Suraski
1c3c40a339
Make $_SESSION and $HTTP_SESSION_VARS links to each other
2002-03-05 22:06:35 +00:00
Marcus Boerger
088450efce
-fixes
...
-changed internal data structures
#nearly stripped off all jhead code
2002-03-05 19:47:19 +00:00
Dan Kalowsky
af4b22ceb5
Breaking BC, but making odbc_fetch_into behavior more consistent
2002-03-05 16:45:02 +00:00
Markus Fischer
003bb8c2b4
- Introduced posix_errno() (get error number from last error message) and
...
posix_strerror() (convert error number into error string).
- Do not output any error message if any of the function fails with FALSE
return value. The proper way now is to call posix_errno() and
posix_strerror() after encountering an error condition.
- Function not support on a system no longer issue a 'not available' error
but simply don't exist so we can safely use 'function_exists'.
- Fixed protos.
- Use new parameter parsing API.
- posix_uname() may be aware of 'domainname' (GNU extension)
- posix_getgrnam(), posix_getgrgid(): the returned information does no
longer contains mixture of string and numbered keys (hash / array)
but contains key 'member' with an array of all members in a list
(or an empty array). This breaks BC but is the right thing IMHO.
2002-03-05 16:04:04 +00:00
Derick Rethans
eeeb95595f
- More test fixes
2002-03-05 09:02:02 +00:00
Derick Rethans
39225a22b8
- Fix tests to work with CLI
...
#- Not totally done, but this makes it a lot better
2002-03-05 09:00:56 +00:00
Derick Rethans
9354703d9d
- Fix mcrypt tests
2002-03-05 08:24:21 +00:00
Dan Kalowsky
1e0ee7b1b5
Added a comment for future reference
2002-03-05 06:15:01 +00:00
Jason Greene
7d7b1ae9b5
Style Improvement
2002-03-05 03:45:23 +00:00
Frank M. Kromann
5f4fe6255e
Killing compiler warning
2002-03-05 00:28:20 +00:00
Frank M. Kromann
68caa64328
Making dbase compule under WIn32
2002-03-05 00:28:07 +00:00
Dan Kalowsky
a3010a9b8f
Fix for Bug 14423. Enables FreeBSD to use iconv functionality.
2002-03-04 23:28:17 +00:00
Marcus Boerger
ce4bf31268
- also test TIFF support in GetImageSize
2002-03-04 23:20:48 +00:00
Marcus Boerger
6b2a074330
- Read IsColor for TIFF
2002-03-04 23:19:27 +00:00
Sascha Schumann
e991374db6
Add apparently missing include
2002-03-04 20:14:52 +00:00
Sascha Schumann
b4d5aa5c50
Supply php_html_puts which escapes a whole string.. now fully works in ZTS
...
mode, too.
2002-03-04 18:46:55 +00:00
Sebastian Bergmann
f79e39cf56
Silence warning.
2002-03-04 18:21:43 +00:00
Sascha Schumann
316a03ca17
revert last commit, puts does more through putc.
2002-03-04 18:12:55 +00:00
Sascha Schumann
42bd356be8
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).
2002-03-04 17:48:20 +00:00
Marcus Boerger
d95f691e3f
- TIFF support for GetImageSize
...
@ TIFF support for GetImageSize (Marcus)
2002-03-04 17:17:41 +00:00
Marcus Boerger
a7403576e1
- disabled debug information
...
- added missing width/height from primary ifd for TIFF
2002-03-04 17:09:24 +00:00
James Cox
c63843eb29
typos suck.
2002-03-04 17:09:09 +00:00
Jason Greene
c6c7380d88
Style mismatch: Jon's catch
2002-03-04 15:02:23 +00:00
Stanislav Malyshev
800e8af417
cygwin fix
2002-03-04 11:11:25 +00:00
Jon Parise
9d43b9ecf5
Silence warning under Solaris 8 (WorkShop Compilers 5.0 98/12/15 C 5.0).
2002-03-04 11:03:19 +00:00
Marcus Boerger
be5908b06c
-addition to last change: php_image.h must be included now
2002-03-04 09:29:06 +00:00
James Cox
0c78c87f34
Changing the Velocis extension to now be called Birdstep, due to a product/company change.
...
added aliases for Velocis to the birdstep functions.
# testing is both advised and encouraged!
@ The Velocis extension is no
2002-03-04 09:10:32 +00:00
Sascha Schumann
cd5f8608e2
Restore use of inline
2002-03-04 08:37:44 +00:00
Rasmus Lerdorf
83e6dbcf19
Let getimagesize() and read_exif_data() share the same constants to
...
promote a little bit of code reuse here on two very similar problems.
2002-03-04 07:21:30 +00:00
Marcus Boerger
9c8ad6614f
-Updated test.txt and provided test.php
...
# simply including test.txt
@Added test.php/txt to have a possibility to check ext/exif
@(Marcus)
2002-03-04 06:26:07 +00:00
Marcus Boerger
642ab24df1
-Added TIFF support
...
-Changed parameters after checking bugdatabase and discussion with
Rasmus: 1st=Filename, 2nd=NeededSections
# 3rd=Thumbnail, 4th=All
# 3rd and 4th parameter are currently diabled because the code
# does not work correctly (will correct this in later versions).
# Changing the parameters will not cause any problems because the
# old parameter functions never found their way in documentation
# and the they did not work...
@-Added TIFF support
@-Changed parameters after checking bugdatabase and discussion with Rasmus
@ 1st=Filename, 2nd=NeededSections
@ If the 2nd parameter is not present or 0 or '' the function will return
@ a result array even if no data was read from file.
# Personally i consider a default behaviour to generate no array if
# no data is present as a bad idea because here we can generate as
# much information as possible....
@ If the 2nd parameter is a string then that string describes which
@ sections have to be present in the file to generate a result array.
@ If none of the needed section is found the result will be false.
@ Section strings are "ANY_TAG","IFD0","COMMENT","EXIF","GPS","INTEROP"
@ "FPIX","APP12". Each string has to be separated by a colon. So
@ "COMMENT,EXIF" returns an array if either a comment or an Exif
@ section is present. "IFD0" is standard datastructure in a TIFF/JPEG
@ file that contains image information. "EXIF" is the Exif structure
@ of TIFF/JPEG (IFD0 subdirectory). "GPS", "INTEROP", "FPIX", "APP12"
@ are additional IFD0 subdirectories. The APP12 support is an
@ experimental Olympus support.
# Do not worry this is no problem, it is safe.
@(Marcus)
2002-03-04 06:21:58 +00:00
Jason Greene
03baef7a3d
Patch 1 of 3 (2 in 3 still in progress) of sockets rework
...
Abstracted string -> ipv4 value conversion which unifies all functions
Standardized Host Lookups
Fixed Broken host error values
Fixed error detection in sendmsg
Added some safety struct zeroing
Modified bind to consitentlyy use sockaddr_storage(not just for AF_UNIX)
#Note this could potentially break the build on other platforms, as I have
#not tested them yet (Will soon though)
2002-03-04 05:27:04 +00:00
James E. Flemer
787ce372b9
(PHP opendir) Added safe_mode checks on path.
...
@- Added safe_mode checks for opendir(). (jflemer)
2002-03-03 20:46:57 +00:00
Derick Rethans
bc7e0b5512
- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3 parameters
...
are supplied, but you do not want to provide a row number yourself.
@- Make the 2nd parameter to pgsql_fetch_* support NULL in case 3
@ parameters are supplied, but you do not want to provide a row number
@ yourself. (Derick)
2002-03-02 19:53:11 +00:00
Hartmut Holzgraefe
547b25fd13
php has no 'double', only 'float'
2002-03-02 17:08:09 +00:00
Hartmut Holzgraefe
0558bc5b1c
tab/space mixture cleand up,
...
editor config comments added,
minor proto fixes
2002-03-02 16:49:06 +00:00
Hartmut Holzgraefe
bff90c71c1
typo fix
2002-03-02 16:41:55 +00:00
Zeev Suraski
7c3763d056
Fix another crash bug
2002-03-02 15:59:16 +00:00
Hartmut Holzgraefe
7c655ad471
enable ctype functions by default
2002-03-02 15:44:08 +00:00
Marcus Boerger
442773abb3
Wrong brackets by rasmus...but sorry the fault was mine because i missed them...
...
i also decided to call the first working version 1.0a
by the way: currently i am working on tiff files and it looks like it may work
2002-03-02 15:43:19 +00:00