Commit Graph
100 Commits
Author SHA1 Message Date
Eugene Wang 7afaf3fa77 Fix wrong repo url for package. 2026-02-04 20:28:13 -05:00
Eugene Wang 23f964e1c3 Version bump to beta.3. 2026-02-03 19:36:01 -05:00
Eugene Wang 4e8f52f696 Experiment with ownership idea for transferred event so caller won't need to dispose it. 2026-02-03 19:35:00 -05:00
Eugene Wang 5c288987ca Make hInstance static. 2026-02-03 18:52:40 -05:00
Eugene Wang 52565490b9 Fix wrong dispose logic in BufferedData. 2026-02-03 18:36:28 -05:00
Eugene Wang e4c1e68582 More correct cleanup of message pump. 2026-02-03 18:31:54 -05:00
Eugene Wang 7453c96f09 Proper handling of WM_APP_INVOKE. 2026-02-03 18:10:39 -05:00
Eugene Wang 5fee291004 Tweak to use non-static WNDPROC. 2026-02-02 23:11:22 -05:00
Eugene Wang 48263b8f3b Better error handling in transfer file image routine. 2026-02-02 22:50:19 -05:00
Eugene Wang b07753fede Fix wrong ptr being used in Unlock(). 2026-02-02 22:45:53 -05:00
Eugene Wang 7cd8592263 Version bump to beta.2. 2026-02-02 22:23:13 -05:00
Eugene Wang 5e197a8ce4 Fix _procEvent being never initialized. 2026-02-02 22:22:33 -05:00
Eugene Wang c3ddd13082 Lib pkg updates. 2026-02-02 22:08:14 -05:00
Eugene Wang f47be8f1f7 Add winui3 test sample 2026-01-08 22:25:13 -05:00
Eugene Wang b4f16ca417 Merge pull request #78 from soukoku/v4-beta-refactor
V4 beta refactor
2026-01-08 21:32:07 -05:00
Eugene Wang 40d97f4dc4 Add readme file to package build. 2026-01-08 21:30:24 -05:00
Eugene Wang 440a6e3d17 Log catch-all exception in transfer loop. 2026-01-08 21:23:24 -05:00
Eugene Wang 51414ad136 Major revamp for beta, with simplified initialization and no winform/wpf dependency. 2026-01-08 21:20:58 -05:00
Eugene Wang 1b02f0fcad Fix getting mem func entrypoint never worked. 2026-01-06 18:28:20 -05:00
Eugene Wang e073977268 Fix logger getting reset on get. 2026-01-02 17:42:18 -05:00
Eugene Wang 3aaa3f6c79 Revert "Merge pull request #77 from soukoku/remove-winform-test"
This reverts commit 19712e035e, reversing
changes made to efcc583792.
2026-01-01 23:53:03 -05:00
Eugene Wang 19712e035e Merge pull request #77 from soukoku/remove-winform-test
Remove winform and wpf dep
2026-01-01 23:36:31 -05:00
Eugene Wang 951f47e833 Fix os check warning. 2026-01-01 23:30:39 -05:00
Eugene Wang 0c8f0fc27d Fix wrong sizeof call. 2026-01-01 23:22:35 -05:00
Eugene Wang b9988b2f13 Fixed incorrect logger getter. 2026-01-01 23:17:52 -05:00
Eugene Wang d31c7a2f9f Replaced preproc guards that no longer work. 2026-01-01 22:33:40 -05:00
Eugene Wang 4de4bac806 Large version jump. 2026-01-01 22:23:13 -05:00
Eugene Wang 466e52ac67 Fully replaced old pump code. 2026-01-01 22:20:10 -05:00
Eugene Wang 2939067da5 Add exception event to pump. 2026-01-01 22:18:08 -05:00
Eugene Wang 95ce3b5e5b Updated with SynchronizationContext. 2026-01-01 22:18:08 -05:00
Eugene Wang 23e2359f6a Initial attempt to remove winform/wpf. 2026-01-01 22:18:08 -05:00
Eugene Wang efcc583792 Update pkg to get rid of warnings. 2026-01-01 21:42:29 -05:00
Eugene Wang 5643e1de99 Another attempt to hide internal window. 2026-01-01 21:40:38 -05:00
Eugene Wang f282108f66 Fix wrong TW_FIX32 value if using double value ctor. 2025-12-28 00:10:37 -05:00
Eugene Wang fe6b9677bb Test remove code page package. 2025-12-26 16:38:07 -05:00
Eugene Wang 4da89eb6d9 Drop pkg to base versions. 2025-12-26 16:05:12 -05:00
Eugene Wang 853ccfd658 Use different logging lib version on different dotnet versions. 2025-12-26 15:45:45 -05:00
Eugene Wang 3f0e9eceb8 Add logger to default ctor. 2025-12-26 08:24:28 -05:00
Eugene Wang a26745810e Remove build warning. 2025-12-26 08:21:44 -05:00
Eugene Wang f4a956bd6b Move twaindsm binaries out of projects. 2025-12-26 08:16:25 -05:00
Eugene Wang e9733a6b54 Log message pump error. 2025-12-25 23:14:44 -05:00
Eugene Wang 39c0373d3c Replace Debug.Writes with ILogger. 2025-12-25 23:13:07 -05:00
Eugene Wang 34c03b441e Pkg update and try to hide internal window more. 2025-12-25 18:25:32 -05:00
Eugene Wang 2c443301ca Fix wrong enum type for ICAP_AUTOSIZE. 2025-12-19 10:59:03 -05:00
Eugene Wang c7e649eb72 Fix internal window being visible. 2025-12-12 23:30:48 -05:00
Eugene Wang 342b4d56b1 Update Magick.NET in sample projects. 2025-12-12 12:48:23 -05:00
Eugene Wang e3a2a83fe6 Merge pull request #76 from soukoku/BoxedExperiments
Boxed experiments
2025-12-12 08:02:14 -05:00
Eugene Wang 77dd5eef3b Tweak internal message pump form to be hidden. 2025-12-12 07:58:34 -05:00
Eugene Wang 8d4e3a2708 Remove IEnumerable from range and add more boxed reads. 2025-11-25 07:31:36 -05:00
Eugene Wang d2a1678164 Add more cap setter utilities. 2025-11-25 06:56:46 -05:00
Eugene Wang e6a21dde7c Cleanup boxed types. 2025-11-25 06:31:31 -05:00
Eugene Wang ce96d0c361 Attempt to make boxed version of cap value reads. 2025-11-20 22:56:23 -05:00
Eugene Wang de788ce91d Test reading some values boxed. 2025-11-20 22:36:36 -05:00
Eugene Wang 2ae7293c44 Fix build errors and warnings. 2025-11-20 20:46:15 -05:00
Eugene Wang 1173c11961 Fix wrong cap call for Get. 2025-11-20 20:28:07 -05:00
Eugene Wang 8949b36833 Changed to return value container for available cap value to prevent long range enumerations. 2025-11-20 13:18:21 -05:00
Eugene Wang 36c7dd11ca Fix ICAP_SKEWANGLE value type to int. 2025-11-20 09:18:04 -05:00
Eugene Wang 2167d74fdc Added rest of kodak caps as properties. 2025-11-20 08:52:14 -05:00
Eugene Wang 506366cba8 Merge pull request #75 from soukoku/Win32-native-experiments
Win32 native experiments
2025-11-12 08:25:50 -05:00
Eugene Wang 02c722f964 Fix 32bit error and tweak message format in console. 2025-11-12 07:51:43 -05:00
Eugene Wang da76306bcf Version bump to alpha.14. 2025-11-12 07:20:30 -05:00
Eugene Wang 87257c6140 Change min framework version. 2025-11-12 07:06:25 -05:00
Eugene Wang ca17510f18 Use generic Marshal.SizeOf. 2025-11-12 01:38:30 -05:00
Eugene Wang 8afc52c82b Added typed compression property get. 2025-11-12 01:30:36 -05:00
Eugene Wang 5c8f1f2df6 Disable warnings. 2025-11-12 01:17:18 -05:00
Eugene Wang 61b7ef8c00 Experiment with generated win32 types and calls. 2025-11-12 01:09:07 -05:00
Eugene Wang 0780b950e2 Version bump to alpha.13 and vc proj tool version update. 2025-09-18 05:47:19 -04:00
Eugene Wang f3e9907dfc Merge pull request #71 from SteffenSH/v4-fixed-DetatchAsync
Fix: CloseDSMAsync() hang in TwainAppSession
2025-09-18 05:44:12 -04:00
Eugene Wang 83ab3d5f0a Remove net6 build. 2025-06-24 21:33:53 -04:00
Eugene Wang 81c8544691 Fix customdsdata property always returning null. 2025-04-24 14:15:47 -04:00
Eugene Wang 439af52300 Try to fix range value reader. 2025-03-09 18:52:44 -04:00
Eugene Wang 22fd782d27 A few more kds caps. 2025-03-09 13:53:19 -04:00
Eugene Wang 07cd106ff0 Added some kds custom caps. 2025-03-09 13:19:11 -04:00
Eugene Wang d71448bdbb Add placeholder for KDS caps. 2025-03-09 12:36:15 -04:00
Eugene Wang 0860e6534b Tried to add KDS custom structs. 2025-03-09 10:10:29 -04:00
Eugene Wang c8ee66a828 Try to put KDS values in own namespace and enum. 2025-03-09 08:55:45 -04:00
Eugene Wang 5c15ec3711 Check for empty path in TryLoadCustomDSM. 2025-03-05 08:54:45 -05:00
Eugene Wang 6b35b1735d Timing hack for file transfer. 2025-02-19 06:47:37 -05:00
Eugene Wang 69d90aa945 Test kodak SDMI. 2025-02-18 17:04:38 -05:00
Eugene Wang 62eaa6083a Some kodak values for use with its SDMI flow. 2025-02-18 15:24:55 -05:00
Eugene Wang e3dfa8f4dd Add method to set filexfer options on xferready event. 2025-02-15 18:39:13 -05:00
Eugene Wang b2fe1c1bcd Added image saving and time log to console tester. 2025-02-11 16:55:05 -05:00
Eugene Wang f205d73f64 Add xfermech info to transfer ready event. 2025-02-11 16:40:05 -05:00
Eugene Wang e107a927b3 Add dotnet 9 target. 2025-02-11 16:39:02 -05:00
Eugene Wang 5ec2118ef2 change dontcare pendingxfers to static method. 2024-10-10 23:18:43 -04:00
Eugene Wang de017f3439 Expose wndproc hook method and test reset TW_PENDINGXFERS before use. 2024-10-10 11:06:27 -04:00
Eugene Wang cea9a990b9 Lib version bumps and change net7 to net8. 2024-07-12 08:19:55 -04:00
Eugene Wang 474b066bd0 Added parameterless ctor for TwainAppSession. 2023-04-28 08:53:51 -04:00
Eugene Wang f25587cab2 Reduced ctors for TwainAppSession. 2023-04-28 08:15:53 -04:00
Eugene Wang d68e9800ba Version bump to alpha.3 2023-04-15 07:19:44 -04:00
Eugene Wang ba76de99c6 Merge pull request #44 from soukoku/internal-thread-test
Integrated message thread inside TwainAppSession
2023-04-15 06:34:21 -04:00
Eugene Wang 1364150697 Integrated message thread inside TwainAppSession as a different OpenDSM method. 2023-04-15 06:33:12 -04:00
Eugene Wang ef881784a6 Merge pull request #43 from soukoku/internal-thread-test
Added a msg loop thread option for windows.
2023-04-14 07:18:28 -04:00
Eugene Wang 0e5aef00e5 Changed ManualResetEventSlim to TaskCompletionSource in pump thread attach. 2023-04-14 07:13:07 -04:00
Eugene Wang 54d73eb42c Added old console sample to test diy message pump. 2023-04-13 22:52:04 -04:00
Eugene Wang 502013ee57 Experiment with a winform-based msg pump. 2023-04-13 22:19:05 -04:00
Eugene Wang 24d4471e0f Merge pull request #42 from soukoku/known-caps-test
Bring back cap wrapper idea from previous versions
2023-04-12 21:45:49 -04:00
Eugene Wang 6e26b7a009 Tried to make a cap wrapper property on spec-defined caps. 2023-04-12 21:42:30 -04:00
Eugene Wang 232aa93e6e Add reset on cancel so sample ds works. 2023-04-12 18:57:15 -04:00
Eugene Wang 1873ad31a0 Trying to resurrect my old cap wrapper. 2023-04-12 08:50:18 -04:00