Hartmut Holzgraefe
2f59bb576d
whitespace
2001-09-17 21:59:15 +00:00
Hartmut Holzgraefe
bc631cce3e
some keyboard constants
2001-09-17 21:57:09 +00:00
Hartmut Holzgraefe
a965a1759f
some more function implementations
2001-09-17 21:54:25 +00:00
Sterling Hughes
bcb426a207
Merge in qsort changes
2001-09-17 21:02:53 +00:00
David Benson
d6cecfc213
Change duration of temporary lobs to avoid leakage of temporary lob
...
space (dbenson).
2001-09-17 20:52:31 +00:00
Hartmut Holzgraefe
0edb79a3d4
some proto fixes (not all done yet)
2001-09-17 19:55:22 +00:00
Hartmut Holzgraefe
75095ce66c
got rid of strtok and added some comments
2001-09-17 19:49:17 +00:00
Hartmut Holzgraefe
891443e15f
will now configure out functions not available in ncurses 4.2
2001-09-17 16:24:11 +00:00
Daniel Beulshausen
60812553d4
fix macros
2001-09-17 13:37:11 +00:00
Daniel Beulshausen
75aa3cfc51
fix fcntl
2001-09-17 13:21:10 +00:00
Hartmut Holzgraefe
311fe215aa
fixed a warning regarding incompatible function pointer types
2001-09-17 13:02:26 +00:00
Andy Sautins
16ef3439f4
Collection fix. getelem method now handles returning nulls
...
correctly and gives warning when accessing an index that does
not exist.
2001-09-16 21:53:58 +00:00
Sterling Hughes
97fea0931c
Make rand thread safe when ZTS is defined.
2001-09-16 20:49:57 +00:00
Sterling Hughes
96763e8372
Hopefully fix compile warnings on win32 systems
2001-09-16 17:37:19 +00:00
Andi Gutmans
11e733ce29
- Start giving the notes extension an indentation face lift but I got
...
- tried half way through :)
2001-09-16 16:23:58 +00:00
Hartmut Holzgraefe
639a36a3dd
compiles without warnings now
2001-09-16 15:18:03 +00:00
Sterling Hughes
47f3851a00
for the daft folks that think 0 is a good seed.
2001-09-16 03:50:04 +00:00
Sterling Hughes
373fc12bb1
@ Make the seed options to srand() and mt_srand() optional, if the seed is
...
@ not specified, the generate the most random seed possible. (Sterling)
Please, if anyone has any comments on the way I generate this seed, speak up!
This seems to be the most "random" seed I could come up with...
This commit is 100% backwards compatible :)
Add myself to the authors list cause of recent work on the file
2001-09-16 03:46:59 +00:00
Sterling Hughes
ca5fdbf537
fix this in a couple of other places and use estrndup() when we have the
...
string length.
2001-09-15 16:05:38 +00:00
Sterling Hughes
236bcdb514
properly grab field and value pairs, plus avoid a segfault when errmsg isn't
...
defined
2001-09-15 16:00:47 +00:00
Sergey Kartashoff
55d84825c1
A bug fixed when trying to return NULL strings.
...
Added a new example of building search frontend based on mnoGoSearch
extension.
@- A bug fixed when tryint to return NULL strings.
@ Added a new example of building search frontend based on mnoGoSearch
@ extension.
2001-09-15 12:20:37 +00:00
Rui Hirokawa
9c5580c7d4
Added support for japanese encoding to htmlentites() and htmlspecialchars(). @ Added support for japanese encoding to htmlentites() and htmlspecialchars(). (Rui)
2001-09-15 04:48:48 +00:00
Hartmut Holzgraefe
c403d6846b
more data types supported (and warn if unsupported encountered)
2001-09-13 19:52:57 +00:00
Thies C. Arntzen
e929389eeb
fix strtr() when called with two parameters. this has been broken for some time!
...
guys, when "optimizing" functions you _shoudl_ write a testcase for the
working function and make _sure_ that it works afterwards!
2001-09-13 10:48:41 +00:00
Hartmut Holzgraefe
d4bee942d6
be more flexible in finding a db++ installation
2001-09-12 19:54:46 +00:00
foobar
5275b60398
Enable chroot() only if SAPI is CGI.
2001-09-12 02:07:46 +00:00
Andy Sautins
6e4e8e94d9
oops. Used C++ style comments. Make C style
2001-09-11 23:16:32 +00:00
Andy Sautins
5abba5ee0e
Collection fix. Fix core dump when accessing an element that is
...
not in the collection.
2001-09-11 23:15:18 +00:00
Andy Sautins
23fea6461d
Handle assign/append of NULL values to collections correctly. Now
...
works consistently with how the rest of the library operates. If
the value passed in is a null string, the value is set to null
2001-09-11 21:03:58 +00:00
Sascha Schumann
919e7e9f69
revert last commit. Guys, discuss such things first, then commit. Mkay?
2001-09-11 10:16:01 +00:00
Sterling Hughes
e302d6a5e8
Add an API function for setting the session id from a session module...
...
# The SRM folks wanted/needed this
2001-09-11 10:13:44 +00:00
Sascha Schumann
fdd6f08aec
Always return something from non-void function
2001-09-11 08:55:44 +00:00
Sascha Schumann
4c69a970d3
Remove some unused variables
2001-09-11 07:52:55 +00:00
Egon Schmid
88713e4d8d
Fixed some protos. Haven't read the source code, so some protos could be wrong. bool notext=true looks very strange to me.
2001-09-11 01:03:59 +00:00
Wez Furlong
671b46a0db
Revise the xxx_export api so that exporting to files is comfortable.
2001-09-11 00:33:25 +00:00
Wez Furlong
0f835fdf28
Arrrgghh!
...
Fix munched file.
# Dunno how that happened.
2001-09-11 00:03:58 +00:00
Wez Furlong
3b8f3cc439
Added some preliminary x509 cert and csr creation/signing functions.
...
Also, some problems with CGI initialization should be eliminated.
Renamed some pkey functions to be more consistent.
# Added aliases for older names; not sure if we should keep those.
2001-09-10 23:57:10 +00:00
foobar
8f9813031e
fix build.
2001-09-10 23:34:42 +00:00
Daniel Beulshausen
1f9629d466
fix resource destruction
2001-09-10 19:28:50 +00:00
Derick Rethans
a4f9a16225
- Fix for bug #13230
2001-09-10 17:14:38 +00:00
Sascha Schumann
2ee197b4c6
Fix a problem when withval pointed to a symlink and automatic
...
detection for the java libraries failed
2001-09-10 16:59:31 +00:00
Daniel Beulshausen
87d7284e46
don't forget TSRMLS_CC when using zend_parse_parameters
2001-09-10 14:30:10 +00:00
Sascha Schumann
2bbbec107b
A round of "d'ohs" for me, please.
...
We must not stop scanning after finding a "?", because we
need the information regarding the "#".
2001-09-10 11:22:43 +00:00
Sascha Schumann
d5e22e2a29
Use proper macro to return string with unknown length
2001-09-10 11:06:15 +00:00
Harald Radi
21b9a2ca2a
removed ->is_ref check, doesn't make sense and causes bugs
2001-09-10 09:25:32 +00:00
Harald Radi
d1a2dbfd9d
IDispatchs got released if they were passed to another component
2001-09-10 09:22:40 +00:00
Stig Bakken
4d90ca0aea
* build fix
2001-09-10 07:56:23 +00:00
Sterling Hughes
2e890a36d4
Revert, this is max error size, not strlen(error)
2001-09-10 00:25:59 +00:00
Sterling Hughes
5830ffeb48
RETURN_STRING -> RETURN_STRINGL
2001-09-10 00:24:29 +00:00
Zeev Suraski
517bd3018c
Do some justice to the doc team
2001-09-09 23:37:55 +00:00
Sascha Schumann
de963ce9c6
Better fix for mark problem
2001-09-09 14:52:39 +00:00
Sascha Schumann
c86c9f52b4
Fix mark-handling
2001-09-09 14:38:12 +00:00
Derick Rethans
78747bd2df
- Don't wrap lines... this is annoying while coding.
2001-09-09 13:29:31 +00:00
Derick Rethans
61d4f7fe65
- Really fix nl2br now... it's actaulyl faster now
2001-09-09 12:55:48 +00:00
Derick Rethans
176cd90bd7
- Fix for bug 11904
...
#- This is possibly not the best solution... feel free to improve
2001-09-09 11:42:36 +00:00
Sterling Hughes
ff2bc83c08
remove ARG_COUNT(ht)
...
# Is there any reason that the set_compare_func call is passed SORT_STRING
# instead of SORT_REGULAR??
2001-09-09 11:03:31 +00:00
Sterling Hughes
6963ac4050
export the mt rand functions...
2001-09-09 10:44:12 +00:00
Sterling Hughes
b5d77099fe
have this go through php's error warning system
2001-09-09 09:58:49 +00:00
Sterling Hughes
6ee9f04f87
ws fix, MFB
2001-09-09 09:51:02 +00:00
Sterling Hughes
645a98ef99
Change DOM-XML's error reporting to E_WARNING which is more appropriate
2001-09-09 09:41:40 +00:00
Harald Radi
9a6fe9631e
com_*() functions returned an oo-resource instead of an resource id,
...
thus subsequent com_*() calls to com-returnvalues failed.
2001-09-08 20:40:56 +00:00
André Langhorst
d4b86e1c5b
fix curl build for curl >= 7.8
2001-09-08 16:51:00 +00:00
Sterling Hughes
1c3b3ad8f3
tense, tense, tense
2001-09-08 00:42:25 +00:00
Wez Furlong
3ed4cc33ac
API update: use zend_parse_parameters
2001-09-07 17:09:56 +00:00
Daniel Beulshausen
2da75a405f
build fixes
2001-09-07 13:53:28 +00:00
Daniel Beulshausen
a0acfe4375
fix def.
2001-09-07 13:35:32 +00:00
Daniel Beulshausen
0a543a9014
don't use ifx_free_result here
2001-09-07 13:29:50 +00:00
Daniel Beulshausen
da0c69d7b9
fix result freeing
...
# some of the work in (zif_)ifx_free_result should
# probably be done in the list destructor as well
2001-09-07 13:20:33 +00:00
Wez Furlong
5569abe1ee
Fix for bug #13190
2001-09-07 12:12:19 +00:00
Sterling Hughes
92390db7e6
MFB
2001-09-07 11:39:00 +00:00
Sterling Hughes
b8cf53d8a5
get rid of global mess
2001-09-07 10:29:06 +00:00
Sterling Hughes
1bc80e6048
register a list destructor
2001-09-07 10:25:26 +00:00
Derick Rethans
2e153ddae1
- Fix for bug #13052
2001-09-07 07:31:39 +00:00
foobar
c8751fc8a5
Almost missed this one..
2001-09-07 00:25:11 +00:00
foobar
e4df7dc7bf
if test -f /usr/local/lib/libexample.s?; then <-- no workie
...
if test -f /usr/local/lib/libexample.so; then <-- workie
#
# You can all point at me and laugh now.. :(
#
2001-09-07 00:24:06 +00:00
foobar
3c64473b71
Fixed bug: #13172
2001-09-06 23:10:37 +00:00
foobar
14152e7ca6
Introduce the good practise of using [] around output messages.
2001-09-06 21:05:57 +00:00
foobar
acb7d69ff7
Always quote the messages.
2001-09-06 20:55:24 +00:00
foobar
95ff1ab10f
Hope this reduces the amount of bogus bug reports when people use wrong paths..
2001-09-06 18:13:49 +00:00
Frank M. Kromann
059f1cc922
Fixing spelling
2001-09-06 16:49:17 +00:00
Dan Libby
79e6063a5e
fix various build errors. default to no xmlrpc
2001-09-06 09:36:58 +00:00
Sterling Hughes
25d4500a86
I should really learn how to spell
2001-09-06 08:56:24 +00:00
Sterling Hughes
b7ba9e007d
avoid lowercasing the string
2001-09-06 08:54:54 +00:00
Sterling Hughes
33fc6e2d5f
add missing )
2001-09-06 07:33:45 +00:00
Sterling Hughes
8a156d9a39
fix ms compile warnings
2001-09-06 06:41:16 +00:00
Dan Libby
6883b92116
adding xmlrpc extension, per Stig's request
2001-09-06 04:13:30 +00:00
Sterling Hughes
903c831be5
spaces -> tabs work cont.
2001-09-06 00:40:02 +00:00
Sterling Hughes
a4c905ff16
ws fix
2001-09-06 00:18:13 +00:00
Sterling Hughes
a1b11f0755
Fix ts build
...
# I've gotta start compiling --enable-experimental-zts... anyway we can make
# this the default when compiling from cvs? It'll help a large portion of
# compile issues with patches
2001-09-05 21:46:44 +00:00
Sterling Hughes
e121eaaef5
Straight out da bronx, I be using zend_parse_parameters()
...
# Word out to my peeps on Connor st.
2001-09-05 21:38:49 +00:00
Sterling Hughes
5ec58914fe
stray tabs and spaces
2001-09-05 21:04:30 +00:00
Sterling Hughes
f0c5631778
change range macro semantics
...
# Kinda torn between the two, thoughts?
2001-09-05 20:59:24 +00:00
Sterling Hughes
d930a72cd7
remove inline
2001-09-05 20:56:15 +00:00
Sterling Hughes
1b0f00d67f
a bit of api cleanup... move range stuff into a macro (properly :)
2001-09-05 20:52:45 +00:00
foobar
42b5521af5
revert bad commit.
2001-09-05 19:47:55 +00:00
Dan Kalowsky
24b54b866f
Patch to stop the crashing behavior exhibited by PHP/ODBC in SOLID/DB2
...
submitted by Walter Franzini (walter@sys-net.it )
@Fix for LONG_VARCHAR type crashing submitted by Walter Franzini (walter@sys-net.it )
#Should this also be put into the 4.0.7 RC cycle?
2001-09-05 16:19:48 +00:00
Jason Greene
54905782b6
Prevent incorrect warning message from occuring on an EOF of socket_read.
2001-09-05 15:30:34 +00:00
foobar
032b263129
Fixes commit / link problems with certain compilers.
...
# Please use PHP_CHECK_LIBRARY() always instead of AC_CHECK_LIB
# if you need to pass extra libs/libpaths to the test.
2001-09-05 13:18:09 +00:00
Sterling Hughes
b9edf7c17c
API Update
2001-09-05 06:55:37 +00:00
Jason Greene
9fe46a52d4
Much better fix for non forte compilers on Solaris.
...
Removed pragma hack.
Renamed socket struct to bsd_socket.
2001-09-04 22:27:30 +00:00
Frank M. Kromann
a219643b2b
Adding function to set transaction locking and isolation.
2001-09-04 21:51:11 +00:00
Rasmus Lerdorf
9a5fdae381
ok, hand-patched this one in
2001-09-04 21:50:27 +00:00
Rasmus Lerdorf
7101179c8d
Interbase extension fixes by Jeremy Bettis
...
(.dsp patch looked funky, but these ones look ok)
2001-09-04 21:47:05 +00:00
Egon Schmid
8820474d4a
Fixed some protos.
2001-09-04 21:46:27 +00:00
Egon Schmid
e7e88a25d1
Fixed some protos.
2001-09-04 21:07:17 +00:00
Egon Schmid
03fbbb098c
Fixed some protos.
2001-09-04 10:44:28 +00:00
Sterling Hughes
38cacba117
Thanks sebastian
...
# I really like this whole qa team thingy
2001-09-04 10:13:55 +00:00
Sterling Hughes
536c96969b
update php_trim as well...
2001-09-04 09:35:53 +00:00
Sterling Hughes
c661449ebf
fix crash bug
2001-09-04 09:33:30 +00:00
Andi Gutmans
17765221df
- Fix namespace collisions.
2001-09-04 07:41:20 +00:00
Sterling Hughes
0935217091
fix proto
2001-09-04 06:21:48 +00:00
Sterling Hughes
e55315a375
tabs -> spaces
2001-09-04 06:20:23 +00:00
Sterling Hughes
fe03f6f4c2
Begin cleanup, api wise...
2001-09-04 06:18:11 +00:00
Sterling Hughes
3151916113
pval -> zval
2001-09-04 06:08:42 +00:00
Daniel Beulshausen
9b8886410d
fix zts+win32 build
2001-09-04 02:19:30 +00:00
Sterling Hughes
dda004bcfb
- update to php4 api
...
- expand case statements, ie:
case 1: case 2: case 3:
to
case 1:
case 2:
case 3:
- Remove un-necessary brackets and parentheses (only when it takes away from
readability, I know this is quite arbitrary, but I did my best :)
2001-09-03 23:30:33 +00:00
Sterling Hughes
55b600d03c
fix compile on sun forte cc
2001-09-03 21:54:27 +00:00
Andi Gutmans
1ecd31b66c
- Fix thread safe mode.
...
- Please don't use Java style function braces.
2001-09-03 20:21:00 +00:00
Derick Rethans
383691eec2
- Fix broken build
...
#- Please test before commit!
2001-09-03 17:38:10 +00:00
Stanislav Malyshev
0a143cf655
Add _php_math_zvaltobase and _php_math_basetozval
...
This allows to use bindec, etc. functions to convert numbers longer
than fits in long, using floats instead.
Note: the functions like decbin still don't use the zval-ed functions,
so they work only on longs yet.
2001-09-03 16:26:31 +00:00
Jeroen van Wolffelaar
dc8386e30d
Removed outdated comment until I've got a better one
2001-09-03 12:01:50 +00:00
Jeroen van Wolffelaar
efb83df9f9
Kill some warnings/errors (reported by Sebastian, more to come, but
...
could take some time. Update of ZTS-builderrors is welcome)
2001-09-03 11:57:15 +00:00
Sterling Hughes
79c27f0cd2
should be this
2001-09-03 08:47:45 +00:00
Sterling Hughes
b417b96fb8
- Update to the PHP4 API (newer macros)
...
- Improve error reporting from split()
- Some minor speed improvements
2001-09-03 08:44:02 +00:00
Sterling Hughes
f6d73d73fb
stray tabs
2001-09-03 06:10:45 +00:00
Sterling Hughes
f14ada19ac
cleanup sscanf() just a tiny bit, just so it looks like the rest of the code
...
in the string.c file.
2001-09-03 04:49:36 +00:00
Jeroen van Wolffelaar
0cb6a31906
Fix array_rand and array_suffle to use php_rand correctly
2001-09-03 01:54:04 +00:00
Jeroen van Wolffelaar
b0300e26df
Fix prototype
2001-09-03 01:46:03 +00:00
Jeroen van Wolffelaar
72c7ae080b
Fix SIGSEGV because HAS_SRAND didn't check wether the entry existed at
...
all
2001-09-03 01:25:24 +00:00
Jeroen van Wolffelaar
1a68fe49cb
Add forgotten files to MAIN
2001-09-03 01:10:29 +00:00
Jeroen van Wolffelaar
92f1248a49
Update credits
2001-09-03 01:09:35 +00:00
Jeroen van Wolffelaar
f7306ce010
Merge RAND_REDESIGN into MAIN
2001-09-03 01:06:23 +00:00
Zeev Suraski
f7e7b42d4b
Restore session_adapt_url()
2001-08-31 20:03:09 +00:00
Zeev Suraski
b080ddb867
Cleanup and clarify
2001-08-31 19:26:12 +00:00
Zeev Suraski
642eab8b46
define_sid updates
2001-08-31 19:22:08 +00:00
Zeev Suraski
b2b50ab525
Fix trans_sid handler registration logic
2001-08-31 15:22:10 +00:00
Andrei Zmievski
392e1edee8
@- Made in_array() and search_array() allow the needle to be an array in
...
@ itself. (Andrei)
2001-08-31 04:52:10 +00:00
foobar
d340c5b2bf
@- Added ini_get_all() function which returns all registered ini entries
...
or the entries for the specified extension. (Jani)
2001-08-30 17:47:04 +00:00
foobar
67b9fb4912
KISS. And the search order must be reversed always. Last one counts.
2001-08-30 16:29:36 +00:00
foobar
5dd2b6e2fd
According to Zeev this code is just for showing how to create overloaded classes.
2001-08-29 23:53:22 +00:00
Joey Smith
a4a1543753
Fix bug #13025 .
2001-08-29 22:26:04 +00:00
foobar
08a521572f
WS fixes and indenting.
2001-08-29 16:00:30 +00:00
Wez Furlong
efdc50c175
fix build
2001-08-29 13:13:24 +00:00
Wez Furlong
e6c7f6f22c
fix bug# 13017 - patch from tsukada@fminn.nagano.nagano.jp
2001-08-29 11:29:52 +00:00
Wez Furlong
b9c4dc4a05
@- Added mailparse_uudecode_all() which extracts all uuencoded attachments
...
(Wez)
2001-08-28 21:52:11 +00:00
Rasmus Lerdorf
563ffb8984
Kill a warning
2001-08-28 21:50:37 +00:00
Wez Furlong
1164abcdab
fix uudecode
2001-08-28 21:50:29 +00:00
Wez Furlong
9a8c9439e8
fix cp1252 -> wchar conversion
2001-08-28 18:26:46 +00:00
foobar
6cc6e1e668
Coding style.
2001-08-27 22:26:49 +00:00
Chuck Hagenbuch
1c6bfcaa33
shorter protos
2001-08-27 20:05:11 +00:00