Commit Graph

248 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
9c18dd7101 Merge branch 'i18n_enhancements' into layout_manager 2013-08-20 16:07:42 -04:00
Ben Olden-Cooligan
844039d5da Modified FPDFSave and FTwainGui so that the text is always centered no matter its length. 2013-08-20 16:01:57 -04:00
Ben Olden-Cooligan
a275b41b95 For FChooseProfile and FManageProfiles, added an IconButtonSizer class that dynamically changes the width of the buttons based on the text length (Note that changing the position of the buttons for FManageProfiles is still TODO.) 2013-08-20 15:58:05 -04:00
Ben Olden-Cooligan
bdb9e1ca60 Resized some controls in FEditScanSettings to better fit some languages. 2013-08-20 15:31:45 -04:00
Ben Olden-Cooligan
60deb0ad34 Added code to insert line breaks in FAbout's copyright. Also refactored the assembly accessors for code reuse. 2013-08-20 15:29:12 -04:00
Ben Olden-Cooligan
853a191f0b Added a public UpdateLayout method to LayoutManager that allows users to manually trigger the layout (rather than waiting for a resize). 2013-08-20 15:12:13 -04:00
Ben Olden-Cooligan
a05ff82c82 Changed line breaks/indenting in LayoutManager usage to be more readable. 2013-08-20 02:43:59 -04:00
Ben Olden-Cooligan
9d1d29d329 Added substantial commenting to the LayoutManager API.
Added a check for duplicate bindings.
Improved DependencyWalker to detect dependencies in more cases.
2013-08-20 02:32:15 -04:00
Ben Olden-Cooligan
b192779c14 Added XXXToForm variants to the binding syntax to improve readability for very common cases. 2013-08-20 01:33:54 -04:00
Ben Olden-Cooligan
90da25df1d Renamed the binding syntax methods from XXX to XXXTo to improve readability. 2013-08-20 01:29:49 -04:00
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