Commit Graph
100 Commits
Author SHA1 Message Date
Henry Schimke 78e7dcc040 update versions 2023-04-29 10:51:38 -05:00
Henry Schimke 508f5f14c5 code cleanup 2023-04-29 09:58:04 -05:00
Henry ef999a4eb0 clippy fix 2023-04-28 19:41:23 -05:00
Henry 2afc6be3dc cargo fix 2023-04-28 19:15:25 -05:00
Henry A SchimkeandGitHub 9a8df1931b Merge pull request #30 from rxing-core/port_cpp_qrcode
Port cpp qrcode
2023-04-28 18:14:42 -05:00
Henry Schimke 09555a1d70 all tests pass ready to merge 2023-04-28 17:23:50 -05:00
Henry Schimke e05fae5b6a datamatrix fails but could be an issue with text 2023-04-28 17:12:53 -05:00
Henry Schimke 57d4f82e7c all tests except SA pass 2023-04-28 16:45:18 -05:00
Henry Schimke 4d703c4e51 all tests but 7 (SA) and inverted pass 2023-04-28 13:25:49 -05:00
Henry Schimke 6aee7a66b9 progress on passing tests 2023-04-27 10:59:39 -05:00
Henry Schimke 26109ab9ed fix addition vs subtraction for ConcentricPattern 2023-04-26 16:00:09 -05:00
Henry Schimke 96cadb8e66 some progress in passing images 2023-04-26 13:17:57 -05:00
Henry Schimke b216a446ee ported latest c++ changes, does not pass all tests 2023-04-25 15:59:47 -05:00
Henry Schimke d841c1d751 slight change 2023-04-25 13:00:42 -05:00
Henry Schimke b8b4bd523c mqr tests pass 2023-04-25 12:50:54 -05:00
Henry Schimke cf530422c9 port over c++ tests and weights 2023-04-24 19:09:01 -05:00
Henry Schimke 60c14ea556 copy over c++ tests for mqr and cpp 2023-04-24 18:58:30 -05:00
Henry Schimke 31413b3044 fix errant has_eci 2023-04-24 18:16:48 -05:00
Henry Schimke 483539a194 fix pattern test 2023-04-24 17:49:04 -05:00
Henry Schimke d08f67feed partial test complete 2023-04-24 17:42:40 -05:00
Henry Schimke a811b56fbb cargo fmt 2023-04-23 14:36:51 -05:00
Henry Schimke cb7050a5dd build result 2023-04-23 11:23:56 -05:00
Henry Schimke b4f99b3195 use internal BinaryBitmap instead of [bool] 2023-04-22 16:23:32 -05:00
Henry Schimke bec7c99dbb partial success on parse, missing symbology id 2023-04-22 16:17:05 -05:00
Henry Schimke 789719d3eb adding result points to sampler 2023-04-22 11:44:37 -05:00
Henry Schimke d3ce9fcb90 still working on tests 2023-04-17 16:47:57 -05:00
Henry Schimke d5c4d4de78 MQRDecoderTest 2023-04-16 10:59:33 -05:00
Henry Schimke 361130c389 port QRBitMatrixParserTest 2023-04-14 12:12:03 -05:00
Henry Schimke 8462c7e877 port QRDataMaskTest 2023-04-14 11:55:56 -05:00
Henry Schimke de01f5c749 port SymbologyIdentifier test 2023-04-14 11:42:47 -05:00
Henry Schimke 23951ac87c ported test SimpleSJIS and fixed regression pdf417 2023-04-14 11:03:04 -05:00
Henry Schimke 1900e1ca57 continued porting of test cases 2023-04-09 18:25:59 -05:00
Henry Schimke 8a1d0b3969 Beginning port of tests for qrcode from c++ 2023-04-05 12:26:34 -05:00
Henry Schimke c29a5547b4 add specific cpp test cases 2023-04-03 16:09:54 -05:00
Henry Schimke 44e2d52599 cleanup failures for existing tests 2023-04-03 16:08:15 -05:00
Henry Schimke 169db55a82 begin cleanup 2023-04-03 12:52:01 -05:00
Henry Schimke 1ef262e967 initial port complete, untested, builds 2023-04-03 12:18:35 -05:00
Henry Schimke 8fc6a240b3 stubbing new reader / multireader 2023-04-02 14:21:49 -05:00
Henry Schimke 8e26bbe117 fix errors due to change in sign 2023-04-01 09:43:41 -05:00
Henry Schimke 8dde4744f2 actually use offset (p) 2023-03-31 20:27:58 -05:00
Henry Schimke c103609550 port stepToNextEdge 2023-03-31 20:08:57 -05:00
Henry Schimke 097bfd1ead port FastEdgeToEdgeCounter::new 2023-03-31 20:05:53 -05:00
Henry Schimke 612ef458f2 port FindBestFormatInfo 2023-03-31 16:36:15 -05:00
Henry Schimke 76fb937ca9 removing todo!() 2023-03-31 11:58:29 -05:00
Henry Schimke 98e30a1d80 porting formatinformation and eclevel 2023-03-30 15:01:31 -05:00
Henry Schimke 7f675137f2 data_mask.rs added 2023-03-30 11:04:45 -05:00
Henry Schimke 71ae1e96a1 add ReadMQRCodewords 2023-03-30 10:41:19 -05:00
Henry Schimke ae5539e270 add ReadQRCodewords 2023-03-30 10:32:42 -05:00
Henry Schimke af626afc15 removed todo!() from qrcode_version.rs 2023-03-29 14:30:19 -05:00
Henry Schimke 6a1c5c568a continued removal of todo!() 2023-03-29 12:10:58 -05:00
Henry Schimke 4ccfeddf4e clap version bump 2023-03-28 18:19:33 -05:00
Henry Schimke 517b23b481 more todo!() removal 2023-03-28 16:46:36 -05:00
Henry Schimke 74a459f65a continue removing todo!()s 2023-03-28 16:31:41 -05:00
Henry Schimke 607bb28101 micro versions 2023-03-28 11:16:05 -05:00
Henry Schimke 0636a63291 partial stub out of decoder 2023-03-27 11:45:26 -05:00
Henry Schimke d2316408b5 stage for port 2023-03-21 15:26:45 -05:00
Henry Schimke c2ca7fa2b0 port find bounding box
though it might not need to be ported, evaluate removing later.
2023-03-21 11:59:56 -05:00
Henry Schimke 5450f05d1b Merge branch 'main' into port_cpp_qrcode 2023-03-21 11:57:03 -05:00
Henry Schimke 8a77e7b7ab convert to using point...
instead of vectors for finding corners in bitmatrix
2023-03-21 11:56:53 -05:00
Henry Schimke 7b6a80e4ac move some todo!() to unimplemented!() 2023-03-21 11:26:30 -05:00
Henry Schimke 8486cba277 port bitmatrix_curosor readpattern 2023-03-21 11:22:31 -05:00
Henry Schimke 94ad7753c2 Merge branch 'main' into port_cpp_qrcode 2023-03-21 10:19:25 -05:00
Henry Schimke 890fb4901f v0.4.3 2023-03-21 10:16:46 -05:00
Henry Schimke 2b3ed37924 add tests for bitmatrix out of bounds panic
addresses #27 and #28
2023-03-21 09:57:58 -05:00
Henry A SchimkeandGitHub 94d07a1b65 Merge pull request #29 from Olssdani/fix_out_of_bound_index
Fixed crash because of out of bound indices for MaxiCode.
2023-03-21 09:46:59 -05:00
Henry Schimke d183a326aa in progress 2023-03-21 09:19:52 -05:00
Henry Schimke 638c2ac72f port DimensionOffset and DimensionStep 2023-03-20 17:10:05 -05:00
Henry Schimke f852e14331 move some functions around 2023-03-20 16:39:19 -05:00
Henry Schimke 372bb454c0 reorganize some impl blocks 2023-03-20 15:33:01 -05:00
Henry Schimke 0df86d4fd4 detector builds but does not work 2023-03-20 12:12:25 -05:00
Henry Schimke 3d75de7183 DetectPureQR ported 2023-03-20 11:09:06 -05:00
Henry Schimke 75313c26f8 Merge branch 'main' into port_cpp_qrcode 2023-03-20 10:29:14 -05:00
Henry Schimke 33ea52c3f7 Add test case for cropped, transposed, luma8 image 2023-03-20 10:00:24 -05:00
Henry Schimke a260469ee6 update to v0.4.2 2023-03-19 15:33:32 -05:00
Henry Schimke 4ffeeb9d7f Fix cropped image support in luma source
This is related to #27, corrects issue introduced with previous fix.
2023-03-19 15:32:41 -05:00
Henry Schimke f3af7d72a9 checking, midwork 2023-03-19 15:03:46 -05:00
Henry Schimke 4c8db1f73f in_progress port from cpp 2023-03-18 15:48:47 -05:00
Henry Schimke 07b934283b incomplete port of detector 2023-03-16 14:47:37 -05:00
Henry Schimke 0a3ba35d4e Merge branch 'main' into port_cpp_qrcode 2023-03-16 14:28:33 -05:00
Henry Schimke 4bb228073a fix rotation regression for Luma8
part of #27. This is an issue with get_matrix after a rotation.
2023-03-16 14:01:31 -05:00
Henry Schimke 112e20c9c3 fix version 2023-03-16 13:41:04 -05:00
Henry Schimke 9527bb28f9 fix versions 2023-03-16 13:39:17 -05:00
Henry Schimke d379dc9ded v0.4.0: This is a breaking change 2023-03-16 13:37:13 -05:00
Henry Schimke 963c9da285 correct Luma8LuminanceSource rotation
This addresses #27, it adds a test case to validate square, wide, and tall variants of the rotation matrix. The current implementation is slower and less memor efficient for rectangular matrixes.
2023-03-16 13:32:20 -05:00
Henry Schimke e49f873bc9 incomplete port of detector 2023-03-13 12:35:58 -05:00
Henry Schimke 5d6f4b1d94 clippy --fix 2023-03-12 11:53:52 -05:00
Henry Schimke 3c575ed2d3 port concentric finder (no test) 2023-03-12 11:49:33 -05:00
Henry Schimke 80c5e57632 does not build, mostly ported concentric_finder 2023-03-11 19:06:55 -06:00
Henry Schimke 520764e320 ported tests pass 2023-03-10 16:26:49 -06:00
Henry Schimke bd2189cf08 ported pattern.h, no tests pass 2023-03-10 13:36:05 -06:00
Henry Schimke 5593a8f8f7 move ported cpp_shared resources 2023-03-08 18:51:48 -06:00
Henry Schimke 111baaab81 clippy --fix 2023-03-08 14:37:45 -06:00
Henry Schimke e1332c8010 port DefaultGridSampler 2023-03-08 14:36:43 -06:00
Henry Schimke 717b74fd99 cleanup point transform code 2023-03-08 12:46:52 -06:00
Henry Schimke 2b7d053646 Promote Quadrilateral to default
The library now uses the `Quadrilateral` struct when handling sets of four points in `GridSampler` and `PerspectiveTransform`
2023-03-08 11:17:43 -06:00
Henry Schimke d5e6a5d0a7 update eci_string_builder
This change modifies how the ECIStringBuilder works. Perviously it encoded data as it went, whenever the eci state changed. The new method only decodes data when it is requested, simply appending bytes as it goes otherwise.

This should improve performance in a few situations.

This release also uses the ECIStringBuilder in qrcodes, which previously handled their own decoding.
2023-03-07 17:09:42 -06:00
Henry Schimke 19d5b6276c cargo fmt 2023-03-06 12:24:47 -06:00
Henry Schimke 921b51a405 enable all eci charactersets
This is not enabled for the eci encoder set builder, in which the encoding crate results in some encoders being equivelent and thus resulting in odd test cases.
2023-03-06 12:23:53 -06:00
Henry Schimke 284067f582 multi-decode helpers use MultiUseMultiFormatReader 2023-03-06 11:38:06 -06:00
Henry Schimke bef21af81e clippy --fix && fmt 2023-03-06 11:37:37 -06:00