<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/php-git.git/ext/com/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 memleak and wrong refcounting</title>
<updated>2003-02-24T18:30:20+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2003-02-24T18:30:20+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=152bcb4e6d1e5192ae1dcc1b72f9ab5c53809d9b'/>
<id>152bcb4e6d1e5192ae1dcc1b72f9ab5c53809d9b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix for bug  #20282 (and propably some of the</title>
<updated>2003-01-29T00:10:01+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2003-01-29T00:10:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=339702a044725c84f3b4dfc01db4bd73f7978a91'/>
<id>339702a044725c84f3b4dfc01db4bd73f7978a91</id>
<content type='text'>
other com bugs)

#credits also go to tzm.de for sponsoring me

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
other com bugs)

#credits also go to tzm.de for sponsoring me

</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>integrating wez's patch</title>
<updated>2002-05-20T15:35:57+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2002-05-20T15:35:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=e47a667cc91333627bc07aab42f0a7025181e85e'/>
<id>e47a667cc91333627bc07aab42f0a7025181e85e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>this patch should fix a bug where intermediate comvals were not</title>
<updated>2002-04-26T18:20:45+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2002-04-26T18:20:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=51241dba943130d8909e4c8838a6128bcb5a369d'/>
<id>51241dba943130d8909e4c8838a6128bcb5a369d</id>
<content type='text'>
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
released before they were freed. this caused outproc com server
to belive that they still referenced even when the php process
already terminated.

</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>- Make com work with new object model</title>
<updated>2001-08-12T04:31:14+00:00</updated>
<author>
<name>Andi Gutmans</name>
<email>andi@php.net</email>
</author>
<published>2001-08-12T04:31:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=ff39e51fdf5b17a20b4ac447e66c3048f03c29d3'/>
<id>ff39e51fdf5b17a20b4ac447e66c3048f03c29d3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>- More object macros</title>
<updated>2001-07-28T19:23:21+00:00</updated>
<author>
<name>Andi Gutmans</name>
<email>andi@php.net</email>
</author>
<published>2001-07-28T19:23:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=5c5178b2f4c3ec28e1e4d79758dee3e31afe98d4'/>
<id>5c5178b2f4c3ec28e1e4d79758dee3e31afe98d4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>cast error</title>
<updated>2001-06-24T21:19:49+00:00</updated>
<author>
<name>Harald Radi</name>
<email>phanto@php.net</email>
</author>
<published>2001-06-24T21:19:49+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/php-git.git/commit/?id=22d42820b7e2a0f1d5acf3dc51770e68f4eff982'/>
<id>22d42820b7e2a0f1d5acf3dc51770e68f4eff982</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>
</feed>
