Commit Graph

248 Commits

Author SHA1 Message Date
Ben Olden-Cooligan
18b6e0d629 Updated language switcher to refresh the current form. 2013-07-08 16:44:19 -04:00
Ben Olden-Cooligan
772a2add14 Added language dropdown to main form. 2013-07-08 16:01:46 -04:00
Ben Olden-Cooligan
e4e0e0e95a Set "Localizable" to true on each form 2013-07-08 15:43:04 -04:00
Ben Olden-Cooligan
74cba3cb04 Merge branch 'master' into i18n 2013-07-08 15:40:10 -04:00
Ben Olden-Cooligan
7e934f2bcb Consumer IErrorOutput in more places as appropriate. 2013-07-07 21:07:04 -04:00
Ben Olden-Cooligan
d9b2fbe978 Updated setup for 2.0 and added IErrorOutput so that error messages are displayed differently for console/gui. 2013-07-07 20:37:29 -04:00
Ben Olden-Cooligan
aff715cf49 Saved project file 2013-07-07 20:03:50 -04:00
Ben Olden-Cooligan
f4cbfd01f2 Added test resources file 2013-07-07 20:03:13 -04:00
Ben Olden-Cooligan
b060bfbe31 Added logging to console. 2013-07-07 16:15:48 -04:00
Ben Olden-Cooligan
7d33f4c986 Changed logging configuration to archive after too many errors. 2013-07-07 16:11:10 -04:00
Ben Olden-Cooligan
208c5f96e9 Added logging configuration. Added logging to unhandled and unknown exceptions. Improved/re-organized exception handling to facilitate this. 2013-07-07 15:59:28 -04:00
Ben Olden-Cooligan
2525e178d4 Re-organized exception hierarchy, with ScanDriverException now abstract with a new Scan/Exceptions/ScanDriverUnknownException subclass for errors that should be logged. 2013-07-07 15:21:15 -04:00
Ben Olden-Cooligan
0214e004ed Added dependency to NLog. 2013-07-07 15:20:35 -04:00
Ben Olden-Cooligan
d844cf6ea7 Removed temporary debugging stuff. 2013-07-07 15:05:16 -04:00
Ben Olden-Cooligan
2b31148833 Command line functional. Yay! 2013-07-07 15:04:08 -04:00
Ben Olden-Cooligan
a5e4cb9496 Removed unnecessary precompiler condition. 2013-07-07 13:24:28 -04:00
Ben Olden-Cooligan
fb1473676b Updated license headers, especially adding to new project. 2013-07-07 13:23:20 -04:00
Ben Olden-Cooligan
b4f8dd3505 Extracted some code from the Desktop form to a new ImageSaver type for reuseability in the console project. 2013-07-07 13:16:18 -04:00
Ben Olden-Cooligan
477f5bbbde Changed NAPS2.Console platform target to x86. 2013-07-07 12:29:57 -04:00
Ben Olden-Cooligan
4775859f0f Separated out console/automation stuff into a separate project, NAPS2.Console. 2013-07-07 12:24:29 -04:00
Ben Olden-Cooligan
61363fec70 Added basic command line logic to Program.cs. 2013-07-07 12:04:49 -04:00
Ben Olden-Cooligan
bee4d53ed1 Added reference to the CommandLineParser library. Created some argument specifications. 2013-07-07 11:22:54 -04:00
Ben Olden-Cooligan
6e4f712cc8 Changed the way image files are named to be simpler.
It used to be that images were always named like abc001.jpg, no matter how many images there are.
Now, if there is only 1 image, it's named like abc.jpg. Two images abc1.jpg and abc2.jpg. Ten images abc01.jpg, abc02.jpg, etc.
2013-07-07 10:54:25 -04:00
Ben Olden-Cooligan
df31f66139 Merge branch 'master' of bitbucket.org:cyanfish/naps2 2013-07-07 10:37:36 -04:00
Ben Olden-Cooligan
3c516bb7b4 Added new logic to name image files (e.g. only use abc001.jpg when necessary; prefer abc.jpg or abc1.jpj). 2013-07-07 10:37:29 -04:00
Ben Olden-Cooligan
08e95488c4 Merge branch 'master' of ssh://bitbucket.org/cyanfish/naps2
Conflicts:
	NAPS2/NAPS2.csproj
	NAPS2/Properties/Settings.Designer.cs
2013-07-07 10:34:13 -04:00
Ben Olden-Cooligan
06c244c2d5 Changed the framework target from 3.5CP to 4.0CP. Changed the platform target for Tests to x86 to be compatible with the change to the main project. 2013-07-07 10:10:11 -04:00
Ben Olden-Cooligan
2d95577103 Merge branch 'master' of bitbucket.org:cyanfish/naps2 2013-07-07 09:40:48 -04:00
Ben Olden-Cooligan
becac6cedb Fix for TWAIN on x64.
Changed build target from "Any CPU" to x86. This ensures compatibility with TWAIN and doesn't seem to cause any other issues.
2013-07-06 23:37:05 -04:00
Ben Olden-Cooligan
8c44dd84eb Fixed issue where an exception was throw when scanning using the native WIA UI.
Null reference for settingsExt when trying to scale the image. A simple null check fixed the issue.
2013-07-06 23:26:56 -04:00
Ben Olden-Cooligan
7c32a5e854 Fix for TWAIN issue with TwainApi constructor.
TwainApi(ScanSettings) was called instead of TwainApi(ScanSettings, IWin32Window).
Fixed by removing the single-argument constructor and adding the DialogParent argument to the call.
2013-07-06 23:21:57 -04:00
Ben Olden-Cooligan
60d1e11057 Configured solution for package restore and updated reference paths 2013-07-01 11:25:39 -04:00
ben-cyanfish
affccd0bd0 Improved error handling for offline WIA devices 2013-04-28 16:42:34 -04:00
ben-cyanfish
4dd89c3f77 PUBLISH (1.0b2) 2013-04-28 16:28:00 -04:00
ben-cyanfish
e4f9a3993f Updated NAPS2.Tests project config 2013-04-28 16:27:41 -04:00
ben-cyanfish
a1db310ddd Added Peter De Leeuw to license.txt. 2013-04-28 16:27:09 -04:00
ben-cyanfish
b7dcd50f06 Updated license headers on files in the NAPS2.Tests project. 2013-04-28 16:19:39 -04:00
ben-cyanfish
23948d3370 Added an IsDefault field to ScanSettings.
It is automatically set when a profile used to scan (and unset on other profiles). It is used to determine the default selected profile in the FChooseProfile form.
Effectively, this means that the last used profile is remembered across sessions.
2013-04-28 16:17:35 -04:00
ben-cyanfish
5a9db7e8bb Added "Clear" toolstrip button to delete all scanned images 2013-04-28 16:08:52 -04:00
ben-cyanfish
3a2e2d0a12 Added Peter De Leeuw to the About form 2013-04-28 16:08:00 -04:00
ben-cyanfish
4f5afb2455 Added keyboard shortcut (Ctrl+A) for Select All 2013-04-28 15:54:42 -04:00
ben-cyanfish
b90afe378b Moved the "Profiles" icon in the toolstrip to be beside "Scan" 2013-04-28 15:52:12 -04:00
ben-cyanfish
4551f5f154 Updated copyright to include Peter De Leeuw 2013-04-28 15:48:24 -04:00
ben-cyanfish
6d22a59f97 Merge branch 'master' of ssh://git.code.sf.net/p/naps2/code 2013-04-28 15:36:28 -04:00
pdeleeuw
b5f88eb6b6 ScannedImage: BUGFIX for AccessViolationException being thrown on 'rotate' or 'flip' actions on scanned images due to accessing references to already disposed bitmaps --- 2013-04-09 22:50:59 +02:00
ben-cyanfish
dcd53b0a64 Updated build/publish config 2013-03-10 13:56:05 -04:00
ben-cyanfish
eebbe6beaf PUBLISH (1.0b1)
Updated icons and build configuration
2013-03-10 13:00:09 -04:00
ben-cyanfish
1cf735482d Updated configuration 2013-03-06 21:56:09 -05:00
ben-cyanfish
9658cbe38c Updated gitignore 2013-03-06 21:44:49 -05:00
ben-cyanfish
e8e5460692 Removed SUO files from version control 2013-03-06 21:44:23 -05:00