Nikos Ftylitakis
82fcb99cf1
trying to fix failing compilation on MSVC as reported by appveyor.
2020-02-12 12:27:21 +02:00
Nikos Ftylitakis
9d70b9a33b
Change all Version* usages to Ref<Version> to avoid valrgind of reporting memory leak on static Version objects. #155
2020-02-12 11:37:14 +02:00
Nikos Ftylitakis
f0a78867d6
code cleanup in QZXing.cpp to properly respect 'tryHarder' operation and avoid executing extra decoding operations unless instacted. #151
2020-02-03 11:15:42 +02:00
Nikos Ftylitakis
6e14a1167f
Update implementation of FinderPatternFinder::selectBestPatterns from latest zxing code.
...
- In special cases, the previous code was unable to select the correct alignment centers on the qr code even though the centers were properly detected.
#152
2020-02-03 10:52:27 +02:00
Nikos Ftylitakis
2a58c5032b
Move the conversion of Barcode Encode data from the QZXing:encodeData to QZXingImageProvider. The URL-formatted input is provided by the QML code so the conversion must be executed only then. If a user executes QZXing::encodeData directly, it must encode the data as is.
2020-01-13 11:32:58 +02:00
Nikos Ftylitakis
c1f4379ec7
@BarcodeEncoder: translate the URL persentage encoded special character to the corresponding UTF8 code before encoding to QR Code. #134
2020-01-13 11:27:31 +02:00
Leroy.H.Y
1082c3b9e5
[fix] Fixed several warnings and use QElapsedTimer ( #150 )
...
* [fix] Fixed several warnings and use QElapsedTimer
* [fix] Now using explicit type for c++98
2019-12-21 20:35:05 +02:00
Nikos Ftylitakis
bad0b6551c
Added information in README for the updated method of using the test resources for unit testing. This should held on #149
2019-12-20 13:06:59 +02:00
Nikos Ftylitakis
7494bb0ddf
Merge branch 'master' of https://github.com/ftylitak/qzxing
2019-12-20 12:53:48 +02:00
Nikos Ftylitakis
e74778d92b
Add the test resources as a submodule to qzxing-test-resources resository that has been created
...
Adapted unit tests to utilize the new path.
2019-12-20 12:53:12 +02:00
Nikos Ftylitakis
82c8ff217f
deleting all test resources as they will be pulled on demand as a submodule.
2019-12-20 12:32:23 +02:00
Jack
f4d1aa5a95
Add PRL exports for macros in pro file ( #148 )
2019-12-20 12:10:43 +02:00
Jack
686454f869
Fix private include ( #147 )
...
Fix private include to avoid failure for some build systems.
2019-12-13 18:00:02 +02:00
JamesAtChamSys
1b10ebf2ea
Do not include Qt QML headers when not building for QML. ( #146 )
...
This fixes building without the qzxing_qml config option on systems
without the Qt QML headers (e.g. where Qt has been manually built
without the qtdeclarative module).
2019-12-12 09:36:53 +02:00
Nikos Ftylitakis
bbd6f2a56c
Fix character encoding when encoding Qr Codes. This should resolve #109 .
2019-11-14 09:59:22 +02:00
Nikos Ftylitakis
45a51c98d1
Merge branch 'master' of https://github.com/ftylitak/qzxing
2019-11-06 15:03:09 +02:00
Nikos Ftylitakis
21fd399a78
Minor refactorings / code cleanups executed after static code analysis.
2019-11-06 15:02:07 +02:00
Nikos Ftylitakis
3c0d206581
Fix bug in Qr code Encoder for input data whose length was more than 106 characters or more than 153 alphanumerics.
...
Fixes #83 and #142
2019-11-06 14:59:16 +02:00
ftylitak
dbc01a383c
Restore old code for decoding YUV420P. By mistake it was merged with changes that related to NV21(MACOS). possible fix for #143
2019-10-23 22:30:11 +03:00
Nikos Ftylitakis
4b7f8b6a71
complementary commit for 10ba99586e955ae1be12114fb7a7bb60e0ba809e
2019-10-15 10:16:01 +03:00
Nikos Ftylitakis
10ba99586e
replace all occurences of '#include <QZXing.h>' with '#include QZXing.h'. Possible fix for #81 #118 #123
2019-10-15 10:04:09 +03:00
João Barbosa
3957de251b
Fix NV21 conversion ( #124 )
2019-10-04 10:42:54 +03:00
Nikos Ftylitakis
742f3d9729
minor code cleanup, remove forgotten comment.
2019-10-03 17:13:56 +03:00
Nikos Ftylitakis
80ea0ec41b
Merge branch 'promag-2019-08-add-transparent-feature'
2019-10-03 17:11:29 +03:00
Nikos Ftylitakis
2bf62bcf3f
update from master
2019-10-03 17:11:12 +03:00
Nikos Ftylitakis
b55e749b5a
update UI to be able to play around with background colors and transparency
2019-10-03 17:08:23 +03:00
Nikolaos Ftylitakis
6070e98f38
Add conditional builds in pro ( #141 )
...
* first refactoring on QZXing.pri to group sources based on type of barcode and operation
* Moved the newly created source code groups of functionalities to separate pri file (QZXing-components.pri).
* In QZXing.pri include QZXing-components.pri having previously added as configuration all the available modules to preserve the backward compatibility.
* Deactivate parts of code based on the configuration of the pro file. (Work in Progress).
* fix compilation error
* Fix include issue when only "enable_encoder_qr_code" config is used through QZXing-components.pri
Update example projects to use QZXing-components.pri
2019-10-03 15:56:14 +03:00
João Barbosa
a919f7dc37
Add transparent option to image provider
2019-09-29 21:16:25 +01:00
Nikolaos Ftylitakis
1d1fd56d7e
Removed forgotten markings from previous conflict in README.md
2019-09-29 20:28:48 +03:00
Nikos Ftylitakis
703667de30
Merge branch 'promag-2019-08-add-border-feature' from #126 which adds support to
...
boarder option during Qr encoding.
2019-09-29 20:20:39 +03:00
Nikos Ftylitakis
c077e8e760
Created QZXingEncoderConfig struct to hold the configuration of the encode operation. It has been extracted to a struct since the parameters are increasing.
...
Created overloaded function for encodeData to use the QZXingEncoderConfig. The old implementation of encodeData now translates its arguments into a QZXingEncoderConfig and calls the overloaded function.
Updated regex in QZXingImageProvider to be aware of the new configuration of border.
Updated BarcodeEncoder example UI to allow the control of the border option.
2019-09-29 20:18:04 +03:00
Nikos Ftylitakis
a5cb500a74
merging promag:2019-08-add-border-feature to support the optional drawing of white border around the generated qr code.
2019-09-29 19:20:47 +03:00
Nikos Ftylitakis
7f48e0b542
fix bug in the regex of #140 . the slash character needed to be escaped.
2019-09-29 18:15:26 +03:00
Nikos Ftylitakis
98c2479ca3
fix typo at the configuration parameters of Encoder. Old value: "corretionLevel" -> new value "correctionLevel"
2019-09-29 01:43:03 +03:00
Nikolaos Ftylitakis
7678becbb9
Merge pull request #135 from Barto-Paja/Cmake
...
add Cmake support for building the library.
2019-09-29 00:46:34 +03:00
Nikos Ftylitakis
8c296ec32e
enhance #140 with an even stricter regex expression to minimize possibility of conflict between actual data and encoding options. Fixes #139
2019-09-29 00:24:54 +03:00
Nikolaos Ftylitakis
993ef49fe6
Merge pull request #140 from vasvlad/master
...
Fixed problem with symbol '?' in string for encoding
2019-09-29 00:14:58 +03:00
Uladzislau Vasilyeu
e112b315fb
Fixed problem with symbol '?' in string for encoding
2019-09-21 21:08:47 +03:00
Nikolaos Ftylitakis
9711217258
Merge pull request #136 from MKozimirov/fixes
...
Dereference null pointer - fix
2019-09-17 16:00:09 +03:00
Michael Kozimirov
eb246be44a
Dereference null pointer - fix
2019-09-16 15:04:15 +02:00
Bartosz Pajewski
19f4df96b3
Win32 update
...
Add defines used in WIN32 and MSVC
2019-09-15 15:39:51 +02:00
Bartosz Pajewski
62d6c61bf4
Merge remote-tracking branch 'upstream/master' into Cmake
2019-09-15 14:00:44 +02:00
Nikolaos Ftylitakis
12a269687f
Merge pull request #133 from Eism/rss_expanded_fix_upstream
...
RSS Expanded fix bug
2019-09-03 16:45:45 +03:00
Eism
7b2e69421c
fix bug
2019-09-03 14:42:24 +02:00
Nikolaos Ftylitakis
98318bc6a2
Merge pull request #128 from StefanoD/master
...
Memory Leak Fix
2019-08-14 12:18:02 +03:00
Nikolaos Ftylitakis
8b7528143d
Merge pull request #130 from spompelio/downcast_revert
...
fixed an issue preventing QR codes from being scanned
2019-08-14 12:05:41 +03:00
Stevyn Pompelio
bbde505d8c
fixed an issue preventing QR codes from being scanned
2019-08-13 12:50:31 -04:00
Stefano Di Martino
65085a7bb1
Move constructor implemenation to cpp
2019-08-09 07:55:45 +02:00
Stefano Di Martino
52626c6125
This fixes the compiler warning: "'Counted' has no out-of-line virtual
...
method definitions; its vtable will be emitted in every translation
unit"
This fixes especially memory leaks which we had with a certain gcc
version in release mode. This fixes potential #61 and #88
2019-08-08 22:26:48 +02:00
Stefano Di Martino
129caae5df
Fixing compiler warning: "Counted has no out-of-line virtual method
...
definitions; its vtable will be emitted in every translation unit"
This fixed especially a memory leak with a certain gcc version compiled
in release mode (no problems in debug mode and with older gcc versions).
This could potentially fix #88 and #61 .
2019-08-08 22:23:53 +02:00