Commit Graph

12 Commits

Author SHA1 Message Date
ssrlive
f0b3ab2324 find . -regex '.*\.\(cpp\|hpp\|cu\|c\|h\)' -exec clang-format --verbose --style=file -i {} \; 2021-10-07 09:19:48 +00:00
ssrlive
cf3d385492 Synchronize with upstream code. 2021-10-07 16:38:06 +08:00
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
Mauro Carvalho Chehab
fab5eaa49d python: suppress an unnoying warning
As described at:
	http://python3porting.com/cextensions.html

PyObject should be replaced by PyVarObject on python3. This
is backward-compatible with python 2.6 and python 2.7. So,
it should work fine for all practical purposes.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-12 07:31:24 -03:00
Mauro Carvalho Chehab
77dfb98a18 python/image.c: fix unicode handling
On python 3, everything is converted internally to utf-8.
So, in order to have the same API to work with both python2
and python3, we need to teach python C API bindings to handle
unicode too.

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-05-10 17:32:53 -03:00
Jonas Jelten
8b2a1c245a port to python3 2019-05-05 19:13:59 +02: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
spadix@users.sourceforge.net
86f8aa606e cleanup warnings from newer gccs 2009-10-15 17:11:33 -04:00
spadix@users.sourceforge.net
47b8945076 extract explicit result container, separate from image
- remove (broken/tmp) converted image result sharing
    - add explicit symbol recycle API, update processor/widgets to use
    - cleanup and update C++ API
    - update Python/Perl APIs
    - fix broken and add new Python/Perl tests

--HG--
branch : qr
2009-09-24 11:35:22 -04:00
spadix@users.sf.net
d584d44b58 fix symbol leaks
- add symbol reference counting
2009-08-03 15:02:04 -04:00
spadix@users.sf.net
8c5c489309 * fixup some perl distribution details
* project name change: everything "zebra" becomes "zbar"
  * remove old logo
2009-04-17 22:26:38 +00:00
spadix@users.sf.net
155aaa265a * add first pass python bindings!
* fix perl mortality bug
  * add new cfg constants to perl
  * fix perl doc handler ref
  * fix processor set_active error propagation
  * add wiki examples (scan_image.*, processor.*)
2009-03-26 01:21:48 +00:00