Commit Graph

1933 Commits

Author SHA1 Message Date
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
3084b361ea PeakControllerEffect: corrected calculation for RMS and moved loops out
of if-branches - results however should be nearly the same but more accurate
and not negative
2009-03-12 00:44:40 +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
0b39b4c376 Build system: require QtNetwork module for web resources support 2009-03-09 00:47:56 +01:00
Tobias Doerffel
84c2fc8ddb Renamed mimetypes/folder-lsp.png to mimetypes/folder-web.png 2009-03-09 00:28:52 +01:00
Tobias Doerffel
168b52dcff ResourcesItem: added BaseURL 2009-03-08 22:49:34 +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
Andrew Kelley
55c3ea4ef9 fixed phase randomness knob to affect both channels. I'm probably going to end up removing this knob but for now it's fixed. 2009-03-08 02:20:42 -07:00
Andrew Kelley
00749c373a re-align tripleoscillator knobs and fix phase randomness so that knobs can be automated without clicks 2009-03-06 21:44:21 -07:00
Andrew Kelley
d4c92a2612 Merge branch 'master' of ssh://superjoe30@lmms.git.sourceforge.net/gitroot/lmms 2009-03-05 23:21:58 -07:00
Andrew Kelley
952e6fb4ec add Phase Randomness knob to tripleoscillator 2009-03-05 23:18:41 -07: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
402a2d32f7 MidiImport: per default use bank 0 instead of 128 2009-03-04 18:41:39 +01:00
Tobias Doerffel
e4a6fde320 MidiImport: show an information message if no default soundfont has been
set (closes #2660545)
2009-03-04 18:40:10 +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
9023304b7a ZynAddSubFX: fixed compiler warnings 2009-02-28 17:13:53 +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
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