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
Marcus Boerger
53309aace0
SIGIOT may not be defined in cygwin
2002-12-12 12:23:32 +00:00
Marcus Boerger
835c4dedbb
typeconversion is needed here for cygwin
2002-12-12 12:18:44 +00:00
Marcus Boerger
26b101dd1b
O_ASYNC is not defined in cygwin
2002-12-12 12:15:10 +00:00
Edin Kadribasic
8eb1791790
MFB: DOM/XSLT support in win32 build (bug #20485 ).
2002-12-12 10:56:33 +00:00
Ilia Alshanetsky
20bc6a09e0
Added check for availability of jpeg support.
2002-12-11 22:37:05 +00:00
Ilia Alshanetsky
67aca57c3b
Fixed build with non-bundled GD. Hidden the anti-alias functions when
...
non-bundled GD is used and made imagecreatefromxpm() unavailable because
of a bug in the external GD library.
2002-12-11 22:25:23 +00:00
Pierre Joye
5acfdf3ca1
Fix brightness filter (argument ingnored)
2002-12-11 22:23:51 +00:00
Ilia Alshanetsky
a88a99fb9d
White space fixes.
2002-12-11 21:55:45 +00:00
Ilia Alshanetsky
f4b5f0904b
Syncronize bundled gd sources with that of gd 2.0.9, affected functions
...
are: gdImageBrushApply() & gdImageCopyResized().
2002-12-11 21:52:29 +00:00
Pierre Joye
983d8e5efd
Add antialias flag to image structure
...
Add AA support
2002-12-11 20:47:26 +00:00
Pierre Joye
7ec74f64f9
Add gdImageAAline (antialiased line)
...
Add AA support for gdImagePolygon
2002-12-11 20:46:52 +00:00
Pierre Joye
221413e5ef
Remove double definition of imagesettile
...
Add imageantiallias
2002-12-11 20:45:47 +00:00
Pierre Joye
4d522e3686
Add imageantialias(im, flag)
...
Add AA support for bundled imageline
2002-12-11 20:44:44 +00:00
Melvyn Sopacua
4b3b409b48
Add testcase for reported wordwrap bug
2002-12-11 20:22:42 +00:00
Ilia Alshanetsky
2ab549c5f2
Added missing &.
2002-12-11 20:04:23 +00:00
Ilia Alshanetsky
c194d9333d
Added getopt() test.
2002-12-11 17:38:28 +00:00
Sara Golemon
04d6f6ab50
Renamed bc_powmod to bcpowmod to keep it inline with existing module
...
functions. Fixed whitespace problem.
2002-12-11 16:28:16 +00:00
Ilia Alshanetsky
5f9681ff80
Added missing variable to parameter retrieval.
2002-12-11 15:32:35 +00:00
foobar
3fc83fd8e3
- ws fixes
...
- // -> /* */ (No C++ comments in c code!)
- #if / #else / etc. have to start from first column.
2002-12-11 15:25:39 +00:00
Rui Hirokawa
3d324676a5
fixed lack of variable initialization bug.
2002-12-11 14:39:37 +00:00
Abdul-Kareem Abo-Namous
089f1b5771
fixed string comparison which brought up a gcc warning.
2002-12-11 14:18:40 +00:00
Marcus Boerger
e0c983a013
Warnings and Notices when lock modifiers for dba_(p)open are used wrong.
...
This finally closes bug #20828 (and i hope it must not be reopened)
2002-12-11 10:37:38 +00:00
Georg Richter
230f4ebb06
Security fix (merged from 3.23.54)
2002-12-11 08:28:41 +00:00
Ilia Alshanetsky
52d0f1c143
decode variable is only used when mbstring is avaliable.
2002-12-11 07:37:30 +00:00
Ilia Alshanetsky
08e020a870
ZTS fix.
2002-12-11 07:29:51 +00:00
Ilia Alshanetsky
533d3273bd
Fix ZTS build
2002-12-11 02:30:00 +00:00
Marcus Boerger
a6e9674bfd
add missing comment
2002-12-10 22:51:09 +00:00
Marcus Boerger
b94e0d9eac
LOCK_EX is not allowed in read mode -> try using existing .lck file in read
...
only mode only when in read mode.
2002-12-10 22:49:33 +00:00
Wez Furlong
ac8469bd55
No longer experimental
2002-12-10 22:21:34 +00:00
Wez Furlong
9746be4779
use php_error_docref and tidy up some WS/coding standards.
2002-12-10 22:18:58 +00:00
Marcus Boerger
17117063ce
-remove second attempt to close lock file
...
-default to lock on db file instead on .lck file.
-try to use existing .lck file and only create it on failure (allows ro access)
2002-12-10 22:02:52 +00:00
Marcus Boerger
dbf4bcc08b
stick to "check <what> <result>" scheme, do not repeat messages and
...
align messages correctly.
2002-12-10 21:53:02 +00:00
Stefan Esser
e5dbcb0890
fixing cut&paste bug
2002-12-10 20:18:25 +00:00
Marcus Boerger
d1c70a6417
directory values are optional
2002-12-10 20:11:41 +00:00
Marcus Boerger
644bd60d29
remove not wanted skeleton comment and align configure message
2002-12-10 20:09:35 +00:00
Ilia Alshanetsky
2b063828e0
Fixed build with GD 1.8.4
2002-12-10 19:45:58 +00:00
Frank M. Kromann
62fb872a4d
Fixing ZTS Build
2002-12-10 19:28:04 +00:00
Sara Golemon
51c9f2c64b
Added support for libbcmath's bc_raisemod function as bc_powmod()
2002-12-10 19:04:27 +00:00
Ilia Alshanetsky
91a6272972
Fixed win32 build.
2002-12-10 18:00:47 +00:00
Ilia Alshanetsky
99f2b9674f
Fixed build with GD 1.8.4
2002-12-10 17:57:41 +00:00
Edin Kadribasic
28c32e1fc8
MFB: Fix ZTS build.
2002-12-10 17:07:40 +00:00
foobar
8416a0433a
This extension requires cyrus-imap >= 2.0.8
2002-12-10 16:34:20 +00:00
Stefan Esser
f481a209b7
fixing crashbug
...
patch by freddy77@angelfire.com
2002-12-10 15:18:01 +00:00
Marcus Boerger
26c5c323ab
-make those debug messages
2002-12-10 14:35:13 +00:00
Marcus Boerger
922ce573cf
-when required haeder was not found --with-cdpf was simply ignored. I
...
changed this to be an error.
-cpdf did not check for --with-jpeg-dir and --with-tiff-dir
2002-12-10 14:31:00 +00:00
Ilia Alshanetsky
aa4c85dda1
Fixed bug #20907 , patch by m-arai@sco.bekkoame.ne.jp.
2002-12-10 00:10:27 +00:00
foobar
8a8041befe
fix typos
2002-12-09 18:30:50 +00:00
foobar
31415ad2b5
Make this actually work too.
2002-12-09 18:29:22 +00:00
Wez Furlong
58210f9232
Centralize fopencookie test
2002-12-09 18:29:07 +00:00
foobar
44aec93861
Fix the build with new cyrus and sasl2 libs
2002-12-09 18:05:37 +00:00
Marcus Boerger
ba534ac7c8
Added open modifier '-' to skip/ignore locking. See bug #20828 , #20858
2002-12-09 17:54:13 +00:00
Wez Furlong
ca6b002e4c
MFB: zlib stream tests
2002-12-09 16:43:15 +00:00
Moriyoshi Koizumi
4974f268a6
@- Let array_search() accept objects as a needle under ZendEngine2. (Moriyoshi)
2002-12-09 15:54:38 +00:00
Edin Kadribasic
3994fbbc86
MFB: Fix for #20894 .
2002-12-09 13:35:57 +00:00
foobar
085f362ae3
T_AAAA is not always available.
2002-12-09 11:50:15 +00:00
Wez Furlong
f4ca743d66
MFB zlib related fixes
...
(sorry I didn't get around to doing this sooner)
2002-12-09 10:54:20 +00:00
Christian Stocker
bda98029b4
PHP_FALIAS for doc_get_elements_by_tagname got lost
2002-12-09 08:14:15 +00:00
Ilia Alshanetsky
8f6d5dc775
Fixed a color mixup in gdImageCopyResampled() when dealing with true-color
...
images & brought the code up to PHP coding standards.
2002-12-08 21:07:13 +00:00
Moriyoshi Koizumi
8d1b2bf8a5
Prevented return_value from being freed() twice
2002-12-08 09:54:30 +00:00
Sara Golemon
a4d6863ee5
Bug #17174 Added IPv6 (AAAA record) support to dns_check_record() also added support to dns_get_record
2002-12-08 08:14:43 +00:00
Timm Friebe
b9fa1813b2
- Fixed three memory leaks
...
- Fixed segfault with sybase_unbuffered_query() and unfetched resultsets
2002-12-07 19:49:31 +00:00
Frank M. Kromann
7f3783ec15
fixing code style
2002-12-07 06:05:06 +00:00
Frank M. Kromann
0d812352be
Fixing a possible strcat on a NULL pointer
2002-12-06 22:52:31 +00:00
Moriyoshi Koizumi
3500c239a0
Fixed build with autoconf-2.54
2002-12-06 18:25:39 +00:00
Ilia Alshanetsky
3bc8512cf0
Added test case for bug #20865 .
2002-12-06 17:46:26 +00:00
Ilia Alshanetsky
ed7c3bfe0e
Fixed bug #20865 , array_key_exists() could not locate NULL keys.
2002-12-06 17:35:52 +00:00
Marcus Boerger
e0a972c061
cpdf + bundled gd
...
#maybe someone finds a better solution (perhaps in config) and comitts it
2002-12-06 16:33:57 +00:00
Abdul-Kareem Abo-Namous
646c4747b4
added support for multiple character sets.
...
OCILogon now has a forth optional parameter, which is the character set requested by the string (i.e. we8iso8859p1). when left blank, NLS_LANG or default is used.
config.m4 was changed to identify Oracle 9+ which is needed for this feature. all other oracle versions (lesser) fall back to the old behaviour.
2002-12-06 13:44:35 +00:00
Ilia Alshanetsky
33de9befa1
Fixed bug #20812 , ftp_get returned NULL on success instead of TRUE.
2002-12-06 06:07:40 +00:00
Pierre Joye
dda7acaad5
Add imageistruecolor
2002-12-06 02:16:06 +00:00
Ilia Alshanetsky
d6c29c781e
Fixed a memory leak inside heb_number_to_chars().
2002-12-05 22:46:54 +00:00
Ilia Alshanetsky
c668055159
Remove pointless checks for array_init() return values.
2002-12-05 22:28:02 +00:00
Marcus Boerger
4ce4a1c32c
php_error -> php_error_docref
2002-12-05 21:53:25 +00:00
Sara Golemon
ad65d01cbe
Bug #20746 . Renamed aggregation_info() to aggregate_info() per naming conventions and created alias for BC.
2002-12-05 21:20:47 +00:00
Marcus Boerger
49a99a98f4
-php_error -> php_error_docref
...
-removed some cases where emalloc result was tested
2002-12-05 20:59:49 +00:00
Marcus Boerger
3cf581b1b3
correct code that is guarded by "#if 0"
2002-12-05 20:41:55 +00:00
Marcus Boerger
9a04528061
fix ZTS build
2002-12-05 20:39:43 +00:00
Marcus Boerger
dcfe988820
php_error -> php_error_docref
2002-12-05 20:13:35 +00:00
Marcus Boerger
47b0e79b1a
-fix a warning that was an error
...
-php_error -> php_error_docref
2002-12-05 20:01:31 +00:00
Ilia Alshanetsky
7364e3b771
Fixed bug #12556 , updated the test for this bug.
2002-12-05 20:01:19 +00:00
Marcus Boerger
cf5d2e79b9
fix debug only
2002-12-05 19:49:12 +00:00
Derick Rethans
83741be445
- Renamed snmpv3_* to snmp3_*
...
- Conversion to php_error_docref
- Whitespace fixes
2002-12-05 19:33:03 +00:00
Melvyn Sopacua
bd06d48e56
Test data
2002-12-05 19:30:28 +00:00
Melvyn Sopacua
76436b8820
Add a testcase for this bug
2002-12-05 19:29:45 +00:00
Marcus Boerger
19d5e535c0
Remove unnecessary code here
2002-12-05 15:52:20 +00:00
foobar
f8c050395c
ws fix (bug: #20808 )
2002-12-05 15:44:27 +00:00
Marcus Boerger
373361d9c4
Return FALSE on error as mentioned by John Coggeshall.
...
See Bug #20822
2002-12-05 12:39:00 +00:00
Rasmus Lerdorf
4c749f08c0
Fix build
2002-12-04 23:21:30 +00:00
Ilia Alshanetsky
8d4b717518
Added GD image conversion tests.
2002-12-04 21:04:07 +00:00
Ilia Alshanetsky
5779f9bb0f
Made imagecreatefromxpm() work once again.
2002-12-04 20:58:04 +00:00
Ilia Alshanetsky
1e8ec47a99
Fixed a memory leak inside gdImageTrueColorToPalette().
2002-12-04 17:16:19 +00:00
Moriyoshi Koizumi
cf0a0f0967
Added a test for bug #12776
2002-12-04 17:01:07 +00:00
Moriyoshi Koizumi
7bf4090efb
Fixed segfaults of array_walk() when keys are passed to cb by reference.
...
Fixed bug #12776 .
2002-12-04 16:41:28 +00:00
Ilia Alshanetsky
143e46ae28
WS fixes.
2002-12-04 16:29:48 +00:00
Sebastian Bergmann
49f05c470a
Fix bugs #20270 , #15702 , #18600 . Patch by Tony J. White <tjw@tjw.org>.
2002-12-04 08:18:02 +00:00
Pierre Joye
00881ea504
Fix imagegd stdoutput
...
Typo 256 colors
2002-12-04 02:48:23 +00:00
Pierre Joye
e8e2420042
Fix imagegd crashes when used with truecolor image (from jpeg,png, or imagecreatetruecolor)
...
may we add parameters to imagegd to let user specify the palette size and dither (set to 256 and true) ?
2002-12-04 02:37:21 +00:00
Frank M. Kromann
956d63899c
Changed php_error() to php_error_docref()
2002-12-03 19:39:25 +00:00
Ilia Alshanetsky
e1b9a77725
Fixed a bug that caused a crash in pdf_open_memory_image(), when a truecolor
...
image was loaded, it now checks if the image is truecolor and performs the
appropriate calculations (fixed bug #20785 ).
Changed E_WARNING back to E_ERROR.
2002-12-03 19:25:17 +00:00
Frank M. Kromann
686010e050
Changed php_error() to php_error_docref()
2002-12-03 19:19:15 +00:00
Frank M. Kromann
13b6390df7
Bug #19370
...
Allow stored procedures to return multiple results.
2002-12-03 18:57:04 +00:00
Frank M. Kromann
5eaf2d10e7
Bug #17593
...
Make sure any pending data is released from the server when freeing the result
2002-12-03 18:04:35 +00:00
Ilia Alshanetsky
b08f247f32
Fixed a crash that occurs during the last step of png/jpeg -> gd2 -> png/jpeg
...
conversion. The same crash still occures with png/jpeg -> gd -> png/jpeg, because
apparently gd format cannot handle truecolor images.
Turned off debug messages inside gd_gd2.c.
2002-12-03 15:43:17 +00:00
Moriyoshi Koizumi
242ddba326
Fixed leaks in array_walk()
2002-12-03 15:02:06 +00:00
foobar
7d744c54b4
- Need these libraries for static build
2002-12-03 11:34:12 +00:00
foobar
68eaf6391a
- Fixed the build with iPlanet LDAP SDK 5.x
2002-12-03 09:35:42 +00:00
Frank M. Kromann
679d645738
Allocating enough memory to hold values.
...
Fix crash when certan stored procedures was called. This caused the free_result function to free memory not yet allocated.
2002-12-03 05:56:39 +00:00
Moriyoshi Koizumi
e7f1bbf0f2
Iconv extension is no longer experimental
2002-12-02 21:29:06 +00:00
Moriyoshi Koizumi
de79a4e9d8
Reverted the changes because the problem was elsewhere.
2002-12-02 21:10:37 +00:00
Frank M. Kromann
b2a648f5b5
Fixing the Win32 compilation of mbstring with mbregex enabled.
2002-12-02 19:18:23 +00:00
Frank M. Kromann
a7f3ad42a4
Fixing build on WIn32
...
MBREGEX is disabled for now. 5 mbre_* functions are undefined on WIn32
2002-12-02 18:19:17 +00:00
Ilia Alshanetsky
057e87e6e5
Repositioned CoInitialize and CoUninitialize that apparetly makes it more
...
correct according to MS docs. Patch (+5) by Michael Sisolak
<msisolak@yahoo.com>.
2002-12-02 06:43:54 +00:00
Ilia Alshanetsky
a6e02dc45d
Fixed a crash bug that can occur due to PDF_delete() being called more then
...
once and E_ERROR occurring during the shutdown sequence.
2002-12-02 06:35:29 +00:00
Jason Greene
5e1741fd48
Revert patch that should have been reverted a long time ago.
...
There was a memory leak in the error handling system on win32, that this patch
circumvented (by preventing the errors (EAGAIN mesages) from being generated).
# I must have forgotten to remove this when I fixed the leak
2002-12-02 05:45:13 +00:00
Sterling Hughes
065104b8fe
TODO: Cleanup elements that have happened, or most likely won't happen. There
...
is probably more that should be gone, but its still a move in the right
direction.
Other stuff is ws/formatting changes
2002-12-01 22:15:39 +00:00
Stefan Roehrich
e50dc16b21
Comment about maximal length now matches code.
2002-12-01 18:48:51 +00:00
foobar
cef45338c9
fix build..
2002-12-01 17:24:00 +00:00
Derick Rethans
7fbcf76973
-fix typo
2002-12-01 13:43:17 +00:00
Marcus Boerger
fa38a6af6f
No more (f)printf for errors and warnings instead use php_error_docref.
2002-12-01 11:43:54 +00:00
Moriyoshi Koizumi
aeb6a6c458
Fixed possible buffer overflow in php_base64_decode();
...
# This bug doesn't appear to be harmful for now,
# so I won't merge it into branches...
2002-12-01 02:44:50 +00:00
Marcus Boerger
38f5812191
Skip overload for ZE2
...
Bug #20156
2002-12-01 00:38:30 +00:00
Frank M. Kromann
7afd92792b
Fix the use of "personal" information in To and Cc headers
2002-11-30 21:49:20 +00:00
Ilia Alshanetsky
cc13af6a07
Fixed bug #20716 .
2002-11-30 19:12:48 +00:00
Marcus Boerger
0d7957bc15
Bug #20433
2002-11-30 18:36:17 +00:00
Christian Stocker
3429e3313b
fixed big bad memory leak in xpath objects.
2002-11-30 10:38:17 +00:00
Jason Greene
5d554c20d2
Sockets is no longer experimental
2002-11-29 23:44:06 +00:00
Moriyoshi Koizumi
b9687bea65
Prevented the result from being affected by function overloading
2002-11-29 18:32:50 +00:00
Sander Roobol
348b429b5b
Remove all traces of _bc_Free_list - it's not used anymore
2002-11-29 17:59:30 +00:00
Yasuo Ohgaki
e4be6b3ac2
Fixed problem with PostgreSQL 7.3
2002-11-29 17:18:01 +00:00
Christian Stocker
71235e4140
removed unused variable
2002-11-29 16:31:41 +00:00
Christian Stocker
55ee8af808
fix for bug #20389 (no trailing slash in configure option)
2002-11-29 13:30:29 +00:00
Christian Stocker
a2ccb29a97
@- Added xpath_register_ns_auto([contextnode]) for automatically registering
...
@ namespace definitions (chregu)
changed my mind. Automatic namesapce registration is not done within
xpath_eval() anymore, but in a seperate function.
2002-11-29 11:22:06 +00:00
Christian Stocker
eed5b11b5f
do some kind of automatic namespace registration in xpath_eval(). This
...
works only for namespaces defined in the context node (eg docroot if
no second argument is given. If one wants to use namespaces defined
elsewhere or with different prefixes, you still have to use
xpath_ns_register()
2002-11-29 10:24:44 +00:00
Christian Stocker
b1dab29214
relative xpath queries are already possible
...
(use $ctx->xpath_eval($xpath,$contextnode) )
2002-11-29 08:28:53 +00:00
Christian Stocker
cac5d670b3
get_element_by_id does not need LIBXML_XPATH support
2002-11-29 07:50:37 +00:00
Marcus Boerger
65eb0d8125
Conversion fixes
2002-11-29 01:44:19 +00:00
Marcus Boerger
0a7487e32d
Conversion fixes
2002-11-28 22:48:20 +00:00
Ilia Alshanetsky
398ff4fe82
Fixed mhash tests, apparently the TIGER algorithm was updated (fixed?) in
...
later mhash releases and consequently returns a different hash. I've updated
the hash to the one generated by latter releases.
Removed useless \r from ext/mhash/tests/003.phpt.
2002-11-28 14:13:44 +00:00
Martin Kraemer
966f75d4fb
Portability: avoid <malloc.h> warnings on FreeBSD
2002-11-28 09:19:16 +00:00
Martin Kraemer
f3845c3ae0
Portability: The header contains the declaration; while the source ext/bcmath/libbcmath/src/init.c has the definition
...
(otherwise some compilers complain about 'duplicate symbols')
2002-11-28 08:26:14 +00:00
Martin Kraemer
c5a7a522a1
Portability: Use 0 if the platform does not define EX_OK
2002-11-28 08:23:36 +00:00
Sterling Hughes
52a451ccd2
no more need for this either
2002-11-27 20:06:01 +00:00
Sterling Hughes
5c96f91123
don't use stupid constants, be smart, just read the line
2002-11-27 20:05:20 +00:00
Frank M. Kromann
7abdf90a0e
free alocated mem.
...
minor changes in the layout
2002-11-27 18:52:31 +00:00
Tal Peer
1d768548cd
jdtojewish() test
2002-11-27 15:54:32 +00:00
Tal Peer
8aac1ce2ee
Added an additional (optional) argument to jdtojewish() to keep BC
...
with 4.3 (and let users getdates in Hebrew without further formatting)
2002-11-27 15:52:25 +00:00