Commit Graph

2006 Commits

Author SHA1 Message Date
Tobias Doerffel
780447d751 BasicOpsX86: regenerated with final 4.4.0 release of GCC
Regenerated BasicOps assemblies with final 4.4.0 release of GCC,
providing some more minor optimizations.
2009-04-23 12:09:39 +02:00
Tobias Doerffel
d38d437349 ZynAddSubFX: added support for d'n'd XIZ files onto ZASF plugin
This commit allows the user to drag'n'drop DLL files onto ZynAddSubFX
instrument (inside LMMS).
2009-04-18 23:52:42 +02:00
Tobias Doerffel
232c1de404 InstrumentTrackView: save and restore last position of window
When closing a InstrumentTrackWindow save its position so it can be
restored later when showing it. Fixes windows always popping up
somewhere else when toggling instrument track button repeatedly.
2009-04-18 18:25:44 +02:00
Tobias Doerffel
75382de976 ZynAddSubFX: do not lock up after rendering project
Do not lock up after rendering project by calling waitForInitDone()
on our own (instead of in RemotePlugin constructor) with busy waiting
disabled.
2009-04-18 17:43:30 +02:00
Tobias Doerffel
1802b91e55 RemotePlugin: allow waitForInitDone() without busy waiting
An additional parameter to waitForInitDone() allows to disable busy
waiting which could be desired in various places to avoid deadlocks.
2009-04-18 17:41:37 +02:00
Tobias Doerffel
dfab704100 ZynAddSubFX: do not subclass RemotePlugin
Create an own RemotePlugin object rather than inheriting from it.
This allows to restart ZASF RemotePlugin which for example is required
upon samplerate changes (closes #2626249).

Furthermore this commit cleans up some old unused stuff.
2009-04-18 17:24:30 +02:00
Tobias Doerffel
7200eb8158 RemotePlugin: made lock() and unlock() methods public
Made RemotePlugin::lock() and RemotePlugin::unlock() public allowing
to use RemotePlugin class without subclassing it.
2009-04-18 17:18:24 +02:00
Tobias Doerffel
9873b880e2 ZynAddSubFX: made MIDI pitch bend work
Always send MIDI pitch bend events to MIDI channel 0 for the time being.
Makes MIDI pitch wheel work with ZynAddSubFX.
2009-04-18 12:47:02 +02:00
Tobias Doerffel
7a176c8fbb ZynAddSubFX: properly load/save instrument presets
When loading external XIZ presets, the embedded ZynAddSubFX plugin didn't
apply them completely so it did not save them properly later. This made
ZASF instruments play the default preset when loading the LMMS project
later. Now presets properly get applied to the selected instrument part.
2009-04-18 12:29:59 +02:00
Tobias Doerffel
827cbadc54 ZynAddSubFX: fixed possible accesses beyond array boundaries
GCC issued a few warnings concerning array out-of-boundary accesses.
This commit fixes them.
2009-04-18 00:59:40 +02:00
Tobias Doerffel
5828643582 Note class: renamed method "bool selected()" to "bool isSelected()"
In class "Note" renamed method "bool selected()" to "bool isSelected()"
in order to match coding style conventions.
2009-04-17 15:11:41 +02:00
Tobias Doerffel
efb335cea7 PianoRoll: do not make notes disappear under certain circumstances
When starting LMMS, loading an existing project and opening a pattern
with notes inside in piano roll, moving single notes showed unexpected
behaviour, i.e. the according note has been moved somewhere unreachable.

I tracked this down to a missing initialization of m_moveBoundary*
variables. Adding a few lines fixes the issue (closes #2632909).
2009-04-17 15:07:54 +02:00
Tobias Doerffel
d4680ba21d AutomationEditor: fixed window title
As of commit 91f3db7b window title of automation editor has been in
uppercase letters which is wrong.
2009-04-17 12:24:54 +02:00
Tobias Doerffel
6f0388be7c PianoView/PianoRoll: fixed keycodes for OS X
This patch enables the usage of PC keyboard for playing instrument piano
or piano roll on OS X by evaluating nativeVirtualKey rather than
nativeScanCode.
2009-04-16 10:40:00 +02:00
Janne Matti Sinisalo
b48fed891c Upgraded project files to the newer compressed format. 2009-04-15 22:10:06 +03:00
skiessi
df34815be0 Getting rid of some more useless bytes. 2009-04-14 20:04:21 +03:00
Tobias Doerffel
23a6f903ba ZynAddSubFX/FLTK: fixed my last commit
Fixed typos in my last commit.
2009-04-14 16:49:34 +02:00
Tobias Doerffel
f16cf90e14 ZynAddSubFX/FLTK: added legacy code if Xft support is disabled
Do not fail when libxft2-dev or similiar is not installed.
2009-04-14 16:46:16 +02:00
Tobias Doerffel
e08464124d Reverted accidently commited stuff by Skiessi
That's it.
2009-04-14 16:30:27 +02:00
Janne Matti Sinisalo
86a6a63462 Optimized default theme PNGs. 2009-04-14 16:46:17 +03:00
Tobias Doerffel
656b195cfd RemotePlugin: never lock up if remote plugin died
Up to now there were insufficient checks whether the remote plugin
has died and so the result usually has been a complete lock-up of LMMS
(especially when using buggy VST plugins or similiar). By adding
according checks to remotePlugin::lock() and remotePlugin::unlock()
as well as remotePluginBase::waitForMessage() those lock-ups are gone.
2009-04-14 00:34:37 +02:00
Tobias Doerffel
1b77346ded VeSTige: added support for d'n'd DLL files onto VeSTige instrument
This commit allows the user to drag'n'drop DLL files onto VeSTige
instrument. Furthermore VeSTige now registers itself as handler for
loading DLL files.
2009-04-14 00:00:29 +02:00
Tobias Doerffel
e0d352dc2c FileBrowser: added file type VstPluginFile
Added file type VstPluginFile in order to allow loading DLL files by
an according plugin directly from file browser.
2009-04-13 23:58:30 +02:00
Tobias Doerffel
9a4b4f3cfe Plugin: try to load all shared libraries first
Try to load all shared libraries before resolving any symbols. Fixes
problems with plugins that are linked against other shared libraries
located in LMMS' plugin directory.
2009-04-13 23:55:48 +02:00
Tobias Doerffel
76662a3a51 InstrumentTrack: fixed calculation in midiPitch()
InstrumentTrack::midiPitch() returned 16384 instead of 16383 if pitch
was set to +100 cents. This commit fixes the calculation.
2009-04-13 16:13:18 +02:00
Tobias Doerffel
7539144b2c ZynAddSubFX: follow recent changes in CVS repository
No ChangeLog entries available, however mainly seem to be cleanups.
2009-04-13 01:48:47 +02:00
Tobias Doerffel
a3ccfb6ad8 ZynAddSubFX/FLTK: fixed "long long" types
Replaced "long long" types by simple "long" or "int".
2009-04-13 01:48:00 +02:00
Tobias Doerffel
c2f83e4157 ZynAddSubFX/FLTK: added Xft/Freetype2 support
Build FLTK with full Xft/Freetype2 support which means the ZynAddSubFX
GUI now has anti-aliased fonts.
2009-04-13 01:44:29 +02:00
Tobias Doerffel
1656f45734 ZynAddSubFX: convert full filename to native separators
When loading settings, make sure directory separators of temporary file
are native. Should have worked flawlessly before though.
2009-04-13 01:25:46 +02:00
Tobias Doerffel
ad79ac7e21 WebResourcesProvider: more safely manage download IDs
Do not add download ID returned by QHttp::get() to array and remove it
in the finishDownload() slot rather than adding the ID to the array as
soon as the download has finished.
2009-04-13 01:22:49 +02:00
Tobias Doerffel
69ff06e1b9 VstBase/CMakeLists.txt: do not fail with broken wineg++
With newer versions of wineg++ (1.1) errorneously adds the suffix ".exe"
to the target binary. This causes "make install" to fail. Therefore
rename remote_vst_plugin.exe if it exists.
2009-04-12 00:10:26 +02:00
Tobias Doerffel
337afffbf1 RemoteVstPlugin: removed obsolete warning
Removed obsolete warning about setting realtime. It's neither important
nor will calling printf()/fprintf() in a RemotePlugin print anything in
LMMS' console output.
2009-04-10 00:04:09 +02:00
Tobias Doerffel
7d1a357076 RemoteVstPlugin: fix issues with uniqueID
Removed the newline character at the end of the uniqueID array, decreased
array size to 5 and initialize last element with 0 after sprintf() call.
2009-04-10 00:02:29 +02:00
Tobias Doerffel
0abd4aad70 VstBase: initial support for saving/restoring chunks
Some VST plugins save their state as chunks rather than parameters.
According code to save/restore those chunks has been taken from FST 1.9.
However restore currently is disabled as it mostly fails for whatever
reason.
2009-04-09 23:40:04 +02:00
Tobias Doerffel
f38ccba04a German localization: fixed typo
Fixed typo in German localization file.
2009-04-09 00:27:27 +02:00
Tobias Doerffel
6e30ae3369 InstrumentTrack::masterKey(): fixed miscalculation
Global master pitch wasn't taken into account correctly when calculating
master key of a given key. Made MIDI based instruments behave in the
opposite direction regarding pitch when changing global master pitch.

Thanks to Skiessi for pointing out this issue.
2009-04-08 23:36:43 +02:00
Tobias Doerffel
c0ff1aa95c RemoteVstPlugin: use std::vector rather than std::list
For some reason, building remote_vst_plugin.cpp with recent
wineg++/gcc-multilib on 64 bit platforms causes undefined symbols:

remote_vst_plugin-JzpHs6.o: In function `std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)':
remote_vst_plugin.cpp:(.text._ZNSt4listI12VstMidiEventSaIS0_EE9_M_insertESt14_List_iteratorIS0_ERKS0_[std::list<VstMidiEvent, std::allocator<VstMidiEvent> >::_M_insert(std::_List_iterator<VstMidiEvent>, VstMidiEvent const&)]+0x35): undefined reference to `std::_List_node_base::hook(std::_List_node_base*)'

Replacing std::list with std::vector for queueing MIDI events seems to
fix this issue. Consider this as a workaround rather than constructive fix.
2009-04-07 12:37:17 +02:00
Tobias Doerffel
b4e38e3978 AudioJack: fixed lockup when getting zombified
This commit fixes lockup of the whole audio engine as soon as LMMS'
JACK backend got zombified due to longer delays (e.g. when audio engine
is blocked while loading a project). Restart JACK backend in such cases
and show an according message to the user.

Furthermore this commit includes various cleanups and improvements.
2009-04-07 00:07:19 +02:00
Tobias Doerffel
f42fee37c3 ProjectRenderer: fixed bug introduced by 1b91b599b...
There's been a missing evaluation of _os.depth in the 2nd ternary
operator which caused depth of filetype always be 24 bit even if 16 bit
was selected.
2009-04-06 00:20:12 +02:00
Tobias Doerffel
ff010da5ee SongEditor: fixed horizontal scrollbar with Qt 4.5
Due to optimizations in the graphics subsystem of Qt 4.5
songEditor::paintEvent() didn't get called regularly anymore and thus
the range of the horizontal scrollbar didn't get updated at all.

This commit makes the GUI track all changes related to the length of
the song.
2009-04-05 23:54:28 +02:00
Tobias Doerffel
0ae72462d9 LocalResourcesProvider: fixed filesystem monitoring
The slot LocalResourcesProvider::reloadDirectory() contained various bugs
so it did not record changes in filesystem properly. This also fixes lots
of QFileSystemWatcher messages in console window when saving a new project
inside LMMS.
2009-04-05 23:18:37 +02:00
Tobias Doerffel
1b91b599ba ProjectRenderer: added support for 24 Bit WAVs
Integrated patch by Skiessi which adds support for exporting 24 Bit WAV
files in LMMS.
2009-04-05 16:02:27 +02:00
llama
7cb7bc1dcf GIT SUCKS BALLS. FINALLY A COMMIT FROM WEEKS AGO 2009-03-31 19:56:12 -05:00
Tobias Doerffel
f7fa720d0b ZynAddSubFX: follow recent changes in CVS repository
Follow recent changes in ZynAddSubFX CVS repository - ChangeLog says:

29 Mar 2009 (Mark McCurry)
            - Started to use Doxygen within the Effects
            - Started to use const within Effects
            - Changing tabs->four spaces in hopes of generating a bit more
              consitancy
            - Began to use Initialization Lists
            - Almost all changes contained in Effects until further
              discussion on the style, so consistancy can be reached
2009-03-31 10:18:03 +02:00
Tobias Doerffel
ca5588f747 3rdparty/libsamplerate: updated to version 0.1.7
Updated 3rdparty libsamplerate to version 0.1.7 and bumped requirement
to system's libsamplerate to version 0.1.7.

Besides minor stuff, version 0.1.7 has one important fix:

  * src/src_sinc.c
  Fix a segfault which occurs when memcpy is passed a bad length parameter.
  This bug has zero security implications beyond the ability to cause a
  program hitting this bug to exit immediately with a segfault.
2009-03-26 23:54:08 +01:00
Tobias Doerffel
34bbde53e7 panning.h: fixed compiler warning
Fixed compiler warning about converting float to Sint16.
2009-03-25 17:00:06 +01:00
Tobias Doerffel
5dd68ea7f3 LVSL: track samplerate/tempo changes in VstPlugin base class
Up to now changes of samplerate or tempo only have been tracked by the
VeSTige plugin while e.g. the VstEffect didn't forward such changes to the
RemotePlugin. Moving according code from VeSTige to VstPlugin base class
fixes this issue.
2009-03-22 15:59:09 +01:00
Tobias Doerffel
dce6ae9a7d VstEffect: set displayName property at initialization
In VstEffect constructor set the displayName property in order to make
EffectView display actual plugin name rather than just "VST Effect".
2009-03-22 15:32:06 +01:00
Tobias Doerffel
2547bf8d57 Oscillator: reverted recent fix for PM
As of acaaea8204 a samplerate dependent
ratio has been added into calculation of the local phase. This however is
wrong for PM.
2009-03-22 15:15:47 +01:00
Tobias Doerffel
96fb6f5a38 RemoteVstPlugin: use SplittedThreading model for MDA plugins
Most of the MDA VST plugins require the SplittedThreading model in order
to run properly. All plugins whose unique ID starts with "mda" will be
driven with the SplittedThreading model.
2009-03-22 14:50:57 +01:00