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
Chuck Hagenbuch
0aca825435
add ngettext() support from Walter Franzini <walter@sys-net.it>, and use Z_*
...
macros.
2001-08-27 18:43:07 +00:00
Zeev Suraski
d7149ba8fc
Cleanup
2001-08-27 02:06:32 +00:00
Zeev Suraski
b781720b36
More fixes and refinements
2001-08-27 00:23:55 +00:00
Hartmut Holzgraefe
05af99cd35
whitespace
2001-08-26 14:26:36 +00:00
Hartmut Holzgraefe
739716883b
removed dbplus_change function
...
moved db++ specific includes to .c files
2001-08-26 14:25:48 +00:00
Hartmut Holzgraefe
521084f661
implementation of missing functionality
...
implementation and build improvements
2001-08-26 14:24:34 +00:00
Hartmut Holzgraefe
b693782c36
removed as all functions from the perl interface have now been implemented
2001-08-26 14:20:51 +00:00
Hartmut Holzgraefe
c7b55925a1
added symbolic constatns for error codes
...
removed dbplus_change function
some build improvements
2001-08-26 14:19:47 +00:00
Hartmut Holzgraefe
b073c312b3
added -lm to LIBS, whitespae
2001-08-26 14:15:39 +00:00
Hartmut Holzgraefe
57d971d2ef
whitespace
2001-08-26 14:12:27 +00:00
Zeev Suraski
d697a558ac
Fix my session updates.
...
trans_sid handling will no longer slow down performance unless a session
is actually in use.
2001-08-26 11:49:43 +00:00
Joey Smith
5d451c9885
Fix 1st case of #9893 . 2nd case was already fixed in previous commit.
2001-08-26 11:36:27 +00:00
Zeev Suraski
dc9769ea96
Fix trans-sid.
...
Still need to figure out how to turn trans-sid only when sessions
are actually used.
2001-08-26 11:14:35 +00:00
Rasmus Lerdorf
70c581b820
Test your changes please Jani
2001-08-26 01:10:10 +00:00
Zeev Suraski
7b73aee40f
Make the session module more independent
2001-08-26 01:09:20 +00:00
Zeev Suraski
d5e5e376ab
This option is no longer needed
2001-08-25 16:19:57 +00:00
Zeev Suraski
b8763a6f8c
Get rid of TRANS_SID - it's always possible to use it now.
2001-08-25 16:09:23 +00:00
Zeev Suraski
13ff183225
Move the trans-sid mechanism to use the output buffering mechanism.
...
Advantages:
- Would work with the output buffering mechanism in general, and with
output compression in particular
- Should yield better performance (untested as of yet)
2001-08-25 15:57:42 +00:00
Zeev Suraski
bc596544a1
add struct name
2001-08-25 12:47:12 +00:00
Wez Furlong
2121989d4d
This test needed a newline after an echo.
...
# However, the test still fails on my system
2001-08-25 09:23:10 +00:00
Wez Furlong
cda7f49324
Windows-1252 encoding awareness
2001-08-25 09:21:43 +00:00
foobar
f03a871d93
Fixed bug: #12948 , #12945
2001-08-24 20:05:58 +00:00
Wez Furlong
9e7da02d3b
Fix htmlspecialchars problem.
2001-08-24 08:58:10 +00:00
Andrei Zmievski
cae9763d0a
@- Fixed a crash bug in array_map() if the input arrays had string or
...
@ non-sequential keys. Also modified it so that if a single array is passed,
@ its keys are preserved in the resulting array. (Andrei)
2001-08-24 02:58:23 +00:00
Sterling Hughes
36412eb5de
proto fix
2001-08-24 02:24:03 +00:00
John Donagher
faa5031f25
Don't try and search a 0-length string. This allows parse_url() to correctly
...
parse a non-pathed URI, i.e. 'scheme://'
2001-08-24 02:21:16 +00:00
Sterling Hughes
bd4eb1bf78
noet
2001-08-24 01:23:14 +00:00
Sterling Hughes
580d41b3af
Break the entire PHP build
...
# just kidding, noet work :)
2001-08-24 01:21:14 +00:00
Sterling Hughes
dd094d1866
noet
2001-08-24 01:12:37 +00:00
Sterling Hughes
ca5eb34608
New extensions should put this in by default
2001-08-24 01:09:10 +00:00
Sterling Hughes
398b65ed2f
noet
2001-08-23 21:56:29 +00:00
Sterling Hughes
0fabddb745
some cleanup
2001-08-23 21:22:38 +00:00
Zeev Suraski
55c5c68769
whitespace
2001-08-23 14:24:13 +00:00
Wez Furlong
f20e9fa298
- Add support for chinese encodings to htmlentities/htmlspecialchars
...
(patch from Alan Knowles <alan_k@hklc.com>)
2001-08-23 10:43:15 +00:00
Jeroen van Wolffelaar
3e62bd0867
Reverted the patch to main branch - should have branched whole
...
ext/standard...
2001-08-22 22:14:08 +00:00
Jeroen van Wolffelaar
43c2bc364f
Commit forgotten fix in crypt.c, oversight of a BC-problem
2001-08-22 22:11:57 +00:00
foobar
8ade27507a
killed a compile warning.
2001-08-22 17:39:16 +00:00
foobar
93311d9301
Fixed two problems:
...
- CGI_BINARY was defined always thus this extension
could be compiled with even when not building CGI binary.
- HAVE_READLINE => HAVE_LIBREADLINE (typo)
2001-08-22 10:25:24 +00:00
foobar
1f30f907b9
More compile warnings nuked.
2001-08-22 09:20:40 +00:00
foobar
b78f77575b
indent.
2001-08-22 08:43:52 +00:00
foobar
5296d29b59
Killed a compile warning.
2001-08-22 08:34:04 +00:00
Gavin Sherry
bd4150ed80
Fixed buffer overflow issue.
2001-08-22 05:47:11 +00:00
Gavin Sherry
ff7a694e0f
Changed php_strip_tags() to check if <? was XML code.
2001-08-22 02:03:14 +00:00
Stig Bakken
3b4f80a035
* added two missing end folds
2001-08-22 00:09:27 +00:00
Joey Smith
1c10503029
Hmmm...not sure what this was trying to do. stat() was acting like filesize().
2001-08-21 23:58:19 +00:00
Joey Smith
f0ea3478cb
Some changes to help out previous users of domxml...
...
node::tagname == node::name.
Add property "type" to textnode types.
2001-08-21 21:49:32 +00:00
Sterling Hughes
f9d913537b
Fix typo
2001-08-21 17:58:37 +00:00
Ulf Wendel
1ffed2e53f
Added two new functions:
...
int pdf_get_minorversion()
int pdf_get_majorversion()
Both functions are taken from the C-Library. You should be able to determine
the API version of the extension/library using pdf_get_value() or
pdf_get_parameter() but these functions need a pdf object to work on. This
means that you have to create an pdf object before you can find out the
API version. Using pdf_get_minorversion() and pdf_get_majorversion() there's
no need for this.
2001-08-21 13:33:16 +00:00
Zeev Suraski
e140b35b04
API update
2001-08-21 12:57:53 +00:00
Sascha Schumann
95347cd868
Further work on autoconf-2.5x support
2001-08-21 11:45:33 +00:00
Sascha Schumann
8ab1c2aa44
nuke some apparently harmful spaces
2001-08-21 11:02:42 +00:00
Sterling Hughes
ee1eaf9fbb
Update api and fix some compile warnings
2001-08-21 09:04:18 +00:00
Jeroen van Wolffelaar
d14b3a86cf
Proto fix
2001-08-20 20:50:54 +00:00
Sascha Schumann
01672af8f0
Improved fix
2001-08-20 15:27:45 +00:00
Stanislav Malyshev
902100a692
Fix long printing in smart_str_print_long
2001-08-20 15:26:10 +00:00
Stanislav Malyshev
8fd65b9f16
test big numbers too
2001-08-20 14:15:05 +00:00
foobar
abeb4bd2e5
Cleaning. And made the check for SSL support in SNMP to really work.
2001-08-20 14:04:48 +00:00
Harald Radi
acf13f82c1
catch date conversion errors
2001-08-20 08:53:18 +00:00
Harald Radi
3d0ab1236f
hum, wasn't $foo->bar 's property type OE_IS_METHOD ?
2001-08-20 08:52:49 +00:00
Sergey Kartashoff
c9aa94fc6f
# just an author's promary email change in headers
2001-08-20 08:31:30 +00:00
Dave Hayden
22aed399e7
Added flags for SWFDisplayItem_addAction
...
Added Ming RINIT function
Added error handler for reporting Ming errors in PHP environment
Added size arg to drawGlyph function
Added swfdisplayitem_addAction function
Added ming_useSWFVersion function for selecting SWF 4 compatibility
Added SWFBitmap object
Added hacky SWFInput object for loading data from file/network/process
2001-08-20 03:32:43 +00:00
Dave Hayden
91997ed31c
changed version check to look for function Ming_useSWFVersion, indicating
...
Ming 0.2a
2001-08-20 03:24:14 +00:00
Dave Hayden
e0f91d3c48
added function prototypes:
...
PHP_RINIT_FUNCTION(ming)
PHP_FUNCTION(swfdisplayitem_addAction)
PHP_FUNCTION(ming_useSWFVersion)
2001-08-20 03:23:26 +00:00
Shane Caraveo
b87aa1f67b
Fixes for non-TS compilation
2001-08-19 22:02:46 +00:00
foobar
fd4de85836
Added some missing information.
2001-08-19 06:39:13 +00:00
foobar
e5bd800aeb
Fixed bug: #11232 . Now we require Fribidi 0.9.0.
...
# Better use the latest version for this one too since
# it seems to have stabilized and they made an internal
# rewrite for that one.
2001-08-19 06:37:05 +00:00
foobar
7e34d46573
ws fix.
2001-08-19 01:47:19 +00:00
foobar
d7d89bcf68
ws
2001-08-19 00:05:06 +00:00
foobar
c902ad74f0
null terminate the returned string in here too.
2001-08-18 23:43:04 +00:00
foobar
1ffbcc5ecf
ws fix.
2001-08-18 23:07:10 +00:00
foobar
a000bdd93e
libxml 2.4.2 is required now.
2001-08-18 21:08:52 +00:00
Zeev Suraski
b8624e7e08
Fix bugs #7301 , #6827
2001-08-18 16:56:34 +00:00
foobar
d3aff0f6ee
make this test work.
2001-08-18 16:47:02 +00:00
Sterling Hughes
807b49aa2f
K&R format changes
2001-08-18 08:43:47 +00:00
Marc Boeren
48d6d5e531
whitespace, braces, coding style (Mc)
2001-08-17 13:56:29 +00:00
Andi Gutmans
e245e33f1f
- Use the same coding standards for pointers as the rest of PHP.
...
- For example, char ** foo should be char **foo
2001-08-17 13:00:46 +00:00
Marc Boeren
9a22911392
Added preliminary support framework for Oracle 8. (Mc)
...
Thies C. Arntzen will look into this to actually make it work,
as I don't have Oracle installed here. As I said, it is only a
framework for Oracle, and it will most likely crash if you
actually try to use the oracle functions before Thies (or
anyone else that wants to, of course) has had a chance to look
at it.
# The other databases will continue to work, of course :)
2001-08-17 12:54:24 +00:00
Sterling Hughes
03724a70e9
Z_*_P{0,2} macro work.
2001-08-17 09:10:49 +00:00
Sterling Hughes
c53f80fb23
1) update to the ZEND_NUM_ARGS() and Z_*_P{0,2} macros
...
2) minor ws improvements, removing unecessary error checking logic, and
making the error messages a bit nicer looking
2001-08-17 09:08:03 +00:00
foobar
8f6394365c
Look for iconv library also in $ICONV_DIR.
2001-08-17 08:33:49 +00:00
Harald Radi
feff3512f4
fixed a buggy cast
2001-08-17 08:17:13 +00:00
Sterling Hughes
06aa7a4d19
Cleanup of var_dump() with correct macro's, k&r indent, and removal of a
...
pair of unnecessary { }
2001-08-17 07:50:15 +00:00
Sterling Hughes
844788a4b8
pval -> zval
...
Z_*_P{0,2} macros
easier way of doing urldecode(), from rawurldecode() (a tad faster too).
2001-08-17 07:41:20 +00:00
Sterling Hughes
591aba3c89
ws fix.
2001-08-17 07:07:34 +00:00
foobar
85255d9ee5
HAVE_LIBICONV was never defined.
2001-08-17 06:54:55 +00:00
Sterling Hughes
6bc04c0858
Clean up the function for the Zend API (php3, early php4 relics removed).
...
Use PF_INET, instead of AF_INET, if present.
remove some code enclosed in #if 0 ... #endif that made no sense
2001-08-17 06:53:26 +00:00
Joey Smith
c8b294afa3
@- Fix a crash in dbase_replace_record (Patch by robin.marlow@dps-int.com).
...
This fixes Bug id #11928 .
2001-08-16 23:44:10 +00:00
Zeev Suraski
e9da242ed4
Send Content-Length if we're sending just one chunk
2001-08-16 23:34:25 +00:00
Rasmus Lerdorf
b732d8da35
Missing define
2001-08-16 23:31:54 +00:00
Zeev Suraski
ef18947e5a
sync with CODING_STANDARDS
2001-08-16 20:57:55 +00:00
Chuck Hagenbuch
c1a8854993
add tail pointer to speed up imap_search (submitted by Rob Siemborski
...
<rjs3@andrew.cmu.edu>).
2001-08-16 20:13:27 +00:00
Rasmus Lerdorf
2b4c2a2ff5
Commit a bit of random plane hacking.
...
- A slight exif fix from the latest version of jhead
- Make ext_skel's confirm_module_compiled function consistent
2001-08-16 00:16:00 +00:00
Zeev Suraski
2d8ca548e2
Fix build
2001-08-15 22:49:15 +00:00
foobar
3cc6655f3a
Add the build time too. Bug: #12774
2001-08-15 22:37:31 +00:00
Jeroen van Wolffelaar
2b6bafb269
Remove cbrt also, and mark logm1 and exp1p as expermintal
2001-08-15 19:08:59 +00:00
Jeroen van Wolffelaar
d62fbbd5a8
MF407
2001-08-15 19:01:32 +00:00
Daniel Beulshausen
0a6878cc02
accomodate SAPI_API changes
2001-08-15 18:11:40 +00:00
Thies C. Arntzen
04c3f8403f
mega patch to avoid recursive oci-calls as they might break oracle!
...
php will simply exit() (!!!) once it encounters an attemp to call oracle
while still in an oracle-call. this can only happen when the script gets
interrupted (timeout, apache-restart) and php tries to run the cleanups even
though we are in an unclean state. i will add an -ini flag soon (not before
4.0.7) which will (optional) make php not run the cleanups when in an unclean
state!
2001-08-15 16:00:56 +00:00
Harald Radi
c674638dd0
removed CoInitialize() and CoUninitialize()
2001-08-15 10:39:59 +00:00
Sterling Hughes
8300abe367
Removed select(), fd_set(), etc. (wasn't present in the first place, and
...
these are implemented in the sockwasn't present in the first place, and
these are implemented in the sockets extension))
2001-08-15 05:21:43 +00:00
Andrei Zmievski
e0c3120a11
Uh-oh, didn't mean to eliminate all folds.
2001-08-14 20:38:56 +00:00
Andrei Zmievski
90cc710351
Be more safe about freeing zvals.
2001-08-14 20:33:19 +00:00
John Donagher
02b431b6d5
Add compile-time versioning for default hostname
2001-08-14 20:28:07 +00:00
Daniel Beulshausen
48d75026ad
depreciated, but should build anyway...
2001-08-14 17:46:19 +00:00
Andi Gutmans
4580df1080
- This code looks OK so remove FIXME comment
2001-08-14 17:43:39 +00:00
Harald Radi
ed126f68d5
fixed com_invoke retval
2001-08-14 13:38:36 +00:00
Andrei Zmievski
4e89fa671e
I'm sure you meant 'l' here, Sterling.
2001-08-14 13:01:11 +00:00
Zeev Suraski
eb52f75407
- Avoid using malloc()
...
- Improve and fix leaks in the typelib constants registration mechanism
2001-08-14 12:47:09 +00:00
Harald Radi
0fbbadbd2f
fixed bug in com_load_typelib
2001-08-14 11:50:16 +00:00
foobar
80277be8e3
@- Fixed a bug in dbase_get_record() and dbase_get_record_with_names().
...
@ boolean fields are now returned correctly.
@ Patch by Lawrence E. Widman <widman@cardiothink.com> (Jani)
2001-08-14 11:07:18 +00:00
Zeev Suraski
b3e96d34f3
Whitespace
2001-08-14 10:53:42 +00:00
Zeev Suraski
17a36fb659
more whitespace
2001-08-14 10:15:43 +00:00
Zeev Suraski
cf5bf23b32
Whitespace & API updates
2001-08-14 10:13:35 +00:00
Zeev Suraski
4b3dea31e6
Whitespace and API updates (please keep code in the repository in K&R style
...
like the CODING_STANDARDS ask, guys...)
2001-08-14 10:04:59 +00:00
Zeev Suraski
f09302da07
Add missing break
2001-08-14 09:55:22 +00:00
foobar
601b4727b6
If the header file is not found, bail out.
2001-08-14 08:53:48 +00:00
Joey Smith
862472efdc
Obviously not complete, but somewhere to start.
2001-08-14 08:28:34 +00:00
Joey Smith
df7967729e
Kill some duplicate PHP_FALIAS()'s.
...
Many of these were commented out, but I killed them anyways just to be
consistent.
2001-08-14 08:23:22 +00:00
Joey Smith
14f05c17dd
Group PHP_FE and PHP_FALIAS with their own kind.
2001-08-14 07:49:28 +00:00
Joey Smith
a26110de2c
Fix my own ws errors.
2001-08-14 07:44:21 +00:00
Joey Smith
b79868c28c
Register le_domxmltextp.
2001-08-14 07:37:14 +00:00
Joey Smith
109f414557
Don't hammer the resource type right off the bat.
2001-08-14 07:36:18 +00:00
Joey Smith
e3d6fc72e5
Trim ws only lines.
2001-08-14 07:34:20 +00:00
foobar
a870fd2757
ws fix. Also added some missing protos and fold tags.
2001-08-14 07:14:23 +00:00
foobar
2983993b59
Fix ZTS build.
2001-08-14 07:09:20 +00:00
foobar
442669055b
Another TSRMLS_FETCH() nuke.
2001-08-14 05:44:33 +00:00
Alan Brown
292d27bf6a
Whenever typelibrary constants were loaded, there was a GP Fault at process exit as shutdown_memory_manager seemed to delete constants that were supposed to have been deleted earlier. It seems as though CONST_PERSISTENT is a bad thing to use. Resetting that bit on the constant creation still seems to work and the GP Fault at exit is gone.
2001-08-14 03:52:32 +00:00
Joey Smith
5e21a4afad
More Z_* macro changes.
2001-08-14 01:07:42 +00:00
Harald Radi
c4022601e2
hresult is returned if no return type is specified
2001-08-14 00:48:15 +00:00
Harald Radi
44ee05ae23
update todo
2001-08-14 00:29:51 +00:00
Harald Radi
d041982a9c
make next() return a single value instead of an array with one element
2001-08-14 00:28:54 +00:00
Joey Smith
022626a8f0
Remove unused variable and fix small mental error.
2001-08-14 00:10:39 +00:00
Harald Radi
9c6b9eb76b
merged from EXPERIMENTAL
...
lots of cleanup work
2001-08-13 23:39:11 +00:00
Harald Radi
bb0858db34
initial
2001-08-13 23:30:16 +00:00
Jeroen van Wolffelaar
d1881c8e26
Reverted - Didn't yet read Torben's mail - Sorry!
2001-08-13 22:34:02 +00:00
Jeroen van Wolffelaar
6be14623c5
Fixed proto's
2001-08-13 22:30:55 +00:00
Sterling Hughes
a24e3174a0
remove "i"
2001-08-13 22:01:39 +00:00
Joey Smith
2f485a1848
More WS.
2001-08-13 19:58:07 +00:00
Joey Smith
7094200c96
WS only
2001-08-13 19:45:26 +00:00
Rasmus Lerdorf
6a62f0bd4a
Add TSRMLS_CC
2001-08-13 19:36:43 +00:00
Zeev Suraski
0116a7b911
Fix crashes in parse_parameters calls
...
HEADS UP: Make sure you supply TSRMLS_CC for this function!
I'll try to think of a way that'd allow us to find this issue using
the compiler.
2001-08-13 19:31:18 +00:00
Andi Gutmans
ad18bd07f1
- More Engine 2 work.
2001-08-13 18:47:52 +00:00
Andi Gutmans
a5afd0e9d0
- ZE2 fixes
2001-08-13 16:40:12 +00:00
Andi Gutmans
9a3d4e736c
- More ZE2 fixes
2001-08-13 16:13:25 +00:00
Andi Gutmans
0c0999352f
- Attempt at fixing the Java extension for ZE2
2001-08-13 16:02:45 +00:00
Rasmus Lerdorf
d4a6487e8c
Faster wrong_param check for functions that take no parameters
2001-08-13 08:15:12 +00:00
Joey Smith
fc487f4603
Change to Z_* macros.
2001-08-13 08:08:18 +00:00
Rasmus Lerdorf
4d11d90880
Track down a few more functions that don't check for 0 args and use
...
faster mechanism
2001-08-13 07:55:39 +00:00
Rasmus Lerdorf
5b2227ea80
Oops, a little too much simplification there.. ;)
2001-08-13 07:28:57 +00:00
Rasmus Lerdorf
8c497f05c4
We don't consistently check for args passed to functions that don't
...
take any args. In some cases we probably want to skip the check for
performance reasons, but in other cases where performance is unlikely
to be a factor, not throwing a warning on the wrong number of args passed
to a function is at best inconsistent, and at worst it could hide a bug.
So, add a few such checks. There are still lots of cases out there.
2001-08-13 06:43:47 +00:00
Sterling Hughes
3f505f8624
ws
2001-08-13 05:51:06 +00:00
Sterling Hughes
e9cdaccc51
Whitespace fixes and moving to zend_parse_parameters()
2001-08-13 05:44:37 +00:00
Zeev Suraski
49e45baf9b
- Fix API
...
- Update NEWS
2001-08-13 00:32:04 +00:00
Zeev Suraski
35de326b0e
Compile fix for oldie Linux systems (possibly others too)
2001-08-12 21:23:15 +00:00
Sebastian Bergmann
fd5eea8b96
Fix warning.
2001-08-12 18:57:35 +00:00
Thies C. Arntzen
d5b1a7f440
tags need to be UTF8-decoded as well.
...
guys, case_folding can only work when the parser target encoding equal (or
compatible) with the locale setting of the system as we use toupper to "do it"
2001-08-12 18:44:42 +00:00
David Eriksson
4fee32fac9
adjusted Satellite for Zend 2
2001-08-12 09:48:07 +00:00
David Eriksson
224600786c
changed IOR values
2001-08-12 09:47:37 +00:00
David Eriksson
4e998ed80a
wrote some tests for satellite
2001-08-12 09:23:19 +00:00
Andi Gutmans
ff39e51fdf
- Make com work with new object model
2001-08-12 04:31:14 +00:00
Andrei Zmievski
1388a3a396
Save spec_opt for each function.
2001-08-12 03:46:25 +00:00
Andrei Zmievski
75da34e8aa
Fix it up a bit.
2001-08-12 02:45:41 +00:00
Rasmus Lerdorf
ecc2fae542
Oops, missing () there
2001-08-12 00:14:48 +00:00
Joey Smith
2aca8c67ea
Let domxml compile with ZendEngine2.
2001-08-11 20:44:30 +00:00
Andi Gutmans
d80ee070f9
- Make odbc_fetch_object() work with Engine 2
2001-08-11 18:28:31 +00:00
Andi Gutmans
ed9c36c1b8
- Make mysql_fetch_object() work w/ Engine 2
2001-08-11 18:27:48 +00:00
Zeev Suraski
c0404f4631
Whitespace
2001-08-11 17:03:37 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +00:00
Thies C. Arntzen
8b480b8c09
make sybase compile with engine2
2001-08-11 12:02:20 +00:00
Thies C. Arntzen
384c86542a
beautify
2001-08-11 10:52:52 +00:00