2002-10-19  James Henstridge  <james@daa.com.au>

	* README: add readme file.

2002-10-18  James Henstridge  <james@daa.com.au>

	* src/stub-gen.c (generate_union_stub): add union member
	descriptors.

	* src/ORBitmodule.c (initORBit): initialise the union member type.

	* src/pycorba-struct.c (pyorbit_add_union_members_to_stub): add a
	new descriptor type to represent the extra members on unions.

2002-10-17  James Henstridge  <james@daa.com.au>

	* src/pycorba-struct.c (pycorba_union_init): support the keyword
	argument form of the union constructor (which works now that bug
	#95581 has been fixed).

	* src/ORBitmodule.c (pyorbit_load_typelib): remove hack, as the
	fix for bug #95591 makes the hack unnecessary.

2002-10-16  James Henstridge  <james@daa.com.au>

	* src/ORBitmodule.c (register_corba_types): load types defined in
	orbit/orb-core/corba-defs.h.

	* src/stub-gen.c (add_stub_to_container): support adding child
	members to containers that are new style types ...

2002-10-15  James Henstridge  <james@daa.com.au>

	* src/pycorba-typecode.c (_typecode_hash): move typecode hash
	function here, since it is not needed in pycorba-typecode.c
	anymore.

	* src/stub-gen.c: change stubs hash to map repo_id -> stub,
	instead of using TypeCodes as keys.

	* src/pycorba-typecode.c (pycorba_typecode_cmp): don't call
	CORBA_TypeCode_equal if the two typecode pointers are equal.

	* src/pycorba-orb.c (pycorba_orb_shutdown): add shutdown method.

	* src/ORBitmodule.c (pyorbit_corba_orb_init): unref the orb after
	creating the wrapper.

	* src/pycorba-orb.c (pycorba_orb_new): ref and unref the orb when
	creating and freeing the orb wrapper.

	* src/stub-gen.c (pyorbit_get_stub_from_objref): call
	ORBit_small_get_iinterface() for base interfaces as needed when
	generating stubs for unknown types.

	* src/pycorba-marshal.c (marshal_value): error out if the sequence
	is longer than the maximum sequence length (if any is specified).
	(marshal_value): similar for bounded strings.
	(marshal_value): and for wstrings.

2002-10-14  James Henstridge  <james@daa.com.au>

	* src/everything-client.py (test_misc_union): get rid of hack, as
	the pyorbit_load_typelib() hack removes the need for it.
	(*): convert to use unittest framework.

	* src/ORBitmodule.c (pyorbit_load_typelib): hack to work around
	bad ordering of enum discriminators for unions.

	* src/pycorba-any.c: s/CORBA.any/CORBA.Any/ to match python
	language mapping.

	* src/pycorba-object.c (*): return either Py_True or Py_False for
	functions that return bool.  This will make them use the True and
	False boolean constants when upgrading to Python 2.3.

	* src/stub-gen.c (pyorbit_get_stub_from_objref): since
	ORBit_small_get_iinterface() doesn't crash remote objects now,
	re-enable this bit of code.

2002-10-12  James Henstridge  <james@daa.com.au>

	* src/everything-client.py (main): add more tests.

	* src/pycorba-marshal.c (marshal_value): fix up marshalling of
	typecodes.

	* src/pycorba-any.c (pycorba_any_cmp): add ability to compare anys.

	* src/stub-gen.c (pycorba_typecode_hash): hash function for
	TypeCodes based on implementation of CORBA_TypeCode_equal.

	* src/everything-client.py (test_misc_union): manually set up
	orbit.test.EnumUnion.Colour enum while waiting for bug 95591 to be
	fixed.

	* src/pycorba-marshal.c (marshal_value): fix bug in boolean
	marshalling.

	* src/ORBitmodule.c (initORBit): add CORBA.TRUE and CORBA.FALSE
	constants to match specification.

	* src/pycorba-marshal.c (demarshal_value): support demarshalling
	of CORBA.any's.
	(marshal_value): support marshalling of CORBA.any's.

	* src/stub-gen.c (pyorbit_lookup_typecode): don't dereference NULL
	pointer.

	* src/pycorba-typecode.c: add cmp() and init() methods for TypeCode.

	* src/pycorba-any.c: add CORBA.any implementation

	* src/everything-client.py (main): add union tests.

	* src/pycorba-method.c (pycometh_call): make exception messages a
	bit more informative.

	* src/pycorba-struct.c (pycounion_init): __init__ function for
	unions.  Doesn't implement initialisation with keyword arguments
	due to bug #95581.

	* src/pycorba-marshal.c (demarshal_value): for boolean values,
	return Py_True or Py_False, so that they get returned as boolean
	values with Python 2.3.
	(marshal_value): support marshalling of unions.
	(demarshal_value): support demarshalling of unions.

2002-10-11  James Henstridge  <james@daa.com.au>

	* src/pycorba-struct.c: new file to hold base types for structures
	and unions.  This is mainly to implement their constructors.

2002-10-10  James Henstridge  <james@daa.com.au>

	* src/stub-gen.c (generate_struct_stub): add constructor to
	structs, as required by the Python mapping.

	* src/pycorba-exceptions.c (pyorbit_exception_init): constructor
	for exceptions.

2002-10-07  James Henstridge  <james@daa.com.au>

	* src/stub-gen.c (get_container): increment the reference on the
	module created by Py_InitModule().

	* src/everything-client.py (main): add many type marshal/demarshal
	tests.

	* src/pycorba-method.c (pycometh_call): handle "fixed length"
	array returns.

	* src/everything-client.py (main): start of port of the
	"everything" test client to python, for testing against the server
	distributed with python.  Only ported the attribute and string op
	tests so far.

	* src/pycorba-method.c (pycometh_call): handle void return type
	correctly.

2002-10-06  James Henstridge  <james@daa.com.au>

	* src/pycorba-method.c (pycometh_call): handle out arguments
	better.

2002-10-02  James Henstridge  <james@daa.com.au>

	* src/pycorba-method.c (pycometh_call): pass a pointer to ret to
	ORBit_invoke_stub().

2002-10-01  James Henstridge  <james@daa.com.au>

	* src/pycorba-marshal.c (demarshal_value): we have successfully
	demarshalled the sequence if i == sval->_length (not tc->length).

2002-09-28  James Henstridge  <james@daa.com.au>

	* src/ORBitmodule.c (initORBit): add ORBit.orbit_version constant
	so programs can check what version of ORBit they are running
	against.

2002-09-26  James Henstridge  <james@daa.com.au>

	* src/pycorba-marshal.c (demarshal_value): support demarshalling
	of arrays.
	(marshal_value): support marshalling of arrays.
	(marshal_value): support marshalling of sequences.
	(demarshal_value): support for demarshalling sequences.

	* src/stub-gen.c (pyorbit_generate_typecode_stubs): generate
	exception stubs.
	(generate_exception_stub): function to generate exception stubs.

	* src/pycorba-marshal.c (marshal_value, demarshal_value): fix up
	marshalling and demarshalling (added a macro to make it a bit more
	difficult to screw up).

2002-09-25  James Henstridge  <james@daa.com.au>

	* src/pycorba-exceptions.c (pyorbit_check_ex): properly handle the
	exception by demarshalling it (so we get exception attributes).

	* src/pycorba-marshal.c (demarshal_value): many changes to the
	marshalling routines.

2002-09-23  James Henstridge  <james@daa.com.au>

	* src/pycorba-object.c (pyco_init): dummy __init__ function that
	just raises an exception (object references can't be directly
	constructed).

2002-09-22  James Henstridge  <james@daa.com.au>

	* src/stub-gen.c (pyorbit_get_stub_from_objref): skip the
	ORBit_small_get_iinterface() call, as it seems to crash remote
	objects :(

	* src/stub-gen.c (pyorbit_get_stub_from_objref): new function for
	getting a stub for an objref.  Will generate new stub types if
	needed (and the IInterface can be looked up).

	* src/pycorba-object.c (pyco_repr): don't use ORBit internal APIs
	here.
	(pycorba_object_new): don't use internal interfaces, and make use
	of pyorbit_get_stub_from_objref() to find stub.

	* autogen.sh (TEST_TYPE): fix autogen.sh detection of srcdir.

	* *: add autoconf/automake build stuff.

2002-09-21  James Henstridge  <james@daa.com.au>

	* src/*.[ch]: initial import into CVS.

