From 8c76c629a81768977ab9a2e8ced80ebe62045506 Mon Sep 17 00:00:00 2001 From: Karel Matas Date: Tue, 18 Jun 2013 14:21:28 +0200 Subject: [PATCH] added supporting scripts --- aoi.sh | 5 +++ notes | 8 +++++ valgrind.sh | 7 ++++ valgrind.suppressions | 93 +++++++++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 113 insertions(+) create mode 100755 aoi.sh create mode 100755 notes create mode 100755 valgrind.sh create mode 100755 valgrind.suppressions diff --git a/aoi.sh b/aoi.sh new file mode 100755 index 0000000..c68ae1b --- /dev/null +++ b/aoi.sh @@ -0,0 +1,5 @@ +#!/bin/sh + +strip -s ./aoi + +./aoi -config "font/base_size"=18 diff --git a/notes b/notes new file mode 100755 index 0000000..cfb5833 --- /dev/null +++ b/notes @@ -0,0 +1,8 @@ +testovat: + ana + kakeru + torikaeru + +zobrazovat xref: uzitecne daje (viz kakeru) + +dicview: tag 'xref' - FONT_KANJI () diff --git a/valgrind.sh b/valgrind.sh new file mode 100755 index 0000000..905f94b --- /dev/null +++ b/valgrind.sh @@ -0,0 +1,7 @@ +#!/bin/sh + +valgrind \ + --leak-check=yes \ + --gen-suppressions=yes \ + --suppressions=valgrind.suppressions \ +./aoi diff --git a/valgrind.suppressions b/valgrind.suppressions new file mode 100755 index 0000000..808847a --- /dev/null +++ b/valgrind.suppressions @@ -0,0 +1,93 @@ +{ + FLTK-XGetWindowProperty + Memcheck:Leak + fun:malloc + fun:XGetWindowProperty + obj:/usr/lib/libfltk.so.1.3 + fun:_Z9fl_handleRK7_XEvent + obj:/usr/lib/libfltk.so.1.3 + fun:_Z7fl_waitd + fun:_ZN2Fl4waitEd + fun:_ZN2Fl3runEv + fun:_ZN6aoi_ui3GUI3runEiPPc + fun:_ZN3aoi3App3runEiPPc + fun:main +} + +{ + FLTK-XCreateFontSet + Memcheck:Leak + fun:malloc + fun:XCreateFontSet + fun:_Z9fl_new_icv + fun:_Z11fl_init_ximv + fun:_Z15fl_open_displayP9_XDisplay + fun:_ZN2Fl17get_system_colorsEv + fun:_ZN9Fl_Window4showEiPPc + fun:_ZN16Fl_Double_Window4showEiPPc + fun:_ZN6aoi_ui3GUI3runEiPPc + fun:_ZN3aoi3App3runEiPPc + fun:main +} + +{ + FLTK-XGetWindowProperty-2 + Memcheck:Leak + fun:malloc + fun:XGetWindowProperty + obj:/usr/lib/libfltk.so.1.3 + fun:_Z9fl_handleRK7_XEvent + obj:/usr/lib/libfltk.so.1.3 + fun:_Z7fl_waitd + fun:_ZN2Fl4waitEd + fun:_ZN2Fl3runEv + fun:main +} +{ + + Memcheck:Leak + fun:malloc + fun:XGetWindowProperty + obj:/usr/lib/libfltk.so.1.3 + fun:_Z9fl_handleRK7_XEvent + obj:/usr/lib/libfltk.so.1.3 + fun:_Z7fl_waitd + fun:_ZN2Fl4waitEd + fun:_ZN2Fl5checkEv + fun:_ZN3aoi3AppC1Ev + fun:main +} +{ + + Memcheck:Leak + fun:malloc + fun:sqlite3MemMalloc + fun:mallocWithAlarm + fun:sqlite3Malloc + fun:sqlite3_malloc + fun:unixOpen + fun:sqlite3OsOpen + fun:sqlite3PagerOpen + fun:sqlite3BtreeOpen + fun:openDatabase + fun:sqlite3_open + fun:_ZN7SQLite37SQLite34openEPKc +} +{ + + Memcheck:Leak + fun:malloc + fun:XCreateFontSet + fun:_Z9fl_new_icv + fun:_Z11fl_init_ximv + fun:_Z15fl_open_displayP9_XDisplay + fun:_ZN18Fl_Font_DescriptorC1EPKcii + obj:/usr/lib/libfltk.so.1.3 + fun:_ZN6aoi_ui13ComponentViewC1EiiiiPKc + fun:_ZN6aoi_ui10MainWindowC1EPNS_3GUIEii + fun:_ZN6aoi_ui3GUIC1EPN3aoi3AppE + fun:_ZN3aoi3AppC1Ev + fun:main +} + + -- 2.11.4.GIT