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