Commit Graph

4 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
Mauro Carvalho Chehab
280b0a71f8 fix warnings: catching polymorphic type by value
qt/QZBar.cpp: In member function ‘virtual void zbar::QZBar::paintEvent(QPaintEvent*)’:
qt/QZBar.cpp:244:11: warning: catching polymorphic type ‘class zbar::Exception’ by value [-Wcatch-value=]
     catch(Exception) {
           ^~~~~~~~~
qt/QZBar.cpp: In member function ‘virtual void zbar::QZBar::resizeEvent(QResizeEvent*)’:
qt/QZBar.cpp:257:11: warning: catching polymorphic type ‘class zbar::Exception’ by value [-Wcatch-value=]
     catch(Exception) { /* ignore */ }
           ^~~~~~~~~
qt/QZBar.cpp: In member function ‘virtual void zbar::QZBar::changeEvent(QEvent*)’:
qt/QZBar.cpp:272:11: warning: catching polymorphic type ‘class zbar::Exception’ by value [-Wcatch-value=]
     catch(Exception) { /* ignore (FIXME do something w/error) */ }
           ^~~~~~~~~
qt/QZBar.cpp: In member function ‘void zbar::QZBar::attach()’:
qt/QZBar.cpp:293:11: warning: catching polymorphic type ‘class zbar::Exception’ by value [-Wcatch-value=]
     catch(Exception) { /* ignore (FIXME do something w/error) */ }
           ^~~~~~~~~

test/test_cpp.cpp: In function ‘int main(int, char**)’:
test/test_cpp.cpp:40:17: warning: catching polymorphic type ‘class zbar::ClosedError’ by value [-Wcatch-value=]
     catch(zbar::ClosedError) { }
                 ^~~~~~~~~~~

Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
2019-02-06 07:09:13 -02: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
f9ab9ecae7 * add first pass of GTK widget!
* add PyGTK widget wrapper
  * API change: modify window draw/redraw interface to improve interoperability
    with toolkits
    - add window locking for thread safety
    - zebra_window_draw() no longer actually "draws" anything
    => use window.draw to update the image from video thread
       then schedule window.redraw from toolkit GUI thread
  * fix missing C++ std lib dependencies
  * fix uninitialized handler/userdata bug in decoder
  * fix broken Code 128 checksum assertion
  * fix video destructor segfault
  * fix window destructor Xvideo errors (XID is unsigned...)
  * switch configure to use pkg-config to find most dependencies
2008-06-17 01:11:57 +00:00