Wykres commitów

42 Commity (master)

Autor SHA1 Wiadomość Data
Olaf Meeuwissen e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
m. allan noah e6a249e042 revert mustek_usb2 backend upgrade
Instead of 100+ revert commits, I've lumped everything into a
single commit. This removes all of dedf0ac30 through db7f038f1,
plus the parts of 497d59180 which were specific to mustek_usb2
2015-11-12 21:10:49 -05:00
Jan Hauffa 30e3907156 Allow for model-specific parameters in mustek_usb2_high.c. 2015-11-08 16:54:48 -05:00
Jan Hauffa bc203e8aa1 Sanitize option handling and add support for scanner buttons. 2015-11-08 16:54:47 -05:00
Jan Hauffa b2b3cf767a Use standard macros for byte swapping. 2015-11-08 16:54:47 -05:00
Jan Hauffa 7cd88d4122 Remove Scanner_ScanSuggest. 2015-11-08 16:54:47 -05:00
Jan Hauffa 3f5592ef8e Move global state variables of mustek_usb2_high.c into scanner structure. 2015-11-08 16:54:47 -05:00
Jan Hauffa 35c6a52834 Fix error propagation in mustek_usb2_high.c and a layering violation. 2015-11-08 16:54:46 -05:00
Jan Hauffa 2c712f27c9 Remove uninformative function name prefixes, move gamma table creation into separate function. 2015-11-08 16:54:46 -05:00
Jan Hauffa c1dc16d709 Extensive changes to reduce the amount of global variables in mustek_usb2_high.c.
Might have made MustScanner_SetupScan less readable, though.
2015-11-08 16:54:46 -05:00
Jan Hauffa 9444bf1156 Reorganize some MustScanner_* functions. 2015-11-08 16:54:46 -05:00
Jan Hauffa bd7107ca05 Remove some unneeded global variables from mustek_usb2_high.c. 2015-11-08 16:54:46 -05:00
Jan Hauffa f89a7962de Fix indentation. 2015-11-08 16:54:46 -05:00
Jan Hauffa 86f399bd21 Code in mustek_usb2.c should not use global state of mustek_usb2_high.c. 2015-11-08 16:54:45 -05:00
Jan Hauffa 4962b35abd Use prefix 'p' instead of 'lp', fix other style issues. 2015-11-08 16:54:45 -05:00
Jan Hauffa 9226162537 Normalize naming of constants, structures, and enums. 2015-11-08 16:54:45 -05:00
Jan Hauffa 41ac627e5f Get rid of unnecessary forward declarations. 2015-11-08 16:54:45 -05:00
Jan Hauffa da64a1fc1e First hack to build mustek_usb2* source files separately. 2015-11-08 16:54:45 -05:00
Jan Hauffa 3479acf538 Merge mustek_usb2_reflective/transparent.c into mustek_usb2_high.c. 2015-11-08 16:54:45 -05:00
Jan Hauffa a45931dd11 Remove MustScanner_GetScannerState. 2015-11-08 16:54:44 -05:00
Jan Hauffa c9516d5365 Merge Reflective_Reset, Transparent_Reset, and MustScanner_Prepare into new function MustScanner_Reset. 2015-11-08 16:54:44 -05:00
Jan Hauffa ccce2d4a9a Further cleanup of mustek_usb2.c. 2015-11-08 16:54:44 -05:00
Jan Hauffa d9c1df0bb8 Remove vestigial support for custom gamma tables. 2015-11-08 16:54:44 -05:00
Jan Hauffa 9158d10df9 Further simplification of MustScanner_Get*Line functions. 2015-11-08 16:54:44 -05:00
Jan Hauffa 1f6b405451 First attempt at simplifying the Get*Line functions. 2015-11-08 16:54:44 -05:00
Jan Hauffa 25242ff9c8 Clean up mustek_usb2_high.c. 2015-11-08 16:54:44 -05:00
Jan Hauffa d7b4e02780 Use SANE_Status and SANE_TRUE/SANE_FALSE consistently. 2015-11-08 16:54:44 -05:00
Jan Hauffa 96c6ee1dae Cleaned up firmware state handling. 2015-11-08 16:54:43 -05:00
Jan Hauffa 3cd05dacca Refactoring the smaller high level ASIC functions. 2015-11-08 16:54:43 -05:00
Jan Hauffa 693da258ce Move some definitions from mustek_usb2_asic.h to more appropriate headers. 2015-11-08 16:54:43 -05:00
Jan Hauffa ca1e0db16f Remove unused code and fix indentation in mustek_usb2_high.c. 2015-11-08 16:54:42 -05:00
Jan Hauffa 4b242a7139 Remove unused parameter isOrderInvert from MustScanner_GetMono*Line. 2015-11-08 16:54:41 -05:00
Jan Hauffa 972fc54793 Move some code that was duplicated in mustek_usb2_transparent.c and mustek_usb2_reflective.c to mustek_usb2_high.c. 2015-11-08 16:54:41 -05:00
Jan Hauffa db37c13bb3 Remove information-less comments, break long lines, fix indentation. 2015-11-08 16:54:41 -05:00
Jan Hauffa ccde6b0635 Remove unused fields of struct GETPARAMETERS. 2015-11-08 16:54:41 -05:00
Jan Hauffa 2be2be76ae Unified style of struct and enum definitions. 2015-11-08 16:54:41 -05:00
Jan Hauffa ce6d7010d3 Pixel flavor is never PF_WhiteIs0, so the associated code can be removed. 2015-11-08 16:54:41 -05:00
Jan Hauffa 030c7fa122 Remove redundant code from mustek_usb2_high.c. 2015-11-08 16:54:40 -05:00
Jan Hauffa 2404326dde Remove unused definitions from mustek_usb2_high.h and ensure that the remaining ones are used consistently. 2015-11-08 16:54:40 -05:00
Henning Geinitz 6714d97cee Removed typedefs for DWORD, WORD and so on. Used int, unsigned short,
... directly in the code.
2005-10-16 16:37:13 +00:00
Henning Geinitz 8561c6a6bd Added mustek_usb backend which supports the Mustek BearPaw 2448 TA Pro. Changes
of the code before inclusion to CVS can be found in
doc/mustek_usb2/mustek_usb2.CHANGES.
2005-10-03 13:27:03 +00:00