[beast: 43/43] Merge branch 'assert-return'
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 43/43] Merge branch 'assert-return'
- Date: Mon, 26 Jun 2017 23:30:55 +0000 (UTC)
commit fabb61bf7bcb110c9c97e1648a84c2cf10e22808
Merge: 213ad36 5f9477f
Author: Tim Janik <timj gnu org>
Date: Mon Jun 26 23:49:36 2017 +0200
Merge branch 'assert-return'
* assert-return:
SFI: small BSE_ISLIKELY and BSE_UNLIKELY optimization
TESTS: use Bse::warning() for runtime warnings
TOOLS: use Bse::warning() for runtime warnings
BST: use assert_return and Bse::warning() for runtime warnings
GXK: use Bse::warning() for runtime warnings
PLUGINS: use assert_return_unreached() instead of g_error
BSE: use assert_return() and Bse::warning() for runtime warnings
SFI: add (disabled) helper code to deprecate GLib utility macros
GXK: glewidgets.c: silence compiler
SFI: define and use app_error() for sfidl
SFI: use Bse::warning() for runtime warnings
SFI: remove obsolete sfi_warning, sfi_info, sfi_diag
TOOLS: use Bse::info() for runtime messages
BST: use Bse::info() for runtime messages
DRIVERS: use Bse::info() for runtime messages
BSE: use Bse::info() for runtime messages
SFI: use Bse::info() for runtime messages
TOOLS: remove unused file sfiutils.cc
TESTS: use test_error() for failing tests
BST: use Bse::warning() for runtime warnings
SFI: remove sfi_error() which shouldn't be called by a library
BSE: tests: use test_error() for failing tests
SFI: provide test_error() for failing tests
TOOLS: bsewavetool.cc: exit with our own app_error() for bsewavetool errors
BSE: avoid sfi_error in library code
BSE: avoid g_error in library code
SFI: avoid g_error in library code
TESTS: only use Bse::assert_return{_unreached} and apply small fixes
TOOLS: only use Bse::assert_return{_unreached}
BST: only use Bse::assert_return{_unreached} and Bse::warning everywhere
GXK: only use Bse::assert_return{_unreached}
PLUGINS: only use Bse::assert_return{_unreached}
SFI: sfidl.cc: main: abort if an assertion is triggered
BSE: tests/filtertest.cc: stop program execution on filter assertion failure
SFI: provide brakpoint()
BSE: only use Bse::assert_return{_unreached} and Bse::warning everywhere
SFI: provide return_unless() and assertion_failed_hook()
V8BSE: build v8bse module with BSE_CONVENIENCE
DOCS: build docs with BSE_CONVENIENCE
SFI: use only assert_return and assert_return_unreached instead of assert
SFI: provide assert_return and assert_return_unreached for BSE_CONVENIENCE
Signed-off-by: Tim Janik <timj gnu org>
beast-gtk/bstapp.cc | 4 +-
beast-gtk/bstbuseditor.cc | 2 +-
beast-gtk/bstdbmeter.cc | 2 +-
beast-gtk/bsteventrollctrl.cc | 2 +-
beast-gtk/bstfiledialog.cc | 4 +-
beast-gtk/bstgconfig.cc | 2 +-
beast-gtk/bstkeybindings.cc | 6 +-
beast-gtk/bstknob.cc | 2 +-
beast-gtk/bstmain.cc | 10 +-
beast-gtk/bstmenus.cc | 4 +-
beast-gtk/bstmsgabsorb.cc | 6 +-
beast-gtk/bstparam.cc | 6 +-
beast-gtk/bstpatterncolumns.cc | 4 +-
beast-gtk/bstpianorollctrl.cc | 4 +-
beast-gtk/bstplayback.cc | 2 +-
beast-gtk/bstpreferences.cc | 6 +-
beast-gtk/bstprocedure.cc | 16 +-
beast-gtk/bstqsampler.cc | 20 +-
beast-gtk/bstscrollgraph.cc | 2 +-
beast-gtk/bstskinconfig.cc | 2 +-
beast-gtk/bstsnetrouter.cc | 8 +-
beast-gtk/bstsoundfontpresetview.cc | 2 +-
beast-gtk/bstsoundfontview.cc | 2 +-
beast-gtk/bstusermessage.cc | 2 +-
beast-gtk/bstutils.cc | 13 +-
beast-gtk/bstwaveeditor.cc | 2 +-
beast-gtk/gxk/glewidgets.c | 24 +-
beast-gtk/gxk/gxkaction.cc | 4 +-
beast-gtk/gxk/gxkassortment.cc | 2 +-
beast-gtk/gxk/gxkcanvas.cc | 4 +-
beast-gtk/gxk/gxkimagecache.cc | 2 +-
beast-gtk/gxk/gxkparam.cc | 4 +-
beast-gtk/gxk/gxkrackcovers.cc | 8 +-
beast-gtk/gxk/gxkradget.cc | 35 ++-
beast-gtk/gxk/gxkradgetfactory.cc | 2 +-
beast-gtk/gxk/gxksimplelabel.cc | 4 +-
beast-gtk/gxk/gxkspline.cc | 2 +-
beast-gtk/gxk/gxkstock.cc | 2 +-
beast-gtk/gxk/gxkutils.cc | 16 +-
bse/bsebiquadfilter.cc | 10 +-
bse/bsebus.cc | 22 +-
bse/bsecategories.cc | 6 +-
bse/bseconstant.cc | 2 +-
bse/bsecontainer.cc | 15 +-
bse/bsecontextmerger.cc | 8 +-
bse/bsecxxbase.cc | 8 +-
bse/bsedatahandle-fir.cc | 2 +-
bse/bsedatahandle-resample.cc | 10 +-
bse/bsedevice.cc | 4 +-
bse/bseeditablesample.cc | 2 +-
bse/bseengine.cc | 32 +-
bse/bseenginemaster.cc | 51 ++--
bse/bseengineschedule.cc | 38 +--
bse/bseengineutils.cc | 16 +-
bse/bseenums.cc | 2 +-
bse/bsegconfig.cc | 2 +-
bse/bseglue.cc | 50 ++--
bse/bseinstrumentinput.cc | 10 +-
bse/bseinstrumentoutput.cc | 10 +-
bse/bseitem.cc | 50 ++--
bse/bsejanitor.cc | 2 +-
bse/bseladspa.cc | 2 +-
bse/bseladspamodule.cc | 18 +-
bse/bseloader-aiff.cc | 2 +-
bse/bseloader-bsewave.cc | 4 +-
bse/bseloader-flac.cc | 2 +-
bse/bseloader-guspatch.cc | 2 +-
bse/bseloader-mad.cc | 2 +-
bse/bseloader-oggvorbis.cc | 2 +-
bse/bseloader-wav.cc | 10 +-
bse/bsemain.cc | 37 ++-
bse/bsemidicontroller.cc | 8 +-
bse/bsemididecoder.cc | 10 +-
bse/bsemididevice-null.cc | 2 +-
bse/bsemididevice.cc | 4 +-
bse/bsemidifile.cc | 2 +-
bse/bsemidiinput.cc | 8 +-
bse/bsemidireceiver.cc | 62 ++--
bse/bsemidivoice.cc | 26 +-
bse/bseobject.cc | 40 ++--
bse/bseparam.cc | 4 +-
bse/bsepart.cc | 20 +-
bse/bsepcmdevice-oss.cc | 2 +-
bse/bsepcmdevice.cc | 4 +-
bse/bsepcminput.cc | 4 +-
bse/bsepcmoutput.cc | 4 +-
bse/bsepcmwriter.cc | 4 +-
bse/bseplugin.cc | 34 +-
bse/bseprobe.cc | 30 +-
bse/bseprocedure.cc | 94 +++---
bse/bseprocidl.cc | 4 +-
bse/bseproject.cc | 10 +-
bse/bsesequencer.cc | 34 +-
bse/bseserver.cc | 37 ++-
bse/bsesnet.cc | 26 +-
bse/bsesnooper.cc | 2 +-
bse/bsesong.cc | 11 +-
bse/bsesoundfont.cc | 18 +-
bse/bsesoundfontosc.cc | 12 +-
bse/bsesoundfontrepo.cc | 12 +-
bse/bsesource.cc | 68 ++---
bse/bsestandardosc.cc | 12 +-
bse/bsestandardsynths.cc | 2 +-
bse/bsestartup.cc | 15 +-
bse/bsestorage.cc | 11 +-
bse/bsesubiport.cc | 2 +-
bse/bsesuboport.cc | 2 +-
bse/bsesubsynth.cc | 9 +-
bse/bsetrack.cc | 19 +-
bse/bsetype.cc | 6 +-
bse/bseutils.cc | 34 +--
bse/bsewave.cc | 4 +-
bse/bsewaveosc.cc | 12 +-
bse/bsewaverepo.cc | 6 +-
bse/gsldatacache.cc | 10 +-
bse/gsldatahandle-mad.cc | 5 +-
bse/gsldatahandle-vorbis.cc | 2 +-
bse/gsldatahandle.cc | 12 +-
bse/gsldatautils.cc | 28 +-
bse/gslfilehash.cc | 5 +-
bse/gslfilter.cc | 10 +-
bse/gslmagic.cc | 8 +-
bse/gslvorbis-enc.cc | 2 +-
bse/gslwavechunk.cc | 4 +-
bse/gslwaveosc.cc | 8 +-
bse/tests/blocktests.cc | 11 +-
bse/tests/filtertest.cc | 14 +-
bse/tests/firhandle.cc | 18 +-
bse/tests/loophandle.cc | 9 +-
bse/tests/resamplehandle.cc | 7 +-
bse/tests/subnormals.cc | 12 +-
docs/doxygen.cfg | 2 +-
drivers/bsepcmdevice-alsa.cc | 2 +-
ebeast/v8bse/Makefile.am | 2 +-
plugins/bseadder.cc | 6 +-
plugins/bseatandistort.cc | 4 +-
plugins/bseblockutils.cc | 24 +-
plugins/bseiirfilter.cc | 6 +-
plugins/bsemixer.cc | 4 +-
plugins/bsemult.cc | 10 +-
plugins/bsesequencer.cc | 4 +-
plugins/bsesimpleadsr.cc | 18 +-
plugins/davcanyondelay.cc | 8 +-
plugins/davsyndrum.cc | 8 +-
plugins/davxtalstrings.cc | 6 +-
sfi/bcore.hh | 33 ++-
sfi/glib-extra.cc | 4 +-
sfi/glib-extra.hh | 30 ++-
sfi/sfidl-cbase.cc | 20 +-
sfi/sfidl-corec.cc | 2 +-
sfi/sfidl-corecxx.cc | 12 +-
sfi/sfidl-factory.cc | 2 +-
sfi/sfidl-generator.cc | 4 +-
sfi/sfidl-namespace.cc | 2 +-
sfi/sfidl-parser.cc | 14 +-
sfi/sfidl.cc | 4 +
sfi/sfifilecrawler.cc | 6 +-
sfi/sfiglue.cc | 19 +-
sfi/sfiglue.hh | 17 +-
sfi/sfigluecodec.cc | 18 +-
sfi/sfiglueproxy.cc | 30 +-
sfi/sfiparams.cc | 8 +-
sfi/sfiring.cc | 4 +-
sfi/sfiserial.cc | 6 +-
sfi/sfistore.cc | 40 ++-
sfi/sfitests.hh | 8 +
sfi/sfitime.cc | 8 +-
sfi/sfivalues.cc | 2 +-
sfi/sfivmarshal.cc | 4 +-
sfi/sfiwrapper.cc | 2 +-
sfi/sfiwrapper.hh | 6 -
sfi/tests/testsfidl.cc | 2 +
tests/latency/bselatencytest.cc | 5 +-
tests/testresampler.cc | 2 +-
tests/testresamplerq.cc | 12 +-
tests/testwavechunk.cc | 6 +-
tools/bsefextract.cc | 4 +-
tools/bsewavetool.cc | 159 +++++-----
tools/mathtool.cc | 2 +-
tools/sfiutils.cc | 608 -----------------------------------
180 files changed, 1113 insertions(+), 1668 deletions(-)
---
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]