Erik Faye-Lund
163194e338
editor: increase warning level and fix warnings
...
While we're at it, let's fix-up some code-style errors.
2010-08-29 23:43:08 +02:00
Erik Faye-Lund
31ec5064b2
editor: allow reordering tracks by dragging mouse
...
Previously the only way of reordering tracks were with an
obscure keyboard short-cut. Most users would expect to be
able to do this with the mouse, so we'll allow that.
2010-06-18 16:29:11 +02:00
Erik Faye-Lund
b5edcbe55d
editor: make autoscrolling optional
2010-06-18 16:29:09 +02:00
Erik Faye-Lund
6d9b923461
editor: use beam-cursor in track view
2010-06-18 16:29:08 +02:00
Erik Faye-Lund
9f6eeb0b5d
editor: portability fixes
...
This is mostly just nit-pickery that allows most of the editor to
be compiled with MinGW. The nasty COM-stuff for the XML-loader in
syncdocument.cpp is still not compiling, though. There's also some
missing resource definitions, it seems.
2010-03-24 21:41:35 +01:00
Erik Faye-Lund
892e1e1a97
editor: max char width constness
2010-03-24 18:21:16 +01:00
Erik Faye-Lund
06c75438cf
editor: get rid of some TCHARism
...
We dont need unicode everywhere. TCHARism is just noise.
2010-03-24 18:21:09 +01:00
Erik Faye-Lund
874c5b8ede
rename LICENSE.TXT to COPYING
2010-03-19 17:41:37 +01:00
Erik Faye-Lund
decf843c04
player/client: port to C
...
Make sure that all code included in the player and client is
pure C. This helps on portability.
2010-03-19 17:41:34 +01:00
Erik Faye-Lund
892ac2f0fb
allow moving left/right when playing back
...
There's no point in disallowing left/right motion when playing back. This
patch re-allows that (and allows swapping tracks while playing back as well).
2010-03-19 17:41:33 +01:00
Erik Faye-Lund
557473f5a3
Encapsulating...
2010-03-19 17:41:31 +01:00
Erik Faye-Lund
e8f1727b4c
Formatting and removed ini-file from the vs08 project.
2010-03-19 17:41:31 +01:00
Erik Faye-Lund
bd4c5d31b3
Removed ini-file stuff. Sorry Skrebbel, but it wasn't good enough ;)
2010-03-19 17:41:30 +01:00
Erik Faye-Lund
18410f89f3
Resize margins with font changes as well.
2010-03-19 17:41:30 +01:00
Erik Faye-Lund
0ec7daf2c1
Allow run-time font changing.
2010-03-19 17:41:30 +01:00
Erik Faye-Lund
60ee9553d4
made some of the font-properties class members instead of const variables (and even worse, global variables).
2010-03-19 17:41:30 +01:00
Erik Faye-Lund
95b2cfd073
renamed fontHeight to rowHeight
2010-03-19 17:41:29 +01:00
Erik Faye-Lund
0dc304a335
Overwriting paste. A tad more logical to work with than the old method.
2010-03-19 17:41:28 +01:00
Erik Faye-Lund
fe8d009a22
added recentfiles.cpp to vs2005 project, fixed some warnings, removed Release()-call that caused crash.
2010-03-19 17:41:26 +01:00
Erik Faye-Lund
1eb06de644
rows as a document property
2010-03-19 17:41:26 +01:00
Erik Faye-Lund
ee62a21d3e
const and sign-correctness.
2010-03-19 17:41:25 +01:00
Erik Faye-Lund
1879f075a7
Fixed bug 2166761 for all known cases except from document-loading.
2010-03-19 17:41:24 +01:00
Erik Faye-Lund
062ee83a9f
Somehow I find it more useful to be able to do both horizontal and vertical home/end than that row-snapping thingie. I'll just commit this, and see if anyone disagrees ;)
2010-03-19 17:41:23 +01:00
Erik Faye-Lund
b0224c0f2b
Removed an assert
2010-03-19 17:41:23 +01:00
Erik Faye-Lund
416f52b546
these messages shouldn't go here...
2010-03-19 17:41:21 +01:00
Erik Faye-Lund
df83f72336
removed some warnings
2010-03-19 17:41:21 +01:00
Erik Faye-Lund
cef4af984d
Improved encapsulation and const-correctness.
2010-03-19 17:41:21 +01:00
Erik Faye-Lund
2e198c3a11
Removed a crash
2010-03-19 17:41:20 +01:00
Erik Faye-Lund
cedd448878
fixed some crashes, and repainting to "round up" (or rather - add one).
2010-03-19 17:41:18 +01:00
Erik Faye-Lund
aa65670383
track-reordering works \o/
2010-03-19 17:41:17 +01:00
Erik Faye-Lund
3b014fd04a
Cleaner code for the track-reordering
2010-03-19 17:41:16 +01:00
Erik Faye-Lund
1e1c636b18
fixed so the correct tracks are grayed out
2010-03-19 17:41:15 +01:00
Erik Faye-Lund
3e6e30cc12
Fixed copy/paste (again). Added some ifdef'ed out functions for some wrapped (retrying) recv and send's.
2010-03-19 17:41:15 +01:00
Erik Faye-Lund
dc10048d1c
added some kind of position info output
2010-03-19 17:41:14 +01:00
Egbert Teeselink
da96ca4262
added inifile support though filthy static class thingy.
2010-03-19 17:41:13 +01:00
Egbert Teeselink
cd0e1275a2
made enter key not obligatory; when editing a field and pressing a navigation key, the value is directly entered. do revert if you disagree :-)
2010-03-19 17:41:13 +01:00
Egbert Teeselink
9f1bb50dbc
added HOME and END support, improved PAGE UP/DOWN.
2010-03-19 17:41:13 +01:00
Erik Faye-Lund
eb180b4d15
Partial fix for bug 1896587. Added a fileNew()-function, and made it do some of what it's supposed to do. However, it only clears the part of the document that is within the max-row range. To fix properly, a separate function to clear a track should be added, and all tracks should be iterated through and truncated to 0. Another issue, is that there's no real purgeUnused()-method in SyncDocument yet, and it's a bit tricky to implement (needs to remap properly). But, at least some of this seems to work-ish now.
...
Also added a menu-hook for fileNew.
2010-03-19 17:41:11 +01:00
Erik Faye-Lund
24417212ce
shit-cursor, begone!
2010-03-19 17:41:11 +01:00
Erik Faye-Lund
ae82cf7306
load/save from the menu
2010-03-19 17:41:11 +01:00
Erik Faye-Lund
74da2a1c62
fixed pasting and removed a mem-leak
2010-03-19 17:41:10 +01:00
Erik Faye-Lund
f49cc1ab73
added loading-support
2010-03-19 17:41:09 +01:00
Erik Faye-Lund
7f8b12890a
getters - use them!
2010-03-19 17:41:09 +01:00
Erik Faye-Lund
ff614fbbb9
added support for pre-connection editing
2010-03-19 17:41:09 +01:00
Erik Faye-Lund
74eee30216
renamed SyncEditData to SyncDocument, since that's essentially what it is ;)
2010-03-19 17:41:08 +01:00
Erik Faye-Lund
63d7e1f67c
first version of the track-saver
2010-03-19 17:41:07 +01:00
Erik Faye-Lund
8f34baa39c
added copyright headers
2010-03-19 17:41:06 +01:00
Erik Faye-Lund
b7641dfcee
starting to do some saving/loading stuff
2010-03-19 17:41:05 +01:00
Erik Faye-Lund
86543e1d04
visualization of the interpolation type
2010-03-19 17:41:05 +01:00
Erik Faye-Lund
2b1a79cc9c
multiple interpolation-types! \o/
2010-03-19 17:41:05 +01:00