Commit Graph

63 Commits

Author SHA1 Message Date
Tobias Doerffel
7c16094811 Fixed spelling errors
Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
(cherry picked from commit 9fd3dacb67)
2010-01-25 23:27:43 +01:00
Paul Giblock
2b714fd686 Rename "All Files" to "All file types" release QM
Translations didn't work because I didn't "release" within Linguist.  I
wonder how to update the *.ts files with missing strings...
(cherry picked from commit 49c2f6bad1)
2009-10-24 17:41:05 +02:00
Paul Giblock
340be43acd Proper File import extensions and translations
Previously, the extensions were stored in the translations, this i18n
more difficult, additionally, there was a preprocessor statement that
would cause the translated phrase to change! Hence, no translations if
you didn't have ZIP file support.  The text is now split into seperate
translations and I added "All Files".
(cherry picked from commit beb92563f1)
2009-10-24 17:37:26 +02:00
Paul Giblock
e959af4ec2 Increase import filter for *.midi and *.riff
Fix song.cpp and translations so the somewhat common *.midi extension is
recognized.
(cherry picked from commit c504bc84d4)
2009-10-24 17:35:16 +02:00
Tobias Doerffel
1d5cb23385 File and class renames part 1
Most files and most of the core classes and their methods have been
renamed to match new coding style conventions:

391 files changed, 25400 insertions(+), 25598 deletions(-)

Furthermore splitted some files where model and view classes were
declared or implemented together in the same file.

Should be tested thoroughly as I might have missed renaming some virtual
methods or SIGNAL/SLOT parameters.
(cherry picked from commit 8c9a9dd14c)
2009-08-25 01:30:41 +02:00
Tobias Doerffel
b8ebfbd06a Renamed MIDI and audio related classes/files to match new style
Renamed all MIDI and audio related classes/files to match new style.
Additionally various cleanups.
2009-08-13 00:52:21 +02:00
Paul Giblock
5138ed6722 Rename all Controller-family classes to new style
Adjust capitialization on all Controller-related classes to new
standards and update all calling code
(cherry picked from commit f1d60958f0)
2009-08-09 00:29:16 +02:00
Tobias Doerffel
621512a7b7 Song: reset window title after creating new project from template
Reset window title when creating new project from template (after
actually loading template file). Furthermore do not reset window title
at the beginning of load process anymore.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit cf0a91637b)
2009-06-18 23:07:22 +02:00
Tobias Doerffel
0faaab4521 PlayHandle: use QList instead of QVector for PlayHandle array
Use QList instead of QVector when using a set of PlayHandle's. QList
has faster insert/remove operations and in most cases we iterate through
the array using iterators so there's no performance drop.

Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
(cherry picked from commit 2cc49b8010)
2009-06-17 10:43:51 +02:00
Tobias Doerffel
99807eeb98 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.
(cherry picked from commit ff010da5ee)
2009-04-06 00:10:39 +02:00
Tobias Doerffel
ec07aef5ac 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++.
(cherry picked from commit 7449c4f731)
2009-03-15 21:50:38 +01:00
Tobias Doerffel
b3154b813d lock mixer while adjusting lengths of notePlayHandles after tempo change
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1741 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-04 23:21:39 +00:00
Tobias Doerffel
fce25dc625 fixed a bunch warnings and remarks issued by Intel Compiler
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1722 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-10-02 11:48:59 +00:00
Tobias Doerffel
28ace82fad fixed file-dialog for choosing export filename
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1691 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:44:01 +00:00
Paul Giblock
c4c13399bf Improve default PAPU settings. Add file-type filters to import screen
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1654 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 03:03:26 +00:00
Tobias Doerffel
408ab3fea5 display message if project is empty and user tries to export it (closes #2091056)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1571 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:54:23 +00:00
Tobias Doerffel
aa12ee5082 * fixed freeze after adding BB-tracks (closes #2089337)
* replaced bad cast for calling projectNotes::save/restoreState by proper C++ construct



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1570 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:33:56 +00:00
Tobias Doerffel
3372309f73 properly save and restore position, size, visibility and state of MDI-subwindows
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1569 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-07 12:09:02 +00:00
Paul Giblock
fe7d269c80 Add locking to trackContainer::m_tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1527 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-02 03:09:12 +00:00
Csaba Hruska
da6eef0ec1 added some implementation for record buttons
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1526 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-01 23:29:40 +00:00
Tobias Doerffel
d9a5b78f6b do not reset window title twice when creating new project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1425 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:08:16 +00:00
Tobias Doerffel
7eac6423b6 make sure all TCOs are shown after loading project (closes #2016741)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1391 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:04:41 +00:00
Tobias Doerffel
e637495489 migrated build-system to CMAKE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1352 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-22 11:36:50 +00:00
Tobias Doerffel
fb7569de9c lock mixer while adding BB-track (finally closes #2014486)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1344 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 22:18:36 +00:00
Tobias Doerffel
b56b072a3a added more values for displayName-property
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1334 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-18 13:02:42 +00:00
Tobias Doerffel
f325bcd346 added quirk for fixing projects with broken positions of TCOs inside BB-tracks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1314 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-17 00:16:33 +00:00
Tobias Doerffel
139c8e6be2 added new commandline option "--upgrade" for upgrading project-files easily
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1264 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-02 22:17:41 +00:00
Tobias Doerffel
3b0fb2357b fixed broken load/save of song-global automation
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1257 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-01 01:26:55 +00:00
Tobias Doerffel
9514af19f4 * send posted events after creating a new project - makes project not being marked as modified right after it's been created
* create empty sample-track and automation-track in new projects



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1253 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 22:07:04 +00:00
Paul Giblock
d83b15ae14 Fix loading/saving for peakController
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1199 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-29 08:32:27 +00:00
Tobias Doerffel
8421d4404c * confirm overwrite when exporting file
* set filter when selecting output-file for export



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1187 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 13:54:13 +00:00
Tobias Doerffel
29044e0d9c always load FX-mixer-settings even if there's no GUI
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1175 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-25 12:33:23 +00:00
Tobias Doerffel
9bebe4325b * completely new automation-system with automation-tracks and automation-patterns as well as song-global automation
* made modelView take a QWidget-pointer argument
* trackContentObject-ctor now calls track::addTCO() directly
* optimize various loops to use iterators/const_iterators instead of a running index variable
* drag'n'drop doesn't fool around with pointers anymore - instead use unique journalling-IDs
* moved drag'n'drop handling code from knob to automatableModelView so that all controls can benefit from that



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1164 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-23 22:36:33 +00:00
Tobias Doerffel
8cc50c843a * lock mixer while loading project - fixes crashes when loading projects with FX-mixer settings
* update BB-track-container after creating a new project - fixes non-existing TCOs (i.e. patterns) in BB-Editor in new projects



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1133 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-15 12:50:14 +00:00
Tobias Doerffel
fc810f4af8 fixed loading files in no-GUI mode
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1121 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-10 22:34:06 +00:00
Tobias Doerffel
d6262bb556 use lmmsconfig.h rather than config.h and use prefixed macro-names
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1097 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 11:30:47 +00:00
Tobias Doerffel
74c8443b0f reset m_modified after loading a project, creating a new one or saving
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1095 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-08 00:10:06 +00:00
Tobias Doerffel
dfb9395160 in song::setModified() only call mainWindow::resetWindowTitle() when being calle with GUI-thread affinity
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1093 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 23:05:15 +00:00
Tobias Doerffel
231bef1349 rewrote management of MIDI-ports and MIDI-port subscriptions - now it's central and easy to use
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1087 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-07 21:20:35 +00:00
Tobias Doerffel
dd06154ed6 heavily optimized journal-cleanup - project unloading is now unbelievable fast
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1073 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-05 12:48:53 +00:00
Paul Giblock
6b7d69c7cf Default to midi in connection-dialog, correct pointer to autoDetectCheckBox
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1045 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-02 14:30:48 +00:00
Tobias Doerffel
d3516cd5c5 made LMMS build for win32, coding-style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1038 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-01 22:35:02 +00:00
Tobias Doerffel
d5701ac014 reworked automatableModel (not template-based anymore), removed levelObject, splitted comboBox/comboBoxModel-source-files, began to unify context-menu-creation for controls
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1031 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-28 11:47:45 +00:00
Paul Giblock
eb3e3b84d1 fix crash on new project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1026 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 09:39:30 +00:00
Paul Giblock
79905590da add class controllerConnection to model link between models and controllers
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1023 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-26 06:16:49 +00:00
Tobias Doerffel
bf077dd520 implemented support for time-signatures other than 4/4
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1021 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 22:43:53 +00:00
Paul Giblock
4788517843 More controller clearing stuff
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1017 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 06:39:02 +00:00
Paul Giblock
736a252b53 Load and save controllers to project
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1016 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 05:29:00 +00:00
Tobias Doerffel
7a6fb18e86 * song/songEditor: added meterModel and meterDialog (which actually is just a widget) as preparation for time-signature-support - it doesn't actually work yet!
* style.css: improved appearence of menu in general
* splitted source-files for meterModel and meterDialog and added "simple"-mode for meterDialog



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1014 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-24 22:01:31 +00:00
Tobias Doerffel
e32eed940f * introduced new project-export dialog
* new class for easily rendering a project into a file
* when changing quality-settings tell audio-devices about it so that they can adjust their output-samplerate



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@958 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-11 20:08:34 +00:00