Commit Graph

54 Commits

Author SHA1 Message Date
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
0555df293e SF3436102 convert 32 bit memory pointers to 64 bit where not already converted. 2012-03-14 03:04:12 +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
e5652e3b75 3412922Fix for: When a DispatchEvent is created with a COM object, the COM object is never released totally, and the destructor function is never called 2011-10-02 15:51:19 +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
657e5980d9 SF2935662 excepInfo not initialized so NULL check says not null and manipulates uninitialized data. 2010-11-08 02:01:16 +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
d639d9fd76 2819445 SafeArray.fromLongArray fails when using VariantLongInt 2009-12-25 19:11:55 +00:00
clay_shooter
54f105525b 2847577 SafeArray#setString(*) incorrectly handles unicode strings 2009-12-25 17:18:16 +00:00
clay_shooter
b7dc74c59d Sourceforge 2011706 windows memory error when exiting program with call back proxies still hooked up. 2008-07-06 12:39:04 +00:00
clay_shooter
df0ba33797 B-1_14-DEV merge back to main 2008-02-02 01:38:25 +00:00
clay_shooter
2261c55a11 SF 1794811 Support unicode in COM error messages. 2007-09-22 16:59:31 +00:00
clay_shooter
7f0cb9e0d6 SF1793362 ERROR_MORE_DATA causes failures - fix to support Jameleon 2007-09-14 01:35:43 +00:00
clay_shooter
97b1a279cc SF1793346 Replace deprecated wcstombs and remove unused variables 2007-09-13 01:07:36 +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
74a8d04978 No Ticket: One of the methods in Variant.h didn't match the name of the method in Variant.cpp so the method in Variant.h was renamed. 2007-08-27 03:33:35 +00:00
clay_shooter
f32b4f05ce Added and updated comments / docs 2007-06-10 11:30:31 +00:00
clay_shooter
e98dc4b0cf SF1709841 Visual C++ 8.0 Visual Studio 2005 compilation. No longer requires VC98 or 2003 Platform SDK. 2007-04-30 02:37:00 +00:00
clay_shooter
9c23a727c2 SF 1650134 - preliminary VT_Variant support VariantVariant 2007-04-22 18:25:38 +00:00
clay_shooter
536fc35171 SF 1650134 - preliminary VT_Variant support VariantVariant 2007-04-18 02:22:25 +00:00
clay_shooter
2f583acf41 SF 169946 Event Proxy leaves thread attached to VM when id of callback not recognized 2007-04-13 12:57:47 +00:00
clay_shooter
7428d6590a SF 1690420 make memcpy calculate buffer length with sizeof() 2007-03-31 21:48:24 +00:00
clay_shooter
fcbae0a84f SF 1689061 compiler changes to support later versions of VCC and also a big memcpy fix in Variants for currency 2007-03-29 02:52:08 +00:00
clay_shooter
42d53349ef SF1687419 AttachCurrentThread was being passed incorrect parameters. The 1.2 API implementation has never been correct. 2007-03-24 14:58:47 +00:00
clay_shooter
baa2b30dea commented out unnecessary print statement when event method not found 2007-03-24 11:55:32 +00:00
clay_shooter
165b6b7646 SF 1674179 enum variant leak. also affects 1112667 1465539 1569864 2007-03-10 16:04:39 +00:00
clay_shooter
4a1ebd4298 fix compiler warning
D:\jacob\jni\EventProxy.cpp(129) : warning C4101: 'retObj' : unreferenced local variable
2006-10-13 22:51:07 +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
f50b153c9e SF1511033 fix array index out of bounds problem 2006-09-24 13:47: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
66f26e5819 added comments 2006-04-28 04:06:12 +00:00
clay_shooter
5b807839cd added method comment 2006-04-23 20:32:07 +00:00
clay_shooter
36c5cd4fb7 1224219 fixed incorrect memory release 2006-02-20 14:04:46 +00:00
clay_shooter
5482b745d8 1224219 added unicode support to SafeArray.fromStringArray. Closed memory leak in SafeArray.getString 2006-02-13 04:43:04 +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
da8e6f9985 sourceforge patch 1394001 -- missing initialization 2006-01-02 16:30:08 +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
clay_shooter
58cb5ededd fixed defect in isNull() where squiggle brackets were missing in nested if then else
Added documentation
2005-12-05 04:37:31 +00:00
clay_shooter
38c5d9d358 cleaned up variant serialization code. Its still broken. There just isn't as much of it now. 2005-10-29 16:01:30 +00:00
clay_shooter
4e2d45e3ff Patch 1208570 added parameters that let a user provide typelib information required to get Excel events 2005-10-28 22:58:51 +00:00
clay_shooter
08305d4ead 1340233 protect Dispatch constructor
1185167 Connect to running instance -- experimental API
2005-10-28 03:23:20 +00:00
clay_shooter
5e6befda59 SF1336836 wrong sourceforge URL in 1.9.1 copyright notices 2005-10-24 23:16:52 +00:00
clay_shooter
5f8e69d7e2 Merging B-1_9_1 back to head 2005-10-24 22:59:25 +00:00
clay_shooter
d6742a806d sourceforge PR 1169879 asked that this extra printf be removed 2005-07-07 01:19:37 +00:00
danadler
a030f5afde Add back makefile to run with nmake -f makefile 2005-03-15 04:23:48 +00:00
clay_shooter
bcf7bb0f85 merged R-1_9 release tag against the root-B-1_9 2005-02-26 21:32:27 +00:00
schmidlinf
ebb1eddb69 [ 1053870 ] jacob-msg 2019 - SafeArray + jni 1.4. Fixed a few problems with safe array manipulation that caused memory leaks. Also applied patch required to build against JMI newer than v1.2 2005-02-03 10:27:39 +00:00