Commit Graph

13 Commits

Author SHA1 Message Date
ssrlive
a812a96fad clang-format find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format --verbose --style=file -i {} \; 2021-10-07 06:06:52 +00:00
Godfrey Raftesath
fe28497bd0 iphone: add three missing images
Those are referred by bar-help.html file.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-07 10:19:42 +02:00
Godfrey Raftesath
629677032e iphone: fix support for devs running iOS < 11
Ensures the height of the bottom toolbar in the Reader View
Controller is correct on devices with iOS < 11.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-07 09:05:26 +02:00
Mauro Carvalho Chehab
2393241892 iphone: fix some wrong file modes
Add execution permission for files under iphone/bin and remove
for an html file.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-07 09:02:14 +02:00
Godfrey Raftesath
66bcbd429e iPhone: ITMS-90809: solve deprecated API Usage: UIWebView
As reported at:
	https://github.com/mchehab/zbar/issues/71

The iPhone support was using a deprecated API. This patch solves
that:

- Added WKWebView navigationDelegate to HelpController so that web
  view is unhidden once content has loaded;

- Added constraints so that toolbars in HelpController and
  ReaderController are positioned better for iPhoneX family as
  well as other idevices;

- ReaderController now uses presentViewController instead of displaying
  the Help View;

- Added 3 missing images used in HelpController web view;

- Updated bar-help.html so that content fills WKWebView.

Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
2020-04-07 08:57:29 +02:00
Animal451
2952b306e1
Finally made my mind up about that delegate...
Not needed, WKWebView doesn't have a delegate.
2020-01-06 13:52:27 +00:00
Animal451
4f7d45390e
Update ZBarHelpController.m 2020-01-06 13:49:05 +00:00
Animal451
c7f3f16980
Update ZBarHelpController.m to use WKWebView
As per Issue #17, Apple have deprecated UIWebView, so these changes are to get ZBar iPhone to user the WKWebView instead.
2020-01-06 13:45:44 +00:00
Animal451
7c618dc76e
Update ZBarHelpController.h to use WKWebView
As per Issue #17, Apple have deprecated UIWebView and will refuse future App Store submissions for apps using that API.
2020-01-06 13:40:42 +00:00
Mauro Carvalho Chehab
b3f2ec0c02 LICENSE: use the markdown version of LGPL version 2.1
As we're using markdown for the text files, use the LGPL 2.1
markdown version obtained from

    https://www.gnu.org/licenses/old-licenses/lgpl-2.1.html

No changes at the license. We're just using the markdown
version.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-13 21:13:23 -03:00
Boyuan Yang
d1397ff444 Fix typos found by codespell. 2019-02-14 15:52:11 -05:00
Mauro Carvalho Chehab
edcf08b49e Add support for using versions with major.minor.patch
If patch is not specified, it will default to zero.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2018-08-08 10:11:02 -03:00
Mauro Carvalho Chehab
cd5b63e5b5 Update to the very latest version of zbar
zbar was using a 2010 snapshot of its hg tree.
Take a new snapshot to get zbar's improvements.

[Imported from Fedora 26 tree]
2017-03-25 23:04:38 -03:00