Hartmut Holzgraefe
eeb172b29f
"The Visa to Sibiria" (work in progress)
Adding a package.xml to a bundled extension does not only
ease the transition to PECL whereever suitable but also
allows to build and install an extension as "shared" using
the PEAR installer without having to deal with phpize and
friends by hand
22 years ago
Wez Furlong
27d7cd8594
update for read handler api change
22 years ago
Ilia Alshanetsky
d0a4801579
s/emalloc/safe_emalloc/ where appropriate.
22 years ago
Marcus Boerger
7dd5b1f126
Rename hasMore() to valid() as discussed. (Part V)
22 years ago
Zeev Suraski
7c710a9f9b
Use zval_ptr_dtor() to free variables as soon as they hit refcount of 0.
Note: You should not be using ZVAL_DELREF() in day to day usage. Instead,
you should use zval_ptr_dtor(). Use ZVAL_DELREF() only if you're
messing with the refcount directly and know what you're doing.
Note #2 : For clarity, if you want to initialize a new zval with a refcount
of 0, it's best to do that directly, instead of using ZVAL_DELREF
after allocating the zval...
22 years ago
Zeev Suraski
f041e73a67
Fix prototype/warning
22 years ago
Wez Furlong
08ed2cb9f7
fix copy-n-past error in constructor.
Spotted by Eric Colinet.
22 years ago
Zeev Suraski
30171a7590
zend_default_classes.h -> zend_exceptions.h
22 years ago
Zeev Suraski
2a9e1294bc
Update to new API
22 years ago
Zeev Suraski
8424be849f
- Update with new destructor code
22 years ago
Wez Furlong
42110742b7
update todo part of readme
22 years ago
foobar
f4983c0d3f
- Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5
22 years ago
Wez Furlong
c205153a0a
reinstate this ifdef for people without .Net SDK
22 years ago
Wez Furlong
bba1ded0b2
Fix refcount on these return values to avoid a leak and allow object dtor's to be called.
This in turn prevents a massive slow-down in CoUninitialize which would have to
forcibly destroy the COM objects in request shutdown.
22 years ago
Wez Furlong
4573a562a3
Fix leaking constructors.
Implement a cache for method signatures and DISPID's to
greatly improve performance when repeatedly accessing
members with the same names.
22 years ago
Wez Furlong
b7d0b397bc
Support automatic handling of byref parameters
22 years ago
foobar
ccfc46b0aa
- Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
23 years ago
Andi Gutmans
dbeb4158d2
- A belated happy holidays and PHP 5
23 years ago
Wez Furlong
e10c206dac
Port other major parts of PHP 4 COM extension into PHP 5 com_dotnet
extension.
This enables:
- iteration of SafeArray types via foreach()
- proxying of multi-dimensional SafeArray types so that multi-dimension
array accesses work (untested!)
- Fix COM exceptions, and expose them as their own class of exception
"com_exception"
- auto typelib file import (com.typelib_file ini option)
- event sinking
- wrapper to map PHP objects to COM
- fix mapping of variant values to PHP values
# Could someone please add com_saproxy.c and com_wrapper.c to the .dsp
# file?
23 years ago
Wez Furlong
6fd8bd2367
Explicitly depend on oleaut32.lib
23 years ago
Wez Furlong
09907c6b93
Fix use of the CorRuntimeHost; once it has been stopped for a process, it cannot be restarted, so we keep it alive for the duration of the process, and instead close down the application domain in
request shutdown.
23 years ago
Ilia Alshanetsky
1393ad9a35
Kill unused variables.
23 years ago
Wez Furlong
59823eca66
com_create_guid() returns...
23 years ago
Wez Furlong
98f1021dd8
Make these tests work under win32
23 years ago
Wez Furlong
24e54d43e6
check for .net headers
23 years ago
Wez Furlong
2d0eaa3989
Clarify a little.
23 years ago
Wez Furlong
05b9b20ed8
Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
23 years ago
Wez Furlong
cab6d93bdd
Fix #25664 - COM crashes when calling a Delphi implementations of ITypeInfo.
Problem was that our extension assumes that the first param to ITypeInfo::Invoke was a reference to the COM object; this is not necessarily true and caused a crash in this instance.
Problem solved by removing the ITypeInfo::Invoke call, as it doesn't buy us anything anyway.
23 years ago
Wez Furlong
440c4d983f
fix memleak
23 years ago
Wez Furlong
6c0584d8f1
fix win32 build - thanks Sebastian.
23 years ago
Wez Furlong
0577d9310b
bah. does it really make any difference where rewind lives in the struct!?
23 years ago
Wez Furlong
398f032203
fix cruft from previous incarnation of the iterators
23 years ago
Wez Furlong
d8d1ca3f3b
add com iterator support
23 years ago
Wez Furlong
f27387c68c
Fix possible segfault (this one came up when a method could not be found).
Add a couple of headers used by another file that is not yet ready to
commit.
23 years ago
Wez Furlong
18bfcc8897
A much better fix for moniker based COM object creation.
We now support binding monikers to remote machines.
However, MSDN docs indicate that this isn't yet implemented
as of Win2000.
23 years ago
Zeev Suraski
2cc9511cc7
Fix cast callbacks
23 years ago
Wez Furlong
a1b5c341a2
potential fix for #25759 , although it will need further review.
23 years ago
Zeev Suraski
c6c240a455
Sync with new API
23 years ago
Zeev Suraski
e404e1d0fe
Fix leak - non persistent hashes cannot be used in MINIT!
23 years ago
Ilia Alshanetsky
741014089e
emalloc -> safe_emalloc
23 years ago
Wez Furlong
cb7f8881ea
add credits
23 years ago
Wez Furlong
61313924a4
fix .net build
23 years ago
Wez Furlong
6df5d5ba20
Add new COM (and .Net) extension for php5.
Not yet complete, but should work for most people.
23 years ago