Commit Graph

694 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Tobias Doerffel
b01724c666 * when resampling whole sampleBuffer, set end_of_input = 1 in libsamplerate data struct - fixes lots of zero samples at the end of output buffer (closes #2531452)
* coding style fixes
* removed obsolete save/restore of EOF-property in libsample rate data struct when resampling successively (always use 0)



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2039 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 16:35:40 +00:00
Tobias Doerffel
c310667bd9 initial support for use of FLUIQ by LMMS - will need lots of tuning until it gets usable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2032 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 11:35:56 +00:00
Tobias Doerffel
91f3db7b84 more coding style fixes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2028 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-13 00:19:49 +00:00
Paul Giblock
9f4ea82a39 More work on glossy TCOs, add hover-effects
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2015 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 04:38:35 +00:00
Paul Giblock
d5234ed7a2 Add BB and Pattern item subclasses, play with glossy TCOs
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2014 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 04:14:00 +00:00
Paul Giblock
f057a52ab9 Intial version of new song-editor, more of a viewer right now
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2013 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-11 00:56:03 +00:00
Paul Giblock
a48b0b6ce0 Fix off-by-one enum on new RC filters
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2012 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-09 08:45:25 +00:00
Paul Giblock
46adbb2b34 Initial addition of Stefan Fendt's RC filters, updated and fixed code style.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2011 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-08 23:04:29 +00:00
Tobias Doerffel
ac6cd2584d cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@2000 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:15:14 +00:00
Tobias Doerffel
c0f48d6196 reworked mixer-threads (synchronization, realization of jobqueue etc.) which results in a much better performance and stability
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1998 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-05 13:14:12 +00:00
Andrew Kelley
879b50aaa1 - fixed bug: piano roll was still recording when not in record mode
- use the key L to cycle through playback modes. (this is consistent with FL Studio)


git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1994 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-03 01:29:40 +00:00
Andrew Kelley
3341f3d711 Added global playback support. Press space to play/pause from any window in LMMS.
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1993 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-02 07:55:52 +00:00
Andrew Kelley
65ca28ddfc ability to import an FL Studio .zip package
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1991 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-02-02 02:27:30 +00:00
Paul Giblock
68a5cc9ab0 Improve Cusis scrollbar, fix code style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1989 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-29 14:13:36 +00:00
Paul Giblock
1053696ada Pattern colors styleable
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1988 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-29 04:03:33 +00:00
Paul Giblock
7b8b7c31a6 Pull Cusis-class into SVN, no Cusis-theme yet though
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1985 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-29 03:09:15 +00:00
Paul Giblock
c465859203 More LmmsStyle usages and leak fix
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1979 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-28 08:56:11 +00:00
Paul Giblock
18c8296dfd Fix coding style
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1975 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-28 08:05:45 +00:00
Paul Giblock
26c20113cf Add LmmsStyle class for color and drawing hooks
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1974 0778d3d1-df1d-0410-868b-ea421aaaa00d
2009-01-28 07:49:08 +00:00
Tobias Doerffel
c5e7a878c1 fixed broken version comparing which indicated 0.x.y to be less than 0.x.y-patch - fixes messed up projects when loading files created with LMMS 0.4.0
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1959 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-19 16:19:59 +00:00
Tobias Doerffel
8b40de7137 added STK support to win32 version of LMMS
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1953 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-17 23:25:54 +00:00
Tobias Doerffel
d0163430f2 reverted previous API changes as they can be implemented in a generic manner
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1945 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 16:51:18 +00:00
Tobias Doerffel
221bf906ba * do not create a instrument track window just for calling dragEnterEvent() - use a static method instead
* limit panning in processAudioBuffer()



git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1944 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 16:50:24 +00:00
Andrew Kelley
87a9be583f sf2 understands panning midi meta events now
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1942 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 11:46:41 +00:00
Andrew Kelley
7fe4f1e60c experimental support for note panning in SF2 player (I'm not sure what m_maxChannels should be or how to find it out. I just picked what worked for my setup.)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1941 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 11:24:05 +00:00
Andrew Kelley
3392c83481 added a note detuning tool and fixed mouse cursor glitch when mousing over notes
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1935 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 02:09:28 +00:00
Andrew Kelley
bbb7bcc4c9 if you move *or resize* a single note, it is deselected after the move to allow note editing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1934 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-16 00:01:27 +00:00
Paul Giblock
d41a369835 Attempt to fix caching bug in track backgrounds
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1933 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 22:55:06 +00:00
Andrew Kelley
55c109e611 if you move a single note, it is deselected after the move to allow note editing
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1930 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 21:52:31 +00:00
Andrew Kelley
7a8f95985a when setting a new note, set panning and volume to that of last clicked on note
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1929 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 05:11:40 +00:00
Andrew Kelley
ecfb18d551 double click in the note edit area to clear selected notes (allowing you to edit note velocities/panning for all notes)
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1928 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-15 03:10:49 +00:00
Tobias Doerffel
ca4fae4f3a added Andrew as copyright holder, cleanups
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1924 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 21:55:33 +00:00
Andrew Kelley
167180e670 added panningToMidi function to easily convert panning to a midi value, dragging around a note in the piano roll makes the correct volume and panning noises
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1921 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 11:01:05 +00:00
Andrew Kelley
1e0bf14904 piano roll notes are painted with colors that reveal their velocities and panning, and gui for switching between note edit modes is improved
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1919 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 09:44:22 +00:00
Andrew Kelley
e0e7cb9af8 Note panning editing support in the piano roll
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1918 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 02:39:12 +00:00
Tobias Doerffel
c23dcee37f added NULL as default argument for parent
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1917 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 01:07:13 +00:00
Tobias Doerffel
53776a1f1f manage effectRackView with a QVBoxLayout
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1916 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 01:06:03 +00:00
Tobias Doerffel
ee58a2db6b some work on a better widget layouting and more usable splitters in combination with CollapsibleWidgets
git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@1915 0778d3d1-df1d-0410-868b-ea421aaaa00d
2008-12-14 01:03:28 +00:00