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
Eugene Wang
4d8da799c0
Some more QoL and sample process options.
2023-04-11 08:21:49 -04:00
Eugene Wang
f58bf3c620
Merge pull request #40 from soukoku/v4-support-bg-handling
...
Some more unverified tw_info reads ideas.
2023-04-10 22:21:24 -04:00
Eugene Wang
2fd5f056e3
Some more unverified tw_info reads ideas.
2023-04-10 22:17:17 -04:00
Eugene Wang
d4238f56fb
Merge pull request #39 from soukoku/v4-support-bg-handling
...
Added possibility to handle transferred data by app in another thread…
2023-04-10 20:44:16 -04:00
Eugene Wang
fa88dd4d1f
Added possibility to handle transferred data by app in another thread for high-speed scanner use.
2023-04-10 20:42:41 -04:00
Eugene Wang
b89c186987
Some quality of life improvements.
2023-04-10 19:47:01 -04:00
Eugene Wang
88458c0d7d
Fixed broken link and typo.
2023-04-10 18:45:09 -04:00
Eugene Wang
9cd20f3e62
Changed to use SynchronizationContext instead of the DIY threadmarshaller.
2023-04-10 08:02:38 -04:00
Eugene Wang
4b337f036e
Experiment with only transferring data in background thread to work with bad sources.
2023-04-09 23:30:06 -04:00
Eugene Wang
902cf844df
Merge pull request #38 from soukoku/v4-libraryimport
...
Added net7 targets and uses LibraryImport on them for pinvokes.
2023-04-09 22:39:37 -04:00
Eugene Wang
3d82558af6
Some fixes for bad sources.
2023-04-09 22:35:15 -04:00
Eugene Wang
3424a580fe
Added net7 targets and uses LibraryImport on them for pinvokes.
2023-04-09 21:16:30 -04:00
Eugene Wang
64268b3a27
alpha2 version bump.
2023-04-09 18:03:57 -04:00
Eugene Wang
dcc2c8b862
Add show UI checkbox to sample.
2023-04-09 18:03:42 -04:00
Eugene Wang
fe89e661fc
V4 add extimginfo ( #37 )
...
* Added my old struct size tester cpp proj.
* Added transfercanceled event like PR #35 .
* Renamed datatransferred event.
* Idea for getting EXT_IMAGEINFO in transferred event.
* Renamed twain const and platform classes to shorter name.
* First attempt at reading TW_INFO, probably not correct.
2023-04-09 17:52:23 -04:00
Eugene Wang
a0da65dcca
Delete old files.
2023-04-08 19:46:54 -04:00
Eugene Wang
6fad6af280
Updated readme.
2023-04-08 19:34:57 -04:00
Eugene Wang
2474fbf74d
Fixed wrong assumption of rented array size and added example of using non system.drawing image lib.
2023-04-08 18:38:51 -04:00
Eugene Wang
29a8031817
Missed customdsdata map.
2023-04-08 15:37:50 -04:00
Eugene Wang
9486fc8cce
Used mapping to get cap current/default values with names!
2023-04-08 15:35:08 -04:00
Eugene Wang
7acbdb5e41
Added cap enum map idea.
2023-04-08 15:20:38 -04:00
Eugene Wang
f015e82682
Checked for rc in prepre mem xfer calls now.
2023-04-08 13:41:20 -04:00
Eugene Wang
c0eb79310f
Changed to handle end xfer code only once.
2023-04-08 12:35:42 -04:00
Eugene Wang
633e8b1236
Moved DetermineBufferSize() to TW_SETUPMEMXFER
2023-04-08 12:18:01 -04:00
Eugene Wang
830dc8cd9b
Updated mem file xfer with right buffer size and osx calls.
2023-04-08 12:07:30 -04:00
Eugene Wang
558dad90a1
Attempt on porting previous memfilexfer.
2023-04-08 11:43:54 -04:00
Eugene Wang
945a078f9a
fix moar xmldoc warning.
2023-04-08 08:30:58 -04:00
Eugene Wang
250788047c
Progress in memory xfers.
2023-04-08 08:22:58 -04:00
Eugene Wang
668066cd2b
Progress in file xfers.
2023-04-08 07:03:30 -04:00
Eugene Wang
443419ff64
Attempt on file xfer.
2023-04-07 23:07:44 -04:00
Eugene Wang
54c7fc1d50
Fixed some warnings.
2023-04-07 22:20:42 -04:00
Eugene Wang
6fff04fc65
Added optional encoding param to STR conversions.
2023-04-07 21:31:39 -04:00
Eugene Wang
0a7ff8b140
Tweak double buffer use in sample.
2023-04-07 21:20:57 -04:00
Eugene Wang
ebe277e614
Tweak native memory image getter.
2023-04-07 21:20:41 -04:00
Eugene Wang
416c3a80b0
Typos and debug msg updates.
2023-04-07 20:39:14 -04:00
Eugene Wang
c29f4944e9
Resurrected previous cap value writer from twaincs.
2023-04-07 20:11:26 -04:00
Eugene Wang
60ef4c144b
Added more event debug logs in sample.
2023-04-07 08:39:08 -04:00
Eugene Wang
20df6fc74c
Ported old native image xfer with shared buffer test.
2023-04-07 08:25:39 -04:00
Eugene Wang
242e3eba15
Progress on transfer logic.
2023-04-06 22:47:47 -04:00