spectmorph.git
11 months agoDEBIAN: reduce compat back to 8, to install binaries in /usr/lib/{vst,lv2} 0.4.0
Stefan Westerfeld [Tue, 10 Apr 2018 13:15:38 +0000 (15:15 +0200)]
DEBIAN: reduce compat back to 8, to install binaries in /usr/lib/{vst,lv2}

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: don't crash if ~/.spectmorph/instruments is empty
Stefan Westerfeld [Tue, 10 Apr 2018 12:37:38 +0000 (14:37 +0200)]
GLUI: don't crash if ~/.spectmorph/instruments is empty

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoREADME~
Stefan Westerfeld [Tue, 10 Apr 2018 08:54:50 +0000 (10:54 +0200)]
README~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoREADME~
Stefan Westerfeld [Tue, 10 Apr 2018 08:37:11 +0000 (10:37 +0200)]
README~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoUpdate readme
Stefan Westerfeld [Tue, 10 Apr 2018 08:35:05 +0000 (10:35 +0200)]
Update readme

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoREADME updates
Stefan Westerfeld [Tue, 10 Apr 2018 08:28:59 +0000 (10:28 +0200)]
README updates

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO~
Stefan Westerfeld [Tue, 10 Apr 2018 08:21:08 +0000 (10:21 +0200)]
TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoNEWS~
Stefan Westerfeld [Mon, 9 Apr 2018 15:34:09 +0000 (17:34 +0200)]
NEWS~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoALL: rebuild meta headers
Stefan Westerfeld [Mon, 9 Apr 2018 15:11:01 +0000 (17:11 +0200)]
ALL: rebuild meta headers

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoNEWS~
Stefan Westerfeld [Mon, 9 Apr 2018 15:06:26 +0000 (17:06 +0200)]
NEWS~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO~
Stefan Westerfeld [Mon, 9 Apr 2018 14:43:36 +0000 (16:43 +0200)]
TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO~
Stefan Westerfeld [Mon, 9 Apr 2018 14:41:57 +0000 (16:41 +0200)]
GLUI: TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: revert window resizing to old strategy (which seems to work better)
Stefan Westerfeld [Mon, 9 Apr 2018 14:22:50 +0000 (16:22 +0200)]
GLUI: revert window resizing to old strategy (which seems to work better)

 - notify host first
 - then resize via pugl

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoWINDOWS: add license page to installer
Stefan Westerfeld [Mon, 9 Apr 2018 14:07:19 +0000 (16:07 +0200)]
WINDOWS: add license page to installer

11 months agoWINDOWS: use better compressor for setup*.exe
Stefan Westerfeld [Mon, 9 Apr 2018 13:59:37 +0000 (15:59 +0200)]
WINDOWS: use better compressor for setup*.exe

11 months agoLIB: remove remaining lpc bits and pieces
Stefan Westerfeld [Mon, 9 Apr 2018 13:23:38 +0000 (15:23 +0200)]
LIB: remove remaining lpc bits and pieces

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoINSPECTOR: remove old display param window include
Stefan Westerfeld [Mon, 9 Apr 2018 13:18:04 +0000 (15:18 +0200)]
INSPECTOR: remove old display param window include

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoINSPECTOR: remove lpc related display param settings
Stefan Westerfeld [Mon, 9 Apr 2018 13:16:42 +0000 (15:16 +0200)]
INSPECTOR: remove lpc related display param settings

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO~
Stefan Westerfeld [Fri, 6 Apr 2018 18:40:15 +0000 (20:40 +0200)]
GLUI: TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoINSPECTOR: remove LPC stuff
Stefan Westerfeld [Fri, 6 Apr 2018 13:47:01 +0000 (15:47 +0200)]
INSPECTOR: remove LPC stuff

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO++
Stefan Westerfeld [Fri, 6 Apr 2018 13:44:38 +0000 (15:44 +0200)]
GLUI: TODO++

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: Audio no longer needs lpc define
Stefan Westerfeld [Fri, 6 Apr 2018 12:38:54 +0000 (14:38 +0200)]
LIB: Audio no longer needs lpc define

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO--
Stefan Westerfeld [Fri, 6 Apr 2018 12:01:09 +0000 (14:01 +0200)]
TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTOOLS: pbuilder: build for 18.04 (bionic), too
Stefan Westerfeld [Fri, 6 Apr 2018 12:00:28 +0000 (14:00 +0200)]
TOOLS: pbuilder: build for 18.04 (bionic), too

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDEBIAN: bump compat
Stefan Westerfeld [Fri, 6 Apr 2018 12:00:02 +0000 (14:00 +0200)]
DEBIAN: bump compat

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDATA: change linear/gui plan instruments to pan-flute/mirko-oh
Stefan Westerfeld [Fri, 6 Apr 2018 09:58:53 +0000 (11:58 +0200)]
DATA: change linear/gui plan instruments to pan-flute/mirko-oh

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDATA: change default plan instruments to pan-flute/mirko-oh
Stefan Westerfeld [Fri, 6 Apr 2018 09:57:17 +0000 (11:57 +0200)]
DATA: change default plan instruments to pan-flute/mirko-oh

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: link glui library against glib since we use glib functions
Stefan Westerfeld [Fri, 6 Apr 2018 08:56:55 +0000 (10:56 +0200)]
GLUI: link glui library against glib since we use glib functions

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDEBIAN: enable parallel builds
Stefan Westerfeld [Fri, 6 Apr 2018 08:50:12 +0000 (10:50 +0200)]
DEBIAN: enable parallel builds

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDEBIAN: update changelog for spectmorph 0.4.0
Stefan Westerfeld [Fri, 6 Apr 2018 08:48:36 +0000 (10:48 +0200)]
DEBIAN: update changelog for spectmorph 0.4.0

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoDEBIAN: no longer need boost - however now we need cairo
Stefan Westerfeld [Fri, 6 Apr 2018 08:48:01 +0000 (10:48 +0200)]
DEBIAN: no longer need boost - however now we need cairo

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTOOLS: remove argc checks, which couldn't be triggered anyway
Stefan Westerfeld [Fri, 6 Apr 2018 08:13:20 +0000 (10:13 +0200)]
TOOLS: remove argc checks, which couldn't be triggered anyway

Fixes clang warning.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoSRC: remove argc checks, which couldn't be triggered anyway
Stefan Westerfeld [Fri, 6 Apr 2018 08:09:28 +0000 (10:09 +0200)]
SRC: remove argc checks, which couldn't be triggered anyway

Fixes clang warning.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoBUILD: bump configure version
Stefan Westerfeld [Fri, 6 Apr 2018 07:51:04 +0000 (09:51 +0200)]
BUILD: bump configure version

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoBUILD: remove boost requirement
Stefan Westerfeld [Fri, 6 Apr 2018 07:46:39 +0000 (09:46 +0200)]
BUILD: remove boost requirement

This is longer necessary since lpc support was removed.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: remove lpc implementation
Stefan Westerfeld [Fri, 6 Apr 2018 07:40:51 +0000 (09:40 +0200)]
LIB: remove lpc implementation

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTESTS: remove remaining lpc tests
Stefan Westerfeld [Fri, 6 Apr 2018 07:40:17 +0000 (09:40 +0200)]
TESTS: remove remaining lpc tests

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGUI: delete old lpc ztrans code
Stefan Westerfeld [Fri, 6 Apr 2018 07:38:40 +0000 (09:38 +0200)]
GUI: delete old lpc ztrans code

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoINSPECTOR: remove lpc transform support from fft thread
Stefan Westerfeld [Fri, 6 Apr 2018 07:37:46 +0000 (09:37 +0200)]
INSPECTOR: remove lpc transform support from fft thread

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: remove lpc support from Audio class
Stefan Westerfeld [Fri, 6 Apr 2018 07:27:59 +0000 (09:27 +0200)]
LIB: remove lpc support from Audio class

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoINSPECTOR: remove LPC support
Stefan Westerfeld [Fri, 6 Apr 2018 07:25:16 +0000 (09:25 +0200)]
INSPECTOR: remove LPC support

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTESTS: remove lsf plot test
Stefan Westerfeld [Fri, 6 Apr 2018 07:22:40 +0000 (09:22 +0200)]
TESTS: remove lsf plot test

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoSRC: remove LPC support
Stefan Westerfeld [Fri, 6 Apr 2018 07:21:13 +0000 (09:21 +0200)]
SRC: remove LPC support

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO---
Stefan Westerfeld [Fri, 6 Apr 2018 06:38:37 +0000 (08:38 +0200)]
TODO---

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTOOLS: sminstbuilder: use number of cpus as default for jobs
Stefan Westerfeld [Fri, 6 Apr 2018 06:30:25 +0000 (08:30 +0200)]
TOOLS: sminstbuilder: use number of cpus as default for jobs

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTOOLS: smenccache: write data to ~/.cache/smenccache
Stefan Westerfeld [Fri, 6 Apr 2018 06:21:21 +0000 (08:21 +0200)]
TOOLS: smenccache: write data to ~/.cache/smenccache

Automatically create output dir if it doesn't exist.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: provide function to get cache directory (typically ~/.cache)
Stefan Westerfeld [Fri, 6 Apr 2018 06:20:17 +0000 (08:20 +0200)]
LIB: provide function to get cache directory (typically ~/.cache)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: don't include xlocale.h unless building on macOS
Stefan Westerfeld [Thu, 5 Apr 2018 18:47:12 +0000 (20:47 +0200)]
LIB: don't include xlocale.h unless building on macOS

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO~
Stefan Westerfeld [Thu, 5 Apr 2018 18:34:34 +0000 (20:34 +0200)]
GLUI: TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO~
Stefan Westerfeld [Thu, 5 Apr 2018 18:33:13 +0000 (20:33 +0200)]
TODO~

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTOOLS: support expanding $ROOT in config files
Stefan Westerfeld [Thu, 5 Apr 2018 16:55:33 +0000 (18:55 +0200)]
TOOLS: support expanding $ROOT in config files

This allows shipping instrument config files without hard coded absolute paths.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: notify host about new window size after window resize is finished
Stefan Westerfeld [Thu, 5 Apr 2018 15:35:55 +0000 (17:35 +0200)]
GLUI: notify host about new window size after window resize is finished

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTODO---
Stefan Westerfeld [Thu, 5 Apr 2018 14:47:23 +0000 (16:47 +0200)]
TODO---

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: avoid crashes if module graph contains cycles
Stefan Westerfeld [Thu, 5 Apr 2018 14:43:47 +0000 (16:43 +0200)]
LIB: avoid crashes if module graph contains cycles

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoVST: provide sane window size before creating the window
Stefan Westerfeld [Thu, 5 Apr 2018 13:51:06 +0000 (15:51 +0200)]
VST: provide sane window size before creating the window

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: provide a way to get expected window size without creating a window
Stefan Westerfeld [Thu, 5 Apr 2018 13:50:23 +0000 (15:50 +0200)]
GLUI: provide a way to get expected window size without creating a window

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: auto redraw is no longer stored in config
Stefan Westerfeld [Thu, 5 Apr 2018 13:49:26 +0000 (15:49 +0200)]
GLUI: auto redraw is no longer stored in config

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: remove auto redraw from config; constness fix
Stefan Westerfeld [Thu, 5 Apr 2018 13:48:40 +0000 (15:48 +0200)]
LIB: remove auto redraw from config; constness fix

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: avoid unnecessary grid morph updates
Stefan Westerfeld [Thu, 5 Apr 2018 12:55:38 +0000 (14:55 +0200)]
GLUI: avoid unnecessary grid morph updates

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: avoid assert (this) in signal system (fix clang warning)
Stefan Westerfeld [Thu, 5 Apr 2018 12:49:49 +0000 (14:49 +0200)]
LIB: avoid assert (this) in signal system (fix clang warning)

On some compilers, this check is meaningless anyway.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: fix crash in move (cause by writing to deleted object memory)
Stefan Westerfeld [Wed, 4 Apr 2018 15:36:05 +0000 (17:36 +0200)]
GLUI: fix crash in move (cause by writing to deleted object memory)

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: fix update problem during morph plan position update
Stefan Westerfeld [Wed, 4 Apr 2018 15:21:17 +0000 (17:21 +0200)]
GLUI: fix update problem during morph plan position update

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: preserve scroll position on fold/...
Stefan Westerfeld [Wed, 4 Apr 2018 15:04:53 +0000 (17:04 +0200)]
GLUI: preserve scroll position on fold/...

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: rename scrollbar member page_size -> m_page_size
Stefan Westerfeld [Wed, 4 Apr 2018 14:56:49 +0000 (16:56 +0200)]
GLUI: rename scrollbar member page_size -> m_page_size

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO--
Stefan Westerfeld [Wed, 4 Apr 2018 12:01:43 +0000 (14:01 +0200)]
GLUI: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: use pugl ldflags to avoid undefined symbols on macOS
Stefan Westerfeld [Wed, 4 Apr 2018 11:46:43 +0000 (13:46 +0200)]
GLUI: use pugl ldflags to avoid undefined symbols on macOS

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: add libspectmorph to avoid undfined symbols
Stefan Westerfeld [Wed, 4 Apr 2018 11:39:35 +0000 (13:39 +0200)]
GLUI: add libspectmorph to avoid undfined symbols

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoWINDOWS: document build process
Stefan Westerfeld [Wed, 4 Apr 2018 11:33:36 +0000 (13:33 +0200)]
WINDOWS: document build process

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: fix compiler marco typo
Stefan Westerfeld [Tue, 3 Apr 2018 10:30:31 +0000 (12:30 +0200)]
LIB: fix compiler marco typo

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: fix compiler printf format compiler warnings in clang
Stefan Westerfeld [Tue, 3 Apr 2018 10:21:44 +0000 (12:21 +0200)]
LIB: fix compiler printf format compiler warnings in clang

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO--
Stefan Westerfeld [Mon, 2 Apr 2018 13:28:01 +0000 (15:28 +0200)]
GLUI: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: use smfiledialog instead of kdialog on linux
Stefan Westerfeld [Mon, 2 Apr 2018 12:23:54 +0000 (14:23 +0200)]
GLUI: use smfiledialog instead of kdialog on linux

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGUI: provide a Qt base external file dialog program
Stefan Westerfeld [Mon, 2 Apr 2018 12:22:43 +0000 (14:22 +0200)]
GUI: provide a Qt base external file dialog program

 - this avoids the kdialog dependency

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoBUILD: define bin directory in config.h
Stefan Westerfeld [Mon, 2 Apr 2018 12:10:17 +0000 (14:10 +0200)]
BUILD: define bin directory in config.h

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: propagate scroll events to parent widget
Stefan Westerfeld [Sun, 1 Apr 2018 19:41:13 +0000 (21:41 +0200)]
GLUI: propagate scroll events to parent widget

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO--
Stefan Westerfeld [Sun, 1 Apr 2018 18:33:09 +0000 (20:33 +0200)]
GLUI: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: slightly adjust velocity sens default and range velocity
Stefan Westerfeld [Sun, 1 Apr 2018 18:25:57 +0000 (20:25 +0200)]
LIB: slightly adjust velocity sens default and range

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTESTS: testvelocity - test velocity -> gain mapping
Stefan Westerfeld [Sun, 1 Apr 2018 17:43:04 +0000 (19:43 +0200)]
TESTS: testvelocity - test velocity -> gain mapping

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: display velocity sensitivity in output operator view
Stefan Westerfeld [Sun, 1 Apr 2018 17:42:28 +0000 (19:42 +0200)]
GLUI: display velocity sensitivity in output operator view

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: use output velocity sensitivity in midi synth
Stefan Westerfeld [Sun, 1 Apr 2018 17:41:52 +0000 (19:41 +0200)]
LIB: use output velocity sensitivity in midi synth

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: add velocity sensitivity to output
Stefan Westerfeld [Sun, 1 Apr 2018 17:41:26 +0000 (19:41 +0200)]
LIB: add velocity sensitivity to output

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: provide velocity_to_gain function, using velocity sensitivity
Stefan Westerfeld [Sun, 1 Apr 2018 17:40:04 +0000 (19:40 +0200)]
LIB: provide velocity_to_gain function, using velocity sensitivity

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO++
Stefan Westerfeld [Sun, 1 Apr 2018 17:36:10 +0000 (19:36 +0200)]
GLUI: TODO++

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO--
Stefan Westerfeld [Sat, 31 Mar 2018 13:23:30 +0000 (15:23 +0200)]
GLUI: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoVST: use -no-undefined to avoid link warning on windows
Stefan Westerfeld [Sat, 31 Mar 2018 13:19:56 +0000 (15:19 +0200)]
VST: use -no-undefined to avoid link warning on windows

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months ago GLUI: use -no-undefined to avoid link warning on windows
Stefan Westerfeld [Sat, 31 Mar 2018 13:19:29 +0000 (15:19 +0200)]
 GLUI: use -no-undefined to avoid link warning on windows

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: use -no-undefined to avoid link warning on windows
Stefan Westerfeld [Sat, 31 Mar 2018 13:17:52 +0000 (15:17 +0200)]
LIB: use -no-undefined to avoid link warning on windows

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoPUGL: fix compiler warnings in pugl_win.cpp
Stefan Westerfeld [Sat, 31 Mar 2018 12:55:33 +0000 (14:55 +0200)]
PUGL: fix compiler warnings in pugl_win.cpp

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: replace assert (false) with g_assert_not_reached()
Stefan Westerfeld [Sat, 31 Mar 2018 12:41:30 +0000 (14:41 +0200)]
GLUI: replace assert (false) with g_assert_not_reached()

This also fixes a windows g++ warning.

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoTESTS: rely on Audio default initialization
Stefan Westerfeld [Sat, 31 Mar 2018 12:23:28 +0000 (14:23 +0200)]
TESTS: rely on Audio default initialization

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: avoid setting sample_count, rely on Audio default initialization
Stefan Westerfeld [Sat, 31 Mar 2018 12:21:34 +0000 (14:21 +0200)]
LIB: avoid setting sample_count, rely on Audio default initialization

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: default-zero-initialize all members of Audio class
Stefan Westerfeld [Sat, 31 Mar 2018 12:20:10 +0000 (14:20 +0200)]
LIB: default-zero-initialize all members of Audio class

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: fix printf format related warnings on windows/mxe
Stefan Westerfeld [Sat, 31 Mar 2018 10:54:54 +0000 (12:54 +0200)]
LIB: fix printf format related warnings on windows/mxe

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: use gnu_printf for printf format, to avoid warnings on mingw builds
Stefan Westerfeld [Fri, 30 Mar 2018 23:20:33 +0000 (01:20 +0200)]
LIB: use gnu_printf for printf format, to avoid warnings on mingw builds

11 months agoGLUI: fix dpi scaling (via canDo) in bitwig/windows
Stefan Westerfeld [Fri, 30 Mar 2018 21:06:09 +0000 (23:06 +0200)]
GLUI: fix dpi scaling (via canDo) in bitwig/windows

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: TODO--
Stefan Westerfeld [Fri, 30 Mar 2018 20:50:21 +0000 (22:50 +0200)]
GLUI: TODO--

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: transient parent does more harm than good for windows vst
Stefan Westerfeld [Fri, 30 Mar 2018 20:47:55 +0000 (22:47 +0200)]
GLUI: transient parent does more harm than good for windows vst

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoLIB: use glib api to mmap file, which also works on windows
Stefan Westerfeld [Fri, 30 Mar 2018 20:31:22 +0000 (22:31 +0200)]
LIB: use glib api to mmap file, which also works on windows

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: transient parent improvements
Stefan Westerfeld [Fri, 30 Mar 2018 20:00:03 +0000 (22:00 +0200)]
GLUI: transient parent improvements

 - use transient parent during window creation
 - center popup relative to transient parent

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>
11 months agoGLUI: make external file open dialog transient for our main window
Stefan Westerfeld [Fri, 30 Mar 2018 13:25:56 +0000 (15:25 +0200)]
GLUI: make external file open dialog transient for our main window

Signed-off-by: Stefan Westerfeld <stefan@space.twc.de>