Commit Graph

1903 Commits

Author SHA1 Message Date
Tobias Doerffel
e69709ae83 ResourcesProvider's now can tell their databases not to locally cache their
items in a file by overloading ResourcesProvider::cacheDatabase()
2009-02-28 17:04:35 +01:00
Tobias Doerffel
aff61f16b0 Replaced global ResourcesDB with a global UnifiedResourcesProvider which
allows to add several resource directories or online resources.
2009-02-28 16:02:08 +01:00
Tobias Doerffel
75c03f65f2 Added UnifiedResourcesProvider which merges multiple ResourcesDB's and
offers one unified database.
2009-02-28 15:46:29 +01:00
Tobias Doerffel
bbafa5ec19 Use QFileInfo rather than QDir to determine whether a given path is a
valid directory before adding to QFileSystemWatcher.
2009-02-27 19:14:43 +01:00
Tobias Doerffel
a93a400539 Refactored resources framework to use the new LocalResourcesProvider for
scanning local directories and filling its ResourcesDB.

The ResourcesDB is responsible for writing local catalogue files. It
automatically loads back the appropriate catalogue file (depending on
the provider that operates on the ResourcesDB object) at initialization.
Will be useful for WebResourcesProvider as well to cache metadata of
online resources.

All you have to do now is to create an according ResourcesProvider which
will automatically setup a ResourcesDB that can be operated on by the
ResourcesTreeModel.
2009-02-27 19:01:51 +01:00
Tobias Doerffel
6e4cc7b270 NotePlayHandle: call instrumentTrack::deleteNotePluginData() before
invalidating itself in instrumentTrack's m_notes array - fixes recording
with instruments that under certain circumstances call
notePlayHandle::noteOff() on their own (e.g. Kicker)
2009-02-27 14:12:33 +01:00
Tobias Doerffel
f49274cac2 Separated out ResourcesDB::Item and ResourcesDB::TreeItem into
ResourcesItem and ResourcesTreeItem in own header- and source-files
2009-02-27 11:25:39 +01:00
Tobias Doerffel
d2f82ce3c0 Added skeleton for WebResourcesProvider class 2009-02-27 00:55:30 +01:00
Tobias Doerffel
2915896658 Added skeleton for LocalResourcesProvider class 2009-02-27 00:55:04 +01:00
Tobias Doerffel
71c8690442 Added skeleton for ResourcesProvider class 2009-02-27 00:54:38 +01:00
Tobias Doerffel
0804318b57 ResourcesDB: added typedef's for enumerations in ResourcesDB::Item 2009-02-27 00:53:33 +01:00
Tobias Doerffel
9bbb701dac Fixed file mode for files that were executable although they shouldn't be 2009-02-27 00:21:41 +01:00
Tobias Doerffel
9ebdc72404 ResourcesDB: added nameHash property in order to avoid unnecessary
string comparisons (now comparing two int's before comparing two whole
string objects)
2009-02-27 00:01:38 +01:00
Tobias Doerffel
57c7c64103 ResourcesDB: use pointers to manage hash-tree (both in tree-structure
and hash-map) - avoids local copies of objects as well as accidently
overwritten ResourcesDB::Item's in hash-map, which resulted in
inconsistencies in tree and finally crashes in several situations, e.g
removal of previously existing objects (closes #2584125)
2009-02-26 23:55:20 +01:00
Tobias Doerffel
1bf92af2d4 PeakController: always check for m_peakEffect != NULL before using it as
sometimes it keeps NULL due to bugs in PeakController and
PeakControllerEffect deletion (closes #2616486)
2009-02-26 16:35:10 +01:00
Tobias Doerffel
a7b885442e 8c85e9b1cf was incomplete, fixes to make
everything build properly
2009-02-26 14:51:02 +01:00
Tobias Doerffel
8c85e9b1cf Reverted c310667bd90457a4edafd752718046bf892b1ea6y to keep trunk at least
a bit usable, will continue FLUIQ development in a separate branch
2009-02-24 17:09:18 +01:00
Tobias Doerffel
7ec6080f92 follow recent changes in ZynAddSubFX CVS:
* Fix improper deallocation in PresetsStore
* Fixed errors with drawing of the Oscillator as reported with valgrind



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2083 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-24 01:01:31 +00:00
Tobias Doerffel
d8402c6f6a integrated ZynAddSubFX plugin from LMMS-extras into LMMS mainline
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2080 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-24 00:45:24 +00:00
Tobias Doerffel
bfca9a1df6 moved ZynAddSubFX presets from LMMS-extras to mainline
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2079 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-24 00:27:25 +00:00
Tobias Doerffel
9bf5213d81 moved ZynAddSubFX plugin from LMMS-extras to mainline
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2078 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-24 00:23:30 +00:00
Tobias Doerffel
ba54477d86 reflect changes in MinGW crosscompiling environment, typo fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2069 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-23 19:54:18 +00:00
Paul Giblock
50eba261f8 Fix ScrollBar-hover for Cusis on Qt-4.5
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2064 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-22 02:33:18 +00:00
Paul Giblock
177d63f8bd Add LFO-Controller artwork back since it works in Qt4.5. Tweak classic-style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2063 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 20:20:31 +00:00
Paul Giblock
51be3f5c13 Fix clipping issues in classic theme
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2062 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 18:00:33 +00:00
Paul Giblock
03d7116e5e quartic-movement when dragging TCOs, Colorize TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2061 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 17:51:42 +00:00
Paul Giblock
0bdeca5b54 Various SongEditor fixes and updated file headers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2060 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 06:17:01 +00:00
Paul Giblock
c5571651df Add classic-TCO back, enhance song editor, cleanup code
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2059 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-20 05:01:22 +00:00
Tobias Doerffel
9ff11564e0 rewrote timing of fading animation for not postponing updates of hidden fadeButton until it becomes visible
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2056 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:01:41 +00:00
Tobias Doerffel
02e387c160 make sure all buttons in trackOperationsWidget have focus-policy set to Qt::NoFocus in order to make space play song even if you clicked e.g. a mute-button (closes #2486211)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2055 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 15:00:33 +00:00
Tobias Doerffel
3cb8547c6a move timeLine marker in Piano Roll and autoscroll when recording while playing song (closes #2486334)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2053 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 14:27:14 +00:00
Tobias Doerffel
c4884db2fb more record-accompany fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2051 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:56:57 +00:00
Tobias Doerffel
923f400ed0 coding style fixes, improved handling of shared detuningHelper object
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2047 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:38:32 +00:00
Tobias Doerffel
8aec19379e fixed various bugs regarding recording:
* once recording has been started, stop it as soon as playMode of song changes or similiar things happen (closes #2486341)
* fixed broken record-accompany in most use-cases other than using record-while-playing-song by also tracking NoteOn events and remember current play position to use 
the correct note postitions on NoteOff events (play position might have wrapped around in the meantime due to looppoints or end of BB track) (closes #2486299, #2486203)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2046 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-19 13:37:41 +00:00
Andrew Kelley
4b5b256dea updated copyright and added plug to ##lmms per skiessi's request
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2045 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-14 21:43:02 +00:00
Tobias Doerffel
61c233ef61 reverted rev 2037 as we have custom changes in this file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2043 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-14 17:34:41 +00:00
Tobias Doerffel
3f40d19d32 * added missing slot declaration for abortFreeze(), fixes lockup when freezing pattern (closes #2530320)
* update patternView after freezing
* fixed drawing of frozen pattern



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2041 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 23:35:52 +00:00
Tobias Doerffel
b01724c666 * when resampling whole sampleBuffer, set end_of_input = 1 in libsamplerate data struct - fixes lots of zero samples at the end of output buffer (closes #2531452)
* coding style fixes
* removed obsolete save/restore of EOF-property in libsample rate data struct when resampling successively (always use 0)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2039 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:35:40 +00:00
Tobias Doerffel
c4bc87b449 integrated latest libsamplerate which is both faster and more reliable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2037 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:29:09 +00:00
Tobias Doerffel
bfa674dfbe added notice about development status
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2036 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:26:31 +00:00
Tobias Doerffel
bdf0545699 disable output monitor per default and show click-hint
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2033 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 14:54:18 +00:00
Tobias Doerffel
c310667bd9 initial support for use of FLUIQ by LMMS - will need lots of tuning until it gets usable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2032 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:35:56 +00:00
Tobias Doerffel
4e2b92105c reverted some of the changes from 2008-11-10 which caused distorted graphics when running LMMS with Qt 4.5
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2030 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:32:08 +00:00
Tobias Doerffel
05bf935dd5 do not hide menus when collapsing widget
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2029 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:23:17 +00:00
Tobias Doerffel
91f3db7b84 more coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2028 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:19:49 +00:00
Tobias Doerffel
2c7306a661 reflect recent changes to MinGW cross compiling environment
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2025 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 23:33:49 +00:00
Tobias Doerffel
a4c1797822 update patch after loading settings (closes #2486372)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2023 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 23:24:29 +00:00
Tobias Doerffel
794fa084cf * ensure, cursor is never NULL when painting it in paintEvent()
* a lot of coding style fixes



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2022 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:59:38 +00:00
Andrew Kelley
b463f54b8f added instructions to compile for win32 to INSTALL file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2020 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:45:41 +00:00
Tobias Doerffel
fcca686f50 do not load samples bigger than 100 MB (closes #2458375)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2018 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-12 22:17:36 +00:00