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