foobar
529b4dca82
Cleanup. (some relics from php3 era?)
2001-08-08 02:02:02 +00:00
foobar
bef77f811a
Make this compile again.
2001-08-08 01:52:22 +00:00
Rasmus Lerdorf
b94cff2559
Fixed a bunch of problems here
2001-08-08 00:20:19 +00:00
foobar
4263571386
More TSRM work.
2001-08-07 23:27:01 +00:00
foobar
001df0d028
Yet another TSRM fix.
2001-08-07 20:13:54 +00:00
Frank M. Kromann
4c5a6cbb82
Fixing a TSRMLS_FETCH problem.
2001-08-07 19:56:33 +00:00
Andrei Zmievski
c4555f9f55
@- Added vprintf() and vsprintf() functions that allow passing all arguments
...
@ after format as an array. (Andrei)
2001-08-07 19:44:45 +00:00
foobar
d7e1fe914a
Killed compile warnings.
2001-08-07 19:24:21 +00:00
foobar
ac28ca9d85
killed a compile warning.
2001-08-07 19:21:19 +00:00
Frank M. Kromann
587e3600d8
Adding cvs ID to source files
2001-08-07 19:09:58 +00:00
Frank M. Kromann
21e2a8fc1b
Adding FrontBase support to the DBX extension
2001-08-07 19:08:06 +00:00
Harald Radi
5e867acb28
TSRM fix
2001-08-07 19:02:01 +00:00
foobar
6916db60e8
More TSRMLS_FETCH() nuking.
2001-08-07 18:36:55 +00:00
foobar
63b7e5e052
Another TSRM fix. Plus killed some compile warnings.
2001-08-07 17:57:55 +00:00
foobar
ecfcae02a6
Another TSRM fix.
2001-08-07 17:40:10 +00:00
Harald Radi
516e769d5b
TSRM fix
2001-08-07 17:26:37 +00:00
Harald Radi
b4bc16bbc8
TSRM fix
2001-08-07 17:18:20 +00:00
foobar
053cac2c3a
Missed these
2001-08-07 17:17:39 +00:00
Andrei Zmievski
32440e3051
Fix a couple of leaks.
2001-08-07 16:41:33 +00:00
foobar
e53100fc7a
php_sig_gd2 is only needed for GD extension.
2001-08-07 16:35:35 +00:00
foobar
ab1ad77e0f
oops. Copy-paste-magic. :)
2001-08-07 16:27:29 +00:00
foobar
f710812427
Yet another TSRM fix.
2001-08-07 16:24:11 +00:00
foobar
e17f384ee7
Beutifying. Also made a check for IMAP-2001.
2001-08-07 16:18:05 +00:00
foobar
27fcd0509a
@- Added support for GD2 image type for ImageCreateFromString() (Jani)
2001-08-07 16:15:45 +00:00
Daniel Beulshausen
289770bf61
let ext\shmop build under win32
2001-08-07 13:33:27 +00:00
Adam Dickmeiss
9cb9b84e92
ZTS updates.
2001-08-07 11:22:33 +00:00
Frank M. Kromann
57946eb3be
Adding missing TSRM macros.
...
Kill signed/unsigned compiler warning
2001-08-06 16:58:27 +00:00
foobar
755723bb3a
- This is not supposed to be used, from c-client docs (formats.txt):
...
#"The following file/message formats are supported by c-client as of
# the time of this writing:
#
#. mx This is an experimental format, and may be removed in a future
# release. An mx format mailbox has a .mxindex file which holds
# the message status and unique identifiers. Messages are
# stored in Internet standard CF LF form, so the file size of
# the message file equals the size of the message.
#
# mx is somewhat inefficient; the entire directory must be read
# and each file stat()'d. We found it intolerable for a
# moderate sized mailbox (2000 messages) and have more or less
# abandoned it."
2001-08-06 16:36:31 +00:00
foobar
654b4332c7
Some cleanup. Removed unnecessary duplicate #ifndef's.
2001-08-06 15:58:37 +00:00
foobar
f9c76ee19f
Fixed bug: #12597 .
2001-08-06 15:40:47 +00:00
foobar
b5e49a1ba8
removed unused function. (seems like a copy of imap_body)
2001-08-06 15:29:49 +00:00
Thies C. Arntzen
a35df189b8
we can no longer register internal-classes once the script is started.
...
therefore the "incomplete class" is now registered at MINIT time.
2001-08-06 13:36:08 +00:00
foobar
89a8b0144c
Fix TSRM problem.
2001-08-06 12:26:55 +00:00
foobar
84042cd9f1
Another TSRM fix.
2001-08-06 12:15:05 +00:00
Sascha Schumann
23b9300fd1
more tsrm cleanup
2001-08-06 03:50:52 +00:00
Jeroen van Wolffelaar
dce78d75d6
Removed some duplicate code out of addclashes
...
# Not TSRM-safe, I am afraid...
@- addcslashes now warns when charlist is invalid. The returned string
@ remained the same (Jeroen)
2001-08-05 23:08:19 +00:00
Jeroen van Wolffelaar
b3a7b945fa
Fix test
2001-08-05 20:27:24 +00:00
Jeroen van Wolffelaar
ec140f4f67
Bugfix in abs(), abs(LONG_MIN) was bogus
2001-08-05 20:27:03 +00:00
Sebastian Bergmann
b4f31ecef5
Fix ZTS build.
2001-08-05 20:25:40 +00:00
Jeroen van Wolffelaar
2e6850a91d
Added proto for php_charmask in the .h
2001-08-05 20:02:22 +00:00
Jeroen van Wolffelaar
4a01a15fd2
Error-handling for the second parameter of [l|r]trim
2001-08-05 19:38:49 +00:00
Jeroen van Wolffelaar
71a6c03bef
Didn't commit the correct trim.phpt, it now passes
2001-08-05 19:06:34 +00:00
Jeroen van Wolffelaar
860be31cae
More tests
2001-08-05 18:38:48 +00:00
Sterling Hughes
294e19cd5c
Add the Cyrus IMAP extension to PHP's CVS (Manual editing of the news file to occur).
2001-08-05 17:43:03 +00:00
Sascha Schumann
a19563c8dc
more tsrm cleanup
2001-08-05 16:52:29 +00:00
Sascha Schumann
480ffb3d75
more tsrm cleanup
2001-08-05 16:43:57 +00:00
Sascha Schumann
c095fa33d1
fix php_write
2001-08-05 16:22:50 +00:00
Sascha Schumann
b349df6364
some more eliminate-fetches-or-escalate-them-at-least
2001-08-05 16:21:33 +00:00
Sascha Schumann
373b3e101e
more tsrm cleanup -- output.c is not doing any fetches anymore
2001-08-05 15:55:43 +00:00
Sascha Schumann
8aef193056
more tsrm cleanup
2001-08-05 15:29:47 +00:00
Stanislav Malyshev
02fea7ed23
(gmp_init) Added extra (optional) argument to gmp_init():
...
a base argument which indicates the number base. E.g.:
gmp_init('1010101010',2); // feed gmp a binary value.
Patch by Troels.
@- Added optional extra argument to gmp_init(). The extra argument
@ indicates which number base gmp should use when converting a
@ string to the gmp-number. (Troels)
2001-08-05 14:48:17 +00:00
Stanislav Malyshev
c7d7834a43
Check that _php_math_basetolong result fits long (by request from Troels Arvin)
2001-08-05 14:40:14 +00:00
Sascha Schumann
aafdfe82cb
further tsrm cleanup
2001-08-05 14:36:51 +00:00
Zeev Suraski
1159c84ab7
- TSRMLS_FETCH work
...
- whitespace fixes
2001-08-05 01:43:02 +00:00
foobar
d800a2e16a
- Fixed bug: #10822
...
- CRYPT_SALT_LENGTH is now set to the maximum length the system
supports, like it has been in the documentation for ages.
- The automatic salt is now also working like it should.
2001-08-04 23:58:56 +00:00
Rasmus Lerdorf
628c21275f
support for multiple exif comments
...
@ - Enhance read_exif_data() to support multiple comment tags (Rasmus)
2001-08-04 22:35:03 +00:00
Jeroen van Wolffelaar
c105f7142f
Better abs() testing
2001-08-04 21:40:34 +00:00
Jeroen van Wolffelaar
fcf57d371d
Layout: revert accidentel joining of lines
2001-08-04 21:37:43 +00:00
Jeroen van Wolffelaar
2b17cd1982
Named some constants in filestat to improve readability
2001-08-04 21:34:11 +00:00
Jeroen van Wolffelaar
68df8ea465
Another bugfix in pow. Special cases, with 10 times the same thing are
...
_so_ error_prone... :(
2001-08-04 20:58:47 +00:00
Rasmus Lerdorf
7d5999fb4d
Kill a warning
2001-08-04 20:52:35 +00:00
Jeroen van Wolffelaar
b245789bdb
Bugfix. All tests pass now on my system
2001-08-04 18:29:37 +00:00
Rasmus Lerdorf
cc40cdc7d7
Fix newly introduced crash on a file-not-found
2001-08-04 18:08:13 +00:00
Jeroen van Wolffelaar
58ee4e47a4
Fix bug in the tests :-(
...
There seems to be one real bug in pow(), I'm trying to fix it...
2001-08-04 18:03:29 +00:00
Thies C. Arntzen
dca5f8dce4
fix serialize:
...
- keys no longer have a trailing \0
- no leak on calling __wakeup (also saved 2* malloc & free)
- serializing objects that implement __sleep() works again
- make test works again:-)
2001-08-04 17:29:54 +00:00
Andrei Zmievski
bffbe675f9
@- Fixed a crash bug in array_map() when NULL callback was passed in. (Andrei)
2001-08-04 16:54:20 +00:00
Thies C. Arntzen
3884b15b95
fix possible crash - we should never keep the zval** as they might point
...
somewhere into the Engine. (there's still a new bug in strtok - hunting;-)
2001-08-04 16:53:57 +00:00
Sean Bright
d789d45a2e
WS Pollution
2001-08-04 13:47:44 +00:00
Jeroen van Wolffelaar
0cf60d749e
Added tests for pow()
...
#The tests near LONG_MAX/MIN fail, I know that
2001-08-04 13:20:31 +00:00
Jeroen van Wolffelaar
8803bbaa80
- A little bit cleaning of pow(), and 12 bytes less memory (wow)
2001-08-04 13:11:17 +00:00
Sean Bright
fff883689e
Don't allocated quoted strings unless we are in a META tag.
2001-08-04 12:36:51 +00:00
Thies C. Arntzen
402f91fa2d
calling mail_open() causes a SEGFAULT when using imap-2000c. mail_open(0,"",0);
...
seems to work.
2001-08-04 10:50:55 +00:00
Sebastian Bergmann
724b4d409c
Eliminate TSRMLS_FETCH() call.
2001-08-04 05:37:11 +00:00
Sebastian Bergmann
ea79632b29
Fix Win32 (and maybe other ZTS) builds.
2001-08-04 05:22:55 +00:00
Sascha Schumann
c947a0739e
Clean up the serializer by modularizing some of its code. That also
...
enables us to serialize hash indices without creating zvals for them.
Due to its nature, this patch also includes some whitespace changes.
2001-08-04 03:30:38 +00:00
foobar
a9f850f34e
fixed a memleak.
2001-08-04 03:06:12 +00:00
foobar
faaeee3705
Fixed bug: #11784 (combined with fixes Rasmus committed..)
2001-08-04 01:56:40 +00:00
Jeroen van Wolffelaar
dc4adaa231
#- HTML-safe error for pow()
2001-08-03 23:27:23 +00:00
Jeroen van Wolffelaar
b32f1ab299
#- Fix silly bug that caused segfault
2001-08-03 23:10:04 +00:00
Jeroen van Wolffelaar
f0bcaf3901
Un-revert patch
2001-08-03 23:09:05 +00:00
Jeroen van Wolffelaar
f6979a7d2b
Reverting last patch, segfaults.
2001-08-03 22:42:02 +00:00
Rasmus Lerdorf
9b0df45da7
Change from E_ERROR to E_WARNING in the exif extension
...
@ Change from E_ERROR to E_WARNING in the exif extension (Rasmus)
2001-08-03 22:33:10 +00:00
Jeroen van Wolffelaar
7733d95770
- New pow() function. It now gives warnings on wrong input, and
...
returns integer result when possible
@- New pow() implementation, which returns an integer when possible,
@ and warnings on wrong input (jeroen)
2001-08-03 22:19:11 +00:00
Jeroen van Wolffelaar
c2150f7038
- Added new parameter to [l|r]trim, to specify _what_ to trim
...
@- Added optional second parameter to trim, chop and ltrim. You can
@ now specify which characters to trim (jeroen)
2001-08-03 22:12:46 +00:00
Jon Parise
74b4b08b7b
Don't blindly assume -lc-client when linking 'conftest'.
2001-08-03 19:36:58 +00:00
Jeroen van Wolffelaar
49c16290f3
- Fix array_sum to switch to float on overflow. Fixes bug#12505
2001-08-03 19:18:51 +00:00
Jon Parise
9db1d22659
Full include paths are preferrable.
2001-08-03 19:11:31 +00:00
Jon Parise
5b8c562b22
smart_str use requires php_smart_str.h.
2001-08-03 19:05:40 +00:00
Sascha Schumann
d6dc2ba6bc
Treat trailing zeroes correctly
2001-08-03 11:09:13 +00:00
Sascha Schumann
723bbcbea0
Do the nul'ifiying of php_var_serialize's result at the right place
2001-08-03 11:00:16 +00:00
Sascha Schumann
4a1943c542
Pass on nul'ified data
2001-08-03 10:39:48 +00:00
Sascha Schumann
f6ed403fde
Don't copy the strtok parameter
2001-08-03 09:50:38 +00:00
Sascha Schumann
84aed3b718
Fix a possible segfault (Thanks to Sebastian for catching it)
2001-08-03 09:36:14 +00:00
Sascha Schumann
3459f05a07
NUL-terminate string
2001-08-03 09:35:33 +00:00
Sascha Schumann
60024a469d
Add some casts
2001-08-03 08:51:53 +00:00
Sascha Schumann
7471943c06
Replace our strtok implementation with a binary-safe one which code
...
does not cause headaches when reading it. Also happens to be a bit quicker.
2001-08-03 08:49:19 +00:00
Sascha Schumann
4dfa91543c
Convert serializer to smart_str.. avoids lots of sprintf's and
...
copying of data.
2001-08-03 07:25:27 +00:00
Zeev Suraski
2ec440078a
Get rid of a couple of bogus persist_alloc()'s, and some cleanup
2001-08-03 07:15:14 +00:00
Zeev Suraski
11908f2db8
More TSRM stuff
2001-08-03 07:12:59 +00:00
foobar
f9e375f493
Changed the PHP_ADD_LIBRARY_DEFER() to work when building
...
standalone extensions. Also improved the checks for SSL and Kerberos in
IMAP extension configure.
2001-08-03 05:17:18 +00:00
foobar
85e15deabe
These are redefined in the sqltypes.h that comes with unixODBC. PR: #12519
2001-08-03 05:07:22 +00:00
foobar
e069610c09
Add missing header.
2001-08-03 04:56:09 +00:00
Sterling Hughes
70a0951eb9
Larger transfer buffer before realloc() this should speed things up a bit
2001-08-02 19:28:33 +00:00
Sterling Hughes
b71efb2f9c
ws fix
2001-08-02 19:25:46 +00:00
Thies C. Arntzen
36a0e6369d
not too sure about this:
...
the uw-imap lib is usually called libc-client.a - kde comes with a libimap.a
which (when used instead of libc-client.a) will break the build. so
i have reversed the detection for the imap-libs - 1st look for the variations
of libc-client and (if 'em are not found) try -limap. i hope this breaks
nobodies setup!
we should really add a AC_TRY_COMPILE for all extensions that get added thru
configure!
2001-08-02 11:23:01 +00:00
Thies C. Arntzen
67775fcd2c
adding -lsablot later makes it appear _before_ -lexpat in config_vars - and
...
that fixes a link problem (atleast) for me.
sterling?
2001-08-02 11:19:19 +00:00
Zeev Suraski
37a3490f33
Fix the .h file (untested)
2001-08-02 05:56:10 +00:00
Zeev Suraski
5dfe1deb96
We no longer need any FETCH's for internal functions
2001-08-02 05:49:24 +00:00
Rasmus Lerdorf
8cf4e4a725
TSRM fix for ext_skel - probably more needed
2001-08-02 05:36:50 +00:00
Zeev Suraski
527689ca81
Beautify
2001-08-02 00:11:20 +00:00
Frank M. Kromann
2794a0e69a
These new math functions are not supported on Win32
2001-08-01 16:55:24 +00:00
Andrei Zmievski
fa6b5cdde7
- Added a few new math functions from Jesus Castagnetto.
...
- Converted to Z_* macros.
@- Added a few new math functions. (Jesus)
2001-08-01 13:48:14 +00:00
foobar
9ba69908cd
This should work better. Thanks to Jon Wagoner <jwagoner@wlion.com>
2001-08-01 13:15:26 +00:00
foobar
bad630553b
fix build.
2001-08-01 00:13:02 +00:00
foobar
252e252999
killed some compile warnings
2001-07-31 23:49:08 +00:00
foobar
474da88b4c
more ZTS fixes.
2001-07-31 23:47:35 +00:00
foobar
540f428a91
fixed comment..
2001-07-31 23:34:23 +00:00
Zeev Suraski
15cb7ca021
Fix some warnings
2001-07-31 23:32:24 +00:00
Sterling Hughes
4b00c6b697
Fix ZTS build.
2001-07-31 23:22:19 +00:00
foobar
23cb032fd9
Missing header.
2001-07-31 20:24:43 +00:00
Sterling Hughes
1a5ee49024
ws fix
2001-07-31 19:43:11 +00:00
foobar
1bca4ae723
Remove duplicate function entry.
2001-07-31 19:02:59 +00:00
foobar
a440989150
Added help texts for --with-imap-ssl|kerberos.
2001-07-31 14:37:40 +00:00
Zeev Suraski
b1de7fc900
More TSRMLS_FETCH annihilation. Enough for today...
2001-07-31 07:09:49 +00:00
Zeev Suraski
bc42c37513
More TSRMLS_FETCH work. Got it under 400 now.
2001-07-31 06:28:05 +00:00
Zeev Suraski
9be8c97967
Some more TSRMLS_FETCH work
2001-07-31 05:56:26 +00:00
Zeev Suraski
aa1772ca72
More TSRMLS_FETCH annihilation
2001-07-31 05:44:11 +00:00
Zeev Suraski
d76cf1da18
More TSRMLS_FETCH work
2001-07-31 04:53:54 +00:00
Zeev Suraski
7bc71f442d
build fixes
2001-07-31 03:00:05 +00:00
Zeev Suraski
e629be7b5b
Fix a crash bug in assert
2001-07-31 02:59:44 +00:00
foobar
ace9632276
Make this compile in ZTS mode.
2001-07-30 21:12:48 +00:00
foobar
7a37f532ef
Make this extension compile in ZTS mode.
2001-07-30 21:02:27 +00:00
Jason Greene
2b1fe64d46
Removed space type-o
...
Fixed WS
Added $Id$ tags
Removed already completed TODO from README
2001-07-30 20:51:57 +00:00
foobar
12ae3ac2d7
Use the new TSRM structure.
2001-07-30 20:50:54 +00:00
foobar
75e835017a
Make this extension compile in ZTS mode. Also killed 2 compile warnings.
2001-07-30 20:27:11 +00:00
foobar
6ee8e4bccc
Make this compile in ZTS mode.
2001-07-30 20:11:28 +00:00
Jason Greene
40c7f09509
Fully implement new thread safe model.
...
Fix ws.
2001-07-30 19:40:29 +00:00
foobar
3b7bc2535a
Make this compile in ZTS mode.
2001-07-30 19:39:26 +00:00
foobar
1594f0967b
Killed compile warning.
2001-07-30 17:35:45 +00:00
foobar
3c8b2e6d06
Removed duplicate function entry.
2001-07-30 17:35:29 +00:00
Zeev Suraski
bde4e0cedf
Fix GD build, and clean it tup
2001-07-30 17:29:57 +00:00
Frank M. Kromann
7020cccef9
Fixing build after implementing the new TSRM structure!
2001-07-30 17:27:08 +00:00
Andrei Zmievski
8fca87adb5
Updated to match TSRM changes.
2001-07-30 15:41:11 +00:00
Thies C. Arntzen
33e059062b
@- Bump bundled expat to 1.95.2 (Thies)
2001-07-30 15:10:53 +00:00
Marc Boeren
859339c1a7
It's been working here for four months now... hardly experimental :) (Mc)
2001-07-30 14:47:00 +00:00
foobar
381d4c3143
Make this extension compile thread safe on unixes too.
...
Also changed all those nice spaces to tabs
#
# Zeev, could you make those changes for this extension too?
#
# And yes, I know I shouldn't mix ws fixes to anything else but
# this was easier to do this way.
2001-07-30 10:09:53 +00:00
Zeev Suraski
9f4c0ae6c0
More TSRMLS_FETCH work
2001-07-30 09:16:46 +00:00
Zeev Suraski
c43806f415
Zend compatibility patch
2001-07-30 08:24:42 +00:00
Zeev Suraski
797a079a95
More TSRMLS_FETCH work, and a bit of cleanup
2001-07-30 06:18:13 +00:00
Zeev Suraski
b0224d51da
Zend compatibility patch
2001-07-30 05:36:18 +00:00
Zeev Suraski
7b1c400631
More TSRMLS_FETCH annihilation (Zend compatibility patch)
2001-07-30 04:58:07 +00:00
Zeev Suraski
1c25b8dd53
Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way
2001-07-30 01:56:43 +00:00
Rui Hirokawa
a787dc2c4d
changed for input encoding conversion in win32.
2001-07-29 22:15:41 +00:00
Thies C. Arntzen
832849e522
buffer was too small
2001-07-29 20:16:45 +00:00
Andi Gutmans
354f1158d8
*** empty log message ***
2001-07-29 08:40:41 +00:00
Andi Gutmans
e3632d5ecd
- Yet another one...
2001-07-29 08:35:41 +00:00
Andi Gutmans
442890f3e1
- And more...
2001-07-29 08:20:30 +00:00
Andi Gutmans
b99a590be3
- More object macros
2001-07-29 08:14:29 +00:00
Jon Parise
a0fa32b646
Fix typo.
2001-07-29 01:46:37 +00:00
Andi Gutmans
75ba1461dd
- Object macros...
2001-07-28 19:29:16 +00:00
Andi Gutmans
5c5178b2f4
- More object macros
2001-07-28 19:23:21 +00:00
Andi Gutmans
13d4670c84
- More object macros
2001-07-28 19:11:05 +00:00
Andi Gutmans
a0f5b7495e
- More object macro work
2001-07-28 19:02:53 +00:00
Andi Gutmans
c8eccca0b1
- More Object macro work. I couldn't test this one so let me know if it
...
breaks the Windows build.
2001-07-28 18:55:49 +00:00
Andi Gutmans
d42f85427a
- Use object macros
2001-07-28 18:40:18 +00:00
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +00:00
Alexander Feldman
adb1fa5a4c
Fixed the config.m4 script to allow the cracklib extension to be properly built
...
as a shared module.
2001-07-28 07:09:42 +00:00
foobar
2bff935a4f
Fix build. This was done by bringing this to the 'PHP 4 era' :)
2001-07-28 03:57:16 +00:00
Joey Smith
c5cbe8b3cb
nesting_level is now ob_nesting_level in main/php_output.h
2001-07-28 01:31:52 +00:00
foobar
74f07c5278
Simplified a bit and made more readable.
2001-07-27 14:26:39 +00:00
foobar
80b09d007f
Simplified this a bit and made more consistent.
2001-07-27 14:02:44 +00:00
Zeev Suraski
fe6f8712a4
- Get rid of ELS_*(), and use TSRMLS_*() instead.
...
- Move to the new ts_allocate_id() API
This patch is *bound* to break some files, as I must have had typos somewhere.
If you use any uncommon extension, please try to build it...
2001-07-27 10:16:41 +00:00
Thies C. Arntzen
2649b94449
detect oracle9i
2001-07-26 23:07:45 +00:00
Nikos Mavroyanopoulos
0dec2794d2
Fixes for the module to be reentrant
2001-07-26 10:11:35 +00:00
Thies C. Arntzen
a9e0de3947
@- Improved the stability of OCIPlogon() after a database restart. (Thies)
2001-07-25 22:34:25 +00:00
Daniel Beulshausen
69a4760b48
fix recently discovered api flaws
...
- nuke first parameter to socket_select (detemine it ourself)
- swap parameters for socket_fd_set, socket_fd_clear & socket_fd_isset
- allow to pass an array of sockets to socket_fd_set + socket_fd_clear
2001-07-25 22:03:55 +00:00
Sascha Schumann
d256fbf2b8
Get rid of memchr in SEARCHCR().
2001-07-25 21:06:01 +00:00
Sascha Schumann
00596b414e
Get rid of memchr
2001-07-25 19:02:13 +00:00
Nikos Mavroyanopoulos
81dd2af465
updated ovrimos driver
2001-07-25 13:30:36 +00:00
Frank M. Kromann
612b3666a9
Add extra check on Delete statements
2001-07-24 18:24:10 +00:00
Harald Radi
050d346cd2
removed duplicate code and changed
...
code slightly to be compatible with broken
com implementations
2001-07-24 10:42:29 +00:00
Andi Gutmans
afaa0085bb
- MSHUTDOWN needs to return SUCCESS/FAILURE
2001-07-24 03:52:16 +00:00
Thies C. Arntzen
6c2cfdea43
indention
2001-07-23 17:50:06 +00:00
Thies C. Arntzen
b660a9f553
fix newly introduced mem-leak in assert-module
2001-07-23 16:13:34 +00:00
Paul Moosman
22a8e9536a
I added code to up the reference count of the database connection
...
reference. This change fixes bug #11489 in php version 4.0.6.
I derived this fix from the my_sql module.
2001-07-23 16:10:10 +00:00
Hartmut Holzgraefe
d3fdc92ff5
these tow fail with "Constant sid already defined" i
...
too if E_NOTICE error reporting is active
2001-07-22 21:46:39 +00:00
Sascha Schumann
8492ece5f6
While researching a crash-bug in mail(), I found these two goldies.
...
Replace php_escape_shell_(arg|cmd) with straight-forward implementations.
2001-07-22 21:32:55 +00:00
Rasmus Lerdorf
cc44119bf6
Left-over outdated comment
2001-07-21 15:51:40 +00:00
Zeev Suraski
336004f4bc
Improved bailout mechanism, supports nested bailouts a-la try..catch
...
Note: You may *not* return directly from a catch block
2001-07-21 14:27:56 +00:00
Zeev Suraski
20d53346ce
Remove redundant code
2001-07-21 12:43:23 +00:00
Sascha Schumann
09ce807bf1
Drop memchr() in php_memnstr in favor of manual scanning. This reduces
...
the complexity of the function and is about 20% faster on Linux/x86.
2001-07-21 03:26:31 +00:00
Zeev Suraski
38e5a2077d
Clarify and optimize
2001-07-21 01:15:18 +00:00
Rasmus Lerdorf
bf513871bc
Fix more crashes related to this switch to z_value
2001-07-21 00:14:14 +00:00
Sascha Schumann
b79aa095f5
Fix last two instances of using ext/standard/php_output.h
2001-07-20 19:42:26 +00:00
Thies C. Arntzen
0453eff2b8
fix include
2001-07-20 19:37:19 +00:00
Zeev Suraski
11c2acc34a
Retain downwards compatibility - cool idea Jon :)
2001-07-20 17:10:04 +00:00
Zeev Suraski
ef9504cafc
Fix UNIX build
2001-07-20 15:06:51 +00:00
Zeev Suraski
6f297a370a
Fix Windows build
2001-07-20 14:40:30 +00:00
Zeev Suraski
13ac04b8e5
Avoid getting bailouts on text output during shutdown. Text output is now
...
'officially' disabled during shutdown (this doesn't change the Apache module
behavior, but may change behavior of other server modules, in which it was
possible to emit output during shutdown; I think it's a good step towards
consistency, though)
2001-07-20 13:59:00 +00:00
Daniel Beulshausen
aa032e2e4c
fix font handling in vdir mode
2001-07-20 11:25:13 +00:00
Sascha Schumann
4ebcdd9929
Add optional support for using boyer-moore to str_replace.
2001-07-20 01:22:29 +00:00
Joey Smith
c2e983709a
I just got annoyed by this, eventually. :)
2001-07-19 23:36:37 +00:00
Marc Boeren
2a661c6114
Added the error-message functionality (new in odbc module) (Mc)
2001-07-19 15:45:56 +00:00
Marc Boeren
e8bcbacb3e
changed implementation of creating reference to a value by columnname (Mc)
...
added a test for changing the referenced value (Mc)
2001-07-19 15:44:58 +00:00
Adam Dickmeiss
863062a8be
Function yaz_record handles MARC records that have identifers in 00X.
2001-07-19 13:27:58 +00:00
Stanislav Malyshev
dfe15ad070
Fix warnings
2001-07-19 08:12:12 +00:00
Sascha Schumann
ef42a25b42
Fix a serious long-standing bug which deleted the shared memory segment
...
when an Apache children died.
Dynamically resize hash-table.
The hash key is now stored as part of the hash entry structure which
saves a mm_malloc.
ps_sd_new has been restructured to avoid code duplication.
A bug concerning moving existing entries to the top of a linked list
has been fixed.
2001-07-19 04:16:54 +00:00
Sascha Schumann
664df24d11
Fix GC bug which did not increment the proper variable.
...
Fix warning regarding the initial hash value.
Use php_uint32 everywhere.
Speedup linked-list traversal by using the hash value.
Degrade linked-list to singledly linked-list.
Allocate a new shared memory buffer, if the data does not fit into the
current one. Prior to this change, we always allocated a new buffer.
Fix debug prints to be compatible with non-GCC compilers.
NUL-terminate string return values.
2001-07-18 23:18:58 +00:00
Sascha Schumann
9576ab24dd
Instead of using the poor system rand() algorithm and the
...
system-time seed, rely on the long-living LCG to determine
whether to start the GC process.
2001-07-18 22:56:56 +00:00
Sascha Schumann
dcc60b7f4a
The lcg needs to operate on signed 32-bit integers, so use
...
the proper php_int32 types here.
2001-07-18 22:55:52 +00:00
Sascha Schumann
e8fe8f9d99
Provide typedefs for php_int32
2001-07-18 22:54:55 +00:00
Sascha Schumann
eef0dda4da
Retire old hash algorithm and use the FNV-1 algorithm.
2001-07-18 21:39:02 +00:00
Harald Radi
3110a58795
fixed a bug in 'case VT_DATE'
2001-07-18 19:56:18 +00:00
Stanislav Malyshev
f0c879bb26
Make variables receiving long be long
...
Fix binary (x,o,b) formats - they should not be signed
2001-07-18 16:48:52 +00:00
Stanislav Malyshev
e2a7a6b0f6
Prevent cURl from always outputting the header. Fix bug #12018
2001-07-18 10:47:54 +00:00
Jason Greene
6034e5161d
Forgotten Include.
...
This should fix the windows build (though I currently don't have a way to test it)
2001-07-17 16:56:51 +00:00
Joey Smith
5f2d12c3bc
Be consistent with hashed_details behavior.
2001-07-17 08:16:58 +00:00
Jason Greene
8eb5a4b856
@Added support for socket and popen file types to ftp_fput (Jason)
2001-07-17 05:53:03 +00:00
Stanislav Malyshev
cdf0532ad3
Make read always 0-terminate strings
2001-07-16 15:44:36 +00:00
Stanislav Malyshev
b028410760
Add credits to GMP
2001-07-16 12:45:36 +00:00
Joey Smith
f272469b4c
Close Bug #10235 .
...
This makes domxml_root() work again. It now works
equally as well as object method or a simple function.
2001-07-16 11:16:44 +00:00
Rasmus Lerdorf
721c562e2a
Fix a couple of build warnings
2001-07-16 04:31:13 +00:00
Zeev Suraski
2edcf835ed
Update cast
2001-07-15 22:49:25 +00:00
Zeev Suraski
0078ceec19
Fix an inline
2001-07-15 19:08:32 +00:00
Zeev Suraski
94f5950438
Get rid of var_uninit()
2001-07-15 19:03:04 +00:00
Zeev Suraski
85b4df53c0
Improved interactive mode - it is now available in all builds, without any significant slowdown
2001-07-15 14:08:58 +00:00
Zeev Suraski
4e1c65b42b
Fix an inline
2001-07-15 14:08:23 +00:00
Stig Venaas
eabe8fcf8d
Fixed memory leaks in ldap_get_entries() and ldap_get_dn() when using
...
RFC1823 API
# These leaks have always been there, will fix in PHP3
@- Fixed various memory leaks in the LDAP extension (Stig Venaas)
2001-07-15 11:12:28 +00:00
Andi Gutmans
fbc8f3f51d
- Faster without calling strlen()
2001-07-14 16:41:58 +00:00
Rasmus Lerdorf
8406c2d682
Fix for bug #11632
2001-07-14 15:08:36 +00:00
Wez Furlong
36e008ee66
Fix for bug #12065
...
# Was that it??
2001-07-14 12:59:46 +00:00
Thies C. Arntzen
3db0b1813a
clearify ocisetprefetch
2001-07-14 12:45:42 +00:00
Boian Bonev
e0b3fd8cd1
replaced add_index_string with add_next_index_string
...
made vpopmail_alias_get_all return sane result
2001-07-13 20:45:19 +00:00
James E. Flemer
771e3e498f
o Fixed Bug #12121 : chdir and safe_mode
...
- [ main/safe_mode.h ] added new checkuid mode:
CHECKUID_ALLOW_ONLY_FILE: skips directory check if file check
fails
- [ ext/standard/dir.c ] changed php_checkuid() to use
CHECKUID_ALLOW_ONLY_FILE instead of CHECKUID_ALLOW_ONLY_DIR
- [ main/safe_mode.c ] added code for new checkuid mode
o Fixed Bug #12119 : safe mode owner check can be bypassed with symlink
- [ main/safe_mode.c ] use VCWD_REALPATH to resolve destination
of symlink before trimming filename
o New Feature: safe_mode_include_dir (php.ini directive)
- Allows bypassing UID/GID checks when including files
from the directory in safe_mode_include_dir and its
subdirectories. (safe_mode must be on, directory must
also be in include_path or full path must be used when
including)
o Fixed Feature: safe_mode_gid (php.ini directive)
- Correctly check (and report) UID/GID bits on directories
o Changed include() fall back to scripts cwd implementation
- CWD added to the (local) search path in php_fopen_with_path()
instead of seperate case. [ main/fopen_wrappers.c ]
2001-07-13 18:21:21 +00:00
Rasmus Lerdorf
b9325a36a8
Fix for #11941
2001-07-13 17:13:00 +00:00
Rasmus Lerdorf
df965e200c
Add fdf_set_encoding()
2001-07-13 16:58:09 +00:00
Sterling Hughes
f00791ce24
add missing break statements.
2001-07-13 16:44:44 +00:00
Thies C. Arntzen
15f55b5e56
change test-name
2001-07-13 15:49:18 +00:00
Thies C. Arntzen
d30590369a
make sure all string from zlib are \0 terminated.
...
change one realloc to erealloc (though this code is never reached IMHO)
add regression tests
2001-07-13 15:48:37 +00:00
Thies C. Arntzen
11eca11dca
fixed #12091 . added \0 bytes at EOS in a few cases.
2001-07-13 15:19:17 +00:00
Thies C. Arntzen
ba17fadbfb
@ - Fixed crash in iptcparse() if the supplied data was bogus. (Thies)
2001-07-13 14:35:05 +00:00
Thies C. Arntzen
249c010d92
make regession test of session work without the ugly hack in session.c
...
and removed that ugly hack.
2001-07-13 10:32:37 +00:00
Rasmus Lerdorf
65c8679b26
Fix for bug #12081
...
@ - Fix return value for a failed snmpset() - now returns false (Rasmus)
2001-07-13 05:21:37 +00:00
Rasmus Lerdorf
60c8e4409f
Add port support to snmp functions
...
@ - Add hostname:port support to snmp functions
@ (nbougues@axialys.net , Rasmus)
2001-07-13 05:09:40 +00:00
Rui Hirokawa
86ae8add13
added an option to support utf-8 in pcre.
2001-07-13 03:37:18 +00:00
John Donagher
84cc39ea5f
Quote grep patterns to avoid shell interpretation
2001-07-13 01:46:31 +00:00
Frank M. Kromann
cbfe23b99b
Fixing bug when using select unique from <table>
...
The value was not returned to the script
2001-07-12 22:43:25 +00:00
Sascha Schumann
87d99aa93c
Allow extensions to define custom prealloc sizes
2001-07-11 23:13:55 +00:00
Sterling Hughes
fc729b7cd5
Herr sascha's reccomendation.
2001-07-11 23:03:24 +00:00
Sterling Hughes
f76c42688d
Return proper length, thanks for excellent reports by Colin.
2001-07-11 18:10:52 +00:00
Thies C. Arntzen
5676e5ad05
use ZVAL_* macros
2001-07-11 15:27:37 +00:00
Thies C. Arntzen
bbe83e4f29
gzencode() now zero-terminates its buffer.
2001-07-11 15:26:42 +00:00
Hartmut Holzgraefe
319149fd8b
workaround to make ext/session well behaved with 'make test' and E_ALL
2001-07-11 13:46:11 +00:00
Hartmut Holzgraefe
e15d0193d9
cleanup in preparation for session_readonly()
2001-07-11 13:27:27 +00:00
Thies C. Arntzen
0ef0f8e32b
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
2001-07-11 12:42:25 +00:00
Stanislav Malyshev
adc98200d6
More correct pseudo-fix
...
# This is not really a fix. This thing is still broken. I will think on
# how to really fix it. Any suggestion is *welcome*.
2001-07-11 11:45:05 +00:00
Zeev Suraski
66d94bc655
Nuke zval_reset
2001-07-11 11:39:10 +00:00
Zeev Suraski
d70ce7be27
var_reset -> ZVAL_RESET
2001-07-11 09:39:09 +00:00
Shane Caraveo
ff4dfc56f2
prevent php from crashing when serializing circular data.
...
This script produced the crash.
<?
$hash["test_key"] = "test_value";
$hash["hash_key"] = &$hash;
echo serialize($hash);
?>
2001-07-11 05:57:18 +00:00
Andrei Zmievski
44de304a5f
Modified to work with the new parameter parsing API as a demonstration.
2001-07-11 03:58:51 +00:00
Sterling Hughes
dd3a7680ca
fix.
2001-07-11 01:06:09 +00:00
Frank M. Kromann
94e6db966b
changed return value from fbsql_query to be booloan
2001-07-10 23:39:39 +00:00
Frank M. Kromann
ad8150b3a9
Fixing return value from fbsql_query after a DELETE FROM with success.
2001-07-10 22:34:24 +00:00
Sterling Hughes
203ea6c51d
# I think i am quite stupid.
2001-07-10 20:31:49 +00:00
Sterling Hughes
5e4e376571
If the transfer fails, still free the buffer if it exists.
2001-07-10 20:09:56 +00:00
Zeev Suraski
4bbb8a001e
Fix a couple of buffer overflows in mcrypt.c
2001-07-10 12:57:28 +00:00
Rasmus Lerdorf
45d71e2951
Make range() function smarter
...
@ - Improve range() function to support range('a','z') and range(9,0)
@ types of ranges. (Rasmus)
2001-07-09 20:36:47 +00:00
Andrei Zmievski
f42519ffbd
*** empty log message ***
2001-07-09 18:54:59 +00:00
Thies C. Arntzen
9f3110ea32
fix newly introduced SEFAULT.
2001-07-09 18:01:18 +00:00
Sascha Schumann
aee2ff3ec9
__USE_GNU should not be defined by an application.
2001-07-09 17:44:07 +00:00
Rasmus Lerdorf
934e10c7dc
Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
...
a gid check instead of a uid check.
@ - Add getmygid() and safe_mode_gid ini directive to allow safe mode to do
@ a gid check instead of a uid check. (James E. Flemer, Rasmus)
2001-07-09 17:36:04 +00:00
Derick Rethans
9869ecc9b7
- Added php_escape_shell_arg to the header file
2001-07-09 17:02:50 +00:00
Thies C. Arntzen
61822fcd47
@ - assert() now accepts the array(&$obj,"methodname") syntax. (Thies)
...
+ some cleanups
2001-07-09 10:20:41 +00:00
Thies C. Arntzen
e7b01fc53c
added test for assert
2001-07-09 09:08:14 +00:00
Thies C. Arntzen
08546ef0e8
changed to use Z_* macros
2001-07-09 09:04:19 +00:00
Thies C. Arntzen
1be0975dff
added test for serialize
...
changed var.c to use Z_* macros
2001-07-09 09:03:06 +00:00
Thies C. Arntzen
6708768c07
xml_utf8_encode: make sure the returned data is zero-terminated
2001-07-09 06:49:34 +00:00
Thies C. Arntzen
1e3553bd42
use erealloc for zvals!
2001-07-09 06:48:15 +00:00
Sascha Schumann
28efce4019
Reset strtok_string, so that strtok can be used in all session handler
...
functions.
2001-07-08 23:28:48 +00:00
Shane Caraveo
fd2c27c061
Enable using an external mailer under windows.
...
1. this depends on the patch to fix tsrm I sent to dev
2. this provides backwards compatibility, as long as sendmail_path in the ini file is empty, the old internal mailer will be used, once sendmail_path is defined, the external sendmail program will be used.
I tested with indigomail from www.indigostar.com, which provides the same command line interface as sendmail no linux.
2001-07-08 22:30:11 +00:00
Sascha Schumann
69d129bdfb
Needed for the prototype of php_escape_shell_cmd().
2001-07-08 19:09:59 +00:00
Thies C. Arntzen
423613f4ee
@ - Make sure that OCI8 outbound variables are always zero-terminated. (Thies)
2001-07-08 12:37:08 +00:00
Joey Smith
cd9fe169e1
This should get xmldocfile() working again.
...
This should fix bugs:
11192, 10899
2001-07-08 00:54:25 +00:00
Jason Greene
be8b7f9981
Signal numbers are not uniform accross all platforms.
...
Modified test to use the constants unless a failure occurs.
2001-07-06 18:30:38 +00:00
Daniel Beulshausen
805c76f742
fix dsp (?)
2001-07-06 17:53:02 +00:00
Dan Kalowsky
eb7b11ce2e
Making --with-openlink work the same as --with-iodbc for it's eventual
...
disappearing act.
# As requested by the Openlink Software people
2001-07-06 14:30:34 +00:00
Rui Hirokawa
7dcb3cdfbd
fixed argument number in mb_send_mail().
2001-07-06 13:21:47 +00:00
Rui Hirokawa
659282bfbc
fixed argument number in mb_send_mail().
2001-07-06 13:19:36 +00:00
Sascha Schumann
dda5663549
Fix Unix build (AC_ADD_* -> PHP_ADD_*)
2001-07-06 11:51:11 +00:00
Daniel Beulshausen
0568236d13
fix win32 build
2001-07-06 09:51:03 +00:00
Jason Greene
14646bf08e
Fix proto's and some ws ugliness
2001-07-06 06:00:51 +00:00
Jason Greene
0bfa63490d
Added wait.h functionality to pcntl
...
Added tests for such functionality
Removed bogus files
2001-07-06 05:48:52 +00:00
Joey Smith
08d1178d6e
Be consistent across all cases.
2001-07-06 01:21:55 +00:00
Hartmut Holzgraefe
7b9b542af3
experimental db++ database support
2001-07-06 00:04:03 +00:00
Hartmut Holzgraefe
46265b64ce
preliminary documentation for db++ support in ext/dbplus
2001-07-05 23:58:53 +00:00
Sean Bright
9d05cba6b8
This should be lower-cased per the documentation and previous
...
implementation.
2001-07-05 23:29:11 +00:00
Jason Greene
2b8945965b
Check for getpgid (torben@php.net)
2001-07-05 22:01:42 +00:00
Wez Furlong
79ce305d1a
Made imagegammacorrect() work on true-color images.
...
Added support for new ImageStringFTEx function (due in GD 2.0.2).
2001-07-05 21:23:28 +00:00
Wez Furlong
8ca519ca88
Change a load of E_ERRORS into E_WARNINGs; it was being a bit too severe,
...
which meant that scripts could not identify (or even display) errors before
PHP bailed out.
2001-07-05 21:18:21 +00:00
Frank M. Kromann
37cd3e026c
Optimizing the mssql_execute function.
2001-07-05 19:17:33 +00:00
Wez Furlong
4948cb1691
More ifdefs, just in case.
2001-07-05 10:53:15 +00:00
Wez Furlong
ca9c4b3753
Added loads of #ifdefs; should fix Bug #11889 .
2001-07-05 10:49:58 +00:00
Wez Furlong
9b889bef19
Added name for enum, hopefully fixing the win32 build.
2001-07-05 09:55:13 +00:00
Derick Rethans
832fe2e636
- Fix for the first part of Bug #11890
...
@- Fixed a bug that allowed users to spawn processes while using the 5th
@ parameter to mail(). (Derick)
2001-07-05 08:47:37 +00:00
Jason Greene
e48bc17c58
Fix build on linux
...
Heads up Wez
2001-07-05 07:12:28 +00:00
Jason Greene
d4391dcdd8
no need to implement these functions, already in posix module
2001-07-04 22:02:00 +00:00
Jason Greene
7f2fa9fea7
Actually check for the needed system calls.
...
Currently require sigaction, fork, waitpit.
2001-07-04 21:51:22 +00:00
Sascha Schumann
ef13ab5750
Improve url scanner speed (up to 40% for large chunks of data)
...
and handle some corner cases better. The scanner has been changed
to the format as proposed in "RE2C - A More Versatile Scanner Generator"
by Cowan et al.
2001-07-04 15:30:21 +00:00
Nikos Mavroyanopoulos
98b1d4bbf4
fixes in source documentation
2001-07-04 13:33:11 +00:00
Wez Furlong
a07a26888e
Added a couple of new functions to "modularize" working with calendars.
...
Added a few constants for the existing functions, and tidied them up a bit.
2001-07-04 10:12:45 +00:00
Wez Furlong
f1364ebf3e
(PHP nl_langinfo) Added function when provided by OS
...
(PHP htmlentities, htmlspecialchars) Uses nl_langinfo to determine charset
@- Added nl_langinfo() (when OS provides it) that returns locale
information. (Wez Furlong)
# There are a lot of constants used by nl_langinfo; should we do something
# along the lines of what we do for syslog?
2001-07-04 10:10:30 +00:00
foobar
7adb7db038
This works better.
2001-07-03 21:09:16 +00:00
Frank M. Kromann
6c20b4de53
This module is no longer experimental
2001-07-03 18:45:11 +00:00
Rui Hirokawa
f90580caf1
fixed an argument in example of ext/xslt.
2001-07-03 16:59:46 +00:00
Rainer Schaaf
b18dd1bab3
- fixed bug in pdf_open_image_file when using images as masks.
...
- clean up some comments
2001-07-03 14:35:08 +00:00
Sterling Hughes
6809bcf2b5
Small fixes.
2001-07-03 12:16:03 +00:00
Zeev Suraski
551f1831a7
Fix a major thread safety bug in the output mechanism
...
@- Fixed a major memory corruption bug in the thread safe version (Zeev)
2001-07-02 18:17:10 +00:00
foobar
610ebfe3de
Missing constant.
2001-07-02 12:49:21 +00:00
Sterling Hughes
4dc55c14a4
Fix possible corruption problem with curl_errno() and curl_error()
2001-07-02 12:08:21 +00:00
Sterling Hughes
d097b0ed86
Fix mispell.
2001-07-02 11:56:08 +00:00
Derick Rethans
91424b2b91
- Fixed proto's (Patch by Zak)
2001-07-02 11:11:58 +00:00
Rui Hirokawa
30ca718935
fixed a link problem of shared extension module in ext/xslt.
2001-07-02 01:55:43 +00:00
Daniel Beulshausen
4aa6ae493e
PHPAPI-ize php_var_* functions
...
# need this for shm*
2001-07-01 20:18:51 +00:00
Sean Bright
55fecbab76
Remove unused variable.
2001-07-01 14:07:44 +00:00
Sascha Schumann
da3b899dd8
mhash_keygen_s2k() overwrote the limits of a statically allocated buffer
...
for long salts. We truncate the salt now appropiately.
PR: #11817
2001-07-01 11:20:56 +00:00
Sean Bright
1b0356e0f7
Fix for bug #11796 . Also, fixed a problem in get_meta_tags that required
...
NAME and CONTENT to be in that order. Meta tags with no CONTENT attribute
are now added to the array as empty strings. Meta tags with no NAME
attribute are ignored.
2001-06-30 20:07:12 +00:00
foobar
61b28c586a
If no backend is specified, bail out.
2001-06-30 00:48:35 +00:00
foobar
c493c298d4
Now all these options should behave the same.
2001-06-30 00:38:06 +00:00
Hartmut Holzgraefe
7f08918b87
suppress sending of cookies if session id already came
...
from a non-cookie source
2001-06-29 05:27:57 +00:00
foobar
bc3482d65f
Fixed bug: #11728 . Error message was cleared before outputted in pg_pconnect()
2001-06-29 03:12:06 +00:00
Derick Rethans
3b66803260
- Fix for bug #11775 : Typo in cpdf.c
2001-06-28 21:59:26 +00:00
Harald Radi
851d401e23
changed CLSIDfromProgId to CLSIDfromString
2001-06-28 21:26:20 +00:00
Frank M. Kromann
a98efcda76
Adding new function to convert from binary to GUID format
2001-06-28 16:59:17 +00:00
foobar
5884ff3412
let this be more userfriendly.
2001-06-28 15:16:28 +00:00
Sterling Hughes
540391326c
# leftovers
2001-06-26 22:49:54 +00:00
Sterling Hughes
abd3b1543c
Making logging optional.
2001-06-26 22:48:44 +00:00
Joey Smith
eaaf36b65e
Make info look more like mysql's output.
2001-06-26 21:00:13 +00:00
Joey Smith
d4881848a3
Added charset support.
2001-06-26 20:56:03 +00:00
Zeev Suraski
f35b85b4c1
Fix bug #11678
2001-06-26 18:30:31 +00:00
Sterling Hughes
8133703841
special offer... 0 out a structure, and remove a crash bug...
...
# Offer only available between 6/30/2001 - 7/14/2001, Exclusively for
# cvs committers
2001-06-26 18:20:28 +00:00
Zeev Suraski
49d1e26143
Fix Win32 build
2001-06-26 13:33:24 +00:00
foobar
0b7bf00cfc
Simplify this and fix bug: #11654
2001-06-26 11:35:34 +00:00
foobar
531ec3623f
No need for this constant.
2001-06-26 10:39:15 +00:00
foobar
0d3832ccdb
Added an optional 2nd parameter 'readall' to read_exif_data.
2001-06-26 09:52:54 +00:00
foobar
9813454356
This test won't work without these libs. Also, it might fail for other
...
reasons too.
2001-06-26 05:50:42 +00:00
Jason Greene
8f1f79fa7b
*BSD doesn't have SIGPOLL or SIGPWR
2001-06-26 04:54:47 +00:00
Sterling Hughes
c01ab20f01
Bunch of fixes, tested a bit, folks, please test with your scripts. changes
...
include nuking unnecessary extra copies, fixing handling of optional args,
adding an additional argument.
also, fix socket_read() which used the php_read function by
default (by default, reading 4k would cause 4k calls to the read() function),
now it uses the system's built-in read() function, only uses php_read()
when its explicitly specified.
2001-06-26 04:19:39 +00:00
Jason Greene
333b1bf9c8
Fix casting wierdness that broke compiled code with Sun CC.
...
(Also easier to read)
2001-06-25 17:56:23 +00:00
Sterling Hughes
0216627522
@ Fixed a crash when using the CURLOPT_WRITEHEADER option. (Sterling)
...
# Folks please test, I've tested a limited amount of test cases, however,
# this change is far reaching, so I couldn't test all the necessary things
2001-06-25 15:14:20 +00:00
Sergey Kartashoff
0f3e5a3914
Security fix in Udm_Set_Agent_Param function.
2001-06-25 11:36:42 +00:00
foobar
9b131c2633
added missing include
2001-06-24 23:29:13 +00:00
Harald Radi
4a29944dac
added verbose ini entry
2001-06-24 22:20:28 +00:00
foobar
2c95a1d690
The extension name seems to be usually totally lower-cased.
2001-06-24 22:18:51 +00:00
foobar
c72bac335d
A little typo here.. :)
2001-06-24 22:00:45 +00:00
foobar
a8382659f9
added missing ending fold tag.
2001-06-24 21:58:47 +00:00
Harald Radi
7c95f0436f
adapted to changes from com module
2001-06-24 21:20:23 +00:00
Harald Radi
22d42820b7
cast error
2001-06-24 21:19:49 +00:00
Sascha Schumann
5f51da8c58
Remove bogus use of volatile and add a note about using inet_ntop
...
instead.
2001-06-24 21:16:21 +00:00
Harald Radi
69abb74075
fixed bug that resource was freed twice
2001-06-24 21:10:08 +00:00
Harald Radi
750fee8fa0
cleanup
2001-06-24 21:09:32 +00:00
Harald Radi
3949658942
cleanup
...
added some macros
2001-06-24 21:09:17 +00:00
Sterling Hughes
35a816ce5f
Hopefully fix leaks...
2001-06-24 17:50:16 +00:00
foobar
242b8af6aa
fixed bug: #11641
2001-06-24 15:56:05 +00:00
foobar
315cfb2b4e
This is better looking. Other options use the same.
2001-06-24 12:53:17 +00:00
Stig Venaas
4172edad96
Fixed memory leak in ldap_first_attribute(), ldap_next_attribute(),
...
ldap_get_attributes(), ldap_get_dn() and ldap_dn2ufn() when using post
RFC 1823 API. Still more leaks to fix.
2001-06-23 13:43:20 +00:00
foobar
087398621f
fix build.
2001-06-23 11:26:24 +00:00
foobar
cc6a1b20fd
Moved some messages to the end of configure process so they are easier
...
to notice.
2001-06-23 10:21:00 +00:00
Hartmut Holzgraefe
045acafc52
@added optional suffix removal parameter to basename() (Hartmut)
...
added optional suffix removal parameter to basename()
this makes it more simmilar to the basename command
2001-06-23 00:51:03 +00:00
foobar
d87e59a1a3
Make it possible to build this extension as shared module.
2001-06-22 15:52:25 +00:00
foobar
f61eac29ad
Make it possible to build mysql extension as shared module.
2001-06-22 15:03:10 +00:00
Sergey Kartashoff
5d2d340af9
mnoGoSearch module test example updates
2001-06-22 08:54:31 +00:00
Sergey Kartashoff
bdf1db6bdb
A new parameter UDM_PARAM_VARDIR has been added in
...
Udm_Set_Agent_Param function to support alternative search data directory.
This requires mnogoSearch 3.1.13 or later.
@- A new parameter UDM_PARAM_VARDIR has been added in
@ Udm_Set_Agent_Param function to support alternative search data directory.
@ This requires mnogoSearch 3.1.13 or later.
2001-06-22 08:43:24 +00:00
Sascha Schumann
6558ae6f21
dup fds before fdopen'ing them, so that people cannot deliberately
...
close stdio streams.
This needs to be tested on non-UNIX platforms.
PR: #11599 , #8624
2001-06-22 07:07:48 +00:00
Thies C. Arntzen
bd4f32cf12
- fixed the reference in session thingie
...
- regression test checked (this time;-)
- added new regression test for references
- references _between_ session variables also work in when the session var
replaces an already existing global var (this was a brain twister)
- saved one strlen call per session variable
- fixed one tiny leak
2001-06-21 18:46:26 +00:00
Sascha Schumann
d6d59a9ee5
1. st_blksize might be different for regular files and symlinks; hence
...
ignore differences in the twelfth element of the stat() array.
2. The 'test.file' is created by the script, thus the owner of the file
is the user id executing the script. A mode of 0654 does not grant
the owner the right to execute the file and therefore, the correct
output here is "not executable."
2001-06-21 11:15:38 +00:00
Sascha Schumann
375ef3aec5
Back out severely broken patch. I currently don't have the time
...
to debug this. Please reapply a fixed version.
2001-06-20 23:39:28 +00:00
Frank M. Kromann
d5d7cf7390
Changed length of BIT string.
...
Changed return value of fbsql_field_length to long
2001-06-20 22:54:51 +00:00
Stig Venaas
399885cddb
Fixed memory leak in ldap_get_entries() when using post RFC 1823 API.
...
Similar problems for other functions will be fixed
2001-06-20 21:12:55 +00:00
Colin Viebrock
a367c39c2e
date('W') now returns week of year (ISO 8601)
2001-06-20 18:07:53 +00:00
Thies C. Arntzen
03ae0d775b
add PLS_FETCH();
2001-06-20 15:46:47 +00:00
Thies C. Arntzen
45f629925f
@- Fixed references in sessions. This doesn't work when using the
...
@ WDDX session-serializer. Also improved speed of sessions. (Thies)
from now on php_set_session_var no longer copies the variable recovered from a
session (tested with php, php_binary and wddx). this should speed up session
deserializing quite a bit. (this damn thing has cost me 6 hours of my life;-)
2001-06-20 15:16:08 +00:00
Rasmus Lerdorf
94897efc36
Fix for #11570
2001-06-20 14:47:26 +00:00
Marc Boeren
d0fba81668
All files are now in Unix-linebreak mode (\n only). Somehow \r\n still
...
created problems with some cvs clients.
2001-06-20 11:30:47 +00:00
Jason Greene
351b78d87e
Make pcntl async safe by registering as a zend extension and grabing the
...
statement handler. There could possibly be a more atomic hook in the future.
Also added simple TODO section to README.
NOTE: sleep() grabs SIGALRM on solaris, so
test-pcntl.php's alarm_handle function will not catch.
2001-06-19 21:42:57 +00:00
Sebastian Bergmann
d926e84e5f
Change copyright note.
2001-06-19 21:25:53 +00:00
Sebastian Bergmann
3f4a4a3643
Change copyright note.
2001-06-19 21:14:39 +00:00
Jon Parise
dbd51aaf61
Allow the PostgreSQL driver to do internal row counting when iterating
...
through a result set.
Submitted by: Georg von Zezschwitz <gvz@2scale.net>
2001-06-19 18:10:08 +00:00
Dan Kalowsky
746dd9cbe4
Closed off Solid DB access to a function that it doesn't support in 3.0 and less.
...
Thanks to Eric Veldhuzen
2001-06-19 17:58:09 +00:00
foobar
1e0aaeffe9
Fix bug: #11508
2001-06-19 16:48:37 +00:00
Andi Gutmans
c977f29862
- Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
2001-06-19 16:03:35 +00:00
Sebastian Bergmann
e4f109b69f
Finish phpinfo() HTML 4.01 tweaking.
2001-06-19 15:21:28 +00:00
Sebastian Bergmann
615cf785c1
Fix crash bug in urlencode().
2001-06-19 15:20:50 +00:00
Harald Radi
85bb9e77e4
fixed malloc() / emalloc() bug
2001-06-15 21:48:05 +00:00
Sebastian Bergmann
499334e498
Make output of phpinfo() compliant with HTML 4.01.
2001-06-15 18:34:09 +00:00
Marc Boeren
fa168d6b38
Changed username and password for pgsql in include file.
2001-06-15 13:25:44 +00:00
Marc Boeren
35f8d4cb44
Added a pgsql testdatabase create script (thanks Christian)
...
Fine-tuned some tests.
2001-06-15 12:43:15 +00:00
foobar
32de53b7f5
Fixed proto. (also bug #10334 )
2001-06-15 10:44:50 +00:00
Stanislav Malyshev
5ad3d2828f
Fix potential crash
2001-06-14 15:36:10 +00:00
Dan Kalowsky
f2ec3fa6e5
adding in some error checking for parameter counts, and some thread safety for
...
functions
2001-06-14 15:02:17 +00:00
Daniel Beulshausen
e4a2620d80
update credits
2001-06-14 10:05:41 +00:00
foobar
97a98c6888
This extension works with pdflib 4.x too..
2001-06-14 04:35:11 +00:00
Stig Venaas
a694b4b206
Added myself to the credits
2001-06-13 20:13:54 +00:00
Zeev Suraski
1093ed17fb
Clean-up
...
Remove a lot of 100% redundent code
2001-06-13 17:04:36 +00:00
Frank M. Kromann
a86a08cc06
Fixing the return type of numeric data to be numeric
2001-06-13 17:00:32 +00:00
Marc Boeren
bfd1f986b1
Latest (minor) fixes: mssql, mysql and odbc now pass the testset correctly.
...
# I need a working setup to test pgsql with the test-set as well.
2001-06-13 13:35:17 +00:00
Hartmut Holzgraefe
f3fa23ace9
more functions, most of the simple ones (parameterwise) are now in
2001-06-13 07:26:41 +00:00
Jason Greene
5ae35781e3
Adding some ifdefs for better platform compatibility
2001-06-13 01:13:05 +00:00
Thies C. Arntzen
d34fad6be2
namespace protect one enum to fix compile with ncurses
2001-06-12 21:34:47 +00:00
Harald Radi
c7a934e763
added coauthors
2001-06-12 21:19:35 +00:00
Hartmut Holzgraefe
453a4ae985
initial version of ncurses extension,
...
see example1 for whats possible right now
2001-06-12 21:15:49 +00:00
Daniel Beulshausen
0d6661b436
fix build
2001-06-12 21:06:01 +00:00
Harald Radi
96686930ab
added Alan Brown to credits
2001-06-12 20:33:50 +00:00
Stig Bakken
2a61bad994
(PHP curl_setopt) fix CURLOPT_HTTPHEADER crasher (Stig)
2001-06-12 20:23:14 +00:00
Daniel Beulshausen
d5e9942bfb
get rid of some getsockname() calls
2001-06-12 16:41:51 +00:00
Harald Radi
0f3ab761b6
added experimetal php->safearray support
2001-06-12 16:31:54 +00:00
Marc Boeren
92eb51fde2
Fixed bug concerning mysql default_link that got freed too soon (Mc).
...
Added the test-case to te connect-test-file (Mc).
2001-06-12 15:32:22 +00:00
Jason Greene
3fd006d648
Remove bugus file.
2001-06-12 09:05:40 +00:00
Jason Greene
8b43f3222e
@Added new experimental module pcntl (Process Control) (Jason)
...
Initial Import
2001-06-12 08:54:25 +00:00
foobar
3186994df1
Fix bug: #11397
2001-06-12 05:28:41 +00:00
foobar
9ddd6300de
Fix the compile problem on some systems that do not have hstrerror()
2001-06-12 04:42:01 +00:00
Frank M. Kromann
44bc630d9b
Fixing return value for fbsql_query on updates and fixing crash on fbsql_connect.
2001-06-12 00:39:05 +00:00
Harald Radi
20bb78f397
added experimental enum support
...
changed everthing to use the Z_* makros
2001-06-11 23:05:32 +00:00
Daniel Beulshausen
a82f4f76e8
add mbstring & xslt
2001-06-11 15:43:50 +00:00
Daniel Beulshausen
669a6d6cf2
should build under windows as well
2001-06-11 15:31:58 +00:00
foobar
73bfcd8a8a
this should be here..styles must be array
2001-06-11 15:21:47 +00:00
Daniel Beulshausen
491fcd2ef8
used in extension(s) as well
2001-06-11 15:18:44 +00:00
Daniel Beulshausen
c6b4e55838
PHPAPIize url function to make them available to the outside (i.e. mbstring)
2001-06-11 15:14:04 +00:00
Daniel Beulshausen
218f570864
let this stuff build under windows
2001-06-11 14:53:31 +00:00
Daniel Beulshausen
cae817a520
move some constants to a more appropriate place
2001-06-11 14:46:44 +00:00
foobar
8b15d97a31
fixed proto
2001-06-11 14:39:13 +00:00
foobar
ffd1c31b53
Partial fix bug: #11333
2001-06-11 13:57:47 +00:00
Marc Boeren
113b128290
Fixed bug that caused dbx_query to segfault on Linux (not Windows, though)
2001-06-11 13:03:10 +00:00
Dan Kalowsky
a7e9b56112
# just correcting the evil vim removal of {{{'s and }}}'s ... bad vim! no folding for you!
2001-06-11 01:00:43 +00:00
Harald Radi
22790c9602
removed warnings
2001-06-10 23:26:35 +00:00
Dan Kalowsky
eea60318d7
corrected a compile error (named variable missing). thanks to sebastian for pointing it out
...
# but why is he getting php-cvs commit messages and i'm not?!?
# i hope to hear that the mailing lists will be back online soon...
2001-06-10 22:40:32 +00:00
Sascha Schumann
5ebe991cfe
Signal that no entry was found
2001-06-10 14:12:28 +00:00
Rui Hirokawa
fd46c91466
modified code freeing resouce which causes segmentation fault.
2001-06-10 09:41:43 +00:00
Sascha Schumann
22e506727c
The Gettext module is not limited to the GNU implementation.
2001-06-09 16:55:27 +00:00
Daniel Beulshausen
bdcff9817b
fix compilation
2001-06-09 09:30:42 +00:00
Daniel Beulshausen
6ebd6f956c
fix module initialization
2001-06-09 09:23:49 +00:00
Dan Kalowsky
c3a3d5c853
added in a bit more checking on the persistent connection checks...
2001-06-08 15:31:29 +00:00
Sascha Schumann
b31801b249
Check for http_session_vars != NULL.
2001-06-08 11:45:53 +00:00
Rui Hirokawa
2be3c40b31
added charset parameter to output of mb_output_handler().
2001-06-07 15:11:11 +00:00
Adam Dickmeiss
04bf3ebd55
Remove .libs in path to libyaz.la to make libtool 1.4 happy.
2001-06-07 13:40:31 +00:00
foobar
c2f4987ebd
Removed some ws and couple of useless comments.
2001-06-07 13:17:02 +00:00
Rasmus Lerdorf
81af7edbd0
Blowfish detection patch from Alexander Bokovoy <ab@avilink.net>
2001-06-07 12:18:02 +00:00
Sterling Hughes
bf1738e86d
remove unneccessary cast
2001-06-06 20:30:58 +00:00
Stanislav Malyshev
02b369e3a6
Make gmp compile again
2001-06-06 17:52:03 +00:00
Frank M. Kromann
127f827f76
Update fbsql_fetch_array() to match documentation
2001-06-06 16:57:16 +00:00
Uwe Steinmann
85d3d3e199
- fixed some compiler warnings
2001-06-06 14:48:01 +00:00
Rasmus Lerdorf
9c55882133
Fold a bit more code
2001-06-06 14:32:27 +00:00
Rasmus Lerdorf
81e2cf03ac
Fix folding and clean up some extensions
2001-06-06 13:06:12 +00:00
Wez Furlong
94ea334dce
Prevent problems with PDFlib 3.00 when setting the imagewarning parameter.
...
# I don't know if this is in later minors of PDF 3.x; someone please check!
2001-06-06 09:58:22 +00:00
Andy Sautins
c3106f4c3e
Change OCIFreeColl to OCIFreeCollection for consistency
...
with OCINewCursor/OCIFreeCursor
2001-06-06 00:08:21 +00:00
Rui Hirokawa
3acd77576e
defined HAVE_CONFIG_H to enable DSO extension support.
2001-06-05 23:11:29 +00:00
Harald Radi
de780b345c
bugfix: collections didn't work correctly
2001-06-05 22:09:58 +00:00
Frank M. Kromann
f8a697e2e8
Fixing memory leak.
...
Fixing mssql_pconnect to work with ISAPI
Adding MSSQL_NUM, MSSQL_ASSOC and MSSQL_BOTH so the extension will be more compatible with MySQL
2001-06-05 21:09:50 +00:00
Harald Radi
f6dc573f32
put VT_ARRAY outside of the switch
2001-06-05 16:24:53 +00:00
Jason Greene
14afcf724d
Fix Non-terminated comment
2001-06-05 16:06:31 +00:00
Rui Hirokawa
491d00e46d
two bug fixed: return value of mb_strimwidth() was invalid and separator parameter of mb_parse_str wasn't worked.
2001-06-05 14:25:23 +00:00
Marc Boeren
7567bf1862
Created a testset and a script to create a (mysql) database. This script
...
is easily modified to create other databases as well. The testset needs the
database, but it doesn't need to be a mysql database. Scripts to generate
other databases (with the same structure and data) would be appreciated.
2001-06-05 13:51:01 +00:00
Marc Boeren
98eed02fd7
Replaced dbx_cmp_asc and dbx_cmp_desc with dbx_compare function and
...
DBX_CMP_ASC, DBX_CMP_DESC flags.
Default comparison changed from DBX_CMP_TEXT to new DBX_CMP_NATIVE.
Solved bug in associative fields when using mssql
Cleaned up comments (/*/ ... /*/ to /* ... */)
dbx_connect now always return false if the database is not found.
Optimized dbx_query field-info retrieval loop
2001-06-05 13:39:09 +00:00
Rasmus Lerdorf
25c3a3a39d
vim-6 does folding - clean up a bunch of missing folding tags plus
...
some misguided RINIT and RSHUTDOWN calls in a few fringe extensions
2001-06-05 13:12:10 +00:00
Harald Radi
4efe6f7e6b
typelib is loaded automatically (depends on ini setting)
...
added com_load_typelib()
# i must get rid of duplicate defines()
@ fixed a bug when com.allow_dcom is set to false
@ added a further parameter to the constructor to load typelibs
@ from file when instantiating components (e.g. DCOM Components
@ without local registration). (phanto)
2001-06-05 12:53:44 +00:00
Harald Radi
088280c364
-used makros for zval modifications where possible
...
-small fixes in safearray to phparray code
2001-06-05 12:47:13 +00:00
foobar
d1a382a1e8
Fixed bug: #11265
2001-06-04 08:06:07 +00:00
foobar
fadd1472ea
Fix bug: #9713
2001-06-04 02:04:46 +00:00
foobar
08ef1eac4a
Always use -n...
2001-06-04 01:36:14 +00:00
Sterling Hughes
d892b34a36
fix this (mea culpa, stray commit)
2001-06-03 21:38:23 +00:00
foobar
75720b018e
Fixed little buggie with T1lib support.
2001-06-03 21:32:53 +00:00
Sascha Schumann
72b9547d26
Fix XML build.
...
# sniper, did you ever test one of your patches?
2001-06-03 17:11:05 +00:00
Harald Radi
c073b5ce04
added safearray to pval conversion for 1d arrays
2001-06-03 15:35:41 +00:00
Harald Radi
b8627e62d4
@ added the possibility to specify typelibs by full name
...
@ in the typelib file (Alan Brown)
2001-06-03 15:33:41 +00:00
Sascha Schumann
36cfb10d79
fix logic
2001-06-03 13:59:21 +00:00
Harald Radi
c9159797d8
removed unneeded function
2001-06-03 01:38:56 +00:00
Harald Radi
ea6d39ca1c
fixed typelib support
2001-06-03 01:20:08 +00:00
Rui Hirokawa
73aee8095f
a bug fixed about memory reallocation and added extra parameter support to mb_send_mail().
2001-06-03 01:14:45 +00:00
Sterling Hughes
c0779b6db9
Leftovers from master Beckham's patch.
2001-06-02 05:25:36 +00:00
Sterling Hughes
aa281a0771
Patch from Daniel Beckham, fetch the entry resource id, not the directory
...
resource id and fix prototype.
2001-06-02 05:12:44 +00:00
Frank M. Kromann
ea90497f67
Changed efree to free for perststant data.
2001-06-01 23:51:48 +00:00
Harald Radi
94769b8f72
removed hardcoded typelib version.
...
forgot to call release on typinfo and dispatch
when obtaining typelib from classname.
2001-06-01 23:39:44 +00:00
Frank M. Kromann
354c57a931
Gerring rid of C++ comments,
...
Adding extra cleanup.
2001-06-01 22:27:00 +00:00
MySQL Team
e8cbbc0637
Upgrade ext/mysql/libmysql to version 3.23.39. No major changes -
...
portability fixes.
Also add configure test for HAVE_INT_8_16_32 which should solve
compilation problems on AIX.
2001-06-01 20:07:26 +00:00
Sterling Hughes
304ac03be4
ops..
...
#coffee good
2001-06-01 18:54:14 +00:00
Sterling Hughes
c6402b2a2f
# see
...
.
2001-06-01 18:47:03 +00:00
Sterling Hughes
015e1d3d68
# testing changes is a good idea.
...
We were passing the php socket resource identifier to select instead of
the socket fd...
2001-06-01 18:41:06 +00:00
foobar
cbe4d10a68
Cleaning up and fixed some compile problems on systems that only support static libs.
2001-06-01 12:49:50 +00:00
foobar
69e6f7ae52
Use different define name for this.
2001-06-01 06:42:14 +00:00
foobar
c44198ff3a
Cleanup. ws fixes (no tabs in config.m4 files please)
2001-06-01 06:41:45 +00:00
foobar
4c2340897a
Cleanup a little bit.
2001-06-01 06:40:15 +00:00
foobar
16216e3eed
Make use of the --with-expat-dir configure option
2001-06-01 06:32:02 +00:00
foobar
3a1b61c07d
Fix bug: #9009 .
2001-06-01 06:26:22 +00:00
foobar
58d35ea778
Missing entries in phpinfo() output
2001-06-01 05:02:13 +00:00
foobar
328258ac08
Output something if password is not set.
2001-06-01 05:01:50 +00:00
Sterling Hughes
ad0fb091a3
fix crash.
2001-05-31 23:48:05 +00:00
foobar
334ac7fc94
- Cleaned up some whitespace (sorry, I should have committed that before
...
any other changes)
- Made use of the Zend resource macros
2001-05-31 21:09:30 +00:00
Frank M. Kromann
8d3ef75182
Fixing crash in shutdown after executing a SQL statement with errors
2001-05-31 19:40:24 +00:00
Frank M. Kromann
75daa01362
Adding missing resource
2001-05-31 18:57:58 +00:00
Frank M. Kromann
7fd7f0517a
Changed code to return resources for links and results
2001-05-31 18:43:29 +00:00
Sterling Hughes
db305fc6f7
small ws fix.
2001-05-30 20:16:23 +00:00
Sterling Hughes
28160f73d0
Revert as per Herr Schumann's request.
2001-05-30 19:56:11 +00:00
Sterling Hughes
506ceb28fc
Try #2
...
# aka, flying blind in a shitstorm, but it shouldn't hurt anything
2001-05-30 19:43:27 +00:00
Sterling Hughes
948edd322b
should fix warnings under winblows.
2001-05-30 18:33:46 +00:00
Sterling Hughes
439038759b
should fix compile warnings on win32
2001-05-30 17:49:33 +00:00
Sterling Hughes
c9ce7fcfc3
fix compile
2001-05-30 17:43:32 +00:00
Chuck Hagenbuch
093a807c11
Include the To: address in the overview information (already in the
...
envelope; it doesn't cost us anything).
2001-05-30 16:52:17 +00:00
Rasmus Lerdorf
1d115dbe8c
ldap_result_entry needs to be initialized - tested
...
Should probably MFH this once someone else tests.
2001-05-30 15:09:20 +00:00
Adam Dickmeiss
c62baa9dc6
Added array options for yaz_connect: user, group, password, cookie,
...
proxy, and persistent.
2001-05-30 13:23:20 +00:00
Rasmus Lerdorf
7ee4c793c3
Note to self - stop coding on planes
2001-05-30 12:30:14 +00:00
Adam Dickmeiss
9667d6b381
Fixed bug where yaz_connect could fail in cases where it shouldn't.
2001-05-30 11:58:25 +00:00
Andrei Zmievski
daefeb59d5
Kill warning.
2001-05-29 20:32:57 +00:00
Frank M. Kromann
50bc884f78
Adding fbsql_status_db(). New function to get the status of a given database.
2001-05-29 16:01:54 +00:00
Chuck Hagenbuch
8f27945621
imap_thread(), from Rob Siemborski <rjs3@andrew.cmu.edu>.
2001-05-29 15:34:18 +00:00
Stanislav Malyshev
ca8c8264db
Fix the reference serializer
...
# Hope now it is right...
2001-05-29 13:19:24 +00:00
foobar
56c24c3309
This should finally get rid of those zlib problems. And this is safe too.
2001-05-29 11:59:33 +00:00
Wez Furlong
8b5edf1a9e
Fix compile warning
2001-05-29 10:14:46 +00:00
foobar
0c5d5a513b
Added missing GD/GD2 image handling functions.
2001-05-29 07:46:07 +00:00
Sterling Hughes
4fbb606f60
compile warning fixes.......
2001-05-29 07:08:47 +00:00
foobar
3e7754c51e
Make this compile. Killed one compile warning.
...
# I still get a lot warnings when compiling sablot.c
2001-05-28 21:06:50 +00:00
Boian Bonev
0404618712
use AC_CHECK_LIB to see if the new API is supported
2001-05-28 19:58:36 +00:00
Boian Bonev
e685cad988
changed checking if vpopmail has the new API
...
added checks if certain functions are supported
added vpopmail_alias_get_all
2001-05-28 19:56:10 +00:00
Boian Bonev
71553e5560
add checking if vpopmail has the new API
2001-05-28 19:53:45 +00:00
Andi Gutmans
91f4eec7e9
- tmpbuf is emalloc()'ed so this patch would be faster.
2001-05-28 19:38:30 +00:00
Wez Furlong
f808add1c0
Prepare for php_streams.
...
# Someone with interbase please test!
2001-05-28 18:30:57 +00:00
Wez Furlong
65b0e70e58
Fix leak
2001-05-28 18:29:07 +00:00
Wez Furlong
952a62207a
Add extra parameter to php_escape_html_entities.
...
# I meant to commit this with the html.[ch] changes
2001-05-28 11:05:14 +00:00
Wez Furlong
d38cba8697
Added charset awareness to htmlentities() and htmlspecialchars(); use an
...
optional third parameter to specify the charset; otherwise tries to determine
it from the LC_CTYPE locale setting.
2001-05-28 11:00:06 +00:00
Wez Furlong
2bdef9c83f
Improved performance of message part extraction when using a PHP-space
...
callback.
2001-05-28 10:57:23 +00:00
Sterling Hughes
3af89678ec
compile goood, compile error baaad.
2001-05-28 04:40:08 +00:00
Sterling Hughes
5bff2399dd
remove un-necessary inline bloat...
2001-05-28 03:37:17 +00:00
Sterling Hughes
687a1c1abe
ws fix
2001-05-28 03:30:11 +00:00
foobar
6686f83799
Oops.
2001-05-28 03:18:44 +00:00
foobar
2798dd52af
Killed some compile warnings.
2001-05-28 00:16:28 +00:00
foobar
d98f65085b
Adding libnsl here causes problems on some systems.
2001-05-28 00:12:29 +00:00
foobar
d3aa2b0d17
Killed compile warnings.
2001-05-28 00:09:38 +00:00
foobar
ccf5f7ad04
Fixed some bugs. Now it compiles and works.
2001-05-27 23:57:27 +00:00
foobar
87eab1aa31
Removed duplicate line.
2001-05-27 23:56:16 +00:00
foobar
c2772e9c85
Just cleanup.
2001-05-27 23:55:44 +00:00
foobar
48fb0a62ec
Make this compile even if the INFORMIXDIR is not in path.
2001-05-27 23:51:39 +00:00
foobar
2dca041ec3
killed some compile warnings. the informix header files redefine these.
2001-05-27 23:49:22 +00:00
foobar
49d18d9f25
Fix by Sterling Hughes. Fixes bugs: #10939 , #10756 , #10324
2001-05-27 23:26:58 +00:00
foobar
02400e339b
remove ws, kill one compile warning.
2001-05-27 22:54:54 +00:00
foobar
67f2331d17
Per Sterling's request I'm committing this.
...
This works fine for me now. (I'm using external iconv libs)
2001-05-27 19:43:16 +00:00
foobar
1ecc932895
Fixed bug: #9707
2001-05-27 19:12:21 +00:00
Sterling Hughes
5ede574d49
Speed up data being sent to stdout
2001-05-27 19:11:09 +00:00
foobar
43e41ddb93
curl-config tells us which libraries it has compiled with. So we should use it.
2001-05-27 18:52:33 +00:00
foobar
d1735d5ed5
This is not needed. ssl_onceonlyinit() is enough.
2001-05-27 18:38:59 +00:00
Sterling Hughes
ee60cf057f
Change the names around a bit zip_opendir() -> zip_open() and
...
zip_open() -> zip_entry_open()
2001-05-27 02:52:45 +00:00
Sterling Hughes
ea0f4078b5
@ Renamed the ZZiplib extension to the Zip extension, function
...
@ names have also changed accordingly, functionality, has stayed
@ constant. (Sterling)
2001-05-27 02:49:46 +00:00
Egon Schmid
3ceeb1ff40
Fix some protos.
2001-05-27 01:21:30 +00:00
Sterling Hughes
b2bd3b315f
move to php_strtok_r()
2001-05-27 01:18:12 +00:00
Sterling Hughes
43865fb3c2
.
2001-05-27 01:16:45 +00:00
Sterling Hughes
1b20eacd21
so says sniper, and so it shall be.
2001-05-27 01:15:27 +00:00
Sterling Hughes
04908b1415
@ Made the length argument (argument 2) to pg_loread() optional,
...
@ if not specified data will be read in 1kb chunks. (Sterling)
@ Added a third argument to pg_lowrite() which is the length of
@ the data to write. (Sterling)
2001-05-27 01:10:36 +00:00
Sterling Hughes
d4b3b6d536
more leftovers
2001-05-27 01:05:31 +00:00
Sterling Hughes
129f37093a
leftovers
2001-05-27 00:58:08 +00:00
Sterling Hughes
a2962a1312
# The mailing lists are a productivity hole, long live
...
cvsusers@php.net ;)
1) remove outdate struct xslt_function * construct in favor of
just using
the zval's themselves.
2) switch to call_user_function_ex() in the call_xslt_function()
function (gotta respect the alliteration ;) .
3) modify README.XSLT-BACKENDS to reflect some of the changes to
the api
2001-05-27 00:57:21 +00:00
Rasmus Lerdorf
8ca880265e
Make c2-4 optional since they aren't needed in all cases
2001-05-27 00:01:55 +00:00
Andi Gutmans
fe1dbf644f
- Add prototype.
2001-05-24 12:54:05 +00:00
Boian Bonev
9caffb4fb7
fixed prototypes
2001-05-24 10:38:17 +00:00
Boian Bonev
312290a2c4
added vpopmail_alias_get covering valias_select/valias_select_next
2001-05-24 10:33:32 +00:00
Stig Bakken
1beda9ee1e
* include "config.h" if HAVE_CONFIG_H is defined (for standalone dso build)
2001-05-24 10:07:29 +00:00
Boian Bonev
9270ae31ee
cosmetic fixes; added 3 of the 7 valias functions
2001-05-24 03:31:09 +00:00
Boian Bonev
fe110e40e9
added prototypes
2001-05-24 03:20:35 +00:00
Boian Bonev
78380f1135
added check if vauth.h exists in vpopmail install
2001-05-24 03:19:44 +00:00
Boian Bonev
e38171a0b2
added 3 of 7 alias functions
2001-05-24 03:19:07 +00:00
Chuck Hagenbuch
9434da33b5
make it possible to set the CHARSET parameter with imap_mail_compose()
...
(Johan Ekenberg <johan@ekenberg.se>)
2001-05-24 03:06:10 +00:00
Sascha Schumann
3ffaa634a2
fix buggy debug statements
2001-05-24 01:12:11 +00:00
Sascha Schumann
5e112d4384
Due to dynamic registration of storage handlers, OnUpdateSaveHandler
...
might be called before that registration takes place and hence the
INI update is dismissed. In that case, we defer the lookup to the
first request init.
2001-05-23 23:18:51 +00:00
Sterling Hughes
b4ce3a696f
Fix credits
2001-05-23 21:09:20 +00:00
Andi Gutmans
14ac3d74b9
- Nuke GINIT
2001-05-23 17:10:40 +00:00
Andi Gutmans
4ddb24366f
- Fix problem of output initialization
2001-05-23 16:52:45 +00:00
Andi Gutmans
d6656c2fa3
- Commit fix by Steve Meyers
2001-05-23 04:17:54 +00:00
Sterling Hughes
17e5edbf18
@ Added the CONNECTION_ABORTED, CONNECTION_TIMEOUT and CONNECTION_NORMAL
...
@ constants. (Zak)
2001-05-23 03:37:53 +00:00
John Donagher
639b957f74
Add missing end-folding delimiter
2001-05-23 01:50:11 +00:00
Andy Sautins
915875a667
- Add correct OCIObjectFree to free collections immediately ( OCI_FREECOLLECTION_FORCE )
...
- Added schema optional parameter to OCINewCollection to allow accessing types in
other schemas.
- Added OCI_TYPECODE_TABLE to OCINewCollection to allow creation of collection of TYPES
as well as VARRAYS
2001-05-22 23:16:03 +00:00
foobar
3461a40063
Fixed bug: #10914
2001-05-22 21:33:17 +00:00
Andi Gutmans
177934732b
- Start nuking not needed GINIT
2001-05-22 19:19:04 +00:00
Frank M. Kromann
251996bb79
Fixing prototypes to match function names
2001-05-22 18:26:36 +00:00
Andrei Zmievski
699489d456
@- Made $HTTP_SESSION_VARS['foo'] and $foo be references to the same value
...
@ when register_globals is on. (Andrei)
2001-05-22 17:55:07 +00:00
Frank M. Kromann
6b2df64cf0
Changing how persistant links are added to zend_lists
2001-05-22 17:32:17 +00:00
Jon Parise
311278f273
@ - Fix disk_free_space() and disk_total_space() under FreeBSD. (jon)
...
FreeBSD defines statfs(2) in <sys/mount.h>. Teach PHP to look for it there.
2001-05-22 02:45:04 +00:00
foobar
920da9ef68
this fixes a few apache can not start bugs.
2001-05-22 00:39:17 +00:00
Derick Rethans
5512466878
- Nuke warning
2001-05-21 22:37:47 +00:00
Derick Rethans
31404981d3
- No need to include "zend" in include line
...
#- This broke compile because Unices want Zend instead of zend
2001-05-21 22:35:56 +00:00
James Moore
b68965f62f
Fix for #8539
2001-05-21 21:06:08 +00:00
foobar
ffae2081d5
Fixed bug: #10777
2001-05-21 19:47:15 +00:00
Sterling Hughes
d3b4074ed7
Fix compile warning.
2001-05-21 19:36:22 +00:00
foobar
af5c5ecee1
fixed bug: #10593
2001-05-21 19:28:22 +00:00
James Moore
1dbab5bb33
Remove unused variable from imagesetstyle
2001-05-21 18:50:05 +00:00
Sterling Hughes
fc741eb754
one of these days I'll get this commit correct, just you watch!
...
# must not commit before coffee
# must not commit before coffee
# *ploink*
2001-05-21 18:35:47 +00:00
Sterling Hughes
b376e5b03e
typo
2001-05-21 18:07:17 +00:00
Sterling Hughes
77cf892176
Fix socket_read to work under Linux again.
2001-05-21 17:48:19 +00:00
Sterling Hughes
7d15e8cce3
WS fix (php_read) and correct checking of the return value from inet_aton,
...
which returns *non-zero* on success (fix by Till Gerken).
2001-05-21 17:34:18 +00:00
Sterling Hughes
dc38b40eb8
Fixed bug where socket_connect() return the wrong value (report and fix by
...
Till Gerken)
2001-05-21 16:55:27 +00:00
foobar
d299236d7b
Fixed bug: #10742
2001-05-21 16:18:51 +00:00
Andrei Zmievski
4d78270b4e
Moving some functions into Zend.
2001-05-21 15:47:52 +00:00
Andi Gutmans
d160031c7d
- EG's are passed automatically to internal functions.
2001-05-21 15:27:11 +00:00
Sean Bright
0b716d18b1
Added get_defined_constants() function. Returns an associative array of
...
constants mapped to their values.
@- Added get_defined_constants() function to return an associative array of
@ constants mapped to their values. (Sean)
# If anyone sees a problem let me know.
2001-05-21 13:36:42 +00:00
Sascha Schumann
82c4ac7423
Remove extraneous tab
2001-05-21 00:05:51 +00:00
Sascha Schumann
e2eaf6342e
Add support for systems where p{read|write} take a off64_t without
...
being properly prototyped.
2001-05-20 23:39:09 +00:00
foobar
4e545c1d73
A few modifications to make the ZLIB checks work better.
2001-05-20 23:00:44 +00:00
Sascha Schumann
ae503d3a14
Whoops, the expat directory needs the XML_BYTE_ORDER macro
2001-05-20 22:18:03 +00:00
Sascha Schumann
244ea9f6c8
Don't add -DXML_BYTE_ORDER to global CPPFLAGS
2001-05-20 22:15:25 +00:00
Wez Furlong
8d6d3006e1
fixed a bug in mailparse_stream_encode which would default to a random encoding (usually base64)
...
# oops
2001-05-20 11:43:55 +00:00
Wez Furlong
6468f8b492
Imported mailparse extension
...
@- New mailparse extension for parsing and manipulating MIME mail (Wez)
2001-05-20 11:11:28 +00:00
foobar
fcfbb0cce6
This looks better.
2001-05-20 01:31:53 +00:00
Andrei Zmievski
e1f671fb5c
Properly free callback_name only when necessary.
2001-05-20 01:21:44 +00:00
Derick Rethans
dc43b9f574
- Reversed 'fix' for #9698
...
- Fix for bug #9698/#10681 (patch by kettler@gmx.net )
@- Added the 'u' modifier to printf/sprintf which prints unsigned longs.
@ (Derick)
2001-05-20 00:23:49 +00:00
Rasmus Lerdorf
ae3dda8285
Fix bug #9526
2001-05-19 22:50:44 +00:00
foobar
16b94858b6
Fixed bug #10964
2001-05-19 22:21:40 +00:00
Sterling Hughes
02d4567bb7
nuke last remnants of the old globals stuff
...
# oops
2001-05-19 17:45:36 +00:00
Sascha Schumann
060983b184
Use zend_hash_add_empty_element
2001-05-19 14:51:39 +00:00
Sascha Schumann
3b822e5752
Looks like this was a bogus gcc warning.
...
Submitted by: Sebastian Bergmann
2001-05-19 10:10:49 +00:00
Sascha Schumann
6c3b8d5619
Improve reading from external data source for session id creation.
...
Improve generating the string representation of the md5 session id.
2001-05-19 09:58:31 +00:00
Sascha Schumann
991e05d062
Nuke some warnings.
2001-05-19 09:56:42 +00:00
Sascha Schumann
d5cfb03ac9
munmap() file in RSHUTDOWN, if PHPWRITE fails.
2001-05-18 23:38:46 +00:00
Derick Rethans
d1697ad012
- Fix for bug #10890
...
@- Fixed bugs in the mcrypt extension that caused crashes (Derick)
2001-05-18 20:54:15 +00:00
Sterling Hughes
3c8140d97b
@ Added the IMG_ARC_ROUNDED option for the ImageFilledArc() function, which
...
@ specified that the drawn curve should be rounded. (Sterling)
2001-05-18 20:52:40 +00:00
Sterling Hughes
8f97b4d62f
remove more php3 ts stuff
2001-05-18 20:37:21 +00:00
Sterling Hughes
fd3eb2544a
should be using the function here.
2001-05-18 20:32:47 +00:00
Sterling Hughes
4812388278
Remove the remnants of old global macro's
2001-05-18 20:29:47 +00:00
Sascha Schumann
0255bb01e4
Files should be shared among processes.
2001-05-18 17:48:43 +00:00
Hartmut Holzgraefe
002d241a03
a small proto clarification
2001-05-18 16:42:54 +00:00
Andrei Zmievski
0ee9518396
Move -DSUPPORT_UTF8 flag into the appropriate Makefile so as not to pollute
...
the global namespace.
2001-05-18 15:34:58 +00:00
Uwe Steinmann
8562b074a3
- completed list of error messages (thanks to Torben Wilson)
2001-05-18 08:07:09 +00:00
Derick Rethans
73f04651fa
- Fix for bug #9801 (and maybe others)
2001-05-17 21:27:48 +00:00
Sterling Hughes
f7c8bb6a29
Some fixes. Actually assign a value scheme_handlers before processing it.
...
Add some checks for key type. Remove some debugging data.
2001-05-17 18:15:15 +00:00
Daniel Beulshausen
741fbe5fc6
winsock is already initialized in an higher version by php
2001-05-17 17:13:47 +00:00
Daniel Beulshausen
9820c2a5af
update sockets to work with winsock as well
2001-05-17 17:02:37 +00:00
Martin Kraemer
c34896aba8
Allow for DB3 to reside in /usr/local/include/db3/ and -ldb3
2001-05-17 15:27:12 +00:00
Vlad Krupin
5cd87e870e
...and this fixes the typo I made long ago. It prevented people that have
...
certain weird installations of pspell from compiling properly (couldn't
find pspell header files). No-one noticed...
2001-05-17 00:32:45 +00:00
Vlad Krupin
3a56ec8ce2
Fix for bug 10912.
...
Also, if you explicily specify path in --with-pspell, the directories
/usr, /usr/local will no longer be searched even if the library is not
found at the specified location (this seems to make more sense)
2001-05-17 00:26:12 +00:00
Sterling Hughes
ffc997f149
Add a compile check for the cURL version and fix the compile in general.
2001-05-16 23:43:30 +00:00
James Moore
da22505333
- Sync prototype and definition of phpi_get_le_gd
2001-05-16 23:11:33 +00:00
Sascha Schumann
28a441fe02
Fix for #10900 .
...
Submitted by: cech@debian.org
2001-05-16 12:01:25 +00:00
foobar
ad366598a6
Fixed bugs: #10297 , #10615 , #10783 , #10880
2001-05-16 04:50:49 +00:00
Jon Parise
82b31fb7a3
@ - Added disk_total_space() to return the total size of a filesystem.
...
@ (Patch from Steven Bower)
2001-05-15 23:43:18 +00:00
Jon Parise
6c5db8d2d7
@ - Renamed diskfreespace() to disk_free_space() to conform to established
...
@ naming conventions. (jon)
2001-05-15 23:28:17 +00:00
Andrei Zmievski
58f7df0ae4
Revert previous commit - callback_name does need to be checked because
...
it is set conditional on is_callable_replace.
2001-05-15 18:00:35 +00:00
Gavin Sherry
3a677d3e20
fixed shm_remove to expect the correct argument.
2001-05-15 07:32:34 +00:00
Gavin Sherry
16a13a6210
Added function sem_remove
2001-05-15 07:29:55 +00:00
Gavin Sherry
00f013189e
Added sem_remove to remove semaphores from memory
2001-05-15 07:29:31 +00:00
foobar
613aacf0b0
MFB
2001-05-15 02:05:33 +00:00
foobar
f3a67a2e40
Fix bug: #5418
2001-05-15 01:50:46 +00:00
Sterling Hughes
00421e7c83
leftovers.....
2001-05-14 21:04:23 +00:00
Frank M. Kromann
11d14590d1
Adding a small readme file for win32 users
2001-05-14 21:04:19 +00:00
Frank M. Kromann
dcdd6d2b05
updating the win32 readme
2001-05-14 21:03:38 +00:00
Sterling Hughes
db58472b56
Register the binary transfer option
2001-05-14 21:02:31 +00:00
Andrei Zmievski
1f9808b4ee
Clean up call_user_func_*().
2001-05-14 20:56:05 +00:00
Sterling Hughes
803bebb303
Use zend_is_callable to test whether or not the given callback is valid
...
before calling the function.
2001-05-14 20:06:06 +00:00
Sterling Hughes
47ee387d79
Use zend_is_callable() and fix sp of deprecated.
2001-05-14 19:19:03 +00:00
Sterling Hughes
c58fdadc1f
Couple of changes (and a little whitespace correction, sorry to mix :(
...
1) Depreciate the call_user_method*() variety of functions, their
functionality can be easily duplicated by using the call_user_func*()
functions (using the array(&$obj, "method") syntax).
2) Change some pval's to zval's.
3) Improve the error handling mechanism of call_user_func*() to report
an the class name and the function name if an object or class name is
given.
2001-05-14 19:02:23 +00:00
Derick Rethans
6123e2abe0
- Bumbed up the warning level to be in sync with fopen (which is E_WARNING
...
too) (See bug #10856 )
2001-05-14 18:30:07 +00:00
Vlad Krupin
2331bbe445
@- Fix for bug 2181. Now zero is returned instead of an unset value for
...
@ 7-bit encoding and plain text body type.
Also, bogus types and encodings will not be returned any longer.
Function imap_bodystruct() is also fixed in the same manner.
2001-05-14 18:24:27 +00:00
Andrei Zmievski
8a86d17882
Need to use ELS_FETCH() here.
2001-05-14 14:16:44 +00:00
Andrei Zmievski
553e04be2f
@- Fixed a bug in call_user_*() functions that would not allow calling
...
functions/methods that accepted parameters by reference. (Andrei)
* Allow separation of arguments in call_user_* functions - this allows calling
functions that force parameters by reference.
* Use executor function table instead of compiler one.
2001-05-14 13:24:03 +00:00
Andrei Zmievski
eba50153ef
No need for check since callback_name is always filled in.
2001-05-14 12:58:48 +00:00
Thies C. Arntzen
56cebea057
added expat version to phpinfo();
2001-05-14 11:35:25 +00:00
Harald Radi
ee17c6440d
renamed
2001-05-13 16:50:48 +00:00
Harald Radi
49be36d70d
modified because of the changes in com.c
2001-05-13 14:22:19 +00:00
Harald Radi
3c60aabe22
@added com_release($obj) and com_addref($obj) functions
...
@and the related class members $obj->Release() and $obj->AddRef()
@to gain more control over the used COM components. (phanto)
also changed the return values of the internal functions from VARIANT
to pval, so there's no need to convert the returned value after each function
call and the real hashtable entry is returned and not only a copy of it.
#now everything is prepared to implement the array support
2001-05-13 14:21:20 +00:00
Harald Radi
04a5d124aa
@added an additional parameter to dotnet_load to specify the codepage (phanto)
2001-05-13 14:15:26 +00:00
Wez Furlong
74ce7ee6c5
Removed redundant (and incorrect) '0' from "begin" string for uudecode.
2001-05-13 12:04:37 +00:00
Sascha Schumann
90c2979144
Nuke some warnings.
2001-05-13 07:37:28 +00:00
Wez Furlong
2633261cc3
Took out a line that might cause problems if you try and uuencode; there is no
...
uuencode support yet.
# Looks hard to do too; we need to buffer 45 chars
2001-05-12 23:49:29 +00:00
Wez Furlong
b2703047ab
Added uudecode support (MIME name "x-uuencode")
2001-05-12 23:42:09 +00:00
Wez Furlong
615086c2c9
prototype for php_file_le_stream()
2001-05-12 21:49:13 +00:00
Wez Furlong
7a88deb402
expose streams to other extensions.
2001-05-12 21:48:39 +00:00
Daniel Beulshausen
e91089edb9
hopefully fix win32 build, untested
2001-05-12 20:01:59 +00:00
Sascha Schumann
e5176fe60a
First step towards full libtool 1.4 portability
2001-05-12 12:22:34 +00:00
Sascha Schumann
afdaee9e47
Nuke more quotes
2001-05-12 11:09:05 +00:00
Sascha Schumann
9982ff568a
Nuke some unneccessary quotes
2001-05-12 10:33:52 +00:00
Sascha Schumann
b18077179d
Default to including expat.h
2001-05-12 10:22:16 +00:00
Sascha Schumann
cd30f5a6eb
Rename some custom macros from AC_* to PHP_*
2001-05-12 09:26:47 +00:00
Sascha Schumann
718b588b14
Fix indentation of ./configure --help messages.
2001-05-12 09:13:42 +00:00
Sascha Schumann
8a3eb51a26
Replace ssize_t with long, as Win32 lacks proper support for that type.
2001-05-12 08:39:33 +00:00
Thies C. Arntzen
679f794eb4
add missing file
2001-05-12 08:21:20 +00:00
Wez Furlong
340c56e5c7
Fixed leak.
2001-05-12 00:45:55 +00:00
foobar
be3b514637
Fixed bug: #10823
2001-05-12 00:15:08 +00:00
Andrei Zmievski
ae90bcf16d
Open season on memory leaks, shoot all you can.
2001-05-11 21:29:47 +00:00
Sascha Schumann
7566cf7f27
Fix special treatment of zlib by introducing the Apache concept
...
of config.m4 hierarchies.
2001-05-11 20:09:31 +00:00
Jason Greene
c115a75544
Rewrote stat() and fstat() to be memory efficient, due to a recent
...
thread on php-dev.
Note: I added a macro that might have use in other instances, but for now
is included in php_filestat.h
2001-05-11 19:55:44 +00:00
Thies C. Arntzen
cd2f057f1a
bump bundled expat to 1.95.1
...
win32 project _needs_ updating and i don't have windows
2001-05-11 17:57:37 +00:00
Sascha Schumann
814fa2c71c
Save a couple of syscalls per session
...
Fix apparent new-session-files-were-not-locked bug
Replace %m with portable "%s", strerror(errno)
2001-05-11 17:43:40 +00:00
Andrei Zmievski
1db2516277
Start cleaning up domxml memory leaks. Still much stuff to do.
2001-05-11 16:14:19 +00:00
Derick Rethans
04bd8d9174
Tabs please...
2001-05-11 13:34:49 +00:00
Sebastian Bergmann
e69f4dc51c
Fix for bug #10815 .
2001-05-11 13:32:10 +00:00
foobar
cf75b18a8d
Fixed problems which were caused by the previous patches.
...
#And the usage of PHP_ADD_LIBRARY_DEFER is clear to me now..:)
2001-05-11 10:04:06 +00:00
Jason Greene
7f3291ae8c
Fix is_executable test.
2001-05-11 02:45:49 +00:00
Jason Greene
0ed93d71b2
@fstat() and stat() now return identical output by returning a numerical and
...
@string indexed array (Jason)
(Andrei's suggestion to still allow backwords compatibility.)
2001-05-11 01:47:46 +00:00
foobar
5bc7cf90cd
default to /usr/local
2001-05-10 23:55:56 +00:00
Frank M. Kromann
c1b7b83d45
Fixing some proto types
2001-05-10 16:35:05 +00:00
Andrei Zmievski
f071e8c566
Always free the callback_name when using zend_is_callable().
2001-05-10 16:30:12 +00:00
Zeev Suraski
4c10e198e2
Fix buggy line split
2001-05-10 14:25:48 +00:00
Rui Hirokawa
45a2e761e7
fixed bug of mb_substitute_character() and mb_substr() in mbstring.
2001-05-10 13:12:03 +00:00
foobar
9fa37f60dc
Fixed bug: #10779
2001-05-10 09:25:32 +00:00
foobar
9cce67f16d
Cleaning this a bit too. Now I'm also able to configure and compile
...
with the test for imap-ssl.
2001-05-10 06:58:25 +00:00
Sterling Hughes
b01ba3f820
Fix naming issue
...
# UNTESTED, but it should do the trick
# everyone on a winblows box please try out the change
2001-05-10 05:42:54 +00:00
foobar
a972b6aa5b
Cleaning up here too.
2001-05-10 00:59:41 +00:00
foobar
5f20be7315
Moved the zlib configure before other extensions.
2001-05-10 00:57:36 +00:00
foobar
14e883c3a0
Cleaned up this a bit..
2001-05-10 00:55:48 +00:00
Wez Furlong
63b3fa262c
Reverse my earlier patch for mysql_db_query() & emit an E_NOTICE of it's
...
deprecated status.
# Should it be a warning or a notice?
2001-05-09 22:28:16 +00:00
Frank M. Kromann
4d1c545a9c
Switching to zend_register_list_destructors_ex()
2001-05-09 21:44:44 +00:00
Andrei Zmievski
8112d1beba
@- Added is_callable() function that can be used to find out whether
...
@ its argument is a valid callable construct. (Andrei)
2001-05-09 20:06:39 +00:00
Frank M. Kromann
5258141db8
Minor change to the way string lengths are calculated and space alocated.
2001-05-09 19:18:04 +00:00
Frank M. Kromann
90243d2cf0
Getting rid of memset.
2001-05-09 16:20:34 +00:00
foobar
3d430e4141
The PHP_EXTENSION() has to be before any other PHP_ARG_*()'s
2001-05-09 15:38:29 +00:00
Wenhui Zhang
b6b5039f25
Change for Empress PHP support
2001-05-09 15:35:31 +00:00
Rui Hirokawa
223eca31fb
remaked mb_gpc_handler as mb_parse_str() in mbstring.
2001-05-09 11:18:11 +00:00
Sterling Hughes
59d4dfc4c6
fix crash bug (unlikely, but this is the only place where the reported bug
...
would make sense, and it can't hurt)...
2001-05-09 04:54:46 +00:00
foobar
1a032963ea
Fixed a typo.
2001-05-09 01:41:53 +00:00
Harald Radi
ffefed1972
E_ERROR instead of E_WARNING on nullpointer exceptions
2001-05-09 00:00:01 +00:00
Frank M. Kromann
383c757a43
Use RETURN_ macros to define function returns.
...
Fix fetch functions to return values from array data structure
2001-05-08 22:58:32 +00:00
foobar
3d856be7f6
No need to show these if they are not used.
2001-05-08 22:18:00 +00:00
Dan Kalowsky
b3a509ac9e
this is a fix for bug 10250. it basically provides the unixODBC driver with
...
access to the SQLDriver functions. patch originally submitted by
dzoll@nyscul.org , and is going to be tested by some of the unixODBC people.
2001-05-08 19:47:20 +00:00
Frank M. Kromann
8a030b9809
Fixing the use of compatibility mode. When the flag is off the system should return correct PHP types (default) when the flag is on strings will be returned for all data types.
2001-05-08 19:24:14 +00:00
Frank M. Kromann
aaebbecdcf
Fixing the use of compatibility_mode setting in php.ini.
...
Nuking trailing spaces when returning a string.
2001-05-08 18:10:25 +00:00
Rui Hirokawa
0a452b2ff2
added mb_language to ext/mbstring.
2001-05-08 14:33:20 +00:00
foobar
da0162a9de
Fix the build.
...
# I promise not to commit if I'm tired.. :(
2001-05-08 11:08:08 +00:00
James Moore
7056620699
Give correct warnings if certain libaries/verisons are not avalible
2001-05-08 00:23:59 +00:00
Zeev Suraski
ff11c36dc5
Avoid crashing if somehow, output is sent in a new thread tha had no requests
2001-05-07 22:00:13 +00:00
Marc Boeren
a7bff5d8f1
Passed db_handle to dbx_error_function instead of NULL (Mc)
...
# I don't know why it worked on my machine, but now it works
# because the code is right, not through magic :)
2001-05-07 14:49:05 +00:00
Rui Hirokawa
156a461117
update address of licence term in mbstring.
2001-05-07 13:58:00 +00:00
Wez Furlong
21ec6e2993
Enabled optional result_mode param in mysql_db_query() to make it behave
...
as mysql_unbuffered_query (can be either MYSQL_USE_RESULT or
MYSQL_STORE_RESULT)
2001-05-07 11:02:31 +00:00
Sascha Schumann
21eee58f6f
As the WDDX extension can now be built as shared extension
...
without functional loss with regard to the session serializer, it
is safe to default to disable. We enable XML automatically only,
if the user is building WDDX as a static extension.
2001-05-07 08:22:34 +00:00
Egon Schmid
78ee5d56b3
Fixed some protos.
2001-05-06 22:25:14 +00:00
Sterling Hughes
7bf6869583
fix crash bug
2001-05-06 22:24:25 +00:00
Rui Hirokawa
a09844a981
fixed divided by zero exception and lack of multidimentional array support in mbstring.
2001-05-06 22:06:10 +00:00
Sterling Hughes
af58697165
fix compile bug.
2001-05-06 21:38:58 +00:00
foobar
3a56faeec9
Attempt to fix the build when a c-client lib with kerberos, pam and ssl
...
is used.
2001-05-06 20:16:49 +00:00
James Moore
f3342a5b55
Fix win32 build
2001-05-06 19:20:25 +00:00
Derick Rethans
9f5e71bd42
- Nuke warning
2001-05-06 18:53:45 +00:00
Derick Rethans
b181237582
- Partial fix for bug #9050 , support for "Jan 19 2000" date format
2001-05-06 18:33:49 +00:00
foobar
6c21f7ef0f
Moved ts_alloca_id() into MINIT like Andi requested.
2001-05-06 17:55:10 +00:00
foobar
8e006f81af
Fix bug: #8834 . Now there should be more random salts..
2001-05-06 16:54:27 +00:00
foobar
9d1817ed7f
Fix bug: #10323 . Every value outputted is now escaped.
2001-05-06 15:20:56 +00:00
Sascha Schumann
eba7a8c8e6
Fix broken build
2001-05-06 10:33:21 +00:00
Wez Furlong
4f943b6012
Fixed win32 build problem.
2001-05-06 09:39:11 +00:00
Egon Schmid
58d2b0a52b
Corrected one proto.
2001-05-06 06:33:48 +00:00
foobar
9ce123076f
Beutify phpinfo() output.
2001-05-06 06:14:12 +00:00
foobar
60ad79335c
Added a check that libc-client support SSL.
2001-05-06 05:39:16 +00:00
foobar
8d99685a4a
Removed usused variables.
2001-05-06 05:38:46 +00:00
Rui Hirokawa
b0d91b12f8
fixed a compilation problem without --enable-mbstr-enc-trans.
2001-05-06 02:44:12 +00:00
Rasmus Lerdorf
4f059abacf
Add pg_last_notice() function
2001-05-06 01:34:56 +00:00
Wez Furlong
3ffb8e3800
Nuke buffering from php_streams, move connect_nonb() from fsock.c to network.c
...
and rename to php_connect_nonb().
Use php_connect_nonb() instead of connect() in php_hostconnect() -> timeouts
should now work in php_hostconnect().
sock streams abstraction now uses php_sockbuf as the "abstract" pointer.
2001-05-05 18:36:22 +00:00
Wez Furlong
080fdabc85
Added Sascha Kettler to credits
2001-05-05 11:29:01 +00:00
Sascha Schumann
d998ae4e5b
Fix broken ZTS build.
2001-05-05 11:11:32 +00:00
Zeev Suraski
52ba317606
emalloc()'d strings must be freed before the request shutdown;
...
Rule of the thumb: initialize in RINIT, clean in RSHUTDOWN
2001-05-05 01:42:15 +00:00
Wez Furlong
b379cd968c
Merged and adapted a patch from Sascha Kettler <kettler@gmx.net> that provides
...
some asymmetric RSA encrypt/decrypt functions.
2001-05-04 23:42:11 +00:00
Chuck Hagenbuch
2f8eef81f5
Add support for in_reply_to header, and fix erealloc usage ("Johan Ekenberg"
...
<johan@ekenberg.se>).
2001-05-04 20:03:47 +00:00
Jason Greene
bb131011a7
Fixed bug in my previous patch, forgot to reset connect error globals
...
on request startup.
2001-05-04 18:27:15 +00:00
foobar
a3c90853a0
Fix bugs: #10642 , #10612
2001-05-04 17:57:58 +00:00
Andrei Zmievski
0eecec7773
@- Fixed a bug in preg_split() that would incorrectly limit the number of
...
@ results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Fixed a bug in preg_split() that would incorrectly limit the number of
results when used along with PREG_SPLIT_NO_EMPTY flag. (Andrei)
- Also made limit = -1 when limit = 0, to emulate Perl.
2001-05-04 16:43:53 +00:00
Thies C. Arntzen
a085b708e1
namespace-protect "open"
2001-05-04 14:53:45 +00:00
Rui Hirokawa
c0624c769b
fixed a memory leak in ext/mbstring.
2001-05-04 10:42:54 +00:00
Marc Boeren
a3d3819f6f
Forgot the Visual Studio project, added now (Mc)
...
Updated CREDITS (Mc)
2001-05-04 09:43:57 +00:00
Marc Boeren
a56162243a
Registered db-module constants for use in dbx_connect (Mc)
...
Added support for Microsoft SQL Server (Mc)
2001-05-04 09:42:45 +00:00
Marc Boeren
e3770563fc
Added docs about creating dbx-support for other databases. (Mc)
2001-05-04 09:39:52 +00:00
Sebastian Bergmann
d92522c8d1
Nuke unreferenced local variables.
2001-05-04 06:25:10 +00:00
Sterling Hughes
1ae44c8e49
Make it compile with the latest cURL cvs, heck it even works.
2001-05-04 04:20:38 +00:00
Rui Hirokawa
93e7521639
added status parameter to output handler in ext/iconv.
2001-05-04 03:55:48 +00:00
Jason Greene
8405c36815
@ Added connection error support to mysql_error() and mysql_errno() (Jason)
...
This should work correctly without causing compatibility issues with previous
scripts. Someone might want to double check this change, just in case.
2001-05-04 01:14:26 +00:00
Derick Rethans
8909c33319
- Applied a patch that enables getimagesize to return the size of .bmp and
...
.psd files (Patch by Paul Jongsma <paulj@webtic.com>)
@- Added support to getimagesize to return dimensions of BMP and PSD
@ files (Derick)
2001-05-03 21:28:26 +00:00
Chuck Hagenbuch
3fc7a7aef7
add crash guard (valid message number check) to imap_body().
2001-05-03 19:44:42 +00:00
Chuck Hagenbuch
d0af2440e6
removing references to IMSP module, which will probably never be ported to
...
php4 (lack of a publically available library implementing it).
2001-05-03 19:32:49 +00:00
Chuck Hagenbuch
5c0791fcac
Fix for #8359 . imap_fetchheader should never return the full message; the
...
FT_PREFETCHTEXT flag is just a hint to c-client that you'll be asking for
the message text next.
2001-05-03 19:18:48 +00:00
Sascha Schumann
9de9b7c1e9
add an interface for registering storage modules at run-time.
2001-05-03 15:48:49 +00:00
Harald Radi
172a9c9303
fixed leaky code
...
#cleaned up dirty hack from yesterday
2001-05-03 11:20:29 +00:00
Sergey Kartashoff
e176e5c101
Some fixes in Udm_Cat_List and Udm_Cat_Path functions.
2001-05-03 08:59:49 +00:00
Rui Hirokawa
b388986f57
deleted some function aliases.
...
@- Added Japanese multibyte string functions support. (Rui)
2001-05-03 00:44:26 +00:00
Hartmut Holzgraefe
06d498473e
added generation of CREDITS and EXPERIMENTAL to ext_skel
2001-05-02 23:33:21 +00:00
Andi Gutmans
eb4d840a40
- More strncpy() -> strlcpy() changes. Am I getting bored yet? :)
2001-05-02 23:20:04 +00:00
Andi Gutmans
7c5a45d69a
- More strncpy() -> strlcpy() changes. mm_login() doesn't seem to be used
...
though.
2001-05-02 22:57:01 +00:00
Andi Gutmans
f84637d4b8
- Change strncpy()'s to strlcpy()'s
2001-05-02 22:49:48 +00:00
Andi Gutmans
d90ef12bb8
- Whitespace fix
2001-05-02 22:41:09 +00:00
Andi Gutmans
f1c801ac89
- Commit interbase fixes
2001-05-02 22:31:19 +00:00
Andi Gutmans
0ac0f656ae
- Fix possible buffer overflow. Always better to use strlcpy() instead
...
of strncpy()
2001-05-02 22:22:16 +00:00
Harald Radi
7361fa13fc
adapted because of the changes in the com module
2001-05-02 21:52:12 +00:00
Harald Radi
8dc2dbaf9b
removed itypeinfo calls because they didn't work on every machine
...
#i'm investigating this ...
2001-05-02 21:51:19 +00:00
Frank M. Kromann
ed267a7d66
Changing paramters on database_password
2001-05-02 20:36:51 +00:00
Frank M. Kromann
7049935da0
Fixing segfault in database_password
2001-05-02 20:06:00 +00:00
Andi Gutmans
5965588963
- Apply Vlad's sybase patch to work with two different kinds of builds of
...
the sybase libraries
2001-05-02 18:38:17 +00:00
Chuck Hagenbuch
ec1f342fac
fix whitespace pollution
2001-05-02 17:46:44 +00:00
Chuck Hagenbuch
0ae4591ea2
Fixes and improvements to imap_mail_compose (Johan Ekenberg
...
<johan@ekenberg.se>)
2001-05-02 17:42:10 +00:00
Chuck Hagenbuch
9cb85f9933
Add support for cram-md5 authentication in imap_open().
2001-05-02 17:30:30 +00:00
Rui Hirokawa
953c181026
clear http input encoding detection result in RSHUTDOWN.
2001-05-02 13:24:26 +00:00
John Donagher
b2e6cf009d
- Remove C-style comments
...
- Remove some stale debugging code
2001-05-02 01:08:47 +00:00
foobar
d4e64925d5
Possible Fix for #10570 , #10585 , #10539 and maybe others.
2001-05-02 00:21:25 +00:00
Rui Hirokawa
f34bad2d4f
modified some function name in ext/mbstring based on naming convension and mbstr_http_input() implemented.
2001-05-01 23:44:20 +00:00
foobar
d0dac28cc2
Fix bug #10563
2001-05-01 23:22:55 +00:00
Frank M. Kromann
1d7dc11df0
Fixing some proto types and return values
2001-05-01 22:04:11 +00:00
Hartmut Holzgraefe
6e883e9e32
looks like i missed something
2001-05-01 19:15:43 +00:00
John Donagher
5135d75bf5
Add TODO
2001-05-01 19:08:27 +00:00
Andi Gutmans
4cef5e78d3
- Optimizer the previous patch a bit by nuking memset()
2001-05-01 18:13:59 +00:00
Frank M. Kromann
e8949d7781
Adding support for BINARY, VARBINARY and IMAGE column types.
...
Thanks to Brad LaFountain.
2001-05-01 18:01:08 +00:00
Andrei Zmievski
ea56318495
Patch from Sascha that abstracts session serializers. WDDX extension
...
now implements the encode/decode functions and registers them with
the session module.
2001-05-01 17:01:51 +00:00
Hartmut Holzgraefe
78b54eaa8b
hartmfixed and extended the ini parameter and module globals stuff
...
once again: someone test this please!
2001-05-01 16:21:58 +00:00
Rui Hirokawa
f2731cb91a
modified some function name in mbstring based on php's naming convension.
2001-05-01 09:20:51 +00:00
Derick Rethans
7f20f1e866
- Fix for bug #10518 (Thanks to kettler@gmx.net)
2001-05-01 07:09:09 +00:00
Rui Hirokawa
4cafbdc67f
simplified some function's name in ext/mbstring.
2001-05-01 05:21:29 +00:00
John Donagher
0f42480b48
- Remove some stale code
...
- Fix spelling mistakes
- Add build-time version detection
- Add support for v3 Verisign SDK
@ pfpro extension now supports version 3 of the Verisign SDK (John Donagher)
2001-05-01 05:04:43 +00:00
Sterling Hughes
11961e6585
Check for the existance of the iconv library
...
# Not sure if this is correct, I can verify that it doesn't break anything
# and it logically looks like it would work. Can someone test this (BSD
# and/or Windows)
2001-05-01 03:26:04 +00:00
Rui Hirokawa
09197a4531
renamed jstring to mbstring.
2001-05-01 01:52:55 +00:00
Rui Hirokawa
9907826a66
d
2001-05-01 01:46:05 +00:00
Hartmut Holzgraefe
ba5ae96cb4
some more example code for modules using --with-something
...
works for me (linux/bash) but please give it a test drive
2001-04-30 19:06:26 +00:00
Sterling Hughes
21032fee6b
remove last minute garbage that snuck in...
2001-04-30 16:30:46 +00:00
Sterling Hughes
33d5c80bcd
Add some missing constants.
2001-04-30 14:46:04 +00:00
Sterling Hughes
ea2cf1856f
# Ok, big ass change list. Most of the changes are NEW's worthy, so
...
# I'll enter them directly there, not here.... The non-newsworthy code
# is:
Added REGISTER_CURL_CONSTANT() a wrapper around REGISTER_LONG_CONSTANT()
Re-vamp the internal php_curl structure.
Properly free allocated slist's and HttpPost structures
many whitespace changes
speed improvements (in the post handling and slist area's)
# Furthermore, as a side note, while the code I'm committing is correct,
# no one will be able to compile it yet and test it, as it requires a
# patched version of curl (if you really want to try it out and can't
# wait a day or two, send me a private mail)
2001-04-30 14:36:19 +00:00
Daniel Beulshausen
0a121f855c
make pgsql build under win32 again
2001-04-30 14:23:41 +00:00
Adam Dickmeiss
c8e177c7a3
Timeout setting for yaz_wait. Force call by reference for yaz_ccl_parse
...
and yaz_scan_result.
2001-04-30 14:11:15 +00:00
Rui Hirokawa
1cc00fa05a
added japanese string function module.
2001-04-30 13:24:46 +00:00
Daniel Beulshausen
b9927b845f
*must* use HwSLS_FETCH()
2001-04-30 12:53:58 +00:00
Andi Gutmans
4c823e8a89
- Change macros from V_ to VCWD_ because of AIX name clash
2001-04-30 12:45:02 +00:00
Daniel Beulshausen
96330d36bc
make dsp supporting gd2
2001-04-30 12:14:36 +00:00
Sergey Kartashoff
a1eee04a1b
Udm_Cat_List and Udm_Cat_Path functions has been added.
...
@ Udm_Cat_List and Udm_Cat_Path functions has been added.
2001-04-30 11:11:19 +00:00
Daniel Beulshausen
b120ab3986
look in Release_TS_inline for php4ts.lib as well
2001-04-30 11:09:03 +00:00
Daniel Beulshausen
9eaffbfcb0
make dotnet module build again & fix dsp ouput dir
2001-04-30 10:57:31 +00:00
Daniel Beulshausen
cdbe5f50b0
newer libxml libs are called libxml2.lib
2001-04-30 10:33:17 +00:00
Andi Gutmans
1d3ef30714
- Fix crash bugs when rfc822_qprint and rfc822_base64 return NULL
2001-04-30 10:23:13 +00:00
Sergey Kartashoff
266a3b0dd6
# mnoGoSearch module TODO updated
2001-04-30 10:04:47 +00:00
Daniel Beulshausen
f1351348b8
fix ouput directory
2001-04-30 10:01:36 +00:00
Daniel Beulshausen
cb7c65d052
fix win32 build
2001-04-30 09:57:16 +00:00
Sergey Kartashoff
52c3958f88
Added UDM_FIELD_CATEGORY parameter to get current document
...
category in the mnoGoSearch module
2001-04-30 08:57:41 +00:00
David Croft
34f03f2c5c
@ - Added key_exists() to check if a given key or index exists in an
...
@ array or object (David Croft)
Added key_exists() to check if a given key or index exists in an array or object
2001-04-30 04:06:09 +00:00
Andi Gutmans
91451bfcaf
- Remove leak from opendir() under Windows. Maybe readdir.c should be
...
changed to use emalloc()
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 18:06:56 +00:00
Andi Gutmans
21603118b1
- Fix bug Bug id #5987 . It could be fixed by changing readdir.c but I
...
- prefered not to touch that code but to treat windows a bit differently
- in dir.c
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-04-29 17:57:23 +00:00
Zeev Suraski
6487d08e6b
Accept the fix suggestion from bug #9562
2001-04-29 17:33:11 +00:00
Derick Rethans
b8ad2e842d
- 'Fix' for bug #10145
2001-04-29 15:48:07 +00:00
Sean Bright
a98c9ba66f
Fix proto decription.
2001-04-29 13:30:56 +00:00
Sean Bright
596e8208be
Really fix bug #10362 .
...
# My previous fix caused a segfault when there were parens in an unallowed
# tag :( Thanks Andi.
2001-04-29 13:16:05 +00:00
Zeev Suraski
c8a768a2fb
whitespace fix
2001-04-29 11:37:03 +00:00
foobar
28a2cb46d5
Fix bug #10545 .
2001-04-29 10:14:18 +00:00
Sean Bright
9e34117cd9
Fix for bug #10362
2001-04-28 23:07:51 +00:00
Sterling Hughes
425c714435
# Actually fix the bug this time (I fixed another bug last time :)
2001-04-28 21:44:44 +00:00
Sterling Hughes
d53ab0ae48
fix bug #10541
2001-04-28 21:37:45 +00:00
Sean Bright
4175151567
- Fix for bugs #9042 , #8212 , and #8962 . Patch from <tunacat@yahoo.com>
...
- Fixed proto for exec()
2001-04-28 13:16:18 +00:00
Sterling Hughes
c67b6e4836
Add the xslt_make_array and xslt_free_array api functions (C level).
...
Change the naming to be a bit more standard for a few of the existing
api functions.
Make the sablotron backend compile with these changes.
2001-04-27 05:00:52 +00:00
Sterling Hughes
1865be6ca4
fix for bug #8994 , courtesy tom.anheyer@berlinonline.de
...
# Are we having another RC, and if so, can I MFH in time for it?
2001-04-26 13:47:17 +00:00
Matt McClanahan
cb9db291c7
Enforce the right number of params for mysql_fetch_*() functions, related to bug 9839.
2001-04-26 08:22:12 +00:00
Sterling Hughes
25ad8d38f3
Add a readme, this is a substitute to the e-mail I was going to send. it
...
gives a basic overview of the new xslt extension and goes into the details
of the api, etc.
2001-04-26 05:38:17 +00:00
Andi Gutmans
6e8f7a06f6
- use get_current_key_ex() in order to receive key length and not having
...
- to use strlen() everywhere.
2001-04-26 02:54:27 +00:00
Sterling Hughes
9c8780c809
Add a free function to free the returned structure.
2001-04-26 02:12:07 +00:00
Sterling Hughes
ad138d77db
Add the parse_xslt_arguments api function which parses sablotron type
...
arguments into an easy to use structure.
2001-04-26 02:01:09 +00:00
Shane Caraveo
a7f48e470f
compile was broken, new argument?
2001-04-26 01:46:18 +00:00
Sterling Hughes
35890db0a1
Add an experimental version of the new XSLT extension. This is by no means
...
to be used on anything production, if you want to test it, beware, it may or
may not work (feel free to complain to me if it doesn't work, or shower
praise if it does work)...
Mainly in PHP's CVS so that work on the other backends can take place.
The api (function_entry) is what I'm thinking of for all backends. Every
backend simply needs to define these functions, I'll send an e-mail describing
all this in a bit....
2001-04-26 00:13:26 +00:00
Hartmut Holzgraefe
17da9f22f2
a backslash was missing (+ whitespace)
2001-04-25 21:26:05 +00:00
Rasmus Lerdorf
e8e6828863
- Make the printf functions binary clean
...
@ - Make the printf family of functions binary clean
2001-04-25 21:05:59 +00:00
Andrei Zmievski
07a5e3fb9c
* Made ENT_* defines availabe to other functions.
...
* The key/variable names in WDDX are now html escaped to not break XML.
@- Fixed WDDX serialization to HTML-escape key/variable names so as not to
@ break the XML packet. (Andrei)
2001-04-25 20:14:29 +00:00
Frank M. Kromann
a09c88cb6a
Remove c++ comment
...
Move errormessage when FBExec is not running. This error should not show if we connect through a port number.
2001-04-25 19:45:13 +00:00
Frank M. Kromann
7873ab04b3
make fbsql_field_flags return a value
2001-04-25 18:01:22 +00:00
Frank M. Kromann
c5cc42cae9
removed unused code
2001-04-25 18:00:55 +00:00
Andy Sautins
1dc4678d44
Collections cleanup
...
- Removed date specific methods. Dates work consistently with
the rest of the oci8 code.
- Removed unused variables from collection code.
- RETURN_FALSE on all errors.
- fix error prints to php_error.
2001-04-25 17:48:30 +00:00
Andy Sautins
e650cba5e4
Cleanup collections - removed unused members from oci_collection structure
2001-04-25 17:44:07 +00:00
Andi Gutmans
ef1835f54f
- Fix filetype() and lstat() too.
2001-04-25 06:30:24 +00:00
Andi Gutmans
ef71855bc6
- Another fix
2001-04-25 05:53:45 +00:00
Andi Gutmans
502b4efb7d
- Nuke warning. This signed/unsigned stuff gets really annoying sometimes.
2001-04-25 05:43:30 +00:00
Andi Gutmans
76860d4fc0
- Fix problem with is_link(), there seem to be at least another couple of
...
- bugs lurking around though.
- Cleaned up code a bit and optimized it a bit too.
2001-04-25 04:22:29 +00:00
Sterling Hughes
a59a85b598
Fixed a crash bug.
...
Return the proper amount.
2001-04-24 22:10:41 +00:00
Chuck Hagenbuch
029cd8a882
Fix for bug 9908: check that the result of mail_sort is not 0 before trying
...
to dereference the pointer. :)
Also, free sort programs - this might have been a memory leak.
2001-04-23 21:58:44 +00:00
Thies C. Arntzen
c03efd49f4
fixed ZTS buidl - still some WS pollution left
2001-04-23 11:54:02 +00:00
Sterling Hughes
bb9fe151c3
Fix bug #10447 .
2001-04-22 23:40:34 +00:00
Sascha Schumann
c44da99842
Fix freeing of a NULL pointer
2001-04-22 17:20:03 +00:00
Stig Bakken
2cf1b8d345
* expanded the following constants and made them available in PHP:
...
DEFAULT_INCLUDE_PATH
PEAR_INSTALL_DIR
PHP_EXTENSION_DIR
PHP_BINDIR
PHP_LIBDIR
PHP_DATADIR
PHP_SYSCONFDIR
PHP_LOCALSTATEDIR
PHP_CONFIG_FILE_PATH
* no longer generating pear/PEAR.php
* fixed some tests
* some more installer work
2001-04-22 01:09:14 +00:00
Andrei Zmievski
f52831bc84
Enabling WDDX by default.
2001-04-20 19:33:22 +00:00
foobar
d9b2f7910e
ws pollution removed.
2001-04-20 15:37:55 +00:00
Jason Greene
ebad4ff6af
Change all // to /* */, fixed small whitespace.
...
Builds on Solaris now.
2001-04-19 22:00:34 +00:00
Andi Gutmans
a5a4b4e2f8
- Use memcpy() instead of strlcpy() which is faster.
2001-04-19 21:42:45 +00:00
Dan Kalowsky
d7383e3255
appling patch for joey since he has no ODBC karma. this is for bug #10252
2001-04-19 19:55:05 +00:00
Sterling Hughes
06e6363985
fix crash bug 10400.
2001-04-19 14:59:33 +00:00
Wez Furlong
d52f75aa1c
Patch from Adam Dickmeiss to make configure detect libtff again.
2001-04-19 14:16:09 +00:00
Andi Gutmans
65cccf02ba
- WS
2001-04-19 04:02:03 +00:00
Dan Kalowsky
f41f369754
corrects bug #7488 , patch supplied by submitter (torben@php.net).
...
quick local tests show it to work.
2001-04-19 02:31:23 +00:00
Derick Rethans
f557830af8
- Fixed some more problems with keys being chopped off (fix for bug #8839 )
2001-04-18 22:14:06 +00:00
Adam Dickmeiss
1c62af36eb
Function yaz_record returns database for record if type is "database".
2001-04-18 15:03:24 +00:00
Marc Boeren
e2c8e80e2b
Removed some old commented code (Mc)
2001-04-18 12:34:52 +00:00
Marc Boeren
9fc2c61698
Added DBX_CMP_TEXT and DBX_CMP_NUMBER constants and support for them in
...
the dbx_cmp_desc and dbx_cmp_asc functions. The old method of passing a
string "number" is now no longer valid. (Mc)
2001-04-18 12:31:08 +00:00
Frank M. Kromann
f09a36b91f
Adding fbsql_fetch_assoc() functon
2001-04-17 17:39:43 +00:00
Wez Furlong
86c84da7c2
Discovered warn_not_available and used it.
2001-04-17 17:08:03 +00:00
Wez Furlong
57af70f707
Changes for streams. Added temporary fopenstream function to PHP so that
...
the streams can be tested.
2001-04-17 17:06:06 +00:00
Dan Kalowsky
685186f9fd
This change seems to fix bugs 7158, 7807, 8531, and 8636. After asking why this patch was applied no one seemed to respond with anything useful. If you find this change in error, sorry, I tested it on as many systems as I could.
2001-04-17 02:02:36 +00:00
Wez Furlong
fe88b5fd6e
Fixed lame attempt to prevent ttf linkage when using freetype2
2001-04-17 01:02:37 +00:00
Frank M. Kromann
fb98b6b838
Fixing memory leek on CancelFetch.
2001-04-16 16:27:11 +00:00
Andrei Zmievski
1a1018452c
@- Fixed a bug with /e modifier in preg_replace(), that would not correctly
...
@ replace two-digit references if single digit references were present
@ before them. This fixed bug #10218 . (Andrei)
2001-04-16 04:56:31 +00:00
Alexander Feldman
f0abfcc894
Fixed typo.
2001-04-15 19:03:12 +00:00
Alexander Feldman
531b8042ad
We shoud not fseek in a pipe and this caused a problem with popen and
...
fgets on the platforms where the buffer fix was applied (Solaris, FreeBSD).
Now the fseek is done only when the handle is of type fopen.
2001-04-15 18:42:50 +00:00
Rui Hirokawa
053994b5eb
deleted warning output in dbx/pgsql.
2001-04-14 10:32:14 +00:00
Thies C. Arntzen
c42f260145
enable temporary LOBs when we detect oracle 8.1
...
enabled by default in Win32 project!
2001-04-14 09:51:29 +00:00
Thies C. Arntzen
8ac2502dfe
@- Added temporary LOB support in OCI8 (Patch by David Benson)
2001-04-14 08:38:46 +00:00
Thies C. Arntzen
14d800f7d9
the collections stuff s worth mentioning in the credits!
2001-04-14 08:06:40 +00:00
Wez Furlong
e030eb8238
When using freetype2, turn off libttf and turn on native gd ttf.
2001-04-14 00:15:26 +00:00
Thies C. Arntzen
9a42a31ba4
@- Fixed crash in pathinfo()
2001-04-13 18:22:13 +00:00
Thies C. Arntzen
b9216bcc1b
@ - OCI8 now supports binding of collections
...
@ (Patch by Andy Sautins <asautins@veripost.net>)
2001-04-13 14:43:39 +00:00
Wez Furlong
e9731903d1
Added GD 2.0.1 support.
2001-04-13 12:00:12 +00:00
Thies C. Arntzen
cb88701315
never initialize oci in OCI_THREADED mode. seems to break win32.
2001-04-11 15:46:03 +00:00
Marc Boeren
4532eebc4a
Added a database member to the dbx_link object. Since e.g. mysql reuses
...
connections, two or more dbx_link objects may share the connection
identifier. The database name is used in the dbx_query, where it calls
mysql_db_query instead of mysql_query.
This means the database name has to be passed around to all dbx_xxx_query
functions, hence the update on all the files. (Mc)
# Thanks to Christian Rabe for all the input on this issue!
2001-04-11 08:14:57 +00:00
Frank M. Kromann
6df886acfe
Fixing database password to actually work
2001-04-10 18:44:51 +00:00
Jon Parise
6aabc2c9d4
Statements end with a period.
2001-04-10 17:31:35 +00:00
Kevin
3cd2c989d3
Fixed compatibility issues in the ODBC extension for the Velocis Database server. Specifically, config.m4 was changed to use the client libraries instead of the serer libraries, and to look for the libs in the $RDSHOME/lin directory ass opposed to the $RDSHOME/bin directory. Makefile.in was changed to use the php_odbc.c file as the source for Velocis support. Other misc changes include a few #defines for some undefined data types and some #ifdefs for unsupported functions.
2001-04-10 16:26:28 +00:00
Jason Greene
86c2eaf741
Fix for PR #9729 , 9664, 9656, 8667.
...
All compilers on Solaris should build this extension correctly now.
It turns out the SUN CC, by default, enables a define that enables the use of
#pragma redefine extname in sun header files. This is why cc would work,
and gcc wouldn't.
-Jason
2001-04-10 03:16:05 +00:00
Derick Rethans
a379669ab6
- Removed debug thing
2001-04-10 00:09:17 +00:00
Derick Rethans
61e1bf9286
- Fix for bug #8839
...
- MINFO updated to use smart_str's
2001-04-10 00:07:53 +00:00
Sean Bright
b936138fd3
Constand should be case sensitive.
...
# Thanks Sterling
2001-04-09 21:12:54 +00:00
Jon Parise
5464d29551
Fix whitespace (use tabs).
2001-04-09 21:08:47 +00:00
Sean Bright
ec6f1887f8
Stop SIGSEGV on Apache startup. Patch from <adam@indexdata.dk>
2001-04-09 20:56:49 +00:00
foobar
d85be2956c
Fix bug #10212 .
2001-04-09 15:46:24 +00:00
Rasmus Lerdorf
334cba47b9
printf argnum (parameter swapping) support from Morten Poulsen
2001-04-09 15:44:24 +00:00
Marc Boeren
066547a220
Added optional 'comparison_type' parameter to compare functions, to force
...
either text or number comparison. (Mc)
2001-04-09 11:53:39 +00:00
Uwe Steinmann
7ee542a524
- added domxml_version() to retrieve version of libxml
2001-04-09 11:53:06 +00:00
Stig Bakken
368c6bf003
@Add DIRECTORY_SEPARATOR constant ('/' on UNIX, '\' on Windows) (Stig)
2001-04-08 21:57:13 +00:00
Jon Parise
99b5477b90
Use tabs instead of spaces.
2001-04-08 01:13:07 +00:00
foobar
176f5847be
ws pollution removed.
2001-04-07 21:46:43 +00:00
Jon Parise
db2cfde087
Fix compilation (strict compilers require constant initializers).
2001-04-07 18:22:29 +00:00
André Langhorst
9762f64222
fix proto
2001-04-07 15:43:06 +00:00
foobar
393189fccd
fixed protos
2001-04-07 02:48:19 +00:00
foobar
802a3ab829
Fixed some bugs.
2001-04-06 23:17:31 +00:00
foobar
84e5576f97
Killed some compile warnings.
2001-04-06 18:01:52 +00:00
Sean Bright
a1ba58a46c
Fixed possible overflow again.
...
# Heh...
2001-04-06 17:48:34 +00:00
Jon Parise
8540c6923d
Make this message more grammatically correct.
2001-04-06 16:04:25 +00:00
Sean Bright
10eaf14db9
Fixed possible overflow.
2001-04-06 14:42:06 +00:00
foobar
62c517d124
spaces to tabs
2001-04-05 18:48:03 +00:00
Romolo Manfredini
0509957bc3
pg_close not closing right connection.
2001-04-05 12:29:24 +00:00
Wez Furlong
486d3bef18
Fix for Bug #10168 (is_dst undeclared)
2001-04-05 08:40:27 +00:00
foobar
8960888c97
Fix bugs: #10157 , #7549
2001-04-05 05:38:18 +00:00
Thies C. Arntzen
cc48dd2138
make it compile with 6.5.x
...
postgresql notices are now send to the standard error-log
2001-04-04 21:40:41 +00:00
foobar
c34d2b91da
Added new configuration directives:
...
arg_separator.input and arg_separator.output
2001-04-04 20:46:26 +00:00
Frank M. Kromann
382e3c5ad6
Adding empty RSHUTDOWN function.
2001-04-04 20:10:14 +00:00
foobar
66553616ec
Killed 2 compile warnings.
2001-04-04 17:13:40 +00:00
foobar
679b914dc0
Cleaned up a bit. Removed some checks for header files that are
...
already checked in configure.in
2001-04-04 00:06:49 +00:00
Wilfredo Sanchez
cb71c4c2d0
Separate CPPFLAGS from CFLAGS.
2001-04-03 23:30:49 +00:00
Daniel Beulshausen
f085ab8a33
use V_STAT
2001-04-03 22:36:27 +00:00
Daniel Beulshausen
a29dc27c1c
resolve realpath if in v-dir mode
2001-04-03 21:39:18 +00:00
Wilfredo Sanchez
0df6e8dd88
Add INSTALL_ROOT variable to specify install location.
2001-04-03 20:59:50 +00:00
Frank M. Kromann
8003b3aa9d
Fixing crash when listing databsaes
...
Fixing rowcount to woirk when the result contains an array og data.
2001-04-03 18:09:02 +00:00
foobar
83b5a2fb0c
SCO (and maybe others) do not have this defined.
2001-04-03 10:51:16 +00:00
Wez Furlong
1d71f04b44
changed the flags parameters to be a bitfield + constants (I don't know what
...
I was thinking!). Added a couple of extra parameters so that the equivalent
functionality of the openssl smime command can be pretty much used in full.
Added some more error reporting.
2001-04-02 23:14:01 +00:00
Anil Madhavapeddy
d26ec12ba2
Free the correct output buffer, to avoid a segfault on a HEAD request
...
when using output buffering with a custom handler (patch by zeev@)
2001-04-02 16:45:27 +00:00
James Moore
e52ec10341
remove rogue ZEND_GET_MODULE()
2001-04-02 16:37:50 +00:00
Nick Gorham
971d65059a
Added small change to php_odbc module, to check for failed SQLDisconnects
...
and to close any outstanding transactions if the call fails, then disconnect
again. This can cause chaos with SQL Server, this regards a SELECT as
starting a transaction, and will leave it open if the result set is not all
read.
2001-04-02 15:18:47 +00:00
Andrei Zmievski
221a5a60b6
Use correct string length.
2001-04-02 13:20:16 +00:00
foobar
943c73896f
Fixed a typo. Bug: #10103
2001-04-02 09:06:33 +00:00
Marc Boeren
cbdd711312
Inserted a few extra initialisations, just in case. Had some problems in a
...
different module, this solved it there, hance the added insurance. (Mc)
2001-04-02 08:51:35 +00:00
Wez Furlong
4fa9c7477b
added some more error reporting and did a little tidying.
2001-04-02 01:31:08 +00:00
Wez Furlong
4cec53ac28
Added whole bunch of PKCS7 (S/MIME) functions and made the key/cert params
...
a bit more friendly to use. See the README for more info.
2001-04-01 23:06:15 +00:00
foobar
78390894e9
According to GD documentation the macros should be used instead..
2001-04-01 06:20:45 +00:00
foobar
aea8e80a62
Fixed bug #10095 .
2001-04-01 05:55:21 +00:00
foobar
f663f1edab
Fixed bug #8137 and killed some compile warnings.
2001-04-01 05:42:07 +00:00
Zeev Suraski
b865380edb
Fix headers handling with output buffering
2001-03-31 22:53:19 +00:00
Fredrik Öhrn
64bb010cf4
Implemented cpdf_set_viewer_preferences (previously a stub).
...
Added new functions: cpdf_set_font_directories and cpdf_set_font_map_file.
2001-03-30 20:36:18 +00:00
Anil Madhavapeddy
2df7c8a0f1
Send the correct Vary headers, if we negotiate a gzip/deflate session
...
via Accept-Encoding. This obeys a SHOULD directive in RFC2616
PR: 10070
2001-03-30 17:44:08 +00:00
Wez Furlong
3bd5696a65
Fixed leak in php_iconv_string. Also returns FAILURE on failure,
...
rather than -1
2001-03-29 09:37:09 +00:00
foobar
7449d09be0
Fixed bug: #10040 .
2001-03-29 00:22:45 +00:00
André Langhorst
7d50e21a4b
fix typo
2001-03-28 20:08:49 +00:00
André Langhorst
339ac67ce3
fix proto
2001-03-28 19:41:38 +00:00
foobar
8a26918ed1
Renamed the AC_ prefixed macros defined in acinclude.m4 to PHP_* prefixes.
...
# Heads up people! I tested this before committing but you never know..
2001-03-27 20:35:04 +00:00
Derick Rethans
c713967de3
- 'Fix' for bug 10002
2001-03-27 17:21:45 +00:00
Dan Kalowsky
959f40a957
The last fix was missing a &, Marc Boeren either made the patch wrong, or I applied it improperly. Anyways, Sebastian Bergmann discovered it, and supposedly is fixed with this.
2001-03-27 15:46:27 +00:00
Thies C. Arntzen
679d841502
fixed newly introduced crash in ora_bind
2001-03-27 14:55:04 +00:00
Dan Kalowsky
0d7729ed58
Fix for Bug #9272 , as submitted by marc boeren (m.boeren@guidance.nl).
...
Applied by me, due to apparently a lack of cvs access to ext/odbc for him.
2001-03-27 14:17:52 +00:00
foobar
6751e58f9d
Fixed a typo.
2001-03-26 21:42:01 +00:00
foobar
3c11d1697e
Support Solaris 8 ldap.
2001-03-26 10:30:48 +00:00
Marc Boeren
b8713b9c9b
Removed #include php_config.h, since it was not necessary (Mc)
2001-03-26 08:26:07 +00:00
Romolo Manfredini
99e5dfd00e
pg_close was undefining default_conn even if a ref to it was still there.
2001-03-26 08:00:43 +00:00
Romolo Manfredini
7a102a4669
Solved bugs #9746 and #9937 , pg_close was closing twice the default conn.
2001-03-24 18:36:43 +00:00
Sascha Schumann
fa068b5297
Fix ZTS build
2001-03-24 01:08:13 +00:00
Marc Boeren
1a842c4ae6
Fixed compile errors for PostgreSQL support (Mc)
...
Removed globals that Rui put in, and changed the dbx_get_row
to include a row_number (which PostgreSQL expects) (Mc)
Added source files to Makefile.in and dbx.dsp (Mc)
#Could someone please check if the PostgreSQL support works?
#And please, check your work _before_ you commit anything!
2001-03-23 14:50:17 +00:00
Rui Hirokawa
cd1debc81c
changed license of PostgreSQL module in ext/dbx.
2001-03-23 13:40:12 +00:00
Rui Hirokawa
6ee15704e8
added initial support for PostgreSQL to ext/dbx.
2001-03-23 11:50:04 +00:00
Marc Boeren
10bb608e4e
Changed header for source files, now point to PHP license (Mc)
...
Found another // comment and replaced with /**/ (Mc)
Removed proprietary license (in favor of php license) (Mc)
Added .cvsignore file, I hope it works correctly (Mc)
2001-03-23 10:23:58 +00:00
Romolo Manfredini
01ac20050e
Added target ownership check in function copy for safe_mode operations
2001-03-23 09:30:51 +00:00
Stephen van Egmond
7f48c7adf5
Simple patch to deal with lack of fields in the BeOS implementation of rusage.
2001-03-23 04:36:29 +00:00
Frank M. Kromann
d7491166c5
Removing extra check for warnings.
2001-03-23 00:58:59 +00:00
Frank M. Kromann
8bea574877
Adding warning when query fails
2001-03-22 21:16:23 +00:00
Marc Boeren
49bc33395b
Changed C++ style comments to C-style comments (Marc)
...
#I hope I got 'em all
@Changed C++ style comments to C-style comments (Marc)
2001-03-22 15:14:34 +00:00
Sean Bright
90f3e09f08
Fixed prototype.
2001-03-22 14:43:48 +00:00
foobar
f6e4cbd434
Fix bugs: #9920 , #9190
2001-03-22 13:16:58 +00:00
Marc Boeren
0f9503c923
no comment :)
2001-03-22 12:26:21 +00:00
Marc Boeren
ce79b44c27
Added dbx module (database abstraction) to the repositorty (/ext/dbx).
...
Compiles under Linux (--enable-dbx) and Windows.
Supports MySQL and ODBC modules (more to be added later).
@ Added dbx module (database abstraction) to the repository. (Marc)
2001-03-22 11:07:04 +00:00
Uwe Steinmann
dbc4d4b457
- fixed some bugs with xpath
2001-03-22 06:58:13 +00:00
Frank M. Kromann
eea4386582
setting right params to zend_get_parameters_ex
2001-03-21 21:53:45 +00:00
Rainer Schaaf
9444df9e0b
Beta2 of PDFlib V4.0 will introduce on new function (PDF_place_pdi_page)
...
and PDF_close_pdi_page will lose one parameter.
These changes are done for the phpwrapper now.
This has no impact on PDFlib V3.x.
2001-03-21 20:55:35 +00:00
Andi Gutmans
022ece7814
- Fix spelling error
2001-03-21 20:07:19 +00:00
Frank M. Kromann
983bfff7de
changed arg types from pval* to zval**
2001-03-21 19:56:33 +00:00
Ben Mansell
6d7ce5ffa0
UnixWare 7.1 does not have EX_TEMPFAIL or (as far as I can tell)
...
a concept of a temporary failure response to pclose().
2001-03-21 15:15:31 +00:00
Sean Bright
e249545165
Fix for bug #9698 .
...
# Anyone that can think of a way to fix long2ip(), feel free.
2001-03-21 13:53:38 +00:00
Uwe Steinmann
b70952bb50
- fulltext query are working now
2001-03-21 07:58:21 +00:00
Uwe Steinmann
e8d48dd7ae
- added EntityReference and Notation class
...
- fixed handling of PI nodes
- implemented more class functions
2001-03-21 05:45:40 +00:00
Harald Radi
256d799809
@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls
...
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.
2001-03-20 22:35:30 +00:00
Sterling Hughes
ad8fd43e10
remove some unneccessary casts, remove unneccessary error casts, standardize
...
the coding format for some of the stuff.
2001-03-20 21:30:42 +00:00
Fredrik Öhrn
3c5ed324dd
Fix erronous out of bounds error message in rand(min,max)
2001-03-20 20:48:42 +00:00
Frank M. Kromann
80c4511012
Fixing crash when result conrains 0 rows
2001-03-20 20:25:55 +00:00
Fredrik Öhrn
88a6a97a86
really fix the build
2001-03-20 20:04:42 +00:00
Frank M. Kromann
3cbe879b89
Converting to c-style comments.
...
Adding prototypes to all exported function
2001-03-20 19:21:45 +00:00
Thies C. Arntzen
deae9549c8
make qtdom compile on Mandrake-cooker
2001-03-20 19:19:31 +00:00
Daniel Beulshausen
00b8f898e7
fix dsp
2001-03-20 17:45:10 +00:00
Sebastian Bergmann
53385a9537
Nuke another warning.
2001-03-20 17:04:45 +00:00
Uwe Steinmann
3dfbbc31ac
- fixed lot of compiler warnings
2001-03-20 16:20:42 +00:00
Uwe Steinmann
9fc59ce735
- complete rewrite of domxml module.
...
It is now mostly conform to DOM Level 2 though some classes and
methods are still missing
2001-03-20 15:01:13 +00:00
Sascha Schumann
a2ff136c8e
fix build
2001-03-20 12:50:27 +00:00
Sterling Hughes
9b4c5db8ae
Remove some unnecessary error checking
2001-03-20 01:46:41 +00:00
foobar
de3f405997
Removed skipif.php + Fixed tests to use skipif.inc instead.
2001-03-20 01:22:07 +00:00
foobar
4f18fcb863
Removed unnessary file.
2001-03-20 01:06:25 +00:00
Andrei Zmievski
d9aa966a44
@- Added array_map() function that applies a callback to the elements
...
@ of given arrays and returns the result. It can also be used with a
@ null callback to transpose arrays. (Andrei)
2001-03-19 21:20:02 +00:00
Fredrik Öhrn
98b5ca057b
Removed redundant initialization.
2001-03-19 17:01:36 +00:00
Fredrik Öhrn
87138d68cd
Much needed cleanup and new functions added
...
-------------------------------------------
Cleaned up stringhandling for binary safeness.
All functions now maintain a global 'errno' variable.
All functions now print warning messages on failure.
Added error code constants.
Fixed bug #8041 while maintaining backward compatibility.
New functions:
yp_all traverse a map
yp_cat retrive an entire map in one go
yp_errno get last error code
yp_err_string get a human readable error message
2001-03-18 22:16:47 +00:00
Fredrik Öhrn
00d81acc4f
Solved compile failure due to clash bewteen IMAP and ClibPDF headers.
2001-03-18 18:32:58 +00:00
foobar
4759855606
Prevent mem leak
2001-03-18 09:25:40 +00:00
foobar
4f00125b7a
Fix the fix. Plus killed some compile warnings.
2001-03-18 05:52:40 +00:00
Zeev Suraski
fbbf5c0faa
Fix reference to nuked function
2001-03-18 02:35:10 +00:00
Stephen van Egmond
3b8140e47c
fixed a (C++) warning about implicit conversion from void*
2001-03-17 20:35:38 +00:00
Zeev Suraski
34b2fc4a6c
Fix the output buffering bug Andre found
2001-03-17 03:03:50 +00:00
Andrei Zmievski
770c66125d
@- Added array_filter(), which allows filtering of array elements via
...
@ the specified callback. (Andrei)
2001-03-16 20:46:33 +00:00
Andrei Zmievski
f7f2cf9de5
All user callbacks should be to EG(function_table).
2001-03-16 19:51:08 +00:00
Frank M. Kromann
6195f14633
Fixing build on Win32 by adding missing BLS_FETCH();
2001-03-16 19:48:40 +00:00
Andrei Zmievski
561cc74389
@- Fixed all relevant array functions to avoid moving the internal array
...
@ pointer during operations. (Andrei)
2001-03-16 19:29:23 +00:00
foobar
88f41b4e91
This has got to be the last one..
2001-03-16 18:18:01 +00:00
Uwe Steinmann
5dcf391497
- Inserting links without any delimiters is now possible
2001-03-16 17:40:38 +00:00
Derick Rethans
9720ac01fc
- Fixed mem leak
2001-03-16 15:59:45 +00:00
foobar
8913a7350e
Missed this one.
2001-03-16 14:45:46 +00:00
foobar
21d158229b
Make compile again when ZTS is enabled and imap-2000 is used. Bug #9762
2001-03-16 13:17:54 +00:00
Sascha Schumann
59eb57e42a
Don't do anything, if the user wants no PDF.
2001-03-16 12:23:31 +00:00
foobar
ab560941ee
This should fix problems in systems without libbind.
2001-03-16 07:13:06 +00:00
foobar
4567d57c61
Added a check for the one function missing in <= 0.1.0 versions of ming lib.
2001-03-16 02:06:34 +00:00
Brian Bruns
bb5369fc62
sybase_affected_rows implementation submitted by John F. Dumas <jdumas@locutus.kingwoodcable.com>
2001-03-16 01:21:32 +00:00
foobar
847e0d996c
Killed a compile warning + made ming extension compile with the older ming libs.
2001-03-16 00:37:35 +00:00
foobar
7b6a385c95
Missing files.
2001-03-16 00:36:47 +00:00
foobar
e92ff40bc7
Beutify + fix some errors in finding libs and header files.
2001-03-16 00:36:31 +00:00
Daniel Beulshausen
0688feeba4
fix win32 build
2001-03-15 20:45:49 +00:00
Jon Parise
01008bb03c
Whitespace (spaces to four-column tabs)
2001-03-15 05:07:31 +00:00
James Moore
2e22b01cf1
Adding webteam to credits.
2001-03-14 21:28:58 +00:00
foobar
3f64aa6a94
Forgot this one..
2001-03-14 13:43:58 +00:00
foobar
f35cb7d89b
Missing.
2001-03-14 13:42:33 +00:00
Sascha Schumann
a4ec164698
Fix ZTS build
2001-03-14 13:38:03 +00:00
Uwe Steinmann
46eb8d8def
-fixed prototype and indention
2001-03-14 06:33:46 +00:00
Zeev Suraski
8b5a768640
Make get_browser() read its information from $HTTP_SERVER_VARS[] if available
2001-03-13 23:20:23 +00:00
Zeev Suraski
e6f3fb39cb
Implement mysql_unbuffered_query() - uses mysql_use_result() instead of
...
mysql_store_result()
2001-03-13 22:52:53 +00:00
foobar
256537a7cf
cleanup.
2001-03-13 22:50:02 +00:00
Jason Greene
ba553edc06
fix broken m4, you should have all checking code withing your withval test
...
-Jason
2001-03-13 22:44:49 +00:00
foobar
c45884c5fb
Extension was enabled by default..
2001-03-13 22:33:53 +00:00
Zeev Suraski
fdf21452ed
Centralize query code
2001-03-13 21:42:43 +00:00
Zeev Suraski
f5ddc2826d
Use a container struct instead of MYSQL directly
2001-03-13 21:13:19 +00:00
Frank M. Kromann
d5e1266dc5
Initial check-in of FrontBase extension
2001-03-13 20:58:47 +00:00
Sascha Schumann
667a1f1fdb
buf is gone. Don't reference it.
2001-03-13 17:11:43 +00:00
Adam Dickmeiss
91554d8b9c
Added yaz_database. Option bit ExtendedServices set for InitRequest.
2001-03-13 17:04:06 +00:00
Sascha Schumann
2b6698aaa9
Replace another sprintf
2001-03-13 16:58:36 +00:00
Sascha Schumann
86cf74a169
Nuke calls to sprintf, snprintf, strcat, strcpy and rely on
...
memcpy and smart_strs.
2001-03-13 16:53:34 +00:00
Frank M. Kromann
f49d04fb12
Fixing compiler warning on win32
2001-03-13 16:39:47 +00:00
Frank M. Kromann
0981778351
Changed email
2001-03-13 16:33:39 +00:00
Andrei Zmievski
285ec0ca2c
@- IMPORTANT: removed /F modifier handling from preg_replace(). Instead
...
@ one should use new preg_replace_callback() function. (Andrei)
2001-03-13 05:24:03 +00:00
Dave Hayden
f2427f42fa
changed scalar args and returns to doubles, added Ming_setScale function,
...
added SWFTEXTFIELD_HTML flag, fixed SWFTextField_setIndentation glitch
2001-03-13 01:57:43 +00:00
Sean Bright
48caa74c20
Fixed prototype.
2001-03-12 15:14:38 +00:00
Alexander Feldman
1791658112
A small fix to make the function imageloadfont portable.
2001-03-12 13:57:53 +00:00
Stanislav Malyshev
0fa068e1fa
Prevent memory leak
2001-03-12 10:14:00 +00:00
Stanislav Malyshev
be83ba17da
Use hash position with array_flip
2001-03-12 08:07:00 +00:00
Andrei Zmievski
40dd7eef96
This will have to do until the docs come along.
2001-03-12 03:10:15 +00:00
Andrei Zmievski
d73ef12429
@- Added array_reduce(), which allows iterative reduction of an array
...
@ to a single value via a callback function. (Andrei)
- Added array_reduce(), which allows iterative reduction of an array
to a single value via a callback function.
- Fixed usage of zend_is_callable() in PCRE.
2001-03-12 03:06:53 +00:00
foobar
12503baa55
Cleaning this a little bit.
2001-03-12 02:06:06 +00:00
foobar
48545dd7b9
ws fixes. Plus removed unnecessary AC_MSG_ calls.
2001-03-12 01:20:16 +00:00
foobar
5b4d6e7db3
ws fix.
2001-03-12 00:46:26 +00:00
Alexander Feldman
397c76d787
Fixed a compatibility problem is some file functions (fgets, fputs, fread,
...
fwrite). The ANSI standard says that if a file is opened in read/write
mode, fseek() should be called before switching from reading to writing
and vice versa.
2001-03-11 10:08:27 +00:00
foobar
ba12d0b4b1
Added missing alias. PR: #9550
2001-03-11 04:13:53 +00:00
foobar
6795032cb8
HAVE_BINDLIB --> HAVE_LIBBIND
2001-03-11 03:49:21 +00:00
foobar
499b63a354
If AC_CHECK_LIB fails, assume that --with-openssl is needed
2001-03-11 00:49:16 +00:00
foobar
3db6f55748
This should fix the problems with not including -lz.
2001-03-10 17:33:33 +00:00
Rui Hirokawa
0e9581bddb
just reversed a previous patch.
2001-03-10 02:21:39 +00:00
Rui Hirokawa
f3c9c8dd07
initialized some strings in global variable structure.
2001-03-10 02:03:26 +00:00
Frank M. Kromann
f98710c870
Adding a new function odbc_next_result() allowing the query to return more than one result.
...
This can be done with a stored procedure or by sending more than one select to the server.
2001-03-09 23:44:55 +00:00
Frank M. Kromann
4230bdd3ed
Adding a new function mssql_next_result() allowing the query to return more than one result.
...
This can be done with a stored procedure or by sending more than one select to the server.
2001-03-09 23:37:56 +00:00
Andrei Zmievski
8d677828b9
@- Fixed argument checking for call_user_func* functions and allowed
...
@ specifying array($obj, 'method') syntax for call_user_func_array. (Andrei)
2001-03-09 21:42:26 +00:00
Stanislav Malyshev
e30d8e4abf
Better use buffer_to_buffer, since zval is really buffer, not string (it can
...
contain \0's and not end in \0).
# and recode_string is recode_buffer_to_buffer internally anyways
2001-03-08 17:11:57 +00:00
Daniel Beulshausen
177f9bd1f5
add missing globals fetches
2001-03-07 17:23:30 +00:00
Zeev Suraski
0b65578ec7
Implement internal output compression?\0020:wq
2001-03-06 20:43:54 +00:00
Zeev Suraski
9a04f870ab
Fix freeing of buffers
2001-03-06 19:38:33 +00:00
Zeev Suraski
93e9e7521a
Fixes to internal output buffering
2001-03-06 18:29:00 +00:00
Zeev Suraski
0ece429a16
More internal output buffering fixes
2001-03-06 16:28:51 +00:00
Zeev Suraski
20d2432c86
Fix internal output buffering
2001-03-06 16:25:14 +00:00
Zeev Suraski
13a97fefeb
Initial work on internal output handlers - should be much quicker
2001-03-06 15:54:49 +00:00
Sean Bright
5d3939ac39
Typo.
...
# I don't know where I got 4.02 from
2001-03-06 04:42:04 +00:00
Sean Bright
64ad839328
get_meta_tags now allows attributes that are not quoted as well as those
...
that are. It follows the HTML 4.01 specification for attribute values
outlined here -> http://www.w3.org/TR/html4/intro/sgmltut.html#h-3.2.2
2001-03-06 04:34:05 +00:00
Rainer Schaaf
929551891e
fixed bug in PDF_getbuffer (happend only on Windows)
...
When using PDFlib V4.0 the pdf_set(grey/rgbcolor) functions are replaced
by the PDFlib V4.0 function pdf_setcolor
2001-03-05 16:18:51 +00:00
Sean Bright
dca3c8753f
get_meta_tags now handles single quoted attributes as well as those that
...
are double quoted.
2001-03-05 00:20:41 +00:00
Zeev Suraski
1b38207410
I don't know German, but I imagine that was the problem :)
2001-03-04 22:03:23 +00:00
Zeev Suraski
1000a86e5f
Fix phpinfo() bug that crept in
2001-03-04 15:49:38 +00:00
Zeev Suraski
a22ada795f
Improve memory consumption on chunked output buffering
2001-03-04 15:46:13 +00:00
Zeev Suraski
39724f6e4a
Implemented chunked output buffering support - it's quite cool!
2001-03-04 15:12:38 +00:00
Frank M. Kromann
f6f67ffd62
Changed code layout to remove PHP warning when running php as a CGI.
2001-03-04 02:41:27 +00:00
Zeev Suraski
c64fe7fbe1
Fix non-thread safe mode
2001-03-04 01:45:19 +00:00
Zeev Suraski
0117c7848e
this function will never return true...
2001-03-04 01:17:21 +00:00
Zeev Suraski
0a98aa6ada
Improve chunked output buffering - the output handler now knows at which stage it is
2001-03-04 01:09:36 +00:00
Sylvain PAGES
a5c676e91f
- modified line 161 to be xml compliant
2001-03-03 07:58:31 +00:00
Sterling Hughes
d1fdea8373
add a warn not available for curl_getinfo().
...
remove unneccessary error checking.
2001-03-03 01:06:55 +00:00
Andrei Zmievski
80cdb812c1
@- Forced call_user_method() and call_user_method_array() to take the
...
@ object argument by reference. (Andrei)
* Forced call_user_method() and call_user_method_array() to take the
object argument by reference.
* Also cleaned up the protos for those functions and brought
call_user_method_array() into functional equivalence with
call_user_method().
2001-03-02 20:22:14 +00:00
Zeev Suraski
9f5b255b3f
Add CyberMut extension from Sylvain PAGES <spages@free.fr>
2001-03-02 14:36:29 +00:00
Sergey Kartashoff
f262b2a738
# TODO updates in mnoGoSearch module README
2001-03-02 12:14:31 +00:00
Sergey Kartashoff
5a8b126d21
# mnoGoSearch example fix
2001-03-02 11:43:27 +00:00
Sergey Kartashoff
8bc7344f0b
UDM_ISPELL_TYPE_SERVER parameter in udm_load_ispell_data has been added
...
to work with ispell server. This feature is available starting from
mnoGoSearch 3.1.12 or later. Fixed Udm_Free_Ispell_Data(). Example updated.
2001-03-02 11:41:35 +00:00
Thies C. Arntzen
1b7eaa76c4
@- Fixed binding of ROWIDs in OCI8. (Thies)
2001-03-02 09:12:55 +00:00
foobar
d3ce7f294c
ws fix
2001-03-02 00:15:49 +00:00
Rainer Schaaf
fa0085b495
- integrated new functions vor PDFlib V4.0 (beta1)
...
- all functions accepting strings now support binary strings, by calling
the appropriate PDF*2() functions.
2001-03-01 19:51:55 +00:00
Sergey Kartashoff
9a109425fe
UDM_PARAM_CROSS_WORDS mnoGoSearch extension session parameter has been
...
added to use crosswords available since version 3.1.11 of mnogosearch.
Example updated.
2001-03-01 14:51:12 +00:00
Sergey Kartashoff
474a59eacb
# mnoGoSearch example updated.
2001-03-01 14:18:07 +00:00
Sergey Kartashoff
cfe2412081
Udm_Api_Version function has been added.
...
Example updated.
2001-03-01 13:38:39 +00:00
Sergey Kartashoff
423fcaf2dc
Udm_Get_Doc_Count function from mnoGoSearch 3.1.11 has been added.
...
mnoGoSearch library version printing in phpinfo() has been added.
Example updated.
2001-03-01 13:26:26 +00:00
Sergey Kartashoff
035d2b3077
Added UdmFreeEnv call to mnoGoSearch link list destructor to
...
free memory allocated for environment.
2001-03-01 11:38:18 +00:00
Chuck Hagenbuch
e2f632e1f2
If php is compiled --with-imap-ssl, link in the SSL authenticator from
...
c-client so that we can use php to make ssl imap connections.
2001-03-01 07:06:54 +00:00
Dan Kalowsky
63ec8d7eaf
#adding name to credits. nothing to see here, keep moving.
...
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-28 01:02:48 +00:00
Andi Gutmans
01ed33d1b6
- Pointed out by Andrei. zval_ptr_dtor() should be used instead of the
...
zval_del_ref() function which should be nuked.
2001-02-27 20:16:35 +00:00
Zeev Suraski
b8787bf2d8
Fix chunked output buffering support
2001-02-27 00:09:14 +00:00
Sascha Schumann
95b3347d8b
Provide proper function aliases, if the sendmail functions
...
don't exist.
Submitted by: Nadir Amra <amra@us.ibm.com>
2001-02-26 20:26:07 +00:00
Andi Gutmans
a0d3c5a88e
- Finally rename modules.h to zend_modules.h for consistency (first try
...
was 2000-03-11).
- Remove the first_arg_force_ref[]; and friends extern from php.h as they
are included via zend_API.h
2001-02-26 18:14:50 +00:00
Dan Kalowsky
17444700d4
# Bad patch job on the last commit by me. I take the BAD_CODER award for
...
# the day.
Removes two unnecessary REGISTER_MAIN_LONG_CONSTANT's.
# what should be done about the PHP_MINFO_FUNCTION
2001-02-26 16:36:08 +00:00
Andi Gutmans
7fbdc83318
- Fix whitespace
2001-02-26 15:49:38 +00:00
Rui Hirokawa
f901783074
ob_iconv_handler changed to use for text data only.
2001-02-26 15:41:38 +00:00
Dan Kalowsky
d883ff47ed
Correctly checks for the proper header files, and excludes the QUOTA functions
...
from non-imap2000 systems (unavailable for testing at this time).
# anyone willing to test this out on non-imap2000?
PR:
Submitted by:
Reviewed by: Sascha Schumann
Obtained from:
2001-02-26 15:17:12 +00:00
James Moore
08d3e700fa
Fix for bug #9449 to stop infinate loop in wordwrap.
2001-02-26 13:04:00 +00:00
Andi Gutmans
eb6ba01d1c
- Fix copyright notices with 2001
2001-02-26 06:11:02 +00:00
Dan Kalowsky
6b80554404
Updating the IMAP client to include quota support via the imap c-client2000 libraries.
...
# Y2K support is good...
Removes the SA_QUOTA and SA_QUOTA_ALL defines
# After speaking with Mark Crispin, it is believed these never existed.
Cleans up the imap_status() function to remove notion of quotas in a status message.
# There is no quota setting in a STATUS message from c-client.
Changes the config.m4 to support the client.h include
# This should include all the approriate headers for c-client (as defined by
# c-client maintainers) such as mail.h, and rfc822.h.
Changed the directory search order for the include files as well.
# Place the /usr/local/include last, and searched the
# /usr/local/include/{c-client|imap} directories first
(PHP imap_get_quota) Added
(PHP imap_set_quota) Added
@- IMAP quota support (imap_set_quota, imap_get_quota) enabled/added via
@ c-client2000
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-02-25 04:41:18 +00:00
Sascha Schumann
b37b5f93aa
Don't assume that tzname exists, if tm_zone does not exist.
...
PR: #9380
2001-02-24 21:18:28 +00:00
Sascha Schumann
a40ee1f181
Actually compile on systems without syslog.
...
PR: #9412
2001-02-24 21:08:15 +00:00
Sascha Schumann
c2fb53bed7
Finish fopen-wrappers rename.
2001-02-23 22:07:16 +00:00
Sascha Schumann
e805c1b3c1
Fix another instance of the == bug.
2001-02-23 16:49:58 +00:00
Sergey Kartashoff
e6c03422fa
mnogosearch example updated.
2001-02-23 10:53:07 +00:00
Sergey Kartashoff
f263260d38
Added ispell loading routines and date search limits in mnogosearch module.
2001-02-23 10:34:50 +00:00
André Langhorst
9fa484104e
fix stas' last commit, added additional ifdefs PHP_SIGCHILD to fix win32 build
2001-02-23 05:08:15 +00:00
Sergey Kartashoff
047e598c3a
README for mnoGoSearch module updated.
2001-02-22 13:02:38 +00:00
Sergey Kartashoff
8bf6bdc2b9
Added Ispell routines to work with Ispell data loaded into sql tables.
...
Example updated.
2001-02-22 10:40:44 +00:00
Stanislav Malyshev
77d14126b1
Safer bin2hex
2001-02-22 10:36:40 +00:00
Stanislav Malyshev
4cda96691c
Fix #8992 , patch by yasushi_takahashi@tsuken.co.jp
2001-02-22 10:15:52 +00:00
Uwe Steinmann
454221ba62
- took out the HwSLS_FETCH to make it compile again on Unix
...
Is this really neccesary at this point?
2001-02-22 09:38:59 +00:00
Jon Parise
b0af96a9fe
The php_rand() and php_srand() functions added in the previous commit
...
require the inclusion of php_rand.h.
2001-02-22 03:37:32 +00:00
James Moore
118c015529
Adding php_rand() and php_srand(seed) as a wrapper around random, lrand48 and rand.
2001-02-22 00:24:19 +00:00
Shane Caraveo
6e31987376
Initalize some of the global vars. Crashed under ms debugger without having them initialized.
2001-02-21 23:57:28 +00:00
Rainer Schaaf
28ed45fa72
When using pdf_get_buffer() and doing a correct cleanup by calling pdf_delete()
...
this always resulted in a coredump (after everything was finished, so only
visible in the logfile).
So it seems to be neccesary to copy the contents of the result of get_buffer,
to avoid this coredump.
2001-02-21 23:30:21 +00:00
Thies C. Arntzen
7139926e84
fix possible leak.
2001-02-21 20:33:46 +00:00
Stig Bakken
5ed1199b61
* dbmaker fix, shared support
2001-02-21 18:23:53 +00:00
Andrei Zmievski
8d7972b69b
Fix memory leak.
2001-02-21 17:22:26 +00:00
Sascha Schumann
47f7795594
Correctly check for the existence of the st_rdev field.
...
Note that this field is required to exist for SUSv3 conformance.
Submitted by: amra@us.ibm.com
PR: #9358
2001-02-21 07:18:28 +00:00
Sascha Schumann
e8ef0d8b2c
Preprocessor stuff should go into CPPFLAGS.
2001-02-21 07:09:22 +00:00
Zeev Suraski
a3775357ec
Fix Win32 build
2001-02-20 22:32:29 +00:00
Andrei Zmievski
df868616aa
Enable UTF8 support (incomplete) by default.
2001-02-20 22:21:06 +00:00
Andrei Zmievski
a798fe8d5d
Include PHP compatibility header file.
2001-02-20 22:20:47 +00:00
Andrei Zmievski
6542e70473
Upgrade PCRE to version 3.4.
2001-02-20 22:00:33 +00:00
Daniel Beulshausen
714e340a3b
proper prefix for lookup_hostname
2001-02-20 20:52:53 +00:00
Daniel Beulshausen
adcd6e7b0b
make hyperwave build under win32
2001-02-20 20:45:55 +00:00
Daniel Beulshausen
a96174dbe3
make socket functions available to the outside
2001-02-20 20:34:14 +00:00
Daniel Beulshausen
721d59948e
make gd work again under win32
2001-02-20 18:00:44 +00:00
Daniel Beulshausen
57ce23e3cb
add configuration which links again libsasl.lib
2001-02-20 17:11:25 +00:00
Jason Greene
ffa08fc26e
Changed default behavior of array_search to match in_array
...
(strict was default on, and is now default off)
2001-02-20 16:44:57 +00:00
David Eriksson
f9fe688055
Patch for inherited interfaces by Daniel Stodden <stodden@in.tum.de>
2001-02-20 15:35:56 +00:00
Daniel Beulshausen
10695935e0
added missing ELS_FETCH()
2001-02-20 15:34:10 +00:00
Daniel Beulshausen
cef5e966fd
define HAVE_LIBICONV
2001-02-20 15:19:38 +00:00
David Eriksson
fd4f472928
Stop leaking ParameterType data
2001-02-20 15:18:27 +00:00
Daniel Beulshausen
1ed938ceba
no swf under win32
2001-02-20 15:15:10 +00:00
David Eriksson
a4d8deb6e5
Corrected typo in config.m4
2001-02-20 15:12:31 +00:00
Daniel Beulshausen
8fd9c6e206
changed zlibstat.lib -> zlib.lib, which is the correct name
2001-02-20 15:05:37 +00:00
Andrei Zmievski
1424e36315
Rename to array_search().
2001-02-20 14:23:03 +00:00
Adam Dickmeiss
4c04c755dd
Yet another bug fix regarding present.
2001-02-20 11:40:36 +00:00
Sergey Kartashoff
3bfea1e627
Phrase search support has been added to mnogosearch extenstion.
...
Min_word_len and Max_word_len support has been added to mnogosearch
extension. Example updated.
2001-02-20 11:29:16 +00:00
Jason Greene
1888a98a4b
Moved the core of in_array into the function php_search_array, which is called by
...
in_array and search_array (new)
@ Added search_array which works similar to in_array but returns
@ the key instead of a boolean. (jason@php.net )
2001-02-20 05:36:40 +00:00
Derick Rethans
82c2851bcc
- Fix for bug 9277, two the same boundaries make sense in some cases
2001-02-19 19:20:47 +00:00
Adam Dickmeiss
c211778f5d
Bug fix: number of records in yaz_range wrongly set to zero.
2001-02-19 17:06:40 +00:00
Sascha Schumann
0eec8cf2f7
Simpler fix for the InvalidOid thing by Tom Lane.
...
He assured me that InvalidOid has always expanded to (Oid) 0, so this
should be safe.
2001-02-19 16:31:17 +00:00
Sascha Schumann
1e6be5aaf5
Fix incompatibility with PostgreSQL CVS.
...
We now perform a check whether we need to include <postgres.h> to
succesfully compile.
PR: #9328
2001-02-19 08:14:45 +00:00
Sascha Schumann
b91b1779a5
Fix warning
2001-02-19 07:50:06 +00:00
Sascha Schumann
5db26dd415
Allow passing relative paths to --with-pgsql
2001-02-19 07:49:16 +00:00
Thies C. Arntzen
e9c4218470
[p]fsockopen: fixed possible leak
2001-02-18 18:54:41 +00:00
Thies C. Arntzen
d6aab98541
fixed buffer-overwrite
2001-02-18 18:31:31 +00:00
Thies C. Arntzen
84c243d3cc
fixed a possible double-free
2001-02-18 18:15:01 +00:00
Egon Schmid
a297dbd6f3
Typos in protos.
2001-02-18 16:59:18 +00:00
Harald Radi
176f24c9a5
export global constants for codepage and variant type
...
VT_* and CP_*
2001-02-18 16:51:27 +00:00
Harald Radi
c315e137c3
added a few more variant types for zval <-> variant conversion
2001-02-18 16:49:59 +00:00
Harald Radi
a15e465a34
@- Added new object VARIANT() to encapsulate values for use with
...
@ the COM and DOTNET module. Therefore it is now possible to pass
@ values by reference, convert php values to extended variant types (currency,
@ date, idispatch, iunknown, ...) and define the codepage that should
@ be used for unicode - conversion.
2001-02-18 16:49:06 +00:00
Harald Radi
8d6f13dc2b
added myself to CREDITS
2001-02-18 16:40:28 +00:00
Thies C. Arntzen
5f4090d0e0
- Fixed crash in OCI8 when using unitialized LOBs. (Thies)
2001-02-18 11:10:30 +00:00
Thies C. Arntzen
67c2eaa6ea
make oci work again.
2001-02-17 15:54:40 +00:00
Harald Radi
55f25fb942
multiple codepage support
...
export global constants
2001-02-17 02:16:29 +00:00
Zeev Suraski
392e9869ee
import notes modules from Brad Atkins
2001-02-16 21:36:30 +00:00
Sascha Schumann
7911be587b
Add all necessary includes for these header files.
2001-02-16 18:55:58 +00:00
foobar
2c3b7385bf
Fixed a typo in constant definitions and a possible crash in curl_setopt().
...
# pr: #9181
2001-02-16 14:31:37 +00:00
Egon Schmid
d27ebba71f
Wrong return type.
2001-02-16 13:13:52 +00:00
Egon Schmid
bbe53dedcc
Small typo.
2001-02-15 20:33:09 +00:00
Sterling Hughes
2f0238dc4e
Change e-mail address
...
# Can I get someone to change my cvsusers e-mail address to
# sterling@designmultimedia.com ?
2001-02-15 16:20:13 +00:00
Thies C. Arntzen
8499b430cf
@- Fixed some modules to allow using output-buffering. (Thies)
...
i nuked all unneded calls to php_header() - i'm not too sure how we do
handle HEAD Requests as they were only detected via php_header(). but calling
php_header from a module makes output-buffering unusable.
NOTICE: there is some EBSDIC stuff in gd.c - i think it's obsolete.
2001-02-15 14:49:01 +00:00
Thies C. Arntzen
5ca813a564
0..255
2001-02-15 14:01:18 +00:00
Thies C. Arntzen
72ec2e8f12
fixed SEGFAULT when using xml_set_object. Zend does not yes support
...
cyclic references!
2001-02-15 13:41:04 +00:00
Sergey Kartashoff
cd55dfa3bd
Added thow new mnoGoSearch agent session parameters:
...
UDM_PARAM_WEIGHT_FACTOR and UDM_PARAM_WORD_MATCH.
2001-02-15 11:50:49 +00:00
Sascha Schumann
637e8e14aa
There might be more systems which do not support chroot, so we check
...
for the existence of it.
Additionally, if chroot is not supported, the warn_not_available function
is invoked now.
2001-02-15 05:21:27 +00:00
Zeev Suraski
c239da7e66
Fix the PostgreSQL fix...
2001-02-15 02:15:36 +00:00
Derick Rethans
8cef8a9ca1
- chroot does not work on windows
2001-02-15 00:43:44 +00:00
foobar
28b2869ac8
This should make detecting the version of Oracle libs a bit more accurate
...
to avoid the 'missing libcore4' errors. (e.g. on AIX)
Bug reports: #9027 , #8905
2001-02-14 21:41:40 +00:00
Jon Parise
0450aecb8c
Fix build.
2001-02-14 20:10:15 +00:00
Sergey Kartashoff
59e1b2cd4e
mnoGoSearch config.m4 freebsd compatibility fix.
2001-02-14 14:39:40 +00:00
Sergey Kartashoff
3fc482b207
Added mnogosearch version checking into config.m4.
...
Some proto fixes.
2001-02-14 14:27:46 +00:00
Thies C. Arntzen
ecaeac5881
ocifreedesc() now spits a NOTICE when called the "wrong" way.
2001-02-14 13:06:03 +00:00
Derick Rethans
2648283b5b
- Added an extra chdir("/"); as sugested by Sascha
2001-02-14 11:02:54 +00:00
Derick Rethans
4a54a15fc6
- Added the chroot function for changing root in a script.
...
#- This can be usefull when using PHP in a shell environment, or when PHP
# runs as CGI which needs a little more security
2001-02-14 10:48:48 +00:00
Thies C. Arntzen
9d6f117938
remove stupid PGSQL warning
2001-02-13 20:13:14 +00:00
Adam Dickmeiss
9d8c1fb983
Bug fix: Record retrieval (present) is termiated on error.
2001-02-13 20:02:53 +00:00
Thies C. Arntzen
f6925611fb
@- PostgreSQL now does a rollback at the end of a request on every
...
@ persistent connection. This is done by doing an "empty" transaction
@ on the connection (This was advised by someone from the PostgreSQL
@ core-team). If you leave transactions open on your page you will see a
@ "NOTICE: BEGIN: already a transaction in progress" message in your
@ apache error_log. This message is created by the PostgreSQL libs - we can
@ do nothing about it. (Thies)
2001-02-13 18:28:24 +00:00
Thies C. Arntzen
79a38a1c3a
@- fixes PostgeSQL pg_connect() bug. We would sometimes close the default
...
@ link by acciedent. (Patch by: aja@nlgroup.ca )
2001-02-13 16:54:48 +00:00
Adam Dickmeiss
4ea3336962
Implemented yaz_present, yaz_scan, yaz_scan_result, yaz_ccl_conf,
...
yaz_ccl_parse and yaz_itemorder. Updated documentation.
2001-02-12 23:31:11 +00:00
Rainer Schaaf
4c21de658f
added module support (for dl()) for PDFlib
...
the PDF files now tell that they are generated by the PHP binding.
2001-02-12 17:50:39 +00:00
Thies C. Arntzen
201342385e
@- Improved OCI8 dead-session detection. (Patch by: George Schlossnagle)
2001-02-12 14:36:28 +00:00
Thies C. Arntzen
fc7d103b73
fixed possible leak in imap_search
2001-02-12 11:57:22 +00:00
Sean Bright
ef2e1a72cf
Fix for bug #4556
...
# This is pretty much a total rewrite of get_meta_tags using a simple
# handwritten tokenizer. It might be overkill, but it works.
2001-02-11 02:38:40 +00:00
Hartmut Holzgraefe
766bdbc919
make _php_image_convert configuration-aware
2001-02-09 21:14:30 +00:00
Hartmut Holzgraefe
d8a83a3722
libjpeg-not-installed protection
2001-02-09 21:04:45 +00:00
Rasmus Lerdorf
e0c4bd742e
Stray ]
2001-02-09 16:42:55 +00:00
Rasmus Lerdorf
4877d13ffa
What the heck is CUT? Assume someone meant UTC here. And fix a
...
warning.
2001-02-09 15:28:23 +00:00
Sergey Kartashoff
279588aa12
Added UDM_PARAM_FIRST_DOC and UDM_PARAM_LAST_DOC mnoGoSearch extenstion
...
result parameters. Example updated.
2001-02-09 13:29:20 +00:00
Boian Bonev
e7a148a758
fixed SIGSEGV in vpopmail_auth_user when optional arg apop is not set
2001-02-08 23:31:01 +00:00
Uwe Steinmann
32b8cdde14
- add domxml_unlink_node(), not tested
2001-02-08 15:12:16 +00:00
Sergey Kartashoff
df9803c75f
Added UDM_PARAM_SEARCHTIME result parameter.
...
Now at least mnoGoSearch-3.1.10 required to use this module.
Added some parameters aliases. Example updated.
2001-02-08 13:33:37 +00:00
Sergey Kartashoff
e0107c14fc
# also Added CREDITS and cvs Template
...
# added udm_config.h for compatibility with mnoGoSearch-3.1.10pre
2001-02-08 10:14:57 +00:00
Andrei Zmievski
51c535f510
Move todo items.
2001-02-08 04:55:49 +00:00
Boian Bonev
156207b37b
# fixed several warnings - variables not used, functions not declared
...
# added vclose() declaration - vpopmail does not declare it
2001-02-07 17:48:00 +00:00
Sascha Schumann
271617483a
Improve use of $withval. This also cures the problem of adding -Lyes/lib
...
to $LIBS.
2001-02-07 16:01:29 +00:00
Jim Jagielski
e541a27eed
For those lucky systems with both random() and *rand48(), the random()
...
family is the prefered choice. So if both exist, we now choose that.
2001-02-06 16:27:08 +00:00
Sergey Kartashoff
222ac6e30e
UDM_FIELD_ORDER and UDM_FIELD_CRC mnoGoSearch result fields has been added.
...
Example updated.
@- UDM_FIELD_ORDER and UDM_FIELD_CRC mnoGoSearch result fields
@ has been added. (gluke)
2001-02-06 15:40:33 +00:00
Sergey Kartashoff
0c759c822c
UDM_PARAM_WORDINFO mnoGoSearch result parameter has been added.
...
UDM_PARAM_RATING result field has neen added as alias for UDM_PARAM_SCORE.
Example updated.
@- UDM_PARAM_WORDINFO mnoGoSearch result parameter has been added.
@ UDM_PARAM_RATING result field has neen added as alias for
@ UDM_PARAM_SCORE. (gluke)
2001-02-06 14:30:55 +00:00
Andrei Zmievski
26283a3bcc
Preserve API compatibility.
2001-02-06 04:15:50 +00:00
Andrei Zmievski
88fce00cc0
Don't use Z* macros for non-zvals.
2001-02-06 03:57:43 +00:00
Andrei Zmievski
74912b9afb
Cleaned up and optimized WDDX serialization - it's about twice
...
as fast now.
2001-02-06 03:54:15 +00:00
Stephen van Egmond
b10273781a
Added tests for arpa/*.h and resolv.h which don't exist on the BeOS.
...
The dns functions on BeOS come from socket.h
2001-02-06 00:07:21 +00:00
Zeev Suraski
bf84618244
Fix Windows build
2001-02-05 21:59:17 +00:00
Derick Rethans
cf11a4fbc8
- Added a new parameter to mail() which appends aditional command line
...
parameters to the mail program. This is usefull to set the From headers
correctly with the -f parameter to sendmail p.e.
@- Added a new parameter to mail() which appends aditional command line
@ parameters to the mail program. (Derick)
2001-02-05 21:30:29 +00:00
Vlad Krupin
b5875d9d7c
Added myself to CREDITS (vlad)
2001-02-05 19:18:04 +00:00
Harald Radi
3926cc2278
fixes the problem that php.exe compiled on win2k platform won't run on any other
2001-02-05 18:36:54 +00:00
Vlad Krupin
ee668c5881
now when pspell/pspell.h is included, it will recognize
...
that it has to work in compatibility mode. (The previous fix
had the right idea, but was too far down in the source)
2001-02-05 18:15:31 +00:00
Andrei Zmievski
5355703cf3
Allow calling static methods via call_user_method_* functions.
2001-02-05 17:37:47 +00:00
Sergey Kartashoff
fb057e7ea9
Added new Udm_Clear_Search_Limits mnogosearch extension function.
...
@- Added Udm_Clear_Search_Limits mnoGoSearch extension function.
2001-02-05 15:15:09 +00:00
Sergey Kartashoff
886cd2d937
Fixed default search path.
...
@- Fixed default search path. (gluke)
2001-02-05 14:00:36 +00:00
Sergey Kartashoff
83265243d3
Added new Udm_Add_Search_Limit mnoGoSearch extension function.
...
Some bugfixes and example update.
@- Added new Udm_Add_Search_Limit mnoGoSearch extension function.
@ Some bugfixes and example update. (gluke)
2001-02-05 13:12:16 +00:00
James Moore
efa9319c64
Adding Sebastian Bergmann to QA team list.
2001-02-05 10:18:14 +00:00
Sergey Kartashoff
fad70e0d98
Fixed mnogosearch protos. Fixed mnogosearch functions return values.
...
A bug with capital letters break search has been fixed.
@- Fixed mnogosearch protos. Fixed mnogosearch functions return values.
@ A bug with capital letters break search has been fixed. (gluke)
2001-02-05 08:42:54 +00:00
James Moore
7a85ec55f7
Adding microtime() tests
2001-02-04 16:56:59 +00:00
James Moore
712f09d2a8
Always return a value even if HAVE_GETTIMEOFDAY is not set
2001-02-04 16:18:36 +00:00
Andrei Zmievski
56d3b036ec
Adding delimiter capturing functionality.
...
As far as NEWS, compilation fixed don't belong here.
2001-02-03 04:53:49 +00:00
Andrei Zmievski
c5baa5ede1
Revert bogus patch and fix it properly.
2001-02-02 21:32:16 +00:00
Colin Viebrock
96343bac90
Fix for http://bugs.php.net/bugs.php?id=9082
...
I know switch() is expensive, so someone rewrite this "properly" if you
want.
2001-02-02 20:55:27 +00:00
Rasmus Lerdorf
91d91d5052
pspell .12 fix
...
@ pspell .12 fix (Hugh Jones)
2001-02-02 18:28:48 +00:00
Harald Radi
2ee1ed2138
correct phpinfo() output
2001-02-02 18:11:39 +00:00
Egon Schmid
c6633698b4
Fixed protos.
2001-02-02 15:49:59 +00:00
Harald Radi
58dc4ad8db
correct phpinfo() output
2001-02-02 15:02:05 +00:00
Rasmus Lerdorf
6745b16c82
Fix strip_tags to not strip a lone > character
...
@ Fix strip_tags to not strip a lone > character (Rasmus)
2001-02-02 13:47:02 +00:00
Sergey Kartashoff
ab60971ec4
Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
...
for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
stored either in database or in the plain text files. Added php warnings.
Test example updated.
@- Added new UDM_PARAM_STOPTABLE and UDM_PARAM_STOPFILE parameters
@ for Udm_Set_Agent_Params mnoGoSearch module. Now it can use stopwords
@ stored either in database or in the plain text files. Added php warnings.
@ Test example updated. (gluke)
2001-02-02 12:54:15 +00:00
Thies C. Arntzen
9c1abab2db
ws-only
2001-02-01 17:16:35 +00:00
Thies C. Arntzen
1366f67d0b
@- When using the ob_gzhandler() PHP now automagically also sets the
...
@ Content-Lengh correctly which enables browsers to use the HTTP
@ Keep-Alive feature. (Thies)
2001-02-01 17:14:18 +00:00
Sascha Schumann
a4df53ad1c
Fix a huge memory leak in the ob_gzhandler.
2001-02-01 16:29:07 +00:00
Stanislav Malyshev
bb6d3e60e8
Allow usage of GD contexts and not tempfiles in output functions
2001-02-01 15:40:35 +00:00
Andrei Zmievski
898baa8b54
No need for CLS_FETCH().
2001-02-01 15:25:53 +00:00
Sascha Schumann
23ddeac9a5
Fix broken ZTS build
2001-02-01 15:24:17 +00:00
Sergey Kartashoff
d7b7c7283f
UDM_PARAM_CHARSET parameter in Udm_Set_Agent_Param() has been added to
...
set local charset you are using. Example updated also.
@- UDM_PARAM_CHARSET parameter in Udm_Set_Agent_Param() has been added to
@ set local charset you are using. Example updated also. (gluke)
2001-02-01 13:06:26 +00:00
Stanislav Malyshev
5af00138e9
Add utility function
2001-02-01 10:24:02 +00:00
Stig Bakken
e07eda31ed
did someone poop in the code? :-)
2001-02-01 09:36:52 +00:00
Uwe Steinmann
485c8fb570
some modification from Rainer Schaaf
...
* fixed prototype for pdf_new()
* MINFO: included Revision of pdf.c, removed info about CJK + in-memory, this is
standard with V3.x)
* repaired PDF_open_CCITT
* repaired PDF_setfont
* eliminated many compiler warnings.
* former resource "pdf document" is now called "pdf object"
2001-02-01 07:07:10 +00:00
Andrei Zmievski
0651b4ff16
Modified /F handling to allow calling object methods.
2001-02-01 05:04:58 +00:00
Egon Schmid
0c450fa966
Only two lines are allowed here.
2001-01-31 23:35:37 +00:00
Sean Bright
31c8104dc6
Added the mysql_get_*_info() functions.
...
# If anyone knows of a version of mysql lower then 3.20.32 that implements
# all 3 of these functions, please change the conditionals.
@- Added mysql_get_client_info(), mysql_get_server_info(),
@ mysql_get_proto_info(), and mysql_get_host_info() functions. (Sean)
2001-01-31 22:04:30 +00:00
Andi Gutmans
0611acb910
- Change unset() functions to null(). unset() is legacy
2001-01-31 21:53:30 +00:00
Daniel Beulshausen
6859af3ac8
nuke warning, and add dsp
2001-01-31 17:05:00 +00:00
Daniel Beulshausen
04267de3a1
fix typo
2001-01-31 17:00:11 +00:00
Daniel Beulshausen
6f1ca9de3e
make iconv compile under win32 using libiconv
...
# http://clisp.cons.org/~haible/packages-libiconv.html
2001-01-31 16:57:00 +00:00
Sergey Kartashoff
7413c65e31
Added search cache and track query features.
...
@-Added search cache and track query features.
# For example please refer at ext/mnogosearch/test.php
2001-01-31 14:04:30 +00:00
Harald Radi
2242647e64
added currency, date, IUnknown and NULL datatypes
2001-01-31 09:30:13 +00:00
Sean Bright
b940c97233
Fixed conditional.
...
# Woops!
2001-01-31 01:14:54 +00:00
Sean Bright
4086ba9773
Fix for bug #8991 . mysql_field_type() now returns "year" for columns of
...
type YEAR.
2001-01-31 00:55:28 +00:00
Adam Dickmeiss
2dc33e3e71
Fixed problem with looping present requests for Isite targets.
2001-01-30 13:09:25 +00:00
Sergey Kartashoff
cdf6b7e2c3
mnoGoSearch extension module initial version has been added.
...
This module currently at the alpha state, but it can be used already.
@- mnoGoSearch extension module initial version has been added.
@ This module currently at the alpha state, but it can be used already.
# For details about mnoGoSearch please refer at http://search.mnogo.ru
PR:
Submitted by:
Reviewed by:
Obtained from:
2001-01-30 12:53:51 +00:00
David Eriksson
4320dc0a2c
Applied patch from Oleg Sharoiko <os@rsu.ru> to fix bug in satellite_any_to_zval_sequence
2001-01-30 06:43:36 +00:00
Harald Radi
79a39e3d39
pass another com object as parameter
2001-01-30 02:09:39 +00:00
foobar
bbca5a86f8
Fixed bug #8946 . In some systems the libxml.* is actually libxml2.*
2001-01-29 23:15:11 +00:00
Harald Radi
dee2fd1ec4
use *_EXTERN_C() and PHP_WIN32
2001-01-29 21:54:46 +00:00
Harald Radi
7478783b20
fixed unicodeconversion and parameter passing bugs in com and dotnet modules
2001-01-28 03:41:43 +00:00
Harald Radi
dac7ab13da
fixed unicodeconversion and parameter passing bugs in com and dotnet modules
2001-01-28 03:24:51 +00:00
John Donagher
f5a369232a
PR:
...
Clean up and add folding
2001-01-28 00:45:28 +00:00
Egon Schmid
35524d3a73
Fixed some protos.
2001-01-27 19:48:58 +00:00
Egon Schmid
5b57490772
File formats in uppercase characters.
2001-01-27 14:20:06 +00:00
Sascha Schumann
eb10bf2358
This config.m4 was obviously not tested at all before being committed.
...
s/withval/PHP_MING/
2001-01-27 10:05:30 +00:00
James Moore
4d612e7827
Adding Ming experimental file
2001-01-27 00:33:24 +00:00
Dave Hayden
7896314614
First include of ming (SWF generation) library wrapper
...
http://www.opaque.net/ming/
2001-01-27 00:26:23 +00:00
Boian Bonev
5f89c6892f
# fixed protos in comments for *_ex functions
2001-01-27 00:25:09 +00:00
Egon Schmid
416f4b7e95
Mostly off by one.
2001-01-26 21:41:38 +00:00
Egon Schmid
c7f5ad4336
Fixed another proto.
2001-01-26 21:22:33 +00:00
Egon Schmid
a8624ac62a
Fixed some protos.
2001-01-26 20:56:14 +00:00
Egon Schmid
d683a1e18d
Whitespace change for funclist.txt.
2001-01-26 20:46:23 +00:00
Egon Schmid
6ec31afcb1
Fixed some protos.
2001-01-26 20:42:51 +00:00
Egon Schmid
a06f392ae4
Fixed some protos.
2001-01-26 18:52:38 +00:00
Uwe Steinmann
dc1bcb790e
- This is major change of the php pdf api to be closer to the pdflib api
...
done by Rainer Schaaf from pdflib GmbH.
- Some more functions has been implemented as well.
- backwards compatibility has been maintained a much as possible
2001-01-26 08:20:24 +00:00
Uwe Steinmann
bcac88e8fb
- changed naming of some functions (kept compatibility)
2001-01-26 08:15:57 +00:00
Daniel Beulshausen
a5064992e9
make msql build under win32
2001-01-25 22:07:31 +00:00
Hartmut Holzgraefe
7ca330741b
gd didn't work if no WBMP was available after rev 1.107 -> fixed
2001-01-25 20:52:52 +00:00
Stanislav Malyshev
773b582b1a
Fix crash in stdout image output
...
# Basically, this code sucks. It should use GD contexts, not temp files
2001-01-25 14:35:36 +00:00
Sebastian Bergmann
f703c4e178
Added my_winthread.c. Thanks to Thimble Smith.
2001-01-24 21:08:12 +00:00
MySQL Team
5073b97ffb
Don't #define HAVE_COMPRESS on windows.
2001-01-24 18:11:25 +00:00
Egon Schmid
5ad27928ac
Protos fixed.
2001-01-24 09:42:17 +00:00
Derick Rethans
c5b67e119c
- Commited a patch that adds support for converting Images to WBMP format.
...
(Thanx to Denis Gasparin <denis@editnet.it>)
@- Added support for converting images from JPG/PNG on the fly with the GD
@ extension, which is usefull for creating dynamic WAP-sites (Derick)
2001-01-24 09:24:26 +00:00
Boian Bonev
e7da11fd93
changed function names to be like vpopmail_add_user instead vpopmail_adduser
...
added vpopmail_error to report error string (vpopmail_errno global var)
put exec functions back in with _ex (vpopmail_add_domain_ex)
rewritten README to help users keep secure
fixed protos to state bool instead void return type
2001-01-23 21:46:04 +00:00
MySQL Team
800f555b70
Upgrade ext/mysql/libmysql to version 3.23.32. One notable bug fix is
...
that the client can now connect to a server which is using a default
charset other than latin1.
2001-01-23 16:48:50 +00:00
jim winstead
36ef109f1a
jouni was added as an author of the docs
2001-01-23 00:50:49 +00:00
Andrei Zmievski
b56006b5b2
If we can't call custom replacement function, don't change the subject
...
string.
2001-01-22 22:05:04 +00:00
Andrei Zmievski
63f73bfe13
@- Improved str_replace() to accept an array for any parameter - similar
...
@ to preg_replace(). (Andrei)
2001-01-22 21:39:55 +00:00
Andrei Zmievski
5afcfc4498
Don't need to check for out-of-memory condition.
2001-01-22 19:42:29 +00:00
Andrei Zmievski
5068444dfe
Z-ify the source.
2001-01-22 19:29:44 +00:00
Daniel Beulshausen
7357ee8fa4
rename php_mssql70.dll to php_mssql.dll, as we have only one mssql extension
2001-01-22 19:15:32 +00:00
Andrei Zmievski
21aeba29d0
@- Fixed extract() to properly prefix numeric keys when EXTR_PREFIX_ALL is
...
@ used. (Andrei)
@- Added EXTR_PREFIX_INVALID flag to extract() to automatically prefix
@ string keys that do not constitute valid variable names. (Andrei)
2001-01-22 17:27:02 +00:00
Rasmus Lerdorf
83cf6629ec
@BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
...
BeOS patch from svanegmond@bang.dhs.org modified somewhat by Rasmus
2001-01-21 17:29:15 +00:00
Sterling Hughes
95bf259c29
Fix the scheme handler support and make it compile on win32 systems.
2001-01-20 23:42:03 +00:00
Sascha Schumann
5d03ac038d
Revert last completely broken patch.
2001-01-20 10:10:50 +00:00
Rui Hirokawa
d5550b4706
added: EXPERIMENTAL
2001-01-20 02:59:59 +00:00
foobar
ee73470370
@- Added URL support for getimagesize() function (Jani)
...
# tested with all imagetypes. Also the iptc works.
2001-01-19 16:52:40 +00:00
foobar
809bf95a90
Added some missing EXPERIMENTAL files plus some missing extensions
...
into EXTENSIONS file.
2001-01-19 13:43:41 +00:00
foobar
5dcf6618bc
@- Added xslt_set_scheme_handler() function (carmelo@akooe.com)
2001-01-19 11:44:12 +00:00
Derick Rethans
82d58bdc4a
- Added the pg_lolseek function, which allows for arbitrary seeking within
...
a large object, and the pg_lotell call, which can be used to find the
current file offset for a large object (Submitted by: Adam Haberlach
<adam@newsnipple.com>).
@- Added the pg_lolseek and pg_lotell functions (Derick)
2001-01-18 22:17:05 +00:00
Derick Rethans
9a3cb4559f
- Fix for bug #8367 (wordwrap not cutting correctly)
2001-01-18 21:46:24 +00:00
Sterling Hughes
405d11e604
Fix the proto
2001-01-18 20:49:12 +00:00
Alex Akilov
ddf488970c
Support AIX/HP shared lib extensions and j2sdk1.3.0 (hotspot)
2001-01-18 18:36:23 +00:00
Sam Liddicott
ec966598f4
Some decent credits and such in the phpinfo page
2001-01-18 16:16:29 +00:00
foobar
bdb2651c1d
Fixed a typo.
2001-01-18 15:09:35 +00:00
Andrei Zmievski
4ea7ba79c5
@- Fixed 'O' and 'r' flags of date() to have correct sign for timezone
...
@ offset. (Andrei)
2001-01-18 14:36:43 +00:00
Sam Liddicott
fd46d9ee9e
Aghh. Despite my efforts two files still slipped through
2001-01-18 13:30:02 +00:00
Sam Liddicott
04d7c9815f
First checkin of muscat/empower module; been using it here for some time
...
Developing using aegis and just checking in baseline from time to time
See samjam@php.net for questions
2001-01-18 13:21:34 +00:00
Stanislav Malyshev
66dafaa2c5
Libedit readline replacement support
...
# Comments are very welcome!
2001-01-18 11:42:09 +00:00
Andrei Zmievski
ccd94c4831
@- Changed 'Z' flag to date() to always return timezone offset with
...
@ negative sign if it's west of UTC. (Andrei)
2001-01-17 21:09:16 +00:00
Sean Bright
457888ac44
Put these back where they belong. They weren't necessary unless ZTS and
...
HAVE_LOCALECONV were both defined.
2001-01-17 20:37:49 +00:00
Sterling Hughes
db50ae2e7d
Fix (well it works) the error display with sablotron.
2001-01-17 14:14:22 +00:00
Stig Venaas
c927c254dd
Making parallel search allow different filter for each link
2001-01-17 13:43:39 +00:00
foobar
051dd6108c
Make sablot compile again. Typo?
2001-01-17 11:43:17 +00:00
Rasmus Lerdorf
f74998a783
Kill a couple of warnings
2001-01-17 06:40:48 +00:00
Sean Bright
a588d65591
Added string comparison function strcoll(). It uses the current locale to
...
do the comparisons.
@- Added localeconv() and strcoll() functions for localization. (Sean)
2001-01-17 01:10:50 +00:00
foobar
625978cd9c
Fixed bug #8733
2001-01-16 22:34:19 +00:00
Rasmus Lerdorf
69abc1e9d7
Kill some warnings
2001-01-16 20:37:51 +00:00
Sterling Hughes
fa0727e794
@ Added the xslt_set_base function. (Sterling)
...
Added the SABLOT_SET_ERROR() macro to set sablotron errors...
2001-01-16 12:02:47 +00:00
Egon Schmid
57d200c21b
Some protos fixed.
2001-01-15 12:01:34 +00:00
Zeev Suraski
0592feb2a1
Nuke a couple of warnings
2001-01-15 10:48:48 +00:00
Zeev Suraski
90c8e2cf75
Fix Win32 build
2001-01-15 10:22:19 +00:00
David Croft
5951b8063a
restored vadddomain/vdeldomain to use library functions rather than invoking
...
vpopmail executables
implemented vaddaliasdomain natively
global variable to store whether vpopmail was used and only vclose() if
necessary
return the functions to returning true/false for success/failure rather than
some arbitrary vpopmail return value
return the functions to not doing everything at once as you then lose
fine-grain control over its operation
change C++ comments to C
2001-01-15 02:14:13 +00:00
Stig Bakken
fcdf6ac680
@- Added odbc_error() and odbc_errormsg() functions (Stig)
2001-01-15 01:11:06 +00:00
David Croft
646e796e5a
vpopmail's bin dir is unnecessary as the library exports these functions
2001-01-14 22:21:16 +00:00
Boian Bonev
487f211fcf
#added simple minimum survival readme
2001-01-14 17:38:30 +00:00
Boian Bonev
bd92e10213
merged my version with David Croft's
...
removed unneccessary php.ini calls and defines
removed module_init, shutdown, request_init declarations and references
added request_shutdown to close mysql/other db connection
(a must in apache module)
added defines for external binaries from vpopmail
changed functions to present more consistent api from user's point of view
so that in one call more stuff is done
added more comprehensive MINFO function helping users debug their case
added static int vpopmail_exec(char *cmd) [will change to php_Exec soon]
@ vpopmail extension updated to working alfa. give it a try but keep in
@ mind that it is not ready for production environments (Boian Bonev)
2001-01-14 17:04:22 +00:00
Boian Bonev
f6ad8186d6
updated
2001-01-14 16:47:56 +00:00
Rasmus Lerdorf
e37d304d35
Name this php_Exec instead
2001-01-14 16:41:06 +00:00
Boian Bonev
ef462402f4
rewritten the whole logic of the script
...
added VPOPMAIL_BIN_DIR to point to ~vpopmail/bin directory
added checks for ALL files needed by the extension
style fixes to the output
2001-01-14 16:40:26 +00:00
Sean Bright
40f3524247
Added localeconv() function. Operates similarly to localeconv() defined in
...
locale.h. Should work well under non-ZTS as well as ZTS.
2001-01-14 16:36:30 +00:00
Rasmus Lerdorf
5311bfa5c5
Export _Exec for extensions to use
2001-01-14 16:30:22 +00:00
Thies C. Arntzen
6b84fb1cde
fixed readfile() fd-leak.
...
guys, always remember that every function that *generates output* could cause a
bailout if ignore_user_abort is set to false (and the user _aborts_ the
connection). in this case a longjump will be performed and our function (in
this case readfile) will have no chance to clean-up. having said that it's a
good idea to register all opened files using REGISTER_RESOURCE - that way the
engine will make sure they get closed on request end.
2001-01-14 14:11:38 +00:00
Zeev Suraski
27afea5c6d
Don't fetch numeric indices in mysql_fetch_object()
2001-01-14 09:30:17 +00:00
David Croft
d9671d5d49
# restored code for latest vpopmail version
...
@ New extension for vpopmail - http://www.inter7.com/vpopmail (David Croft)
2001-01-14 09:01:26 +00:00
David Croft
560e218ee6
vpopmail extension
2001-01-14 08:54:01 +00:00
Rui Hirokawa
c61a557808
added iconv_get_encoding and supported initialization from php.ini
2001-01-14 07:40:16 +00:00
David Croft
00db616ac4
reserve space for quoted characters
...
fixes buffer overrun bug #8694
2001-01-14 05:37:33 +00:00
Zeev Suraski
a85da45a66
Both thread-safe and thread-unsafe builds should be ok now
2001-01-13 23:49:44 +00:00
Zeev Suraski
94ca2181fb
Add sybase_get_last_message() from Jan Fedak <J.Fedak@sh.cvut.cz>
...
@- Added sybase_get_last_message() to the Sybase CT module (Jan Fedak)
2001-01-13 22:47:44 +00:00
Derick Rethans
97510346ed
- Removed a stale var that broke the build
2001-01-13 22:00:23 +00:00
Derick Rethans
1104639d0a
- There was one ret left, changed it to FG(pclose_ret), this fixes the
...
build
2001-01-13 21:52:09 +00:00
Colin Viebrock
707e7bd938
Support for perl-compatible blowfish encryption (in libmcrypt CVS and
...
versions later than 2.4.8)
2001-01-13 20:55:15 +00:00
Zeev Suraski
86624dfad9
- Fix exec() bug
...
- Merge fsock and file globals
2001-01-13 13:59:22 +00:00
Zeev Suraski
6562e98afa
Fix Windows & thread-safe build
2001-01-13 13:02:19 +00:00
Stig Venaas
d9f52a4176
Fixed memory leaks that could happen in some error situations. Also removed
...
some unnecessary code in ldap_set_option()
2001-01-13 10:00:27 +00:00
Stig Venaas
fe98565b60
Realized that emalloc() never returns NULL, simplified code
2001-01-13 09:16:36 +00:00
Stig Venaas
2d17c57664
Added parallel search when given array of link identifiers
...
@- Made ldap_list(), ldap_read() and ldap_search() do parallel search when
@ first parameter is an array of link identifiers (Stig Venaas)
2001-01-12 22:08:26 +00:00
Stig Venaas
5cf503b2a9
Follows redirects again, and $http_response_header now contains all headers
...
with an empty string as delimiter
@- Made fopen() of HTTP URL follow redirects, $http_response_header will
@ contain all headers with empty string as delimiter (Stig Venaas)
2001-01-12 20:49:25 +00:00
foobar
ab6639564c
- Fixed a possible crash bug in xmltree().
...
# PR: #7052
2001-01-12 16:49:06 +00:00
Sterling Hughes
0e6fe30139
Make daniel's changes work in ZTS mode...
2001-01-12 10:49:38 +00:00
Daniel Beulshausen
490cca07de
take out emtpy struct
...
# vc chokes on them
2001-01-12 10:26:29 +00:00
Rasmus Lerdorf
69d16ee1f9
Fix for bug 6073 from Sean R. Bright <elixer@erols.com>
2001-01-12 08:03:24 +00:00
foobar
a8e88c0ddc
Fix build.
2001-01-11 18:25:33 +00:00
foobar
1fc035dfa5
If external expat is used, header file is expat.h
2001-01-11 16:19:20 +00:00
Daniel Beulshausen
29714ff530
removed old expat libs
2001-01-11 14:50:52 +00:00
Rui Hirokawa
c2881f7c6b
disable directory search for libexpat and disable some macros for libxml-1.95.
2001-01-10 14:41:01 +00:00
Thies C. Arntzen
6871b839b5
exec'd processes now get cleaned up even if the browser connections was
...
aborted.
fixes : #8143
2001-01-10 13:08:14 +00:00
David Croft
2b3d9d7ec4
fixed swatch internet time (bugs#8242,7106)
2001-01-10 06:48:06 +00:00
David Croft
0afe88cbc6
Allocate buffer in date() for the actual length of the timezone (bug#8292)
2001-01-10 04:01:02 +00:00
Rui Hirokawa
c172daa6d1
added a option to dedine libexpat install directory (by Jani Taskinen)
2001-01-09 22:15:56 +00:00
Sterling Hughes
f058a07915
Move the definition of the xslt_set_encoding to the "proper" place in the file and
...
fix the prototype.
2001-01-09 20:17:11 +00:00
Sascha Schumann
7eb8469679
Avoid possible memory leak in the URL scanner, if the connection is
...
interrupted during writing the output.
2001-01-09 16:45:19 +00:00
Egon Schmid
8d5d20500b
Sorry, two lines are enough.
2001-01-09 15:53:09 +00:00
Egon Schmid
6aef38f590
Fixed protos.
2001-01-09 15:48:15 +00:00
Rui Hirokawa
187828f2f2
moved to ext/iconv.
2001-01-09 15:40:49 +00:00
Rui Hirokawa
0acff20f38
added test code to iconv.
2001-01-09 15:39:25 +00:00
Rui Hirokawa
4e035d035a
move iconv related functions to separate iconv extension.
2001-01-09 15:22:45 +00:00
Rui Hirokawa
0afcb03de3
added iconv extension.
2001-01-09 15:11:23 +00:00
foobar
e247b206e0
If TZ environment variable is changed call tzset().
...
# Although man page for tzset() says it should be called automaticly
# by some of the time related functions, IRL this doesn't happen.
# PR: 3977, 4732, 5510, 6972, 7203, 8502, 8609
2001-01-09 09:02:21 +00:00
Sascha Schumann
dbb3402c0f
php_add_var_hash() uses sizeof(id) in the calls to zend_hash_*, implying
...
that all bytes in the character array have been set (they are used
to compute the hash value using hashpjw).
The function assumes that sprintf's %p modifier would always prefix
the output with "0x". On HPUX, this is not the case. Hence, not
all bytes may be properly initialized before being read.
This has been addressed by using only initialized bytes as the key.
2001-01-09 05:49:37 +00:00
Sascha Schumann
7fbc93d57f
WS fix
2001-01-08 23:18:07 +00:00
Sascha Schumann
6a6317a403
Fix ZTS build (broken by iconv-related changes).
2001-01-08 23:13:57 +00:00
Andrei Zmievski
145f60a485
@- Changed extract() to check that prefixed name is a valid one. (Andrei)
...
Changed extract() to check that prefixed name is a valid one.
Optimized extract() a bit too.
# It'd be nice if someone made regression tests for extract().
2001-01-08 21:57:14 +00:00
Derick Rethans
aff9ff8356
- Fix for bug #8535 - floating point exception on FreeBSD while initializing
...
crypt random numbers
2001-01-08 21:13:24 +00:00
Andrei Zmievski
74175e429d
@- Changed extract() to return the number of variables extracted. (Andrei)
2001-01-08 20:57:59 +00:00
Stanislav Malyshev
b06323cd6e
Optimize it a bit - no need to dup empty string (which can be pretty common for .ini)
2001-01-08 20:13:32 +00:00
Stanislav Malyshev
77ebea3a6f
Duplicate property value, otherwise parser would free it and we're in bad shape.
2001-01-08 20:10:16 +00:00
Stanislav Malyshev
d812ecb75f
Fix undefind filehandle type on INI parsing.
2001-01-08 19:45:12 +00:00
Egon Schmid
40a71cfdc7
Corrected some protos.
2001-01-08 18:31:59 +00:00
Stig Venaas
897f293d13
Added ldap_rename(). Currently requires API with ldap_rename().
...
@- Added ldap_rename() function (Stig Venaas)
2001-01-08 18:13:08 +00:00
Stanislav Malyshev
c7984660fc
Use platform's dir separator
2001-01-08 16:39:39 +00:00
Rui Hirokawa
6368933118
added iconv_set_encoding() to change the encoding setting.
2001-01-08 02:39:52 +00:00
Rui Hirokawa
517b81ad43
added a output handler function ob_iconv_handler which tranforms output encoding using iconv().
2001-01-08 01:40:33 +00:00
Stig Venaas
7e79846d10
Added OpenSSL
2001-01-07 21:35:20 +00:00
Stig Venaas
0ecaf2eac6
Minor changes to LDAP_OPT constants, and added support for controls to
...
ldap_set_option.
@- Made ldap_set_option() support controls (Stig Venaas)
2001-01-07 21:18:02 +00:00
Zeev Suraski
c4d673a1f9
Fix possible startup crash
2001-01-07 18:56:40 +00:00
Derick Rethans
62375ba7bd
- Fix for bug 7035, regarding PHP_MAX_SALT_LENGTH for OpenBsd
2001-01-07 17:22:17 +00:00
Stig Venaas
1b3385cad8
Added LDAPv3 stuff. ldap_search() now treats LDAP_ADMINLIMIT_EXCEEDED like
...
LDAP_SIZELIMIT_EXCEEDED and returns referral results.
Added new functions ldap_parse_result(), ldap_first_reference(),
ldap_next_reference() and ldap_parse_reference() that among other things
make referrals and search references accessible.
@- Changed ldap_search() and added functions ldap_parse_result(),
@ ldap_first_reference(), ldap_next_reference() and ldap_parse_reference()
@ to cope with LDAPv3 stuff like referrals and references. (Stig Venaas)
2001-01-07 13:03:11 +00:00
Sascha Schumann
3f2a3a9b01
Fix ZTS build which was broken by the last commit
2001-01-07 12:22:50 +00:00
Thies C. Arntzen
d79071b2da
fix small leak in ociexecute()
...
fixes : #8573
submitted by: tcarroll@chc-chimes.com
2001-01-07 11:43:07 +00:00
Stig Venaas
59fa3f3d04
Made OpenSSL extension work with 0.9.5 and changed version check to 0.9.5
2001-01-07 11:36:15 +00:00
Sascha Schumann
1b15d1f166
Use MAKE_STD_ZVAL/FREE_ZVAL to handle zval memory allocation.
2001-01-07 10:42:15 +00:00
Sascha Schumann
41cd55dd44
Add a new test and refine the fourth test
2001-01-07 10:40:41 +00:00
Sascha Schumann
24c49a21b9
Use zval_ptr_dtor instead of zval_dtor/FREE_ZVAL pair.
...
Submitted by: Andi Gutmans
2001-01-07 10:32:06 +00:00
foobar
9f68043524
Fixed bug: 8478
2001-01-07 09:22:53 +00:00
foobar
dd2cd995cb
imap_user and imap_password were freed too early.
...
PR: 8424
2001-01-07 07:47:46 +00:00
Rui Hirokawa
337edb9cf4
fixed option name mismatch.
2001-01-06 08:38:07 +00:00
Rui Hirokawa
20aa57ec0d
linked with libexpat. it's necessary to use sablot-0.50. added xslt_set_encoding() function.
2001-01-06 08:37:00 +00:00
Frank M. Kromann
e4d1107058
Adding hack to allow odbc_tables to work on Access databases
2001-01-05 22:01:22 +00:00
Daniel Beulshausen
315e790ccc
remove stupid ifdef's
2001-01-05 18:09:43 +00:00
Daniel Beulshausen
be5cfa608a
fixed date not allocating enough buffer, bug 7963
2001-01-05 17:34:47 +00:00
Daniel Beulshausen
fe8238e6e9
include config.w32.h under win32
2001-01-05 17:07:02 +00:00
Andi Gutmans
5e5c59ebcb
- Get rid of C++ comments
2001-01-05 14:34:15 +00:00
Uwe Steinmann
db56ddb36c
- fixed potential segmfault in xmldoc() and xmldocfile()
2001-01-05 14:11:19 +00:00
Rui Hirokawa
32c3af8c39
added libxml-1.95 support and some new functions related to namespace support. changed config.m4 to support xml extension as shared module.
2001-01-05 06:36:51 +00:00
Frank M. Kromann
2c3f424e01
Fixing wrong return value when executing statements not returning a record set.
2001-01-04 17:29:50 +00:00
Jan Borsodi
db0be122d2
Added credits.
2001-01-04 12:35:48 +00:00
Jan Borsodi
b849be0b02
Removed some stupid header text.
...
Implemented functions for returning the error string and starting and stopping the message handler.
Added comments for all functions.
2001-01-04 12:30:20 +00:00
Jan Borsodi
fb9c918f1a
Removed some stupid header text.
...
Added a new struct for handling error logs and Qt Message Handler handles.
Added functions for returning the error string and starting and stopping the message handler.
2001-01-04 12:29:08 +00:00
Jan Borsodi
0798a81739
New function qdom_error which returns the error text from the last qdom operation, or FALSE if none occured.
...
Fixed the documentation for the qdom_tree function.
Added init and shutdown code for some global variables.
Added code for starting and stopping the Qt Message Handler in qdom_tree.
2001-01-04 12:27:39 +00:00
Jan Borsodi
c178c3b5e4
New function qdom_error which returns the error text from the last qdom operation, or FALSE if none occured.
2001-01-04 12:26:22 +00:00
Jouni Ahto
abcdb47fc2
Changing my email address...
2001-01-04 11:15:35 +00:00
Jon Parise
8dca8f0e69
Make socket support compile under Solaris 8 with the Sun WorkShop compiler.
...
PR: 8468
2001-01-03 18:06:10 +00:00
foobar
e4a946b3f4
I missed this function..
2001-01-03 16:53:00 +00:00
foobar
d52824c42d
Fix pr #8305 .
2001-01-03 16:07:55 +00:00
foobar
31a1c0aca6
Trying to bring pdf extension a bit more up to date.
2001-01-03 16:05:45 +00:00
Daniel Beulshausen
2f6a05ecb8
fix filepath handling
2001-01-03 15:50:20 +00:00
Daniel Beulshausen
795025e0dc
fix bug 8341 & 8394
2001-01-03 11:41:31 +00:00
Zeev Suraski
efab051391
Import COM patch from Harald Radi <h.radi@nme.at>
...
The new code should allow for better international support.
2001-01-02 23:08:20 +00:00
Zeev Suraski
bd0ac7fe14
Many patches. I hope I remember them all:
...
- Make sapi_module available to external modules (PHPAPI)
- Make the php.ini path reported in phpinfo() always point to
real full path of the php.ini file
- Optimized the ISAPI module not to read unnecessary server
variables and read necessary variables at most once.
2001-01-02 22:49:31 +00:00
Chuck Hagenbuch
ba114dc997
Make the generated <input> lower case and terminated with a /,
...
to be xhtml-compliant.
2001-01-02 20:39:27 +00:00
Rasmus Lerdorf
a35b9c45f5
Fix date('r') overflow
...
@Fix date('r') overflow
2001-01-02 20:26:51 +00:00
Stig Venaas
c5b11042b0
Hopefully solves some bad behavior in array_unique(), array_intersect()
...
and array_diff(). Now using SORT_STRING instead of SORT_REGULAR
@- Fixed misbehavior of array_unique(), array_intersect() and array_diff();
@ could in certain cases give wrong result or segfault (Stig Venaas)
2000-12-28 23:50:42 +00:00
Dan Kalowsky
fbbaf5b5b5
it seems one section was missing the HAVE_SOLID_30 section...
2000-12-28 22:01:50 +00:00
Dan Kalowsky
8b2dbfca77
added #define(OPENLINK) to the SDWORD instead of SQLINTEGER line.. this is for bug #5526 to allow compiles.
2000-12-28 19:23:09 +00:00
Dan Kalowsky
68fa8f9b0b
config file was missing a new line which seemed to cause the if statement to parse the else into an echo. yuck.
2000-12-28 19:12:28 +00:00
Rasmus Lerdorf
2a926135a9
Fix typo
2000-12-28 17:25:11 +00:00
Stanislav Malyshev
cf66091554
Add license info
2000-12-28 12:13:21 +00:00
Jon Parise
4e384e0073
Make nl2br() output <br /> instead of <br> to be XHTML compliant.
...
Bug: 8390
2000-12-28 01:02:44 +00:00
Zeev Suraski
338b9b0819
- Make the INI mechanism thread safe (fix necessary API changes from Zend)
...
- Make the Win32 non-TS configuration build again
2000-12-27 15:43:05 +00:00
Andrei Zmievski
34f5c0c36d
Fix argument check (bug #8421 ).
2000-12-27 13:59:40 +00:00
Zeev Suraski
a697d076bc
Add Release_TSDbg support. This mode compiles PHP with the release C runtime,
...
but with optimizations disabled and with debug info. Some crashes can only
be debugged using this mode.
2000-12-26 22:15:32 +00:00
Sascha Schumann
60492fa685
Skip mcrypt/gmp tests, if the extensions are not available.
2000-12-24 16:51:04 +00:00
Sascha Schumann
8e22a8a73b
Add session_set_save_handler test
2000-12-24 16:33:27 +00:00
Sascha Schumann
3ca8721e99
More instances of s/efree/FREE_ZVAL/
2000-12-24 16:30:42 +00:00
Sascha Schumann
7574cd4360
Not freeing the zval using FREE_ZVAL caused a segfault in
...
shutdown_memory_manager.
2000-12-24 16:26:38 +00:00
Sascha Schumann
80ff1a3874
Also call some member functions of the deserialized objects
2000-12-24 16:06:32 +00:00
Sascha Schumann
72f99e668e
Add session object deserialization test
2000-12-24 16:01:32 +00:00
Sascha Schumann
5722a0e1ce
Add two regression tests for the session module
2000-12-24 15:57:05 +00:00
Sascha Schumann
3a16dc1cac
Fix segfault introduced through recent zend_hash_get_current_key* changes.
2000-12-24 15:50:39 +00:00
Thies C. Arntzen
1fb4c6dfe8
revert last fix. the problem is now fixed globally in Zend.
2000-12-24 10:58:44 +00:00
Thies C. Arntzen
009064bc4d
fix #8363 .
...
fix call_user_function when parser->object is not set.
2000-12-23 21:46:44 +00:00
Sascha Schumann
92f61634eb
(PHP session_unset) Return early, if no session was started.
...
PR: #8354
2000-12-22 22:53:14 +00:00
Sascha Schumann
0b194cbca6
Support multi-char arg separators.
...
PR: #8274
2000-12-22 22:52:11 +00:00
Sascha Schumann
9815d5c94c
Signal an error condition, if write was unable to perform the complete
...
operation.
2000-12-22 19:26:02 +00:00
Sascha Schumann
663d426e74
NULL is a valid return value of mmap. Check against (void *) MAP_FAILED.
2000-12-22 16:39:01 +00:00
Sascha Schumann
3c9f50efaf
(php_file_copy) Use mmap to map the source file into our address space
...
and then simply write it out to the target file. That avoids switching
between user and kernel land too many times. If that does not work, we
fall back to the read/write method.
2000-12-22 16:34:11 +00:00
Andrei Zmievski
a1614b8411
(PHP preg_replace) Fix to allow proper escaping of captured subpattern
...
references in the replacement string.
(PHP array_sum) Check that argument is an array.
2000-12-22 16:31:42 +00:00
Zeev Suraski
aa6d2ac5d0
Heads up people!
...
Updated the get_current_key() API - the relevant authors, please take
a look at the updated code and make sure it's ok...
2000-12-22 12:57:09 +00:00
foobar
c29e24c7e2
@- Changed setlocale() to use LC_* constants. (Jani)
2000-12-21 13:46:50 +00:00
Sascha Schumann
225a08e8dd
No need for GCC extensions in non-debugging mode.
...
PR: #8345
2000-12-21 05:31:18 +00:00
Sascha Schumann
7f96af83b2
Stop automatically passing vars to AC_SUBST through PHP_SUBST.
...
There are some variables which are needed for Makefiles and files
created by AC_OUTPUT; we use PHP_SUBST_OLD for those now.
genif.sh was moved to an appropiate place.
2000-12-20 17:21:37 +00:00
Andi Gutmans
73c0f4b4c2
- Use memcmp() instead of ugly char-by-char compare
2000-12-20 15:51:16 +00:00
Zak Greant
9e9688d1de
Removed unused variable from is_scalar
2000-12-20 11:07:20 +00:00
Zeev Suraski
48b410c41e
Add the QA team to the credits
2000-12-19 22:59:14 +00:00
Hartmut Holzgraefe
560a4c1105
@ ctype functions now follow the extension naming conventions (Hartmut)
...
# removed unneccesary code generated by ext_skel
2000-12-19 11:50:30 +00:00
Stanislav Malyshev
f487f5960a
Fix possible crash
2000-12-19 11:23:27 +00:00
foobar
402d60491b
wb fix.
2000-12-19 00:14:58 +00:00
foobar
c66c250c41
Fix pr: #7982
2000-12-19 00:12:58 +00:00
Zak Greant
bbf41d2116
Adding test for is_scalar().
2000-12-18 21:24:25 +00:00
Zak Greant
e4ca57bb57
Added is_scalar() function.
2000-12-18 19:23:50 +00:00
Hartmut Holzgraefe
96ccf69301
fixed BUG #8306 : shmat() returns -1 on errors, not NULL
2000-12-18 12:22:28 +00:00
Stanislav Malyshev
8b1377043d
No need to link main binary with ODBC libs if we use shared module
2000-12-17 11:17:50 +00:00
Sascha Schumann
2d011afbfd
Don't do anything, if the input string has a length of 0.
...
PR: #7686
2000-12-17 02:09:07 +00:00
Andi Gutmans
9fbd0a24ba
- How did CVS let me commit this? Probably it confused with the branch
...
merge
2000-12-16 21:01:21 +00:00
Andi Gutmans
8518010945
- In PHP we're supposed to only use MAXPATHLEN (defined in php.h)
2000-12-16 20:56:44 +00:00
Andi Gutmans
86a1cace27
- Make all places use MAXPATHLEN in the same way. It includes the
...
terminating NULL.
2000-12-16 20:52:43 +00:00
Rasmus Lerdorf
808da6dbb5
Attempt by Matt Bonneau to get thumbnail extraction working
...
(no need to bring this into the 4.0.4 branch)
2000-12-15 17:25:20 +00:00
Derick Rethans
ffd0e06b60
- Added test for bug #8040
2000-12-15 15:59:29 +00:00
Derick Rethans
6caa8c37c2
- Added a patch that changed the checking of which version of libmcrypt is
...
installed (Thanks to: Anil Madhavapeddy <anil@recoil.org>)
2000-12-15 15:35:48 +00:00
foobar
40677872d5
Removed unused variables.
2000-12-15 12:33:12 +00:00
Frank M. Kromann
1e9acc15cf
Fixing compilation on Win32. (and others)
2000-12-15 03:04:09 +00:00
Stig Bakken
6e1e78d1c6
@Added iconv() function (using libc or libiconv) (Stig)
2000-12-15 01:01:14 +00:00
Stig Bakken
ac2e12a9a9
@Added ODBC_TYPE constant (Stig)
2000-12-15 00:57:04 +00:00
Hartmut Holzgraefe
6b5c37a8c5
enforce lenght limit and catch out-ouf-memory conditions
2000-12-14 16:38:15 +00:00
Sascha Schumann
c0daf14cb3
Don't define LC_MESSAGES, if LC_MESSAGES is not defined.
...
PR: #8259
2000-12-14 15:58:14 +00:00
Hartmut Holzgraefe
9b1b253548
fgetcsv() will now work correct with empty fields in tab delimited files
...
# fix for bug #8258 and regression test
2000-12-14 14:18:36 +00:00
Stanislav Malyshev
61f632a0f2
Fix shared description
2000-12-14 10:15:38 +00:00
Stanislav Malyshev
7e032b8b30
Add proto
2000-12-14 10:11:00 +00:00
Uwe Steinmann
89279afdd3
- handled possible case that an Anchor has no Position
...
(This used to cause a segm fault)
2000-12-14 07:37:37 +00:00
Zeev Suraski
944c3b40b4
That slipped in :(
2000-12-13 23:40:44 +00:00
Hartmut Holzgraefe
63e6b0b5bf
levenshtein() fixed, regression tests added (bug id #6562 and #7368 )
...
# fallback to unoptimized version for 4.0.4 release
2000-12-13 23:26:19 +00:00
Zeev Suraski
be895bcb96
Fix call_user_function() with objects - it could leak under certain circumstances
2000-12-13 22:50:10 +00:00
Uwe Steinmann
0e41e3c7cf
- Bodytag is insertet by fnInsAnchors()
...
- several small bugs which might cause a segm fault
2000-12-13 17:27:13 +00:00
Stanislav Malyshev
e81c9642b8
Add GMP tests
2000-12-13 15:55:40 +00:00
Sascha Schumann
08d104e040
Don't increase the refcount of id, if we already have increased the refcount
...
of the same id before.
PR: #8225
2000-12-13 12:26:25 +00:00
Daniel Beulshausen
199160d4db
link against msvcrt(d).lib, ignoring it isn't a good idea
2000-12-13 11:37:00 +00:00
Stanislav Malyshev
16987ca15f
Fix crash when first argument to strtr is empty
2000-12-13 10:22:36 +00:00
Stanislav Malyshev
62f626b157
Kill warning
2000-12-13 09:44:06 +00:00
Stanislav Malyshev
0d02c7d337
Open files in binary mode - should fix readfile() on Windows
2000-12-12 17:42:53 +00:00
Stanislav Malyshev
3abdbd3de9
Fix memory leak
2000-12-12 17:02:12 +00:00
Stanislav Malyshev
5dc9742071
Fix socket read returning bad values.
2000-12-12 16:56:34 +00:00
Uwe Steinmann
ba862cc06d
- new function hw_insertanchors(). It takes a document, a list of anchors
...
and its destination and inserts the anchors into the text.
2000-12-12 12:28:26 +00:00
Zeev Suraski
6239ddfe6d
Fix Win32 build
2000-12-11 16:27:48 +00:00
Stanislav Malyshev
a1c20a04ff
Fix serializer bug that prevented serializer from working on any
...
variable that had non-reference copies of the same zval
2000-12-11 14:29:25 +00:00
Sterling Hughes
e68c902e3b
Fix a crash related to the simple sablotron api. (thies)
...
make sablotron work with zts.
fix a leak or two,
2000-12-11 14:15:09 +00:00
Thies C. Arntzen
889b717a4c
fix #6348
2000-12-11 12:52:52 +00:00
Andrei Zmievski
753e46657f
Make php_array_merge() an API function.
2000-12-11 05:36:24 +00:00
Chuck Hagenbuch
a9a1553031
[whitespace] make this code a bit less dense.
2000-12-10 19:18:34 +00:00
foobar
8bb668b226
Added constants for locale categories.
2000-12-10 15:55:34 +00:00
foobar
56e718d87e
Moved the constants into ext/standard
2000-12-10 15:53:37 +00:00
James Moore
9206955425
Making the shmop phpinfo entry look the same as others.
2000-12-10 14:45:42 +00:00
Sterling Hughes
e0e42d336a
For nice looking error output. ;)
2000-12-10 10:57:46 +00:00
Sterling Hughes
948c4bebd5
Fix crash on error handler.
...
Speed up a bit (only loop through errors when necessary).
2000-12-10 09:57:26 +00:00
foobar
18cfac40a5
Kills one compile warning.
2000-12-10 00:37:43 +00:00
Sascha Schumann
ac3c7fb5de
Fetch SWF globals
...
PR: #8181
2000-12-09 10:35:18 +00:00
foobar
98349a9408
Removed unused variable definitions. And libxml can be build NOT
...
to have support for either XPath or XPtr.
2000-12-09 03:19:46 +00:00
foobar
90d65f1865
wb clean.
2000-12-08 16:25:38 +00:00
Sterling Hughes
fe13e4b05d
@ Added the call_user_method_array function which allows you to call a method with an
...
@ arbitrary number of parameters. (Sterling)
2000-12-08 14:37:49 +00:00
foobar
41f3d66705
Version checking for domxml. Requires >= 2.2.7 at the moment.
2000-12-08 13:09:32 +00:00
Sterling Hughes
9b3942a79a
Fix sablotron.
...
Add a little beautifying of the extensions name for phpcredits() (Sablotron XSLT not Sablot).
#would somebody please add this to the release tree, thanks much!
2000-12-08 09:29:09 +00:00
Zak Greant
767fa2c6af
Added constants to represent the various categories of
...
locale (LC_ALL, LC_MESSAGES, etc...)
2000-12-08 09:20:42 +00:00
Sascha Schumann
4078b3cff9
Namespace protect parse_date interface and implementation
2000-12-08 00:12:35 +00:00
Sascha Schumann
9fff35ac9f
Hardcode the readdir entry as well
2000-12-07 15:33:30 +00:00
Andrei Zmievski
9b46346a23
We don't want any hard errors in PHP scripts unless absolutely necessary.
2000-12-07 14:54:52 +00:00
Kristian Köhntopp
f5abd4c50b
Fugbix in call_user_func_array() if second argument is empty.
2000-12-07 14:14:00 +00:00
Sascha Schumann
4ada3dd3a0
Hardcode all functions which are mentioned in the Large File Support Spec
...
http://ewe3.sas.com/standards/large.file/specs/api+.007.html
2000-12-07 12:09:38 +00:00
Stanislav Malyshev
7ff9dcacb1
Enable DB2 shared build
2000-12-07 11:13:49 +00:00
foobar
9eaddc999d
Fixed bug #8145
2000-12-07 11:01:32 +00:00
Uwe Steinmann
5ff861bd4a
- set propper min version
2000-12-07 10:04:18 +00:00
Sascha Schumann
ea251e82e1
Fix ext_skel on Solaris
...
Submitted by: Sam Liddicott <sam.liddicott@ananova.com>
2000-12-07 10:03:21 +00:00
Joey Smith
eefe6739ee
Close bug #7013 .
2000-12-07 02:50:46 +00:00
Sascha Schumann
7e28784de3
Fix indentation of configure output
2000-12-06 17:34:58 +00:00
Stanislav Malyshev
bbb46b6c0c
Fix T1 static build
2000-12-06 15:08:18 +00:00
Stanislav Malyshev
9be60903d7
Update README
2000-12-06 14:28:10 +00:00
Stanislav Malyshev
596c3b7fd5
Fix prototypes
...
Fix prefect_square return
2000-12-06 14:10:40 +00:00
Andrei Zmievski
dc4b1c1adf
@- Removed ext/dav due to obsolescence. (Andrei)
2000-12-05 22:58:36 +00:00
Chuck Hagenbuch
8ef5afc6fb
spaces after commas. all whitespace.
2000-12-05 21:12:45 +00:00
Stanislav Malyshev
589a66feda
Make GMP use Zend's memory functions
2000-12-05 15:35:20 +00:00
Stanislav Malyshev
76381dbf53
Fix prototypes
2000-12-05 14:47:40 +00:00
Stanislav Malyshev
4a3fdce696
Add check for conversion base
2000-12-05 14:17:38 +00:00
Stig Bakken
2b846ec7e5
* applied patch by Stig-Ørjan Smelror <Stig.Orjan.Smelror@lincom.no>
2000-12-05 12:15:18 +00:00
Stig Bakken
92fc209384
Applied IBM DB2 patch by Walter Franzini <walter@sys-net.it>
...
@ext/odbc: IBM DB2 patch by Walter Franzini <walter@sys-net.it>
2000-12-05 12:11:30 +00:00
Sascha Schumann
b97e23c4a8
Pass core_globals to new inline functions
...
Submitted by: Sebastian Bergmann
2000-12-05 11:05:24 +00:00
foobar
f48c0fbc95
@- Made ldap_get_entries() return an array even if there are no entries
...
in search result. (Jani)
# This was actually the original behaviour and the correct one.
# I messed it up when I fixed another bug in it a while ago..
# Fixes bug #8054
2000-12-04 17:07:27 +00:00
Uwe Steinmann
81def6d9d5
- new function hw_new_document_from_file()
2000-12-04 16:34:06 +00:00
Dan Kalowsky
bfe4e5bf37
added name for credits on work for Solid interface..
2000-12-04 15:47:30 +00:00
Stanislav Malyshev
f0744d73de
GD shared build fixes - should fix problem with gd.so not being linked
...
with right libraries
2000-12-04 15:10:58 +00:00
Sterling Hughes
2d322a13a2
close the filehandle if it is a tempfile.
2000-12-04 15:05:23 +00:00
Sascha Schumann
911abe100a
Move code from macros to inline functions to ease debugging
2000-12-04 12:26:53 +00:00
Sascha Schumann
e052f9f575
Handle the case of no-handlers properly and make handlers a proper C "string".
2000-12-04 10:22:46 +00:00
Sterling Hughes
a75b19e0f6
- Fix the handling of resource entries
...
- Fix the fd_dealloc() function
2000-12-03 19:17:09 +00:00
Sterling Hughes
aa2d9117d9
Another attempt at fixing 8036
2000-12-03 19:13:41 +00:00
Sterling Hughes
56094458b7
Windows ist ser schlecht
2000-12-03 15:30:14 +00:00
Stanislav Malyshev
5b47d1ef7a
Fix #8079 - filetype now knows about sockets
2000-12-03 13:42:54 +00:00
Zeev Suraski
d36c316ac6
Fix DB build (hopefully, untested)
2000-12-03 00:07:29 +00:00
Zeev Suraski
cbb2379b5b
- Get the MySQL module a bit uptodate.
...
- Fix a bug in mysql_do_connect() - it would corrupt the host argument, if it contained a port
(or could corrupt the INI value, so that the port argument would work only the first time
around)
2000-12-02 17:27:11 +00:00
Sascha Schumann
1e0a87d62b
Include <ext/standard/info.h> for php_info-related functions.
2000-12-02 13:43:50 +00:00
Alexander Feldman
a777149199
@- Added extension for the cracklib library. (Alexander Feldman)
2000-12-02 11:59:20 +00:00
Sterling Hughes
e1d314afa2
First attempt at fixing 8036
2000-12-02 10:28:55 +00:00
Egon Schmid
10c685112a
Fixed some protos.
2000-12-01 15:25:22 +00:00
Egon Schmid
91436356b8
Fixed some protos.
2000-12-01 15:03:25 +00:00
Sascha Schumann
8e3abe8946
Get rid of HAVE_EXTNAME. This dates back to PHP 3 where source files
...
were unconditionally compiled. It is not necessary in PHP 4.
2000-12-01 14:56:30 +00:00
Egon Schmid
b3b277f32a
Fixed some protos.
2000-12-01 14:32:14 +00:00
Sascha Schumann
8476f5b29e
Please avoid potential buffer overflows in new code. If you deal
...
with strings, consider storing the string length along with the string
data. That will make your life easier.
2000-12-01 12:29:29 +00:00
Sascha Schumann
a1510f90b0
Remove *.o
2000-12-01 12:14:30 +00:00
Andi Gutmans
ae7c036e41
- Fix swf build issues from bug #7612
...
- Not tested! Someone please compile it.
2000-12-01 09:50:01 +00:00
Frank M. Kromann
f9e226fe4a
Fixing bug 8061. Position counter starts a 0 but was compared with length.
...
oops. the fix should be made twice.
2000-12-01 01:55:31 +00:00
Frank M. Kromann
518ab3c62f
Fixing bug 8061. Position counter starts a 0 but was compared with length.
2000-12-01 01:26:42 +00:00
foobar
744f1a34ef
Beautifying of phpinfo().
2000-12-01 01:25:36 +00:00
Frank M. Kromann
6cdc90bae3
Changed presentation of default values for textsize and textlimit in phpinfo().
...
the value -1 means "Server default"
2000-11-30 22:24:00 +00:00
David Eriksson
c2f1139738
updated documentation and configuration
2000-11-30 22:03:18 +00:00
David Eriksson
1888009e26
changed variable names to *_class_functions
2000-11-30 22:01:58 +00:00
Sterling Hughes
4daab7c982
fix configure --help option name...
2000-11-30 15:20:40 +00:00
Frank M. Kromann
20490db03f
Removed old version 6.5 code. Clinet Libraries for SQL Server 7.0 can be used with version 6,5.
...
Minor changes to use som Zend macros to define globals.
2000-11-29 22:06:47 +00:00
Frank M. Kromann
5cb6b6c667
Fixing wring resource handle returned from mssql_query().
...
The error was introduced when adding mssql_fetch_batch().
2000-11-29 17:08:22 +00:00
Stanislav Malyshev
ebffa649c3
Add more GMP functions, fix a couple of bugs
2000-11-29 15:49:18 +00:00
Sterling Hughes
2cc8e2f8c7
@ Added the is_null() function that will return true if a variable is of
...
@ type null. (Sterling)
2000-11-29 15:37:38 +00:00
Daniel Beulshausen
93b2587876
made gd working correct under win32
...
# fixes the issues when running php threadsafe
2000-11-29 15:25:42 +00:00
foobar
3a930785ec
Fixed typo. bug #8001
2000-11-28 09:39:01 +00:00
foobar
5c16c9fa1a
AC_CHECK_LIB prints out yes/no itself.
2000-11-28 08:06:30 +00:00
Daniel Beulshausen
aa11144649
fix path operations, under win32
2000-11-27 18:21:48 +00:00
Sascha Schumann
949b0893dc
The result of conv_z_macros and some manual conversion of
...
"return_value.*=.*IS_STRING" constructs to RETVAL_STRINGL.
2000-11-27 13:31:21 +00:00
Sascha Schumann
1626ba7ee9
Oh man, gcc's logic is really flawed
2000-11-27 13:28:26 +00:00
Sascha Schumann
aa6a62d96d
Kill a warning (code is correct)
2000-11-27 13:13:25 +00:00
Stanislav Malyshev
dca467faf3
GNU GMP - arbitrary precision nubers library
2000-11-26 18:36:16 +00:00
Zeev Suraski
d4fc424554
Fix windows build
2000-11-26 14:25:31 +00:00
Zeev Suraski
8a03f3062f
- Add bcmath to the standard UNIX build
...
- Change a couple of malloc()'s and free()'s to emalloc()'s and efree()'s
2000-11-26 09:34:01 +00:00
Sterling Hughes
0d1bcd480c
@ Added the call_user_func_array() function which gives you the ability to
...
@ call a user function by passing an array of parameters as the second
@ argument.
@ Added the constant() function which returns the value of a constant given
@ the constant's name.
2000-11-24 21:05:25 +00:00
Sterling Hughes
917cfd14e9
Declaring variables is generally a good thing
2000-11-24 16:26:35 +00:00
Andre Langhorst
96b95bd286
fixed bug 7961
2000-11-24 16:17:58 +00:00
Sterling Hughes
fe25ebdd11
Fix segfault when non-array in params or arguments is given to
...
xslt_transform() or xslt_run().
Update xslt_output_begintransform() to new output buffering syntax (torben@php.net )
2000-11-24 15:07:01 +00:00
Andrei Zmievski
def5059f44
Fix the arg array size.
2000-11-24 00:12:19 +00:00
Stig Venaas
db0d2c9bd6
Added README on usage, and added myself to CREDITS
2000-11-23 19:30:47 +00:00
Zeev Suraski
888f376e4c
Very initial work on chunked output buffering. It's really unoptimized at
...
this time, and it can crash under some circumstances, but that's the
concept...
2000-11-23 18:43:18 +00:00
Andrei Zmievski
0af5c36d94
This submission introduces two features.
...
The first one is support for Perl-style matching regexp delimiters, i.e.
using <[{( and )}]> to delimit the regular expressions.
The second one is a new 'F' modifier that allows you to specify a function name
in the replacement argument to preg_replace(). This function will be called
when the replacement needs to be made. It is passed an array of full matched
pattern and captured subpatterns and it is expected to return a string that
will be used for replacement. 'e' and 'F' modifiers cannot be used together.
@- Implemented support for Perl-style matching regexp delimiters in PCRE.
@ You can use <{[( and )]}> to delimit your expressions now. (Andrei)
@- Introduced new 'F' modifier in PCRE that lets you specify a function
@ name in the replacement argument to preg_replace() that will be called
@ at run-time to provide the replacement string. It is passed an array of
@ matched pattern and subpatterns. (Andrei)
2000-11-23 17:25:13 +00:00
foobar
f03b949134
Revert bad commit.
...
# And now I'm ready to sleep..
2000-11-23 16:31:58 +00:00
foobar
78ed6e831f
Fixed some compile warnings.
2000-11-23 15:57:24 +00:00
foobar
a216a9ad7e
Fixed Bug #7939 + some cleaning.
2000-11-23 14:56:09 +00:00
Uwe Steinmann
4a60447800
- optional argument for hw_pipedocument() to specify link prefix
2000-11-23 14:44:10 +00:00
Daniel Beulshausen
819f11c9d2
make ctype ext compile under windows
2000-11-23 14:14:40 +00:00
Daniel Beulshausen
e6d07d6fa3
added missing SABLOTLS_FETCH()
2000-11-23 14:02:41 +00:00
Hartmut Holzgraefe
df7c2eeabc
make genfunclist in phpdoc happy
2000-11-23 12:16:35 +00:00
Uwe Steinmann
4bb015938e
- The name of the extension has to be fdf and not fdftk
2000-11-23 10:55:51 +00:00
Uwe Steinmann
fb35b3996c
- fixed copy and paste error
2000-11-23 09:56:18 +00:00
Hartmut Holzgraefe
c534109bce
filename wildcards in a c comment were a bad idea
2000-11-23 06:58:14 +00:00
Frank M. Kromann
b24c82e82a
changed comment to allow compilation under win32
2000-11-23 01:47:39 +00:00
Hartmut Holzgraefe
e3dae1013d
added a "DO NOT EDIT!" header and regenerated the credits_*h files
2000-11-22 23:20:35 +00:00
Sascha Schumann
3cacf33572
Run through conv_z_macros
2000-11-22 22:05:02 +00:00
Sascha Schumann
c1dff68b34
Run through conv_z_macros and make use of RETVAL_STRING where useful
2000-11-22 22:00:39 +00:00
Sascha Schumann
53e3452649
Avoid estrdup and a couple of other minor cleanups
2000-11-22 21:52:53 +00:00
Sascha Schumann
e937eeb2e5
Run through conv_z_macros
2000-11-22 21:47:15 +00:00
Sascha Schumann
2f6fe425a4
There is no Apache extension per se. Please leave this directory empty.
...
I'll remove it from the repository in one week.
2000-11-22 21:43:52 +00:00
Sascha Schumann
781cf450f8
Run through conv_z_macros
2000-11-22 21:40:15 +00:00
Sascha Schumann
2c95d6268c
Add ircg
2000-11-22 20:46:40 +00:00
Zeev Suraski
c476bce2f1
At long last, import the bcmath library, by Phil Nelson
2000-11-22 20:20:02 +00:00
Stanislav Malyshev
b36afe2957
Fix memory leaks in cURL.
...
cURL doesn't free strings we pass to him, so let PHP do it.
2000-11-22 15:46:13 +00:00
Dan Kalowsky
e7aff0b676
@ Put an end to BUG#4615 (kalowsky & Eric Veldhuyzen)
...
This should remove the BUG#4615, thanks to Eric Veldhuyzen
(eric@terra.telemediair.nl ) for the assistance on this (aka elegence vs
my hack).
This does not fix BUG#7922 though, which is currently being looked into
2000-11-22 15:31:04 +00:00
Sterling Hughes
a56c9f8e68
Hmmm, that wasn't good.
2000-11-22 15:19:59 +00:00
Daniel Beulshausen
2fefaba7b6
tsrm realpath implementation is fixed
...
@ Fixed realpath() in Virtual Directory mode (Daniel)
2000-11-22 10:08:25 +00:00
Sascha Schumann
939b72c771
removing '{' was certainly not intended
2000-11-22 04:16:25 +00:00
Sascha Schumann
886fbabb0b
Don't access opt, if opt was not set.
2000-11-22 04:15:27 +00:00
Sascha Schumann
5347ef1728
Whitespace fix and initialize ret properly
2000-11-22 04:10:04 +00:00
Hartmut Holzgraefe
0b981df1b2
some more info on the ctype extension
2000-11-22 01:35:58 +00:00
Hartmut Holzgraefe
9d468a33c4
an experimental extension providing the C ctype function family
2000-11-22 01:00:44 +00:00
Sterling Hughes
0a1f0ea22e
Major rework of the basic api which provides:
...
- All Sablotron errors are now caught meaning nothing is
ever outputted directly to the screen allowing you to
catch all errors.
- A mechanism is provided for you to have an error function
which recieves all sablotron errors.
- All of the basic functions re-use a single processor increasing
performance (especially with high loads).
- Added a bunch of comments, more to come (this way other people
can easily modify my source).
@ Added the xslt_set_error_handler() function to the Sablotron extension.
@ (Sterling)
@ Improved Sablotron's error handling system allowing you to catch all
@ errors before they are outputted to the screen. (Sterling)
2000-11-21 12:12:19 +00:00
foobar
358731195f
Fix bug #7034
2000-11-21 11:07:50 +00:00
Hartmut Holzgraefe
f5bf3c10fd
make HAVE_FOPENCOOKIE available for other extensions besides zlib
2000-11-21 08:38:20 +00:00
Daniel Beulshausen
fda42b034f
fix PDF image open under Win32
2000-11-21 07:08:01 +00:00
Frank M. Kromann
649c59b731
Adding new functions, mssql_affected_rows and mssql_fetch_batch.
...
Added optional paramter to mssql_query, batchsize used minimize the memery usage during select of large datasats.
2000-11-21 03:09:16 +00:00
Hartmut Holzgraefe
4a8d9df816
# a minor change, but still important :)
2000-11-21 00:43:25 +00:00
Hartmut Holzgraefe
cedb39ee56
all the _GNU_SOURCE dependant stuff is now in zlib_fopen_wrapper.c
...
so all the #define/#include workarounds in zlib.c are no longer needed
2000-11-21 00:40:13 +00:00
Hartmut Holzgraefe
67bb9d1ae2
fixed a compile problem with glibc<=2.1.1 ( #7327 , #7892 )
...
# zlib.c still produces a warning, perhaps i should move
# the fopen wrapper to a seperate file to get things right
# but i think i will wait for the autoconf book to arrive
2000-11-20 21:36:38 +00:00
foobar
dc70b6172b
Fixed typo. #6933
2000-11-20 17:32:46 +00:00
Sterling Hughes
b853cd5dc8
Revert.
2000-11-20 17:27:50 +00:00
Stanislav Malyshev
119ee485c6
Move "replace value" logic to Zend
2000-11-20 12:39:14 +00:00
Hartmut Holzgraefe
1f6878e912
2nd step towards auto-credits
2000-11-20 10:33:33 +00:00
Hartmut Holzgraefe
df81663614
first step towards auto-generated credits
2000-11-20 10:05:57 +00:00
Hartmut Holzgraefe
c8a56ea11d
typo fix (copy/paste bug?)
2000-11-19 19:18:12 +00:00
Sterling Hughes
3b1a3a3f8c
*** empty log message ***
2000-11-19 16:54:54 +00:00
Stanislav Malyshev
92dd81ba7f
Fix #3261 - variables declared as "global" in function do not get the right
...
value after session_start.
2000-11-19 13:13:36 +00:00
Chuck Hagenbuch
965bb6d211
include checks for cal_misc.h and icalroutines.h
2000-11-19 02:42:06 +00:00
James Moore
2116cfedf3
Stopping Compile Warnings when using old GD
2000-11-18 18:09:42 +00:00
Zeev Suraski
82952f8830
Persist these numbers so that they stay for the duration of the entire process
2000-11-18 12:48:31 +00:00
Zeev Suraski
66c667c974
Fix thread-safety bug in bcmath
2000-11-18 02:59:31 +00:00
Zeev Suraski
030b707296
Update SAPI modules to interface with the new TSRM.
...
Enable thread-safety memory debugging in ISAPI when in debug mode
2000-11-18 02:44:04 +00:00
Stig Venaas
b81828864f
Added optional passphrase argument to openssl_get_privatekey()
...
@- Added OpenSSL extension (Stig Venaas)
2000-11-17 19:49:13 +00:00
Stig Venaas
8b500cdcdf
Renamed openssl_read_privatekey openssl_get_privatekey, and some minor
...
fixes including init and shutdown functions
2000-11-17 19:17:07 +00:00
Sascha Schumann
5767ab3f75
Reset the state, if there is garbage in an HTML tag.
...
PR: #7854
2000-11-17 16:27:37 +00:00
Chuck Hagenbuch
eb437a5870
close bug 7851
2000-11-17 16:10:43 +00:00
Dan Kalowsky
b52648efd5
Missed one section that required the addition of a new HAVE_SOLID_30
...
This should be correct now.
2000-11-17 15:48:09 +00:00
Dan Kalowsky
3e2ddd1edf
Corrected the spelling of verion to version, and cleaned the configuration
...
code up a bit. Also added in much better (read: tested) support for
Solid 3.0. Credit for almost all of the patch goes to Eric Veldhuyzen,
minor modifications done (by me) to make it non-linux specific.
This commit also creates the HAVE_SOLID_30 define
@ Fixed/created support for Solid 3.0 databases (kalowsky)
@ Fixed support for Solid 2.3 databases (kalowsky)
2000-11-17 15:09:46 +00:00
Kirill Maximov
023a95ae1c
@ quoted_printable_decode() function is made RFC-2045 compliant. (Kir)
...
This hopefully closes bugs #5321 , #7138 , #7855 .
Test script for the function is added.
2000-11-17 10:55:37 +00:00
Jason Greene
608ee593a4
SUN CC does not like like left side casting - see bug #6759
...
@Fixed ext/java so that it will compile with SUN CC
2000-11-16 22:19:48 +00:00
Thies C. Arntzen
6f79fc7d46
fix ora_fetch_into to allow_call_time_pass_reference = Off; ( #7838 )
2000-11-16 12:37:35 +00:00
foobar
6a81095313
extname -> openssl
2000-11-16 11:16:25 +00:00
Thies C. Arntzen
31f63bee93
don't use TLS in MINIT function.
2000-11-16 10:16:22 +00:00
Jan Borsodi
d1cecd1dd2
Removed an unneccesary #warning which was used for testing purposes only.
2000-11-15 19:09:44 +00:00
Jan Borsodi
51011a6672
Initial import, PHP program for testing if the qtdom extension is available.
2000-11-15 19:02:14 +00:00
Jan Borsodi
bde531da79
Initial import, since PHP cannot be compiled with a C++ compiler all C++ specific calls had to be moved to a separate file without any php includes.
...
It has several C functions which are used for initiating a QDomDocument and traversing it.
2000-11-15 19:01:44 +00:00
Jan Borsodi
2fea5bb19c
Initial import, contains PHP specific extensions, takes care of converting C++ QDom objects to PHP objects.
...
This version has only one function: qdom_tree() which returns a tree of a string containing an XML document.
2000-11-15 18:59:59 +00:00
Jan Borsodi
471bcfc8c8
Autoconf configure script for qt dom, needs some more checking in the future.
2000-11-15 18:55:00 +00:00
Jan Borsodi
14350f9aef
Makefile source, has a fix for compiling C++ files.
2000-11-15 18:54:05 +00:00
Uwe Steinmann
8dcb3fdf3c
- fixed silly bug (did check for 5 arguments but expected only 4)
2000-11-15 17:07:56 +00:00
Stanislav Malyshev
fb8be26654
Fix crash ( #7802 )
2000-11-15 09:36:21 +00:00
Andrei Zmievski
3625a729a7
- Modified preg_replace() to take Perl-style $1 backreferences in addition
...
to \\n ones.
- Modified preg_grep() to always return the results with the keys
from the original array.
2000-11-15 05:09:55 +00:00
Sascha Schumann
008d23bb5c
Fix allocation
2000-11-14 20:34:14 +00:00
Stig Venaas
eca0bd0f39
Changed to use Z_LVAL_PP, Z_STRVAL_PP and Z_STRLEN_PP.
2000-11-14 17:05:39 +00:00
Sascha Schumann
c509dc6dc7
Add persistent memory handling to smart_str API
2000-11-14 15:36:18 +00:00
Stig Venaas
f3a17761be
Made API simpler
2000-11-14 09:54:25 +00:00
Daniel Beulshausen
b4a6acf697
fix link object
...
# maybe it's too late already...
2000-11-13 22:28:58 +00:00
Daniel Beulshausen
fcdf44a1a0
forgot to add...
2000-11-13 22:24:06 +00:00
Daniel Beulshausen
0c3d96c3ba
make ingres compile under win32
...
# no cleanup...
2000-11-13 22:23:16 +00:00
Daniel Beulshausen
c1e1bc07ff
added dsp for openssl win32
2000-11-13 20:24:23 +00:00
Andrei Zmievski
468068705f
@- Modified preg_replace() to ignore backreferences that refer to
...
@ non-existing subpatterns. (Andrei)
2000-11-13 19:49:41 +00:00
Stig Venaas
86b7cd0572
OpenSSL extension. So far it implements assymetric encryption functions.
2000-11-13 19:47:20 +00:00
Zeev Suraski
6a86b6fad5
Handle unable-to-add-new-headers error nicely
2000-11-13 19:05:25 +00:00
Zeev Suraski
0f7f5c2c0e
- Import Jade Nicoletti's transparent gzip encoding support as an output
...
handler. Works quite nicely!
- Fix buglets in output buffering
- Add output_handler INI directive
2000-11-13 18:54:37 +00:00
Thies C. Arntzen
db65d0e076
@- Fixed column-title buffer-overflow in OCIFetchStatement(). (Thies)
...
fix #7784
2000-11-13 17:30:52 +00:00
Onn Ben-Zvi
34b0b1fc11
initial - ONn
2000-11-13 16:01:05 +00:00
Uwe Steinmann
eea750ebc8
- fixed serveral prototypes
...
- replaced C++ style comments
2000-11-13 13:27:19 +00:00
foobar
dd83069fff
Fixed bug: #7768 . Some cleaning up too.
2000-11-13 02:02:40 +00:00
Kristian Köhntopp
89d6b5b5bd
Prototype corrected.
2000-11-12 22:13:35 +00:00
Sascha Schumann
2325a41346
PHP_FDFTK is always != no. $PHP_FDFTK is not.
2000-11-12 12:01:05 +00:00
Rui Hirokawa
71e53f2a5f
enabled shared module.
2000-11-12 05:59:34 +00:00
foobar
40462d1d02
Fix for #7758 . Plus some cleaning.
2000-11-11 19:27:46 +00:00
Sascha Schumann
4d6ecaf26b
Add Apache 2.0 sapi module and sort alphabetically.
2000-11-11 18:38:26 +00:00
Chuck Hagenbuch
b69dd89d34
RFC822 does specify two digit years, but practically every decent mail
...
client I could check is using 4-digit years these days.
2000-11-11 17:28:20 +00:00
Uwe Steinmann
52aba68aa2
- new function set_content() which is a workaround for bug #6457
2000-11-10 11:40:03 +00:00
Uwe Steinmann
0bbb1906bd
- Fixed many problems to make xpath working
...
- Each function now expects an object and not a resource anymore
I hope this makes it more straightforward for the PHP-Programmer
2000-11-10 10:27:57 +00:00
Uwe Steinmann
b98f580143
- Fixed several error including segm fault (but still one left :-(
2000-11-10 06:09:41 +00:00
Colin Viebrock
2a5f8a8906
some changes, and added 'r' flag which generates an RFC822 compatible date string.
2000-11-09 21:30:03 +00:00
Danny Heijl
a46f36a564
- fix crash when using blob_in_file mode (danny).
2000-11-09 19:34:31 +00:00
Uwe Steinmann
eaad937f84
- Some more comments
...
- Initial support to just include anchors into documents
2000-11-09 13:36:54 +00:00
Uwe Steinmann
d82bade81c
- Started support for XPath/XPtr (completely untested)
2000-11-09 08:42:20 +00:00
foobar
ffc95d6125
Beutifying the output of configure a bit.
...
# I promise, this is the last commit for today. =)
2000-11-09 02:59:17 +00:00
foobar
781816998c
Remove duplicate check for xpm support.
2000-11-09 02:31:56 +00:00
foobar
368054d223
Fix to get jpeg/xpm support everytime.
2000-11-09 02:29:15 +00:00
foobar
1f71f1f3c0
Remove duplicates (when curl-7.4.1 is used).
2000-11-09 02:11:45 +00:00
foobar
443d289380
Fixed bug: #5460
2000-11-09 00:16:28 +00:00
Marc Pohl
4eece9b1bd
add gzdeflate() and gzinflate() for handling of pure gzip-datastreams
2000-11-08 21:40:34 +00:00
Mathieu Kooiman
3e2fa2781a
E_WARNING into E_ERROR, Last commit (today)! I PROMISE! :-)
2000-11-08 18:41:22 +00:00
Nikos Mavroyanopoulos
f6a8f905b1
Added license
2000-11-08 16:16:49 +00:00
Mathieu Kooiman
63cdbbd56e
Alert user if they're trying to use
...
ImageCreateFromString() with GD < 1.5..
Sorry, should've added this last commit.
2000-11-08 16:08:42 +00:00
Mathieu Kooiman
5e7041615a
- Made gd extension build when using gd version < 1.5
2000-11-08 14:56:09 +00:00
Zeev Suraski
905e41af5c
Will work on a more thorough implementation for mysql_store_result() after 4.0.4
2000-11-08 08:27:27 +00:00
foobar
1afebc69c7
Make this compile with libxml2.2.7.
2000-11-08 02:17:36 +00:00
foobar
95eceee413
Cleaned up a bit.
2000-11-08 01:53:51 +00:00
foobar
3f85e944ab
config.m4
2000-11-08 00:18:49 +00:00
Daniel Beulshausen
87d8e44c26
win32 sapi symbol export fixes
2000-11-07 21:13:26 +00:00
Stanislav Malyshev
ef8fb2767b
Enable to use mysql_use_result in query functions.
...
You may need this if you use real big queries.
@- Allow user to use mysql_use_result in mysql queries (Stas)
2000-11-07 15:46:15 +00:00
Stanislav Malyshev
c9e39592b5
Andi says it should be zval_ptr_dtor
2000-11-07 15:06:43 +00:00
Sascha Schumann
ae6314468f
Use socklen_t for getsockopt
2000-11-06 23:38:15 +00:00
Derick Rethans
e2bb93c575
- Added myself to the credits...
2000-11-06 22:53:11 +00:00
David Hedbor
44ecf58519
(ImageCreateFromString) Added forgotten GDLS_FETCH() needed for ZTS.
2000-11-06 22:00:07 +00:00
Andrei Zmievski
65f37060db
Fix bug #7667 .
2000-11-06 19:41:30 +00:00
Stanislav Malyshev
cde5c779dc
And now the right fix - should add it still
2000-11-06 18:19:05 +00:00
Stanislav Malyshev
7f1dc85574
Serialize as reference only if it's a true reference
2000-11-06 18:09:51 +00:00
Stanislav Malyshev
dec089e39c
Add support to ukrainian characters (by serhiy@society.kiev.ua)
2000-11-06 08:46:12 +00:00
Sebastian Bergmann
c5ff85c8bc
Fixed windows build.
2000-11-06 06:31:00 +00:00
Rasmus Lerdorf
16ca32d057
Make sure these are initialized to NULL
2000-11-06 01:07:53 +00:00
John Donagher
ee7821ea7d
Bring phpcredits() up to date
2000-11-05 23:34:49 +00:00
Sterling Hughes
ea9ac669da
Fix the other part...
2000-11-05 17:22:05 +00:00
Sterling Hughes
f25ccb0a83
This should fix the garbage.
2000-11-05 17:14:16 +00:00
Stanislav Malyshev
41a2b59977
Fix crash from #7577 (torben@php.net)
2000-11-05 16:25:26 +00:00
Sascha Schumann
d381e0702c
PHP_EXTENSION_DIR is defined in build-defs.h
2000-11-05 15:10:47 +00:00
Zeev Suraski
1f9ee4857b
Fix the problem Sascha reported, about extension_dir
...
@- Fixed a bug that prevented a changed compile-time extension_dir from
@ affecting modules that were loaded via php.ini (Zeev)
2000-11-05 15:03:41 +00:00
Mathieu Kooiman
d6e7b4fefa
- ImageCreateFromString(): Fixed segfault that occured if an image was tried to be
...
generate while there was no support for such an image type.
2000-11-04 20:43:53 +00:00
Andi Gutmans
e314da896f
- Fix build
2000-11-04 17:15:00 +00:00
Thies C. Arntzen
b80e71fdac
fix #7573
...
closedir() now really close the directory - used to stay open 'cause the
default-directory resource was "remembered" for arg-less calls.
2000-11-04 14:58:50 +00:00
Zeev Suraski
47654fd021
Now make it work too (thanks for noticing that Andi :)
2000-11-04 10:45:31 +00:00
Zeev Suraski
ffde875f70
Fix build
2000-11-04 10:36:13 +00:00
Jesus M. Castagnetto
cc73072804
Updated proto for highlight_file/highlight_string
2000-11-04 01:18:10 +00:00
foobar
6f398a247d
Fixed incorrect logic. And NSLDAP does not have LDAP_OPT_MATCHED_DN.
2000-11-03 22:53:49 +00:00
foobar
1f00cff3ab
Fixed ftp_mkdir(). It return the dirname passed to it in case of
...
braindead ftp server which doesn't put the real path into reply.
PR: 7216
2000-11-03 21:53:24 +00:00
Derick Rethans
848d353880
- Fixed gd by adding a define
2000-11-03 20:44:04 +00:00
Derick Rethans
0d04945bfa
- Fixing Mathieu's indentation problems
...
# It does not build, undefined references to getmbi and skipheader
2000-11-03 20:31:36 +00:00
Joey Smith
90f2f64ca8
Include header file for phpi_get_le_gd()
2000-11-03 20:13:46 +00:00
Joey Smith
8e9967be00
Include header file for php_file_le_fopen()
2000-11-03 20:11:38 +00:00
Mathieu Kooiman
f391eb7423
- Introduced ImageCreateFromString() function,
...
works for GIF/JPEG/PNG and WBMP ..
(Note: This built with the latest snapshot I grabbed
tonight; Derick seemed to have trouble though..)
@-Introduced ImageCreateFromString(), creates an image
@ stream out of eg a MySQL blob. (Mathieu)
2000-11-03 19:53:42 +00:00
Sascha Schumann
0feb2a21e5
Add some additional checks
...
Submitted by: mookid@sigent.ru (Mikhail Zabaluev)
2000-11-03 12:00:49 +00:00
Sascha Schumann
b4ce4e2634
Fix implementation of hash algorithm
2000-11-03 11:59:41 +00:00
Stig Venaas
a5c75761c2
Fixed memory leak in array_diff and array_intersect, was introduced with
...
last change.
2000-11-03 07:20:35 +00:00
Zeev Suraski
6d0749a95b
Fix msql_close(), pg_close() and sybase_close() (Sybase CT)
2000-11-03 02:46:49 +00:00
foobar
8ea486c58f
fix configure..
2000-11-03 01:56:58 +00:00
Zeev Suraski
b20f8b39b9
Fixed mysql_close() - A bit more complicated than I originally thought
2000-11-03 01:56:47 +00:00
Sterling Hughes
76accf4806
Changed as per discussion with Sablotron folks.
...
@ Changed the sablot configuration file so that if you use any version of
@ Sablotron below 0.44 you must use Sablotron's built-in Expat libraries.
@ (Sterling)
2000-11-03 01:10:11 +00:00
Zeev Suraski
a43cd1438e
Fix msql_close()
2000-11-03 00:52:54 +00:00
Zeev Suraski
e560ecfa47
Fix pg_close()
2000-11-03 00:51:53 +00:00
Andi Gutmans
139d5c102b
- Make the random generator work again. This patch seems to work.
2000-11-03 00:45:24 +00:00
Zeev Suraski
6451d58455
Fix mysql_close()
2000-11-03 00:41:29 +00:00
Andi Gutmans
d0ec3df288
- Use CHECKUID_* #define's instead of cryptic numbers in php_checkuid()
...
- I did not test for validity of the actual php_checkuid() calls and there
- might be mistakes in the previous code.
2000-11-02 23:08:07 +00:00
David Hedbor
b06998a7d1
Added Caudium to credit line.
2000-11-02 19:07:15 +00:00
Zeev Suraski
816f1f7903
- Fixed a bug that caused PHP not to properly flush its output buffer, if more
...
than one output buffer was used
2000-11-02 16:46:30 +00:00
Sascha Schumann
43ff395b65
Const'ify part of sapi_request_info.
...
query_string, post_data, path_translated, request_uri, auth_user,
auth_password and argv0 are modified, so they cannot become const.
2000-11-02 15:47:02 +00:00
Sascha Schumann
9866d899e9
Namespace protect mergesort (caused conflict on Darwin).
2000-11-02 15:32:52 +00:00
Sterling Hughes
0b25301bce
Das war nicht gut.
2000-11-02 14:39:16 +00:00
foobar
648c141cbc
Validators are happy now.
2000-11-01 22:53:42 +00:00
Adam Dickmeiss
f0c0ea97a8
Updated for ZTS mode.
2000-11-01 22:10:55 +00:00
Andi Gutmans
91622ad7cb
- Beautify
2000-11-01 19:55:13 +00:00
Andi Gutmans
b25b80c147
- Change some estrdup()'s to estrndup()'s
2000-11-01 14:48:00 +00:00
foobar
2ad7083005
No more segfaults.
2000-11-01 05:05:33 +00:00
foobar
d6d3f5e9b6
Add line of possible XBM support to the phpinfo()
2000-11-01 04:38:28 +00:00
foobar
dfcd4c18e6
Fixed some compile warnings and removed useless code.
2000-11-01 02:30:37 +00:00
Zeev Suraski
7ab46420be
mode_t fixes
2000-10-31 18:05:19 +00:00
Hartmut Holzgraefe
00b8b66132
generalization of image handling in phpinfo
2000-10-31 17:21:52 +00:00
Hartmut Holzgraefe
c420d653ee
support for short comments was added to ext_skel proto files
...
theese will be used in proto comments in the source
and as <refpurpose> information in the XML docs
2000-10-31 11:30:11 +00:00
Jesus M. Castagnetto
f589a3b587
cosmetic changes (added some "proto"s missing in the function documentations)
2000-10-31 06:33:07 +00:00
foobar
4c2abe7df4
Both RETR and STOR have also 250 as possible return value
2000-10-31 00:30:37 +00:00
foobar
55ccb5a35b
Fix the fix.
2000-10-31 00:00:26 +00:00
Zeev Suraski
78194a47b7
- Complete the move to the new INI parser. (Side effect: at last, people
...
can finally have spaces and tabs in their extension statements...)
2000-10-30 23:39:14 +00:00
Derick Rethans
2f5f83f518
- Added the two constants mentioned in bug #6097
...
# I did not test it, because I don't have access to an Adabase RDBMS
2000-10-30 18:00:58 +00:00
Stanislav Malyshev
fad7092ff8
Update to use reference-serializer too
2000-10-30 17:18:39 +00:00
Stanislav Malyshev
c31faf0bd9
Add support for serializing references.
...
@- Add support for serializing references (Stas)
# WDDX and shared memory functions not covered yet
2000-10-30 17:10:06 +00:00
Stanislav Malyshev
4b5eb2cf2c
Fix crash in sscanf in error handler ( #7533 )
2000-10-30 16:44:01 +00:00
Stanislav Malyshev
702b510dc6
Don't try to work with negative timestamps
...
# It returns the same day as for 0, which is wrong
2000-10-30 16:13:03 +00:00
Stanislav Malyshev
7eed2e5b01
Make "H*" work
2000-10-30 12:26:26 +00:00
Chris Vandomelen
7e8074731b
Removed INI entry for read() function, made changes to read() so it will
...
take 4th parameter specifying whether to use the read() wrapper or the
system read() function, and modified the wrapper() so that it worked (mostly)
properly once again.
2000-10-30 01:09:15 +00:00
Zeev Suraski
f52a59062d
parse_ini_file() supports a new optional 2nd argument that instructs it
...
to divide the directives to arrays according to the sections in which they
reside
2000-10-29 23:34:33 +00:00
Zeev Suraski
60c0835470
Move browscap code to the new modular INI parser
2000-10-29 23:10:22 +00:00
Zeev Suraski
4af433d627
Use the new INI parser for parse_ini_str()
...
- parse_ini_str() is now thread-safe, and supported under Windows (Zeev)
2000-10-29 22:42:01 +00:00
Zeev Suraski
1fd09132c2
Initial steps to move the INI mechanism to the Zend engine
2000-10-29 11:38:26 +00:00
Thies C. Arntzen
825457ae64
update my email.
2000-10-29 09:14:55 +00:00
foobar
e76bafd648
Check also that the file isn't empty.
2000-10-29 04:36:33 +00:00
foobar
4a895b6919
@- Fixed conflict with OpenLDAP and Oracle 8.1.x (Jani)
...
# PR: 4257,4698,5527,6112,6650,7195
2000-10-29 04:10:07 +00:00
foobar
ac7e22d3c4
Fix for bug #7416 . ldap_set|get_option() are also in NSLDAP SDKs.
2000-10-28 19:22:46 +00:00
Stig Venaas
273422f277
Moving --with-openssl to global configure, want OpenSSL for not just snmp
2000-10-28 18:26:45 +00:00
Stanislav Malyshev
06de8e78cf
Allow to send secure cookies
2000-10-28 17:13:28 +00:00
Zeev Suraski
3dc7fc54a0
- URL-opened files now store the HTTP response header in $http_response_header
...
- Some layout updates
2000-10-28 01:31:56 +00:00
foobar
b45d265c54
Fixed PR: 6730. And it is mentioned also in RFC 959 to be this way.
2000-10-27 20:53:04 +00:00
foobar
11af318a62
Fixes PR: 7245
2000-10-27 20:47:36 +00:00
Frank M. Kromann
d313ad8bf5
Making _php_math_longtobase() and _php_math_basetolong() callable from DLL and SO modules
2000-10-27 20:26:16 +00:00
Sterling Hughes
70f262d0c5
New e-mail address.
2000-10-27 19:10:23 +00:00
Andrei Zmievski
d4cf62f86f
@- Fixed array_rand() to shuffle results when the number of requested
...
@ elements is the same as the number of elements in the array. (Andrei)
2000-10-27 14:08:33 +00:00
Hartmut Holzgraefe
6b435870de
type fixes to make compilers happy
2000-10-27 10:48:07 +00:00
Sam Ruby
33c8f50534
Allow strings to be passed to methods expecting primitive types.
2000-10-27 10:27:19 +00:00
Sascha Schumann
9b2a1110a6
Allow users to specify whether they want to replace existing header fields.
2000-10-27 09:43:06 +00:00
Uwe Steinmann
e577215736
- added four functions to do fulltext query
2000-10-27 09:29:40 +00:00
Daniel Beulshausen
6f0e47f690
it won't work otherwise
...
# http://support.microsoft.com/support/kb/articles/Q115/8/57.asp
2000-10-26 18:51:12 +00:00
Daniel Beulshausen
4aab269181
added dba extension for win32, currently the dsp is
...
only configured with db3, adding other configurations
shouldn't be hard
2000-10-26 18:29:10 +00:00
Daniel Beulshausen
52e45f514b
use V_RENAME makro instead
2000-10-26 18:17:45 +00:00
Sascha Schumann
00d1d1a347
Protect us from Apache 2.0's pcre-posix stuff
2000-10-26 18:15:56 +00:00
Sascha Schumann
39387c7781
Remove second_arg_force_ref, defined in Zend
...
Submitted by: Bill Stoddard
2000-10-26 18:15:18 +00:00
Sascha Schumann
2517250b35
The type has changed to size_t.
2000-10-26 18:10:57 +00:00
Sascha Schumann
4f757a3af0
Add session_adapt_url().
2000-10-26 18:10:43 +00:00
Sascha Schumann
c57830c1d2
Reinstantiate single quotes properly.
...
Add url_adapt_single_url() API which modifies a single URL. Might be used
to modify the Location: URL.
2000-10-26 18:05:47 +00:00
Sascha Schumann
8ef0d01baf
Make the API more leaner (sp?) and get rid of *copy*.
2000-10-26 18:01:51 +00:00
Andrei Zmievski
26f5fe6375
Fix dba after resources patch.
2000-10-26 17:38:01 +00:00
Andrei Zmievski
27a1c12ad8
session_unset() now cleans up $HTTP_SESSION_VARS as well.
2000-10-26 17:37:47 +00:00
Nikos Mavroyanopoulos
e5b0945e4c
Corrected some checks for errors.
2000-10-25 18:27:55 +00:00
Nikos Mavroyanopoulos
93232c7064
Added keygen_s2k function. Function which generates keys from passwords.
2000-10-25 18:09:23 +00:00
Andrei Zmievski
f1dcb32c9f
Use zend_register_list_destructors_ex() instead.
2000-10-25 17:44:02 +00:00
Andrei Zmievski
a35bf41670
Added array_sum() function.
2000-10-25 17:40:11 +00:00
foobar
1026416153
gdImageWBMP has some bug in it. Using the php-internal one works.
2000-10-25 17:35:29 +00:00
Sascha Schumann
2d7860edc7
__USE_GNU shall not be defined by application
2000-10-23 14:04:54 +00:00
Daniel Beulshausen
6911ee5b99
it's n.a. on win32 :)
2000-10-23 13:56:22 +00:00
Stanislav Malyshev
48e5d3189f
Make zlib compile again
2000-10-23 13:19:07 +00:00
Alexander Feldman
7c11cfaf03
Fixed a bug in session.c. If the user calls session_module_name with a
...
parameter, then the mod_data pointer is initialized to NULL and then
php_session_save_current_state did not check this value before referencing
the pointer. Added a check in php_session_save_current_state.
2000-10-23 13:10:01 +00:00
Hartmut Holzgraefe
86c0d81253
have you ever tried to run the regression tests with error_reporting=E_ALL ?
...
now it will run smoothly without all theese 'undefined ...' warnings
2000-10-23 07:40:05 +00:00
Hartmut Holzgraefe
b17451635d
added a regression test skeleton file
...
plus a partintro in xml documentation template
2000-10-23 07:31:31 +00:00
Andrei Zmievski
fa8452bbb2
Fix bug #7397
2000-10-23 02:01:19 +00:00
Chris Vandomelen
b57f9eb541
Added ini entry for choosing whether to use the read() wrapper or directly
...
calling the read() system call.
# Some people were commenting about "oddities" in the wrapper that I hadn't
# noticed before, though I've used it in many places before now..
2000-10-22 23:43:48 +00:00
Thies C. Arntzen
248d8527fd
@- OCIBindByName() now does better parameter-checking. (Thies)
2000-10-22 19:33:59 +00:00
foobar
7ef3e414e2
Makes curl extension compile again plus some typo fixes.
2000-10-22 17:29:33 +00:00
Sascha Schumann
f69a4a431a
Fix php://* being handled by the ftp handler
2000-10-22 14:41:02 +00:00
Stig Venaas
5741816315
Corrected prototype comments for ldap_get_option and ldap_set_option
2000-10-22 11:25:47 +00:00
Stig Venaas
e8c7fd7f5f
Fixed array_type_data_compare(). I want strings to always differ from
...
numbers, but not say 7 and 7.0 to differ.
2000-10-22 11:18:21 +00:00
Chris Vandomelen
989d471643
Hopefully made some compile fixes for Solaris ("sun" is an already defined
...
symbol on Solaris.. s_un isn't...), and corrected bugs with checking for a
string by checking if Z_STRVAL_PP(ptr) == NULL instead of
Z_STRLEN_PP == 0, causing segfaults when uninitialized values were passed
into certain functions.
@- Attempted to make compile fixes for Solaris in ext/sockets/sockets.c (Chris Vandomelen)
# OK, so I have a tendency to make lots and lots of bug fixes in big spurts..
2000-10-22 07:54:49 +00:00
Chris Vandomelen
4f1a8a763a
Oops, forgot to remove those .. thought I had..
2000-10-22 06:46:43 +00:00
Chris Vandomelen
0646a49386
Corrected some bugs dealing with compile failures (should now compile
...
on most varieties of Linux, and should hopefully fix at least 3 of the
compile errors that were discovered). Also modified read() slightly
to take an optional parameter as to whether the data was binary or
text so it wouldn't stop reading on a newline or null byte received.
@- Made read() binary-safe in sockets.c (Chris Vandomelen)
@- Attempted fixing some compile failures (Chris Vandomelen)
# Hopefully someone will attempt to compile this on other systems, I
# have no access to other platforms to compile it on ....
2000-10-22 06:45:03 +00:00
Daniel Beulshausen
1d582b8829
added missing def.
2000-10-21 21:17:31 +00:00
Andi Gutmans
4d676fe9d8
- including php.h automatically includes the PHP config file.
2000-10-21 19:18:55 +00:00
Stig Venaas
4edb210028
Made array_unique use array_type_data_compare instead of array_data_compare
2000-10-21 18:12:30 +00:00
Stig Venaas
508d1993ed
Added array_type_data_compare which is like array_data_compare but
...
compares type first. Also rewrote array_intersect and array_diff,
so that the order is not changed.
@- Made array_intersect and array_diff not alter order (Stig Venaas)
2000-10-21 17:48:11 +00:00
Daniel Beulshausen
a953b5ae4d
i'm sure this should be ibase_query :)
2000-10-21 17:38:08 +00:00
Daniel Beulshausen
bef776742c
i can find no php_config.h on win32 :)
2000-10-21 17:19:23 +00:00
Daniel Beulshausen
9224f8e211
made yaz compile under windows
2000-10-21 14:18:28 +00:00
Rasmus Lerdorf
d12c4de6ba
Fix annoying $withval interaction in GD configure stuff
2000-10-21 12:03:52 +00:00
Rasmus Lerdorf
04f0f0b12c
Gremlins?
2000-10-21 12:03:09 +00:00
Andreas Karajannis
7d3b7d7cb2
Config Patch for DBMaker
2000-10-21 11:11:11 +00:00
Daniel Beulshausen
6337c12473
make libmysql compile under win
2000-10-21 10:14:09 +00:00
Sebastian Bergmann
8f280b2656
Removed files from Win32 workspace that were removed in libmysql 3.23
2000-10-21 06:55:08 +00:00
foobar
c663980808
Now checks that the library really exists even if path is specified as /usr
...
PR: 7358
2000-10-21 00:35:10 +00:00
Sascha Schumann
8fe7cf26fc
Add explicit format string
2000-10-20 23:39:16 +00:00
MySQL Team
a2dbb10eb1
Update libmysql to 3.23 version. No major changes visible to the user - mostly
...
bug fixes and other maintenance-oriented changes.
2000-10-20 22:26:48 +00:00
Nikos Mavroyanopoulos
ebaf484830
updated for the new sqlcli
2000-10-20 21:01:31 +00:00
Frank M. Kromann
4682a3fe95
Fixing bug #6000
...
Return the full content for datetime colums
Make the same fix for smalldatetime
2000-10-20 20:58:57 +00:00
Frank M. Kromann
2c874f745d
Fixing bug #6000
...
Return the full content for datetime colums
2000-10-20 20:49:35 +00:00
Stig Venaas
094d01148a
Made ldap_connect() accept URL in host parameter when using OpenLDAP 2.x.
...
@- Made ldap_connect() accept URL in host parameter when using OpenLDAP
@ 2.x. To use SSL, use ldaps://host/ as URL. (Stig Venaas)
2000-10-20 20:22:59 +00:00
Frank M. Kromann
a2cb42039f
Fixing bug in mssql_fetch_object() and mssql_close()
2000-10-20 19:55:03 +00:00
Andrei Zmievski
7b4983c8f8
Mega-patch to get better resource information for modules.
...
* Fixed a bug in zend_rsrc_list_get_rsrc_type()
* Switched register_list_destructors() to use
zend_register_list_destructors_ex() instead
* Updated all relevant modules to provide the resource type name
to register_list_destructors() call
* Updated var_dump() to output resource type name instead of number
@- Made resource type names visible, e.g. var_dump() and
@ get_resource_type() display "file" for file resources. (Andrei)
2000-10-20 18:25:16 +00:00
Sterling Hughes
6b8faeb1f2
Fix CURLOPT_REFERER.
...
@ Added the curl_getinfo() function to find out information about a CURL
transfer. This function requires cURL 4.0 or above. (Sterling)
@ Added the CURLOPT_KRB4, CURLOPT_INTERFACE, CURLOPT_QUOTE,
CURLOPT_POSTQUOTE, CURLOPT_QUOTE and CURLOPT_HTTPPROXYTUNNELL options.
(Sterling)
2000-10-20 04:57:14 +00:00
Derick Rethans
6cfcf6e010
- Removed the shm_* aliases
...
@- Removed the shm_* aliases, only the smhop_* function wiil be
@ supported (Derick)
#I'll change the NEWS file as soon as it has been rebuild
2000-10-19 23:14:51 +00:00
Derick Rethans
2c05a539e5
- Renamed the shm_ to shmop_ and created aliases for the old shm_
...
functions
@- Renamed the shm_* functions to shmop_* and added aliases for the
@ old functions (Derick)
2000-10-19 22:50:41 +00:00
Sascha Schumann
1d9acd8337
Hack for #7262 , not fixed yet
2000-10-19 17:40:56 +00:00
Joey Smith
78493a1b03
Use sybct for INI values.
2000-10-19 17:03:25 +00:00
Joey Smith
52fc5f0cd3
Fix compiler warnings.
2000-10-19 16:10:41 +00:00
Joey Smith
dc44e06eeb
Fix #7338 .
2000-10-19 16:09:30 +00:00
Sascha Schumann
57dcb93324
Remove left over ext_skel comment
2000-10-19 14:34:03 +00:00
Rui Hirokawa
e8967fdc58
fixed a mistake. should be .
2000-10-19 12:10:59 +00:00
Chuck Hagenbuch
f9606d82fa
add an optional parameter to imap_sort to specify a search program that
...
messages must match to be included in the sorted list.
2000-10-19 01:32:50 +00:00
Rui Hirokawa
6eb45b5964
modified the configure scripts to make shared extension.
2000-10-18 22:17:41 +00:00
Sascha Schumann
9f71179ca9
Back out circular references protection patch.
...
This causes problems with serializing regular variables and object
properties.
We need a smarter way to tell whether we have serialized one node
already.
PR: #7291 , #7294
2000-10-18 18:32:32 +00:00
Andrew Skalski
23defd97e9
fixed logic error in the get parameters stage of mcal_list_alarms
2000-10-18 14:24:20 +00:00
foobar
7a54e0b10c
Fixed crash (bus error) in readdir() and session cleanup when compiled
...
with Sun CC.
2000-10-18 14:14:14 +00:00
Stig Venaas
33d15279ac
Removed some zval_dtor calls. There were two more than needed, and I had
...
just added two more...
2000-10-18 13:41:42 +00:00
Stig Venaas
afdf0e759f
Added some missing zval_dtor calls in php_fsockopen()
2000-10-18 13:21:08 +00:00
Stig Venaas
2da9a94d38
Added destruction of return value parameter, and using ZVAL_LONG and
...
ZVAL_STRING to set return value in ldap_get_option.
2000-10-18 07:47:51 +00:00
Nikos Mavroyanopoulos
2ecce2dc35
corrected authors notice
2000-10-18 07:25:26 +00:00
Nikos Mavroyanopoulos
5386c05cd1
Added the mhash HMAC functionality. Now the mhash function can use
...
keyed hash by added the key as an extra parameter to the function.
2000-10-17 19:43:49 +00:00
Jouni Ahto
68b899ce26
(ibase_execute) - Oops, trying to free a little bit too much. Maybe fixes
...
#6721 , #7117 , #7278 .
# Shouldn't have 6 versions of interbase.c lying around. Can't always
# remember which versions were tested, which ones committed and which ones
# actually in CVS... :(
2000-10-17 17:46:14 +00:00
Chuck Hagenbuch
13fa52b881
spaces to tabs. do we have a standard on this?
2000-10-17 17:31:37 +00:00
Chuck Hagenbuch
e058cb0648
fix imap_fetchstructure(). msgindex is not valid if we're using FT_UID;
...
always use Z_LVAL_PP(msgno) in the actual c-client function call.
2000-10-17 16:11:26 +00:00
Stig Venaas
ffbd2367e7
Added ldap_get_option() and ldap_set_option() functions
...
@- Added ldap_get_option() and ldap_set_option() functions (Stig Venaas)
2000-10-17 16:06:04 +00:00
Chuck Hagenbuch
9e693657d9
replace fixed-size buffers for username and password with dynamically
...
allocated strings in the MCAL extension.
2000-10-17 15:52:04 +00:00
Stig Venaas
0b59e4b821
Removed some redundant convert_to_*_ex() calls. Edited some whitespace.
2000-10-17 15:51:04 +00:00
foobar
6e09d7cb53
*** empty log message ***
2000-10-17 15:42:05 +00:00
Andreas Karajannis
e8861e6d20
Added support for SAP DB
2000-10-17 15:23:18 +00:00
Sascha Schumann
d95bc9b3eb
Initialize tags properly.
...
Submitted by: Andreas Karajannis <Andreas.Karajannis@gmd.de>
2000-10-17 14:17:21 +00:00
Sascha Schumann
2d24f03033
Back out ws changes
2000-10-17 03:02:47 +00:00
Sascha Schumann
7c0ba95806
fix indentation
2000-10-17 02:50:15 +00:00
Rasmus Lerdorf
b3fb8a6e97
Aha, Sascha made a mistake! ;)
...
Make this thing compile again without trans-sid
2000-10-16 22:12:28 +00:00
Daniel Beulshausen
1f245a6f73
make compile again
2000-10-16 20:08:27 +00:00
Sascha Schumann
1c85ad029b
Enable users to set the HTML tags to rewrite
...
through a configuration directive
2000-10-16 17:25:36 +00:00
Daniel Beulshausen
8f5e25598a
include php.h to have VIRTUAL_DIR defined this
...
should fix bugs where the ttf functions won't
find the font in the actual working dir
# like under windows :)
2000-10-16 13:55:47 +00:00
Rui Hirokawa
4de105ae4a
added a option to use the truetype string handling function in gd.\n it is useful for japanese because the truetype string function in gd supports some japanese encodings.
2000-10-16 13:50:30 +00:00
Daniel Beulshausen
4086197d95
fixes bug 7055 & 7235
2000-10-16 10:35:43 +00:00
foobar
d282abf2df
Changed to look also for liblber.so (sometimes there are only shared libs)
...
Fixes bug 6072.
2000-10-15 22:53:43 +00:00
David Eriksson
f6b66196e1
Updated build instructions, changed E_ERRORs to E_WARNINGs
2000-10-15 17:27:29 +00:00
Marko Karppinen
cd7dae0676
We don't support FreeType 2 - let's stop pretending we do
2000-10-14 23:04:26 +00:00
foobar
e6d03e7a3e
config.m4
2000-10-14 22:48:38 +00:00
Hartmut Holzgraefe
545ae277bc
post handler registration done right
...
(never use emalloc in an extension MINIT function)
2000-10-13 12:13:35 +00:00
Hartmut Holzgraefe
6d5f1d97f8
now it works for me as CGI and APXS, with or without --enable-debug ...
2000-10-13 10:04:17 +00:00
Daniel Beulshausen
6fb51171c8
compile fixes & update of win32 dsp
2000-10-13 09:13:01 +00:00
Hartmut Holzgraefe
cae27179ce
fopen wrappers cleanup
...
- comfiguration is now done by an ini parameter
instead of a compile time option
- the implementations of the three standard wrappers
now live in seperate files in ext/standard
- the compiler is happy again, no more warnings
2000-10-13 00:09:31 +00:00
Sascha Schumann
3ee228371d
Let strtr() use smart_str to reduce complexity
2000-10-12 01:26:26 +00:00
Sascha Schumann
174253123e
Rewrite php_str_to_str using the smart_str API.
...
This removes much complexity from the function.
Speed is improved by pre-allocating memory instead of reallocating
the buffer each time the pattern is found.
2000-10-12 00:50:28 +00:00
Sascha Schumann
82d199b639
Move structure definition into its own file, so that public header
...
files don't need to include the complete source code.
2000-10-12 00:48:12 +00:00
Hartmut Holzgraefe
22e48a814a
@ - POST handler for Adobe FDF format (Hartmut)
...
the FDF handler is now working and totaly living
in the fdf extension, no more special code in
main is needed
2000-10-11 22:44:15 +00:00
Hartmut Holzgraefe
5423a08558
@ -read and write .gz-files transparently on glibc based systems
...
@ using the 'zlib:' fopen wrapper (Hartmut)
2000-10-11 22:40:22 +00:00
Nikos Mavroyanopoulos
3156be3fa6
fixed some includes and removed an unneeded file.
2000-10-11 20:32:04 +00:00
Nikos Mavroyanopoulos
68683825ad
corrected typo
2000-10-11 20:26:09 +00:00
Sascha Schumann
d2d5320ee8
Add session_write_close(). This is primarily intended to enable
...
script writers to release the lock associated with the session lock
before the request finishes.
You can pass arrays now to session_set_save_handler(), so that the handlers
can be located in an object for better abstraction.
2000-10-11 19:47:15 +00:00
Zeev Suraski
dea72ba6a4
Added mysql_escape_String()
2000-10-11 18:27:21 +00:00
Zeev Suraski
ac0880fd8f
Remove conflict
2000-10-11 18:00:18 +00:00
Nikos Mavroyanopoulos
c834cbba59
Corrected a wrong include
2000-10-11 17:05:18 +00:00
Nikos Mavroyanopoulos
98038f8228
Added support for Ovrimos SQL Server.
2000-10-11 16:54:23 +00:00
Hartmut Holzgraefe
f2ddc10685
proto typo fixes
2000-10-11 13:51:32 +00:00
Hartmut Holzgraefe
0b7745d713
added protos
2000-10-11 13:34:42 +00:00
Zeev Suraski
8fc4200414
Old PostgreSQL fix I forgot to commit, and NEWS consistency update
2000-10-11 13:27:21 +00:00
Hartmut Holzgraefe
332b7125de
added missing protos
2000-10-11 11:40:29 +00:00
Hartmut Holzgraefe
be19c812ab
added some missing protos
2000-10-11 11:25:13 +00:00
Hartmut Holzgraefe
8716039dec
protos fixed
2000-10-11 10:46:53 +00:00
Daniel Beulshausen
814639b2fc
make windows compile
2000-10-11 09:17:10 +00:00
Sterling Hughes
8759dcc0ce
Fix compilation, I wonder when these were omitted??
2000-10-10 20:51:32 +00:00
Derick Rethans
a03858c40b
- Reserved the patch
...
# Please check if it works, as I'm not be able to test it
# Blame CaPS for this one :)
2000-10-10 16:58:27 +00:00
Uwe Steinmann
e9ba352023
- added optional argument pdf_show_boxed() to determine if text is
...
actually shown or not.
2000-10-10 07:42:55 +00:00
Andrei Zmievski
ab0f48d506
Fix compiler warnings.
2000-10-09 19:18:42 +00:00
Andrei Zmievski
a193c9ce3e
Fix a misconfiguration error and missing return statement.
2000-10-09 19:10:39 +00:00
Derick Rethans
92b3dd06e3
- Made ora_close return values like it should (thanks to james@php.net and
...
mathieu@gginter.net )
2000-10-09 18:45:56 +00:00
Chuck Hagenbuch
046ecab96f
revert patch. Sablot won't build anymore, at least in combination with zlib.
2000-10-09 18:32:37 +00:00
Hartmut Holzgraefe
86f2ad3017
I SHALL NOT TOUCH A RELEASE CANDIDATE!
...
I SHALL NOT TOUCH A RELEASE CANDIDATE!
I SHALL NOT TOUCH A RELEASE CANDIDATE!
(previous patch reverted)
2000-10-09 15:24:26 +00:00
Hartmut Holzgraefe
bbc37db2f3
added support for GNU-specific domainname field in uname
2000-10-09 15:12:34 +00:00
Chuck Hagenbuch
85d125c22c
No comment on this, so I'm guessing it's okay.
2000-10-09 14:51:17 +00:00
Zeev Suraski
9103cae5e5
Fix bug #6447
2000-10-09 11:48:16 +00:00
Daniel Beulshausen
d667e05543
more cleanup of info code
2000-10-08 11:45:18 +00:00
Daniel Beulshausen
990a86615d
only beautifying
2000-10-08 10:55:09 +00:00
Sascha Schumann
683ce541c8
Move static declaration to source file.
2000-10-07 20:46:30 +00:00
Thies C. Arntzen
6b5441c30f
@- Fixed returning of empty LOB fields in OCI8. (Thies)
2000-10-07 09:10:54 +00:00
Andi Gutmans
31a5160a0a
- Add calendar to default Win32 build.
2000-10-06 00:03:02 +00:00
Andi Gutmans
9ece8612b8
- Add FTP extension to default Win32 build
2000-10-05 23:25:41 +00:00
Rasmus Lerdorf
348079bc3f
Get ext_skel working again
2000-10-05 20:48:12 +00:00
Andi Gutmans
fb2c23645b
- Clean-up original code and add to NEWS.
2000-10-05 18:26:54 +00:00
Brendan W. McAdams
5ab813e1b6
Updated email address to reflect my php.net address.
...
I am no longer associated with Plexus InterActive (my plexmedia.com address) so
the old address is no longer any good.
2000-10-05 18:20:06 +00:00
Alexander Feldman
791cda209c
Fixed posix_addlimit() when adding the string "unlimited" to the result.
...
Now the posix_getrlimit() function does not cause core dump.
2000-10-05 18:06:55 +00:00
Jouni Ahto
f06ee6bdba
- List entry types should be true globals.
2000-10-05 12:47:39 +00:00
Joey Smith
8538f86ac1
Add more missing protos and make folding style closer to mysql module.
2000-10-05 02:40:53 +00:00
foobar
b3450c2246
Now it really checks that libxml version is >= 2.0
2000-10-05 00:51:46 +00:00
Sascha Schumann
47dfaf232f
Use ZEND_DECLARE_MODULE_GLOBALS instead of equivalent #if ZTS/#else/#endif
...
construct.
2000-10-04 23:11:07 +00:00
Sascha Schumann
5674f1be45
Ignore close tags and use unsigned char type.
2000-10-04 18:06:20 +00:00
Sascha Schumann
da6c94f73b
typo
2000-10-03 21:56:21 +00:00
Sascha Schumann
cc415d699e
#include "ext/standard/php_string.h" to get php_memnstr().
2000-10-03 18:52:46 +00:00
Andi Gutmans
a1abfb7643
- Fix dirname()
2000-10-03 16:47:25 +00:00
Sterling Hughes
e97718461b
Fix some small issues.
2000-10-03 15:51:39 +00:00
Andi Gutmans
d37b140601
- Fix VC++ warning
2000-10-03 14:43:04 +00:00
Rasmus Lerdorf
ff9946b264
Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
...
@Add --with-imap-ssl to support SSL'ized imap library in RH7 and others
@(Rasmus)
2000-10-02 22:16:53 +00:00
Andi Gutmans
bf7603cf83
- Now really fix it.
2000-10-02 18:13:53 +00:00
Andi Gutmans
28c96e89e1
- Fix bug in parse_url()
2000-10-02 17:51:30 +00:00
Rasmus Lerdorf
b189759bcd
Clean up the alignment of configure --help output
2000-10-02 17:36:01 +00:00
Daniel Beulshausen
7482eb6adc
fixed unresolved externals.
...
# it compiles fine now, and php loads the extension fine
# but there must be definetly something with the paths
# cause mcrypt doesn't want to load any alogrithm
2000-10-02 11:00:54 +00:00
Sterling Hughes
82070f1cdf
Tiny change in copying of buffer.
2000-10-02 04:55:26 +00:00
Derick Rethans
58294f67d2
@- Added the shmop extension. It allows more general ways of shared memory
...
@ access. (thanks to Ilia Alshanestky <iliaa@home.com> and Slava Poliakov
@ <slavapl@mailandnews.com> (Derick)
2000-10-01 15:06:04 +00:00
Daniel Beulshausen
0960b3618f
snmp win extension
2000-09-30 17:39:13 +00:00
Daniel Beulshausen
ef1dea5e1e
uses php.h define
2000-09-30 16:32:11 +00:00
Andi Gutmans
3f80efd660
- Cleanup output functions
2000-09-30 16:14:54 +00:00
Andi Gutmans
2622eba31d
- Cleanup some output functions
2000-09-30 16:13:48 +00:00
Daniel Beulshausen
499507ca0e
added dsp for the filepro extension
2000-09-30 15:57:45 +00:00
Daniel Beulshausen
1c4207a1f8
made win32 compile
2000-09-30 13:32:25 +00:00
Daniel Beulshausen
c7c8ed155c
removed zendts.lib from link options
2000-09-30 13:29:20 +00:00
Daniel Beulshausen
8ef9700499
cleanup
2000-09-30 13:25:41 +00:00
Daniel Beulshausen
53e1e33045
fix not producing valid extension
2000-09-30 13:24:16 +00:00
Sterling Hughes
85e2dc34d5
leftovers.
2000-09-30 04:50:39 +00:00
Sterling Hughes
1e6ae4496b
Buncha changes, generally makes the module more stable and removes unnecessary
...
(as of Sablotron 0.44) workarounds.
2000-09-30 04:44:33 +00:00
Sterling Hughes
36dc3e1c20
@ Added the ability for CURLOPT_POSTFIELDS to accept an array of HTTP post
...
parameters. (Sterling)
@ Added the CURLOPT_HTTPHEADER option that allows for the posting of HTTP
headers to a remote site from cURL. (Sterling)
@ Add the curl_error() and curl_errno() functions. (Sterling)
Buncha other changes...
- Changed if () else if () in curl_setopt to switch .. case
- Fixed a couple crashes in certain cases.
- Finally a decent error reporting scheme.
- A few formatting changes.
2000-09-30 03:09:54 +00:00
Sascha Schumann
11c88a0ff5
Return SUCCESS from write handler, if vallen is 0.
...
Submitted by: tcarroll@chc-chimes.com
PR: #6958
2000-09-29 21:44:45 +00:00
Dan Kalowsky
ca1b12c5a1
corrected lines for Solid 2.3 systems after some advice from users, please test...
2000-09-29 19:03:23 +00:00
Sascha Schumann
4b89b67d1c
Don't try to serialize references.
...
Circular references would otherwise kill PHP, as the serializer
would overrun the stack.
2000-09-29 18:48:40 +00:00
Hénot David
a68a224efd
Added clean up code for persistent connections to avoid some problems with
...
autocommit.
2000-09-29 09:29:06 +00:00
foobar
5844b74e22
Fix configure (with Solaris).
2000-09-28 23:46:15 +00:00
Daniel Beulshausen
7fdb466d14
a little cleanup
2000-09-28 20:29:39 +00:00
Daniel Beulshausen
23b14d4cfb
added tsrm dir to include path
2000-09-28 20:26:31 +00:00
Daniel Beulshausen
eba5d76078
removed ignoring msvcrt(d) libary
2000-09-28 20:25:03 +00:00
Daniel Beulshausen
97089c0370
major cleanup
...
# but still doesn't work for me
2000-09-28 20:22:57 +00:00
foobar
aee1a49287
@- Changed ext/db not to be enabled by default (Jani)
2000-09-28 20:09:23 +00:00
Frank M. Kromann
e048e34e80
Having odbc_tables() and odbc_columns() match the documentation with parameters optionel from the right
2000-09-28 16:42:04 +00:00
Andi Gutmans
3e0d46d222
- Fix build of db2
2000-09-28 13:08:14 +00:00
Stefan Roehrich
045ee57f04
Line seems to be missing and causing configure test failures for other extensions.
2000-09-28 09:37:30 +00:00
Sascha Schumann
2e4ab68995
Automatic conversion might cause interpretation of 0xff as EOF, so we store
...
the result in an object of type int first.
Submitted by: melchers@cis.fu-berlin.de
2000-09-27 16:08:26 +00:00
Sascha Schumann
3823ad3ec0
Recognize single quotes around cdata.
...
Move smart_str functions to an extra file.
2000-09-27 15:26:39 +00:00
Sascha Schumann
5bf4e7857d
Clean up STR_CAT macro (it is still ugly)
2000-09-27 15:24:09 +00:00
Sascha Schumann
1cc3e6b5e6
Move php_memnstr to the header file, so that the function body is available
...
in all compilation units (note the static linkage).
2000-09-27 15:18:00 +00:00
Daniel Beulshausen
5b6d752119
fixed tsrm dir, little cleanups
2000-09-26 13:17:21 +00:00
Daniel Beulshausen
b8dabd3fb8
removed redefines
2000-09-26 12:05:37 +00:00
Daniel Beulshausen
77e7617654
cleanup, added configurations for ssl as well
2000-09-26 11:51:31 +00:00
Daniel Beulshausen
58d8ab855f
cleanup
2000-09-26 11:34:10 +00:00
Sascha Schumann
7db874096e
Unify memory allocation in smart_str functions
2000-09-26 11:00:39 +00:00
Sascha Schumann
d959c647e2
Remove superflucious variable
2000-09-26 11:00:02 +00:00
Stanislav Malyshev
9ff7f19e32
Add URL support for GD
2000-09-26 09:08:02 +00:00
Joey Smith
12aca26b5b
Add protos from sybase DB Library.
2000-09-26 07:38:47 +00:00
foobar
0f3ef58fa3
No more empty '-l' caused by this extension.
2000-09-22 00:59:16 +00:00
Stig Venaas
9a9e2e72b0
Small fix to the literal IPv6 parsing, now stops at first ] after [
2000-09-22 00:33:55 +00:00
Stig Venaas
0776f7d3d7
Parsing of URLs with literal IPv6 addresses, see RFC 2732
...
@- IPv6 support in fopen (one can access IPv6 ftp/web servers) (Stig Venaas)
2000-09-22 00:12:00 +00:00
Brian Moon
09e00183bd
added mysql_fetch_assoc. Acts like mysql_fetch_array used to.
2000-09-20 21:43:57 +00:00
Sascha Schumann
854c0622f0
Cleanup SCANNER_DEBUG and don't NUL terminate work buffer
2000-09-20 08:59:52 +00:00
Sascha Schumann
cfa22547e0
Use emalloc and friends. Since we reuse all buffers, this does not affect
...
the speed.
The smart_str_* functions don't NUL terminate strings anymore. We can
rely on the length of the strings completely.
2000-09-20 08:40:33 +00:00
Sascha Schumann
16d7cb88fa
Remove this pseudo optimization from the previous rewrite.
...
Since we leave/enter the loop more often, the cost of maintaining
c_arg/c_val is higher than simply copying the tag/arg string once.
2000-09-20 08:13:45 +00:00
Sascha Schumann
f27f790f29
Another 5%-10% speed increase achieved by
...
- making ctx->val read-only
- adding a special appendc function for appending single characters
2000-09-20 08:06:01 +00:00
Joey Smith
e5bb148d4e
le_link and le_plink are no longer part of the sybase_globals.
2000-09-20 04:12:03 +00:00
Sascha Schumann
7aa23d3ca3
Add support for URLs containing NAME info (for scrolling; #name).
2000-09-20 02:04:19 +00:00
Sascha Schumann
9c6414d6fa
Deactivate E_NOTICE message on gc
2000-09-20 01:38:39 +00:00
Sascha Schumann
cd9ab22f84
Rename prototype to currently used name. These stupid names will go away once
...
the transition periode ends.
2000-09-20 01:25:19 +00:00
Sascha Schumann
07e71ce1f1
s/url_scanner.h/url_scanner_ex.h/
2000-09-20 01:22:55 +00:00
Sascha Schumann
61dc840cdd
Make the new url scanner the default.
...
If there are any problems (especially with characters > 127), let me know.
2000-09-20 01:22:17 +00:00
Sascha Schumann
a2dc8a2fa5
2nd Rewrite of the main scanner engine. This version is cleaner and faster.
...
It handles the following tags currently:
<FRAME .. SRC=URL ..>
<INPUT .. TYPE=IMAGE SRC=URL ..>
<A .. HREF=URL ..>
<AREA .. HREF=URL ..>
<IMG .. SRC=URL ..>
Additional ones can be added within seconds.
The support for HTML forms has been significantly improved. The scanner
will now add proper Hidden Fields for the Session ID.
2000-09-20 01:15:10 +00:00
Sascha Schumann
cc53ad5166
Reduce the amount of copying in the mainloop. We copy tag/arg only, if we
...
need to preserve them for a new loop iteration (after we leave mainloop).
Otherwise, we can just let them point to the work area.
2000-09-19 20:19:03 +00:00
Sascha Schumann
dd59d14805
Revert part of last commit. I'll refine it later.
2000-09-19 19:18:41 +00:00
Andi Gutmans
c54047b0b0
- Change to Z_BVAL macro
2000-09-19 18:19:02 +00:00
Sascha Schumann
a7ef1966ac
Another speedup by avoiding string copies.
...
15% speed gain in test case (rewriting 1M URLs).
2000-09-19 18:17:28 +00:00
Sascha Schumann
95ae21ff1b
Remove nextiter label
2000-09-19 18:01:29 +00:00
Sascha Schumann
7f86b7224c
s/DEBUG/SCANNER_DEBUG/. "Convert" one macro to inline function to be more
...
consistent. Also use continue.
2000-09-19 18:00:58 +00:00
Zeev Suraski
5b0ca1585a
Fix a few build bugs, still no go
2000-09-19 17:53:09 +00:00
Sascha Schumann
51498e1d3f
Kill warning
2000-09-19 17:46:23 +00:00
Sascha Schumann
e07e19f271
The rewrite was completely authored by Hartmut
2000-09-19 17:45:44 +00:00
Sascha Schumann
e2efb3cf06
Remove unnecessary include directive
2000-09-19 17:39:43 +00:00
Zeev Suraski
c45b1c2c8b
- Fix warnings
...
- Fix URL scanner startup crash
2000-09-19 17:37:34 +00:00
Sascha Schumann
4b3fb7b05e
Add new URL scanner. This version is up to 20% faster. It will be
...
enabled by default once I'm sure that it works in every case.
To enable it, apply s/url_adapt_ext/url_adapt_ext_ex/ to session.c
2000-09-19 17:32:27 +00:00
Sascha Schumann
2ec043606b
*** empty log message ***
2000-09-19 17:22:37 +00:00
Sascha Schumann
e986a4b0a3
Fix RINIT/RSHUTDOWN functions and add url_adapt_ext()
2000-09-19 17:21:26 +00:00
Stanislav Malyshev
08e1c852aa
Fix decbin
2000-09-17 21:11:55 +00:00
Stanislav Malyshev
27fb7df0d2
Add empty string checks to add?slashes
2000-09-17 09:15:48 +00:00
Zak Greant
e9d946d374
Thought that I had just committed something really stupid.
...
On closer inspection, realized that the proto comments
for chown and chgrp were reversed. :)
I did not realize this and had only fixed chown previously
2000-09-16 05:10:03 +00:00
Zak Greant
e7b0cd7ad2
trivial change
...
corrected mistake in proto comment for chown fold
2000-09-16 05:02:06 +00:00
Chris Vandomelen
322891a2dd
Changed assignment in read() to be more sane.
2000-09-15 23:44:30 +00:00
Joey Smith
618bfebfaf
Remove CVS conflict. Zeev, I assume you wanted context inside the globals?
2000-09-15 20:54:42 +00:00
Sam Ruby
17332d6b21
Indicate the Sun's JDK 1.2.2 now works...and complete a sentence.
2000-09-15 18:06:18 +00:00
Chris Vandomelen
d3ca6394eb
Corrected memory leak in read().
2000-09-14 21:48:15 +00:00
Andrei Zmievski
da3c43182a
Fix warnings.
2000-09-14 20:22:02 +00:00
Andrei Zmievski
b111463f4c
Fixed bug #6740 .
...
I happen to think that this is php_addslashes() problem, not PCRE's.
When 0 is passed for the length of the string to php_addslashes() it
assumes that we want to process the whole string and happily runs
strlen() on it. That is bad. It should respect the length and return
an empty string if it's 0.
2000-09-14 15:44:36 +00:00
Chris Vandomelen
ce46ccd32b
Added prototypes for socketpair() and shutdown(), and corrected an obvious
...
bug in socketpair (causing it to not return the created sockets to the PHP
script.)
2000-09-13 23:33:39 +00:00
Derick Rethans
c7d31495bf
- Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
...
@ Added ftp_exec to the ftp functions (thanks to <jhennebicq@i-d.net>)
@ (Derick)
2000-09-13 22:00:31 +00:00
Andrei Zmievski
a6bb6f5df3
Create module info function.
2000-09-13 20:58:19 +00:00
Andrei Zmievski
09ac5ed748
Really fix the de-allocation.
2000-09-13 15:31:50 +00:00
Andrei Zmievski
84908add07
Fixed block overrun.
2000-09-13 13:55:35 +00:00
Andi Gutmans
526d45e95f
- The Sprit of PHP is to have descriptive function names and not
...
necessarily short ones. Maybe we should have some FAQ for this?
2000-09-13 04:13:36 +00:00
Rui Hirokawa
4ffaf35556
updated some functions'name using obsolete name convention.
2000-09-12 23:19:58 +00:00
Zeev Suraski
5d97102f8f
@- Made the Sybase CT module thread safe (Zeev)
2000-09-12 20:54:36 +00:00
Zeev Suraski
6c3d7449e1
- Made eval() and several other runtime-evaluated code portions report the
...
nature and location of errors more accurately (Stas)
2000-09-12 20:48:33 +00:00
Andrei Zmievski
5470222d70
Forgot to update proto.
2000-09-12 19:04:50 +00:00
Andrei Zmievski
34574352be
@- Added second argument to array_reverse() that indicatese whether
...
@ the original array keys should be preserved. (Andrei)
2000-09-12 19:03:59 +00:00
Daniel Beckham
b852f3941f
reversed chomp alias addition as per Andi Gutmans' request
2000-09-12 19:00:21 +00:00
Rasmus Lerdorf
75d73aaffb
# missed proto comments
2000-09-12 17:24:46 +00:00
Rasmus Lerdorf
d23ad61dc3
Clean up htmlspecialchars/htmlentities inconsistencies.
...
@Clean up htmlspecialchars/htmlentities inconsistencies. (Rasmus)
2000-09-12 17:22:37 +00:00
Daniel Beckham
5925071957
added chomp() alias for chop() for us Perl purists.
2000-09-12 15:54:10 +00:00
Stanislav Malyshev
44e04f7688
Make parse_str always register globals with 1 argument and never -
...
with 2 arguments
2000-09-12 10:56:25 +00:00
Stanislav Malyshev
e0a5a4813e
A quick attempt to make parse_str($str,$arr) not register globals.
2000-09-12 10:54:45 +00:00