Commit Graph

  • d4238f56fb Merge pull request #39 from soukoku/v4-support-bg-handling Eugene Wang 2023-04-10 20:44:16 -04:00
  • fa88dd4d1f Added possibility to handle transferred data by app in another thread for high-speed scanner use. Eugene Wang 2023-04-10 20:42:41 -04:00
  • b89c186987 Some quality of life improvements. Eugene Wang 2023-04-10 19:47:01 -04:00
  • 88458c0d7d Fixed broken link and typo. Eugene Wang 2023-04-10 18:45:09 -04:00
  • 9cd20f3e62 Changed to use SynchronizationContext instead of the DIY threadmarshaller. Eugene Wang 2023-04-10 08:02:38 -04:00
  • 4b337f036e Experiment with only transferring data in background thread to work with bad sources. Eugene Wang 2023-04-09 23:30:06 -04:00
  • 902cf844df Merge pull request #38 from soukoku/v4-libraryimport Eugene Wang 2023-04-09 22:39:37 -04:00
  • 3d82558af6 Some fixes for bad sources. Eugene Wang 2023-04-09 22:35:15 -04:00
  • 3424a580fe Added net7 targets and uses LibraryImport on them for pinvokes. Eugene Wang 2023-04-09 21:16:30 -04:00
  • 64268b3a27 alpha2 version bump. Eugene Wang 2023-04-09 18:03:57 -04:00
  • dcc2c8b862 Add show UI checkbox to sample. Eugene Wang 2023-04-09 18:03:42 -04:00
  • fe89e661fc V4 add extimginfo (#37) Eugene Wang 2023-04-09 17:52:23 -04:00
  • a0da65dcca Delete old files. v4.0.0-alpha.1 Eugene Wang 2023-04-08 19:46:54 -04:00
  • 6fad6af280 Updated readme. Eugene Wang 2023-04-08 19:34:57 -04:00
  • 2474fbf74d Fixed wrong assumption of rented array size and added example of using non system.drawing image lib. Eugene Wang 2023-04-08 18:38:51 -04:00
  • 29a8031817 Missed customdsdata map. Eugene Wang 2023-04-08 15:37:50 -04:00
  • 9486fc8cce Used mapping to get cap current/default values with names! Eugene Wang 2023-04-08 15:35:08 -04:00
  • 7acbdb5e41 Added cap enum map idea. Eugene Wang 2023-04-08 15:20:38 -04:00
  • f015e82682 Checked for rc in prepre mem xfer calls now. Eugene Wang 2023-04-08 13:41:20 -04:00
  • c0eb79310f Changed to handle end xfer code only once. Eugene Wang 2023-04-08 12:35:42 -04:00
  • 633e8b1236 Moved DetermineBufferSize() to TW_SETUPMEMXFER Eugene Wang 2023-04-08 12:18:01 -04:00
  • 830dc8cd9b Updated mem file xfer with right buffer size and osx calls. Eugene Wang 2023-04-08 12:07:30 -04:00
  • 558dad90a1 Attempt on porting previous memfilexfer. Eugene Wang 2023-04-08 11:43:54 -04:00
  • 945a078f9a fix moar xmldoc warning. Eugene Wang 2023-04-08 08:30:58 -04:00
  • 250788047c Progress in memory xfers. Eugene Wang 2023-04-08 08:22:58 -04:00
  • 668066cd2b Progress in file xfers. Eugene Wang 2023-04-08 07:03:30 -04:00
  • 443419ff64 Attempt on file xfer. Eugene Wang 2023-04-07 23:07:44 -04:00
  • 54c7fc1d50 Fixed some warnings. Eugene Wang 2023-04-07 22:20:42 -04:00
  • 6fff04fc65 Added optional encoding param to STR conversions. Eugene Wang 2023-04-07 21:31:39 -04:00
  • 0a7ff8b140 Tweak double buffer use in sample. Eugene Wang 2023-04-07 21:20:57 -04:00
  • ebe277e614 Tweak native memory image getter. Eugene Wang 2023-04-07 21:20:41 -04:00
  • 416c3a80b0 Typos and debug msg updates. Eugene Wang 2023-04-07 20:39:14 -04:00
  • c29f4944e9 Resurrected previous cap value writer from twaincs. Eugene Wang 2023-04-07 20:11:26 -04:00
  • 60ef4c144b Added more event debug logs in sample. Eugene Wang 2023-04-07 08:39:08 -04:00
  • 20df6fc74c Ported old native image xfer with shared buffer test. Eugene Wang 2023-04-07 08:25:39 -04:00
  • 242e3eba15 Progress on transfer logic. Eugene Wang 2023-04-06 22:47:47 -04:00
  • fd44d9dddb Added attempt on cap grid listing. Eugene Wang 2023-04-06 20:36:27 -04:00
  • 0bef2e8374 Attempt on reading string for label/help text. Eugene Wang 2023-04-06 08:50:03 -04:00
  • 9145ea1851 Added a few more easy cap value read overloads. Eugene Wang 2023-04-06 08:12:20 -04:00
  • f7a3cc699e Wrap event calls in try-catch to prevent consumers from breaking flow. Eugene Wang 2023-04-06 07:18:10 -04:00
  • e4a6d8d8d3 DBG break if ever encounters drivers with cap label support. Eugene Wang 2023-04-05 23:02:13 -04:00
  • 13521c71d6 Update language encoding after certain calls. Eugene Wang 2023-04-05 22:46:50 -04:00
  • ab2947d03b Attempt to read cap values. Eugene Wang 2023-04-05 21:59:50 -04:00
  • 513dc96f64 Added local 2.5 dsm to samples in case system doesn't have it. Eugene Wang 2023-04-05 18:53:55 -04:00
  • 5fa6edab28 Fix some build warnings. Eugene Wang 2023-04-05 07:53:10 -04:00
  • 9d0770a2ef Add 64bit tester and fixed version # in builds by switching to v6 sdk. Eugene Wang 2023-04-05 07:29:06 -04:00
  • f48c731aad More ready event in xfer logic. Eugene Wang 2023-04-04 22:53:05 -04:00
  • a2c4d5a455 Experiment with pooled xfer buffer. Eugene Wang 2023-04-04 22:22:02 -04:00
  • 059b8dd60e Resurrected metrics and twaindirect task calls. Eugene Wang 2023-04-04 22:21:40 -04:00
  • 9e59e2355d Start resurrecting old value reader/writer. Eugene Wang 2023-04-04 08:17:46 -04:00
  • 5678fd3e77 Renamed TwainSession to TwainAppSession. I love renaming things. Eugene Wang 2023-04-04 07:48:07 -04:00
  • 946238c308 Made my own STS struct instead of the combined enum. Eugene Wang 2023-04-04 06:53:19 -04:00
  • aea7ff4f05 Started on caps support. Eugene Wang 2023-04-03 23:06:10 -04:00
  • a12abe7ab6 Testing a basic xfer loop. Eugene Wang 2023-04-03 21:25:41 -04:00
  • 0f0f613ced Msg loop filter tweaks. Eugene Wang 2023-04-03 06:35:03 -04:00
  • eee811df14 Cleanup unnecessary packages. Eugene Wang 2023-04-02 22:55:50 -04:00
  • acfbec6a38 Added twaindirect call. Eugene Wang 2023-04-02 22:48:17 -04:00
  • 679a00818a Experimenting with bg thread processing. Eugene Wang 2023-04-02 22:36:58 -04:00
  • 84251a6a5e Added winform/wpf reg methods Eugene Wang 2023-04-02 21:45:48 -04:00
  • 16aaf25f10 Test winform integration. Eugene Wang 2023-04-02 21:15:10 -04:00
  • 4e336ff110 Extracted used parts of nativemethods. Eugene Wang 2023-04-02 20:05:18 -04:00
  • e67c6af195 Add rest of DG image triplets. Eugene Wang 2023-04-02 19:31:10 -04:00
  • 0d75d44d30 Tried to generate linux DSM files. Eugene Wang 2023-04-02 18:02:34 -04:00
  • 5bd4a42015 Using template to generate DSM classes like I should've done. Eugene Wang 2023-04-02 17:44:36 -04:00
  • 3115da95d6 Added audio triplets. Eugene Wang 2023-04-02 17:04:09 -04:00
  • b81ab67db1 Added all DGControl triplets. Eugene Wang 2023-04-02 16:41:39 -04:00
  • 890e5680be I just love reorganizing. Eugene Wang 2023-04-02 15:32:19 -04:00
  • 306a67f7a2 Moved triplet success logic back to twainsession to reduce dependencies and identity copying in windows. Eugene Wang 2023-04-02 13:41:16 -04:00
  • 9ddbe70ec7 Attempt on enable source that doesn't work yet. Eugene Wang 2023-04-02 09:07:30 -04:00
  • f8cd01069c Added xfergroup. Eugene Wang 2023-04-02 08:10:18 -04:00
  • addbf7f31d Reorg'd things the way I like. Eugene Wang 2023-04-02 07:56:54 -04:00
  • 3fc0b97096 Add callback reg after opening source. Eugene Wang 2023-04-02 07:43:10 -04:00
  • 94fc3f623c Made my own dsm pinvokes for what I need. Eugene Wang 2023-04-01 23:02:02 -04:00
  • d6438c2f54 Added device event. Eugene Wang 2023-04-01 22:23:44 -04:00
  • 1dd7d811a9 Added custom ds data and fixed copy paste errors. Eugene Wang 2023-04-01 22:01:17 -04:00
  • e33c786abd Tried to add status and statusutf8 reader. Eugene Wang 2023-04-01 21:39:22 -04:00
  • a73b128f6b Add state info to sample window. Eugene Wang 2023-04-01 19:57:37 -04:00
  • 1417dbbb14 Added open/close to test form. Eugene Wang 2023-04-01 19:38:04 -04:00
  • a779ee6b0e Added identity calls and other ds utilities. Eugene Wang 2023-04-01 19:15:41 -04:00
  • ca298f1f77 Progress testing default DS idea. Eugene 2023-04-01 17:41:02 -04:00
  • c793ae8e57 Progress with OpenDS. Eugene Wang 2023-04-01 16:05:44 -04:00
  • f63fbc8371 Add stepdown for currently supported state levels Eugene Wang 2023-04-01 15:42:18 -04:00
  • 5aa808024f Tried to load and use entry point for memory mgmt. Eugene Wang 2023-04-01 14:39:21 -04:00
  • e68525775d Attempt to resurrect my old triplet ideas with new data types and native methods. Eugene Wang 2023-04-01 12:57:07 -04:00
  • 260ae9fdef Moved identities to propevents file. Eugene Wang 2023-04-01 08:01:20 -04:00
  • 003edcccce Testing new twain session ctor. Eugene Wang 2023-04-01 07:26:59 -04:00
  • 299e74621b Playing with nullable. Eugene Wang 2023-03-31 22:20:43 -04:00
  • 64e631bd2a Another attempt, starting with only the defined types. Eugene Wang 2023-03-31 21:59:59 -04:00
  • 1610e39d2d Updated readme and added some more ctors. Eugene Wang 2023-03-31 08:10:37 -04:00
  • 3807f69584 Add a TransferCanceled event Ben Olden-Cooligan 2023-03-10 13:31:04 -08:00
  • 25b612633c No code change, just added builds for net462 and net6.0-windows and removed net3.5. v3.7.2 Eugene Wang 2022-08-06 11:39:23 -04:00
  • 7abf933d4a Test integrating twaincs 2.5. Eugene Wang 2022-04-24 18:08:43 -04:00
  • 0902f59597 #24 fixes dll file version being incorrect. Eugene Wang 2021-10-06 20:27:50 -04:00
  • 88cf5bd49f Update supported fx to 462 minimum. Eugene Wang 2021-08-27 10:25:21 -04:00
  • 68342ec607 Fix sample not using correct scanner. Eugene Wang 2021-04-28 07:44:34 -04:00
  • 4d17226711 progress on transfer loop. Eugene Wang 2021-04-28 07:19:02 -04:00
  • c8e101dd0d Started on scan event handling. Eugene Wang 2021-04-27 22:46:17 -04:00
  • 3ea2ec1555 Add stop capture method. Eugene Wang 2021-04-27 21:49:33 -04:00
  • b86ecb3c1d Replaced platform code with dotnet's environment version. Eugene Wang 2021-04-27 21:36:17 -04:00
  • 2a38b5f0c4 Added CustomDsData property and renamed device to data source. Eugene Wang 2021-04-27 20:59:52 -04:00