Commit Graph
43 Commits
Author SHA1 Message Date
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
2004-03-23 19:46:10 +00:00
Wez Furlong 27d7cd8594 update for read handler api change 2004-03-22 22:47:05 +00:00
Ilia Alshanetsky d0a4801579 s/emalloc/safe_emalloc/ where appropriate. 2004-03-18 02:16:35 +00:00
Marcus Boerger 7dd5b1f126 Rename hasMore() to valid() as discussed. (Part V) 2004-03-08 21:17:39 +00:00
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...
2004-02-15 12:58:19 +00:00
Zeev Suraski f041e73a67 Fix prototype/warning 2004-02-12 13:53:51 +00:00
Wez Furlong 08ed2cb9f7 fix copy-n-past error in constructor.
Spotted by Eric Colinet.
2004-02-12 12:11:21 +00:00
Zeev Suraski 30171a7590 zend_default_classes.h -> zend_exceptions.h 2004-02-12 10:43:27 +00:00
Zeev Suraski 2a9e1294bc Update to new API 2004-02-08 17:25:54 +00:00
Zeev Suraski 8424be849f - Update with new destructor code 2004-02-04 11:14:47 +00:00
Wez Furlong 42110742b7 update todo part of readme 2004-01-20 11:01:16 +00:00
foobar f4983c0d3f - Renamed all *php4* files to *php5*, changed all php4/PHP4 to php5/PHP5 2004-01-17 13:00:38 +00:00
Wez Furlong c205153a0a reinstate this ifdef for people without .Net SDK 2004-01-13 16:05:38 +00:00
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.
2004-01-13 16:02:56 +00:00
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.
2004-01-13 13:38:11 +00:00
Wez Furlong b7d0b397bc Support automatic handling of byref parameters 2004-01-13 00:40:14 +00:00
foobar ccfc46b0aa - Happy new year and PHP 5 for rest of the files too..
# Should the LICENSE and Zend/LICENSE dates be updated too?
2004-01-08 17:33:29 +00:00
Andi Gutmans dbeb4158d2 - A belated happy holidays and PHP 5 2004-01-08 08:18:22 +00:00
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?
2004-01-07 21:00:07 +00:00
Wez Furlong 6fd8bd2367 Explicitly depend on oleaut32.lib 2003-12-19 12:52:08 +00:00
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.
2003-12-18 11:23:21 +00:00
Ilia Alshanetsky 1393ad9a35 Kill unused variables. 2003-12-09 01:54:56 +00:00
Wez Furlong 59823eca66 com_create_guid() returns... 2003-12-06 17:31:40 +00:00
Wez Furlong 98f1021dd8 Make these tests work under win32 2003-12-05 13:42:04 +00:00
Wez Furlong 24e54d43e6 check for .net headers 2003-12-05 02:58:31 +00:00
Wez Furlong 2d0eaa3989 Clarify a little. 2003-12-03 00:15:10 +00:00
Wez Furlong 05b9b20ed8 Add new (optional!) win32 build infrastructure.
Will follow up to internals@ shortly.
2003-12-02 23:17:04 +00:00
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.
2003-11-28 17:11:16 +00:00
Wez Furlong 440c4d983f fix memleak 2003-11-28 15:41:45 +00:00
Wez Furlong 6c0584d8f1 fix win32 build - thanks Sebastian. 2003-11-27 17:58:58 +00:00
Wez Furlong 0577d9310b bah. does it really make any difference where rewind lives in the struct!? 2003-10-18 15:56:16 +00:00
Wez Furlong 398f032203 fix cruft from previous incarnation of the iterators 2003-10-17 21:03:01 +00:00
Wez Furlong d8d1ca3f3b add com iterator support 2003-10-17 20:52:18 +00:00
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.
2003-10-13 01:29:39 +00:00
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.
2003-10-07 18:50:07 +00:00
Zeev Suraski 2cc9511cc7 Fix cast callbacks 2003-10-07 15:47:25 +00:00
Wez Furlong a1b5c341a2 potential fix for #25759, although it will need further review. 2003-10-06 15:10:38 +00:00
Zeev Suraski c6c240a455 Sync with new API 2003-10-05 08:08:49 +00:00
Zeev Suraski e404e1d0fe Fix leak - non persistent hashes cannot be used in MINIT! 2003-08-18 20:45:00 +00:00
Ilia Alshanetsky 741014089e emalloc -> safe_emalloc 2003-08-18 04:41:48 +00:00
Wez Furlong cb7f8881ea add credits 2003-08-14 20:48:06 +00:00
Wez Furlong 61313924a4 fix .net build 2003-08-14 20:31:38 +00:00
Wez Furlong 6df5d5ba20 Add new COM (and .Net) extension for php5.
Not yet complete, but should work for most people.
2003-08-14 16:49:56 +00:00