1. 17 10月, 2021 1 次提交
    • A
      Add support for EncodeTypeHint.CHARACTER_SET for compacted QR-Codes (#1450) · 12877514
      AlexGeller1 提交于
      * Added experimental version of QR-Code compaction which can be activated via EncodeHintType.QR_COMPACT
      
      * - Changed algorithm from recursive divide and conquer to iterative Dijkstra
      - Performed the requested modifications.
      
      * Added better debug output and better documententation of the algorithm
      
      * - Added missing error handling in case of a failing assert
      - Fixed typo in the documentation
      
      * Fixed bug that the minimal encoder would fail with an internal error if the string to encode contained only characters from ISO-8859-1 and on or more character that is not defined in any of the ISO-8859 characters sets.
      
      * Added unit tests
      
      * - indented class and method comments
      - fixed code indententation
      - added vertical spacing in statement lists to separate locical blocks
      - added comments to document some numeric constants
      - commented out debug logging
      - made class ResultNode final and all but the methods called by the
      class Encoder private.
      
      * - Fixed indentation and line length
      - Improved comments
      
      * Fixed line length
      
      * Improved comments
      
      * - Whitespace and comment style changes
      - Replaced string concatentation with StringBuilder.append()
      - Replaced Vector with ArrayList
      - Made members that are ony modified in the constructor final
      - Made other minor changes
      
      * - Made more members final
      - replaced assert by throwing an IllegalStateException
      
      * Changed internal data representation to be based on java.util.LinkedList
      
      * Removed uneccessary spaces and comments
      
      * Improved the debug output (now produces a compacted graph)
      
      * - Added code to exclude not supported ECIs
      - Fixed regression that bits were incorrectly computed
      
      * - Fixed regression that bits were wrongly computed
      - Improved compaction
      - added a commented proposal for unit test that makes use of the decoder to validate the encoded bits
      
      * Removed useless comparisons
      
      * Removed commented code
      
      * Optimization: added code to cache the value of LinkedList.size().
      
      * Added more test cases
      
      * - Added support for EncodeTypeHint.CHARACTER_SET
      - Added support to encode in all ISO-8859 character sets available on the platform
      - Removed code that handles failing asserts
      
      * - Replaced string switch case with HashMap lookup
      - Reintroduced asserts
      
      * - Replaced <code> with {@code}
      - Changed indentation in comment
      - Simplified code
      
      * Improved documentation
      
      * Added comment about decoding compatibility with zxing.
      
      * - Made MinimalEncoder responsible of ensuring that the bits fit in the returned version.
      - Removed asserts that throw NPE in case of falure.
      
      * Restricted encoder to use only encodings defined in CharacterSetECI
      
      * Improved clarity and readability of the algorithm and of the datastrutures used.
      - Minimizing algorithm is based on immutable edges
      - ResultList now contains exaclty one ResultNode per mode and possibly several as before
      
      * Changed unit tests (forgotten in previous push)
      12877514
  2. 13 10月, 2021 1 次提交
  3. 12 10月, 2021 2 次提交
    • A
      Fix qr compaction (#1449) · 3909ebe2
      AlexGeller1 提交于
      
      * - Added missing error handling in case of a failing assert
      - Fixed typo in the documentation
      
      * Fixed bug that the minimal encoder would fail with an internal error if the string to encode contained only characters from ISO-8859-1 and on or more character that is not defined in any of the ISO-8859 characters sets.
      3909ebe2
    • S
      Fix javadoc error · f984496a
      Sean Owen 提交于
      f984496a
  4. 10 10月, 2021 1 次提交
  5. 09 10月, 2021 1 次提交
  6. 08 10月, 2021 1 次提交
  7. 06 10月, 2021 1 次提交
  8. 29 9月, 2021 2 次提交
  9. 18 9月, 2021 1 次提交
  10. 12 9月, 2021 1 次提交
  11. 11 9月, 2021 1 次提交
  12. 10 9月, 2021 1 次提交
  13. 07 9月, 2021 1 次提交
  14. 06 9月, 2021 3 次提交
  15. 04 9月, 2021 1 次提交
  16. 02 9月, 2021 4 次提交
  17. 01 9月, 2021 1 次提交
  18. 31 8月, 2021 4 次提交
  19. 30 8月, 2021 1 次提交
  20. 30 7月, 2021 1 次提交
  21. 27 7月, 2021 2 次提交
  22. 17 7月, 2021 1 次提交
  23. 07 6月, 2021 1 次提交
  24. 23 5月, 2021 1 次提交
  25. 12 4月, 2021 1 次提交
  26. 06 4月, 2021 1 次提交
  27. 04 4月, 2021 1 次提交
  28. 03 4月, 2021 2 次提交