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