Imported comtypes 0.2.1.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%403
--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%404
Use ctypes.wintypes, small optimization.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%405
Fix a memory leak when instances of COMObject are created.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%406
Make sure the strings returned by ITypeInfo::GetDocumentation do not
contain NUL characters.
Expose an anonymous field.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%407
Fix memory leak: we have to SysFreeString BSTR that we receive as out
parameters.

Another memory leak.  COM objects in multithreaded appartments were
never Release()'d correctly.

Implement __setitem__ on COM interface pointer instances, which
manages the COM refcount correctly.

Merge in changes from the comtypes_events_branch:

comtypes.client.GetEvents returns a 'connection object', which will
UnAdvise the connection when deleted.  Remove the event specific
parameters from the comtypes.client object creation functions.

Be very careful in shutting down to avoid (ignored!) exceptions.

Changes in the COM shutdown code.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%408
More and better logging, and some (probably dynamically generated)
typelibs have no name.

Fix the __all__ list; ReleaseEvents exists no longer.

Make the modulename argument to _CreateWrapper optional.

Merge in changes from the comtypes_events_branch:

comtypes.client.GetEvents returns a 'connection object', which will
UnAdvise the connection when deleted.  Remove the event specific
parameters from the comtypes.client object creation functions.

Implement return value in IDispatch::Invoke for an event receiver.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%409
Add another way to find the wrapper for an outgoing interface.

Merge in changes from the comtypes_events_branch:

comtypes.client.GetEvents returns a 'connection object', which will
UnAdvise the connection when deleted.  Remove the event specific
parameters from the comtypes.client object creation functions.

Move event stuff into a separate, private module.  Do not create a new
class for IDispatch based event interfaces, customize the instance
instead.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4010
RegisterInterfaceInGlobal accepts now an optional interface parameter.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4011
Handle safearrays that contain VT_BSTR.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4012
Don't pollute the namespace with too many symbols.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4013
Use item assignment instead of CopyComPointer.

In IDispatch.GetTypeInfo, check for a valid index.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4014
Check the result of GetMessage calls, raise an error when it is -1.

- The classfactory defaults to REGCLS_MULTIPLEUSE.

- The classfactory constructor accepts *args and **kw
  which are passed to the actual class constructor.

- The class can override the factory's regcls attribute
  by providing a _regcls_ attribute itself.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4015
Import symbols from ctypes.wintypes.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4016
The text returned from ITypeInfo::GetDocumentation does not contain
NUL characters any more.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4017
Adapt to the GetEvent changes.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4018
Version 0.3.0, add comtypes.server package to setup.py.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4019
Summary of the changes.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4020
Fix registration for localserver - the wrong module could be used.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4021
Set svn:eol-style to native.

--HG--
extra : convert_revision : svn%3Aa2f44796-8cc0-49ac-b43f-6a96d556d52d/trunk%4022