Wez Furlong
84f83e8559
Don't assume that objects have class entries (in the ZE1 sense) when
...
determining the class name.
Additionally, don't assume that objects have a properties hash either.
2003-02-01 03:52:31 +00:00
Melvyn Sopacua
f20d394e2d
Require 2.5.6+
...
MFB: Be -ltdl aware
2003-01-31 23:01:36 +00:00
Ilia Alshanetsky
31a3135014
Fixed bug #21986 (openssl test failure).
2003-01-31 22:15:56 +00:00
Marcus Boerger
0629bdb061
Shared dba requires at least db-3.3
2003-01-31 20:06:44 +00:00
Marcus Boerger
037986db20
Fix proto
2003-01-31 19:12:23 +00:00
Frank M. Kromann
b079cc2af5
Rename script.
...
Add check for CLI version
2003-01-31 18:51:28 +00:00
Sascha Schumann
bea6ff5183
Unbreak $Id tag
2003-01-31 16:24:12 +00:00
foobar
e9a132f223
No c++ comments..
2003-01-31 14:18:50 +00:00
Moriyoshi Koizumi
b00cc4f2bb
Fixed a mb_send_mail() bug that has been reported in php-i18n@lists.php.net
...
See http://lists.php.net/article.php?group=php.i18n&article=427
2003-01-31 14:15:49 +00:00
Sara Golemon
81797baed4
Add ftp_raw() to send raw command strings to an FTP server.
2003-01-31 04:54:57 +00:00
Frank M. Kromann
ff605d071f
Use platform specific extension.
2003-01-31 03:45:13 +00:00
Frank M. Kromann
04abd3af69
Dtandard visual studio project for ext_skel
2003-01-31 03:44:55 +00:00
Frank M. Kromann
941dc7260d
Wrapper script to use ext_skel on Win32
2003-01-31 03:44:20 +00:00
Ilia Alshanetsky
242a9a47c7
Fix compiler warning.
2003-01-30 22:37:50 +00:00
Marcus Boerger
302f97abbc
Revert this part, the new one adds more problems than it solves.
2003-01-30 21:36:05 +00:00
Sara Golemon
65146ceb26
Unify str_replace and str_ireplace using INTERNAL_FUNCTION_PARAM_PASSTHRU -- reduce codebase/maintenance complexity
2003-01-30 20:09:19 +00:00
foobar
21803056b5
fix bug: #21945 (zts build failed)
2003-01-30 19:30:13 +00:00
Marcus Boerger
f2ff4678cd
Allow to link against chosen modules correctly
2003-01-30 18:28:42 +00:00
Sara Golemon
37ff98978b
Feature Request # 5919 - Addition of str_ireplace()
...
Also removed deprecated BM str replace menthod
Also rewrote php_str_to_str to use more processor/memory efficient method (ilia)
2003-01-30 05:00:41 +00:00
Ilia Alshanetsky
453368afdf
Removed pointless checks.
2003-01-30 02:33:16 +00:00
Ilia Alshanetsky
ebf13bc940
Added sanity checks.
2003-01-29 19:33:38 +00:00
Maxim Maletsky
808cb3ad74
Added myself to the maintainers list.
2003-01-29 18:31:48 +00:00
Edin Kadribasic
ca0b63e420
Enable embedded code using sapi/embed to use dl().
2003-01-29 15:39:10 +00:00
Harald Radi
f8e014b228
MFPHP_4_3
2003-01-29 00:49:09 +00:00
Ilia Alshanetsky
e6170c0b30
Added part of strpos commit that never made it in for some reason.
...
# Thanks Pollita.
2003-01-29 00:07:01 +00:00
foobar
41d6e9af8d
Fix configure. (typo?)
2003-01-28 10:55:36 +00:00
foobar
68ffe71a12
fix some typos
2003-01-28 06:56:32 +00:00
foobar
c96fe825b8
fix typo
2003-01-28 06:52:09 +00:00
Marcus Boerger
1ab64d2b96
- fix this: els is optional but may not be empty
2003-01-28 06:27:01 +00:00
Frank M. Kromann
0e38fedcd7
Fix the setting of computer name and processor type for php_uname() on Win32
2003-01-28 05:02:12 +00:00
Ilia Alshanetsky
2d0f432490
Added scandir() function, which allows quick retrieval of all files &
...
directories within the specified path and sort the output in alphabetical
or reverse alphabetical order.
2003-01-28 01:48:57 +00:00
foobar
946032f40b
- Cleaned up and made less error-prone
...
- Changed --enable-mime-magic -> --with-mime-magic[=FILE] to allow
specifying of the file during configure.
2003-01-28 01:00:15 +00:00
Marcus Boerger
2b5a5ca669
- fix "--without-flatfile"
...
- simplify Berkley DB verison check
2003-01-28 00:10:05 +00:00
Maxim Maletsky
e4ec7372e9
This fixes "warning C4101: 'charsetid' : unreferenced local variable" on VC6
2003-01-27 20:05:48 +00:00
Maxim Maletsky
897a708c87
@- Fixed bug #17448 (Print the message when OCI_SUCCESS_WITH_INFO is returned).
...
(Maxim)
2003-01-27 19:52:11 +00:00
Sara Golemon
d0cb097c52
Fix potential buffer overflow.
2003-01-27 19:51:50 +00:00
Edin Kadribasic
c7441b2379
Fixed bug #21597 (made glob() understand windows paths)
2003-01-27 16:29:47 +00:00
Uwe Steinmann
c375b0b05c
- fixed several bugs in hw_document_xx() functions. The macro to access
...
the document was the same as for a link to the sever.
2003-01-27 09:11:17 +00:00
Sara Golemon
761fa96412
Feature Request #21748 . Added function ftp_chmod().
2003-01-27 02:54:12 +00:00
Sander Roobol
e9d0a58cb0
Fix build
2003-01-26 09:13:31 +00:00
Sara Golemon
3ad9839f2f
Feature Request #21784 Added: imagecolorallocatealpha (pollita@php.net,jasper@pointless.net)
2003-01-26 01:15:02 +00:00
Marcus Boerger
564788b6f5
The builtin version was always used even if configured otherwise.
2003-01-25 19:46:58 +00:00
Ilia Alshanetsky
ef021e8964
Removed unneeded code.
2003-01-25 18:55:07 +00:00
Hartmut Holzgraefe
974ff24e80
- mime file parser messages only with mime_magic.debug=On (default: off)
...
- fix docref URL in startup error messages
- show status in php info, either "enabled" or "..., disabled"
2003-01-25 16:25:37 +00:00
Hartmut Holzgraefe
6a4a858294
preparations for making magic file parser silent
2003-01-25 13:33:29 +00:00
Hartmut Holzgraefe
f95759b36a
suggesting a plain magic file insteat of a mime one is a bad idea
2003-01-25 10:51:04 +00:00
Ilia Alshanetsky
efae1b9ace
Fixed a typo.
2003-01-25 00:25:32 +00:00
Ilia Alshanetsky
758ea308a9
Fixed compiler warning.
2003-01-25 00:23:03 +00:00
Sascha Schumann
330740f7cd
Remove ugly netware hacks from the code
2003-01-24 23:57:32 +00:00
Ilia Alshanetsky
e10f20924e
Removed unnecessary checks.
2003-01-24 22:58:46 +00:00
Dan Kalowsky
b48d709746
Patch for bug #21844
2003-01-24 22:40:38 +00:00
Ilia Alshanetsky
383171b11b
Fixed bug #21533 (a rare condition where error can remain undefined and
...
result in undefined behavior when it is used without being initialized).
2003-01-24 19:23:53 +00:00
Ilia Alshanetsky
417ba55c1f
Fixed bug #21865 .
2003-01-24 19:15:54 +00:00
foobar
142da0ed58
Fix bug #21795 , Undeclared statement in oci8.c (OCI_ATTR_STATEMENT)
2003-01-24 17:51:19 +00:00
Ilia Alshanetsky
6efe008598
Fixed compile warning.
2003-01-24 16:45:34 +00:00
Ilia Alshanetsky
d2162b32b1
Fixed compile warning.
2003-01-24 16:39:49 +00:00
Ilia Alshanetsky
f163a4d16b
Fixed a memory leak.
...
zend_error -> php_error_docref.
2003-01-24 16:34:20 +00:00
Ilia Alshanetsky
38ad0e9104
zend_error -> php_error_docref.
2003-01-24 16:29:40 +00:00
Ilia Alshanetsky
95bfbfe1c1
Fixed compile warning.
2003-01-24 16:23:11 +00:00
Andrey Hristov
600fce5890
Resolving problem on OSF1 and probably other
...
64 bit platforms. Thanks for the feedback of Magnus (novell kiruna se).
2003-01-24 13:18:08 +00:00
Andrey Hristov
1d0214bee4
Adding cast.
2003-01-24 12:19:59 +00:00
foobar
4dfc7cc87c
- Fixed stupid typo..
...
# I will test before commit, I will test before commit...
2003-01-24 10:12:55 +00:00
foobar
e771bdb23d
Fixed bug: #20857 , snmpset() fails
2003-01-24 09:52:46 +00:00
foobar
45f1f1711d
ws fixes
2003-01-24 09:40:53 +00:00
Ilia Alshanetsky
4fde1b8de1
zend_error() -> php_error_docref().
2003-01-24 05:21:08 +00:00
Moriyoshi Koizumi
cfbd0bb58a
Really fixed the mb issue of mb_ereg_replace()
...
# my previous patch is somewhat wrong
2003-01-23 20:38:44 +00:00
Moriyoshi Koizumi
3e7b832895
Fixed a mb_ereg_replace() bug; the function was not completely multibyte-safe.
2003-01-23 20:07:39 +00:00
Moriyoshi Koizumi
8dfb2df649
Renamed the test name as per the convension
2003-01-23 19:21:51 +00:00
Moriyoshi Koizumi
6fc22aa5d9
Test name formatting
2003-01-23 19:07:25 +00:00
Moriyoshi Koizumi
7abc6e4338
Made the test's name more descriptive
2003-01-23 19:00:06 +00:00
Moriyoshi Koizumi
0344311bde
Removed pointless checks
2003-01-23 18:48:43 +00:00
Moriyoshi Koizumi
24ae309037
Added test case for bug #21732
2003-01-23 18:22:55 +00:00
foobar
e1c985d9a7
Fix bug: #21817 (only enable this if --with-kerberos is used)
2003-01-23 16:29:49 +00:00
foobar
04eca7536c
MFB
2003-01-23 06:23:08 +00:00
foobar
895a3a109f
Correct default path
2003-01-23 05:33:11 +00:00
Ilia Alshanetsky
6bf2ce3429
Removed non-needed code.
2003-01-22 22:07:22 +00:00
Anil Madhavapeddy
dea44dfc9a
typo
2003-01-22 20:41:28 +00:00
Frank M. Kromann
66ee5dfac2
adding missing zlib.lib and path to bindlib
2003-01-22 20:13:11 +00:00
Ilia Alshanetsky
d24148f3d0
Fixed a crash when invalid color is passed to imagepstext().
2003-01-22 19:53:29 +00:00
Moriyoshi Koizumi
812a419019
Oops! wrong patch. Reverted.
2003-01-21 22:09:09 +00:00
Moriyoshi Koizumi
ce5df6d949
Fixed mb_ereg_replace() bug (the function has ignored the default option)
2003-01-21 22:03:29 +00:00
Moriyoshi Koizumi
9a723fcb4e
Fixed mb_ereg_search() segfault that occurs when the function is called
...
before a string to be searched is passed by mb_ereg_search_init()
2003-01-21 19:31:07 +00:00
Andrey Hristov
bd55130077
increasing readability.
2003-01-21 17:37:59 +00:00
Ilia Alshanetsky
dc150fd2ea
getParameters -> zend_get_parameters_ex.
2003-01-21 15:27:39 +00:00
Ilia Alshanetsky
8a9e09a44a
ARG_COUNT(ht) -> ZEND_NUM_ARGS().
2003-01-21 14:56:40 +00:00
Pierre Joye
9ad850637e
Remove the (c), in the future, can we add PHP Licence terms for the new
...
functions ?
2003-01-21 02:10:19 +00:00
Pierre Joye
81c68ab8d5
Add credits to my functions (thx for the advice Wez&Ilia :)
2003-01-21 01:49:34 +00:00
Ilia Alshanetsky
053023a71e
quota function fixes. Thanks Wez.
2003-01-20 21:28:09 +00:00
Ilia Alshanetsky
20925f97b9
Changed php_error to php_error_docref.
...
Removed pointless memory allocation checks.
Memory leak fix inside quota functions.
2003-01-20 19:41:58 +00:00
Moriyoshi Koizumi
e3e364f77b
Fixed bug #21758
2003-01-20 16:45:21 +00:00
Ilia Alshanetsky
aa8b1d6db3
Restore php_error -> php_error_docref patch.
2003-01-20 16:15:18 +00:00
Derick Rethans
f1ba2137c0
- Add credits for Magnus
2003-01-20 12:34:07 +00:00
foobar
f6cee90129
Add test for png.h
2003-01-20 10:39:29 +00:00
Mark L. Woodward
7eeea7e55d
Updated for Msession 1.2.
...
Includes new APIs
2003-01-20 03:16:24 +00:00
Ilia Alshanetsky
2292a652a6
ZTS fix.
2003-01-19 23:32:22 +00:00
Moriyoshi Koizumi
dfbfa1a36f
Improved the patched part to prevent further potential bugs
2003-01-19 17:23:48 +00:00
Ilia Alshanetsky
2efab7a22a
fixed typos
2003-01-19 15:01:34 +00:00
Harald Radi
b51b6f0fbf
ini patch to allow 'entry[] = value' entries
2003-01-19 12:18:46 +00:00
Moriyoshi Koizumi
a1e6457561
Fixed bug #21744(21741)
...
Added test case for the bug
2003-01-19 11:32:54 +00:00
Ilia Alshanetsky
1fe4990bc0
ZTS fixes.
2003-01-19 08:32:26 +00:00
Ilia Alshanetsky
2500199ae3
ZTS fixes.
2003-01-19 04:09:32 +00:00
Ilia Alshanetsky
fec2af82b8
Changed php_error to php_error_docref.
...
Make mcal compile with ZE2.
2003-01-19 00:47:03 +00:00
Ilia Alshanetsky
3d8e54f3a2
Changed php_error to php_error_docref.
2003-01-19 00:45:53 +00:00
Derick Rethans
add3ec4e0b
s/4.4/5.0
2003-01-18 22:33:56 +00:00
Ilia Alshanetsky
aebb39b014
Changed php_error to php_error_docref.
...
Thanks to Marcus Börger for writing a script that significantly simplifies
this process.
2003-01-18 21:31:11 +00:00
Ilia Alshanetsky
b2ecf47755
Fixed bug #21732 (Added a sanity check, that prevents parameter mismatch).
2003-01-18 20:48:52 +00:00
Ilia Alshanetsky
984c0918ab
Removed pointless memory allocation checks.
2003-01-18 20:10:23 +00:00
Ilia Alshanetsky
71e9f8cdd5
Removed pointless memory allocation checks.
2003-01-18 20:01:46 +00:00
Ilia Alshanetsky
60af5507a5
Changed php_error to php_error_docref.
2003-01-18 19:57:25 +00:00
Ilia Alshanetsky
1ae3c0e66e
Removed pointless memory allocation checks.
...
Changed php_error to php_error_docref.
2003-01-18 19:53:35 +00:00
Ilia Alshanetsky
7cc28802af
Changed php_error to php_error_docref.
2003-01-18 19:51:21 +00:00
Ilia Alshanetsky
a7b91019e9
Removed pointless memory allocation checks.
2003-01-18 19:49:28 +00:00
Ilia Alshanetsky
e2868b5788
Removed pointless memory allocation checks.
2003-01-18 19:41:56 +00:00
Ilia Alshanetsky
72b356c1bc
Removed pointless memory allocation checks.
2003-01-18 19:28:10 +00:00
Moriyoshi Koizumi
94c25df592
WS
2003-01-18 19:26:01 +00:00
Ilia Alshanetsky
b566ad5d1b
Changed php_error to php_error_docref.
2003-01-18 19:20:02 +00:00
Marcus Boerger
9d02c2bd56
correct my fault here and documnet the sense of the test
2003-01-18 19:06:29 +00:00
Moriyoshi Koizumi
310397f2ee
Fixed typo
2003-01-18 19:02:21 +00:00
Moriyoshi Koizumi
2aa7bf8d8b
Added test case for bug #21730
2003-01-18 18:59:27 +00:00
Ilia Alshanetsky
a3daf3bbe8
Additional memory allocation fixes by Marcus Börger.
2003-01-18 18:51:12 +00:00
Moriyoshi Koizumi
e23fead99f
Tons of WS fixes
2003-01-18 18:49:47 +00:00
Ilia Alshanetsky
e0654de590
Removed the no longer needed memory allocation checks.
2003-01-18 18:32:19 +00:00
Moriyoshi Koizumi
21b4499953
Fixed bug #21726 and #21730
2003-01-18 18:31:13 +00:00
Andrey Hristov
309ef518fc
Renamed get_memory_usage() to memory_get_usage() (per Andi's advice)
...
This doesn't break any BC.
2003-01-18 15:03:01 +00:00
Wez Furlong
7002a39f97
Fix potential problem for 64-bit architectures.
2003-01-18 14:10:22 +00:00
Derick Rethans
39aa3a5d98
- Fixed memleak in fscanf().
2003-01-18 13:55:58 +00:00
Derick Rethans
a50e9acd8e
- Skip test if the function to test is not available
...
#- Perhaps we need some infrastructure for this...
2003-01-18 13:53:25 +00:00
foobar
83e9f23182
Fix bug: #21687 , imap extension does not include gss authentication mechanism
2003-01-18 07:00:47 +00:00
Ilia Alshanetsky
054826b192
Added missing test result.
2003-01-17 23:57:43 +00:00
Ilia Alshanetsky
833473d1de
Removed pointless checks of array_init() return value.
2003-01-17 21:37:56 +00:00
Moriyoshi Koizumi
f71ef5e091
Fixed a quoted printable decoder so that it would conform to RFC2045.
2003-01-17 20:00:31 +00:00
Andrey Hristov
6c843d1431
Moved to C style comments.
...
Last time forgot to convert the header files.
2003-01-17 19:35:13 +00:00
Marcus Boerger
973c5fa1ec
fix jp2 detection and add testfile
2003-01-17 18:51:30 +00:00
Ilia Alshanetsky
169eb85e0a
Syncronize bundled GD library with latest GD (2.0.11).
2003-01-17 18:34:07 +00:00
Derick Rethans
cce2ffed8a
- Fixed a bug that made that no newline was displayed when there was no value
...
for a row.
2003-01-17 18:07:10 +00:00
Andrey Hristov
7dd7b03aa8
Removed pointless checks around array_init().
2003-01-17 16:33:01 +00:00
Ilia Alshanetsky
fb6517e8ab
Fixed memory leaks in imap_get_quota & imap_get_quotaroot.
...
Removed pointless checks around array_init().
2003-01-17 16:07:39 +00:00
Moriyoshi Koizumi
f94cbfe52b
Significant speed enhancements. I was underestimating the power of recent
...
CPUs :)
2003-01-17 09:04:02 +00:00
Harald Radi
77f7ae3814
revert previous commit
2003-01-16 22:08:00 +00:00
Harald Radi
76adb58b7a
unbreak the build
2003-01-16 21:52:06 +00:00
Ilia Alshanetsky
41092dbd8a
Fixed bug #21651 (crash in pdf_open_memory_image() when inserting a
...
non truecolor image).
2003-01-16 21:18:49 +00:00
Moriyoshi Koizumi
93481ce9b8
Finally fixed a qp encoder bug that line break characters that appear exactly
...
at the end of the chunk lost in the output.
# I bet no more problems will occur in quoted-printable encoder.
# But I recognised the counterpart is still buggy due to RFC2045-incompliance.
2003-01-16 20:59:07 +00:00
Marcus Boerger
1dabcd4dad
- JPEG 2000 support
2003-01-16 19:46:12 +00:00
Marcus Boerger
8958762de6
- corrected error in file detection for very small files
...
- JPEG 2000 support, mostly Adam Wright <adam@elysium.ltd.uk>
@Enhanced jpeg 2000 support for GetImageSize(). (marcus, Adam Wright)
2003-01-16 19:45:26 +00:00
Harald Radi
b1613e16f2
change library name
2003-01-16 18:53:45 +00:00
Harald Radi
f390fbb92a
update skeleton
2003-01-16 18:46:59 +00:00
Harald Radi
5aae306f96
for those who prefer to have com as a shared lib
2003-01-16 18:15:44 +00:00
Harald Radi
7f127a22df
make layers loadable as self-sustaining php extension
...
which registeres itself in the rpc framework.
2003-01-16 17:49:22 +00:00
Dan Kalowsky
dacf98c86f
typo corrected
2003-01-16 16:42:25 +00:00
Dan Kalowsky
ae8f64e325
Adding in test ability for WIndows to fetch_objects
2003-01-16 16:27:31 +00:00
Edin Kadribasic
d4e143b8be
Fixed bug #21648
2003-01-16 13:19:50 +00:00
Sascha Schumann
db8b4c6762
Add INI setting session.hash_bits_per_character which enables developers
...
to choose how session ids are represented, regardless of the hash algorithm.
2003-01-16 07:21:49 +00:00
Ilia Alshanetsky
4e53357e9b
Fixed bug #20079 (made ora_logoff return TRUE on success).
2003-01-16 02:53:44 +00:00
Ilia Alshanetsky
1351f42efc
More build fixes.
2003-01-15 19:36:13 +00:00
Wez Furlong
a3a2dcd8a9
Relieve scripts of the burden of ensuring that all pipes are closed prior
...
to calling proc_close().
Implement proc_get_status(resource $process) which returns an array of
information about a process created with proc_open().
The information includes:
array(
"command" => string "name of the command",
"pid" => long process identifier,
"running" => bool true if the process is still running
"exitcode" => long exitcode if the process exited
"signaled" => bool true if the process was signaled
"termsig" => long signal number if signaled
"stopped" => bool true if the process is stopped
"stopsig" => long signal number if stopped
);
2003-01-15 18:54:03 +00:00
Ilia Alshanetsky
d4f73f8da6
Fixed a typo.
2003-01-15 17:22:03 +00:00
Wez Furlong
1a314027d3
- Move proc_open code to a source file of it's own.
...
- Tidy up that netware mess by performing a configure check which will
define the symbol PHP_CAN_SUPPORT_PROC_OPEN if PHP can support proc_open.
- Protected the proc_open specific code with #ifdef PHP_CAN_SUPPORT_PROC_OPEN
so that user-space scripts can use function_exists and react accordingly.
** Heads Up Win32: You need to add ext/standard/proc_open.c to the DSP and
** #define PHP_CAN_SUPPORT_PROC_OPEN in the w32 config header.
2003-01-15 16:29:00 +00:00
Ilia Alshanetsky
ea0f37fc76
Build fixes.
2003-01-15 15:36:28 +00:00
Moriyoshi Koizumi
fdf0768d4e
Fixed a qp encoder bug that the constructor sometimes fails if
...
line-breaking mode is off.
2003-01-15 15:05:17 +00:00
Ilia Alshanetsky
475125ac25
Typo fixes.
2003-01-15 14:05:41 +00:00
Ilia Alshanetsky
f704ac13a8
Fixed typo.
2003-01-15 14:02:11 +00:00
Ilia Alshanetsky
2b121d0b37
Various corrections.
2003-01-15 13:55:34 +00:00
Ilia Alshanetsky
dbe5972a0d
Fixed typos.
2003-01-15 13:50:54 +00:00
Ilia Alshanetsky
e0e77d7d02
Typo corrections.
2003-01-15 13:48:07 +00:00
Yasuo Ohgaki
345ada81c8
Fixed proto
2003-01-15 10:21:15 +00:00
Adam Dickmeiss
f8b55fabc5
Fix functions comments (connection resource rather than connection id).
...
New functions yaz_set_option and yaz_get_option.
Cleanup in yaz_connect.
2003-01-15 08:00:44 +00:00
Adam Dickmeiss
701ab27de7
Fix lib config for the case where YAZ depends on multiple libraries
2003-01-15 07:57:52 +00:00
Ilia Alshanetsky
fc9282c183
Kill compile warning.
2003-01-15 03:37:11 +00:00
Ilia Alshanetsky
299614ae16
Newer parameter parsing API.
2003-01-15 03:01:17 +00:00
Ilia Alshanetsky
a354531144
Getting rid of the old API parsing code.
2003-01-15 02:54:54 +00:00
Ilia Alshanetsky
c2d66fa8bf
Changed php_error to php_error_docref.
...
Made use of the more recent parameter parsing API, zend_get_parameters*.
2003-01-15 02:49:38 +00:00
Ilia Alshanetsky
ad42fba9fa
Removed pointless checks around array_init() & ZE memory allocation macros.
...
Changed php_error to php_error_docref.
Dropped getParam* parameter parsing API in favor of zend_get_parameters*.
2003-01-15 02:31:16 +00:00
Ilia Alshanetsky
a63b47cae0
This patch allows cpdf to be compiled in conjunction with ncurses, which was
...
not possible before due to conflicting defines.
2003-01-15 00:52:06 +00:00
Ilia Alshanetsky
e37aee1a34
Porting of patch applied to ext/xmlrpc.
2003-01-14 21:04:47 +00:00
Ilia Alshanetsky
a0b3f822f7
Made the code use php_error_docref().
...
Removed pointless checks around array_init() and emalloc().
Switched to zend_get_parameters_ex() argument parsing API.
2003-01-14 21:02:14 +00:00
Andrey Hristov
05ff5da32b
Migrated to C style comments.
2003-01-14 20:24:40 +00:00
Ilia Alshanetsky
74e34d1657
Changed getParameters() to zend_get_parameters_ex().
2003-01-14 20:07:52 +00:00
Ilia Alshanetsky
1dbf11e1ba
Fixed compile warnings.
2003-01-14 20:05:38 +00:00
Ilia Alshanetsky
f12a4164a5
One more typo.
2003-01-14 20:02:42 +00:00
Ilia Alshanetsky
44c8927daf
Fixed typos.
2003-01-14 19:59:48 +00:00
Moriyoshi Koizumi
3ae7d13bc9
Appended my name to the list of authors
2003-01-14 19:26:00 +00:00
Moriyoshi Koizumi
ac66d4481e
Test update for new feature
2003-01-14 19:25:10 +00:00
Ilia Alshanetsky
cd267a3df4
Switched from old getParse* argument parsing API to a more recent
...
zend_get_parameters*.
2003-01-14 18:54:44 +00:00
Andrey Hristov
7866f02260
added function get_memory_usage(). available only when PHP is compiled
...
with --enable-memory-limit
2003-01-14 18:26:47 +00:00
Ilia Alshanetsky
62f7e27141
Fixed compile warning & removed useless variable.
2003-01-14 17:45:31 +00:00
Ilia Alshanetsky
7d14dae0bb
Changed php_error to php_error_docref.
...
Got rid off the ancient getParameters* parameter parsing API.
2003-01-14 17:44:56 +00:00
Moriyoshi Koizumi
e5c5412777
Added a new option "force-encode-first" to the quoted-printable encoder
...
as per Wez's request. If enabled, the encoder forcefully does qp
tranformation on every first character of lines in incoming stream.
2003-01-14 16:42:18 +00:00
Ilia Alshanetsky
4bc247553a
Changed php_error() to php_error_docref().
...
Made pdfdoc retrieval a macro.
2003-01-14 15:15:53 +00:00
Moriyoshi Koizumi
bde6801add
Made php_quot_print_decode() RFC2045-compliant
...
# this function is only used in iconv extension and the corresponding
# userland function doesn't use it, so I don't see any BC issue here.
2003-01-14 15:14:11 +00:00
Edin Kadribasic
45e9f594bb
MFB: bind_textdomain_codeset() availability on windows
2003-01-14 14:46:33 +00:00
Ilia Alshanetsky
6fb507b53e
Changed php_error to php_error_docref().
...
Removed pointless checks around array_init().
2003-01-14 02:39:10 +00:00
Moriyoshi Koizumi
a0be48c109
Fixed small memory leak that occurs when the invalid line length is passed
...
to the qprint ctor.
2003-01-14 01:27:57 +00:00
Moriyoshi Koizumi
121e625977
Fixed quoted-printable encoder so that it produces RFC2045 complicant
...
output. As per this specification requirement, the constructor now accepts
three options: binary (boolean), line-len (uint), line-break-chars (string).
2003-01-14 01:23:35 +00:00
foobar
cabee3635f
Fixed bug: #21543 , Informix version detection fails
2003-01-13 23:31:13 +00:00
Frank M. Kromann
d07dc0fc4c
false should be VT_FALSE
2003-01-13 19:33:10 +00:00
Andrey Hristov
1cdc956637
added array_combine().
...
Creates an array by using the elements of the first parameter as keys and
the elements of the second as correspoding keys. Error is thrown in case
the arrays has different number of elements. Number of elements 0 is not
valid for both parameters.
2003-01-13 18:12:23 +00:00
Andrey Hristov
ffeb57afb5
Modifying TS build.
...
Migrating to _ex API for hash traversal.
2003-01-13 16:39:16 +00:00
Edin Kadribasic
f09be34dd3
Adjust paths to the new location java.dsp
2003-01-13 15:15:24 +00:00
Edin Kadribasic
8dbbddfb54
Fix ZTS build here too.
...
#
# What is the correct location of XMLRPC extension?
# Can the reduntand one be removed then and the build system fixed
# to acommodate that.
2003-01-13 13:39:29 +00:00
Edin Kadribasic
8ef5a3d48e
Fixed ZTS build.
2003-01-13 13:36:23 +00:00
Moriyoshi Koizumi
78f527e2b7
Fixed a silly segfault bug caused by lack of strict type checking
2003-01-13 11:00:22 +00:00
Moriyoshi Koizumi
ab71e2cbaa
. Implemented a common filter parameter parsing function.
...
# For example "base64-encode.line-break-chars=--,base64-decode.blah=foobar"
# will be parsed and splitted into a zval array as
# array(2) {
# ["base64-encode"]=>
# array(1) {
# ["line-break-chars"]=>
# string(2) "--"
# }
# ["base64-decode"]=>
# array(1) {
# ["blah"] =>
# string(6) "foobar"
# }
# }
. Added automatic line-breaking feature for base64 encode filter. This
can be turned on by putting a option entry "base64-encode.line-length"
to the filter parameters.
2003-01-13 10:21:40 +00:00
Derick Rethans
2cbcb743d8
- Fix ZTS build
2003-01-13 08:19:50 +00:00
Moriyoshi Koizumi
1fec8e3d13
Fixed a bug of the base64 decoder that a sequence of intervening
...
characters that are supposed to be ignored by the decoder cause output
corruption.
2003-01-12 21:05:22 +00:00
Stanislav Malyshev
98175957a7
ZE2 compatibility
2003-01-12 18:42:16 +00:00
Sebastian Bergmann
f37cb1c617
ZTS fixes.
2003-01-12 14:47:18 +00:00
Stanislav Malyshev
a7e14749e7
Disable ZE2-incompatible parts
...
# This should be rewritten for ZE2 anyway...
2003-01-12 14:43:04 +00:00
Stanislav Malyshev
bcc1e5a74e
remove unneeded var
2003-01-12 13:50:17 +00:00
Moriyoshi Koizumi
a88173bf86
Fixed infinite loop bug when an invalid quoted-printable escape sequence
...
appears in the streem.
2003-01-12 13:46:11 +00:00
Moriyoshi Koizumi
b1e8631986
Fixed error msg format so it correctly reports the actual filter name
2003-01-12 13:41:35 +00:00
Sascha Schumann
f2f1f94e36
add INI setting session.hash_function
...
add support for creating session ids using SHA-1
source more entropy for session ids
2003-01-12 13:07:14 +00:00
Sascha Schumann
0b8401bf27
handle ERANGE from strtol properly
2003-01-12 13:05:32 +00:00
Moriyoshi Koizumi
aa41ab285a
. Updated quoted-printable filter by a neater implementation.
...
. Changed emalloc family functions to pemalloc ones for persistent filters.
. Changed base64 and quoted-printable filter names to "convert.base64-encode",
"convert.base64-decode", "convert.quoted-printable-encode", and
"convert.quoted-printable-decode" respectively for the consistency that
may be requested later.
2003-01-12 12:48:13 +00:00
Sebastian Bergmann
17c1518792
Patch by Giuseppe Tanzilli <g.tanzilli@gruppocsf.com>.
2003-01-12 08:03:18 +00:00
Frank M. Kromann
874cddd4ae
Release skiped results. This will free memory on the server.
...
Make mssql_execute work for stored procedures with and without returning result sets
2003-01-12 06:28:41 +00:00
Ilia Alshanetsky
c4088ce25b
Do not 'convert' double columns to integers after the 1st row in the result
...
set.
2003-01-11 23:50:37 +00:00
Ilia Alshanetsky
48f2ad4703
Fixed handling of NUMERIC type, when it contains numbers that could
...
potentially exceed the interger limit.
2003-01-11 23:06:35 +00:00
Moriyoshi Koizumi
7fa0970567
Reverted because correct decision has not been made yet.
2003-01-11 23:05:19 +00:00
Moriyoshi Koizumi
b66b92e996
Reduced warnings in ZE2 build
2003-01-11 22:32:19 +00:00
Moriyoshi Koizumi
dd2ad168e1
Reduced compiler warnings in ZE2 build
2003-01-11 22:17:37 +00:00
Andrey Hristov
cd2ce96e03
reverting
2003-01-11 19:37:23 +00:00
Ilia Alshanetsky
8facc65202
Added stripos() & strripos() functions.
...
Added 3rd parameter (offset) to strrpos().
2003-01-11 17:52:38 +00:00
Derick Rethans
6b7eaaa2c4
- Moving java and dotnet extensions to ext/rpc
2003-01-11 12:23:45 +00:00
Sebastian Bergmann
213b5abd06
Add missing ,.
2003-01-11 09:51:53 +00:00
Harald Radi
656ccddfce
fix build
2003-01-11 08:59:37 +00:00
Harald Radi
5fc6842817
this is now implemented by the engine itself
2003-01-10 23:40:12 +00:00
Harald Radi
fff34aa3be
ext/com is not compatible with ZE2, the ZE2 version is located in
...
ext/rpc/com
2003-01-10 23:39:09 +00:00
Frank M. Kromann
16cda12728
Fixing copy and paste errors
2003-01-10 19:33:31 +00:00
Frank M. Kromann
c2e7158712
Avoid warnings when running stored procedures returning multiple results
...
before setting output and return values.
Additional results can be skipped by the optional parameter to mssql_execute
2003-01-10 19:23:36 +00:00
Christian Stocker
9234916fc8
Throw error if object is not a XML_DOCUMENT_NODE in domxml_dump_node()
2003-01-10 18:07:36 +00:00
Andrey Hristov
53656f196b
skipping unneeded copy
2003-01-10 17:39:10 +00:00
Wez Furlong
cf9f784ecd
Fix the number format fix when the number of decimal places is 0.
...
# Thanks to Edin for his telepathy!
2003-01-10 13:32:24 +00:00
Derick Rethans
0988bc2ee6
- Fixed bug #20155 : xmlrpc compile problem with zendengine2 (Path by Jan
...
Schneider)
@- Fixed bug #20155 : xmlrpc compile problem with zendengine2 (Derick, Jan
@ Schneider)
2003-01-10 08:24:55 +00:00
Moriyoshi Koizumi
380928e6bf
Reduced compiler warnings
2003-01-10 04:44:21 +00:00
Moriyoshi Koizumi
7ecd3ff91a
Reduced compiler warnings
2003-01-10 04:37:26 +00:00
Moriyoshi Koizumi
6a1d69d4ba
Added missing cast operators
2003-01-10 04:32:25 +00:00
Ilia Alshanetsky
dee2d7fed7
Fixed ImageRotate when rotation angle is 90 degrees, patch by
...
leon@leonatkinson.com .
2003-01-10 02:00:39 +00:00
Ilia Alshanetsky
5413a66cbb
CS fixes
2003-01-09 23:23:32 +00:00
Ilia Alshanetsky
3e5bbba351
Fixed a memory corruption that occurs when an unterminated " is encountered
...
this bug maybe be related to #21556 .
2003-01-09 22:49:18 +00:00
Frank M. Kromann
8e0535bcd5
Adding extended checks for where FreeTDS is installed
2003-01-09 22:35:16 +00:00
Sara Golemon
4d789b593f
Bug #21531 file_exists() and other filestat functions throw errors when in safe mode and file/directory does not exist.
...
Extended php_checkuid function to add "flags" field via rename to php_checkuid_ex with alias for BC in functions that do want safe mode errors thrown.
2003-01-09 21:57:45 +00:00
Moriyoshi Koizumi
82c6d54517
Fixed typo
2003-01-09 20:23:36 +00:00
Wez Furlong
59e4fdcc10
Implement fprintf() and vfprintf().
...
Add a couple of tests.
2003-01-09 17:29:31 +00:00
Wez Furlong
d8fbd1acef
Fix Bug #21523 - number_format could cause a memory allocation for a
...
negative memory size in situations where the sprintf implementation of the
host system generated less decimal places than were requested.
Resolved this issue by making number_format examine the string returned
by spprintf and have it pad to the correct number of decimal places.
Added a test-case based on the bug report; the length of decimal places
required to trigger this bug is sprintf implementation dependent; as the
implementation is now using spprintf (provided by PHP), that number is
78 digits (NDIG - 2).
# I played with the idea of enhancing sprintf to do the equivalent, but
# it was too much effort considering that the precision of floats/doubles
# is not good enough to warrant it.
# This fix could do with some QA from someone else to make sure there are
# no memory bounds problems and then MFH it to PHP_4_3
2003-01-09 15:44:49 +00:00
Frank M. Kromann
b33fe2b2c6
Use the correct link when checking for more results on stored procedures
2003-01-09 08:19:41 +00:00
Frank M. Kromann
6660f8ae4e
Restire BC for mssql_execute(). This will not break the new feature for handling
...
multiple results from a single stired procedure.
Adding mssql_free_statement()
2003-01-09 08:00:07 +00:00
Ilia Alshanetsky
ef9ba94c8b
Fixed bug #21529 (memory corruption by fsockopen()).
2003-01-09 03:33:15 +00:00
Frank M. Kromann
392e5013b4
changed from LVAL to RESVAL macro
2003-01-09 02:44:44 +00:00
Yasuo Ohgaki
ae8db8c608
Adjust config.m4 for new build system and improve lib detection a little
2003-01-09 01:19:26 +00:00
foobar
66fd5008ab
Fix the ZTS build.
2003-01-09 00:15:33 +00:00
Moriyoshi Koizumi
59393ef3ad
Reimplemented base64 filter to use iconv()-like facility for flexibility.
...
# I'm leaving the code dirty & ugly prior to the discussion.
2003-01-08 23:44:38 +00:00
Frank M. Kromann
7cd7cad1b5
Changed global data type to avoid problems with initialization
2003-01-08 23:19:54 +00:00
Ilia Alshanetsky
072be90d6f
Added support for WBMP images.
2003-01-08 20:36:03 +00:00
Ilia Alshanetsky
17e51c5946
Fixed bug #21518 .
...
Fixed memory in leak ImageCreateFromString().
Fixed a bug that prevented proper identification of WBMP images and thus
prevented ImageCreateFromString() from working on those images.
2003-01-08 18:11:40 +00:00
Zeev Suraski
ada5c4009e
Fix UMR
2003-01-08 13:28:16 +00:00
Georg Richter
5312594a27
fixed bug #21498
2003-01-08 11:00:06 +00:00
Ilia Alshanetsky
2d4a4a99d3
Removed unused variable.
2003-01-08 03:33:00 +00:00
Ilia Alshanetsky
ac3e8601ae
Version is char ;).
2003-01-08 00:38:36 +00:00
Dan Kalowsky
19b25ca5d2
Version tag for future move to PECL
2003-01-07 23:00:11 +00:00
Dan Kalowsky
b89d9db706
Reverting last change as it really doesn't fix longreadlen problems in all
...
cases.
2003-01-07 22:56:58 +00:00
Moriyoshi Koizumi
b064810550
Instances should not be freed in dtor()...
2003-01-07 22:53:42 +00:00
Moriyoshi Koizumi
b86a4edeed
Made error msg format more consistent
2003-01-07 22:52:24 +00:00
Pierre Joye
a9999190c6
Fix line drawed twice (L. Atkinson)
2003-01-07 22:34:00 +00:00
Sara Golemon
f4f313ff40
Backout changes between 1.6 and 1.7
2003-01-07 16:43:26 +00:00
Levi Dixon
beb7476ba9
Added support for Shared Data Mode for OCI8_VERSION >= 8.1, which will provide memory savings by sharing common statement data
2003-01-07 15:55:59 +00:00
Ilia Alshanetsky
f7513855b3
Fixed ZTS build with ZE2.
2003-01-07 14:34:41 +00:00
Ilia Alshanetsky
928c260c57
ZTS cleanup.
2003-01-07 13:02:43 +00:00
Zeev Suraski
651cea08f0
whitespace
2003-01-07 11:37:09 +00:00
Sascha Schumann
e180f20e63
tell user which header files could not be found
2003-01-07 09:49:08 +00:00
Moriyoshi Koizumi
346fa499ca
Fixed small leak
2003-01-07 08:57:27 +00:00
Frank M. Kromann
1638ddd4c2
Making the mssql extension work when build as a shared object
2003-01-07 05:19:48 +00:00
Ilia Alshanetsky
f0de896ed2
Fixed ZTS build.
2003-01-07 03:44:12 +00:00
Ilia Alshanetsky
34e868d451
MFB + CS
2003-01-07 02:47:24 +00:00
Moriyoshi Koizumi
eed5a6bed0
Implemented quoted-printable stream filter
2003-01-07 01:41:18 +00:00
Sara Golemon
35b1635c81
Add option to stream_get_filters() user-defined fiters vs. all filters, default to user only
2003-01-07 01:02:29 +00:00
Moriyoshi Koizumi
00a36a09e1
Implemented string.base64 stream filter
...
@- Implemented string.base64 stream filter. (Moriyoshi)
2003-01-07 00:03:25 +00:00
Ilia Alshanetsky
97dd1e8abf
Fixed bug #21453 (improper handling of non-terminated <).
2003-01-06 22:13:03 +00:00
Ilia Alshanetsky
15f7c2c332
Fixed Bug #21443 and related bug #21468 .
2003-01-06 21:43:28 +00:00
Dan Kalowsky
86b99ffcf6
Patch for bug #19349
2003-01-06 18:23:55 +00:00
Dan Kalowsky
b588e10553
Correction for bug #21279
2003-01-06 18:10:06 +00:00
Moriyoshi Koizumi
4c2d6cfea8
Moved php_quot_print_decode() to quot_print.c so that it can be used
...
outside the iconv module
2003-01-06 15:47:25 +00:00
Moriyoshi Koizumi
d0570815af
Added more RFC2047-compliancy check in iconv_mime_decode()
2003-01-06 15:40:22 +00:00
Moriyoshi Koizumi
6f44489b68
Fixed iconv_mime_decode() so that it comforms to RFC2231
2003-01-06 15:35:42 +00:00
Georg Richter
8aeb7f35bc
fixed missing & (Thx to Sebastian Bergmann)
2003-01-06 14:13:47 +00:00
Wez Furlong
d23d4b366d
Make it slightly more obvious that the return value is relative to the length
...
of the input data.
2003-01-06 14:04:23 +00:00
Edin Kadribasic
3d9c3c6662
MFB:
...
Fixed bug #20503 (imagesetbrush() availability on windows).
2003-01-06 10:49:52 +00:00
Anantha Kesari H Y
b3d80fe441
Removed #ifdef NetWare and made the necessary changes in the directory structure of NetWare.
2003-01-06 10:28:34 +00:00
Christian Stocker
413053aa75
- get_path forgotten in .h file
...
- fix crash in domxml_node_insert_before() (by Lukas Schröder)
2003-01-06 09:59:53 +00:00
Anantha Kesari H Y
303f888a09
Changes for NetWare makefile.
2003-01-06 09:05:59 +00:00
Anantha Kesari H Y
f58016b348
Makefile added newly and modified the header file for NetWare.
2003-01-06 09:05:03 +00:00
Christian Stocker
cafc0b2e59
@- Added domxml_node_get_path() (Lukas Schröder)
...
- Fixed segfault, when trying to add a node to itself.
2003-01-06 08:47:35 +00:00
Anantha Kesari H Y
509b4d39b5
Added #ifdef HAVE_SYSLOG_H around syslog function in the whole file to avoid link failure.
2003-01-06 05:59:17 +00:00
Sara Golemon
999d989aa9
Added string.toupper and string.tolower filters and generalized non-op filter methods
2003-01-06 05:22:06 +00:00
Frank M. Kromann
6b0b7e3f42
Nuke warning, on Win32 build
2003-01-06 04:29:33 +00:00
Frank M. Kromann
01f5c5d6fe
enable imageftbbox() and imagefttext() on WIn32
2003-01-06 04:28:49 +00:00
Sara Golemon
42e912da79
Expose stream_filters_hash so that it can be searched by stream_get_filters()
2003-01-06 04:06:40 +00:00
Edin Kadribasic
e0ed7e9057
Complete gif readonly support addition by adding missing gd_gif_in.c
...
file to the project.
2003-01-06 01:39:08 +00:00
Edin Kadribasic
6113d95433
Comment out non ANSI C standard comliant code. Fixes win32 build.
2003-01-06 01:26:14 +00:00
Edin Kadribasic
59b37a5ce4
Fixed win32 build.
2003-01-06 01:08:59 +00:00
Ilia Alshanetsky
b52eb8f14a
Fixed bug #21445 .
2003-01-06 00:47:40 +00:00
Sara Golemon
7dae400063
Fixes to stream_get_wrappers() and stream_get_filters() handle hash table layouts better, plus some picune whitespace fixes
2003-01-05 22:24:49 +00:00
Georg Richter
2fbb9a5247
fixed bug #21435
2003-01-05 20:53:06 +00:00
Sebastian Bergmann
c9d9e053f3
Define HAVE_GD_GIF_READ.
2003-01-05 16:32:01 +00:00
Edin Kadribasic
fc03762871
MFB:
...
Made xslt_set_encoding() available on windows (bug #20640 ).
2003-01-05 13:54:30 +00:00
Ilia Alshanetsky
d5a8bb2d0b
Fixed a memory leak in setlocale() & localeconv().
2003-01-05 04:29:14 +00:00
Sara Golemon
43630e2ac0
Added stream_get_filters(); to list registered filters
2003-01-05 03:24:38 +00:00
Derick Rethans
b816089fbf
- Fix some of the netware crap
2003-01-05 00:56:17 +00:00
Derick Rethans
e58c221204
- Change Warnings to Notices
2003-01-04 23:55:57 +00:00
Ilia Alshanetsky
5f36ce398e
CS fixes.
2003-01-04 23:31:55 +00:00
Marcus Boerger
fff1c67b56
Fix ZTS-ZE2 build
2003-01-04 20:06:32 +00:00
Marcus Boerger
6a75a52ad8
better to check for existance first
2003-01-04 19:19:59 +00:00
Marcus Boerger
2705070dd8
Fix ZTS-ZE2 build
2003-01-04 19:18:43 +00:00
Moriyoshi Koizumi
0d0127fbfb
Fixed cut'n'paste failure
2003-01-04 13:52:54 +00:00
Moriyoshi Koizumi
b13a6276e1
Added test case for iconv_mime_encode()
2003-01-04 13:39:59 +00:00
Derick Rethans
6439ad7640
- Fixed bug #21232 (Unresolved references to PQsetnonblocking). (Patch by
...
Floyd <floyd@studiodust.com>)
2003-01-04 12:33:46 +00:00
Martin Jansen
4343df9de2
* Update copyright year to 2003.
2003-01-04 11:56:35 +00:00
Moriyoshi Koizumi
cd2b0fe706
Added test case for iconv_mime_decode()
2003-01-03 20:33:53 +00:00
Moriyoshi Koizumi
07dcab60f0
Added test cases for iconv_strpos() and iconv_strrpos()
2003-01-03 20:02:23 +00:00
Moriyoshi Koizumi
006b455c6a
Fixed an iconv_strrpos() bug that the function doesn't return accurate
...
position of last occurrence
2003-01-03 20:01:13 +00:00
Derick Rethans
4d3c4ab45d
- Update todo
2003-01-03 19:50:41 +00:00
Derick Rethans
419af9f12a
- Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
...
to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
to be safely used with PHP.
- Updated macro's, php_errors and parameter parsing.
@- Removed support for libmcrypt 2.2.x to allow cleaner code. Another reason
@ to upgrade libmcrypt to a 2.5.x series as the older ones have too much bugs
@ to be safely used with PHP. (Derick)
2003-01-03 19:49:44 +00:00
Ilia Alshanetsky
f99fa7170e
Fixed a bug that would cause flock() to never set the 3rd argument.
...
CS fixes & switched to new parameter parsing API.
2003-01-03 18:33:28 +00:00
Ilia Alshanetsky
71ab7dfccc
Fixed a memory leak that occurs if the location specified by redirect header
...
cannot be opened.
2003-01-03 17:12:35 +00:00
Ilia Alshanetsky
c52cdad25a
Further fixes related to bug #21267 .
2003-01-03 17:05:16 +00:00
Anantha Kesari H Y
2e52c112df
Modified for NetWare.
2003-01-03 16:06:02 +00:00
Anantha Kesari H Y
830298beb8
Modified for NetWare.
2003-01-03 14:37:42 +00:00
Anantha Kesari H Y
32ef849171
Modified for NetWare.
2003-01-03 14:31:31 +00:00
Moriyoshi Koizumi
3149fc7c40
Added offset validity check for iconv_strpos()
2003-01-03 14:29:49 +00:00
Anantha Kesari H Y
9c3f39a074
New file added for NetWare.
2003-01-03 14:24:34 +00:00
Anantha Kesari H Y
90ba724072
Modified for NetWare.
2003-01-03 14:24:07 +00:00
Derick Rethans
8f82834a79
- Update this one as well
2003-01-03 10:52:23 +00:00
Derick Rethans
32254e0938
- Remove double "Win32 COM" functions line
2003-01-03 10:48:38 +00:00
Sara Golemon
7b37272381
Added stream_get_wrappers()
2003-01-03 08:02:36 +00:00
Moriyoshi Koizumi
f76df0ba1b
Added test cases for iconv_strlen() and iconv_substr()
2003-01-03 05:48:51 +00:00
Moriyoshi Koizumi
a3330b5ab3
Fixed iconv_mime_decode() so it would give more awareness to stateful codesets
2003-01-03 05:38:50 +00:00
Moriyoshi Koizumi
e1dd919204
Fixed infinite loop of iconv_mime_encode() in case the specified line length is too short to contain a proper mime-encoded string
2003-01-03 05:34:05 +00:00
Moriyoshi Koizumi
c703ad78d0
Give mo' shift-sequence awareness to iconv_mime_encode
2003-01-03 05:32:13 +00:00
Moriyoshi Koizumi
354a42fd5f
More shift-sequence awareness for iconv_substr()
2003-01-03 05:28:25 +00:00
Moriyoshi Koizumi
1f8cee7666
Added missing casting operators
2003-01-03 05:26:44 +00:00
Moriyoshi Koizumi
bf48e7bc9f
MFB
2003-01-03 05:16:12 +00:00
Moriyoshi Koizumi
6144a7288e
MFB: fixed shift-out sequence unawareness issue
2003-01-03 05:14:34 +00:00
Moriyoshi Koizumi
f962ba6abb
Fixed small leaks in array_map() in case the first parameter is NULL like
...
array_map(NULL, array(...));
2003-01-03 05:05:12 +00:00
Ilia Alshanetsky
f65e8488d7
Fixed a small memory leak when a NULL variable is passed to
...
openssl_csr_sign() as the first argument.
2003-01-02 21:18:59 +00:00
Ilia Alshanetsky
0ff59a1353
Fixed bug #21338 (crash inside html_entity_decode() when "" is passed).
...
Added test case for the bug.
2003-01-02 19:49:30 +00:00
Frank M. Kromann
4da2e804e0
Allow base64 functions to be called from an extension buils as .so/.dll (iconv)
2003-01-01 18:11:18 +00:00
Zeev Suraski
70446a6416
build fixes
2003-01-01 13:26:17 +00:00
Sebastian Bergmann
0ab3a13612
Fix warnings.
2003-01-01 12:36:06 +00:00
Wez Furlong
97a0102b81
Tidy up
2003-01-01 11:21:40 +00:00
Wez Furlong
f58628ca4d
Move rot13 filter into a new filters.c source file.
...
Tidy up some other filter related code.
# win32 -> someone please add user_filters.c and filters.c to the .dsp
2003-01-01 11:04:44 +00:00
Moriyoshi Koizumi
c4e8b2baab
Added various functions that relies on the iconv facility:
...
iconv_strlen(), iconv_substr(), iconv_strpos(), iconv_strrpos(),
iconv_mime_encode(), iconv_mime_decode()
# hope this be a new year gift for you. Happy new year!
2002-12-31 19:13:16 +00:00
Wez Furlong
350b0bbeac
Implement user-space filters.
...
See ext/standard/tests/file/userfilters.phpt for an example of their use.
2002-12-31 18:39:36 +00:00
Sebastian Bergmann
b506f5c8f8
Bump year.
2002-12-31 16:08:15 +00:00
Rasmus Lerdorf
f88e29bc0d
Fix for bug #21311
2002-12-31 15:18:52 +00:00
Wez Furlong
abc4b4bb99
Fix for #21304 (gzopen did not report errors on open; "a" mode broken)
2002-12-31 11:42:15 +00:00
Ilia Alshanetsky
87a8b04051
Fix ZTS build.
2002-12-31 00:04:52 +00:00
Ilia Alshanetsky
0acb52fc3b
Fixed bug #21228 (broken check for ob_gzhandler).
...
Fixed a bug that made ob_start return incorrect return value.
2002-12-30 19:39:31 +00:00
Marcus Boerger
67f0a6f6c0
testing default handler should be a separate test
2002-12-30 19:20:11 +00:00
Marcus Boerger
aa8e5cdde7
-disallow using db-<n> with libraries of different major versions
...
-disallow using db-4.1 with patch level < 25
-fix db-4.1
-added undocumented DB_FCNTL_LOCKING flag for version 3 and 4
# wow the sleepycat guys answered *very* fast
2002-12-30 17:42:55 +00:00
Ilia Alshanetsky
bd19dabefe
Fixed bug #21226 (parse_url handling of urls without a path).
2002-12-30 16:42:49 +00:00
Derick Rethans
d454becda8
- Whitespace
2002-12-30 15:03:50 +00:00
Marcus Boerger
32dda8b0cb
ws
2002-12-30 13:09:03 +00:00
Marcus Boerger
4d2f7207c0
Add info function to handlers and return handler info when dba_handlers is
...
called with optional parameter full_info set true.
2002-12-30 13:07:30 +00:00
Marcus Boerger
426cf8eb57
fix state-machine in cases T_AAAA is not available
2002-12-30 11:59:22 +00:00
Marcus Boerger
a213c71735
2nd part of the patch
2002-12-30 11:43:18 +00:00
Marcus Boerger
4b9e8fc899
-better parameter names for DBA_HND macros
...
-remove unnecessary notice
2002-12-30 11:32:37 +00:00
Derick Rethans
e76d0043da
- Align mssql comment and clarify DBA handler selection
2002-12-30 08:55:21 +00:00
Ilia Alshanetsky
88d26985b8
Fixed bug #21267 (opening URLs that result in redirection to a relative
...
path was failing).
2002-12-29 20:01:33 +00:00
Ilia Alshanetsky
c731daeda7
Fixed bug #21268 (session_decode() returned FALSE on success).
2002-12-29 18:50:55 +00:00
Marcus Boerger
c69d034a87
Added support for db3/db4 error handling/information
2002-12-29 15:32:38 +00:00
Marcus Boerger
9b22813c4d
Add a default handler that makes handler parameter to open functions
...
optional.
@Improved dba extension (Marcus)
@-Made handler parameter of dba_(p)open() optional.
@-Added php.ini option 'dba.default_handler' to specify a default handler.
2002-12-29 15:31:00 +00:00
Sascha Schumann
955b27cd64
Fix order of library additions, so that the imap extension now builds
...
successfully with static imap/ssl libs. configure was already failing
before.
2002-12-28 15:33:25 +00:00
Ilia Alshanetsky
22a2636d9d
Made DBA tests not dependant on error reporting settings.
2002-12-27 04:46:40 +00:00
Derick Rethans
f3d3dd5bc8
- MFB
2002-12-26 23:45:05 +00:00
Georg Richter
4abcff7631
added Wez, Ilia & myself
2002-12-26 23:38:18 +00:00
Wez Furlong
bb640840c3
Remove cruft that opened a stream that was never closed in get_meta_tags().
...
(probably my fault).
Noticed by Philip Olson
2002-12-26 22:35:00 +00:00
Sterling Hughes
457f22c198
if needle is empty free allocated memory
2002-12-26 20:52:42 +00:00
Sterling Hughes
ca67d27fb2
remove memleak
2002-12-26 19:56:44 +00:00
Marcus Boerger
4041d4faed
Add missing test for db4 handler
2002-12-26 19:55:06 +00:00
Derick Rethans
b996b32031
- Add test for bug #21182
2002-12-25 20:08:36 +00:00
Ilia Alshanetsky
fbcee73c8c
Make range operate on the copies of the parameters rather then modify the
...
actual parameters.
2002-12-25 20:02:03 +00:00
Stefan Esser
e900f8c97b
do correct casting
2002-12-24 23:28:05 +00:00
Ilia Alshanetsky
2e6e0f87dc
Removed pointless assignment.
2002-12-24 23:19:54 +00:00
Ilia Alshanetsky
0a2d473df0
The -1 is no longer needed, since it is done automatically by strlcpy().
2002-12-24 17:33:33 +00:00
Ilia Alshanetsky
a747d1f864
Changed strncpy() to strlcpy().
2002-12-24 17:30:48 +00:00
Ilia Alshanetsky
59b6ffee1e
A variety of CS style fixes, which include:
...
* Changed all argument parsing to use the new zend_parse_parameters()
* If a function is unavailable due to lack of support for a certain feature,
do not make the function avaliable, rather then making it print an error
saying that the functionality offered by the function is not avaliable.
* Lots of WS fixes all over the file.
* Change strcpy() to strncpy() to prevent possible buffer overflows.
Fixed a bug in ncurses_pair_content(), 1st parameter was wrong.
Fixed several function prototypes that failed to indicate that functions
accepted arguments by reference.
2002-12-24 17:20:33 +00:00
Melvyn Sopacua
0764c3101b
Verify if gl_pathv is not NULL, which it is, when GLOB_NOMATCH isn't
...
supported and there are no matches.
# BSDi/Mac OSX are affected.
2002-12-23 18:33:46 +00:00
Stefan Esser
0bb1ff71d6
fix compile error on IRIX
2002-12-23 08:50:05 +00:00
Ilia Alshanetsky
af55703d52
Fixed various memory leaks.
...
# Should this be MFHed?
2002-12-22 20:16:37 +00:00
Moriyoshi Koizumi
45f67837e6
Removed "%s" from format strings
2002-12-22 19:51:49 +00:00
Ilia Alshanetsky
0ae3050aa5
Fixed bug #21146 .
2002-12-22 19:44:01 +00:00
Moriyoshi Koizumi
d70f96550c
php_error => php_error_docref
2002-12-22 19:16:09 +00:00
Moriyoshi Koizumi
9b3f810564
WS fix
2002-12-22 19:05:06 +00:00
Moriyoshi Koizumi
dcc030f5ef
Fixed bug #21144
2002-12-22 19:01:44 +00:00
Wez Furlong
c5091eedf1
Forgot to include this in my previous commit for #21131 fix.
2002-12-22 18:06:27 +00:00
Wez Furlong
efea12fec5
Fix for Bug #21131 : fopen($file, 'a+') would incorrectly assume that
...
the stream position was at offset 0.
This corrects that assumption by querying the stream for it's position
when it detects the 'a' "flag" in the mode parameter to fopen.
Also added a test for plain files and amended the userstreams test to
take this into account.
2002-12-22 18:05:36 +00:00
Sascha Schumann
20e8bc31f0
(char *) vptr += expr; is refused by the IRIX compiler, so we use
...
vptr = (char *) vptr + expr; instead.
2002-12-22 16:34:13 +00:00
Sascha Schumann
280f4a4373
'index' is a function name in the C library, do not use it as variable name.
...
also, cast the 'void *' correctly to a 'char *' for manipulation
instead of an 'int'.
2002-12-22 16:03:28 +00:00
Ilia Alshanetsky
98e85ae80b
Fixed bug #20987 (no handling for client certificates).
2002-12-21 18:03:46 +00:00
Derick Rethans
16e5459f94
MFB: Fix typo
2002-12-21 17:48:37 +00:00
Andrei Zmievski
ddea2a190f
Alias dba_popen() to dba_open() until persistent STDIO streams are
...
implemented.
2002-12-21 01:09:27 +00:00
Stefan Esser
e4e299614e
need more space
2002-12-20 19:37:07 +00:00
Georg Richter
d5f02c553b
fixed some warning when using external 4.x libs
2002-12-20 18:52:27 +00:00
Frank M. Kromann
ad69583ba1
Fixing Win32 build by adding missing libraries
2002-12-20 18:40:31 +00:00
Sara Golemon
13308b5a94
Minor clarification in meaning of bitmask constants
...
/* PHP_DNS_xx = 1<<(T_xx-1) */
T_CNAME = 5 ergo PHP_DNS_CNAME should be 0x00000010.
T_SOA = 6 ergo PHP_DNS_CNAME should be 0x00000020.
2002-12-20 18:34:56 +00:00
Marcus Boerger
efd314e767
-Fix memory handling of persistent dba connections.
...
-Update tests.
# cdb and flatfile still FAIL for dba_popen since the known streams problem
2002-12-20 17:47:58 +00:00
Ilia Alshanetsky
3a4bf3f904
When low & high are the same return an array containing the low value.
...
Added support for float values and handling of numeric values being passed
as strings.
Added a test case for range().
2002-12-20 17:16:31 +00:00
Marcus Boerger
d795243db3
@Make uniqid() parameters optional and allow any prefix length. (Marcus)
2002-12-20 17:06:25 +00:00
Marcus Boerger
8652e8ac27
MFB
2002-12-20 17:04:33 +00:00
Andrei Zmievski
c45f76112f
At least this problem exposed some leaks..
2002-12-20 16:45:34 +00:00
Marcus Boerger
26038795f8
-disable uniqid() when required lib functions not available
...
-emit an error when uniqid() will fail
-make more_entropy parameter default to true for CYGWIN
2002-12-20 16:34:42 +00:00
Sterling Hughes
3cb16973ef
silly error, will MFH
2002-12-20 15:44:51 +00:00
Wez Furlong
602734c7d9
Correct mistake introduced by my last commit on these files;
...
*_from_pipe() is for process-pipes created by fopen, not generic pipes
created from proc_open().
Correctly implemented the fifo/pipe check for *_from_file() and it seems
to be working correctly now.
2002-12-19 20:23:50 +00:00
Ilia Alshanetsky
594c3808d4
Fixed bug #21098 .
2002-12-19 17:06:36 +00:00
Edin Kadribasic
2fc8358e3a
MFB: Remove dependancy on libtool library which is no longer needed.
2002-12-19 10:49:05 +00:00
Moriyoshi Koizumi
d2fa4670dc
Prevented test failure caused by LF code variety
2002-12-18 23:06:27 +00:00
Pierre Joye
baea3414a3
Fix a crash while using an invalid color with imagesetstyle, see the sample
...
script in the manual to reproduce it :)
2002-12-18 21:13:21 +00:00
Frank M. Kromann
e93a1a92ec
Fixing WIn32 build after adding support for FreeTDS
2002-12-16 22:44:08 +00:00
Frank M. Kromann
5664a358fa
Allow the native MSSQL extension to be compiled with FreeTDS on *nix platforms.
...
This will make the whole MSSAL API available on these platforms.
@Allow compilation of mssql extension on *nix.
2002-12-16 22:26:49 +00:00
Sergey Kartashoff
afa0e1e03e
- mnogosearch extension updated to compile with mnogosearch-3.2.8
2002-12-16 19:17:10 +00:00
Marcus Boerger
59656cc706
fix compiler definition tests
2002-12-16 17:52:43 +00:00
Marcus Boerger
50af908f01
fix compiler definition tests
2002-12-16 15:53:46 +00:00
Marcus Boerger
2d3b3fd97f
fix test
2002-12-16 15:19:57 +00:00
Marcus Boerger
9042a9ddbd
Add version check since this will be available since php 4.4.
2002-12-16 15:04:12 +00:00
Marcus Boerger
da1a617f6b
forgot to remove that dot
2002-12-16 14:54:35 +00:00
Marcus Boerger
5dc4d38204
-Add constant that shows whether or not exif uses mbstring.
...
-Fix tests
2002-12-16 14:48:00 +00:00
Marcus Boerger
6e055f9a77
change mbstring detection
2002-12-16 09:58:49 +00:00
Ilia Alshanetsky
f620fdbed3
A better memory leak patch.
2002-12-16 07:46:36 +00:00
Marcus Boerger
c1be81a84e
ws
2002-12-15 18:49:07 +00:00
Marcus Boerger
05436b1378
MFB: gd uses float instead of double
2002-12-15 18:16:11 +00:00
Ilia Alshanetsky
cc4748139c
Close log file on shutdown.
2002-12-15 07:03:32 +00:00
Ilia Alshanetsky
078dfe8d57
Fixed a memory leak.
2002-12-15 06:44:30 +00:00
Marcus Boerger
16694d3500
Fix build when mbstring is a shared module or dll under windows
2002-12-14 19:53:20 +00:00
Pierre Joye
137beb12ca
Do not allow AA if not trueColor (imageantialias does nothing)
2002-12-14 19:23:29 +00:00
Marcus Boerger
9455657a7a
Bugfix: #21010 (Here it's maker (manufacturer) instead of marker)
2002-12-14 17:49:19 +00:00
foobar
c07f7c8df8
MFB: Fix bug #20995
2002-12-14 09:33:37 +00:00
Marcus Boerger
95c701d328
MFB: ZTS fix by Ilia
2002-12-13 09:17:04 +00:00
Vlad Krupin
e969d788bf
Fix for bug 19727. dBase5 (at least for windows) seems to allow 1024 fields
2002-12-13 03:09:52 +00:00
Moriyoshi Koizumi
92d5faca60
MFB
2002-12-12 21:44:53 +00:00
Moriyoshi Koizumi
d679e5d2aa
Added a test case for bug #20934
2002-12-12 21:42:17 +00:00
Stefan Esser
7924bf8705
remove extra char in case of binary/money fields
2002-12-12 21:30:39 +00:00
Ilia Alshanetsky
7a282ddcfd
Fixed bug #20974 (added missing sanity check).
2002-12-12 21:17:36 +00:00
Melvyn Sopacua
44b7c16b03
Fix for BSD's (possibly others):
...
Accept system default, for the index. Don't initialize it.
2002-12-12 18:50:26 +00:00
Wez Furlong
c5d4e4b321
MFB: popen/pclose and proc_open/proc_close fixes.
2002-12-12 17:51:25 +00:00
Wez Furlong
81c02040f0
Attempt to add more entropy for key generation.
2002-12-12 15:50:11 +00:00
Ilia Alshanetsky
53b333d153
Fixed misspelling of the Greek letter lambda,
...
noticed by jmartin-php@notamusica.com .
2002-12-12 14:50:58 +00:00
Marcus Boerger
c2078cdabf
php_error -> php_error_docref conversion fix (noticed by derick)
2002-12-12 14:12:42 +00:00
Wez Furlong
1ef74a4f79
Patch for #20936 (openssl: public key handling was broken).
...
Thanks to <jeroen@derks.it> for the patch.
2002-12-12 13:42:23 +00:00
Ilia Alshanetsky
75c180f242
Fixed bug #20927 and updated the test case for the bug.
2002-12-12 13:38:19 +00:00
Moriyoshi Koizumi
3bbcb0d0dd
Fixed bug #20934 (htmlspecialchars returns latin1 from UTF-8)
2002-12-12 13:25:51 +00:00
Marcus Boerger
a40ccefd32
php_error -> php_error_docref
2002-12-12 13:08:59 +00:00