Zeev Suraski
c28a26b119
There we go.
2001-08-10 12:45:58 +00:00
Zeev Suraski
38c101521b
build fix
2001-08-10 12:28:15 +00:00
Rasmus Lerdorf
05db76df86
Sablot extension cleanup - it compiles again now
2001-08-10 09:48:48 +00:00
Rasmus Lerdorf
eee9187ecb
The checks were in the wrong order here. sablot depends on expat, so
...
check for expat first and add -lexpat then check for sablot
2001-08-10 09:05:37 +00:00
foobar
9e0ad17dc4
compile fix (missing TSRMLS_CC)
2001-08-10 08:02:09 +00:00
foobar
52e3b4a44f
Cleanup. Also make gethostnamel() to return FALSE on error and not just empty array.
2001-08-10 02:19:05 +00:00
Rasmus Lerdorf
9e9e47faa4
Filter a bit of the "Bronx" out of this README
2001-08-10 01:41:14 +00:00
David Eriksson
77298408b3
Prevent potential crash
2001-08-09 22:00:05 +00:00
David Eriksson
81a7f27471
Convert parameter to long if needed.
2001-08-09 21:59:27 +00:00
David Eriksson
507d5699f0
Added zend_ prefix to wrong_param_count in enum.c, object.c and struct.c
2001-08-09 21:57:57 +00:00
David Eriksson
f5c48a1406
struct.c
2001-08-09 21:56:25 +00:00
David Eriksson
eeb26b89ec
Prevent potential crashes.
2001-08-09 21:56:03 +00:00
David Eriksson
ece087b842
(PHP satellite_object_to_string) Added function to get IOR of object.
2001-08-09 21:55:10 +00:00
David Eriksson
114d33ae07
rewrote configuration script
2001-08-09 21:53:50 +00:00
David Eriksson
e306d079ab
Added patch for ORBit that handles "Multiple Components Profile" in an IOR.
2001-08-09 21:42:54 +00:00
Joey Smith
ca33def60b
K&R-ify the switch statments.
2001-08-09 12:41:39 +00:00
Joey Smith
f8d7307270
Commit acutal code only, will do ws on another pass.
2001-08-09 12:35:09 +00:00
Joey Smith
00418457d3
Revert patch to seperate code from whitespace changes.
2001-08-09 12:22:41 +00:00
Joey Smith
e2a2aa75b0
Restore xpath_eval() and the underlying php_xpathptr_eval().
...
It still leaks like crazy, but does not appear to crash, and
seems to work correctly.
Anyone who can possibly test this, please do.
@- Restore xpath_eval() and php_xpathptr_eval() for 4.0.7. There
@ are still some known leaks.
2001-08-09 12:15:58 +00:00
Rasmus Lerdorf
c359e40a57
More ext_skel cleanup
2001-08-09 04:47:47 +00:00
Zeev Suraski
f47962c7c0
Implement import_request_variables()
2001-08-08 20:05:37 +00:00
Wez Furlong
b00809a322
Fix probs on OpenBSD-current and RedHat 6.1
2001-08-08 20:00:09 +00:00
Zeev Suraski
5eb9495b1b
- Implement $_FORM
...
- Update phpinfo()
- Update NEWS
2001-08-08 17:16:20 +00:00
Marc Boeren
c04b317a28
Fixed a too hasty copy/paste action in the DBX_FBSQL constant check
2001-08-08 10:08:25 +00:00
Marc Boeren
a4abfc1953
Added Frank to the CREDITS for FrontBase support
...
Added dbx_fbsql.c to the Makefile.in
# Could someone please compile/test this? My Linux-box is down :(
# Win compiles just fine, I don't expext any trouble on Linux...
2001-08-08 08:48:32 +00:00
Marc Boeren
fdc3b548f5
Added extra entries for FrontBase support (Mc)
2001-08-08 08:44:41 +00:00
foobar
92ea7171c8
Changed the old skool resource stuff to use the Zend macros.
2001-08-08 02:55:07 +00:00
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