summaryrefslogtreecommitdiff
path: root/ext/rpc/com
Commit message (Collapse)AuthorAgeFilesLines
* moved to pecl by sascha. remove them from head.Sterling Hughes2003-06-2513-4592/+0
| | | | | | discussed with harald, will remain in pecl till he has some more time to work on it.
* updating license information in the headers.James Cox2003-06-1010-30/+30
|
* MFB ext/comHarald Radi2003-03-271-1/+1
| | | | | | fix #22899 invoke is called twice
* Eliminate TSRMLS_FETCH() calls in destroy_op_array() and zend_get_class_entry().Sebastian Bergmann2003-03-265-15/+26
|
* Fix build for activescript sapiWez Furlong2003-03-021-0/+2
|
* Fix incorrect TSRMLS_CC usage.Wez Furlong2003-02-181-1/+1
| | | | | Fix com_create_guid()
* Implement com_create_guid().Wez Furlong2003-02-182-0/+26
| | | | | | Add a special case for RETVAL_VARIANT when a variant is of type VT_DISPATCH but has a NULL dispatch pointer. This kind of variant is returned by the WindowsInstaller automation interface.
* Implement com_indexed_prop_set() which allows setting of array-like indexed ↵Wez Furlong2003-02-181-0/+73
| | | | | | | | properties on COM objects. It is expected that this function will be transient, waiting for engine-level and then rpc-level support to be implemented so that this can be integrated more completely. I'm committing this now so that others can help develop the msi installer scripts that require this feature.
* Win32 build improvementsZeev Suraski2003-02-174-0/+8
|
* A add much more useful select(2) implementation than is provided byWez Furlong2003-02-161-3/+3
| | | | | | | | | | | | | windows sockets. The winsock implementation will only work with sockets; our implementation works with sockets and file descriptors. By association, stream_select() will now operate correctly with files, pipes and sockets. This change required linking against the winsock2 library. In terms of compatibility, only older versions of windows 95 do not have winsock2 installed by default. It is available as a redistributable file, and is most likely installed by any OS patches (eg: Internet Explorer) applied by the user. Also, add a win32 compatible pipe test when opening a stream from a pipe. This test will only work on NT, win2k and XP platforms. Without this test, interleaved fread() and select() calls would cause the read buffer to be clobbered. I will be working on a fix for this issue for win9x.
* Fixed warnings.Ilia Alshanetsky2003-02-131-2/+2
|
* Added missing header needed for rpc_error().Ilia Alshanetsky2003-02-131-0/+2
|
* improved reverse lookup of ProgID based on an IDispatch pointerHarald Radi2003-02-112-41/+74
|
* fix rpc_error callWez Furlong2003-02-101-1/+1
|
* a bunch of fixesHarald Radi2003-02-105-129/+90
|
* byref really means that we want the zval...Wez Furlong2003-02-101-5/+4
|
* Implement com_describeWez Furlong2003-02-101-2/+137
|
* Error reporting clean upWez Furlong2003-02-101-7/+11
|
* Error reporting leaks and cleanupWez Furlong2003-02-102-8/+6
|
* Fix various little leaks and segfaults.Wez Furlong2003-02-093-35/+21
| | | | | | | | Fix scripts like this: $obj = new COM('Foo'); $obj2 = $obj->get_object(); $obj2->method(); // <-- would segfault here
* ZTS fixes.Ilia Alshanetsky2003-01-192-1/+5
|
* Changed php_error to php_error_docref.Ilia Alshanetsky2003-01-194-25/+25
|
* for those who prefer to have com as a shared libHarald Radi2003-01-161-0/+167
|
* make layers loadable as self-sustaining php extensionHarald Radi2003-01-163-10/+67
| | | | | which registeres itself in the rpc framework.
* false should be VT_FALSEFrank M. Kromann2003-01-131-1/+1
|
* fix buildHarald Radi2003-01-111-2/+0
|
* Bump year.Sebastian Bergmann2002-12-319-9/+9
|
* - Remove \n from error messagesDerick Rethans2002-11-101-1/+1
|
* - added a skeleton for new layersHarald Radi2002-07-192-7/+12
| | | | | - a bit cleanup
* ext/rpc/com should work now, but there's still lots of work left.Harald Radi2002-07-1811-2174/+1309
|
* merging parts of the old com extension to the new rpc extensionHarald Radi2002-07-101-11/+417
|
* add file again that andrei deleted byHarald Radi2002-07-091-0/+10
| | | | | accident (i don't want to blame anyone here)
* reflect the new abstraction changes in the demo layerHarald Radi2002-06-091-22/+39
|
* added wez and ordered names alphabeticallyHarald Radi2002-05-311-1/+1
|
* #forgot somethingHarald Radi2002-05-301-4/+4
|
* @ Added missing AddRef() calls in the COM extension. This shouldHarald Radi2002-05-304-15/+22
| | | | | | | @ fix weird behaviour (in particular with ADODB). (Harald) # waah, this suxx
* Add documentation comment for properties in com_print_typeinfoWez Furlong2002-05-211-0/+8
|
* Enhance com_print_typeinfo.Wez Furlong2002-05-211-80/+133
| | | | | | | | | | | | The main expected use is like this, for figuring out what methods are allowed for a COM object: $ie = new COM("InternetExplorer.Application"); // Prints class definition for IE object com_print_typeinfo($ie, "InternetExplorer.Application", false); // Prints class definition for default IE event handler com_print_typeinfo($ie, "InternetExplorer.Application", true);
* Correct usage of convert_to_string_ex which is not allowed to zval*Wez Furlong2002-05-211-5/+4
|
* Reformat some comments.Wez Furlong2002-05-211-28/+22
|
* Fix a flag, remove an old comment.Wez Furlong2002-05-211-2/+1
|
* - Make sure that COM and VARIANT resources are returned as resourcesWez Furlong2002-05-215-53/+552
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than longs. - Make the IDispatch implementation a bit more generic (and fix my mess of pointers). - Add new com_message_pump() function that acts like an interruptible usleep() that processes COM calls/events. - Add new com_print_typeinfo() function for "decompiling" the typeinfo for an interface into PHP script. This is useful for generating a skeleton for use as an event sink. - Add new com_event_sink() function for sinking events from COM objects. Usage is like this: <?php class IEEventSinker { var $terminated = false; function ProgressChange($progress, $progressmax) { echo "Download progress: $progress / $progressmax\n"; } function DocumentComplete(&$dom, $url) { echo "Document $url complete\n"; } function OnQuit() { echo "Quit!\n"; $this->terminated = true; } } $ie = new COM("InternetExplorer.Application"); $sink =& new IEEventSinker(); com_event_sink($ie, $sink, "DWebBrowserEvents2"); $ie->Visible = true; $ie->Navigate("http://www.php.net"); while(!$sink->terminated) { com_message_pump(4000); } $ie = null; ?>
* integrating wez's patchHarald Radi2002-05-203-20/+13
|
* Added generic COM wrapper for PHP objects.Wez Furlong2002-05-204-6/+617
|
* this should finally fix bug #14353Harald Radi2002-05-151-2/+2
|
* remove temporary resources immediatelyHarald Radi2002-05-021-17/+22
| | | | | | | return value fix #thanks to alan for 'remote debugging'
* RETURN_NULL() is defined with braces while RETURN_TRUEHarald Radi2002-04-291-11/+11
| | | | | | and RETURN_FALSE are defined without. seems not very consistent ?
* functions returned FALSE in case of error and the oo api returned NULL.Harald Radi2002-04-291-11/+11
| | | | | make them both behave equal (return NULL, as FALSE can be a valid value).
* updated TODO listHarald Radi2002-04-271-12/+13
|
* don't set CLSCTX_REMOTE_SERVER if NULL is passed as servernameHarald Radi2002-04-271-9/+4
|