Commit Graph

80 Commits

Author SHA1 Message Date
Tobias Doerffel
bbe686e290 LmmsStyle: adopted new coding style and renamed class 2014-01-16 23:45:54 +01:00
Tobias Doerffel
0ff1f91c1b Mixer: renamed class and file name
The mixer class is now named "Mixer" and accessible via engine::mixer().
2014-01-08 22:35:14 +01:00
Paul Giblock
867b13691d Add support for upgrading to standard output
Useful for me to initially import LMMS presets for use in lmms-lv2.
2013-02-27 15:46:48 -05:00
Paul Giblock
8bbbdacfcb Add support for upgrading presets
This is in addition to songs.  Simply use multimediaProject.  Don't
screw around with Song().  Also, needed to move creation of xml
preamble (processing instruction) due to duplicate entry when
doing a load/save.

Conflicts:
	src/core/main.cpp
2013-02-27 15:36:12 -05:00
Paul Giblock
b2dc6375b9 Update copyright date to 2013 in usage
Conflicts:
	src/core/main.cpp
2013-02-27 15:36:12 -05:00
Tobias Doerffel
1e83b1e23b Reset filename when recovering project after unexpected exit
We must not use "recover.mmp" as regular filename after we recovered
the sesion from it as this causes following save cycles to go into
the recovery file. Instead load the recovery file via
song::createNewProjectFromTemplate() so the used will be asked for
a filename when saving the recovered project the first time.

Closes #3294122.
2011-07-02 13:52:44 +02:00
Tobias Doerffel
babf3edff8 Ask whether to recover session after unexpected exit
Instead of always loading the last auto-saved session (which might end
up in an endless cycle if recover.mmp is faulty or causes a crash) ask
the user whether to do so.
2011-04-06 18:35:20 +02:00
Andrew Kelley
7b7dc0bfb2 don't change the current project when auto-saving
every time auto-save ran, it would change the current project to
"recover.mmp". Now it doesn't do this because Song has
guiSaveProject(), guiSaveProjectAs(), and saveProjectFile().
(the latter is used for auto-save)
(cherry picked from commit 953522f34a)
2011-01-12 17:09:45 +01:00
Andrew Kelley
d75677b9d3 auto-saves every minute and recovers upon crash
auto-save time is not configurable yet. saves "recover.mmp" to
WORKING_DIR every 60 seconds. Deletes recover.mmp on successful
close of LMMS. If recover.mmp is found upon start, it loads that
project.
(cherry picked from comit f73ccadc17)
2011-01-12 17:09:14 +01:00
Tobias Doerffel
610f01b0f9 moved version information into separate header file to avoid the necessity of a complete recompile each time SVN revision changes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1913 0778d3d1-df1d-0410-868b-ea421aaaa00d
(cherry picked from commit b25f6f3911)
2010-07-25 18:50:42 +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
Tobias Doerffel
edf2d4d104 Whole code base: various cleanups, removed SINGLE_SOURCE_COMPILE relicts
* cleaned up code and improved coding style
* removed old SINGLE_SOURCE_COMPILE macro relicts
* use QString::toUtf8() instead of QString::toAscii() wherever possible

(cherry picked from commit 0bb54199b0)
2009-08-05 17:17:57 +02:00
Achim Settelmeier
2f5dd60fd9 MainWindow: fixed problems with maximized window-state when using FVWM2
Added a workaround for FVWM2 as showMaximized() does not work with it
unless the window is already visible.
(cherry picked from commit 515f0243b9)
2009-05-05 23:36:25 +02:00
Tobias Doerffel
efbe9c94c0 Various fixes for better OpenBSD compatibility (thanks to Jacob Meuser)
(cherry picked from commit 46097b72d7)

Conflicts:

	src/core/main.cpp
2009-03-12 19:35:49 +01:00
Tobias Doerffel
98371cb148 rewrote FLP import filter, various coding style fixes (stable backport)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/branches/lmms/stable-0.4@1842 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-11-21 23:22:36 +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
1ba1c097ee do not show splash if environment variable NOSPLASH is set
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1706 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:22:08 +00:00
Tobias Doerffel
b83b56fdf5 fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1704 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-24 09:08:15 +00:00
Tobias Doerffel
356af7ca64 install and load Qt translation files on win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1692 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:51:27 +00:00
Tobias Doerffel
6088193ac0 set PaintOnScreen property for splash for not taking part of compositing management
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1686 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-22 22:23:51 +00:00
Tobias Doerffel
778293b31e fixed compiler warnings
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1680 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 23:47:02 +00:00
Paul Giblock
b17bbed325 Hide pitch-bend knob on vibed instrument.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1672 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-21 19:46:43 +00:00
Tobias Doerffel
a170f7209a fixed paths when starting with no configuration file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1636 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-19 15:42:32 +00:00
Tobias Doerffel
570159868e don't mis-initialize random number generator with default value
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1615 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-16 14:02:34 +00:00
Tobias Doerffel
1dfddf50be * moved palette initialization into lmmsStyle class
* added a hack for making titlebar text colors in QMdiSubWindows common on all platforms



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1550 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-09-05 20:52:27 +00:00
Tobias Doerffel
c51a7ba0a2 fixed splash-screen for win32
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1468 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-22 22:43:17 +00:00
Tobias Doerffel
406aab970e improved documentation of commandline options
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1443 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 17:27:24 +00:00
Tobias Doerffel
3d51688526 improved progress information when rendering at console
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1442 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-19 09:51:52 +00:00
Tobias Doerffel
f3cae379e1 when creating a new project, show main-window afterwards - fixes behaviour when debugging win32-version via WINE
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1426 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-08-01 21:08:52 +00:00
Tobias Doerffel
5efa20d772 moved initialization of RNG to top of main()
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1412 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:12:49 +00:00
Tobias Doerffel
733491d36d * added --dump parameter for easily uncompressing mmpz-files
* try to set realtime priority after command-line parsing as the resulting warning might be annoying at this place



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1410 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-30 20:02:24 +00:00
Tobias Doerffel
11b85eb323 added support for building LMMS on OS X and generating a DMG-package
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1404 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 21:35:40 +00:00
Tobias Doerffel
39f9bfc60f win32-compatibility
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1400 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 16:21:06 +00:00
Tobias Doerffel
12c6e194bc * initialize random-number generation - fixes problems with duplicate JO-IDs
* show main-window before loading project given on command-line or creating a new project (closes #2016741)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1389 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-28 08:03:57 +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
0f89d164dc do not terminate silently if parsing of configuration file failed
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1308 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-07-12 16:37:41 +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
1cfd589658 fixed various leaks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1229 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-30 16:51:41 +00:00
Tobias Doerffel
70965e3e30 added support for exporting WAVE-files with 32-bit-float format
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1186 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-28 13:43:35 +00:00
Tobias Doerffel
15134568f1 * removed volumeKnob-class and added volumeKnob-property to knob-class instead
* reduced header-dependencies and various cleanups
* removed obsolete settings



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1158 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-20 22:44:49 +00:00
Tobias Doerffel
32d5ca7c64 improved support for different file-formats when exporting and fixed bug which made LMMS crash when exporting to OGG-file
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1123 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-06-12 20:35:20 +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
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
08b1cd55cd new transparent splash-screen without obsolete text-messages
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1018 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-25 09:58:23 +00:00
Tobias Doerffel
9ea1c5433a only create core-application for --help and -h
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1001 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-21 00:36:19 +00:00
Tobias Doerffel
db789b050e * LVSL: call waitpid(...) when closing plugin - fixes zombie processes
* VST-effect: finally made VST-effect plugin work
* core: when rendering from command-line, only create a QCoreApplication - needs further work
* Singerbot: integrated patches from William Steidtmann <billstei/at/hbci/dot/com> which makes Singerbot at least compile - doesn't seem to work yet though



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@997 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-19 16:15:24 +00:00
Tobias Doerffel
18b1081326 added a lot of options for rendering via command-line and finally made it working with new projectRenderer-class
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@974 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-05-15 16:58:14 +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
Tobias Doerffel
81399f026b tuned colors a bit
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@808 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-03-22 13:55:43 +00:00