Erik Faye-Lund
b9771f6e59
...aaand also to use the correct parent-window.
2010-03-19 17:41:22 +01:00
Erik Faye-Lund
56cfb61ded
I believe it's considered good style to let the user know where an error comes from...
2010-03-19 17:41:22 +01:00
Erik Faye-Lund
ec506de188
Adding files to MRU-list at "save as".
2010-03-19 17:41:22 +01:00
Erik Faye-Lund
dac256b36d
Ask for saving when quitting...
2010-03-19 17:41:22 +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
0e0b99e5d0
Added some really nasty "Recent File"-menu code. Seems to work, though.
2010-03-19 17:41:20 +01:00
Erik Faye-Lund
7ed8147d6c
Initializing some variables.
2010-03-19 17:41:20 +01:00
Erik Faye-Lund
2e198c3a11
Removed a crash
2010-03-19 17:41:20 +01:00
Erik Faye-Lund
3a84082e03
Removed deprecated compiler option
2010-03-19 17:41:19 +01:00
Erik Faye-Lund
fe8f177b32
Starting to mock up a Recent Files menu
2010-03-19 17:41:18 +01:00
Erik Faye-Lund
59f8089094
Renamed vs2005 project/solution files to reflect the version.
2010-03-19 17:41:18 +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
33c8eab9d5
Created project-files for vs2008, and changed the msxml-version to 3 for better compatibility.
2010-03-19 17:41:17 +01:00
Erik Faye-Lund
aa65670383
track-reordering works \o/
2010-03-19 17:41:17 +01:00
Erik Faye-Lund
a244529a4f
Renamed actualTracks to tracks, removed dead code (the out-commented empty function purgeUnused), replaced "Error" with NULL (This gives a localized error-string) for MessageBox in one place.
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
f405a24e07
Using the NetworkSocket stuff for the server as well. Hopefully doing some better encapsulation of issues in the network protocol.
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
a5346b6ac3
added a flag so a file must exist to open it
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
06b07193c5
Made sure quiting the client pauses the tracker.
...
Prevented pause-commands from being sent when not connected.
Fixed Save-command so it doesn't (wrongly) report an error.
Added document filename to window title
2010-03-19 17:41:15 +01:00
Erik Faye-Lund
b54c50c74d
widened the current-val field a bit
2010-03-19 17:41:14 +01:00
Erik Faye-Lund
dc10048d1c
added some kind of position info output
2010-03-19 17:41:14 +01:00
Erik Faye-Lund
2c077a7fe2
added connection-info to the status-bar.
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
f8301d6ee6
Fixed support for UNIX sockets, and fixed static crt-linking for debug builds
2010-03-19 17:41:13 +01:00
Erik Faye-Lund
893a04b903
populating the accelerator-table a bit more
2010-03-19 17:41:12 +01:00
Erik Faye-Lund
7235c374a8
fixed bug 1896587
2010-03-19 17:41:12 +01:00
Erik Faye-Lund
936fd39fe1
fixed a compilation error in the player, and a partial fix for bug 1896587.
2010-03-19 17:41:12 +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
72e0b8f93a
more getter-usage, and moving the getTrackIndexFromPos()-method to the module it's used in
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
9767ad5852
moved XML-loading/saving routines to a separate source-file, so the nasty COM-stuff doesn't contaminate all code ;)
2010-03-19 17:41:10 +01:00
Erik Faye-Lund
18f3415ae7
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
366508c228
fixed a bug, added some menu-items
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