Commit Graph

1941 Commits

Author SHA1 Message Date
Tobias Doerffel
7449c4f731 Fixed various types to be suffixed with "_t".
This commit ensures that all defined data types in include/lmms_basics.h are
suffxed with "_t" to keep consistency as well as to fix issues on systems
with older STL/libstdc++.
2009-03-15 16:28:13 +01:00
Tobias Doerffel
d981b32480 MidiPort: subscribe writable rather than readable port when settings
When loading MidiPort settings, erroneously readable port was subscribed rather
than writable port. This commit fixes the issue.
2009-03-14 19:09:46 +01:00
Tobias Doerffel
fdc065b8b8 MidiAlsaSeq: fixed typo which made output ports not work at all
As of 94d13e84ca, MidiClients::writablePorts()
was not overloaded properly anymore and thus no output ports appeared anymore.
2009-03-14 19:06:43 +01:00
Tobias Doerffel
bd9be061a0 MidiPortMenu: minor coding style fixes 2009-03-14 19:06:06 +01:00
Tobias Doerffel
c24b923b78 FX-Fader: added accessibleName property for FX faders for not displaying
an empty titlebar in context-menu
2009-03-14 16:02:18 +01:00
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
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