Commit Graph

465 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
207a50ca7d Escl: Use icon URI from scanner caps 2024-08-04 15:34:03 -07:00
Ben Olden-Cooligan
c275304c66 Don't disable driver-specific checkboxes
Now that devices are picked in combination with drivers, it makes sense to decouple the driver from available settings.
2024-08-02 16:46:14 -07:00
Ben Olden-Cooligan
ca95b34d11 Add "Always Ask" option to device selection form 2024-08-01 17:41:44 -07:00
Ben Olden-Cooligan
95bf090a69 WIP: New device selection form 2024-08-01 13:27:45 -07:00
Ben Olden-Cooligan
401885dcc7 Improve NaturalSize layout handling 2024-08-01 13:13:50 -07:00
Ben Olden-Cooligan
1746100be1 Change IListView.ImageSize type to Eto.Drawing.Size 2024-08-01 13:13:15 -07:00
Ben Olden-Cooligan
b99d95bc58 Fix scroll-to-zoom in desktop form
#355
2024-04-13 20:09:24 -07:00
Ben Olden-Cooligan
eda3c04d51 Fix unnecessary error log 2024-04-08 16:25:24 -07:00
Ben Olden-Cooligan
7b9c64a989 Don't select appended list items, except for profiles 2024-04-07 11:59:28 -07:00
Ben Olden-Cooligan
b6afb4b367 Fix pressing Escape to close some dialogs 2024-04-07 11:43:58 -07:00
Ben Olden-Cooligan
af300170ab Keyboard shortcut fixes
#228
2024-04-07 11:19:51 -07:00
Ben Olden-Cooligan
5e7748cb32 Don't block returning from ProcessCoordinatorService 2024-04-07 11:00:26 -07:00
Ben Olden-Cooligan
64c288ddcf Gtk: Fix issues with ProgressForm closing too fast
#345
2024-04-01 01:18:54 -07:00
Ben Olden-Cooligan
e547d35be1 Remove ImageContext from IMemoryImage constructors
Now that ImageContext is stateless it can be created on demand, simplifying a lot of things.
2024-04-01 00:25:25 -07:00
Ben Olden-Cooligan
4a5efc6599 Clarify profile string ("flip duplexed" -> "flip back sides") 2024-03-31 20:11:59 -07:00
Ben Olden-Cooligan
1dc32a4cea Clarify OCR string ("automatically" -> "pre-emptively") 2024-03-31 14:41:22 -07:00
Ben Olden-Cooligan
0d427ae202 Max zoom for preview form 2024-03-31 11:45:17 -07:00
Ben Olden-Cooligan
390432b376 Mac: Preview form zoom fixes 2024-03-30 18:11:57 -07:00
Ben Olden-Cooligan
7f54aa63b0 Make confirmation dialogs more consistent
Prefer OkCancel and set OK as the default button. That way keyboard navigation works well (Enter = OK, Esc = Cancel).
2024-03-30 15:17:07 -07:00
Ben Olden-Cooligan
484941c7ad Rework cross-process coordination and support "Open With"
#146
2024-03-30 13:00:25 -07:00
Ben Olden-Cooligan
c07bcddf3b Escl: HTTPS support, security policies, and HTTPS->HTTP fallback
#338
2024-03-27 23:25:25 -07:00
Ben Olden-Cooligan
f90374717a Add back Mac invoke workaround 2024-03-15 18:55:50 -07:00
Ben Olden-Cooligan
0a7349ced6 Upgrade Eto.Forms to 2.8.3
This allows removing several workarounds due to upstream fixes.
2024-03-15 18:48:51 -07:00
Ben Olden-Cooligan
c8a41e322e Fix warning 2024-03-15 18:47:52 -07:00
Ben Olden-Cooligan
939d314a44 Gtk: Use Ctrl+Shift+Z instead of Ctrl+Y for redo 2024-03-10 20:55:36 -07:00
Ben Olden-Cooligan
a3c4104e99 Fix unregistering event handler 2024-03-09 22:22:13 -08:00
Ben Olden-Cooligan
a80880b7f9 Never show combine form with <2 images available 2024-03-09 22:18:52 -08:00
Ben Olden-Cooligan
47c163cf0c Add missing keyboard shortcuts 2024-03-09 22:15:30 -08:00
Ben Olden-Cooligan
946a04fb97 Add DocumentCorrection/Split/Combine to preview form 2024-03-09 22:11:11 -08:00
Ben Olden-Cooligan
03bd237cd3 Initial split impl 2024-03-09 15:10:16 -08:00
Ben Olden-Cooligan
419149bc48 Fix potential deadlock 2024-03-09 14:14:52 -08:00
Ben Olden-Cooligan
accb11ff2d Use real image width/height for crop original dimensions 2024-03-09 14:13:24 -08:00
Ben Olden-Cooligan
3bcd97a97a Refactor ImageFormBase with a UnaryImageFormBase subclass 2024-03-08 18:08:54 -08:00
Ben Olden-Cooligan
f37d2fd348 Fix CombineForm visibility flicker 2024-03-08 17:55:59 -08:00
Ben Olden-Cooligan
8716c6a10a Initial combine impl 2024-03-06 20:14:51 -08:00
Ben Olden-Cooligan
740d3bbccc Set invoker in entry points 2024-03-06 20:09:09 -08:00
Ben Olden-Cooligan
963ccab93e Add placeholder forms for Split/Combine 2024-03-04 21:40:16 -08:00
Ben Olden-Cooligan
34f6e5ff75 Add icon for Document Correction 2024-03-04 21:37:59 -08:00
Ben Olden-Cooligan
5bc32024cf Fix undo/redo default keyboard assignment 2024-03-04 21:37:09 -08:00
Ben Olden-Cooligan
87ea9f8023 Remove obsolete todo 2024-03-04 21:09:02 -08:00
Ben Olden-Cooligan
4af10c5e86 Add undo/redo/copy/paste icons 2024-03-04 20:57:23 -08:00
Ben Olden-Cooligan
72bf30403b Undo/redo 2024-03-04 20:50:35 -08:00
Ben Olden-Cooligan
b7140b8b09 Fix warnings and comments 2024-03-01 10:43:21 -08:00
Ben Olden-Cooligan
c8eab254e3 Add a separate checkbox for OCR preprocessing 2024-02-25 11:55:08 -08:00
Ben Olden-Cooligan
33043256c3 Add "Show native TWAIN progress" compat option 2024-02-18 10:51:01 -08:00
Ben Olden-Cooligan
d8191d69c7 Add OCR modes for pre-processing 2024-02-17 22:09:35 -08:00
Ben Olden-Cooligan
ed8d401857 Fix resizable check 2024-02-17 22:07:36 -08:00
Ben Olden-Cooligan
f128f8fbcc Add "Multiple Languages" option for OCR 2024-02-17 10:47:15 -08:00
Ben Olden-Cooligan
74e9e59a35 Dispose extra thumbnail objects 2024-02-10 16:32:31 -08:00
Ben Olden-Cooligan
80dc5c0635 Match thumbnail placeholders to background 2024-02-06 20:22:36 -08:00
Ben Olden-Cooligan
26a39ab991 Hide PDF encryption settings when disabled 2024-01-29 18:05:39 -08:00
Ben Olden-Cooligan
6b8c79cdf3 Fix profile keyboard shortcut initial assignment
#280
2024-01-29 18:03:08 -08:00
Ben Olden-Cooligan
d3fcc8ecdc Add missing using 2024-01-20 18:05:24 -08:00
Ben Olden-Cooligan
fb603bcadb Use a separate path in OnLoad for session loading 2024-01-14 23:23:10 -08:00
Ben Olden-Cooligan
f83aae50be Optimize session loading 2024-01-14 22:34:14 -08:00
Ben Olden-Cooligan
237e1c9102 Add a "Keep images across sessions" setting
#126
2024-01-14 20:17:33 -08:00
Ben Olden-Cooligan
13124fa485 Limit general settings by platform support 2024-01-14 18:04:04 -08:00
Ben Olden-Cooligan
a86427cb90 Always ensure notifications are run on the UI thread 2024-01-13 15:45:01 -08:00
Ben Olden-Cooligan
f133aa9ae5 WinForms: Implement profiles toolbar 2024-01-13 13:37:12 -08:00
Ben Olden-Cooligan
e59988b4b8 Add new appsettings.xml options 2024-01-13 13:25:55 -08:00
Ben Olden-Cooligan
9645112ff3 Support "mode=lock" in appsettings.xml 2024-01-13 00:32:10 -08:00
Ben Olden-Cooligan
b394d593cc Add ScanButtonDefaultAction setting 2024-01-13 00:00:54 -08:00
Ben Olden-Cooligan
689f677322 ShowPageNumbers fixes 2024-01-12 23:24:20 -08:00
Ben Olden-Cooligan
0c74ebc3c4 Fix settings/about icon size 2024-01-12 23:23:28 -08:00
Ben Olden-Cooligan
bb7e746634 WIP: Settings form 2024-01-12 22:42:55 -08:00
Ben Olden-Cooligan
68171256db Handle errors in ScanPerformer.PromptForDevice 2024-01-10 23:32:25 -08:00
Ben Olden-Cooligan
b2807bcc0d WinForms: Fix copying 1bit/8bit images 2024-01-09 21:00:19 -08:00
Ben Olden-Cooligan
9015ec7525 Support pasting bitmaps
Fixes #235
2024-01-09 20:47:02 -08:00
Ben Olden-Cooligan
eb104ec0f1 Sdk: Make protobufs internal 2023-12-29 21:02:54 -08:00
Ben Olden-Cooligan
586f9ed987 Hide share as service 2023-12-22 07:12:02 -08:00
Ben Olden-Cooligan
33b1bb63ec Fix event suppression 2023-12-22 06:17:23 -08:00
Ben Olden-Cooligan
a53cdc63e9 Add stubs for IOsServiceManager 2023-12-22 06:08:23 -08:00
Ben Olden-Cooligan
c0440c5ff3 WIP: Share as service 2023-12-21 10:35:43 -08:00
Ben Olden-Cooligan
40849c6d34 Mac: Fix custom page size interaction 2023-12-16 15:37:45 -08:00
Ben Olden-Cooligan
72ce74d7b0 Mac: Fix Eto invoker 2023-12-10 15:18:44 -08:00
Ben Olden-Cooligan
15e3c45a36 Don't block closing batch form 2023-12-08 19:53:19 -08:00
Ben Olden-Cooligan
fdcec857e9 Use EtoInvoker instead of SyncContextInvoker 2023-12-07 21:10:03 -08:00
Ben Olden-Cooligan
b92362af02 C# 12: Use collection initializers 2023-12-06 20:17:50 -08:00
Ben Olden-Cooligan
79058e1a80 Fix error with Legacy OCR mode
#210
2023-12-06 19:44:36 -08:00
Ben Olden-Cooligan
68393f730b Use a separate sharing.xml config file for shared devices 2023-12-04 16:59:59 -08:00
Ben Olden-Cooligan
9384ef9ed3 Escl: Add NoScannerSharing option to appsettings.xml 2023-12-03 17:52:31 -08:00
Ben Olden-Cooligan
29b3c57207 Escl: Fix port handling and server restarts
Ports are now static per SharedDevice where possible, falling back to random ports if an error occurs.
2023-12-02 22:57:30 -08:00
Ben Olden-Cooligan
0f3b4abcd3 Add Driver as a property on ScanDevice 2023-12-01 18:03:55 -08:00
Ben Olden-Cooligan
0ed7efd4ae Update icons for ProfilesForm and ScannerSharingForm 2023-11-27 18:23:47 -08:00
Ben Olden-Cooligan
d447907778 Change "New" button string to "Share" for ScannerSharingForm 2023-11-27 18:23:01 -08:00
Ben Olden-Cooligan
2273bd2126 Add "Scanner Sharing" button to ProfilesForm
This should improve discoverability, hopefully without being too intrusive.
2023-11-27 18:22:17 -08:00
Ben Olden-Cooligan
1de6b001da Escl: Exclude local shared devices from ESCL Driver device list 2023-11-26 19:05:44 -08:00
Ben Olden-Cooligan
1d068a7d7a Escl: Default height for shared scanners list view 2023-11-25 19:01:33 -08:00
Ben Olden-Cooligan
8a7c304ee0 Fix warnings 2023-11-25 13:47:17 -08:00
Ben Olden-Cooligan
1f0e529ca8 Mac: Don't depend on ClipRectangle
Starting in macOS 14 there is a new clipsToBounds property that defaults to false, which is a behavior change. This causes incompatibilities with anything that uses ClipRectangle directly or indirectly.

https://developer.apple.com/documentation/macos-release-notes/appkit-release-notes-for-macos-14#NSView

#227
2023-11-19 10:09:30 -08:00
Ben Olden-Cooligan
3a82bfe5b6 Extract an interface for SharedDeviceManager 2023-11-18 11:49:18 -08:00
Ben Olden-Cooligan
856b51e166 WinForms: Disable unimplemented dark mode
#225
2023-11-18 11:24:14 -08:00
Ben Olden-Cooligan
e68605fb8d Escl: Server fixes 2023-11-05 13:22:48 -08:00
Ben Olden-Cooligan
012eab0ddc WIP: Scanner sharing 2023-10-30 14:21:39 -07:00
Ben Olden-Cooligan
485c446b51 Re-implement console --progress
#83
2023-10-10 21:01:44 -07:00
Ben Olden-Cooligan
f50837b22f Fix null issue 2023-10-08 18:16:20 -07:00
Ben Olden-Cooligan
5d2ac21185 Refactor common entrypoint code into GuiEntryPoint 2023-10-08 17:14:46 -07:00
Ben Olden-Cooligan
745b27448f Fix behavior for "Default File Path"
#198
2023-10-07 11:18:01 -07:00
Ben Olden-Cooligan
d57a2982f6 Improve worker cleanup behavior
#192
2023-09-14 20:32:46 -07:00
Ben Olden-Cooligan
33800681c6 Escl: Enable ESCL driver option on Windows 2023-09-02 15:07:46 -07:00
Ben Olden-Cooligan
60a7362708 Fix DesktopController constructor 2023-08-26 10:25:13 -07:00
Ben Olden-Cooligan
65aec41038 Sdk: Win32 worker polish 2023-08-25 19:14:26 -07:00
Ben Olden-Cooligan
6908de6d06 Clean up NAPS2.ImportExport.Email namespace for SDK 2023-07-16 22:13:44 -07:00
Ben Olden-Cooligan
a249802cf4 Mac: Support dark mode 2023-07-08 15:28:37 -07:00
Ben Olden-Cooligan
cdffb31aa5 Fix warnings 2023-07-08 14:50:34 -07:00
Ben Olden-Cooligan
91fe5fc7f2 Use color scheme for notifications 2023-07-08 14:27:37 -07:00
Ben Olden-Cooligan
db5fec6368 Change crop handle color with dark mode
I'm not sure if there's a color I like perfectly, but this seems better than black-on-black.
2023-07-08 13:21:49 -07:00
Ben Olden-Cooligan
e7bf6f0866 Use color scheme for preview form 2023-07-08 13:19:24 -07:00
Ben Olden-Cooligan
a81bd25bf9 Gtk: Support dark mode for listview/desktop colors 2023-07-08 13:16:16 -07:00
Ben Olden-Cooligan
e97bf00248 Merge remote-tracking branch 'origin/master' 2023-07-04 16:14:50 -07:00
Fabian Neundorf
758e1f2e01 DownloadController uses HttpClient instead of WebClient
This can use Task and download into a Stream. Thus DownloadFormat is now
accepting a Stream and canceling a download (before extraction) does not
require it to remove the temporary file.
2023-06-25 22:55:40 +02:00
Ben Olden-Cooligan
96736fc439 WinForms: Fix initial listview spacing on load 2023-06-25 11:06:50 -07:00
Ben Olden-Cooligan
96204dfe3b Remember SelectDeviceForm state when loading devices asynchronously
Fixes #138
2023-06-19 17:56:17 -07:00
Ben Olden-Cooligan
008c28438f Don't scale working image for BlackWhiteTransform to ensure preview accuracy 2023-06-18 13:02:39 -07:00
Fabian Neundorf
dd6b7ccc45 Use long for file size and progress 2023-06-10 10:56:28 +02:00
Christian Clavet
e3c2e6bd28 Removing some unessary comment lines 2023-05-20 18:13:31 -04:00
Christian Clavet
30d98fb2c8 Updating with the recommended changes for the listview SHOWPAGENUMBER 2023-05-20 12:30:00 -04:00
Christian Clavet
b63fa08820 Adding new feature to display the image number and total number of items in the listview.
Config of the feature is disabled by default. Windows only for the moment.
2023-05-06 21:01:13 -04:00
Ben Olden-Cooligan
f27769b966 Add src param to donate urls 2023-04-30 10:41:49 -07:00
Ben Olden-Cooligan
c8cc584c82 Gtk: Fix notification label wrapping 2023-04-22 15:53:54 -07:00
Ben Olden-Cooligan
85f4c6a01c Add NoDebugLogging appsettings option 2023-04-22 11:00:56 -07:00
Ben Olden-Cooligan
69b708f4c1 Add ConfigScope.Has helper method 2023-04-22 10:46:05 -07:00
Ben Olden-Cooligan
c46b99d8c7 Wrap progress notification status text 2023-04-22 10:31:32 -07:00
Ben Olden-Cooligan
be8f55978e Don't align notification widths 2023-04-22 10:30:44 -07:00
Ben Olden-Cooligan
5f55a92fc4 Add opt-in for debug logging 2023-04-21 22:38:49 -07:00
Ben Olden-Cooligan
5699df657a Add icon to BatchScanForm 2023-04-21 22:37:58 -07:00
Ben Olden-Cooligan
f787cdc531 Gtk: Use Eto for toolbar menus
Fixes #85
2023-04-16 16:35:08 -07:00
Ben Olden-Cooligan
61d5b5de7b Fix unexpected wrapping 2023-04-16 14:35:44 -07:00
Ben Olden-Cooligan
fbbdeb3a39 Separate notification models and views
This fixes language switching while notifications are visible
2023-04-16 14:35:25 -07:00
Ben Olden-Cooligan
57bf06c10b Document DynamicWrap 2023-04-15 21:41:53 -07:00
Ben Olden-Cooligan
c085bfe90b Wrap notification text 2023-04-15 13:56:58 -07:00
Ben Olden-Cooligan
708cf0d0eb Set a minimum notification width 2023-04-15 13:51:23 -07:00
Ben Olden-Cooligan
88824c1fae Rename Wrap extension to DynamicWrap 2023-04-15 13:51:07 -07:00
Ben Olden-Cooligan
258f88bb10 Relayout notifications when text is changed 2023-04-15 12:50:42 -07:00
Ben Olden-Cooligan
29cd05f340 Gtk: Context menus 2023-04-14 19:24:56 -07:00
Ben Olden-Cooligan
68a2aa0e58 Don't use rounded corners for notifications
Transparency isn't working at the moment.
2023-04-09 11:31:10 -07:00
Ben Olden-Cooligan
5830df4d72 Hide update check on Linux and Mac 2023-04-08 21:02:33 -07:00
Ben Olden-Cooligan
81bcbba1b8 Fix exception logged in ChooseDevice 2023-04-08 12:56:29 -07:00
Ben Olden-Cooligan
6a0c5decbe Track individual pages for unsaved changes prompt
#126
2023-04-08 12:55:45 -07:00
Ben Olden-Cooligan
69b735ad36 Improve error formatting 2023-04-04 20:57:44 -07:00
Ben Olden-Cooligan
3918dff04c Add INotify interface and move types into Notifications namespace 2023-04-03 20:56:26 -07:00
Ben Olden-Cooligan
bb195cb5d0 WIP: Cross-platform notifications 2023-04-02 19:21:53 -07:00
Ben Olden-Cooligan
ef05940838 Handle adding and removing layout items 2023-04-02 12:55:32 -07:00
Ben Olden-Cooligan
190c625f23 Partial fix for nested overlays 2023-04-02 12:52:58 -07:00
Ben Olden-Cooligan
c91fcb2723 Normalize layout class hierarchy 2023-04-02 12:49:51 -07:00
Ben Olden-Cooligan
4a3c3e7c42 Mac: Add email support for the Apple Mail app 2023-03-26 20:25:33 -07:00
Ben Olden-Cooligan
790f373fc8 Use Ben.Demystifier to improve error log readability 2023-03-25 18:06:25 -07:00
Ben Olden-Cooligan
9f6fea02b4 Gtk: Add printing support 2023-03-25 16:53:39 -07:00
Ben Olden-Cooligan
f0cb9481b0 Refactor email provider display logic 2023-03-25 10:39:52 -07:00
Ben Olden-Cooligan
1a20fdcebd Minor email fixes 2023-03-25 10:37:58 -07:00