Harald Radi
e47a667cc9
integrating wez's patch
2002-05-20 15:35:57 +00:00
Wez Furlong
fc964e88d3
Added generic COM wrapper for PHP objects.
2002-05-20 01:31:48 +00:00
Harald Radi
fe84a29b3f
remove temporary resources immediately
...
return value fix
#thanks to alan for 'remote debugging'
2002-05-02 13:37:31 +00:00
Harald Radi
e72caee650
RETURN_NULL() is defined with braces while RETURN_TRUE
...
and RETURN_FALSE are defined without.
seems not very consistent ?
2002-04-29 17:20:15 +00:00
Harald Radi
667a0841f3
functions returned FALSE in case of error and the oo api returned NULL.
...
make them both behave equal (return NULL, as FALSE can be a valid value).
2002-04-29 15:50:30 +00:00
Harald Radi
a380af2247
don't set CLSCTX_REMOTE_SERVER if NULL is passed as servername
2002-04-27 10:17:46 +00:00
Alan Brown
ad9f90a223
Missing break; causes fallthrough which actually causes heap corruption in the debugging version despite being just plain wrong. Also placed a default "Unavailable" message when the object does not populate the EXCEPINFO structure. Also removed a minor memory leak.
2002-04-18 01:56:29 +00:00
Harald Radi
3a1ebd4f51
@ fixed a bug that caused php to crash in php_COM_get_ids_of_names() (Harald, Paul)
2002-03-15 20:48:26 +00:00
Sebastian Bergmann
38933514e1
Update headers.
2001-12-11 15:32:16 +00:00
Hartmut Holzgraefe
41d93ca3fd
proto fixes
2001-12-05 22:38:49 +00:00
Egon Schmid
90e15c04c9
Fixed two protos.
2001-12-02 09:29:09 +00:00
Alan Brown
8ee38d9d75
Not all components populate every field in the ExceptInfo structure. Thus we sometimes would try to convert NULL strings and see php_OLECHAR_to_char errors while displaying Exception information. This version is a little smarter about the member derefencing and the resulting error string.
2001-11-09 14:20:28 +00:00
Stig Bakken
689252082c
* zend_module_entry change: apino, debug and zts are moved first,
...
see README.EXTENSIONS file for upgrade help.
@Introduced extension version numbers (Stig)
2001-10-11 23:33:59 +00:00
Harald Radi
d1199bd2c7
fixed Z_* conversion errors
2001-09-26 22:52:17 +00:00
Frank M. Kromann
448e9d49cc
Fixing Win32 build...
2001-09-26 03:24:19 +00:00
Harald Radi
23c65b60a0
no message
2001-09-25 23:39:50 +00:00
Jeroen van Wolffelaar
c033288573
Back-substitute for Z_* macro's. If it breaks some extension (the script isn't optimal, it parses for example var->zval.value incorrect) please let me know.
2001-09-25 21:58:48 +00:00
Harald Radi
a491db4e2d
removed VARIANT module and put the VARIANT class into
...
the COM module.
also fixed a few bugs.
2001-09-24 15:56:18 +00:00
Harald Radi
d1a2dbfd9d
IDispatchs got released if they were passed to another component
2001-09-10 09:22: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
Egon Schmid
8820474d4a
Fixed some protos.
2001-09-04 21:46:27 +00:00
Harald Radi
3d0ab1236f
hum, wasn't $foo->bar 's property type OE_IS_METHOD ?
2001-08-20 08:52:49 +00:00
Harald Radi
c674638dd0
removed CoInitialize() and CoUninitialize()
2001-08-15 10:39:59 +00:00
Harald Radi
ed126f68d5
fixed com_invoke retval
2001-08-14 13:38:36 +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
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
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
Harald Radi
c4022601e2
hresult is returned if no return type is specified
2001-08-14 00:48:15 +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
Harald Radi
9c6b9eb76b
merged from EXPERIMENTAL
...
lots of cleanup work
2001-08-13 23:39:11 +00:00
Zeev Suraski
f6f6c4d7e6
Whitespace
2001-08-11 16:39:07 +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
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
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
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
Zeev Suraski
d87cc976e1
Redesigned thread safety mechanism - nua nua
2001-07-28 11:36:37 +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
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
Thies C. Arntzen
0ef0f8e32b
ZVAL_BOOL(v,0) -> ZVAL_FALSE(v)
2001-07-11 12:42:25 +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
Harald Radi
851d401e23
changed CLSIDfromProgId to CLSIDfromString
2001-06-28 21:26:20 +00:00
Harald Radi
4a29944dac
added verbose ini entry
2001-06-24 22:20:28 +00:00
Harald Radi
69abb74075
fixed bug that resource was freed twice
2001-06-24 21:10:08 +00:00
Andi Gutmans
c977f29862
- Use ALLOC_HASHTABLE() instead of emalloc(sizeof(HashTable))
2001-06-19 16:03:35 +00:00