Change Log for jSegue 1.3.0.1

AuthorDateDescription
Adam Perry-Pelletier2004-07-13 Added the generation of XML enums from enums in a type library. This is a partial commit as I couldn't get the enum's name to appear properly. Also removed some dead code that miscommunicated the usage of a class.
Robert Hastings2004-07-13 Fixed the default package name for stdole.
Robert Hastings2004-07-13 Fixed missing header files.
Robert Hastings2004-07-13 Fixed missing com_moesol_bindings.lib file.
Robert Hastings2004-07-13 Use computed version in changelog filename
Robert Hastings2004-07-13 rel notes
Robert Hastings2004-07-13 fixed embedded html formating
Robert Hastings2004-07-14 Improved the automation of change log messages
Robert Hastings2004-07-14 use a param to pass version down to xsl
Robert Hastings2004-07-14 Fixed missing h-gen java header files
Robert Hastings2004-07-15 recovered lost changes
Robert Hastings2004-07-15 added description to upload-release target
Robert Hastings2004-07-19 Fixed bug, with propput and its unnamed param
Robert Hastings2004-07-19 Renamed the -xml_binding option to -xml
Adam Perry-Pelletier2004-07-19 Made Generator a singleton so that it's data is ubiquitously accessible from other areas of the application.
Adam Perry-Pelletier2004-07-19 Reworked the singleton a bit because there were two get instance methods.
Robert Hastings2004-07-19 Removed deleted file from .vcproj file
Adam Perry-Pelletier2004-07-20 Then name of the type library is not included in the library tag of the XML. This is needed for XSLT work, converting the xml to source files.
Robert Hastings2004-08-02 Refactored to make this more sharable.
Robert Hastings2004-08-02 Added a Property method to get to the underlying CComPtr.
Robert Hastings2004-08-04 Parse -server in jvm options and try to start the server VM if present
Robert Hastings2004-08-05 Moved checking for no apartment set to finalize because I was getting to many false positives
Robert Hastings2004-08-05 h-gen with jdk 1.4.2_05
Robert Hastings2004-08-05 False leak detection was removed. Before the fix if object Foo.finalize called HANDLE.detach then the gc might run HANDLE.finalize before Foo.finalize and the handle would be reported as leaked.
Robert Hastings2004-08-05 ws
Robert Hastings2004-08-05 removed dead local var testRegCloseKey was leaking an HKEY, used temporary flag.
Robert Hastings2004-08-05 RegOpenKey and RegCreateKey would create false leak reports if the native call returned an error.
Robert Hastings2004-08-10 Added allocation location tracking to non-apartment-checked interfaces when assert's are turned on. This way you can see that a Free Threaded Release is being called, from the finalize thread when asserts are turned on
Robert Hastings2004-08-11 fixed warning
Robert Hastings2004-08-13 Throw a Win32Exception instead of a plain RuntimeException
Robert Hastings2004-08-16 Extracted leak detection code for reuse.</dn
Robert Hastings2004-08-17 Added GetSystemMetrics
Robert Hastings2004-08-17 Fixed -Xcheck:jni warning about calling JNI methods inside Get/Release StringCritical
Karl Schricker2004-08-18 Minor documentation fixes.
Karl Schricker2004-08-18 Spelling fix.
Robert Hastings2004-08-18 Fixed compiler error if event has no methods.
Robert Hastings2004-08-19 Handle cases where a resource is double released. On the second call we will not be able to recover the checker from the global hash table.
Robert Hastings2004-08-19 The beginnings of IDispatch::Invoke support
Robert Hastings2004-08-19 Added make<*> methods for most VT_<*> types.
Robert Hastings2004-08-19 .NET compilation support
Robert Hastings2004-08-19 Fixed bug with recursive type conversions. Removed ITypeInfo state because it needs to change during the recursion, pass it as a param instead
Robert Hastings2004-08-19 Renamed isUserdefinedInterface to isUserDefinedInterface.
Robert Hastings2004-08-19 Renamed isUserdefinedInterface to isUserDefinedInterface. Fixed problem with isUserDefinedInterface. Needed to recurse if its a TKIND_ALIAS since the alias might be a user defined interface.
Robert Hastings2004-08-19 Added getInvKindName Removed mis-named spDispTypeInfo2 Added -disp_only flag. Generates java code that only uses IDispatch::Invoke instead of V-table based calls, which require more JNI code. Only com_moesol_bindings.dll should be needed if the type libraray only has IDispatch and/or dual based interfaces. In javadoc renamed [locale] to [lcid] to match MIDL input.
Robert Hastings2004-08-19 Added -disp_only flag. Generates java code that only uses IDispatch::Invoke instead of V-table based calls, which require more JNI code. Only com_moesol_bindings.dll should be needed if the type libraray only has IDispatch and/or dual based interfaces.
Robert Hastings2004-08-19 Added -disp_only flag. Generates java code that only uses IDispatch::Invoke instead of V-table based calls, which require more JNI code. Only com_moesol_bindings.dll should be needed if the type libraray only has IDispatch and/or dual based interfaces. Fixed [optional] parameter handling when [lcid] parameters are mixed in.
Robert Hastings2004-08-19 Fixed .NET compile problems
Robert Hastings2004-08-19 Moved Excel tutorial that uses JNI/V-Table bindings to tutorial-2.
Robert Hastings2004-08-19 Moved Excel tutorial that uses JNI/V-Table bindings to tutorial-2. Now tutorial-1 uses -disp_only so that no custom JNI code is needed.
Robert Hastings2004-08-19 fixed path to document on my box
Robert Hastings2004-08-19 Fixed compile errors with Excel
Robert Hastings2004-08-19 ignore
Robert Hastings2004-08-19 moved to correct package
Robert Hastings2004-08-19 don't have any tests to compile yet
Robert Hastings2004-08-19 Remove jni stuff since its moved to tutorial-2
Robert Hastings2004-08-20 Added version resource to jni dlls.
Robert Hastings2004-08-21 Added version resource to jni dlls
Robert Hastings2004-08-23 Added PlatformSDK.RegDeleteValue
Robert Hastings2004-08-23 NativeLibraryLoader now checks the system prefs. Because Java uses the Windows registry for the system prefs by default you can now register dlls for the NativeLibraryLoader under HKEY_LOCAL_MACHINE\SOFTWARE\JavaSoft\Prefs\com\moesol\bindings\/Native/Library/Loader
Robert Hastings2004-08-24 Never register the typelib we are opening. May need to make this an option, if we find we do actually want to register sometimes
Robert Hastings2004-08-24 Added some asserts to fromObject.
Robert Hastings2004-08-24 tlb2java -disp_only now works (initial implementation)
Robert Hastings2004-08-24 Cleanup logic flow
Robert Hastings2004-08-24 Sort the forward declarations so that two different machines will generate the exact same order as long as they have the same set of fowards (different JDK versions will still causes differences).
Robert Hastings2004-08-24 Made the registry settings consistent with property settings for native library loading. The old way included the full-path to the dll. The new way includes just the directory the dll lives in and it then uses the key value name to append to the directory and finally it appends the .dll suffix to arrive at the full-path to the dll.
Robert Hastings2004-08-24 ignore generated disp directory
Robert Hastings2004-08-24 disp only testing
Robert Hastings2004-08-24 Build -disp_only test
Robert Hastings2004-08-24 Added IDispatch.cpp to .dsp file
Robert Hastings2004-08-26 Support making VT_BSTR | VT_BYREF VARIANTs for pointer to BSTR.
Robert Hastings2004-08-26 Support making VT_BSTR | VT_BYREF VARIANTs for pointer to BSTR. -disp_only works for IDual.GetBSTR...
Robert Hastings2004-08-27 Added COM.disableApartmentChecking.
Robert Hastings2004-08-28 Fixed release compile for .NET
Robert Hastings2004-08-30 Comment empty block
Robert Hastings2004-08-30 Javadoc comments, made logger private
Robert Hastings2004-08-30 Javadoc comments
Robert Hastings2004-08-30 Ignroe
Robert Hastings2004-08-31 Fixed VT_BYREF for primitive types. JUnit tests for BSTR, DWORD, and BYTE.
Robert Hastings2004-08-31 Javadoc to fix eclipse warnings
Robert Hastings2004-08-31 Javadoc
Robert Hastings2004-09-01 Fixed missing AddRef when converting a jobject to a VARIANT when the jobject was a Java wrapper for a COM Interface. Added leak checking to the ComServer
Robert Hastings2004-09-01 For -disp_only we now return a Java wrapper of the correct type. Before we just returned IDispatch or IUnknow based on the VARTYPE. Now we QI and cast to the interface type in the typelibrary.
Robert Hastings2004-09-01 Fixed handling of NULL interface pointers. Before we returned a valid Java wrapper with its iface_pointer set to 0. Now we return null.
Robert Hastings2004-09-01 For -disp_only we now return a Java wrapper of the correct type. Before we just returned IDispatch or IUnknow based on the VARTYPE. Now we QI and cast to the interface type in the typelibrary. Javadoc
Robert Hastings2004-09-02 If makeReference is passed null throw COMException(E_INVALIDARG) to mimick vtable behavior.
Robert Hastings2004-09-02 Added fail if we expect an exception
Robert Hastings2004-09-02 Added more -disp_only tests, some still fail
Robert Hastings2004-09-03 Fix up SendMessage, need to use a global ref if the message is handled in a different thread.
Robert Hastings2004-09-04 Added the ability to search for super classes when looking for a constructor translator. See JUnit test for a sample search pattern.
Robert Hastings2004-09-05 Fixed -disp_only JUnit test for VT_DATE|VT_BYREF
Robert Hastings2004-09-06 h-gen
Robert Hastings2004-09-06 Fixed collision with min/max macros in BigDecimal and BigInteger
Robert Hastings2004-09-06 Got -disp_only JUnit tests to work for VT_DECIMAL
Robert Hastings2004-09-08 Made the WARNING log message from finalize regarding free threaded releases be logged at the FINE level since the usage is actually correct.
Robert Hastings2004-09-09 If we cannot load the jvm.dll, report the full-path we were trying to load.
Robert Hastings2004-09-13 Made TextOutA and GetTextExtentPoint32A accessible to java.
Robert Hastings2004-09-20 Tighten unit test to check for reference arrays of exactly length 1. Added VARIANT.makeArray, get/setArray to handle arrays like references.
Robert Hastings2004-09-20 Removed TODO comment that's done
Adam Perry-Pelletier2004-09-23 Tracking down memory leaks forced the change of the test - which had circular dependency com objects. Also change the C Runtim Lib we run against.
Robert Hastings2004-10-01 Fixed a bug in IDispatch.Jni.Invoke that used parameter 0 for all parameters. Fixed error handling to return the error description when available.
Robert Hastings2004-10-01 Fixed a bug in the -disp_only handling of user defined types that are enums.
Robert Hastings2004-10-01 Parse libid:{clsid}/{major}.{minor}/{lcid} for the type library name and use LoadRegTypeLib in this case.
Robert Hastings2004-10-01 Support libid's with and without surrounding "{}".
Robert Hastings2004-10-01 Generate LIBNAME.cpp that contains a #include for every .cpp file generated. You can compile the entire binding by just compiling this single file.
Adam Perry-Pelletier2004-10-04 Ignore Debug.
Robert Hastings2004-10-05 Ignore newly generated stdole.cpp
Robert Hastings2004-10-05 cmd line junit driver
Robert Hastings2004-10-05 Added a -register_tlb flag for when you want the loaded type library to also be registered. This is useful when you have a set of type libraries that depend on each other, but they are not currently registered. The previous version used LoadTypeLib, which registered the loaded type library in some cases (see LoadTypeLib documentation). The -register_tlb flag is more explicit.
Robert Hastings2004-10-05 In some cases the base class name needs to be fully qualified.
Robert Hastings2004-10-05 Fixed -disp_only's building of VARIANTs for SAFEARRAYs and references to SAFEARRAYs.
Robert Hastings2004-10-05 Fixed -disp_only's decoding of VARIANTs for SAFEARRAYs and references to SAFEARRAYs.
Robert Hastings2004-10-08 Fixed JUnit test.
Robert Hastings2004-10-08 Print string form earlier
Robert Hastings2004-10-08 Fixed string form to match IDL/registry
Robert Hastings2004-10-08 Fixed unit tests, turned off _ATL_DEBUG_INTERFACES, turn it on if you need it.
Robert Hastings2004-10-08 Make sure to use ::IDispatch and ::VARIANT
Robert Hastings2004-10-08 Fixed warnings
Robert Hastings2004-10-08 Fixed copyright notice. Fixed eclipse warning
Robert Hastings2004-10-09 Added remove listener to support add/remove listener with -disp_only
Robert Hastings2004-10-11 Don't generate JNI for remove listener since that is supported by shared JNI code in IDispatch/IUnknown.
Robert Hastings2004-10-11 Native compile will find msdev.exe if it is in its standard place.
Robert Hastings2004-10-11 Allow setting msdev.home property to location of Visual Studio install, to find msdev.exe
Robert Hastings2004-10-11 Partial working generic dispatch
Robert Hastings2004-10-13 Generate reverse IDispatch information so that native IDispatch has enough information to call java class implementing a dispinterface.
Robert Hastings2004-10-13 Added get() method to global_ref to ease its use. Added jclass_or_Class to support using either a jclass or a Class * since these types are the same, but unrelated in C++. Added jni_env wrappers for to/from Method/jmethodID.
Robert Hastings2004-10-13 Moved the disp_id -> Java_method mapping method from JNI and into Java. Closer to not needing any generated JNI code for event handling. Added jclass_or_Class to support using either a jclass or a Class * since these types are the same, but unrelated in C++. Removed now uneeded params from Advise call.
Robert Hastings2004-10-14 Moved the disp_id -> Java_method mapping method from JNI and into Java. Closer to not needing any generated JNI code for event handling.
Robert Hastings2004-10-14 Moved the disp_id -> Java_method mapping method from JNI and into Java. Closer to not needing any generated JNI code for event handling. Test that we can make 80K calls/second or better
Robert Hastings2004-10-14 Moved Disp class to IUnknown to support code generation for IUnknown derived interfaces.
Robert Hastings2004-10-14 Fixed JUnite failed test, was missing new .cpp file with JNI method
Robert Hastings2004-10-14 Use generated file list
Robert Hastings2004-10-14 Reduced performance requirement
Robert Hastings2004-10-14 Fixed eclipse import warning
Robert Hastings2004-10-14 Final realization of connection point support without needing any new JNI code to be generated. Now -disp_only supports events as well as without -disp_only.
Robert Hastings2004-10-14 Fixed warning
Robert Hastings2004-10-19 Added a unit test for an [out] param that is a VARIANT that contains a SAFEARRAY of BSTR's.
Adam Perry-Pelletier2004-10-20 Updated the usage output display of tlb2java. Also added the usage to the html pages.
Robert Hastings2004-10-20 Fixed compiler warning
Robert Hastings2004-10-20 Updated changelog building engine.
Robert Hastings2004-10-20 Change logs for 1.3.0.1
Robert Hastings2004-10-20 changes.xml is OBE
Robert Hastings2004-10-20 Removed one more silly entry