<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/com/php_COM.h, branch php-4.4.8</title>
<subtitle>git.php.net: repository/php-src.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/'/>
<entry>
<title>Fix use of ZEND_EXTERN_MODULE_GLOBALS which mysteriously includes a</title>
<updated>2003-05-20T12:38:04+00:00</updated>
<author>
<name>Sascha Schumann</name>
<email>sas@php.net</email>
</author>
<published>2003-05-20T12:38:04+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=0f4b4c82de4cb8d663b2b566adf3c979c85e3e6d'/>
<id>0f4b4c82de4cb8d663b2b566adf3c979c85e3e6d</id>
<content type='text'>
trailing semicolon.

Also add a do {} while (0) construct in php_session.h

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
trailing semicolon.

Also add a do {} while (0) construct in php_session.h

</pre>
</div>
</content>
</entry>
<entry>
<title>Implement com_invoke_ex, which allows the user to specify the invoke kind</title>
<updated>2002-08-26T13:36:35+00:00</updated>
<author>
<name>Wez Furlong</name>
<email>wez@php.net</email>
</author>
<published>2002-08-26T13:36:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=cfb5002e0ba8f8c077c4739cd964747dc2616d1d'/>
<id>cfb5002e0ba8f8c077c4739cd964747dc2616d1d</id>
<content type='text'>
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
flags, so that custom invocations can be made.
Tidy up code for com_propget and com_propset, so that it can work with
objects as well as resources.
# This code is from a couple of months ago, and has been hanging around
# on my windows dev box; I'm not entirely sure where I needed com_invoke_ex,
# but the additions to propget and propset are useful.

</pre>
</div>
</content>
</entry>
<entry>
<title>- Make sure that COM and VARIANT resources are returned as resources</title>
<updated>2002-05-21T18:58:11+00:00</updated>
<author>
<name>Wez Furlong</name>
<email>wez@php.net</email>
</author>
<published>2002-05-21T18:58:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e04d6ca9f7b0e553b1e978b31f0325ed048d5ea2'/>
<id>e04d6ca9f7b0e553b1e978b31f0325ed048d5ea2</id>
<content type='text'>
  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:

&lt;?php

class IEEventSinker {
	var $terminated = false;

	function ProgressChange($progress, $progressmax) {
		echo "Download progress: $progress / $progressmax\n";
	}
	function DocumentComplete(&amp;$dom, $url) {
		echo "Document $url complete\n";
	}
	function OnQuit() {
		echo "Quit!\n";
		$this-&gt;terminated = true;
	}
}

$ie = new COM("InternetExplorer.Application");

$sink =&amp; new IEEventSinker();
com_event_sink($ie, $sink, "DWebBrowserEvents2");

$ie-&gt;Visible = true;
$ie-&gt;Navigate("http://www.php.net");

while(!$sink-&gt;terminated) {
	com_message_pump(4000);
}
$ie = null;
?&gt;

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  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:

&lt;?php

class IEEventSinker {
	var $terminated = false;

	function ProgressChange($progress, $progressmax) {
		echo "Download progress: $progress / $progressmax\n";
	}
	function DocumentComplete(&amp;$dom, $url) {
		echo "Document $url complete\n";
	}
	function OnQuit() {
		echo "Quit!\n";
		$this-&gt;terminated = true;
	}
}

$ie = new COM("InternetExplorer.Application");

$sink =&amp; new IEEventSinker();
com_event_sink($ie, $sink, "DWebBrowserEvents2");

$ie-&gt;Visible = true;
$ie-&gt;Navigate("http://www.php.net");

while(!$sink-&gt;terminated) {
	com_message_pump(4000);
}
$ie = null;
?&gt;

</pre>
</div>
</content>
</entry>
<entry>
<title>Added generic COM wrapper for PHP objects.</title>
<updated>2002-05-20T01:31:48+00:00</updated>
<author>
<name>Wez Furlong</name>
<email>wez@php.net</email>
</author>
<published>2002-05-20T01:31:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=fc964e88d36bc39ea51a12e5ad8496d469c0cc80'/>
<id>fc964e88d36bc39ea51a12e5ad8496d469c0cc80</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>rename module entry</title>
<updated>2001-10-17T12:50:12+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-10-17T12:50:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=d5f1b1b60f9249b86cb384defc3b8cc35982709f'/>
<id>d5f1b1b60f9249b86cb384defc3b8cc35982709f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>merged from EXPERIMENTAL</title>
<updated>2001-08-13T23:39:11+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-08-13T23:39:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=9c6b9eb76bb493f0166eb6c1661721c54d93129e'/>
<id>9c6b9eb76bb493f0166eb6c1661721c54d93129e</id>
<content type='text'>
lots of cleanup work

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
lots of cleanup work

</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid TSRMLS_FETCH()'s, and clean up a bit of stale extern's and layout on the way</title>
<updated>2001-07-30T01:56:43+00:00</updated>
<author>
<name>Zeev Suraski</name>
<email>zeev@php.net</email>
</author>
<published>2001-07-30T01:56:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=1c25b8dd532961ecb09932b182457ca0adcf8b57'/>
<id>1c25b8dd532961ecb09932b182457ca0adcf8b57</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cleanup</title>
<updated>2001-06-24T21:09:17+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-06-24T21:09:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=3949658942114d2126cd00d069fa230ba9898fd1'/>
<id>3949658942114d2126cd00d069fa230ba9898fd1</id>
<content type='text'>
added some macros

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
added some macros

</pre>
</div>
</content>
</entry>
<entry>
<title>removed itypeinfo calls because they didn't work on every machine</title>
<updated>2001-05-02T21:51:19+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-05-02T21:51:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=8dc2dbaf9b1bad044e4f9bfa0fdfb417e4e3e79f'/>
<id>8dc2dbaf9b1bad044e4f9bfa0fdfb417e4e3e79f</id>
<content type='text'>
#i'm investigating this ...

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#i'm investigating this ...

</pre>
</div>
</content>
</entry>
<entry>
<title>@Using ITypeInfo instead of IDispatch if possible. This makes DCOM calls</title>
<updated>2001-03-20T22:35:30+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-03-20T22:35:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=256d7998095c76b46dfcd9b3f555db309de37630'/>
<id>256d7998095c76b46dfcd9b3f555db309de37630</id>
<content type='text'>
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
@and even COM calls much faster.
@All ini settings are now prefixed by 'com.'.
@Now you need not provide a path to the file containing the typelib, you can
@also provide the GUID of the TypeLib - entry or an IID for preloading
@type - information. (phanto)
memory leak was reportet, i'm not sure that it is fixed by now, but it should be.

</pre>
</div>
</content>
</entry>
</feed>
