Commit Graph

288 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
f485bbe4ae Removed commented-out code. 2013-08-20 01:18:06 -04:00
Ben Olden-Cooligan
dcfe961e41 Fixed the identification of dependent controls in DependencyWalker. 2013-08-20 01:16:58 -04:00
Ben Olden-Cooligan
42bfc916cf Added LayoutManager usage to FChooseProfile (only the default locale, though). 2013-08-20 01:03:23 -04:00
Ben Olden-Cooligan
3f8a0f40b0 Slightly improved UnmanagedArray performance in certain cases. 2013-08-20 01:01:17 -04:00
Ben Olden-Cooligan
0df8a2340d Added LayoutManager (with fluent syntax + dependency management) so that most forms can eventually be user-resized without having to manually handle the control layouts. 2013-08-20 01:00:12 -04:00
Ben Olden-Cooligan
54ee56b639 Added helper classes for working with unmanaged structures (which are used to interface with native code, e.g. MAPI). 2013-08-19 20:50:19 -04:00
Ben Olden-Cooligan
2ff243c9e1 Added a note to the console help that Outlook may require user interaction if autosend/silentsend are used. 2013-08-19 18:38:18 -04:00
Ben Olden-Cooligan
5959896102 Simplified MAPISendMail usage by changing its signature (while remaining binary-compatible) and thus removing casts. 2013-08-19 18:08:33 -04:00
Ben Olden-Cooligan
83de0a75a3 Made previous TWAIN fix compile. 2013-08-19 13:19:09 -04:00
Ben Olden-Cooligan
b76192574a Changed MapiEmailer to use a new pair of enums rather than integer constants. 2013-08-19 13:18:49 -04:00
Ben Olden-Cooligan
865e1cb6a9 Fix for crash when handling a TWAIN error. 2013-08-19 12:37:59 -04:00
Ben Olden-Cooligan
e62719cf93 Fix for specifying recipients when emailing via console. 2013-08-18 17:02:27 -04:00
Ben Olden-Cooligan
d12a658d1f Fixed emailing in NAPS2.Console by adding [STAThread] attribute to Program.Main. 2013-08-18 16:40:28 -04:00
Ben Olden-Cooligan
4c9d429920 Minor code fixes for the recent email WIP. 2013-08-18 12:11:51 -04:00
Ben Olden-Cooligan
65dfd9ac51 More email and console emailing WIP.
Potentially finished now, but requires testing.
Finished AutomatedScanning logic for emailing, including verbose output.
Changed EmailMessage to use a new EmailAttachment type rather than string paths.
Changed error handling logic inside MapiEmailer to be handled internally and not use exceptions (which have now been deleted).
2013-08-18 11:28:46 -04:00
Ben Olden-Cooligan
ed127ef961 Console emailing WIP. 2013-08-17 20:36:04 -04:00
Ben Olden-Cooligan
d8c0691873 Updated the console options to include email-related options.
Also updated help documentation for some existing options, and moved boilerplate code into a superclass called CommandLineOptions.
2013-08-17 19:41:33 -04:00
Ben Olden-Cooligan
c882417786 Rewrote the email code to improve functionality and error handling.
The rewrite includes changes to both the public IEmailer interface and the internal MAPI interaction.
These enhancements will be used to improve the NAPS2.Console functionality to enable automatic email sending.
2013-08-17 18:38:48 -04:00
Ben Olden-Cooligan
90a9027083 Added the default appsettings.xml to the publish config. 2013-08-16 20:55:05 -04:00
Ben Olden-Cooligan
2e1c9e1bf1 PUBLISH (2.4) 2013-08-16 20:37:51 -04:00
Ben Olden-Cooligan
86b528778c Minor precaution added to ConfigManager. Deleted unintended English resource file. 2013-08-16 20:35:37 -04:00
Ben Olden-Cooligan
8798ae4c91 Added [Obsolete] attribute to ScanDevice.DriverName. 2013-08-16 16:04:26 -04:00
Ben Olden-Cooligan
82dfe379ad Minor German localization fixes. 2013-08-16 10:53:55 -04:00
Ben Olden-Cooligan
aa5c9103b9 Updated German language resources. 2013-08-16 10:51:28 -04:00
Ben Olden-Cooligan
c78f2fe587 Updated German tmx file. 2013-08-16 10:47:52 -04:00
Ben Olden-Cooligan
e336117545 Removed redundant attributes from appsettings.xml. 2013-08-15 21:42:59 -04:00
Ben Olden-Cooligan
7bf0120409 Fixed two bugs where canceling in the TWAIN UI results in a freeze. 2013-08-15 21:34:00 -04:00
Ben Olden-Cooligan
15f03c580f Allow a profile to not specify a device, and prompt for a device when scanning with such a profile. 2013-08-15 21:17:27 -04:00
Ben Olden-Cooligan
57217d131e Added functionality for appsettings.xml's DefaultProfileSettings.
As part of this change, the ScanSettings/ExtendedScanSettings duality has been removed. ExtendedScanSettings is used everywhere (with a new UseNativeUI property), except for some compatibility code inside ProfileManager. DriverName has also been moved from ScanDevice to ScanSettings.
2013-08-15 20:47:28 -04:00
Ben Olden-Cooligan
bd2fe1d171 Added appsettings.txt with some initial implementations. 2013-08-15 18:55:08 -04:00
Ben Olden-Cooligan
e61633b102 Revert back to .NET 4.0.
This reverts commit 7a8ebaa484.
2013-08-15 13:10:33 -04:00
Ben Olden-Cooligan
e893146f3d Reworked configuration to be more general. 2013-08-15 12:58:43 -04:00
Ben Olden-Cooligan
7a8ebaa484 Reverted to targeting .NET 3.5 Client Profile instead of 4.0 Client Profile.
This required some minor changes.
2013-08-14 21:45:45 -04:00
Ben Olden-Cooligan
ac474d9288 Fixed standalone build. 2013-08-08 17:55:02 -04:00
Ben Olden-Cooligan
12c56414df PUBLISH (2.3) 2013-08-08 17:31:03 -04:00
Ben Olden-Cooligan
7be1e5dbfd Updated setup configuration for German localization. 2013-08-08 17:29:30 -04:00
Ben Olden-Cooligan
6d336d01f6 Updated project file. Minor localization fixes for German. 2013-08-08 17:27:24 -04:00
Ben Olden-Cooligan
09d7a985ad Added German resource files. 2013-08-08 17:24:07 -04:00
Ben Olden-Cooligan
d4088fc04a Added German tmx. 2013-08-08 17:22:34 -04:00
Ben Olden-Cooligan
a18fbc7734 Updated setup configuration for Italian localization. 2013-07-31 16:06:55 -04:00
Ben Olden-Cooligan
7a0a4429d5 Fixed FManageProfiles layout for Italian localization. 2013-07-31 16:05:05 -04:00
Ben Olden-Cooligan
23a0aff90f Added newlines to Italian About. 2013-07-31 16:04:01 -04:00
Ben Olden-Cooligan
93e64c1226 Removed prefixes from LanguageResources. Updated project file. 2013-07-31 16:01:34 -04:00
Ben Olden-Cooligan
3886304df2 Added Italian resource files. 2013-07-31 16:00:33 -04:00
Ben Olden-Cooligan
fcae64fc04 Added Italian translation tmx file. 2013-07-31 15:58:13 -04:00
Ben Olden-Cooligan
d76dd6ce4d Automatically overwrite MSI when copying. 2013-07-25 21:14:25 -04:00
Ben Olden-Cooligan
1d130ca89a MSI ready for publishing. 2013-07-25 21:12:38 -04:00
Ben Olden-Cooligan
75d7c1cb6c MSI Setup WIP 2013-07-25 17:04:35 -04:00
Ben Olden-Cooligan
6615fcd3cc Added a RTF version of the license, and displayed it in the setup MSI. 2013-07-25 16:42:56 -04:00
Ben Olden-Cooligan
d01723ae8d Detect the existence of languages by whether their resources.dll exists. 2013-07-25 16:42:28 -04:00