Commit Graph

1189 Commits

Author SHA1 Message Date
Tobias Doerffel
22c877d4f9 InstrumentTrack: in compat code of loadTrackSpecificSettings() also
check for nodeName being "connection" - do not try to load an instrument
called "connection" if one of the basic parameters of the InstrumentTrack
is automated
2009-03-13 09:47:29 +01:00
Tobias Doerffel
46097b72d7 Various fixes for better OpenBSD compatibility (thanks to Jacob Meuser) 2009-03-12 19:34:03 +01:00
Tobias Doerffel
03bf853a4d AutomationPattern: save and restore length of AutomationPattern to avoid
confusions with the previous auto-resize behaviour
2009-03-12 19:03:42 +01:00
Tobias Doerffel
94d13e84ca MIDI subsystem: fixed misspelled "writeable" into "writable", minor
coding style fixes
2009-03-12 01:09:32 +01:00
Tobias Doerffel
782156cf70 MidiPort: properly emit portChanged signals when loading settings - fixes
MidiPortMenu showing devices not checked although actually connected
2009-03-12 01:00:36 +01:00
Tobias Doerffel
e10de81df3 ResourcesItem: completely initialize itself even if name is empty 2009-03-10 23:31:08 +01:00
Tobias Doerffel
d794789210 ResourcesItem: if base()==BaseURL, try to return URL of provider in
getBaseDirectory()
2009-03-10 23:28:36 +01:00
Tobias Doerffel
2385a921eb WebResourcesProvider: added support for directory structure according to
directory information in WebResources/Index file
2009-03-10 23:21:23 +01:00
Tobias Doerffel
075b894b7e ResourcesDB: do not save topLevelNode in XML cache files - saves one
level of indentation and makes format more consistent
2009-03-10 18:53:15 +01:00
Tobias Doerffel
2d7b1f1211 LocalResourcesProvider: do not include own name in path-property of
directory items and fixed usage of ResourcesItem::fullName() - makes
format of XML cache file more consistent and also speeds up string
comparisonswhen filtering
2009-03-10 18:51:51 +01:00
Tobias Doerffel
5976ab5ce2 TrackContainerView: when dragging a preset file into TrackContainerView
load complete track settings rather than just track specific settings -
fixes an issue where the track name was not loaded from the dragged preset
2009-03-09 22:43:33 +01:00
Tobias Doerffel
0dcef8c771 Add one instance of WebResourcesProvider to global resources database 2009-03-09 00:54:41 +01:00
Tobias Doerffel
5238e02fe7 WebResourcesProvider: initial implementation allowing to browse and
download online resources just like if they were local files
2009-03-09 00:52:35 +01:00
Tobias Doerffel
ce6933bb7d ResourcesTreeModel: return proper data for web resources root node 2009-03-09 00:50:13 +01:00
Tobias Doerffel
0a37cfd795 ResourcesItem: evaluate complete suffix when determining file type by
extension - allows to classify legacy extensions such as ".cs.xml"
2009-03-09 00:48:49 +01:00
Tobias Doerffel
f5057ce6d2 Standard filters: added 24 dB versions of RC filters as well as a vocal
format filter (thanks to Stefan Fendt!)
2009-03-08 15:19:01 +01:00
Tobias Doerffel
fa3d004f42 PatternView: if volume of a step is 95 it was not possible to increase
it to 100 by scrolling up (closes #2656024)
2009-03-04 19:00:04 +01:00
Tobias Doerffel
2887895df7 Regenerated optimized x86_64 basic ops with latest GCC 4.4.0 snapshot 2009-03-04 16:30:33 +01:00
Tobias Doerffel
18bbed4fd6 Regenerated optimized x86 basic ops with latest GCC 4.4.0 snapshot 2009-03-04 16:25:08 +01:00
Tobias Doerffel
ca8439301b UnifiedResourcesProvider: in remergeItems() reserve sufficient buckets
in hash map before repeatedly inserting items - should improve performance
2009-03-01 11:50:09 +01:00
Tobias Doerffel
890f4564a1 Save database of LocalResourcesProvider into cache file at exit. 2009-02-28 17:13:11 +01:00
Tobias Doerffel
18282e0de3 Made UnifiedResourcesProvider actually pull ResourceItem's from its
merged databases into its own database (and also keep them up to date).

Furthermore added code to properly destroy merged databases and their
providers in desctrutor.
2009-02-28 17:10:48 +01:00
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
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
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