Commit Graph

775 Commits

Author SHA1 Message Date
Tobias Doerffel
534c4debb5 ZynAddSubFX: save and restore settings of new knobs
When adding the new knobs for automatable parameters of ZynAddSubFX,
I forgot to include them in the save/load routines.
2010-08-11 00:45:55 +02:00
Tobias Doerffel
7b85371a38 More MinGW64 fixes
Some more trivial fixes for successfully compiling for Win64.
2010-07-28 21:26:21 +02:00
Tobias Doerffel
7a4f110af3 ZynAddSubFX: added knobs for MIDI controls
Added knobs for some MIDI controls that are recognized by ZynAddSubFX.
This allows to automate some basic parameters of ZynAddSubFX inside LMMS.
2010-07-28 19:57:58 +02:00
Tobias Doerffel
730798317d FLTK/CMakeLists.txt: fix CMAKE_MODULE_PATH, don't use 3rdparty code
Fix setting CMAKE_MODULE_PATH to respect the previous content of this
variable. Furthermore do not process subdirectories with 3rdparty code
even if no libjpeg, libpng or libz was found on the target system.
2010-07-26 15:12:17 +02:00
Tobias Doerffel
f730ed7acb Merge branch 'master' into zynaddsubfx-master
Conflicts:
	plugins/zynaddsubfx/CMakeLists.txt
2010-07-26 15:12:06 +02:00
Tobias Doerffel
c105c2e606 ZynAddSubFX/FLTK: updated to SVN revision 7680
Updated FLTK to SVN revision 7680 of branch-1.3:

    - Fixed X11/XDBE double buffering (STR #2152, #2197)
    - Added new label and image alignments (STR #2269)
    - Added documentation for event delivery (STR #1983)
    - Fixed menu and tooltip window animation bug under X11 (compiz)
      by setting an appropriate window type (STR #2082)
    - redesigned CMake files (STR #2317).
    - Fixed max. fd calculation, if USE_POLL is enabled (STR #2324)
    - Fixed clipping for offscreen rendering (OSX, STR #2330)
    - Added printing support (Fl_Printer class and friends) for native
      printing on Windows and Mac OS X, PostScript printing on X11
      with CUPS or lp, and PostScript file output on all platforms
    - Added basic Fl_Device abstraction layer for all drawing functions
    - Fixed possibility of wrong flags() in Fl_Window::iconlabel()
      (STR #2161)
    - Fixed Scrollbar events when max is less than min (STR #2283)
    - Added argument-less constructor in Fuid Widget Class
    - Fixed menu item counting issue in Fluid (STR #2322)
    - Added Fl_Menu_::find_item by callback
    - Removed redundant Fl_Group casts
    - Added indexing to Fl_Preferences
    - Integrated default menu into Demo test app
    - Added automated Xcode IDE file generation to Fluid
    - Fixed lost top item in Fluid's tree browser (STR #2233)
    - Fixed crash in test/Editor when freeing buffer
      too soon (STR #2294)
    - Fixed Fl_Preferences Cygwin wide character bug (STR #2164)
    - Fixed sorting in Fl_Browser - last item would not
      be sorted (STR #2300)
    - Fixed window levels in OS X Cocoa (STR #2316)
    - Added jpeg support to Fluid image() element
    - Added loading jpeg images from memory
    - Added binary data type to Fluid
    - File chosser preview would hang if a device was choosen
    - Replaced _WIN32 symbols that had come with UTF-8 and the
      new Fl_Table widget with WIN32
    - Fixed a buffer overflow in fl_utf8from_mb() (STR #2279)
    - Fixed a Windows GDI leak when testing alpha blending capabilities
    - Fixed a name conflict with new (VS 2008 Express) winsock2.h
      versions and another conflict that produced compile errors
      with VS 2008 Express (STR #2301)
    - Widgets now remove stale entries from the default callback
      queue when they are deleted (STR #2302)
        - Moved OS X code base to the more moder Cocoa toolkit thanks
          to the awesome work of Manolo Gouy (STR #2221)
        - Added template to generate new projects with Xcode.
    - New widgets: Fl_Tree, Fl_Table, Fl_Native_File_Chooser
    - added Fl_Menu_ methods: insert(), find_index(), clear_submenu()
    - Bug reports/enhancements now refer to the STR form http://www.fltk.org/str.php
2010-07-26 15:11:11 +02:00
Tobias Doerffel
4ea8b9d9c2 Merge branch 'mingw64-compat-fixes'
* mingw64-compat-fixes:
  CMakeLists.txt: install libFLAC-8.dll for win32 build
  Improved support for MinGW cross compile builds
2010-07-26 15:04:00 +02:00
Tobias Doerffel
eaebe3cb84 ZynAddSubFX: check whether QDomDocument::setContent() succeeded
When saving settings in ZynAddSubFxInstrument::saveSettings() check
whether the call to QDomDocument::setContent() succeeded. Otherwise
LMMS crashes when calling QDomDocument::importNode() later due to a bug
in QtXml.

Fixes crash in the unlikely situation that transmission of XML data from
the ZynAddSubFX plugin to LMMS somehow failed.
2010-07-25 20:47:04 +02:00
Tobias Doerffel
c6640ffd37 ZynAddSubFX: completely reinitialize config after changing working dir
Custom changes made to the config after first initialization got lost
after setting work directory. Therefore moved custom initialization into
a separate function which is called after setting work directory.
2010-07-25 20:42:26 +02:00
Tobias Doerffel
79abf9ca85 ZynAddSubFX: set working directory before setting preset directory
Set working directory before setting preset directory as otherwise
the changes made by LocalZynAddSubFx::setPresetDir() will get lost.
2010-07-25 20:14:20 +02:00
Tobias Doerffel
9984e47b60 Merge branch 'master' into zynaddsubfx-master 2010-07-25 20:13:59 +02:00
Tobias Doerffel
89451dcd3b ZynAddSubFX/CMakeLists.txt: use global binary dir as last include dir
The local binary directory should be more prioritized regarding
file inclusions. Otherwise for example the global embedded_resources.h
gets included instead of the plugin-specific one.
2010-07-25 20:09:41 +02:00
Tobias Doerffel
ac1a286dff ZynAddSubFX/CMakeLists.txt: remove accidently added subdirectory
The src/Tests/ directory was not copied from upstream, therefore do not
reference it in CMakeLists.txt.
2010-07-25 19:37:05 +02:00
Tobias Doerffel
000f67d01d ZynAddSubFX: save configuration file in LMMS working directory
On non-Linux platforms configuration file was saved in the application
path which definitely is not desired and also will not work in many
situations. Therefore always save ZynAddSubFX configuration file in
LMMS working directory.
2010-07-25 19:16:52 +02:00
Tobias Doerffel
c7372240c9 ZynAddSubFX: resynced with upstream (version 2.4.1)
There have been some major updates with ZynAddSubFX. Completely resynced
whole source tree up to version 2.4.1.
2010-07-25 18:31:49 +02:00
Tobias Doerffel
63f7846cf2 Merge branch 'master' into zynaddsubfx-master 2010-07-25 17:28:26 +02:00
Tobias Doerffel
30060e41b7 ZynAddSubFX: added window icon (win32 version only)
Added a window icon to ZynAddSubFX windows for better appearance.
This is currently only possible for the win32 version a lot more hacks
are required to achieve this for X as well :-(
2010-07-25 17:02:27 +02:00
Tobias Doerffel
fe7486750b ZynAddSubFX: allow hiding UI by closing main window
It's now possible to hide the ZynAddSubFX UI by simply closing its main
window instead of going back to LMMS and toggle the "Show UI" button.

Furthermore moved code for GUI thread into a non-static member function
of RemoteZynAddSubFx and removed the old code for handling IdHideUI
messages.
2010-07-25 15:20:48 +02:00
Tobias Doerffel
5f33f1ea77 RemoteVstPlugin: silence compiler warning
Initialize variable of type DWORD with 0 instead of NULL.
2010-07-25 11:34:53 +02:00
Tobias Doerffel
7b0b932441 ZynAddSubFX: on Linux link against libfontconfig
FLTK requires libfontconfig on Linux, therefore link against it.
2010-07-25 01:13:28 +02:00
Krzysztof Foltman
2eba055de0 Fix incorrect plugin class (spotted by Luis Garrido).
It's SimulatorPlugin, not SimulationPlugin.
(cherry picked from commit d971297ebebd9faf6c2640fdbecdfc553cd8407e)
2010-07-24 23:42:36 +02:00
Krzysztof Foltman
e551929196 Add windowing-based antialiasing to hard sync in Monosynth; update last stretch even if synth is idle.
(cherry picked from commit d64a0487d88f6730ef90dd6d79b892ad4a114138)
2010-07-24 23:41:54 +02:00
Tobias Doerffel
7fd04e0769 Plugins: export PluginDescriptors and lmms_plugin_main function
Various plugins were missing the PLUGIN_EXPORT declaration with their
PluginDescriptor instantiations and lmms_plugin_main implementation
which made some plugins not show up with latest Win32 build.
(cherry picked from commit f85898ba6e)
2010-07-24 22:54:00 +02:00
Tobias Doerffel
ce8041b9e3 FLP import plugin: explicitely link against libzip
The improved FLP import plugin requires libzip and we can't rely on
the LMMS binary being linked against it, therefore link against it
explicitely.
2010-07-21 20:08:53 +02:00
Tobias Doerffel
456abc4cde ZynAddSubFx: MinGW64-specific fixes
Some minor modifications were neccessary in order to build LMMS with
the latest MinGW64 environment.
2010-06-16 23:12:53 +02:00
Tobias Doerffel
46e9bdcf76 Merge branch 'calf-updates'
* calf-updates:
  CALF: minor LMMS-specific updates
2010-06-16 23:05:17 +02:00
Tobias Doerffel
4393ec8281 CALF: minor LMMS-specific updates
Silence a compiler warning introduced by custom changes and fix a
possible compile failure by including another header file in a header
file that we cleared before.
2010-06-16 23:01:58 +02:00
Janne Sinisalo
401652a100 Newer ZynAddSubFX plugin tab background
Replaced the background for ZynAddSubFX plugin tab in the instrument window again.
2010-06-03 19:58:51 +03:00
Janne Sinisalo
45fc5c6ac7 New ZynAddSubFX plugin tab background
Replaced the background for ZynAddSubFX plugin tab in the instrument window.
2010-06-03 18:30:53 +03:00
Krzysztof Foltman
6ebc7c80d1 Cleanups/bugfixes in Monosynth.
(cherry picked from commit 404e1a0861e9b7a79f3b0175f40b427c06945adc)
2010-05-26 12:36:59 +02:00
Tobias Doerffel
33807aeb43 CALF: Added missing config.h
Now that we're not removing the config.h-inclusions from upstream's
source files we have to provide a dummy config.h. At the same time this
allows us to move macro definitions from CMakeLists.txt to config.h.
2010-05-22 01:28:57 +02:00
Tobias Doerffel
469ca939cf CALF: rebased to CALF master branch
There have been massive changes in CALF's master branch. It makes no
sense to manually cherry-pick all these commits. Therefore rebased the
CALF codebase in LMMS to the one found in CALF master branch.
2010-05-21 17:07:03 +02:00
Tobias Doerffel
96a961bd8b Merge branch 'master' into calf-updates 2010-05-21 16:52:59 +02:00
Tobias Doerffel
bbb91a923c Moved CALF headers to proper location
The directory layout for some reason was not the same as with
upstream CALF, therefore move the includes to where they belong.
2010-05-21 16:17:56 +02:00
Tobias Doerffel
ace2266529 LadspaEffect/Controls: fixed non-working global channel link checkbox
The global channel link checkbox did not work as expected as of the
M/V-split during 0.3.x -> 0.4.x development. Connected the slot
responsible for updating individual ports after toggling checkbox and
fixed the logic behind.

Closes #2964800.
2010-05-21 01:04:10 +02:00
Tobias Doerffel
22489ae321 Sf2Player: disable per-note-panning support for the time being
The per-note-panning support is broken (not sure whether this is a bug
in FluidSynth or our code) and leads to improperly panned sounds all
the time - even with all notes being panned to center. Thus disable it
until we have a proper fix for it.
2010-05-17 23:27:42 +02:00
Tobias Doerffel
70b80efec1 SpectrumAnalyzer: skip processing if UI is not visible
There's currently no need for analyzing the sound data if
SpectrumAnalyzer's view is not visible. This saves some CPU time
if SpectrumAnalyzer's view is not shown.
2010-05-17 23:21:58 +02:00
Tobias Doerffel
51103bb674 Improved support for MinGW cross compile builds
Cross compile support for Win32 and Win64 has been unified,
simplified and adapted to the new MinGW64-based build environment.
This finally allows to produce working Win64 binaries.
2010-04-06 11:47:50 +02:00
Krzysztof Foltman
527a02d648 Simplify Multiband Compressor code and fix several bugs.
Eliminated some (not all) repetition in the code. Fixed a bug where old value
for Q and separation was taken from the wrong variable. Fixed a bug where
having a band bypassed or muted caused the graph to stop redrawing properly.

(cherry picked from commit 3be583385b0bfb69bb7e52ee7426fe27d515560c)
2010-04-03 13:05:42 +02:00
Krzysztof Foltman
f8cb1120b0 Remove zombie small plugin code.
(cherry picked from commit ed69e7d41246d169ffccdc97cc666b111bdc6710)
2010-04-03 13:04:05 +02:00
Krzysztof Foltman
0ab27d30c3 Remove small plugins together with all the supporting infrastructure.
The small plugins don't really fit into the project and should be moved somewhere
else instead. Unfortunately, I don't have enough time to do it myself, so if
anyone needs them, feel free to make a separate project out of them, or merge
them (if possible, it may be very hard) into some other small plugin library.

(cherry picked from commit e03505a778ac3b8edb7a389a11eae03cbacc79fe)
2010-04-03 13:03:41 +02:00
Krzysztof Foltman
6c59404c32 Add Doxygen documentation for plugin_registry class.
(cherry picked from commit 4c093bf60cc6257232927d907106551293913384)
2010-04-03 12:58:52 +02:00
Krzysztof Foltman
47a46da43d More refactoring.
Make the result of plugin_registry::get_by_uri() const, as no external code
should modify metadata objects.

(cherry picked from commit 2f9ae953b30bc8702d302df58f0c7f1a589a15c3)
2010-04-03 12:58:47 +02:00
Krzysztof Foltman
4a59150d4b General refactoring. Start implementing external GUI.
Constify metadata functions. Constify other functions that really needed
it. Make variables keeping old state mutable for now. Move filter composition
operations into biquad.h. Replace global function get_all_plugins with
a singleton class that returns the same list (as const) or a single plugin
by URI. Add a skeleton implementation of functions in lv2_external_ui
and skeleton UI related functions for external UI.

(cherry picked from commit ae7f7293961a3ea3b194b73ab35886f94e562cd7)
2010-04-03 12:56:49 +02:00
Krzysztof Foltman
f344d4c1fe + LV2: add external UI header (not used for anything yet)
(cherry picked from commit f0719b1e8926595d869936865ba84f60284dd660)
2010-04-03 12:39:31 +02:00
Tobias Doerffel
9fd3dacb67 Fixed spelling errors
Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
2010-01-25 23:24:42 +01:00
Tobias Doerffel
2d55ef8291 Merge branch 'master' into calf-updates 2010-01-04 00:42:01 +01:00
Tobias Doerffel
1fb803242c CALF: resync source files due to forgotten commits
Probably I forgot to cherry pick one or two commits from CALF Git repo
resulting in a slight diverge of source codes. Resynced the concerned
header files. Fixes the missing Pulsator plugin.
2010-01-04 00:41:31 +01:00
Krzysztof Foltman
059fbab252 + JACK host: implemented Save/Save as...; Open not implemented yet - who could possibly want THAT? 2010-01-04 00:31:58 +01:00
Krzysztof Foltman
c16949e308 + EQ: Fix adding EQ plugin using menu in calfjackhost 2010-01-04 00:30:13 +01:00