Commit Graph
100 Commits
Author SHA1 Message Date
Henry Schimke 2664094767 Modify the concentric finder to guard array bounds
A potential resolution to Issue #36. In some cases the array positions suggested by the corner_positions array may be out of bounds for the points array. To resolve this, guard against out of bounds checks. In other cases, where the positions are matched, guard against having the start position of a slice go beyond the end position of the slice.
2023-11-06 09:52:39 -06:00
Henry Schimke 62e49b376d clippy --fix suggestions 2023-10-28 11:11:30 -05:00
Henry Schimke d05240ec68 bump version 2023-10-28 11:04:19 -05:00
Henry Schimke 5ea03cc066 updated cargo fmt 2023-10-28 11:04:14 -05:00
Henry Schimke 4c9ec95d00 basic clippy fixes 2023-10-28 10:57:42 -05:00
Henry Schimke 88a4083799 update to 0.4.9 2023-08-03 15:20:49 -05:00
Henry Schimke 09673e2381 move to more modern SVG read methods 2023-08-03 15:19:02 -05:00
Henry Schimke bcb97f639e update to 0.4.8 2023-07-13 11:54:15 -05:00
Henry Schimke 163bbd8576 versoin update 0.4.7 2023-06-01 16:11:51 -05:00
Henry Schimke e633b10802 cleanup maxicode detector a bit 2023-05-31 10:32:37 -05:00
Henry Schimke 00fcb50b10 clippy 2023-05-30 16:13:23 -05:00
Henry Schimke 2ef19d37df c++ 33ce0dd7ece806083a631add36b1735a5a600763 2023-05-30 16:12:15 -05:00
Henry Schimke 94a2e9f418 c++ 1169e84911a8fe19a8fe21fe87a96d4afc8bbae9 2023-05-30 16:12:01 -05:00
Henry Schimke 22cabc2975 ported changes from c++ f80a9b923a14827cc78bb96703676c14ac61c1ed 2023-05-30 16:11:42 -05:00
Henry Schimke 07c1f17766 add minimum rust version to documentation
Fixes #35
2023-05-16 08:26:04 -05:00
Henry Schimke eb97b628a9 fix performance issue in PatternView:
Previously converting from a `PatternView` to an array reference required an intermediary step, and the creation of a new array on the stack. The new implementation can pass a reference to the underyling data directly, without that intermediary allocation.
2023-05-13 11:03:07 -05:00
Henry Schimke 7428d5b793 update cli 2023-05-10 09:52:04 -05:00
Henry Schimke 09c23ba450 update to v0.4.6 2023-05-10 09:44:44 -05:00
Henry A SchimkeandGitHub 59cf1df51f Merge pull request #34 from agkyunromb/rotate_fix&pdf417_compact_fix
fix rotate issue & fix size of pdf417_compact
2023-05-10 09:40:22 -05:00
Henry A SchimkeandGitHub 58b33d44cb add online link 2023-05-04 15:52:05 -05:00
Henry Schimke 08b50efe69 update version 2023-05-04 15:01:28 -05:00
Henry Schimke 4a1873f84d fix for all optional features 2023-05-04 15:00:54 -05:00
Henry Schimke 3fc068f49b swap point_f and point functions 2023-05-04 14:50:32 -05:00
Henry Schimke 80f06ecb3c move maxicode detector to PointT 2023-05-04 14:40:59 -05:00
Henry Schimke b508698334 more generic point in result_point_util 2023-05-04 14:15:14 -05:00
Henry Schimke 326da6808a clippy fix 2023-05-04 13:53:57 -05:00
Henry Schimke 634722a806 cargo clippy --fix 2023-05-04 13:45:57 -05:00
Henry Schimke e8501c1b6e cargo --fix 2023-05-04 13:17:15 -05:00
Henry Schimke 592a4d694c move more to generic points 2023-05-04 13:16:44 -05:00
Henry Schimke 74a830f462 switch to using Point in one-d-derive macros
Also start updates to make point more generic, still not complete or fully implemented.

Some code cleanup
2023-04-29 17:51:26 -05:00
Henry Schimke e0305549e3 update readme 2023-04-29 10:56:39 -05:00
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