[beast: 57/57] Merge branch 'avoid-using-rapicorn'



commit 0b5964ba3bfedb697cd2b2b7e4a68c0debe8e58a
Merge: 341ed51 f5a867d
Author: Tim Janik <timj gnu org>
Date:   Sun Jul 23 11:50:25 2017 +0200

    Merge branch 'avoid-using-rapicorn'
    
    Avoid generally using namespace Rapicorn, import individual components.
    
    * avoid-using-rapicorn:
      SFI: tests: add simple --backtrace check
      SFI: tests/misctests.cc: add --backtrace option
      SFI: tests: add test_timestamps()
      SFI: cxxaux: add BSE_CPP_PASTE2()
      SFI: platform: add backtrace generation API (GLIBC specific)
      SFI: platform: add timestamp handling
      SFI: remove test_error, use fatal_error instead
      SFI: remove largely unused TEST_CALIBRATION, TICK, TACK macros
      BST: use Bse namespace elements instead of Rapicorn
      TESTS: use Bse namespace elements instead of Rapicorn
      EBEAST: use Bse namespace elements instead of Rapicorn
      SFI: import url_show
      BSE: use more Bse namespace elements instead of Rapicorn
      SFI: import threading and memory utilities from Rapicorn into Bse
      SFI: use Bse namespace elements instead of Rapicorn where possible
      SFI: rename fatal_error() and add a disclaimer to avoid it in libraries
      BST: adjust for having 'Aida' as independent toplevel namespace
      EBEAST: adjust for having 'Aida' as independent toplevel namespace
      BSE: adjust for having 'Aida' as independent toplevel namespace
      SFI: prepare for having 'Aida' as independent toplevel namespace
      TESTS: use Bse::AlignedArray
      BST: fix Bse::Path references
      BSE: add using namespace Bse
        By adding more 'using namespace Bse', we can avoid 'using namespace
        Rapicorn'.
      SFI: cxxaux.hh: provide Bse::shared_ptr_cast<>()
        A shared_ptr_cast<>() is a shorthand for std::dynamic_pointer_cast<>(shared_from_this()).
      SFI: bcore.hh: provide Bse::Aida as an alias
      SFI: bcore: include platform.hh to provide program_alias(), etc
      PLUGINS: use std::mutex and std::lock_guard
      BSE: remove left over namespace import
      SFI: provide AlignedArray and related functions
      SFI: provide FriendAllocator<>
      SFI: provide Bse::Any, Bse::DataKey, Bse::DataListContainer
      SFI: add Bse::binary_lookup() and related functions
      SFI: provide Bse::EventFd, based on Aida::EventFd
      SFI: provide Bse::Spinlock type which supports static construction
      SFI: tests: add Path unit tests
      SFI: Bse: ensure stdint types, provide breakpoint, string_format, printerr, etc
      SFI: adjust to be 'using' only certain Rapicorn parts
      SFI: sfifilecrawler: use Bse::Path
      SFI: avoid using the entire Rapicorn namespace
      SFI: provide Bse::assertion_failed() and Bse::assertion_failed_hook()
      SFI: provide BSE_FORMAT()
      SFI: platform: add program_cwd, program_alias and application_name
      SFI: build formatter.cc, path.cc, strings.cc
      SFI: add the most commonly needed string handling utilities
      SFI: add Bse::Path namespace with the most commonly needed file path utilities
      SFI: add StringFormatter for type safe printf-like formatting in C++11
      SFI: print startup time when using debug output
      SFI: add current time and executable_name() prefix to debug messages
      BSE: platform: add Bse::executable_path() and Bse::executable_name()
        The executable_path() function is based on the MinGW function
        pathtools.c:get_executable_path(), licensed CC0.
      SFI: bcore: prefix info() output with program name
      SFI: cxxaux.hh: move basic type declarations and utility macros here
      SFI: add __format_arg__ attribute to _() to improve gcc warnings
      BSE: use std::lock_guard, conditions and std::mutex instead of homegrown primitives
      SFI: use std::condition_variable and std::mutex instead of homegrown primitives
      SFI: create sysconfig.h and provide BSE_SIZEOF_SYS_TYPESH_UINT
      HACKING.md: cancel 'Rapicorn-Migration' in favour of ebeast
        The UI migration to Rapicorn won't be performed, as described here:
                https://testbit.eu/beast-0-11-0-and-onwards/
    
    Signed-off-by: Tim Janik <timj gnu org>

 HACKING.md                       |    4 -
 beast-gtk/bstapp.cc              |    2 +-
 beast-gtk/bstbseutils.cc         |    2 +-
 beast-gtk/bstfiledialog.cc       |    2 +-
 beast-gtk/bstmain.cc             |   38 +-
 beast-gtk/bstparam-searchpath.cc |    2 +-
 beast-gtk/bstparam.cc            |   18 +-
 beast-gtk/bstparam.hh            |    2 +-
 beast-gtk/bstparamview.cc        |    8 +-
 beast-gtk/bstpartdialog.cc       |    4 +-
 beast-gtk/bstpatternctrl.cc      |    6 +-
 beast-gtk/bstprofiler.cc         |   16 +-
 beast-gtk/bstscrollgraph.cc      |    8 +-
 beast-gtk/bstsnetrouter.cc       |   14 +-
 beast-gtk/bstusermessage.cc      |    8 +-
 beast-gtk/bstusermessage.hh      |    2 +-
 beast-gtk/bstutils.cc            |   12 +-
 beast-gtk/bstutils.hh            |    2 +-
 bse/bse.hh                       |    4 +-
 bse/bsecategories.cc             |    6 +-
 bse/bseengine.cc                 |   54 +-
 bse/bseenginemaster.cc           |   27 +-
 bse/bseenginenode.hh             |    8 +-
 bse/bseengineutils.cc            |   26 +-
 bse/bseenums.cc                  |    2 +-
 bse/bsefilter.cc                 |    3 +-
 bse/bsegconfig.cc                |    2 +-
 bse/bseitem.cc                   |    2 +-
 bse/bseitem.hh                   |    2 +-
 bse/bseladspa.cc                 |    1 -
 bse/bsemain.cc                   |   20 +-
 bse/bsemath.cc                   |    4 +-
 bse/bsemididevice-oss.cc         |    2 +-
 bse/bsemidievent.cc              |    2 +-
 bse/bsemidireceiver.cc           |    2 +-
 bse/bseobject.hh                 |    8 +-
 bse/bsepcmdevice-oss.cc          |    2 +-
 bse/bsepcmwriter.cc              |    4 +-
 bse/bsepcmwriter.hh              |    2 +-
 bse/bseplugin.cc                 |    2 +-
 bse/bsesequencer.cc              |   17 +-
 bse/bsesequencer.hh              |    8 +-
 bse/bseserver.cc                 |    4 +-
 bse/bseserverinsert.hh           |    6 +-
 bse/bsesoundfont.cc              |    6 +-
 bse/bsesoundfontosc.cc           |    8 +-
 bse/bsesoundfontrepo.cc          |    2 +-
 bse/bsesoundfontrepo.hh          |    4 +-
 bse/bsestandardsynths.cc         |    4 +-
 bse/bsestartup.cc                |   31 +-
 bse/bsestartup.hh                |    5 +-
 bse/bsestorage.cc                |   54 +-
 bse/bsestorage.hh                |    8 +-
 bse/bsewave.cc                   |    2 +-
 bse/engine-mplan.txt             |    4 +-
 bse/gslcommon.cc                 |   14 +-
 bse/gsldatacache.cc              |   27 +-
 bse/gsldatacache.hh              |    2 +-
 bse/gslfilehash.cc               |    8 +-
 bse/gslfilehash.hh               |    2 +-
 bse/pybse/pysupport.hh           |    4 +-
 bse/tests/blocktests.cc          |    4 +-
 bse/tests/filtertest.cc          |    8 +-
 bse/tests/loophandle.cc          |    6 +-
 bse/tests/misctests.cc           |    3 +-
 bse/tests/resamplehandle.cc      |    6 +-
 configure.ac                     |   44 ++
 ebeast/v8bse/nodemodule.cc       |   12 +-
 plugins/davorgan.cc              |   10 +-
 sfi/.gitignore                   |    5 +-
 sfi/Makefile.am                  |    8 +-
 sfi/bcore.cc                     |  131 ++++-
 sfi/bcore.hh                     |  310 +++++++---
 sfi/cxxaux.hh                    |  183 ++++++
 sfi/formatter.cc                 |  509 +++++++++++++++
 sfi/formatter.hh                 |  169 +++++
 sfi/glib-extra.cc                |   13 +-
 sfi/glib-extra.hh                |   18 +-
 sfi/path.cc                      |  691 ++++++++++++++++++++
 sfi/path.hh                      |   75 +++
 sfi/platform.cc                  |  659 +++++++++++++++++++
 sfi/platform.hh                  |   50 ++
 sfi/sfi.hh                       |    4 -
 sfi/sficomport.cc                |    7 +-
 sfi/sficomport.hh                |    5 +-
 sfi/sfidl-cbase.cc               |    2 +-
 sfi/sfidl-parser.cc              |   14 +-
 sfi/sfidl-utils.hh               |    8 +-
 sfi/sfidl.cc                     |    1 +
 sfi/sfifilecrawler.cc            |    4 +-
 sfi/sfiglue.cc                   |    7 +-
 sfi/sfimemory.cc                 |    2 +-
 sfi/sfiparams.cc                 |    2 +-
 sfi/sfiparams.hh                 |    5 +-
 sfi/sfiserial.cc                 |    2 +-
 sfi/sfistore.cc                  |   14 +-
 sfi/sfistore.hh                  |    2 +-
 sfi/sfitests.hh                  |   72 ---
 sfi/sfivisitors.hh               |   23 +-
 sfi/sfiwrapper.cc                |    2 +-
 sfi/sfiwrapper.hh                |    2 +
 sfi/strings.cc                   | 1307 ++++++++++++++++++++++++++++++++++++++
 sfi/strings.hh                   |  190 ++++++
 sfi/sysconfig.h.in               |   10 +
 sfi/tests/Makefile.am            |   11 +
 sfi/tests/misctests.cc           |  145 ++++-
 tests/latency/bselatencytest.cc  |    4 +-
 tests/testresamplerq.cc          |    6 +-
 tests/testwavechunk.cc           |    6 +-
 109 files changed, 4792 insertions(+), 534 deletions(-)
---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]