Commit Graph

60 Commits

Author SHA1 Message Date
clay_shooter
d1dca37cf3 117 NullPointerException injacob-1.17-M2 2013-07-26 00:36:12 +00:00
clay_shooter
62c74f2d69 #41 Fix for SafeArray(String) constructor
#111 m_pDispatch is not 0 if not attached
Should really be mixing two fixes in the same commit but that's the way it goes
2013-07-24 01:00:21 +00:00
clay_shooter
29fdc76236 #115 Release problem if you've got two threads with the same name 2013-07-23 23:54:49 +00:00
clay_shooter
803b57de51 SF3436102 convert 32 bit memory pointers to 64 bit where not already converted. 2012-03-14 03:10:07 +00:00
clay_shooter
8726f3a7df SF3436102 convert 32 bit memory pointers to 64 bit where not already converted. 2012-03-14 02:48:21 +00:00
clay_shooter
1e69bb9acb SF 3435567
Possibility to pass a NULL Dispatch pointer
Fix a memory leak (detected with Glowcode) in Variant.cpp/zeroVariant function
Variant.toString improvement to handle NULL cases
Adds the error code to the message when "an unknown COM error has occurred"
Added debug info to EventProxy advise registration failure message.
2011-12-11 16:57:28 +00:00
clay_shooter
003671fb90 SF 3377279
- Placed JacobVersion.properties into ${release.dir.java.meta.inf} instead of the current folder;
- com/jacob/test/safearray/SafeArrayBasicTest.java is compiled separately, because it is in UTF-16 encoding
- Added initializing Variant used to retrieve the next value from IEnum because some implemenations call VariantClear on it before setting a new value
- Changed _WIN32_WINNT to 0x0500 to fix build with VS2010
- Fixed the leak in Java_com_jacob_com_Variant_putVariantNoParam
- Added Dispatch.Method to the invoke flags to call _NewEnum. There are some nonconforming legacy implementations that expose _NewEnum as a method.
2011-10-01 22:33:38 +00:00
clay_shooter
742c8dcd1b SF3065265 Bit masking in Variant.getXXXRef() uses wrong mask allowing more than one type to be seen as the requested type. Code that passed in the correct type always worked but invalid types were not always detected. 2010-11-08 02:48:55 +00:00
clay_shooter
5b88936d48 SF2927058 add hasExited() method to support polling for server termination 2010-11-08 01:49:34 +00:00
clay_shooter
623c6e9b6b SF2963102 use varargs in Dispatch instead of a million overloaded methods 2010-11-07 15:36:32 +00:00
clay_shooter
1a651776d5 Bug 2721937 change the way PutInROT property is used so that applets no longer throw security violation 2009-08-23 14:41:15 +00:00
clay_shooter
a79a1a08ca Statically link DLL to remove need for VC++ installation
2762275 support conversion of arrays of primitives
2171967 throw exception for unexpected data types rather than crash VM
2009-06-08 01:10:43 +00:00
clay_shooter
8f9f34ed58 Sourceforge 1986987 Deadlock between ComThread and ROT. Also added thread name to Jacob log output. 2008-07-06 17:26:27 +00:00
clay_shooter
80f748ea40 SF 1919441 LoadLibrary reference to x64 dll name had extra space in it 2008-04-24 00:51:56 +00:00
clay_shooter
97ed81a0c5 Added some comments on Variant types not used in Jacob 2008-02-06 02:15:52 +00:00
clay_shooter
df0ba33797 B-1_14-DEV merge back to main 2008-02-02 01:38:25 +00:00
clay_shooter
cd58b57a99 Added comments 2007-10-20 01:52:06 +00:00
clay_shooter
bc50ca000f Added comments that describe when the various constructors should be used based on the way programs are described in the registry and which interfaces they implement. http://sourceforge.net/forum/message.php?msg_id=4562050 2007-10-11 02:20:40 +00:00
clay_shooter
51c900e485 SF1772783 Added VT_DECIMAL support -- raised compiler warnings to /W3. fixed some of those warnings in VT_DECIMAL code 2007-09-09 23:48:08 +00:00
clay_shooter
cd3c0ed7f6 SF1772783 Added VT_DECIMAL support 2007-09-06 01:28:03 +00:00
clay_shooter
a8758521ad SF 1775889 - There was a like when passing arrays of indexes as part of set or get methods. 1775889 mentioned setString() but there were others also. 2007-08-27 03:34:56 +00:00
clay_shooter
f32b4f05ce Added and updated comments / docs 2007-06-10 11:30:31 +00:00
clay_shooter
117799dd86 SF 1701995 another attempt at memory managment <class_name>.PutInROT system property added. 2007-05-17 03:40:22 +00:00
clay_shooter
9c23a727c2 SF 1650134 - preliminary VT_Variant support VariantVariant 2007-04-22 18:25:38 +00:00
clay_shooter
4adbd5087a SF 1650134 change to putVariant() api 2007-04-18 10:26:48 +00:00
clay_shooter
7d7ed62066 SF 1702604 - alpha prototype for activeXInvocationProxy event callbacks 2007-04-18 02:59:38 +00:00
clay_shooter
536fc35171 SF 1650134 - preliminary VT_Variant support VariantVariant 2007-04-18 02:22:25 +00:00
clay_shooter
d10a84af85 corrected and updated comments 2007-04-14 03:21:25 +00:00
clay_shooter
6b81527536 SF 1699965 toString() which uses toJavaObject() now works for Dispatch objects 2007-04-13 13:05:26 +00:00
clay_shooter
1647919dee Route all Variant construction thorough single constructor
Removed read and write methods in Variant since serialization is not actually supported
2007-03-24 13:25:45 +00:00
clay_shooter
3a2e9429f3 SF-167401 changed key generation for ROT hashmaps to avoid collisions and random gc of pushed out objects 2007-03-10 13:39:37 +00:00
clay_shooter
fa66c59940 SF 1662887 protect Dispatch static methods 2007-02-18 16:11:38 +00:00
clay_shooter
4afdf31d25 1651926 getString() should be called instead of toString() 2007-02-04 20:33:50 +00:00
clay_shooter
3b524074a6 SF1603631:
concurrent modification of ROT (adding or removing thread tables) causes VM crash.  The simple fix is to sychronize all accessors to the ROT.  Performance impact has not been analyzed
2006-12-08 12:42:37 +00:00
clay_shooter
5ac71b76b4 SF 1607878 Variant getJavaDateRef() failes -- programmer error
SF 1602188 stack overflow on toString() for object that can't be converted toJavaObject() -- toJavaObject did wrong thing when couldn't convert and couldn't convert basic types byRef() .  That has been fixed.
2006-12-03 14:53:49 +00:00
clay_shooter
a20526a503 toJavaObject() unsupported conversions now throw NotImplementedException instead of IllegalStateException. getDobuleRef() renamed to getDoubleRef(). get methods documented as throwing IllegalStateException() 2006-10-07 17:32:12 +00:00
clay_shooter
e26c507f92 Updated javadoc 2006-10-07 17:30:22 +00:00
clay_shooter
6f432445e8 Fixed javadoc warnings 2006-10-04 03:25:29 +00:00
clay_shooter
0b16b2eeae SF1570270 Proxy unhook detatched threads.
SF1538011 toString() not compliant, large ripple into toXXX() methods
SF1478172 Variant jni methods public without protection.  Now JNI methods behind java methods
2006-10-04 03:18:59 +00:00
clay_shooter
a50685d412 SF1493647 support alternate dll loading directories 2006-09-30 16:39:32 +00:00
clay_shooter
e5368d39ee SF1550628: loadLibrary call mofed to a single location so that folks interested in changing how it works to support applets only has to modify in one location 2006-09-23 18:10:02 +00:00
clay_shooter
3bd2d84f07 SF 1538011 -- document the fact that toString() convertes the underlying data type to a String type 2006-09-23 17:30:30 +00:00
clay_shooter
340546c3cd SF 1477793 obj2variant should accept dates on the Dispatch object 2006-04-28 04:24:18 +00:00
clay_shooter
10104aa8c1 improved testing for 147484 2006-04-23 21:34:56 +00:00
clay_shooter
ed9ef5c827 Another round of changes for Sourceforge bug 147484. 2006-04-23 21:01:55 +00:00
clay_shooter
0db059858a 1474484 change committed to support the not calling of safeRelease() on Variant constant objects. 2006-04-23 20:35:26 +00:00
clay_shooter
288b2da21a fixed javadoc warning 2006-02-20 14:17:22 +00:00
clay_shooter
3a30d03be1 sourceforge 1386454 now supporting return values in event handlers. also added visio example of this 2006-02-12 00:53:11 +00:00
clay_shooter
96dc74d486 put in or de-deprecated some methods for jacobgen support. The methods are documented as such and that they shouldn't be used 2005-12-08 02:33:58 +00:00
clay_shooter
d2ebbdd756 Cleaned up Variant methods and deprecated those that don't do anything or do the things as others but with looser typings. Added early support for "nothing" 2005-12-08 00:59:02 +00:00