Harald Radi
667a0841f3
functions returned FALSE in case of error and the oo api returned NULL.
...
make them both behave equal (return NULL, as FALSE can be a valid value).
2002-04-29 15:50:30 +00:00
Stanislav Malyshev
aa10ac9a64
Yet another serialization fix - for incomplete class
2002-04-29 15:44:30 +00:00
foobar
d066ed7c0e
Make it possible to use recode 3.5 too. (happy now Wez? :)
2002-04-29 15:40:16 +00:00
Markus Fischer
8cf30c79ff
- Fix WS and CS a bit
2002-04-29 15:06:48 +00:00
Markus Fischer
c970490d28
- Store last errno in the module global 'last_error' implicitely
...
- Set the global 'last_error' explicitely for functions which can't return an
error withing a single socket context (socket_create and socket_select)
- Modified socket_last_error() to return global modules last
error if no socket resource is given
- Added a couple of more E_WARNING messages in case something
goes foobar so the user isn't left alone in the dark.
2002-04-29 14:52:29 +00:00
Wez Furlong
ab69b0c6ec
Slightly alter the signature of msg_send and msg_receive so that error
...
codes and serialized "false" messages can be distinguished.
2002-04-29 12:52:34 +00:00
Rui Hirokawa
2f52cbbb7c
shlib suffix was not defind and rint() was not found without -lm.
2002-04-29 02:55:55 +00:00
Sascha Schumann
71124226d5
Touch generated file
...
# is it really so hard to remember this?
2002-04-28 21:24:52 +00:00
Stanislav Malyshev
a57381e3bd
Fix couple of nasty serializer bugs:
...
a) When array unserializer encounters less data than it expects (like:
a:1:{}) it crashes. I don't understand exactly why it does, but the fact
is it does. So now it should catch "}" and bail out.
b) When array/object data are serialized, the count is written by hash
count. However, it can be that in-loop check fails and less data than
expected will then be written into the array. Which, due to a), would
crash on unserialize. So now it will write empty entries in place of
entries it cannot serialize (the other choice would be make two passes on
the data, which I don't like).
2002-04-28 16:56:33 +00:00
Thies C. Arntzen
245708b0db
timestamp
2002-04-28 11:46:58 +00:00
Thies C. Arntzen
42158ef7c8
revert session_set_userdata - diffent patch will come shortly
2002-04-28 11:45:45 +00:00
foobar
80f9fdf3c7
@- Added optional 3rd parameter to mysql_select_db() which makes it return
...
@ the previously selected database name. (Jani)
2002-04-28 06:38:12 +00:00
foobar
305260ce4a
kill a compile warning
2002-04-28 05:36:05 +00:00
foobar
c1c8a4fcfa
touch file. Please commit first the .re file and afterwards the .c source. Otherwise, timestamps will be broken.
2002-04-28 04:14:47 +00:00
foobar
817750b088
ws fix
2002-04-28 01:37:54 +00:00
Yasuo Ohgaki
de4a0ba58e
Add test case for file_exist/is_file
2002-04-28 00:05:43 +00:00
Sascha Schumann
30fd7de1fa
s/len/xln/ was necessary here
...
Noticed by: Charles O Parks III
2002-04-27 23:37:17 +00:00
Sascha Schumann
aab439f26f
Use a single macro to set cl header
2002-04-27 18:41:38 +00:00
Thies C. Arntzen
7b59a131b6
@ - If possible set Content-Length header in zlib.output_compression mode. (thies)
2002-04-27 17:03:32 +00:00
Harald Radi
da9dd9acc9
updated TODO list
2002-04-27 15:47:18 +00:00
Thies C. Arntzen
2dee392e5b
part 2 of last commit
2002-04-27 14:08:07 +00:00
Thies C. Arntzen
eb105693b8
@ - added session_set_userdata() which enables you to specify one variable
...
@ that will be kept in the browser in addition to the session-id. This
@ only works when using trans-sid sessions (no cookie). (thies)
2002-04-27 14:07:52 +00:00
Harald Radi
a380af2247
don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername
2002-04-27 10:17:46 +00:00
foobar
6147e1e720
Fix bug: #16743
2002-04-27 01:02:52 +00:00
Yasuo Ohgaki
6cc8919dc4
Fixed bug #16861 .
...
touch sets wrong atime or mtime when they are not specified.
touch silently failed when HAVE_UTIME is not defined.
(This needs more consideration. Which platform does not support it?)
# Derick, after HAVE_UTIME issue is resovled, this should be merged.
# or we can just merge 1st problem for now.
2002-04-26 23:46:51 +00:00
Sascha Schumann
2b07dd4fe3
three less strlen invocations
2002-04-26 21:27:38 +00:00
Harald Radi
51241dba94
this patch should fix a bug where intermediate comvals were not
...
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.
2002-04-26 18:20:45 +00:00
Dan Kalowsky
ce39ba7265
bug fix for bug #15758 , a double free'ing of an ODBC connection
2002-04-26 14:56:34 +00:00
Sascha Schumann
4efba9ef9d
Improve use of module_globals macros
2002-04-26 10:13:45 +00:00
Wez Furlong
f03115aae1
Add sysv IPC support (wrappers for msgsnd and friends).
2002-04-25 23:14:43 +00:00
jim winstead
79d113ba50
update generated file
2002-04-25 22:12:56 +00:00
jim winstead
bc977dd195
Do not add redundant id attribute. It doesn't make the output any
...
more standards compliant.
2002-04-25 22:12:38 +00:00
Edin Kadribasic
54440c8bfd
Some systems have mysql socket in /var/run/mysql
2002-04-25 21:07:36 +00:00
Edin Kadribasic
b1c1a99b3d
MFB
2002-04-25 17:20:14 +00:00
Rui Hirokawa
860e675884
fixed directory access problem when direcory name is encoded in japanese Shift_JIS encoding.
2002-04-25 14:43:40 +00:00
Sascha Schumann
46527b3f5a
Touch generated file to increase timestamp
2002-04-25 09:02:01 +00:00
Yasuo Ohgaki
c5b4a507fe
Added test for pg_fetch_*() functions
2002-04-25 07:52:01 +00:00
Yasuo Ohgaki
b4c943ee7b
Revert last 2 commits.
...
# Most PostgreSQL users should enable multibyte support ;)
2002-04-25 07:09:45 +00:00
Derick Rethans
8ffd089e02
- Fix for bug #16811
2002-04-25 06:43:11 +00:00
Derick Rethans
4ec1a03653
- Fix for bug #14353
2002-04-25 06:37:22 +00:00
Derick Rethans
4a834dfa44
- Fix for bug 16810 (XHTML compliance)
2002-04-25 06:30:09 +00:00
Yasuo Ohgaki
534ba498e3
Fix version in message
2002-04-25 02:40:58 +00:00
foobar
9f096d2578
Only support the new libexpat.
2002-04-25 01:47:35 +00:00
Yasuo Ohgaki
c65a20df4a
pg_client_encoding/pg_set_client_encoding should be compiled always.
...
Recent libpq has PQclientEncoding/PQsetClientEncoding regarless of
multibyte support enabled or not.
Reported by c@cornelia-boenigk.de
# This should be merged, but need a little more testing.
2002-04-25 01:42:23 +00:00
Yasuo Ohgaki
48ea7057e4
Remove result_type from pg_fetch_object() proto.
...
It still accepts 3rd argument, but passing 3rd argument
does not make sense for pg_fetch_object().
2002-04-24 23:03:48 +00:00
Yasuo Ohgaki
cf7f465ef9
It does not make any sense to have a PGSQL_BOTH as a default for pg_fetch_object()
...
Noticed by c@cornelia-boenigk.de
2002-04-24 22:57:21 +00:00
Dan Kalowsky
55e43151d5
clearing up some code to remove any possible confusion in variable counts
2002-04-24 22:07:29 +00:00
foobar
e46f57b6fb
- Fixed a typo..
...
# not related to the localhost.localdomain thing..
2002-04-24 18:00:39 +00:00
foobar
0d7b1a4e94
- Do the ssl_onceonlyinit() as last. This is how c-client creates
...
the linkage.c (used by Pine).
2002-04-24 15:29:52 +00:00
Andrei Zmievski
5ff970ba7d
Fix Bug #14795 .
2002-04-24 15:23:43 +00:00
Andrei Zmievski
4fc01022e6
Fix unwanted type conversion in array_merge_recursive (Bug #14990 ).
2002-04-24 15:01:53 +00:00
foobar
712c85eddc
One big mess is a bit less mess now.
2002-04-24 12:45:55 +00:00
foobar
0a1f795271
Fix ZTS build.
2002-04-24 05:49:57 +00:00
foobar
c3a6cbbc42
Fixed the extension name.
2002-04-23 23:30:20 +00:00
foobar
4586a989ef
Wrong variable used here..
2002-04-23 23:17:41 +00:00
Markus Fischer
a8b633bfa2
- Fix proto.
2002-04-23 22:22:17 +00:00
Markus Fischer
be013212bc
- Fix pcntl_waitpid() [ Fixes #16766 ].
2002-04-23 21:21:41 +00:00
Sascha Schumann
1d22766fb1
Add #ifdef.. around F_SETFD.
2002-04-23 19:58:31 +00:00
Derick Rethans
e31793414d
Fix TSRMLS_CC thingies.
2002-04-23 19:01:31 +00:00
Uwe Steinmann
fc851f342a
- replace_child() will not add a child twice
...
- domxml_open_mem() drops old optional parameter to switch between reading
from a string or a file.
- new optional parameter for domxml_open_mem() which set the mode how the
document shall be parsed
2002-04-23 13:24:25 +00:00
Yasuo Ohgaki
417f299d0e
Remove unneeded 'return'.
2002-04-23 08:10:45 +00:00
Yasuo Ohgaki
e6780384ad
Fix possible wide char prolem.
...
Fix empty output when no conversion is performed.
# Derick, this needs to be merged.
2002-04-23 08:07:19 +00:00
Uwe Steinmann
1e9000e315
- added new function DomDocument->ids (subject to change)
2002-04-23 06:26:46 +00:00
Uwe Steinmann
d4c273c3a7
- get_element_by_id() doesn't use xpath anymore but searches in
...
xmlDoc->ids as provided by libxml.
- New function DomDocument->ids() returns a list of ids (subject to change)
- replace_node() doesn't make a copy of the new node if it has no parents
2002-04-23 06:05:38 +00:00
Yasuo Ohgaki
e7e0eddadd
Make pg_convert/pg_insert/pg_select/pg_update/pg_delete a bit more flexible.
...
pg_convert() may ignore, NOT NULL and/or DEFAULT.
pg_insert/pg_update/pg_select/pg_update may return query string.
2002-04-23 03:42:26 +00:00
Sascha Schumann
303a784822
remove unnecessary casts
...
# if you mind the bogus warnings, you can either switch the compiler
# or decrease the warning level
2002-04-22 20:42:01 +00:00
Sascha Schumann
5a83ad6dc1
Set the close-on-exec flag for fds. Child processes should not inherit
...
the fd.
Also rip out the broken O_EXCL use. Our file names are not unique and
this left a small window open where creating a session file would fail
(a, b notice that the file does not exist; a creates the file successfully;
b tries to create, but fails due to O_EXCL).
2002-04-22 20:39:24 +00:00
Harald Radi
894aac6e19
set up a proxy object when requesting a reference to a variable
2002-04-22 19:40:01 +00:00
Harald Radi
b29604fefc
fixes a warning when compiling under win32
2002-04-22 18:02:01 +00:00
Harald Radi
94ba23998f
changes related to the latest commit of the zend engine
2002-04-22 14:25:46 +00:00
Sascha Schumann
ebd957f69e
hash keys lengths include the NUL-byte, so we need to copy one byte less.
...
also add missing commas in the INSERT clause.
Noticed by: Yasuo Ohgaki
2002-04-22 08:18:19 +00:00
Rui Hirokawa
aa9cf268db
small performance improvement when pass is selected as input encoding.
2002-04-21 22:06:55 +00:00
Wez Furlong
6d1dc8141c
Apply that patch I wrote ages ago that fixes some problems with true-color
...
vs palette based handling.
Also implements the gdImageStringFTEx function.
2002-04-21 13:48:22 +00:00
Sascha Schumann
d1a1f17628
refactoring in pgsql_do_connect and some "leaner" code in pgsql_add_quotes
2002-04-21 11:29:17 +00:00
Sascha Schumann
c2c23ff6df
Avoid allocating resources, if we know that the input array is empty.
...
Also pass tsrmls to do_exec.
2002-04-21 10:44:31 +00:00
Sascha Schumann
bf87992040
speling fix and s/FAILURE/HASH_KEY_NON_EXISTANT/
2002-04-21 10:37:40 +00:00
Sascha Schumann
c6016fcfd2
The default has been changed to assume failure, because there were 5-10
...
cases of failure and one success.
2002-04-21 10:28:01 +00:00
Sascha Schumann
db24a14b9b
Add PGSQL_RETURN_OID which encapsulates the LONG_MAX check etc.
...
Add a few missing smart_str_0's.
Remove a "(" in a probably less-tested #ifdef.. branch
2002-04-21 10:22:31 +00:00
Sascha Schumann
9a7418906c
Also support --disable-shared installations of pgsql
2002-04-21 10:18:34 +00:00
Sascha Schumann
7e597b260a
My patch as posted to php-dev + warnings/errors fixed as seen in
...
Yasuo's reply.
2002-04-21 09:46:29 +00:00
foobar
65078f3b50
Tiny typo..
2002-04-21 02:50:38 +00:00
Sascha Schumann
d30fc27e5a
simplify and improve speed of smart_str_print_long.
...
also add a variant for unsigned numbers.
2002-04-21 01:17:49 +00:00
Sterling Hughes
5db5498f90
expletives deleted.
2002-04-21 00:41:38 +00:00
Sterling Hughes
dc3b3fa302
some more fixes towards making it work again
2002-04-21 00:27:05 +00:00
Sascha Schumann
5e25c15d6c
allocate space for NUL
2002-04-20 18:58:20 +00:00
Derick Rethans
6075a65319
- initialize globals properly
2002-04-20 18:33:54 +00:00
jim winstead
36751953d4
include the checks for various support libraries to --with-gd=php section. the
...
libgd stuff needs some additional checks to handle the presence/absence of
things like libpng, but this helps when most things are included.
2002-04-20 18:02:14 +00:00
jim winstead
95e9eb35d8
s/.o/.c/
2002-04-20 17:24:37 +00:00
Sterling Hughes
a8504dc592
realloc buffer down
2002-04-20 16:08:30 +00:00
Sascha Schumann
20c0fed127
If I don't want mbstring, I also don't want this transparent encoding
...
thingee which caused an undefined reference in main.o.
2002-04-20 15:17:57 +00:00
Yasuo Ohgaki
3087b96ece
Make pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export() work with oid larger than 2^31.
...
@Added large OID value (2^31 to 2^32) support for pg_lo_import()/pg_lo_unlink()/pg_lo_open()/pg_lo_export(). (Yasuo)
2002-04-20 14:06:47 +00:00
Yasuo Ohgaki
29e3175f97
Added comment to fix large OID value handling later.
...
Fixed wrong conversion specifiers.
2002-04-20 04:17:17 +00:00
Yasuo Ohgaki
3ee7591ae9
Added missing 'd'.
2002-04-20 03:50:21 +00:00
Yasuo Ohgaki
d845ba2077
Some cleanup.
...
More OID range related fixes.
# Need a little more work for OID
2002-04-20 03:37:01 +00:00
Yasuo Ohgaki
07125ea9f4
Fixed OID overflow. If value is larger than MAX_LONG,
...
pg_last_oid() returns string to keep correct value.
2002-04-20 03:03:42 +00:00
Yasuo Ohgaki
04fb5ef2e3
Added API version for C programs
2002-04-20 02:38:30 +00:00
Yasuo Ohgaki
c53c212da6
Remove warnings.
...
Fixed OID overflow bug.
Fixed type convertion bug.
# Thank you Edin.
2002-04-20 02:31:48 +00:00
Sterling Hughes
c53003575a
throw a warning if encoding support not available...
2002-04-19 23:46:09 +00:00
Sterling Hughes
8912735d86
make it work with dom processing, this allows DOM tree caching to avoid
...
re-parsing the same data. Currently very beta -- DO NOT USE. Will be cleaning
this up over the next few days... Need this in here for version history, and
to show other people
2002-04-19 22:17:23 +00:00
Adam Dickmeiss
4bf2f16771
Indentation;)
2002-04-19 20:15:40 +00:00
Adam Dickmeiss
6ad3b2bf43
fix warning
2002-04-19 20:03:47 +00:00
Andrei Zmievski
4acbbcf5a9
Revert bogus patch.
2002-04-19 17:23:22 +00:00
Derick Rethans
18a3f085aa
- Fix warnings in VC
2002-04-19 14:57:46 +00:00
Yasuo Ohgaki
e64696d729
Fixed pg_insert/update/select/delete overflow.
2002-04-19 13:09:09 +00:00
Yasuo Ohgaki
825e011805
Update tests
2002-04-19 12:24:58 +00:00
Yasuo Ohgaki
7a8ad06121
Added "NOT NULL" check and do not add converted variable when field is NULL and HAS DEFAULT.
...
(php_pgsql_convert)
2002-04-19 12:24:14 +00:00
Yasuo Ohgaki
8d8ca2602b
Changed "default" -> "has default" (metadata)
...
Fixed comment. Do not use magic number.
2002-04-19 12:19:29 +00:00
Wez Furlong
928bae9cf8
Make scheme part decoding rfc2396 compliant.
...
Change zlib:// and bzip2:// to compress.zlib:// and compress.bzip2://
Tidy up old socket/network code/comments.
2002-04-19 10:06:41 +00:00
Yasuo Ohgaki
fe6990cc6b
Remove compiler warnings
2002-04-19 07:56:41 +00:00
Yasuo Ohgaki
c1ae59c588
Fixed file include error
2002-04-19 07:55:24 +00:00
Yasuo Ohgaki
ec11233183
Remove warning.
2002-04-19 07:54:52 +00:00
Yasuo Ohgaki
2efc8847cd
Fixed test title (strlen -> mb_strlen)
2002-04-19 07:51:00 +00:00
Yasuo Ohgaki
f463be8408
Leave "" (null string) when converting.
2002-04-19 07:47:53 +00:00
Yasuo Ohgaki
3b75b606d8
Remove warnings
2002-04-19 07:33:51 +00:00
Yasuo Ohgaki
26bf419778
Fixed messages
2002-04-19 07:08:26 +00:00
Yasuo Ohgaki
6c8bcadf76
Enable mbstring by default.
...
@ mbstring module is enabled by default (Yasuo)
2002-04-19 06:32:26 +00:00
Sebastian Bergmann
c57ab20ac8
Make use of HAVE_MYSQL. Reviewed by: Sterling.
2002-04-18 16:48:03 +00:00
Sander Roobol
fd167a7d42
Removed redefinition of MIN()
2002-04-18 14:05:28 +00:00
Sander Roobol
151bc2a082
Removing unused variable
2002-04-18 14:04:10 +00:00
Derick Rethans
c0c9279c0a
- MFH: Make DBA compile as a shared module again
2002-04-18 12:30:18 +00:00
Harald Radi
f246e23799
whitespace fixes
2002-04-18 10:05:47 +00:00
Alan Brown
ad9f90a223
Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak.
2002-04-18 01:56:29 +00:00
Alan Brown
bbb133f292
When V_BSTR() is NULL, we pass a NULL pointer into php_OLECHAR_to_char() which reports an exception. Better to map a NULL string pointer to ZVAL_NULL.
2002-04-18 01:52:07 +00:00
Uwe Steinmann
4a2c9980b8
- fixed memory leak
2002-04-17 07:33:39 +00:00
Sebastian Bergmann
208c52fda6
Beautify.
2002-04-17 05:19:10 +00:00
Wez Furlong
b10b24d50c
Always initialize wrappers, regardless of PG(allow_url_fopen).
...
Add is_url field to wrapper structure; the stream wrapper openers
will disallow opening is is_url && !PG(allow_url_fopen).
Add infrastructure for stat($url) and opendir($url).
Tidy up/centralize code that locates and instantiates wrappers for the
various operations.
Implement opendir for plain files.
Make the PHP opendir and dir functions use the streams implementations.
Add modelines for syntax highlighting the pear scripts in vim
2002-04-16 22:14:27 +00:00
Sterling Hughes
651c00718a
move xslt_error and xslt_errno down to functions, in order to
...
make logical room for the xslt_dom_* functions
# (xslt_dom_* will be a basic api, allowing no dom manipulation,
# however, one of these days I'll write a message/extension that
# handles xslt/dom/sax in a coherent manner -- just you watch :)
2002-04-16 15:54:59 +00:00
Wez Furlong
1f4d4873dc
remove old code
2002-04-16 14:47:20 +00:00
Sander Roobol
c18338b84e
Added missing function to function_entry
2002-04-16 14:19:09 +00:00
foobar
01ae2f026e
removed ws pollution
2002-04-16 12:58:23 +00:00
foobar
6394a85af8
Added 2 new tokens: T_CLASS_C and T_FUNC_C
2002-04-16 12:53:07 +00:00
Derick Rethans
561552cb4d
- MFB: Remove version number
2002-04-16 10:14:08 +00:00
Sterling Hughes
e937ad5adf
update these docs, phpdoc will lag a bit :)
2002-04-16 06:41:05 +00:00
Sterling Hughes
2b5a95b54b
Prefix current functions with "sax" in order to make way for dom interface
...
backwards compatibility is maintained via function aliases
xslt_sax_set_sax_handlers is a bit wierd, i guess...
2002-04-16 06:37:19 +00:00
Sterling Hughes
59f3ba1490
clean up the error code a tidbit
2002-04-16 06:04:17 +00:00
Stig Bakken
e07f7cce08
* build tokenizer by default
2002-04-16 05:37:51 +00:00
Frank M. Kromann
1c111b5d3f
Fixing Win32 compilation of mbstring
2002-04-15 23:03:48 +00:00
Frank M. Kromann
45881d2b40
Fixing Win32 compilation of exit
2002-04-15 22:23:20 +00:00
Mark L. Woodward
c000d491d7
Chages for beta3
2002-04-15 22:00:56 +00:00
Uwe Steinmann
de2ef69032
- DomNode->replace_node() now returns the node that was replace and
...
not the new node
- fixes Bug #15949
2002-04-15 15:39:10 +00:00
Uwe Steinmann
c7e391637c
- added DomNode->replace_child()
2002-04-15 14:45:38 +00:00
Marcus Boerger
ef5c0f7cc6
support for WinXP tags (thanks to Rui Carmo)
2002-04-14 20:47:21 +00:00
Thies C. Arntzen
136240ae46
fix crash bug introduced by last commit
2002-04-14 18:27:27 +00:00
Derick Rethans
069d83c68a
- Fix null-termination problem
2002-04-14 08:49:57 +00:00
Rui Hirokawa
d5158c20a4
fixed error output handler when 'pass' is choosed as output encoding.
2002-04-14 08:18:55 +00:00
Frank M. Kromann
cd0b3ea491
/usr/lib is the default install dir on Mandrake
2002-04-14 02:28:09 +00:00
foobar
72c40cdf42
- Use the correct javac/jar binaries.
2002-04-14 00:40:36 +00:00
Thies C. Arntzen
12541a481e
ocibind: avoid warning in debug mode if an outbound variable is NULL
2002-04-13 18:58:18 +00:00
Thies C. Arntzen
33a493cf82
@- Mixing OCIPlogon and OCINLogon no longer leak Oracle-Sessions. (thies)
2002-04-13 12:10:03 +00:00
Christian Stocker
67292ee205
@- old $node->append_child() is now $node->append_sibling(), since
...
@ new append_child() now behaves like excepted (= W3C standard) (chregu, uwe)
2002-04-13 10:23:46 +00:00
Sascha Schumann
83719f5cd8
s/==/=/
2002-04-13 09:26:29 +00:00
Rasmus Lerdorf
be2078bb73
oops
2002-04-13 05:43:14 +00:00
Markus Fischer
c7a1d96f8a
- Fix a possible memory leak in xml_set_handler().
...
I stumbled over this while trying out 'pear package' which, while doing
xml parsing, re-assigns the variaous callback handlers depending
on the version during xml processing.
If this check causes problems, let me know.
2002-04-13 05:06:33 +00:00
Rasmus Lerdorf
7a8cade379
Initial commit of the built-in libgd based on GD-2.0.1
...
This initial checkin has no changes to any of the libgd code so it can
be used as a basis for diffs. It also will not build currently because
of this. The PHP gd checks need to be incorporated along with a bit of
other config magic. It also shouldn't break the build and will only
take effect if you use --with-gd=php right now.
2002-04-13 02:03:09 +00:00
foobar
c46199f5b9
Do NOT use c++ comments in c code!!!!!
2002-04-13 00:31:55 +00:00
foobar
8581de0fe2
Fix the build.
...
# Marcus, do you TEST build at all before you commit?!
2002-04-12 22:02:28 +00:00
foobar
067ca4e813
Do NOT use C++ comments in C code.
2002-04-12 21:19:59 +00:00
Wez Furlong
4df5076d2f
fix build with ZE2
2002-04-12 19:26:08 +00:00
Jan Lehnardt
9b09fba139
- MFB (4_2_0)
2002-04-12 16:54:01 +00:00
Marcus Boerger
50d957cd7a
Ini settings for internal encoding and decoding of Unicode and JIS formatted user comments.
...
@- Ini settings for encoding/decoding Unicode/JIS user comments (Marcus)
2002-04-12 16:35:56 +00:00
Frank M. Kromann
7ff43f040f
Removing a unused local variable.
...
Setting the size before returning the value in readgzfile
2002-04-12 16:25:31 +00:00
Marcus Boerger
0f0a5dddf3
-new function php_mb_check_encoding_list
...
-mark module globals as const (thread safety)
2002-04-12 16:17:16 +00:00
Sander Roobol
fa8e2db095
This test should be skipped if(!cgi)
2002-04-12 15:25:54 +00:00
Marcus Boerger
df82b2ec75
-fix mb_detect_order
...
-php_mbstring_parse_encoding_list/array return 0 on any illegal input
2002-04-12 14:24:54 +00:00
Uwe Steinmann
ce00085cdd
- added method DomNode->remove_child()
2002-04-12 13:23:07 +00:00
Uwe Steinmann
53de1218fd
- fixed stupid compile error
2002-04-12 11:47:48 +00:00
Uwe Steinmann
9b0564beb5
- insert_before(): copy node before doing the insert
...
- append_child(): actually do an append child and not and add sibling
- what is called xmlDtd in libxml is actually the class DocumentType
in DOM. The domxml extension used a class DomDtd which is not defined
in the DOM standard. Instead of using DomDtd DomDocumentType is now
used. DomDtd has been renamed to Dtd but has not meaning anymore.
- added more functions
2002-04-12 11:32:23 +00:00
Rasmus Lerdorf
eb43795ccb
This exif test was failing because the \0's in the expected output had
...
disappeared. It may be CVS doing this. I have put the nulls back, but we
may have to mark this as a binary file in th cvswrappers, or rewrite the
test to not output nulls.
2002-04-12 01:07:46 +00:00
Yasuo Ohgaki
0c9182ad71
Update Sablotron version supported.
2002-04-12 00:44:59 +00:00
Marcus Boerger
fffb1a5d21
interpret empty to_encoding as encoding not set what results in current_internal_encoding
2002-04-11 22:52:43 +00:00
Rui Hirokawa
adf58908e4
fixed a bug which causes crash when charset is not set.
2002-04-11 22:27:00 +00:00
Harald Radi
6f22159aa2
fixed type
2002-04-11 20:32:03 +00:00
Jan Lehnardt
49d6f53007
- add quotes. Cought by: Roman Neuhauser <neuhauser@mail.cz>
2002-04-11 17:20:47 +00:00
Yasuo Ohgaki
25db882a77
Fix ZTS build
...
# Please check caller when you add TSRMLS_DC. Especically if it's PHPAPI function...
# find . -name "*.c" | xargs grep php_mail
2002-04-11 13:40:19 +00:00
Wez Furlong
4adb1e58eb
Fix declarations (Thanks Sebastian)
2002-04-11 12:13:17 +00:00
Marcus Boerger
4407312d4f
thread safe
2002-04-11 08:07:22 +00:00
Marcus Boerger
628e639c08
fix warning
2002-04-11 07:26:53 +00:00
Marcus Boerger
42dc682626
fix testproblem
2002-04-11 06:41:55 +00:00
Yasuo Ohgaki
932e33e259
TSRMG => TSRMLS
2002-04-11 05:06:16 +00:00
Wez Furlong
8dd62722c4
fix warning
2002-04-10 23:51:48 +00:00
Wez Furlong
e1d0a14790
Implement stream context and status notification system.
...
Bump the BC for zlib notice to a warning
# See my RFC to php-dev a few days ago
2002-04-10 22:42:32 +00:00
Uwe Steinmann
281b5d96e2
- extension to access a Hyperwave Server based on the official
...
Hypwerwave SDK. The function of this module is similar to the
existing hyperwave extension but the api is very different.
2002-04-10 13:33:59 +00:00
Rui Hirokawa
1f847267e7
changed mbstring to make thread safe.
2002-04-10 12:47:41 +00:00
Sascha Schumann
297ee300de
ws changes
2002-04-10 12:22:36 +00:00
Sascha Schumann
dc56d2d050
Replace all memsets with variable initializations
...
Change flow of code in functions to end in the "positive" branch.
Changes verified using the original php3 dba tests.
2002-04-10 12:16:31 +00:00
Sascha Schumann
1eb8ee6f6d
too quick. full speed back.
2002-04-10 11:12:19 +00:00
Sascha Schumann
1ed150172a
Please test patches which are merged into the release branch.
...
db2 has a standard UNIX API which in turn means that
it returns non-zero in error conditions.
2002-04-10 11:10:17 +00:00
Derick Rethans
a19078870e
- Fix defines
2002-04-10 06:22:12 +00:00
Marcus Boerger
f140a8dd0d
fix exif using vspprintf
2002-04-10 01:18:52 +00:00
jim winstead
f5b7d979c0
Fix bug #15835 .
2002-04-09 20:18:09 +00:00
Stig Bakken
704713caf8
* remove extra end-fold
2002-04-09 17:32:39 +00:00
Mark L. Woodward
5e5bccccaa
Added new features for msession beta 2
2002-04-08 23:07:23 +00:00
foobar
7cafcc1ef5
ws fix
2002-04-08 22:54:06 +00:00
foobar
edead0523b
CPP directives must start on the beginning of line
2002-04-08 22:21:08 +00:00
foobar
e3cc458d25
- Revert that change. Added a warning about this.
2002-04-08 18:43:35 +00:00
foobar
77c058a06a
There's really no point in allowing using the system regex library.
2002-04-08 07:47:17 +00:00
foobar
23a3cc71e3
Using system regex lib seems not to work quite well when compiled with Apache.
2002-04-08 06:45:52 +00:00
Derick Rethans
cbed0567aa
- Fix wrong logic (Thanks to Alan for noticing it)
2002-04-08 06:36:03 +00:00
Yasuo Ohgaki
34625daf18
Remove unneeded conversions from pg_convert.
2002-04-08 04:21:04 +00:00
Yasuo Ohgaki
d023a96cc6
Make it compile with ZTS.
...
# Forgot to test with ZTS
2002-04-08 02:01:45 +00:00
Yasuo Ohgaki
8fab36f99c
Update README
2002-04-08 01:50:06 +00:00
Yasuo Ohgaki
4ac70c6821
Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
...
and pg_delete().
@ Added pg_metadate(), pg_convert(), pg_insert(), pg_select(), pg_update()
@ and pg_delete(). (Yasuo)
2002-04-08 01:37:38 +00:00
Yasuo Ohgaki
7d48177f37
Return proper result.
2002-04-08 00:50:44 +00:00
foobar
7770fd5710
Some ws fixes and general cleanup.
2002-04-08 00:46:23 +00:00
Yasuo Ohgaki
994cdb4b14
Added 2nd parameter for pg_result_status(). PGSQL_STATUS_LONG is for LONG result status.
...
PGSQL_STATUS_STRING is for SQL command name successfully executed for this result.
@ Added 2nd parameter for pg_result_status() to specify return type. (Yasuo)
2002-04-08 00:43:58 +00:00
Marcus Boerger
59f332800f
correcting some more whitespace
...
#hope that's it
2002-04-07 23:30:01 +00:00
foobar
e034d43ccf
Fixed compile failure with ZTS build.
2002-04-07 22:43:17 +00:00
Andi Gutmans
35befd3eb3
- Fix build with Visual Studio .NET. The MySQL team said they'll commit
...
- their fix a long time ago and never did. One day they'll update the
- whole MySQL client library.
2002-04-07 20:49:10 +00:00
Hartmut Holzgraefe
954dbb2d35
fix and regression test for Bug #16473
2002-04-07 19:46:45 +00:00
Marcus Boerger
bba604b3d8
-fix warnings
...
-fix layout
2002-04-07 18:45:30 +00:00
Marcus Boerger
0743669f1c
-fix warnings
2002-04-07 18:09:31 +00:00
Wez Furlong
1f2344104f
fix for #16469
2002-04-07 10:56:30 +00:00
Yasuo Ohgaki
dbe3dfda5f
Nuke waring with ZTS build
2002-04-07 05:21:43 +00:00
Yasuo Ohgaki
0cace44107
Fixed ZTS build
2002-04-07 05:20:16 +00:00
Wez Furlong
62538caa86
Added BC support for old style zlib: wrapper.
...
Added notice when a requested wrapper is not found.
# This BC thing was giving me nightmares.
# It took me 10 minutes to realize I hadn't compiled in zlib support also.
2002-04-06 17:29:39 +00:00
Derick Rethans
d449021900
- Fix zzip_entry_read
2002-04-06 17:28:58 +00:00
Yasuo Ohgaki
179a52b025
Chages for new pg_last_notice()
2002-04-06 06:42:02 +00:00
Yasuo Ohgaki
b2fce9e893
Make pg_last_notice() work as it is designed. It returns last notice message for connection resource specified.
...
Added "pgsql.ignore_notice" ini entry.
Added "pgsql.log_notice" ini entry.
@ Make pg_last_notice() work as it is designed. It returns notice message PostgreSQL connection resource specified.
@ Added "pgsql.ignore_notice" ini entry.
@ Added "pgsql.log_notice" ini entry.
2002-04-06 05:52:52 +00:00
Andrei Zmievski
0141256493
- Fixed a leak in xml_decode().
...
- Fixed it so it's possible to compile as a shared extension.
2002-04-06 03:50:28 +00:00
Yasuo Ohgaki
65ba307319
Use get_active_function_name() for error messages.
2002-04-06 01:01:41 +00:00
Joseph Tate
5ae6b3e17a
Added test suite for domxml extension.
...
#eventually I'll separate all the tests into separate files, but until
#then, I'll commit it so that everyone can use it.
2002-04-05 20:55:37 +00:00
Joseph Tate
7954c7bafe
Added unlink_node alias for consistency
2002-04-05 18:18:23 +00:00
Marcus Boerger
313503aa92
-testing unicode user-comment
2002-04-05 18:05:48 +00:00
Marcus Boerger
8a388954ea
-correct length for ASCII
...
-global encoding variables
#will become ini settings explanation on what to set follows then
2002-04-05 17:59:29 +00:00
Marcus Boerger
1185a30687
include comma separated encoding lists in test
2002-04-05 16:25:05 +00:00
Marcus Boerger
cbb96206be
no space for comma separated encoding lists
2002-04-05 16:24:08 +00:00
Marcus Boerger
b3a96ba509
aligning #
...
#mentioned by derick
2002-04-05 16:02:54 +00:00
Christian Stocker
672586726e
oops. that was an error not detected in shared library mode ...
2002-04-05 15:47:08 +00:00
Christian Stocker
e448122bd5
added domxml_parser(), domxml_parser_add_chunk() and domxml_parser_end().
...
It provides access to the PushParser interface of libxml2.
2002-04-05 15:27:52 +00:00
Stig Bakken
dedf2a4c39
@Add zlib.output_compression_level option (Stig)
2002-04-05 13:07:43 +00:00
Zeev Suraski
385b233040
Fix gzip/bz2 builds for Windows
2002-04-05 11:51:43 +00:00
Yasuo Ohgaki
1abb9cd02c
Add error message from _notice_handler()
...
# Currently, it always logs whennever notice message is
# recieved. I'll change error log optional later.
2002-04-05 07:57:33 +00:00
Yasuo Ohgaki
7f2446e7de
Fix pg_last_notice() double free.
...
# This should be merged
2002-04-05 06:37:26 +00:00
Yasuo Ohgaki
a9452edac7
Add notice message test
...
# Need to figure out why estrduped string is not null terminated
2002-04-05 06:30:18 +00:00
Yasuo Ohgaki
d84f0e5530
Update message
2002-04-05 06:07:46 +00:00
Yasuo Ohgaki
04691a516b
Add bytea field to test table.
...
Use table name variable.
2002-04-05 06:06:21 +00:00
Yasuo Ohgaki
22007a29de
Add real pg_escape_bytea() test.
2002-04-05 06:05:28 +00:00
Yasuo Ohgaki
eb7ed9105a
Fixed way of exporing functions. (Need PHPAPI for Win)
...
Fixed if statement format. ("if () stmt;" should be "if () \n {stmt;}")
Fixed error message so that appropriate function names are
displayed.
2002-04-05 02:13:32 +00:00
Marcus Boerger
d0de28ece4
Unicode is now based on php_mb_convert_encoding if available
...
#currently only ISO-8859-15 is supported as result
#maybe this will become an ini setting
2002-04-05 01:25:53 +00:00
Marcus Boerger
cb51e72c46
new function php_mb_convert_encoding
2002-04-05 01:23:22 +00:00
Marcus Boerger
bc6d302fcf
removed calls to wctomb, wcstombs
...
#leave UNICODE to user
2002-04-04 20:45:53 +00:00
jim winstead
e7d5c0e253
mailparse moved to pear/PECL.
2002-04-04 18:43:59 +00:00
Sander Roobol
cebaafba15
Fixed build with multiple concurrent jobs (make -j)
2002-04-04 18:15:52 +00:00
Yasuo Ohgaki
24b76bba21
Fix tests
2002-04-04 15:25:46 +00:00
foobar
d658b1a8d7
Revert the bogus patch.
2002-04-04 14:33:05 +00:00
Yasuo Ohgaki
68f8029fbb
Added pg_escape_*() test
2002-04-04 13:59:44 +00:00
Yasuo Ohgaki
fafea27a2d
Clean up pg_escape_*()
2002-04-04 13:54:51 +00:00
Christian Stocker
afeda57153
- fixed a lot of memory leaks (by Lukas Schroeder)
...
- get_attribute() returns False instead of empty string, if attribute not found
2002-04-04 12:16:48 +00:00
Yasuo Ohgaki
186823957a
Fixed crash with pg_escape_*()
...
# I'll MFH later.
2002-04-04 10:25:12 +00:00
Daniela Mariaschi
c02a5dcc1d
Fixed sigfault in ibase_close(). Bug #15419 #15992
...
@- Fixed sigfault in ibase_close() if user doesn't free resultset
@ (Bug #15419 , #15992 ) (daniela)
2002-04-04 02:15:47 +00:00
foobar
97ba30ba5c
- OS X support for dynamically loaded extensions. (patch by Marko)
...
# NEWS entry coming up..
2002-04-04 00:24:34 +00:00
Sterling Hughes
7201d8b54e
fix bug #15150 , thanks to daniel at haxx.se for the fix
2002-04-03 23:59:36 +00:00
Derick Rethans
755b8542e4
- Fix as suggested my Marcus
2002-04-03 19:50:02 +00:00
Wez Furlong
fea3b0a7f8
fix TS build
2002-04-03 13:47:21 +00:00
Wez Furlong
27d1f7db16
Tidy up win32 implementation of proc_open.
...
Respect safe_mode_exec_dir.
Implement proc_close and return process return code under win32.
2002-04-03 13:39:35 +00:00
Wez Furlong
74dd73711b
add test for mailparse_extract_part_file
2002-04-03 13:38:43 +00:00
Wez Furlong
a0f165a5cb
main/streams.c
2002-04-02 16:46:33 +00:00
Derick Rethans
b0970a3b27
- Fix layout
2002-04-02 12:54:21 +00:00
Derick Rethans
f71adad3cf
- Whitespace
2002-04-02 06:41:23 +00:00
foobar
8d151063d3
Be a bit more verbose about what was not found.
2002-04-02 00:04:53 +00:00
Kirill Maximov
33ed30fce8
(PHP quoted_printable_decode) Fixed CR/LF processing for Windows/OS2
...
@ Fixed CR/LF processing for Windows/OS2 in quoted_printable_decode (kir)
2002-04-01 17:03:01 +00:00
Derick Rethans
f4447a9cc1
- Fix for bug #14966
2002-04-01 09:19:57 +00:00
Markus Fischer
700b9eb734
- Nuke *FETCH macros.
2002-04-01 08:05:17 +00:00
Marcus Boerger
0fd732214a
#cleanup source
2002-04-01 03:15:57 +00:00
Mark L. Woodward
3828c26a8d
PHP_SESSION_API not always defined.
2002-04-01 01:38:53 +00:00
Markus Fischer
ab2194d1da
- Fix compilation.
...
# Marcus, could you please fix the whitespace in this file?
2002-03-31 23:00:31 +00:00
foobar
6214164d28
Fixed the build issues reported by Stas.
2002-03-31 15:41:24 +00:00
Mark L. Woodward
f83d005d46
Fixed conditional compilation based on macros changed in
...
ext/session/php_session.h which changed.
2002-03-31 05:38:10 +00:00
Yasuo Ohgaki
266692a59a
Print multibyte and SSL support is compiled in libpq or not.
2002-03-31 01:45:22 +00:00
Yasuo Ohgaki
7ff1412432
Print PostgreSQL version number in phpinfo()
2002-03-31 01:18:32 +00:00
Sascha Schumann
3a3acee3c9
- Proper use of underscores (s/createsid/create_sid/)
...
- Bump the API date and remove extra cpp macro
- Pass TSRMLS appropiately to the create_sid function
2002-03-30 16:29:15 +00:00
Marcus Boerger
e4f4386758
-compiler warnings
2002-03-30 14:28:05 +00:00
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
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
Zeev Suraski
8ffc0e192f
Fix a crash bug in the session module
2002-03-02 14:18:45 +00:00
Derick Rethans
6f9c7bcf21
- Fix warning message for join().
2002-03-02 14:06:57 +00:00
Derick Rethans
80ac68cc59
- Fix CREDITS files
2002-03-02 13:44:08 +00:00
Derick Rethans
d5fee0cb0c
- Make GD functions only available if they really exist (Patch by
...
matslin@orakel.ntnu.no )
2002-03-02 12:32:31 +00:00
Yasuo Ohgaki
7ce7a73095
Add mbstring tests
2002-03-02 10:44:57 +00:00
Rasmus Lerdorf
15ba6402bd
Fix a couple of warnings
2002-03-02 08:37:28 +00:00
Yasuo Ohgaki
9981d06217
Improved iconv usage with libc's iconv. No overrun. More efficient memory
...
allocation.
Hopefully, all bugs reported for iconv will be resolved when users are using
libc iconv.
@Improved iconv with libc's iconv
2002-03-02 07:04:59 +00:00
Yasuo Ohgaki
cdedece154
Add more tests for iconv
2002-03-02 07:00:40 +00:00
Derick Rethans
8b5411b938
- Fix for Sun WorkShop 6 update 2 compiler (Bug #15812 )
2002-03-01 16:52:16 +00:00
Derick Rethans
6f6c4ec7c7
- Add support for returning NULL values from Interbase resultsets (Patch by
...
Daniela Mariaschi <mariaschi@libero.it>)
2002-03-01 14:03:10 +00:00
Yasuo Ohgaki
5fa8b2087f
Fix compiler warnings and header file path.
2002-03-01 12:01:53 +00:00
Zeev Suraski
bb685a402f
Fix php_splice() to work with large values
2002-03-01 12:00:05 +00:00
Yasuo Ohgaki
6ecd17100e
Update doc
2002-03-01 11:52:04 +00:00
Marcus Boerger
0857bdbcde
+Support for Photographer/Editor Copyright as associative array as this is a new feature the change (optionally being an array) has to be mentioned in documentation.
...
+New function exif_headername can be used to read the internal Tag namelist (was mainly created for debugging purpose but maybe somone writes code to create/update exif headers here).
+An internal version number is present.
+A testpage is supplied test.txt describes how the test works.
+The oldfunction read_exif_data has got an alias exif_read_data
As the old version of this module is very buggy i decided to implement the testpage (test.txt) and to create the alias. The test script only works with the alias as the old version does not pass tests. By the way it seems a good way to prepend 'exif_' to all functions in the module.
2002-03-01 04:01:26 +00:00
Yasuo Ohgaki
d5412f3952
Fix compiler warnings
2002-03-01 03:31:01 +00:00
Yasuo Ohgaki
82a8d372e5
Added ob_get_status() to get array of buffers and it's status.
...
(DO NOT document this function yet)
Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
buffers that may not be deleted.
php_start_ob_buffer() and php_ob_set_internal_handler() takes parameter for
if the buffer created may be deleted or not.
Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
deleted until script finshes.
Changed ob_*() function that have void return type to bool. All ob_*()
functions return TRUE for success, FALSE for failure.
@ - Added ob_get_status() to get array of buffers and it's status. (Yasuo)
@ - Fixed crash bug with ob_end_*() function. ob_end_*() will not delete
@ buffers that may not be deleted. (Yasuo)
@ - Added 3rd parameter "bool erase" to ob_start(). If FALSE, buffer may not be
@ deleted until script finshes. (Yasuo)
@ - Changed ob_*() function that have void return type to bool. All ob_*()
@ functions return TRUE for success, FALSE for failure. (Yasuo)
2002-03-01 03:05:50 +00:00
foobar
77a9678496
- Fixed a typo. (caught by jtate@php.net)
2002-02-28 23:25:18 +00:00
Rasmus Lerdorf
38b3e061a7
Change fatal errors to warnings - fix bug #15797
2002-02-28 23:08:48 +00:00
Derick Rethans
27c4648010
- Make it a boolean
2002-02-28 16:00:26 +00:00
Brad House
e7084cecd0
Fix proto for mcve_initconn
2002-02-28 14:58:48 +00:00
Marc Boeren
299bd20df4
Updating docs (Mc)
2002-02-28 14:44:27 +00:00
Marcus Boerger
05b13da525
Changed file to match CODING_STANDARDS except function names that match jhead.c project. I think it is acceptable using naming conventions of other projects when borrowing code.
2002-02-28 12:20:17 +00:00
Yasuo Ohgaki
83059ae3de
Use {NULL, NULL, NULL} to terminate function entry.
...
# It does not fix any bugs, since {0} works also.
2002-02-28 12:10:36 +00:00
Sebastian Bergmann
90613d2282
Maintain headers.
2002-02-28 08:29:35 +00:00
Sebastian Bergmann
7d983e5faf
Fix headers.
2002-02-28 06:26:50 +00:00
Yasuo Ohgaki
98861da887
Fix iconv. Patch by (itai@siftology.com)
2002-02-28 03:09:01 +00:00
Marcus Boerger
98ebd1c28b
+Added UNICODE support for Comments
...
+Added Description,Artist
+Added missing memory deallocation
+Corrected error with multiple comments
+Corrected handling of ExifVersion, Tag has 4 ASCII characters *WITHOUT* NUL
+Corrected handling of Thumbnailsize if current source detects size < 0
+Changed all fields to char* that do not have a maximum length in EXIF standard
+Undocumented second Parameter ReadAll frees memory to early -> moved to third position default changed to false -> faster
+New second Parameter [true|false] to specify whether or not to to read thumbnails -> reading is timeconsumpting suppose default should be false -> done so
2002-02-28 01:16:27 +00:00
Brad House
20219b1e24
Initial MCVE extension added (Credit Card Processing)
2002-02-27 19:46:59 +00:00
Andrei Zmievski
313a3602bb
This has been scaring people off.
2002-02-27 17:32:27 +00:00
Derick Rethans
15cadf0c42
- Fix proto
2002-02-27 14:05:39 +00:00
Adam Dickmeiss
7a68b02482
Implemented yaz_schema. Cleanup. 1.8 YAZ required
2002-02-27 12:58:33 +00:00
Dan Kalowsky
a4113ee734
Bug fix 15719 as submited by Joseph Southwell and allows NULL values in ODBC
...
# I haven't been able to fully test this due to MacOSX compliation errors.
# if someone in the QA group could that'd be appriciated.
2002-02-26 15:33:54 +00:00
Edin Kadribasic
0bbc3c3a4c
Allow use of dl() when CLI is compiled with ZTS (bug #15717 ).
2002-02-26 11:00:20 +00:00
Derick Rethans
b5a0fd24a1
- Fix the fix.. no need to escape " in single quotes
2002-02-24 14:07:10 +00:00
Derick Rethans
a4946ca375
- Add slashes around string output
2002-02-24 13:26:43 +00:00
Sebastian Bergmann
dd95705ceb
Make phpinfo() look nicer.
2002-02-24 07:54:04 +00:00
Markus Fischer
b68e5f2ec9
- Fix info output (Peter Neuman <neuman_peter@hotmail.com>).
2002-02-23 22:46:19 +00:00
Rui Hirokawa
8cfa80d082
fixed configure error with freetype1.
2002-02-23 01:36:55 +00:00
Rui Hirokawa
07a08288a1
fixed a comment and default output encoding changed to pass.
2002-02-23 00:04:20 +00:00