Commit Graph

308 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
385dba4fd8 Move BackgroundForm to the WinForms folder 2018-09-23 13:44:13 -04:00
Ben Olden-Cooligan
d462682c23 Working client-side proxy config 2018-09-22 23:18:53 -04:00
Ben Olden-Cooligan
0e983e01c2 Rename ClientServer service to IScanService 2018-09-22 19:04:04 -04:00
Ben Olden-Cooligan
f65d7a6270 Add ClientContext and ProxiedScanDriver implementation 2018-09-22 13:54:10 -04:00
Ben Olden-Cooligan
9b89624e6e Add ClientServer WCF contracts and implementations 2018-09-22 13:18:00 -04:00
Ben Olden-Cooligan
7adba5be50 Add network button to FEditProfile 2018-09-22 01:58:08 -04:00
Ben Olden-Cooligan
82d7e76f7e Create event logger types 2018-09-21 12:08:50 -04:00
Ben Olden-Cooligan
1fb7aae8f8 Create a Logging folder 2018-09-21 11:53:48 -04:00
Ben Olden-Cooligan
2d21f898d0 Create IInvoker for easier access to the UI thread 2018-09-19 18:44:57 -04:00
Ben Olden-Cooligan
353e0a0054 Remove the embedded Verdana font
Switch back to Times New Roman on Windows. Use FreeSerif on linux (file location found using fc-list).
2018-09-17 17:51:40 -04:00
Ben Olden-Cooligan
272b185d83 Remove unused FUpdate 2018-09-17 16:13:34 -04:00
Ben Olden-Cooligan
d1ed4516f1 Use worker for MAPI email 2018-09-17 12:26:40 -04:00
Ben Olden-Cooligan
4f9da1e7b4 Email cancellation and progress (progress not working atm) 2018-09-17 02:40:14 -04:00
Ben Olden-Cooligan
3bf39b6307 Add a notification for updates (opt in, not for msi) 2018-09-16 20:11:03 -04:00
Ben Olden-Cooligan
2da3353cca Verify hash and signature before updating 2018-09-16 15:41:33 -04:00
Ben Olden-Cooligan
971d4b7e49 Auto update WIP 2018-09-16 13:53:45 -04:00
Ben Olden-Cooligan
be7199d13e Add an AssertNoAwait extensions to tasks 2018-09-15 23:28:08 -04:00
Ben Olden-Cooligan
e81bba9bd2 Simplify WIA code and support modal/nonmodal switch 2018-09-15 19:38:18 -04:00
Ben Olden-Cooligan
4588dc1936 Refactor ocr request names 2018-09-15 12:48:58 -04:00
Ben Olden-Cooligan
e071ffbce0 Fix unnecessary resource files 2018-09-13 20:29:22 -04:00
Ben Olden-Cooligan
88481cb359 Use OcrResultManager to cache and manage foreground ocr 2018-09-13 17:35:54 -04:00
Ben Olden-Cooligan
96ce0e842a OcrResultManager WIP 2018-09-11 11:11:35 -04:00
Ben Olden-Cooligan
809b5dab54 Optimize deleting lots of images 2018-09-09 00:55:59 -04:00
Ben Olden-Cooligan
8f391d29dd Implement a widget for background operation progress 2018-09-08 16:06:05 -04:00
Ben Olden-Cooligan
760005f1af Base ImageForm class WIP
TODO still:
Fix conditional checkbox
Fix z-order of checkbox
Optimize workingImage2
Clean up method order
Use in all other image forms
2018-09-07 01:25:47 -04:00
Ben Olden-Cooligan
617326293b Render thumbnails on a worker process 2018-09-06 17:28:06 -04:00
Ben Olden-Cooligan
5ae357a037 Improved thumbnail rendering WIP 2018-09-06 14:58:12 -04:00
Ben Olden-Cooligan
418e0b9960 Async WIP
Make more I/O bound operations asynchronous
Restructure scanning to support async via ScannedImageSource
Add twain image callbacks

Some things will need synchronization fixed still
2018-09-05 16:26:04 -04:00
Ben Olden-Cooligan
865d6332a5 Move ILProfileIcons to the correct folder 2018-08-27 17:57:12 -04:00
Ben Olden-Cooligan
01debf2cc8 Fully clean (i.e. remove bin/obj) projects on Clean 2018-08-26 22:55:08 -04:00
Ben Olden-Cooligan
490600e3b3 Remove ThreadFactory (in favor of Task.Factory) and fix culture in tasks
This is still a bit fragile. Explicitly using CurrentCulture in async methods won't behave as intended. But I don't think there are any instances of that.

TaskCreationOptions.LongRunning should be used more too to prevent blocking
2018-08-26 13:24:14 -04:00
Ben Olden-Cooligan
7c1aaa5e60 Migrate operations to the new async model 2018-08-26 12:05:22 -04:00
Ben Olden-Cooligan
f694697901 Add Microsoft.Bcl.Async and required dependencies 2018-08-25 22:24:46 -04:00
Ben Olden-Cooligan
d7f1cc75cd Start work to run operations in background 2018-08-25 22:15:23 -04:00
Ben Olden-Cooligan
9addd55659 Remove no-longer-needed worker code. Refer back to this if needed at some point in the future.
Search tags: Worker, WorkerOperation, WorkerCallback, Snapshot, Serialization
2018-08-25 02:21:58 -04:00
Ben Olden-Cooligan
6fdbcf591d Switch NAPS2/NAPS2.Console to AnyCpu, NAPS2.Worker to x86, change UseWorker logic accordingly, and fix Twain window ownership 2018-08-24 18:49:04 -04:00
Ben Olden-Cooligan
580672a1f0 Support multiple sets of language data 2018-08-24 15:02:51 -04:00
Ben Olden-Cooligan
0d03a7b9b7 Multi file components
Tesseract 4 is working now, if you manually provide the exe. Still need to build (?) and distribute that.
2018-08-23 23:35:47 -04:00
Ben Olden-Cooligan
3ef0226ff4 Extract IExternalComponent and move BasePath to ComponentManager
Basically removing static stuff in favor of DI
2018-08-23 22:48:54 -04:00
Ben Olden-Cooligan
4b3a051ef3 Bug fixes for linux OCR and cleanup 2018-08-23 15:15:15 -04:00
Ben Olden-Cooligan
6731f32c06 OCR rework WIP (compiling but not tested) 2018-08-23 13:50:07 -04:00
Ben Olden-Cooligan
3757a2839f Tesseract rework WIP 2018-08-23 00:20:17 -04:00
Ben Olden-Cooligan
46a35c2457 OCR restructure WIP (not compilable) 2018-08-22 17:14:52 -04:00
Ben Olden-Cooligan
b1fd927bfc Linux tesseract component cleanup 2018-08-21 21:43:09 -04:00
Ben Olden-Cooligan
5b576f574e Combine Sane option-related types into SaneOption.cs 2018-08-21 19:42:41 -04:00
Ben Olden-Cooligan
9618904158 Replace Win32 call with custom NaturalStringComparer 2018-08-21 19:03:23 -04:00
Ben Olden-Cooligan
71f3ed11a0 Fix listview issues on mono 2018-08-21 18:26:38 -04:00
Ben Olden-Cooligan
ec5fbd749d Fix C# language version on release builds 2018-08-21 15:36:45 -04:00
Ben Olden-Cooligan
8d0cb19291 Move SaneNotAvailableException to the right namespace 2018-08-20 22:35:10 -04:00
Ben Olden-Cooligan
7ecdd0ad18 Sane option parsing WIP 2018-08-20 22:34:07 -04:00